mimir-ui-kit 1.42.2 → 1.43.1
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/ProgressBar-COdzy3fY.js +67 -0
- package/dist/assets/MultiSelectSearch.css +1 -1
- package/dist/assets/Pagination.css +1 -1
- package/dist/assets/SelectSearch.css +1 -1
- package/dist/assets/Switcher.css +1 -1
- package/dist/assets/TabTrail.css +1 -1
- package/dist/assets/hooks.css +1 -0
- package/dist/{combobox-Dv6-ANkb.js → combobox-fIVOzEhl.js} +6 -6
- package/dist/components/Accordion/Accordion.d.ts +6 -0
- package/dist/components/Accordion/Accordion.js +202 -182
- package/dist/components/AnchorLink/Link.d.ts +2 -0
- package/dist/components/AnchorLink/Link.js +54 -42
- package/dist/components/CheckboxMimir/CheckboxMimir.js +4 -4
- package/dist/components/DatePicker/DatePicker.d.ts +32 -0
- package/dist/components/DatePicker/DatePicker.js +125 -111
- package/dist/components/DatePicker/DatePickerModal.d.ts +5 -1
- package/dist/components/DatePicker/DatePickerModal.js +97 -75
- package/dist/components/DatePicker/MonthPickerModal.d.ts +5 -1
- package/dist/components/DatePicker/MonthPickerModal.js +96 -58
- package/dist/components/DatePicker/YearPickerModal.d.ts +5 -1
- package/dist/components/DatePicker/YearPickerModal.js +75 -57
- package/dist/components/Drawer/Drawer.d.ts +7 -1
- package/dist/components/Drawer/Drawer.js +122 -106
- package/dist/components/Drawer/hooks.d.ts +9 -0
- package/dist/components/Drawer/hooks.js +24 -0
- package/dist/components/Dropdown/Dropdown.d.ts +18 -1
- package/dist/components/Dropdown/Dropdown.js +361 -343
- package/dist/components/Dropdown/constants.d.ts +11 -0
- package/dist/components/Dropdown/constants.js +5 -0
- package/dist/components/Dropdown/hooks.d.ts +19 -0
- package/dist/components/Dropdown/hooks.js +11 -0
- package/dist/components/Dropdown/index.d.ts +1 -0
- package/dist/components/Dropdown/index.js +5 -2
- package/dist/components/MultiSelectSearch/MultiSelectSearch.d.ts +8 -1
- package/dist/components/MultiSelectSearch/MultiSelectSearch.js +461 -302
- package/dist/components/MultiSelectSearch/constants.d.ts +6 -0
- package/dist/components/MultiSelectSearch/constants.js +7 -5
- package/dist/components/MultiSelectSearch/index.d.ts +1 -1
- package/dist/components/MultiSelectSearch/index.js +5 -4
- package/dist/components/MultiSelectSearch/types.d.ts +33 -1
- package/dist/components/MultiSelectSearch/utils.d.ts +1 -0
- package/dist/components/MultiSelectSearch/utils.js +31 -17
- package/dist/components/Pagination/Pagination.d.ts +23 -0
- package/dist/components/Pagination/Pagination.js +137 -99
- package/dist/components/RadioGroup/RadioGroup.js +3 -3
- package/dist/components/SelectSearch/SelectSearch.d.ts +8 -1
- package/dist/components/SelectSearch/SelectSearch.js +381 -220
- package/dist/components/SelectSearch/constants.d.ts +6 -0
- package/dist/components/SelectSearch/constants.js +3 -2
- package/dist/components/SelectSearch/index.d.ts +1 -1
- package/dist/components/SelectSearch/index.js +5 -4
- package/dist/components/SelectSearch/types.d.ts +32 -1
- package/dist/components/SelectSearch/utils.d.ts +2 -0
- package/dist/components/SelectSearch/utils.js +28 -14
- package/dist/components/Slider/Slider.d.ts +6 -2
- package/dist/components/Slider/Slider.js +123 -109
- package/dist/components/Slider/utils.d.ts +1 -0
- package/dist/components/Slider/utils.js +4 -0
- package/dist/components/Switcher/Switcher.js +66 -59
- package/dist/components/Switcher/types.d.ts +1 -0
- package/dist/components/TabTrail/TabTrail.d.ts +9 -0
- package/dist/components/TabTrail/TabTrail.js +198 -190
- package/dist/components/Toasts/ProgressBar.d.ts +4 -2
- package/dist/components/Toasts/ProgressBar.js +1 -1
- package/dist/components/Toasts/Toast.d.ts +5 -1
- package/dist/components/Toasts/Toast.js +59 -44
- package/dist/components/Toasts/ToastList.js +1 -1
- package/dist/components/Toasts/ToastsProvider.js +1 -1
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.js +154 -149
- package/dist/{field-BP5-U1Nr.js → field-BLi5834s.js} +2 -2
- package/dist/{focus-management-Dp2_vbQ3.js → focus-management-BAl0GmRk.js} +1 -1
- package/dist/{hidden-Dn4lM6EL.js → hidden-CkTYbiNM.js} +1 -1
- package/dist/hooks/useTimer/index.d.ts +2 -1
- package/dist/hooks/useTimer/index.js +55 -41
- package/dist/hooks-HgN6Yauq.js +117 -0
- package/dist/index.js +182 -177
- package/dist/{keyboard-CUMsrFX1.js → keyboard-wis2TUql.js} +2 -2
- package/dist/{label-DOlEWXBl.js → label-BmphTIGY.js} +2 -2
- package/dist/{open-closed-CkTbpRyi.js → open-closed-CJijMeI2.js} +1 -1
- package/dist/{portal-C_u5auU1.js → portal-BnEqSZwo.js} +2 -2
- package/dist/{use-active-press-BVQqDQ3V.js → use-active-press-CnDeVvQq.js} +1 -1
- package/dist/{use-is-mounted-D7cq4xsa.js → use-is-mounted-MBU4fiLr.js} +1 -1
- package/package.json +3 -1
- package/dist/ProgressBar-DEFs1tWq.js +0 -55
- package/dist/assets/Dropdown.css +0 -1
- package/dist/components/Pagination/types.d.ts +0 -0
@@ -1,57 +1,71 @@
|
|
1
|
-
import { useState as i, useCallback as
|
2
|
-
import { Time as
|
3
|
-
import { useInterval as
|
4
|
-
const
|
5
|
-
function
|
6
|
-
if (!
|
1
|
+
import { useState as i, useRef as R, useEffect as A, useCallback as a } from "react";
|
2
|
+
import { Time as l, Validate as I } from "./utils.js";
|
3
|
+
import { useInterval as C } from "../useInterval/useInterval.js";
|
4
|
+
const T = 1e3;
|
5
|
+
function x(r) {
|
6
|
+
if (!I.expiryTimestamp(r))
|
7
7
|
return null;
|
8
|
-
const s =
|
9
|
-
return
|
8
|
+
const s = l.getSecondsFromExpiry(r), u = Math.floor((s - Math.floor(s)) * 1e3);
|
9
|
+
return u > 0 ? u : T;
|
10
10
|
}
|
11
|
-
function
|
12
|
-
expiryTimestamp:
|
11
|
+
function j({
|
12
|
+
expiryTimestamp: r,
|
13
13
|
onExpire: s,
|
14
|
-
autoStart:
|
14
|
+
autoStart: u = !1,
|
15
|
+
isPaused: t = !1
|
15
16
|
}) {
|
16
|
-
const [
|
17
|
-
|
18
|
-
), [
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
17
|
+
const [g, M] = i(r), [D, p] = i(
|
18
|
+
l.getSecondsFromExpiry(r ?? 0)
|
19
|
+
), [f, o] = i(u), [m, L] = i(u), [E, S] = i(x(r ?? 0)), c = R(null), d = R(null), h = R(0);
|
20
|
+
A(() => {
|
21
|
+
if (c.current || (c.current = r ?? null), t && f)
|
22
|
+
d.current = Date.now(), o(!1);
|
23
|
+
else if (!t && !f && m && d.current) {
|
24
|
+
const e = Date.now() - d.current;
|
25
|
+
if (h.current += e, c.current) {
|
26
|
+
const n = c.current + e;
|
27
|
+
M(n), c.current = n;
|
28
|
+
}
|
29
|
+
d.current = null, o(!0);
|
30
|
+
}
|
31
|
+
}, [t, f, m, r]);
|
32
|
+
const V = a(() => {
|
33
|
+
I.onExpire(s) && (s == null || s()), o(!1), S(null);
|
34
|
+
}, [s]), k = a((e) => {
|
35
|
+
o(() => (e == null || e(), !1));
|
36
|
+
}, []), F = a(
|
37
|
+
(e, n = !0) => {
|
38
|
+
S(x(e)), L(n), o(n && !t), M(e), p(l.getSecondsFromExpiry(e)), c.current = e, h.current = 0;
|
25
39
|
},
|
26
|
-
[]
|
27
|
-
),
|
40
|
+
[t]
|
41
|
+
), y = a(
|
28
42
|
(e) => {
|
29
|
-
const
|
30
|
-
|
43
|
+
const n = /* @__PURE__ */ new Date();
|
44
|
+
n.setMilliseconds(n.getMilliseconds() + D * 1e3), F(n.getTime(), !0), e == null || e();
|
31
45
|
},
|
32
|
-
[
|
33
|
-
),
|
34
|
-
|
35
|
-
}, [
|
36
|
-
return
|
46
|
+
[D, F]
|
47
|
+
), v = a(() => {
|
48
|
+
m ? (p(l.getSecondsFromExpiry(g ?? 0, !1)), o(!t)) : y();
|
49
|
+
}, [g, m, y, t]);
|
50
|
+
return C(
|
37
51
|
() => {
|
38
|
-
|
39
|
-
const e =
|
40
|
-
|
52
|
+
E !== T && S(T);
|
53
|
+
const e = l.getSecondsFromExpiry(
|
54
|
+
g ?? 0,
|
41
55
|
!1
|
42
56
|
);
|
43
|
-
|
57
|
+
p(e), e <= 0 && V();
|
44
58
|
},
|
45
|
-
|
59
|
+
f && !t ? E : null
|
46
60
|
), {
|
47
|
-
...
|
48
|
-
start:
|
49
|
-
pause:
|
50
|
-
resume:
|
51
|
-
restart:
|
52
|
-
isRunning:
|
61
|
+
...l.getTimeFromSeconds(D),
|
62
|
+
start: v,
|
63
|
+
pause: k,
|
64
|
+
resume: y,
|
65
|
+
restart: F,
|
66
|
+
isRunning: f && !t
|
53
67
|
};
|
54
68
|
}
|
55
69
|
export {
|
56
|
-
|
70
|
+
j as useTimer
|
57
71
|
};
|
@@ -0,0 +1,117 @@
|
|
1
|
+
import { c as N } from "./index-DIxK0V-G.js";
|
2
|
+
import { useState as C, useRef as O, useCallback as p, useEffect as P } from "react";
|
3
|
+
import { EDropdownPlacement as e, EDropdownAlign as i } from "./components/Dropdown/constants.js";
|
4
|
+
import './assets/hooks.css';const S = "_menu_179ng_2", $ = "_arrow_179ng_53", k = "_enter_179ng_200", M = "_leave_179ng_214", g = {
|
5
|
+
menu: S,
|
6
|
+
"menu-button": "_menu-button_179ng_5",
|
7
|
+
"menu-items": "_menu-items_179ng_10",
|
8
|
+
"menu-items--black": "_menu-items--black_179ng_20",
|
9
|
+
"menu-items-with-arrow": "_menu-items-with-arrow_179ng_24",
|
10
|
+
"position-bottom": "_position-bottom_179ng_29",
|
11
|
+
"position-bottom-start": "_position-bottom-start_179ng_30",
|
12
|
+
"position-bottom-end": "_position-bottom-end_179ng_31",
|
13
|
+
"position-top": "_position-top_179ng_35",
|
14
|
+
"position-top-start": "_position-top-start_179ng_36",
|
15
|
+
"position-top-end": "_position-top-end_179ng_37",
|
16
|
+
"position-left": "_position-left_179ng_41",
|
17
|
+
"position-left-start": "_position-left-start_179ng_42",
|
18
|
+
"position-left-end": "_position-left-end_179ng_43",
|
19
|
+
"position-right": "_position-right_179ng_47",
|
20
|
+
"position-right-start": "_position-right-start_179ng_48",
|
21
|
+
"position-right-end": "_position-right-end_179ng_49",
|
22
|
+
"arrow-position-bottom": "_arrow-position-bottom_179ng_53",
|
23
|
+
"arrow-position-bottom-start": "_arrow-position-bottom-start_179ng_54",
|
24
|
+
"arrow-position-bottom-end": "_arrow-position-bottom-end_179ng_55",
|
25
|
+
"arrow-position-top": "_arrow-position-top_179ng_59",
|
26
|
+
"arrow-position-top-start": "_arrow-position-top-start_179ng_60",
|
27
|
+
"arrow-position-top-end": "_arrow-position-top-end_179ng_61",
|
28
|
+
"arrow-position-left": "_arrow-position-left_179ng_65",
|
29
|
+
"arrow-position-left-start": "_arrow-position-left-start_179ng_66",
|
30
|
+
"arrow-position-left-end": "_arrow-position-left-end_179ng_67",
|
31
|
+
"arrow-position-right": "_arrow-position-right_179ng_71",
|
32
|
+
"arrow-position-right-start": "_arrow-position-right-start_179ng_72",
|
33
|
+
"arrow-position-right-end": "_arrow-position-right-end_179ng_73",
|
34
|
+
arrow: $,
|
35
|
+
"arrow-bottom": "_arrow-bottom_179ng_83",
|
36
|
+
"arrow-bottom-start": "_arrow-bottom-start_179ng_91",
|
37
|
+
"arrow-bottom-end": "_arrow-bottom-end_179ng_98",
|
38
|
+
"arrow-top": "_arrow-top_179ng_106",
|
39
|
+
"arrow-top-start": "_arrow-top-start_179ng_114",
|
40
|
+
"arrow-top-end": "_arrow-top-end_179ng_121",
|
41
|
+
"arrow-left": "_arrow-left_179ng_129",
|
42
|
+
"arrow-left-start": "_arrow-left-start_179ng_137",
|
43
|
+
"arrow-left-end": "_arrow-left-end_179ng_144",
|
44
|
+
"arrow-right": "_arrow-right_179ng_152",
|
45
|
+
"arrow-right-start": "_arrow-right-start_179ng_160",
|
46
|
+
"arrow-right-end": "_arrow-right-end_179ng_167",
|
47
|
+
"arrow-black": "_arrow-black_179ng_175",
|
48
|
+
"menu-items-container": "_menu-items-container_179ng_188",
|
49
|
+
"close-button": "_close-button_179ng_194",
|
50
|
+
enter: k,
|
51
|
+
"enter-from": "_enter-from_179ng_204",
|
52
|
+
"enter-to": "_enter-to_179ng_209",
|
53
|
+
leave: M,
|
54
|
+
"leave-from": "_leave-from_179ng_218",
|
55
|
+
"leave-to": "_leave-to_179ng_223"
|
56
|
+
}, R = 300, u = 5, d = 10, y = 10, x = ({
|
57
|
+
buttonRef: l,
|
58
|
+
panelRef: a,
|
59
|
+
initialPosition: h,
|
60
|
+
isOpen: A,
|
61
|
+
arrow: c = !1,
|
62
|
+
variant: T = "default"
|
63
|
+
}) => {
|
64
|
+
const [r, D] = C(
|
65
|
+
typeof h == "string" ? h : `${e.BOTTOM} ${i.END}`
|
66
|
+
), w = O(null), m = p(() => {
|
67
|
+
w.current && (clearTimeout(w.current), w.current = null);
|
68
|
+
}, []), E = p(() => {
|
69
|
+
if (!a.current || !l.current) return null;
|
70
|
+
const t = l.current.getBoundingClientRect(), o = a.current.getBoundingClientRect();
|
71
|
+
let n = null;
|
72
|
+
if (o.bottom <= t.top + u ? n = e.TOP : o.top >= t.bottom - u ? n = e.BOTTOM : o.right <= t.left + u ? n = e.LEFT : o.left >= t.right - u && (n = e.RIGHT), !n) return null;
|
73
|
+
let _;
|
74
|
+
if (n === e.LEFT || n === e.RIGHT) {
|
75
|
+
const f = Math.abs(o.top - t.top) < d, b = Math.abs(o.bottom - t.bottom) < d;
|
76
|
+
_ = f ? i.START : b ? i.END : i.CENTER;
|
77
|
+
} else {
|
78
|
+
const f = Math.abs(o.left - t.left) < d, b = Math.abs(o.right - t.right) < d;
|
79
|
+
_ = f ? i.START : b ? i.END : i.CENTER;
|
80
|
+
}
|
81
|
+
return _ ? `${n} ${_}`.trim() : n;
|
82
|
+
}, [l, a]), s = p(() => {
|
83
|
+
m(), w.current = setTimeout(() => {
|
84
|
+
const t = E();
|
85
|
+
t && t !== r && D(t);
|
86
|
+
}, y);
|
87
|
+
}, [E, r, m]);
|
88
|
+
P(() => {
|
89
|
+
if (!a.current || !l.current || window.getComputedStyle(a.current).display === "none") return;
|
90
|
+
const o = setTimeout(s, R);
|
91
|
+
return window.addEventListener("scroll", s, !0), window.addEventListener("resize", s), () => {
|
92
|
+
clearTimeout(o), m(), window.removeEventListener("scroll", s, !0), window.removeEventListener("resize", s);
|
93
|
+
};
|
94
|
+
}, [A, s, m]);
|
95
|
+
const v = p(() => {
|
96
|
+
if (!c) return "";
|
97
|
+
const t = typeof r == "string" ? r : "", [o, n] = t.split(" "), _ = n ? g[`arrow-${o}-${n}`] : g[`arrow-${o}`];
|
98
|
+
return N(g.arrow, _, {
|
99
|
+
[g["arrow-black"]]: T === "black"
|
100
|
+
});
|
101
|
+
}, [c, r, T]), L = p(() => {
|
102
|
+
const t = typeof r == "string" ? r : "";
|
103
|
+
return t ? g[`${c ? "arrow-position-" : "position-"}${t.replace(" ", "-")}`] : "";
|
104
|
+
}, [r, c]);
|
105
|
+
return {
|
106
|
+
getArrowClasses: v,
|
107
|
+
getPositionClass: L
|
108
|
+
};
|
109
|
+
};
|
110
|
+
export {
|
111
|
+
R as A,
|
112
|
+
y as D,
|
113
|
+
u as P,
|
114
|
+
d as a,
|
115
|
+
g as c,
|
116
|
+
x as u
|
117
|
+
};
|
package/dist/index.js
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
import { Button as e } from "./components/Button/Button.js";
|
2
|
-
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as m, EButtonVariantDefault as
|
2
|
+
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as m, EButtonVariantDefault as i, EButtonVariantOutline as f, EButtonVariantRound as x } from "./components/Button/constants.js";
|
3
3
|
import { I as l } from "./Input-BU_6U1CW.js";
|
4
|
-
import { EInputSize as
|
4
|
+
import { EInputSize as E, EInputStatus as u, EInputVariant as S } from "./components/Input/constants.js";
|
5
5
|
import { TextArea as c } from "./components/TextArea/TextArea.js";
|
6
|
-
import { ETextAreaInputSize as
|
7
|
-
import { InputPassword as
|
8
|
-
import { InputPhoneNumber as
|
9
|
-
import { getMaskedInputPhoneValue as
|
6
|
+
import { ETextAreaInputSize as g } from "./components/TextArea/constants.js";
|
7
|
+
import { InputPassword as P } from "./components/InputPassword/InputPassword.js";
|
8
|
+
import { InputPhoneNumber as k } from "./components/InputPhoneNumber/InputPhoneNumber.js";
|
9
|
+
import { getMaskedInputPhoneValue as B, getUnmaskedInputValue as h } from "./components/InputPhoneNumber/utils.js";
|
10
10
|
import { OtpInput as M } from "./components/OtpInput/OtpInput.js";
|
11
|
-
import { RadioGroup as
|
12
|
-
import { DatePicker as
|
13
|
-
import { MergedButton as
|
14
|
-
import { EMergedButtonVariantRound as
|
11
|
+
import { RadioGroup as y } from "./components/RadioGroup/RadioGroup.js";
|
12
|
+
import { DatePicker as R } from "./components/DatePicker/DatePicker.js";
|
13
|
+
import { MergedButton as w } from "./components/MergedButton/MergedButton.js";
|
14
|
+
import { EMergedButtonVariantRound as U } from "./components/MergedButton/constants.js";
|
15
15
|
import { AppImage as F } from "./components/Image/Image.js";
|
16
16
|
import { Loader as N } from "./components/Loader/Loader.js";
|
17
17
|
import { ELoaderSize as Q } from "./components/Loader/constants.js";
|
@@ -19,188 +19,193 @@ import { SliderLazy as j } from "./components/Slider/index.js";
|
|
19
19
|
import { Drawer as H } from "./components/Drawer/Drawer.js";
|
20
20
|
import { EDrawerPosition as K } from "./components/Drawer/constants.js";
|
21
21
|
import { Dropdown as X } from "./components/Dropdown/Dropdown.js";
|
22
|
-
import {
|
23
|
-
import {
|
24
|
-
import {
|
25
|
-
import {
|
26
|
-
import {
|
27
|
-
import {
|
28
|
-
import {
|
29
|
-
import {
|
30
|
-
import {
|
31
|
-
import {
|
32
|
-
import {
|
33
|
-
import {
|
34
|
-
import {
|
35
|
-
import {
|
36
|
-
import {
|
37
|
-
import {
|
38
|
-
import {
|
39
|
-
import {
|
40
|
-
import {
|
41
|
-
import {
|
42
|
-
import {
|
43
|
-
import {
|
44
|
-
import {
|
45
|
-
import {
|
46
|
-
import {
|
47
|
-
import {
|
48
|
-
import {
|
49
|
-
import {
|
50
|
-
import {
|
51
|
-
import {
|
52
|
-
import {
|
53
|
-
import {
|
54
|
-
import {
|
55
|
-
import {
|
56
|
-
import {
|
57
|
-
import {
|
58
|
-
import {
|
59
|
-
import {
|
60
|
-
import {
|
61
|
-
import {
|
62
|
-
import {
|
63
|
-
import {
|
64
|
-
import {
|
65
|
-
import {
|
66
|
-
import {
|
67
|
-
import {
|
68
|
-
import {
|
69
|
-
import {
|
70
|
-
import {
|
71
|
-
import {
|
72
|
-
import {
|
73
|
-
import {
|
74
|
-
import {
|
75
|
-
import {
|
76
|
-
import {
|
77
|
-
import {
|
78
|
-
import {
|
79
|
-
import {
|
80
|
-
import {
|
81
|
-
import {
|
82
|
-
import {
|
83
|
-
import {
|
84
|
-
import {
|
85
|
-
import {
|
86
|
-
import {
|
87
|
-
import {
|
88
|
-
import {
|
89
|
-
import {
|
90
|
-
import {
|
91
|
-
import {
|
92
|
-
import {
|
22
|
+
import { EDropdownAlign as _, EDropdownPlacement as $ } from "./components/Dropdown/constants.js";
|
23
|
+
import { Steps as ro } from "./components/Steps/Steps.js";
|
24
|
+
import { EStepColor as to, EStepsSize as po } from "./components/Steps/constants.js";
|
25
|
+
import { Vote as mo } from "./components/Vote/Vote.js";
|
26
|
+
import { EVoteSize as fo } from "./components/Vote/constants.js";
|
27
|
+
import { SelectSearch as no } from "./components/SelectSearch/SelectSearch.js";
|
28
|
+
import { ELoadingIndicatorPlacement as so, ESelectSearchSize as Eo } from "./components/SelectSearch/constants.js";
|
29
|
+
import { CheckboxMimir as So } from "./components/CheckboxMimir/CheckboxMimir.js";
|
30
|
+
import { Tag as To } from "./components/Tag/Tag.js";
|
31
|
+
import { ETagSize as Io, ETagType as Po } from "./components/Tag/constants.js";
|
32
|
+
import { Timer as ko } from "./components/Timer/Timer.js";
|
33
|
+
import { Accordion as Bo } from "./components/Accordion/Accordion.js";
|
34
|
+
import { EAccordionSize as bo } from "./components/Accordion/constants.js";
|
35
|
+
import { AccordionItem as Lo } from "./components/Accordion/AccordionItem/AccordionItem.js";
|
36
|
+
import { TabTrail as Co } from "./components/TabTrail/TabTrail.js";
|
37
|
+
import { ETabTrailSize as Do } from "./components/TabTrail/constants.js";
|
38
|
+
import { Pagination as Ao } from "./components/Pagination/Pagination.js";
|
39
|
+
import { ToastProvider as vo } from "./components/Toasts/ToastsProvider.js";
|
40
|
+
import { useToast as Go } from "./components/Toasts/hooks.js";
|
41
|
+
import { EToastPosition as Oo, EToastVariant as Qo } from "./components/Toasts/constants.js";
|
42
|
+
import { UploaderPhotos as jo } from "./components/UploaderPhotos/UploaderPhotos.js";
|
43
|
+
import { UploaderFiles as Ho } from "./components/UploaderFiles/UploaderFiles.js";
|
44
|
+
import { EUploaderFilesVariant as Ko } from "./components/UploaderFiles/constants.js";
|
45
|
+
import { Uploader as Xo } from "./components/Uploader/Uploader.js";
|
46
|
+
import { Link as _o } from "./components/AnchorLink/Link.js";
|
47
|
+
import { ELinkSize as or, ELinkVariant as rr } from "./components/AnchorLink/constants.js";
|
48
|
+
import { NotificationBadge as tr } from "./components/NotificationBadge/NotificationBadge.js";
|
49
|
+
import { ENotificationBadgeSize as ar } from "./components/NotificationBadge/constants.js";
|
50
|
+
import { Chip as ir } from "./components/Chip/Chip.js";
|
51
|
+
import { EChipSize as xr, EChipVariant as nr } from "./components/Chip/constants.js";
|
52
|
+
import { UniversalUploader as sr } from "./components/UniversalUploader/UniversalUploader.js";
|
53
|
+
import { EUploaderType as ur } from "./components/UniversalUploader/constants.js";
|
54
|
+
import { InputRangeSlider as dr } from "./components/InputRangeSlider/InputRangeSlider.js";
|
55
|
+
import { EInputRangeSliderBorderState as Tr, EInputRangeSliderPositions as gr } from "./components/InputRangeSlider/constants.js";
|
56
|
+
import { GosZnak as Pr } from "./components/GosZnak/GosZnak.js";
|
57
|
+
import { EGosZnakSize as kr, EGosZnakType as zr } from "./components/GosZnak/constants.js";
|
58
|
+
import { Switcher as hr } from "./components/Switcher/Switcher.js";
|
59
|
+
import { ELabelPositions as Mr } from "./components/Switcher/constants.js";
|
60
|
+
import { TwinSwitcher as yr } from "./components/TwinSwitcher/TwinSwitcher.js";
|
61
|
+
import { SkeletonBrick as Rr } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
|
62
|
+
import { SkeletonText as wr } from "./components/Skeleton/SkeletonText/SkeletonText.js";
|
63
|
+
import { SkeletonCircle as Ur } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
|
64
|
+
import { ESkeletonVariant as Fr } from "./components/Skeleton/constants.js";
|
65
|
+
import { Avatar as Nr } from "./components/Avatar/Avatar.js";
|
66
|
+
import { EAvatarSize as Qr } from "./components/Avatar/constants.js";
|
67
|
+
import { MultiSelectSearch as jr } from "./components/MultiSelectSearch/MultiSelectSearch.js";
|
68
|
+
import { ELoadingIndicatorPlacement as Hr, EMultiSelectSearchSize as Jr } from "./components/MultiSelectSearch/constants.js";
|
69
|
+
import { ListFiles as Wr } from "./components/ListFiles/ListFiles.js";
|
70
|
+
import { EFileItemVariant as Yr } from "./components/ListFiles/constants.js";
|
71
|
+
import { ListPhotos as $r } from "./components/ListPhotos/ListPhotos.js";
|
72
|
+
import { MessageShortReply as re } from "./components/MessageShortReply/MessageShortReply.js";
|
73
|
+
import { EMessageShortReplyVariant as te } from "./components/MessageShortReply/constants.js";
|
74
|
+
import { Table as ae } from "./components/Table/Table.js";
|
75
|
+
import { ESortDirection as ie, ETableDisplayMode as fe, ETableScrollButtonVariant as xe, ETableScrollIconName as ne, ETableVariant as le } from "./components/Table/constants.js";
|
76
|
+
import { PromoSlider as Ee } from "./components/PromoSlider/PromoSlider.js";
|
77
|
+
import { CardTrail as Se } from "./components/CardTrail/CardTrail.js";
|
78
|
+
import { ClearButton as ce } from "./components/InputClearButton/ClearButton.js";
|
79
|
+
import { useMediaQuery as ge } from "./hooks/useMediaQuery/useMediaQuery.js";
|
80
|
+
import { EMediaQuery as Pe, EMinMediaQuery as Ve } from "./hooks/useMediaQuery/constants.js";
|
81
|
+
import { useLockBodyScroll as ze } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
|
82
|
+
import { useInterval as he } from "./hooks/useInterval/useInterval.js";
|
83
|
+
import { useTimer as Me } from "./hooks/useTimer/index.js";
|
84
|
+
import { useCopyToClipboard as ye } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
|
85
|
+
import { useMergeRefs as Re } from "./hooks/useMergeRefs/useMergeRefs.js";
|
86
|
+
import { useResizeObserver as we } from "./hooks/useResizeObserver/useResizeObserver.js";
|
87
|
+
import { useCallbackRef as Ue } from "./hooks/useCallbackRef/index.js";
|
88
|
+
import { useThrottledCallback as Fe } from "./hooks/useThrottledCallback/index.js";
|
89
|
+
import { Icon as Ne } from "./icons/Icon.js";
|
90
|
+
import { formating as Qe } from "./utils/index.js";
|
91
|
+
import { default as je } from "./components/Slider/Slider.js";
|
92
|
+
import { EProgressBarPosition as He } from "./components/Slider/constants.js";
|
93
|
+
import { parseDate as Ke } from "./utils/formating/Date.js";
|
93
94
|
import './assets/index.css';export {
|
94
|
-
|
95
|
-
|
96
|
-
|
95
|
+
Bo as Accordion,
|
96
|
+
Lo as AccordionItem,
|
97
|
+
Nr as Avatar,
|
97
98
|
e as Button,
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
99
|
+
Se as CardTrail,
|
100
|
+
So as CheckboxMimir,
|
101
|
+
ir as Chip,
|
102
|
+
ce as ClearButton,
|
103
|
+
R as DatePicker,
|
103
104
|
H as Drawer,
|
104
105
|
X as Dropdown,
|
105
|
-
|
106
|
-
|
106
|
+
bo as EAccordionSize,
|
107
|
+
Qr as EAvatarSize,
|
107
108
|
p as EButtonForm,
|
108
109
|
a as EButtonSize,
|
109
110
|
m as EButtonVariantBorderless,
|
110
|
-
|
111
|
-
|
111
|
+
i as EButtonVariantDefault,
|
112
|
+
f as EButtonVariantOutline,
|
112
113
|
x as EButtonVariantRound,
|
113
|
-
|
114
|
-
|
114
|
+
xr as EChipSize,
|
115
|
+
nr as EChipVariant,
|
115
116
|
K as EDrawerPosition,
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
117
|
+
_ as EDropdownAlign,
|
118
|
+
$ as EDropdownPlacement,
|
119
|
+
Yr as EFileItemVariant,
|
120
|
+
kr as EGosZnakSize,
|
121
|
+
zr as EGosZnakType,
|
122
|
+
Tr as EInputRangeSliderBorderState,
|
123
|
+
gr as EInputRangeSliderPositions,
|
124
|
+
E as EInputSize,
|
125
|
+
u as EInputStatus,
|
123
126
|
S as EInputVariant,
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
+
Mr as ELabelPositions,
|
128
|
+
or as ELinkSize,
|
129
|
+
rr as ELinkVariant,
|
127
130
|
Q as ELoaderSize,
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
131
|
+
Hr as ELoadingIndicatorPlacement,
|
132
|
+
Pe as EMediaQuery,
|
133
|
+
U as EMergedButtonVariantRound,
|
134
|
+
te as EMessageShortReplyVariant,
|
135
|
+
Ve as EMinMediaQuery,
|
136
|
+
Jr as EMultiSelectSearchSize,
|
137
|
+
ar as ENotificationBadgeSize,
|
138
|
+
He as EProgressBarPosition,
|
139
|
+
so as ESSLoadingPlacement,
|
140
|
+
Eo as ESelectSearchSize,
|
141
|
+
Fr as ESkeletonVariant,
|
142
|
+
ie as ESortDirection,
|
143
|
+
to as EStepColor,
|
144
|
+
po as EStepsSize,
|
145
|
+
Do as ETabTrailSize,
|
146
|
+
fe as ETableDisplayMode,
|
147
|
+
xe as ETableScrollButtonVariant,
|
148
|
+
ne as ETableScrollIconName,
|
149
|
+
le as ETableVariant,
|
150
|
+
Io as ETagSize,
|
151
|
+
Po as ETagType,
|
152
|
+
g as ETextAreaInputSize,
|
153
|
+
Oo as EToastPosition,
|
154
|
+
Qo as EToastVariant,
|
155
|
+
Ko as EUploaderFilesVariant,
|
156
|
+
ur as EUploaderType,
|
157
|
+
fo as EVoteSize,
|
158
|
+
Pr as GosZnak,
|
159
|
+
Ne as Icon,
|
155
160
|
F as Image,
|
156
161
|
l as Input,
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
162
|
+
P as InputPassword,
|
163
|
+
k as InputPhoneNumber,
|
164
|
+
dr as InputRangeSlider,
|
165
|
+
_o as Link,
|
166
|
+
Wr as ListFiles,
|
167
|
+
$r as ListPhotos,
|
163
168
|
N as Loader,
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
169
|
+
w as MergedButton,
|
170
|
+
re as MessageShortReply,
|
171
|
+
jr as MultiSelectSearch,
|
172
|
+
tr as NotificationBadge,
|
168
173
|
M as OtpInput,
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
174
|
+
Ao as Pagination,
|
175
|
+
Ee as PromoSlider,
|
176
|
+
y as RadioGroup,
|
177
|
+
no as SelectSearch,
|
178
|
+
Rr as SkeletonBrick,
|
179
|
+
Ur as SkeletonCircle,
|
180
|
+
wr as SkeletonText,
|
181
|
+
je as Slider,
|
177
182
|
j as SliderLazy,
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
+
ro as Steps,
|
184
|
+
hr as Switcher,
|
185
|
+
Co as TabTrail,
|
186
|
+
ae as Table,
|
187
|
+
To as Tag,
|
183
188
|
c as TextArea,
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
189
|
+
ko as Timer,
|
190
|
+
vo as ToastProvider,
|
191
|
+
yr as TwinSwitcher,
|
192
|
+
sr as UniversalUploader,
|
193
|
+
Xo as Uploader,
|
194
|
+
Ho as UploaderFiles,
|
195
|
+
jo as UploaderPhotos,
|
196
|
+
mo as Vote,
|
197
|
+
Qe as formating,
|
198
|
+
B as getMaskedInputPhoneValue,
|
199
|
+
h as getUnmaskedInputValue,
|
200
|
+
Ke as parseDate,
|
201
|
+
Ue as useCallbackRef,
|
202
|
+
ye as useCopyToClipboard,
|
203
|
+
he as useInterval,
|
204
|
+
ze as useLockBodyScroll,
|
205
|
+
ge as useMediaQuery,
|
206
|
+
Re as useMergeRefs,
|
207
|
+
we as useResizeObserver,
|
208
|
+
Fe as useThrottledCallback,
|
209
|
+
Me as useTimer,
|
210
|
+
Go as useToast
|
206
211
|
};
|