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.
@@ -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