@thefittingroom/shop-ui 5.0.36 → 5.0.38
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.js +24 -16
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -44818,13 +44818,10 @@ function FittingRoomOverlay({
|
|
|
44818
44818
|
item
|
|
44819
44819
|
}) => item);
|
|
44820
44820
|
}, [resolved.items, selectedExternalIds]);
|
|
44821
|
-
const canTuck = reactExports.useMemo(() =>
|
|
44822
|
-
const
|
|
44823
|
-
|
|
44824
|
-
|
|
44825
|
-
}
|
|
44826
|
-
return selectedItems.some((other) => !!other.styleCategory && !other.styleCategory.tuckable && other.styleCategory.layer_order > topCategory.layer_order);
|
|
44827
|
-
}), [selectedItems]);
|
|
44821
|
+
const canTuck = reactExports.useMemo(() => {
|
|
44822
|
+
const allCategories = selectedItems.flatMap((item) => item.effective.map((e) => e.category));
|
|
44823
|
+
return allCategories.some((top) => top.tuckable && allCategories.some((other) => !other.tuckable && other.layer_order > top.layer_order));
|
|
44824
|
+
}, [selectedItems]);
|
|
44828
44825
|
const availabilityByExternalId = reactExports.useMemo(() => {
|
|
44829
44826
|
const out = {};
|
|
44830
44827
|
for (const item of resolved.items) {
|
|
@@ -46342,7 +46339,10 @@ function MobileLayout({
|
|
|
46342
46339
|
onChangeColor,
|
|
46343
46340
|
onChangeSize,
|
|
46344
46341
|
onAddToCart,
|
|
46345
|
-
onSignOut
|
|
46342
|
+
onSignOut,
|
|
46343
|
+
containerTuckable,
|
|
46344
|
+
containerUntucked,
|
|
46345
|
+
onToggleUntuck
|
|
46346
46346
|
}) {
|
|
46347
46347
|
const {
|
|
46348
46348
|
snap: contentView,
|
|
@@ -46475,7 +46475,7 @@ function MobileLayout({
|
|
|
46475
46475
|
/* @__PURE__ */ jsx$1("div", { css: css2.recommendedSizeContainer, children: /* @__PURE__ */ jsx$1(RecommendedSizeText, { loadedProductData, textCss: css2.recommendedSizeText }) })
|
|
46476
46476
|
] }),
|
|
46477
46477
|
aboveContentNode,
|
|
46478
|
-
/* @__PURE__ */ jsx$1("div", { css: css2.contentContainer, children: /* @__PURE__ */ jsx$1(Content, { loadedProductData, selectedColorSizeRecord, availableColorLabels, selectedColorLabel, selectedSizeLabel, onChangeContentView: setContentView, onChangeColor, onChangeSize, onAddToCart, onSignOut }) })
|
|
46478
|
+
/* @__PURE__ */ jsx$1("div", { css: css2.contentContainer, children: /* @__PURE__ */ jsx$1(Content, { loadedProductData, selectedColorSizeRecord, availableColorLabels, selectedColorLabel, selectedSizeLabel, onChangeContentView: setContentView, onChangeColor, onChangeSize, onAddToCart, onSignOut, containerTuckable, containerUntucked, onToggleUntuck }) })
|
|
46479
46479
|
] }) })
|
|
46480
46480
|
] });
|
|
46481
46481
|
}
|
|
@@ -46513,7 +46513,10 @@ function MobileContentExpanded({
|
|
|
46513
46513
|
onChangeContentView,
|
|
46514
46514
|
onChangeColor,
|
|
46515
46515
|
onChangeSize,
|
|
46516
|
-
onAddToCart
|
|
46516
|
+
onAddToCart,
|
|
46517
|
+
containerTuckable,
|
|
46518
|
+
containerUntucked,
|
|
46519
|
+
onToggleUntuck
|
|
46517
46520
|
}) {
|
|
46518
46521
|
const css2 = useCss((_theme) => ({
|
|
46519
46522
|
selectSizeLabelContainer: {
|
|
@@ -46560,7 +46563,8 @@ function MobileContentExpanded({
|
|
|
46560
46563
|
/* @__PURE__ */ jsx$1("div", { css: css2.itemFitDetailsContainer, children: /* @__PURE__ */ jsx$1(ItemFitDetails, { loadedProductData, selectedSizeLabel }) }),
|
|
46561
46564
|
/* @__PURE__ */ jsxs("div", { css: css2.buttonContainer, children: [
|
|
46562
46565
|
/* @__PURE__ */ jsx$1(AddToCartButton, { onClick: onAddToCart }),
|
|
46563
|
-
/* @__PURE__ */ jsx$1(FittingRoomToggleButton, {})
|
|
46566
|
+
/* @__PURE__ */ jsx$1(FittingRoomToggleButton, {}),
|
|
46567
|
+
containerTuckable ? /* @__PURE__ */ jsx$1(ContainerTuckToggleButton, { untucked: containerUntucked, onToggle: onToggleUntuck }) : null
|
|
46564
46568
|
] }),
|
|
46565
46569
|
/* @__PURE__ */ jsx$1("div", { css: css2.productDetailsContainer, children: /* @__PURE__ */ jsx$1(LinkT, { variant: "base", css: css2.productDetailsText, t: "quick-view.view_product_details", onClick: handleProductDetailsClick }) })
|
|
46566
46570
|
] });
|
|
@@ -46575,7 +46579,10 @@ function MobileContentFull({
|
|
|
46575
46579
|
onChangeColor,
|
|
46576
46580
|
onChangeSize,
|
|
46577
46581
|
onAddToCart,
|
|
46578
|
-
onSignOut
|
|
46582
|
+
onSignOut,
|
|
46583
|
+
containerTuckable,
|
|
46584
|
+
containerUntucked,
|
|
46585
|
+
onToggleUntuck
|
|
46579
46586
|
}) {
|
|
46580
46587
|
const [fitChartOpen, setFitChartOpen] = reactExports.useState(false);
|
|
46581
46588
|
const css2 = useCss((_theme) => ({
|
|
@@ -46659,7 +46666,8 @@ function MobileContentFull({
|
|
|
46659
46666
|
/* @__PURE__ */ jsx$1("div", { css: css2.colorSelectorContainer, children: /* @__PURE__ */ jsx$1(ColorSelector, { availableColorLabels, selectedColorLabel, onChangeColor }) }),
|
|
46660
46667
|
/* @__PURE__ */ jsxs("div", { css: css2.buttonContainer, children: [
|
|
46661
46668
|
/* @__PURE__ */ jsx$1(AddToCartButton, { onClick: onAddToCart }),
|
|
46662
|
-
/* @__PURE__ */ jsx$1(FittingRoomToggleButton, {})
|
|
46669
|
+
/* @__PURE__ */ jsx$1(FittingRoomToggleButton, {}),
|
|
46670
|
+
containerTuckable ? /* @__PURE__ */ jsx$1(ContainerTuckToggleButton, { untucked: containerUntucked, onToggle: onToggleUntuck }) : null
|
|
46663
46671
|
] }),
|
|
46664
46672
|
/* @__PURE__ */ jsx$1("div", { css: css2.productDetailsContainer, children: /* @__PURE__ */ jsx$1(LinkT, { variant: "base", css: css2.productDetailsText, t: "quick-view.hide_product_details", onClick: handleProductDetailsClick }) }),
|
|
46665
46673
|
/* @__PURE__ */ jsx$1("div", { css: css2.priceContainer, children: /* @__PURE__ */ jsx$1(Text, { variant: "base", css: css2.priceText, children: selectedColorSizeRecord.priceFormatted }) }),
|
|
@@ -48086,9 +48094,9 @@ const SHARED_CONFIG = {
|
|
|
48086
48094
|
appGooglePlayUrl: "https://play.google.com/store/apps/details?id=com.thefittingroom.marketplace"
|
|
48087
48095
|
},
|
|
48088
48096
|
build: {
|
|
48089
|
-
version: `${"5.0.
|
|
48090
|
-
commitHash: `${"
|
|
48091
|
-
date: `${"2026-07-18T08:
|
|
48097
|
+
version: `${"5.0.38"}`,
|
|
48098
|
+
commitHash: `${"dedd084"}`,
|
|
48099
|
+
date: `${"2026-07-18T08:50:04.778Z"}`
|
|
48092
48100
|
}
|
|
48093
48101
|
};
|
|
48094
48102
|
const CONFIGS = {
|