sander-ui 0.1.8 → 0.1.9

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 (65) hide show
  1. package/dist/index10.js +1 -1
  2. package/dist/index12.js +3 -3
  3. package/dist/index13.js +1 -1
  4. package/dist/index14.js +2 -2
  5. package/dist/index15.js +1 -1
  6. package/dist/index16.js +1 -1
  7. package/dist/index17.js +3 -3
  8. package/dist/index18.js +3 -3
  9. package/dist/index19.js +1 -1
  10. package/dist/index20.js +1 -1
  11. package/dist/index21.js +27 -27
  12. package/dist/index22.js +1 -1
  13. package/dist/index23.js +1 -1
  14. package/dist/index24.js +1 -1
  15. package/dist/index25.js +1 -1
  16. package/dist/index26.js +1 -1
  17. package/dist/index28.js +7 -7
  18. package/dist/index29.js +1 -1
  19. package/dist/index30.js +1 -1
  20. package/dist/index31.js +1 -1
  21. package/dist/index33.js +16 -22
  22. package/dist/index34.js +8 -8
  23. package/dist/index35.js +3 -13
  24. package/dist/index36.js +17 -8
  25. package/dist/index37.js +27 -7
  26. package/dist/index38.js +21 -7
  27. package/dist/index39.js +17 -27
  28. package/dist/index4.js +6 -6
  29. package/dist/index40.js +22 -25
  30. package/dist/index41.js +8 -27
  31. package/dist/index42.js +14 -11
  32. package/dist/index43.js +8 -17
  33. package/dist/index44.js +4 -5
  34. package/dist/index45.js +6 -3
  35. package/dist/index46.js +27 -21
  36. package/dist/index47.js +26 -11
  37. package/dist/index48.js +14 -25
  38. package/dist/index49.js +4 -26
  39. package/dist/index5.js +2 -2
  40. package/dist/index50.js +12 -20
  41. package/dist/index51.js +14 -16
  42. package/dist/index52.js +22 -22
  43. package/dist/index53.js +16 -14
  44. package/dist/index54.js +25 -16
  45. package/dist/index55.js +11 -40
  46. package/dist/index56.js +23 -20
  47. package/dist/index57.js +35 -43
  48. package/dist/index58.js +2 -4
  49. package/dist/index59.js +13 -4
  50. package/dist/index6.js +2 -2
  51. package/dist/index60.js +41 -40
  52. package/dist/index61.js +4 -4
  53. package/dist/index62.js +4 -17
  54. package/dist/index63.js +10 -14
  55. package/dist/index64.js +15 -4
  56. package/dist/index66.js +41 -14
  57. package/dist/index67.js +4 -31
  58. package/dist/index68.js +20 -12
  59. package/dist/index69.js +22 -12
  60. package/dist/index7.js +3 -3
  61. package/dist/index70.js +40 -35
  62. package/dist/index71.js +31 -2
  63. package/dist/index8.js +1 -1
  64. package/dist/index9.js +1 -1
  65. package/package.json +1 -1
package/dist/index10.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as f, jsx as s } from "react/jsx-runtime";
2
2
  import p from "./index31.js";
3
3
  import { forwardRef as x, useRef as v, useEffect as N } from "react";
