From 42b447fcb566f24de838e4e1f936bb88c4f75f21 Mon Sep 17 00:00:00 2001 From: Monica Dinculescu Date: Tue, 20 Mar 2018 12:06:31 -0700 Subject: [PATCH 01/60] run modulizer, fix paths and importHref --- .travis.yml | 13 +- index.html | 4 +- package-lock.json | 1810 ++++++++++++++++++ package.json | 23 +- src/my-app.html | 175 -- src/my-app.js | 167 ++ src/{my-icons.html => my-icons.js} | 39 +- src/{my-view1.html => my-view1.js} | 29 +- src/{my-view2.html => my-view2.js} | 29 +- src/{my-view3.html => my-view3.js} | 29 +- src/{my-view404.html => my-view404.js} | 41 +- src/{shared-styles.html => shared-styles.js} | 33 +- test/index.html | 2 +- test/my-view1.html | 25 +- 14 files changed, 2120 insertions(+), 299 deletions(-) create mode 100644 package-lock.json delete mode 100644 src/my-app.html create mode 100644 src/my-app.js rename src/{my-icons.html => my-icons.js} (62%) rename src/{my-view1.html => my-view1.js} (73%) rename src/{my-view2.html => my-view2.js} (72%) rename src/{my-view3.html => my-view3.js} (72%) rename src/{my-view404.html => my-view404.js} (55%) rename src/{shared-styles.html => shared-styles.js} (76%) diff --git a/.travis.yml b/.travis.yml index 022bcd059..b632ea785 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,24 +2,23 @@ language: node_js dist: trusty sudo: required addons: - firefox: "latest" + firefox: latest apt: sources: - google-chrome packages: - google-chrome-stable node_js: - - "node" - - "6" + - node + - '6' cache: directories: - node_modules install: - npm install -g polymer-cli - npm install - - polymer install -before_script: - - npm run lint +before_script: npm run lint script: - xvfb-run npm run test - - xvfb-run npm run test:integration + - 'xvfb-run npm run test:integration' + diff --git a/index.html b/index.html index f2a3485a6..28adf5dcc 100644 --- a/index.html +++ b/index.html @@ -85,10 +85,10 @@ - + - + - - - - - - - - - - - Menu - - View One - View Two - View Three - - - - - - - - - -
My App
-
-
- - - - - - - -
-
- - - - diff --git a/src/my-app.js b/src/my-app.js new file mode 100644 index 000000000..3b599950f --- /dev/null +++ b/src/my-app.js @@ -0,0 +1,167 @@ +import { Element } from '../node_modules/@polymer/polymer/polymer-element.js'; +import '../node_modules/@polymer/app-layout/app-drawer/app-drawer.js'; +import '../node_modules/@polymer/app-layout/app-drawer-layout/app-drawer-layout.js'; +import '../node_modules/@polymer/app-layout/app-header/app-header.js'; +import '../node_modules/@polymer/app-layout/app-header-layout/app-header-layout.js'; +import '../node_modules/@polymer/app-layout/app-scroll-effects/app-scroll-effects.js'; +import '../node_modules/@polymer/app-layout/app-toolbar/app-toolbar.js'; +import '../node_modules/@polymer/app-route/app-location.js'; +import '../node_modules/@polymer/app-route/app-route.js'; +import '../node_modules/@polymer/iron-pages/iron-pages.js'; +import '../node_modules/@polymer/iron-selector/iron-selector.js'; +import '../node_modules/@polymer/paper-icon-button/paper-icon-button.js'; +import './my-icons.js'; +import './my-view1.js'; +import './my-view2.js'; +import './my-view3.js'; +import './my-view404.js'; +import { setPassiveTouchGestures } from '../node_modules/@polymer/polymer/lib/utils/settings.js'; +import { html } from '../node_modules/@polymer/polymer/lib/utils/html-tag.js'; +//import { importHref } from '../node_modules/@polymer/polymer/lib/utils/import-href.js'; +// Gesture events like tap and track generated from touch will not be +// preventable, allowing for better scrolling performance. +/** +@license +Copyright (c) 2016 The Polymer Project Authors. All rights reserved. +This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt +The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt +The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt +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 +*/ +setPassiveTouchGestures(true); + +class MyApp extends Element { + static get template() { + return html` + + + + + + + + + + + + Menu + + View One + View Two + View Three + + + + + + + + + +
My App
+
+
+ + + + + + + +
+
+`; + } + + static get is() { return 'my-app'; } + + static get properties() { + return { + page: { + type: String, + reflectToAttribute: true, + observer: '_pageChanged', + }, + routeData: Object, + subroute: Object, + rootPath: { + type: String, + value: Polymer.rootPath + } + }; + } + + static get observers() { + return [ + '_routePageChanged(routeData.page)', + ]; + } + + _routePageChanged(page) { + // If no page was found in the route data, page will be an empty string. + // Default to 'view1' in that case. + console.log(page) + this.page = page || 'view1'; + console.log('this.page', this.page) + + // Close a non-persistent drawer when the page & route are changed. + if (!this.$.drawer.persistent) { + this.$.drawer.close(); + } + } + + _pageChanged(page) { + console.log(page) + // Load page import on demand. Show 404 page if fails + let loaded = import('./my-' + page + '.js'); + + loaded.then( + _ => {}, + _ => { this._showPage404.bind(this) } + ); + } + + _showPage404() { + this.page = 'view404'; + } +} + +window.customElements.define(MyApp.is, MyApp); diff --git a/src/my-icons.html b/src/my-icons.js similarity index 62% rename from src/my-icons.html rename to src/my-icons.js index 6ca940bf0..aa5acac6b 100644 --- a/src/my-icons.html +++ b/src/my-icons.js @@ -1,30 +1,35 @@ - +import '../node_modules/@polymer/iron-iconset-svg/iron-iconset-svg.js'; +const $_documentContainer = document.createElement('div'); +$_documentContainer.setAttribute('style', 'display: none;'); - - - +$_documentContainer.innerHTML = ` - + - + - + - + - +`; + +document.head.appendChild($_documentContainer); + +/** +@license +Copyright (c) 2016 The Polymer Project Authors. All rights reserved. +This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt +The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt +The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt +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 +*/ +; diff --git a/src/my-view1.html b/src/my-view1.js similarity index 73% rename from src/my-view1.html rename to src/my-view1.js index f01d7930c..304474fd0 100644 --- a/src/my-view1.html +++ b/src/my-view1.js @@ -1,4 +1,7 @@ - - - - - - - +`; + } - - +window.customElements.define(MyView404.is, MyView404); diff --git a/src/shared-styles.html b/src/shared-styles.js similarity index 76% rename from src/shared-styles.html rename to src/shared-styles.js index 6b993ab43..74f50ea9e 100644 --- a/src/shared-styles.html +++ b/src/shared-styles.js @@ -1,17 +1,8 @@ - +import '../node_modules/@polymer/polymer/polymer-element.js'; +const $_documentContainer = document.createElement('div'); +$_documentContainer.setAttribute('style', 'display: none;'); - - - - +$_documentContainer.innerHTML = ` - +`; + +document.head.appendChild($_documentContainer); + +/** +@license +Copyright (c) 2016 The Polymer Project Authors. All rights reserved. +This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt +The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt +The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt +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 +*/ +/* shared styles for all views */ +; diff --git a/test/index.html b/test/index.html index ffcbbeb23..281aa7eb3 100644 --- a/test/index.html +++ b/test/index.html @@ -16,7 +16,7 @@ Tests - + - + + - + @@ -29,14 +29,15 @@ - + From 12e37a608a33010bfa2308155eab1db287d8f154 Mon Sep 17 00:00:00 2001 From: Monica Dinculescu Date: Tue, 20 Mar 2018 12:13:58 -0700 Subject: [PATCH 02/60] undo test changes --- .travis.yml | 13 +++++++------ src/my-app.js | 5 +---- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index b632ea785..022bcd059 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,23 +2,24 @@ language: node_js dist: trusty sudo: required addons: - firefox: latest + firefox: "latest" apt: sources: - google-chrome packages: - google-chrome-stable node_js: - - node - - '6' + - "node" + - "6" cache: directories: - node_modules install: - npm install -g polymer-cli - npm install -before_script: npm run lint + - polymer install +before_script: + - npm run lint script: - xvfb-run npm run test - - 'xvfb-run npm run test:integration' - + - xvfb-run npm run test:integration diff --git a/src/my-app.js b/src/my-app.js index 3b599950f..1acb2546c 100644 --- a/src/my-app.js +++ b/src/my-app.js @@ -128,7 +128,7 @@ class MyApp extends Element { } }; } - + static get observers() { return [ '_routePageChanged(routeData.page)', @@ -138,9 +138,7 @@ class MyApp extends Element { _routePageChanged(page) { // If no page was found in the route data, page will be an empty string. // Default to 'view1' in that case. - console.log(page) this.page = page || 'view1'; - console.log('this.page', this.page) // Close a non-persistent drawer when the page & route are changed. if (!this.$.drawer.persistent) { @@ -149,7 +147,6 @@ class MyApp extends Element { } _pageChanged(page) { - console.log(page) // Load page import on demand. Show 404 page if fails let loaded = import('./my-' + page + '.js'); From e32e75914d7a93dae0d70e0716eb28849a70cd24 Mon Sep 17 00:00:00 2001 From: Monica Dinculescu Date: Tue, 20 Mar 2018 15:44:44 -0700 Subject: [PATCH 03/60] fix rootPath better --- src/my-app.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/my-app.js b/src/my-app.js index 1acb2546c..c4f6533d5 100644 --- a/src/my-app.js +++ b/src/my-app.js @@ -15,7 +15,7 @@ import './my-view1.js'; import './my-view2.js'; import './my-view3.js'; import './my-view404.js'; -import { setPassiveTouchGestures } from '../node_modules/@polymer/polymer/lib/utils/settings.js'; +import { setPassiveTouchGestures, setRootPath } from '../node_modules/@polymer/polymer/lib/utils/settings.js'; import { html } from '../node_modules/@polymer/polymer/lib/utils/html-tag.js'; //import { importHref } from '../node_modules/@polymer/polymer/lib/utils/import-href.js'; // Gesture events like tap and track generated from touch will not be @@ -129,6 +129,11 @@ class MyApp extends Element { }; } + ready() { + super.ready(); + setRootPath(Polymer.rootPath); + } + static get observers() { return [ '_routePageChanged(routeData.page)', From ad5d44828b8054d7fa8703764576264c79162f77 Mon Sep 17 00:00:00 2001 From: Monica Dinculescu Date: Wed, 21 Mar 2018 11:29:28 -0700 Subject: [PATCH 04/60] frankie comments --- src/my-app.js | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/src/my-app.js b/src/my-app.js index c4f6533d5..b8c45e203 100644 --- a/src/my-app.js +++ b/src/my-app.js @@ -29,7 +29,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI 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 */ + setPassiveTouchGestures(true); +setRootPath(Polymer.rootPath); class MyApp extends Element { static get template() { @@ -121,17 +123,12 @@ class MyApp extends Element { observer: '_pageChanged', }, routeData: Object, - subroute: Object, - rootPath: { - type: String, - value: Polymer.rootPath - } + subroute: Object }; } ready() { super.ready(); - setRootPath(Polymer.rootPath); } static get observers() { @@ -153,7 +150,25 @@ class MyApp extends Element { _pageChanged(page) { // Load page import on demand. Show 404 page if fails - let loaded = import('./my-' + page + '.js'); + // Note: `polymer build` doesn't like string concatenation in + // the import statement, so break it up. + let loaded; + switch(page) { + case 'view1': + loaded = import('./my-view1.js'); + break; + case 'view2': + loaded = import('./my-view2.js'); + break; + case 'view3': + loaded = import('./my-view3.js'); + break; + case 'view404': + loaded = import('./my-view404.js'); + break; + default: + loaded = Promise.reject(); + } loaded.then( _ => {}, From b2ec8443981ad87c501c58f0e9a11f4031cba0b5 Mon Sep 17 00:00:00 2001 From: Keanu Lee Date: Mon, 2 Apr 2018 11:21:49 -0700 Subject: [PATCH 05/60] Update to pre.12 deps --- README.md | 4 +- package-lock.json | 323 +++++++++++++++++++++++----------------------- package.json | 18 +-- src/my-app.js | 4 +- src/my-view1.js | 4 +- src/my-view2.js | 4 +- src/my-view3.js | 4 +- src/my-view404.js | 4 +- 8 files changed, 186 insertions(+), 179 deletions(-) diff --git a/README.md b/README.md index 118843062..0c1696947 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Second, install [Bower](https://bower.io/) using [npm](https://www.npmjs.com) This command serves the app at `http://127.0.0.1:8081` and provides basic URL routing for the app: - polymer serve + polymer serve --module-resolution=node --npm ### Build @@ -99,7 +99,7 @@ Run `polymer help build` for the full list of available options and optimization This command serves your app. Replace `build-folder-name` with the folder name of the build you want to serve. - polymer serve build/build-folder-name/ + polymer serve --module-resolution=node --npm build/build-folder-name/ ### Run tests diff --git a/package-lock.json b/package-lock.json index 726f5bf7f..39fb2ae21 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,208 +5,208 @@ "requires": true, "dependencies": { "@polymer/app-layout": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/app-layout/-/app-layout-3.0.0-pre.11.tgz", - "integrity": "sha512-ZPWhP5/dGIBLvha6+zdRFu9x5DFgbRp/rh3kCzskOGI0O7YTDJ71LDG8hvBqWQ04U+hFKAU5SgcsFMB/0vkAzg==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/app-layout/-/app-layout-3.0.0-pre.12.tgz", + "integrity": "sha512-7CIwcse7gXp33WKchW8tqjxhqBL2hZmE/kfQhafA4d7P6iRfDmXAV0JLrh4QFriKQMQnxZp7NG4ZsFE0JQqPJg==", "requires": { - "@polymer/iron-flex-layout": "3.0.0-pre.11", - "@polymer/iron-media-query": "3.0.0-pre.11", - "@polymer/iron-resizable-behavior": "3.0.0-pre.11", - "@polymer/iron-scroll-target-behavior": "3.0.0-pre.11", - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/iron-flex-layout": "3.0.0-pre.12", + "@polymer/iron-media-query": "3.0.0-pre.12", + "@polymer/iron-resizable-behavior": "3.0.0-pre.12", + "@polymer/iron-scroll-target-behavior": "3.0.0-pre.12", + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/app-route": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/app-route/-/app-route-3.0.0-pre.11.tgz", - "integrity": "sha512-pj6z5fwwkLgXipGtoLunoneIY2JTu0ndQl1nSEw8Th7xwf5a32nYs13YgXYN7Ffr1RYnrZV5MqPVNI3W5qgtxQ==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/app-route/-/app-route-3.0.0-pre.12.tgz", + "integrity": "sha512-b6ze/U0KGoWCWp1v9ndQYOJKUOQmKYmYoRwoGbTcL9iC/+lzTiKAYPvyQGCL03BE/wI0Yt9b58yTvBzunFbiJA==", "requires": { - "@polymer/iron-location": "3.0.0-pre.11", - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/iron-location": "3.0.0-pre.12", + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/font-roboto": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/font-roboto/-/font-roboto-3.0.0-pre.11.tgz", - "integrity": "sha512-UnzhZstzEcLkhLS8onTm6CjjFW/JwkLIvSV7avsro4B24IwMxbZEV7E6VOWcx9unRMX7+FdLq+28lZoxnCvw/w==" + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/font-roboto/-/font-roboto-3.0.0-pre.12.tgz", + "integrity": "sha512-D4inM9qe6YgtWLcB3yd7K4yuUjXfc1HqkoTUaLoatMYNFhVfZu60bOvvDEa0jdPFXEq1QmqKjzEJZ6qaX6vHqA==" }, "@polymer/iron-a11y-keys-behavior": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/iron-a11y-keys-behavior/-/iron-a11y-keys-behavior-3.0.0-pre.11.tgz", - "integrity": "sha512-k8KjEOInBu6wbqv9DuNGupZpPTMvJaMYqz9QhpJBYvLxtdfC+RgeCc0SPRuMwEVplX7Ke/QsVHDN/Et3og2oBw==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/iron-a11y-keys-behavior/-/iron-a11y-keys-behavior-3.0.0-pre.12.tgz", + "integrity": "sha512-QLnvWTDYlObHeWvflWFDlSaEljZopYT8/D3XCaWtN6cSgsdnHe6uoV+W95YgAP+w9KM13vZZEpa4zJjmlAYrFA==", "requires": { - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/iron-behaviors": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/iron-behaviors/-/iron-behaviors-3.0.0-pre.11.tgz", - "integrity": "sha512-NK5k90KXMX4dPDVEIRuhLjhd4zcTSa2mYgM4DpEtGezl9qVpk23nQrMRHyAISeLDa1F8AQVN2Uui/kWGEqQlmg==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/iron-behaviors/-/iron-behaviors-3.0.0-pre.12.tgz", + "integrity": "sha512-ros9dbO52jmV+henJxEXvoOx1tzX6i70aIOTgI92ebInPmyvtx5WeX1QXzUUMnUi4hKYLFZWqubgVQ4Hyu+pGw==", "requires": { - "@polymer/iron-a11y-keys-behavior": "3.0.0-pre.11", - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/iron-a11y-keys-behavior": "3.0.0-pre.12", + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/iron-checked-element-behavior": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/iron-checked-element-behavior/-/iron-checked-element-behavior-3.0.0-pre.11.tgz", - "integrity": "sha512-o0lWDnvyFgHJcnRansTQmIMoE3jjTIxe5mYU6pnQmjzoPa7gonPSVsxjQoMlX6P+jzDmEoGlTGJVPizkH+qz3A==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/iron-checked-element-behavior/-/iron-checked-element-behavior-3.0.0-pre.12.tgz", + "integrity": "sha512-pCzvDOxEBybdMbtKIaAxcE/jBU+BISsVc552i9EOMqtBBPap5CFgtg1s9IC4jhEN+1Hw8xY3rQcHu1b7BFV9ow==", "requires": { - "@polymer/iron-form-element-behavior": "3.0.0-pre.11", - "@polymer/iron-validatable-behavior": "3.0.0-pre.11", - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/iron-form-element-behavior": "3.0.0-pre.12", + "@polymer/iron-validatable-behavior": "3.0.0-pre.12", + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/iron-flex-layout": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/iron-flex-layout/-/iron-flex-layout-3.0.0-pre.11.tgz", - "integrity": "sha512-MCrwsE6xgjAFFGAwcW54TOf6LYcn9co37x4sXACUkl/oAzMr+yLEOE4W1bR/fpmUS4PFvHMch6esDtdKeb1ijw==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/iron-flex-layout/-/iron-flex-layout-3.0.0-pre.12.tgz", + "integrity": "sha512-JvctZ1K5TeRsoGMxVB1yBZYEWONQvyCdcmaoCB6gOJ9R5eq5ebAg2JPNSITAp9CTL2i08Af4tQER3AXzaKyi3A==", "requires": { - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/iron-form-element-behavior": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/iron-form-element-behavior/-/iron-form-element-behavior-3.0.0-pre.11.tgz", - "integrity": "sha512-JxUljKGzgP1bOYHS8ZFI4AqTRBBhyAJb9FRXTcaw8od89e5+CSQNepCkWi179lJl1WtyGJm+mILa/XnCyBb+Bw==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/iron-form-element-behavior/-/iron-form-element-behavior-3.0.0-pre.12.tgz", + "integrity": "sha512-i3gAVSq4TbQyGqhHo7HLbzkZ3E1+ua1+U3vUSdVTs3R+qgAXqlIgUDuEintB42X49IvumEy/qWxxxvqL9oZhYw==", "requires": { - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/iron-icon": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/iron-icon/-/iron-icon-3.0.0-pre.11.tgz", - "integrity": "sha512-ezanPOVud4BZsEOI874AZJGVUtSyKWpU5GMa4gnV2m0NkjkQgmdDk73tcj3lYPeTCS3+JKncrwkQYfQn7xc1nw==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/iron-icon/-/iron-icon-3.0.0-pre.12.tgz", + "integrity": "sha512-S5I324FBMh8/MPBDVtfHS8FVKszhqhhdDjB0QsJ9dBooB5aZKwGyHMXgHW9dcnu+PjM7nP5532u4tpFdBw9TWg==", "requires": { - "@polymer/iron-flex-layout": "3.0.0-pre.11", - "@polymer/iron-meta": "3.0.0-pre.11", - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/iron-flex-layout": "3.0.0-pre.12", + "@polymer/iron-meta": "3.0.0-pre.12", + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/iron-iconset-svg": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/iron-iconset-svg/-/iron-iconset-svg-3.0.0-pre.11.tgz", - "integrity": "sha512-NSAwHbp3PeNaZnWfJ7MgzaTjSf5l6J5QryIE593liKyVjBu4wrfEvY6vq3lZKsCpx79oyJFP/TXstxXUub9g9A==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/iron-iconset-svg/-/iron-iconset-svg-3.0.0-pre.12.tgz", + "integrity": "sha512-FAUZjNZrMo6hsRoDoZeAj/kjygUDdv3XbgzoG93yKWxkIhkER2GxmIuYt+5fxx1ZSkB+BCqKnlqk+raGpJ9n6w==", "requires": { - "@polymer/iron-meta": "3.0.0-pre.11", - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/iron-meta": "3.0.0-pre.12", + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/iron-location": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/iron-location/-/iron-location-3.0.0-pre.11.tgz", - "integrity": "sha512-sxUJgUHx1UgW4T+8v4B6Z/CJmift5yENgzDMRtrWxMia9oFNWkmb3aCB5NyiLZ8nSrlAX+5IiCCoxtGLe9F4BQ==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/iron-location/-/iron-location-3.0.0-pre.12.tgz", + "integrity": "sha512-DovMCY4bF8YayceGS8fQ2lXC2RXG7KD9F3SUhL7llCiwL3Q4m1G2wCfm/m/q0SLYajZfR/zAAYVvvYJRrsKcKg==", "requires": { - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/iron-media-query": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/iron-media-query/-/iron-media-query-3.0.0-pre.11.tgz", - "integrity": "sha512-OIGLFlYTV1r4pIQ5Blb0sJS8s85U7iU8tGmtW2E7g8Bd4/MJhuXPLxkMTPeSNVaBizw8HEWihNfQ+tRvrlbZQQ==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/iron-media-query/-/iron-media-query-3.0.0-pre.12.tgz", + "integrity": "sha512-6Ei0NXrKI01wObWez0fTwBvMcC5nqD0uNKQKOOug9ufPKyCwUNIHM0OUrjShfkbMwoJXPL2jU3KHokuHZXLrMg==", "requires": { - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/iron-meta": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/iron-meta/-/iron-meta-3.0.0-pre.11.tgz", - "integrity": "sha512-Ro6P72bA9Ui4NPdoW7Z5fZMXbCjpZ6IrF32nZRATKlrpMexcd/7ZlW6FWYf4SBgGa1dCYpSQL7p7h9HqI41OzA==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/iron-meta/-/iron-meta-3.0.0-pre.12.tgz", + "integrity": "sha512-Yi+Xiu0OlxTiAxWx+X9DuI35dTRm2/lHQqWplubZSGHW+ANuItOTxOLlTm175kq5HY7V8JQtiugko0xaJ60V4A==", "requires": { - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/iron-pages": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/iron-pages/-/iron-pages-3.0.0-pre.11.tgz", - "integrity": "sha512-48HmbzBQadueFW6KsO5GLxvydqJ1KZanKb98WEUrXakSBhYug68DG4VgryENLvHdfO5ulQlWPJc47H2fyu9VsA==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/iron-pages/-/iron-pages-3.0.0-pre.12.tgz", + "integrity": "sha512-U5tjcXfbAp3rN8aMkj8Aab6uxj77fkQh0jmSquf2BBcmT2UWtxLIaRBKbNElIMjZaOVuA035uLHdLE1V/N0MIA==", "requires": { - "@polymer/iron-resizable-behavior": "3.0.0-pre.11", - "@polymer/iron-selector": "3.0.0-pre.11", - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/iron-resizable-behavior": "3.0.0-pre.12", + "@polymer/iron-selector": "3.0.0-pre.12", + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/iron-resizable-behavior": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/iron-resizable-behavior/-/iron-resizable-behavior-3.0.0-pre.11.tgz", - "integrity": "sha512-1tG9OfyVZZcKkkFle5gboQVQUAUAC4wNnVQEyXYl30j+gqeESgztBF1dF/V6LHjErbXwWkojPTaka2d8X8IwvQ==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/iron-resizable-behavior/-/iron-resizable-behavior-3.0.0-pre.12.tgz", + "integrity": "sha512-ppZGXh//MVkWedjQtgOzBHiuoyTcKggnnMjVHxFsGdIu5kz9LVqB8uqYbN91yhjtLLUAkSIAo1DLhXpoK2x27w==", "requires": { - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/iron-scroll-target-behavior": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/iron-scroll-target-behavior/-/iron-scroll-target-behavior-3.0.0-pre.11.tgz", - "integrity": "sha512-ItS9uu7hp5KcUyu86IaISt1zZWHktsfKmwh0mwwN2RaHUi1US1FQLEKLRTK6x7qG5IfFQeYFus0PfzQtB/bEKQ==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/iron-scroll-target-behavior/-/iron-scroll-target-behavior-3.0.0-pre.12.tgz", + "integrity": "sha512-M+m/myMkARPxvCVj8CcLYIDaTBUEuZr5+3mTTRFY1N2pf8bt7mjEJ6lUpPAfe89+abSHXJMEXf1VjsVSXwDFSg==", "requires": { - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/iron-selector": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/iron-selector/-/iron-selector-3.0.0-pre.11.tgz", - "integrity": "sha512-P1EJdCvQWwgTfZ0idbdyAS+Tzl3zvJ7xdFmEEKMeFpeOcthVIDpzX4GODG7yh6XuPIvnCMGsHd6ZWEcvEgB+Cg==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/iron-selector/-/iron-selector-3.0.0-pre.12.tgz", + "integrity": "sha512-3kHXr1gzawyuqIkASk6K7nTF4VdAubd8p3c6D/Ae7fcPhhjE2dEENyrvqezWSCLLOp17qSseOl0XRo/9R09DgA==", "requires": { - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/iron-validatable-behavior": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/iron-validatable-behavior/-/iron-validatable-behavior-3.0.0-pre.11.tgz", - "integrity": "sha512-mKWzF9akBaXu8sFcx9LuE1gW91bMwU6uUMBMtPcvLpJ73Ezhv7kK9gA99egeyvFCdb8sk9UMb2N0/vvlDkvCyg==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/iron-validatable-behavior/-/iron-validatable-behavior-3.0.0-pre.12.tgz", + "integrity": "sha512-80Zblp9n+2nepymuOMJcdmf0F5uxYrbRQdbt2eDStmXjlqcbxgTrdmHY93Pb2n1mwcvjHXU3ex3W4TtVaeX6Rg==", "requires": { - "@polymer/iron-meta": "3.0.0-pre.11", - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/iron-meta": "3.0.0-pre.12", + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/paper-behaviors": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/paper-behaviors/-/paper-behaviors-3.0.0-pre.11.tgz", - "integrity": "sha512-HUen5GX4HrucDjeTY2MK0dTk+d4xMiwrygEcB3FMAGuDVlYXSS2QwhqX3NyPkT53dj+H5NYv1IJjvMZmt51t5g==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/paper-behaviors/-/paper-behaviors-3.0.0-pre.12.tgz", + "integrity": "sha512-S1YRAwg7B+8P/ju4w8Fk1CMU9DMI/Hv5/MceN/10IX5znGnYqXZrOEHfUiYAM+P5RivsOn4UJdG7wyxAnrCzkg==", "requires": { - "@polymer/iron-behaviors": "3.0.0-pre.11", - "@polymer/iron-checked-element-behavior": "3.0.0-pre.11", - "@polymer/paper-ripple": "3.0.0-pre.11", - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/iron-behaviors": "3.0.0-pre.12", + "@polymer/iron-checked-element-behavior": "3.0.0-pre.12", + "@polymer/paper-ripple": "3.0.0-pre.12", + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/paper-icon-button": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/paper-icon-button/-/paper-icon-button-3.0.0-pre.11.tgz", - "integrity": "sha512-FQlhKaiJnRmKbKvzn9uslhRWw0bLsYUWavs9tYyUTVGlDx1dJwZqq9XU6ToKuvgb8fKN4dJTMiWMc2H+BaBykA==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/paper-icon-button/-/paper-icon-button-3.0.0-pre.12.tgz", + "integrity": "sha512-+s0CO5Ctkb9SOZ+t8m4WeCUImtjHvvz58howHgxqW2nfKTBbDXz3pT1zOA7ngFxTvWOpfPUjRGE4uaapG1e0Xw==", "requires": { - "@polymer/iron-icon": "3.0.0-pre.11", - "@polymer/paper-behaviors": "3.0.0-pre.11", - "@polymer/paper-styles": "3.0.0-pre.11", - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/iron-icon": "3.0.0-pre.12", + "@polymer/paper-behaviors": "3.0.0-pre.12", + "@polymer/paper-styles": "3.0.0-pre.12", + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/paper-ripple": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/paper-ripple/-/paper-ripple-3.0.0-pre.11.tgz", - "integrity": "sha512-U4b2OlGyxVD0EZSnsSOq9CzPCFGIXuUdObKmcJ7KEz+vJZmkyihIGTrweDDo1JwgPaYxFaqpkgR5tsOml2Aj4Q==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/paper-ripple/-/paper-ripple-3.0.0-pre.12.tgz", + "integrity": "sha512-BNyqzLK7eqy6gzXJOr3PGc/5RcSNBouYXIgwiwmiFHWgTc1C8JJnPwE7EuiCfV6WyDY8byFyD10E4jBKHAUwOg==", "requires": { - "@polymer/iron-a11y-keys-behavior": "3.0.0-pre.11", - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/iron-a11y-keys-behavior": "3.0.0-pre.12", + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/paper-styles": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/paper-styles/-/paper-styles-3.0.0-pre.11.tgz", - "integrity": "sha512-bDuLoJnrmfb/JuI/1eN5gYR10hTVU8LNapcAMP6+SMImiX04o30Q+M/AqfyqH+NqTUtKpXEc85qH0adkQhKnfQ==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/paper-styles/-/paper-styles-3.0.0-pre.12.tgz", + "integrity": "sha512-mZEu5Rgel1vz3m1wz2XEgNN7pHx0yXvrmSspkD8JlPooy3ewNY0VyVHV/kcIcfQxaKQ8I8b59unOQPV48OqCLA==", "requires": { - "@polymer/font-roboto": "3.0.0-pre.11", - "@polymer/iron-flex-layout": "3.0.0-pre.11", - "@polymer/polymer": "3.0.0-pre.11" + "@polymer/font-roboto": "3.0.0-pre.12", + "@polymer/iron-flex-layout": "3.0.0-pre.12", + "@polymer/polymer": "3.0.0-pre.12" } }, "@polymer/polymer": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/polymer/-/polymer-3.0.0-pre.11.tgz", - "integrity": "sha512-lz0+3so+URZqH6IUV9nzlR6akO8jPRauM7EEIMqPx3H6w4Zh7wzoj4Ngbi18Nwpt71l90F4YhuHDGNRQEwhk+w==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/polymer/-/polymer-3.0.0-pre.12.tgz", + "integrity": "sha512-j3ie9DOtENLMR5pG8iyyrFF62lTnKrQCrMVlvgQF2q4qpUXFck0QUlE6gJJN/Zfi3br69mG5+F3mtwQb61OjOQ==", "requires": { - "@webcomponents/shadycss": "1.1.1", - "@webcomponents/webcomponentsjs": "1.1.0" + "@webcomponents/shadycss": "1.1.2", + "@webcomponents/webcomponentsjs": "1.1.1" } }, "@polymer/sinonjs": { @@ -216,20 +216,20 @@ "dev": true }, "@polymer/test-fixture": { - "version": "3.0.0-pre.11", - "resolved": "https://registry.npmjs.org/@polymer/test-fixture/-/test-fixture-3.0.0-pre.11.tgz", - "integrity": "sha512-0xrKREkvhS62pCOUTjCi1hSickrG1ZosZ0yPhs35/fGewZIrVnJ6QLuEnYpqFWxWASjQbIc22lJwPcGJXewlyg==", + "version": "3.0.0-pre.12", + "resolved": "https://registry.npmjs.org/@polymer/test-fixture/-/test-fixture-3.0.0-pre.12.tgz", + "integrity": "sha512-6OsAdv6VUrVmkSCsDXo2KF/cuyyl5EETzQQpLysHioOYa3vGiYHiMATrw9G6CvuCc3gNevu41ln/XJ2n6Khurg==", "dev": true }, "@webcomponents/shadycss": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@webcomponents/shadycss/-/shadycss-1.1.1.tgz", - "integrity": "sha512-7iVMw1HU0e5tTxL1OIqw/RBGmnYuz1HUNd7t1UYq7VmoBOl5Zm4g3spUBSksyd97SiXauFlXAeSpA0/in9k+dw==" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@webcomponents/shadycss/-/shadycss-1.1.2.tgz", + "integrity": "sha512-h6j9vIPGxuuRWNloJE7+al/VYiyujme8HXkp9Cm9ApzSSo0U8d48X4jXxR4S3u1t26Kuqx78fvPlqY8/JWowFg==" }, "@webcomponents/webcomponentsjs": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@webcomponents/webcomponentsjs/-/webcomponentsjs-1.1.0.tgz", - "integrity": "sha512-7toNyVlrl7vJnY3PU0eXIK1KWq8phfnEe1IwOdCMxkIl/BfUkUB2aaVs45R0LSx1qxHRnkqj0vlGtskUvKkNkA==" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@webcomponents/webcomponentsjs/-/webcomponentsjs-1.1.1.tgz", + "integrity": "sha512-52hSn2KiOYf/O2LcKnh1xiSt3RfX8beY4tQylSSSBwJsr4oy9MLcnWrtbqur3Q5cRdcmEbwHhkYHFc7Sme7zmw==" }, "accessibility-developer-tools": { "version": "2.12.0", @@ -369,6 +369,12 @@ "integrity": "sha1-81HTKWnTL6XXpVZxVCY9korjvR8=", "dev": true }, + "buffer-from": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.0.0.tgz", + "integrity": "sha512-83apNb8KK0Se60UE1+4Ukbe3HbfELJ6UlI4ldtOGs7So4KD26orJM8hIY9lxdzP+UpItH1Yh/Y8GUvNFWFFRxA==", + "dev": true + }, "caller-path": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz", @@ -457,11 +463,12 @@ "dev": true }, "concat-stream": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.1.tgz", - "integrity": "sha512-gslSSJx03QKa59cIKqeJO9HQ/WZMotvYJCuaUULrLpjj8oG40kV2Z+gz82pVxlTkOADi4PJxQPPfhl1ELYrrXw==", + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", "dev": true, "requires": { + "buffer-from": "1.0.0", "inherits": "2.0.3", "readable-stream": "2.3.5", "typedarray": "0.0.6" @@ -479,7 +486,7 @@ "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=", "dev": true, "requires": { - "es5-ext": "0.10.41" + "es5-ext": "0.10.42" } }, "debug": { @@ -522,7 +529,7 @@ "requires": { "globby": "5.0.0", "is-path-cwd": "1.0.0", - "is-path-in-cwd": "1.0.0", + "is-path-in-cwd": "1.0.1", "object-assign": "4.1.1", "pify": "2.3.0", "pinkie-promise": "2.0.1", @@ -594,9 +601,9 @@ "dev": true }, "es5-ext": { - "version": "0.10.41", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.41.tgz", - "integrity": "sha512-MYK02wXfwTMie5TEJWPolgOsXEmz7wKCQaGzgmRjZOoV6VLG8I5dSv2bn6AOClXhK64gnSQTQ9W9MKvx87J4gw==", + "version": "0.10.42", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.42.tgz", + "integrity": "sha512-AJxO1rmPe1bDEfSR6TJ/FgMFYuTBhR5R57KW58iCkYACMyFbrkqVyzXSurYoScDGvgyMpk7uRF/lPUPPTmsRSA==", "dev": true, "requires": { "es6-iterator": "2.0.3", @@ -611,7 +618,7 @@ "dev": true, "requires": { "d": "1.0.0", - "es5-ext": "0.10.41", + "es5-ext": "0.10.42", "es6-symbol": "3.1.1" } }, @@ -622,7 +629,7 @@ "dev": true, "requires": { "d": "1.0.0", - "es5-ext": "0.10.41", + "es5-ext": "0.10.42", "es6-iterator": "2.0.3", "es6-set": "0.1.5", "es6-symbol": "3.1.1", @@ -636,7 +643,7 @@ "dev": true, "requires": { "d": "1.0.0", - "es5-ext": "0.10.41", + "es5-ext": "0.10.42", "es6-iterator": "2.0.3", "es6-symbol": "3.1.1", "event-emitter": "0.3.5" @@ -649,7 +656,7 @@ "dev": true, "requires": { "d": "1.0.0", - "es5-ext": "0.10.41" + "es5-ext": "0.10.42" } }, "es6-weak-map": { @@ -659,7 +666,7 @@ "dev": true, "requires": { "d": "1.0.0", - "es5-ext": "0.10.41", + "es5-ext": "0.10.42", "es6-iterator": "2.0.3", "es6-symbol": "3.1.1" } @@ -690,12 +697,12 @@ "requires": { "babel-code-frame": "6.26.0", "chalk": "1.1.3", - "concat-stream": "1.6.1", + "concat-stream": "1.6.2", "debug": "2.6.9", "doctrine": "2.1.0", "escope": "3.6.0", "espree": "3.5.4", - "esquery": "1.0.0", + "esquery": "1.0.1", "estraverse": "4.2.0", "esutils": "2.0.2", "file-entry-cache": "2.0.0", @@ -757,9 +764,9 @@ "dev": true }, "esquery": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.0.tgz", - "integrity": "sha1-z7qLV9f7qT8XKYqKAGoEzaE9gPo=", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", + "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==", "dev": true, "requires": { "estraverse": "4.2.0" @@ -793,7 +800,7 @@ "dev": true, "requires": { "d": "1.0.0", - "es5-ext": "0.10.41" + "es5-ext": "0.10.42" } }, "exit-hook": { @@ -1047,9 +1054,9 @@ "dev": true }, "is-path-in-cwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz", - "integrity": "sha1-ZHdYK4IU1gI0YJRWcAO+ip6sBNw=", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz", + "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", "dev": true, "requires": { "is-path-inside": "1.0.1" @@ -1592,6 +1599,15 @@ } } }, + "string_decoder": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", + "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", + "dev": true, + "requires": { + "safe-buffer": "5.1.1" + } + }, "string-width": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", @@ -1603,15 +1619,6 @@ "strip-ansi": "3.0.1" } }, - "string_decoder": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", - "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", - "dev": true, - "requires": { - "safe-buffer": "5.1.1" - } - }, "strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", @@ -1757,10 +1764,10 @@ "integrity": "sha512-BZ8DUAAtFAX5l/SRQhB3Gtcimazr4fHgIt3Zdi+++cEvz7TjYBDp67uVakmUXIdEg0Wpnt2n19PGxA8O0OwaUQ==", "dev": true, "requires": { - "@polymer/polymer": "3.0.0-pre.11", + "@polymer/polymer": "3.0.0-pre.12", "@polymer/sinonjs": "1.17.1", - "@polymer/test-fixture": "3.0.0-pre.11", - "@webcomponents/webcomponentsjs": "1.1.0", + "@polymer/test-fixture": "3.0.0-pre.12", + "@webcomponents/webcomponentsjs": "1.1.1", "accessibility-developer-tools": "2.12.0", "async": "1.5.2", "chai": "3.5.0", diff --git a/package.json b/package.json index 9ecfa7da4..aad8e4b5e 100644 --- a/package.json +++ b/package.json @@ -22,15 +22,15 @@ }, "author": "The Polymer Authors", "dependencies": { - "@polymer/app-layout": "^3.0.0-pre.10", - "@polymer/app-route": "^3.0.0-pre.10", - "@polymer/iron-flex-layout": "^3.0.0-pre.10", - "@polymer/iron-iconset-svg": "^3.0.0-pre.10", - "@polymer/iron-media-query": "^3.0.0-pre.10", - "@polymer/iron-pages": "^3.0.0-pre.10", - "@polymer/iron-selector": "^3.0.0-pre.10", - "@polymer/paper-icon-button": "^3.0.0-pre.10", - "@polymer/polymer": "^3.0.0-pre.10", + "@polymer/app-layout": "^3.0.0-pre.12", + "@polymer/app-route": "^3.0.0-pre.12", + "@polymer/iron-flex-layout": "^3.0.0-pre.12", + "@polymer/iron-iconset-svg": "^3.0.0-pre.12", + "@polymer/iron-media-query": "^3.0.0-pre.12", + "@polymer/iron-pages": "^3.0.0-pre.12", + "@polymer/iron-selector": "^3.0.0-pre.12", + "@polymer/paper-icon-button": "^3.0.0-pre.12", + "@polymer/polymer": "^3.0.0-pre.12", "@webcomponents/webcomponentsjs": "^1.0.0" } } diff --git a/src/my-app.js b/src/my-app.js index b8c45e203..16dd26835 100644 --- a/src/my-app.js +++ b/src/my-app.js @@ -1,4 +1,4 @@ -import { Element } from '../node_modules/@polymer/polymer/polymer-element.js'; +import { PolymerElement } from '../node_modules/@polymer/polymer/polymer-element.js'; import '../node_modules/@polymer/app-layout/app-drawer/app-drawer.js'; import '../node_modules/@polymer/app-layout/app-drawer-layout/app-drawer-layout.js'; import '../node_modules/@polymer/app-layout/app-header/app-header.js'; @@ -33,7 +33,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN setPassiveTouchGestures(true); setRootPath(Polymer.rootPath); -class MyApp extends Element { +class MyApp extends PolymerElement { static get template() { return html` - - - - - - - - - - - Menu - - View One - View Two - View Three - - - - - - - - - -
My App
-
-
- - - - - - - -
-
-`; + + + + + + + + + + + + Menu + + View One + View Two + View Three + + + + + + + + + +
My App
+
+
+ + + + + + + +
+
+ `; } static get is() { return 'my-app'; } diff --git a/src/my-view1.js b/src/my-view1.js index f139e7085..c564766b8 100644 --- a/src/my-view1.js +++ b/src/my-view1.js @@ -14,21 +14,21 @@ import './shared-styles.js'; class MyView1 extends PolymerElement { static get template() { return html` - + padding: 10px; + } + -
-
1
-

View One

-

Ut labores minimum atomorum pro. Laudem tibique ut has.

-

Lorem ipsum dolor sit amet, per in nusquam nominavi periculis, sit elit oportere ea.Lorem ipsum dolor sit amet, per in nusquam nominavi periculis, sit elit oportere ea.Cu mei vide viris gloriatur, at populo eripuit sit.

-
-`; +
+
1
+

View One

+

Ut labores minimum atomorum pro. Laudem tibique ut has.

+

Lorem ipsum dolor sit amet, per in nusquam nominavi periculis, sit elit oportere ea.Lorem ipsum dolor sit amet, per in nusquam nominavi periculis, sit elit oportere ea.Cu mei vide viris gloriatur, at populo eripuit sit.

+
+ `; } static get is() { return 'my-view1'; } diff --git a/src/my-view2.js b/src/my-view2.js index dd1b8bb57..45a94f3e7 100644 --- a/src/my-view2.js +++ b/src/my-view2.js @@ -14,21 +14,21 @@ import './shared-styles.js'; class MyView2 extends PolymerElement { static get template() { return html` - + padding: 10px; + } + -
-
2
-

View Two

-

Ea duis bonorum nec, falli paulo aliquid ei eum.

-

Id nam odio natum malorum, tibique copiosae expetenda mel ea.Detracto suavitate repudiandae no eum. Id adhuc minim soluta nam.Id nam odio natum malorum, tibique copiosae expetenda mel ea.

-
-`; +
+
2
+

View Two

+

Ea duis bonorum nec, falli paulo aliquid ei eum.

+

Id nam odio natum malorum, tibique copiosae expetenda mel ea.Detracto suavitate repudiandae no eum. Id adhuc minim soluta nam.Id nam odio natum malorum, tibique copiosae expetenda mel ea.

+
+ `; } static get is() { return 'my-view2'; } diff --git a/src/my-view3.js b/src/my-view3.js index 807470912..69eba33b9 100644 --- a/src/my-view3.js +++ b/src/my-view3.js @@ -14,21 +14,21 @@ import './shared-styles.js'; class MyView3 extends PolymerElement { static get template() { return html` - + padding: 10px; + } + -
-
3
-

View Three

-

Modus commodo minimum eum te, vero utinam assueverit per eu.

-

Ea duis bonorum nec, falli paulo aliquid ei eum.Has at minim mucius aliquam, est id tempor laoreet.Pro saepe pertinax ei, ad pri animal labores suscipiantur.

-
-`; +
+
3
+

View Three

+

Modus commodo minimum eum te, vero utinam assueverit per eu.

+

Ea duis bonorum nec, falli paulo aliquid ei eum.Has at minim mucius aliquam, est id tempor laoreet.Pro saepe pertinax ei, ad pri animal labores suscipiantur.

+
+ `; } static get is() { return 'my-view3'; } diff --git a/src/my-view404.js b/src/my-view404.js index 490839bd7..520b8af1a 100644 --- a/src/my-view404.js +++ b/src/my-view404.js @@ -13,16 +13,16 @@ import { PolymerElement, html } from '@polymer/polymer/polymer-element.js'; class MyView404 extends PolymerElement { static get template() { return html` - + padding: 10px 20px; + } + - Oops you hit a 404. Head back to home. -`; + Oops you hit a 404. Head back to home. + `; } static get is() { return 'my-view404'; } From 4178618463dbc2990cb62f150a83dc82d2e6a315 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abdo=CC=81n=20Rodri=CC=81guez=20Davila?= Date: Wed, 18 Apr 2018 20:22:52 +0200 Subject: [PATCH 25/60] Add src to polymer.json sources --- polymer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/polymer.json b/polymer.json index 5bccf2e2d..744f18812 100644 --- a/polymer.json +++ b/polymer.json @@ -2,7 +2,8 @@ "entrypoint": "index.html", "shell": "src/my-app.js", "sources": [ - "images/**/*" + "images/**/*", + "src/**/*" ], "extraDependencies": [ "manifest.json", From e231817b05186f105f38f592ff8c1bf906e6f83e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abdo=CC=81n=20Rodri=CC=81guez=20Davila?= Date: Wed, 18 Apr 2018 20:29:45 +0200 Subject: [PATCH 26/60] Remove Polymer CLI from Travis --- .travis.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 022bcd059..b7e3c0d05 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,9 +15,7 @@ cache: directories: - node_modules install: - - npm install -g polymer-cli - npm install - - polymer install before_script: - npm run lint script: From 689a3de66cdcaba4ff8d674153f4745112c7b516 Mon Sep 17 00:00:00 2001 From: Russell Bicknell Date: Wed, 18 Apr 2018 15:33:52 -0700 Subject: [PATCH 27/60] Remove LICENSE file: the correct license is referenced by comments at the top of files. --- LICENSE | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 LICENSE diff --git a/LICENSE b/LICENSE deleted file mode 100644 index a15b711ff..000000000 --- a/LICENSE +++ /dev/null @@ -1,29 +0,0 @@ -BSD 3-Clause License - -Copyright (c) 2018, The Polymer Authors -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. From cb6a684a7afb4e58f7273b799a1e7a1b5890810e Mon Sep 17 00:00:00 2001 From: Russell Bicknell Date: Thu, 19 Apr 2018 16:47:36 -0700 Subject: [PATCH 28/60] Remove static `is` getters. --- src/my-app.js | 4 +--- src/my-view1.js | 4 +--- src/my-view2.js | 4 +--- src/my-view3.js | 4 +--- src/my-view404.js | 4 +--- 5 files changed, 5 insertions(+), 15 deletions(-) diff --git a/src/my-app.js b/src/my-app.js index ded4c46a7..1114d78ad 100644 --- a/src/my-app.js +++ b/src/my-app.js @@ -111,8 +111,6 @@ class MyApp extends PolymerElement { `; } - static get is() { return 'my-app'; } - static get properties() { return { page: { @@ -173,4 +171,4 @@ class MyApp extends PolymerElement { } } -window.customElements.define(MyApp.is, MyApp); +window.customElements.define('my-app', MyApp); diff --git a/src/my-view1.js b/src/my-view1.js index c564766b8..b7413ef19 100644 --- a/src/my-view1.js +++ b/src/my-view1.js @@ -30,8 +30,6 @@ class MyView1 extends PolymerElement { `; } - - static get is() { return 'my-view1'; } } -window.customElements.define(MyView1.is, MyView1); +window.customElements.define('my-view1', MyView1); diff --git a/src/my-view2.js b/src/my-view2.js index 45a94f3e7..464421bf0 100644 --- a/src/my-view2.js +++ b/src/my-view2.js @@ -30,8 +30,6 @@ class MyView2 extends PolymerElement { `; } - - static get is() { return 'my-view2'; } } -window.customElements.define(MyView2.is, MyView2); +window.customElements.define('my-view2', MyView2); diff --git a/src/my-view3.js b/src/my-view3.js index 69eba33b9..f3a74783d 100644 --- a/src/my-view3.js +++ b/src/my-view3.js @@ -30,8 +30,6 @@ class MyView3 extends PolymerElement { `; } - - static get is() { return 'my-view3'; } } -window.customElements.define(MyView3.is, MyView3); +window.customElements.define('my-view3', MyView3); diff --git a/src/my-view404.js b/src/my-view404.js index 520b8af1a..1da9cbb05 100644 --- a/src/my-view404.js +++ b/src/my-view404.js @@ -24,8 +24,6 @@ class MyView404 extends PolymerElement { Oops you hit a 404. Head back to home. `; } - - static get is() { return 'my-view404'; } } -window.customElements.define(MyView404.is, MyView404); +window.customElements.define('my-view404', MyView404); From 2464a8ca24010fed736c0c3e1e39f8035aa0042e Mon Sep 17 00:00:00 2001 From: Russell Bicknell Date: Thu, 19 Apr 2018 18:33:20 -0700 Subject: [PATCH 29/60] Revert date changes in license comments. --- src/my-app.js | 2 +- src/my-icons.js | 2 +- src/my-view1.js | 2 +- src/my-view2.js | 2 +- src/my-view3.js | 2 +- src/my-view404.js | 2 +- src/shared-styles.js | 2 +- test/index.html | 2 +- test/my-view1.html | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/my-app.js b/src/my-app.js index 1114d78ad..4f5d039db 100644 --- a/src/my-app.js +++ b/src/my-app.js @@ -1,6 +1,6 @@ /** * @license - * Copyright (c) 2018 The Polymer Project Authors. All rights reserved. + * Copyright (c) 2016 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt diff --git a/src/my-icons.js b/src/my-icons.js index a25da0271..d8004df97 100644 --- a/src/my-icons.js +++ b/src/my-icons.js @@ -1,6 +1,6 @@ /** * @license - * Copyright (c) 2018 The Polymer Project Authors. All rights reserved. + * Copyright (c) 2016 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt diff --git a/src/my-view1.js b/src/my-view1.js index b7413ef19..a5fb8e9a2 100644 --- a/src/my-view1.js +++ b/src/my-view1.js @@ -1,6 +1,6 @@ /** * @license - * Copyright (c) 2018 The Polymer Project Authors. All rights reserved. + * Copyright (c) 2016 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt diff --git a/src/my-view2.js b/src/my-view2.js index 464421bf0..6f75c9e12 100644 --- a/src/my-view2.js +++ b/src/my-view2.js @@ -1,6 +1,6 @@ /** * @license - * Copyright (c) 2018 The Polymer Project Authors. All rights reserved. + * Copyright (c) 2016 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt diff --git a/src/my-view3.js b/src/my-view3.js index f3a74783d..15a36e8df 100644 --- a/src/my-view3.js +++ b/src/my-view3.js @@ -1,6 +1,6 @@ /** * @license - * Copyright (c) 2018 The Polymer Project Authors. All rights reserved. + * Copyright (c) 2016 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt diff --git a/src/my-view404.js b/src/my-view404.js index 1da9cbb05..81be224f2 100644 --- a/src/my-view404.js +++ b/src/my-view404.js @@ -1,6 +1,6 @@ /** * @license - * Copyright (c) 2018 The Polymer Project Authors. All rights reserved. + * Copyright (c) 2016 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt diff --git a/src/shared-styles.js b/src/shared-styles.js index bc25e0047..c402a5c28 100644 --- a/src/shared-styles.js +++ b/src/shared-styles.js @@ -1,6 +1,6 @@ /** * @license - * Copyright (c) 2018 The Polymer Project Authors. All rights reserved. + * Copyright (c) 2016 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt diff --git a/test/index.html b/test/index.html index ad3a76b74..5546a7bd9 100644 --- a/test/index.html +++ b/test/index.html @@ -1,6 +1,6 @@ From 0f145c34ae4272d60d5c2f7cd93b3acdd61c83fd Mon Sep 17 00:00:00 2001 From: Russell Bicknell Date: Fri, 4 May 2018 14:54:07 -0700 Subject: [PATCH 50/60] v4.0.0-pre.3 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6d9b59110..31c321685 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "polymer-starter-kit", - "version": "4.0.0-pre.2", + "version": "4.0.0-pre.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index c6289f397..f48bc35fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "polymer-starter-kit", - "version": "4.0.0-pre.2", + "version": "4.0.0-pre.3", "description": "A starting point for Polymer apps", "author": "The Polymer Authors", "license": "BSD-3-Clause", From 3da9aab10bf2e2f82f9ad5c3e89df175e14bd1c8 Mon Sep 17 00:00:00 2001 From: Russell Bicknell Date: Tue, 8 May 2018 12:51:01 -0700 Subject: [PATCH 51/60] Set Polymer's global settings before anything else happens. --- index.html | 15 +++++++++++---- src/my-app.js | 7 ------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/index.html b/index.html index 282b4fc61..88428ee36 100644 --- a/index.html +++ b/index.html @@ -59,11 +59,17 @@ -