@depict-ai/portal-components 2.7.11 → 2.7.12
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/main.js
CHANGED
|
@@ -19,7 +19,7 @@ $parcel$export(module.exports, "ExpandingSection", () => $2214dc111b9e2866$expor
|
|
|
19
19
|
$parcel$export(module.exports, "ReactLookCard", () => $35bab9ff48bfe404$export$48787da2a5568bc);
|
|
20
20
|
$parcel$export(module.exports, "version", () => $0a017be3a74fcc94$export$83d89fbfd8236492);
|
|
21
21
|
/*! Depict.ai portal components */ // This is where the actual source of your React stuff should live
|
|
22
|
-
const $0a017be3a74fcc94$export$83d89fbfd8236492 = "2.7.
|
|
22
|
+
const $0a017be3a74fcc94$export$83d89fbfd8236492 = "2.7.12";
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
@@ -208,7 +208,7 @@ function $3375ddd88f77967d$export$f11681c54c860912(display, info, configuredOpti
|
|
|
208
208
|
(0, $7jsgb$solidjs.createEffect)(()=>(0, $7jsgb$depictaiutilisharedlatest.dlog)("Got passed display", JSON.parse(JSON.stringify(display()))));
|
|
209
209
|
(0, $7jsgb$solidjs.createEffect)(()=>noHoverSupport_() && setCardIsHovered(false));
|
|
210
210
|
// For switch from placeholders to product
|
|
211
|
-
(0, $7jsgb$solidjs.createEffect)(()=>!showVariantIndex() && defaultVariantIndex() && setShowVariantIndex(defaultVariantIndex()));
|
|
211
|
+
(0, $7jsgb$solidjs.createEffect)(()=>!showVariantIndex() && defaultVariantIndex() != undefined && setShowVariantIndex(defaultVariantIndex()));
|
|
212
212
|
return (0, $7jsgb$solidjsweb.createComponent)($3375ddd88f77967d$var$ContainsColorSwatchesProvider, {
|
|
213
213
|
get children () {
|
|
214
214
|
var _el$3 = $3375ddd88f77967d$var$_tmpl$3();
|
package/dist/module.js
CHANGED
|
@@ -7,7 +7,7 @@ import {createStore as $2MCgq$createStore, reconcile as $2MCgq$reconcile} from "
|
|
|
7
7
|
import {createPortal as $2MCgq$createPortal} from "react-dom";
|
|
8
8
|
|
|
9
9
|
/*! Depict.ai portal components */ // This is where the actual source of your React stuff should live
|
|
10
|
-
const $91c11b750e80ede3$export$83d89fbfd8236492 = "2.7.
|
|
10
|
+
const $91c11b750e80ede3$export$83d89fbfd8236492 = "2.7.12";
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -196,7 +196,7 @@ function $29535f590238371c$export$f11681c54c860912(display, info, configuredOpti
|
|
|
196
196
|
(0, $2MCgq$createEffect)(()=>(0, $2MCgq$dlog)("Got passed display", JSON.parse(JSON.stringify(display()))));
|
|
197
197
|
(0, $2MCgq$createEffect)(()=>noHoverSupport_() && setCardIsHovered(false));
|
|
198
198
|
// For switch from placeholders to product
|
|
199
|
-
(0, $2MCgq$createEffect)(()=>!showVariantIndex() && defaultVariantIndex() && setShowVariantIndex(defaultVariantIndex()));
|
|
199
|
+
(0, $2MCgq$createEffect)(()=>!showVariantIndex() && defaultVariantIndex() != undefined && setShowVariantIndex(defaultVariantIndex()));
|
|
200
200
|
return (0, $2MCgq$createComponent)($29535f590238371c$var$ContainsColorSwatchesProvider, {
|
|
201
201
|
get children () {
|
|
202
202
|
var _el$3 = $29535f590238371c$var$_tmpl$3();
|
package/package.json
CHANGED
|
@@ -279,7 +279,9 @@ export function DefaultSolidProductCard(
|
|
|
279
279
|
|
|
280
280
|
createEffect(() => noHoverSupport_() && setCardIsHovered(false));
|
|
281
281
|
// For switch from placeholders to product
|
|
282
|
-
createEffect(
|
|
282
|
+
createEffect(
|
|
283
|
+
() => !showVariantIndex() && defaultVariantIndex() != undefined && setShowVariantIndex(defaultVariantIndex())
|
|
284
|
+
);
|
|
283
285
|
|
|
284
286
|
return (
|
|
285
287
|
<ContainsColorSwatchesProvider>
|