@depict-ai/react-ui 0.0.106 → 1.0.1

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 CHANGED
@@ -1,9 +1,9 @@
1
- import { BaseProductListingConfig, BaseProviderConfig, BaseSearchProviderConfig, BaseSearchPageConfig, BaseCategoryPageConfig, CategoryTitle, embedded_num_products, ImagePlaceholderProps, TextPlaceholderProps } from "@depict-ai/ui";
1
+ import { BaseProductListingConfig, BaseProviderConfig, BaseSearchProviderConfig, BaseSearchPageConfig, BaseCategoryPageConfig, CategoryTitle, embedded_num_products, ImagePlaceholderProps, TextPlaceholderProps, fetchDepictRecommendations, ExclusiveId } from "@depict-ai/ui";
2
2
  import { Display } from "@depict-ai/utilishared";
3
3
  import React, { ReactNode, PropsWithChildren, ReactElement } from "react";
4
4
  import { DPC } from "@depict-ai/dpc";
5
5
  import { Locale } from "@depict-ai/ui/locales";
6
- export const version = "0.0.106";
6
+ export const version = "1.0.1";
7
7
  interface PLPConfig<T extends Display> extends BaseProductListingConfig {
8
8
  /**
9
9
  * The product card to use for rendering products.
@@ -38,7 +38,7 @@ interface UsePerformanceClientReturn {
38
38
  *
39
39
  * useEffect(() => {
40
40
  * dpc.setProductId(productId);
41
- * }, [dpc]);
41
+ * }, [dpc, productId]);
42
42
  *
43
43
  * return <div>Showing product {productId}</div>;
44
44
  * }
@@ -410,11 +410,80 @@ interface UseSearchFieldReturn {
410
410
  * @returns {UseSearchFieldReturn}
411
411
  */
412
412
  export const useSearchField: (props?: SearchFieldProps) => UseSearchFieldReturn;
413
+ type FetchRecsOptions = Omit<Parameters<typeof fetchDepictRecommendations>[0], "merchant" | "market" | "userId" | "sessionId"> & ExclusiveId;
414
+ interface UseFetchRecommendationsReturn<T extends Display> {
415
+ /**
416
+ * Fetch recommendations from the Depict API.
417
+ * @example
418
+ * General recommendations for a landing page:
419
+ * ```tsx
420
+ * fetchRecommendations({ type: "landing_page" });
421
+ * ```
422
+ * @example
423
+ * Fetch targeted recommendations for a product details page (PDP):
424
+ * ```tsx
425
+ * fetchRecommendations({ type: "related", productId: "t-shirt-white" })
426
+ * ```
427
+ * @returns {Promise<T[]>}
428
+ */
429
+ fetchRecommendations: (opts: FetchRecsOptions) => Promise<T[]>;
430
+ }
431
+ /**
432
+ * Hook used to fetch Depict recommendations.
433
+ * @example
434
+ * Fetch general recommendations for a landing page:
435
+ * ```tsx
436
+ * import React from "react";
437
+ * import { useFetchRecommendations } from "@depict-ai/react-ui";
438
+ *
439
+ * export const LandingPage = () => {
440
+ * const [recs, setRecs] = React.useState();
441
+ * const { fetchRecommendations } = useFetchRecommendations();
442
+ *
443
+ * React.useEffect(() => {
444
+ * fetchRecommendations({ type: "landing_page" }).then(setRecs);
445
+ * }, [fetchRecommendations]);
446
+ *
447
+ * return (
448
+ * <div>
449
+ * {recs?.map((display) => (
450
+ * <ProductCard display={display} />
451
+ * ))}
452
+ * </div>
453
+ * );
454
+ * };
455
+ * ```
456
+ * @example
457
+ * Fetch targeted recommendations for a product details page (PDP):
458
+ * ```tsx
459
+ * import React from "react";
460
+ * import { useFetchRecommendations } from "@depict-ai/react-ui";
461
+ *
462
+ * export const ProductPage = ({ productId }) => {
463
+ * const [recs, setRecs] = React.useState();
464
+ * const { fetchRecommendations } = useFetchRecommendations();
465
+ *
466
+ * React.useEffect(() => {
467
+ * fetchRecommendations({ type: "related", productId }).then(setRecs);
468
+ * }, [fetchRecommendations, productId]);
469
+ *
470
+ * return (
471
+ * <div>
472
+ * {recs?.map((display) => (
473
+ * <ProductCard display={display} />
474
+ * ))}
475
+ * </div>
476
+ * );
477
+ * };
478
+ * ```
479
+ * @returns {UseFetchRecommendationsReturn}
480
+ */
481
+ export function useFetchRecommendations<T extends Display>(): UseFetchRecommendationsReturn<T>;
413
482
  /**
414
483
  * Helper function to navigate to a new page depending on the navigation library used.
415
484
  */
416
485
  export const Navigation: {
417
486
  nextRouterNavigation: (router: import("next/router").NextRouter) => (relativeUrl: string) => void;
418
487
  };
419
- export { CategoryTitle, embedded_num_products as EmbeddedNumProducts, fetchDepictRecommendations } from "@depict-ai/ui";
488
+ export { CategoryTitle, embedded_num_products as EmbeddedNumProducts } from "@depict-ai/ui";
420
489
  export type { Locale } from "@depict-ai/ui/locales";
package/dist/main.js CHANGED
@@ -23,15 +23,15 @@ $parcel$export(module.exports, "ImagePlaceholder", () => $df522c8a81ed5a01$expor
23
23
  $parcel$export(module.exports, "TextPlaceholder", () => $7c8b440edc188ad5$export$89c6019e4baa40b1);
24
24
  $parcel$export(module.exports, "useSearchModal", () => $ae73b15c325f1b21$export$912994940e660d32);
25
25
  $parcel$export(module.exports, "useSearchField", () => $913da7f4d0bc77f2$export$9bb30bbe003b82e0);
26
+ $parcel$export(module.exports, "useFetchRecommendations", () => $a134ea100690b628$export$6501da23a2770fc);
26
27
  $parcel$export(module.exports, "usePerformanceClient", () => $25c0a91312868994$export$38b98fae14bd1f64);
27
28
  $parcel$export(module.exports, "CategoryTitle", () => $b03e4eee8610ebbe$re_export$CategoryTitle);
28
29
  $parcel$export(module.exports, "EmbeddedNumProducts", () => $b03e4eee8610ebbe$re_export$EmbeddedNumProducts);
29
- $parcel$export(module.exports, "fetchDepictRecommendations", () => $b03e4eee8610ebbe$re_export$fetchDepictRecommendations);
30
30
  $parcel$export(module.exports, "version", () => $db7b67857900028b$export$83d89fbfd8236492);
31
31
  $parcel$export(module.exports, "Navigation", () => $b742053c966024b4$export$b8a61e5c71402559);
32
32
  /*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
33
33
  // Note, if you add an export here, also add one in src-server/main.ts
34
- const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.106";
34
+ const $db7b67857900028b$export$83d89fbfd8236492 = "1.0.1";
35
35
 
36
36
 
37
37
 
@@ -47,6 +47,8 @@ const $0b7cd4fb39fc3502$export$8e769ad4338a911e = {
47
47
  category: null,
48
48
  api: null,
49
49
  dpc: null,
50
+ merchant: null,
51
+ market: null,
50
52
  userId: undefined,
51
53
  sessionId: undefined,
52
54
  metaData: undefined,
@@ -275,6 +277,8 @@ function $24b00503eef73528$export$9fac37a9c21c2f3b(props) {
275
277
  (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).userId = userId;
276
278
  (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).sessionId = sessionId;
277
279
  (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).metaData = metaData;
280
+ (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).market = market;
281
+ (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).merchant = merchant;
278
282
  (0, $25c0a91312868994$export$47e064413edabf36)(merchant, market, userId, sessionId);
279
283
  if (!market || !merchant) {
280
284
  (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).required_state_set_[1](false);
@@ -581,6 +585,26 @@ const $913da7f4d0bc77f2$export$9bb30bbe003b82e0 = (props)=>{
581
585
 
582
586
 
583
587
 
588
+ function $a134ea100690b628$export$6501da23a2770fc() {
589
+ return {
590
+ fetchRecommendations: $a134ea100690b628$var$fetchRecommendations
591
+ };
592
+ }
593
+ function $a134ea100690b628$var$fetchRecommendations(opts) {
594
+ const { merchant: merchant , market: market , userId: userId , sessionId: sessionId } = (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e);
595
+ if (!merchant || !market) throw new Error("Depict recommendations are not configured. Wrap your app in a DepictProvider.");
596
+ return (0, $4GYXz$depictaiui.fetchDepictRecommendations)({
597
+ merchant: merchant,
598
+ market: market,
599
+ userId: userId,
600
+ sessionId: sessionId,
601
+ ...opts
602
+ });
603
+ }
604
+
605
+
606
+
607
+
584
608
 
585
609
 
586
610
  const $e387bd534de10acd$export$804fac5697cfbe35 = (router)=>(relativeUrl)=>{
package/dist/module.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import {add_to_version_info as $TZSbU$add_to_version_info, catchify as $TZSbU$catchify, queueMacroTask as $TZSbU$queueMacroTask, instant_exec_on_suspect_history_change as $TZSbU$instant_exec_on_suspect_history_change, ContainedPlaceholderImage as $TZSbU$ContainedPlaceholderImage, Placeholder as $TZSbU$Placeholder} from "@depict-ai/utilishared";
2
- import {CategoryTitle as $43099132aad1ceb6$re_export$CategoryTitle, embedded_num_products as $43099132aad1ceb6$re_export$EmbeddedNumProducts, fetchDepictRecommendations as $43099132aad1ceb6$re_export$fetchDepictRecommendations, DepictAPI as $TZSbU$DepictAPI, DepictSearch as $TZSbU$DepictSearch, DepictCategory as $TZSbU$DepictCategory, get_search_query_updating_blocked_signal as $TZSbU$get_search_query_updating_blocked_signal, SearchPage as $TZSbU$SearchPage, CategoryPage as $TZSbU$CategoryPage, BreadCrumbs as $TZSbU$BreadCrumbs, QuickLinks as $TZSbU$QuickLinks, open_modal_with_alignment as $TZSbU$open_modal_with_alignment, SearchField as $TZSbU$SearchField} from "@depict-ai/ui";
2
+ import {CategoryTitle as $43099132aad1ceb6$re_export$CategoryTitle, embedded_num_products as $43099132aad1ceb6$re_export$EmbeddedNumProducts, DepictAPI as $TZSbU$DepictAPI, DepictSearch as $TZSbU$DepictSearch, DepictCategory as $TZSbU$DepictCategory, get_search_query_updating_blocked_signal as $TZSbU$get_search_query_updating_blocked_signal, SearchPage as $TZSbU$SearchPage, CategoryPage as $TZSbU$CategoryPage, BreadCrumbs as $TZSbU$BreadCrumbs, QuickLinks as $TZSbU$QuickLinks, open_modal_with_alignment as $TZSbU$open_modal_with_alignment, SearchField as $TZSbU$SearchField, fetchDepictRecommendations as $TZSbU$fetchDepictRecommendations} from "@depict-ai/ui";
3
3
  import {createRoot as $TZSbU$createRoot, untrack as $TZSbU$untrack, createEffect as $TZSbU$createEffect, createComponent as $TZSbU$createComponent, Show as $TZSbU$Show, onCleanup as $TZSbU$onCleanup, createSignal as $TZSbU$createSignal, createComputed as $TZSbU$createComputed, createMemo as $TZSbU$createMemo} from "solid-js";
4
4
  import {createElement as $TZSbU$createElement, Fragment as $TZSbU$Fragment, useState as $TZSbU$useState, useRef as $TZSbU$useRef, useEffect as $TZSbU$useEffect, forwardRef as $TZSbU$forwardRef} from "react";
5
5
  import {en as $TZSbU$en} from "@depict-ai/ui/locales";
@@ -11,7 +11,7 @@ import {DPC as $TZSbU$DPC} from "@depict-ai/dpc";
11
11
 
12
12
  /*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
13
13
  // Note, if you add an export here, also add one in src-server/main.ts
14
- const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.106";
14
+ const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "1.0.1";
15
15
 
16
16
 
17
17
 
@@ -27,6 +27,8 @@ const $42858f023ef23dab$export$8e769ad4338a911e = {
27
27
  category: null,
28
28
  api: null,
29
29
  dpc: null,
30
+ merchant: null,
31
+ market: null,
30
32
  userId: undefined,
31
33
  sessionId: undefined,
32
34
  metaData: undefined,
@@ -255,6 +257,8 @@ function $5376eb2a386cd90d$export$9fac37a9c21c2f3b(props) {
255
257
  (0, $42858f023ef23dab$export$8e769ad4338a911e).userId = userId;
256
258
  (0, $42858f023ef23dab$export$8e769ad4338a911e).sessionId = sessionId;
257
259
  (0, $42858f023ef23dab$export$8e769ad4338a911e).metaData = metaData;
260
+ (0, $42858f023ef23dab$export$8e769ad4338a911e).market = market;
261
+ (0, $42858f023ef23dab$export$8e769ad4338a911e).merchant = merchant;
258
262
  (0, $a00d8f27abd5d0b0$export$47e064413edabf36)(merchant, market, userId, sessionId);
259
263
  if (!market || !merchant) {
260
264
  (0, $42858f023ef23dab$export$8e769ad4338a911e).required_state_set_[1](false);
@@ -561,6 +565,26 @@ const $2b886cf548a4775c$export$9bb30bbe003b82e0 = (props)=>{
561
565
 
562
566
 
563
567
 
568
+ function $1bb4271dc44722e2$export$6501da23a2770fc() {
569
+ return {
570
+ fetchRecommendations: $1bb4271dc44722e2$var$fetchRecommendations
571
+ };
572
+ }
573
+ function $1bb4271dc44722e2$var$fetchRecommendations(opts) {
574
+ const { merchant: merchant , market: market , userId: userId , sessionId: sessionId } = (0, $42858f023ef23dab$export$8e769ad4338a911e);
575
+ if (!merchant || !market) throw new Error("Depict recommendations are not configured. Wrap your app in a DepictProvider.");
576
+ return (0, $TZSbU$fetchDepictRecommendations)({
577
+ merchant: merchant,
578
+ market: market,
579
+ userId: userId,
580
+ sessionId: sessionId,
581
+ ...opts
582
+ });
583
+ }
584
+
585
+
586
+
587
+
564
588
 
565
589
 
566
590
  const $a92aa2beb560b8af$export$804fac5697cfbe35 = (router)=>(relativeUrl)=>{
@@ -588,4 +612,4 @@ const $97603d19204ec48d$export$b8a61e5c71402559 = {
588
612
  (0, $TZSbU$add_to_version_info)("react-ui", (0, $c9c4d066f9a5b51b$export$83d89fbfd8236492));
589
613
 
590
614
 
591
- export {$b68a14248b7ef667$export$466cdc317043f6cb as QuickLinks, $f866f7ed9f751af4$export$5646050d516e06bc as BreadCrumbs, $421f32789b6f111f$export$80e99ee6b29cadd2 as ComponentAligner, $5376eb2a386cd90d$export$9fac37a9c21c2f3b as DepictProvider, $48d7f568740a317d$export$f7d2f673fc2f091d as CategoryPage, $4a678f0c87b12e78$export$a54ec244c8863715 as SearchPage, $f446a84f85ba06f6$export$3f37af283f8fb843 as ImagePlaceholder, $cbd250061abf11cb$export$89c6019e4baa40b1 as TextPlaceholder, $70344e5e0d0fea06$export$912994940e660d32 as useSearchModal, $2b886cf548a4775c$export$9bb30bbe003b82e0 as useSearchField, $a00d8f27abd5d0b0$export$38b98fae14bd1f64 as usePerformanceClient, $43099132aad1ceb6$re_export$CategoryTitle as CategoryTitle, $43099132aad1ceb6$re_export$EmbeddedNumProducts as EmbeddedNumProducts, $43099132aad1ceb6$re_export$fetchDepictRecommendations as fetchDepictRecommendations, $c9c4d066f9a5b51b$export$83d89fbfd8236492 as version, $97603d19204ec48d$export$b8a61e5c71402559 as Navigation};
615
+ export {$b68a14248b7ef667$export$466cdc317043f6cb as QuickLinks, $f866f7ed9f751af4$export$5646050d516e06bc as BreadCrumbs, $421f32789b6f111f$export$80e99ee6b29cadd2 as ComponentAligner, $5376eb2a386cd90d$export$9fac37a9c21c2f3b as DepictProvider, $48d7f568740a317d$export$f7d2f673fc2f091d as CategoryPage, $4a678f0c87b12e78$export$a54ec244c8863715 as SearchPage, $f446a84f85ba06f6$export$3f37af283f8fb843 as ImagePlaceholder, $cbd250061abf11cb$export$89c6019e4baa40b1 as TextPlaceholder, $70344e5e0d0fea06$export$912994940e660d32 as useSearchModal, $2b886cf548a4775c$export$9bb30bbe003b82e0 as useSearchField, $1bb4271dc44722e2$export$6501da23a2770fc as useFetchRecommendations, $a00d8f27abd5d0b0$export$38b98fae14bd1f64 as usePerformanceClient, $43099132aad1ceb6$re_export$CategoryTitle as CategoryTitle, $43099132aad1ceb6$re_export$EmbeddedNumProducts as EmbeddedNumProducts, $c9c4d066f9a5b51b$export$83d89fbfd8236492 as version, $97603d19204ec48d$export$b8a61e5c71402559 as Navigation};
@@ -1,5 +1,7 @@
1
1
  import { ReactElement } from "react";
2
2
  import { DPC } from "@depict-ai/dpc";
3
+ import { fetchDepictRecommendations, ExclusiveId } from "@depict-ai/ui";
4
+ import { Display } from "@depict-ai/utilishared";
3
5
  type OpenModal = () => void;
4
6
  interface UseSearchModalReturn {
5
7
  open: OpenModal;
@@ -13,8 +15,25 @@ interface UseSearchFieldReturn {
13
15
  interface UsePerformanceClientReturn {
14
16
  dpc: DPC;
15
17
  }
16
- export const version = "0.0.106";
17
- export const fetchDepictRecommendations: any;
18
+ type FetchRecsOptions = Omit<Parameters<typeof fetchDepictRecommendations>[0], "merchant" | "market" | "userId" | "sessionId"> & ExclusiveId;
19
+ interface UseFetchRecommendationsReturn<T extends Display> {
20
+ /**
21
+ * Fetch recommendations from the Depict API.
22
+ * @example
23
+ * General recommendations for a landing page:
24
+ * ```tsx
25
+ * fetchRecommendations({ type: "landing_page" });
26
+ * ```
27
+ * @example
28
+ * Fetch targeted recommendations for a product details page (PDP):
29
+ * ```tsx
30
+ * fetchRecommendations({ type: "related", productId: "t-shirt-white" })
31
+ * ```
32
+ * @returns {Promise<T[]>}
33
+ */
34
+ fetchRecommendations: (opts: FetchRecsOptions) => Promise<T[]>;
35
+ }
36
+ export const version = "1.0.1";
18
37
  export function DepictProvider(props: any): any;
19
38
  export function SearchPage(): any;
20
39
  export function CategoryPage(): any;
@@ -32,3 +51,4 @@ export function useSearchField(): UseSearchFieldReturn;
32
51
  export function openModal(): void;
33
52
  export function useSearchModal(): UseSearchModalReturn;
34
53
  export function usePerformanceClient(): UsePerformanceClientReturn;
54
+ export function useFetchRecommendations<T extends Display>(): UseFetchRecommendationsReturn<T>;
@@ -5,7 +5,6 @@ function $parcel$export(e, n, v, s) {
5
5
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
6
6
  }
7
7
 
8
- $parcel$export(module.exports, "fetchDepictRecommendations", () => $41e7e5d85b5e0d49$export$58e808b1db15d3bc);
9
8
  $parcel$export(module.exports, "DepictProvider", () => $41e7e5d85b5e0d49$export$9fac37a9c21c2f3b);
10
9
  $parcel$export(module.exports, "SearchPage", () => $41e7e5d85b5e0d49$export$a54ec244c8863715);
11
10
  $parcel$export(module.exports, "CategoryPage", () => $41e7e5d85b5e0d49$export$f7d2f673fc2f091d);
@@ -18,15 +17,13 @@ $parcel$export(module.exports, "useSearchField", () => $41e7e5d85b5e0d49$export$
18
17
  $parcel$export(module.exports, "openModal", () => $41e7e5d85b5e0d49$export$a7f6cffb6b8ba11c);
19
18
  $parcel$export(module.exports, "useSearchModal", () => $41e7e5d85b5e0d49$export$912994940e660d32);
20
19
  $parcel$export(module.exports, "usePerformanceClient", () => $41e7e5d85b5e0d49$export$38b98fae14bd1f64);
20
+ $parcel$export(module.exports, "useFetchRecommendations", () => $41e7e5d85b5e0d49$export$6501da23a2770fc);
21
21
  $parcel$export(module.exports, "version", () => $db7b67857900028b$export$83d89fbfd8236492);
22
22
 
23
23
 
24
- const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.106";
24
+ const $db7b67857900028b$export$83d89fbfd8236492 = "1.0.1";
25
25
 
26
26
 
27
- const $41e7e5d85b5e0d49$export$58e808b1db15d3bc = ()=>{
28
- throw new Error("fetchDepictRecommendations is currently not available on the server due to personalisation/user_id related issues. Please only call it on the client");
29
- };
30
27
  function $41e7e5d85b5e0d49$export$9fac37a9c21c2f3b(props) {
31
28
  return props.children;
32
29
  }
@@ -94,5 +91,12 @@ function $41e7e5d85b5e0d49$export$38b98fae14bd1f64() {
94
91
  dpc: new Proxy({}, mock)
95
92
  };
96
93
  }
94
+ function $41e7e5d85b5e0d49$export$6501da23a2770fc() {
95
+ return {
96
+ fetchRecommendations: ()=>{
97
+ throw new Error("fetchRecommendations is currently not available on the server due to personalisation/user_id related issues. Please only call it on the client.");
98
+ }
99
+ };
100
+ }
97
101
 
98
102
 
@@ -3,12 +3,9 @@ import {jsx as $1RlIW$jsx} from "react/jsx-runtime";
3
3
 
4
4
 
5
5
 
6
- const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.106";
6
+ const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "1.0.1";
7
7
 
8
8
 
9
- const $2b1fdeb83610500f$export$58e808b1db15d3bc = ()=>{
10
- throw new Error("fetchDepictRecommendations is currently not available on the server due to personalisation/user_id related issues. Please only call it on the client");
11
- };
12
9
  function $2b1fdeb83610500f$export$9fac37a9c21c2f3b(props) {
13
10
  return props.children;
14
11
  }
@@ -76,6 +73,13 @@ function $2b1fdeb83610500f$export$38b98fae14bd1f64() {
76
73
  dpc: new Proxy({}, mock)
77
74
  };
78
75
  }
