@thefittingroom/shop-ui 5.0.36 → 5.0.37

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.
Files changed (2) hide show
  1. package/dist/index.js +20 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -46342,7 +46342,10 @@ function MobileLayout({
46342
46342
  onChangeColor,
46343
46343
  onChangeSize,
46344
46344
  onAddToCart,
46345
- onSignOut
46345
+ onSignOut,
46346
+ containerTuckable,
46347
+ containerUntucked,
46348
+ onToggleUntuck
46346
46349
  }) {
46347
46350
  const {
46348
46351
  snap: contentView,
@@ -46475,7 +46478,7 @@ function MobileLayout({
46475
46478
  /* @__PURE__ */ jsx$1("div", { css: css2.recommendedSizeContainer, children: /* @__PURE__ */ jsx$1(RecommendedSizeText, { loadedProductData, textCss: css2.recommendedSizeText }) })
46476
46479
  ] }),
46477
46480
  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 }) })
46481
+ /* @__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
46482
  ] }) })
46480
46483
  ] });
46481
46484
  }
@@ -46513,7 +46516,10 @@ function MobileContentExpanded({
46513
46516
  onChangeContentView,
46514
46517
  onChangeColor,
46515
46518
  onChangeSize,
46516
- onAddToCart
46519
+ onAddToCart,
46520
+ containerTuckable,
46521
+ containerUntucked,
46522
+ onToggleUntuck
46517
46523
  }) {
46518
46524
  const css2 = useCss((_theme) => ({
46519
46525
  selectSizeLabelContainer: {
@@ -46560,7 +46566,8 @@ function MobileContentExpanded({
46560
46566
  /* @__PURE__ */ jsx$1("div", { css: css2.itemFitDetailsContainer, children: /* @__PURE__ */ jsx$1(ItemFitDetails, { loadedProductData, selectedSizeLabel }) }),
46561
46567
  /* @__PURE__ */ jsxs("div", { css: css2.buttonContainer, children: [
46562
46568
  /* @__PURE__ */ jsx$1(AddToCartButton, { onClick: onAddToCart }),
46563
- /* @__PURE__ */ jsx$1(FittingRoomToggleButton, {})
46569
+ /* @__PURE__ */ jsx$1(FittingRoomToggleButton, {}),
46570
+ containerTuckable ? /* @__PURE__ */ jsx$1(ContainerTuckToggleButton, { untucked: containerUntucked, onToggle: onToggleUntuck }) : null
46564
46571
  ] }),
46565
46572
  /* @__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
46573
  ] });
@@ -46575,7 +46582,10 @@ function MobileContentFull({
46575
46582
  onChangeColor,
46576
46583
  onChangeSize,
46577
46584
  onAddToCart,
46578
- onSignOut
46585
+ onSignOut,
46586
+ containerTuckable,
46587
+ containerUntucked,
46588
+ onToggleUntuck
46579
46589
  }) {
46580
46590
  const [fitChartOpen, setFitChartOpen] = reactExports.useState(false);
46581
46591
  const css2 = useCss((_theme) => ({
@@ -46659,7 +46669,8 @@ function MobileContentFull({
46659
46669
  /* @__PURE__ */ jsx$1("div", { css: css2.colorSelectorContainer, children: /* @__PURE__ */ jsx$1(ColorSelector, { availableColorLabels, selectedColorLabel, onChangeColor }) }),
46660
46670
  /* @__PURE__ */ jsxs("div", { css: css2.buttonContainer, children: [
46661
46671
  /* @__PURE__ */ jsx$1(AddToCartButton, { onClick: onAddToCart }),
46662
- /* @__PURE__ */ jsx$1(FittingRoomToggleButton, {})
46672
+ /* @__PURE__ */ jsx$1(FittingRoomToggleButton, {}),
46673
+ containerTuckable ? /* @__PURE__ */ jsx$1(ContainerTuckToggleButton, { untucked: containerUntucked, onToggle: onToggleUntuck }) : null
46663
46674
  ] }),
46664
46675
  /* @__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
46676
  /* @__PURE__ */ jsx$1("div", { css: css2.priceContainer, children: /* @__PURE__ */ jsx$1(Text, { variant: "base", css: css2.priceText, children: selectedColorSizeRecord.priceFormatted }) }),
@@ -48086,9 +48097,9 @@ const SHARED_CONFIG = {
48086
48097
  appGooglePlayUrl: "https://play.google.com/store/apps/details?id=com.thefittingroom.marketplace"
48087
48098
  },
48088
48099
  build: {
48089
- version: `${"5.0.36"}`,
48090
- commitHash: `${"5502059"}`,
48091
- date: `${"2026-07-18T08:10:10.789Z"}`
48100
+ version: `${"5.0.37"}`,
48101
+ commitHash: `${"ddb6050"}`,
48102
+ date: `${"2026-07-18T08:43:24.829Z"}`
48092
48103
  }
48093
48104
  };
48094
48105
  const CONFIGS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thefittingroom/shop-ui",
3
- "version": "5.0.36",
3
+ "version": "5.0.37",
4
4
  "description": "the fitting room UI library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",