Skip to content

Commit

Permalink
Big december 1.0 update gives polymer 1.11
Browse files Browse the repository at this point in the history
Last 1.0 release probably
jrabbit committed Dec 19, 2017
1 parent 3317d41 commit 2b19fad
Showing 671 changed files with 38,128 additions and 3,565 deletions.
3 changes: 1 addition & 2 deletions bower_components/app-elements/.bower.json
Original file line number Diff line number Diff line change
@@ -38,6 +38,5 @@
},
"_source": "https://github.com/PolymerElements/app-elements.git",
"_target": "^0.10.1",
"_originalSource": "PolymerElements/app-elements",
"_direct": true
"_originalSource": "PolymerElements/app-elements"
}
8 changes: 4 additions & 4 deletions bower_components/app-localize-behavior/.bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app-localize-behavior",
"version": "0.10.1",
"version": "0.10.2",
"description": "A behavior to help with internationalizating apps",
"authors": [
"The Polymer Authors"
@@ -35,11 +35,11 @@
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
},
"main": "app-localize-behavior.html",
"_release": "0.10.1",
"_release": "0.10.2",
"_resolution": {
"type": "version",
"tag": "v0.10.1",
"commit": "b76ae4e288c515bf753ad027a69492a3e1a9b9ac"
"tag": "v0.10.2",
"commit": "b386e9ad9d7fd7b9801840a38359b8a0fc460660"
},
"_source": "https://github.com/PolymerElements/app-localize-behavior.git",
"_target": "^0.10.0",
22 changes: 22 additions & 0 deletions bower_components/app-localize-behavior/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: node_js
sudo: required
dist: trusty
node_js: stable
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
before_script:
- npm install -g bower polylint web-component-tester
- bower install
- polylint
script:
- xvfb-run wct
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then wct -s default; fi
env:
global:
- secure: DitCRBZSh4YLwnI3LjD1ukbftNDIx6RrUjEYwHi+RMt+OCAkKiY4N0FI9PujlGEnt7tNdaD0CTzLSu+R2vpNeMaqsrjyFKzLfWH8rFRQ1dHCvaqZ1upV92yad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r/Sdub/ERQSgWqXLE6e/jpl4sXBY2rII4Ao3Tc/Xg9suwHjUKvmi8axOyfm0LjE9fmGj1bkFFPKU1JIAbGOaDInbpE6fMjbgpoOeqe6hxRxdrjDn5+/odQhhhUoGNk3YIKuLSeK82lW/ZMgH0/z/NubIQjchIuKDbLqmyX7ZZ2w=
2 changes: 2 additions & 0 deletions bower_components/app-localize-behavior/README.md
Original file line number Diff line number Diff line change
@@ -12,6 +12,8 @@ thing! https://github.com/PolymerLabs/tedium/issues
-->

