diff --git a/.gitignore b/.gitignore index 8d4ae25..2be39e4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -bower_components +bower_components* +bower-*.json diff --git a/bower.json b/bower.json index 7330b63..2416839 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "paper-swatch-picker", - "version": "1.0.2", + "version": "2.0.0", "description": "A color picker element using all the Material Design colours", "authors": [ "The Polymer Authors" @@ -20,20 +20,42 @@ "license": "http://polymer.github.io/LICENSE.txt", "homepage": "https://github.com/PolymerElements/paper-swatch-picker", "dependencies": { - "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0", - "iron-iconset-svg": "PolymerElements/iron-iconset-svg#^1.0.0", - "paper-icon-button": "PolymerElements/paper-icon-button#^1.0.0", - "paper-item": "PolymerElements/paper-item#^1.0.0", - "paper-listbox": "PolymerElements/paper-listbox#^1.1.1", - "paper-menu-button": "PolymerElements/paper-menu-button#^1.0.0", - "polymer": "Polymer/polymer#^1.1.0" + "iron-flex-layout": "PolymerElements/iron-flex-layout#2.0-preview", + "iron-iconset-svg": "PolymerElements/iron-iconset-svg#2.0-preview", + "paper-icon-button": "PolymerElements/paper-icon-button#2.0-preview", + "paper-item": "PolymerElements/paper-item#2.0-preview", + "paper-listbox": "PolymerElements/paper-listbox#2.0-preview", + "paper-menu-button": "PolymerElements/paper-menu-button#2.0-preview", + "polymer": "Polymer/polymer#^2.0.0-rc.7" }, "devDependencies": { - "iron-component-page": "PolymerElements/iron-component-page#^1.1.0", - "iron-demo-helpers": "PolymerElements/iron-demo-helpers#^1.1.0", - "iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0", - "test-fixture": "PolymerElements/test-fixture#^1.0.0", - "web-component-tester": "^4.0.0", - "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + "iron-component-page": "PolymerElements/iron-component-page#2.0-preview", + "iron-demo-helpers": "PolymerElements/iron-demo-helpers#2.0-preview", + "iron-test-helpers": "PolymerElements/iron-test-helpers#2.0-preview", + "web-component-tester": "Polymer/web-component-tester#^6.0.0-prerelease.6", + "webcomponentsjs": "webcomponents/webcomponentsjs#^1.0.0-rc.1", + "web-animations-js": "web-animations/web-animations-js#^2.2" + }, + "variants": { + "1.x": { + "dependencies": { + "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0", + "iron-iconset-svg": "PolymerElements/iron-iconset-svg#^1.0.0", + "paper-icon-button": "PolymerElements/paper-icon-button#^1.0.0", + "paper-item": "PolymerElements/paper-item#^1.0.0", + "paper-listbox": "PolymerElements/paper-listbox#^1.1.1", + "paper-menu-button": "PolymerElements/paper-menu-button#^1.0.0", + "polymer": "Polymer/polymer#^1.1.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.1.0", + "iron-demo-helpers": "PolymerElements/iron-demo-helpers#^1.1.0", + "iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "web-component-tester": "^4.0.0", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0", + "web-animations-js": "web-animations/web-animations-js#^2.2" + } + } } } diff --git a/demo/index.html b/demo/index.html index ff13f77..f814a6f 100644 --- a/demo/index.html +++ b/demo/index.html @@ -22,11 +22,16 @@ - + + + + + +
@@ -50,12 +55,14 @@

The palette used by the color picker can be configured

The picker can be styled using custom properties

diff --git a/paper-swatch-picker.html b/paper-swatch-picker.html index 1f340b0..7f74da1 100644 --- a/paper-swatch-picker.html +++ b/paper-swatch-picker.html @@ -118,10 +118,11 @@ - + diff --git a/test/basic.html b/test/basic.html index 7546d00..e5cd4dc 100644 --- a/test/basic.html +++ b/test/basic.html @@ -22,11 +22,13 @@ - + + +