instantsearch.js 4.61.0 → 4.62.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/cjs/connectors/breadcrumb/connectBreadcrumb.js +10 -14
- package/cjs/connectors/hierarchical-menu/connectHierarchicalMenu.js +11 -13
- package/cjs/connectors/menu/connectMenu.js +11 -14
- package/cjs/connectors/numeric-menu/connectNumericMenu.js +10 -14
- package/cjs/connectors/rating-menu/connectRatingMenu.js +10 -14
- package/cjs/connectors/refinement-list/connectRefinementList.js +11 -13
- package/cjs/lib/InstantSearch.js +5 -2
- package/cjs/lib/version.js +1 -1
- package/dist/instantsearch.development.d.ts +10 -0
- package/dist/instantsearch.development.js +150 -140
- package/dist/instantsearch.development.js.map +1 -1
- package/dist/instantsearch.production.d.ts +10 -0
- package/dist/instantsearch.production.min.d.ts +10 -0
- package/dist/instantsearch.production.min.js +2 -2
- package/dist/instantsearch.production.min.js.map +1 -1
- package/es/connectors/breadcrumb/connectBreadcrumb.js +10 -14
- package/es/connectors/hierarchical-menu/connectHierarchicalMenu.js +11 -13
- package/es/connectors/menu/connectMenu.js +11 -14
- package/es/connectors/numeric-menu/connectNumericMenu.js +10 -14
- package/es/connectors/rating-menu/connectRatingMenu.js +10 -14
- package/es/connectors/refinement-list/connectRefinementList.js +11 -13
- package/es/lib/InstantSearch.d.ts +10 -0
- package/es/lib/InstantSearch.js +5 -2
- package/es/lib/version.d.ts +1 -1
- package/es/lib/version.js +1 -1
- package/package.json +6 -6
|
@@ -2627,6 +2627,16 @@ declare type InstantSearchOptions<TUiState extends UiState = UiState, TRouteStat
|
|
|
2627
2627
|
* @default false
|
|
2628
2628
|
*/
|
|
2629
2629
|
preserveSharedStateOnUnmount?: boolean;
|
|
2630
|
+
/**
|
|
2631
|
+
* Changes the way root levels of hierarchical facets have their count displayed.
|
|
2632
|
+
*
|
|
2633
|
+
* If `false` (by default), the count of the refined root level is updated to match the count of the actively refined parent level.
|
|
2634
|
+
*
|
|
2635
|
+
* If `true`, the count of the root level stays the same as the count of all children levels.
|
|
2636
|
+
*
|
|
2637
|
+
* @default false
|
|
2638
|
+
*/
|
|
2639
|
+
persistHierarchicalRootCount?: boolean;
|
|
2630
2640
|
};
|
|
2631
2641
|
};
|
|
2632
2642
|
|
|
@@ -2627,6 +2627,16 @@ declare type InstantSearchOptions<TUiState extends UiState = UiState, TRouteStat
|
|
|
2627
2627
|
* @default false
|
|
2628
2628
|
*/
|
|
2629
2629
|
preserveSharedStateOnUnmount?: boolean;
|
|
2630
|
+
/**
|
|
2631
|
+
* Changes the way root levels of hierarchical facets have their count displayed.
|
|
2632
|
+
*
|
|
2633
|
+
* If `false` (by default), the count of the refined root level is updated to match the count of the actively refined parent level.
|
|
2634
|
+
*
|
|
2635
|
+
* If `true`, the count of the root level stays the same as the count of all children levels.
|
|
2636
|
+
*
|
|
2637
|
+
* @default false
|
|
2638
|
+
*/
|
|
2639
|
+
persistHierarchicalRootCount?: boolean;
|
|
2630
2640
|
};
|
|
2631
2641
|
};
|
|
2632
2642
|
|