aristid-ds 5.0.0 → 5.1.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.
Files changed (30) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/dist/Kit/App/index.js +17 -17
  3. package/dist/Kit/DataDisplay/Card/index.js +1 -1
  4. package/dist/Kit/DataDisplay/Collapse/index.js +1 -1
  5. package/dist/Kit/DataDisplay/ItemCard/index.js +1 -1
  6. package/dist/Kit/DataDisplay/ItemList/index.js +1 -1
  7. package/dist/Kit/DataDisplay/Table/index.js +5 -5
  8. package/dist/Kit/DataDisplay/Tag/index.js +1 -1
  9. package/dist/Kit/DataDisplay/index.js +1 -1
  10. package/dist/Kit/DataEntry/Select/index.js +1 -1
  11. package/dist/Kit/DataEntry/index.js +1 -1
  12. package/dist/Kit/Feedback/Notification/index.js +1 -1
  13. package/dist/Kit/Feedback/SnackBar/index.js +6 -6
  14. package/dist/Kit/Feedback/index.js +1 -1
  15. package/dist/Kit/Layout/Grid/index.js +5 -5
  16. package/dist/Kit/Navigation/Header/index.js +1 -1
  17. package/dist/Kit/Navigation/Menu/index.js +1 -1
  18. package/dist/Kit/Navigation/PageHeader/index.js +1 -1
  19. package/dist/Kit/Navigation/Pagination/index.js +5 -5
  20. package/dist/Kit/Navigation/index.js +1 -1
  21. package/dist/Kit/index.js +2 -2
  22. package/dist/chunks/{KitNotification.-Rnvel2X.js → KitNotification.eFNdYjE1.js} +1 -1
  23. package/dist/chunks/SnackBarProvider.xMKXdZ88.js +22 -0
  24. package/dist/chunks/{index.gEgrFVBe.js → index.5APxIwyy.js} +147 -147
  25. package/dist/chunks/{notification-provider.9tbQyfg7.js → notification-provider.pUKOxZw6.js} +26 -26
  26. package/dist/hooks/useSecureClick/index.js +8 -9
  27. package/dist/index.es.js +2 -2
  28. package/dist/index.umd.js +1 -1
  29. package/package.json +2 -1
  30. package/dist/chunks/SnackBarProvider.iuCIyLXl.js +0 -22
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.1.0](https://www.npmjs.com/package/aristid-ds/v/5.1.0) (2024-05-24)
4
+ ### 🐛 Bug Fixes
5
+ * **Button, Icon, ItemMenu:**
6
+ * Fix bug in useSecureClick causing onClick not called in some cases (@evoiron)
7
+
3
8
  ## [5.0.0](https://www.npmjs.com/package/aristid-ds/v/5.0.0) (2024-04-24)
4
9
  ### ✨ Features
5
10
  * **ItemList:**
@@ -1,23 +1,23 @@
1
1
  import "../../assets/index21.css";
2
- import { jsx as n, jsxs as d, Fragment as K } from "react/jsx-runtime";
2
+ import { jsx as n, jsxs as d, Fragment as g } from "react/jsx-runtime";
3
3
  import { useState as f, useLayoutEffect as h, useRef as L, useEffect as S } from "react";
4
4
  import { ConfigProvider as P } from "antd";
5
- import { I as C } from "../../chunks/SnackBarProvider.iuCIyLXl.js";
5
+ import { K as C } from "../../chunks/SnackBarProvider.xMKXdZ88.js";
6
6
  import { createGlobalStyle as b } from "styled-components";
7
7
  import { toCssVariables as u, uuid as y } from "../../utils/functions/index.js";
8
8
  import a from "lodash/merge";
9
9
  import { Style as E } from "react-style-tag";
10
- import { K as I } from "../../chunks/useKitTheme.KSAU-Pdv.js";
10
+ import { K as T } from "../../chunks/useKitTheme.KSAU-Pdv.js";
11
11
  import { KitAristidThemeGeneral as m } from "../../theme/aristid/general/index.js";
12
- import { antdThemeConfig as T } from "../../theme/utils/tokens-mapper/index.js";
12
+ import { antdThemeConfig as k } from "../../theme/utils/tokens-mapper/index.js";
13
13
  import { frFR as p } from "../../translation/fr-FR/index.js";
14
- import { enUS as k } from "../../translation/en-US/index.js";
15
- import { K as x, u as A } from "../../chunks/useKitLocale.96CdK3og.js";
16
- import { mapKitLocaleToAntdLocale as F } from "../../translation/utils/index.js";
17
- import { d as $ } from "../../chunks/notification-provider.9tbQyfg7.js";
14
+ import { enUS as x } from "../../translation/en-US/index.js";
15
+ import { K as A, u as F } from "../../chunks/useKitLocale.96CdK3og.js";
16
+ import { mapKitLocaleToAntdLocale as I } from "../../translation/utils/index.js";
17
+ import { d as $ } from "../../chunks/notification-provider.pUKOxZw6.js";
18
18
  import "../DataDisplay/Avatar/index.js";
19
19
  import "../DataDisplay/Badge/index.js";
20
- import "../../chunks/index.gEgrFVBe.js";
20
+ import "../../chunks/index.5APxIwyy.js";
21
21
  import { KitEmpty as c } from "../DataDisplay/Empty/index.js";
22
22
  import "../DataDisplay/Error/index.js";
23
23
  import "../DataDisplay/IdCard/index.js";
@@ -33,11 +33,11 @@ const j = b`
33
33
  ${(o) => u(o.customTheme)};
34
34
  }
35
35
  `, R = "aristid-ds-global", _ = ({ children: o, customTheme: r, id: i }) => {
36
- const [t, e] = f(null), { theme: v, appId: l, spacing: g } = G(i, r);
36
+ const [t, e] = f(null), { theme: v, appId: l, spacing: K } = G(i, r);
37
37
  return h(() => {
38
38
  const s = u(m, "--general");
39
39
  e(s);
40
- }, []), n(I.Provider, { value: { theme: v, appId: l, spacing: g }, children: t !== null && d(K, { children: [n(E, { id: R, hasSourceMap: !1, children: `
40
+ }, []), n(T.Provider, { value: { theme: v, appId: l, spacing: K }, children: t !== null && d(g, { children: [n(E, { id: R, hasSourceMap: !1, children: `
41
41
  :root{
42
42
  ${Object.keys(t).map((s) => `${s}: ${t[s]}`).join(";")}
43
43
  }
@@ -48,7 +48,7 @@ const j = b`
48
48
  return { theme: m, appId: t.current, spacing: e };
49
49
  }, N = ({ children: o }) => {
50
50
  const r = U();
51
- return n(x.Provider, { value: r, children: o });
51
+ return n(A.Provider, { value: r, children: o });
52
52
  }, U = () => {
53
53
  const [o, r] = f(p);
54
54
  return { locale: o, setKitLocale: (t) => {
@@ -56,19 +56,19 @@ const j = b`
56
56
  const e = a(p, t);
57
57
  r(e);
58
58
  } else {
59
- const e = a(k, t);
59
+ const e = a(x, t);
60
60
  r(e);
61
61
  }
62
62
  } };
63
- }, gr = ({ children: o, locale: r, customTheme: i, id: t }) => n(_, { customTheme: i, id: t, children: n(N, { children: n(V, { locale: r, children: o }) }) }), V = ({ children: o, locale: r }) => {
64
- const { locale: i, setKitLocale: t } = A();
63
+ }, Kr = ({ children: o, locale: r, customTheme: i, id: t }) => n(_, { customTheme: i, id: t, children: n(N, { children: n(V, { locale: r, children: o }) }) }), V = ({ children: o, locale: r }) => {
64
+ const { locale: i, setKitLocale: t } = F();
65
65
  return S(() => {
66
66
  r !== void 0 && t(r);
67
- }, [r, t]), n(P, { theme: T, locale: F(r), renderEmpty: () => {
67
+ }, [r, t]), n(P, { theme: k, locale: I(r), renderEmpty: () => {
68
68
  var e;
69
69
  return n(c, { className: "default-render", image: c.ASSET_LIST, description: (e = i.Empty) === null || e === void 0 ? void 0 : e.noData });
70
70
  }, children: d($, { children: [n(C, {}), o] }) });
71
71
  };
72
72
  export {
73
- gr as KitApp
73
+ Kr as KitApp
74
74
  };
@@ -8,7 +8,7 @@ import "../../DataEntry/Input/index.js";
8
8
  import "../../DataEntry/InputNumber/index.js";
9
9
  import "../../DataEntry/Radio/index.js";
10
10
  import "../../DataEntry/Rate/index.js";
11
- import { K as y } from "../../../chunks/index.gEgrFVBe.js";
11
+ import { K as y } from "../../../chunks/index.5APxIwyy.js";
12
12
  import "../../DataEntry/Switch/index.js";
13
13
  import "../../DataEntry/DatePicker/index.js";
14
14
  import "../../DataEntry/AutoComplete/index.js";
@@ -1,4 +1,4 @@
1
- import { b as e } from "../../../chunks/index.gEgrFVBe.js";
1
+ import { b as e } from "../../../chunks/index.5APxIwyy.js";
2
2
  export {
3
3
  e as KitCollapse
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "classnames";
4
- import { a as u } from "../../../chunks/index.gEgrFVBe.js";
4
+ import { a as u } from "../../../chunks/index.5APxIwyy.js";
5
5
  import "../../General/Button/index.js";
6
6
  import "../../General/Typography/index.js";
7
7
  import "../../General/Icon/index.js";
@@ -5,7 +5,7 @@ import "../../DataEntry/Input/index.js";
5
5
  import "../../DataEntry/InputNumber/index.js";
6
6
  import "../../DataEntry/Radio/index.js";
7
7
  import "../../DataEntry/Rate/index.js";
8
- import { c as M } from "../../../chunks/index.gEgrFVBe.js";
8
+ import { c as M } from "../../../chunks/index.5APxIwyy.js";
9
9
  import "../../DataEntry/Switch/index.js";
10
10
  import "../../DataEntry/DatePicker/index.js";
11
11
  import "../../DataEntry/AutoComplete/index.js";
@@ -25,10 +25,10 @@ const N = {
25
25
  },
26
26
  body: {
27
27
  cell: ({ children: l, className: o, style: n, title: e, rowSpan: s, colSpan: c, ...d }) => {
28
- var a, u;
28
+ var a, b;
29
29
  const v = (a = t == null ? void 0 : t.body) === null || a === void 0 ? void 0 : a.cell, i = m(o);
30
- let b = "";
31
- return !((u = i.antCell) === null || u === void 0) && u.includes("ant-table-cell-ellipsis") && (b = e), r("td", { className: i.antCell, style: n, title: b, rowSpan: s, colSpan: c, children: r("div", { className: i.internalCell, children: v ? r(v, { title: e, ...d, children: l }) : l }) });
30
+ let u = "";
31
+ return !((b = i.antCell) === null || b === void 0) && b.includes("ant-table-cell-ellipsis") && (u = e), r("td", { className: i.antCell, style: n, title: u, rowSpan: s, colSpan: c, children: r("div", { className: i.internalCell, children: v ? r(v, { title: e, ...d, children: l }) : l }) });
32
32
  },
33
33
  row: ({ children: l, ...o }) => {
34
34
  var n;
@@ -51,10 +51,10 @@ const N = {
51
51
  }
52
52
  return r(_, { color: o, icon: r(h, { icon: l }) });
53
53
  }, g = ({ className: t, style: l, cellsBackgroundColor: o, columns: n, onChange: e, components: s, ...c }) => {
54
- const { appId: d } = w(), a = I(d, N["kit-table"], t), u = n == null ? void 0 : n.map((i) => (i.sorter && (i.sortIcon = ({ sortOrder: b }) => r(K, { sortOrder: b })), i)), v = (i, b, p, f) => {
54
+ const { appId: d } = w(), a = I(d, N["kit-table"], t), b = n == null ? void 0 : n.map((i) => (i.sorter && (i.sortIcon = ({ sortOrder: u }) => r(K, { sortOrder: u })), i)), v = (i, u, p, f) => {
55
55
  e == null || e(i, p, f);
56
56
  };
57
- return r(C, { className: a, style: { "--kit-table-cells-background-color": o, ...l }, columns: u, components: T(s), onChange: v, ...c });
57
+ return r(C, { className: a, style: { "--kit-table-cells-background-color": o, ...l }, columns: b, components: T(s), onChange: v, ...c });
58
58
  };
59
59
  g.displayName = "KitTable";
60
60
  export {
@@ -1,4 +1,4 @@
1
- import { d as r } from "../../../chunks/index.gEgrFVBe.js";
1
+ import { d as r } from "../../../chunks/index.5APxIwyy.js";
2
2
  export {
3
3
  r as KitTag
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { KitAvatar as o } from "./Avatar/index.js";
2
2
  import { KitBadge as a } from "./Badge/index.js";
3
- import { K, b as m, a as p, c as f, d as x } from "../../chunks/index.gEgrFVBe.js";
3
+ import { K, b as m, a as p, c as f, d as x } from "../../chunks/index.5APxIwyy.js";
4
4
  import { KitEmpty as d } from "./Empty/index.js";
5
5
  import { KitError as C } from "./Error/index.js";
6
6
  import { KitIdCard as l } from "./IdCard/index.js";
@@ -6,7 +6,7 @@ import "classnames";
6
6
  import "react";
7
7
  import "short-unique-id";
8
8
  import "use-debounce";
9
- import { e as s } from "../../../chunks/index.gEgrFVBe.js";
9
+ import { e as s } from "../../../chunks/index.5APxIwyy.js";
10
10
  import "lodash/flatten";
11
11
  export {
12
12
  s as KitSelect
@@ -4,7 +4,7 @@ import { KitInputNumber as m } from "./InputNumber/index.js";
4
4
  import { K } from "../../chunks/InputWrapper.NQtlTzQk.js";
5
5
  import { KitRadio as a } from "./Radio/index.js";
6
6
  import { KitRate as l } from "./Rate/index.js";
7
- import { e as d } from "../../chunks/index.gEgrFVBe.js";
7
+ import { e as d } from "../../chunks/index.5APxIwyy.js";
8
8
  import { KitSwitch as n } from "./Switch/index.js";
9
9
  import { KitDatePicker as I } from "./DatePicker/index.js";
10
10
  import { KitAutoComplete as b } from "./AutoComplete/index.js";
@@ -1,4 +1,4 @@
1
- import { K as o, u as a } from "../../../chunks/KitNotification.-Rnvel2X.js";
1
+ import { K as o, u as a } from "../../../chunks/KitNotification.eFNdYjE1.js";
2
2
  export {
3
3
  o as KitNotification,
4
4
  a as useKitNotification
@@ -1,26 +1,26 @@
1
1
  import "../../../assets/index26.css";
2
- import { I as h } from "../../../chunks/SnackBarProvider.iuCIyLXl.js";
2
+ import { K as h } from "../../../chunks/SnackBarProvider.xMKXdZ88.js";
3
3
  import { jsxs as v, jsx as a } from "react/jsx-runtime";
4
4
  import { toast as k } from "react-hot-toast";
5
5
  import { u as b } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
6
6
  import { FontAwesomeIcon as N } from "@fortawesome/react-fontawesome";
7
7
  import { faXmark as f } from "@fortawesome/free-solid-svg-icons";
8
8
  import B from "classnames";
9
- const S = {
9
+ const K = {
10
10
  "kit-snackbar": "_kit-snackbar_1k0m4_2"
11
- }, g = ({ message: t, className: c, ctaText: n, ctaOnClick: r, closable: o, style: m }) => {
12
- const { appId: d } = b(), s = n !== void 0 && r !== void 0, e = o !== void 0, l = `auto ${s ? "min-content" : ""} ${e ? "12px" : ""}`, p = B(d, S["kit-snackbar"], c, {
11
+ }, S = ({ message: t, className: c, ctaText: n, ctaOnClick: r, closable: o, style: m }) => {
12
+ const { appId: d } = b(), s = n !== void 0 && r !== void 0, e = o !== void 0, l = `auto ${s ? "min-content" : ""} ${e ? "12px" : ""}`, p = B(d, K["kit-snackbar"], c, {
13
13
  "with-close-container": e,
14
14
  "with-cta-container": s
15
15
  });
16
16
  return v("div", { style: { ...m, gridTemplateColumns: l }, className: p, children: [a("div", { className: "kit-snackbar-grid kit-snackbar-grid-one", children: a("div", { className: "kit-snackbar-title", children: t }) }), s && a("div", { className: "kit-snackbar-grid kit-snackbar-grid-two", children: a("div", { className: "kit-snackbar-cta-container", onClick: () => {
17
17
  r(), i();
18
18
  }, children: a("div", { className: "kit-snackbar-cta", children: n }) }) }), e && a("div", { className: "kit-snackbar-grid kit-snackbar-grid-three", children: a("div", { className: "kit-snackbar-close-container", onClick: () => i(), children: a(N, { icon: f }) }) })] });
19
- }, u = g, w = 4e3, C = ({ message: t, closable: c, ctaText: n, ctaOnClick: r, duration: o = w }) => (i(), k(a(u, { message: t, ctaText: n, ctaOnClick: r, closable: c }), {
19
+ }, g = S, u = 4e3, w = ({ message: t, closable: c, ctaText: n, ctaOnClick: r, duration: o = u }) => (i(), k(a(g, { message: t, ctaText: n, ctaOnClick: r, closable: c }), {
20
20
  duration: o
21
21
  })), i = () => {
22
22
  k.remove();
23
- }, y = C, D = i, F = h;
23
+ }, y = w, D = i, F = h;
24
24
  export {
25
25
  F as KitSnackBarProvider,
26
26
  D as closeKitSnackBar,
@@ -2,7 +2,7 @@ import { KitAlert as t } from "./Alert/index.js";
2
2
  import { KitModal as a } from "./Modal/index.js";
3
3
  import { KitProgress as K } from "./Progress/index.js";
4
4
  import { KitSnackBarProvider as c, closeKitSnackBar as n, openKitSnackBar as p } from "./SnackBar/index.js";
5
- import { K as m, u as x } from "../../chunks/KitNotification.-Rnvel2X.js";
5
+ import { K as m, u as x } from "../../chunks/KitNotification.eFNdYjE1.js";
6
6
  export {
7
7
  t as KitAlert,
8
8
  a as KitModal,
@@ -1,10 +1,10 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { Row as r, Col as n } from "antd";
3
- const i = (o) => t(r, { ...o }), l = i, s = (o) => t(n, { ...o }), e = s, c = {
2
+ import { Row as i, Col as n } from "antd";
3
+ const r = (o) => t(i, { ...o }), l = r, s = (o) => t(n, { ...o }), c = s, m = {
4
4
  Row: l,
5
- Col: e
5
+ Col: c
6
6
  };
7
- c.displayName = "KitGrid";
7
+ m.displayName = "KitGrid";
8
8
  export {
9
- c as KitGrid
9
+ m as KitGrid
10
10
  };
@@ -1,4 +1,4 @@
1
- import { g as a } from "../../../chunks/index.gEgrFVBe.js";
1
+ import { g as a } from "../../../chunks/index.5APxIwyy.js";
2
2
  export {
3
3
  a as KitHeader
4
4
  };
@@ -1,4 +1,4 @@
1
- import { h as r } from "../../../chunks/index.gEgrFVBe.js";
1
+ import { h as r } from "../../../chunks/index.5APxIwyy.js";
2
2
  export {
3
3
  r as KitMenu
4
4
  };
@@ -16,7 +16,7 @@ import "../../DataEntry/Input/index.js";
16
16
  import "../../DataEntry/InputNumber/index.js";
17
17
  import "../../DataEntry/Radio/index.js";
18
18
  import "../../DataEntry/Rate/index.js";
19
- import { f as A } from "../../../chunks/index.gEgrFVBe.js";
19
+ import { f as A } from "../../../chunks/index.5APxIwyy.js";
20
20
  import "../../DataEntry/Switch/index.js";
21
21
  import "../../DataEntry/DatePicker/index.js";
22
22
  import "../../DataEntry/AutoComplete/index.js";
@@ -2,12 +2,12 @@ import { jsx as c } from "react/jsx-runtime";
2
2
  import { Pagination as d } from "antd";
3
3
  import { u as p } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
4
4
  import f from "classnames";
5
- import { s as u } from "../../../chunks/styles.module.x1Oajwjm.js";
6
- const P = ({ className: i, bordered: r, ...t }) => {
7
- const { appId: n } = p(), o = (a, s, e) => t.itemRender ? t.itemRender(a, s, e) : e, m = f(n, u["kit-pagination"], i, {
8
- "kit-pagination-bordered": r
5
+ import { s as R } from "../../../chunks/styles.module.x1Oajwjm.js";
6
+ const P = ({ className: i, bordered: o, ...t }) => {
7
+ const { appId: n } = p(), r = (a, s, e) => t.itemRender ? t.itemRender(a, s, e) : e, m = f(n, R["kit-pagination"], i, {
8
+ "kit-pagination-bordered": o
9
9
  });
10
- return c(d, { ...t, itemRender: o, className: m });
10
+ return c(d, { ...t, itemRender: r, className: m });
11
11
  };
12
12
  export {
13
13
  P as KitPagination
@@ -1,6 +1,6 @@
1
1
  import { KitBreadcrumb as e } from "./Breadcrumb/index.js";
2
2
  import { KitDropDown as a } from "./DropDown/index.js";
3
- import { g as p, h as K, f } from "../../chunks/index.gEgrFVBe.js";
3
+ import { g as p, h as K, f } from "../../chunks/index.5APxIwyy.js";
4
4
  import { KitSteps as x } from "./Steps/index.js";
5
5
  import { KitPagination as s } from "./Pagination/index.js";
6
6
  export {
package/dist/Kit/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { KitAvatar as o } from "./DataDisplay/Avatar/index.js";
2
2
  import { KitBadge as a } from "./DataDisplay/Badge/index.js";
3
- import { K as n, b as s, g as p, a as A, c as m, h as f, f as K, e as l, d as x } from "../chunks/index.gEgrFVBe.js";
3
+ import { K as n, b as s, g as p, a as A, c as m, h as f, f as K, e as l, d as x } from "../chunks/index.5APxIwyy.js";
4
4
  import { KitEmpty as d } from "./DataDisplay/Empty/index.js";
5
5
  import { KitError as T } from "./DataDisplay/Error/index.js";
6
6
  import { KitIdCard as S } from "./DataDisplay/IdCard/index.js";
@@ -27,7 +27,7 @@ import { KitAlert as nt } from "./Feedback/Alert/index.js";
27
27
  import { KitModal as pt } from "./Feedback/Modal/index.js";
28
28
  import { KitProgress as mt } from "./Feedback/Progress/index.js";
29
29
  import { KitSnackBarProvider as Kt, closeKitSnackBar as lt, openKitSnackBar as xt } from "./Feedback/SnackBar/index.js";
30
- import { K as dt, u as ut } from "../chunks/KitNotification.-Rnvel2X.js";
30
+ import { K as dt, u as ut } from "../chunks/KitNotification.eFNdYjE1.js";
31
31
  import { KitButton as Ct } from "./General/Button/index.js";
32
32
  import { KitTypography as gt } from "./General/Typography/index.js";
33
33
  import { KitIcon as kt } from "./General/Icon/index.js";
@@ -1,6 +1,6 @@
1
1
  import "../assets/KitNotification.css";
2
2
  import { useContext as h } from "react";
3
- import { K as g, g as x, a as N, b as K, c as b } from "./notification-provider.9tbQyfg7.js";
3
+ import { K as g, g as x, a as N, b as K, c as b } from "./notification-provider.pUKOxZw6.js";
4
4
  import { jsx as i, jsxs as w } from "react/jsx-runtime";
5
5
  import v from "classnames";
6
6
  import { FontAwesomeIcon as f } from "@fortawesome/react-fontawesome";
@@ -0,0 +1,22 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { useState as a, useEffect as s } from "react";
3
+ import { Toaster as n } from "react-hot-toast";
4
+ const l = {
5
+ background: "initial",
6
+ padding: "initial",
7
+ color: "initial",
8
+ boxShadow: "initial",
9
+ lineHeight: "initial",
10
+ display: "initial",
11
+ alignItems: "initial",
12
+ borderRadius: "initial"
13
+ }, i = "aristid-ds-toaster", S = () => {
14
+ const [o, e] = a(!0);
15
+ return s(() => {
16
+ const r = document.querySelector(`.${i}`);
17
+ e(!!r);
18
+ }, []), o ? t("div", {}) : t(n, { containerClassName: i, position: "bottom-center", toastOptions: { style: l } });
19
+ };
20
+ export {
21
+ S as K
22
+ };