4
- import e from "./index51.js";
4
+ import e from "./index36.js";
5
5
  const y = x(
6
6
  ({ label: l, description: t, error: c, indeterminate: a, id: o, className: h, ...u }, i) => {
7
7
  const n = v(null);
package/dist/index12.js CHANGED
@@ -2,9 +2,9 @@ import { jsx as l, jsxs as b } from "react/jsx-runtime";
2
2
  import c from "./index31.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 { useScrollLock as D } from "./index47.js";
6
- import r from "./index55.js";
7
- import y from "./index38.js";
5
+ import { useScrollLock as D } from "./index55.js";
6
+ import r from "./index70.js";
7
+ import y from "./index45.js";
8
8
  const R = ({
9
9
  open: o,
10
10
  onClose: t,
package/dist/index13.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
2
  import g from "./index31.js";
3
3
  import { useState as x, useRef as v, useId as E, useEffect as k, cloneElement as I, createContext as R, useContext as y } from "react";
4
- import D from "./index53.js";
4
+ import D from "./index64.js";
5
5
  const C = R(null);
6
6
  function b() {
7
7
  const t = y(C);
package/dist/index14.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as l, jsx as n } from "react/jsx-runtime";
2
2
  import r from "./index31.js";
3
- import t from "./index41.js";
4
- import s from "./index42.js";
3
+ import t from "./index37.js";
4
+ import s from "./index63.js";
5
5
  import { Spinner as b } from "./index23.js";
6
6
  const N = ({
7
7
  icon: e,
package/dist/index15.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as m, jsx as i } from "react/jsx-runtime";
2
2
  import p from "./index31.js";
3
3
  import { forwardRef as n } from "react";
4
- import a from "./index68.js";
4
+ import a from "./index59.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/index16.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import a from "./index31.js";
3
- import t from "./index41.js";
3
+ import t from "./index37.js";
4
4
  const f = ({
5
5
  variant: o = "primary",
6
6
  size: r = "md",
package/dist/index17.js CHANGED
@@ -2,9 +2,9 @@ import { jsx as l, jsxs as b } from "react/jsx-runtime";
2
2
  import c from "./index31.js";
3
3
  import { useRef as h, useState as u, useEffect as p } from "react";
4
4
  import { createPortal as v } from "react-dom";
5
- import { useScrollLock as M } from "./index47.js";
6
- import t from "./index48.js";
7
- import y from "./index38.js";
5
+ import { useScrollLock as M } from "./index55.js";
6
+ import t from "./index56.js";
7
+ import y from "./index45.js";
8
8
  const R = ({
9
9
  open: s,
10
10
  onClose: o,
package/dist/index18.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsxs as f, jsx as e } from "react/jsx-runtime";
2
2
  import u from "./index31.js";
3
- import n from "./index63.js";
4
- import h from "./index64.js";
5
- import d from "./index45.js";
3
+ import n from "./index48.js";
4
+ import h from "./index49.js";
5
+ import d from "./index35.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/index19.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
2
  import o from "./index31.js";
3
- import r from "./index56.js";
3
+ import r from "./index52.js";
4
4
  const N = ({
5
5
  value: e,
6
6
  max: d = 100,
package/dist/index20.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as d, jsx as l } from "react/jsx-runtime";
2
2
  import c from "./index31.js";
3
3
  import { forwardRef as h } from "react";
4
- import a from "./index52.js";
4
+ import a from "./index69.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/index21.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { jsx as l, jsxs as y } from "react/jsx-runtime";
2
2
  import k from "./index31.js";
3
3
  import { createPortal as ue } from "react-dom";
4
- import { useId as pe, useState as h, useRef as D, useCallback as C, useLayoutEffect as fe, useEffect as q } from "react";
5
- import r from "./index57.js";
6
- import be from "./index58.js";
7
- import he from "./index59.js";
8
- function J(v) {
4
+ import { useId as pe, useState as h, useRef as D, useCallback as C, useLayoutEffect as fe, useEffect as J } from "react";
5
+ import r from "./index60.js";
6
+ import be from "./index61.js";
7
+ import he from "./index62.js";
8
+ function Q(v) {
9
9
  return "options" in v;
10
10
  }
11
11
  function ve(v) {
12
12
  const b = [];
13
13
  for (const c of v)
14
- J(c) ? b.push(...c.options) : b.push(c);
14
+ Q(c) ? b.push(...c.options) : b.push(c);
15
15
  return b;
16
16
  }
17
17
  const me = ({
@@ -20,17 +20,17 @@ const me = ({
20
20
  label: c,
21
21
  error: m,
22
22
  options: z,
23
- placeholder: Q,
23
+ placeholder: X,
24
24
  value: K,
25
- defaultValue: X,
25
+ defaultValue: Y,
26
26
  onChange: P,
27
27
  disabled: I = !1,
28
28
  required: V = !1,
29
- className: Y
29
+ className: Z
30
30
  }) => {
31
- const Z = pe(), d = v ?? Z, F = `${d}-listbox`, j = `${d}-error`, $ = `${d}-label`, u = ve(z), o = u.map((e, t) => ({ ...e, index: t })).filter((e) => !e.disabled), A = K !== void 0, [_, ee] = h(X ?? ""), p = A ? K : _, [s, E] = h(!1), [a, i] = h(-1), [te, B] = h(""), O = D(null), [ne, re] = h(!1), [T, oe] = h({ top: 0, left: 0, width: 0 }), x = D(null), w = D(null), R = D(null), M = D([]), S = u.find((e) => e.value === p), U = C(
31
+ const _ = pe(), d = v ?? _, F = `${d}-listbox`, j = `${d}-error`, $ = `${d}-label`, u = ve(z), o = u.map((e, t) => ({ ...e, index: t })).filter((e) => !e.disabled), A = K !== void 0, [ee, te] = h(Y ?? ""), p = A ? K : ee, [s, E] = h(!1), [a, i] = h(-1), [ne, B] = h(""), O = D(null), [re, oe] = h(!1), [T, se] = h({ top: 0, left: 0, width: 0 }), x = D(null), w = D(null), R = D(null), M = D([]), S = u.find((e) => e.value === p), U = C(
32
32
  (e) => {
33
- A || ee(e), P?.(e);
33
+ A || te(e), P?.(e);
34
34
  },
35
35
  [A, P]
36
36
  ), H = C(
@@ -42,13 +42,13 @@ const me = ({
42
42
  [I, p, u, o]
43
43
  ), L = C(() => {
44
44
  E(!1), i(-1), x.current?.focus();
45
- }, []), se = x.current?.closest("dialog") ?? document.body;
45
+ }, []), G = typeof document < "u" ? x.current?.closest("dialog") ?? document.body : null;
46
46
  fe(() => {
47
47
  if (!s || !x.current) return;
48
48
  const e = () => {
49
- const t = x.current.getBoundingClientRect(), n = window.innerHeight - t.bottom, f = t.top, g = w.current?.offsetHeight ?? 240, W = n < g && f > n;
50
- re(W), oe({
51
- top: W ? t.top - (w.current?.offsetHeight ?? 0) - 4 : t.bottom + 4,
49
+ const t = x.current.getBoundingClientRect(), n = window.innerHeight - t.bottom, f = t.top, g = w.current?.offsetHeight ?? 240, q = n < g && f > n;
50
+ oe(q), se({
51
+ top: q ? t.top - (w.current?.offsetHeight ?? 0) - 4 : t.bottom + 4,
52
52
  left: t.left,
53
53
  width: t.width
54
54
  });
@@ -56,9 +56,9 @@ const me = ({
56
56
  return e(), window.addEventListener("scroll", e, !0), window.addEventListener("resize", e), () => {
57
57
  window.removeEventListener("scroll", e, !0), window.removeEventListener("resize", e);
58
58
  };
59
- }, [s]), q(() => {
59
+ }, [s]), J(() => {
60
60
  !s || a < 0 || M.current[a]?.scrollIntoView({ block: "nearest" });
61
- }, [a, s]), q(() => {
61
+ }, [a, s]), J(() => {
62
62
  if (!s) return;
63
63
  function e(t) {
64
64
  const n = t.target;
@@ -84,7 +84,7 @@ const me = ({
84
84
  [o]
85
85
  ), ae = (e) => {
86
86
  O.current && clearTimeout(O.current);
87
- const t = te + e.toLowerCase();
87
+ const t = ne + e.toLowerCase();
88
88
  B(t), O.current = setTimeout(() => B(""), 500);
89
89
  const n = o.find(
90
90
  (f) => f.label.toLowerCase().startsWith(t)
@@ -132,7 +132,7 @@ const me = ({
132
132
  }
133
133
  }, ie = s && a >= 0 ? `${d}-option-${a}` : void 0;
134
134
  let ce = 0;
135
- const G = (e) => {
135
+ const W = (e) => {
136
136
  const t = ce++, n = e.value === p, f = t === a;
137
137
  return /* @__PURE__ */ y(
138
138
  "li",
@@ -164,7 +164,7 @@ const me = ({
164
164
  },
165
165
  e.value
166
166
  );
167
- }, de = s ? ue(
167
+ }, de = s && G ? ue(
168
168
  /* @__PURE__ */ l(
169
169
  "ul",
170
170
  {
@@ -172,14 +172,14 @@ const me = ({
172
172
  id: F,
173
173
  role: "listbox",
174
174
  "aria-labelledby": c ? $ : d,
175
- className: k(r.listbox, ne && r.flipped),
175
+ className: k(r.listbox, re && r.flipped),
176
176
  style: {
177
177
  top: T.top,
178
178
  left: T.left,
179
179
  width: T.width
180
180
  },
181
181
  children: z.map((e) => {
182
- if (J(e)) {
182
+ if (Q(e)) {
183
183
  const t = `${d}-group-${e.label.replace(/\s+/g, "-").toLowerCase()}`;
184
184
  return /* @__PURE__ */ y("li", { role: "presentation", children: [
185
185
  /* @__PURE__ */ l(
@@ -191,14 +191,14 @@ const me = ({
191
191
  children: e.label
192
192
  }
193
193
  ),
194
- /* @__PURE__ */ l("ul", { role: "group", "aria-labelledby": t, className: r.group, children: e.options.map(G) })
194
+ /* @__PURE__ */ l("ul", { role: "group", "aria-labelledby": t, className: r.group, children: e.options.map(W) })
195
195
  ] }, e.label);
196
196
  }
197
- return G(e);
197
+ return W(e);
198
198
  })
199
199
  }
200
200
  ),
201
- se
201
+ G
202
202
  ) : null;
203
203
  return /* @__PURE__ */ y("div", { ref: R, className: r.wrapper, children: [
204
204
  c && /* @__PURE__ */ l("label", { id: $, className: r.label, children: c }),
@@ -218,11 +218,11 @@ const me = ({
218
218
  "aria-describedby": m ? j : void 0,
219
219
  "aria-required": V,
220
220
  disabled: I,
221
- className: k(r.trigger, m && r.triggerError, Y),
221
+ className: k(r.trigger, m && r.triggerError, Z),
222
222
  onClick: () => s ? L() : H(),
223
223
  onKeyDown: le,
224
224
  children: [
225
- /* @__PURE__ */ l("span", { className: k(r.triggerText, !S && r.placeholder), children: S ? S.label : Q ?? " " }),
225
+ /* @__PURE__ */ l("span", { className: k(r.triggerText, !S && r.placeholder), children: S ? S.label : X ?? " " }),
226
226
  /* @__PURE__ */ l(
227
227
  be,
228
228
  {
package/dist/index22.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import n from "./index31.js";
3
- import t from "./index69.js";
3
+ import t from "./index50.js";
4
4
  const c = ({
5
5
  width: e,
6
6
  height: r,
package/dist/index23.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
2
  import i from "./index31.js";
3
- import r from "./index62.js";
3
+ import r from "./index53.js";
4
4
  const m = ({
5
5
  size: s = "md",
6
6
  className: n,
package/dist/index24.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
2
  import l from "./index31.js";
3
- import r from "./index50.js";
3
+ import r from "./index38.js";
4
4
  const u = ({
5
5
  id: t,
6
6
  checked: s,
package/dist/index25.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as b, jsxs as D } from "react/jsx-runtime";
2
2
  import f from "./index31.js";
3
3
  import { useRef as w, useState as I, useCallback as E, useEffect as g } from "react";
4
- import a from "./index66.js";
4
+ import a from "./index51.js";
5
5
  const j = ({
6
6
  tabs: l,
7
7
  value: i,
package/dist/index26.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import l from "./index31.js";
3
- import s from "./index54.js";
3
+ import s from "./index39.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/index28.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { jsxs as l, jsx as s } from "react/jsx-runtime";
2
2
  import n from "./index31.js";
3
- import r from "./index60.js";
4
- import t from "./index61.js";
5
- import o from "./index34.js";
6
- import d from "./index35.js";
7
- import f from "./index36.js";
8
- import p from "./index37.js";
9
- import g from "./index38.js";
3
+ import r from "./index66.js";
4
+ import t from "./index67.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 "./index45.js";
10
10
  const u = {
11
11
  default: o,
12
12
  success: p,
package/dist/index29.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import m from "./index31.js";
3
3
  import { Toast as l } from "./index28.js";
4
- import t from "./index60.js";
4
+ import t from "./index66.js";
5
5
  const f = ({
6
6
  toasts: r,
7
7
  position: e = "top-right",
package/dist/index30.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as t, jsx as u } from "react/jsx-runtime";
2
2
  import r from "./index31.js";
3
3
  import { useId as y, useState as g, cloneElement as x } from "react";
4
- import s from "./index67.js";
4
+ import s from "./index71.js";
5
5
  const h = ({
6
6
  content: i,
7
7
  placement: a = "top",
package/dist/index31.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs as r } from "./index72.js";
2
- import { __require as s } from "./index70.js";
2
+ import { __require as s } from "./index57.js";
3
3
  var e = s();
4
4
  const t = /* @__PURE__ */ r(e);
5
5
  export {
package/dist/index33.js CHANGED
@@ -1,25 +1,19 @@
1
- const s = "_alert_16i4u_1", i = "_icon_16i4u_11", n = "_content_16i4u_18", t = "_title_16i4u_23", _ = "_description_16i4u_27", o = "_dismiss_16i4u_35", c = "_success_16i4u_62", e = "_error_16i4u_68", r = "_warning_16i4u_74", u = "_info_16i4u_80", a = {
2
- alert: s,
3
- icon: i,
4
- content: n,
5
- title: t,
6
- description: _,
7
- dismiss: o,
8
- success: c,
9
- error: e,
10
- warning: r,
11
- info: u
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
12
9
  };
13
10
  export {
14
- s as alert,
15
- n as content,
16
- a as default,
17
- _ as description,
18
- o as dismiss,
19
- e as error,
20
- i as icon,
21
- u as info,
22
- c as success,
23
- t as title,
24
- r as warning
11
+ i as current,
12
+ 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
25
19
  };
package/dist/index34.js CHANGED
@@ -1,10 +1,10 @@
1
- import e from "./index73.js";
2
- const o = [
3
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
4
- ["path", { d: "M12 16v-4", key: "1dtifu" }],
5
- ["path", { d: "M12 8h.01", key: "e9boi3" }]
6
- ], t = e("info", o);
1
+ import c from "./index73.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);
7
7
  export {
8
- o as __iconNode,
9
- t as default
8
+ e as __iconNode,
9
+ l as default
10
10
  };
package/dist/index35.js CHANGED
@@ -1,16 +1,6 @@
1
- import e from "./index73.js";
2
- const t = [
3
- [
4
- "path",
5
- {
6
- d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
7
- key: "wmoenq"
8
- }
9
- ],
10
- ["path", { d: "M12 9v4", key: "juzpu7" }],
11
- ["path", { d: "M12 17h.01", key: "p32p05" }]
12
- ], o = e("triangle-alert", t);
1
+ import o from "./index73.js";
2
+ const t = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], c = o("chevron-right", t);
13
3
  export {
14
4
  t as __iconNode,
15
- o as default
5
+ c as default
16
6
  };
package/dist/index36.js CHANGED
@@ -1,10 +1,19 @@
1
- import e from "./index73.js";
2
- const c = [
3
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
4
- ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
5
- ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
6
- ], l = e("circle-alert", c);
1
+ const r = "_wrapper_tjwht_1", t = "_row_tjwht_6", o = "_checkbox_tjwht_12", c = "_checkboxError_tjwht_54", e = "_label_tjwht_58", _ = "_description_tjwht_65", s = "_error_tjwht_72", h = {
2
+ wrapper: r,
3
+ row: t,
4
+ checkbox: o,
5
+ checkboxError: c,
6
+ label: e,
7
+ description: _,
8
+ error: s
9
+ };
7
10
  export {
8
- c as __iconNode,
9
- l as default
11
+ o as checkbox,
12
+ c as checkboxError,
13
+ h as default,
14
+ _ as description,
15
+ s as error,
16
+ e as label,
17
+ t as row,
18
+ r as wrapper
10
19
  };
package/dist/index37.js CHANGED
@@ -1,9 +1,29 @@
1
- import c from "./index73.js";
2
- const e = [
3
- ["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
4
- ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
5
- ], o = c("circle-check-big", e);
1
+ const n = "_button_dajne_1", t = "_primary_dajne_28", _ = "_secondary_dajne_37", e = "_outline_dajne_46", o = "_ghost_dajne_56", d = "_danger_dajne_65", s = "_sm_dajne_75", a = "_md_dajne_80", c = "_lg_dajne_85", r = "_content_dajne_91", i = "_hidden_dajne_97", j = "_spinner_dajne_101", g = {
2
+ button: n,
3
+ primary: t,
4
+ secondary: _,
5
+ outline: e,
6
+ ghost: o,
7
+ danger: d,
8
+ sm: s,
9
+ md: a,
10
+ lg: c,
11
+ content: r,
12
+ hidden: i,
13
+ spinner: j
14
+ };
6
15
  export {
7
- e as __iconNode,
8
- o as default
16
+ n as button,
17
+ r as content,
18
+ d as danger,
19
+ g as default,
20
+ o as ghost,
21
+ i as hidden,
22
+ c as lg,
23
+ a as md,
24
+ e as outline,
25
+ t as primary,
26
+ _ as secondary,
27
+ s as sm,
28
+ j as spinner
9
29
  };
package/dist/index38.js CHANGED
@@ -1,9 +1,23 @@
1
- import e from "./index73.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);
1
+ const e = "_wrapper_8eiej_1", t = "_wrapperDisabled_8eiej_8", _ = "_track_8eiej_13", c = "_trackChecked_8eiej_37", a = "_thumb_8eiej_41", r = "_thumbChecked_8eiej_52", s = "_labels_8eiej_56", i = "_label_8eiej_56", l = "_description_8eiej_66", p = {
2
+ wrapper: e,
3
+ wrapperDisabled: t,
4
+ track: _,
5
+ trackChecked: c,
6
+ thumb: a,
7
+ thumbChecked: r,
8
+ labels: s,
9
+ label: i,
10
+ description: l
11
+ };
6
12
  export {
7
- o as __iconNode,
8
- c as default
13
+ p as default,
14
+ l as description,
15
+ i as label,
16
+ s as labels,
17
+ a as thumb,
18
+ r as thumbChecked,
19
+ _ as track,
20
+ c as trackChecked,
21
+ e as wrapper,
22
+ t as wrapperDisabled
9
23
  };
package/dist/index39.js CHANGED
@@ -1,29 +1,19 @@
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
+ const w = "_wrapper_wwjw1_1", e = "_table_wwjw1_7", _ = "_header_wwjw1_13", o = "_body_wwjw1_18", a = "_row_wwjw1_22", t = "_head_wwjw1_13", r = "_cell_wwjw1_40", c = {
2
+ wrapper: w,
3
+ table: e,
4
+ header: _,
5
+ body: o,
6
+ row: a,
7
+ head: t,
8
+ cell: r
9
+ };
27
10
  export {
28
- a as getInitials
11
+ o as body,
12
+ r as cell,
13
+ c as default,
14
+ t as head,
15
+ _ as header,
16
+ a as row,
17
+ e as table,
18
+ w as wrapper
29
19
  };
package/dist/index4.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { jsxs as t, jsx as o } from "react/jsx-runtime";
2
2
  import a from "./index31.js";
3
- import r from "./index33.js";
4
- import f from "./index34.js";
5
- import p from "./index35.js";
6
- import d from "./index36.js";
7
- import N from "./index37.js";
8
- import g from "./index38.js";
3
+ import r from "./index40.js";
4
+ import f from "./index41.js";
5
+ import p from "./index42.js";
6
+ import d from "./index43.js";
7
+ import N from "./index44.js";
8
+ import g from "./index45.js";
9
9
  const h = {
10
10
  success: N,
11
11
  error: d,