mimir-ui-kit 1.37.16 → 1.37.18
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/Slider.css +1 -1
- package/dist/components/Drawer/Drawer.d.ts +5 -1
- package/dist/components/Drawer/Drawer.js +45 -44
- package/dist/components/Slider/Slider.d.ts +19 -1
- package/dist/components/Slider/Slider.js +570 -533
- package/dist/components/Slider/constants.d.ts +4 -0
- package/dist/components/Slider/constants.js +4 -0
- package/dist/components/Slider/index.d.ts +1 -0
- package/dist/components/Slider/index.js +2 -0
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +14 -12
- package/dist/index.js +31 -29
- package/package.json +1 -1
@@ -16,7 +16,7 @@ export { EMergedButtonVariantRound } from './MergedButton';
|
|
16
16
|
export type { TButtonPropsWithoutStyles } from './MergedButton';
|
17
17
|
export { Image } from './Image';
|
18
18
|
export { Loader } from './Loader';
|
19
|
-
export { Slider } from './Slider';
|
19
|
+
export { Slider, EProgressBarPosition } from './Slider';
|
20
20
|
export { Drawer } from './Drawer';
|
21
21
|
export { EDrawerPosition } from './Drawer';
|
22
22
|
export { Steps, EStepsSize, EStepColor, type TCommonStepsProps } from './Steps';
|
package/dist/components/index.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { Button as e } from "./Button/Button.js";
|
2
2
|
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as i, EButtonVariantDefault as m, EButtonVariantOutline as x, EButtonVariantRound as f } from "./Button/constants.js";
|
3
3
|
import { I as S } from "../Input-BYrIS5GU.js";
|
4
|
-
import { EInputSize as
|
4
|
+
import { EInputSize as E, EInputStatus as l, EInputVariant as u } from "./Input/constants.js";
|
5
5
|
import { TextArea as c } from "./TextArea/TextArea.js";
|
6
|
-
import { ETextAreaInputSize as
|
6
|
+
import { ETextAreaInputSize as g } from "./TextArea/constants.js";
|
7
7
|
import { InputPassword as h } from "./InputPassword/InputPassword.js";
|
8
8
|
import { InputPhoneNumber as k } from "./InputPhoneNumber/InputPhoneNumber.js";
|
9
9
|
import { getMaskedInputPhoneValue as B, getUnmaskedInputValue as P } from "./InputPhoneNumber/utils.js";
|
@@ -25,10 +25,10 @@ import { SelectSearch as to } from "./SelectSearch/SelectSearch.js";
|
|
25
25
|
import { ESelectSearchSize as ao } from "./SelectSearch/constants.js";
|
26
26
|
import { CheckboxMimir as mo } from "./CheckboxMimir/CheckboxMimir.js";
|
27
27
|
import { Tag as fo } from "./Tag/Tag.js";
|
28
|
-
import { ETagSize as So, ETagType as
|
28
|
+
import { ETagSize as So, ETagType as so } from "./Tag/constants.js";
|
29
29
|
import { Timer as lo } from "./Timer/Timer.js";
|
30
30
|
import { Accordion as co } from "./Accordion/Accordion.js";
|
31
|
-
import { EAccordionSize as
|
31
|
+
import { EAccordionSize as go } from "./Accordion/constants.js";
|
32
32
|
import { AccordionItem as ho } from "./Accordion/AccordionItem/AccordionItem.js";
|
33
33
|
import { TabTrail as ko } from "./TabTrail/TabTrail.js";
|
34
34
|
import { ETabTrailSize as Bo } from "./TabTrail/constants.js";
|
@@ -50,10 +50,10 @@ import { EUploaderType as pr } from "./UniversalUploader/constants.js";
|
|
50
50
|
import { InputRangeSlider as ir } from "./InputRangeSlider/InputRangeSlider.js";
|
51
51
|
import { EInputRangeSliderBorderState as xr, EInputRangeSliderPositions as fr } from "./InputRangeSlider/constants.js";
|
52
52
|
import { GosZnak as Sr } from "./GosZnak/GosZnak.js";
|
53
|
-
import { EGosZnakSize as
|
53
|
+
import { EGosZnakSize as Er, EGosZnakType as lr } from "./GosZnak/constants.js";
|
54
54
|
import { Switcher as dr } from "./Switcher/Switcher.js";
|
55
55
|
import { ELabelPositions as Tr } from "./Switcher/constants.js";
|
56
|
-
import { TwinSwitcher as
|
56
|
+
import { TwinSwitcher as Ir } from "./TwinSwitcher/TwinSwitcher.js";
|
57
57
|
import { SkeletonBrick as Vr } from "./Skeleton/SkeletonBrick/SkeletonBrick.js";
|
58
58
|
import { SkeletonText as zr } from "./Skeleton/SkeletonText/SkeletonText.js";
|
59
59
|
import { SkeletonCircle as Pr } from "./Skeleton/SkeletonCircle/SkeletonCircle.js";
|
@@ -67,6 +67,7 @@ import { EFileItemVariant as Nr } from "./ListFiles/constants.js";
|
|
67
67
|
import { ListPhotos as Or } from "./ListPhotos/ListPhotos.js";
|
68
68
|
import { MessageShortReply as qr } from "./MessageShortReply/MessageShortReply.js";
|
69
69
|
import { EMessageShortReplyVariant as Jr } from "./MessageShortReply/constants.js";
|
70
|
+
import { EProgressBarPosition as Qr } from "./Slider/constants.js";
|
70
71
|
export {
|
71
72
|
co as Accordion,
|
72
73
|
ho as AccordionItem,
|
@@ -76,7 +77,7 @@ export {
|
|
76
77
|
Yo as Chip,
|
77
78
|
w as DatePicker,
|
78
79
|
q as Drawer,
|
79
|
-
|
80
|
+
go as EAccordionSize,
|
80
81
|
wr as EAvatarSize,
|
81
82
|
p as EButtonForm,
|
82
83
|
a as EButtonSize,
|
@@ -88,11 +89,11 @@ export {
|
|
88
89
|
or as EChipVariant,
|
89
90
|
J as EDrawerPosition,
|
90
91
|
Nr as EFileItemVariant,
|
91
|
-
|
92
|
+
Er as EGosZnakSize,
|
92
93
|
lr as EGosZnakType,
|
93
94
|
xr as EInputRangeSliderBorderState,
|
94
95
|
fr as EInputRangeSliderPositions,
|
95
|
-
|
96
|
+
E as EInputSize,
|
96
97
|
l as EInputStatus,
|
97
98
|
u as EInputVariant,
|
98
99
|
Tr as ELabelPositions,
|
@@ -102,14 +103,15 @@ export {
|
|
102
103
|
Jr as EMessageShortReplyVariant,
|
103
104
|
vr as EMultiSelectSearchSize,
|
104
105
|
Wo as ENotificationBadgeSize,
|
106
|
+
Qr as EProgressBarPosition,
|
105
107
|
ao as ESelectSearchSize,
|
106
108
|
Mr as ESkeletonVariant,
|
107
109
|
X as EStepColor,
|
108
110
|
Y as EStepsSize,
|
109
111
|
Bo as ETabTrailSize,
|
110
112
|
So as ETagSize,
|
111
|
-
|
112
|
-
|
113
|
+
so as ETagType,
|
114
|
+
g as ETextAreaInputSize,
|
113
115
|
Co as EToastPosition,
|
114
116
|
bo as EToastVariant,
|
115
117
|
pr as EUploaderType,
|
@@ -143,7 +145,7 @@ export {
|
|
143
145
|
c as TextArea,
|
144
146
|
lo as Timer,
|
145
147
|
Ro as ToastProvider,
|
146
|
-
|
148
|
+
Ir as TwinSwitcher,
|
147
149
|
er as UniversalUploader,
|
148
150
|
No as Uploader,
|
149
151
|
Fo as UploaderFiles,
|
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 i, EButtonVariantOutline as f, EButtonVariantRound as x } from "./components/Button/constants.js";
|
3
3
|
import { I as s } from "./Input-BYrIS5GU.js";
|
4
|
-
import { EInputSize as
|
4
|
+
import { EInputSize as E, EInputStatus as S, EInputVariant as l } from "./components/Input/constants.js";
|
5
5
|
import { TextArea as c } from "./components/TextArea/TextArea.js";
|
6
|
-
import { ETextAreaInputSize as
|
6
|
+
import { ETextAreaInputSize as g } from "./components/TextArea/constants.js";
|
7
7
|
import { InputPassword as h } from "./components/InputPassword/InputPassword.js";
|
8
8
|
import { InputPhoneNumber as z } from "./components/InputPhoneNumber/InputPhoneNumber.js";
|
9
|
-
import { getMaskedInputPhoneValue as
|
9
|
+
import { getMaskedInputPhoneValue as V, getUnmaskedInputValue as P } from "./components/InputPhoneNumber/utils.js";
|
10
10
|
import { OtpInput as y } from "./components/OtpInput/OtpInput.js";
|
11
11
|
import { RadioGroup as A } from "./components/RadioGroup/RadioGroup.js";
|
12
12
|
import { DatePicker as L } from "./components/DatePicker/DatePicker.js";
|
@@ -26,13 +26,13 @@ import { ESelectSearchSize as ao } from "./components/SelectSearch/constants.js"
|
|
26
26
|
import { CheckboxMimir as io } from "./components/CheckboxMimir/CheckboxMimir.js";
|
27
27
|
import { Tag as xo } from "./components/Tag/Tag.js";
|
28
28
|
import { ETagSize as so, ETagType as uo } from "./components/Tag/constants.js";
|
29
|
-
import { Timer as
|
29
|
+
import { Timer as So } from "./components/Timer/Timer.js";
|
30
30
|
import { Accordion as co } from "./components/Accordion/Accordion.js";
|
31
|
-
import { EAccordionSize as
|
31
|
+
import { EAccordionSize as go } from "./components/Accordion/constants.js";
|
32
32
|
import { AccordionItem as ho } from "./components/Accordion/AccordionItem/AccordionItem.js";
|
33
33
|
import { TabTrail as zo } from "./components/TabTrail/TabTrail.js";
|
34
|
-
import { ETabTrailSize as
|
35
|
-
import { Pagination as
|
34
|
+
import { ETabTrailSize as Vo } from "./components/TabTrail/constants.js";
|
35
|
+
import { Pagination as Mo } from "./components/Pagination/Pagination.js";
|
36
36
|
import { ToastProvider as Ro } from "./components/Toasts/ToastsProvider.js";
|
37
37
|
import { useToast as Co } from "./components/Toasts/hooks.js";
|
38
38
|
import { EToastPosition as bo, EToastVariant as Uo } from "./components/Toasts/constants.js";
|
@@ -50,13 +50,13 @@ import { EUploaderType as pr } from "./components/UniversalUploader/constants.js
|
|
50
50
|
import { InputRangeSlider as mr } from "./components/InputRangeSlider/InputRangeSlider.js";
|
51
51
|
import { EInputRangeSliderBorderState as fr, EInputRangeSliderPositions as xr } from "./components/InputRangeSlider/constants.js";
|
52
52
|
import { GosZnak as sr } from "./components/GosZnak/GosZnak.js";
|
53
|
-
import { EGosZnakSize as
|
53
|
+
import { EGosZnakSize as Er, EGosZnakType as Sr } from "./components/GosZnak/constants.js";
|
54
54
|
import { Switcher as dr } from "./components/Switcher/Switcher.js";
|
55
55
|
import { ELabelPositions as Tr } from "./components/Switcher/constants.js";
|
56
|
-
import { TwinSwitcher as
|
56
|
+
import { TwinSwitcher as Ir } from "./components/TwinSwitcher/TwinSwitcher.js";
|
57
57
|
import { SkeletonBrick as kr } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
|
58
|
-
import { SkeletonText as
|
59
|
-
import { SkeletonCircle as
|
58
|
+
import { SkeletonText as Br } from "./components/Skeleton/SkeletonText/SkeletonText.js";
|
59
|
+
import { SkeletonCircle as Pr } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
|
60
60
|
import { ESkeletonVariant as yr } from "./components/Skeleton/constants.js";
|
61
61
|
import { Avatar as Ar } from "./components/Avatar/Avatar.js";
|
62
62
|
import { EAvatarSize as Lr } from "./components/Avatar/constants.js";
|
@@ -76,8 +76,9 @@ import { useCopyToClipboard as ae } from "./hooks/useCopyToClipboard/useCopyToCl
|
|
76
76
|
import { useMergeRefs as ie } from "./hooks/useMergeRefs/useMergeRefs.js";
|
77
77
|
import { useResizeObserver as xe } from "./hooks/useResizeObserver/useResizeObserver.js";
|
78
78
|
import { Icon as se } from "./icons/Icon.js";
|
79
|
-
import { formating as
|
80
|
-
import {
|
79
|
+
import { formating as Ee } from "./utils/index.js";
|
80
|
+
import { EProgressBarPosition as le } from "./components/Slider/constants.js";
|
81
|
+
import { parseDate as ce } from "./utils/formating/Date.js";
|
81
82
|
import './assets/index.css';export {
|
82
83
|
co as Accordion,
|
83
84
|
ho as AccordionItem,
|
@@ -87,7 +88,7 @@ import './assets/index.css';export {
|
|
87
88
|
Yo as Chip,
|
88
89
|
L as DatePicker,
|
89
90
|
j as Drawer,
|
90
|
-
|
91
|
+
go as EAccordionSize,
|
91
92
|
Lr as EAvatarSize,
|
92
93
|
p as EButtonForm,
|
93
94
|
a as EButtonSize,
|
@@ -99,12 +100,12 @@ import './assets/index.css';export {
|
|
99
100
|
or as EChipVariant,
|
100
101
|
H as EDrawerPosition,
|
101
102
|
Nr as EFileItemVariant,
|
102
|
-
|
103
|
-
|
103
|
+
Er as EGosZnakSize,
|
104
|
+
Sr as EGosZnakType,
|
104
105
|
fr as EInputRangeSliderBorderState,
|
105
106
|
xr as EInputRangeSliderPositions,
|
106
|
-
|
107
|
-
|
107
|
+
E as EInputSize,
|
108
|
+
S as EInputStatus,
|
108
109
|
l as EInputVariant,
|
109
110
|
Tr as ELabelPositions,
|
110
111
|
jo as ELinkSize,
|
@@ -115,14 +116,15 @@ import './assets/index.css';export {
|
|
115
116
|
Yr as EMinMediaQuery,
|
116
117
|
wr as EMultiSelectSearchSize,
|
117
118
|
Wo as ENotificationBadgeSize,
|
119
|
+
le as EProgressBarPosition,
|
118
120
|
ao as ESelectSearchSize,
|
119
121
|
yr as ESkeletonVariant,
|
120
122
|
X as EStepColor,
|
121
123
|
Y as EStepsSize,
|
122
|
-
|
124
|
+
Vo as ETabTrailSize,
|
123
125
|
so as ETagSize,
|
124
126
|
uo as ETagType,
|
125
|
-
|
127
|
+
g as ETextAreaInputSize,
|
126
128
|
bo as EToastPosition,
|
127
129
|
Uo as EToastVariant,
|
128
130
|
pr as EUploaderType,
|
@@ -143,30 +145,30 @@ import './assets/index.css';export {
|
|
143
145
|
Ur as MultiSelectSearch,
|
144
146
|
Jo as NotificationBadge,
|
145
147
|
y as OtpInput,
|
146
|
-
|
148
|
+
Mo as Pagination,
|
147
149
|
A as RadioGroup,
|
148
150
|
to as SelectSearch,
|
149
151
|
kr as SkeletonBrick,
|
150
|
-
|
151
|
-
|
152
|
+
Pr as SkeletonCircle,
|
153
|
+
Br as SkeletonText,
|
152
154
|
Q as Slider,
|
153
155
|
K as Steps,
|
154
156
|
dr as Switcher,
|
155
157
|
zo as TabTrail,
|
156
158
|
xo as Tag,
|
157
159
|
c as TextArea,
|
158
|
-
|
160
|
+
So as Timer,
|
159
161
|
Ro as ToastProvider,
|
160
|
-
|
162
|
+
Ir as TwinSwitcher,
|
161
163
|
er as UniversalUploader,
|
162
164
|
No as Uploader,
|
163
165
|
Fo as UploaderFiles,
|
164
166
|
wo as UploaderPhotos,
|
165
167
|
$ as Vote,
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
168
|
+
Ee as formating,
|
169
|
+
V as getMaskedInputPhoneValue,
|
170
|
+
P as getUnmaskedInputValue,
|
171
|
+
ce as parseDate,
|
170
172
|
ae as useCopyToClipboard,
|
171
173
|
re as useInterval,
|
172
174
|
$r as useLockBodyScroll,
|