mimir-ui-kit 1.37.18 → 1.38.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/dist/assets/Dropdown.css +1 -0
  2. package/dist/close-provider-CEutdhG8.js +9 -0
  3. package/dist/combobox-CVtJDVoZ.js +980 -0
  4. package/dist/components/Accordion/Accordion.js +91 -95
  5. package/dist/components/CheckboxMimir/CheckboxMimir.js +4 -4
  6. package/dist/components/DatePicker/DatePicker.js +19 -19
  7. package/dist/components/DatePicker/hooks.js +11 -11
  8. package/dist/components/Dropdown/Dropdown.d.ts +45 -0
  9. package/dist/components/Dropdown/Dropdown.js +333 -0
  10. package/dist/components/Dropdown/index.d.ts +1 -0
  11. package/dist/components/Dropdown/index.js +4 -0
  12. package/dist/components/MultiSelectSearch/MultiSelectSearch.js +18 -18
  13. package/dist/components/RadioGroup/RadioGroup.js +3 -3
  14. package/dist/components/SelectSearch/SelectSearch.js +21 -21
  15. package/dist/components/Switcher/Switcher.js +4 -4
  16. package/dist/components/TabTrail/TabTrail.js +4 -4
  17. package/dist/components/index.d.ts +1 -0
  18. package/dist/components/index.js +117 -115
  19. package/dist/{field-C1kt7aNM.js → field-FJ34aSs4.js} +2 -2
  20. package/dist/{focus-management-DOYCPyGg.js → focus-management-DE4t_lW3.js} +2 -1
  21. package/dist/{hidden-PvGXrYUY.js → hidden-DbgtYPOH.js} +1 -1
  22. package/dist/index.js +141 -139
  23. package/dist/{keyboard-mgWkd2Vh.js → keyboard-B0lm_zyn.js} +111 -114
  24. package/dist/{label-D4GFpe5F.js → label-y3ANLTNC.js} +2 -2
  25. package/dist/open-closed-CdldUPoq.js +86 -0
  26. package/dist/portal-WDFNoIMz.js +1908 -0
  27. package/dist/{use-active-press-CqLGIFz7.js → use-active-press-86hajhdd.js} +1 -1
  28. package/package.json +1 -1
  29. package/dist/combobox-BpYucpxz.js +0 -2896
  30. package/dist/open-closed-D2VjDhAN.js +0 -86
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Button as e } from "./components/Button/Button.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";
2
+ import { EButtonForm as p, EButtonSize as m, EButtonVariantBorderless as a, 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
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";
@@ -10,171 +10,173 @@ import { getMaskedInputPhoneValue as V, getUnmaskedInputValue as P } from "./com
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";
13
- import { MergedButton as U } from "./components/MergedButton/MergedButton.js";
14
- import { EMergedButtonVariantRound as w } from "./components/MergedButton/constants.js";
13
+ import { MergedButton as w } from "./components/MergedButton/MergedButton.js";
14
+ import { EMergedButtonVariantRound as v } 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 { Slider as Q } from "./components/Slider/index.js";
18
18
  import { Drawer as j } from "./components/Drawer/Drawer.js";
19
19
  import { EDrawerPosition as H } from "./components/Drawer/constants.js";
20
- import { Steps as K } from "./components/Steps/Steps.js";
21
- import { EStepColor as X, EStepsSize as Y } from "./components/Steps/constants.js";
22
- import { Vote as $ } from "./components/Vote/Vote.js";
23
- import { EVoteSize as ro } from "./components/Vote/constants.js";
24
- import { SelectSearch as to } from "./components/SelectSearch/SelectSearch.js";
25
- import { ESelectSearchSize as ao } from "./components/SelectSearch/constants.js";
26
- import { CheckboxMimir as io } from "./components/CheckboxMimir/CheckboxMimir.js";
27
- import { Tag as xo } from "./components/Tag/Tag.js";
28
- import { ETagSize as so, ETagType as uo } from "./components/Tag/constants.js";
29
- import { Timer as So } from "./components/Timer/Timer.js";
30
- import { Accordion as co } from "./components/Accordion/Accordion.js";
31
- import { EAccordionSize as go } from "./components/Accordion/constants.js";
32
- import { AccordionItem as ho } from "./components/Accordion/AccordionItem/AccordionItem.js";
33
- import { TabTrail as zo } from "./components/TabTrail/TabTrail.js";
34
- import { ETabTrailSize as Vo } from "./components/TabTrail/constants.js";
35
- import { Pagination as Mo } from "./components/Pagination/Pagination.js";
36
- import { ToastProvider as Ro } from "./components/Toasts/ToastsProvider.js";
37
- import { useToast as Co } from "./components/Toasts/hooks.js";
38
- import { EToastPosition as bo, EToastVariant as Uo } from "./components/Toasts/constants.js";
39
- import { UploaderPhotos as wo } from "./components/UploaderPhotos/UploaderPhotos.js";
40
- import { UploaderFiles as Fo } from "./components/UploaderFiles/UploaderFiles.js";
41
- import { Uploader as No } from "./components/Uploader/Uploader.js";
42
- import { Link as Qo } from "./components/AnchorLink/Link.js";
43
- import { ELinkSize as jo, ELinkVariant as qo } from "./components/AnchorLink/constants.js";
44
- import { NotificationBadge as Jo } from "./components/NotificationBadge/NotificationBadge.js";
45
- import { ENotificationBadgeSize as Wo } from "./components/NotificationBadge/constants.js";
46
- import { Chip as Yo } from "./components/Chip/Chip.js";
47
- import { EChipSize as $o, EChipVariant as or } from "./components/Chip/constants.js";
48
- import { UniversalUploader as er } from "./components/UniversalUploader/UniversalUploader.js";
49
- import { EUploaderType as pr } from "./components/UniversalUploader/constants.js";
50
- import { InputRangeSlider as mr } from "./components/InputRangeSlider/InputRangeSlider.js";
51
- import { EInputRangeSliderBorderState as fr, EInputRangeSliderPositions as xr } from "./components/InputRangeSlider/constants.js";
52
- import { GosZnak as sr } from "./components/GosZnak/GosZnak.js";
53
- import { EGosZnakSize as Er, EGosZnakType as Sr } from "./components/GosZnak/constants.js";
54
- import { Switcher as dr } from "./components/Switcher/Switcher.js";
55
- import { ELabelPositions as Tr } from "./components/Switcher/constants.js";
56
- import { TwinSwitcher as Ir } from "./components/TwinSwitcher/TwinSwitcher.js";
57
- import { SkeletonBrick as kr } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
58
- import { SkeletonText as Br } from "./components/Skeleton/SkeletonText/SkeletonText.js";
59
- import { SkeletonCircle as Pr } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
60
- import { ESkeletonVariant as yr } from "./components/Skeleton/constants.js";
61
- import { Avatar as Ar } from "./components/Avatar/Avatar.js";
62
- import { EAvatarSize as Lr } from "./components/Avatar/constants.js";
63
- import { MultiSelectSearch as Ur } from "./components/MultiSelectSearch/MultiSelectSearch.js";
64
- import { EMultiSelectSearchSize as wr } from "./components/MultiSelectSearch/constants.js";
65
- import { ListFiles as Fr } from "./components/ListFiles/ListFiles.js";
66
- import { EFileItemVariant as Nr } from "./components/ListFiles/constants.js";
67
- import { ListPhotos as Qr } from "./components/ListPhotos/ListPhotos.js";
68
- import { MessageShortReply as jr } from "./components/MessageShortReply/MessageShortReply.js";
69
- import { EMessageShortReplyVariant as Hr } from "./components/MessageShortReply/constants.js";
70
- import { useMediaQuery as Kr } from "./hooks/useMediaQuery/useMediaQuery.js";
71
- import { EMediaQuery as Xr, EMinMediaQuery as Yr } from "./hooks/useMediaQuery/constants.js";
72
- import { useLockBodyScroll as $r } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
73
- import { useInterval as re } from "./hooks/useInterval/useInterval.js";
74
- import { useTimer as te } from "./hooks/useTimer/index.js";
75
- import { useCopyToClipboard as ae } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
76
- import { useMergeRefs as ie } from "./hooks/useMergeRefs/useMergeRefs.js";
77
- import { useResizeObserver as xe } from "./hooks/useResizeObserver/useResizeObserver.js";
78
- import { Icon as se } from "./icons/Icon.js";
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";
20
+ import { Dropdown as K } from "./components/Dropdown/Dropdown.js";
21
+ import { Steps as X } from "./components/Steps/Steps.js";
22
+ import { EStepColor as _, EStepsSize as $ } from "./components/Steps/constants.js";
23
+ import { Vote as ro } from "./components/Vote/Vote.js";
24
+ import { EVoteSize as to } from "./components/Vote/constants.js";
25
+ import { SelectSearch as mo } from "./components/SelectSearch/SelectSearch.js";
26
+ import { ESelectSearchSize as io } from "./components/SelectSearch/constants.js";
27
+ import { CheckboxMimir as xo } from "./components/CheckboxMimir/CheckboxMimir.js";
28
+ import { Tag as so } from "./components/Tag/Tag.js";
29
+ import { ETagSize as Eo, ETagType as So } from "./components/Tag/constants.js";
30
+ import { Timer as co } from "./components/Timer/Timer.js";
31
+ import { Accordion as go } from "./components/Accordion/Accordion.js";
32
+ import { EAccordionSize as ho } from "./components/Accordion/constants.js";
33
+ import { AccordionItem as zo } from "./components/Accordion/AccordionItem/AccordionItem.js";
34
+ import { TabTrail as Vo } from "./components/TabTrail/TabTrail.js";
35
+ import { ETabTrailSize as Mo } from "./components/TabTrail/constants.js";
36
+ import { Pagination as Ro } from "./components/Pagination/Pagination.js";
37
+ import { ToastProvider as Co } from "./components/Toasts/ToastsProvider.js";
38
+ import { useToast as bo } from "./components/Toasts/hooks.js";
39
+ import { EToastPosition as Uo, EToastVariant as vo } from "./components/Toasts/constants.js";
40
+ import { UploaderPhotos as Fo } from "./components/UploaderPhotos/UploaderPhotos.js";
41
+ import { UploaderFiles as No } from "./components/UploaderFiles/UploaderFiles.js";
42
+ import { Uploader as Qo } from "./components/Uploader/Uploader.js";
43
+ import { Link as jo } from "./components/AnchorLink/Link.js";
44
+ import { ELinkSize as Ho, ELinkVariant as Jo } from "./components/AnchorLink/constants.js";
45
+ import { NotificationBadge as Wo } from "./components/NotificationBadge/NotificationBadge.js";
46
+ import { ENotificationBadgeSize as Yo } from "./components/NotificationBadge/constants.js";
47
+ import { Chip as $o } from "./components/Chip/Chip.js";
48
+ import { EChipSize as rr, EChipVariant as er } from "./components/Chip/constants.js";
49
+ import { UniversalUploader as pr } from "./components/UniversalUploader/UniversalUploader.js";
50
+ import { EUploaderType as ar } from "./components/UniversalUploader/constants.js";
51
+ import { InputRangeSlider as fr } from "./components/InputRangeSlider/InputRangeSlider.js";
52
+ import { EInputRangeSliderBorderState as nr, EInputRangeSliderPositions as sr } from "./components/InputRangeSlider/constants.js";
53
+ import { GosZnak as Er } from "./components/GosZnak/GosZnak.js";
54
+ import { EGosZnakSize as lr, EGosZnakType as dr } from "./components/GosZnak/constants.js";
55
+ import { Switcher as Tr } from "./components/Switcher/Switcher.js";
56
+ import { ELabelPositions as Ir } from "./components/Switcher/constants.js";
57
+ import { TwinSwitcher as kr } from "./components/TwinSwitcher/TwinSwitcher.js";
58
+ import { SkeletonBrick as Br } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
59
+ import { SkeletonText as Pr } from "./components/Skeleton/SkeletonText/SkeletonText.js";
60
+ import { SkeletonCircle as yr } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
61
+ import { ESkeletonVariant as Ar } from "./components/Skeleton/constants.js";
62
+ import { Avatar as Lr } from "./components/Avatar/Avatar.js";
63
+ import { EAvatarSize as wr } from "./components/Avatar/constants.js";
64
+ import { MultiSelectSearch as vr } from "./components/MultiSelectSearch/MultiSelectSearch.js";
65
+ import { EMultiSelectSearchSize as Fr } from "./components/MultiSelectSearch/constants.js";
66
+ import { ListFiles as Nr } from "./components/ListFiles/ListFiles.js";
67
+ import { EFileItemVariant as Qr } from "./components/ListFiles/constants.js";
68
+ import { ListPhotos as jr } from "./components/ListPhotos/ListPhotos.js";
69
+ import { MessageShortReply as Hr } from "./components/MessageShortReply/MessageShortReply.js";
70
+ import { EMessageShortReplyVariant as Kr } from "./components/MessageShortReply/constants.js";
71
+ import { useMediaQuery as Xr } from "./hooks/useMediaQuery/useMediaQuery.js";
72
+ import { EMediaQuery as _r, EMinMediaQuery as $r } from "./hooks/useMediaQuery/constants.js";
73
+ import { useLockBodyScroll as re } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
74
+ import { useInterval as te } from "./hooks/useInterval/useInterval.js";
75
+ import { useTimer as me } from "./hooks/useTimer/index.js";
76
+ import { useCopyToClipboard as ie } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
77
+ import { useMergeRefs as xe } from "./hooks/useMergeRefs/useMergeRefs.js";
78
+ import { useResizeObserver as se } from "./hooks/useResizeObserver/useResizeObserver.js";
79
+ import { Icon as Ee } from "./icons/Icon.js";
80
+ import { formating as le } from "./utils/index.js";
81
+ import { EProgressBarPosition as ce } from "./components/Slider/constants.js";
82
+ import { parseDate as ge } from "./utils/formating/Date.js";
82
83
  import './assets/index.css';export {
83
- co as Accordion,
84
- ho as AccordionItem,
85
- Ar as Avatar,
84
+ go as Accordion,
85
+ zo as AccordionItem,
86
+ Lr as Avatar,
86
87
  e as Button,
87
- io as CheckboxMimir,
88
- Yo as Chip,
88
+ xo as CheckboxMimir,
89
+ $o as Chip,
89
90
  L as DatePicker,
90
91
  j as Drawer,
91
- go as EAccordionSize,
92
- Lr as EAvatarSize,
92
+ K as Dropdown,
93
+ ho as EAccordionSize,
94
+ wr as EAvatarSize,
93
95
  p as EButtonForm,
94
- a as EButtonSize,
95
- m as EButtonVariantBorderless,
96
+ m as EButtonSize,
97
+ a as EButtonVariantBorderless,
96
98
  i as EButtonVariantDefault,
97
99
  f as EButtonVariantOutline,
98
100
  x as EButtonVariantRound,
99
- $o as EChipSize,
100
- or as EChipVariant,
101
+ rr as EChipSize,
102
+ er as EChipVariant,
101
103
  H as EDrawerPosition,
102
- Nr as EFileItemVariant,
103
- Er as EGosZnakSize,
104
- Sr as EGosZnakType,
105
- fr as EInputRangeSliderBorderState,
106
- xr as EInputRangeSliderPositions,
104
+ Qr as EFileItemVariant,
105
+ lr as EGosZnakSize,
106
+ dr as EGosZnakType,
107
+ nr as EInputRangeSliderBorderState,
108
+ sr as EInputRangeSliderPositions,
107
109
  E as EInputSize,
108
110
  S as EInputStatus,
109
111
  l as EInputVariant,
110
- Tr as ELabelPositions,
111
- jo as ELinkSize,
112
- qo as ELinkVariant,
113
- Xr as EMediaQuery,
114
- w as EMergedButtonVariantRound,
115
- Hr as EMessageShortReplyVariant,
116
- Yr as EMinMediaQuery,
117
- wr as EMultiSelectSearchSize,
118
- Wo as ENotificationBadgeSize,
119
- le as EProgressBarPosition,
120
- ao as ESelectSearchSize,
121
- yr as ESkeletonVariant,
122
- X as EStepColor,
123
- Y as EStepsSize,
124
- Vo as ETabTrailSize,
125
- so as ETagSize,
126
- uo as ETagType,
112
+ Ir as ELabelPositions,
113
+ Ho as ELinkSize,
114
+ Jo as ELinkVariant,
115
+ _r as EMediaQuery,
116
+ v as EMergedButtonVariantRound,
117
+ Kr as EMessageShortReplyVariant,
118
+ $r as EMinMediaQuery,
119
+ Fr as EMultiSelectSearchSize,
120
+ Yo as ENotificationBadgeSize,
121
+ ce as EProgressBarPosition,
122
+ io as ESelectSearchSize,
123
+ Ar as ESkeletonVariant,
124
+ _ as EStepColor,
125
+ $ as EStepsSize,
126
+ Mo as ETabTrailSize,
127
+ Eo as ETagSize,
128
+ So as ETagType,
127
129
  g as ETextAreaInputSize,
128
- bo as EToastPosition,
129
- Uo as EToastVariant,
130
- pr as EUploaderType,
131
- ro as EVoteSize,
132
- sr as GosZnak,
133
- se as Icon,
130
+ Uo as EToastPosition,
131
+ vo as EToastVariant,
132
+ ar as EUploaderType,
133
+ to as EVoteSize,
134
+ Er as GosZnak,
135
+ Ee as Icon,
134
136
  F as Image,
135
137
  s as Input,
136
138
  h as InputPassword,
137
139
  z as InputPhoneNumber,
138
- mr as InputRangeSlider,
139
- Qo as Link,
140
- Fr as ListFiles,
141
- Qr as ListPhotos,
140
+ fr as InputRangeSlider,
141
+ jo as Link,
142
+ Nr as ListFiles,
143
+ jr as ListPhotos,
142
144
  N as Loader,
143
- U as MergedButton,
144
- jr as MessageShortReply,
145
- Ur as MultiSelectSearch,
146
- Jo as NotificationBadge,
145
+ w as MergedButton,
146
+ Hr as MessageShortReply,
147
+ vr as MultiSelectSearch,
148
+ Wo as NotificationBadge,
147
149
  y as OtpInput,
148
- Mo as Pagination,
150
+ Ro as Pagination,
149
151
  A as RadioGroup,
150
- to as SelectSearch,
151
- kr as SkeletonBrick,
152
- Pr as SkeletonCircle,
153
- Br as SkeletonText,
152
+ mo as SelectSearch,
153
+ Br as SkeletonBrick,
154
+ yr as SkeletonCircle,
155
+ Pr as SkeletonText,
154
156
  Q as Slider,
155
- K as Steps,
156
- dr as Switcher,
157
- zo as TabTrail,
158
- xo as Tag,
157
+ X as Steps,
158
+ Tr as Switcher,
159
+ Vo as TabTrail,
160
+ so as Tag,
159
161
  c as TextArea,
160
- So as Timer,
161
- Ro as ToastProvider,
162
- Ir as TwinSwitcher,
163
- er as UniversalUploader,
164
- No as Uploader,
165
- Fo as UploaderFiles,
166
- wo as UploaderPhotos,
167
- $ as Vote,
168
- Ee as formating,
162
+ co as Timer,
163
+ Co as ToastProvider,
164
+ kr as TwinSwitcher,
165
+ pr as UniversalUploader,
166
+ Qo as Uploader,
167
+ No as UploaderFiles,
168
+ Fo as UploaderPhotos,
169
+ ro as Vote,
170
+ le as formating,
169
171
  V as getMaskedInputPhoneValue,
170
172
  P as getUnmaskedInputValue,
171
- ce as parseDate,
172
- ae as useCopyToClipboard,
173
- re as useInterval,
174
- $r as useLockBodyScroll,
175
- Kr as useMediaQuery,
176
- ie as useMergeRefs,
177
- xe as useResizeObserver,
178
- te as useTimer,
179
- Co as useToast
173
+ ge as parseDate,
174
+ ie as useCopyToClipboard,
175
+ te as useInterval,
176
+ re as useLockBodyScroll,
177
+ Xr as useMediaQuery,
178
+ xe as useMergeRefs,
179
+ se as useResizeObserver,
180
+ me as useTimer,
181
+ bo as useToast
180
182
  };