sander-ui 0.1.9 → 0.1.12

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 (67) hide show
  1. package/dist/index10.js +19 -19
  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 +3 -3
  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/index27.js +1 -1
  18. package/dist/index28.js +7 -7
  19. package/dist/index29.js +1 -1
  20. package/dist/index30.js +1 -1
  21. package/dist/index31.js +1 -1
  22. package/dist/index33.js +16 -16
  23. package/dist/index34.js +17 -8
  24. package/dist/index35.js +8 -4
  25. package/dist/index36.js +4 -17
  26. package/dist/index37.js +25 -26
  27. package/dist/index38.js +7 -21
  28. package/dist/index39.js +26 -16
  29. package/dist/index4.js +6 -6
  30. package/dist/index40.js +11 -23
  31. package/dist/index41.js +40 -8
  32. package/dist/index42.js +21 -14
  33. package/dist/index43.js +23 -8
  34. package/dist/index44.js +15 -7
  35. package/dist/index45.js +42 -7
  36. package/dist/index46.js +4 -27
  37. package/dist/index47.js +8 -26
  38. package/dist/index48.js +14 -15
  39. package/dist/index49.js +7 -3
  40. package/dist/index5.js +2 -2
  41. package/dist/index50.js +7 -13
  42. package/dist/index51.js +27 -15
  43. package/dist/index52.js +24 -21
  44. package/dist/index53.js +22 -16
  45. package/dist/index54.js +25 -25
  46. package/dist/index55.js +13 -11
  47. package/dist/index56.js +10 -25
  48. package/dist/index57.js +23 -35
  49. package/dist/index58.js +15 -2
  50. package/dist/index59.js +30 -12
  51. package/dist/index6.js +2 -2
  52. package/dist/index60.js +16 -42
  53. package/dist/index61.js +15 -4
  54. package/dist/index62.js +4 -4
  55. package/dist/index63.js +20 -10
  56. package/dist/index64.js +12 -14
  57. package/dist/index65.js +16 -12
  58. package/dist/index66.js +12 -41
  59. package/dist/index67.js +43 -4
  60. package/dist/index68.js +4 -21
  61. package/dist/index69.js +4 -23
  62. package/dist/index7.js +3 -3
  63. package/dist/index70.js +35 -40
  64. package/dist/index71.js +2 -31
  65. package/dist/index8.js +32 -27
  66. package/dist/index9.js +1 -1
  67. package/package.json +1 -1
package/dist/index10.js CHANGED
@@ -1,39 +1,39 @@
1
1
  import { jsxs as f, jsx as s } from "react/jsx-runtime";
2
2
  import p from "./index31.js";
