mimir-ui-kit 1.42.2 → 1.43.0

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 (83) hide show
  1. package/dist/ProgressBar-COdzy3fY.js +67 -0
  2. package/dist/assets/MultiSelectSearch.css +1 -1
  3. package/dist/assets/Pagination.css +1 -1
  4. package/dist/assets/SelectSearch.css +1 -1
  5. package/dist/assets/Switcher.css +1 -1
  6. package/dist/assets/TabTrail.css +1 -1
  7. package/dist/assets/hooks.css +1 -0
  8. package/dist/{combobox-Dv6-ANkb.js → combobox-fIVOzEhl.js} +6 -6
  9. package/dist/components/Accordion/Accordion.d.ts +6 -0
  10. package/dist/components/Accordion/Accordion.js +202 -182
  11. package/dist/components/AnchorLink/Link.d.ts +2 -0
  12. package/dist/components/AnchorLink/Link.js +54 -42
  13. package/dist/components/CheckboxMimir/CheckboxMimir.js +4 -4
  14. package/dist/components/DatePicker/DatePicker.d.ts +32 -0
  15. package/dist/components/DatePicker/DatePicker.js +125 -111
  16. package/dist/components/DatePicker/DatePickerModal.d.ts +5 -1
  17. package/dist/components/DatePicker/DatePickerModal.js +97 -75
  18. package/dist/components/DatePicker/MonthPickerModal.d.ts +5 -1
  19. package/dist/components/DatePicker/MonthPickerModal.js +96 -58
  20. package/dist/components/DatePicker/YearPickerModal.d.ts +5 -1
  21. package/dist/components/DatePicker/YearPickerModal.js +75 -57
  22. package/dist/components/Drawer/Drawer.d.ts +7 -1
  23. package/dist/components/Drawer/Drawer.js +122 -106
  24. package/dist/components/Drawer/hooks.d.ts +9 -0
  25. package/dist/components/Drawer/hooks.js +24 -0
  26. package/dist/components/Dropdown/Dropdown.d.ts +18 -1
  27. package/dist/components/Dropdown/Dropdown.js +361 -343
  28. package/dist/components/Dropdown/constants.d.ts +11 -0
  29. package/dist/components/Dropdown/constants.js +5 -0
  30. package/dist/components/Dropdown/hooks.d.ts +19 -0
  31. package/dist/components/Dropdown/hooks.js +11 -0
  32. package/dist/components/Dropdown/index.d.ts +1 -0
  33. package/dist/components/Dropdown/index.js +5 -2
  34. package/dist/components/MultiSelectSearch/MultiSelectSearch.d.ts +8 -1
  35. package/dist/components/MultiSelectSearch/MultiSelectSearch.js +461 -302
  36. package/dist/components/MultiSelectSearch/constants.d.ts +6 -0
  37. package/dist/components/MultiSelectSearch/constants.js +7 -5
  38. package/dist/components/MultiSelectSearch/index.d.ts +1 -1
  39. package/dist/components/MultiSelectSearch/index.js +5 -4
  40. package/dist/components/MultiSelectSearch/types.d.ts +33 -1
  41. package/dist/components/MultiSelectSearch/utils.d.ts +1 -0
  42. package/dist/components/MultiSelectSearch/utils.js +31 -17
  43. package/dist/components/Pagination/Pagination.d.ts +23 -0
  44. package/dist/components/Pagination/Pagination.js +137 -99
  45. package/dist/components/RadioGroup/RadioGroup.js +3 -3
  46. package/dist/components/SelectSearch/SelectSearch.d.ts +8 -1
  47. package/dist/components/SelectSearch/SelectSearch.js +381 -220
  48. package/dist/components/SelectSearch/constants.d.ts +6 -0
  49. package/dist/components/SelectSearch/constants.js +3 -2
  50. package/dist/components/SelectSearch/index.d.ts +1 -1
  51. package/dist/components/SelectSearch/index.js +5 -4
  52. package/dist/components/SelectSearch/types.d.ts +32 -1
  53. package/dist/components/SelectSearch/utils.d.ts +2 -0
  54. package/dist/components/SelectSearch/utils.js +28 -14
  55. package/dist/components/Switcher/Switcher.js +66 -59
  56. package/dist/components/Switcher/types.d.ts +1 -0
  57. package/dist/components/TabTrail/TabTrail.d.ts +9 -0
  58. package/dist/components/TabTrail/TabTrail.js +198 -190
  59. package/dist/components/Toasts/ProgressBar.d.ts +4 -2
  60. package/dist/components/Toasts/ProgressBar.js +1 -1
  61. package/dist/components/Toasts/Toast.d.ts +5 -1
  62. package/dist/components/Toasts/Toast.js +59 -44
  63. package/dist/components/Toasts/ToastList.js +1 -1
  64. package/dist/components/Toasts/ToastsProvider.js +1 -1
  65. package/dist/components/index.d.ts +3 -2
  66. package/dist/components/index.js +154 -149
  67. package/dist/{field-BP5-U1Nr.js → field-BLi5834s.js} +2 -2
  68. package/dist/{focus-management-Dp2_vbQ3.js → focus-management-BAl0GmRk.js} +1 -1
  69. package/dist/{hidden-Dn4lM6EL.js → hidden-CkTYbiNM.js} +1 -1
  70. package/dist/hooks/useTimer/index.d.ts +2 -1
  71. package/dist/hooks/useTimer/index.js +55 -41
  72. package/dist/hooks-HgN6Yauq.js +117 -0
  73. package/dist/index.js +182 -177
  74. package/dist/{keyboard-CUMsrFX1.js → keyboard-wis2TUql.js} +2 -2
  75. package/dist/{label-DOlEWXBl.js → label-BmphTIGY.js} +2 -2
  76. package/dist/{open-closed-CkTbpRyi.js → open-closed-CJijMeI2.js} +1 -1
  77. package/dist/{portal-C_u5auU1.js → portal-BnEqSZwo.js} +2 -2
  78. package/dist/{use-active-press-BVQqDQ3V.js → use-active-press-CnDeVvQq.js} +1 -1
  79. package/dist/{use-is-mounted-D7cq4xsa.js → use-is-mounted-MBU4fiLr.js} +1 -1
  80. package/package.json +3 -1
  81. package/dist/ProgressBar-DEFs1tWq.js +0 -55
  82. package/dist/assets/Dropdown.css +0 -1
  83. package/dist/components/Pagination/types.d.ts +0 -0
