@depict-ai/react-ui 0.0.82 → 0.0.84
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 +2 -24
- 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 +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BaseProductListingConfig, BaseProviderConfig, BaseSearchProviderConfig, BaseSearchPageConfig, BaseCategoryPageConfig, CategoryTitle, embedded_num_products } from "@depict-ai/ui";
|
|
1
|
+
import { BaseProductListingConfig, BaseProviderConfig, BaseSearchProviderConfig, BaseSearchPageConfig, BaseCategoryPageConfig, CategoryTitle, embedded_num_products, ImagePlaceholderProps, TextPlaceholderProps } from "@depict-ai/ui";
|
|
2
2
|
import { Display } from "@depict-ai/utilishared";
|
|
3
3
|
import React, { ReactNode, PropsWithChildren, ReactElement } from "react";
|
|
4
4
|
import { Locale } from "@depict-ai/ui/locales";
|
|
5
|
-
export const version = "0.0.
|
|
5
|
+
export const version = "0.0.84";
|
|
6
6
|
interface PLPConfig<T extends Display> extends BaseProductListingConfig {
|
|
7
7
|
/**
|
|
8
8
|
* The product card to use for rendering products.
|
|
@@ -234,34 +234,12 @@ export function BreadCrumbs(): import("react").ReactElement<any, string | import
|
|
|
234
234
|
* QuickLinks is a component enabling the user to go sideways and downwards in the category tree.
|
|
235
235
|
*/
|
|
236
236
|
export function QuickLinks(): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
237
|
-
/**
|
|
238
|
-
* Props for the ImagePlaceholder component.
|
|
239
|
-
*/
|
|
240
|
-
interface ImagePlaceholderProps {
|
|
241
|
-
/** The aspect ratio of the image that will be displayed. */
|
|
242
|
-
aspectRatio: number;
|
|
243
|
-
}
|
|
244
237
|
/**
|
|
245
238
|
* A placeholder image that can be used in place of an image that is loading.
|
|
246
239
|
* @param props
|
|
247
240
|
* @returns
|
|
248
241
|
*/
|
|
249
242
|
export const ImagePlaceholder: React.FC<ImagePlaceholderProps>;
|
|
250
|
-
/**
|
|
251
|
-
* Props for the TextPlaceholder component.
|
|
252
|
-
*/
|
|
253
|
-
interface TextPlaceholderProps {
|
|
254
|
-
/**
|
|
255
|
-
* The height of the text, including a unit.
|
|
256
|
-
* @example "1em"
|
|
257
|
-
*/
|
|
258
|
-
height: string;
|
|
259
|
-
/**
|
|
260
|
-
* The width of the text.
|
|
261
|
-
* @example "60px", "10em"
|
|
262
|
-
*/
|
|
263
|
-
width: string;
|
|
264
|
-
}
|
|
265
243
|
/** A placeholder text that can be used in place of a text that is loading. */
|
|
266
244
|
export const TextPlaceholder: React.FC<TextPlaceholderProps>;
|
|
267
245
|
/**
|
package/dist/main.js
CHANGED
|
@@ -27,7 +27,7 @@ $parcel$export(module.exports, "version", () => $db7b67857900028b$export$83d89fb
|
|
|
27
27
|
$parcel$export(module.exports, "Navigation", () => $b742053c966024b4$export$b8a61e5c71402559);
|
|
28
28
|
/*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
|
|
29
29
|
// Note, if you add an export here, also add one in src-server/main.ts
|
|
30
|
-
const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.
|
|
30
|
+
const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.84";
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
package/dist/module.js
CHANGED
|
@@ -9,7 +9,7 @@ import {createPortal as $TZSbU$createPortal} from "react-dom";
|
|
|
9
9
|
|
|
10
10
|
/*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
|
|
11
11
|
// Note, if you add an export here, also add one in src-server/main.ts
|
|
12
|
-
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.
|
|
12
|
+
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.84";
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
package/dist-server/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ interface UseSearchFieldReturn {
|
|
|
9
9
|
*/
|
|
10
10
|
SearchField: () => ReactElement;
|
|
11
11
|
}
|
|
12
|
-
export const version = "0.0.
|
|
12
|
+
export const version = "0.0.84";
|
|
13
13
|
export function DepictProvider(props: any): any;
|
|
14
14
|
export function SearchPage(): any;
|
|
15
15
|
export function CategoryPage(): any;
|
package/dist-server/main.js
CHANGED
|
@@ -19,7 +19,7 @@ $parcel$export(module.exports, "useSearchModal", () => $41e7e5d85b5e0d49$export$
|
|
|
19
19
|
$parcel$export(module.exports, "version", () => $db7b67857900028b$export$83d89fbfd8236492);
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.
|
|
22
|
+
const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.84";
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
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.84",
|
|
4
4
|
"packageManager": "yarn@3.2.2",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -95,9 +95,9 @@
|
|
|
95
95
|
"/locales"
|
|
96
96
|
],
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@depict-ai/plp-styling": "^0.0.
|
|
99
|
-
"@depict-ai/ui": "^0.0.
|
|
100
|
-
"@depict-ai/utilishared": "^0.0.
|
|
98
|
+
"@depict-ai/plp-styling": "^0.0.24",
|
|
99
|
+
"@depict-ai/ui": "^0.0.63",
|
|
100
|
+
"@depict-ai/utilishared": "^0.0.60",
|
|
101
101
|
"solid-js": "^1.6.2"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"@babel/preset-typescript": "latest",
|
|
111
111
|
"@babel/runtime": "latest",
|
|
112
112
|
"@babel/runtime-corejs3": "latest",
|
|
113
|
-
"@depict-ai/plp-styling": "^0.0.
|
|
113
|
+
"@depict-ai/plp-styling": "^0.0.24",
|
|
114
114
|
"@jest/globals": "^29.3.1",
|
|
115
115
|
"@parcel/babel-preset-env": "latest",
|
|
116
116
|
"@parcel/resolver-default": "^2.8.0",
|