mimir-ui-kit 1.38.44 → 1.39.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 (51) hide show
  1. package/dist/assets/stories.css +1 -0
  2. package/dist/assets/styles2.css +1 -0
  3. package/dist/combobox-Dv6-ANkb.js +508 -0
  4. package/dist/components/Dropdown/Dropdown.js +1 -1
  5. package/dist/components/MultiSelectSearch/MultiSelectSearch.js +1 -1
  6. package/dist/components/SelectSearch/SelectSearch.js +1 -1
  7. package/dist/components/Table/ColumnOrderSettings.d.ts +18 -0
  8. package/dist/components/Table/ColumnOrderSettings.js +177 -0
  9. package/dist/components/Table/Table.d.ts +3 -0
  10. package/dist/components/Table/Table.js +204 -0
  11. package/dist/components/Table/TableBody.d.ts +5 -0
  12. package/dist/components/Table/TableBody.js +109 -0
  13. package/dist/components/Table/TableCard.d.ts +5 -0
  14. package/dist/components/Table/TableCard.js +45 -0
  15. package/dist/components/Table/TableCardsView.d.ts +5 -0
  16. package/dist/components/Table/TableCardsView.js +84 -0
  17. package/dist/components/Table/TableFilters.d.ts +12 -0
  18. package/dist/components/Table/TableFilters.js +165 -0
  19. package/dist/components/Table/TableHeader.d.ts +3 -0
  20. package/dist/components/Table/TableHeader.js +70 -0
  21. package/dist/components/Table/TableRow.d.ts +5 -0
  22. package/dist/components/Table/TableRow.js +76 -0
  23. package/dist/components/Table/TableScrollButtons.d.ts +11 -0
  24. package/dist/components/Table/TableScrollButtons.js +35 -0
  25. package/dist/components/Table/constants.d.ts +128 -0
  26. package/dist/components/Table/constants.js +434 -0
  27. package/dist/components/Table/hooks/index.d.ts +4 -0
  28. package/dist/components/Table/hooks/index.js +10 -0
  29. package/dist/components/Table/hooks/useTableInstance.d.ts +3 -0
  30. package/dist/components/Table/hooks/useTableInstance.js +68 -0
  31. package/dist/components/Table/hooks/useTableScroll.d.ts +8 -0
  32. package/dist/components/Table/hooks/useTableScroll.js +54 -0
  33. package/dist/components/Table/hooks/useTableState.d.ts +13 -0
  34. package/dist/components/Table/hooks/useTableState.js +56 -0
  35. package/dist/components/Table/hooks/useTableVirtualization.d.ts +13 -0
  36. package/dist/components/Table/hooks/useTableVirtualization.js +97 -0
  37. package/dist/components/Table/index.d.ts +3 -0
  38. package/dist/components/Table/index.js +10 -0
  39. package/dist/components/Table/types.d.ts +150 -0
  40. package/dist/components/Table/utils.d.ts +4 -0
  41. package/dist/components/Table/utils.js +25 -0
  42. package/dist/components/index.d.ts +2 -0
  43. package/dist/components/index.js +72 -64
  44. package/dist/index-CVk4sixt.js +1862 -0
  45. package/dist/index-D5H8gPPn.js +546 -0
  46. package/dist/index.js +106 -98
  47. package/dist/{portal-D3A00sie.js → portal-C_u5auU1.js} +179 -183
  48. package/dist/stories.module-fud786VB.js +29 -0
  49. package/dist/styles.module--QBQYoA9.js +36 -0
  50. package/package.json +3 -1
  51. package/dist/combobox-BD-GHvMy.js +0 -980
package/dist/index.js CHANGED
@@ -1,17 +1,17 @@
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
- import { I as s } from "./Input-DAmc_HxO.js";
4
- import { EInputSize as l, EInputStatus as E, EInputVariant as S } from "./components/Input/constants.js";
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";
5
5
  import { TextArea as c } from "./components/TextArea/TextArea.js";
