sander-ui 0.1.4 → 0.1.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.
Files changed (75) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index10.js +1 -1
  3. package/dist/index12.js +44 -43
  4. package/dist/index13.js +1 -1
  5. package/dist/index14.js +1 -1
  6. package/dist/index15.js +1 -1
  7. package/dist/index16.js +44 -43
  8. package/dist/index17.js +3 -3
  9. package/dist/index18.js +1 -1
  10. package/dist/index19.js +1 -1
  11. package/dist/index20.js +1 -1
  12. package/dist/index21.js +1 -1
  13. package/dist/index22.js +1 -1
  14. package/dist/index23.js +1 -1
  15. package/dist/index24.js +1 -1
  16. package/dist/index25.js +1 -1
  17. package/dist/index26.js +1 -1
  18. package/dist/index27.js +7 -7
  19. package/dist/index28.js +1 -1
  20. package/dist/index29.js +1 -1
  21. package/dist/index3.js +1 -1
  22. package/dist/index30.js +2 -2
  23. package/dist/index31.js +15 -15
  24. package/dist/index32.js +11 -8
  25. package/dist/index33.js +40 -4
  26. package/dist/index34.js +7 -27
  27. package/dist/index35.js +25 -25
  28. package/dist/index36.js +16 -18
  29. package/dist/index37.js +22 -22
  30. package/dist/index38.js +21 -8
  31. package/dist/index39.js +13 -14
  32. package/dist/index4.js +6 -6
  33. package/dist/index40.js +23 -8
  34. package/dist/index41.js +8 -7
  35. package/dist/index42.js +14 -7
  36. package/dist/index43.js +8 -26
  37. package/dist/index44.js +7 -13
  38. package/dist/index45.js +12 -39
  39. package/dist/index46.js +16 -22
  40. package/dist/index47.js +8 -27
  41. package/dist/index48.js +4 -13
  42. package/dist/index49.js +26 -20
  43. package/dist/index5.js +2 -2
  44. package/dist/index50.js +16 -14
  45. package/dist/index51.js +21 -4
  46. package/dist/index52.js +12 -16
  47. package/dist/index53.js +28 -23
  48. package/dist/index54.js +22 -14
  49. package/dist/index55.js +16 -12
  50. package/dist/index56.js +14 -41
  51. package/dist/index57.js +3 -3
  52. package/dist/index58.js +14 -16
  53. package/dist/index59.js +18 -16
  54. package/dist/index6.js +2 -2
  55. package/dist/index60.js +12 -22
  56. package/dist/index61.js +25 -20
  57. package/dist/index62.js +41 -16
  58. package/dist/index63.js +4 -13
  59. package/dist/index64.js +27 -31
  60. package/dist/index65.js +26 -35
  61. package/dist/index66.js +35 -2
  62. package/dist/index67.js +2 -4
  63. package/dist/index68.js +4 -21
  64. package/dist/index69.js +21 -2
  65. package/dist/index7.js +3 -3
  66. package/dist/index70.js +2 -2
  67. package/dist/index71.js +2 -6
  68. package/dist/index72.js +6 -34
  69. package/dist/index73.js +34 -12
  70. package/dist/index74.js +11 -6
  71. package/dist/index75.js +7 -5
  72. package/dist/index76.js +7 -0
  73. package/dist/index8.js +1 -1
  74. package/dist/index9.js +1 -1
  75. package/package.json +1 -1
package/dist/index12.js CHANGED
@@ -1,79 +1,80 @@
1
1
  import { jsx as l, jsxs as b } from "react/jsx-runtime";
2
- import n from "./index30.js";
2
+ import c from "./index30.js";
3
3
  import { useRef as v, useState as d, useEffect as g } from "react";
4
4
  import { createPortal as w } from "react-dom";
