@primestyleai/tryon 5.10.5 → 5.10.6

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.
@@ -11538,7 +11538,10 @@ const STYLES$1 = `
11538
11538
  MobileScanningView — row of ring + bar + percent, same tokens. */
11539
11539
  .ps-tryon-progress-wrap {
11540
11540
  display: flex; align-items: center; gap: 12px;
11541
- width: 100%; max-width: 360px; margin-top: 18px;
11541
+ /* Fixed logical width so neither the ring nor the bar reflow when the
11542
+ sibling stage text changes character count each tick. */
11543
+ width: min(320px, calc(100% - 24px));
11544
+ margin-top: 18px;
11542
11545
  }
11543
11546
  .ps-tryon-progress-wrap .ps-tryon-progress-bar-wrap {
11544
11547
  flex: 1; height: 6px; border-radius: 4px; overflow: hidden;
@@ -17140,13 +17143,11 @@ function MobileScanningView({
17140
17143
  ),
17141
17144
  isPhotoMode && bodyLandmarks && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ps-msc-pose-wrap", children: /* @__PURE__ */ jsxRuntimeExports.jsx(MobileSkeleton, { landmarks: bodyLandmarks, w: dims.w, h: dims.h }) })
17142
17145
  ] }),
17143
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-msc-stage", children: [
17144
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-msc-stage-slot", children: [
17145
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ps-msc-stage-title", children: current.title }),
17146
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ps-msc-stage-desc", children: current.desc })
17147
- ] }, stageIdx),
17148
- tryOnProcessing && /* @__PURE__ */ jsxRuntimeExports.jsx(MscTryOnProgress, { t: t2 })
17149
- ] }),
17146
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ps-msc-stage", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-msc-stage-slot", children: [
17147
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ps-msc-stage-title", children: current.title }),
17148
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ps-msc-stage-desc", children: current.desc })
17149
+ ] }, stageIdx) }),
17150
+ tryOnProcessing && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { display: "flex", justifyContent: "center", padding: "0 16px", width: "100%" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(MscTryOnProgress, { t: t2 }) }),
17150
17151
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ps-bpm-spacer" }),
17151
17152
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ps-bpm-bottom", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
17152
17153
  MobileBottomTabs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primestyleai/tryon",
3
- "version": "5.10.5",
3
+ "version": "5.10.6",
4
4
  "description": "PrimeStyle Virtual Try-On SDK — React component & Web Component",
5
5
  "type": "module",
6
6
  "main": "dist/primestyle-tryon.js",