@primestyleai/tryon 5.8.50 → 5.8.51

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.
@@ -10214,18 +10214,19 @@ const STYLES$1 = `
10214
10214
  }
10215
10215
  .ps-tryon-modal-wide {
10216
10216
  /* Use the SMALLER of 55vw or 92dvh×(16/10) for width so the modal
10217
- never gets wider than the height can support. This keeps the
10218
- aspect ratio roughly 16:10 regardless of screen shape. */
10217
+ never gets wider than the height can support. Height bumped from
10218
+ 70dvh 82dvh to fit the longer accessory photo step (guidelines +
10219
+ legal notice + nav) without pushing content under the Analyze CTA. */
10219
10220
  width: min(55vw, calc(92dvh * 1.6));
10220
10221
  max-width: min(55vw, calc(92dvh * 1.6));
10221
- height: min(70dvh, calc(55vw / 1.6));
10222
- max-height: min(92dvh, calc(55vw / 1.6));
10222
+ height: min(82dvh, calc(55vw / 1.35));
10223
+ max-height: min(92dvh, calc(55vw / 1.35));
10223
10224
  display: flex; flex-direction: column; overflow: hidden;
10224
10225
  transition: height 0.45s cubic-bezier(0.32, 0.72, 0, 1), max-height 0.45s cubic-bezier(0.32, 0.72, 0, 1);
10225
10226
  }
10226
10227
  .ps-tryon-modal-tall.ps-tryon-modal-wide {
10227
- height: min(88dvh, calc(55vw / 1.3));
10228
- max-height: min(92dvh, calc(55vw / 1.3));
10228
+ height: min(92dvh, calc(55vw / 1.2));
10229
+ max-height: min(95dvh, calc(55vw / 1.2));
10229
10230
  }
10230
10231
  .ps-tryon-modal:has(.ps-tryon-drawer-open) { overflow: hidden; }
10231
10232
  @keyframes ps-slide-up { from { transform: translateY(12px) scale(0.97); opacity: 0; filter: blur(4px); } to { transform: none; opacity: 1; filter: none; } }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primestyleai/tryon",
3
- "version": "5.8.50",
3
+ "version": "5.8.51",
4
4
  "description": "PrimeStyle Virtual Try-On SDK — React component & Web Component",
5
5
  "type": "module",
6
6
  "main": "dist/primestyle-tryon.js",