@purpurds/promotion-card 7.0.0 → 7.1.0
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.
|
@@ -59,7 +59,7 @@ const Tr = /* @__PURE__ */ Pr(Hr), Vr = {
|
|
|
59
59
|
n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
60
60
|
], o = n ? `<title>${n}</title>` : "";
|
|
61
61
|
return `<svg ${Yr(a)}>${o}${e}</svg>`;
|
|
62
|
-
}, Qr = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(),
|
|
62
|
+
}, Qr = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Mr = ({
|
|
63
63
|
["data-testid"]: e,
|
|
64
64
|
svg: n,
|
|
65
65
|
allyTitle: a,
|
|
@@ -81,7 +81,7 @@ const Tr = /* @__PURE__ */ Pr(Hr), Vr = {
|
|
|
81
81
|
}
|
|
82
82
|
);
|
|
83
83
|
};
|
|
84
|
-
|
|
84
|
+
Mr.displayName = "Icon";
|
|
85
85
|
const Xr = {
|
|
86
86
|
name: "alert",
|
|
87
87
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="m13.038 7.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.586 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.664 0 1.25.601 1.25 1.234Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
@@ -222,7 +222,7 @@ const ir = /* @__PURE__ */ pe(le), P = {
|
|
|
222
222
|
const i = se(o), l = ir([r, P[D], P[`${D}--${o}`]]);
|
|
223
223
|
return /* @__PURE__ */ c("span", { className: l, "data-testid": p, ...t, children: [
|
|
224
224
|
n && i && /* @__PURE__ */ u(
|
|
225
|
-
|
|
225
|
+
Mr,
|
|
226
226
|
{
|
|
227
227
|
"data-testid": `${p}-icon`,
|
|
228
228
|
allyTitle: a,
|
|
@@ -341,7 +341,7 @@ const ye = /* @__PURE__ */ ge(ve), we = {
|
|
|
341
341
|
n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
342
342
|
], o = n ? `<title>${n}</title>` : "";
|
|
343
343
|
return `<svg ${Ce(a)}>${o}${e}</svg>`;
|
|
344
|
-
}, $e = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(),
|
|
344
|
+
}, $e = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Gr = ({
|
|
345
345
|
["data-testid"]: e,
|
|
346
346
|
svg: n,
|
|
347
347
|
allyTitle: a,
|
|
@@ -363,7 +363,7 @@ const ye = /* @__PURE__ */ ge(ve), we = {
|
|
|
363
363
|
}
|
|
364
364
|
);
|
|
365
365
|
};
|
|
366
|
-
|
|
366
|
+
Gr.displayName = "Icon";
|
|
367
367
|
const Ae = {
|
|
368
368
|
name: "alert",
|
|
369
369
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="m13.038 7.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.586 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.664 0 1.25.601 1.25 1.234Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
@@ -394,18 +394,18 @@ const Ae = {
|
|
|
394
394
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7.118 4.6H7a1.9 1.9 0 0 0-1.9 1.9V8a1.9 1.9 0 0 0 1.5 1.858v.642a.9.9 0 1 0 1.8 0v-.6h3.2v.6a.9.9 0 0 0 1.8 0v-.6h3.7V11a.9.9 0 0 0 1.8 0V9.858A1.9 1.9 0 0 0 20.4 8V6.5a1.9 1.9 0 0 0-1.9-1.9h-.618c-.063-.708-.3-1.394-.756-1.943-.56-.674-1.384-1.057-2.376-1.057-.92 0-1.696.33-2.25.915-.554-.585-1.33-.915-2.25-.915-.992 0-1.816.383-2.376 1.057-.457.549-.693 1.235-.756 1.943Zm1.812 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm4.5 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm-.03 3.5h5.1a.1.1 0 0 0 .1-.1V6.5a.1.1 0 0 0-.1-.1h-5.1v1.7Zm-1.8-1.7H7a.1.1 0 0 0-.1.1V8a.1.1 0 0 0 .1.1h4.6V6.4Zm8.335 5.147c.743-.107 1.52.135 2.201.817.474.473.695 1.011.708 1.548.012.508-.163.927-.318 1.2-.185.326-.47.607-.634.77l-.049.047-4.414 4.414a1.9 1.9 0 0 1-1.343.557H7.914a.1.1 0 0 0-.07.03l-.5.5a1.9 1.9 0 0 1-2.687 0L2.57 19.342a1.9 1.9 0 0 1 0-2.686l4-4a1.9 1.9 0 0 1 1.343-.557H14.5v.9-.9h.041l.065.004a2.73 2.73 0 0 1 .79.185 2.665 2.665 0 0 1 1.46 1.417c.188-.162.375-.324.551-.479.46-.401.815-.722.957-.863.338-.34.882-.719 1.571-.817ZM15.088 15.1a1.06 1.06 0 0 0 .08-.145c.1-.207.113-.38.027-.553a.867.867 0 0 0-.668-.497.628.628 0 0 0-.042-.005h-6.57a.1.1 0 0 0-.071.03l-4 4a.1.1 0 0 0 0 .14l2.085 2.087a.1.1 0 0 0 .142 0l.5-.5a1.9 1.9 0 0 1 1.343-.557h8.172a.1.1 0 0 0 .07-.03l4.415-4.414c.225-.225.334-.335.39-.434a.539.539 0 0 0 .083-.266.283.283 0 0 0-.026-.11.712.712 0 0 0-.154-.21c-.319-.318-.542-.326-.674-.307-.186.026-.392.146-.554.307-.191.192-.595.553-1.043.946-.904.79-2.143 1.838-2.561 2.144l-.238.174H10.5a.9.9 0 0 1 0-1.8h4.588Z" clip-rule="evenodd"/></svg>',
|
|
395
395
|
keywords: ["offering"],
|
|
396
396
|
category: "other"
|
|
397
|
-
},
|
|
397
|
+
}, Me = {
|
|
398
398
|
name: "question",
|
|
399
399
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.672 12.056c-.635.547-1.242 1.07-1.164 2.062h-1.385c-.309-1.553.504-2.214 1.23-2.805.514-.419.986-.802.986-1.442 0-.593-.489-1.068-1.267-1.068-.764 0-1.345.422-1.872 1.187L9 9.067C9.712 7.92 10.807 7.3 12.086 7.3 13.906 7.3 15 8.42 15 9.78c0 1.133-.678 1.717-1.328 2.277Zm-.822 3.763c0 .54-.487 1.028-1.041 1.028-.554 0-1.042-.488-1.042-1.028 0-.528.488-1.029 1.042-1.029s1.042.501 1.042 1.029Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
400
400
|
keywords: ["question"],
|
|
401
401
|
category: "status"
|
|
402
|
-
},
|
|
402
|
+
}, Ge = {
|
|
403
403
|
name: "tag",
|
|
404
404
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 4a.9.9 0 0 1 .9-.9h6.5a.9.9 0 0 1 .636.264l10 10a.9.9 0 0 1 0 1.272l-4.5 4.5a.9.9 0 1 1-1.272-1.272L19.227 14l-9.1-9.1H4.9v5.227l9.736 9.737a.9.9 0 1 1-1.272 1.272l-10-10A.9.9 0 0 1 3.1 10.5V4ZM8 7.4a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2ZM5.6 8a2.4 2.4 0 1 1 4.8 0 2.4 2.4 0 0 1-4.8 0Z" clip-rule="evenodd"/></svg>',
|
|
405
405
|
keywords: ["tag"],
|
|
406
406
|
category: "other"
|
|
407
407
|
};
|
|
408
|
-
function
|
|
408
|
+
function je(e) {
|
|
409
409
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
410
410
|
}
|
|
411
411
|
var sr = { exports: {} };
|
|
@@ -448,7 +448,7 @@ function Ze() {
|
|
|
448
448
|
}(sr)), sr.exports;
|
|
449
449
|
}
|
|
450
450
|
var Ee = Ze();
|
|
451
|
-
const cr = /* @__PURE__ */
|
|
451
|
+
const cr = /* @__PURE__ */ je(Ee), H = {
|
|
452
452
|
"purpur-badge": "_purpur-badge_1mlzj_1",
|
|
453
453
|
"purpur-badge__icon": "_purpur-badge__icon_1mlzj_13",
|
|
454
454
|
"purpur-badge--attention": "_purpur-badge--attention_1mlzj_17",
|
|
@@ -486,13 +486,13 @@ const cr = /* @__PURE__ */ Ge(Ee), H = {
|
|
|
486
486
|
case m.ERROR:
|
|
487
487
|
return ke;
|
|
488
488
|
case m.NEUTRAL:
|
|
489
|
-
return je;
|
|
490
|
-
case m.BLACK_FRIDAY:
|
|
491
489
|
return Me;
|
|
490
|
+
case m.BLACK_FRIDAY:
|
|
491
|
+
return Ge;
|
|
492
492
|
default:
|
|
493
493
|
return;
|
|
494
494
|
}
|
|
495
|
-
},
|
|
495
|
+
}, Ie = ({
|
|
496
496
|
children: e,
|
|
497
497
|
showIcon: n = !0,
|
|
498
498
|
iconAllyTitle: a,
|
|
@@ -504,7 +504,7 @@ const cr = /* @__PURE__ */ Ge(Ee), H = {
|
|
|
504
504
|
const i = Ue(o), l = cr([r, H[T], H[`${T}--${o}`]]);
|
|
505
505
|
return /* @__PURE__ */ c("span", { className: l, "data-testid": p, ...t, children: [
|
|
506
506
|
n && i && /* @__PURE__ */ u(
|
|
507
|
-
|
|
507
|
+
Gr,
|
|
508
508
|
{
|
|
509
509
|
"data-testid": `${p}-icon`,
|
|
510
510
|
allyTitle: a,
|
|
@@ -515,16 +515,16 @@ const cr = /* @__PURE__ */ Ge(Ee), H = {
|
|
|
515
515
|
),
|
|
516
516
|
e
|
|
517
517
|
] });
|
|
518
|
-
},
|
|
518
|
+
}, qe = {
|
|
519
519
|
"purpur-card-badge": "_purpur-card-badge_k9ziu_1"
|
|
520
|
-
},
|
|
520
|
+
}, ze = _.bind(qe), Re = "purpur-card-badge", Le = ({
|
|
521
521
|
["data-testid"]: e = "purpur-card-badge",
|
|
522
522
|
variant: n,
|
|
523
523
|
text: a
|
|
524
524
|
}) => n && a ? /* @__PURE__ */ u(
|
|
525
|
-
|
|
525
|
+
Ie,
|
|
526
526
|
{
|
|
527
|
-
className:
|
|
527
|
+
className: ze(Re),
|
|
528
528
|
variant: n,
|
|
529
529
|
showIcon: !1,
|
|
530
530
|
"data-testid": e,
|
|
@@ -607,18 +607,18 @@ function Je() {
|
|
|
607
607
|
}(_r)), _r.exports;
|
|
608
608
|
}
|
|
609
609
|
var Qe = Je();
|
|
610
|
-
const hr = /* @__PURE__ */ Ye(Qe), Xe = "
|
|
611
|
-
"purpur-spinner": "_purpur-
|
|
610
|
+
const hr = /* @__PURE__ */ Ye(Qe), Xe = "_rotate_12t9p_1", rt = "_dash_12t9p_1", $ = {
|
|
611
|
+
"purpur-spinner": "_purpur-spinner_12t9p_2",
|
|
612
612
|
rotate: Xe,
|
|
613
|
-
"purpur-spinner--xxs": "_purpur-spinner--
|
|
614
|
-
"purpur-spinner--xs": "_purpur-spinner--
|
|
615
|
-
"purpur-spinner--sm": "_purpur-spinner--
|
|
616
|
-
"purpur-spinner--md": "_purpur-spinner--
|
|
617
|
-
"purpur-spinner--lg": "_purpur-spinner--
|
|
618
|
-
"purpur-spinner__circle": "_purpur-
|
|
613
|
+
"purpur-spinner--xxs": "_purpur-spinner--xxs_12t9p_6",
|
|
614
|
+
"purpur-spinner--xs": "_purpur-spinner--xs_12t9p_10",
|
|
615
|
+
"purpur-spinner--sm": "_purpur-spinner--sm_12t9p_14",
|
|
616
|
+
"purpur-spinner--md": "_purpur-spinner--md_12t9p_18",
|
|
617
|
+
"purpur-spinner--lg": "_purpur-spinner--lg_12t9p_22",
|
|
618
|
+
"purpur-spinner__circle": "_purpur-spinner__circle_12t9p_26",
|
|
619
619
|
dash: rt,
|
|
620
|
-
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--
|
|
621
|
-
"purpur-spinner__circle--negative": "_purpur-spinner__circle--
|
|
620
|
+
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_12t9p_41",
|
|
621
|
+
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_12t9p_44"
|
|
622
622
|
}, A = "purpur-spinner", et = {
|
|
623
623
|
SM: "sm"
|
|
624
624
|
}, tt = ({
|
|
@@ -759,7 +759,7 @@ const lt = /* @__PURE__ */ ot(ut), st = {
|
|
|
759
759
|
n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
760
760
|
], o = n ? `<title>${n}</title>` : "";
|
|
761
761
|
return `<svg ${_t(a)}>${o}${e}</svg>`;
|
|
762
|
-
}, ht = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(),
|
|
762
|
+
}, ht = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), jr = ({
|
|
763
763
|
["data-testid"]: e,
|
|
764
764
|
svg: n,
|
|
765
765
|
allyTitle: a,
|
|
@@ -781,13 +781,13 @@ const lt = /* @__PURE__ */ ot(ut), st = {
|
|
|
781
781
|
}
|
|
782
782
|
);
|
|
783
783
|
};
|
|
784
|
-
|
|
784
|
+
jr.displayName = "Icon";
|
|
785
785
|
const gt = {
|
|
786
786
|
name: "checkmark",
|
|
787
787
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M21.06 3.795a.9.9 0 0 1 .145 1.264l-11.5 14.5a.9.9 0 0 1-1.341.077l-6-6a.9.9 0 0 1 1.272-1.272l5.286 5.286L19.795 3.94a.9.9 0 0 1 1.264-.145Z" clip-rule="evenodd"/></svg>',
|
|
788
788
|
keywords: ["checkmark"],
|
|
789
789
|
category: "utility"
|
|
790
|
-
}, Zr = (e) => /* @__PURE__ */ u(
|
|
790
|
+
}, Zr = (e) => /* @__PURE__ */ u(jr, { ...e, svg: gt });
|
|
791
791
|
Zr.displayName = "IconCheckmark";
|
|
792
792
|
function mt(e) {
|
|
793
793
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -933,7 +933,7 @@ function $t() {
|
|
|
933
933
|
}(Cr)), Cr.exports;
|
|
934
934
|
}
|
|
935
935
|
var At = $t();
|
|
936
|
-
const Ft = /* @__PURE__ */ St(At),
|
|
936
|
+
const Ft = /* @__PURE__ */ St(At), j = {
|
|
937
937
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
938
938
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
939
939
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -962,11 +962,11 @@ const Ft = /* @__PURE__ */ St(At), G = {
|
|
|
962
962
|
}) => {
|
|
963
963
|
const i = p, l = Ft([
|
|
964
964
|
n,
|
|
965
|
-
|
|
966
|
-
|
|
965
|
+
j[Z],
|
|
966
|
+
j[`${Z}--${r}`],
|
|
967
967
|
{
|
|
968
|
-
[
|
|
969
|
-
[
|
|
968
|
+
[j[`${Z}--hyphens`]]: a,
|
|
969
|
+
[j[`${Z}--negative`]]: o
|
|
970
970
|
}
|
|
971
971
|
]);
|
|
972
972
|
return /* @__PURE__ */ u(i, { className: l, ...t, children: e });
|
|
@@ -1030,7 +1030,7 @@ const kt = {
|
|
|
1030
1030
|
children: r
|
|
1031
1031
|
}
|
|
1032
1032
|
);
|
|
1033
|
-
}, E = _.bind(kt), b = "purpur-card-heading",
|
|
1033
|
+
}, E = _.bind(kt), b = "purpur-card-heading", Mt = ({
|
|
1034
1034
|
["data-testid"]: e = "purpur-card-heading",
|
|
1035
1035
|
["aria-label"]: n,
|
|
1036
1036
|
title: a,
|
|
@@ -1041,8 +1041,8 @@ const kt = {
|
|
|
1041
1041
|
onClick: i = void 0,
|
|
1042
1042
|
href: l = void 0,
|
|
1043
1043
|
disabled: x = !1,
|
|
1044
|
-
linkElement:
|
|
1045
|
-
variant:
|
|
1044
|
+
linkElement: q = "a",
|
|
1045
|
+
variant: z = "title-100",
|
|
1046
1046
|
...R
|
|
1047
1047
|
}) => {
|
|
1048
1048
|
const N = E(b, {
|
|
@@ -1057,7 +1057,7 @@ const kt = {
|
|
|
1057
1057
|
{
|
|
1058
1058
|
tag: r,
|
|
1059
1059
|
className: E(`${b}__heading`),
|
|
1060
|
-
variant:
|
|
1060
|
+
variant: z,
|
|
1061
1061
|
enableHyphenation: t,
|
|
1062
1062
|
...R,
|
|
1063
1063
|
children: i || l ? /* @__PURE__ */ u(
|
|
@@ -1067,7 +1067,7 @@ const kt = {
|
|
|
1067
1067
|
disabled: x,
|
|
1068
1068
|
href: l,
|
|
1069
1069
|
onClick: i,
|
|
1070
|
-
linkElement:
|
|
1070
|
+
linkElement: q,
|
|
1071
1071
|
children: a
|
|
1072
1072
|
}
|
|
1073
1073
|
) : a
|
|
@@ -1076,21 +1076,21 @@ const kt = {
|
|
|
1076
1076
|
] }),
|
|
1077
1077
|
p
|
|
1078
1078
|
] });
|
|
1079
|
-
},
|
|
1079
|
+
}, Gt = {
|
|
1080
1080
|
"purpur-card-media": "_purpur-card-media_udc1o_1"
|
|
1081
|
-
},
|
|
1081
|
+
}, jt = _.bind(Gt), Zt = "purpur-card-media", Et = ({
|
|
1082
1082
|
["data-testid"]: e = "purpur-card-media",
|
|
1083
1083
|
className: n,
|
|
1084
1084
|
children: a,
|
|
1085
1085
|
...o
|
|
1086
|
-
}) => /* @__PURE__ */ u("div", { ...o, className:
|
|
1086
|
+
}) => /* @__PURE__ */ u("div", { ...o, className: jt([Zt, n]), "data-testid": e, children: a }), Ut = {
|
|
1087
1087
|
"purpur-card-media-layout": "_purpur-card-media-layout_1yfvb_1"
|
|
1088
|
-
},
|
|
1088
|
+
}, It = _.bind(Ut), qt = "purpur-card-media-layout", zt = ({
|
|
1089
1089
|
["data-testid"]: e = "purpur-card-media-layout",
|
|
1090
1090
|
className: n,
|
|
1091
1091
|
children: a,
|
|
1092
1092
|
...o
|
|
1093
|
-
}) => /* @__PURE__ */ u("div", { ...o, className:
|
|
1093
|
+
}) => /* @__PURE__ */ u("div", { ...o, className: It([qt, n]), "data-testid": e, children: a }), Rt = {
|
|
1094
1094
|
"purpur-card-overline": "_purpur-card-overline_qhfj0_1"
|
|
1095
1095
|
}, Lt = _.bind(Rt), Pt = "purpur-card-overline", Dt = ({
|
|
1096
1096
|
["data-testid"]: e = "purpur-card-overline",
|
|
@@ -1139,9 +1139,9 @@ f.ContentContainer = Ke;
|
|
|
1139
1139
|
f.Cta = nt;
|
|
1140
1140
|
f.FeatureList = Ct;
|
|
1141
1141
|
f.Overline = Dt;
|
|
1142
|
-
f.Heading =
|
|
1142
|
+
f.Heading = Mt;
|
|
1143
1143
|
f.Media = Et;
|
|
1144
|
-
f.MediaLayout =
|
|
1144
|
+
f.MediaLayout = zt;
|
|
1145
1145
|
f.displayName = "Card";
|
|
1146
1146
|
function Vt(e) {
|
|
1147
1147
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -1204,7 +1204,7 @@ const Yt = /* @__PURE__ */ Vt(Kt), U = {
|
|
|
1204
1204
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1205
1205
|
}, Jt = {
|
|
1206
1206
|
TITLE100: "title-100"
|
|
1207
|
-
},
|
|
1207
|
+
}, I = "purpur-heading", Ir = ({
|
|
1208
1208
|
children: e,
|
|
1209
1209
|
className: n = "",
|
|
1210
1210
|
enableHyphenation: a = !1,
|
|
@@ -1215,16 +1215,16 @@ const Yt = /* @__PURE__ */ Vt(Kt), U = {
|
|
|
1215
1215
|
}) => {
|
|
1216
1216
|
const i = p, l = Yt([
|
|
1217
1217
|
n,
|
|
1218
|
-
U[
|
|
1219
|
-
U[`${
|
|
1218
|
+
U[I],
|
|
1219
|
+
U[`${I}--${r}`],
|
|
1220
1220
|
{
|
|
1221
|
-
[U[`${
|
|
1222
|
-
[U[`${
|
|
1221
|
+
[U[`${I}--hyphens`]]: a,
|
|
1222
|
+
[U[`${I}--negative`]]: o
|
|
1223
1223
|
}
|
|
1224
1224
|
]);
|
|
1225
1225
|
return /* @__PURE__ */ u(i, { className: l, ...t, children: e });
|
|
1226
1226
|
};
|
|
1227
|
-
|
|
1227
|
+
Ir.displayName = "Heading";
|
|
1228
1228
|
function Qt(e) {
|
|
1229
1229
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1230
1230
|
}
|
|
@@ -1285,7 +1285,7 @@ const ea = /* @__PURE__ */ Qt(ra), k = {
|
|
|
1285
1285
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
1286
1286
|
}, ta = {
|
|
1287
1287
|
PARAGRAPH100: "paragraph-100"
|
|
1288
|
-
}, O = "purpur-paragraph",
|
|
1288
|
+
}, O = "purpur-paragraph", qr = ({
|
|
1289
1289
|
["data-testid"]: e,
|
|
1290
1290
|
children: n,
|
|
1291
1291
|
className: a,
|
|
@@ -1307,7 +1307,7 @@ const ea = /* @__PURE__ */ Qt(ra), k = {
|
|
|
1307
1307
|
]);
|
|
1308
1308
|
return /* @__PURE__ */ u("p", { ...i, className: l, "data-testid": e, children: n });
|
|
1309
1309
|
};
|
|
1310
|
-
|
|
1310
|
+
qr.displayName = "Paragraph";
|
|
1311
1311
|
function aa(e) {
|
|
1312
1312
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1313
1313
|
}
|
|
@@ -1395,35 +1395,35 @@ const oa = /* @__PURE__ */ aa(na), pa = {
|
|
|
1395
1395
|
enableTitleHyphenation: i = !1,
|
|
1396
1396
|
className: l,
|
|
1397
1397
|
actions: x,
|
|
1398
|
-
children:
|
|
1399
|
-
style:
|
|
1398
|
+
children: q,
|
|
1399
|
+
style: z,
|
|
1400
1400
|
alignment: R = "space-between",
|
|
1401
1401
|
additionalText: N,
|
|
1402
1402
|
...h
|
|
1403
|
-
},
|
|
1404
|
-
let
|
|
1403
|
+
}, zr) => {
|
|
1404
|
+
let M = h, y, G;
|
|
1405
1405
|
if ("decorativeImage" in h) {
|
|
1406
1406
|
const { hasGradient: C, decorativeImage: S, ...L } = h;
|
|
1407
|
-
y = S,
|
|
1407
|
+
y = S, G = C, M = L;
|
|
1408
1408
|
} else if ("productImage" in h) {
|
|
1409
1409
|
const { hasGradient: C, productImage: S, ...L } = h;
|
|
1410
|
-
y = S,
|
|
1410
|
+
y = S, G = C, M = L;
|
|
1411
1411
|
} else if ("hasGradient" in h) {
|
|
1412
1412
|
const { hasGradient: C, ...S } = h;
|
|
1413
|
-
|
|
1413
|
+
G = C, M = S;
|
|
1414
1414
|
}
|
|
1415
1415
|
const Rr = {
|
|
1416
1416
|
"--promotion-card-background": ua[n],
|
|
1417
1417
|
"--promotion-card-color": sa[n],
|
|
1418
1418
|
"--promotion-card-background-image": la[n]
|
|
1419
1419
|
};
|
|
1420
|
-
return /* @__PURE__ */ u(f, { ref:
|
|
1420
|
+
return /* @__PURE__ */ u(f, { ref: zr, className: d(`${s}__card`), fullHeight: !0, children: /* @__PURE__ */ c(
|
|
1421
1421
|
"div",
|
|
1422
1422
|
{
|
|
1423
1423
|
"data-testid": e,
|
|
1424
1424
|
style: {
|
|
1425
1425
|
...Rr,
|
|
1426
|
-
...
|
|
1426
|
+
...z
|
|
1427
1427
|
},
|
|
1428
1428
|
className: d([
|
|
1429
1429
|
l,
|
|
@@ -1434,7 +1434,7 @@ const oa = /* @__PURE__ */ aa(na), pa = {
|
|
|
1434
1434
|
[`${s}--without-image`]: !y
|
|
1435
1435
|
}
|
|
1436
1436
|
]),
|
|
1437
|
-
...
|
|
1437
|
+
...M,
|
|
1438
1438
|
children: [
|
|
1439
1439
|
/* @__PURE__ */ c(
|
|
1440
1440
|
"div",
|
|
@@ -1460,7 +1460,7 @@ const oa = /* @__PURE__ */ aa(na), pa = {
|
|
|
1460
1460
|
),
|
|
1461
1461
|
children: [
|
|
1462
1462
|
/* @__PURE__ */ u(
|
|
1463
|
-
|
|
1463
|
+
Ir,
|
|
1464
1464
|
{
|
|
1465
1465
|
tag: r,
|
|
1466
1466
|
variant: t,
|
|
@@ -1470,10 +1470,10 @@ const oa = /* @__PURE__ */ aa(na), pa = {
|
|
|
1470
1470
|
}
|
|
1471
1471
|
),
|
|
1472
1472
|
/* @__PURE__ */ c("div", { className: d(`${s}__body`), children: [
|
|
1473
|
-
/* @__PURE__ */ u("div", { className: d(`${s}__child-content`), children:
|
|
1473
|
+
/* @__PURE__ */ u("div", { className: d(`${s}__child-content`), children: q }),
|
|
1474
1474
|
x && /* @__PURE__ */ u("div", { className: d(`${s}__actions`), children: x }),
|
|
1475
1475
|
N && /* @__PURE__ */ u(
|
|
1476
|
-
|
|
1476
|
+
qr,
|
|
1477
1477
|
{
|
|
1478
1478
|
negative: !0,
|
|
1479
1479
|
variant: "additional-100",
|
|
@@ -1500,7 +1500,7 @@ const oa = /* @__PURE__ */ aa(na), pa = {
|
|
|
1500
1500
|
]),
|
|
1501
1501
|
children: [
|
|
1502
1502
|
y,
|
|
1503
|
-
|
|
1503
|
+
G && /* @__PURE__ */ u(
|
|
1504
1504
|
"div",
|
|
1505
1505
|
{
|
|
1506
1506
|
className: d(`${s}__image-gradient`),
|