@fluid-topics/ft-search-input 2.0.15 → 2.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-search-input-suggestion.js +1 -2
- package/build/ft-search-input.js +5 -3
- package/build/ft-search-input.light.js +149 -150
- package/build/ft-search-input.min.js +357 -358
- package/package.json +10 -10
|
@@ -12,7 +12,7 @@ export class SuggestionSelectedEvent extends CustomEvent {
|
|
|
12
12
|
super("suggestion-selected", { detail: value });
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
class FtSearchInputSuggestionManager {
|
|
15
|
+
export class FtSearchInputSuggestionManager {
|
|
16
16
|
constructor(ftSearchInput) {
|
|
17
17
|
this.ftSearchInput = ftSearchInput;
|
|
18
18
|
this.listboxId = "ft-search-input-suggestion";
|
|
@@ -145,4 +145,3 @@ FtSearchInputSuggestionManager.styles = [
|
|
|
145
145
|
wordWrap,
|
|
146
146
|
suggestionStyles,
|
|
147
147
|
];
|
|
148
|
-
export { FtSearchInputSuggestionManager };
|
package/build/ft-search-input.js
CHANGED
|
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { html, nothing, } from "lit";
|
|
8
|
-
import { isTouchScreen, noTextInputDefaultClearButton, redux, screenReaderStyles, waitFor, } from "@fluid-topics/ft-wc-utils";
|
|
8
|
+
import { ignoreComposingEvents, isTouchScreen, noTextInputDefaultClearButton, redux, screenReaderStyles, waitFor, } from "@fluid-topics/ft-wc-utils";
|
|
9
9
|
import { styles } from "./ft-search-input.styles";
|
|
10
10
|
import { FtSearchComponent } from "@fluid-topics/ft-search-context/build/registration";
|
|
11
11
|
import { withI18n } from "@fluid-topics/ft-i18n";
|
|
@@ -17,7 +17,7 @@ import { FtButton } from "@fluid-topics/ft-button";
|
|
|
17
17
|
import { FtTypographyBody2 } from "@fluid-topics/ft-typography";
|
|
18
18
|
import { SearchPlaceConverterProvider } from "@fluid-topics/ft-app-context";
|
|
19
19
|
import { i18nAttribute, } from "@fluid-topics/ft-i18n/build/decorators/i18nAttribute";
|
|
20
|
-
class FtSearchInput extends withI18n(FtSearchComponent) {
|
|
20
|
+
export class FtSearchInput extends withI18n(FtSearchComponent) {
|
|
21
21
|
constructor() {
|
|
22
22
|
super();
|
|
23
23
|
this.liveQuery = "";
|
|
@@ -273,4 +273,6 @@ __decorate([
|
|
|
273
273
|
__decorate([
|
|
274
274
|
query(`[part="launch-search-in-input"]`)
|
|
275
275
|
], FtSearchInput.prototype, "launchSearchButton", void 0);
|
|
276
|
-
|
|
276
|
+
__decorate([
|
|
277
|
+
ignoreComposingEvents()
|
|
278
|
+
], FtSearchInput.prototype, "onSearchBarKeyUp", null);
|