@teamwork/autocomplete-core
Advanced tools
Comparing version 1.0.0-alpha.3 to 1.0.0-alpha.4
@@ -97,4 +97,3 @@ import { EmitterInterface, TypedEventEmitter } from '@syncot/events'; | ||
/** | ||
* Accepts the currently selected autocomplete item, if it exists, | ||
* and then clears the autocomplete state, if it exists. | ||
* Accepts the currently selected autocomplete item, if it exists. | ||
*/ | ||
@@ -101,0 +100,0 @@ accept(): void; |
@@ -92,4 +92,7 @@ import { Autocomplete } from './autocomplete'; | ||
/** | ||
* Overrides `PatternHandler#accept`, | ||
* which replaces the matched text with `item.text` by default. | ||
* Overrides `PatternHandler#accept`, which defaults to: | ||
* | ||
* 1. Replace the matched text with `item.text`. | ||
* 2. Clear the autocomplete state. | ||
* 3. Focus the editor. | ||
*/ | ||
@@ -96,0 +99,0 @@ readonly accept?: (this: PatternHandler, autocomplete: Autocomplete, item: Item) => void; |
{ | ||
"name": "@teamwork/autocomplete-core", | ||
"version": "1.0.0-alpha.3", | ||
"version": "1.0.0-alpha.4", | ||
"description": "The core autocomplete components.", | ||
@@ -29,3 +29,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "b6a58bdaa67d948998b33972dfa81a3e7409ca5b" | ||
"gitHead": "7233cfea7557c50a1299a2acb6e5469f4cb7e0e2" | ||
} |
23947
659