mimir-ui-kit 1.34.2 → 1.34.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. package/dist/{Input-ChCIy5oY.js → Input-DspsU5F4.js} +27 -23
  2. package/dist/{ProgressBar-CwLwhaeM.js → ProgressBar-DWKyrXzd.js} +23 -23
  3. package/dist/assets/Accordion.css +1 -1
  4. package/dist/assets/AccordionItem.css +1 -1
  5. package/dist/assets/Avatar.css +1 -0
  6. package/dist/assets/Button.css +1 -1
  7. package/dist/assets/CheckboxMimir.css +1 -1
  8. package/dist/assets/Chip.css +1 -1
  9. package/dist/assets/Drawer.css +1 -1
  10. package/dist/assets/GosZnak.css +1 -0
  11. package/dist/assets/Input.css +1 -1
  12. package/dist/assets/InputPassword.css +1 -1
  13. package/dist/assets/InputRangeSlider.css +1 -0
  14. package/dist/assets/Link.css +1 -1
  15. package/dist/assets/ListFiles.css +1 -1
  16. package/dist/assets/ListPhotos.css +1 -1
  17. package/dist/assets/MergedButton.css +1 -1
  18. package/dist/assets/NotificationBadge.css +1 -1
  19. package/dist/assets/OtpInput.css +1 -1
  20. package/dist/assets/Pagination.css +1 -1
  21. package/dist/assets/ProgressBar2.css +1 -1
  22. package/dist/assets/RadioGroup.css +1 -1
  23. package/dist/assets/SelectSearch.css +1 -1
  24. package/dist/assets/SkeletonCircle.css +1 -0
  25. package/dist/assets/SkeletonText.css +1 -0
  26. package/dist/assets/Slider.css +1 -1
  27. package/dist/assets/Switcher.css +1 -0
  28. package/dist/assets/TabTrail.css +1 -1
  29. package/dist/assets/Tag.css +1 -1
  30. package/dist/assets/TextArea.css +1 -1
  31. package/dist/assets/Timer.css +1 -1
  32. package/dist/assets/TwinSwitcher.css +1 -0
  33. package/dist/assets/Uploader.css +1 -1
  34. package/dist/assets/UploaderPhotos.css +1 -1
  35. package/dist/assets/Vote.css +1 -1
  36. package/dist/assets/index.css +1 -1
  37. package/dist/assets/styles.css +1 -1
  38. package/dist/assets/variant.css +1 -0
  39. package/dist/components/Accordion/Accordion.js +24 -16
  40. package/dist/components/Accordion/AccordionItem/AccordionItem.js +3 -3
  41. package/dist/components/AnchorLink/Link.js +9 -9
  42. package/dist/components/Avatar/Avatar.d.ts +3 -0
  43. package/dist/components/Avatar/Avatar.js +62 -0
  44. package/dist/components/Avatar/constants.d.ts +5 -0
  45. package/dist/components/Avatar/constants.js +9 -0
  46. package/dist/components/Avatar/index.d.ts +3 -0
  47. package/dist/components/Avatar/index.js +6 -0
  48. package/dist/components/Avatar/types.d.ts +10 -0
  49. package/dist/components/Button/Button.js +33 -33
  50. package/dist/components/CheckboxMimir/CheckboxMimir.js +16 -19
  51. package/dist/components/Chip/Chip.js +12 -12
  52. package/dist/components/DatePicker/DatePicker.d.ts +36 -18
  53. package/dist/components/DatePicker/DatePicker.js +46 -6
  54. package/dist/components/DatePicker/DatePickerModal.js +78 -62
  55. package/dist/components/DatePicker/MonthPickerModal.js +14 -6
  56. package/dist/components/DatePicker/YearPickerModal.js +2 -2
  57. package/dist/components/DatePicker/utils.d.ts +2 -0
  58. package/dist/components/DatePicker/utils.js +16 -0
  59. package/dist/components/Drawer/Drawer.d.ts +1 -1
  60. package/dist/components/Drawer/Drawer.js +20 -20
  61. package/dist/components/GosZnak/GosZnak.d.ts +4 -0
  62. package/dist/components/GosZnak/GosZnak.js +76 -0
  63. package/dist/components/GosZnak/constants.d.ts +11 -0
  64. package/dist/components/GosZnak/constants.js +17 -0
  65. package/dist/components/GosZnak/index.d.ts +3 -0
  66. package/dist/components/GosZnak/index.js +7 -0
  67. package/dist/components/GosZnak/types.d.ts +26 -0
  68. package/dist/components/Input/Input.d.ts +5 -1
  69. package/dist/components/Input/Input.js +1 -1
  70. package/dist/components/Input/constants.d.ts +5 -3
  71. package/dist/components/Input/constants.js +7 -3
  72. package/dist/components/Input/index.d.ts +2 -2
  73. package/dist/components/Input/index.js +3 -2
  74. package/dist/components/Input/types.d.ts +2 -6
  75. package/dist/components/InputPassword/InputPassword.js +8 -8
  76. package/dist/components/InputPhoneNumber/InputPhoneNumber.js +1 -1
  77. package/dist/components/InputRangeSlider/InputRangeSlider.d.ts +3 -0
  78. package/dist/components/InputRangeSlider/InputRangeSlider.js +219 -0
  79. package/dist/components/InputRangeSlider/constants.d.ts +10 -0
  80. package/dist/components/InputRangeSlider/constants.js +18 -0
  81. package/dist/components/InputRangeSlider/index.d.ts +3 -0
  82. package/dist/components/InputRangeSlider/index.js +7 -0
  83. package/dist/components/InputRangeSlider/types.d.ts +33 -0
  84. package/dist/components/ListFiles/ListFiles.js +7 -7
  85. package/dist/components/ListPhotos/ListPhotos.js +4 -4
  86. package/dist/components/MergedButton/MergedButton.js +6 -6
  87. package/dist/components/NotificationBadge/NotificationBadge.js +4 -4
  88. package/dist/components/OtpInput/OtpInput.js +5 -5
  89. package/dist/components/Pagination/Pagination.d.ts +1 -3
  90. package/dist/components/Pagination/Pagination.js +7 -11
  91. package/dist/components/RadioGroup/RadioGroup.js +9 -9
  92. package/dist/components/SelectSearch/SelectSearch.d.ts +18 -2
  93. package/dist/components/SelectSearch/SelectSearch.js +47 -31
  94. package/dist/components/SelectSearch/types.d.ts +2 -4
  95. package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.d.ts +12 -0
  96. package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.js +34 -0
  97. package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.d.ts +9 -0
  98. package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.js +31 -0
  99. package/dist/components/Skeleton/SkeletonText/SkeletonText.d.ts +10 -0
  100. package/dist/components/Skeleton/SkeletonText/SkeletonText.js +49 -0
  101. package/dist/components/Skeleton/constants.d.ts +5 -0
  102. package/dist/components/Skeleton/constants.js +9 -0
  103. package/dist/components/Skeleton/index.d.ts +4 -0
  104. package/dist/components/Skeleton/index.js +10 -0
  105. package/dist/components/Slider/Slider.d.ts +3 -2
  106. package/dist/components/Slider/Slider.js +12 -10
  107. package/dist/components/Steps/Steps.d.ts +4 -0
  108. package/dist/components/Steps/Steps.js +5 -1
  109. package/dist/components/Switcher/Switcher.d.ts +3 -0
  110. package/dist/components/Switcher/Switcher.js +118 -0
  111. package/dist/components/Switcher/constants.d.ts +4 -0
  112. package/dist/components/Switcher/constants.js +8 -0
  113. package/dist/components/Switcher/index.d.ts +3 -0
  114. package/dist/components/Switcher/index.js +6 -0
  115. package/dist/components/Switcher/types.d.ts +30 -0
  116. package/dist/components/TabTrail/TabTrail.d.ts +8 -0
  117. package/dist/components/TabTrail/TabTrail.js +33 -17
  118. package/dist/components/Tag/Tag.js +6 -6
  119. package/dist/components/TextArea/TextArea.js +14 -12
  120. package/dist/components/TextArea/hooks.js +4 -0
  121. package/dist/components/Timer/Timer.js +1 -1
  122. package/dist/components/Toasts/ProgressBar.js +1 -1
  123. package/dist/components/Toasts/Toast.js +1 -1
  124. package/dist/components/Toasts/ToastList.js +1 -1
  125. package/dist/components/Toasts/ToastsProvider.js +1 -1
  126. package/dist/components/TwinSwitcher/TwinSwitcher.d.ts +10 -0
  127. package/dist/components/TwinSwitcher/TwinSwitcher.js +65 -0
  128. package/dist/components/TwinSwitcher/index.d.ts +1 -0
  129. package/dist/components/TwinSwitcher/index.js +4 -0
  130. package/dist/components/UniversalUploader/UniversalUploader.js +21 -35
  131. package/dist/components/Uploader/Uploader.js +3 -3
  132. package/dist/components/UploaderFiles/UploaderFiles.js +1 -1
  133. package/dist/components/UploaderPhotos/UploaderPhotos.js +1 -1
  134. package/dist/components/Vote/Vote.d.ts +8 -0
  135. package/dist/components/Vote/Vote.js +6 -4
  136. package/dist/components/index.d.ts +14 -2
  137. package/dist/components/index.js +31 -2
  138. package/dist/field-bS4z9Sdl.js +12 -0
  139. package/dist/icons/Icon.js +1 -1
  140. package/dist/index.js +31 -2
  141. package/dist/{label-BTEGh6O_.js → label-P7Xsi5N7.js} +2 -2
  142. package/dist/styles.module-B9L4B63y.js +40 -0
  143. package/dist/variant.module-BinTBzAV.js +15 -0
  144. package/package.json +1 -1
  145. package/dist/components/Button/types.js +0 -1
  146. package/dist/components/Input/types.js +0 -1
  147. package/dist/components/NotificationBadge/types.js +0 -1
  148. package/dist/components/Pagination/types.js +0 -1
  149. package/dist/components/SelectSearch/types.js +0 -1
  150. package/dist/components/Steps/types.js +0 -1
  151. package/dist/components/Tag/types.js +0 -1
  152. package/dist/components/TextArea/types.js +0 -1
  153. package/dist/components/Toasts/types.js +0 -1
  154. package/dist/components/UniversalUploader/types.js +0 -1
  155. package/dist/components/Vote/types.js +0 -1
  156. package/dist/icons/components/types.js +0 -1
  157. package/dist/styles.module-Ugsf0AOb.js +0 -38
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Button } from "./components/Button/Button.js";
2
2
  import { EButtonForm, EButtonSize, EButtonVariantBorderless, EButtonVariantDefault, EButtonVariantOutline, EButtonVariantRound } from "./components/Button/constants.js";