3
- import { forwardRef as x, useRef as v, useEffect as N } from "react";
4
- import e from "./index36.js";
5
- const y = x(
6
- ({ label: l, description: t, error: c, indeterminate: a, id: o, className: h, ...u }, i) => {
7
- const n = v(null);
8
- N(() => {
9
- const r = n.current;
10
- r && (r.indeterminate = !!a);
3
+ import { forwardRef as N, useId as y, useRef as k, useEffect as I } from "react";
4
+ import e from "./index33.js";
5
+ const j = N(
6
+ ({ label: n, description: t, error: i, indeterminate: a, id: u, className: h, ...b }, r) => {
7
+ const x = y(), o = u ?? x, d = k(null);
8
+ I(() => {
9
+ const c = d.current;
10
+ c && (c.indeterminate = !!a);
11
11
  }, [a]);
12
- const d = c ? `${o}-error` : void 0, m = t ? `${o}-description` : void 0, b = [m, d].filter(Boolean).join(" ") || void 0;
12
+ const l = i ? `${o}-error` : void 0, m = t ? `${o}-description` : void 0, v = [m, l].filter(Boolean).join(" ") || void 0;
13
13
  return /* @__PURE__ */ f("div", { className: p(e.wrapper, h), children: [
14
14
  /* @__PURE__ */ f("div", { className: e.row, children: [
15
15
  /* @__PURE__ */ s(
16
16
  "input",
17
17
  {
18
18
  id: o,
19
- ref: (r) => {
20
- n.current = r, typeof i == "function" ? i(r) : i && (i.current = r);
19
+ ref: (c) => {
20
+ d.current = c, typeof r == "function" ? r(c) : r && (r.current = c);
21
21
  },
22
22
  type: "checkbox",
23
- "aria-invalid": c ? !0 : void 0,
24
- "aria-describedby": b,
25
- className: p(e.checkbox, c && e.checkboxError),
26
- ...u
23
+ "aria-invalid": i ? !0 : void 0,
24
+ "aria-describedby": v,
25
+ className: p(e.checkbox, i && e.checkboxError),
26
+ ...b
27
27
  }
28
28
  ),
29
- l && /* @__PURE__ */ s("label", { htmlFor: o, className: e.label, children: l })
29
+ n && /* @__PURE__ */ s("label", { htmlFor: o, className: e.label, children: n })
30
30
  ] }),
31
31
  t && /* @__PURE__ */ s("p", { id: m, className: e.description, children: t }),
32
- c && /* @__PURE__ */ s("p", { id: d, className: e.error, role: "alert", children: c })
32
+ i && /* @__PURE__ */ s("p", { id: l, className: e.error, role: "alert", children: i })
33
33
  ] });
34
34
  }
35
35
  );
36
- y.displayName = "Checkbox";
36
+ j.displayName = "Checkbox";
37
37
  export {
38
- y as Checkbox
38
+ j as Checkbox
39
39
  };
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 "./index55.js";
6
- import r from "./index70.js";
7
- import y from "./index45.js";
5
+ import { useScrollLock as D } from "./index40.js";
6
+ import r from "./index41.js";
7
+ import y from "./index38.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 "./index64.js";
4
+ import D from "./index44.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 "./index37.js";
4
- import s from "./index63.js";
3
+ import t from "./index39.js";
4
+ import s from "./index56.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 "./index59.js";
4
+ import a from "./index64.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 "./index37.js";
3
+ import t from "./index39.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 "./index55.js";
6
- import t from "./index56.js";
7
- import y from "./index45.js";
5
+ import { useScrollLock as M } from "./index40.js";
6
+ import t from "./index54.js";
7
+ import y from "./index38.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 "./index48.js";
4
- import h from "./index49.js";
5
- import d from "./index35.js";
3
+ import n from "./index61.js";
4
+ import h from "./index62.js";
5
+ import d from "./index36.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 "./index52.js";
3
+ import r from "./index53.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 "./index69.js";
4
+ import a from "./index43.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
@@ -2,9 +2,9 @@ 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
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";
5
+ import r from "./index67.js";
6
+ import be from "./index68.js";
7
+ import he from "./index69.js";
8
8
  function Q(v) {
9
9
  return "options" in v;
10
10
  }
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 "./index50.js";
3
+ import t from "./index55.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 "./index53.js";
3
+ import r from "./index65.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 "./index38.js";
3
+ import r from "./index63.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 "./index51.js";
4
+ import a from "./index58.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 "./index39.js";
3
+ import s from "./index60.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/index27.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as m, jsx as t } from "react/jsx-runtime";
2
2
  import c from "./index31.js";
3
3
  import { forwardRef as d } from "react";
4
- import a from "./index65.js";
4
+ import a from "./index66.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/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 "./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";
3
+ import r from "./index45.js";
4
+ import t from "./index46.js";
5
+ import o from "./index47.js";
6
+ import d from "./index48.js";
7
+ import f from "./index49.js";
8
+ import p from "./index50.js";
9
+ import g from "./index38.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 "./index66.js";
4
+ import t from "./index45.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 "./index71.js";
4
+ import s from "./index59.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 "./index57.js";
2
+ import { __require as s } from "./index70.js";
3
3
  var e = s();
4
4
  const t = /* @__PURE__ */ r(e);
5
5
  export {
package/dist/index33.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 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
9
  };
10
10
  export {
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
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
19
19
  };
package/dist/index34.js CHANGED
@@ -1,10 +1,19 @@
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);
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
9
+ };
7
10
  export {
8
- e as __iconNode,
9
- l as default
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
10
19
  };
package/dist/index35.js CHANGED
@@ -1,6 +1,10 @@
1
- import o from "./index73.js";
2
- const t = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], c = o("chevron-right", t);
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);
3
7
  export {
4
- t as __iconNode,
5
- c as default
8
+ e as __iconNode,
9
+ l as default
6
10
  };
package/dist/index36.js CHANGED
@@ -1,19 +1,6 @@
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
- };
1
+ import o from "./index73.js";
2
+ const t = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], c = o("chevron-right", t);
10
3
  export {
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
4
+ t as __iconNode,
5
+ c as default
19
6
  };
package/dist/index37.js CHANGED
@@ -1,29 +1,28 @@
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
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
14
14
  };
15
15
  export {
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
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
29
28
  };
package/dist/index38.js CHANGED
@@ -1,23 +1,9 @@
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
- };
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);
12
6
  export {
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
7
+ o as __iconNode,
8
+ c as default
23
9
  };
package/dist/index39.js CHANGED
@@ -1,19 +1,29 @@
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
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
9
14
  };
10
15
  export {
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
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
19
29
  };
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 "./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";
3
+ import r from "./index57.js";
4
+ import f from "./index47.js";
5
+ import p from "./index48.js";
6
+ import d from "./index49.js";
7
+ import N from "./index50.js";
8
+ import g from "./index38.js";
9
9
  const h = {
10
10
  success: N,
11
11
  error: d,
package/dist/index40.js CHANGED
@@ -1,25 +1,13 @@
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
12
- };
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
+ }
13
11
  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
12
+ l as useScrollLock
25
13
  };
package/dist/index41.js CHANGED
@@ -1,10 +1,42 @@
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
+ 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
+ };
7
28
  export {
8
- o as __iconNode,
9
- t 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
10
42
  };