@primestyleai/tryon 5.10.90 → 5.10.91
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.
- package/dist/react/index.js +12 -10
- package/dist/react/index.js.map +1 -1
- package/dist/react/styles.d.ts +1 -1
- package/dist/storefront/primestyle-tryon.js +12 -10
- package/package.json +1 -1
package/dist/react/index.js
CHANGED
|
@@ -5385,18 +5385,22 @@ const yn = `
|
|
|
5385
5385
|
transition: background 0.15s, transform 0.15s;
|
|
5386
5386
|
}
|
|
5387
5387
|
.ps-msr-section-card:active { transform: scale(0.99); background: var(--ps-bg-secondary); }
|
|
5388
|
+
/* Bigger garment icon — same source as desktop (sizeGuide.sectionImages
|
|
5389
|
+
* → falls back to built-in line-art PNG via garmentIconForSection).
|
|
5390
|
+
* No background, no tinting — exact image asset shown at scale. */
|
|
5391
|
+
.ps-msr-section-icon-lg {
|
|
5392
|
+
width: 56px; height: 56px;
|
|
5393
|
+
object-fit: contain;
|
|
5394
|
+
background: none;
|
|
5395
|
+
margin: 0 auto 4px;
|
|
5396
|
+
display: block;
|
|
5397
|
+
}
|
|
5388
5398
|
.ps-msr-section-name {
|
|
5389
|
-
display: inline-flex; align-items: center; gap: 6px;
|
|
5390
5399
|
font-size: 11px; font-weight: 600;
|
|
5391
5400
|
letter-spacing: 0.12em; text-transform: uppercase;
|
|
5392
5401
|
color: var(--ps-text-muted);
|
|
5393
5402
|
text-align: center;
|
|
5394
5403
|
}
|
|
5395
|
-
.ps-msr-section-icon {
|
|
5396
|
-
width: 18px; height: 18px;
|
|
5397
|
-
object-fit: contain;
|
|
5398
|
-
opacity: 0.85;
|
|
5399
|
-
}
|
|
5400
5404
|
.ps-msr-section-size {
|
|
5401
5405
|
font-size: 32px; font-weight: 600;
|
|
5402
5406
|
color: var(--ps-text-primary);
|
|
@@ -9111,10 +9115,8 @@ function Br({
|
|
|
9111
9115
|
className: `ps-msr-section-card${y ? " ps-overridden" : ""}`,
|
|
9112
9116
|
onClick: () => n(i),
|
|
9113
9117
|
children: [
|
|
9114
|
-
/* @__PURE__ */
|
|
9115
|
-
|
|
9116
|
-
m.toUpperCase()
|
|
9117
|
-
] }),
|
|
9118
|
+
S && /* @__PURE__ */ A("img", { src: S, alt: "", className: "ps-msr-section-icon-lg" }),
|
|
9119
|
+
/* @__PURE__ */ A("span", { className: "ps-msr-section-name", children: m.toUpperCase() }),
|
|
9118
9120
|
/* @__PURE__ */ A("span", { className: "ps-msr-section-size", children: pA }),
|
|
9119
9121
|
/* @__PURE__ */ A(
|
|
9120
9122
|
"span",
|