@primestyleai/tryon 5.8.7 → 5.8.9
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/react/index.js
CHANGED
|
@@ -7291,7 +7291,8 @@ function SizeResultView({
|
|
|
7291
7291
|
onClose,
|
|
7292
7292
|
t
|
|
7293
7293
|
}) {
|
|
7294
|
-
const
|
|
7294
|
+
const guideUnit = sizeGuide?.unit || sizingUnit;
|
|
7295
|
+
const unitLbl = guideUnit === "cm" ? t("cm") : t("in");
|
|
7295
7296
|
const [editVals, setEditVals] = useState({});
|
|
7296
7297
|
const pRange = pRangeFn;
|
|
7297
7298
|
const cellVal = useCallback((row, colIdx, header) => {
|
|
@@ -7774,7 +7775,7 @@ function SizeResultView({
|
|
|
7774
7775
|
if (sizingResult?.matchDetails) {
|
|
7775
7776
|
for (const m of sizingResult.matchDetails) singleUserMeasurements[m.measurement.toLowerCase()] = pNumFn(m.userValue);
|
|
7776
7777
|
}
|
|
7777
|
-
const sectionName =
|
|
7778
|
+
const sectionName = t("Your Fit");
|
|
7778
7779
|
if (isMobile) {
|
|
7779
7780
|
return /* @__PURE__ */ jsx(
|
|
7780
7781
|
SectionDetailView,
|
|
@@ -16715,7 +16715,8 @@ function SizeResultView({
|
|
|
16715
16715
|
onClose,
|
|
16716
16716
|
t: t2
|
|
16717
16717
|
}) {
|
|
16718
|
-
const
|
|
16718
|
+
const guideUnit = sizeGuide?.unit || sizingUnit;
|
|
16719
|
+
const unitLbl = guideUnit === "cm" ? t2("cm") : t2("in");
|
|
16719
16720
|
const [editVals, setEditVals] = reactExports.useState({});
|
|
16720
16721
|
const pRange = pRangeFn;
|
|
16721
16722
|
const cellVal = reactExports.useCallback((row, colIdx, header) => {
|
|
@@ -17198,7 +17199,7 @@ function SizeResultView({
|
|
|
17198
17199
|
if (sizingResult?.matchDetails) {
|
|
17199
17200
|
for (const m2 of sizingResult.matchDetails) singleUserMeasurements[m2.measurement.toLowerCase()] = pNumFn(m2.userValue);
|
|
17200
17201
|
}
|
|
17201
|
-
const sectionName =
|
|
17202
|
+
const sectionName = t2("Your Fit");
|
|
17202
17203
|
if (isMobile) {
|
|
17203
17204
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
17204
17205
|
SectionDetailView,
|