nectiasw 0.0.4 → 0.0.5

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/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { Item, Text, Error, Success, Subtitle, Description, } from './components/Text';
1
+ export { Item, Text, Error, Title, Success, Subtitle, Description, } from './components/Text';
2
2
  export { Button } from './components/Button';
3
3
  export type { ButtonProps } from './components/Button';
4
4
  export type { CommonTextProps } from './components/Text';
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import j from "react";
1
+ import P from "react";
2
2
  var te = { exports: {} }, L = {};
3
3
  /**
4
4
  * @license React
@@ -13,13 +13,13 @@ var je;
13
13
  function gr() {
14
14
  if (je) return L;
15
15
  je = 1;
16
- var r = j, l = Symbol.for("react.element"), f = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, T = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, V = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function N(w, g, k) {
18
- var b, _ = {}, O = null, U = null;
19
- k !== void 0 && (O = "" + k), g.key !== void 0 && (O = "" + g.key), g.ref !== void 0 && (U = g.ref);
16
+ var r = P, s = Symbol.for("react.element"), f = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, T = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, V = { key: !0, ref: !0, __self: !0, __source: !0 };
17
+ function N(O, g, D) {
18
+ var b, _ = {}, S = null, U = null;
19
+ D !== void 0 && (S = "" + D), g.key !== void 0 && (S = "" + g.key), g.ref !== void 0 && (U = g.ref);
20
20
  for (b in g) c.call(g, b) && !V.hasOwnProperty(b) && (_[b] = g[b]);
21
- if (w && w.defaultProps) for (b in g = w.defaultProps, g) _[b] === void 0 && (_[b] = g[b]);
22
- return { $$typeof: l, type: w, key: O, ref: U, props: _, _owner: T.current };
21
+ if (O && O.defaultProps) for (b in g = O.defaultProps, g) _[b] === void 0 && (_[b] = g[b]);
22
+ return { $$typeof: s, type: O, key: S, ref: U, props: _, _owner: T.current };
23
23
  }
24
24
  return L.Fragment = f, L.jsx = N, L.jsxs = N, L;
25
25
  }
@@ -36,14 +36,14 @@ var M = {};
36
36
  var Pe;
37
37
  function hr() {
38
38
  return Pe || (Pe = 1, process.env.NODE_ENV !== "production" && function() {
39
- var r = j, l = Symbol.for("react.element"), f = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), T = Symbol.for("react.strict_mode"), V = Symbol.for("react.profiler"), N = Symbol.for("react.provider"), w = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), U = Symbol.for("react.offscreen"), ne = Symbol.iterator, $e = "@@iterator";
39
+ var r = P, s = Symbol.for("react.element"), f = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), T = Symbol.for("react.strict_mode"), V = Symbol.for("react.profiler"), N = Symbol.for("react.provider"), O = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), D = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), U = Symbol.for("react.offscreen"), ne = Symbol.iterator, $e = "@@iterator";
40
40
  function Ae(e) {
41
41
  if (e === null || typeof e != "object")
42
42
  return null;
43
43
  var t = ne && e[ne] || e[$e];
44
44
  return typeof t == "function" ? t : null;
45
45
  }
46
- var D = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
46
+ var $ = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
47
  function m(e) {
48
48
  {
49
49
  for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
@@ -53,18 +53,18 @@ function hr() {
53
53
  }
54
54
  function Fe(e, t, n) {
55
55
  {
56
- var a = D.ReactDebugCurrentFrame, u = a.getStackAddendum();
56
+ var a = $.ReactDebugCurrentFrame, u = a.getStackAddendum();
57
57
  u !== "" && (t += "%s", n = n.concat([u]));
58
- var s = n.map(function(o) {
58
+ var l = n.map(function(o) {
59
59
  return String(o);
60
60
  });
61
- s.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, s);
61
+ l.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, l);
62
62
  }
63
63
  }
64
64
  var Ne = !1, Ie = !1, We = !1, Ye = !1, Le = !1, ae;
65
65
  ae = Symbol.for("react.module.reference");
66
66
  function Me(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === V || Le || e === T || e === k || e === b || Ye || e === U || Ne || Ie || We || typeof e == "object" && e !== null && (e.$$typeof === O || e.$$typeof === _ || e.$$typeof === N || e.$$typeof === w || e.$$typeof === g || // This needs to include all possible module reference object
67
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === V || Le || e === T || e === D || e === b || Ye || e === U || Ne || Ie || We || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === _ || e.$$typeof === N || e.$$typeof === O || e.$$typeof === g || // This needs to include all possible module reference object
68
68
  // types supported by any Flight configuration anywhere since
69
69
  // we don't know which Flight build this will end up being used
70
70
  // with.
@@ -96,14 +96,14 @@ function hr() {
96
96
  return "Profiler";
97
97
  case T:
98
98
  return "StrictMode";
99
- case k:
99
+ case D:
100
100
  return "Suspense";
101
101
  case b:
102
102
  return "SuspenseList";
103
103
  }
104
104
  if (typeof e == "object")
105
105
  switch (e.$$typeof) {
106
- case w:
106
+ case O:
107
107
  var t = e;
108
108
  return ie(t) + ".Consumer";
109
109
  case N:
@@ -114,10 +114,10 @@ function hr() {
114
114
  case _:
115
115
  var a = e.displayName || null;
116
116
  return a !== null ? a : R(e.type) || "Memo";
117
- case O: {
118
- var u = e, s = u._payload, o = u._init;
117
+ case S: {
118
+ var u = e, l = u._payload, o = u._init;
119
119
  try {
120
- return R(o(s));
120
+ return R(o(l));
121
121
  } catch {
122
122
  return null;
123
123
  }
@@ -125,7 +125,7 @@ function hr() {
125
125
  }
126
126
  return null;
127
127
  }
128
- var S = Object.assign, I = 0, oe, ue, se, le, ce, fe, de;
128
+ var C = Object.assign, I = 0, oe, ue, se, le, ce, fe, de;
129
129
  function ve() {
130
130
  }
131
131
  ve.__reactDisabledLog = !0;
@@ -161,25 +161,25 @@ function hr() {
161
161
  writable: !0
162
162
  };
163
163
  Object.defineProperties(console, {
164
- log: S({}, e, {
164
+ log: C({}, e, {
165
165
  value: oe
166
166
  }),
167
- info: S({}, e, {
167
+ info: C({}, e, {
168
168
  value: ue
169
169
  }),
170
- warn: S({}, e, {
170
+ warn: C({}, e, {
171
171
  value: se
172
172
  }),
173
- error: S({}, e, {
173
+ error: C({}, e, {
174
174
  value: le
175
175
  }),
176
- group: S({}, e, {
176
+ group: C({}, e, {
177
177
  value: ce
178
178
  }),
179
- groupCollapsed: S({}, e, {
179
+ groupCollapsed: C({}, e, {
180
180
  value: fe
181
181
  }),
182
- groupEnd: S({}, e, {
182
+ groupEnd: C({}, e, {
183
183
  value: de
184
184
  })
185
185
  });
@@ -187,7 +187,7 @@ function hr() {
187
187
  I < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
188
  }
189
189
  }
190
- var q = D.ReactCurrentDispatcher, G;
190
+ var q = $.ReactCurrentDispatcher, G;
191
191
  function z(e, t, n) {
192
192
  {
193
193
  if (G === void 0)
@@ -218,8 +218,8 @@ function hr() {
218
218
  X = !0;
219
219
  var u = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
- var s;
222
- s = q.current, q.current = null, Ue();
221
+ var l;
222
+ l = q.current, q.current = null, Ue();
223
223
  try {
224
224
  if (t) {
225
225
  var o = function() {
@@ -272,10 +272,10 @@ function hr() {
272
272
  }
273
273
  }
274
274
  } finally {
275
- X = !1, q.current = s, ze(), Error.prepareStackTrace = u;
275
+ X = !1, q.current = l, ze(), Error.prepareStackTrace = u;
276
276
  }
277
- var A = e ? e.displayName || e.name : "", C = A ? z(A) : "";
278
- return typeof e == "function" && B.set(e, C), C;
277
+ var F = e ? e.displayName || e.name : "", j = F ? z(F) : "";
278
+ return typeof e == "function" && B.set(e, j), j;
279
279
  }
280
280
  function Je(e, t, n) {
281
281
  return me(e, !1);
@@ -292,7 +292,7 @@ function hr() {
292
292
  if (typeof e == "string")
293
293
  return z(e);
294
294
  switch (e) {
295
- case k:
295
+ case D:
296
296
  return z("Suspense");
297
297
  case b:
298
298
  return z("SuspenseList");
@@ -303,17 +303,17 @@ function hr() {
303
303
  return Je(e.render);
304
304
  case _:
305
305
  return J(e.type, t, n);
306
- case O: {
307
- var a = e, u = a._payload, s = a._init;
306
+ case S: {
307
+ var a = e, u = a._payload, l = a._init;
308
308
  try {
309
- return J(s(u), t, n);
309
+ return J(l(u), t, n);
310
310
  } catch {
311
311
  }
312
312
  }
313
313
  }
314
314
  return "";
315
315
  }
316
- var W = Object.prototype.hasOwnProperty, ge = {}, he = D.ReactDebugCurrentFrame;
316
+ var W = Object.prototype.hasOwnProperty, ge = {}, he = $.ReactDebugCurrentFrame;
317
317
  function K(e) {
318
318
  if (e) {
319
319
  var t = e._owner, n = J(e.type, e._source, t ? t.type : null);
@@ -323,9 +323,9 @@ function hr() {
323
323
  }
324
324
  function qe(e, t, n, a, u) {
325
325
  {
326
- var s = Function.call.bind(W);
326
+ var l = Function.call.bind(W);
327
327
  for (var o in e)
328
- if (s(e, o)) {
328
+ if (l(e, o)) {
329
329
  var i = void 0;
330
330
  try {
331
331
  if (typeof e[o] != "function") {
@@ -364,7 +364,7 @@ function hr() {
364
364
  if (He(e))
365
365
  return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Xe(e)), ye(e);
366
366
  }
367
- var Y = D.ReactCurrentOwner, Ze = {
367
+ var Y = $.ReactCurrentOwner, Ze = {
368
368
  key: !0,
369
369
  ref: !0,
370
370
  __self: !0,
@@ -415,17 +415,17 @@ function hr() {
415
415
  });
416
416
  }
417
417
  }
418
- var nr = function(e, t, n, a, u, s, o) {
418
+ var nr = function(e, t, n, a, u, l, o) {
419
419
  var i = {
420
420
  // This tag allows us to uniquely identify this as a React Element
421
- $$typeof: l,
421
+ $$typeof: s,
422
422
  // Built-in properties that belong on the element
423
423
  type: e,
424
424
  key: t,
425
425
  ref: n,
426
426
  props: o,
427
427
  // Record the component responsible for creating this element.
428
- _owner: s
428
+ _owner: l
429
429
  };
430
430
  return i._store = {}, Object.defineProperty(i._store, "validated", {
431
431
  configurable: !1,
@@ -446,14 +446,14 @@ function hr() {
446
446
  };
447
447
  function ar(e, t, n, a, u) {
448
448
  {
449
- var s, o = {}, i = null, h = null;
449
+ var l, o = {}, i = null, h = null;
450
450
  n !== void 0 && (be(n), i = "" + n), pe(t) && (be(t.key), i = "" + t.key), Qe(t) && (h = t.ref, er(t, u));
451
- for (s in t)
452
- W.call(t, s) && !Ze.hasOwnProperty(s) && (o[s] = t[s]);
451
+ for (l in t)
452
+ W.call(t, l) && !Ze.hasOwnProperty(l) && (o[l] = t[l]);
453
453
  if (e && e.defaultProps) {
454
454
  var d = e.defaultProps;
455
- for (s in d)
456
- o[s] === void 0 && (o[s] = d[s]);
455
+ for (l in d)
456
+ o[l] === void 0 && (o[l] = d[l]);
457
457
  }
458
458
  if (i || h) {
459
459
  var v = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
@@ -462,8 +462,8 @@ function hr() {
462
462
  return nr(e, i, h, u, a, Y.current, o);
463
463
  }
464
464
  }
465
- var Q = D.ReactCurrentOwner, _e = D.ReactDebugCurrentFrame;
466
- function $(e) {
465
+ var Q = $.ReactCurrentOwner, _e = $.ReactDebugCurrentFrame;
466
+ function A(e) {
467
467
  if (e) {
468
468
  var t = e._owner, n = J(e.type, e._source, t ? t.type : null);
469
469
  _e.setExtraStackFrame(n);
@@ -473,7 +473,7 @@ function hr() {
473
473
  var p;
474
474
  p = !1;
475
475
  function ee(e) {
476
- return typeof e == "object" && e !== null && e.$$typeof === l;
476
+ return typeof e == "object" && e !== null && e.$$typeof === s;
477
477
  }
478
478
  function xe() {
479
479
  {
@@ -513,7 +513,7 @@ Check the top-level render call using <` + n + ">.");
513
513
  return;
514
514
  Te[n] = !0;
515
515
  var a = "";
516
- e && e._owner && e._owner !== Q.current && (a = " It was passed a child from " + R(e._owner.type) + "."), $(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, a), $(null);
516
+ e && e._owner && e._owner !== Q.current && (a = " It was passed a child from " + R(e._owner.type) + "."), A(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, a), A(null);
517
517
  }
518
518
  }
519
519
  function Oe(e, t) {
@@ -530,7 +530,7 @@ Check the top-level render call using <` + n + ">.");
530
530
  else if (e) {
531
531
  var u = Ae(e);
532
532
  if (typeof u == "function" && u !== e.entries)
533
- for (var s = u.call(e), o; !(o = s.next()).done; )
533
+ for (var l = u.call(e), o; !(o = l.next()).done; )
534
534
  ee(o.value) && we(o.value, t);
535
535
  }
536
536
  }
@@ -565,15 +565,15 @@ Check the top-level render call using <` + n + ">.");
565
565
  for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
566
566
  var a = t[n];
567
567
  if (a !== "children" && a !== "key") {
568
- $(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), $(null);
568
+ A(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), A(null);
569
569
  break;
570
570
  }
571
571
  }
572
- e.ref !== null && ($(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), $(null));
572
+ e.ref !== null && (A(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), A(null));
573
573
  }
574
574
  }
575
575
  var Se = {};
576
- function Ce(e, t, n, a, u, s) {
576
+ function Ce(e, t, n, a, u, l) {
577
577
  {
578
578
  var o = Me(e);
579
579
  if (!o) {
@@ -582,9 +582,9 @@ Check the top-level render call using <` + n + ">.");
582
582
  var h = ir();
583
583
  h ? i += h : i += xe();
584
584
  var d;
585
- e === null ? d = "null" : H(e) ? d = "array" : e !== void 0 && e.$$typeof === l ? (d = "<" + (R(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : d = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", d, i);
585
+ e === null ? d = "null" : H(e) ? d = "array" : e !== void 0 && e.$$typeof === s ? (d = "<" + (R(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : d = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", d, i);
586
586
  }
587
- var v = ar(e, t, n, u, s);
587
+ var v = ar(e, t, n, u, l);
588
588
  if (v == null)
589
589
  return v;
590
590
  if (o) {
@@ -592,8 +592,8 @@ Check the top-level render call using <` + n + ">.");
592
592
  if (E !== void 0)
593
593
  if (a)
594
594
  if (H(E)) {
595
- for (var A = 0; A < E.length; A++)
596
- Oe(E[A], e);
595
+ for (var F = 0; F < E.length; F++)
596
+ Oe(E[F], e);
597
597
  Object.freeze && Object.freeze(E);
598
598
  } else
599
599
  m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
@@ -601,17 +601,17 @@ Check the top-level render call using <` + n + ">.");
601
601
  Oe(E, e);
602
602
  }
603
603
  if (W.call(t, "key")) {
604
- var C = R(e), y = Object.keys(t).filter(function(mr) {
604
+ var j = R(e), y = Object.keys(t).filter(function(mr) {
605
605
  return mr !== "key";
606
606
  }), re = y.length > 0 ? "{key: someKey, " + y.join(": ..., ") + ": ...}" : "{key: someKey}";
607
- if (!Se[C + re]) {
607
+ if (!Se[j + re]) {
608
608
  var vr = y.length > 0 ? "{" + y.join(": ..., ") + ": ...}" : "{}";
609
609
  m(`A props object containing a "key" prop is being spread into JSX:
610
610
  let props = %s;
611
611
  <%s {...props} />
612
612
  React keys must be passed directly to JSX without using spread:
613
613
  let props = %s;
614
- <%s key={someKey} {...props} />`, re, C, vr, C), Se[C + re] = !0;
614
+ <%s key={someKey} {...props} />`, re, j, vr, j), Se[j + re] = !0;
615
615
  }
616
616
  }
617
617
  return e === c ? sr(v) : ur(v), v;
@@ -628,18 +628,18 @@ React keys must be passed directly to JSX without using spread:
628
628
  }()), M;
629
629
  }
630
630
  process.env.NODE_ENV === "production" ? te.exports = gr() : te.exports = hr();
631
- var P = te.exports;
631
+ var w = te.exports;
632
632
  function ke(r) {
633
- var l, f, c = "";
633
+ var s, f, c = "";
634
634
  if (typeof r == "string" || typeof r == "number") c += r;
635
635
  else if (typeof r == "object") if (Array.isArray(r)) {
636
636
  var T = r.length;
637
- for (l = 0; l < T; l++) r[l] && (f = ke(r[l])) && (c && (c += " "), c += f);
637
+ for (s = 0; s < T; s++) r[s] && (f = ke(r[s])) && (c && (c += " "), c += f);
638
638
  } else for (f in r) r[f] && (c && (c += " "), c += f);
639
639
  return c;
640
640
  }
641
- function F() {
642
- for (var r, l, f = 0, c = "", T = arguments.length; f < T; f++) (r = arguments[f]) && (l = ke(r)) && (c && (c += " "), c += l);
641
+ function k() {
642
+ for (var r, s, f = 0, c = "", T = arguments.length; f < T; f++) (r = arguments[f]) && (s = ke(r)) && (c && (c += " "), c += s);
643
643
  return c;
644
644
  }
645
645
  const x = {
@@ -664,10 +664,10 @@ const x = {
664
664
  show: "opacity-100",
665
665
  hide: "opacity-0"
666
666
  }
667
- }, yr = (r) => r != null && r.tag ? j.createElement(
667
+ }, yr = (r) => r != null && r.tag ? P.createElement(
668
668
  r.tag,
669
669
  {
670
- className: F(
670
+ className: k(
671
671
  "m-0 p-0",
672
672
  r.sans && "font-sans",
673
673
  r.className && r.className,
@@ -680,10 +680,10 @@ const x = {
680
680
  )
681
681
  },
682
682
  r.children
683
- ) : /* @__PURE__ */ P.jsx(
683
+ ) : /* @__PURE__ */ w.jsx(
684
684
  "p",
685
685
  {
686
- className: F(
686
+ className: k(
687
687
  "m-0 p-0",
688
688
  r.sans && "font-sans",
689
689
  r.className && r.className,
@@ -703,42 +703,53 @@ yr.defaultProps = {
703
703
  font: "medium"
704
704
  };
705
705
  const br = ({
706
- size: r,
707
- color: l,
706
+ color: r,
707
+ size: s,
708
708
  font: f,
709
709
  children: c
710
- }) => /* @__PURE__ */ P.jsx("h2", { className: F(`text-${r}`, `text-${l}`, `font-${f}`), children: c });
710
+ }) => /* @__PURE__ */ w.jsx("h1", { className: k(`text-${s}`, `text-${r}`, `font-${f}`), children: c });
711
711
  br.defaultProps = {
712
+ color: "info",
713
+ size: "4xl",
714
+ font: "bold"
715
+ };
716
+ const Er = ({
717
+ size: r,
718
+ color: s,
719
+ font: f,
720
+ children: c
721
+ }) => /* @__PURE__ */ w.jsx("h2", { className: k(`text-${r}`, `text-${s}`, `font-${f}`), children: c });
722
+ Er.defaultProps = {
712
723
  color: "info",
713
724
  size: "xl",
714
725
  font: "normal"
715
726
  };
716
- const Rr = ({ children: r }) => /* @__PURE__ */ P.jsx("h2", { className: x.inscription.title, children: r }), _r = ({
727
+ const _r = ({ children: r }) => /* @__PURE__ */ w.jsx("h2", { className: x.inscription.title, children: r }), xr = ({
717
728
  content: r,
718
- children: l
719
- }) => /* @__PURE__ */ P.jsx(
729
+ children: s
730
+ }) => /* @__PURE__ */ w.jsx(
720
731
  "h3",
721
732
  {
722
- className: F(
733
+ className: k(
723
734
  x.container.description,
724
735
  r && x.container.content
725
736
  ),
726
- children: l
737
+ children: s
727
738
  }
728
- ), xr = (r) => {
729
- const l = j.useRef(!0);
730
- return j.useEffect(() => {
739
+ ), Tr = (r) => {
740
+ const s = P.useRef(!0);
741
+ return P.useEffect(() => {
731
742
  if (r != null && r.onDismiss)
732
743
  return window == null || window.setTimeout(() => {
733
744
  var f;
734
- l.current && ((f = r == null ? void 0 : r.onDismiss) == null || f.call(r));
745
+ s.current && ((f = r == null ? void 0 : r.onDismiss) == null || f.call(r));
735
746
  }, De), () => {
736
- l.current = !1;
747
+ s.current = !1;
737
748
  };
738
- }, [r == null ? void 0 : r.onDismiss]), /* @__PURE__ */ P.jsx(
749
+ }, [r == null ? void 0 : r.onDismiss]), /* @__PURE__ */ w.jsx(
739
750
  "span",
740
751
  {
741
- className: F(
752
+ className: k(
742
753
  x.success.confirmation,
743
754
  (r == null ? void 0 : r.className) && r.className,
744
755
  r != null && r.confirmation ? x.success.show : x.success.hide
@@ -746,20 +757,20 @@ const Rr = ({ children: r }) => /* @__PURE__ */ P.jsx("h2", { className: x.inscr
746
757
  children: r.children
747
758
  }
748
759
  );
749
- }, Tr = (r) => {
750
- const l = j.useRef(!0);
751
- return j.useEffect(() => {
760
+ }, wr = (r) => {
761
+ const s = P.useRef(!0);
762
+ return P.useEffect(() => {
752
763
  if (r != null && r.onDismiss)
753
764
  return window == null || window.setTimeout(() => {
754
765
  var f;
755
- l.current && ((f = r == null ? void 0 : r.onDismiss) == null || f.call(r));
766
+ s.current && ((f = r == null ? void 0 : r.onDismiss) == null || f.call(r));
756
767
  }, De), () => {
757
- l.current = !1;
768
+ s.current = !1;
758
769
  };
759
- }, [r == null ? void 0 : r.onDismiss]), /* @__PURE__ */ P.jsx(
770
+ }, [r == null ? void 0 : r.onDismiss]), /* @__PURE__ */ w.jsx(
760
771
  "span",
761
772
  {
762
- className: F(
773
+ className: k(
763
774
  x.error.confirmation,
764
775
  (r == null ? void 0 : r.className) && r.className,
765
776
  r != null && r.confirmation ? x.error.show : x.error.hide
@@ -767,14 +778,15 @@ const Rr = ({ children: r }) => /* @__PURE__ */ P.jsx("h2", { className: x.inscr
767
778
  children: (r == null ? void 0 : r.confirmation) && r.children
768
779
  }
769
780
  );
770
- }, De = 5e3, wr = ({ children: r }) => (console.log({ props: !0 }), /* @__PURE__ */ P.jsx("div", { className: "text-emerald-950", children: r }));
781
+ }, De = 5e3, Or = ({ children: r }) => (console.log({ props: !0 }), /* @__PURE__ */ w.jsx("div", { className: "text-emerald-950", children: r }));
771
782
  export {
772
- wr as Button,
773
- _r as Description,
774
- Tr as Error,
775
- Rr as Item,
776
- br as Subtitle,
777
- xr as Success,
778
- yr as Text
783
+ Or as Button,
784
+ xr as Description,
785
+ wr as Error,
786
+ _r as Item,
787
+ Er as Subtitle,
788
+ Tr as Success,
789
+ yr as Text,
790
+ br as Title
779
791
  };
780
792
  //# sourceMappingURL=index.es.js.map