@primestyleai/tryon 5.10.13 → 5.10.14
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 +492 -483
- package/dist/react/index.js.map +1 -1
- package/dist/storefront/primestyle-tryon.js +9 -0
- package/package.json +1 -1
|
@@ -18068,6 +18068,15 @@ function SectionDetailView({
|
|
|
18068
18068
|
const inlineHasLengths = (sectionResult?.availableLengths?.length || 0) > 0;
|
|
18069
18069
|
const effectiveRecLength = recLength || inlineLengthRec;
|
|
18070
18070
|
const hasLengthSource = !!(lengthEntry || inlineHasLengths);
|
|
18071
|
+
if (hasLengthSource && !lengthDetails.length) {
|
|
18072
|
+
const userHcm = userMeasurements["height"] || 0;
|
|
18073
|
+
details.push({
|
|
18074
|
+
measurement: "Height",
|
|
18075
|
+
userValue: userHcm ? String(userHcm) : "",
|
|
18076
|
+
chartRange: effectiveRecLength || "",
|
|
18077
|
+
fit: "good"
|
|
18078
|
+
});
|
|
18079
|
+
}
|
|
18071
18080
|
if (!details.length) return [];
|
|
18072
18081
|
const isFromLength = new Set(lengthDetails.length > 0 ? lengthDetails.map((m2) => m2.measurement) : hasLengthSource ? ["Height"] : []);
|
|
18073
18082
|
return details.map((m2) => {
|