@purpurds/promotion-card 5.10.0 → 5.11.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.
|
@@ -49,12 +49,12 @@ const Sr = /* @__PURE__ */ br(Cr), Fr = {
|
|
|
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
|
+
}, Ar = {
|
|
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"],
|
|
56
56
|
category: "status"
|
|
57
|
-
},
|
|
57
|
+
}, kr = {
|
|
58
58
|
name: "check-circle",
|
|
59
59
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.487 9.514a.872.872 0 1 0-1.42-1.014l-4.248 5.948-2.18-2.18a.872.872 0 0 0-1.233 1.234l2.908 2.908a.872.872 0 0 0 1.326-.11l4.847-6.786Z"/><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>',
|
|
60
60
|
keywords: ["check-circle"],
|
|
@@ -175,9 +175,9 @@ const Dr = /* @__PURE__ */ jr(Rr), T = {
|
|
|
175
175
|
case m.INFORMATION:
|
|
176
176
|
return Br;
|
|
177
177
|
case m.SUCCESS:
|
|
178
|
-
return Ar;
|
|
179
|
-
case m.WARNING:
|
|
180
178
|
return kr;
|
|
179
|
+
case m.WARNING:
|
|
180
|
+
return Ar;
|
|
181
181
|
case m.ERROR:
|
|
182
182
|
return Or;
|
|
183
183
|
case m.NEUTRAL:
|
|
@@ -521,7 +521,7 @@ var lr = { exports: {} };
|
|
|
521
521
|
})();
|
|
522
522
|
})(lr);
|
|
523
523
|
var Fe = lr.exports;
|
|
524
|
-
const
|
|
524
|
+
const Ae = /* @__PURE__ */ Se(Fe), ke = {
|
|
525
525
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
526
526
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
527
527
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -555,7 +555,7 @@ const ur = (e) => /* @__PURE__ */ l(
|
|
|
555
555
|
}
|
|
556
556
|
);
|
|
557
557
|
ur.displayName = "IconCheckmark";
|
|
558
|
-
const $e =
|
|
558
|
+
const $e = Ae.bind(ke), X = "purpur-icon", Ee = "md", Ge = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), Me = ({ content: e = "", title: o } = {}) => {
|
|
559
559
|
const a = [
|
|
560
560
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
561
561
|
{ name: "fill", value: "currentColor" },
|
|
@@ -652,7 +652,7 @@ const Ie = /* @__PURE__ */ Ze(Ue), F = {
|
|
|
652
652
|
ADDITIONAL100MEDIUM: "additional-100-medium",
|
|
653
653
|
OVERLINE100: "overline-100",
|
|
654
654
|
OVERLINE200: "overline-200"
|
|
655
|
-
},
|
|
655
|
+
}, A = "purpur-paragraph", _r = ({
|
|
656
656
|
["data-testid"]: e,
|
|
657
657
|
children: o,
|
|
658
658
|
className: a = "",
|
|
@@ -664,12 +664,12 @@ const Ie = /* @__PURE__ */ Ze(Ue), F = {
|
|
|
664
664
|
}) => {
|
|
665
665
|
const u = Ie([
|
|
666
666
|
a,
|
|
667
|
-
F[
|
|
668
|
-
F[`${
|
|
667
|
+
F[A],
|
|
668
|
+
F[`${A}--${t}`],
|
|
669
669
|
{
|
|
670
|
-
[F[`${
|
|
671
|
-
[F[`${
|
|
672
|
-
[F[`${
|
|
670
|
+
[F[`${A}--hyphens`]]: p,
|
|
671
|
+
[F[`${A}--disabled`]]: n,
|
|
672
|
+
[F[`${A}--negative`]]: r
|
|
673
673
|
}
|
|
674
674
|
]);
|
|
675
675
|
return /* @__PURE__ */ l("p", { ...i, className: u, "data-testid": e, children: o });
|
|
@@ -731,7 +731,7 @@ var fr = { exports: {} };
|
|
|
731
731
|
})();
|
|
732
732
|
})(fr);
|
|
733
733
|
var qe = fr.exports;
|
|
734
|
-
const Q = /* @__PURE__ */ Le(qe), Te = "_rotate_1xozj_1", Pe = "_dash_1xozj_1",
|
|
734
|
+
const Q = /* @__PURE__ */ Le(qe), Te = "_rotate_1xozj_1", Pe = "_dash_1xozj_1", k = {
|
|
735
735
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
736
736
|
rotate: Te,
|
|
737
737
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
@@ -758,15 +758,15 @@ const Q = /* @__PURE__ */ Le(qe), Te = "_rotate_1xozj_1", Pe = "_dash_1xozj_1",
|
|
|
758
758
|
}) => /* @__PURE__ */ l(
|
|
759
759
|
"div",
|
|
760
760
|
{
|
|
761
|
-
className: Q([
|
|
761
|
+
className: Q([k[O], k[`${O}--${n}`]]),
|
|
762
762
|
"data-testid": e,
|
|
763
763
|
...p,
|
|
764
764
|
children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
765
765
|
"circle",
|
|
766
766
|
{
|
|
767
|
-
className: Q(
|
|
768
|
-
[
|
|
769
|
-
[
|
|
767
|
+
className: Q(k[`${O}__circle`], {
|
|
768
|
+
[k[`${O}__circle--disabled`]]: o,
|
|
769
|
+
[k[`${O}__circle--negative`]]: a
|
|
770
770
|
}),
|
|
771
771
|
cx: "25",
|
|
772
772
|
cy: "25",
|