3
- import { I } from "./Input-ChCIy5oY.js";
4
- import { EInputSize, EInputVariant } from "./components/Input/constants.js";
3
+ import { I } from "./Input-DspsU5F4.js";
4
+ import { EInputSize, EInputStatus, EInputVariant } from "./components/Input/constants.js";
5
5
  import { TextArea } from "./components/TextArea/TextArea.js";
6
6
  import { InputPassword } from "./components/InputPassword/InputPassword.js";
7
7
  import { InputPhoneNumber } from "./components/InputPhoneNumber/InputPhoneNumber.js";
@@ -45,6 +45,19 @@ import { Chip } from "./components/Chip/Chip.js";
45
45
  import { EChipSize, EChipVariant } from "./components/Chip/constants.js";
46
46
  import { UniversalUploader } from "./components/UniversalUploader/UniversalUploader.js";
47
47
  import { EUploaderType } from "./components/UniversalUploader/constants.js";
48
+ import { InputRangeSlider } from "./components/InputRangeSlider/InputRangeSlider.js";
49
+ import { EInputRangeSliderBorderState, EInputRangeSliderPositions } from "./components/InputRangeSlider/constants.js";
50
+ import { GosZnak } from "./components/GosZnak/GosZnak.js";
51
+ import { EGosZnakSize, EGosZnakType } from "./components/GosZnak/constants.js";
52
+ import { Switcher } from "./components/Switcher/Switcher.js";
53
+ import { ELabelPositions } from "./components/Switcher/constants.js";
54
+ import { TwinSwitcher } from "./components/TwinSwitcher/TwinSwitcher.js";
55
+ import { SkeletonBrick } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
56
+ import { SkeletonText } from "./components/Skeleton/SkeletonText/SkeletonText.js";
57
+ import { SkeletonCircle } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
58
+ import { ESkeletonVariant } from "./components/Skeleton/constants.js";
59
+ import { Avatar } from "./components/Avatar/Avatar.js";
60
+ import { EAvatarSize } from "./components/Avatar/constants.js";
48
61
  import { useMediaQuery } from "./hooks/useMediaQuery/useMediaQuery.js";
