sander-ui 0.1.9 → 0.1.10

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/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 +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 +2 -2
  22. package/dist/index33.js +25 -16
  23. package/dist/index34.js +7 -8
  24. package/dist/index35.js +27 -4
  25. package/dist/index36.js +10 -16
  26. package/dist/index37.js +20 -26
  27. package/dist/index38.js +16 -20
  28. package/dist/index39.js +16 -16
  29. package/dist/index4.js +6 -6
  30. package/dist/index40.js +11 -23
  31. package/dist/index41.js +26 -8
  32. package/dist/index42.js +43 -14
  33. package/dist/index43.js +4 -8
  34. package/dist/index44.js +3 -6
  35. package/dist/index45.js +23 -7
  36. package/dist/index46.js +8 -27
  37. package/dist/index47.js +14 -26
  38. package/dist/index48.js +8 -15
  39. package/dist/index49.js +7 -4
  40. package/dist/index5.js +2 -2
  41. package/dist/index50.js +22 -12
  42. package/dist/index51.js +30 -14
  43. package/dist/index52.js +16 -22
  44. package/dist/index53.js +14 -16
  45. package/dist/index54.js +14 -25
  46. package/dist/index55.js +4 -11
  47. package/dist/index56.js +4 -26
  48. package/dist/index57.js +13 -35
  49. package/dist/index58.js +13 -2
  50. package/dist/index59.js +16 -12
  51. package/dist/index6.js +2 -2
  52. package/dist/index60.js +8 -43
  53. package/dist/index61.js +27 -4
  54. package/dist/index62.js +26 -4
  55. package/dist/index63.js +20 -10
  56. package/dist/index64.js +37 -12
  57. package/dist/index65.js +14 -12
  58. package/dist/index66.js +12 -41
  59. package/dist/index67.js +23 -4
  60. package/dist/index68.js +41 -20
  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/index72.js +21 -4
  66. package/dist/index73.js +2 -21
  67. package/dist/index74.js +2 -2
  68. package/dist/index75.js +6 -2
  69. package/dist/index76.js +34 -6
  70. package/dist/index77.js +12 -34
  71. package/dist/index78.js +6 -11
  72. package/dist/index79.js +4 -7
  73. package/dist/index8.js +32 -27
  74. package/dist/index9.js +1 -1
  75. 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 "./index36.js";
4
+ import e from "./index39.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 "./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 "./index64.js";
7
+ import y from "./index34.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 "./index65.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 "./index35.js";
4
+ import s from "./index36.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 "./index57.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 "./index35.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 "./index41.js";
7
+ import y from "./index34.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 "./index54.js";
4
+ import h from "./index55.js";
5
+ import d from "./index56.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 "./index67.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 "./index50.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 "./index42.js";
6
+ import be from "./index43.js";
7
+ import he from "./index44.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 "./index66.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 "./index38.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 "./index37.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 "./index53.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 "./index52.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 "./index58.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 "./index68.js";
4
+ import t from "./index69.js";
5
+ import o from "./index46.js";
6
+ import d from "./index47.js";
7
+ import f from "./index48.js";
8
+ import p from "./index49.js";
9
+ import g from "./index34.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 "./index68.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 "./index51.js";
5
5
  const h = ({
6
6
  content: i,
7
7
  placement: a = "top",
package/dist/index31.js CHANGED
@@ -1,5 +1,5 @@
1
- import { getDefaultExportFromCjs as r } from "./index72.js";
2
- import { __require as s } from "./index57.js";
1
+ import { getDefaultExportFromCjs as r } from "./index79.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,28 @@
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 _ = "_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
9
14
  };
10
15
  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
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
19
28
  };
package/dist/index34.js CHANGED
@@ -1,10 +1,9 @@
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
+ import e from "./index72.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);
7
6
  export {
8
- e as __iconNode,
9
- l as default
7
+ o as __iconNode,
8
+ c as default
10
9
  };
package/dist/index35.js CHANGED
@@ -1,6 +1,29 @@
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
+ 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
+ };
3
15
  export {
4
- t as __iconNode,
5
- c 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
6
29
  };
package/dist/index36.js CHANGED
@@ -1,19 +1,13 @@
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
1
+ const n = "_iconButton_1yn4b_1", t = "_sm_1yn4b_6", o = "_md_1yn4b_11", _ = "_lg_1yn4b_16", s = {
2
+ iconButton: n,
3
+ sm: t,
4
+ md: o,
5
+ lg: _
9
6
  };
10
7
  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
8
+ s as default,
9
+ n as iconButton,
10
+ _ as lg,
11
+ o as md,
12
+ t as sm
19
13
  };
package/dist/index37.js CHANGED
@@ -1,29 +1,23 @@
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 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
14
11
  };
15
12
  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
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
29
23
  };
package/dist/index38.js CHANGED
@@ -1,23 +1,19 @@
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
1
+ const n = "_spinner_9eqlb_10", s = "_spin_9eqlb_10", e = "_spinnerTrack_9eqlb_14", _ = "_spinnerHead_9eqlb_18", p = "_sm_9eqlb_23", r = "_md_9eqlb_28", i = "_lg_9eqlb_33", l = {
2
+ spinner: n,
3
+ spin: s,
4
+ spinnerTrack: e,
5
+ spinnerHead: _,
6
+ sm: p,
7
+ md: r,
8
+ lg: i
11
9
  };
12
10
  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
11
+ l as default,
12
+ i as lg,
13
+ r as md,
14
+ p as sm,
15
+ s as spin,
16
+ n as spinner,
17
+ _ as spinnerHead,
18
+ e as spinnerTrack
23
19
  };
package/dist/index39.js CHANGED
@@ -1,19 +1,19 @@
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 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
- 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
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/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 "./index45.js";
4
+ import f from "./index46.js";
5
+ import p from "./index47.js";
6
+ import d from "./index48.js";
7
+ import N from "./index49.js";
8
+ import g from "./index34.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,28 @@
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 o = "_dialog_1yxjo_33", _ = "_closing_1yxjo_55", t = "_content_1yxjo_77", e = "_header_1yxjo_84", s = "_title_1yxjo_91", l = "_closeButton_1yxjo_97", n = "_body_1yxjo_118", a = "_footer_1yxjo_126", d = {
2
+ dialog: o,
3
+ "modal-scale-in": "_modal-scale-in_1yxjo_1",
4
+ "modal-fade-in": "_modal-fade-in_1yxjo_1",
5
+ "modal-scale-out": "_modal-scale-out_1yxjo_1",
6
+ "modal-fade-out": "_modal-fade-out_1yxjo_1",
7
+ closing: _,
8
+ "size-sm": "_size-sm_1yxjo_65",
9
+ "size-md": "_size-md_1yxjo_69",
10
+ "size-lg": "_size-lg_1yxjo_73",
11
+ content: t,
12
+ header: e,
13
+ title: s,
14
+ closeButton: l,
15
+ body: n,
16
+ footer: a
17
+ };
7
18
  export {
8
- o as __iconNode,
9
- t as default
19
+ n as body,
20
+ l as closeButton,
21
+ _ as closing,
22
+ t as content,
23
+ d as default,
24
+ o as dialog,
25
+ a as footer,
26
+ e as header,
27
+ s as title
10
28
  };