@blofin/blofin-ui 0.7.0 → 0.7.1

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.
Files changed (91) hide show
  1. package/dist/{index-795d166c.js → index-0135abac.js} +1 -1
  2. package/dist/{index-e469eb80.js → index-020763d2.js} +1 -1
  3. package/dist/{index-14741ae0.js → index-02cea48f.js} +1 -1
  4. package/dist/{index-cc30c575.js → index-06fdf5c3.js} +1 -1
  5. package/dist/{index-e7e8b823.js → index-0764d403.js} +124 -112
  6. package/dist/{index-a9f4fd00.js → index-101f2e6d.js} +1 -1
  7. package/dist/{index-9d032057.js → index-13d57f5d.js} +2 -2
  8. package/dist/{index-5d9f3313.js → index-14a55609.js} +1 -1
  9. package/dist/{index-d9512f95.js → index-1ef53efd.js} +2 -2
  10. package/dist/{index-e677616c.js → index-215c6c73.js} +1 -1
  11. package/dist/{index-606d6948.js → index-221503d0.js} +1 -1
  12. package/dist/{index-cc8e8488.js → index-22c5c768.js} +2 -2
  13. package/dist/{index-0a18effe.js → index-22f73c28.js} +1 -1
  14. package/dist/{index-0974da5f.js → index-29339beb.js} +1 -1
  15. package/dist/{index-9bb4d73a.js → index-293ebe5d.js} +2 -2
  16. package/dist/{index-a24c380a.js → index-2e2d8f45.js} +1 -1
  17. package/dist/{index-571dc44c.js → index-3376d6b1.js} +1 -1
  18. package/dist/{index-8a813849.js → index-39021104.js} +1 -1
  19. package/dist/{index-8edd263d.js → index-3cf34fcb.js} +1 -1
  20. package/dist/{index-3cc2f3b2.js → index-3dfe8bd6.js} +1 -1
  21. package/dist/{index-70055a5f.js → index-43dc0a06.js} +1 -1
  22. package/dist/{index-023ec10d.js → index-45507938.js} +1 -1
  23. package/dist/{index-cf3b403f.js → index-46bdc557.js} +2 -2
  24. package/dist/{index-395e0983.js → index-4dc55948.js} +1 -1
  25. package/dist/{index-3620716f.js → index-5387c13a.js} +1 -1
  26. package/dist/{index-5fbb581c.js → index-57f9e99b.js} +1 -1
  27. package/dist/{index-c9ebb264.js → index-5988283b.js} +1 -1
  28. package/dist/{index-ce67b772.js → index-5e932288.js} +1 -1
  29. package/dist/{index-1a0615d3.js → index-63512833.js} +1 -1
  30. package/dist/{index-8bdbfac0.js → index-660c36f4.js} +1 -1
  31. package/dist/{index-527b4fa1.js → index-69144bc0.js} +1 -1
  32. package/dist/{index-6fa0b618.js → index-6ce372ec.js} +1 -1
  33. package/dist/{index-53428a61.js → index-6ed2b058.js} +1 -1
  34. package/dist/{index-10f50205.js → index-6edd509a.js} +1 -1
  35. package/dist/{index-daae55fd.js → index-70bfa357.js} +1 -1
  36. package/dist/{index-78f51829.js → index-7642369f.js} +3 -3
  37. package/dist/{index-0dcea69f.js → index-7aec6f36.js} +2 -2
  38. package/dist/{index-294328a1.js → index-7d88b762.js} +1 -1
  39. package/dist/{index-dec13ec7.js → index-7f430c15.js} +2 -2
  40. package/dist/{index-14deffe5.js → index-8017bdbe.js} +1 -1
  41. package/dist/{index-2b172b47.js → index-8351215d.js} +1 -1
  42. package/dist/{index-5283e88c.js → index-84be64b7.js} +1 -1
  43. package/dist/{index-9a275451.js → index-8d2702cd.js} +1 -1
  44. package/dist/{index-2475bd34.js → index-8fda8dd5.js} +1 -1
  45. package/dist/{index-8dd34d30.js → index-9334550a.js} +1 -1
  46. package/dist/{index-f52bf1fd.js → index-934fc28c.js} +2 -2
  47. package/dist/{index-f0b3039b.js → index-98b3fad8.js} +1 -1
  48. package/dist/{index-14f79982.js → index-9a3bef5a.js} +1 -1
  49. package/dist/{index-df23df84.js → index-9f83e582.js} +1 -1
  50. package/dist/{index-cc0e0b04.js → index-a481dcbf.js} +1 -1
  51. package/dist/{index-df3c7f21.js → index-a59c5543.js} +1 -1
  52. package/dist/{index-510f971a.js → index-a7e68e4d.js} +2 -2
  53. package/dist/{index-bfce8fb6.js → index-a86dbb0c.js} +1 -1
  54. package/dist/{index-b2927b21.js → index-a8bcf873.js} +1 -1
  55. package/dist/{index-18a53d5a.js → index-b17ec0a6.js} +1 -1
  56. package/dist/{index-110be974.js → index-b4b8fcc1.js} +1 -1
  57. package/dist/{index-0f0d1ec0.js → index-b4faea4e.js} +1 -1
  58. package/dist/{index-ce007a7b.js → index-bb68bbbc.js} +1 -1
  59. package/dist/{index-e8530728.js → index-bc99581b.js} +2 -2
  60. package/dist/{index-0e698292.js → index-bd767df4.js} +2 -2
  61. package/dist/{index-43a7cf13.js → index-be0fe558.js} +1 -1
  62. package/dist/{index-bf88ae1d.js → index-bef522c3.js} +1 -1
  63. package/dist/{index-f9a50685.js → index-bf0fbeec.js} +3 -3
  64. package/dist/{index-27320820.js → index-bf40b058.js} +1 -1
  65. package/dist/{index-c61fe772.js → index-c17aa6c5.js} +1 -1
  66. package/dist/{index-7acc107d.js → index-c481f140.js} +1 -1
  67. package/dist/{index-bd2f651d.js → index-c641f52c.js} +1 -1
  68. package/dist/{index-028853cd.js → index-c94eabff.js} +1 -1
  69. package/dist/{index-ed3b07d0.js → index-cafa91d1.js} +1 -1
  70. package/dist/{index-ae3dc30f.js → index-d40b8ca6.js} +1 -1
  71. package/dist/{index-0df78e2c.js → index-d633e879.js} +1 -1
  72. package/dist/{index-356049ec.js → index-dc670a78.js} +1 -1
  73. package/dist/{index-ac9994fe.js → index-dea196ad.js} +2 -2
  74. package/dist/{index-bcfc86bf.js → index-e293b782.js} +1 -1
  75. package/dist/{index-31b96aab.js → index-ea9c5cbc.js} +2 -2
  76. package/dist/{index-a4417915.js → index-eb0d2abf.js} +1 -1
  77. package/dist/{index-9280644e.js → index-ecba7f96.js} +2 -2
  78. package/dist/{index-324da02a.js → index-ed7b457c.js} +1 -1
  79. package/dist/{index-a6d00220.js → index-ef7d2a24.js} +1 -1
  80. package/dist/{index-8913c443.js → index-efbe0e5e.js} +1 -1
  81. package/dist/{index-59960eeb.js → index-f50bf6dc.js} +2 -2
  82. package/dist/{index-f3e692d1.js → index-fa949616.js} +1 -1
  83. package/dist/{index-af3e41dd.js → index-fb77f63b.js} +1 -1
  84. package/dist/{index-0d030ae0.js → index-fc39b795.js} +2 -2
  85. package/dist/{index-99259b37.js → index-fd0148a9.js} +1 -1
  86. package/dist/{index-c2043b59.js → index-fe238f51.js} +1 -1
  87. package/dist/{index-9fd3eabe.js → index-fe42b888.js} +1 -1
  88. package/dist/{index-e7fd935e.js → index-fe591bda.js} +1 -1
  89. package/dist/index.es.js +1 -1
  90. package/dist/provider/NoticeProvider.d.ts +4 -0
  91. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { a as d, b as i, c as m, d as u } from "./index-e7e8b823.js";
