@purpurds/promotion-card 6.7.2 → 6.8.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 +6 -6
- package/dist/promotion-card.cjs.js +17 -17
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.es.js +174 -173
- package/dist/promotion-card.es.js.map +1 -1
- package/package.json +12 -12
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsxs as _, jsx as u, Fragment as
|
|
1
|
+
import { jsxs as _, jsx as u, Fragment as ur } from "react/jsx-runtime";
|
|
2
2
|
import * as c from "react";
|
|
3
|
-
import { forwardRef as
|
|
3
|
+
import { forwardRef as J } from "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
function _e(e) {
|
|
6
6
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
7
7
|
}
|
|
8
|
-
var
|
|
8
|
+
var sr = { exports: {} };
|
|
9
9
|
/*!
|
|
10
10
|
Copyright (c) 2018 Jed Watson.
|
|
11
11
|
Licensed under the MIT License (MIT), see
|
|
12
12
|
http://jedwatson.github.io/classnames
|
|
13
13
|
*/
|
|
14
|
-
var
|
|
14
|
+
var dr;
|
|
15
15
|
function fe() {
|
|
16
|
-
return
|
|
16
|
+
return dr || (dr = 1, function(e) {
|
|
17
17
|
(function() {
|
|
18
18
|
var i = {}.hasOwnProperty;
|
|
19
19
|
function a() {
|
|
@@ -42,7 +42,7 @@ function fe() {
|
|
|
42
42
|
}
|
|
43
43
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
44
44
|
})();
|
|
45
|
-
}(
|
|
45
|
+
}(sr)), sr.exports;
|
|
46
46
|
}
|
|
47
47
|
var ge = fe();
|
|
48
48
|
const he = /* @__PURE__ */ _e(ge), me = {
|
|
@@ -53,7 +53,7 @@ const he = /* @__PURE__ */ _e(ge), me = {
|
|
|
53
53
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
54
54
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
55
55
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
56
|
-
}, ve = he.bind(me),
|
|
56
|
+
}, ve = he.bind(me), cr = "purpur-icon", ye = "md", we = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), xe = ({ content: e = "", title: i } = {}) => {
|
|
57
57
|
const a = [
|
|
58
58
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
59
59
|
{ name: "fill", value: "currentColor" },
|
|
@@ -72,7 +72,7 @@ const he = /* @__PURE__ */ _e(ge), me = {
|
|
|
72
72
|
const t = xe({
|
|
73
73
|
content: be(i.svg),
|
|
74
74
|
title: a
|
|
75
|
-
}), n = ve(o,
|
|
75
|
+
}), n = ve(o, cr, `${cr}--${p}`);
|
|
76
76
|
return /* @__PURE__ */ u(
|
|
77
77
|
"span",
|
|
78
78
|
{
|
|
@@ -120,24 +120,24 @@ const $e = {
|
|
|
120
120
|
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>',
|
|
121
121
|
keywords: ["question"],
|
|
122
122
|
category: "status"
|
|
123
|
-
},
|
|
123
|
+
}, je = {
|
|
124
124
|
name: "tag",
|
|
125
125
|
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>',
|
|
126
126
|
keywords: ["tag"],
|
|
127
127
|
category: "other"
|
|
128
128
|
};
|
|
129
|
-
function
|
|
129
|
+
function Be(e) {
|
|
130
130
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
132
|
+
var _r = { exports: {} };
|
|
133
133
|
/*!
|
|
134
134
|
Copyright (c) 2018 Jed Watson.
|
|
135
135
|
Licensed under the MIT License (MIT), see
|
|
136
136
|
http://jedwatson.github.io/classnames
|
|
137
137
|
*/
|
|
138
|
-
var
|
|
139
|
-
function
|
|
140
|
-
return
|
|
138
|
+
var fr;
|
|
139
|
+
function Fe() {
|
|
140
|
+
return fr || (fr = 1, function(e) {
|
|
141
141
|
(function() {
|
|
142
142
|
var i = {}.hasOwnProperty;
|
|
143
143
|
function a() {
|
|
@@ -166,10 +166,10 @@ function je() {
|
|
|
166
166
|
}
|
|
167
167
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
168
168
|
})();
|
|
169
|
-
}(
|
|
169
|
+
}(_r)), _r.exports;
|
|
170
170
|
}
|
|
171
|
-
var Me =
|
|
172
|
-
const
|
|
171
|
+
var Me = Fe();
|
|
172
|
+
const gr = /* @__PURE__ */ Be(Me), X = {
|
|
173
173
|
"purpur-badge": "_purpur-badge_1mlzj_1",
|
|
174
174
|
"purpur-badge__icon": "_purpur-badge__icon_1mlzj_13",
|
|
175
175
|
"purpur-badge--attention": "_purpur-badge--attention_1mlzj_17",
|
|
@@ -181,7 +181,7 @@ const fr = /* @__PURE__ */ Fe(Me), J = {
|
|
|
181
181
|
"purpur-badge--warning": "_purpur-badge--warning_1mlzj_41",
|
|
182
182
|
"purpur-badge--error": "_purpur-badge--error_1mlzj_45",
|
|
183
183
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_1mlzj_49"
|
|
184
|
-
},
|
|
184
|
+
}, Q = "purpur-badge", x = {
|
|
185
185
|
ATTENTION: "attention",
|
|
186
186
|
BLACK_FRIDAY: "black-friday",
|
|
187
187
|
ERROR: "error",
|
|
@@ -209,7 +209,7 @@ const fr = /* @__PURE__ */ Fe(Me), J = {
|
|
|
209
209
|
case x.NEUTRAL:
|
|
210
210
|
return Ne;
|
|
211
211
|
case x.BLACK_FRIDAY:
|
|
212
|
-
return
|
|
212
|
+
return je;
|
|
213
213
|
default:
|
|
214
214
|
return;
|
|
215
215
|
}
|
|
@@ -222,7 +222,7 @@ const fr = /* @__PURE__ */ Fe(Me), J = {
|
|
|
222
222
|
className: r = "",
|
|
223
223
|
...t
|
|
224
224
|
}) => {
|
|
225
|
-
const n = Ge(a), l =
|
|
225
|
+
const n = Ge(a), l = gr([r, X[Q], X[`${Q}--${a}`]]);
|
|
226
226
|
return /* @__PURE__ */ _("span", { "aria-label": p, className: l, "data-testid": o, ...t, children: [
|
|
227
227
|
i && n && /* @__PURE__ */ u(
|
|
228
228
|
re,
|
|
@@ -231,26 +231,26 @@ const fr = /* @__PURE__ */ Fe(Me), J = {
|
|
|
231
231
|
allyTitle: p,
|
|
232
232
|
size: "xs",
|
|
233
233
|
svg: n,
|
|
234
|
-
className:
|
|
234
|
+
className: gr(X[`${Q}__icon`])
|
|
235
235
|
}
|
|
236
236
|
),
|
|
237
237
|
e
|
|
238
238
|
] });
|
|
239
|
-
},
|
|
239
|
+
}, Ee = {
|
|
240
240
|
LG: "lg"
|
|
241
241
|
};
|
|
242
|
-
function
|
|
242
|
+
function qe(e) {
|
|
243
243
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
244
244
|
}
|
|
245
|
-
var
|
|
245
|
+
var hr = { exports: {} };
|
|
246
246
|
/*!
|
|
247
247
|
Copyright (c) 2018 Jed Watson.
|
|
248
248
|
Licensed under the MIT License (MIT), see
|
|
249
249
|
http://jedwatson.github.io/classnames
|
|
250
250
|
*/
|
|
251
|
-
var
|
|
251
|
+
var mr;
|
|
252
252
|
function ze() {
|
|
253
|
-
return
|
|
253
|
+
return mr || (mr = 1, function(e) {
|
|
254
254
|
(function() {
|
|
255
255
|
var i = {}.hasOwnProperty;
|
|
256
256
|
function a() {
|
|
@@ -279,10 +279,10 @@ function ze() {
|
|
|
279
279
|
}
|
|
280
280
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
281
281
|
})();
|
|
282
|
-
}(
|
|
282
|
+
}(hr)), hr.exports;
|
|
283
283
|
}
|
|
284
284
|
var Ue = ze();
|
|
285
|
-
const
|
|
285
|
+
const vr = /* @__PURE__ */ qe(Ue), Ie = "_rotate_1xozj_1", Re = "_dash_1xozj_1", Z = {
|
|
286
286
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
287
287
|
rotate: Ie,
|
|
288
288
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
@@ -294,7 +294,7 @@ const mr = /* @__PURE__ */ Ee(Ue), Ie = "_rotate_1xozj_1", Re = "_dash_1xozj_1",
|
|
|
294
294
|
dash: Re,
|
|
295
295
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
296
296
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
297
|
-
},
|
|
297
|
+
}, E = "purpur-spinner", Pe = {
|
|
298
298
|
SM: "sm"
|
|
299
299
|
}, Le = ({
|
|
300
300
|
["data-testid"]: e,
|
|
@@ -305,15 +305,15 @@ const mr = /* @__PURE__ */ Ee(Ue), Ie = "_rotate_1xozj_1", Re = "_dash_1xozj_1",
|
|
|
305
305
|
}) => /* @__PURE__ */ u(
|
|
306
306
|
"div",
|
|
307
307
|
{
|
|
308
|
-
className:
|
|
308
|
+
className: vr([Z[E], Z[`${E}--${o}`]]),
|
|
309
309
|
"data-testid": e,
|
|
310
310
|
...p,
|
|
311
311
|
children: /* @__PURE__ */ u("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ u(
|
|
312
312
|
"circle",
|
|
313
313
|
{
|
|
314
|
-
className:
|
|
315
|
-
[Z[`${
|
|
316
|
-
[Z[`${
|
|
314
|
+
className: vr(Z[`${E}__circle`], {
|
|
315
|
+
[Z[`${E}__circle--disabled`]]: i,
|
|
316
|
+
[Z[`${E}__circle--negative`]]: a
|
|
317
317
|
}),
|
|
318
318
|
cx: "25",
|
|
319
319
|
cy: "25",
|
|
@@ -325,15 +325,15 @@ const mr = /* @__PURE__ */ Ee(Ue), Ie = "_rotate_1xozj_1", Re = "_dash_1xozj_1",
|
|
|
325
325
|
function De(e) {
|
|
326
326
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
327
327
|
}
|
|
328
|
-
var
|
|
328
|
+
var yr = { exports: {} };
|
|
329
329
|
/*!
|
|
330
330
|
Copyright (c) 2018 Jed Watson.
|
|
331
331
|
Licensed under the MIT License (MIT), see
|
|
332
332
|
http://jedwatson.github.io/classnames
|
|
333
333
|
*/
|
|
334
|
-
var
|
|
334
|
+
var wr;
|
|
335
335
|
function He() {
|
|
336
|
-
return
|
|
336
|
+
return wr || (wr = 1, function(e) {
|
|
337
337
|
(function() {
|
|
338
338
|
var i = {}.hasOwnProperty;
|
|
339
339
|
function a() {
|
|
@@ -362,7 +362,7 @@ function He() {
|
|
|
362
362
|
}
|
|
363
363
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
364
364
|
})();
|
|
365
|
-
}(
|
|
365
|
+
}(yr)), yr.exports;
|
|
366
366
|
}
|
|
367
367
|
var Te = He();
|
|
368
368
|
const Ve = /* @__PURE__ */ De(Te), We = {
|
|
@@ -400,7 +400,7 @@ const Ve = /* @__PURE__ */ De(Te), We = {
|
|
|
400
400
|
size: d = "md",
|
|
401
401
|
variant: m,
|
|
402
402
|
type: C = "button",
|
|
403
|
-
...
|
|
403
|
+
...j
|
|
404
404
|
}, S) => {
|
|
405
405
|
if (r && m === "destructive")
|
|
406
406
|
return null;
|
|
@@ -417,9 +417,9 @@ const Ve = /* @__PURE__ */ De(Te), We = {
|
|
|
417
417
|
[`${O}--disabled`]: o || t
|
|
418
418
|
},
|
|
419
419
|
i
|
|
420
|
-
),
|
|
420
|
+
), B = (v) => {
|
|
421
421
|
o || t ? v.preventDefault() : l && l(v);
|
|
422
|
-
}, k = !!
|
|
422
|
+
}, k = !!j["aria-disabled"] || o || t;
|
|
423
423
|
return /* @__PURE__ */ _(
|
|
424
424
|
"button",
|
|
425
425
|
{
|
|
@@ -428,29 +428,29 @@ const Ve = /* @__PURE__ */ De(Te), We = {
|
|
|
428
428
|
type: C,
|
|
429
429
|
ref: S,
|
|
430
430
|
"aria-disabled": k,
|
|
431
|
-
onClick:
|
|
432
|
-
...
|
|
431
|
+
onClick: B,
|
|
432
|
+
...j,
|
|
433
433
|
children: [
|
|
434
|
-
t && /* @__PURE__ */ u(Le, { size: d ===
|
|
434
|
+
t && /* @__PURE__ */ u(Le, { size: d === Ee.LG ? "xs" : "xxs", negative: n, disabled: k }),
|
|
435
435
|
" ",
|
|
436
436
|
e
|
|
437
437
|
]
|
|
438
438
|
}
|
|
439
439
|
);
|
|
440
|
-
}, ee =
|
|
440
|
+
}, ee = J(Ke);
|
|
441
441
|
ee.displayName = "Button";
|
|
442
442
|
function Je(e) {
|
|
443
443
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
444
444
|
}
|
|
445
|
-
var
|
|
445
|
+
var xr = { exports: {} };
|
|
446
446
|
/*!
|
|
447
447
|
Copyright (c) 2018 Jed Watson.
|
|
448
448
|
Licensed under the MIT License (MIT), see
|
|
449
449
|
http://jedwatson.github.io/classnames
|
|
450
450
|
*/
|
|
451
|
-
var
|
|
451
|
+
var br;
|
|
452
452
|
function Xe() {
|
|
453
|
-
return
|
|
453
|
+
return br || (br = 1, function(e) {
|
|
454
454
|
(function() {
|
|
455
455
|
var i = {}.hasOwnProperty;
|
|
456
456
|
function a() {
|
|
@@ -479,24 +479,25 @@ function Xe() {
|
|
|
479
479
|
}
|
|
480
480
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
481
481
|
})();
|
|
482
|
-
}(
|
|
482
|
+
}(xr)), xr.exports;
|
|
483
483
|
}
|
|
484
484
|
var Qe = Xe();
|
|
485
485
|
const h = /* @__PURE__ */ Je(Qe), rt = {
|
|
486
|
-
"purpur-
|
|
486
|
+
"purpur-card__container": "_purpur-card__container_2maou_1",
|
|
487
|
+
"purpur-card": "_purpur-card_2maou_1"
|
|
487
488
|
};
|
|
488
489
|
function et(e) {
|
|
489
490
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
490
491
|
}
|
|
491
|
-
var
|
|
492
|
+
var $r = { exports: {} };
|
|
492
493
|
/*!
|
|
493
494
|
Copyright (c) 2018 Jed Watson.
|
|
494
495
|
Licensed under the MIT License (MIT), see
|
|
495
496
|
http://jedwatson.github.io/classnames
|
|
496
497
|
*/
|
|
497
|
-
var
|
|
498
|
+
var Cr;
|
|
498
499
|
function tt() {
|
|
499
|
-
return
|
|
500
|
+
return Cr || (Cr = 1, function(e) {
|
|
500
501
|
(function() {
|
|
501
502
|
var i = {}.hasOwnProperty;
|
|
502
503
|
function a() {
|
|
@@ -525,7 +526,7 @@ function tt() {
|
|
|
525
526
|
}
|
|
526
527
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
527
528
|
})();
|
|
528
|
-
}(
|
|
529
|
+
}($r)), $r.exports;
|
|
529
530
|
}
|
|
530
531
|
var at = tt();
|
|
531
532
|
const nt = /* @__PURE__ */ et(at), it = {
|
|
@@ -536,7 +537,7 @@ const nt = /* @__PURE__ */ et(at), it = {
|
|
|
536
537
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
537
538
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
538
539
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
539
|
-
}, ot = nt.bind(it),
|
|
540
|
+
}, ot = nt.bind(it), Sr = "purpur-icon", pt = "md", ut = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), lt = ({ content: e = "", title: i } = {}) => {
|
|
540
541
|
const a = [
|
|
541
542
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
542
543
|
{ name: "fill", value: "currentColor" },
|
|
@@ -555,7 +556,7 @@ const nt = /* @__PURE__ */ et(at), it = {
|
|
|
555
556
|
const t = lt({
|
|
556
557
|
content: st(i.svg),
|
|
557
558
|
title: a
|
|
558
|
-
}), n = ot(o,
|
|
559
|
+
}), n = ot(o, Sr, `${Sr}--${p}`);
|
|
559
560
|
return /* @__PURE__ */ u(
|
|
560
561
|
"span",
|
|
561
562
|
{
|
|
@@ -612,15 +613,15 @@ const dt = {
|
|
|
612
613
|
function yt(e) {
|
|
613
614
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
614
615
|
}
|
|
615
|
-
var
|
|
616
|
+
var kr = { exports: {} };
|
|
616
617
|
/*!
|
|
617
618
|
Copyright (c) 2018 Jed Watson.
|
|
618
619
|
Licensed under the MIT License (MIT), see
|
|
619
620
|
http://jedwatson.github.io/classnames
|
|
620
621
|
*/
|
|
621
|
-
var
|
|
622
|
+
var Ar;
|
|
622
623
|
function wt() {
|
|
623
|
-
return
|
|
624
|
+
return Ar || (Ar = 1, function(e) {
|
|
624
625
|
(function() {
|
|
625
626
|
var i = {}.hasOwnProperty;
|
|
626
627
|
function a() {
|
|
@@ -649,10 +650,10 @@ function wt() {
|
|
|
649
650
|
}
|
|
650
651
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
651
652
|
})();
|
|
652
|
-
}(
|
|
653
|
+
}(kr)), kr.exports;
|
|
653
654
|
}
|
|
654
655
|
var xt = wt();
|
|
655
|
-
const
|
|
656
|
+
const Or = /* @__PURE__ */ yt(xt), rr = {
|
|
656
657
|
"purpur-badge": "_purpur-badge_1mlzj_1",
|
|
657
658
|
"purpur-badge__icon": "_purpur-badge__icon_1mlzj_13",
|
|
658
659
|
"purpur-badge--attention": "_purpur-badge--attention_1mlzj_17",
|
|
@@ -664,7 +665,7 @@ const Ar = /* @__PURE__ */ yt(xt), Q = {
|
|
|
664
665
|
"purpur-badge--warning": "_purpur-badge--warning_1mlzj_41",
|
|
665
666
|
"purpur-badge--error": "_purpur-badge--error_1mlzj_45",
|
|
666
667
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_1mlzj_49"
|
|
667
|
-
},
|
|
668
|
+
}, er = "purpur-badge", b = {
|
|
668
669
|
ATTENTION: "attention",
|
|
669
670
|
BLACK_FRIDAY: "black-friday",
|
|
670
671
|
ERROR: "error",
|
|
@@ -705,7 +706,7 @@ const Ar = /* @__PURE__ */ yt(xt), Q = {
|
|
|
705
706
|
className: r = "",
|
|
706
707
|
...t
|
|
707
708
|
}) => {
|
|
708
|
-
const n = bt(a), l =
|
|
709
|
+
const n = bt(a), l = Or([r, rr[er], rr[`${er}--${a}`]]);
|
|
709
710
|
return /* @__PURE__ */ _("span", { "aria-label": p, className: l, "data-testid": o, ...t, children: [
|
|
710
711
|
i && n && /* @__PURE__ */ u(
|
|
711
712
|
te,
|
|
@@ -714,13 +715,13 @@ const Ar = /* @__PURE__ */ yt(xt), Q = {
|
|
|
714
715
|
allyTitle: p,
|
|
715
716
|
size: "xs",
|
|
716
717
|
svg: n,
|
|
717
|
-
className:
|
|
718
|
+
className: Or(rr[`${er}__icon`])
|
|
718
719
|
}
|
|
719
720
|
),
|
|
720
721
|
e
|
|
721
722
|
] });
|
|
722
723
|
}, Ct = {
|
|
723
|
-
"purpur-card-badge": "_purpur-card-
|
|
724
|
+
"purpur-card-badge": "_purpur-card-badge_k9ziu_1"
|
|
724
725
|
}, St = h.bind(Ct), kt = "purpur-card-badge", At = ({
|
|
725
726
|
["data-testid"]: e = "purpur-card-badge",
|
|
726
727
|
variant: i,
|
|
@@ -736,16 +737,16 @@ const Ar = /* @__PURE__ */ yt(xt), Q = {
|
|
|
736
737
|
}
|
|
737
738
|
) : null, Ot = {
|
|
738
739
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
739
|
-
}, Nt = h.bind(Ot),
|
|
740
|
+
}, Nt = h.bind(Ot), jt = "purpur-card-content", Bt = ({
|
|
740
741
|
["data-testid"]: e = "purpur-card-content",
|
|
741
742
|
children: i
|
|
742
|
-
}) => /* @__PURE__ */ u("div", { className: Nt(
|
|
743
|
+
}) => /* @__PURE__ */ u("div", { className: Nt(jt), "data-testid": e, children: i }), Ft = {
|
|
743
744
|
"purpur-card-content-container": "_purpur-card-content-container_putaw_1",
|
|
744
745
|
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_putaw_12",
|
|
745
746
|
"purpur-card-content-container--gap-size--sm": "_purpur-card-content-container--gap-size--sm_putaw_20",
|
|
746
747
|
"purpur-card-content-container--gap-size--md": "_purpur-card-content-container--gap-size--md_putaw_23",
|
|
747
748
|
"purpur-card-content-container--gap-size--lg": "_purpur-card-content-container--gap-size--lg_putaw_26"
|
|
748
|
-
}, Mt = h.bind(
|
|
749
|
+
}, Mt = h.bind(Ft), tr = "purpur-card-content-container", Gt = ({
|
|
749
750
|
["data-testid"]: e = "purpur-card-content-container",
|
|
750
751
|
children: i,
|
|
751
752
|
isFooter: a = !1,
|
|
@@ -754,10 +755,10 @@ const Ar = /* @__PURE__ */ yt(xt), Q = {
|
|
|
754
755
|
"div",
|
|
755
756
|
{
|
|
756
757
|
className: Mt([
|
|
757
|
-
|
|
758
|
-
`${
|
|
758
|
+
tr,
|
|
759
|
+
`${tr}--gap-size--${o}`,
|
|
759
760
|
{
|
|
760
|
-
[`${
|
|
761
|
+
[`${tr}--footer`]: a
|
|
761
762
|
}
|
|
762
763
|
]),
|
|
763
764
|
"data-testid": e,
|
|
@@ -767,15 +768,15 @@ const Ar = /* @__PURE__ */ yt(xt), Q = {
|
|
|
767
768
|
function Zt(e) {
|
|
768
769
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
769
770
|
}
|
|
770
|
-
var
|
|
771
|
+
var Nr = { exports: {} };
|
|
771
772
|
/*!
|
|
772
773
|
Copyright (c) 2018 Jed Watson.
|
|
773
774
|
Licensed under the MIT License (MIT), see
|
|
774
775
|
http://jedwatson.github.io/classnames
|
|
775
776
|
*/
|
|
776
|
-
var
|
|
777
|
-
function
|
|
778
|
-
return
|
|
777
|
+
var jr;
|
|
778
|
+
function Et() {
|
|
779
|
+
return jr || (jr = 1, function(e) {
|
|
779
780
|
(function() {
|
|
780
781
|
var i = {}.hasOwnProperty;
|
|
781
782
|
function a() {
|
|
@@ -804,10 +805,10 @@ function qt() {
|
|
|
804
805
|
}
|
|
805
806
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
806
807
|
})();
|
|
807
|
-
}(
|
|
808
|
+
}(Nr)), Nr.exports;
|
|
808
809
|
}
|
|
809
|
-
var
|
|
810
|
-
const Br = /* @__PURE__ */ Zt(
|
|
810
|
+
var qt = Et();
|
|
811
|
+
const Br = /* @__PURE__ */ Zt(qt), zt = "_rotate_1xozj_1", Ut = "_dash_1xozj_1", q = {
|
|
811
812
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
812
813
|
rotate: zt,
|
|
813
814
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
@@ -830,15 +831,15 @@ const Br = /* @__PURE__ */ Zt(Et), zt = "_rotate_1xozj_1", Ut = "_dash_1xozj_1",
|
|
|
830
831
|
}) => /* @__PURE__ */ u(
|
|
831
832
|
"div",
|
|
832
833
|
{
|
|
833
|
-
className: Br([
|
|
834
|
+
className: Br([q[z], q[`${z}--${o}`]]),
|
|
834
835
|
"data-testid": e,
|
|
835
836
|
...p,
|
|
836
837
|
children: /* @__PURE__ */ u("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ u(
|
|
837
838
|
"circle",
|
|
838
839
|
{
|
|
839
|
-
className: Br(
|
|
840
|
-
[
|
|
841
|
-
[
|
|
840
|
+
className: Br(q[`${z}__circle`], {
|
|
841
|
+
[q[`${z}__circle--disabled`]]: i,
|
|
842
|
+
[q[`${z}__circle--negative`]]: a
|
|
842
843
|
}),
|
|
843
844
|
cx: "25",
|
|
844
845
|
cy: "25",
|
|
@@ -893,7 +894,7 @@ const Br = /* @__PURE__ */ Zt(Et), zt = "_rotate_1xozj_1", Ut = "_dash_1xozj_1",
|
|
|
893
894
|
])} ${$}`,
|
|
894
895
|
"data-testid": e,
|
|
895
896
|
...l,
|
|
896
|
-
children: r ? /* @__PURE__ */ u(Rt, { "data-testid": `${e}-spinner`, size: "xs", disabled: o }) : /* @__PURE__ */ _(
|
|
897
|
+
children: r ? /* @__PURE__ */ u(Rt, { "data-testid": `${e}-spinner`, size: "xs", disabled: o }) : /* @__PURE__ */ _(ur, { children: [
|
|
897
898
|
p === "left" && a,
|
|
898
899
|
t,
|
|
899
900
|
p === "right" && a
|
|
@@ -909,9 +910,9 @@ var Fr = { exports: {} };
|
|
|
909
910
|
Licensed under the MIT License (MIT), see
|
|
910
911
|
http://jedwatson.github.io/classnames
|
|
911
912
|
*/
|
|
912
|
-
var
|
|
913
|
+
var Mr;
|
|
913
914
|
function Tt() {
|
|
914
|
-
return
|
|
915
|
+
return Mr || (Mr = 1, function(e) {
|
|
915
916
|
(function() {
|
|
916
917
|
var i = {}.hasOwnProperty;
|
|
917
918
|
function a() {
|
|
@@ -951,7 +952,7 @@ const Wt = /* @__PURE__ */ Ht(Vt), Yt = {
|
|
|
951
952
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
952
953
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
953
954
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
954
|
-
}, Kt = Wt.bind(Yt),
|
|
955
|
+
}, Kt = Wt.bind(Yt), Gr = "purpur-icon", Jt = "md", Xt = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), Qt = ({ content: e = "", title: i } = {}) => {
|
|
955
956
|
const a = [
|
|
956
957
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
957
958
|
{ name: "fill", value: "currentColor" },
|
|
@@ -970,7 +971,7 @@ const Wt = /* @__PURE__ */ Ht(Vt), Yt = {
|
|
|
970
971
|
const t = Qt({
|
|
971
972
|
content: ra(i.svg),
|
|
972
973
|
title: a
|
|
973
|
-
}), n = Kt(o,
|
|
974
|
+
}), n = Kt(o, Gr, `${Gr}--${p}`);
|
|
974
975
|
return /* @__PURE__ */ u(
|
|
975
976
|
"span",
|
|
976
977
|
{
|
|
@@ -993,15 +994,15 @@ ne.displayName = "IconCheckmark";
|
|
|
993
994
|
function ta(e) {
|
|
994
995
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
995
996
|
}
|
|
996
|
-
var
|
|
997
|
+
var Zr = { exports: {} };
|
|
997
998
|
/*!
|
|
998
999
|
Copyright (c) 2018 Jed Watson.
|
|
999
1000
|
Licensed under the MIT License (MIT), see
|
|
1000
1001
|
http://jedwatson.github.io/classnames
|
|
1001
1002
|
*/
|
|
1002
|
-
var
|
|
1003
|
+
var Er;
|
|
1003
1004
|
function aa() {
|
|
1004
|
-
return
|
|
1005
|
+
return Er || (Er = 1, function(e) {
|
|
1005
1006
|
(function() {
|
|
1006
1007
|
var i = {}.hasOwnProperty;
|
|
1007
1008
|
function a() {
|
|
@@ -1030,7 +1031,7 @@ function aa() {
|
|
|
1030
1031
|
}
|
|
1031
1032
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1032
1033
|
})();
|
|
1033
|
-
}(
|
|
1034
|
+
}(Zr)), Zr.exports;
|
|
1034
1035
|
}
|
|
1035
1036
|
var na = aa();
|
|
1036
1037
|
const ia = /* @__PURE__ */ ta(na), U = {
|
|
@@ -1050,7 +1051,7 @@ const ia = /* @__PURE__ */ ta(na), U = {
|
|
|
1050
1051
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
1051
1052
|
}, oa = {
|
|
1052
1053
|
PARAGRAPH100: "paragraph-100"
|
|
1053
|
-
}, I = "purpur-paragraph",
|
|
1054
|
+
}, I = "purpur-paragraph", lr = ({
|
|
1054
1055
|
["data-testid"]: e,
|
|
1055
1056
|
children: i,
|
|
1056
1057
|
className: a,
|
|
@@ -1072,21 +1073,21 @@ const ia = /* @__PURE__ */ ta(na), U = {
|
|
|
1072
1073
|
]);
|
|
1073
1074
|
return /* @__PURE__ */ u("p", { ...n, className: l, "data-testid": e, children: i });
|
|
1074
1075
|
};
|
|
1075
|
-
|
|
1076
|
+
lr.displayName = "Paragraph";
|
|
1076
1077
|
const pa = {
|
|
1077
1078
|
"purpur-card-feature-list": "_purpur-card-feature-list_198s4_1",
|
|
1078
1079
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_198s4_7"
|
|
1079
|
-
}, qr = h.bind(pa),
|
|
1080
|
+
}, qr = h.bind(pa), zr = "purpur-card-feature-list", ua = ({
|
|
1080
1081
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
1081
1082
|
listItems: i
|
|
1082
|
-
}) => i && i.length > 0 ? /* @__PURE__ */ u("ul", { className: qr(
|
|
1083
|
+
}) => i && i.length > 0 ? /* @__PURE__ */ u("ul", { className: qr(zr), "data-testid": e, children: i.map((a) => /* @__PURE__ */ _(
|
|
1083
1084
|
"li",
|
|
1084
1085
|
{
|
|
1085
|
-
className: qr(`${
|
|
1086
|
+
className: qr(`${zr}__list-item`),
|
|
1086
1087
|
"data-testid": `${e}-item`,
|
|
1087
1088
|
children: [
|
|
1088
1089
|
/* @__PURE__ */ u(ne, { size: "xs" }),
|
|
1089
|
-
/* @__PURE__ */ u(
|
|
1090
|
+
/* @__PURE__ */ u(lr, { children: a })
|
|
1090
1091
|
]
|
|
1091
1092
|
},
|
|
1092
1093
|
a
|
|
@@ -1094,15 +1095,15 @@ const pa = {
|
|
|
1094
1095
|
function la(e) {
|
|
1095
1096
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1096
1097
|
}
|
|
1097
|
-
var
|
|
1098
|
+
var Ur = { exports: {} };
|
|
1098
1099
|
/*!
|
|
1099
1100
|
Copyright (c) 2018 Jed Watson.
|
|
1100
1101
|
Licensed under the MIT License (MIT), see
|
|
1101
1102
|
http://jedwatson.github.io/classnames
|
|
1102
1103
|
*/
|
|
1103
|
-
var
|
|
1104
|
+
var Ir;
|
|
1104
1105
|
function sa() {
|
|
1105
|
-
return
|
|
1106
|
+
return Ir || (Ir = 1, function(e) {
|
|
1106
1107
|
(function() {
|
|
1107
1108
|
var i = {}.hasOwnProperty;
|
|
1108
1109
|
function a() {
|
|
@@ -1131,7 +1132,7 @@ function sa() {
|
|
|
1131
1132
|
}
|
|
1132
1133
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1133
1134
|
})();
|
|
1134
|
-
}(
|
|
1135
|
+
}(Ur)), Ur.exports;
|
|
1135
1136
|
}
|
|
1136
1137
|
var da = sa();
|
|
1137
1138
|
const ca = /* @__PURE__ */ la(da), D = {
|
|
@@ -1175,10 +1176,10 @@ const ca = /* @__PURE__ */ la(da), D = {
|
|
|
1175
1176
|
};
|
|
1176
1177
|
ie.displayName = "Heading";
|
|
1177
1178
|
const fa = {
|
|
1178
|
-
"purpur-card-heading": "_purpur-card-
|
|
1179
|
-
"purpur-card-heading__header": "_purpur-card-
|
|
1180
|
-
"purpur-card-heading__heading": "_purpur-card-
|
|
1181
|
-
"purpur-card-heading__icon": "_purpur-card-
|
|
1179
|
+
"purpur-card-heading": "_purpur-card-heading_j3j6u_1",
|
|
1180
|
+
"purpur-card-heading__header": "_purpur-card-heading__header_j3j6u_6",
|
|
1181
|
+
"purpur-card-heading__heading": "_purpur-card-heading__heading_j3j6u_11",
|
|
1182
|
+
"purpur-card-heading__icon": "_purpur-card-heading__icon_j3j6u_14"
|
|
1182
1183
|
}, T = h.bind(fa), V = "purpur-card-heading", ga = ({
|
|
1183
1184
|
["data-testid"]: e = "purpur-card-heading",
|
|
1184
1185
|
title: i,
|
|
@@ -1218,58 +1219,58 @@ const fa = {
|
|
|
1218
1219
|
}, Sa = h.bind(Ca), ka = "purpur-card-overline", Aa = ({
|
|
1219
1220
|
["data-testid"]: e = "purpur-card-overline",
|
|
1220
1221
|
overline: i
|
|
1221
|
-
}) => i ? /* @__PURE__ */ u(
|
|
1222
|
-
"purpur-card-root": "_purpur-card-
|
|
1223
|
-
"purpur-card-root--primary": "_purpur-card-root--
|
|
1224
|
-
"purpur-card-root--secondary": "_purpur-card-root--
|
|
1225
|
-
"purpur-card-root--full-height": "_purpur-card-root--full-
|
|
1222
|
+
}) => i ? /* @__PURE__ */ u(lr, { className: Sa(ka), "data-testid": e, children: i }) : null, Oa = {
|
|
1223
|
+
"purpur-card-root": "_purpur-card-root_eupww_1",
|
|
1224
|
+
"purpur-card-root--primary": "_purpur-card-root--primary_eupww_7",
|
|
1225
|
+
"purpur-card-root--secondary": "_purpur-card-root--secondary_eupww_10",
|
|
1226
|
+
"purpur-card-root--full-height": "_purpur-card-root--full-height_eupww_13"
|
|
1226
1227
|
}, Na = {
|
|
1227
1228
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_1sp43_1",
|
|
1228
1229
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_1sp43_6",
|
|
1229
1230
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_1sp43_11"
|
|
1230
1231
|
};
|
|
1231
|
-
function
|
|
1232
|
+
function Rr(e, i) {
|
|
1232
1233
|
if (typeof e == "function")
|
|
1233
1234
|
return e(i);
|
|
1234
1235
|
e != null && (e.current = i);
|
|
1235
1236
|
}
|
|
1236
|
-
function
|
|
1237
|
+
function ja(...e) {
|
|
1237
1238
|
return (i) => {
|
|
1238
1239
|
let a = !1;
|
|
1239
1240
|
const o = e.map((p) => {
|
|
1240
|
-
const r =
|
|
1241
|
+
const r = Rr(p, i);
|
|
1241
1242
|
return !a && typeof r == "function" && (a = !0), r;
|
|
1242
1243
|
});
|
|
1243
1244
|
if (a)
|
|
1244
1245
|
return () => {
|
|
1245
1246
|
for (let p = 0; p < o.length; p++) {
|
|
1246
1247
|
const r = o[p];
|
|
1247
|
-
typeof r == "function" ? r() :
|
|
1248
|
+
typeof r == "function" ? r() : Rr(e[p], null);
|
|
1248
1249
|
}
|
|
1249
1250
|
};
|
|
1250
1251
|
};
|
|
1251
1252
|
}
|
|
1252
1253
|
var oe = c.forwardRef((e, i) => {
|
|
1253
|
-
const { children: a, ...o } = e, p = c.Children.toArray(a), r = p.find(
|
|
1254
|
+
const { children: a, ...o } = e, p = c.Children.toArray(a), r = p.find(Fa);
|
|
1254
1255
|
if (r) {
|
|
1255
1256
|
const t = r.props.children, n = p.map((l) => l === r ? c.Children.count(t) > 1 ? c.Children.only(null) : c.isValidElement(t) ? t.props.children : null : l);
|
|
1256
|
-
return /* @__PURE__ */ u(
|
|
1257
|
+
return /* @__PURE__ */ u(or, { ...o, ref: i, children: c.isValidElement(t) ? c.cloneElement(t, void 0, n) : null });
|
|
1257
1258
|
}
|
|
1258
|
-
return /* @__PURE__ */ u(
|
|
1259
|
+
return /* @__PURE__ */ u(or, { ...o, ref: i, children: a });
|
|
1259
1260
|
});
|
|
1260
1261
|
oe.displayName = "Slot";
|
|
1261
|
-
var
|
|
1262
|
+
var or = c.forwardRef((e, i) => {
|
|
1262
1263
|
const { children: a, ...o } = e;
|
|
1263
1264
|
if (c.isValidElement(a)) {
|
|
1264
1265
|
const p = Ga(a), r = Ma(o, a.props);
|
|
1265
|
-
return a.type !== c.Fragment && (r.ref = i ?
|
|
1266
|
+
return a.type !== c.Fragment && (r.ref = i ? ja(i, p) : p), c.cloneElement(a, r);
|
|
1266
1267
|
}
|
|
1267
1268
|
return c.Children.count(a) > 1 ? c.Children.only(null) : null;
|
|
1268
1269
|
});
|
|
1269
|
-
|
|
1270
|
-
var
|
|
1271
|
-
function
|
|
1272
|
-
return c.isValidElement(e) && e.type ===
|
|
1270
|
+
or.displayName = "SlotClone";
|
|
1271
|
+
var Ba = ({ children: e }) => /* @__PURE__ */ u(ur, { children: e });
|
|
1272
|
+
function Fa(e) {
|
|
1273
|
+
return c.isValidElement(e) && e.type === Ba;
|
|
1273
1274
|
}
|
|
1274
1275
|
function Ma(e, i) {
|
|
1275
1276
|
const a = { ...i };
|
|
@@ -1303,15 +1304,15 @@ var Za = [
|
|
|
1303
1304
|
"span",
|
|
1304
1305
|
"svg",
|
|
1305
1306
|
"ul"
|
|
1306
|
-
],
|
|
1307
|
+
], Ea = Za.reduce((e, i) => {
|
|
1307
1308
|
const a = c.forwardRef((o, p) => {
|
|
1308
1309
|
const { asChild: r, ...t } = o, n = r ? oe : i;
|
|
1309
1310
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u(n, { ...t, ref: p });
|
|
1310
1311
|
});
|
|
1311
1312
|
return a.displayName = `Primitive.${i}`, { ...e, [i]: a };
|
|
1312
|
-
}, {}),
|
|
1313
|
+
}, {}), qa = "VisuallyHidden", pe = c.forwardRef(
|
|
1313
1314
|
(e, i) => /* @__PURE__ */ u(
|
|
1314
|
-
|
|
1315
|
+
Ea.span,
|
|
1315
1316
|
{
|
|
1316
1317
|
...e,
|
|
1317
1318
|
ref: i,
|
|
@@ -1332,14 +1333,14 @@ var Za = [
|
|
|
1332
1333
|
}
|
|
1333
1334
|
)
|
|
1334
1335
|
);
|
|
1335
|
-
pe.displayName =
|
|
1336
|
+
pe.displayName = qa;
|
|
1336
1337
|
var za = pe;
|
|
1337
|
-
const
|
|
1338
|
+
const Pr = ({
|
|
1338
1339
|
asChild: e,
|
|
1339
1340
|
children: i,
|
|
1340
1341
|
className: a = "",
|
|
1341
1342
|
["data-testid"]: o
|
|
1342
|
-
}) => /* @__PURE__ */ u(za, { asChild: e, "data-testid": o, className: a, children: i }),
|
|
1343
|
+
}) => /* @__PURE__ */ u(za, { asChild: e, "data-testid": o, className: a, children: i }), Lr = h.bind(Na), N = "purpur-card-trigger-item", Ua = ({
|
|
1343
1344
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
1344
1345
|
disabled: i = !1,
|
|
1345
1346
|
href: a,
|
|
@@ -1355,7 +1356,7 @@ const Rr = ({
|
|
|
1355
1356
|
"a",
|
|
1356
1357
|
{
|
|
1357
1358
|
"aria-disabled": i,
|
|
1358
|
-
className: `${
|
|
1359
|
+
className: `${Lr([
|
|
1359
1360
|
N,
|
|
1360
1361
|
{
|
|
1361
1362
|
[`${N}--disabled`]: i
|
|
@@ -1365,14 +1366,14 @@ const Rr = ({
|
|
|
1365
1366
|
href: i ? void 0 : a,
|
|
1366
1367
|
tabIndex: i ? 0 : void 0,
|
|
1367
1368
|
onClick: r,
|
|
1368
|
-
children: /* @__PURE__ */ u(
|
|
1369
|
+
children: /* @__PURE__ */ u(Pr, { children: p })
|
|
1369
1370
|
}
|
|
1370
1371
|
)
|
|
1371
1372
|
) : /* @__PURE__ */ u(
|
|
1372
1373
|
"button",
|
|
1373
1374
|
{
|
|
1374
1375
|
"aria-disabled": i,
|
|
1375
|
-
className: `${
|
|
1376
|
+
className: `${Lr([
|
|
1376
1377
|
N,
|
|
1377
1378
|
`${N}--button`,
|
|
1378
1379
|
{
|
|
@@ -1382,10 +1383,10 @@ const Rr = ({
|
|
|
1382
1383
|
"data-testid": e,
|
|
1383
1384
|
type: "button",
|
|
1384
1385
|
onClick: r,
|
|
1385
|
-
children: /* @__PURE__ */ u(
|
|
1386
|
+
children: /* @__PURE__ */ u(Pr, { children: p })
|
|
1386
1387
|
}
|
|
1387
1388
|
);
|
|
1388
|
-
}, Ia = h.bind(Oa),
|
|
1389
|
+
}, Ia = h.bind(Oa), ar = "purpur-card-root", ue = J(
|
|
1389
1390
|
({
|
|
1390
1391
|
["data-testid"]: e = "purpur-card-root",
|
|
1391
1392
|
children: i,
|
|
@@ -1399,11 +1400,11 @@ const Rr = ({
|
|
|
1399
1400
|
...d
|
|
1400
1401
|
}, m) => {
|
|
1401
1402
|
const C = Ia([
|
|
1402
|
-
|
|
1403
|
+
ar,
|
|
1403
1404
|
a,
|
|
1404
1405
|
{
|
|
1405
|
-
[`${
|
|
1406
|
-
[`${
|
|
1406
|
+
[`${ar}--${l}`]: l,
|
|
1407
|
+
[`${ar}--full-height`]: p
|
|
1407
1408
|
}
|
|
1408
1409
|
]);
|
|
1409
1410
|
return /* @__PURE__ */ _("div", { className: C, "data-testid": e, ref: m, ...d, children: [
|
|
@@ -1421,19 +1422,19 @@ const Rr = ({
|
|
|
1421
1422
|
}
|
|
1422
1423
|
);
|
|
1423
1424
|
ue.displayName = "CardRoot";
|
|
1424
|
-
const
|
|
1425
|
-
const o =
|
|
1426
|
-
|
|
1425
|
+
const nr = h.bind(rt), W = "purpur-card", y = ({ children: e, className: i, ...a }) => {
|
|
1426
|
+
const o = nr([
|
|
1427
|
+
W,
|
|
1427
1428
|
i,
|
|
1428
1429
|
{
|
|
1429
|
-
[`${
|
|
1430
|
-
[`${
|
|
1430
|
+
[`${W}--is-interactive`]: a.onClick || a.href,
|
|
1431
|
+
[`${W}--disabled`]: a.disabled
|
|
1431
1432
|
}
|
|
1432
1433
|
]);
|
|
1433
|
-
return /* @__PURE__ */ u(ue, { className:
|
|
1434
|
+
return /* @__PURE__ */ u("div", { className: nr(`${W}__container`), children: /* @__PURE__ */ u(ue, { className: nr(o), ...a, children: e }) });
|
|
1434
1435
|
};
|
|
1435
1436
|
y.Badge = At;
|
|
1436
|
-
y.Content =
|
|
1437
|
+
y.Content = Bt;
|
|
1437
1438
|
y.ContentContainer = Gt;
|
|
1438
1439
|
y.Cta = Dt;
|
|
1439
1440
|
y.FeatureList = ua;
|
|
@@ -1501,7 +1502,7 @@ const Da = /* @__PURE__ */ Ra(La), Ha = {
|
|
|
1501
1502
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1502
1503
|
], o = i ? `<title>${i}</title>` : "";
|
|
1503
1504
|
return `<svg ${Wa(a)}>${o}${e}</svg>`;
|
|
1504
|
-
}, Ka = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(),
|
|
1505
|
+
}, Ka = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), pr = ({
|
|
1505
1506
|
["data-testid"]: e,
|
|
1506
1507
|
svg: i,
|
|
1507
1508
|
allyTitle: a,
|
|
@@ -1524,7 +1525,7 @@ const Da = /* @__PURE__ */ Ra(La), Ha = {
|
|
|
1524
1525
|
}
|
|
1525
1526
|
);
|
|
1526
1527
|
};
|
|
1527
|
-
|
|
1528
|
+
pr.displayName = "Icon";
|
|
1528
1529
|
const Ja = {
|
|
1529
1530
|
name: "arrow-left",
|
|
1530
1531
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 12a.9.9 0 0 1 .264-.636l5.5-5.5a.9.9 0 0 1 1.272 1.272L6.173 11.1H20a.9.9 0 0 1 0 1.8H6.173l3.963 3.964a.9.9 0 1 1-1.272 1.272l-5.5-5.5A.9.9 0 0 1 3.1 12Z" clip-rule="evenodd"/></svg>',
|
|
@@ -1604,12 +1605,12 @@ const n0 = /* @__PURE__ */ e0(a0), i0 = {
|
|
|
1604
1605
|
"purpur-cta-link--secondary-negative": "_purpur-cta-link--secondary-negative_1e75l_93",
|
|
1605
1606
|
"purpur-cta-link--expressive": "_purpur-cta-link--expressive_1e75l_104",
|
|
1606
1607
|
"purpur-cta-link--expressive-negative": "_purpur-cta-link--expressive-negative_1e75l_114"
|
|
1607
|
-
}, o0 = n0.bind(i0),
|
|
1608
|
+
}, o0 = n0.bind(i0), F = "purpur-cta-link", p0 = {
|
|
1608
1609
|
forward: Xa,
|
|
1609
1610
|
external: Qa,
|
|
1610
1611
|
back: Ja,
|
|
1611
1612
|
phone: r0
|
|
1612
|
-
}, le =
|
|
1613
|
+
}, le = J(
|
|
1613
1614
|
({
|
|
1614
1615
|
children: e,
|
|
1615
1616
|
className: i,
|
|
@@ -1623,28 +1624,28 @@ const n0 = /* @__PURE__ */ e0(a0), i0 = {
|
|
|
1623
1624
|
icon: d = "forward",
|
|
1624
1625
|
...m
|
|
1625
1626
|
}, C) => {
|
|
1626
|
-
const
|
|
1627
|
+
const j = o0(
|
|
1627
1628
|
[
|
|
1628
1629
|
i,
|
|
1629
|
-
|
|
1630
|
-
`${
|
|
1631
|
-
`${
|
|
1630
|
+
F,
|
|
1631
|
+
`${F}--${t ? `${l}-negative` : l}`,
|
|
1632
|
+
`${F}--${n}`
|
|
1632
1633
|
],
|
|
1633
1634
|
{
|
|
1634
|
-
[`${
|
|
1635
|
-
[`${
|
|
1636
|
-
[`${
|
|
1635
|
+
[`${F}--icon-only`]: p,
|
|
1636
|
+
[`${F}--negative`]: t,
|
|
1637
|
+
[`${F}--full-width`]: o
|
|
1637
1638
|
}
|
|
1638
|
-
), S = p0[d], f = /* @__PURE__ */ _(
|
|
1639
|
-
r && (d === "back" || d === "phone") && /* @__PURE__ */ u(
|
|
1639
|
+
), S = p0[d], f = /* @__PURE__ */ _(ur, { children: [
|
|
1640
|
+
r && (d === "back" || d === "phone") && /* @__PURE__ */ u(pr, { svg: S, size: n === "lg" ? "sm" : "xs" }),
|
|
1640
1641
|
(!p || p && !r) && e,
|
|
1641
|
-
r && (d === "forward" || d === "external") && /* @__PURE__ */ u(
|
|
1642
|
-
] }),
|
|
1642
|
+
r && (d === "forward" || d === "external") && /* @__PURE__ */ u(pr, { svg: S, size: n === "lg" ? "sm" : "xs" })
|
|
1643
|
+
] }), B = {
|
|
1643
1644
|
...m,
|
|
1644
|
-
className:
|
|
1645
|
+
className: j,
|
|
1645
1646
|
"data-testid": a
|
|
1646
1647
|
};
|
|
1647
|
-
return "href" in m && m.href ? /* @__PURE__ */ u("a", { ...
|
|
1648
|
+
return "href" in m && m.href ? /* @__PURE__ */ u("a", { ...B, ref: C, children: f }) : /* @__PURE__ */ u("span", { ...B, ref: C, children: f });
|
|
1648
1649
|
}
|
|
1649
1650
|
);
|
|
1650
1651
|
le.displayName = "CtaLink";
|
|
@@ -1691,7 +1692,7 @@ function l0() {
|
|
|
1691
1692
|
}(Yr)), Yr.exports;
|
|
1692
1693
|
}
|
|
1693
1694
|
var s0 = l0();
|
|
1694
|
-
const d0 = /* @__PURE__ */ u0(s0),
|
|
1695
|
+
const d0 = /* @__PURE__ */ u0(s0), Y = {
|
|
1695
1696
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1696
1697
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1697
1698
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1709,7 +1710,7 @@ const d0 = /* @__PURE__ */ u0(s0), W = {
|
|
|
1709
1710
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1710
1711
|
}, c0 = {
|
|
1711
1712
|
TITLE100: "title-100"
|
|
1712
|
-
},
|
|
1713
|
+
}, K = "purpur-heading", se = ({
|
|
1713
1714
|
["data-testid"]: e,
|
|
1714
1715
|
children: i,
|
|
1715
1716
|
className: a = "",
|
|
@@ -1721,11 +1722,11 @@ const d0 = /* @__PURE__ */ u0(s0), W = {
|
|
|
1721
1722
|
}) => {
|
|
1722
1723
|
const l = r, d = d0([
|
|
1723
1724
|
a,
|
|
1724
|
-
|
|
1725
|
-
|
|
1725
|
+
Y[K],
|
|
1726
|
+
Y[`${K}--${t}`],
|
|
1726
1727
|
{
|
|
1727
|
-
[
|
|
1728
|
-
[
|
|
1728
|
+
[Y[`${K}--hyphens`]]: o,
|
|
1729
|
+
[Y[`${K}--negative`]]: p
|
|
1729
1730
|
}
|
|
1730
1731
|
]);
|
|
1731
1732
|
return /* @__PURE__ */ u(l, { ...n, className: d, "data-testid": e, children: i });
|
|
@@ -1817,7 +1818,7 @@ de.displayName = "Paragraph";
|
|
|
1817
1818
|
function v0(e) {
|
|
1818
1819
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1819
1820
|
}
|
|
1820
|
-
var
|
|
1821
|
+
var ir = { exports: {} };
|
|
1821
1822
|
/*!
|
|
1822
1823
|
Copyright (c) 2018 Jed Watson.
|
|
1823
1824
|
Licensed under the MIT License (MIT), see
|
|
@@ -1854,7 +1855,7 @@ function y0() {
|
|
|
1854
1855
|
}
|
|
1855
1856
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1856
1857
|
})();
|
|
1857
|
-
}(
|
|
1858
|
+
}(ir)), ir.exports;
|
|
1858
1859
|
}
|
|
1859
1860
|
var w0 = y0();
|
|
1860
1861
|
const x0 = /* @__PURE__ */ v0(w0), b0 = {
|
|
@@ -1903,10 +1904,10 @@ const x0 = /* @__PURE__ */ v0(w0), b0 = {
|
|
|
1903
1904
|
actions: d,
|
|
1904
1905
|
children: m,
|
|
1905
1906
|
style: C,
|
|
1906
|
-
alignment:
|
|
1907
|
+
alignment: j = "space-between",
|
|
1907
1908
|
additionalText: S,
|
|
1908
1909
|
...f
|
|
1909
|
-
},
|
|
1910
|
+
}, B) => {
|
|
1910
1911
|
let k = f, v, L;
|
|
1911
1912
|
if ("decorativeImage" in f) {
|
|
1912
1913
|
const { hasGradient: w, decorativeImage: A, ...M } = f;
|
|
@@ -1923,7 +1924,7 @@ const x0 = /* @__PURE__ */ v0(w0), b0 = {
|
|
|
1923
1924
|
"--promotion-card-color": S0[i],
|
|
1924
1925
|
"--promotion-card-background-image": C0[i]
|
|
1925
1926
|
};
|
|
1926
|
-
return /* @__PURE__ */ u(y, { ref:
|
|
1927
|
+
return /* @__PURE__ */ u(y, { ref: B, className: g(`${s}__card`), children: /* @__PURE__ */ _(
|
|
1927
1928
|
"div",
|
|
1928
1929
|
{
|
|
1929
1930
|
"data-testid": e,
|
|
@@ -1962,7 +1963,7 @@ const x0 = /* @__PURE__ */ v0(w0), b0 = {
|
|
|
1962
1963
|
{
|
|
1963
1964
|
className: g(
|
|
1964
1965
|
`${s}__main-content`,
|
|
1965
|
-
`${s}__main-content--${
|
|
1966
|
+
`${s}__main-content--${j}`
|
|
1966
1967
|
),
|
|
1967
1968
|
children: [
|
|
1968
1969
|
/* @__PURE__ */ u(
|
|
@@ -2027,7 +2028,7 @@ const x0 = /* @__PURE__ */ v0(w0), b0 = {
|
|
|
2027
2028
|
]
|
|
2028
2029
|
}
|
|
2029
2030
|
) });
|
|
2030
|
-
}, A0 = (e) => "href" in e, O0 =
|
|
2031
|
+
}, A0 = (e) => "href" in e, O0 = J(k0);
|
|
2031
2032
|
O0.displayName = "PromotionCard";
|
|
2032
2033
|
export {
|
|
2033
2034
|
O0 as PromotionCard,
|