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.
- package/dist/index.css +1 -1
- package/dist/index10.js +1 -1
- package/dist/index12.js +44 -43
- package/dist/index13.js +1 -1
- package/dist/index14.js +1 -1
- package/dist/index15.js +1 -1
- package/dist/index16.js +44 -43
- package/dist/index17.js +3 -3
- package/dist/index18.js +1 -1
- package/dist/index19.js +1 -1
- package/dist/index20.js +1 -1
- package/dist/index21.js +1 -1
- package/dist/index22.js +1 -1
- package/dist/index23.js +1 -1
- package/dist/index24.js +1 -1
- package/dist/index25.js +1 -1
- package/dist/index26.js +1 -1
- package/dist/index27.js +7 -7
- package/dist/index28.js +1 -1
- package/dist/index29.js +1 -1
- package/dist/index3.js +1 -1
- package/dist/index30.js +2 -2
- package/dist/index31.js +15 -15
- package/dist/index32.js +11 -8
- package/dist/index33.js +40 -4
- package/dist/index34.js +7 -27
- package/dist/index35.js +25 -25
- package/dist/index36.js +16 -18
- package/dist/index37.js +22 -22
- package/dist/index38.js +21 -8
- package/dist/index39.js +13 -14
- package/dist/index4.js +6 -6
- package/dist/index40.js +23 -8
- package/dist/index41.js +8 -7
- package/dist/index42.js +14 -7
- package/dist/index43.js +8 -26
- package/dist/index44.js +7 -13
- package/dist/index45.js +12 -39
- package/dist/index46.js +16 -22
- package/dist/index47.js +8 -27
- package/dist/index48.js +4 -13
- package/dist/index49.js +26 -20
- package/dist/index5.js +2 -2
- package/dist/index50.js +16 -14
- package/dist/index51.js +21 -4
- package/dist/index52.js +12 -16
- package/dist/index53.js +28 -23
- package/dist/index54.js +22 -14
- package/dist/index55.js +16 -12
- package/dist/index56.js +14 -41
- package/dist/index57.js +3 -3
- package/dist/index58.js +14 -16
- package/dist/index59.js +18 -16
- package/dist/index6.js +2 -2
- package/dist/index60.js +12 -22
- package/dist/index61.js +25 -20
- package/dist/index62.js +41 -16
- package/dist/index63.js +4 -13
- package/dist/index64.js +27 -31
- package/dist/index65.js +26 -35
- package/dist/index66.js +35 -2
- package/dist/index67.js +2 -4
- package/dist/index68.js +4 -21
- package/dist/index69.js +21 -2
- package/dist/index7.js +3 -3
- package/dist/index70.js +2 -2
- package/dist/index71.js +2 -6
- package/dist/index72.js +6 -34
- package/dist/index73.js +34 -12
- package/dist/index74.js +11 -6
- package/dist/index75.js +7 -5
- package/dist/index76.js +7 -0
- package/dist/index8.js +1 -1
- package/dist/index9.js +1 -1
- 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
|
|
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
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
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:
|
|
11
|
-
side:
|
|
12
|
-
size:
|
|
13
|
-
className:
|
|
11
|
+
children: s,
|
|
12
|
+
side: f = "right",
|
|
13
|
+
size: p = "md",
|
|
14
|
+
className: h,
|
|
14
15
|
...N
|
|
15
16
|
}) => {
|
|
16
|
-
const
|
|
17
|
-
return g(() => {
|
|
18
|
-
|
|
19
|
-
}, [
|
|
20
|
-
const e =
|
|
21
|
-
|
|
22
|
-
}, [
|
|
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:
|
|
27
|
-
className:
|
|
27
|
+
ref: i,
|
|
28
|
+
className: c(
|
|
28
29
|
r.dialog,
|
|
29
|
-
r[
|
|
30
|
-
r[`size-${
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
r[f],
|
|
31
|
+
r[`size-${p}`],
|
|
32
|
+
a && r.closing,
|
|
33
|
+
h
|
|
33
34
|
),
|
|
34
35
|
onAnimationEnd: () => {
|
|
35
|
-
|
|
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 ===
|
|
42
|
+
e.target === i.current && t();
|
|
42
43
|
},
|
|
43
44
|
...N,
|
|
44
|
-
children: /* @__PURE__ */ l("div", { className: r.content, children:
|
|
45
|
+
children: /* @__PURE__ */ l("div", { className: r.content, children: s })
|
|
45
46
|
}
|
|
46
47
|
),
|
|
47
48
|
document.body
|
|
48
49
|
) : null;
|
|
49
|
-
},
|
|
50
|
-
children:
|
|
50
|
+
}, S = ({
|
|
51
|
+
children: o,
|
|
51
52
|
onClose: t,
|
|
52
|
-
className:
|
|
53
|
-
...
|
|
54
|
-
}) => /* @__PURE__ */ b("div", { className:
|
|
55
|
-
/* @__PURE__ */ l("h2", { className: r.title, children:
|
|
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(
|
|
63
|
+
children: /* @__PURE__ */ l(y, { size: 20 })
|
|
63
64
|
}
|
|
64
65
|
)
|
|
65
|
-
] }),
|
|
66
|
-
children:
|
|
66
|
+
] }), A = ({
|
|
67
|
+
children: o,
|
|
67
68
|
className: t,
|
|
68
|
-
...
|
|
69
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
70
|
-
children:
|
|
69
|
+
...s
|
|
70
|
+
}) => /* @__PURE__ */ l("div", { className: c(r.body, t), ...s, children: o }), F = ({
|
|
71
|
+
children: o,
|
|
71
72
|
className: t,
|
|
72
|
-
...
|
|
73
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
73
|
+
...s
|
|
74
|
+
}) => /* @__PURE__ */ l("div", { className: c(r.footer, t), ...s, children: o });
|
|
74
75
|
export {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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 "./
|
|
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 "./
|
|
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
package/dist/index16.js
CHANGED
|
@@ -1,77 +1,78 @@
|
|
|
1
1
|
import { jsx as l, jsxs as b } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { useRef as h, useState as u, useEffect as
|
|
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
|
|
6
|
-
import
|
|
7
|
-
|
|
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:
|
|
10
|
+
onClose: o,
|
|
10
11
|
children: r,
|
|
11
|
-
size:
|
|
12
|
-
className:
|
|
12
|
+
size: f = "sm",
|
|
13
|
+
className: g,
|
|
13
14
|
...N
|
|
14
15
|
}) => {
|
|
15
|
-
const
|
|
16
|
-
return
|
|
17
|
-
s ? (
|
|
18
|
-
}, [s]),
|
|
19
|
-
const e =
|
|
20
|
-
|
|
21
|
-
}, [
|
|
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:
|
|
26
|
-
className:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
|
|
34
|
+
a && (i.current?.close(), m(!1), d(!1));
|
|
34
35
|
},
|
|
35
36
|
onCancel: (e) => {
|
|
36
|
-
e.preventDefault(),
|
|
37
|
+
e.preventDefault(), o();
|
|
37
38
|
},
|
|
38
39
|
onClick: (e) => {
|
|
39
|
-
e.target ===
|
|
40
|
+
e.target === i.current && o();
|
|
40
41
|
},
|
|
41
42
|
...N,
|
|
42
|
-
children: /* @__PURE__ */ l("div", { className:
|
|
43
|
+
children: /* @__PURE__ */ l("div", { className: t.content, children: r })
|
|
43
44
|
}
|
|
44
45
|
),
|
|
45
46
|
document.body
|
|
46
47
|
) : null;
|
|
47
|
-
},
|
|
48
|
+
}, S = ({
|
|
48
49
|
children: s,
|
|
49
|
-
onClose:
|
|
50
|
+
onClose: o,
|
|
50
51
|
className: r,
|
|
51
|
-
...
|
|
52
|
-
}) => /* @__PURE__ */ b("div", { className:
|
|
53
|
-
/* @__PURE__ */ l("h2", { className:
|
|
54
|
-
|
|
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:
|
|
58
|
+
onClick: o,
|
|
58
59
|
"aria-label": "Close",
|
|
59
|
-
className:
|
|
60
|
-
children: /* @__PURE__ */ l(
|
|
60
|
+
className: t.closeButton,
|
|
61
|
+
children: /* @__PURE__ */ l(y, { size: 20 })
|
|
61
62
|
}
|
|
62
63
|
)
|
|
63
|
-
] }),
|
|
64
|
+
] }), w = ({
|
|
64
65
|
children: s,
|
|
65
|
-
className:
|
|
66
|
+
className: o,
|
|
66
67
|
...r
|
|
67
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
68
|
+
}) => /* @__PURE__ */ l("div", { className: c(t.body, o), ...r, children: s }), A = ({
|
|
68
69
|
children: s,
|
|
69
|
-
className:
|
|
70
|
+
className: o,
|
|
70
71
|
...r
|
|
71
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
72
|
+
}) => /* @__PURE__ */ l("div", { className: c(t.footer, o), ...r, children: s });
|
|
72
73
|
export {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
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 "./
|
|
4
|
-
import h from "./
|
|
5
|
-
import d from "./
|
|
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
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 "./
|
|
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 "./
|
|
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
package/dist/index22.js
CHANGED
package/dist/index23.js
CHANGED
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 "./
|
|
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 "./
|
|
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 "./
|
|
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 "./
|
|
4
|
-
import t from "./
|
|
5
|
-
import o from "./
|
|
6
|
-
import d from "./
|
|
7
|
-
import f from "./
|
|
8
|
-
import p from "./
|
|
9
|
-
import g from "./
|
|
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
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 "./
|
|
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 "./
|
|
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 "./
|
|
2
|
-
import { __require as s } from "./
|
|
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
|
|
2
|
-
|
|
3
|
-
item:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
11
|
+
n as accordion,
|
|
12
|
+
c as content,
|
|
13
|
+
s as contentInner,
|
|
14
|
+
_ as contentOpen,
|
|
12
15
|
r as default,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
9
|
-
l as default
|
|
12
|
+
l as useScrollLock
|
|
10
13
|
};
|
package/dist/index33.js
CHANGED
|
@@ -1,6 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
|
|
5
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
|
|
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
|
-
|
|
7
|
+
o as __iconNode,
|
|
8
|
+
c as default
|
|
29
9
|
};
|
package/dist/index35.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
const _ = "
|
|
2
|
-
|
|
3
|
-
sm:
|
|
4
|
-
md:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
};
|