6
- import { ETextAreaInputSize as g } from "./components/TextArea/constants.js";
7
- import { InputPassword as z } from "./components/InputPassword/InputPassword.js";
8
- import { InputPhoneNumber as h } from "./components/InputPhoneNumber/InputPhoneNumber.js";
9
- import { getMaskedInputPhoneValue as B, getUnmaskedInputValue as P } from "./components/InputPhoneNumber/utils.js";
10
- import { OtpInput as y } from "./components/OtpInput/OtpInput.js";
11
- import { RadioGroup as R } from "./components/RadioGroup/RadioGroup.js";
12
- import { DatePicker as C } from "./components/DatePicker/DatePicker.js";
13
- import { MergedButton as b } from "./components/MergedButton/MergedButton.js";
14
- import { EMergedButtonVariantRound as v } from "./components/MergedButton/constants.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 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";
13
+ import { MergedButton as D } from "./components/MergedButton/MergedButton.js";
14
+ import { EMergedButtonVariantRound as w } 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";
@@ -25,19 +25,19 @@ import { Vote as to } from "./components/Vote/Vote.js";
25
25
  import { EVoteSize as ao } from "./components/Vote/constants.js";
26
26
  import { SelectSearch as io } from "./components/SelectSearch/SelectSearch.js";
27
27
  import { ESelectSearchSize as xo } from "./components/SelectSearch/constants.js";
28
- import { CheckboxMimir as so } from "./components/CheckboxMimir/CheckboxMimir.js";
29
- import { Tag as lo } from "./components/Tag/Tag.js";
28
+ import { CheckboxMimir as lo } from "./components/CheckboxMimir/CheckboxMimir.js";
29
+ import { Tag as Eo } from "./components/Tag/Tag.js";
30
30
  import { ETagSize as So, ETagType as co } from "./components/Tag/constants.js";
31
- import { Timer as go } from "./components/Timer/Timer.js";
32
- import { Accordion as zo } from "./components/Accordion/Accordion.js";
33
- import { EAccordionSize as ho } from "./components/Accordion/constants.js";
34
- import { AccordionItem as Bo } from "./components/Accordion/AccordionItem/AccordionItem.js";
35
- import { TabTrail as Mo } from "./components/TabTrail/TabTrail.js";
36
- import { ETabTrailSize as Lo } from "./components/TabTrail/constants.js";
37
- import { Pagination as Ao } from "./components/Pagination/Pagination.js";
38
- import { ToastProvider as Uo } from "./components/Toasts/ToastsProvider.js";
39
- import { useToast as wo } from "./components/Toasts/hooks.js";
40
- import { EToastPosition as Do, EToastVariant as Fo } from "./components/Toasts/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
41
  import { UploaderPhotos as No } from "./components/UploaderPhotos/UploaderPhotos.js";
42
42
  import { UploaderFiles as Qo } from "./components/UploaderFiles/UploaderFiles.js";
43
43
  import { EUploaderFilesVariant as jo } from "./components/UploaderFiles/constants.js";
@@ -50,18 +50,18 @@ import { Chip as tr } from "./components/Chip/Chip.js";
50
50
  import { EChipSize as ar, EChipVariant as mr } from "./components/Chip/constants.js";
51
51
  import { UniversalUploader as fr } from "./components/UniversalUploader/UniversalUploader.js";
52
52
  import { EUploaderType as nr } from "./components/UniversalUploader/constants.js";
53
- import { InputRangeSlider as ur } from "./components/InputRangeSlider/InputRangeSlider.js";
54
- import { EInputRangeSliderBorderState as Er, EInputRangeSliderPositions as Sr } from "./components/InputRangeSlider/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
55
  import { GosZnak as cr } from "./components/GosZnak/GosZnak.js";
