@primestyleai/tryon 5.10.101 → 5.10.102
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 +1226 -1230
- package/dist/react/index.js.map +1 -1
- package/dist/storefront/primestyle-tryon.js +9 -16
- package/package.json +1 -1
|
@@ -18779,26 +18779,19 @@ function EngagingTryOnView({
|
|
|
18779
18779
|
}, 200);
|
|
18780
18780
|
return () => clearInterval(id2);
|
|
18781
18781
|
}, []);
|
|
18782
|
-
const
|
|
18783
|
-
t2("Our model is analyzing 150+ body landmarks for the perfect fit"),
|
|
18784
|
-
t2("Calibrating fabric drape against your body proportions"),
|
|
18785
|
-
t2("Cross-checking fit against millions of garment patterns"),
|
|
18786
|
-
t2("Rendering shadows and highlights to match your photo's lighting")
|
|
18787
|
-
];
|
|
18782
|
+
const aiFact = t2("Our model is analyzing 150+ body landmarks for the perfect fit");
|
|
18788
18783
|
const styleTips = [
|
|
18789
|
-
t2("
|
|
18790
|
-
t2("
|
|
18791
|
-
t2("Cuff
|
|
18784
|
+
t2("Match your belt to your shoes — never your pants"),
|
|
18785
|
+
t2("Leave the bottom button of a suit jacket undone"),
|
|
18786
|
+
t2("Cuff a pocket square so it peeks 1–2 cm above the pocket"),
|
|
18787
|
+
t2("Roll sleeves twice for a relaxed, intentional finish"),
|
|
18788
|
+
t2("A tie tip should land at the middle of your belt buckle"),
|
|
18789
|
+
t2("Cufflinks should sit half an inch past the jacket sleeve")
|
|
18792
18790
|
];
|
|
18793
|
-
const [factIdx, setFactIdx] = reactExports.useState(0);
|
|
18794
18791
|
const [tipIdx, setTipIdx] = reactExports.useState(0);
|
|
18795
18792
|
reactExports.useEffect(() => {
|
|
18796
|
-
const f2 = setInterval(() => setFactIdx((i) => (i + 1) % aiFacts.length), 4e3);
|
|
18797
18793
|
const s = setInterval(() => setTipIdx((i) => (i + 1) % styleTips.length), 5e3);
|
|
18798
|
-
return () =>
|
|
18799
|
-
clearInterval(f2);
|
|
18800
|
-
clearInterval(s);
|
|
18801
|
-
};
|
|
18794
|
+
return () => clearInterval(s);
|
|
18802
18795
|
}, []);
|
|
18803
18796
|
const garmentLine = productMaterial?.trim() || (productDescription?.trim() ? productDescription.trim().slice(0, 90) + (productDescription.trim().length > 90 ? "…" : "") : null) || t2("Crafted with quality materials for everyday comfort");
|
|
18804
18797
|
const Panel = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-tryon-processing-v2-panel", children: [
|
|
@@ -18851,7 +18844,7 @@ function EngagingTryOnView({
|
|
|
18851
18844
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ps-tryon-processing-v2-card-icon ps-fact", children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 2v6M12 16v6M4.93 4.93l4.24 4.24M14.83 14.83l4.24 4.24M2 12h6M16 12h6M4.93 19.07l4.24-4.24M14.83 9.17l4.24-4.24" }) }) }),
|
|
18852
18845
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-tryon-processing-v2-card-text", children: [
|
|
18853
18846
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ps-tryon-processing-v2-card-head", children: t2("AI Fact") }),
|
|
18854
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ps-tryon-processing-v2-card-body", children:
|
|
18847
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ps-tryon-processing-v2-card-body", children: aiFact })
|
|
18855
18848
|
] })
|
|
18856
18849
|
] })
|
|
18857
18850
|
] })
|