diff --git a/CHANGELOG.md b/CHANGELOG.md index 075676d..7621caa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ This component follows *Semantic Versioning* (aka SemVer), visit (http://semver.org/) to learn more about it. +## Release 3.0.2 (2017-08-23) +### Bug Fixes +- It is now again possible to add a custom `paper-input` suffix. See the new demo. + ## Release 3.0.1 (2017-08-12) ### Bug Fixes - Removed duplicated `auto-validate` attribute from paper-autocomplete (thanks to @kaseyhinton). diff --git a/bower.json b/bower.json index efd81de..09d2dd9 100755 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "paper-autocomplete", - "version": "3.0.1", + "version": "3.0.2", "authors": [ "S. Francis", "Rodolfo Oviedo ", diff --git a/demo/index.html b/demo/index.html index 6448924..1720321 100755 --- a/demo/index.html +++ b/demo/index.html @@ -10,6 +10,7 @@ + @@ -89,6 +90,18 @@

Local Data-Source Binding

+ + + +

Remote Data-Source Binding

Mock remote users data binding. Remote data binding delegates the responsibility of filtering the data source diff --git a/package.json b/package.json index 6bacdfc..8e19810 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "paper-autocomplete", "description": "Material Design autocomplete component.", - "version": "3.0.1", + "version": "3.0.2", "author": "S. Francis ", "contributors": [ "Rodolfo Oviedo ", diff --git a/paper-autocomplete-suggestions.html b/paper-autocomplete-suggestions.html index dad06d2..0a30e91 100644 --- a/paper-autocomplete-suggestions.html +++ b/paper-autocomplete-suggestions.html @@ -8,6 +8,10 @@ **From v3.x.x, this component only works with Polymer 1.7+ or 2.0+.** + [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/ellipticaljs/paper-autocomplete) + + [![Sauce Test Status](https://saucelabs.com/browser-matrix/jhuesos.svg)](https://saucelabs.com/u/jhuesos) + Allows to add autocomplete capabilities to any input field. This is desirable when you have an input field with custom logic and you just want to add the feature to help users with the selection. If you want to use it in combination with a regular ``, you can use ``. diff --git a/paper-autocomplete.html b/paper-autocomplete.html index 0a0eafc..1b6002b 100644 --- a/paper-autocomplete.html +++ b/paper-autocomplete.html @@ -13,6 +13,10 @@ **From v3.x.x, this component only works with Polymer 1.7+ or 2.0+.** + [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/ellipticaljs/paper-autocomplete) + + [![Sauce Test Status](https://saucelabs.com/browser-matrix/jhuesos.svg)](https://saucelabs.com/u/jhuesos) + paper-autocomplete extends earlier efforts such as this (https://github.com/rodo1111/paper-input-autocomplete) to provide keyboard support, remote binding and results scrolling. @@ -139,7 +143,6 @@ #clear { display: none; - margin-top: auto; line-height: 8px; } @@ -189,6 +192,7 @@ + [[_highlightedSuggestion.textValue]] @@ -511,7 +515,7 @@ return; } - this.$.clear.style.display = 'block'; + this.$.clear.style.display = 'inline-block'; this._isClearButtonVisible = true; }, diff --git a/test/index.html b/test/index.html index a89712b..d0279d9 100755 --- a/test/index.html +++ b/test/index.html @@ -19,7 +19,8 @@ WCT.loadSuites([ 'paper-autocomplete_test_local.html', 'paper-autocomplete_test_local.html?dom=shadow', - 'paper-autocomplete_test_multi.html' + 'paper-autocomplete_test_multi.html', + 'paper-autocomplete_test_multi.html?dom=shadow' ]); diff --git a/test/paper-autocomplete_test_local.html b/test/paper-autocomplete_test_local.html index 158f700..5144d7c 100644 --- a/test/paper-autocomplete_test_local.html +++ b/test/paper-autocomplete_test_local.html @@ -24,6 +24,17 @@ + + + + +