@depict-ai/react-ui 0.0.54 → 0.0.56

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
@@ -2,7 +2,7 @@ import { SDKColsAtSize, SDKGridSpacing } from "@depict-ai/ui/dist";
2
2
  import { Display } from "../../../lib/displays/Display";
3
3
  import React, { ReactNode, PropsWithChildren } from "react";
4
4
  import { Locale } from "@depict-ai/ui/locales";
5
- import { DisplayWithVariants, Display as _Display1 } from "@depict-ai/utilishared";
5
+ import { DisplayWithVariants } from "@depict-ai/utilishared";
6
6
  interface PLPPageConfig<T extends Display> {
7
7
  /**
8
8
  * The product card to use for rendering products.
@@ -206,7 +206,7 @@ interface SearchPageConfig<T extends DisplayWithVariants> extends PLPPageConfig<
206
206
  * ```
207
207
  */
208
208
  export function DepictSearchPage<T extends DisplayWithVariants>(props: SearchPageConfig<T>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
209
- interface CategoryPageConfig<T extends _Display1> extends PLPPageConfig<T> {
209
+ interface CategoryPageConfig<T extends DisplayWithVariants> extends PLPPageConfig<T> {
210
210
  /**
211
211
  * The category id to show.
212
212
  */
@@ -253,7 +253,7 @@ interface CategoryPageConfig<T extends _Display1> extends PLPPageConfig<T> {
253
253
  * }
254
254
  * ```
255
255
  */
256
- export function DepictCategoryPage<T extends _Display1>(props: CategoryPageConfig<T>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
256
+ export function DepictCategoryPage<T extends DisplayWithVariants>(props: CategoryPageConfig<T>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
257
257
  /**
258
258
  * Props for the ImagePlaceholder component.
259
259
  */
@@ -284,7 +284,7 @@ interface TextPlaceholderProps {
284
284
  }
285
285
  /** A placeholder text that can be used in place of a text that is loading. */
286
286
  export const TextPlaceholder: React.FC<TextPlaceholderProps>;
287
- export const version = "0.0.54";
287
+ export const version = "0.0.56";
288
288
  /**
289
289
  * Helper function to navigate to a new page depending on the navigation library used.
290
290
  */
package/dist/main.js CHANGED
@@ -217,7 +217,7 @@ function $18b830ef84ac138a$export$9fac37a9c21c2f3b(props) {
217
217
  search.merchant = merchant;
218
218
  search.localization = usedLocale;
219
219
  }
220
- if (!category) (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).category = new (0, $18b830ef84ac138a$import$5090e60c224b3b76$f34314aa9505732e)({
220
+ if (!category) (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).category = new (0, $4GYXz$depictaiui.DepictCategory)({
221
221
  market: market,
222
222
  merchant: merchant,
223
223
  localization: usedLocale,
@@ -382,7 +382,7 @@ const $afce04c26b0c4208$export$89c6019e4baa40b1 = ({ width: width , height: heig
382
382
  };
383
383
 
384
384
 
385
- const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.54";
385
+ const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.56";
386
386
 
387
387
 
388
388
 
package/dist/module.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import {dlog as $TZSbU$dlog, href_change_ipns as $TZSbU$href_change_ipns, catchify as $TZSbU$catchify, observer as $TZSbU$observer, history_replacer as $TZSbU$history_replacer, queueMacroTask as $TZSbU$queueMacroTask, ContainedPlaceholderImage as $TZSbU$ContainedPlaceholderImage, Placeholder as $TZSbU$Placeholder} from "@depict-ai/utilishared";
2
- import {add_to_version_info as $TZSbU$add_to_version_info, SearchField as $TZSbU$SearchField, DepictSearch as $TZSbU$DepictSearch, get_search_query_updating_blocked_signal as $TZSbU$get_search_query_updating_blocked_signal, SearchPage as $TZSbU$SearchPage, CategoryPage as $TZSbU$CategoryPage, embedded_num_products as $TZSbU$embedded_num_products} from "@depict-ai/ui";
2
+ import {add_to_version_info as $TZSbU$add_to_version_info, SearchField as $TZSbU$SearchField, 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, embedded_num_products as $TZSbU$embedded_num_products} from "@depict-ai/ui";
3
3
  import {untrack as $TZSbU$untrack, createComponent as $TZSbU$createComponent, Show as $TZSbU$Show, onCleanup as $TZSbU$onCleanup, createSignal as $TZSbU$createSignal, createComputed as $TZSbU$createComputed} from "solid-js";
4
4
  import {render as $TZSbU$render} from "solid-js/web";
5
5
  import {useState as $TZSbU$useState, useRef as $TZSbU$useRef, useEffect as $TZSbU$useEffect, createElement as $TZSbU$createElement, Fragment as $TZSbU$Fragment} from "react";
@@ -203,7 +203,7 @@ function $faf794495ff8b304$export$9fac37a9c21c2f3b(props) {
203
203
  search.merchant = merchant;
204
204
  search.localization = usedLocale;
205
205
  }
206
- if (!category) (0, $42858f023ef23dab$export$8e769ad4338a911e).category = new (0, $faf794495ff8b304$import$5090e60c224b3b76$f34314aa9505732e)({
206
+ if (!category) (0, $42858f023ef23dab$export$8e769ad4338a911e).category = new (0, $TZSbU$DepictCategory)({
207
207
  market: market,
208
208
  merchant: merchant,
209
209
  localization: usedLocale,
@@ -368,7 +368,7 @@ const $8aa3ab31237c8dc9$export$89c6019e4baa40b1 = ({ width: width , height: heig
368
368
  };
369
369
 
370
370
 
371
- const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.54";
371
+ const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.56";
372
372
 
373
373
 
374
374
 
@@ -1,4 +1,4 @@
1
- export const version = "0.0.54";
1
+ export const version = "0.0.56";
2
2
  export function DepictProvider(props: any): any;
3
3
  export function DepictSearchField(): any;
4
4
  export function DepictSearchPage(): any;
@@ -16,7 +16,7 @@ $parcel$export(module.exports, "openModal", () => $41e7e5d85b5e0d49$export$a7f6c
16
16
  $parcel$export(module.exports, "version", () => $db7b67857900028b$export$83d89fbfd8236492);
17
17
 
18
18
 
19
- const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.54";
19
+ const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.56";
20
20
 
21
21
 
22
22
  function $41e7e5d85b5e0d49$export$9fac37a9c21c2f3b(props) {
@@ -3,7 +3,7 @@ import {jsx as $1RlIW$jsx} from "react/jsx-runtime";
3
3
 
4
4
 
5
5
 
6
- const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.54";
6
+ const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.56";
7
7
 
8
8
 
9
9
  function $2b1fdeb83610500f$export$9fac37a9c21c2f3b(props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/react-ui",
3
- "version": "0.0.54",
3
+ "version": "0.0.56",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/main.js",
@@ -90,8 +90,8 @@
90
90
  "/locales"
91
91
  ],
92
92
  "dependencies": {
93
- "@depict-ai/ui": "^0.0.31",
94
- "@depict-ai/utilishared": "^0.0.29",
93
+ "@depict-ai/ui": "^0.0.33",
94
+ "@depict-ai/utilishared": "^0.0.31",
95
95
  "solid-js": "^1.6.2"
96
96
  },
97
97
  "peerDependencies": {