mimir-ui-kit 1.39.4 → 1.41.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 (34) hide show
  1. package/dist/assets/CardTrail.css +1 -0
  2. package/dist/assets/PromoSlider.css +1 -0
  3. package/dist/assets/Tag.css +1 -1
  4. package/dist/components/CardTrail/CardTrail.d.ts +46 -0
  5. package/dist/components/CardTrail/CardTrail.js +133 -0
  6. package/dist/components/CardTrail/constants.d.ts +2 -0
  7. package/dist/components/CardTrail/constants.js +5 -0
  8. package/dist/components/CardTrail/index.d.ts +1 -0
  9. package/dist/components/CardTrail/index.js +4 -0
  10. package/dist/components/CardTrail/types.d.ts +1 -0
  11. package/dist/components/CardTrail/utils.d.ts +9 -0
  12. package/dist/components/CardTrail/utils.js +9 -0
  13. package/dist/components/Chip/Chip.d.ts +5 -1
  14. package/dist/components/Chip/index.d.ts +1 -1
  15. package/dist/components/PromoSlider/PromoSlider.d.ts +59 -0
  16. package/dist/components/PromoSlider/PromoSlider.js +320 -0
  17. package/dist/components/PromoSlider/index.d.ts +1 -0
  18. package/dist/components/PromoSlider/index.js +4 -0
  19. package/dist/components/Slider/Slider.js +113 -2993
  20. package/dist/components/Tag/Tag.d.ts +1 -1
  21. package/dist/components/Tag/Tag.js +29 -28
  22. package/dist/components/Tag/constants.d.ts +1 -0
  23. package/dist/components/Tag/constants.js +2 -2
  24. package/dist/components/index.d.ts +2 -0
  25. package/dist/components/index.js +14 -10
  26. package/dist/hooks/index.d.ts +2 -0
  27. package/dist/hooks/index.js +17 -13
  28. package/dist/hooks/useCallbackRef/index.d.ts +1 -0
  29. package/dist/hooks/useCallbackRef/index.js +13 -0
  30. package/dist/hooks/useThrottledCallback/index.d.ts +2 -0
  31. package/dist/hooks/useThrottledCallback/index.js +27 -0
  32. package/dist/index.js +158 -150
  33. package/dist/swiper-react-BvAw14a4.js +2901 -0
  34. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
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 l } from "./Input-DAmc_HxO.js";
4
- import { EInputSize as E, EInputStatus as u, EInputVariant as S } from "./components/Input/constants.js";
4
+ import { EInputSize as u, EInputStatus as E, EInputVariant as S } from "./components/Input/constants.js";
5
5
  import { TextArea as c } from "./components/TextArea/TextArea.js";
6
6
  import { ETextAreaInputSize as I } from "./components/TextArea/constants.js";
7
7
  import { InputPassword as V } from "./components/InputPassword/InputPassword.js";
8
- import { InputPhoneNumber as B } from "./components/InputPhoneNumber/InputPhoneNumber.js";
9
- import { getMaskedInputPhoneValue as k, getUnmaskedInputValue as M } from "./components/InputPhoneNumber/utils.js";
10
- import { OtpInput as b } from "./components/OtpInput/OtpInput.js";
11
- import { RadioGroup as L } from "./components/RadioGroup/RadioGroup.js";
12
- import { DatePicker as A } from "./components/DatePicker/DatePicker.js";
8
+ import { InputPhoneNumber as z } from "./components/InputPhoneNumber/InputPhoneNumber.js";
9
+ import { getMaskedInputPhoneValue as B, getUnmaskedInputValue as P } from "./components/InputPhoneNumber/utils.js";
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
13
  import { MergedButton as D } from "./components/MergedButton/MergedButton.js";
14
14
  import { EMergedButtonVariantRound as w } from "./components/MergedButton/constants.js";
15
15
  import { AppImage as F } from "./components/Image/Image.js";
@@ -20,177 +20,185 @@ 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
22
  import { Steps as _ } from "./components/Steps/Steps.js";