56
- import { EGosZnakSize as gr, EGosZnakType as Ir } from "./components/GosZnak/constants.js";
57
- import { Switcher as Vr } from "./components/Switcher/Switcher.js";
58
- import { ELabelPositions as kr } from "./components/Switcher/constants.js";
59
- import { TwinSwitcher as Pr } from "./components/TwinSwitcher/TwinSwitcher.js";
60
- import { SkeletonBrick as yr } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
61
- import { SkeletonText as Rr } from "./components/Skeleton/SkeletonText/SkeletonText.js";
62
- import { SkeletonCircle as Cr } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
63
- import { ESkeletonVariant as br } from "./components/Skeleton/constants.js";
64
- import { Avatar as vr } from "./components/Avatar/Avatar.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
65
  import { EAvatarSize as Fr } from "./components/Avatar/constants.js";
66
66
  import { MultiSelectSearch as Nr } from "./components/MultiSelectSearch/MultiSelectSearch.js";
67
67
  import { EMultiSelectSearchSize as Qr } from "./components/MultiSelectSearch/constants.js";
@@ -70,30 +70,32 @@ import { EFileItemVariant as Hr } from "./components/ListFiles/constants.js";
70
70
  import { ListPhotos as Kr } from "./components/ListPhotos/ListPhotos.js";
71
71
  import { MessageShortReply as Xr } from "./components/MessageShortReply/MessageShortReply.js";
72
72
  import { EMessageShortReplyVariant as _r } from "./components/MessageShortReply/constants.js";
