@depict-ai/react-ui 0.0.39 → 0.0.40
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 +6 -1
- 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
|
@@ -156,6 +156,10 @@ interface SearchPageConfig<T extends Display> {
|
|
|
156
156
|
* ```tsx
|
|
157
157
|
* import { DepictProductCard, ImagePlaceholder, Display } from '@depict-ai/react-ui'
|
|
158
158
|
*
|
|
159
|
+
* function Search() {
|
|
160
|
+
* return <DepictSearchPage productCard={MyCustomSearchProductCard} />
|
|
161
|
+
* }
|
|
162
|
+
*
|
|
159
163
|
* interface MyCustomDisplay extends Display {}
|
|
160
164
|
*
|
|
161
165
|
* export const MyCustomSearchProductCard: DepictProductCard<MyCustomDisplay> = ({
|
|
@@ -183,6 +187,7 @@ interface SearchPageConfig<T extends Display> {
|
|
|
183
187
|
* </>
|
|
184
188
|
* )
|
|
185
189
|
* }
|
|
190
|
+
*
|
|
186
191
|
* ```
|
|
187
192
|
*/
|
|
188
193
|
export function DepictSearchPage<T extends Display>(props: SearchPageConfig<T>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
@@ -210,4 +215,4 @@ interface TextPlaceholderProps {
|
|
|
210
215
|
}
|
|
211
216
|
/** A placeholder text that can be used in place of a text that is loading */
|
|
212
217
|
export const TextPlaceholder: React.FC<TextPlaceholderProps>;
|
|
213
|
-
export const version = "0.0.
|
|
218
|
+
export const version = "0.0.40";
|
package/dist/main.js
CHANGED
package/dist/module.js
CHANGED
package/dist-server/index.d.ts
CHANGED
package/dist-server/main.js
CHANGED
|
@@ -15,7 +15,7 @@ $parcel$export(module.exports, "openModal", () => $41e7e5d85b5e0d49$export$a7f6c
|
|
|
15
15
|
$parcel$export(module.exports, "version", () => $db7b67857900028b$export$83d89fbfd8236492);
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.
|
|
18
|
+
const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.40";
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
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.40",
|
|
4
4
|
"packageManager": "yarn@3.2.2",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"/dist-server"
|
|
84
84
|
],
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"@depict-ai/ui": "^0.0.
|
|
87
|
-
"@depict-ai/utilishared": "^0.0.
|
|
86
|
+
"@depict-ai/ui": "^0.0.18",
|
|
87
|
+
"@depict-ai/utilishared": "^0.0.16",
|
|
88
88
|
"solid-js": "^1.6.2"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|