@purpurds/promotion-card 5.13.0 → 5.15.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.
- package/dist/LICENSE.txt +3 -3
- package/dist/promotion-card.cjs.js +7 -7
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.d.ts +1 -1
- package/dist/promotion-card.es.js +75 -76
- package/dist/promotion-card.es.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +10 -10
- package/src/promotion-card.module.scss +3 -1
package/dist/promotion-card.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HeadingTagType, TitleVariantType } from '@purpurds/heading';
|
|
2
1
|
import { default as React, DetailedHTMLProps, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { HeadingTagType, TitleVariantType } from '@purpurds/heading';
|
|
3
3
|
|
|
4
4
|
export declare const promotionCardVariants: readonly ["primary", "secondary", "quaternary"];
|
|
5
5
|
export type PromotionCardVariant = (typeof promotionCardVariants)[number];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as M, Children as O, isValidElement as I, createElement as $, cloneElement as ar, useEffect as xr, Fragment as
|
|
2
|
+
import { forwardRef as M, Children as O, isValidElement as I, createElement as $, cloneElement as ar, useEffect as xr, Fragment as Cr } from "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
function
|
|
4
|
+
function br(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
7
|
var or = { exports: {} };
|
|
@@ -41,7 +41,7 @@ var or = { exports: {} };
|
|
|
41
41
|
})();
|
|
42
42
|
})(or);
|
|
43
43
|
var Sr = or.exports;
|
|
44
|
-
const Ar = /* @__PURE__ */
|
|
44
|
+
const Ar = /* @__PURE__ */ br(Sr), Fr = {
|
|
45
45
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
46
46
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
47
47
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -49,7 +49,7 @@ const Ar = /* @__PURE__ */ Cr(Sr), kr = {
|
|
|
49
49
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
50
50
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
51
51
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
52
|
-
},
|
|
52
|
+
}, kr = {
|
|
53
53
|
name: "alert",
|
|
54
54
|
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>',
|
|
55
55
|
keywords: ["alert"],
|
|
@@ -84,7 +84,7 @@ const Ar = /* @__PURE__ */ Cr(Sr), kr = {
|
|
|
84
84
|
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>',
|
|
85
85
|
keywords: ["tag"],
|
|
86
86
|
category: "other"
|
|
87
|
-
}, Gr = Ar.bind(
|
|
87
|
+
}, Gr = Ar.bind(Fr), T = "purpur-icon", Zr = "md", Ir = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), Ur = ({ content: e = "", title: o } = {}) => {
|
|
88
88
|
const a = [
|
|
89
89
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
90
90
|
{ name: "fill", value: "currentColor" },
|
|
@@ -115,7 +115,7 @@ const Ar = /* @__PURE__ */ Cr(Sr), kr = {
|
|
|
115
115
|
}
|
|
116
116
|
);
|
|
117
117
|
};
|
|
118
|
-
function
|
|
118
|
+
function Dr(e) {
|
|
119
119
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
120
120
|
}
|
|
121
121
|
var ir = { exports: {} };
|
|
@@ -154,8 +154,8 @@ var ir = { exports: {} };
|
|
|
154
154
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
155
155
|
})();
|
|
156
156
|
})(ir);
|
|
157
|
-
var
|
|
158
|
-
const qr = /* @__PURE__ */ jr
|
|
157
|
+
var jr = ir.exports;
|
|
158
|
+
const qr = /* @__PURE__ */ Dr(jr), P = {
|
|
159
159
|
"purpur-badge": "_purpur-badge_1r1mu_1",
|
|
160
160
|
"purpur-badge--attention": "_purpur-badge--attention_1r1mu_13",
|
|
161
161
|
"purpur-badge--special": "_purpur-badge--special_1r1mu_17",
|
|
@@ -184,7 +184,7 @@ const qr = /* @__PURE__ */ jr(Dr), P = {
|
|
|
184
184
|
case g.SUCCESS:
|
|
185
185
|
return Br;
|
|
186
186
|
case g.WARNING:
|
|
187
|
-
return
|
|
187
|
+
return kr;
|
|
188
188
|
case g.ERROR:
|
|
189
189
|
return Or;
|
|
190
190
|
case g.NEUTRAL:
|
|
@@ -476,13 +476,13 @@ const _e = /* @__PURE__ */ de(ce), V = {
|
|
|
476
476
|
}
|
|
477
477
|
) : null, we = {
|
|
478
478
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
479
|
-
}, xe = f.bind(we),
|
|
479
|
+
}, xe = f.bind(we), Ce = "purpur-card-content", be = ({
|
|
480
480
|
["data-testid"]: e = "purpur-card-content",
|
|
481
481
|
children: o
|
|
482
|
-
}) => /* @__PURE__ */ l("div", { className: xe(
|
|
482
|
+
}) => /* @__PURE__ */ l("div", { className: xe(Ce), "data-testid": e, children: o }), Se = {
|
|
483
483
|
"purpur-card-content-container": "_purpur-card-content-container_dx1e4_1",
|
|
484
484
|
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_dx1e4_7"
|
|
485
|
-
}, Ae = f.bind(Se), K = "purpur-card-content-container",
|
|
485
|
+
}, Ae = f.bind(Se), K = "purpur-card-content-container", Fe = ({
|
|
486
486
|
["data-testid"]: e = "purpur-card-content-container",
|
|
487
487
|
children: o,
|
|
488
488
|
isFooter: a = !1
|
|
@@ -499,7 +499,7 @@ const _e = /* @__PURE__ */ de(ce), V = {
|
|
|
499
499
|
children: o
|
|
500
500
|
}
|
|
501
501
|
);
|
|
502
|
-
function
|
|
502
|
+
function ke(e) {
|
|
503
503
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
504
504
|
}
|
|
505
505
|
var sr = { exports: {} };
|
|
@@ -539,7 +539,7 @@ var sr = { exports: {} };
|
|
|
539
539
|
})();
|
|
540
540
|
})(sr);
|
|
541
541
|
var Be = sr.exports;
|
|
542
|
-
const Oe = /* @__PURE__ */
|
|
542
|
+
const Oe = /* @__PURE__ */ ke(Be), $e = {
|
|
543
543
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
544
544
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
545
545
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -644,7 +644,7 @@ var _r = { exports: {} };
|
|
|
644
644
|
})();
|
|
645
645
|
})(_r);
|
|
646
646
|
var Le = _r.exports;
|
|
647
|
-
const
|
|
647
|
+
const De = /* @__PURE__ */ Re(Le), A = {
|
|
648
648
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
649
649
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
650
650
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -659,7 +659,7 @@ const je = /* @__PURE__ */ Re(Le), A = {
|
|
|
659
659
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
660
660
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
661
661
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
662
|
-
},
|
|
662
|
+
}, je = {
|
|
663
663
|
PARAGRAPH100: "paragraph-100",
|
|
664
664
|
PARAGRAPH100MEDIUM: "paragraph-100-medium",
|
|
665
665
|
PARAGRAPH100BOLD: "paragraph-100-bold",
|
|
@@ -670,24 +670,24 @@ const je = /* @__PURE__ */ Re(Le), A = {
|
|
|
670
670
|
ADDITIONAL100MEDIUM: "additional-100-medium",
|
|
671
671
|
OVERLINE100: "overline-100",
|
|
672
672
|
OVERLINE200: "overline-200"
|
|
673
|
-
},
|
|
673
|
+
}, F = "purpur-paragraph", q = ({
|
|
674
674
|
["data-testid"]: e,
|
|
675
675
|
children: o,
|
|
676
676
|
className: a,
|
|
677
677
|
disabled: n,
|
|
678
678
|
enableHyphenation: p = !1,
|
|
679
679
|
negative: r = !1,
|
|
680
|
-
variant: t =
|
|
680
|
+
variant: t = je.PARAGRAPH100,
|
|
681
681
|
...i
|
|
682
682
|
}) => {
|
|
683
|
-
const u =
|
|
683
|
+
const u = De([
|
|
684
684
|
a,
|
|
685
|
-
A[
|
|
686
|
-
A[`${
|
|
685
|
+
A[F],
|
|
686
|
+
A[`${F}--${t}`],
|
|
687
687
|
{
|
|
688
|
-
[A[`${
|
|
689
|
-
[A[`${
|
|
690
|
-
[A[`${
|
|
688
|
+
[A[`${F}--hyphens`]]: p,
|
|
689
|
+
[A[`${F}--disabled`]]: n,
|
|
690
|
+
[A[`${F}--negative`]]: r
|
|
691
691
|
}
|
|
692
692
|
]);
|
|
693
693
|
return /* @__PURE__ */ l("p", { ...i, className: u, "data-testid": e, children: o });
|
|
@@ -751,7 +751,7 @@ var fr = { exports: {} };
|
|
|
751
751
|
})();
|
|
752
752
|
})(fr);
|
|
753
753
|
var ze = fr.exports;
|
|
754
|
-
const Q = /* @__PURE__ */ Pe(ze), He = "_rotate_1xozj_1", Ve = "_dash_1xozj_1",
|
|
754
|
+
const Q = /* @__PURE__ */ Pe(ze), He = "_rotate_1xozj_1", Ve = "_dash_1xozj_1", k = {
|
|
755
755
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
756
756
|
rotate: He,
|
|
757
757
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
@@ -778,15 +778,15 @@ const Q = /* @__PURE__ */ Pe(ze), He = "_rotate_1xozj_1", Ve = "_dash_1xozj_1",
|
|
|
778
778
|
}) => /* @__PURE__ */ l(
|
|
779
779
|
"div",
|
|
780
780
|
{
|
|
781
|
-
className: Q([
|
|
781
|
+
className: Q([k[B], k[`${B}--${n}`]]),
|
|
782
782
|
"data-testid": e,
|
|
783
783
|
...p,
|
|
784
784
|
children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
785
785
|
"circle",
|
|
786
786
|
{
|
|
787
|
-
className: Q(
|
|
788
|
-
[
|
|
789
|
-
[
|
|
787
|
+
className: Q(k[`${B}__circle`], {
|
|
788
|
+
[k[`${B}__circle--disabled`]]: o,
|
|
789
|
+
[k[`${B}__circle--negative`]]: a
|
|
790
790
|
}),
|
|
791
791
|
cx: "25",
|
|
792
792
|
cy: "25",
|
|
@@ -850,11 +850,10 @@ function x() {
|
|
|
850
850
|
return x = Object.assign ? Object.assign.bind() : function(e) {
|
|
851
851
|
for (var o = 1; o < arguments.length; o++) {
|
|
852
852
|
var a = arguments[o];
|
|
853
|
-
for (var n in a)
|
|
854
|
-
Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n]);
|
|
853
|
+
for (var n in a) ({}).hasOwnProperty.call(a, n) && (e[n] = a[n]);
|
|
855
854
|
}
|
|
856
855
|
return e;
|
|
857
|
-
}, x.apply(
|
|
856
|
+
}, x.apply(null, arguments);
|
|
858
857
|
}
|
|
859
858
|
function i0(e, o) {
|
|
860
859
|
typeof e == "function" ? e(o) : e != null && (e.current = o);
|
|
@@ -868,24 +867,24 @@ const hr = /* @__PURE__ */ M((e, o) => {
|
|
|
868
867
|
const { children: a, ...n } = e, p = O.toArray(a), r = p.find(l0);
|
|
869
868
|
if (r) {
|
|
870
869
|
const t = r.props.children, i = p.map((u) => u === r ? O.count(t) > 1 ? O.only(null) : /* @__PURE__ */ I(t) ? t.props.children : null : u);
|
|
871
|
-
return /* @__PURE__ */ $(
|
|
870
|
+
return /* @__PURE__ */ $(j, x({}, n, {
|
|
872
871
|
ref: o
|
|
873
872
|
}), /* @__PURE__ */ I(t) ? /* @__PURE__ */ ar(t, void 0, i) : null);
|
|
874
873
|
}
|
|
875
|
-
return /* @__PURE__ */ $(
|
|
874
|
+
return /* @__PURE__ */ $(j, x({}, n, {
|
|
876
875
|
ref: o
|
|
877
876
|
}), a);
|
|
878
877
|
});
|
|
879
878
|
hr.displayName = "Slot";
|
|
880
|
-
const
|
|
879
|
+
const j = /* @__PURE__ */ M((e, o) => {
|
|
881
880
|
const { children: a, ...n } = e;
|
|
882
881
|
return /* @__PURE__ */ I(a) ? /* @__PURE__ */ ar(a, {
|
|
883
882
|
...s0(n, a.props),
|
|
884
883
|
ref: o ? n0(o, a.ref) : a.ref
|
|
885
884
|
}) : O.count(a) > 1 ? O.only(null) : null;
|
|
886
885
|
});
|
|
887
|
-
|
|
888
|
-
const p0 = ({ children: e }) => /* @__PURE__ */ $(
|
|
886
|
+
j.displayName = "SlotClone";
|
|
887
|
+
const p0 = ({ children: e }) => /* @__PURE__ */ $(Cr, null, e);
|
|
889
888
|
function l0(e) {
|
|
890
889
|
return /* @__PURE__ */ I(e) && e.type === p0;
|
|
891
890
|
}
|
|
@@ -1017,7 +1016,7 @@ const u0 = [
|
|
|
1017
1016
|
onClick: t,
|
|
1018
1017
|
screenReaderText: i,
|
|
1019
1018
|
variant: u,
|
|
1020
|
-
...
|
|
1019
|
+
...C
|
|
1021
1020
|
}, U) => {
|
|
1022
1021
|
const d = h0([
|
|
1023
1022
|
L,
|
|
@@ -1027,7 +1026,7 @@ const u0 = [
|
|
|
1027
1026
|
[`${L}--full-height`]: p
|
|
1028
1027
|
}
|
|
1029
1028
|
]);
|
|
1030
|
-
return /* @__PURE__ */ _("div", { className: d, "data-testid": e, ref: U, ...
|
|
1029
|
+
return /* @__PURE__ */ _("div", { className: d, "data-testid": e, ref: U, ...C, children: [
|
|
1031
1030
|
o,
|
|
1032
1031
|
(t || r) && i && /* @__PURE__ */ l(
|
|
1033
1032
|
f0,
|
|
@@ -1042,21 +1041,21 @@ const u0 = [
|
|
|
1042
1041
|
}
|
|
1043
1042
|
);
|
|
1044
1043
|
gr.displayName = "CardRoot";
|
|
1045
|
-
const tr = f.bind(Vr),
|
|
1044
|
+
const tr = f.bind(Vr), D = "purpur-card", v = ({ children: e, className: o, ...a }) => {
|
|
1046
1045
|
const n = tr([
|
|
1047
|
-
|
|
1046
|
+
D,
|
|
1048
1047
|
o,
|
|
1049
1048
|
{
|
|
1050
|
-
[`${
|
|
1051
|
-
[`${
|
|
1049
|
+
[`${D}--is-interactive`]: a.onClick || a.href,
|
|
1050
|
+
[`${D}--disabled`]: a.disabled
|
|
1052
1051
|
}
|
|
1053
1052
|
]);
|
|
1054
1053
|
return /* @__PURE__ */ l(gr, { className: tr(n), ...a, children: e });
|
|
1055
1054
|
};
|
|
1056
1055
|
v.Badge = ye;
|
|
1057
1056
|
v.LinkArrow = Je;
|
|
1058
|
-
v.Content =
|
|
1059
|
-
v.ContentContainer =
|
|
1057
|
+
v.Content = be;
|
|
1058
|
+
v.ContentContainer = Fe;
|
|
1060
1059
|
v.FeatureList = Te;
|
|
1061
1060
|
v.Overline = t0;
|
|
1062
1061
|
v.displayName = "Card";
|
|
@@ -1135,7 +1134,7 @@ const v0 = /* @__PURE__ */ g0(m0), G = {
|
|
|
1135
1134
|
variant: t = y0.TITLE100,
|
|
1136
1135
|
...i
|
|
1137
1136
|
}) => {
|
|
1138
|
-
const u = r,
|
|
1137
|
+
const u = r, C = v0([
|
|
1139
1138
|
a,
|
|
1140
1139
|
G[Z],
|
|
1141
1140
|
G[`${Z}--${t}`],
|
|
@@ -1144,7 +1143,7 @@ const v0 = /* @__PURE__ */ g0(m0), G = {
|
|
|
1144
1143
|
[G[`${Z}--negative`]]: p
|
|
1145
1144
|
}
|
|
1146
1145
|
]);
|
|
1147
|
-
return /* @__PURE__ */ l(u, { ...i, className:
|
|
1146
|
+
return /* @__PURE__ */ l(u, { ...i, className: C, "data-testid": e, children: o });
|
|
1148
1147
|
};
|
|
1149
1148
|
vr.displayName = "Heading";
|
|
1150
1149
|
function w0(e) {
|
|
@@ -1187,22 +1186,22 @@ var yr = { exports: {} };
|
|
|
1187
1186
|
})();
|
|
1188
1187
|
})(yr);
|
|
1189
1188
|
var x0 = yr.exports;
|
|
1190
|
-
const
|
|
1191
|
-
"purpur-promotion-card": "_purpur-promotion-
|
|
1192
|
-
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-
|
|
1193
|
-
"purpur-promotion-card--with-image": "_purpur-promotion-card--with-
|
|
1194
|
-
"purpur-promotion-card__card": "_purpur-promotion-
|
|
1195
|
-
"purpur-promotion-card__image-gradient": "_purpur-promotion-card__image-
|
|
1196
|
-
"purpur-promotion-card__content": "_purpur-promotion-
|
|
1197
|
-
"purpur-promotion-card__content--without-image": "_purpur-promotion-card__content--without-
|
|
1198
|
-
"purpur-promotion-card__main-content": "_purpur-promotion-card__main-
|
|
1199
|
-
"purpur-promotion-card__heading": "_purpur-promotion-
|
|
1200
|
-
"purpur-promotion-card__content--with-image": "_purpur-promotion-card__content--with-
|
|
1201
|
-
"purpur-promotion-card__badge-wrapper": "_purpur-promotion-card__badge-
|
|
1202
|
-
"purpur-promotion-card__body": "_purpur-promotion-
|
|
1203
|
-
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-
|
|
1204
|
-
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--
|
|
1205
|
-
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--
|
|
1189
|
+
const C0 = /* @__PURE__ */ w0(x0), b0 = {
|
|
1190
|
+
"purpur-promotion-card": "_purpur-promotion-card_1u1no_1",
|
|
1191
|
+
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_1u1no_8",
|
|
1192
|
+
"purpur-promotion-card--with-image": "_purpur-promotion-card--with-image_1u1no_30",
|
|
1193
|
+
"purpur-promotion-card__card": "_purpur-promotion-card__card_1u1no_42",
|
|
1194
|
+
"purpur-promotion-card__image-gradient": "_purpur-promotion-card__image-gradient_1u1no_46",
|
|
1195
|
+
"purpur-promotion-card__content": "_purpur-promotion-card__content_1u1no_62",
|
|
1196
|
+
"purpur-promotion-card__content--without-image": "_purpur-promotion-card__content--without-image_1u1no_72",
|
|
1197
|
+
"purpur-promotion-card__main-content": "_purpur-promotion-card__main-content_1u1no_75",
|
|
1198
|
+
"purpur-promotion-card__heading": "_purpur-promotion-card__heading_1u1no_79",
|
|
1199
|
+
"purpur-promotion-card__content--with-image": "_purpur-promotion-card__content--with-image_1u1no_84",
|
|
1200
|
+
"purpur-promotion-card__badge-wrapper": "_purpur-promotion-card__badge-wrapper_1u1no_95",
|
|
1201
|
+
"purpur-promotion-card__body": "_purpur-promotion-card__body_1u1no_99",
|
|
1202
|
+
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_1u1no_122",
|
|
1203
|
+
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_1u1no_125",
|
|
1204
|
+
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_1u1no_126"
|
|
1206
1205
|
}, M0 = ["primary", "secondary", "quaternary"], S0 = {
|
|
1207
1206
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1208
1207
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
@@ -1211,11 +1210,11 @@ const b0 = /* @__PURE__ */ w0(x0), C0 = {
|
|
|
1211
1210
|
primary: `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_20_36)"><rect width="2000" height="1125" fill="url(%23paint0_linear_20_36)"/><g filter="url(%23filter0_d_20_36)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_20_36)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.28 777.344 91.9004 426.514 82.0318 305.42C61.3463 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint1_linear_20_36)"/></g><path d="M478.351 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.396 755.297 91.9029 403.076 82.1476 283.373C61.4621 29.5494 246.485 -143.253 478.351 -359.804Z" fill="url(%23paint2_linear_20_36)" stroke="url(%23paint3_linear_20_36)" stroke-width="0.488281"/><g filter="url(%23filter2_d_20_36)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_20_36)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint4_linear_20_36)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint5_linear_20_36)" stroke="url(%23paint6_linear_20_36)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_20_36" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter1_d_20_36" x="-69.5491" y="-947.891" width="2562.05" height="2731.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="75"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.6 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter2_d_20_36" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter3_d_20_36" x="361.088" y="-864.621" width="2720.09" height="2804.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="100"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.65 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><linearGradient id="paint0_linear_20_36" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23340249"/><stop offset="0.576094" stop-color="%23300244"/><stop offset="1" stop-color="%232D0241"/></linearGradient><linearGradient id="paint1_linear_20_36" x1="80.5668" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="%2359006E"/><stop offset="0.265" stop-color="%2347005E"/><stop offset="0.385" stop-color="%2339004E"/><stop offset="0.720829" stop-color="%23210034"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint2_linear_20_36" x1="138.672" y1="41.2598" x2="702.488" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%2335004A"/><stop offset="0.19574" stop-color="%23320046"/><stop offset="1" stop-color="%2328003B"/></linearGradient><linearGradient id="paint3_linear_20_36" x1="133.5" y1="60.5" x2="546" y2="1048" gradientUnits="userSpaceOnUse"><stop stop-color="%23AC3CAF"/><stop offset="0.506509" stop-color="%234A006B"/><stop offset="1" stop-color="%232B003F"/></linearGradient><linearGradient id="paint4_linear_20_36" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="%234F0065"/><stop offset="0.340552" stop-color="%2339004E"/><stop offset="0.616738" stop-color="%23230036"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint5_linear_20_36" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%232F0044"/><stop offset="0.51248" stop-color="%2328003B"/><stop offset="1" stop-color="%23240037"/></linearGradient><linearGradient id="paint6_linear_20_36" x1="820.5" y1="32.5001" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="%238A1994"/><stop offset="0.425" stop-color="%237A1387"/><stop offset="1" stop-color="%2327003A"/></linearGradient><clipPath id="clip0_20_36"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,
|
|
1212
1211
|
secondary: `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_13_40)"><rect width="2000" height="1125" fill="url(%23paint0_linear_13_40)"/><rect x="-226.435" y="213.022" width="435.932" height="216.966" transform="rotate(-66.9915 -226.435 213.022)" fill="url(%23paint1_linear_13_40)"/><g filter="url(%23filter0_d_13_40)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_13_40)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_13_40)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_13_40)" stroke="url(%23paint4_linear_13_40)" stroke-width="0.488281"/><g filter="url(%23filter2_d_13_40)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_13_40)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_13_40)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_13_40)" stroke="url(%23paint7_linear_13_40)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_13_40" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.605849 0 0 0 0 0.52 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter1_d_13_40" x="20.4507" y="-841.891" width="2382.05" height="2551.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="30"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.628679 0 0 0 0 0.49 0 0 0 0 0.7 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter2_d_13_40" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.594811 0 0 0 0 0.4875 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter3_d_13_40" x="381.088" y="-820.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="24"/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.61425 0 0 0 0 0.455 0 0 0 0 0.7 0 0 0 0.62 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><linearGradient id="paint0_linear_13_40" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23F6E6FF"/><stop offset="0.465" stop-color="%23F5E2FF"/><stop offset="1" stop-color="%23F2DCFE"/></linearGradient><linearGradient id="paint1_linear_13_40" x1="-8.46836" y1="213.022" x2="-8.46836" y2="429.988" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="white" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_13_40" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F7EAFF"/><stop offset="0.720829" stop-color="%23D3BCDF"/><stop offset="1" stop-color="%23AA91B7"/></linearGradient><linearGradient id="paint3_linear_13_40" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23F7E9FF"/><stop offset="0.19574" stop-color="%23F6E7FF"/><stop offset="1" stop-color="%23EBD5F6"/></linearGradient><linearGradient id="paint4_linear_13_40" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23F1DBFC"/></linearGradient><linearGradient id="paint5_linear_13_40" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23F7E9FF"/><stop offset="0.616738" stop-color="%23E1CBED"/><stop offset="1" stop-color="%23AB92B8"/></linearGradient><linearGradient id="paint6_linear_13_40" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F5E3FF"/><stop offset="0.51248" stop-color="%23EBD5F7"/><stop offset="1" stop-color="%23E0C9EB"/></linearGradient><linearGradient id="paint7_linear_13_40" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_13_40"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,
|
|
1213
1212
|
quaternary: `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_16_50)"><rect width="2000" height="1125" fill="url(%23paint0_linear_16_50)"/><rect x="-145.375" y="247.444" width="435.932" height="128.9" transform="rotate(-66.9915 -145.375 247.444)" fill="url(%23paint1_linear_16_50)"/><g filter="url(%23filter0_d_16_50)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23EFE5DF"/></g><g filter="url(%23filter1_d_16_50)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_16_50)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_16_50)" stroke="url(%23paint4_linear_16_50)" stroke-width="0.488281"/><g filter="url(%23filter2_d_16_50)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23EFE5DF"/></g><g filter="url(%23filter3_d_16_50)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.677 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_16_50)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_16_50)" stroke="url(%23paint7_linear_16_50)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_16_50" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter1_d_16_50" x="0.450684" y="-861.891" width="2422.05" height="2591.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="40"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter2_d_16_50" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter3_d_16_50" x="381.088" y="-844.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.55 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><linearGradient id="paint0_linear_16_50" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23FDF3EE"/><stop offset="0.625484" stop-color="%23F8EEE8"/><stop offset="1" stop-color="%23F0E5DF"/><stop offset="1" stop-color="%23F0E5E0"/></linearGradient><linearGradient id="paint1_linear_16_50" x1="72.5912" y1="247.444" x2="72.5912" y2="376.344" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFEFD"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="%23FFFDFD" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_16_50" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F5ECE6"/><stop offset="0.720829" stop-color="%23CFC4BE"/><stop offset="1" stop-color="%23C9BDB6"/></linearGradient><linearGradient id="paint3_linear_16_50" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFAF8"/><stop offset="0.19574" stop-color="%23FEF5EF"/><stop offset="1" stop-color="%23E8DED8"/></linearGradient><linearGradient id="paint4_linear_16_50" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><linearGradient id="paint5_linear_16_50" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23FCF2EC"/><stop offset="0.616738" stop-color="%23D8CEC8"/><stop offset="1" stop-color="%23ACA19C"/></linearGradient><linearGradient id="paint6_linear_16_50" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F8EEE8"/><stop offset="0.51248" stop-color="%23E8DED8"/><stop offset="1" stop-color="%23DDD3CE"/></linearGradient><linearGradient id="paint7_linear_16_50" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_16_50"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`
|
|
1214
|
-
},
|
|
1213
|
+
}, F0 = {
|
|
1215
1214
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1216
1215
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1217
1216
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1218
|
-
}, c =
|
|
1217
|
+
}, c = C0.bind(b0), s = "purpur-promotion-card", k0 = ({
|
|
1219
1218
|
["data-testid"]: e,
|
|
1220
1219
|
variant: o = "primary",
|
|
1221
1220
|
badgeText: a,
|
|
@@ -1225,24 +1224,24 @@ const b0 = /* @__PURE__ */ w0(x0), C0 = {
|
|
|
1225
1224
|
titleVariant: t = "title-300",
|
|
1226
1225
|
enableTitleHyphenation: i = !0,
|
|
1227
1226
|
className: u,
|
|
1228
|
-
children:
|
|
1227
|
+
children: C,
|
|
1229
1228
|
style: U,
|
|
1230
1229
|
...d
|
|
1231
1230
|
}) => {
|
|
1232
1231
|
let E = d, h, N;
|
|
1233
1232
|
if ("decorativeImage" in d) {
|
|
1234
|
-
const { hasGradient:
|
|
1235
|
-
h = S, N =
|
|
1233
|
+
const { hasGradient: b, decorativeImage: S, ...R } = d;
|
|
1234
|
+
h = S, N = b, E = R;
|
|
1236
1235
|
} else if ("productImage" in d) {
|
|
1237
|
-
const { hasGradient:
|
|
1238
|
-
h = S, N =
|
|
1236
|
+
const { hasGradient: b, productImage: S, ...R } = d;
|
|
1237
|
+
h = S, N = b, E = R;
|
|
1239
1238
|
} else if ("hasGradient" in d) {
|
|
1240
|
-
const { hasGradient:
|
|
1241
|
-
N =
|
|
1239
|
+
const { hasGradient: b, ...S } = d;
|
|
1240
|
+
N = b, E = S;
|
|
1242
1241
|
}
|
|
1243
1242
|
const wr = {
|
|
1244
1243
|
"--promotion-card-background": S0[o],
|
|
1245
|
-
"--promotion-card-color":
|
|
1244
|
+
"--promotion-card-color": F0[o],
|
|
1246
1245
|
"--promotion-card-background-image": A0[o]
|
|
1247
1246
|
};
|
|
1248
1247
|
return /* @__PURE__ */ l(v, { className: c(`${s}__card`), children: /* @__PURE__ */ _(
|
|
@@ -1290,7 +1289,7 @@ const b0 = /* @__PURE__ */ w0(x0), C0 = {
|
|
|
1290
1289
|
children: p
|
|
1291
1290
|
}
|
|
1292
1291
|
),
|
|
1293
|
-
/* @__PURE__ */ l("div", { className: c(`${s}__body`), children:
|
|
1292
|
+
/* @__PURE__ */ l("div", { className: c(`${s}__body`), children: C })
|
|
1294
1293
|
] })
|
|
1295
1294
|
]
|
|
1296
1295
|
}
|
|
@@ -1321,9 +1320,9 @@ const b0 = /* @__PURE__ */ w0(x0), C0 = {
|
|
|
1321
1320
|
}
|
|
1322
1321
|
) });
|
|
1323
1322
|
};
|
|
1324
|
-
|
|
1323
|
+
k0.displayName = "PromotionCard";
|
|
1325
1324
|
export {
|
|
1326
|
-
|
|
1325
|
+
k0 as PromotionCard,
|
|
1327
1326
|
M0 as promotionCardVariants
|
|
1328
1327
|
};
|
|
1329
1328
|
//# sourceMappingURL=promotion-card.es.js.map
|