@primestyleai/tryon 5.10.11 → 5.10.13
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 +496 -496
- package/dist/react/index.js.map +1 -1
- package/dist/storefront/primestyle-tryon.js +3 -2
- package/package.json +1 -1
|
@@ -18135,7 +18135,7 @@ function SectionDetailView({
|
|
|
18135
18135
|
const diff = userNum - rMax;
|
|
18136
18136
|
fit = diff > threshold * 2 ? "too-tight" : diff > threshold ? "tight" : "a-bit-tight";
|
|
18137
18137
|
}
|
|
18138
|
-
return { area: m2.measurement, userNum, chartLabel: cleanNumFn(chartLabel), fit, isLength:
|
|
18138
|
+
return { area: m2.measurement, userNum, chartLabel: cleanNumFn(chartLabel), fit, isLength: isDirectional };
|
|
18139
18139
|
});
|
|
18140
18140
|
}, [sectionResult, lengthEntry, userMeasurements, displaySize, recSize, chartRangeFor, selectedLength, recLength, renderRaw]);
|
|
18141
18141
|
const goodCount = fitRows.filter(
|
|
@@ -18317,7 +18317,8 @@ function SectionDetailView({
|
|
|
18317
18317
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ps-msd-blueprint-title", children: t2("MEASUREMENT BLUEPRINT") }),
|
|
18318
18318
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ps-msd-blueprint-underline" }),
|
|
18319
18319
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ps-msd-rows", children: fitRows.map((row, i) => {
|
|
18320
|
-
const
|
|
18320
|
+
const isNegative = row.isLength ? row.fit.includes("short") || row.fit.includes("tight") : row.fit.includes("tight");
|
|
18321
|
+
const fitClass = row.fit === "good" ? "ps-good" : isNegative ? "ps-tight" : "ps-loose";
|
|
18321
18322
|
const desc = measurementDesc(row.area);
|
|
18322
18323
|
const idxLbl = String(i + 1).padStart(2, "0");
|
|
18323
18324
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-msd-row", children: [
|