@primestyleai/tryon 5.10.97 → 5.10.99
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.
|
@@ -29200,7 +29200,7 @@ function PrimeStyleTryonInner({
|
|
|
29200
29200
|
{
|
|
29201
29201
|
productImage,
|
|
29202
29202
|
productTitle,
|
|
29203
|
-
onTryOn: () => setView("
|
|
29203
|
+
onTryOn: () => setView("body-profile"),
|
|
29204
29204
|
onClose: onClose ?? (() => {
|
|
29205
29205
|
}),
|
|
29206
29206
|
t: t2
|
|
@@ -29227,7 +29227,7 @@ function PrimeStyleTryonInner({
|
|
|
29227
29227
|
}
|
|
29228
29228
|
),
|
|
29229
29229
|
view !== "idle" && typeof document !== "undefined" && reactDomExports.createPortal(
|
|
29230
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cx("ps-tryon-overlay", cn.overlay), style: cssVars, "data-ps-tryon-portal": true, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: cx(`ps-tryon-modal${view === "result" && resultImageUrl && sizingResult || view === "size-result" || view === "estimation-review" || view === "body-profile" || view === "profiles" ? " ps-tryon-modal-wide" : ""}`, cn.modal), onClick: (e) => e.stopPropagation(), children: [
|
|
29230
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cx("ps-tryon-overlay", cn.overlay), style: cssVars, "data-ps-tryon-portal": true, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: cx(`ps-tryon-modal${view === "result" && resultImageUrl && sizingResult || view === "size-result" || view === "estimation-review" || view === "body-profile" || view === "profiles" || view === "no-chart" ? " ps-tryon-modal-wide" : ""}`, cn.modal), onClick: (e) => e.stopPropagation(), children: [
|
|
29231
29231
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: cx("ps-tryon-header ps-tryon-header-minimal", cn.header), children: [
|
|
29232
29232
|
/* @__PURE__ */ jsxRuntimeExports.jsx(LangSwitcher, { activeLocale, onSelect: setActiveLocale }),
|
|
29233
29233
|
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { className: "ps-tryon-header-icon", title: t2("Profiles"), onClick: () => {
|