@depict-ai/react-ui 0.0.55 → 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 +4 -4
- package/dist/main.js +1 -1
- package/dist/module.js +1 -1
- package/dist-server/index.d.ts +1 -1
- package/dist-server/main.js +1 -1
- package/dist-server/module.js +1 -1
- package/package.json +3 -3
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
|
|
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
|
|
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
|
|
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.
|
|
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
package/dist/module.js
CHANGED
package/dist-server/index.d.ts
CHANGED
package/dist-server/main.js
CHANGED
|
@@ -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.
|
|
19
|
+
const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.56";
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
function $41e7e5d85b5e0d49$export$9fac37a9c21c2f3b(props) {
|
package/dist-server/module.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/react-ui",
|
|
3
|
-
"version": "0.0.
|
|
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.
|
|
94
|
-
"@depict-ai/utilishared": "^0.0.
|
|
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": {
|