49
62
  import { EMediaQuery, EMinMediaQuery } from "./hooks/useMediaQuery/constants.js";
50
63
  import { useLockBodyScroll } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
@@ -59,12 +72,14 @@ import { parseDate } from "./utils/formating/Date.js";
59
72
  import './assets/index.css';export {
60
73
  Accordion,
61
74
  AccordionItem,
75
+ Avatar,
62
76
  Button,
63
77
  CheckboxMimir,
64
78
  Chip,
65
79
  DatePicker,
66
80
  Drawer,
67
81
  EAccordionSize,
82
+ EAvatarSize,
68
83
  EButtonForm,
69
84
  EButtonSize,
70
85
  EButtonVariantBorderless,
@@ -74,8 +89,14 @@ import './assets/index.css';export {
74
89
  EChipSize,
75
90
  EChipVariant,
76
91
  EDrawerPosition,
92
+ EGosZnakSize,
93
+ EGosZnakType,
94
+ EInputRangeSliderBorderState,
95
+ EInputRangeSliderPositions,
77
96
  EInputSize,
97
+ EInputStatus,
78
98
  EInputVariant,
99
+ ELabelPositions,
79
100
  ELinkSize,
80
101
  ELinkVariant,
81
102
  EMediaQuery,
@@ -83,6 +104,7 @@ import './assets/index.css';export {
83
104
  EMinMediaQuery,
84
105
  ENotificationBadgeSize,
85
106
  ESelectSearchSize,
107
+ ESkeletonVariant,
86
108
  EStepColor,
87
109
  EStepsSize,
88
110
  ETabTrailSize,
@@ -92,11 +114,13 @@ import './assets/index.css';export {
92
114
  EToastVariant,
93
115
  EUploaderType,
94
116
  EVoteSize,
117
+ GosZnak,
95
118
  Icon,
96
119
  AppImage as Image,
97
120
  I as Input,
98
121
  InputPassword,
99
122
  InputPhoneNumber,
123
+ InputRangeSlider,
100
124
  Link,
101
125
  Loader,
102
126
  MergedButton,
@@ -105,13 +129,18 @@ import './assets/index.css';export {
105
129
  Pagination,
106
130
  RadioGroup,
107
131
  SelectSearch,
132
+ SkeletonBrick,
133
+ SkeletonCircle,
134
+ SkeletonText,
108
135
  Slider,
109
136
  Steps,
137
+ Switcher,
110
138
  TabTrail,
111
139
  Tag,
112
140
  TextArea,
113
141
  Timer,
114
142
  ToastProvider,
143
+ TwinSwitcher,
115
144
  UniversalUploader,
116
145
  Uploader,
117
146
  UploaderPhotos,
@@ -161,10 +161,10 @@ export {
161
161
  U$1 as U,
162
162
  W,
163
163
  a$1 as a,
164
- l$1 as b,
164
+ l as b,
165
165
  f$1 as f,
166
166
  j,
167
- l,
167
+ l$1 as l,
168
168
  p,
169
169
  u,
170
170
  w,
@@ -0,0 +1,40 @@
1
+ import './assets/styles.css';const input = "_input_ot5z6_2";
2
+ const inputBorderControl = "_inputBorderControl_ot5z6_14";
3
+ const editable = "_editable_ot5z6_27";
4
+ const wrapper = "_wrapper_ot5z6_50";
5
+ const active = "_active_ot5z6_56";
6
+ const button = "_button_ot5z6_44";
7
+ const h = "_h_ot5z6_107";
8
+ const b = "_b_ot5z6_44";
9
+ const d = "_d_ot5z6_10";
10
+ const m = "_m_ot5z6_128";
11
+ const a = "_a_ot5z6_56";
12
+ const prev = "_prev_ot5z6_130";
13
+ const orange = "_orange_ot5z6_146";
14
+ const current = "_current_ot5z6_171";
15
+ const monthGrid = "_monthGrid_ot5z6_176";
16
+ const cls = {
17
+ input,
18
+ "input-wrapper": "_input-wrapper_ot5z6_6",
19
+ "date-wrapper": "_date-wrapper_ot5z6_10",
20
+ inputBorderControl,
21
+ editable,
22
+ "button-wrapper": "_button-wrapper_ot5z6_44",
23
+ wrapper,
24
+ active,
25
+ button,
26
+ "field-overlow": "_field-overlow_ot5z6_78",
27
+ "calendar-block": "_calendar-block_ot5z6_84",
28
+ h,
29
+ b,
30
+ d,
31
+ m,
32
+ a,
33
+ prev,
34
+ orange,
35
+ current,
36
+ monthGrid
37
+ };
38
+ export {
39
+ cls as c
40
+ };
@@ -0,0 +1,15 @@
1
+ import './assets/variant.css';const skeleton = "_skeleton_c8ueu_53";
2
+ const white = "_white_c8ueu_57";
3
+ const black = "_black_c8ueu_61";
4
+ const variantCls = {
5
+ skeleton,
6
+ white,
7
+ "wave-white": "_wave-white_c8ueu_1",
8
+ black,
9
+ "wave-black": "_wave-black_c8ueu_1",
10
+ "dark-gray": "_dark-gray_c8ueu_65",
11
+ "wave-dark-gray": "_wave-dark-gray_c8ueu_1"
12
+ };
13
+ export {
14
+ variantCls as v
15
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimir-ui-kit",
3
3
  "private": false,
4
- "version": "1.34.2",
4
+ "version": "1.34.3",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1,38 +0,0 @@
1
- import './assets/styles.css';const input = "_input_fbbrm_2";
2
- const inputBorderControl = "_inputBorderControl_fbbrm_14";
3
- const wrapper = "_wrapper_fbbrm_44";
4
- const active = "_active_fbbrm_50";
5
- const button = "_button_fbbrm_38";
6
- const h = "_h_fbbrm_101";
7
- const b = "_b_fbbrm_38";
8
- const d = "_d_fbbrm_10";
9
- const m = "_m_fbbrm_122";
10
- const a = "_a_fbbrm_50";
11
- const prev = "_prev_fbbrm_124";
12
- const orange = "_orange_fbbrm_140";
13
- const current = "_current_fbbrm_165";
14
- const monthGrid = "_monthGrid_fbbrm_170";
15
- const cls = {
16
- input,
17
- "input-wrapper": "_input-wrapper_fbbrm_6",
18
- "date-wrapper": "_date-wrapper_fbbrm_10",
19
- inputBorderControl,
20
- "button-wrapper": "_button-wrapper_fbbrm_38",
21
- wrapper,
22
- active,
23
- button,
24
- "field-overlow": "_field-overlow_fbbrm_72",
25
- "calendar-block": "_calendar-block_fbbrm_78",
26
- h,
27
- b,
28
- d,
29
- m,
30
- a,
31
- prev,
32
- orange,
33
- current,
34
- monthGrid
35
- };
36
- export {
37
- cls as c
38
- };