@@ -1,57 +1,71 @@
1
- import { useState as i, useCallback as l } from "react";
2
- import { Time as n, Validate as D } from "./utils.js";
3
- import { useInterval as L } from "../useInterval/useInterval.js";
4
- const S = 1e3;
5
- function T(t) {
6
- if (!D.expiryTimestamp(t))
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 = n.getSecondsFromExpiry(t), r = Math.floor((s - Math.floor(s)) * 1e3);
9
- return r > 0 ? r : S;
8
+ const s = l.getSecondsFromExpiry(r), u = Math.floor((s - Math.floor(s)) * 1e3);
9
+ return u > 0 ? u : T;
10
10
  }
11
- function v({
12
- expiryTimestamp: t,
11
+ function j({
12
+ expiryTimestamp: r,
13
13
  onExpire: s,
14
- autoStart: r = !1
14
+ autoStart: u = !1,
15
+ isPaused: t = !1
15
16
  }) {
16
- const [c, M] = i(t), [m, d] = i(
17
- n.getSecondsFromExpiry(t ?? 0)
18
- ), [p, a] = i(r), [y, h] = i(r), [F, u] = i(T(t ?? 0)), x = l(() => {
19
- D.onExpire(s) && (s == null || s()), a(!1), u(null);
20
- }, [s]), E = l((e) => {
21
- a(() => (e == null || e(), !1));
22
- }, []), f = l(
23
- (e, o = !0) => {
24
- u(T(e)), h(o), a(o), M(e), d(n.getSecondsFromExpiry(e));
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
- ), g = l(
40
+ [t]
41
+ ), y = a(
28
42
  (e) => {
29
- const o = /* @__PURE__ */ new Date();
30
- o.setMilliseconds(o.getMilliseconds() + m * 1e3), f(o.getTime(), !0), e == null || e();
43
+ const n = /* @__PURE__ */ new Date();
44
+ n.setMilliseconds(n.getMilliseconds() + D * 1e3), F(n.getTime(), !0), e == null || e();
31
45
  },
32
- [m, f]
33
- ), I = l(() => {
34
- y ? (d(n.getSecondsFromExpiry(c ?? 0, !1)), a(!0)) : g();
35
- }, [c, y, g]);
36
- return L(
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
- F !== S && u(S);
39
- const e = n.getSecondsFromExpiry(
40
- c ?? 0,
52
+ E !== T && S(T);
53
+ const e = l.getSecondsFromExpiry(
54
+ g ?? 0,
41
55
  !1
42
56
  );
43
- d(e), e <= 0 && x();
57
+ p(e), e <= 0 && V();
44
58
  },
45
- p ? F : null
59
+ f && !t ? E : null
46
60
  ), {
47
- ...n.getTimeFromSeconds(m),
48
- start: I,
49
- pause: E,
50
- resume: g,
51
- restart: f,
52
- isRunning: p
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
- v as useTimer
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 f, EButtonVariantOutline as i, EButtonVariantRound as x } from "./components/Button/constants.js";
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 u, EInputStatus as E, EInputVariant as S } from "./components/Input/constants.js";
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 I } from "./components/TextArea/constants.js";
7
- import { InputPassword as V } from "./components/InputPassword/InputPassword.js";
8
- import { InputPhoneNumber as z } from "./components/InputPhoneNumber/InputPhoneNumber.js";
9
- import { getMaskedInputPhoneValue as h, getUnmaskedInputValue as P } from "./components/InputPhoneNumber/utils.js";
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 C } from "./components/RadioGroup/RadioGroup.js";
12
- import { DatePicker as L } from "./components/DatePicker/DatePicker.js";
13
- import { MergedButton as D } from "./components/MergedButton/MergedButton.js";
14
- import { EMergedButtonVariantRound as w } from "./components/MergedButton/constants.js";
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 { Steps as _ } from "./components/Steps/Steps.js";
23
- import { EStepColor as rr, EStepsSize as or } from "./components/Steps/constants.js";
24
- import { Vote as tr } from "./components/Vote/Vote.js";
25
- import { EVoteSize as ar } from "./components/Vote/constants.js";
26
- import { SelectSearch as fr } from "./components/SelectSearch/SelectSearch.js";
27
- import { ESelectSearchSize as xr } from "./components/SelectSearch/constants.js";
28
- import { CheckboxMimir as lr } from "./components/CheckboxMimir/CheckboxMimir.js";
29
- import { Tag as ur } from "./components/Tag/Tag.js";
30
- import { ETagSize as Sr, ETagType as dr } from "./components/Tag/constants.js";
31
- import { Timer as Tr } from "./components/Timer/Timer.js";
32
- import { Accordion as gr } from "./components/Accordion/Accordion.js";
33
- import { EAccordionSize as kr } from "./components/Accordion/constants.js";
34
- import { AccordionItem as Br } from "./components/Accordion/AccordionItem/AccordionItem.js";
35
- import { TabTrail as Pr } from "./components/TabTrail/TabTrail.js";
36
- import { ETabTrailSize as Mr } from "./components/TabTrail/constants.js";
37
- import { Pagination as Cr } from "./components/Pagination/Pagination.js";
38
- import { ToastProvider as Lr } from "./components/Toasts/ToastsProvider.js";
39
- import { useToast as Dr } from "./components/Toasts/hooks.js";
40
- import { EToastPosition as wr, EToastVariant as vr } from "./components/Toasts/constants.js";
41
- import { UploaderPhotos as Gr } from "./components/UploaderPhotos/UploaderPhotos.js";
42
- import { UploaderFiles as Or } from "./components/UploaderFiles/UploaderFiles.js";
43
- import { EUploaderFilesVariant as Zr } from "./components/UploaderFiles/constants.js";
44
- import { Uploader as qr } from "./components/Uploader/Uploader.js";
45
- import { Link as Jr } from "./components/AnchorLink/Link.js";
46
- import { ELinkSize as Wr, ELinkVariant as Xr } from "./components/AnchorLink/constants.js";
47
- import { NotificationBadge as _r } from "./components/NotificationBadge/NotificationBadge.js";
48
- import { ENotificationBadgeSize as ro } from "./components/NotificationBadge/constants.js";
49
- import { Chip as eo } from "./components/Chip/Chip.js";
50
- import { EChipSize as po, EChipVariant as ao } from "./components/Chip/constants.js";
51
- import { UniversalUploader as fo } from "./components/UniversalUploader/UniversalUploader.js";
52
- import { EUploaderType as xo } from "./components/UniversalUploader/constants.js";
53
- import { InputRangeSlider as lo } from "./components/InputRangeSlider/InputRangeSlider.js";
54
- import { EInputRangeSliderBorderState as uo, EInputRangeSliderPositions as Eo } from "./components/InputRangeSlider/constants.js";
55
- import { GosZnak as co } from "./components/GosZnak/GosZnak.js";
56
- import { EGosZnakSize as Io, EGosZnakType as go } from "./components/GosZnak/constants.js";
57
- import { Switcher as ko } from "./components/Switcher/Switcher.js";
58
- import { ELabelPositions as Bo } from "./components/Switcher/constants.js";
59
- import { TwinSwitcher as Po } from "./components/TwinSwitcher/TwinSwitcher.js";
60
- import { SkeletonBrick as Mo } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
61
- import { SkeletonText as Co } from "./components/Skeleton/SkeletonText/SkeletonText.js";
62
- import { SkeletonCircle as Lo } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
63
- import { ESkeletonVariant as Do } from "./components/Skeleton/constants.js";
64
- import { Avatar as wo } from "./components/Avatar/Avatar.js";
65
- import { EAvatarSize as Fo } from "./components/Avatar/constants.js";
66
- import { MultiSelectSearch as No } from "./components/MultiSelectSearch/MultiSelectSearch.js";
67
- import { EMultiSelectSearchSize as Qo } from "./components/MultiSelectSearch/constants.js";
68
- import { ListFiles as jo } from "./components/ListFiles/ListFiles.js";
69
- import { EFileItemVariant as Ho } from "./components/ListFiles/constants.js";
70
- import { ListPhotos as Ko } from "./components/ListPhotos/ListPhotos.js";
71
- import { MessageShortReply as Xo } from "./components/MessageShortReply/MessageShortReply.js";
72
- import { EMessageShortReplyVariant as _o } from "./components/MessageShortReply/constants.js";
73
- import { Table as re } from "./components/Table/Table.js";
74
- import { ESortDirection as ee, ETableDisplayMode as te, ETableScrollButtonVariant as pe, ETableScrollIconName as ae, ETableVariant as me } from "./components/Table/constants.js";
75
- import { PromoSlider as ie } from "./components/PromoSlider/PromoSlider.js";
76
- import { CardTrail as ne } from "./components/CardTrail/CardTrail.js";
77
- import { ClearButton as se } from "./components/InputClearButton/ClearButton.js";
78
- import { useMediaQuery as Ee } from "./hooks/useMediaQuery/useMediaQuery.js";
79
- import { EMediaQuery as de, EMinMediaQuery as ce } from "./hooks/useMediaQuery/constants.js";
80
- import { useLockBodyScroll as Ie } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
81
- import { useInterval as Ve } from "./hooks/useInterval/useInterval.js";
82
- import { useTimer as ze } from "./hooks/useTimer/index.js";
83
- import { useCopyToClipboard as he } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
84
- import { useMergeRefs as be } from "./hooks/useMergeRefs/useMergeRefs.js";
85
- import { useResizeObserver as ye } from "./hooks/useResizeObserver/useResizeObserver.js";
86
- import { useCallbackRef as Re } from "./hooks/useCallbackRef/index.js";
87
- import { useThrottledCallback as Ae } from "./hooks/useThrottledCallback/index.js";
88
- import { Icon as Ue } from "./icons/Icon.js";
89
- import { formating as ve } from "./utils/index.js";
90
- import { default as Ge } from "./components/Slider/Slider.js";
91
- import { EProgressBarPosition as Oe } from "./components/Slider/constants.js";
92
- import { parseDate as Ze } from "./utils/formating/Date.js";
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
- gr as Accordion,
95
- Br as AccordionItem,
96
- wo as Avatar,
95
+ Bo as Accordion,
96
+ Lo as AccordionItem,
97
+ Nr as Avatar,
97
98
  e as Button,
98
- ne as CardTrail,
99
- lr as CheckboxMimir,
100
- eo as Chip,
101
- se as ClearButton,
102
- L as DatePicker,
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
- kr as EAccordionSize,
106
- Fo as EAvatarSize,
106
+ bo as EAccordionSize,
107
+ Qr as EAvatarSize,
107
108
  p as EButtonForm,
108
109
  a as EButtonSize,
109
110
  m as EButtonVariantBorderless,
110
- f as EButtonVariantDefault,
111
- i as EButtonVariantOutline,
111
+ i as EButtonVariantDefault,
112
+ f as EButtonVariantOutline,
112
113
  x as EButtonVariantRound,
113
- po as EChipSize,
114
- ao as EChipVariant,
114
+ xr as EChipSize,
115
+ nr as EChipVariant,
115
116
  K as EDrawerPosition,
116
- Ho as EFileItemVariant,
117
- Io as EGosZnakSize,
118
- go as EGosZnakType,
119
- uo as EInputRangeSliderBorderState,
120
- Eo as EInputRangeSliderPositions,
121
- u as EInputSize,
122
- E as EInputStatus,
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
- Bo as ELabelPositions,
125
- Wr as ELinkSize,
126
- Xr as ELinkVariant,
127
+ Mr as ELabelPositions,
128
+ or as ELinkSize,
129
+ rr as ELinkVariant,
127
130
  Q as ELoaderSize,
128
- de as EMediaQuery,
129
- w as EMergedButtonVariantRound,
130
- _o as EMessageShortReplyVariant,
131
- ce as EMinMediaQuery,
132
- Qo as EMultiSelectSearchSize,
133
- ro as ENotificationBadgeSize,
134
- Oe as EProgressBarPosition,
135
- xr as ESelectSearchSize,
136
- Do as ESkeletonVariant,
137
- ee as ESortDirection,
138
- rr as EStepColor,
139
- or as EStepsSize,
140
- Mr as ETabTrailSize,
141
- te as ETableDisplayMode,
142
- pe as ETableScrollButtonVariant,
143
- ae as ETableScrollIconName,
144
- me as ETableVariant,
145
- Sr as ETagSize,
146
- dr as ETagType,
147
- I as ETextAreaInputSize,
148
- wr as EToastPosition,
149
- vr as EToastVariant,
150
- Zr as EUploaderFilesVariant,
151
- xo as EUploaderType,
152
- ar as EVoteSize,
153
- co as GosZnak,
154
- Ue as Icon,
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
- V as InputPassword,
158
- z as InputPhoneNumber,
159
- lo as InputRangeSlider,
160
- Jr as Link,
161
- jo as ListFiles,
162
- Ko as ListPhotos,
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
- D as MergedButton,
165
- Xo as MessageShortReply,
166
- No as MultiSelectSearch,
167
- _r as NotificationBadge,
169
+ w as MergedButton,
170
+ re as MessageShortReply,
171
+ jr as MultiSelectSearch,
172
+ tr as NotificationBadge,
168
173
  M as OtpInput,
169
- Cr as Pagination,
170
- ie as PromoSlider,
171
- C as RadioGroup,
172
- fr as SelectSearch,
173
- Mo as SkeletonBrick,
174
- Lo as SkeletonCircle,
175
- Co as SkeletonText,
176
- Ge as Slider,
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
- _ as Steps,
179
- ko as Switcher,
180
- Pr as TabTrail,
181
- re as Table,
182
- ur as Tag,
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
- Tr as Timer,
185
- Lr as ToastProvider,
186
- Po as TwinSwitcher,
187
- fo as UniversalUploader,
188
- qr as Uploader,
189
- Or as UploaderFiles,
190
- Gr as UploaderPhotos,
191
- tr as Vote,
192
- ve as formating,
193
- h as getMaskedInputPhoneValue,
194
- P as getUnmaskedInputValue,
195
- Ze as parseDate,
196
- Re as useCallbackRef,
197
- he as useCopyToClipboard,
198
- Ve as useInterval,
199
- Ie as useLockBodyScroll,
200
- Ee as useMediaQuery,
201
- be as useMergeRefs,
202
- ye as useResizeObserver,
203
- Ae as useThrottledCallback,
204
- ze as useTimer,
205
- Dr as useToast
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
  };