@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.
@@ -2113,7 +2113,10 @@ const STYLES = `
2113
2113
  MobileScanningView — row of ring + bar + percent, same tokens. */
2114
2114
  .ps-tryon-progress-wrap {
2115
2115
  display: flex; align-items: center; gap: 12px;
2116
- width: 100%; max-width: 360px; margin-top: 18px;
2116
+ /* Fixed logical width so neither the ring nor the bar reflow when the
2117
+ sibling stage text changes character count each tick. */
2118
+ width: min(320px, calc(100% - 24px));
2119
+ margin-top: 18px;
2117
2120
  }
2118
2121
  .ps-tryon-progress-wrap .ps-tryon-progress-bar-wrap {
2119
2122
  flex: 1; height: 6px; border-radius: 4px; overflow: hidden;
@@ -7715,13 +7718,11 @@ function MobileScanningView({
7715
7718
  ),
7716
7719
  isPhotoMode && bodyLandmarks && /* @__PURE__ */ jsx("div", { className: "ps-msc-pose-wrap", children: /* @__PURE__ */ jsx(MobileSkeleton, { landmarks: bodyLandmarks, w: dims.w, h: dims.h }) })
7717
7720
  ] }),
7718
- /* @__PURE__ */ jsxs("div", { className: "ps-msc-stage", children: [
7719
- /* @__PURE__ */ jsxs("div", { className: "ps-msc-stage-slot", children: [
7720
- /* @__PURE__ */ jsx("div", { className: "ps-msc-stage-title", children: current.title }),
7721
- /* @__PURE__ */ jsx("div", { className: "ps-msc-stage-desc", children: current.desc })
7722
- ] }, stageIdx),
7723
- tryOnProcessing && /* @__PURE__ */ jsx(MscTryOnProgress, { t })
7724
- ] }),
7721
+ /* @__PURE__ */ jsx("div", { className: "ps-msc-stage", children: /* @__PURE__ */ jsxs("div", { className: "ps-msc-stage-slot", children: [
7722
+ /* @__PURE__ */ jsx("div", { className: "ps-msc-stage-title", children: current.title }),
7723
+ /* @__PURE__ */ jsx("div", { className: "ps-msc-stage-desc", children: current.desc })
7724
+ ] }, stageIdx) }),
7725
+ tryOnProcessing && /* @__PURE__ */ jsx("div", { style: { display: "flex", justifyContent: "center", padding: "0 16px", width: "100%" }, children: /* @__PURE__ */ jsx(MscTryOnProgress, { t }) }),
7725
7726
  /* @__PURE__ */ jsx("div", { className: "ps-bpm-spacer" }),
7726
7727
  /* @__PURE__ */ jsx("div", { className: "ps-bpm-bottom", children: /* @__PURE__ */ jsx(
7727
7728
  MobileBottomTabs,