[![Build status](https://travis-ci.org/PolymerElements/app-localize-behavior.svg?branch=master)](https://travis-ci.org/PolymerElements/app-localize-behavior)


##Polymer.AppLocalizeBehavior

Original file line number Diff line number Diff line change
@@ -179,6 +179,11 @@
loadResources: function(path) {
var proto = this.constructor.prototype;

// In the event proto not have __localizationCache object, create it.
if(proto['__localizationCache'] === undefined) {
proto['__localizationCache'] = {requests: {}, messages: {}, ajax: null};
}

// If the global ajax object has not been initialized, initialize and cache it.
var ajax = proto.__localizationCache.ajax;
if (!ajax) {
2 changes: 1 addition & 1 deletion bower_components/app-localize-behavior/bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app-localize-behavior",
"version": "0.10.1",
"version": "0.10.2",
"description": "A behavior to help with internationalizating apps",
"authors": [
"The Polymer Authors"
3 changes: 1 addition & 2 deletions bower_components/app-route/.bower.json
Original file line number Diff line number Diff line change
@@ -40,6 +40,5 @@
},
"_source": "https://github.com/PolymerElements/app-route.git",
"_target": "^0.9.3",
"_originalSource": "PolymerElements/app-route",
"_direct": true
"_originalSource": "PolymerElements/app-route"
}
10 changes: 5 additions & 5 deletions bower_components/font-roboto/.bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "font-roboto",
"version": "1.0.1",
"version": "1.0.3",
"description": "An HTML import for Roboto",
"authors": [
"The Polymer Authors"
@@ -19,13 +19,13 @@
"ignore": [
"/.*"
],
"_release": "1.0.1",
"_release": "1.0.3",
"_resolution": {
"type": "version",
"tag": "v1.0.1",
"commit": "21ce9b51a417fa9995cf6606e886aba0728f70a1"
"tag": "v1.0.3",
"commit": "6b16584ff654fea05d6bf3e812fb8b225202663f"
},
"_source": "git://github.com/PolymerElements/font-roboto.git",
"_source": "https://github.com/PolymerElements/font-roboto.git",
"_target": "^1.0.1",
"_originalSource": "PolymerElements/font-roboto"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<!--
This file is autogenerated based on
https://github.com/PolymerElements/ContributionGuide/blob/master/CONTRIBUTING.md
@@ -11,6 +10,7 @@ specific element:
jsbin=https://jsbin.com/cagaye/edit?html,output
-->

# Polymer Elements
## Guide for Contributors

2 changes: 1 addition & 1 deletion bower_components/font-roboto/bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "font-roboto",
"version": "1.0.1",
"version": "1.0.3",
"description": "An HTML import for Roboto",
"authors": [
"The Polymer Authors"
19 changes: 19 additions & 0 deletions bower_components/font-roboto/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "@polymerelements/font-roboto",
"version": "1.0.1",
"description": "An HTML import for Roboto",
"authors": [
"The Polymer Authors"
],
"keywords": [
"font",
"roboto"
],
"repository": {
"type": "git",
"url": "git://github.com/PolymerElements/font-roboto.git"
},
"main": "roboto.html",
"license": "http://polymer.github.io/LICENSE.txt",
"homepage": "https://github.com/PolymerElements/font-roboto/"
}
3 changes: 1 addition & 2 deletions bower_components/font-roboto/roboto.html
Original file line number Diff line number Diff line change
@@ -7,5 +7,4 @@
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,500italic,700,700italic">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700|Roboto:400,300,300italic,400italic,500,500italic,700,700italic" crossorigin="anonymous">
2 changes: 1 addition & 1 deletion bower_components/hydrolysis/.bower.json
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@
"tag": "v1.24.1",
"commit": "050dee00a3f3bc8d63d27aa613d7a0eb92ff7eb2"
},
"_source": "git://github.com/Polymer/hydrolysis.git",
"_source": "https://github.com/Polymer/hydrolysis.git",
"_target": "^1.18",
"_originalSource": "Polymer/hydrolysis"
}
10 changes: 5 additions & 5 deletions bower_components/iron-a11y-announcer/.bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iron-a11y-announcer",
"version": "1.0.5",
"version": "1.0.6",
"description": "A singleton element that simplifies announcing text to screen readers.",
"keywords": [
"web-components",
@@ -31,13 +31,13 @@
},
"ignore": [],
"homepage": "https://github.com/PolymerElements/iron-a11y-announcer",
"_release": "1.0.5",
"_release": "1.0.6",
"_resolution": {
"type": "version",
"tag": "v1.0.5",
"commit": "2432d39a1693ccd728cbe7eb55810063737d3403"
"tag": "v1.0.6",
"commit": "f2420aadc83b78923cba06f67fad8e523fd5d792"
},
"_source": "git://github.com/PolymerElements/iron-a11y-announcer.git",
"_source": "https://github.com/PolymerElements/iron-a11y-announcer.git",
"_target": "^1.0.0",
"_originalSource": "PolymerElements/iron-a11y-announcer"
}
25 changes: 13 additions & 12 deletions bower_components/iron-a11y-announcer/.travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
language: node_js
sudo: required
before_script:
- npm install -g bower polylint web-component-tester
- bower install
- polylint
- npm install -g bower polylint web-component-tester
- bower install
- polylint
env:
global:
- secure: QlyQxWnziNgzWqptOtM0Oq1s/q6YHT/GPuslA31yC0nex7Wi6X9DFoF5rNlDEY0Y6WxCh8xzsZpwXrI9vZypgKoZlAwO1e3RLDsGV0APPrWg66MyImAwlHAJolvJg+ASsLJ8pm9nxMP/xapRamciqUMTUTeZh0V/5SR82BXQCf3zXe+9cMmAFNXBrIg6LDCm77AwW+1vkE/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qqUehD6RdP2T8Nio7YvlLtXnW9vptlKYL2uZjhg23DyhgGW/4ZPaIABWVBqVUBbyaX6GCXo3EMyQcZhi17qCWEKnFGCrorC/4ZM6A0kJ+olOfQxszf9HrAX8+9DCaiKscn2Lz+ON/opFKFRAQngCJ9swBc27twavUxx4qNzOVJLdH8oGhCdl5DA4mgGGDWZz463X0HzagGUpi/RfME26uQnTkyK8eErL2yac+1VmA/QOx0RkYlrZ/pIEywkZPWusjJepCm9nlZGylaBr2mDpk8Kea+7IytO6sefiBwjX1RiqmnjnszO3jb/w5s0giUItWuFmDr14sOaFmj6wQB643eSGi42LSPG+FMea1RwUupyEPeLZq/aoJ0jmewGLv4=
node_js: '6'
addons:
firefox: '46.0'
firefox: latest
apt:
sources:
- google-chrome
- google-chrome
packages:
- google-chrome-stable
sauce_connect: true
- google-chrome-stable
script:
- xvfb-run wct
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then wct -s 'default'; fi
- xvfb-run wct
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then wct -s ''default''; fi'
dist: trusty
2 changes: 1 addition & 1 deletion bower_components/iron-a11y-announcer/bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iron-a11y-announcer",
"version": "1.0.5",
"version": "1.0.6",
"description": "A singleton element that simplifies announcing text to screen readers.",
"keywords": [
"web-components",
2 changes: 1 addition & 1 deletion bower_components/iron-a11y-keys-behavior/.bower.json
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@
"tag": "v1.1.9",
"commit": "26243e0f8687b8ea3d95eed3cefb7661a388dbce"
},
"_source": "git://github.com/PolymerElements/iron-a11y-keys-behavior.git",
"_source": "https://github.com/PolymerElements/iron-a11y-keys-behavior.git",
"_target": "^1.0.0",
"_originalSource": "PolymerElements/iron-a11y-keys-behavior"
}
18 changes: 9 additions & 9 deletions bower_components/iron-a11y-keys/.bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iron-a11y-keys",
"version": "1.0.7",
"version": "1.0.9",
"description": "A basic element implementation of iron-a11y-keys-behavior, matching the legacy core-a11y-keys.",
"keywords": [
"web-components",
@@ -19,24 +19,24 @@
"main": "iron-a11y-keys.html",
"license": "http://polymer.github.io/LICENSE.txt",
"dependencies": {
"polymer": "polymer/polymer#^1.1.0",
"iron-a11y-keys-behavior": "polymerelements/iron-a11y-keys-behavior#^1.0.0"
"polymer": "Polymer/polymer#^1.1.0",
"iron-a11y-keys-behavior": "PolymerElements/iron-a11y-keys-behavior#^1.0.0"
},
"devDependencies": {
"paper-styles": "PolymerElements/paper-styles#^1.0.2",
"iron-component-page": "polymerelements/iron-component-page#^1.0.0",
"test-fixture": "polymerelements/test-fixture#^1.0.0",
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
"test-fixture": "PolymerElements/test-fixture#^1.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0",
"web-component-tester": "^4.0.0",
"iron-test-helpers": "polymerelements/iron-test-helpers#^1.0.0"
"iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0"
},
"ignore": [],
"homepage": "https://github.com/PolymerElements/iron-a11y-keys",
"_release": "1.0.7",
"_release": "1.0.9",
"_resolution": {
"type": "version",
"tag": "v1.0.7",
"commit": "7830e675c3d0df6e7a7377d64fc3d6e6ae0e65a5"
"tag": "v1.0.9",
"commit": "d301b1b4cb30e47fe88aeb31633a2e99bab83fec"
},
"_source": "https://github.com/PolymerElements/iron-a11y-keys.git",
"_target": "^1.0.0",
3 changes: 2 additions & 1 deletion bower_components/iron-a11y-keys/README.md
Original file line number Diff line number Diff line change
@@ -97,7 +97,8 @@ fnkey = ? f1 through f12 ? ;
arrow = "up" | "down" | "left" | "right" ;
key = "tab" | "esc" | "space" | "*" | "pageup" | "pagedown" |
"home" | "end" | arrow | ascii | fnkey;
keycombo = { modifier, "+" }, key ;
event = "keypress" | "keydown" | "keyup";
keycombo = { modifier, "+" }, key, [ ":", event ] ;
keys = keycombo, { " ", keycombo } ;
```
12 changes: 6 additions & 6 deletions bower_components/iron-a11y-keys/bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iron-a11y-keys",
"version": "1.0.7",
"version": "1.0.9",
"description": "A basic element implementation of iron-a11y-keys-behavior, matching the legacy core-a11y-keys.",
"keywords": [
"web-components",
@@ -19,16 +19,16 @@
"main": "iron-a11y-keys.html",
"license": "http://polymer.github.io/LICENSE.txt",
"dependencies": {
"polymer": "polymer/polymer#^1.1.0",
"iron-a11y-keys-behavior": "polymerelements/iron-a11y-keys-behavior#^1.0.0"
"polymer": "Polymer/polymer#^1.1.0",
"iron-a11y-keys-behavior": "PolymerElements/iron-a11y-keys-behavior#^1.0.0"
},
"devDependencies": {
"paper-styles": "PolymerElements/paper-styles#^1.0.2",
"iron-component-page": "polymerelements/iron-component-page#^1.0.0",
"test-fixture": "polymerelements/test-fixture#^1.0.0",
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
"test-fixture": "PolymerElements/test-fixture#^1.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0",
"web-component-tester": "^4.0.0",
"iron-test-helpers": "polymerelements/iron-test-helpers#^1.0.0"
"iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0"
},
"ignore": []
}
9 changes: 8 additions & 1 deletion bower_components/iron-a11y-keys/iron-a11y-keys.html
Original file line number Diff line number Diff line change
@@ -87,7 +87,8 @@
arrow = "up" | "down" | "left" | "right" ;
key = "tab" | "esc" | "space" | "*" | "pageup" | "pagedown" |
"home" | "end" | arrow | ascii | fnkey;
keycombo = { modifier, "+" }, key ;
event = "keypress" | "keydown" | "keyup";
keycombo = { modifier, "+" }, key, [ ":", event ] ;
keys = keycombo, { " ", keycombo } ;
### Example
@@ -143,6 +144,12 @@
observer: '_targetChanged'
},

/**
* Space delimited list of keys where each key follows the format:
* `[MODIFIER+]*KEY[:EVENT]`.
* e.g. `keys="space ctrl+shift+tab enter:keyup"`.
* More detail can be found in the "Grammar" section of the documentation
*/
keys: {
type: String,
reflectToAttribute: true,
25 changes: 25 additions & 0 deletions bower_components/iron-a11y-keys/test/basic-test.html
Original file line number Diff line number Diff line change
@@ -112,6 +112,31 @@
expect(keysPressedCount).to.be.equal(2);
});
});

suite('event modifier', function() {
test('events triggered obey event modifier', function() {
var keysPressedCount = 0;
var parent = keys.parentNode;

keys.keys = 'space:keyup enter:keydown';

keys.addEventListener('keys-pressed', function() {
keysPressedCount++;
});

MockInteractions.keyUpOn(parent, 32);
expect(keysPressedCount).to.be.equal(1);

MockInteractions.keyDownOn(parent, 32);
expect(keysPressedCount).to.be.equal(1);

MockInteractions.keyDownOn(parent, 13);
expect(keysPressedCount).to.be.equal(2);

MockInteractions.keyUpOn(parent, 13);
expect(keysPressedCount).to.be.equal(2);
});
});
});
</script>

Loading

0 comments on commit 2b19fad

Please sign in to comment.