@primestyleai/tryon 5.0.1 → 5.0.2

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.
@@ -4679,12 +4679,16 @@ function SizeResultView({
4679
4679
  /* @__PURE__ */ jsx("div", { className: "ps-tryon-snap-step-icon", children: bodyLandmarks ? /* @__PURE__ */ jsx("span", { className: "ps-tryon-snap-check", children: "✓" }) : /* @__PURE__ */ jsx("div", { className: "ps-tryon-size-loading-spinner", style: { width: "1vw", height: "1vw", borderWidth: "1.5px" } }) }),
4680
4680
  /* @__PURE__ */ jsx("span", { children: t("Detecting body pose") })
4681
4681
  ] }),
4682
- /* @__PURE__ */ jsxs("div", { className: `ps-tryon-snap-step${sizingDone ? " ps-done" : bodyLandmarks ? " ps-active" : ""}`, children: [
4683
- /* @__PURE__ */ jsx("div", { className: "ps-tryon-snap-step-icon", children: sizingDone ? /* @__PURE__ */ jsx("span", { className: "ps-tryon-snap-check", children: "✓" }) : bodyLandmarks ? /* @__PURE__ */ jsx("div", { className: "ps-tryon-size-loading-spinner", style: { width: "1vw", height: "1vw", borderWidth: "1.5px" } }) : /* @__PURE__ */ jsx("span", { className: "ps-tryon-snap-num", children: "2" }) }),
4682
+ /* @__PURE__ */ jsxs("div", { className: `ps-tryon-snap-step${bodyLandmarks && !sizingDone ? " ps-active" : bodyLandmarks ? " ps-done" : ""}`, children: [
4683
+ /* @__PURE__ */ jsx("div", { className: "ps-tryon-snap-step-icon", children: bodyLandmarks && sizingDone ? /* @__PURE__ */ jsx("span", { className: "ps-tryon-snap-check", children: "✓" }) : bodyLandmarks ? /* @__PURE__ */ jsx("div", { className: "ps-tryon-size-loading-spinner", style: { width: "1vw", height: "1vw", borderWidth: "1.5px" } }) : /* @__PURE__ */ jsx("span", { className: "ps-tryon-snap-num", children: "2" }) }),
4684
4684
  /* @__PURE__ */ jsx("span", { children: t("Analyzing your size") })
4685
4685
  ] }),
4686
+ /* @__PURE__ */ jsxs("div", { className: `ps-tryon-snap-step${sizingDone ? " ps-done" : bodyLandmarks ? " ps-active" : ""}`, children: [
4687
+ /* @__PURE__ */ jsx("div", { className: "ps-tryon-snap-step-icon", children: sizingDone ? /* @__PURE__ */ jsx("span", { className: "ps-tryon-snap-check", children: "✓" }) : bodyLandmarks ? /* @__PURE__ */ jsx("div", { className: "ps-tryon-size-loading-spinner", style: { width: "1vw", height: "1vw", borderWidth: "1.5px" } }) : /* @__PURE__ */ jsx("span", { className: "ps-tryon-snap-num", children: "3" }) }),
4688
+ /* @__PURE__ */ jsx("span", { children: t("Finding best fit for you") })
4689
+ ] }),
4686
4690
  tryOnProcessing && /* @__PURE__ */ jsxs("div", { className: `ps-tryon-snap-step${tryOnDone ? " ps-done" : sizingDone ? " ps-active" : ""}`, children: [
4687
- /* @__PURE__ */ jsx("div", { className: "ps-tryon-snap-step-icon", children: tryOnDone ? /* @__PURE__ */ jsx("span", { className: "ps-tryon-snap-check", children: "✓" }) : sizingDone ? /* @__PURE__ */ jsx("div", { className: "ps-tryon-size-loading-spinner", style: { width: "1vw", height: "1vw", borderWidth: "1.5px" } }) : /* @__PURE__ */ jsx("span", { className: "ps-tryon-snap-num", children: "3" }) }),
4691
+ /* @__PURE__ */ jsx("div", { className: "ps-tryon-snap-step-icon", children: tryOnDone ? /* @__PURE__ */ jsx("span", { className: "ps-tryon-snap-check", children: "✓" }) : sizingDone ? /* @__PURE__ */ jsx("div", { className: "ps-tryon-size-loading-spinner", style: { width: "1vw", height: "1vw", borderWidth: "1.5px" } }) : /* @__PURE__ */ jsx("span", { className: "ps-tryon-snap-num", children: "4" }) }),
4688
4692
  /* @__PURE__ */ jsx("span", { children: t("Generating virtual try-on") })
4689
4693
  ] })
4690
4694
  ] })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primestyleai/tryon",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "description": "PrimeStyle Virtual Try-On SDK — React component & Web Component",
5
5
  "type": "module",
6
6
  "main": "dist/primestyle-tryon.js",