@primestyleai/tryon 3.6.1 → 3.6.3

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.
@@ -1301,7 +1301,7 @@ function PrimeStyleTryonInner({
1301
1301
  }
1302
1302
  return /* @__PURE__ */ jsxs("div", { className: cx("ps-tryon-root", cn.root || className), style: { ...cssVars, ...style }, "data-ps-tryon": true, children: [
1303
1303
  /* @__PURE__ */ jsxs("button", { onClick: handleOpen, className: cx("ps-tryon-btn", cn.button), children: [
1304
- showIcon !== false && (buttonIcon || /* @__PURE__ */ jsx(CameraIcon, { size: parseInt(btnS.iconSize || "18") })),
1304
+ showIcon !== false && (buttonIcon || /* @__PURE__ */ jsx(CameraIcon, {})),
1305
1305
  /* @__PURE__ */ jsx("span", { children: buttonText })
1306
1306
  ] }),
1307
1307
  view !== "idle" && /* @__PURE__ */ jsx("div", { className: cx("ps-tryon-overlay", cn.overlay), onClick: (e) => {
@@ -1343,7 +1343,7 @@ const STYLES = `
1343
1343
  width: var(--ps-btn-width, auto); height: var(--ps-btn-height, auto);
1344
1344
  box-shadow: var(--ps-btn-shadow, none); line-height: 1; white-space: nowrap;
1345
1345
  }
1346
- .ps-tryon-btn svg { width: clamp(14px, 0.94vw, 18px); height: clamp(14px, 0.94vw, 18px); }
1346
+ .ps-tryon-btn svg { width: var(--ps-btn-icon-size, clamp(14px, 0.94vw, 18px)); height: var(--ps-btn-icon-size, clamp(14px, 0.94vw, 18px)); flex-shrink: 0; }
1347
1347
  .ps-tryon-btn:hover { background: var(--ps-btn-hover-bg, #a07d4e); transform: translateY(-1px); }
1348
1348
  .ps-tryon-btn:active { transform: translateY(0); }
1349
1349
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primestyleai/tryon",
3
- "version": "3.6.1",
3
+ "version": "3.6.3",
4
4
  "description": "PrimeStyle Virtual Try-On SDK — React component & Web Component",
5
5
  "type": "module",
6
6
  "main": "dist/primestyle-tryon.js",