@depict-ai/react-ui 4.2.4 → 4.2.5

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/ES10/index.cjs CHANGED
@@ -42,7 +42,7 @@ $parcel$export(module.exports, "version", () => $efbdd2dab4314170$export$83d89fb
42
42
  $parcel$export(module.exports, "Navigation", () => $0d3a2413fdeb34b9$export$b8a61e5c71402559);
43
43
  /*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
44
44
  // Note, if you add an export here, also add one in src-server/main.ts
45
- const $efbdd2dab4314170$export$83d89fbfd8236492 = "4.2.4";
45
+ const $efbdd2dab4314170$export$83d89fbfd8236492 = "4.2.5";
46
46
  const $ef516b1f92253963$export$8e769ad4338a911e = {
47
47
  usedLocale: $2kiy7$solidjs.createSignal((0, $2kiy7$depictaiuilocales.defaultLocale)),
48
48
  search_instances: new Map(),
package/ES10/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import React, { PropsWithChildren, FC, ReactNode, ReactPortal, ReactElement } fr
3
3
  import { BaseCategoryProviderConfig, BaseProviderConfig, BaseSearchProviderConfig, ModernDisplayWithPageUrl, BaseProductListingConfig, BaseSearchPageConfig, BaseCategoryPageConfig, CategoryTitle, embedded_num_products, ListingQuery, ImagePlaceholder as _ImagePlaceholder1, TextPlaceholder as _TextPlaceholder1, ExclusiveId, fetchDepictRecommendations, FilterWithData } from "@depict-ai/ui/ES10";
4
4
  import { Locale } from "@depict-ai/ui/locales/ES10";
5
5
  import { Display, ModernDisplay } from "@depict-ai/utilishared/ES10";
6
- export const version = "4.2.4";
6
+ export const version = "4.2.5";
7
7
  interface UsePerformanceClientReturn {
8
8
  dpc: DPC;
9
9
  }
@@ -608,7 +608,7 @@ export function useFetchRecommendations<T extends ModernDisplay>(): UseFetchReco
608
608
  * Gives you some helpers that let you interact with the state of a category page
609
609
  * @param stateKey the stateKey of the components to effect, leave unset if you haven't set a stateKey on your components.
610
610
  */
611
- export function useCategoryFilterHelpers(stateKey: string | undefined): {
611
+ export function useCategoryFilterHelpers(stateKey?: string): {
612
612
  categorySetShouldShowFilters: (shouldShow: boolean) => void;
613
613
  categorySetFilter: (filter: FilterWithData) => void;
614
614
  categoryExpandFilterGroup: (title: string) => void;
package/ES10/index.js CHANGED
@@ -15,7 +15,7 @@ import { renderToString as $jb2Oo$renderToString } from "react-dom/server";
15
15
  // Note, if you add an export here, also add one in src-server/main.ts
16
16
  import { register_es_version } from "../multi_import_deduplicator.mjs";
17
17
  register_es_version("react-ui", "ES10");
18
- const $9bd9bb8700ab2ada$export$83d89fbfd8236492 = "4.2.4";
18
+ const $9bd9bb8700ab2ada$export$83d89fbfd8236492 = "4.2.5";
19
19
  const $8c691d7f86317052$export$8e769ad4338a911e = {
20
20
  usedLocale: $jb2Oo$createSignal((0, $jb2Oo$defaultLocale)),
21
21
  search_instances: new Map(),
package/latest/index.cjs CHANGED
@@ -42,7 +42,7 @@ $parcel$export(module.exports, "version", () => $db7b67857900028b$export$83d89fb
42
42
  $parcel$export(module.exports, "Navigation", () => $b742053c966024b4$export$b8a61e5c71402559);
43
43
  /*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
44
44
  // Note, if you add an export here, also add one in src-server/main.ts
45
- const $db7b67857900028b$export$83d89fbfd8236492 = "4.2.4";
45
+ const $db7b67857900028b$export$83d89fbfd8236492 = "4.2.5";
46
46
  const $0b7cd4fb39fc3502$export$8e769ad4338a911e = {
47
47
  usedLocale: $2IzJs$solidjs.createSignal((0, $2IzJs$depictaiuilocales.defaultLocale)),
48
48
  search_instances: new Map(),
package/latest/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import React, { PropsWithChildren, FC, ReactNode, ReactPortal, ReactElement } fr
3
3
  import { BaseCategoryProviderConfig, BaseProviderConfig, BaseSearchProviderConfig, ModernDisplayWithPageUrl, BaseProductListingConfig, BaseSearchPageConfig, BaseCategoryPageConfig, CategoryTitle, embedded_num_products, ListingQuery, ImagePlaceholder as _ImagePlaceholder1, TextPlaceholder as _TextPlaceholder1, ExclusiveId, fetchDepictRecommendations, FilterWithData } from "@depict-ai/ui/latest";
4
4
  import { Locale } from "@depict-ai/ui/locales/latest";
5
5
  import { Display, ModernDisplay } from "@depict-ai/utilishared/latest";
6
- export const version = "4.2.4";
6
+ export const version = "4.2.5";
7
7
  interface UsePerformanceClientReturn {
8
8
  dpc: DPC;
9
9
  }
@@ -608,7 +608,7 @@ export function useFetchRecommendations<T extends ModernDisplay>(): UseFetchReco
608
608
  * Gives you some helpers that let you interact with the state of a category page
609
609
  * @param stateKey the stateKey of the components to effect, leave unset if you haven't set a stateKey on your components.
610
610
  */
611
- export function useCategoryFilterHelpers(stateKey: string | undefined): {
611
+ export function useCategoryFilterHelpers(stateKey?: string): {
612
612
  categorySetShouldShowFilters: (shouldShow: boolean) => void;
613
613
  categorySetFilter: (filter: FilterWithData) => void;
614
614
  categoryExpandFilterGroup: (title: string) => void;
package/latest/index.js CHANGED
@@ -15,7 +15,7 @@ import { renderToString as $2GFvs$renderToString } from "react-dom/server";
15
15
  // Note, if you add an export here, also add one in src-server/main.ts
16
16
  import { register_es_version } from "../multi_import_deduplicator.mjs";
17
17
  register_es_version("react-ui", "latest");
18
- const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "4.2.4";
18
+ const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "4.2.5";
19
19
  const $42858f023ef23dab$export$8e769ad4338a911e = {
20
20
  usedLocale: $2GFvs$createSignal((0, $2GFvs$defaultLocale)),
21
21
  search_instances: new Map(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/react-ui",
3
- "version": "4.2.4",
3
+ "version": "4.2.5",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "types": "ES10/index.d.ts",
@@ -137,7 +137,7 @@
137
137
  "@babel/runtime-corejs3": "latest",
138
138
  "@depict-ai/dpc": "^2.1.2",
139
139
  "@depict-ai/plp-styling": "^4.0.4",
140
- "@depict-ai/ui": "^4.3.12",
140
+ "@depict-ai/ui": "^4.3.14",
141
141
  "@depict-ai/utilishared": "^2.1.2",
142
142
  "solid-js": "^1.8.12"
143
143
  },
@@ -203,7 +203,7 @@ function $3b36cc844440a979$export$e46079a2793e9ec7(props, set_portals) {
203
203
  }
204
204
  });
205
205
  }
206
- const $efbdd2dab4314170$export$83d89fbfd8236492 = "4.2.4";
206
+ const $efbdd2dab4314170$export$83d89fbfd8236492 = "4.2.5";
207
207
  function $202459d454907b31$export$9fac37a9c21c2f3b(props) {
208
208
  return props.children;
209
209
  }
@@ -3,7 +3,7 @@ import React, { PropsWithChildren, FC, ReactNode, ReactPortal, ReactElement } fr
3
3
  import { BaseCategoryProviderConfig, BaseProviderConfig, BaseSearchProviderConfig, ModernDisplayWithPageUrl, BaseProductListingConfig, BaseSearchPageConfig, BaseCategoryPageConfig, CategoryTitle, embedded_num_products, ListingQuery, ImagePlaceholder as _ImagePlaceholder1, TextPlaceholder as _TextPlaceholder1, ExclusiveId, fetchDepictRecommendations, FilterWithData } from "@depict-ai/ui/ES10";
4
4
  import { Locale } from "@depict-ai/ui/locales/ES10";
5
5
  import { Display, ModernDisplay } from "@depict-ai/utilishared/ES10";
6
- export const version = "4.2.4";
6
+ export const version = "4.2.5";
7
7
  interface UsePerformanceClientReturn {
8
8
  dpc: DPC;
9
9
  }
@@ -608,7 +608,7 @@ export function useFetchRecommendations<T extends ModernDisplay>(): UseFetchReco
608
608
  * Gives you some helpers that let you interact with the state of a category page
609
609
  * @param stateKey the stateKey of the components to effect, leave unset if you haven't set a stateKey on your components.
610
610
  */
611
- export function useCategoryFilterHelpers(stateKey: string | undefined): {
611
+ export function useCategoryFilterHelpers(stateKey?: string): {
612
612
  categorySetShouldShowFilters: (shouldShow: boolean) => void;
613
613
  categorySetFilter: (filter: FilterWithData) => void;
614
614
  categoryExpandFilterGroup: (title: string) => void;
@@ -179,7 +179,7 @@ function $cd68097a7ee08669$export$e46079a2793e9ec7(props, set_portals) {
179
179
  }
180
180
  });
181
181
  }
182
- const $9bd9bb8700ab2ada$export$83d89fbfd8236492 = "4.2.4";
182
+ const $9bd9bb8700ab2ada$export$83d89fbfd8236492 = "4.2.5";
183
183
  function $5c4add0a8fe94894$export$9fac37a9c21c2f3b(props) {
184
184
  return props.children;
185
185
  }
@@ -192,7 +192,7 @@ function $c6b960f2a07285c8$export$e46079a2793e9ec7(props, set_portals) {
192
192
  }
193
193
  });
194
194
  }
195
- const $db7b67857900028b$export$83d89fbfd8236492 = "4.2.4";
195
+ const $db7b67857900028b$export$83d89fbfd8236492 = "4.2.5";
196
196
  function $41e7e5d85b5e0d49$export$9fac37a9c21c2f3b(props) {
197
197
  return props.children;
198
198
  }
@@ -3,7 +3,7 @@ import React, { PropsWithChildren, FC, ReactNode, ReactPortal, ReactElement } fr
3
3
  import { BaseCategoryProviderConfig, BaseProviderConfig, BaseSearchProviderConfig, ModernDisplayWithPageUrl, BaseProductListingConfig, BaseSearchPageConfig, BaseCategoryPageConfig, CategoryTitle, embedded_num_products, ListingQuery, ImagePlaceholder as _ImagePlaceholder1, TextPlaceholder as _TextPlaceholder1, ExclusiveId, fetchDepictRecommendations, FilterWithData } from "@depict-ai/ui/latest";
4
4
  import { Locale } from "@depict-ai/ui/locales/latest";
5
5
  import { Display, ModernDisplay } from "@depict-ai/utilishared/latest";
6
- export const version = "4.2.4";
6
+ export const version = "4.2.5";
7
7
  interface UsePerformanceClientReturn {
8
8
  dpc: DPC;
9
9
  }
@@ -608,7 +608,7 @@ export function useFetchRecommendations<T extends ModernDisplay>(): UseFetchReco
608
608
  * Gives you some helpers that let you interact with the state of a category page
609
609
  * @param stateKey the stateKey of the components to effect, leave unset if you haven't set a stateKey on your components.
610
610
  */
611
- export function useCategoryFilterHelpers(stateKey: string | undefined): {
611
+ export function useCategoryFilterHelpers(stateKey?: string): {
612
612
  categorySetShouldShowFilters: (shouldShow: boolean) => void;
613
613
  categorySetFilter: (filter: FilterWithData) => void;
614
614
  categoryExpandFilterGroup: (title: string) => void;
@@ -168,7 +168,7 @@ function $4d5c3f13a5ae62a7$export$e46079a2793e9ec7(props, set_portals) {
168
168
  }
169
169
  });
170
170
  }
171
- const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "4.2.4";
171
+ const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "4.2.5";
172
172
  function $2b1fdeb83610500f$export$9fac37a9c21c2f3b(props) {
173
173
  return props.children;
174
174
  }