1
+ import { a as d, b as i, c as m, d as u } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, b as o, c as d, d as n } from "./index-e7e8b823.js";
1
+ import { a as s, b as o, c as d, d as n } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as u, b as r, c as h, d as o } from "./index-e7e8b823.js";
1
+ import { a as u, b as r, c as h, d as o } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as d, b as i, c as m, d as u } from "./index-e7e8b823.js";
1
+ import { a as d, b as i, c as m, d as u } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -3547,89 +3547,89 @@ const Qf = je((e, t) => {
3547
3547
  }
3548
3548
  }), eh = {
3549
3549
  en: () => Promise.resolve().then(() => Nu),
3550
- "zh-tw": () => import("./index-3cc2f3b2.js"),
3551
- "ko-kr": () => import("./index-f0b3039b.js"),
3552
- "uk-ua": () => import("./index-0d030ae0.js"),
3553
- vi: () => import("./index-9a275451.js"),
3554
- ru: () => import("./index-cf3b403f.js"),
3555
- es: () => import("./index-f3e692d1.js"),
3556
- de: () => import("./index-0dcea69f.js"),
3557
- fr: () => import("./index-d9512f95.js"),
3558
- tr: () => import("./index-bd2f651d.js"),
3559
- af: () => import("./index-395e0983.js"),
3560
- ar: () => import("./index-14f79982.js"),
3561
- az: () => import("./index-527b4fa1.js"),
3562
- "ar-dz": () => import("./index-2475bd34.js"),
3563
- "ar-eg": () => import("./index-df23df84.js"),
3564
- "ar-ma": () => import("./index-7acc107d.js"),
3565
- "ar-sa": () => import("./index-10f50205.js"),
3566
- "ar-tn": () => import("./index-a4417915.js"),
3567
- "be-tarask": () => import("./index-9bb4d73a.js"),
3568
- be: () => import("./index-0e698292.js"),
3569
- bg: () => import("./index-59960eeb.js"),
3570
- bn: () => import("./index-324da02a.js"),
3571
- bs: () => import("./index-5d9f3313.js"),
3572
- ca: () => import("./index-e7fd935e.js"),
3573
- cs: () => import("./index-bfce8fb6.js"),
3574
- cy: () => import("./index-6fa0b618.js"),
3575
- da: () => import("./index-a9f4fd00.js"),
3576
- "de-at": () => import("./index-ac9994fe.js"),
3577
- el: () => import("./index-8a813849.js"),
3578
- eo: () => import("./index-8edd263d.js"),
3579
- et: () => import("./index-14741ae0.js"),
3580
- eu: () => import("./index-e469eb80.js"),
3581
- "fa-ir": () => import("./index-af3e41dd.js"),
3582
- fi: () => import("./index-3620716f.js"),
3583
- "fr-ca": () => import("./index-cc8e8488.js"),
3584
- "fr-ch": () => import("./index-9d032057.js"),
3585
- fy: () => import("./index-53428a61.js"),
3586
- gd: () => import("./index-ce67b772.js"),
3587
- gl: () => import("./index-c9ebb264.js"),
3588
- gu: () => import("./index-c61fe772.js"),
3589
- he: () => import("./index-028853cd.js"),
3590
- hi: () => import("./index-8bdbfac0.js"),
3591
- hr: () => import("./index-5283e88c.js"),
3592
- ht: () => import("./index-ae3dc30f.js"),
3593
- hu: () => import("./index-8913c443.js"),
3594
- hy: () => import("./index-cc0e0b04.js"),
3595
- id: () => import("./index-356049ec.js"),
3596
- is: () => import("./index-18a53d5a.js"),
3597
- "it-ch": () => import("./index-78f51829.js"),
3598
- it: () => import("./index-f9a50685.js"),
3599
- "ja-hira": () => import("./index-795d166c.js"),
3600
- ja: () => import("./index-cc30c575.js"),
3601
- ka: () => import("./index-9fd3eabe.js"),
3602
- kk: () => import("./index-dec13ec7.js"),
3603
- km: () => import("./index-27320820.js"),
3604
- kn: () => import("./index-ed3b07d0.js"),
3605
- lb: () => import("./index-99259b37.js"),
3606
- lt: () => import("./index-c2043b59.js"),
3607
- lv: () => import("./index-f52bf1fd.js"),
3608
- mk: () => import("./index-31b96aab.js"),
3609
- mn: () => import("./index-110be974.js"),
3610
- ms: () => import("./index-bcfc86bf.js"),
3611
- mt: () => import("./index-023ec10d.js"),
3612
- nb: () => import("./index-1a0615d3.js"),
3613
- "nl-be": () => import("./index-294328a1.js"),
3614
- nl: () => import("./index-ce007a7b.js"),
3615
- nn: () => import("./index-daae55fd.js"),
3616
- oc: () => import("./index-571dc44c.js"),
3617
- pl: () => import("./index-9280644e.js"),
3618
- "pt-br": () => import("./index-70055a5f.js"),
3619
- pt: () => import("./index-b2927b21.js"),
3620
- ro: () => import("./index-bf88ae1d.js"),
3621
- sk: () => import("./index-e8530728.js"),
3622
- sl: () => import("./index-8dd34d30.js"),
3623
- sq: () => import("./index-43a7cf13.js"),
3624
- "sr-latn": () => import("./index-5fbb581c.js"),
3625
- sr: () => import("./index-0f0d1ec0.js"),
3626
- sv: () => import("./index-606d6948.js"),
3627
- ta: () => import("./index-14deffe5.js"),
3628
- te: () => import("./index-a24c380a.js"),
3629
- th: () => import("./index-0a18effe.js"),
3630
- ug: () => import("./index-0df78e2c.js"),
3631
- "uz-cyrl": () => import("./index-0974da5f.js"),
3632
- uz: () => import("./index-df3c7f21.js")
3550
+ "zh-tw": () => import("./index-3dfe8bd6.js"),
3551
+ "ko-kr": () => import("./index-98b3fad8.js"),
3552
+ "uk-ua": () => import("./index-fc39b795.js"),
3553
+ vi: () => import("./index-8d2702cd.js"),
3554
+ ru: () => import("./index-46bdc557.js"),
3555
+ es: () => import("./index-fa949616.js"),
3556
+ de: () => import("./index-7aec6f36.js"),
3557
+ fr: () => import("./index-1ef53efd.js"),
3558
+ tr: () => import("./index-c641f52c.js"),
3559
+ af: () => import("./index-4dc55948.js"),
3560
+ ar: () => import("./index-9a3bef5a.js"),
3561
+ az: () => import("./index-69144bc0.js"),
3562
+ "ar-dz": () => import("./index-8fda8dd5.js"),
3563
+ "ar-eg": () => import("./index-9f83e582.js"),
3564
+ "ar-ma": () => import("./index-c481f140.js"),
3565
+ "ar-sa": () => import("./index-6edd509a.js"),
3566
+ "ar-tn": () => import("./index-eb0d2abf.js"),
3567
+ "be-tarask": () => import("./index-293ebe5d.js"),
3568
+ be: () => import("./index-bd767df4.js"),
3569
+ bg: () => import("./index-f50bf6dc.js"),
3570
+ bn: () => import("./index-ed7b457c.js"),
3571
+ bs: () => import("./index-14a55609.js"),
3572
+ ca: () => import("./index-fe591bda.js"),
3573
+ cs: () => import("./index-a86dbb0c.js"),
3574
+ cy: () => import("./index-6ce372ec.js"),
3575
+ da: () => import("./index-101f2e6d.js"),
3576
+ "de-at": () => import("./index-dea196ad.js"),
3577
+ el: () => import("./index-39021104.js"),
3578
+ eo: () => import("./index-3cf34fcb.js"),
3579
+ et: () => import("./index-02cea48f.js"),
3580
+ eu: () => import("./index-020763d2.js"),
3581
+ "fa-ir": () => import("./index-fb77f63b.js"),
3582
+ fi: () => import("./index-5387c13a.js"),
3583
+ "fr-ca": () => import("./index-22c5c768.js"),
3584
+ "fr-ch": () => import("./index-13d57f5d.js"),
3585
+ fy: () => import("./index-6ed2b058.js"),
3586
+ gd: () => import("./index-5e932288.js"),
3587
+ gl: () => import("./index-5988283b.js"),
3588
+ gu: () => import("./index-c17aa6c5.js"),
3589
+ he: () => import("./index-c94eabff.js"),
3590
+ hi: () => import("./index-660c36f4.js"),
3591
+ hr: () => import("./index-84be64b7.js"),
3592
+ ht: () => import("./index-d40b8ca6.js"),
3593
+ hu: () => import("./index-efbe0e5e.js"),
3594
+ hy: () => import("./index-a481dcbf.js"),
3595
+ id: () => import("./index-dc670a78.js"),
3596
+ is: () => import("./index-b17ec0a6.js"),
3597
+ "it-ch": () => import("./index-7642369f.js"),
3598
+ it: () => import("./index-bf0fbeec.js"),
3599
+ "ja-hira": () => import("./index-0135abac.js"),
3600
+ ja: () => import("./index-06fdf5c3.js"),
3601
+ ka: () => import("./index-fe42b888.js"),
3602
+ kk: () => import("./index-7f430c15.js"),
3603
+ km: () => import("./index-bf40b058.js"),
3604
+ kn: () => import("./index-cafa91d1.js"),
3605
+ lb: () => import("./index-fd0148a9.js"),
3606
+ lt: () => import("./index-fe238f51.js"),
3607
+ lv: () => import("./index-934fc28c.js"),
3608
+ mk: () => import("./index-ea9c5cbc.js"),
3609
+ mn: () => import("./index-b4b8fcc1.js"),
3610
+ ms: () => import("./index-e293b782.js"),
3611
+ mt: () => import("./index-45507938.js"),
3612
+ nb: () => import("./index-63512833.js"),
3613
+ "nl-be": () => import("./index-7d88b762.js"),
3614
+ nl: () => import("./index-bb68bbbc.js"),
3615
+ nn: () => import("./index-70bfa357.js"),
3616
+ oc: () => import("./index-3376d6b1.js"),
3617
+ pl: () => import("./index-ecba7f96.js"),
3618
+ "pt-br": () => import("./index-43dc0a06.js"),
3619
+ pt: () => import("./index-a8bcf873.js"),
3620
+ ro: () => import("./index-bef522c3.js"),
3621
+ sk: () => import("./index-bc99581b.js"),
3622
+ sl: () => import("./index-9334550a.js"),
3623
+ sq: () => import("./index-be0fe558.js"),
3624
+ "sr-latn": () => import("./index-57f9e99b.js"),
3625
+ sr: () => import("./index-b4faea4e.js"),
3626
+ sv: () => import("./index-221503d0.js"),
3627
+ ta: () => import("./index-8017bdbe.js"),
3628
+ te: () => import("./index-2e2d8f45.js"),
3629
+ th: () => import("./index-22f73c28.js"),
3630
+ ug: () => import("./index-d633e879.js"),
3631
+ "uz-cyrl": () => import("./index-29339beb.js"),
3632
+ uz: () => import("./index-a59c5543.js")
3633
3633
  }, rs = async (e) => {
3634
3634
  const t = eh[e];
3635
3635
  if (t)
@@ -10570,41 +10570,49 @@ const Cr = go, $e = {
10570
10570
  danger: /* @__PURE__ */ d.jsx(Gs, { className: tn(e, t) })
10571
10571
  };
10572
10572
  return /* @__PURE__ */ d.jsx(d.Fragment, { children: r[e] });
10573
- }, rn = ({ title: e, children: t, type: r, remove: n }) => {
10574
- const { theme: a } = me();
10573
+ }, rn = ({
10574
+ title: e,
10575
+ children: t,
10576
+ autoClose: r,
10577
+ type: n,
10578
+ remove: a
10579
+ }) => {
10580
+ const { theme: o } = me();
10575
10581
  se(() => {
10576
- const i = setTimeout(() => {
10577
- n();
10578
- }, 3e3);
10582
+ if (r === !1)
10583
+ return;
10584
+ const l = setTimeout(() => {
10585
+ a();
10586
+ }, typeof r == "number" ? r : 3e3);
10579
10587
  return () => {
10580
- clearTimeout(i);
10588
+ clearTimeout(l);
10581
10589
  };
10582
10590
  }, []);
10583
- const o = () => {
10584
- n();
10591
+ const i = () => {
10592
+ a();
10585
10593
  };
10586
10594
  return /* @__PURE__ */ d.jsx(
10587
10595
  "div",
10588
10596
  {
10589
10597
  className: `bu-mb-[12px] bu-w-full bu-rounded-[8px] ${wv({
10590
- theme: a
10598
+ theme: o
10591
10599
  })}`,
10592
10600
  children: /* @__PURE__ */ d.jsxs("div", { className: "bu-flex bu-rounded-[8px] bu-px-[16px] bu-py-[12px]", children: [
10593
- /* @__PURE__ */ d.jsx(Dv, { type: r }),
10601
+ /* @__PURE__ */ d.jsx(Dv, { type: n }),
10594
10602
  /* @__PURE__ */ d.jsxs("div", { className: "w-full bu-flex bu-flex-col", children: [
10595
10603
  /* @__PURE__ */ d.jsxs("div", { className: "bu-mb-[4px] bu-flex bu-justify-between", children: [
10596
10604
  /* @__PURE__ */ d.jsx(
10597
10605
  "span",
10598
10606
  {
10599
10607
  className: `bu-w-[260px] bu-break-words bu-text-[16px] bu-font-medium bu-leading-[24px] bu-tracking-[-0.2px] ${_v(
10600
- { theme: a }
10608
+ { theme: o }
10601
10609
  )}`,
10602
10610
  children: e
10603
10611
  }
10604
10612
  ),
10605
- /* @__PURE__ */ d.jsx(Oi, { onClick: o, className: Cv({ theme: a }) })
10613
+ /* @__PURE__ */ d.jsx(Oi, { onClick: i, className: Cv({ theme: o }) })
10606
10614
  ] }),
10607
- /* @__PURE__ */ d.jsx("span", { className: kv({ theme: a }), children: t })
10615
+ /* @__PURE__ */ d.jsx("span", { className: kv({ theme: o }), children: t })
10608
10616
  ] })
10609
10617
  ] })
10610
10618
  }
@@ -10622,7 +10630,7 @@ const Cr = go, $e = {
10622
10630
  Cr,
10623
10631
  {
10624
10632
  className: "bu-fixed bu-bottom-[32px] bu-left-[32px] bu-z-[99999] bu-w-[360px]",
10625
- children: e.map(({ title: o, node: i, id: s, type: l }) => /* @__PURE__ */ d.jsx(
10633
+ children: e.map(({ title: o, node: i, id: s, type: l, autoClose: u, onClose: c }) => /* @__PURE__ */ d.jsx(
10626
10634
  _r,
10627
10635
  {
10628
10636
  timeout: 300,
@@ -10638,8 +10646,9 @@ const Cr = go, $e = {
10638
10646
  {
10639
10647
  type: l,
10640
10648
  title: o,
10649
+ autoClose: u,
10641
10650
  remove: () => {
10642
- a(s);
10651
+ c == null || c(), a(s);
10643
10652
  },
10644
10653
  children: i
10645
10654
  }
@@ -10653,7 +10662,7 @@ const Cr = go, $e = {
10653
10662
  Cr,
10654
10663
  {
10655
10664
  className: "bu-fixed bu-left-[32px] bu-top-[32px] bu-z-[99999] bu-w-[360px]",
10656
- children: t.map(({ title: o, node: i, id: s, type: l }) => /* @__PURE__ */ d.jsx(
10665
+ children: t.map(({ title: o, node: i, id: s, type: l, autoClose: u, onClose: c }) => /* @__PURE__ */ d.jsx(
10657
10666
  _r,
10658
10667
  {
10659
10668
  timeout: 300,
@@ -10669,8 +10678,9 @@ const Cr = go, $e = {
10669
10678
  {
10670
10679
  type: l,
10671
10680
  title: o,
10681
+ autoClose: u,
10672
10682
  remove: () => {
10673
- a(s);
10683
+ c == null || c(), a(s);
10674
10684
  },
10675
10685
  children: i
10676
10686
  }
@@ -10684,7 +10694,7 @@ const Cr = go, $e = {
10684
10694
  Cr,
10685
10695
  {
10686
10696
  className: "bu-fixed bu-bottom-[32px] bu-right-[8px] bu-z-[99999] bu-w-[360px]",
10687
- children: r.map(({ title: o, node: i, id: s, type: l }) => /* @__PURE__ */ d.jsx(
10697
+ children: r.map(({ title: o, node: i, id: s, type: l, autoClose: u, onClose: c }) => /* @__PURE__ */ d.jsx(
10688
10698
  _r,
10689
10699
  {
10690
10700
  timeout: 300,
@@ -10700,8 +10710,9 @@ const Cr = go, $e = {
10700
10710
  {
10701
10711
  type: l,
10702
10712
  title: o,
10713
+ autoClose: u,
10703
10714
  remove: () => {
10704
- a(s);
10715
+ c == null || c(), a(s);
10705
10716
  },
10706
10717
  children: i
10707
10718
  }
@@ -10715,7 +10726,7 @@ const Cr = go, $e = {
10715
10726
  Cr,
10716
10727
  {
10717
10728
  className: "bu-fixed bu-right-[8px] bu-top-[32px] bu-z-[99999] bu-w-[360px]",
10718
- children: n.map(({ title: o, node: i, id: s, type: l }) => /* @__PURE__ */ d.jsx(
10729
+ children: n.map(({ title: o, node: i, id: s, type: l, autoClose: u, onClose: c }) => /* @__PURE__ */ d.jsx(
10719
10730
  _r,
10720
10731
  {
10721
10732
  timeout: 300,
@@ -10731,8 +10742,9 @@ const Cr = go, $e = {
10731
10742
  {
10732
10743
  type: l,
10733
10744
  title: o,
10745
+ autoClose: u,
10734
10746
  remove: () => {
10735
- a(s);
10747
+ c == null || c(), a(s);
10736
10748
  },
10737
10749
  children: i
10738
10750
  }
@@ -10912,44 +10924,44 @@ const Ur = pt({
10912
10924
  a((y) => (y.length >= on && y.shift(), [
10913
10925
  ...y,
10914
10926
  {
10915
- title: D.title,
10916
10927
  node: D.msg,
10917
10928
  id: p.current,
10918
10929
  type: k,
10919
- position: "leftTop"
10930
+ position: "leftTop",
10931
+ ...D
10920
10932
  }
10921
10933
  ]));
10922
10934
  }) : D.position === "rightBottom" ? qr(() => {
10923
10935
  i((y) => (y.length >= on && y.shift(), [
10924
10936
  ...y,
10925
10937
  {
10926
- title: D.title,
10927
10938
  node: D.msg,
10928
10939
  id: p.current,
10929
10940
  type: k,
10930
- position: "rightBottom"
10941
+ position: "rightBottom",
10942
+ ...D
10931
10943
  }
10932
10944
  ]));
10933
10945
  }) : D.position === "rightTop" ? qr(() => {
10934
10946
  l((y) => (y.length >= on && y.shift(), [
10935
10947
  ...y,
10936
10948
  {
10937
- title: D.title,
10938
10949
  node: D.msg,
10939
10950
  id: p.current,
10940
10951
  type: k,
10941
- position: "rightTop"
10952
+ position: "rightTop",
10953
+ ...D
10942
10954
  }
10943
10955
  ]));
10944
10956
  }) : qr(() => {
10945
10957
  r((y) => (y.length >= on && y.shift(), [
10946
10958
  ...y,
10947
10959
  {
10948
- title: D.title,
10949
10960
  node: D.msg,
10950
10961
  id: p.current,
10951
10962
  type: k,
10952
- position: "leftBottom"
10963
+ position: "leftBottom",
10964
+ ...D
10953
10965
  }
10954
10966
  ]));
10955
10967
  }), p.current += 1;
@@ -1,4 +1,4 @@
1
- import { a as m, b as n, c as s, d as i } from "./index-e7e8b823.js";
1
+ import { a as m, b as n, c as s, d as i } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,5 +1,5 @@
1
- import { f as a, l as o, m } from "./index-e677616c.js";
2
- import { a as t } from "./index-e7e8b823.js";
1
+ import { f as a, l as o, m } from "./index-215c6c73.js";
2
+ import { a as t } from "./index-0764d403.js";
3
3
  import "./Badge.es.js";
4
4
  import "./jsx-runtime-944c88e2.js";
5
5
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, b as r, c as d, d as u } from "./index-e7e8b823.js";
1
+ import { a as s, b as r, c as d, d as u } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,5 +1,5 @@
1
- import { f as m, l as o, m as a } from "./index-e677616c.js";
2
- import { a as t } from "./index-e7e8b823.js";
1
+ import { f as m, l as o, m as a } from "./index-215c6c73.js";
2
+ import { a as t } from "./index-0764d403.js";
3
3
  import { f as r } from "./index-0f855a91.js";
4
4
  import "./Badge.es.js";
5
5
  import "./jsx-runtime-944c88e2.js";
@@ -1,4 +1,4 @@
1
- import { b as t, c as d, d as s } from "./index-e7e8b823.js";
1
+ import { b as t, c as d, d as s } from "./index-0764d403.js";
2
2
  var u = {
3
3
  lessThanXSeconds: {
4
4
  one: "moins d’une seconde",
@@ -1,4 +1,4 @@
1
- import { a as d, b as o, c as s, d as m } from "./index-e7e8b823.js";
1
+ import { a as d, b as o, c as s, d as m } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,6 +1,6 @@
1
- import { f as m, l as o, m as a } from "./index-e677616c.js";
1
+ import { f as m, l as o, m as a } from "./index-215c6c73.js";
2
2
  import { f as r } from "./index-0f855a91.js";
3
- import { a as t } from "./index-e7e8b823.js";
3
+ import { a as t } from "./index-0764d403.js";
4
4
  import "./Badge.es.js";
5
5
  import "./jsx-runtime-944c88e2.js";
6
6
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as i, c as s, d as n } from "./index-e7e8b823.js";
1
+ import { a as m, b as i, c as s, d as n } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as d, b as i, c as u, d as n } from "./index-e7e8b823.js";
1
+ import { a as d, b as i, c as u, d as n } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,5 +1,5 @@
1
- import { a as v, t as m, b as o, c as f, d as l } from "./index-e7e8b823.js";
2
- import { i as d } from "./index-a6d00220.js";
1
+ import { a as v, t as m, b as o, c as f, d as l } from "./index-0764d403.js";
2
+ import { i as d } from "./index-ef7d2a24.js";
3
3
  import "./Badge.es.js";
4
4
  import "./jsx-runtime-944c88e2.js";
5
5
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as d, b as o, c as u, d as r } from "./index-e7e8b823.js";
1
+ import { a as d, b as o, c as u, d as r } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as d, c as s, d as o } from "./index-e7e8b823.js";
1
+ import { a as m, b as d, c as s, d as o } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, b as o, c as u, d } from "./index-e7e8b823.js";
1
+ import { a as s, b as o, c as u, d } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, b as n, c as u, d as i } from "./index-e7e8b823.js";
1
+ import { a as s, b as n, c as u, d as i } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as i, c as s, d as o } from "./index-e7e8b823.js";
1
+ import { a as m, b as i, c as s, d as o } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as o, c as s, d } from "./index-e7e8b823.js";
1
+ import { a as m, b as o, c as s, d } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, b as o, c as m, d as l } from "./index-e7e8b823.js";
1
+ import { a as s, b as o, c as m, d as l } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,5 +1,5 @@
1
- import { a as v, b as o, c as g, d as l } from "./index-e7e8b823.js";
2
- import { i as m } from "./index-a6d00220.js";
1
+ import { a as v, b as o, c as g, d as l } from "./index-0764d403.js";
2
+ import { i as m } from "./index-ef7d2a24.js";
3
3
  import "./Badge.es.js";
4
4
  import "./jsx-runtime-944c88e2.js";
5
5
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as i, c as u, d as o } from "./index-e7e8b823.js";
1
+ import { a as m, b as i, c as u, d as o } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as k, b as i, c, d as u } from "./index-e7e8b823.js";
1
+ import { a as k, b as i, c, d as u } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as d, b as i, c as s, d as u } from "./index-e7e8b823.js";
1
+ import { a as d, b as i, c as s, d as u } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as n, c as s, d as i } from "./index-e7e8b823.js";
1
+ import { a as m, b as n, c as s, d as i } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as h, b as o, c as m, d } from "./index-e7e8b823.js";
1
+ import { a as h, b as o, c as m, d } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as d, b as n, c as s, d as i } from "./index-e7e8b823.js";
1
+ import { a as d, b as n, c as s, d as i } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { b as i, a as d, c as l, d as o } from "./index-e7e8b823.js";
1
+ import { b as i, a as d, c as l, d as o } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, b as n, c as l, d as o } from "./index-e7e8b823.js";
1
+ import { a as s, b as n, c as l, d as o } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, b as d, c as h, d as o } from "./index-e7e8b823.js";
1
+ import { a as s, b as d, c as h, d as o } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as n, c as d, d as i } from "./index-e7e8b823.js";
1
+ import { a as m, b as n, c as d, d as i } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as i, c as s, d } from "./index-e7e8b823.js";
1
+ import { a as m, b as i, c as s, d } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as d, b as o, c as s, d as m } from "./index-e7e8b823.js";
1
+ import { a as d, b as o, c as s, d as m } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,6 +1,6 @@
1
- import { f as m, a, l as o, m as r } from "./index-510f971a.js";
2
- import { a as t } from "./index-e7e8b823.js";
3
- import "./index-a6d00220.js";
1
+ import { f as m, a, l as o, m as r } from "./index-a7e68e4d.js";
2
+ import { a as t } from "./index-0764d403.js";
3
+ import "./index-ef7d2a24.js";
4
4
  import "./Badge.es.js";
5
5
  import "./jsx-runtime-944c88e2.js";
6
6
  import "react";
@@ -1,5 +1,5 @@
1
- import { f as i, a as o, b as m, m as g } from "./index-2b172b47.js";
2
- import { b as a } from "./index-e7e8b823.js";
1
+ import { f as i, a as o, b as m, m as g } from "./index-8351215d.js";
2
+ import { b as a } from "./index-0764d403.js";
3
3
  import "./Badge.es.js";
4
4
  import "./jsx-runtime-944c88e2.js";
5
5
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as n, c as s, d as i } from "./index-e7e8b823.js";
1
+ import { a as m, b as n, c as s, d as i } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,5 +1,5 @@
1
- import { a as s, b as u, c as f, d as o } from "./index-e7e8b823.js";
2
- import { i as m } from "./index-a6d00220.js";
1
+ import { a as s, b as u, c as f, d as o } from "./index-0764d403.js";
2
+ import { i as m } from "./index-ef7d2a24.js";
3
3
  import "./Badge.es.js";
4
4
  import "./jsx-runtime-944c88e2.js";
5
5
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as d, b as n, c as l, d as o } from "./index-e7e8b823.js";
1
+ import { a as d, b as n, c as l, d as o } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, c as u, d as n } from "./index-e7e8b823.js";
1
+ import { a as s, c as u, d as n } from "./index-0764d403.js";
2
2
  var h = {
3
3
  lessThanXSeconds: {
4
4
  standalone: {
@@ -1,4 +1,4 @@
1
- import { a as u, b as r, c as d, d as s } from "./index-e7e8b823.js";
1
+ import { a as u, b as r, c as d, d as s } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as r, c as u, d as h } from "./index-e7e8b823.js";
1
+ import { a as m, b as r, c as u, d as h } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as i, c as s, d } from "./index-e7e8b823.js";
1
+ import { a as m, b as i, c as s, d } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, b as u, c as l, d as c } from "./index-e7e8b823.js";
1
+ import { a as s, b as u, c as l, d as c } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,5 +1,5 @@
1
- import { a as o, b as s, c as l, d } from "./index-e7e8b823.js";
2
- import { i as u } from "./index-a6d00220.js";
1
+ import { a as o, b as s, c as l, d } from "./index-0764d403.js";
2
+ import { i as u } from "./index-ef7d2a24.js";
3
3
  import "./Badge.es.js";
4
4
  import "./jsx-runtime-944c88e2.js";
5
5
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, b as o, c as m, d as i } from "./index-e7e8b823.js";
1
+ import { a as s, b as o, c as m, d as i } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as i, c as u, d } from "./index-e7e8b823.js";
1
+ import { a as m, b as i, c as u, d } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as u, b as i, c as m, d } from "./index-e7e8b823.js";
1
+ import { a as u, b as i, c as m, d } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as i, c as s, d as n } from "./index-e7e8b823.js";
1
+ import { a as m, b as i, c as s, d as n } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as d, b as r, c as s, d as i } from "./index-e7e8b823.js";
1
+ import { a as d, b as r, c as s, d as i } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,5 +1,5 @@
1
- import { i as d } from "./index-a6d00220.js";
2
- import { b as o, c as l, d as m } from "./index-e7e8b823.js";
1
+ import { i as d } from "./index-ef7d2a24.js";
2
+ import { b as o, c as l, d as m } from "./index-0764d403.js";
3
3
  var c = {
4
4
  lessThanXSeconds: {
5
5
  one: "meno di un secondo",
@@ -1,4 +1,4 @@
1
- import { a as p, b as u, c, d as i } from "./index-e7e8b823.js";
1
+ import { a as p, b as u, c, d as i } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as n, c as s, d } from "./index-e7e8b823.js";
1
+ import { a as m, b as n, c as s, d } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as n, c as d, d as i } from "./index-e7e8b823.js";
1
+ import { a as m, b as n, c as d, d as i } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as d, b as r, c as l, d as n } from "./index-e7e8b823.js";
1
+ import { a as d, b as r, c as l, d as n } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as d, b as o, c as u, d as s } from "./index-e7e8b823.js";
1
+ import { a as d, b as o, c as u, d as s } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as n, c as s, d as i } from "./index-e7e8b823.js";
1
+ import { a as m, b as n, c as s, d as i } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,5 +1,5 @@
1
- import { a as m, b as i, c as h, d as u } from "./index-e7e8b823.js";
2
- import { i as f } from "./index-a6d00220.js";
1
+ import { a as m, b as i, c as h, d as u } from "./index-0764d403.js";
2
+ import { i as f } from "./index-ef7d2a24.js";
3
3
  import "./Badge.es.js";
4
4
  import "./jsx-runtime-944c88e2.js";
5
5
  import "react";
@@ -1,5 +1,5 @@
1
- import { a as v, t as m, b as o, c as f, d as l } from "./index-e7e8b823.js";
2
- import { i as d } from "./index-a6d00220.js";
1
+ import { a as v, t as m, b as o, c as f, d as l } from "./index-0764d403.js";
2
+ import { i as d } from "./index-ef7d2a24.js";
3
3
  import "./Badge.es.js";
4
4
  import "./jsx-runtime-944c88e2.js";
5
5
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, b as i, c as d, d as o } from "./index-e7e8b823.js";
1
+ import { a as s, b as i, c as d, d as o } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, b as r, c as u, d as n } from "./index-e7e8b823.js";
1
+ import { a as s, b as r, c as u, d as n } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,6 +1,6 @@
1
- import { f as m, a, l as o, m as r } from "./index-510f971a.js";
2
- import { a as t } from "./index-e7e8b823.js";
3
- import "./index-a6d00220.js";
1
+ import { f as m, a, l as o, m as r } from "./index-a7e68e4d.js";
2
+ import { a as t } from "./index-0764d403.js";
3
+ import "./index-ef7d2a24.js";
4
4
  import "./Badge.es.js";
5
5
  import "./jsx-runtime-944c88e2.js";
6
6
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as d, b as i, c as s, d as n } from "./index-e7e8b823.js";
1
+ import { a as d, b as i, c as s, d as n } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as i, c as s, d as n } from "./index-e7e8b823.js";
1
+ import { a as m, b as i, c as s, d as n } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as i, c as s, d } from "./index-e7e8b823.js";
1
+ import { a as m, b as i, c as s, d } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as i, c as l, d as n } from "./index-e7e8b823.js";
1
+ import { a as m, b as i, c as l, d as n } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as o, c as h, d } from "./index-e7e8b823.js";
1
+ import { a as m, b as o, c as h, d } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as d, b as r, c as l, d as n } from "./index-e7e8b823.js";
1
+ import { a as d, b as r, c as l, d as n } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, b as i, c as d, d as r } from "./index-e7e8b823.js";
1
+ import { a as s, b as i, c as d, d as r } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as i, c as s, d as n } from "./index-e7e8b823.js";
1
+ import { a as m, b as i, c as s, d as n } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, b as i, c as u, d as n } from "./index-e7e8b823.js";
1
+ import { a as s, b as i, c as u, d as n } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,5 +1,5 @@
1
- import { f as i, a as o, b as m, m as g } from "./index-2b172b47.js";
2
- import { b as a } from "./index-e7e8b823.js";
1
+ import { f as i, a as o, b as m, m as g } from "./index-8351215d.js";
2
+ import { b as a } from "./index-0764d403.js";
3
3
  import "./Badge.es.js";
