From e97a0fa60d769b38b49cb44f78f70adec25473af Mon Sep 17 00:00:00 2001 From: Simon Fox Date: Wed, 19 Sep 2018 09:31:29 +1200 Subject: [PATCH] chore(release): 2.3.0 --- CHANGELOG.md | 10 ++++++++++ dist/amd/autocomplete.js | 2 +- dist/commonjs/autocomplete.js | 2 +- dist/es2015/autocomplete.js | 2 +- dist/system/autocomplete.js | 2 +- package-lock.json | 2 +- package.json | 2 +- 7 files changed, 16 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6725b65..1855790 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +# [2.3.0](https://github.com/drivesoftware/aurelia-autocomplete/compare/2.2.0...v2.3.0) (2018-09-18) + + +### Features + +* **selection:** tab selects item ([d58efce](https://github.com/drivesoftware/aurelia-autocomplete/commit/d58efce)) + + + # [2.2.0](https://github.com/drivesoftware/aurelia-autocomplete/compare/2.0.0...v2.2.0) (2018-06-26) diff --git a/dist/amd/autocomplete.js b/dist/amd/autocomplete.js index 42f823b..8ea6bc1 100644 --- a/dist/amd/autocomplete.js +++ b/dist/amd/autocomplete.js @@ -212,7 +212,7 @@ define(['exports', 'aurelia-binding', 'aurelia-templating', 'aurelia-templating- return; } - if (key === 13) { + if (key === 13 || key === 9) { if (this.index >= 0) { this.select(this.suggestions[this.index]); } diff --git a/dist/commonjs/autocomplete.js b/dist/commonjs/autocomplete.js index 4c1ad74..e80fd5d 100644 --- a/dist/commonjs/autocomplete.js +++ b/dist/commonjs/autocomplete.js @@ -221,7 +221,7 @@ var Autocomplete = exports.Autocomplete = (_dec = (0, _aureliaDependencyInjectio return; } - if (key === 13) { + if (key === 13 || key === 9) { if (this.index >= 0) { this.select(this.suggestions[this.index]); } diff --git a/dist/es2015/autocomplete.js b/dist/es2015/autocomplete.js index 25963e6..dfe6195 100644 --- a/dist/es2015/autocomplete.js +++ b/dist/es2015/autocomplete.js @@ -201,7 +201,7 @@ export let Autocomplete = (_dec = inject(Element, BindingEngine, TaskQueue, Opti return; } - if (key === 13) { + if (key === 13 || key === 9) { if (this.index >= 0) { this.select(this.suggestions[this.index]); } diff --git a/dist/system/autocomplete.js b/dist/system/autocomplete.js index 6634689..84eaa15 100644 --- a/dist/system/autocomplete.js +++ b/dist/system/autocomplete.js @@ -230,7 +230,7 @@ System.register(['aurelia-binding', 'aurelia-templating', 'aurelia-templating-re return; } - if (key === 13) { + if (key === 13 || key === 9) { if (this.index >= 0) { this.select(this.suggestions[this.index]); } diff --git a/package-lock.json b/package-lock.json index 57207d8..b965934 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "aurelia-autocomplete", - "version": "2.2.0", + "version": "2.3.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 9a0133c..2150286 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-autocomplete", - "version": "2.2.0", + "version": "2.3.0", "description": "Autocomplete control for Aurelia", "keywords": [ "aurelia",