@purpurds/promotion-card 5.7.0 → 5.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.
@@ -54,12 +54,12 @@ const Cr = /* @__PURE__ */ xr(br), Sr = {
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
- }, Ar = {
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"],
61
61
  category: "status"
62
- }, kr = {
62
+ }, Ar = {
63
63
  name: "error",
64
64
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.354 3.05c.732-1.267 2.56-1.267 3.291 0l8.66 15c.732 1.267-.182 2.85-1.645 2.85H3.34c-1.463 0-2.377-1.583-1.646-2.85l8.66-15Zm1.595.862a.092.092 0 0 0-.036.038l-8.66 15a.092.092 0 0 0-.015.05c0 .014.005.032.015.05a.11.11 0 0 0 .036.038.09.09 0 0 0 .05.012H20.66a.088.088 0 0 0 .05-.012.106.106 0 0 0 .037-.038.105.105 0 0 0 .015-.05.092.092 0 0 0-.015-.05l-8.66-15a.092.092 0 0 0-.036-.038A.106.106 0 0 0 12 3.9a.105.105 0 0 0-.05.012Z" clip-rule="evenodd"/><path d="m12.523 14.922.412-6.25a.936.936 0 1 0-1.868 0l.421 6.25h1.035ZM12 17.52c.44 0 .826-.387.826-.815 0-.418-.387-.816-.826-.816-.428 0-.825.398-.825.816 0 .428.397.815.825.815Z"/><path fill-rule="evenodd" d="M12.691 15.096h-1.37l-.431-6.53a1 1 0 0 1 .997-1.066h.227a1 1 0 0 1 .998 1.064l-.42 6.532Zm.244-6.425a.936.936 0 1 0-1.868.002l.421 6.249h1.035l.412-6.25ZM13 16.706c0 .526-.466.99-1 .99-.522 0-1-.463-1-.99 0-.264.125-.51.304-.689.18-.178.429-.301.696-.301.536 0 1 .475 1 .99Zm-.174 0c0 .428-.387.815-.826.815-.428 0-.825-.387-.825-.815 0-.418.397-.816.825-.816.44 0 .826.398.826.816Z" clip-rule="evenodd"/></svg>',
65
65
  keywords: ["error"],
@@ -175,11 +175,11 @@ const Rr = /* @__PURE__ */ Ir(jr), q = {
175
175
  case m.INFORMATION:
176
176
  return Or;
177
177
  case m.SUCCESS:
178
- return Ar;
178
+ return kr;
179
179
  case m.WARNING:
180
180
  return Fr;
181
181
  case m.ERROR:
182
- return kr;
182
+ return Ar;
183
183
  case m.NEUTRAL:
184
184
  return $r;
185
185
  default:
@@ -521,7 +521,7 @@ var pr = { exports: {} };
521
521
  })();
522
522
  })(pr);
523
523
  var Se = pr.exports;
524
- const Fe = /* @__PURE__ */ Ce(Se), Ae = {
524
+ const Fe = /* @__PURE__ */ Ce(Se), 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",
@@ -529,7 +529,7 @@ const Fe = /* @__PURE__ */ Ce(Se), Ae = {
529
529
  "purpur-icon--md": "_purpur-icon--md_8u1lq_16",
530
530
  "purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
531
531
  "purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
532
- }, ke = {
532
+ }, Ae = {
533
533
  name: "arrow-right",
534
534
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.9 12a.9.9 0 0 1-.264.636l-5.5 5.5a.9.9 0 0 1-1.272-1.272l3.963-3.964H4a.9.9 0 0 1 0-1.8h13.827l-3.963-3.964a.9.9 0 1 1 1.272-1.272l5.5 5.5A.9.9 0 0 1 20.9 12Z" clip-rule="evenodd"/></svg>',
535
535
  keywords: ["arrow-right"],
@@ -543,7 +543,7 @@ const Fe = /* @__PURE__ */ Ce(Se), Ae = {
543
543
  ur,
544
544
  {
545
545
  ...e,
546
- svg: ke
546
+ svg: Ae
547
547
  }
548
548
  );
549
549
  lr.displayName = "IconArrowRight";
@@ -555,7 +555,7 @@ const sr = (e) => /* @__PURE__ */ l(
555
555
  }
556
556
  );
557
557
  sr.displayName = "IconCheckmark";
558
- const Be = Fe.bind(Ae), W = "purpur-icon", $e = "md", Ee = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), Ne = ({ content: e = "", title: o } = {}) => {
558
+ const Be = Fe.bind(ke), W = "purpur-icon", $e = "md", Ee = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), Ne = ({ 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" },
@@ -626,7 +626,7 @@ var dr = { exports: {} };
626
626
  })();
627
627
  })(dr);
628
628
  var Ze = dr.exports;
629
- const Ue = /* @__PURE__ */ Me(Ze), A = {
629
+ const Ue = /* @__PURE__ */ Me(Ze), k = {
630
630
  "purpur-paragraph": "_purpur-paragraph_1rh57_1",
631
631
  "purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
632
632
  "purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
@@ -652,7 +652,7 @@ const Ue = /* @__PURE__ */ Me(Ze), A = {
652
652
  ADDITIONAL100MEDIUM: "additional-100-medium",
653
653
  OVERLINE100: "overline-100",
654
654
  OVERLINE200: "overline-200"
655
- }, k = "purpur-paragraph", cr = ({
655
+ }, A = "purpur-paragraph", cr = ({
656
656
  ["data-testid"]: e,
657
657
  children: o,
658
658
  className: a = "",
@@ -664,12 +664,12 @@ const Ue = /* @__PURE__ */ Me(Ze), A = {
664
664
  }) => {
665
665
  const u = Ue([
666
666
  a,
667
- A[k],
668
- A[`${k}--${t}`],
667
+ k[A],
668
+ k[`${A}--${t}`],
669
669
  {
670
- [A[`${k}--hyphens`]]: p,
671
- [A[`${k}--disabled`]]: n,
672
- [A[`${k}--negative`]]: r
670
+ [k[`${A}--hyphens`]]: p,
671
+ [k[`${A}--disabled`]]: n,
672
+ [k[`${A}--negative`]]: r
673
673
  }
674
674
  ]);
675
675
  return /* @__PURE__ */ l("p", { ...i, className: u, "data-testid": e, children: o });