@searchcraft/vue-sdk 0.12.2 → 0.13.0
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/dist/index.d.ts +18 -0
- package/dist/index.es.js +335 -236
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +21 -21
- package/dist/index.umd.js.map +1 -1
- package/dist/themes/hologram.css +1 -1
- package/dist/themes/hologram.css.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -654,6 +654,7 @@ export interface SearchcraftStateFunctions {
|
|
|
654
654
|
search: (options?: {
|
|
655
655
|
skipSummary?: boolean;
|
|
656
656
|
}) => Promise<void>;
|
|
657
|
+
setFilterPanelVisibility: (isVisible: boolean) => void;
|
|
657
658
|
setPopoverVisibility: (isVisible: boolean) => void;
|
|
658
659
|
setSearchResultsCount: (count: number) => void;
|
|
659
660
|
setSearchResultsPage: (page: number) => void;
|
|
@@ -676,6 +677,7 @@ export interface SearchcraftStateValues {
|
|
|
676
677
|
hotkey: string;
|
|
677
678
|
hotkeyModifier: "ctrl" | "meta" | "alt" | "option";
|
|
678
679
|
facetPathsForIndexFields: Record<string, FacetPathsForIndexField>;
|
|
680
|
+
isFilterPanelVisible: boolean;
|
|
679
681
|
isPopoverVisible: boolean;
|
|
680
682
|
isSearchInProgress: boolean;
|
|
681
683
|
rangeValueForIndexFields: Record<string, RangeValueForIndexField>;
|
|
@@ -878,6 +880,14 @@ export namespace Components {
|
|
|
878
880
|
* The items to filter.
|
|
879
881
|
*/
|
|
880
882
|
"items": FilterItem[];
|
|
883
|
+
/**
|
|
884
|
+
* Controls whether the filter panel automatically hides/shows based on window size. - 'auto': Automatically hide/show based on window width - 'manual': User controls visibility manually
|
|
885
|
+
*/
|
|
886
|
+
"responsiveBehavior"?: "auto" | "manual";
|
|
887
|
+
/**
|
|
888
|
+
* The breakpoint (in pixels) below which the filter panel will be hidden. Defaults to 768px (--sc-breakpoint-md).
|
|
889
|
+
*/
|
|
890
|
+
"responsiveBreakpoint"?: number;
|
|
881
891
|
/**
|
|
882
892
|
* The id of the Searchcraft instance that this component should use.
|
|
883
893
|
*/
|
|
@@ -2137,6 +2147,14 @@ declare namespace LocalJSX {
|
|
|
2137
2147
|
* The items to filter.
|
|
2138
2148
|
*/
|
|
2139
2149
|
"items"?: FilterItem[];
|
|
2150
|
+
/**
|
|
2151
|
+
* Controls whether the filter panel automatically hides/shows based on window size. - 'auto': Automatically hide/show based on window width - 'manual': User controls visibility manually
|
|
2152
|
+
*/
|
|
2153
|
+
"responsiveBehavior"?: "auto" | "manual";
|
|
2154
|
+
/**
|
|
2155
|
+
* The breakpoint (in pixels) below which the filter panel will be hidden. Defaults to 768px (--sc-breakpoint-md).
|
|
2156
|
+
*/
|
|
2157
|
+
"responsiveBreakpoint"?: number;
|
|
2140
2158
|
/**
|
|
2141
2159
|
* The id of the Searchcraft instance that this component should use.
|
|
2142
2160
|
*/
|