instantsearch.js 4.72.2 → 4.73.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.
@@ -4811,6 +4811,18 @@ declare type InfiniteHitsCSSClasses = Partial<{
4811
4811
  * The disabled “Show more” button.
4812
4812
  */
4813
4813
  disabledLoadMore: string | string[];
4814
+ /**
4815
+ * Class names to apply to the banner element
4816
+ */
4817
+ bannerRoot: string | string[];
4818
+ /**
4819
+ * Class names to apply to the banner image element
4820
+ */
4821
+ bannerImage: string | string[];
4822
+ /**
4823
+ * Class names to apply to the banner link element
4824
+ */
4825
+ bannerLink: string | string[];
4814
4826
  }>;
4815
4827
 
4816
4828
  declare type InfiniteHitsRenderState<THit extends NonNullable<object> = BaseHit> = {
@@ -4881,6 +4893,13 @@ declare type InfiniteHitsTemplates<THit extends NonNullable<object> = BaseHit> =
4881
4893
  /** @deprecated the index in the hits array, use __position instead, which is the absolute position */
4882
4894
  __hitIndex: number;
4883
4895
  }>;
4896
+ /**
4897
+ * Template to use for the banner.
4898
+ */
4899
+ banner: Template<{
4900
+ banner: Required<InfiniteHitsRenderState['banner']>;
4901
+ className: string;
4902
+ }>;
4884
4903
  }>;
4885
4904
 
4886
4905
  declare type InfiniteHitsWidgetDescription<THit extends NonNullable<object> = BaseHit> = {
@@ -4811,6 +4811,18 @@ declare type InfiniteHitsCSSClasses = Partial<{
4811
4811
  * The disabled “Show more” button.
4812
4812
  */
4813
4813
  disabledLoadMore: string | string[];
4814
+ /**
4815
+ * Class names to apply to the banner element
4816
+ */
4817
+ bannerRoot: string | string[];
4818
+ /**
4819
+ * Class names to apply to the banner image element
4820
+ */
4821
+ bannerImage: string | string[];
4822
+ /**
4823
+ * Class names to apply to the banner link element
4824
+ */
4825
+ bannerLink: string | string[];
4814
4826
  }>;
4815
4827
 
4816
4828
  declare type InfiniteHitsRenderState<THit extends NonNullable<object> = BaseHit> = {
@@ -4881,6 +4893,13 @@ declare type InfiniteHitsTemplates<THit extends NonNullable<object> = BaseHit> =
4881
4893
  /** @deprecated the index in the hits array, use __position instead, which is the absolute position */
4882
4894
  __hitIndex: number;
4883
4895
  }>;
4896
+ /**
4897
+ * Template to use for the banner.
4898
+ */
4899
+ banner: Template<{
4900
+ banner: Required<InfiniteHitsRenderState['banner']>;
4901
+ className: string;
4902
+ }>;
4884
4903
  }>;
4885
4904
 
4886
4905
  declare type InfiniteHitsWidgetDescription<THit extends NonNullable<object> = BaseHit> = {