mimir-ui-kit 1.36.0 → 1.36.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ export type TProps = {
12
12
  /**
13
13
  * Функция обратного вызова при потере фокуса компонентом
14
14
  */
15
- onBlur?: (e: Date) => void;
15
+ onBlur?: (e: string) => void;
16
16
  /**
17
17
  * Функция ограничения выбора даты (до какой даты выбор не доступен)
18
18
  */
@@ -43,7 +43,7 @@ export type TProps = {
43
43
  editable?: boolean;
44
44
  } & TInputProps;
45
45
  export type TDatePickerValue = {
46
- value?: Date;
46
+ value?: string;
47
47
  name?: string;
48
48
  };
49
49
  export type TDatePickerOnError = {
@@ -62,7 +62,7 @@ export declare const DatePicker: import('react').MemoExoticComponent<import('rea
62
62
  /**
63
63
  * Функция обратного вызова при потере фокуса компонентом
64
64
  */
65
- onBlur?: (e: Date) => void;
65
+ onBlur?: (e: string) => void;
66
66
  /**
67
67
  * Функция ограничения выбора даты (до какой даты выбор не доступен)
68
68
  */
@@ -1,123 +1,123 @@
1
- import { jsxs as J, jsx as I } from "react/jsx-runtime";
2
- import { c as g } from "../../index-DIxK0V-G.js";
3
- import { memo as Q, forwardRef as W, useState as d, useEffect as N } from "react";
4
- import { MAX_DAY as Z, MAX_MONTH as E, DATE_LENGTH as B } from "./constants.js";
5
- import { DatePickerModal as V } from "./DatePickerModal.js";
6
- import { MonthPickerModal as tt } from "./MonthPickerModal.js";
1
+ import { jsxs as Q, jsx as g } from "react/jsx-runtime";
2
+ import { c as v } from "../../index-DIxK0V-G.js";
3
+ import { memo as W, forwardRef as Z, useState as y, useEffect as w } from "react";
4
+ import { MAX_DAY as E, MAX_MONTH as B, DATE_LENGTH as V } from "./constants.js";
5
+ import { DatePickerModal as tt } from "./DatePickerModal.js";
6
+ import { MonthPickerModal as st } from "./MonthPickerModal.js";
7
7
  import { c as a } from "../../styles.module-Chnn6DA-.js";
8
- import { formatDatePart as j } from "./utils.js";
9
- import { YearPickerModal as st } from "./YearPickerModal.js";
10
- import { useClickOutside as et } from "../../hooks/useClickOutside/useClickOutside.js";
11
- import { formating as it } from "../../utils/index.js";
8
+ import { formatDatePart as Y } from "./utils.js";
9
+ import { YearPickerModal as et } from "./YearPickerModal.js";
10
+ import { useClickOutside as it } from "../../hooks/useClickOutside/useClickOutside.js";
11
+ import { formating as d } from "../../utils/index.js";
12
12
  import { I as at } from "../../Input-DlGNMuUD.js";
13
13
  import { EInputStatus as rt } from "../Input/constants.js";
14
- const ot = {
15
- days: V,
16
- months: tt,
17
- years: st
18
- }, ct = Q(
19
- W(
14
+ const mt = {
15
+ days: tt,
16
+ months: st,
17
+ years: et
18
+ }, ot = W(
19
+ Z(
20
20
  ({
21
- size: Y,
21
+ size: $,
22
22
  value: s,
23
23
  onChangeValue: e,
24
24
  name: r,
25
- before: D,
26
- type: o = "days",
27
- error: y,
28
- onError: c,
29
- onBlur: m,
30
- validateImmediately: v,
31
- variant: $,
32
- disabled: x = !1,
33
- editable: S = !1,
34
- ...H
35
- }, L) => {
36
- const [n, f] = d(!1), [T, p] = d(o), [i, l] = d(
25
+ before: N,
26
+ type: m = "days",
27
+ error: T,
28
+ onError: o,
29
+ onBlur: c,
30
+ validateImmediately: x,
31
+ variant: H,
32
+ disabled: S = !1,
33
+ editable: _ = !1,
34
+ ...L
35
+ }, R) => {
36
+ const [n, f] = y(!1), [A, p] = y(m), [i, D] = y(
37
37
  () => s && !isNaN(new Date(s).getTime()) ? new Date(s) : void 0
38
- ), [A, k] = d(y), [R, M] = d("");
39
- N(() => {
40
- k(y);
41
- }, [y]), N(() => {
42
- l(
38
+ ), [k, M] = y(T), [X, P] = y("");
39
+ w(() => {
40
+ M(T);
41
+ }, [T]), w(() => {
42
+ D(
43
43
  s && !isNaN(new Date(s).getTime()) ? new Date(s) : void 0
44
44
  );
45
- }, [s]), N(() => {
46
- i && typeof i != "string" && !isNaN(i == null ? void 0 : i.getTime()) ? M(it.Date(i, "dd/mm/yyyy")) : M("");
45
+ }, [s]), w(() => {
46
+ i && typeof i != "string" && !isNaN(i == null ? void 0 : i.getTime()) ? P(d.Date(i, "dd/mm/yyyy")) : P("");
47
47
  }, [i]);
48
- const _ = s && new Date(s).getTime;
49
- N(() => {
50
- v && (_ ? (k(!1), c == null || c({ name: r, active: !1 })) : (k(!0), c == null || c({ name: r, active: !0 })));
51
- }, [v, r, _]), et({
48
+ const b = s && new Date(s).getTime;
49
+ w(() => {
50
+ x && (b ? (M(!1), o == null || o({ name: r, active: !1 })) : (M(!0), o == null || o({ name: r, active: !0 })));
51
+ }, [x, r, b]), it({
52
52
  isActive: n,
53
53
  setActive: (t) => {
54
- f(t), p(o);
54
+ f(t), p(m);
55
55
  },
56
56
  className: a["calendar-block"]
57
57
  });
58
- const X = () => {
59
- x || f(!0);
60
- }, G = (t) => {
61
- isNaN(t.getTime()) || (l(t), e == null || e({ value: t, name: r })), T === "years" && (o === "years" ? (f(!1), p(o)) : p("months")), T === "months" && (o === "months" ? (f(!1), p(o)) : p("days")), l(t), e == null || e({ value: t, name: r }), m == null || m(t);
58
+ const G = () => {
59
+ S || f(!0);
62
60
  }, K = (t) => {
63
- if (S) {
64
- const P = t.target.value.replace(/[^\d]/g, ""), [b, h, u] = [
65
- j(P.substring(0, 2), Z),
66
- j(P.substring(2, 4), E),
67
- P.substring(4, 8)
68
- ], O = [b, h, u].filter(Boolean).join("/");
69
- if (M(O), O.length === B) {
70
- const F = parseInt(u), w = /* @__PURE__ */ new Date(
71
- `${F}-${h.padStart(2, "0")}-${b.padStart(2, "0")}`
61
+ isNaN(t.getTime()) || (D(t), e == null || e({ value: d.Date(t, "yyyy-mm-dd"), name: r })), A === "years" && (m === "years" ? (f(!1), p(m)) : p("months")), A === "months" && (m === "months" ? (f(!1), p(m)) : p("days")), D(t), e == null || e({ value: d.Date(t, "yyyy-mm-dd"), name: r }), c == null || c(d.Date(t, "yyyy-mm-dd"));
62
+ }, U = (t) => {
63
+ if (_) {
64
+ const I = t.target.value.replace(/[^\d]/g, ""), [h, u, O] = [
65
+ Y(I.substring(0, 2), E),
66
+ Y(I.substring(2, 4), B),
67
+ I.substring(4, 8)
68
+ ], j = [h, u, O].filter(Boolean).join("/");
69
+ if (P(j), j.length === V) {
70
+ const J = parseInt(O), l = /* @__PURE__ */ new Date(
71
+ `${J}-${u.padStart(2, "0")}-${h.padStart(2, "0")}`
72
72
  );
73
- isNaN(w.getTime()) || (l(w), e == null || e({ value: w, name: r }), m == null || m(w));
73
+ isNaN(l.getTime()) || (D(l), e == null || e({ value: d.Date(l, "yyyy-mm-dd"), name: r }), c == null || c(d.Date(l, "yyyy-mm-dd")));
74
74
  }
75
75
  }
76
- }, U = g(a.wrapper, n && a.active), q = g(a.input, a.inputBorderControl), z = {
77
- onChangeValue: G,
76
+ }, q = v(a.wrapper, n && a.active), z = v(a.input, a.inputBorderControl), C = {
77
+ onChangeValue: K,
78
78
  date: i || /* @__PURE__ */ new Date(),
79
- before: typeof D == "string" ? new Date(D) : D,
79
+ before: typeof N == "string" ? new Date(N) : N,
80
80
  onChangeType: p,
81
81
  setIsActive: f
82
- }, C = ot[T];
83
- return /* @__PURE__ */ J("div", { className: U, "data-disabled": x, children: [
84
- /* @__PURE__ */ I(
82
+ }, F = mt[A];
83
+ return /* @__PURE__ */ Q("div", { className: q, "data-disabled": S, children: [
84
+ /* @__PURE__ */ g(
85
85
  "div",
86
86
  {
87
87
  role: "button",
88
- "data-error": A,
89
- className: g(a["date-wrapper"], {
90
- [a.editable]: S
88
+ "data-error": k,
89
+ className: v(a["date-wrapper"], {
90
+ [a.editable]: _
91
91
  }),
92
- onClick: X,
93
- children: /* @__PURE__ */ I(
92
+ onClick: G,
93
+ children: /* @__PURE__ */ g(
94
94
  at,
95
95
  {
96
- ref: L,
97
- className: q,
96
+ ref: R,
97
+ className: z,
98
98
  wrapperClassName: a["input-wrapper"],
99
- size: Y,
99
+ size: $,
100
100
  type: "text",
101
- variant: $,
102
- status: A ? rt.Error : void 0,
103
- value: R,
104
- onChange: K,
101
+ variant: H,
102
+ status: k ? rt.Error : void 0,
103
+ value: X,
104
+ onChange: U,
105
105
  rightAddon: {
106
106
  addonType: "icon",
107
107
  addonContent: n ? "DropdownArrowUp24px" : "DropdownArrowDown24px"
108
108
  },
109
- "data-error": A,
110
- ...H
109
+ "data-error": k,
110
+ ...L
111
111
  }
112
112
  )
113
113
  }
114
114
  ),
115
- n && /* @__PURE__ */ I(C, { ...z })
115
+ n && /* @__PURE__ */ g(F, { ...C })
116
116
  ] });
117
117
  }
118
118
  )
119
119
  );
120
- ct.displayName = "DatePicker";
120
+ ot.displayName = "DatePicker";
121
121
  export {
122
- ct as DatePicker
122
+ ot as DatePicker
123
123
  };
@@ -58,3 +58,6 @@ export { TwinSwitcher } from './TwinSwitcher';
58
58
  export { ESkeletonVariant, SkeletonBrick, SkeletonCircle, SkeletonText } from './Skeleton';
59
59
  export { Avatar, EAvatarSize } from './Avatar';
60
60
  export type { TAvatarProps, TAvatarSize } from './Avatar';
61
+ export { MultiSelectSearch } from './MultiSelectSearch';
62
+ export type { TMultiSelectSearchProps, TMultiSelectOption } from './MultiSelectSearch';
63
+ export { EMultiSelectSearchSize } from './MultiSelectSearch';
@@ -1,17 +1,17 @@
1
1
  import { Button as e } from "./Button/Button.js";
2
- import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as m, EButtonVariantDefault as i, EButtonVariantOutline as f, EButtonVariantRound as x } from "./Button/constants.js";
3
- import { I as E } from "../Input-DlGNMuUD.js";
4
- import { EInputSize as u, EInputStatus as s, EInputVariant as l } from "./Input/constants.js";
2
+ import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as i, EButtonVariantDefault as m, EButtonVariantOutline as f, EButtonVariantRound as x } from "./Button/constants.js";
3
+ import { I as S } from "../Input-DlGNMuUD.js";
4
+ import { EInputSize as u, EInputStatus as l, EInputVariant as s } from "./Input/constants.js";
5
5
  import { TextArea as c } from "./TextArea/TextArea.js";
6
6
  import { InputPassword as I } from "./InputPassword/InputPassword.js";
7
7
  import { InputPhoneNumber as k } from "./InputPhoneNumber/InputPhoneNumber.js";
8
- import { getMaskedInputPhoneValue as V, getUnmaskedInputValue as z } from "./InputPhoneNumber/utils.js";
8
+ import { getMaskedInputPhoneValue as B, getUnmaskedInputValue as V } from "./InputPhoneNumber/utils.js";
9
9
  import { OtpInput as P } from "./OtpInput/OtpInput.js";
10
10
  import { RadioGroup as U } from "./RadioGroup/RadioGroup.js";
11
11
  import { DatePicker as C } from "./DatePicker/DatePicker.js";
12
- import { MergedButton as b } from "./MergedButton/MergedButton.js";
13
- import { EMergedButtonVariantRound as v } from "./MergedButton/constants.js";
14
- import { AppImage as G } from "./Image/Image.js";
12
+ import { MergedButton as R } from "./MergedButton/MergedButton.js";
13
+ import { EMergedButtonVariantRound as L } from "./MergedButton/constants.js";
14
+ import { AppImage as D } from "./Image/Image.js";
15
15
  import { Loader as y } from "./Loader/Loader.js";
16
16
  import { Slider as Z } from "./Slider/index.js";
17
17
  import { Drawer as O } from "./Drawer/Drawer.js";
@@ -23,20 +23,20 @@ import { EVoteSize as $ } from "./Vote/constants.js";
23
23
  import { SelectSearch as ro } from "./SelectSearch/SelectSearch.js";
24
24
  import { ESelectSearchSize as to } from "./SelectSearch/constants.js";
25
25
  import { CheckboxMimir as ao } from "./CheckboxMimir/CheckboxMimir.js";
26
- import { Tag as io } from "./Tag/Tag.js";
26
+ import { Tag as mo } from "./Tag/Tag.js";
27
27
  import { ETagSize as xo, ETagType as no } from "./Tag/constants.js";
28
- import { Timer as So } from "./Timer/Timer.js";
29
- import { Accordion as so } from "./Accordion/Accordion.js";
28
+ import { Timer as Eo } from "./Timer/Timer.js";
29
+ import { Accordion as lo } from "./Accordion/Accordion.js";
30
30
  import { EAccordionSize as co } from "./Accordion/constants.js";
31
31
  import { AccordionItem as Io } from "./Accordion/AccordionItem/AccordionItem.js";
32
32
  import { TabTrail as ko } from "./TabTrail/TabTrail.js";
33
- import { ETabTrailSize as Vo } from "./TabTrail/constants.js";
33
+ import { ETabTrailSize as Bo } from "./TabTrail/constants.js";
34
34
  import { Pagination as ho } from "./Pagination/Pagination.js";
35
35
  import { ToastProvider as Ao } from "./Toasts/ToastsProvider.js";
36
36
  import { useToast as wo } from "./Toasts/hooks.js";
37
- import { EToastPosition as Ro, EToastVariant as bo } from "./Toasts/constants.js";
38
- import { UploaderPhotos as vo } from "./UploaderPhotos/UploaderPhotos.js";
39
- import { UploaderFiles as Go } from "./UploaderFiles/UploaderFiles.js";
37
+ import { EToastPosition as Mo, EToastVariant as Ro } from "./Toasts/constants.js";
38
+ import { UploaderPhotos as Lo } from "./UploaderPhotos/UploaderPhotos.js";
39
+ import { UploaderFiles as Do } from "./UploaderFiles/UploaderFiles.js";
40
40
  import { Uploader as yo } from "./Uploader/Uploader.js";
41
41
  import { Link as Zo } from "./AnchorLink/Link.js";
42
42
  import { ELinkSize as Oo, ELinkVariant as jo } from "./AnchorLink/constants.js";
@@ -47,20 +47,22 @@ import { EChipSize as Yo, EChipVariant as _o } from "./Chip/constants.js";
47
47
  import { UniversalUploader as or } from "./UniversalUploader/UniversalUploader.js";
48
48
  import { EUploaderType as er } from "./UniversalUploader/constants.js";
49
49
  import { InputRangeSlider as pr } from "./InputRangeSlider/InputRangeSlider.js";
50
- import { EInputRangeSliderBorderState as mr, EInputRangeSliderPositions as ir } from "./InputRangeSlider/constants.js";
50
+ import { EInputRangeSliderBorderState as ir, EInputRangeSliderPositions as mr } from "./InputRangeSlider/constants.js";
51
51
  import { GosZnak as xr } from "./GosZnak/GosZnak.js";
52
- import { EGosZnakSize as Er, EGosZnakType as Sr } from "./GosZnak/constants.js";
53
- import { Switcher as sr } from "./Switcher/Switcher.js";
52
+ import { EGosZnakSize as Sr, EGosZnakType as Er } from "./GosZnak/constants.js";
53
+ import { Switcher as lr } from "./Switcher/Switcher.js";
54
54
  import { ELabelPositions as dr } from "./Switcher/constants.js";
55
55
  import { TwinSwitcher as Tr } from "./TwinSwitcher/TwinSwitcher.js";
56
56
  import { SkeletonBrick as gr } from "./Skeleton/SkeletonBrick/SkeletonBrick.js";
57
- import { SkeletonText as Br } from "./Skeleton/SkeletonText/SkeletonText.js";
58
- import { SkeletonCircle as zr } from "./Skeleton/SkeletonCircle/SkeletonCircle.js";
57
+ import { SkeletonText as zr } from "./Skeleton/SkeletonText/SkeletonText.js";
58
+ import { SkeletonCircle as Vr } from "./Skeleton/SkeletonCircle/SkeletonCircle.js";
59
59
  import { ESkeletonVariant as Pr } from "./Skeleton/constants.js";
60
60
  import { Avatar as Ur } from "./Avatar/Avatar.js";
61
61
  import { EAvatarSize as Cr } from "./Avatar/constants.js";
62
+ import { MultiSelectSearch as Rr } from "./MultiSelectSearch/MultiSelectSearch.js";
63
+ import { EMultiSelectSearchSize as Lr } from "./MultiSelectSearch/constants.js";
62
64
  export {
63
- so as Accordion,
65
+ lo as Accordion,
64
66
  Io as AccordionItem,
65
67
  Ur as Avatar,
66
68
  e as Button,
@@ -72,68 +74,70 @@ export {
72
74
  Cr as EAvatarSize,
73
75
  p as EButtonForm,
74
76
  a as EButtonSize,
75
- m as EButtonVariantBorderless,
76
- i as EButtonVariantDefault,
77
+ i as EButtonVariantBorderless,
78
+ m as EButtonVariantDefault,
77
79
  f as EButtonVariantOutline,
78
80
  x as EButtonVariantRound,
79
81
  Yo as EChipSize,
80
82
  _o as EChipVariant,
81
83
  q as EDrawerPosition,
82
- Er as EGosZnakSize,
83
- Sr as EGosZnakType,
84
- mr as EInputRangeSliderBorderState,
85
- ir as EInputRangeSliderPositions,
84
+ Sr as EGosZnakSize,
85
+ Er as EGosZnakType,
86
+ ir as EInputRangeSliderBorderState,
87
+ mr as EInputRangeSliderPositions,
86
88
  u as EInputSize,
87
- s as EInputStatus,
88
- l as EInputVariant,
89
+ l as EInputStatus,
90
+ s as EInputVariant,
89
91
  dr as ELabelPositions,
90
92
  Oo as ELinkSize,
91
93
  jo as ELinkVariant,
92
- v as EMergedButtonVariantRound,
94
+ L as EMergedButtonVariantRound,
95
+ Lr as EMultiSelectSearchSize,
93
96
  Ko as ENotificationBadgeSize,
94
97
  to as ESelectSearchSize,
95
98
  Pr as ESkeletonVariant,
96
99
  Q as EStepColor,
97
100
  W as EStepsSize,
98
- Vo as ETabTrailSize,
101
+ Bo as ETabTrailSize,
99
102
  xo as ETagSize,
100
103
  no as ETagType,
101
- Ro as EToastPosition,
102
- bo as EToastVariant,
104
+ Mo as EToastPosition,
105
+ Ro as EToastVariant,
103
106
  er as EUploaderType,
104
107
  $ as EVoteSize,
105
108
  xr as GosZnak,
106
- G as Image,
107
- E as Input,
109
+ D as Image,
110
+ S as Input,
108
111
  I as InputPassword,
109
112
  k as InputPhoneNumber,
110
113
  pr as InputRangeSlider,
111
114
  Zo as Link,
112
115
  y as Loader,
113
- b as MergedButton,
116
+ R as MergedButton,
117
+ Rr as MultiSelectSearch,
114
118
  Ho as NotificationBadge,
115
119
  P as OtpInput,
116
120
  ho as Pagination,
117
121
  U as RadioGroup,
118
122
  ro as SelectSearch,
119
123
  gr as SkeletonBrick,
120
- zr as SkeletonCircle,
121
- Br as SkeletonText,
124
+ Vr as SkeletonCircle,
125
+ zr as SkeletonText,
122
126
  Z as Slider,
123
127
  J as Steps,
124
- sr as Switcher,
128
+ lr as Switcher,
125
129
  ko as TabTrail,
126
- io as Tag,
130
+ mo as Tag,
127
131
  c as TextArea,
128
- So as Timer,
132
+ Eo as Timer,
129
133
  Ao as ToastProvider,
130
134
  Tr as TwinSwitcher,
131
135
  or as UniversalUploader,
132
136
  yo as Uploader,
133
- Go as UploaderFiles,
134
- vo as UploaderPhotos,
137
+ Do as UploaderFiles,
138
+ Lo as UploaderPhotos,
135
139
  Y as Vote,
136
- V as getMaskedInputPhoneValue,
137
- z as getUnmaskedInputValue,
140
+ B as getMaskedInputPhoneValue,
141
+ V as getUnmaskedInputValue,
138
142
  wo as useToast
139
143
  };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { Button as e } from "./components/Button/Button.js";
2
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";
3
3
  import { I as u } from "./Input-DlGNMuUD.js";
4
- import { EInputSize as E, EInputStatus as S, EInputVariant as d } from "./components/Input/constants.js";
4
+ import { EInputSize as S, EInputStatus as E, EInputVariant as l } from "./components/Input/constants.js";
5
5
  import { TextArea as c } from "./components/TextArea/TextArea.js";
6
6
  import { InputPassword as I } from "./components/InputPassword/InputPassword.js";
7
7
  import { InputPhoneNumber as k } from "./components/InputPhoneNumber/InputPhoneNumber.js";
8
- import { getMaskedInputPhoneValue as z, getUnmaskedInputValue as V } from "./components/InputPhoneNumber/utils.js";
9
- import { OtpInput as P } from "./components/OtpInput/OtpInput.js";
8
+ import { getMaskedInputPhoneValue as B, getUnmaskedInputValue as V } from "./components/InputPhoneNumber/utils.js";
9
+ import { OtpInput as M } from "./components/OtpInput/OtpInput.js";
10
10
  import { RadioGroup as y } from "./components/RadioGroup/RadioGroup.js";
11
11
  import { DatePicker as R } from "./components/DatePicker/DatePicker.js";
12
12
  import { MergedButton as A } from "./components/MergedButton/MergedButton.js";
@@ -26,13 +26,13 @@ import { CheckboxMimir as ao } from "./components/CheckboxMimir/CheckboxMimir.js
26
26
  import { Tag as fo } from "./components/Tag/Tag.js";
27
27
  import { ETagSize as xo, ETagType as no } from "./components/Tag/constants.js";
28
28
  import { Timer as so } from "./components/Timer/Timer.js";
29
- import { Accordion as So } from "./components/Accordion/Accordion.js";
29
+ import { Accordion as Eo } from "./components/Accordion/Accordion.js";
30
30
  import { EAccordionSize as co } from "./components/Accordion/constants.js";
31
31
  import { AccordionItem as Io } from "./components/Accordion/AccordionItem/AccordionItem.js";
32
32
  import { TabTrail as ko } from "./components/TabTrail/TabTrail.js";
33
- import { ETabTrailSize as zo } from "./components/TabTrail/constants.js";
33
+ import { ETabTrailSize as Bo } from "./components/TabTrail/constants.js";
34
34
  import { Pagination as ho } from "./components/Pagination/Pagination.js";
35
- import { ToastProvider as Mo } from "./components/Toasts/ToastsProvider.js";
35
+ import { ToastProvider as Po } from "./components/Toasts/ToastsProvider.js";
36
36
  import { useToast as Co } from "./components/Toasts/hooks.js";
37
37
  import { EToastPosition as bo, EToastVariant as Ao } from "./components/Toasts/constants.js";
38
38
  import { UploaderPhotos as vo } from "./components/UploaderPhotos/UploaderPhotos.js";
@@ -50,28 +50,30 @@ import { InputRangeSlider as pr } from "./components/InputRangeSlider/InputRange
50
50
  import { EInputRangeSliderBorderState as mr, EInputRangeSliderPositions as fr } from "./components/InputRangeSlider/constants.js";
51
51
  import { GosZnak as xr } from "./components/GosZnak/GosZnak.js";
52
52
  import { EGosZnakSize as ur, EGosZnakType as sr } from "./components/GosZnak/constants.js";
53
- import { Switcher as Sr } from "./components/Switcher/Switcher.js";
54
- import { ELabelPositions as lr } from "./components/Switcher/constants.js";
53
+ import { Switcher as Er } from "./components/Switcher/Switcher.js";
54
+ import { ELabelPositions as dr } from "./components/Switcher/constants.js";
55
55
  import { TwinSwitcher as Tr } from "./components/TwinSwitcher/TwinSwitcher.js";
56
56
  import { SkeletonBrick as gr } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
57
- import { SkeletonText as Br } from "./components/Skeleton/SkeletonText/SkeletonText.js";
57
+ import { SkeletonText as zr } from "./components/Skeleton/SkeletonText/SkeletonText.js";
58
58
  import { SkeletonCircle as Vr } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
59
- import { ESkeletonVariant as Pr } from "./components/Skeleton/constants.js";
59
+ import { ESkeletonVariant as Mr } from "./components/Skeleton/constants.js";
60
60
  import { Avatar as yr } from "./components/Avatar/Avatar.js";
61
61
  import { EAvatarSize as Rr } from "./components/Avatar/constants.js";
62
- import { useMediaQuery as Ar } from "./hooks/useMediaQuery/useMediaQuery.js";
63
- import { EMediaQuery as vr, EMinMediaQuery as wr } from "./hooks/useMediaQuery/constants.js";
64
- import { useLockBodyScroll as Dr } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
65
- import { useInterval as Nr } from "./hooks/useInterval/useInterval.js";
66
- import { useTimer as Qr } from "./hooks/useTimer/index.js";
67
- import { useCopyToClipboard as Fr } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
68
- import { useMergeRefs as qr } from "./hooks/useMergeRefs/useMergeRefs.js";
69
- import { useResizeObserver as Jr } from "./hooks/useResizeObserver/useResizeObserver.js";
70
- import { Icon as Wr } from "./icons/Icon.js";
71
- import { formating as Yr } from "./utils/index.js";
72
- import { parseDate as $r } from "./utils/formating/Date.js";
62
+ import { MultiSelectSearch as Ar } from "./components/MultiSelectSearch/MultiSelectSearch.js";
63
+ import { EMultiSelectSearchSize as vr } from "./components/MultiSelectSearch/constants.js";
64
+ import { useMediaQuery as Lr } from "./hooks/useMediaQuery/useMediaQuery.js";
65
+ import { EMediaQuery as Gr, EMinMediaQuery as Nr } from "./hooks/useMediaQuery/constants.js";
66
+ import { useLockBodyScroll as Qr } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
67
+ import { useInterval as Fr } from "./hooks/useInterval/useInterval.js";
68
+ import { useTimer as qr } from "./hooks/useTimer/index.js";
69
+ import { useCopyToClipboard as Jr } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
70
+ import { useMergeRefs as Wr } from "./hooks/useMergeRefs/useMergeRefs.js";
71
+ import { useResizeObserver as Yr } from "./hooks/useResizeObserver/useResizeObserver.js";
72
+ import { Icon as $r } from "./icons/Icon.js";
73
+ import { formating as re } from "./utils/index.js";
74
+ import { parseDate as te } from "./utils/formating/Date.js";
73
75
  import './assets/index.css';export {
74
- So as Accordion,
76
+ Eo as Accordion,
75
77
  Io as AccordionItem,
76
78
  yr as Avatar,
77
79
  e as Button,
@@ -94,21 +96,22 @@ import './assets/index.css';export {
94
96
  sr as EGosZnakType,
95
97
  mr as EInputRangeSliderBorderState,
96
98
  fr as EInputRangeSliderPositions,
97
- E as EInputSize,
98
- S as EInputStatus,
99
- d as EInputVariant,
100
- lr as ELabelPositions,
99
+ S as EInputSize,
100
+ E as EInputStatus,
101
+ l as EInputVariant,
102
+ dr as ELabelPositions,
101
103
  Zo as ELinkSize,
102
104
  Fo as ELinkVariant,
103
- vr as EMediaQuery,
105
+ Gr as EMediaQuery,
104
106
  v as EMergedButtonVariantRound,
105
- wr as EMinMediaQuery,
107
+ Nr as EMinMediaQuery,
108
+ vr as EMultiSelectSearchSize,
106
109
  Jo as ENotificationBadgeSize,
107
110
  to as ESelectSearchSize,
108
- Pr as ESkeletonVariant,
111
+ Mr as ESkeletonVariant,
109
112
  K as EStepColor,
110
113
  W as EStepsSize,
111
- zo as ETabTrailSize,
114
+ Bo as ETabTrailSize,
112
115
  xo as ETagSize,
113
116
  no as ETagType,
114
117
  bo as EToastPosition,
@@ -116,7 +119,7 @@ import './assets/index.css';export {
116
119
  er as EUploaderType,
117
120
  $ as EVoteSize,
118
121
  xr as GosZnak,
119
- Wr as Icon,
122
+ $r as Icon,
120
123
  L as Image,
121
124
  u as Input,
122
125
  I as InputPassword,
@@ -125,38 +128,39 @@ import './assets/index.css';export {
125
128
  Oo as Link,
126
129
  G as Loader,
127
130
  A as MergedButton,
131
+ Ar as MultiSelectSearch,
128
132
  qo as NotificationBadge,
129
- P as OtpInput,
133
+ M as OtpInput,
130
134
  ho as Pagination,
131
135
  y as RadioGroup,
132
136
  ro as SelectSearch,
133
137
  gr as SkeletonBrick,
134
138
  Vr as SkeletonCircle,
135
- Br as SkeletonText,
139
+ zr as SkeletonText,
136
140
  O as Slider,
137
141
  H as Steps,
138
- Sr as Switcher,
142
+ Er as Switcher,
139
143
  ko as TabTrail,
140
144
  fo as Tag,
141
145
  c as TextArea,
142
146
  so as Timer,
143
- Mo as ToastProvider,
147
+ Po as ToastProvider,
144
148
  Tr as TwinSwitcher,
145
149
  or as UniversalUploader,
146
150
  Go as Uploader,
147
151
  Lo as UploaderFiles,
148
152
  vo as UploaderPhotos,
149
153
  Y as Vote,
150
- Yr as formating,
151
- z as getMaskedInputPhoneValue,
154
+ re as formating,
155
+ B as getMaskedInputPhoneValue,
152
156
  V as getUnmaskedInputValue,
153
- $r as parseDate,
154
- Fr as useCopyToClipboard,
155
- Nr as useInterval,
156
- Dr as useLockBodyScroll,
157
- Ar as useMediaQuery,
158
- qr as useMergeRefs,
159
- Jr as useResizeObserver,
160
- Qr as useTimer,
157
+ te as parseDate,
158
+ Jr as useCopyToClipboard,
159
+ Fr as useInterval,
160
+ Qr as useLockBodyScroll,
161
+ Lr as useMediaQuery,
162
+ Wr as useMergeRefs,
163
+ Yr as useResizeObserver,
164
+ qr as useTimer,
161
165
  Co as useToast
162
166
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimir-ui-kit",
3
3
  "private": false,
4
- "version": "1.36.0",
4
+ "version": "1.36.2",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {