diff --git a/CONTRIBUTAING.md b/CONTRIBUTING.md similarity index 100% rename from CONTRIBUTAING.md rename to CONTRIBUTING.md diff --git a/bower.json b/bower.json index c6b80e0..c421e22 100755 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "paper-tags-input", - "version": "1.2.5", + "version": "2.0.0", "authors": [ "Tianxiang Zhang " ], @@ -20,12 +20,13 @@ "/demo/" ], "dependencies": { - "polymer": "Polymer/polymer#^1.0.0", - "paper-input": "PolymerElements/paper-input#^1.0.5", - "paper-icon-button": "PolymerElements/paper-icon-button#^1.1.4" + "polymer": "Polymer/polymer#^2.0.0", + "paper-input": "PolymerElements/paper-input#^2.0.0", + "paper-icon-button": "PolymerElements/paper-icon-button#^2.0.0" }, "devDependencies": { - "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", - "web-component-tester": "*" + "iron-component-page": "PolymerElements/iron-component-page#^2.0.0", + "web-component-tester": "^6.0.0", + "webcomponentsjs": "webcomponents/webcomponentsjs#^1.0.0" } } diff --git a/demo/demo.html b/demo/demo.html new file mode 100644 index 0000000..b35e57d --- /dev/null +++ b/demo/demo.html @@ -0,0 +1,119 @@ + + + + diff --git a/demo/index.html b/demo/index.html index 9f18a36..0b84593 100755 --- a/demo/index.html +++ b/demo/index.html @@ -1,12 +1,12 @@ @@ -15,129 +15,14 @@ paper-tags-input Demo - - + - - + + diff --git a/paper-tags-input.html b/paper-tags-input.html index ceae5b2..1eeac88 100755 --- a/paper-tags-input.html +++ b/paper-tags-input.html @@ -56,34 +56,37 @@ bower install --save paper-tags-input -@demo + `paper-tags-input` + @customElement + @polymer + @demo demo/index.html --> - + - @@ -103,7 +106,7 @@

{{label}}

tags:{ type:Array, notify: true, - value:function(){return []}, + value: [], }, /** * the CSS color for the tag, e.g. #e5e5e5 diff --git a/tag-item.html b/tag-item.html index 1e2a163..a90c1c7 100644 --- a/tag-item.html +++ b/tag-item.html @@ -22,12 +22,13 @@ --> - - -