@fluid-topics/ft-search-input 1.3.27 → 1.3.28
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.d.ts +1 -0
- package/build/ft-search-input.js +5 -1
- package/build/ft-search-input.light.js +58 -58
- package/build/ft-search-input.min.js +50 -50
- package/package.json +10 -10
|
@@ -15,6 +15,7 @@ export declare class FtSearchInput extends FtSearchInput_base implements FtSearc
|
|
|
15
15
|
displaySuggestListbox: boolean;
|
|
16
16
|
selectedSuggestOptionId?: string;
|
|
17
17
|
launchSearchPath?: string;
|
|
18
|
+
placeholder: string;
|
|
18
19
|
useCustomSearchPath: boolean;
|
|
19
20
|
triggerSearchOnClear: boolean;
|
|
20
21
|
focusOnDisplay: boolean;
|
package/build/ft-search-input.js
CHANGED
|
@@ -22,6 +22,7 @@ class FtSearchInput extends withI18n(FtSearchComponent) {
|
|
|
22
22
|
this.liveQuery = "";
|
|
23
23
|
this.forceCloseSuggestion = false;
|
|
24
24
|
this.displaySuggestListbox = false;
|
|
25
|
+
this.placeholder = searchInputContext.messages.placeholder();
|
|
25
26
|
this.useCustomSearchPath = false;
|
|
26
27
|
this.triggerSearchOnClear = false;
|
|
27
28
|
this.focusOnDisplay = false;
|
|
@@ -54,7 +55,7 @@ class FtSearchInput extends withI18n(FtSearchComponent) {
|
|
|
54
55
|
<input class="ft-search-input--input ft-typography--body2"
|
|
55
56
|
part="input"
|
|
56
57
|
type="search"
|
|
57
|
-
placeholder="${
|
|
58
|
+
placeholder="${this.placeholder}"
|
|
58
59
|
.value=${this.liveQuery}
|
|
59
60
|
role="combobox"
|
|
60
61
|
aria-autocomplete="list"
|
|
@@ -254,6 +255,9 @@ __decorate([
|
|
|
254
255
|
__decorate([
|
|
255
256
|
property()
|
|
256
257
|
], FtSearchInput.prototype, "launchSearchPath", void 0);
|
|
258
|
+
__decorate([
|
|
259
|
+
property()
|
|
260
|
+
], FtSearchInput.prototype, "placeholder", void 0);
|
|
257
261
|
__decorate([
|
|
258
262
|
property({ type: Boolean })
|
|
259
263
|
], FtSearchInput.prototype, "useCustomSearchPath", void 0);
|