From d6270f4e87f6ff36cd3968d2f8a8aaf7739aa312 Mon Sep 17 00:00:00 2001 From: Hayden McParlane Date: Thu, 21 Sep 2017 10:05:08 -0500 Subject: [PATCH] Update: converting to hybrid --- bower.json | 50 +++++++--- demo/index.html | 49 ++++++---- package.json | 43 -------- paper-clock-selector.html | 146 ++++++++++++++++------------ paper-time-picker-dialog-style.html | 48 ++++----- paper-time-picker.html | 125 +++++++++++++----------- 6 files changed, 243 insertions(+), 218 deletions(-) delete mode 100644 package.json diff --git a/bower.json b/bower.json index e22dfab..39f23c1 100644 --- a/bower.json +++ b/bower.json @@ -20,23 +20,47 @@ "/tests/" ], "dependencies": { - "polymer": "Polymer/polymer#^1.1.0", - "iron-media-query": "PolymerElements/iron-media-query#^1.0.0", - "iron-selector": "PolymerElements/iron-selector#^1.0.0", - "neon-animation": "PolymerElements/neon-animation#^1.0.0", - "iron-resizable-behavior": "PolymerElements/iron-resizable-behavior#^1.0.0", - "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0", - "paper-styles": "PolymerElements/paper-styles#^1.0.0", - "iron-pages": "PolymerElements/iron-pages#^1.0.0", + "polymer": "Polymer/polymer#^1.9 || ^2.0", + "iron-media-query": "PolymerElements/iron-media-query#^1.0 || ^2.0", + "iron-selector": "PolymerElements/iron-selector#^1.0 || ^2.0", + "neon-animation": "PolymerElements/neon-animation#^1.0 || ^2.0", + "iron-resizable-behavior": "PolymerElements/iron-resizable-behavior#^1.0 || ^2.0", + "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0 || ^2.0", + "paper-styles": "PolymerElements/paper-styles#^1.0 || ^2.0", + "iron-pages": "PolymerElements/iron-pages#^1.0 || ^2.0", "classList.js": "https://github.com/eligrey/classList.js.git#~1.1.20150312" }, "devDependencies": { - "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", - "paper-dialog": "PolymerElements/paper-dialog#^1.0.0", - "paper-button": "PolymerElements/paper-button#^1.0.0", - "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + "iron-component-page": "PolymerElements/iron-component-page#^1.0 || ^2.0", + "paper-dialog": "PolymerElements/paper-dialog#^1.0 || ^2.0", + "paper-button": "PolymerElements/paper-button#^1.0 || ^2.0", + "webcomponentsjs": "webcomponents/webcomponentsjs#^1.0.0" + }, + "variants": { + "1.x": { + "dependencies": { + "polymer": "Polymer/polymer#^1.9", + "iron-media-query": "PolymerElements/iron-media-query#^1.0.0", + "iron-selector": "PolymerElements/iron-selector#^1.0.0", + "neon-animation": "PolymerElements/neon-animation#^1.0.0", + "iron-resizable-behavior": "PolymerElements/iron-resizable-behavior#^1.0.0", + "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0", + "paper-styles": "PolymerElements/paper-styles#^1.0.0", + "iron-pages": "PolymerElements/iron-pages#^1.0.0", + "classList.js": "https://github.com/eligrey/classList.js.git#~1.1.20150312" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "paper-dialog": "PolymerElements/paper-dialog#^1.0.0", + "paper-button": "PolymerElements/paper-button#^1.0.0", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + }, + "resolutions": { + "webcomponentsjs": "^0.7.2" + } + } }, "resolutions": { - "webcomponentsjs": "^0.7.2" + "webcomponentsjs": "^1.0.0" } } diff --git a/demo/index.html b/demo/index.html index 9254a51..6a9948e 100644 --- a/demo/index.html +++ b/demo/index.html @@ -6,7 +6,7 @@ paper-time-picker Demo - + @@ -14,29 +14,38 @@ - + + + - + + +