@fluid-topics/ft-search-bar 0.2.13 → 0.2.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-bar.css.js +1 -1
- package/build/ft-search-bar.d.ts +8 -0
- package/build/ft-search-bar.inline-styles.js +79 -63
- package/build/ft-search-bar.js +60 -26
- package/build/ft-search-bar.light.js +161 -145
- package/build/ft-search-bar.min.js +48 -32
- package/package.json +14 -14
package/build/ft-search-bar.d.ts
CHANGED
|
@@ -24,8 +24,11 @@ export interface FtSearchBarLabels extends ParametrizedLabels {
|
|
|
24
24
|
back?: string;
|
|
25
25
|
}
|
|
26
26
|
export declare const DEFAULT_LABELS: FtSearchBarLabels;
|
|
27
|
+
export declare type DisplayMode = "auto" | "mobile" | "desktop";
|
|
27
28
|
export interface FtSearchBarProperties {
|
|
28
29
|
labels?: FtSearchBarLabels;
|
|
30
|
+
mode?: DisplayMode;
|
|
31
|
+
forceMobileMenuOpen?: boolean;
|
|
29
32
|
baseUrl: string;
|
|
30
33
|
apiIntegrationIdentifier?: string;
|
|
31
34
|
contentLocale?: string;
|
|
@@ -47,6 +50,8 @@ export declare class FtSearchBar extends FtLitElement implements FtSearchBarProp
|
|
|
47
50
|
static elementDefinitions: ElementDefinitionsMap;
|
|
48
51
|
static styles: import("lit").CSSResult[];
|
|
49
52
|
dense: boolean;
|
|
53
|
+
mode?: DisplayMode;
|
|
54
|
+
forceMobileMenuOpen: boolean;
|
|
50
55
|
baseUrl: string;
|
|
51
56
|
apiIntegrationIdentifier: string;
|
|
52
57
|
contentLocale?: string;
|
|
@@ -64,6 +69,7 @@ export declare class FtSearchBar extends FtLitElement implements FtSearchBarProp
|
|
|
64
69
|
private sizeCategory;
|
|
65
70
|
private displayFacets;
|
|
66
71
|
private mobileMenuOpen;
|
|
72
|
+
private get isMobileMenuOpen();
|
|
67
73
|
private facets;
|
|
68
74
|
private facetsInitialized;
|
|
69
75
|
private knownFacetLabels;
|
|
@@ -138,5 +144,7 @@ export declare class FtSearchBar extends FtLitElement implements FtSearchBarProp
|
|
|
138
144
|
private clearFilters;
|
|
139
145
|
private removeRecentSearch;
|
|
140
146
|
private onSuggestKeyDown;
|
|
147
|
+
private getFilterExportParts;
|
|
148
|
+
private getFilterSubPartExportAttribute;
|
|
141
149
|
}
|
|
142
150
|
//# sourceMappingURL=ft-search-bar.d.ts.map
|