5
- import r from "./index45.js";
6
- import D from "./index42.js";
7
- const B = ({
8
- open: s,
5
+ import { useScrollLock as D } from "./index32.js";
6
+ import r from "./index33.js";
7
+ import y from "./index34.js";
8
+ const R = ({
9
+ open: o,
9
10
  onClose: t,
10
- children: o,
11
- side: c = "right",
12
- size: h = "md",
13
- className: p,
11
+ children: s,
12
+ side: f = "right",
13
+ size: p = "md",
14
+ className: h,
14
15
  ...N
15
16
  }) => {
16
- const a = v(null), [f, m] = d(!1), [i, u] = d(!1);
17
- return g(() => {
18
- s ? (m(!0), u(!1)) : m((e) => (e && u(!0), e));
19
- }, [s]), g(() => {
20
- const e = a.current;
21
- f && !i && e && !e.open && e.showModal();
22
- }, [f, i]), f ? w(
17
+ const i = v(null), [n, m] = d(!1), [a, u] = d(!1);
18
+ return D(n && !a), g(() => {
19
+ o ? (m(!0), u(!1)) : m((e) => (e && u(!0), e));
20
+ }, [o]), g(() => {
21
+ const e = i.current;
22
+ n && !a && e && !e.open && (e.showModal(), e.focus());
23
+ }, [n, a]), n ? w(
23
24
  /* @__PURE__ */ l(
24
25
  "dialog",
25
26
  {
26
- ref: a,
27
- className: n(
27
+ ref: i,
28
+ className: c(
28
29
  r.dialog,
29
- r[c],
30
- r[`size-${h}`],
31
- i && r.closing,
32
- p
30
+ r[f],
31
+ r[`size-${p}`],
32
+ a && r.closing,
33
+ h
33
34
  ),
34
35
  onAnimationEnd: () => {
35
- i && (a.current?.close(), m(!1), u(!1));
36
+ a && (i.current?.close(), m(!1), u(!1));
36
37
  },
37
38
  onCancel: (e) => {
38
39
  e.preventDefault(), t();
39
40
  },
40
41
  onClick: (e) => {
41
- e.target === a.current && t();
42
+ e.target === i.current && t();
42
43
  },
43
44
  ...N,
44
- children: /* @__PURE__ */ l("div", { className: r.content, children: o })
45
+ children: /* @__PURE__ */ l("div", { className: r.content, children: s })
45
46
  }
46
47
  ),
47
48
  document.body
48
49
  ) : null;
49
- }, E = ({
50
- children: s,
50
+ }, S = ({
51
+ children: o,
51
52
  onClose: t,
52
- className: o,
53
- ...c
54
- }) => /* @__PURE__ */ b("div", { className: n(r.header, o), ...c, children: [
55
- /* @__PURE__ */ l("h2", { className: r.title, children: s }),
53
+ className: s,
54
+ ...f
55
+ }) => /* @__PURE__ */ b("div", { className: c(r.header, s), ...f, children: [
56
+ /* @__PURE__ */ l("h2", { className: r.title, children: o }),
56
57
  t && /* @__PURE__ */ l(
57
58
  "button",
58
59
  {
59
60
  onClick: t,
60
61
  "aria-label": "Close",
61
62
  className: r.closeButton,
62
- children: /* @__PURE__ */ l(D, { size: 20 })
63
+ children: /* @__PURE__ */ l(y, { size: 20 })
63
64
  }
64
65
  )
65
- ] }), R = ({
66
- children: s,
66
+ ] }), A = ({
67
+ children: o,
67
68
  className: t,
68
- ...o
69
- }) => /* @__PURE__ */ l("div", { className: n(r.body, t), ...o, children: s }), A = ({
70
- children: s,
69
+ ...s
70
+ }) => /* @__PURE__ */ l("div", { className: c(r.body, t), ...s, children: o }), F = ({
71
+ children: o,
71
72
  className: t,
72
- ...o
73
- }) => /* @__PURE__ */ l("div", { className: n(r.footer, t), ...o, children: s });
73
+ ...s
74
+ }) => /* @__PURE__ */ l("div", { className: c(r.footer, t), ...s, children: o });
74
75
  export {
75
- B as Drawer,
76
- R as DrawerBody,
77
- A as DrawerFooter,
78
- E as DrawerHeader
76
+ R as Drawer,
77
+ A as DrawerBody,
78
+ F as DrawerFooter,
79
+ S as DrawerHeader
79
80
  };
package/dist/index13.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as w } from "react/jsx-runtime";
2
2
  import b from "./index30.js";
3
3
  import { useState as h, useRef as v, useId as R, useEffect as k, cloneElement as E, createContext as I, useContext as y } from "react";
4
- import m from "./index36.js";
4
+ import m from "./index59.js";
5
5
  const C = I(null);
6
6
  function x() {
7
7
  const t = y(C);
package/dist/index14.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as m, jsx as i } from "react/jsx-runtime";
2
2
  import p from "./index30.js";
3
3
  import { forwardRef as n } from "react";
4
- import a from "./index44.js";
4
+ import a from "./index39.js";
5
5
  const c = n(
6
6
  ({ label: s, error: r, id: e, className: t, ...l }, o) => /* @__PURE__ */ m("div", { className: a.wrapper, children: [
7
7
  s && /* @__PURE__ */ i("label", { htmlFor: e, className: a.label, children: s }),
package/dist/index15.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
2
  import a from "./index30.js";
3
- import r from "./index47.js";
3
+ import r from "./index49.js";
4
4
  const u = ({
5
5
  variant: t = "primary",
6
6
  size: o = "md",
package/dist/index16.js CHANGED
@@ -1,77 +1,78 @@
1
1
  import { jsx as l, jsxs as b } from "react/jsx-runtime";
2
- import i from "./index30.js";
3
- import { useRef as h, useState as u, useEffect as g } from "react";
2
+ import c from "./index30.js";
3
+ import { useRef as h, useState as u, useEffect as p } from "react";
4
4
  import { createPortal as v } from "react-dom";
5
- import o from "./index43.js";
6
- import M from "./index42.js";
7
- const B = ({
5
+ import { useScrollLock as M } from "./index32.js";
6
+ import t from "./index61.js";
7
+ import y from "./index34.js";
8
+ const R = ({
8
9
  open: s,
9
- onClose: t,
10
+ onClose: o,
10
11
  children: r,
11
- size: c = "sm",
12
- className: p,
12
+ size: f = "sm",
13
+ className: g,
13
14
  ...N
14
15
  }) => {
15
- const a = h(null), [f, d] = u(!1), [n, m] = u(!1);
16
- return g(() => {
17
- s ? (d(!0), m(!1)) : d((e) => (e && m(!0), e));
18
- }, [s]), g(() => {
19
- const e = a.current;
20
- f && !n && e && !e.open && e.showModal();
21
- }, [f, n]), f ? v(
16
+ const i = h(null), [n, m] = u(!1), [a, d] = u(!1);
17
+ return M(n && !a), p(() => {
18
+ s ? (m(!0), d(!1)) : m((e) => (e && d(!0), e));
19
+ }, [s]), p(() => {
20
+ const e = i.current;
21
+ n && !a && e && !e.open && (e.showModal(), e.focus());
22
+ }, [n, a]), n ? v(
22
23
  /* @__PURE__ */ l(
23
24
  "dialog",
24
25
  {
25
- ref: a,
26
- className: i(
27
- o.dialog,
28
- o[`size-${c}`],
29
- n && o.closing,
30
- p
26
+ ref: i,
27
+ className: c(
28
+ t.dialog,
29
+ t[`size-${f}`],
30
+ a && t.closing,
31
+ g
31
32
  ),
32
33
  onAnimationEnd: () => {
33
- n && (a.current?.close(), d(!1), m(!1));
34
+ a && (i.current?.close(), m(!1), d(!1));
34
35
  },
35
36
  onCancel: (e) => {
36
- e.preventDefault(), t();
37
+ e.preventDefault(), o();
37
38
  },
38
39
  onClick: (e) => {
39
- e.target === a.current && t();
40
+ e.target === i.current && o();
40
41
  },
41
42
  ...N,
42
- children: /* @__PURE__ */ l("div", { className: o.content, children: r })
43
+ children: /* @__PURE__ */ l("div", { className: t.content, children: r })
43
44
  }
44
45
  ),
45
46
  document.body
46
47
  ) : null;
47
- }, E = ({
48
+ }, S = ({
48
49
  children: s,
49
- onClose: t,
50
+ onClose: o,
50
51
  className: r,
51
- ...c
52
- }) => /* @__PURE__ */ b("div", { className: i(o.header, r), ...c, children: [
53
- /* @__PURE__ */ l("h2", { className: o.title, children: s }),
54
- t && /* @__PURE__ */ l(
52
+ ...f
53
+ }) => /* @__PURE__ */ b("div", { className: c(t.header, r), ...f, children: [
54
+ /* @__PURE__ */ l("h2", { className: t.title, children: s }),
55
+ o && /* @__PURE__ */ l(
55
56
  "button",
56
57
  {
57
- onClick: t,
58
+ onClick: o,
58
59
  "aria-label": "Close",
59
- className: o.closeButton,
60
- children: /* @__PURE__ */ l(M, { size: 20 })
60
+ className: t.closeButton,
61
+ children: /* @__PURE__ */ l(y, { size: 20 })
61
62
  }
62
63
  )
63
- ] }), R = ({
64
+ ] }), w = ({
64
65
  children: s,
65
- className: t,
66
+ className: o,
66
67
  ...r
67
- }) => /* @__PURE__ */ l("div", { className: i(o.body, t), ...r, children: s }), w = ({
68
+ }) => /* @__PURE__ */ l("div", { className: c(t.body, o), ...r, children: s }), A = ({
68
69
  children: s,
69
- className: t,
70
+ className: o,
70
71
  ...r
71
- }) => /* @__PURE__ */ l("div", { className: i(o.footer, t), ...r, children: s });
72
+ }) => /* @__PURE__ */ l("div", { className: c(t.footer, o), ...r, children: s });
72
73
  export {
73
- B as Modal,
74
- R as ModalBody,
75
- w as ModalFooter,
76
- E as ModalHeader
74
+ R as Modal,
75
+ w as ModalBody,
76
+ A as ModalFooter,
77
+ S as ModalHeader
77
78
  };
package/dist/index17.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsxs as f, jsx as e } from "react/jsx-runtime";
2
2
  import u from "./index30.js";
3
- import n from "./index50.js";
4
- import h from "./index51.js";
5
- import d from "./index33.js";
3
+ import n from "./index56.js";
4
+ import h from "./index57.js";
5
+ import d from "./index48.js";
6
6
  function b(i, r, a) {
7
7
  const s = [], c = Math.max(2, i - a), t = Math.min(r - 1, i + a);
8
8
  s.push(1), c > 2 && s.push("ellipsis");
package/dist/index18.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
2
  import o from "./index30.js";
3
- import r from "./index46.js";
3
+ import r from "./index37.js";
4
4
  const N = ({
5
5
  value: e,
6
6
  max: d = 100,
package/dist/index19.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as d, jsx as l } from "react/jsx-runtime";
2
2
  import c from "./index30.js";
3
3
  import { forwardRef as h } from "react";
4
- import a from "./index60.js";
4
+ import a from "./index54.js";
5
5
  const v = h(
6
6
  ({ label: i, error: s, options: m, value: n, onChange: o, name: r, className: p, ...t }, u) => /* @__PURE__ */ d("fieldset", { className: c(a.fieldset, p), children: [
7
7
  i && /* @__PURE__ */ l("legend", { className: a.legend, children: i }),
package/dist/index20.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as t, jsx as a } from "react/jsx-runtime";
2
2
  import p from "./index30.js";
3
3
  import { forwardRef as v } from "react";
4
- import l from "./index63.js";
4
+ import l from "./index45.js";
5
5
  const u = v(
6
6
  ({ label: i, error: e, id: r, options: m, placeholder: c, className: o, ...d }, n) => /* @__PURE__ */ t("div", { className: l.wrapper, children: [
7
7
  i && /* @__PURE__ */ a("label", { htmlFor: r, className: l.label, children: i }),
package/dist/index21.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import n from "./index30.js";
3
- import t from "./index55.js";
3
+ import t from "./index52.js";
4
4
  const c = ({
5
5
  width: e,
6
6
  height: r,
package/dist/index22.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
2
  import i from "./index30.js";
3
- import r from "./index59.js";
3
+ import r from "./index55.js";
4
4
  const m = ({
5
5
  size: s = "md",
6
6
  className: n,
package/dist/index23.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
2
  import l from "./index30.js";
3
- import r from "./index61.js";
3
+ import r from "./index38.js";
4
4
  const u = ({
5
5
  id: t,
6
6
  checked: s,
package/dist/index24.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as b, jsxs as D } from "react/jsx-runtime";
2
2
  import f from "./index30.js";
3
3
  import { useRef as w, useState as I, useCallback as E, useEffect as g } from "react";
4
- import a from "./index54.js";
4
+ import a from "./index58.js";
5
5
  const j = ({
6
6
  tabs: l,
7
7
  value: i,
package/dist/index25.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import l from "./index30.js";
3
- import s from "./index58.js";
3
+ import s from "./index36.js";
4
4
  const m = ({ children: e, className: a, ...r }) => /* @__PURE__ */ t("div", { className: l(s.wrapper, a), children: /* @__PURE__ */ t("table", { className: s.table, ...r, children: e }) }), d = ({ children: e, className: a, ...r }) => /* @__PURE__ */ t("thead", { className: l(s.header, a), ...r, children: e }), b = ({ children: e, className: a, ...r }) => /* @__PURE__ */ t("tbody", { className: l(s.body, a), ...r, children: e }), N = ({ children: e, className: a, ...r }) => /* @__PURE__ */ t("tr", { className: l(s.row, a), ...r, children: e }), p = ({
5
5
  children: e,
6
6
  className: a,
package/dist/index26.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as m, jsx as t } from "react/jsx-runtime";
2
2
  import c from "./index30.js";
3
3
  import { forwardRef as d } from "react";
4
- import a from "./index48.js";
4
+ import a from "./index60.js";
5
5
  const p = d(
6
6
  ({ label: s, error: r, id: e, className: l, ...o }, i) => /* @__PURE__ */ m("div", { className: a.wrapper, children: [
7
7
  s && /* @__PURE__ */ t("label", { htmlFor: e, className: a.label, children: s }),
package/dist/index27.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { jsxs as l, jsx as s } from "react/jsx-runtime";
2
2
  import n from "./index30.js";
3
- import r from "./index56.js";
4
- import t from "./index57.js";
5
- import o from "./index38.js";
6
- import d from "./index39.js";
7
- import f from "./index40.js";
8
- import p from "./index41.js";
9
- import g from "./index42.js";
3
+ import r from "./index62.js";
4
+ import t from "./index63.js";
5
+ import o from "./index41.js";
6
+ import d from "./index42.js";
7
+ import f from "./index43.js";
8
+ import p from "./index44.js";
9
+ import g from "./index34.js";
10
10
  const u = {
11
11
  default: o,
12
12
  success: p,
package/dist/index28.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import m from "./index30.js";
3
3
  import { Toast as l } from "./index27.js";
4
- import t from "./index56.js";
4
+ import t from "./index62.js";
5
5
  const f = ({
6
6
  toasts: r,
7
7
  position: e = "top-right",
package/dist/index29.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as t, jsx as u } from "react/jsx-runtime";
2
2
  import r from "./index30.js";
3
3
  import { useId as y, useState as g, cloneElement as x } from "react";
4
- import s from "./index64.js";
4
+ import s from "./index53.js";
5
5
  const h = ({
6
6
  content: i,
7
7
  placement: a = "top",
package/dist/index3.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as o, jsxs as O } from "react/jsx-runtime";
2
2
  import u from "./index30.js";
3
3
  import { useState as f, useCallback as A, useId as j, useContext as k, useRef as y, createContext as R } from "react";
4
- import e from "./index52.js";
4
+ import e from "./index31.js";
5
5
  const g = R({
6
6
  openId: null,
7
7
  toggle: () => {
package/dist/index30.js CHANGED
@@ -1,5 +1,5 @@
1
- import { getDefaultExportFromCjs as r } from "./index67.js";
2
- import { __require as s } from "./index65.js";
1
+ import { getDefaultExportFromCjs as r } from "./index68.js";
2
+ import { __require as s } from "./index66.js";
3
3
  var e = s();
4
4
  const t = /* @__PURE__ */ r(e);
5
5
  export {
package/dist/index31.js CHANGED
@@ -1,19 +1,19 @@
1
- const t = "_list_2tzve_1", e = "_item_2tzve_9", s = "_separator_2tzve_15", _ = "_link_2tzve_22", i = "_current_2tzve_37", l = "_text_2tzve_42", n = "_ellipsis_2tzve_46", r = {
2
- list: t,
3
- item: e,
4
- separator: s,
5
- link: _,
6
- current: i,
7
- text: l,
8
- ellipsis: n
1
+ const n = "_accordion_7j7b7_1", t = "_item_7j7b7_6", e = "_disabled_7j7b7_14", o = "_trigger_7j7b7_19", c = "_content_7j7b7_64", _ = "_contentOpen_7j7b7_70", s = "_contentInner_7j7b7_74", r = {
2
+ accordion: n,
3
+ item: t,
4
+ disabled: e,
5
+ trigger: o,
6
+ content: c,
7
+ contentOpen: _,
8
+ contentInner: s
9
9
  };
10
10
  export {
11
- i as current,
11
+ n as accordion,
12
+ c as content,
13
+ s as contentInner,
14
+ _ as contentOpen,
12
15
  r as default,
13
- n as ellipsis,
14
- e as item,
15
- _ as link,
16
- t as list,
17
- s as separator,
18
- l as text
16
+ e as disabled,
17
+ t as item,
18
+ o as trigger
19
19
  };
package/dist/index32.js CHANGED
@@ -1,10 +1,13 @@
1
- import c from "./index68.js";
2
- const e = [
3
- ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
4
- ["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
5
- ["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
6
- ], l = c("ellipsis", e);
1
+ import { useEffect as e } from "react";
2
+ function l(o) {
3
+ e(() => {
4
+ if (!o) return;
5
+ const t = window.scrollY;
6
+ return document.body.style.position = "fixed", document.body.style.top = `-${t}px`, document.body.style.left = "0", document.body.style.right = "0", () => {
7
+ document.body.style.position = "", document.body.style.top = "", document.body.style.left = "", document.body.style.right = "", window.scrollTo(0, t);
8
+ };
9
+ }, [o]);
10
+ }
7
11
  export {
8
- e as __iconNode,
9
- l as default
12
+ l as useScrollLock
10
13
  };
package/dist/index33.js CHANGED
@@ -1,6 +1,42 @@
1
- import o from "./index68.js";
2
- const t = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], c = o("chevron-right", t);
1
+ const t = "_dialog_1wscl_51", _ = "_closing_1wscl_70", s = "_right_1wscl_76", o = "_left_1wscl_77", l = "_top_1wscl_98", e = "_bottom_1wscl_99", i = "_content_1wscl_145", c = "_header_1wscl_151", n = "_title_1wscl_159", d = "_closeButton_1wscl_165", w = "_body_1wscl_186", f = "_footer_1wscl_194", g = {
2
+ dialog: t,
3
+ "fade-in": "_fade-in_1wscl_1",
4
+ "fade-out": "_fade-out_1wscl_1",
5
+ closing: _,
6
+ right: s,
7
+ left: o,
8
+ "slide-in-right": "_slide-in-right_1wscl_1",
9
+ "slide-out-right": "_slide-out-right_1wscl_1",
10
+ "slide-in-left": "_slide-in-left_1wscl_1",
11
+ "slide-out-left": "_slide-out-left_1wscl_1",
12
+ top: l,
13
+ bottom: e,
14
+ "slide-in-top": "_slide-in-top_1wscl_1",
15
+ "slide-out-top": "_slide-out-top_1wscl_1",
16
+ "slide-in-bottom": "_slide-in-bottom_1wscl_1",
17
+ "slide-out-bottom": "_slide-out-bottom_1wscl_1",
18
+ "size-sm": "_size-sm_1wscl_120",
19
+ "size-md": "_size-md_1wscl_122",
20
+ "size-lg": "_size-lg_1wscl_124",
21
+ content: i,
22
+ header: c,
23
+ title: n,
24
+ closeButton: d,
25
+ body: w,
26
+ footer: f
27
+ };
3
28
  export {
4
- t as __iconNode,
5
- c as default
29
+ w as body,
30
+ e as bottom,
31
+ d as closeButton,
32
+ _ as closing,
33
+ i as content,
34
+ g as default,
35
+ t as dialog,
36
+ f as footer,
37
+ c as header,
38
+ o as left,
39
+ s as right,
40
+ n as title,
41
+ l as top
6
42
  };
package/dist/index34.js CHANGED
@@ -1,29 +1,9 @@
1
- const l = /* @__PURE__ */ new Set([
2
- "van",
3
- "von",
4
- "de",
5
- "del",
6
- "den",
7
- "der",
8
- "di",
9
- "du",
10
- "el",
11
- "la",
12
- "le",
13
- "los",
14
- "het",
15
- "ten",
16
- "ter",
17
- "op"
18
- ]);
19
- function a(e, r = "?") {
20
- if (!e?.trim()) return r;
21
- const n = e.trim().split(/\s+/), t = n.filter((o) => !l.has(o.toLowerCase()));
22
- if (t.length === 0) return n[0][0].toUpperCase();
23
- if (t.length === 1) return t[0][0].toUpperCase();
24
- const s = t[0][0], i = t[t.length - 1][0];
25
- return (s + i).toUpperCase();
26
- }
1
+ import e from "./index69.js";
2
+ const o = [
3
+ ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
4
+ ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
5
+ ], c = e("x", o);
27
6
  export {
28
- a as getInitials
7
+ o as __iconNode,
8
+ c as default
29
9
  };
package/dist/index35.js CHANGED
@@ -1,28 +1,28 @@
1
- const _ = "_wrapper_1p6ce_1", s = "_sm_1p6ce_8", t = "_md_1p6ce_14", a = "_lg_1p6ce_20", c = "_xl_1p6ce_26", e = "_image_1p6ce_38", p = "_fallback_1p6ce_45", l = "_status_1p6ce_59", o = "_group_1p6ce_88", u = {
2
- wrapper: _,
3
- sm: s,
4
- md: t,
5
- lg: a,
6
- xl: c,
7
- "2xl": "_2xl_1p6ce_32",
8
- image: e,
9
- fallback: p,
10
- status: l,
11
- "status-online": "_status-online_1p6ce_71",
12
- "status-offline": "_status-offline_1p6ce_75",
13
- "status-busy": "_status-busy_1p6ce_79",
14
- "status-away": "_status-away_1p6ce_83",
15
- group: o
1
+ const _ = "_badge_19d90_1", o = "_sm_19d90_10", d = "_md_19d90_15", s = "_dot_19d90_21", e = "_remove_19d90_30", n = "_filled_19d90_56", t = "_success_19d90_61", c = "_warning_19d90_66", r = "_error_19d90_71", l = "_info_19d90_76", i = "_outline_19d90_82", a = {
2
+ badge: _,
3
+ sm: o,
4
+ md: d,
5
+ dot: s,
6
+ remove: e,
7
+ filled: n,
8
+ default: "_default_19d90_56",
9
+ success: t,
10
+ warning: c,
11
+ error: r,
12
+ info: l,
13
+ outline: i
16
14
  };
17
15
  export {
18
- u as default,
19
- p as fallback,
20
- o as group,
21
- e as image,
22
- a as lg,
23
- t as md,
24
- s as sm,
25
- l as status,
26
- _ as wrapper,
27
- c as xl
16
+ _ as badge,
17
+ a as default,
18
+ s as dot,
19
+ r as error,
20
+ n as filled,
21
+ l as info,
22
+ d as md,
23
+ i as outline,
24
+ e as remove,
25
+ o as sm,
26
+ t as success,
27
+ c as warning
28
28
  };