@purpurds/notification 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.
@@ -89,7 +89,7 @@ const q = /* @__PURE__ */ G(Z), H = "_rotate_1xozj_1", V = "_dash_1xozj_1", h =
89
89
  ) })
90
90
  }
91
91
  );
92
- function X(e) {
92
+ function W(e) {
93
93
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
94
94
  }
95
95
  var M = { exports: {} };
@@ -128,8 +128,8 @@ var M = { exports: {} };
128
128
  e.exports ? (u.default = u, e.exports = u) : window.classNames = u;
129
129
  })();
130
130
  })(M);
131
- var W = M.exports;
132
- const Y = /* @__PURE__ */ X(W), J = {
131
+ var X = M.exports;
132
+ const Y = /* @__PURE__ */ W(X), J = {
133
133
  "purpur-button": "_purpur-button_u2yv5_1",
134
134
  "purpur-button--sm": "_purpur-button--sm_u2yv5_33",
135
135
  "purpur-button--icon-only": "_purpur-button--icon-only_u2yv5_36",
@@ -164,7 +164,7 @@ const Y = /* @__PURE__ */ X(W), J = {
164
164
  variant: o,
165
165
  type: g = "button",
166
166
  ...x
167
- }, O) => {
167
+ }, S) => {
168
168
  if (r && o === "destructive")
169
169
  return null;
170
170
  const D = K(
@@ -189,7 +189,7 @@ const Y = /* @__PURE__ */ X(W), J = {
189
189
  className: D,
190
190
  "data-testid": u,
191
191
  type: g,
192
- ref: O,
192
+ ref: S,
193
193
  "aria-disabled": A,
194
194
  onClick: B,
195
195
  ...x,
@@ -267,7 +267,7 @@ const er = /* @__PURE__ */ rr(tr), $ = {
267
267
  TITLE600: "title-600",
268
268
  TITLE700: "title-700",
269
269
  SUBSECTION100: "subsection-100"
270
- }, S = "purpur-heading", ur = ({
270
+ }, O = "purpur-heading", ur = ({
271
271
  ["data-testid"]: e,
272
272
  children: p,
273
273
  className: u = "",
@@ -279,11 +279,11 @@ const er = /* @__PURE__ */ rr(tr), $ = {
279
279
  }) => {
280
280
  const c = r, d = er([
281
281
  u,
282
- $[S],
283
- $[`${S}--${t}`],
282
+ $[O],
283
+ $[`${O}--${t}`],
284
284
  {
285
- [$[`${S}--hyphens`]]: a,
286
- [$[`${S}--negative`]]: i
285
+ [$[`${O}--hyphens`]]: a,
286
+ [$[`${O}--negative`]]: i
287
287
  }
288
288
  ]);
289
289
  return /* @__PURE__ */ s(c, { ...n, className: d, "data-testid": e, children: p });
@@ -480,7 +480,7 @@ const wr = /* @__PURE__ */ mr(br), y = {
480
480
  ]);
481
481
  return /* @__PURE__ */ s("p", { ...n, className: c, "data-testid": e, children: p });
482
482
  };
483
- function Sr(e) {
483
+ function Or(e) {
484
484
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
485
485
  }
486
486
  var C = { exports: {} };
@@ -519,8 +519,8 @@ var C = { exports: {} };
519
519
  e.exports ? (u.default = u, e.exports = u) : window.classNames = u;
520
520
  })();
521
521
  })(C);
522
- var Or = C.exports;
523
- const Ar = /* @__PURE__ */ Sr(Or), l = {
522
+ var Sr = C.exports;
523
+ const Ar = /* @__PURE__ */ Or(Sr), l = {
524
524
  "purpur-notification": "_purpur-notification_10qwf_1",
525
525
  "purpur-notification__top": "_purpur-notification__top_10qwf_14",
526
526
  "purpur-notification__header": "_purpur-notification__header_10qwf_20",
@@ -571,7 +571,7 @@ const Ar = /* @__PURE__ */ Sr(Or), l = {
571
571
  id: o,
572
572
  onClose: g,
573
573
  ...x
574
- }, O) => /* @__PURE__ */ b(
574
+ }, S) => /* @__PURE__ */ b(
575
575
  "div",
576
576
  {
577
577
  id: o,
@@ -584,7 +584,7 @@ const Ar = /* @__PURE__ */ Sr(Or), l = {
584
584
  [l[`${_}--has-close-button`]]: !!g
585
585
  }),
586
586
  "data-testid": e,
587
- ref: O,
587
+ ref: S,
588
588
  role: t,
589
589
  ...x,
590
590
  children: [