23
- import { EStepColor as oo, EStepsSize as ro } from "./components/Steps/constants.js";
24
- import { Vote as to } from "./components/Vote/Vote.js";
25
- import { EVoteSize as ao } from "./components/Vote/constants.js";
26
- import { SelectSearch as io } from "./components/SelectSearch/SelectSearch.js";
27
- import { ESelectSearchSize as xo } from "./components/SelectSearch/constants.js";
28
- import { CheckboxMimir as lo } from "./components/CheckboxMimir/CheckboxMimir.js";
29
- import { Tag as Eo } from "./components/Tag/Tag.js";
30
- import { ETagSize as So, ETagType as co } from "./components/Tag/constants.js";
31
- import { Timer as Io } from "./components/Timer/Timer.js";
32
- import { Accordion as Vo } from "./components/Accordion/Accordion.js";
33
- import { EAccordionSize as Bo } from "./components/Accordion/constants.js";
34
- import { AccordionItem as ko } from "./components/Accordion/AccordionItem/AccordionItem.js";
35
- import { TabTrail as Po } from "./components/TabTrail/TabTrail.js";
36
- import { ETabTrailSize as yo } from "./components/TabTrail/constants.js";
37
- import { Pagination as Ro } from "./components/Pagination/Pagination.js";
38
- import { ToastProvider as Co } from "./components/Toasts/ToastsProvider.js";
39
- import { useToast as Uo } from "./components/Toasts/hooks.js";
40
- import { EToastPosition as vo, EToastVariant as Fo } from "./components/Toasts/constants.js";
41
- import { UploaderPhotos as No } from "./components/UploaderPhotos/UploaderPhotos.js";
42
- import { UploaderFiles as Qo } from "./components/UploaderFiles/UploaderFiles.js";
43
- import { EUploaderFilesVariant as jo } from "./components/UploaderFiles/constants.js";
44
- import { Uploader as Ho } from "./components/Uploader/Uploader.js";
45
- import { Link as Ko } from "./components/AnchorLink/Link.js";
46
- import { ELinkSize as Xo, ELinkVariant as Yo } from "./components/AnchorLink/constants.js";
47
- import { NotificationBadge as $o } from "./components/NotificationBadge/NotificationBadge.js";
48
- import { ENotificationBadgeSize as rr } from "./components/NotificationBadge/constants.js";
49
- import { Chip as tr } from "./components/Chip/Chip.js";
50
- import { EChipSize as ar, EChipVariant as mr } from "./components/Chip/constants.js";
51
- import { UniversalUploader as fr } from "./components/UniversalUploader/UniversalUploader.js";
52
- import { EUploaderType as nr } from "./components/UniversalUploader/constants.js";
53
- import { InputRangeSlider as sr } from "./components/InputRangeSlider/InputRangeSlider.js";
54
- import { EInputRangeSliderBorderState as ur, EInputRangeSliderPositions as Sr } from "./components/InputRangeSlider/constants.js";
55
- import { GosZnak as cr } from "./components/GosZnak/GosZnak.js";
56
- import { EGosZnakSize as Ir, EGosZnakType as gr } from "./components/GosZnak/constants.js";
57
- import { Switcher as zr } from "./components/Switcher/Switcher.js";
58
- import { ELabelPositions as hr } from "./components/Switcher/constants.js";
59
- import { TwinSwitcher as Mr } from "./components/TwinSwitcher/TwinSwitcher.js";
60
- import { SkeletonBrick as br } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
61
- import { SkeletonText as Lr } from "./components/Skeleton/SkeletonText/SkeletonText.js";
62
- import { SkeletonCircle as Ar } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
63
- import { ESkeletonVariant as Dr } from "./components/Skeleton/constants.js";
64
- import { Avatar as wr } from "./components/Avatar/Avatar.js";
65
- import { EAvatarSize as Fr } from "./components/Avatar/constants.js";
66
- import { MultiSelectSearch as Nr } from "./components/MultiSelectSearch/MultiSelectSearch.js";
67
- import { EMultiSelectSearchSize as Qr } from "./components/MultiSelectSearch/constants.js";
68
- import { ListFiles as jr } from "./components/ListFiles/ListFiles.js";
69
- import { EFileItemVariant as Hr } from "./components/ListFiles/constants.js";
70
- import { ListPhotos as Kr } from "./components/ListPhotos/ListPhotos.js";
71
- import { MessageShortReply as Xr } from "./components/MessageShortReply/MessageShortReply.js";
72
- import { EMessageShortReplyVariant as _r } from "./components/MessageShortReply/constants.js";
73
- import { Table as oe } from "./components/Table/Table.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 ir } 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 hr } 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 io } 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 ho } 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
74
  import { ESortDirection as ee, ETableDisplayMode as te, ETableScrollButtonVariant as pe, ETableScrollIconName as ae, ETableVariant as me } from "./components/Table/constants.js";