4
4
  import "./jsx-runtime-944c88e2.js";
5
5
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, b as r, c as u, d as n } from "./index-e7e8b823.js";
1
+ import { a as s, b as r, c as u, d as n } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,5 +1,5 @@
1
- import { a as u, b as o, c as m, d as s } from "./index-e7e8b823.js";
2
- import { i as c } from "./index-a6d00220.js";
1
+ import { a as u, b as o, c as m, d as s } from "./index-0764d403.js";
2
+ import { i as c } from "./index-ef7d2a24.js";
3
3
  import "./Badge.es.js";
4
4
  import "./jsx-runtime-944c88e2.js";
5
5
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as i, c as u, d } from "./index-e7e8b823.js";
1
+ import { a as m, b as i, c as u, d } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,5 +1,5 @@
1
- import { a as u, b as r, c as p, d as s } from "./index-e7e8b823.js";
2
- import { i as w } from "./index-a6d00220.js";
1
+ import { a as u, b as r, c as p, d as s } from "./index-0764d403.js";
2
+ import { i as w } from "./index-ef7d2a24.js";
3
3
  import "./Badge.es.js";
4
4
  import "./jsx-runtime-944c88e2.js";
5
5
  import "react";
@@ -1,4 +1,4 @@
1
- import { b as o, a as u, c as l, d } from "./index-e7e8b823.js";
1
+ import { b as o, a as u, c as l, d } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { r as f, s as t } from "./index-e7e8b823.js";
1
+ import { r as f, s as t } from "./index-0764d403.js";
2
2
  function g(r, a, e) {
3
3
  f(2, arguments);
4
4
  var i = t(r, e), s = t(a, e);
@@ -1,4 +1,4 @@
1
- import { a as l, b as i, c as p, d as n } from "./index-e7e8b823.js";
1
+ import { a as l, b as i, c as p, d as n } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,5 +1,5 @@
1
- import { a as d, t as l, b as s, c as h, d as u } from "./index-e7e8b823.js";
2
- import { i as m } from "./index-a6d00220.js";
1
+ import { a as d, t as l, b as s, c as h, d as u } from "./index-0764d403.js";
2
+ import { i as m } from "./index-ef7d2a24.js";
3
3
  import "./Badge.es.js";
4
4
  import "./jsx-runtime-944c88e2.js";
5
5
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as n, c as s, d as i } from "./index-e7e8b823.js";
1
+ import { a as m, b as n, c as s, d as i } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, b as i, c as m, d as n } from "./index-e7e8b823.js";
1
+ import { a as s, b as i, c as m, d as n } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,5 +1,5 @@
1
- import { a as v, t as m, b as o, c as f, d as l } from "./index-e7e8b823.js";
2
- import { i as d } from "./index-a6d00220.js";
1
+ import { a as v, t as m, b as o, c as f, d as l } from "./index-0764d403.js";
2
+ import { i as d } from "./index-ef7d2a24.js";
3
3
  import "./Badge.es.js";
