@primestyleai/tryon 5.10.12 → 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.
@@ -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 fitClass = row.fit === "good" ? "ps-good" : row.fit.includes("tight") ? "ps-tight" : "ps-loose";
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: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primestyleai/tryon",
3
- "version": "5.10.12",
3
+ "version": "5.10.13",
4
4
  "description": "PrimeStyle Virtual Try-On SDK — React component & Web Component",
5
5
  "type": "module",
6
6
  "main": "dist/primestyle-tryon.js",