76
+ function $2b1fdeb83610500f$export$6501da23a2770fc() {
77
+ return {
78
+ fetchRecommendations: ()=>{
79
+ throw new Error("fetchRecommendations is currently not available on the server due to personalisation/user_id related issues. Please only call it on the client.");
80
+ }
81
+ };
82
+ }
79
83
 
80
84
 
81
- export {$2b1fdeb83610500f$export$58e808b1db15d3bc as fetchDepictRecommendations, $2b1fdeb83610500f$export$9fac37a9c21c2f3b as DepictProvider, $2b1fdeb83610500f$export$a54ec244c8863715 as SearchPage, $2b1fdeb83610500f$export$f7d2f673fc2f091d as CategoryPage, $2b1fdeb83610500f$export$5646050d516e06bc as BreadCrumbs, $2b1fdeb83610500f$export$466cdc317043f6cb as QuickLinks, $2b1fdeb83610500f$export$80e99ee6b29cadd2 as ComponentAligner, $2b1fdeb83610500f$export$3f37af283f8fb843 as ImagePlaceholder, $2b1fdeb83610500f$export$89c6019e4baa40b1 as TextPlaceholder, $2b1fdeb83610500f$export$9bb30bbe003b82e0 as useSearchField, $2b1fdeb83610500f$export$a7f6cffb6b8ba11c as openModal, $2b1fdeb83610500f$export$912994940e660d32 as useSearchModal, $2b1fdeb83610500f$export$38b98fae14bd1f64 as usePerformanceClient, $c9c4d066f9a5b51b$export$83d89fbfd8236492 as version};
85
+ export {$2b1fdeb83610500f$export$9fac37a9c21c2f3b as DepictProvider, $2b1fdeb83610500f$export$a54ec244c8863715 as SearchPage, $2b1fdeb83610500f$export$f7d2f673fc2f091d as CategoryPage, $2b1fdeb83610500f$export$5646050d516e06bc as BreadCrumbs, $2b1fdeb83610500f$export$466cdc317043f6cb as QuickLinks, $2b1fdeb83610500f$export$80e99ee6b29cadd2 as ComponentAligner, $2b1fdeb83610500f$export$3f37af283f8fb843 as ImagePlaceholder, $2b1fdeb83610500f$export$89c6019e4baa40b1 as TextPlaceholder, $2b1fdeb83610500f$export$9bb30bbe003b82e0 as useSearchField, $2b1fdeb83610500f$export$a7f6cffb6b8ba11c as openModal, $2b1fdeb83610500f$export$912994940e660d32 as useSearchModal, $2b1fdeb83610500f$export$38b98fae14bd1f64 as usePerformanceClient, $2b1fdeb83610500f$export$6501da23a2770fc as useFetchRecommendations, $c9c4d066f9a5b51b$export$83d89fbfd8236492 as version};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/react-ui",
3
- "version": "0.0.106",
3
+ "version": "1.0.1",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/main.js",
@@ -96,10 +96,10 @@
96
96
  "/locales"
97
97
  ],
98
98
  "dependencies": {
99
- "@depict-ai/dpc": "^1.0.2",
100
- "@depict-ai/plp-styling": "^1.0.2",
101
- "@depict-ai/ui": "^1.0.2",
102
- "@depict-ai/utilishared": "^1.0.2",
99
+ "@depict-ai/dpc": "^1.0.3",
100
+ "@depict-ai/plp-styling": "^1.0.3",
101
+ "@depict-ai/ui": "^1.0.3",
102
+ "@depict-ai/utilishared": "^1.0.3",
103
103
  "solid-js": "^1.7.3"
104
104
  },
105
105
  "peerDependencies": {
@@ -112,7 +112,7 @@
112
112
  "@babel/preset-typescript": "latest",
113
113
  "@babel/runtime": "latest",
114
114
  "@babel/runtime-corejs3": "latest",
115
- "@depict-ai/plp-styling": "^1.0.2",
115
+ "@depict-ai/plp-styling": "^1.0.3",
116
116
  "@jest/globals": "^29.3.1",
117
117
  "@parcel/babel-preset-env": "latest",
118
118
  "@parcel/resolver-default": "^2.8.0",