@primestyleai/tryon 5.8.4 → 5.8.5

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.
@@ -8522,6 +8522,16 @@ function CreateProfileWizard({ onSave, onCancel, t }) {
8522
8522
  ] })
8523
8523
  ] }),
8524
8524
  /* @__PURE__ */ jsx("div", { className: "ps-cpw-body", ref: bodyScrollRef, children: step === 1 ? /* @__PURE__ */ jsxs("div", { className: "ps-cpw-identity", children: [
8525
+ /* @__PURE__ */ jsxs("div", { className: "ps-cpw-pill-row", children: [
8526
+ /* @__PURE__ */ jsxs("div", { className: "ps-cpw-pill-group", children: [
8527
+ /* @__PURE__ */ jsx("button", { type: "button", className: `ps-cpw-pill${gender === "male" ? " ps-active" : ""}`, onClick: () => setGender("male"), children: t("Male") }),
8528
+ /* @__PURE__ */ jsx("button", { type: "button", className: `ps-cpw-pill${gender === "female" ? " ps-active" : ""}`, onClick: () => setGender("female"), children: t("Female") })
8529
+ ] }),
8530
+ /* @__PURE__ */ jsxs("div", { className: "ps-cpw-pill-group", children: [
8531
+ /* @__PURE__ */ jsx("button", { type: "button", className: `ps-cpw-pill${unit === "cm" ? " ps-active" : ""}`, onClick: () => setUnit("cm"), children: "cm" }),
8532
+ /* @__PURE__ */ jsx("button", { type: "button", className: `ps-cpw-pill${unit === "in" ? " ps-active" : ""}`, onClick: () => setUnit("in"), children: "in" })
8533
+ ] })
8534
+ ] }),
8525
8535
  /* @__PURE__ */ jsxs("div", { className: "ps-cpw-field", children: [
8526
8536
  /* @__PURE__ */ jsx("label", { className: "ps-cpw-field-label", children: t("PROFILE NAME") }),
8527
8537
  /* @__PURE__ */ jsx(
@@ -8538,16 +8548,6 @@ function CreateProfileWizard({ onSave, onCancel, t }) {
8538
8548
  }
8539
8549
  )
8540
8550
  ] }),
8541
- /* @__PURE__ */ jsxs("div", { className: "ps-cpw-pill-row", children: [
8542
- /* @__PURE__ */ jsxs("div", { className: "ps-cpw-pill-group", children: [
8543
- /* @__PURE__ */ jsx("button", { type: "button", className: `ps-cpw-pill${gender === "male" ? " ps-active" : ""}`, onClick: () => setGender("male"), children: t("Male") }),
8544
- /* @__PURE__ */ jsx("button", { type: "button", className: `ps-cpw-pill${gender === "female" ? " ps-active" : ""}`, onClick: () => setGender("female"), children: t("Female") })
8545
- ] }),
8546
- /* @__PURE__ */ jsxs("div", { className: "ps-cpw-pill-group", children: [
8547
- /* @__PURE__ */ jsx("button", { type: "button", className: `ps-cpw-pill${unit === "cm" ? " ps-active" : ""}`, onClick: () => setUnit("cm"), children: "cm" }),
8548
- /* @__PURE__ */ jsx("button", { type: "button", className: `ps-cpw-pill${unit === "in" ? " ps-active" : ""}`, onClick: () => setUnit("in"), children: "in" })
8549
- ] })
8550
- ] }),
8551
8551
  /* @__PURE__ */ jsxs("div", { className: "ps-cpw-split", children: [
8552
8552
  /* @__PURE__ */ jsxs("div", { className: "ps-cpw-split-left", children: [
8553
8553
  /* @__PURE__ */ jsxs("div", { className: "ps-cpw-field", children: [
@@ -17946,6 +17946,16 @@ function CreateProfileWizard({ onSave, onCancel, t: t2 }) {
17946
17946
  ] })
17947
17947
  ] }),
17948
17948
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ps-cpw-body", ref: bodyScrollRef, children: step === 1 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-cpw-identity", children: [
17949
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-cpw-pill-row", children: [
17950
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-cpw-pill-group", children: [
17951
+ /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", className: `ps-cpw-pill${gender === "male" ? " ps-active" : ""}`, onClick: () => setGender("male"), children: t2("Male") }),
17952
+ /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", className: `ps-cpw-pill${gender === "female" ? " ps-active" : ""}`, onClick: () => setGender("female"), children: t2("Female") })
17953
+ ] }),
17954
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-cpw-pill-group", children: [
17955
+ /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", className: `ps-cpw-pill${unit === "cm" ? " ps-active" : ""}`, onClick: () => setUnit("cm"), children: "cm" }),
17956
+ /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", className: `ps-cpw-pill${unit === "in" ? " ps-active" : ""}`, onClick: () => setUnit("in"), children: "in" })
17957
+ ] })
17958
+ ] }),
17949
17959
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-cpw-field", children: [
17950
17960
  /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "ps-cpw-field-label", children: t2("PROFILE NAME") }),
17951
17961
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -17962,16 +17972,6 @@ function CreateProfileWizard({ onSave, onCancel, t: t2 }) {
17962
17972
  }
17963
17973
  )
17964
17974
  ] }),
17965
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-cpw-pill-row", children: [
17966
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-cpw-pill-group", children: [
17967
- /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", className: `ps-cpw-pill${gender === "male" ? " ps-active" : ""}`, onClick: () => setGender("male"), children: t2("Male") }),
17968
- /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", className: `ps-cpw-pill${gender === "female" ? " ps-active" : ""}`, onClick: () => setGender("female"), children: t2("Female") })
17969
- ] }),
17970
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-cpw-pill-group", children: [
17971
- /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", className: `ps-cpw-pill${unit === "cm" ? " ps-active" : ""}`, onClick: () => setUnit("cm"), children: "cm" }),
17972
- /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", className: `ps-cpw-pill${unit === "in" ? " ps-active" : ""}`, onClick: () => setUnit("in"), children: "in" })
17973
- ] })
17974
- ] }),
17975
17975
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-cpw-split", children: [
17976
17976
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-cpw-split-left", children: [
17977
17977
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-cpw-field", children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primestyleai/tryon",
3
- "version": "5.8.4",
3
+ "version": "5.8.5",
4
4
  "description": "PrimeStyle Virtual Try-On SDK — React component & Web Component",
5
5
  "type": "module",
6
6
  "main": "dist/primestyle-tryon.js",