73
- import { useMediaQuery as oe } from "./hooks/useMediaQuery/useMediaQuery.js";
74
- import { EMediaQuery as ee, EMinMediaQuery as te } from "./hooks/useMediaQuery/constants.js";
75
- import { useLockBodyScroll as ae } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
76
- import { useInterval as ie } from "./hooks/useInterval/useInterval.js";
77
- import { useTimer as xe } from "./hooks/useTimer/index.js";
78
- import { useCopyToClipboard as se } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
79
- import { useMergeRefs as le } from "./hooks/useMergeRefs/useMergeRefs.js";
80
- import { useResizeObserver as Se } from "./hooks/useResizeObserver/useResizeObserver.js";
81
- import { Icon as ce } from "./icons/Icon.js";
82
- import { formating as ge } from "./utils/index.js";
83
- import { default as ze } from "./components/Slider/Slider.js";
84
- import { EProgressBarPosition as he } from "./components/Slider/constants.js";
85
- import { parseDate as Be } from "./utils/formating/Date.js";
73
+ import { Table as oe } 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 { 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";
86
88
  import './assets/index.css';export {
87
- zo as Accordion,
88
- Bo as AccordionItem,
89
- vr as Avatar,
89
+ Vo as Accordion,
90
+ ko as AccordionItem,
91
+ wr as Avatar,
90
92
  e as Button,
91
- so as CheckboxMimir,
93
+ lo as CheckboxMimir,
92
94
  tr as Chip,
93
- C as DatePicker,
95
+ A as DatePicker,
94
96
  H as Drawer,
95
97
  X as Dropdown,
96
- ho as EAccordionSize,
98
+ Bo as EAccordionSize,
97
99
  Fr as EAvatarSize,
98
100
  p as EButtonForm,
99
101
  a as EButtonSize,
@@ -105,84 +107,90 @@ import './assets/index.css';export {
105
107
  mr as EChipVariant,
106
108
  K as EDrawerPosition,
107
109
  Hr as EFileItemVariant,
108
- gr as EGosZnakSize,
109
- Ir as EGosZnakType,
110
- Er as EInputRangeSliderBorderState,
110
+ Ir as EGosZnakSize,
111
+ gr as EGosZnakType,
112
+ ur as EInputRangeSliderBorderState,
111
113
  Sr as EInputRangeSliderPositions,
112
- l as EInputSize,
113
- E as EInputStatus,
114
+ E as EInputSize,
115
+ u as EInputStatus,
114
116
  S as EInputVariant,
115
- kr as ELabelPositions,
117
+ hr as ELabelPositions,
116
118
  Xo as ELinkSize,
117
119
  Yo as ELinkVariant,
118
120
  Q as ELoaderSize,
119
- ee as EMediaQuery,
120
- v as EMergedButtonVariantRound,
121
+ ne as EMediaQuery,
122
+ w as EMergedButtonVariantRound,
121
123
  _r as EMessageShortReplyVariant,
122
- te as EMinMediaQuery,
124
+ le as EMinMediaQuery,
123
125
  Qr as EMultiSelectSearchSize,
124
126
  rr as ENotificationBadgeSize,
125
- he as EProgressBarPosition,
127
+ Re as EProgressBarPosition,
126
128
  xo as ESelectSearchSize,
127
- br as ESkeletonVariant,
129
+ Dr as ESkeletonVariant,
130
+ ee as ESortDirection,
128
131
  oo as EStepColor,
129
132
  ro as EStepsSize,
130
- Lo as ETabTrailSize,
133
+ yo as ETabTrailSize,
134
+ te as ETableDisplayMode,
135
+ pe as ETableScrollButtonVariant,
136
+ ae as ETableScrollIconName,
137
+ me as ETableVariant,
131
138
  So as ETagSize,
132
139
  co as ETagType,
133
- g as ETextAreaInputSize,
134
- Do as EToastPosition,
140
+ I as ETextAreaInputSize,
141
+ vo as EToastPosition,
135
142
  Fo as EToastVariant,
136
143
  jo as EUploaderFilesVariant,
137
144
  nr as EUploaderType,
138
145
  ao as EVoteSize,
139
146
  cr as GosZnak,
140
- ce as Icon,
147
+ ke as Icon,
141
148
  F as Image,
142
- s as Input,
143
- z as InputPassword,
144
- h as InputPhoneNumber,
145
- ur as InputRangeSlider,
149
+ l as Input,
150
+ V as InputPassword,
151
+ B as InputPhoneNumber,
152
+ sr as InputRangeSlider,
146
153
  Ko as Link,
147
154
  jr as ListFiles,
148
155
  Kr as ListPhotos,
149
156
  N as Loader,
150
- b as MergedButton,
157
+ D as MergedButton,
151
158
  Xr as MessageShortReply,
152
159
  Nr as MultiSelectSearch,
153
160
  $o as NotificationBadge,
154
- y as OtpInput,
155
- Ao as Pagination,
156
- R as RadioGroup,
161
+ b as OtpInput,
162
+ Ro as Pagination,
163
+ L as RadioGroup,
157
164
  io as SelectSearch,
158
- yr as SkeletonBrick,
159
- Cr as SkeletonCircle,
160
- Rr as SkeletonText,
161
- ze as Slider,
165
+ br as SkeletonBrick,
166
+ Ar as SkeletonCircle,
167
+ Lr as SkeletonText,
168
+ ye as Slider,
162
169
  j as SliderLazy,
163
170
  _ as Steps,
164
- Vr as Switcher,
165
- Mo as TabTrail,
166
- lo as Tag,
171
+ zr as Switcher,
172
+ Po as TabTrail,
173
+ oe as Table,
174
+ Eo as Tag,
167
175
  c as TextArea,
168
- go as Timer,
169
- Uo as ToastProvider,
170
- Pr as TwinSwitcher,
176
+ Io as Timer,
177
+ Co as ToastProvider,
178
+ Mr as TwinSwitcher,
171
179
  fr as UniversalUploader,
172
180
  Ho as Uploader,
173
181
  Qo as UploaderFiles,
174
182
  No as UploaderPhotos,
175
183
  to as Vote,
176
- ge as formating,
177
- B as getMaskedInputPhoneValue,
178
- P as getUnmaskedInputValue,
179
- Be as parseDate,
180
- se as useCopyToClipboard,
181
- ie as useInterval,
182
- ae as useLockBodyScroll,
183
- oe as useMediaQuery,
184
- le as useMergeRefs,
185
- Se as useResizeObserver,
186
- xe as useTimer,
187
- wo as useToast
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
188
196
  };