75
- import { useMediaQuery as fe } from "./hooks/useMediaQuery/useMediaQuery.js";
76
- import { EMediaQuery as ne, EMinMediaQuery as le } from "./hooks/useMediaQuery/constants.js";
77
- import { useLockBodyScroll as Ee } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
78
- import { useInterval as Se } from "./hooks/useInterval/useInterval.js";
79
- import { useTimer as ce } from "./hooks/useTimer/index.js";
80
- import { useCopyToClipboard as Ie } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
81
- import { useMergeRefs as Ve } from "./hooks/useMergeRefs/useMergeRefs.js";
82
- import { useResizeObserver as Be } from "./hooks/useResizeObserver/useResizeObserver.js";
83
- import { Icon as ke } from "./icons/Icon.js";
84
- import { formating as Pe } from "./utils/index.js";
85
- import { default as ye } from "./components/Slider/Slider.js";
86
- import { EProgressBarPosition as Re } from "./components/Slider/constants.js";
87
- import { parseDate as Ce } from "./utils/formating/Date.js";
75
+ import { PromoSlider as fe } from "./components/PromoSlider/PromoSlider.js";
76
+ import { CardTrail as ne } from "./components/CardTrail/CardTrail.js";
77
+ import { useMediaQuery as se } from "./hooks/useMediaQuery/useMediaQuery.js";
78
+ import { EMediaQuery as Ee, EMinMediaQuery as Se } from "./hooks/useMediaQuery/constants.js";
79
+ import { useLockBodyScroll as ce } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
80
+ import { useInterval as Ie } from "./hooks/useInterval/useInterval.js";
81
+ import { useTimer as Ve } from "./hooks/useTimer/index.js";
82
+ import { useCopyToClipboard as ze } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
83
+ import { useMergeRefs as Be } from "./hooks/useMergeRefs/useMergeRefs.js";
84
+ import { useResizeObserver as be } from "./hooks/useResizeObserver/useResizeObserver.js";
85
+ import { useCallbackRef as ye } from "./hooks/useCallbackRef/index.js";
86
+ import { useThrottledCallback as Re } from "./hooks/useThrottledCallback/index.js";
87
+ import { Icon as Ae } from "./icons/Icon.js";
88
+ import { formating as Ue } from "./utils/index.js";
89
+ import { default as ve } from "./components/Slider/Slider.js";
90
+ import { EProgressBarPosition as Ge } from "./components/Slider/constants.js";
91
+ import { parseDate as Oe } from "./utils/formating/Date.js";
88
92
  import './assets/index.css';export {
89
- Vo as Accordion,
90
- ko as AccordionItem,
91
- wr as Avatar,
93
+ gr as Accordion,
94
+ hr as AccordionItem,
95
+ wo as Avatar,
92
96
  e as Button,
93
- lo as CheckboxMimir,
94
- tr as Chip,
95
- A as DatePicker,
97
+ ne as CardTrail,
98
+ lr as CheckboxMimir,
99
+ eo as Chip,
100
+ L as DatePicker,
96
101
  H as Drawer,
97
102
  X as Dropdown,
98
- Bo as EAccordionSize,
99
- Fr as EAvatarSize,
103
+ kr as EAccordionSize,
104
+ Fo as EAvatarSize,
100
105
  p as EButtonForm,
101
106
  a as EButtonSize,
102
107
  m as EButtonVariantBorderless,
103
108
  i as EButtonVariantDefault,
104
109
  f as EButtonVariantOutline,
105
110
  x as EButtonVariantRound,
106
- ar as EChipSize,
107
- mr as EChipVariant,
111
+ po as EChipSize,
112
+ ao as EChipVariant,
108
113
  K as EDrawerPosition,
109
- Hr as EFileItemVariant,
110
- Ir as EGosZnakSize,
111
- gr as EGosZnakType,
112
- ur as EInputRangeSliderBorderState,
113
- Sr as EInputRangeSliderPositions,
114
- E as EInputSize,
115
- u as EInputStatus,
114
+ Ho as EFileItemVariant,
115
+ Io as EGosZnakSize,
116
+ go as EGosZnakType,
117
+ uo as EInputRangeSliderBorderState,
118
+ Eo as EInputRangeSliderPositions,
119
+ u as EInputSize,
120
+ E as EInputStatus,
116
121
  S as EInputVariant,
117
- hr as ELabelPositions,
118
- Xo as ELinkSize,
119
- Yo as ELinkVariant,
122
+ ho as ELabelPositions,
123
+ Wr as ELinkSize,
124
+ Xr as ELinkVariant,
120
125
  Q as ELoaderSize,
121
- ne as EMediaQuery,
126
+ Ee as EMediaQuery,
122
127
  w as EMergedButtonVariantRound,
123
- _r as EMessageShortReplyVariant,
124
- le as EMinMediaQuery,
125
- Qr as EMultiSelectSearchSize,
126
- rr as ENotificationBadgeSize,
127
- Re as EProgressBarPosition,
128
- xo as ESelectSearchSize,
129
- Dr as ESkeletonVariant,
128
+ _o as EMessageShortReplyVariant,
129
+ Se as EMinMediaQuery,
130
+ Qo as EMultiSelectSearchSize,
131
+ ro as ENotificationBadgeSize,
132
+ Ge as EProgressBarPosition,
133
+ xr as ESelectSearchSize,
134
+ Do as ESkeletonVariant,
130
135
  ee as ESortDirection,
131
- oo as EStepColor,
132
- ro as EStepsSize,
133
- yo as ETabTrailSize,
136
+ rr as EStepColor,
137
+ or as EStepsSize,
138
+ Mr as ETabTrailSize,
134
139
  te as ETableDisplayMode,
135
140
  pe as ETableScrollButtonVariant,
136
141
  ae as ETableScrollIconName,
137
142
  me as ETableVariant,
138
- So as ETagSize,
139
- co as ETagType,
143
+ Sr as ETagSize,
144
+ dr as ETagType,
140
145
  I as ETextAreaInputSize,
141
- vo as EToastPosition,
142
- Fo as EToastVariant,
143
- jo as EUploaderFilesVariant,
144
- nr as EUploaderType,
145
- ao as EVoteSize,
146
- cr as GosZnak,
147
- ke as Icon,
146
+ wr as EToastPosition,
147
+ vr as EToastVariant,
148
+ Zr as EUploaderFilesVariant,
149
+ xo as EUploaderType,
150
+ ar as EVoteSize,
151
+ co as GosZnak,
152
+ Ae as Icon,
148
153
  F as Image,
149
154
  l as Input,
150
155
  V as InputPassword,
151
- B as InputPhoneNumber,
152
- sr as InputRangeSlider,
153
- Ko as Link,
154
- jr as ListFiles,
155
- Kr as ListPhotos,
156
+ z as InputPhoneNumber,
157
+ lo as InputRangeSlider,
158
+ Jr as Link,
159
+ jo as ListFiles,
160
+ Ko as ListPhotos,
156
161
  N as Loader,
157
162
  D as MergedButton,
158
- Xr as MessageShortReply,
159
- Nr as MultiSelectSearch,
160
- $o as NotificationBadge,
161
- b as OtpInput,
162
- Ro as Pagination,
163
- L as RadioGroup,
164
- io as SelectSearch,
165
- br as SkeletonBrick,
166
- Ar as SkeletonCircle,
167
- Lr as SkeletonText,
168
- ye as Slider,
163
+ Xo as MessageShortReply,
164
+ No as MultiSelectSearch,
165
+ _r as NotificationBadge,
166
+ M as OtpInput,
167
+ Cr as Pagination,
168
+ fe as PromoSlider,
169
+ C as RadioGroup,
170
+ ir as SelectSearch,
171
+ Mo as SkeletonBrick,
172
+ Lo as SkeletonCircle,
173
+ Co as SkeletonText,
174
+ ve as Slider,
169
175
  j as SliderLazy,
170
176
  _ as Steps,
171
- zr as Switcher,
172
- Po as TabTrail,
173
- oe as Table,
174
- Eo as Tag,
177
+ ko as Switcher,
178
+ Pr as TabTrail,
179
+ re as Table,
180
+ ur as Tag,
175
181
  c as TextArea,
176
- Io as Timer,
177
- Co as ToastProvider,
178
- Mr as TwinSwitcher,
179
- fr as UniversalUploader,
180
- Ho as Uploader,
181
- Qo as UploaderFiles,
182
- No as UploaderPhotos,
183
- to as Vote,
184
- Pe as formating,
185
- k as getMaskedInputPhoneValue,
186
- M as getUnmaskedInputValue,
187
- Ce as parseDate,
188
- Ie as useCopyToClipboard,
189
- Se as useInterval,
190
- Ee as useLockBodyScroll,
191
- fe as useMediaQuery,
192
- Ve as useMergeRefs,
193
- Be as useResizeObserver,
194
- ce as useTimer,
195
- Uo as useToast
182
+ Tr as Timer,
183
+ Lr as ToastProvider,
184
+ Po as TwinSwitcher,
185
+ io as UniversalUploader,
186
+ qr as Uploader,
187
+ Or as UploaderFiles,
188
+ Gr as UploaderPhotos,
189
+ tr as Vote,
190
+ Ue as formating,
191
+ B as getMaskedInputPhoneValue,
192
+ P as getUnmaskedInputValue,
193
+ Oe as parseDate,
194
+ ye as useCallbackRef,
195
+ ze as useCopyToClipboard,
196
+ Ie as useInterval,
197
+ ce as useLockBodyScroll,
198
+ se as useMediaQuery,
199
+ Be as useMergeRefs,
200
+ be as useResizeObserver,
201
+ Re as useThrottledCallback,
202
+ Ve as useTimer,
203
+ Dr as useToast
196
204
  };