4
4
  import "./jsx-runtime-944c88e2.js";
5
5
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as u, b as i, c as h, d as s } from "./index-e7e8b823.js";
1
+ import { a as u, b as i, c as h, d as s } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as v, b as l, c as b, d as m } from "./index-e7e8b823.js";
1
+ import { a as v, b as l, c as b, d as m } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as s, b as o, c as d, d as u } from "./index-e7e8b823.js";
1
+ import { a as s, b as o, c as d, d as u } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as o, b as d, c as s, d as m } from "./index-e7e8b823.js";
1
+ import { a as o, b as d, c as s, d as m } from "./index-0764d403.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Badge as m } from "./Badge.es.js";
2
2
  import { Button as x } from "./Button.es.js";
3
- import { A as d, C as f, e as n, D as u, f as D, g as S, L as c, N as P, P as g, h, w as b, R as v, S as w, i as k, j as B, v as y, u as A, k as C, T as N, l as R, m as F, n as L, o as j, x as q, p as z, q as G, y as I, z as E } from "./index-e7e8b823.js";
3
+ import { A as d, C as f, e as n, D as u, f as D, g as S, L as c, N as P, P as g, h, w as b, R as v, S as w, i as k, j as B, v as y, u as A, k as C, T as N, l as R, m as F, n as L, o as j, x as q, p as z, q as G, y as I, z as E } from "./index-0764d403.js";
4
4
  import { D as J } from "./index-6fcd0a0b.js";
5
5
  import { Divider as M } from "./Divider.es.js";
6
6
  import { Drawer as Q } from "./Drawer.es.js";
@@ -5,6 +5,8 @@ export interface NotificationType {
5
5
  node: React.ReactNode;
6
6
  id: number;
7
7
  type: BUIComponentType;
8
+ autoClose?: number | boolean;
9
+ onClose?: () => void;
8
10
  }
9
11
  export interface ToastType {
10
12
  node: React.ReactNode;
@@ -14,7 +16,9 @@ export interface ToastType {
14
16
  export type configType = {
15
17
  title: React.ReactNode;
16
18
  msg: React.ReactNode;
19
+ autoClose?: number | boolean;
17
20
  position?: string;
21
+ onClose?: () => void;
18
22
  };
19
23
  export type Methods = (config: configType, type: BUIComponentType, position?: string) => void;
20
24
  export type ToastMthods = (msg: string, type: BUIComponentType) => void;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/blofinex/blofin-ui.git"
6
6
  },
7
- "version": "0.7.0",
7
+ "version": "0.7.1",
8
8
  "module": "./dist/index.es.js",
9
9
  "type": "module",
10
10
  "types": "./dist/index.d.ts",