@depict-ai/react-ui 3.0.7 → 3.0.8
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/ES10/index.cjs +4 -4
- package/ES10/index.d.ts +1 -1
- package/ES10/index.js +4 -4
- package/latest/index.cjs +4 -4
- package/latest/index.d.ts +1 -1
- package/latest/index.js +4 -4
- package/package.json +2 -2
- package/server/ES10/index.cjs +4 -4
- package/server/ES10/index.d.ts +1 -1
- package/server/ES10/index.js +4 -4
- package/server/latest/index.cjs +4 -4
- package/server/latest/index.d.ts +1 -1
- package/server/latest/index.js +4 -4
package/ES10/index.cjs
CHANGED
|
@@ -39,7 +39,7 @@ $parcel$export(module.exports, "version", () => $efbdd2dab4314170$export$83d89fb
|
|
|
39
39
|
$parcel$export(module.exports, "Navigation", () => $0d3a2413fdeb34b9$export$b8a61e5c71402559);
|
|
40
40
|
/*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
|
|
41
41
|
// Note, if you add an export here, also add one in src-server/main.ts
|
|
42
|
-
const $efbdd2dab4314170$export$83d89fbfd8236492 = "3.0.
|
|
42
|
+
const $efbdd2dab4314170$export$83d89fbfd8236492 = "3.0.8";
|
|
43
43
|
const $ef516b1f92253963$export$8e769ad4338a911e = {
|
|
44
44
|
usedLocale: $2kiy7$solidjs.createSignal((0, $2kiy7$depictaiuilocales.defaultLocale)),
|
|
45
45
|
search_instances: new Map(),
|
|
@@ -901,11 +901,11 @@ function $3b36cc844440a979$export$e46079a2793e9ec7(props, set_portals) {
|
|
|
901
901
|
product_card_template: display => {
|
|
902
902
|
if (0, $2kiy7$solidjsweb.isServer)
|
|
903
903
|
// This function can't be async on the server
|
|
904
|
-
// @ts-ignore
|
|
904
|
+
// @ts-ignore emulate the wrapper div that we need in prod here too for consistency
|
|
905
905
|
return {
|
|
906
|
-
t: $2kiy7$reactdomserver.renderToString($2kiy7$react.createElement(() => props.productCard({
|
|
906
|
+
t: "<div>".concat($2kiy7$reactdomserver.renderToString($2kiy7$react.createElement(() => props.productCard({
|
|
907
907
|
display: display
|
|
908
|
-
})))
|
|
908
|
+
}))), "</div>")
|
|
909
909
|
};
|
|
910
910
|
return $3441d987b5ea85cb$export$32024253978abdc7({
|
|
911
911
|
component_props: {
|
package/ES10/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import React, { PropsWithChildren, FC, ReactNode, ReactPortal, ReactElement } fr
|
|
|
3
3
|
import { BaseCategoryProviderConfig, BaseProviderConfig, BaseSearchProviderConfig, ModernDisplayWithPageUrl, BaseProductListingConfig, BaseSearchPageConfig, BaseCategoryPageConfig, CategoryTitle, embedded_num_products, ListingQuery, ImagePlaceholder as _ImagePlaceholder1, TextPlaceholder as _TextPlaceholder1, ExclusiveId, fetchDepictRecommendations } from "@depict-ai/ui/ES10";
|
|
4
4
|
import { Locale } from "@depict-ai/ui/locales/ES10";
|
|
5
5
|
import { Display, ModernDisplay } from "@depict-ai/utilishared/ES10";
|
|
6
|
-
export const version = "3.0.
|
|
6
|
+
export const version = "3.0.8";
|
|
7
7
|
interface UsePerformanceClientReturn {
|
|
8
8
|
dpc: DPC;
|
|
9
9
|
}
|
package/ES10/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import { renderToString as $jb2Oo$renderToString } from "react-dom/server";
|
|
|
15
15
|
// Note, if you add an export here, also add one in src-server/main.ts
|
|
16
16
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
17
17
|
register_es_version("react-ui", "ES10");
|
|
18
|
-
const $9bd9bb8700ab2ada$export$83d89fbfd8236492 = "3.0.
|
|
18
|
+
const $9bd9bb8700ab2ada$export$83d89fbfd8236492 = "3.0.8";
|
|
19
19
|
const $8c691d7f86317052$export$8e769ad4338a911e = {
|
|
20
20
|
usedLocale: $jb2Oo$createSignal((0, $jb2Oo$defaultLocale)),
|
|
21
21
|
search_instances: new Map(),
|
|
@@ -877,11 +877,11 @@ function $cd68097a7ee08669$export$e46079a2793e9ec7(props, set_portals) {
|
|
|
877
877
|
product_card_template: display => {
|
|
878
878
|
if (0, $jb2Oo$isServer)
|
|
879
879
|
// This function can't be async on the server
|
|
880
|
-
// @ts-ignore
|
|
880
|
+
// @ts-ignore emulate the wrapper div that we need in prod here too for consistency
|
|
881
881
|
return {
|
|
882
|
-
t: $jb2Oo$renderToString($jb2Oo$createElement(() => props.productCard({
|
|
882
|
+
t: "<div>".concat($jb2Oo$renderToString($jb2Oo$createElement(() => props.productCard({
|
|
883
883
|
display: display
|
|
884
|
-
})))
|
|
884
|
+
}))), "</div>")
|
|
885
885
|
};
|
|
886
886
|
return $cce08f18e2476cbf$export$32024253978abdc7({
|
|
887
887
|
component_props: {
|
package/latest/index.cjs
CHANGED
|
@@ -39,7 +39,7 @@ $parcel$export(module.exports, "version", () => $db7b67857900028b$export$83d89fb
|
|
|
39
39
|
$parcel$export(module.exports, "Navigation", () => $b742053c966024b4$export$b8a61e5c71402559);
|
|
40
40
|
/*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
|
|
41
41
|
// Note, if you add an export here, also add one in src-server/main.ts
|
|
42
|
-
const $db7b67857900028b$export$83d89fbfd8236492 = "3.0.
|
|
42
|
+
const $db7b67857900028b$export$83d89fbfd8236492 = "3.0.8";
|
|
43
43
|
const $0b7cd4fb39fc3502$export$8e769ad4338a911e = {
|
|
44
44
|
usedLocale: $2IzJs$solidjs.createSignal((0, $2IzJs$depictaiuilocales.defaultLocale)),
|
|
45
45
|
search_instances: new Map(),
|
|
@@ -862,11 +862,11 @@ function $c6b960f2a07285c8$export$e46079a2793e9ec7(props, set_portals) {
|
|
|
862
862
|
product_card_template: display => {
|
|
863
863
|
if (0, $2IzJs$solidjsweb.isServer)
|
|
864
864
|
// This function can't be async on the server
|
|
865
|
-
// @ts-ignore
|
|
865
|
+
// @ts-ignore emulate the wrapper div that we need in prod here too for consistency
|
|
866
866
|
return {
|
|
867
|
-
t: $2IzJs$reactdomserver.renderToString($2IzJs$react.createElement(() => props.productCard({
|
|
867
|
+
t: `<div>${$2IzJs$reactdomserver.renderToString($2IzJs$react.createElement(() => props.productCard({
|
|
868
868
|
display: display
|
|
869
|
-
})))
|
|
869
|
+
})))}</div>`
|
|
870
870
|
};
|
|
871
871
|
return $6081519c185fcf70$export$32024253978abdc7({
|
|
872
872
|
component_props: {
|
package/latest/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import React, { PropsWithChildren, FC, ReactNode, ReactPortal, ReactElement } fr
|
|
|
3
3
|
import { BaseCategoryProviderConfig, BaseProviderConfig, BaseSearchProviderConfig, ModernDisplayWithPageUrl, BaseProductListingConfig, BaseSearchPageConfig, BaseCategoryPageConfig, CategoryTitle, embedded_num_products, ListingQuery, ImagePlaceholder as _ImagePlaceholder1, TextPlaceholder as _TextPlaceholder1, ExclusiveId, fetchDepictRecommendations } from "@depict-ai/ui/latest";
|
|
4
4
|
import { Locale } from "@depict-ai/ui/locales/latest";
|
|
5
5
|
import { Display, ModernDisplay } from "@depict-ai/utilishared/latest";
|
|
6
|
-
export const version = "3.0.
|
|
6
|
+
export const version = "3.0.8";
|
|
7
7
|
interface UsePerformanceClientReturn {
|
|
8
8
|
dpc: DPC;
|
|
9
9
|
}
|
package/latest/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import { renderToString as $2GFvs$renderToString } from "react-dom/server";
|
|
|
15
15
|
// Note, if you add an export here, also add one in src-server/main.ts
|
|
16
16
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
17
17
|
register_es_version("react-ui", "latest");
|
|
18
|
-
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "3.0.
|
|
18
|
+
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "3.0.8";
|
|
19
19
|
const $42858f023ef23dab$export$8e769ad4338a911e = {
|
|
20
20
|
usedLocale: $2GFvs$createSignal((0, $2GFvs$defaultLocale)),
|
|
21
21
|
search_instances: new Map(),
|
|
@@ -838,11 +838,11 @@ function $4d5c3f13a5ae62a7$export$e46079a2793e9ec7(props, set_portals) {
|
|
|
838
838
|
product_card_template: display => {
|
|
839
839
|
if (0, $2GFvs$isServer)
|
|
840
840
|
// This function can't be async on the server
|
|
841
|
-
// @ts-ignore
|
|
841
|
+
// @ts-ignore emulate the wrapper div that we need in prod here too for consistency
|
|
842
842
|
return {
|
|
843
|
-
t: $2GFvs$renderToString($2GFvs$createElement(() => props.productCard({
|
|
843
|
+
t: `<div>${$2GFvs$renderToString($2GFvs$createElement(() => props.productCard({
|
|
844
844
|
display: display
|
|
845
|
-
})))
|
|
845
|
+
})))}</div>`
|
|
846
846
|
};
|
|
847
847
|
return $bcf84a32dc612a43$export$32024253978abdc7({
|
|
848
848
|
component_props: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/react-ui",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.8",
|
|
4
4
|
"packageManager": "yarn@3.2.2",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "ES10/index.d.ts",
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"@babel/runtime-corejs3": "latest",
|
|
138
138
|
"@depict-ai/dpc": "^2.0.2",
|
|
139
139
|
"@depict-ai/plp-styling": "^2.0.2",
|
|
140
|
-
"@depict-ai/ui": "^3.0.
|
|
140
|
+
"@depict-ai/ui": "^3.0.9",
|
|
141
141
|
"@depict-ai/utilishared": "^2.0.2",
|
|
142
142
|
"solid-js": "^1.8.1"
|
|
143
143
|
},
|
package/server/ES10/index.cjs
CHANGED
|
@@ -192,11 +192,11 @@ function $3b36cc844440a979$export$e46079a2793e9ec7(props, set_portals) {
|
|
|
192
192
|
product_card_template: display => {
|
|
193
193
|
if (0, $aNCHr$solidjsweb.isServer)
|
|
194
194
|
// This function can't be async on the server
|
|
195
|
-
// @ts-ignore
|
|
195
|
+
// @ts-ignore emulate the wrapper div that we need in prod here too for consistency
|
|
196
196
|
return {
|
|
197
|
-
t: $aNCHr$reactdomserver.renderToString($aNCHr$react.createElement(() => props.productCard({
|
|
197
|
+
t: "<div>".concat($aNCHr$reactdomserver.renderToString($aNCHr$react.createElement(() => props.productCard({
|
|
198
198
|
display: display
|
|
199
|
-
})))
|
|
199
|
+
}))), "</div>")
|
|
200
200
|
};
|
|
201
201
|
return $3441d987b5ea85cb$export$32024253978abdc7({
|
|
202
202
|
component_props: {
|
|
@@ -233,7 +233,7 @@ function $3b36cc844440a979$export$e46079a2793e9ec7(props, set_portals) {
|
|
|
233
233
|
}
|
|
234
234
|
});
|
|
235
235
|
}
|
|
236
|
-
const $efbdd2dab4314170$export$83d89fbfd8236492 = "3.0.
|
|
236
|
+
const $efbdd2dab4314170$export$83d89fbfd8236492 = "3.0.8";
|
|
237
237
|
function $202459d454907b31$export$9fac37a9c21c2f3b(props) {
|
|
238
238
|
return props.children;
|
|
239
239
|
}
|
package/server/ES10/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import React, { PropsWithChildren, FC, ReactNode, ReactPortal, ReactElement } fr
|
|
|
3
3
|
import { BaseCategoryProviderConfig, BaseProviderConfig, BaseSearchProviderConfig, ModernDisplayWithPageUrl, BaseProductListingConfig, BaseSearchPageConfig, BaseCategoryPageConfig, CategoryTitle, embedded_num_products, ListingQuery, ImagePlaceholder as _ImagePlaceholder1, TextPlaceholder as _TextPlaceholder1, ExclusiveId, fetchDepictRecommendations } from "@depict-ai/ui/ES10";
|
|
4
4
|
import { Locale } from "@depict-ai/ui/locales/ES10";
|
|
5
5
|
import { Display, ModernDisplay } from "@depict-ai/utilishared/ES10";
|
|
6
|
-
export const version = "3.0.
|
|
6
|
+
export const version = "3.0.8";
|
|
7
7
|
interface UsePerformanceClientReturn {
|
|
8
8
|
dpc: DPC;
|
|
9
9
|
}
|
package/server/ES10/index.js
CHANGED
|
@@ -169,11 +169,11 @@ function $cd68097a7ee08669$export$e46079a2793e9ec7(props, set_portals) {
|
|
|
169
169
|
product_card_template: display => {
|
|
170
170
|
if (0, $7h5e1$isServer)
|
|
171
171
|
// This function can't be async on the server
|
|
172
|
-
// @ts-ignore
|
|
172
|
+
// @ts-ignore emulate the wrapper div that we need in prod here too for consistency
|
|
173
173
|
return {
|
|
174
|
-
t: $7h5e1$renderToString1($7h5e1$createElement(() => props.productCard({
|
|
174
|
+
t: "<div>".concat($7h5e1$renderToString1($7h5e1$createElement(() => props.productCard({
|
|
175
175
|
display: display
|
|
176
|
-
})))
|
|
176
|
+
}))), "</div>")
|
|
177
177
|
};
|
|
178
178
|
return $cce08f18e2476cbf$export$32024253978abdc7({
|
|
179
179
|
component_props: {
|
|
@@ -210,7 +210,7 @@ function $cd68097a7ee08669$export$e46079a2793e9ec7(props, set_portals) {
|
|
|
210
210
|
}
|
|
211
211
|
});
|
|
212
212
|
}
|
|
213
|
-
const $9bd9bb8700ab2ada$export$83d89fbfd8236492 = "3.0.
|
|
213
|
+
const $9bd9bb8700ab2ada$export$83d89fbfd8236492 = "3.0.8";
|
|
214
214
|
function $5c4add0a8fe94894$export$9fac37a9c21c2f3b(props) {
|
|
215
215
|
return props.children;
|
|
216
216
|
}
|
package/server/latest/index.cjs
CHANGED
|
@@ -185,11 +185,11 @@ function $c6b960f2a07285c8$export$e46079a2793e9ec7(props, set_portals) {
|
|
|
185
185
|
product_card_template: display => {
|
|
186
186
|
if (0, $7QqFM$solidjsweb.isServer)
|
|
187
187
|
// This function can't be async on the server
|
|
188
|
-
// @ts-ignore
|
|
188
|
+
// @ts-ignore emulate the wrapper div that we need in prod here too for consistency
|
|
189
189
|
return {
|
|
190
|
-
t: $7QqFM$reactdomserver.renderToString($7QqFM$react.createElement(() => props.productCard({
|
|
190
|
+
t: `<div>${$7QqFM$reactdomserver.renderToString($7QqFM$react.createElement(() => props.productCard({
|
|
191
191
|
display: display
|
|
192
|
-
})))
|
|
192
|
+
})))}</div>`
|
|
193
193
|
};
|
|
194
194
|
return $6081519c185fcf70$export$32024253978abdc7({
|
|
195
195
|
component_props: {
|
|
@@ -224,7 +224,7 @@ function $c6b960f2a07285c8$export$e46079a2793e9ec7(props, set_portals) {
|
|
|
224
224
|
}
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
|
-
const $db7b67857900028b$export$83d89fbfd8236492 = "3.0.
|
|
227
|
+
const $db7b67857900028b$export$83d89fbfd8236492 = "3.0.8";
|
|
228
228
|
function $41e7e5d85b5e0d49$export$9fac37a9c21c2f3b(props) {
|
|
229
229
|
return props.children;
|
|
230
230
|
}
|
package/server/latest/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import React, { PropsWithChildren, FC, ReactNode, ReactPortal, ReactElement } fr
|
|
|
3
3
|
import { BaseCategoryProviderConfig, BaseProviderConfig, BaseSearchProviderConfig, ModernDisplayWithPageUrl, BaseProductListingConfig, BaseSearchPageConfig, BaseCategoryPageConfig, CategoryTitle, embedded_num_products, ListingQuery, ImagePlaceholder as _ImagePlaceholder1, TextPlaceholder as _TextPlaceholder1, ExclusiveId, fetchDepictRecommendations } from "@depict-ai/ui/latest";
|
|
4
4
|
import { Locale } from "@depict-ai/ui/locales/latest";
|
|
5
5
|
import { Display, ModernDisplay } from "@depict-ai/utilishared/latest";
|
|
6
|
-
export const version = "3.0.
|
|
6
|
+
export const version = "3.0.8";
|
|
7
7
|
interface UsePerformanceClientReturn {
|
|
8
8
|
dpc: DPC;
|
|
9
9
|
}
|
package/server/latest/index.js
CHANGED
|
@@ -162,11 +162,11 @@ function $4d5c3f13a5ae62a7$export$e46079a2793e9ec7(props, set_portals) {
|
|
|
162
162
|
product_card_template: display => {
|
|
163
163
|
if (0, $eOXet$isServer)
|
|
164
164
|
// This function can't be async on the server
|
|
165
|
-
// @ts-ignore
|
|
165
|
+
// @ts-ignore emulate the wrapper div that we need in prod here too for consistency
|
|
166
166
|
return {
|
|
167
|
-
t: $eOXet$renderToString1($eOXet$createElement(() => props.productCard({
|
|
167
|
+
t: `<div>${$eOXet$renderToString1($eOXet$createElement(() => props.productCard({
|
|
168
168
|
display: display
|
|
169
|
-
})))
|
|
169
|
+
})))}</div>`
|
|
170
170
|
};
|
|
171
171
|
return $bcf84a32dc612a43$export$32024253978abdc7({
|
|
172
172
|
component_props: {
|
|
@@ -201,7 +201,7 @@ function $4d5c3f13a5ae62a7$export$e46079a2793e9ec7(props, set_portals) {
|
|
|
201
201
|
}
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
|
-
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "3.0.
|
|
204
|
+
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "3.0.8";
|
|
205
205
|
function $2b1fdeb83610500f$export$9fac37a9c21c2f3b(props) {
|
|
206
206
|
return props.children;
|
|
207
207
|
}
|