@alfalab/core-components-select 13.2.3 → 13.2.4

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 (228) hide show
  1. package/{Component-8f5f4c7a.d.ts → Component-657dc008.d.ts} +0 -0
  2. package/{Component-8f5f4c7a.js → Component-657dc008.js} +6 -6
  3. package/{Component-01370e34.d.ts → Component-fcb6e20d.d.ts} +0 -0
  4. package/{Component-01370e34.js → Component-fcb6e20d.js} +2 -2
  5. package/Component.js +3 -3
  6. package/Component.responsive.js +5 -5
  7. package/components/arrow/Component.js +1 -1
  8. package/components/arrow/index.css +3 -3
  9. package/components/base-checkmark/Component.js +1 -1
  10. package/components/base-checkmark/index.css +4 -4
  11. package/components/base-option/Component.js +2 -2
  12. package/components/base-option/index.css +11 -11
  13. package/components/base-option/index.js +1 -1
  14. package/components/base-select/Component.js +2 -2
  15. package/components/base-select/index.css +7 -7
  16. package/components/base-select/index.d.ts +1 -1
  17. package/components/base-select/index.js +2 -2
  18. package/components/base-select-mobile/Component.js +5 -5
  19. package/components/base-select-mobile/checkmark/Component.js +3 -3
  20. package/components/base-select-mobile/checkmark/index.css +6 -6
  21. package/components/base-select-mobile/checkmark/index.js +1 -1
  22. package/components/base-select-mobile/index.css +11 -11
  23. package/components/base-select-mobile/index.d.ts +1 -1
  24. package/components/base-select-mobile/index.js +5 -5
  25. package/components/base-select-mobile/options-list/Component.js +2 -2
  26. package/components/base-select-mobile/options-list/index.css +9 -9
  27. package/components/base-select-mobile/options-list/index.js +1 -1
  28. package/components/checkmark/Component.js +3 -3
  29. package/components/checkmark/index.css +8 -8
  30. package/components/checkmark/index.js +1 -1
  31. package/components/field/Component.js +2 -2
  32. package/components/field/index.css +9 -9
  33. package/components/field/index.js +1 -1
  34. package/components/index.js +5 -5
  35. package/components/native-select/Component.js +1 -1
  36. package/components/native-select/index.js +1 -1
  37. package/components/optgroup/Component.js +1 -1
  38. package/components/optgroup/index.css +6 -6
  39. package/components/option/Component.js +3 -3
  40. package/components/option/index.css +20 -20
  41. package/components/option/index.js +2 -2
  42. package/components/options-list/Component.js +2 -2
  43. package/components/options-list/index.css +6 -6
  44. package/components/options-list/index.js +1 -1
  45. package/components/select-mobile/Component.js +5 -5
  46. package/components/select-mobile/index.d.ts +1 -1
  47. package/components/select-mobile/index.js +5 -5
  48. package/components/select-modal-mobile/Component.js +5 -5
  49. package/components/select-modal-mobile/index.d.ts +1 -1
  50. package/components/select-modal-mobile/index.js +5 -5
  51. package/components/virtual-options-list/Component.js +2 -2
  52. package/components/virtual-options-list/index.css +12 -12
  53. package/components/virtual-options-list/index.js +1 -1
  54. package/cssm/{Component-88843cc2.d.ts → Component-e61bd989.d.ts} +0 -0
  55. package/cssm/{Component-88843cc2.js → Component-e61bd989.js} +1 -1
  56. package/cssm/Component.js +1 -1
  57. package/cssm/Component.responsive.js +2 -2
  58. package/cssm/components/base-select-mobile/Component.js +2 -2
  59. package/cssm/components/base-select-mobile/checkmark/Component.js +2 -2
  60. package/cssm/components/base-select-mobile/checkmark/index.js +1 -1
  61. package/cssm/components/base-select-mobile/index.d.ts +1 -1
  62. package/cssm/components/base-select-mobile/index.js +2 -2
  63. package/cssm/components/checkmark/Component.js +2 -2
  64. package/cssm/components/checkmark/index.js +1 -1
  65. package/cssm/components/index.js +2 -2
  66. package/cssm/components/option/Component.js +1 -1
  67. package/cssm/components/option/index.js +1 -1
  68. package/cssm/components/select-mobile/Component.js +2 -2
  69. package/cssm/components/select-mobile/index.d.ts +1 -1
  70. package/cssm/components/select-mobile/index.js +2 -2
  71. package/cssm/components/select-modal-mobile/Component.js +2 -2
  72. package/cssm/components/select-modal-mobile/index.d.ts +1 -1
  73. package/cssm/components/select-modal-mobile/index.js +2 -2
  74. package/cssm/index.js +2 -2
  75. package/cssm/presets/index.js +2 -2
  76. package/cssm/presets/useLazyLoading/hook.js +1 -1
  77. package/cssm/presets/useSelectWithApply/hook.js +2 -2
  78. package/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +2 -2
  79. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  80. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +2 -2
  81. package/cssm/presets/useSelectWithLoading/hook.js +1 -1
  82. package/cssm/responsive.js +2 -2
  83. package/esm/{Component-0b4ed6c1.d.ts → Component-18e9f3c6.d.ts} +0 -0
  84. package/esm/{Component-0b4ed6c1.js → Component-18e9f3c6.js} +6 -6
  85. package/esm/{Component-7af289a2.d.ts → Component-6f353469.d.ts} +0 -0
  86. package/esm/{Component-7af289a2.js → Component-6f353469.js} +2 -2
  87. package/esm/Component.js +3 -3
  88. package/esm/Component.responsive.js +5 -5
  89. package/esm/components/arrow/Component.js +1 -1
  90. package/esm/components/arrow/index.css +3 -3
  91. package/esm/components/base-checkmark/Component.js +1 -1
  92. package/esm/components/base-checkmark/index.css +4 -4
  93. package/esm/components/base-option/Component.js +2 -2
  94. package/esm/components/base-option/index.css +11 -11
  95. package/esm/components/base-option/index.js +1 -1
  96. package/esm/components/base-select/Component.js +2 -2
  97. package/esm/components/base-select/index.css +7 -7
  98. package/esm/components/base-select/index.d.ts +1 -1
  99. package/esm/components/base-select/index.js +2 -2
  100. package/esm/components/base-select-mobile/Component.js +5 -5
  101. package/esm/components/base-select-mobile/checkmark/Component.js +2 -2
  102. package/esm/components/base-select-mobile/checkmark/index.css +6 -6
  103. package/esm/components/base-select-mobile/checkmark/index.js +1 -1
  104. package/esm/components/base-select-mobile/index.css +11 -11
  105. package/esm/components/base-select-mobile/index.d.ts +1 -1
  106. package/esm/components/base-select-mobile/index.js +5 -5
  107. package/esm/components/base-select-mobile/options-list/Component.js +2 -2
  108. package/esm/components/base-select-mobile/options-list/index.css +9 -9
  109. package/esm/components/base-select-mobile/options-list/index.js +1 -1
  110. package/esm/components/checkmark/Component.js +2 -2
  111. package/esm/components/checkmark/index.css +8 -8
  112. package/esm/components/checkmark/index.js +1 -1
  113. package/esm/components/field/Component.js +2 -2
  114. package/esm/components/field/index.css +9 -9
  115. package/esm/components/field/index.js +1 -1
  116. package/esm/components/index.js +5 -5
  117. package/esm/components/native-select/Component.js +1 -1
  118. package/esm/components/native-select/index.js +1 -1
  119. package/esm/components/optgroup/Component.js +1 -1
  120. package/esm/components/optgroup/index.css +6 -6
  121. package/esm/components/option/Component.js +3 -3
  122. package/esm/components/option/index.css +20 -20
  123. package/esm/components/option/index.js +2 -2
  124. package/esm/components/options-list/Component.js +2 -2
  125. package/esm/components/options-list/index.css +6 -6
  126. package/esm/components/options-list/index.js +1 -1
  127. package/esm/components/select-mobile/Component.js +5 -5
  128. package/esm/components/select-mobile/index.d.ts +1 -1
  129. package/esm/components/select-mobile/index.js +5 -5
  130. package/esm/components/select-modal-mobile/Component.js +5 -5
  131. package/esm/components/select-modal-mobile/index.d.ts +1 -1
  132. package/esm/components/select-modal-mobile/index.js +5 -5
  133. package/esm/components/virtual-options-list/Component.js +2 -2
  134. package/esm/components/virtual-options-list/index.css +12 -12
  135. package/esm/components/virtual-options-list/index.js +1 -1
  136. package/esm/index.js +5 -5
  137. package/esm/{intersection-observer-64ad570b.d.ts → intersection-observer-20f7d033.d.ts} +0 -0
  138. package/esm/{intersection-observer-64ad570b.js → intersection-observer-20f7d033.js} +0 -0
  139. package/esm/presets/index.js +5 -5
  140. package/esm/presets/useLazyLoading/hook.js +4 -4
  141. package/esm/presets/useLazyLoading/index.css +2 -2
  142. package/esm/presets/useSelectWithApply/hook.js +5 -5
  143. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +5 -5
  144. package/esm/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  145. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  146. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +5 -5
  147. package/esm/presets/useSelectWithLoading/hook.js +3 -3
  148. package/esm/presets/useSelectWithLoading/index.css +2 -2
  149. package/esm/responsive.js +5 -5
  150. package/esm/{tslib.es6-e195d064.d.ts → tslib.es6-6afe6623.d.ts} +0 -0
  151. package/esm/{tslib.es6-e195d064.js → tslib.es6-6afe6623.js} +0 -0
  152. package/index.js +5 -5
  153. package/{intersection-observer-1891d844.d.ts → intersection-observer-7b18ccf3.d.ts} +0 -0
  154. package/{intersection-observer-1891d844.js → intersection-observer-7b18ccf3.js} +0 -0
  155. package/modern/{Component-f689c416.d.ts → Component-1f9b947f.d.ts} +0 -0
  156. package/modern/{Component-f689c416.js → Component-1f9b947f.js} +5 -5
  157. package/modern/{Component-631f295c.d.ts → Component-5eb0e464.d.ts} +0 -0
  158. package/modern/{Component-631f295c.js → Component-5eb0e464.js} +1 -1
  159. package/modern/Component.js +2 -2
  160. package/modern/Component.responsive.js +4 -4
  161. package/modern/components/arrow/Component.js +1 -1
  162. package/modern/components/arrow/index.css +3 -3
  163. package/modern/components/base-checkmark/Component.js +1 -1
  164. package/modern/components/base-checkmark/index.css +4 -4
  165. package/modern/components/base-option/Component.js +1 -1
  166. package/modern/components/base-option/index.css +11 -11
  167. package/modern/components/base-select/Component.js +1 -1
  168. package/modern/components/base-select/index.css +7 -7
  169. package/modern/components/base-select/index.d.ts +1 -1
  170. package/modern/components/base-select/index.js +1 -1
  171. package/modern/components/base-select-mobile/Component.js +4 -4
  172. package/modern/components/base-select-mobile/checkmark/Component.js +2 -2
  173. package/modern/components/base-select-mobile/checkmark/index.css +6 -6
  174. package/modern/components/base-select-mobile/checkmark/index.js +1 -1
  175. package/modern/components/base-select-mobile/index.css +11 -11
  176. package/modern/components/base-select-mobile/index.d.ts +1 -1
  177. package/modern/components/base-select-mobile/index.js +4 -4
  178. package/modern/components/base-select-mobile/options-list/Component.js +1 -1
  179. package/modern/components/base-select-mobile/options-list/index.css +9 -9
  180. package/modern/components/checkmark/Component.js +2 -2
  181. package/modern/components/checkmark/index.css +8 -8
  182. package/modern/components/checkmark/index.js +1 -1
  183. package/modern/components/field/Component.js +1 -1
  184. package/modern/components/field/index.css +9 -9
  185. package/modern/components/index.js +4 -4
  186. package/modern/components/optgroup/Component.js +1 -1
  187. package/modern/components/optgroup/index.css +6 -6
  188. package/modern/components/option/Component.js +2 -2
  189. package/modern/components/option/index.css +20 -20
  190. package/modern/components/option/index.js +1 -1
  191. package/modern/components/options-list/Component.js +1 -1
  192. package/modern/components/options-list/index.css +6 -6
  193. package/modern/components/select-mobile/Component.js +4 -4
  194. package/modern/components/select-mobile/index.d.ts +1 -1
  195. package/modern/components/select-mobile/index.js +4 -4
  196. package/modern/components/select-modal-mobile/Component.js +4 -4
  197. package/modern/components/select-modal-mobile/index.d.ts +1 -1
  198. package/modern/components/select-modal-mobile/index.js +4 -4
  199. package/modern/components/virtual-options-list/Component.js +1 -1
  200. package/modern/components/virtual-options-list/index.css +12 -12
  201. package/modern/index.js +4 -4
  202. package/modern/{intersection-observer-64ad570b.d.ts → intersection-observer-20f7d033.d.ts} +0 -0
  203. package/modern/{intersection-observer-64ad570b.js → intersection-observer-20f7d033.js} +0 -0
  204. package/modern/presets/index.js +4 -4
  205. package/modern/presets/useLazyLoading/hook.js +3 -3
  206. package/modern/presets/useLazyLoading/index.css +2 -2
  207. package/modern/presets/useSelectWithApply/hook.js +4 -4
  208. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
  209. package/modern/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  210. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  211. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +4 -4
  212. package/modern/presets/useSelectWithLoading/hook.js +2 -2
  213. package/modern/presets/useSelectWithLoading/index.css +2 -2
  214. package/modern/responsive.js +4 -4
  215. package/package.json +2 -2
  216. package/presets/index.js +5 -5
  217. package/presets/useLazyLoading/hook.js +4 -4
  218. package/presets/useLazyLoading/index.css +2 -2
  219. package/presets/useSelectWithApply/hook.js +5 -5
  220. package/presets/useSelectWithApply/options-list-with-apply/Component.js +5 -5
  221. package/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  222. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  223. package/presets/useSelectWithApply/options-list-with-apply/index.js +5 -5
  224. package/presets/useSelectWithLoading/hook.js +3 -3
  225. package/presets/useSelectWithLoading/index.css +2 -2
  226. package/responsive.js +5 -5
  227. /package/{tslib.es6-84fcf750.d.ts → tslib.es6-769894f2.d.ts} +0 -0
  228. /package/{tslib.es6-84fcf750.js → tslib.es6-769894f2.js} +0 -0
@@ -1,14 +1,14 @@
1
- import '../../tslib.es6-e195d064.js';
1
+ import '../../tslib.es6-6afe6623.js';
2
2
  import 'react';
3
3
  import '../../Component.js';
4
4
  import 'classnames';
5
5
  import '@alfalab/icons-glyph/ChevronDownMIcon';
6
- import '../../Component-7af289a2.js';
7
- export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-0b4ed6c1.js';
6
+ import '../../Component-6f353469.js';
7
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-18e9f3c6.js';
8
8
  import '@alfalab/core-components-form-control/esm';
9
9
  import '@alfalab/hooks';
10
10
  import '../../utils.js';
11
- import '@alfalab/core-components/badge';
11
+ import '@alfalab/core-components-badge/esm';
12
12
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
13
13
  import '@alfalab/icons-glyph/CheckmarkMIcon';
14
14
  import '@alfalab/core-components-checkbox/esm';
@@ -16,7 +16,7 @@ import '../../components/options-list/Component.js';
16
16
  import 'react-virtual';
17
17
  import '@alfalab/core-components-scrollbar/esm';
18
18
  import '@alfalab/core-components-skeleton/esm';
19
- import '../../intersection-observer-64ad570b.js';
19
+ import '../../intersection-observer-20f7d033.js';
20
20
  import '../../components/arrow/Component.js';
21
21
  import '../../components/field/Component.js';
22
22
  import '../../components/optgroup/Component.js';
@@ -1,13 +1,13 @@
1
- import '../../../tslib.es6-e195d064.js';
1
+ import '../../../tslib.es6-6afe6623.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-button/esm';
5
5
  import '@alfalab/icons-glyph/ChevronDownMIcon';
6
- import '../../../Component-7af289a2.js';
7
- export { O as OptionsListWithApply } from '../../../Component-0b4ed6c1.js';
6
+ import '../../../Component-6f353469.js';
7
+ export { O as OptionsListWithApply } from '../../../Component-18e9f3c6.js';
8
8
  import '@alfalab/core-components-form-control/esm';
9
9
  import '@alfalab/hooks';
10
- import '@alfalab/core-components/badge';
10
+ import '@alfalab/core-components-badge/esm';
11
11
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
12
12
  import '@alfalab/icons-glyph/CheckmarkMIcon';
13
13
  import '@alfalab/core-components-checkbox/esm';
@@ -32,6 +32,6 @@ import '../../../components/checkmark/Component.js';
32
32
  import '../../../components/base-option/Component.js';
33
33
  import '../../../components/base-checkmark/Component.js';
34
34
  import '@alfalab/core-components-skeleton/esm';
35
- import '../../../intersection-observer-64ad570b.js';
35
+ import '../../../intersection-observer-20f7d033.js';
36
36
  import '../../../components/base-select-mobile/options-list/Component.js';
37
37
  import '@alfalab/core-components-base-modal/esm';
@@ -1,4 +1,4 @@
1
- /* hash: 1p0ct */
1
+ /* hash: 19muv */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-secondary: #e7e9eb;
@@ -25,14 +25,14 @@
25
25
 
26
26
  /* optgroup */
27
27
  }
28
- .select__footer_n6ake {
28
+ .select__footer_z7wrv {
29
29
  background: var(--color-light-bg-primary);
30
30
  padding: var(--gap-s);
31
31
  outline: none
32
32
  }
33
- .select__footer_n6ake > * + * {
33
+ .select__footer_z7wrv > * + * {
34
34
  margin-left: var(--gap-xs);
35
35
  }
36
- .select__withBorder_n6ake {
36
+ .select__withBorder_z7wrv {
37
37
  box-shadow: inset 0 1px 0 var(--color-light-border-secondary);
38
38
  }
@@ -1 +1 @@
1
- export * from "../../../Component-0b4ed6c1";
1
+ export * from "../../../Component-18e9f3c6";
@@ -1,5 +1,5 @@
1
- export { O as OptionsListWithApply } from '../../../Component-0b4ed6c1.js';
2
- import '../../../tslib.es6-e195d064.js';
1
+ export { O as OptionsListWithApply } from '../../../Component-18e9f3c6.js';
2
+ import '../../../tslib.es6-6afe6623.js';
3
3
  import 'react';
4
4
  import '../../../components/arrow/Component.js';
5
5
  import 'classnames';
@@ -9,7 +9,7 @@ import 'downshift';
9
9
  import '@alfalab/core-components-bottom-sheet/esm';
10
10
  import '@alfalab/core-components-modal/esm/mobile';
11
11
  import '../../../Component.js';
12
- import '../../../Component-7af289a2.js';
12
+ import '../../../Component-6f353469.js';
13
13
  import '@juggle/resize-observer';
14
14
  import '@alfalab/core-components-popover/esm';
15
15
  import '@alfalab/hooks';
@@ -20,7 +20,7 @@ import '@alfalab/core-components-form-control/esm';
20
20
  import '../../../components/optgroup/Component.js';
21
21
  import '../../../components/option/Component.js';
22
22
  import '../../../components/base-select-mobile/checkmark/Component.js';
23
- import '@alfalab/core-components/badge';
23
+ import '@alfalab/core-components-badge/esm';
24
24
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
25
25
  import '@alfalab/icons-glyph/CheckmarkMIcon';
26
26
  import '../../../components/checkmark/Component.js';
@@ -31,7 +31,7 @@ import 'react-virtual';
31
31
  import '../../../components/base-option/Component.js';
32
32
  import '../../../components/base-checkmark/Component.js';
33
33
  import '@alfalab/core-components-skeleton/esm';
34
- import '../../../intersection-observer-64ad570b.js';
34
+ import '../../../intersection-observer-20f7d033.js';
35
35
  import '@alfalab/core-components-button/esm';
36
36
  import '../../../components/base-select-mobile/options-list/Component.js';
37
37
  import '@alfalab/core-components-base-modal/esm';
@@ -1,16 +1,16 @@
1
- import { a as __assign } from '../../tslib.es6-e195d064.js';
1
+ import { a as __assign } from '../../tslib.es6-6afe6623.js';
2
2
  import React from 'react';
3
3
  import { Skeleton } from '@alfalab/core-components-skeleton/esm';
4
4
  import { Option } from '../../components/option/Component.js';
5
5
  import 'classnames';
6
6
  import '../../components/base-select-mobile/checkmark/Component.js';
7
- import '@alfalab/core-components/badge';
7
+ import '@alfalab/core-components-badge/esm';
8
8
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
9
9
  import '@alfalab/icons-glyph/CheckmarkMIcon';
10
10
  import '../../components/checkmark/Component.js';
11
11
  import '@alfalab/core-components-checkbox/esm';
12
12
 
13
- var styles = {"skeleton":"select__skeleton_1f99n"};
13
+ var styles = {"skeleton":"select__skeleton_1db6v"};
14
14
  require('./index.css')
15
15
 
16
16
  function useSelectWithLoading(_a) {
@@ -1,5 +1,5 @@
1
- /* hash: cq5kn */
2
- .select__skeleton_1f99n {
1
+ /* hash: azhra */
2
+ .select__skeleton_1db6v {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
package/esm/responsive.js CHANGED
@@ -1,12 +1,12 @@
1
1
  export { SelectResponsive } from './Component.responsive.js';
2
- import './tslib.es6-e195d064.js';
2
+ import './tslib.es6-6afe6623.js';
3
3
  import 'react';
4
4
  import '@alfalab/hooks';
5
5
  import './Component.js';
6
6
  import './components/arrow/Component.js';
7
7
  import 'classnames';
8
8
  import '@alfalab/icons-glyph/ChevronDownMIcon';
9
- import './Component-7af289a2.js';
9
+ import './Component-6f353469.js';
10
10
  import 'react-merge-refs';
11
11
  import '@juggle/resize-observer';
12
12
  import 'downshift';
@@ -18,21 +18,21 @@ import '@alfalab/core-components-form-control/esm';
18
18
  import './components/optgroup/Component.js';
19
19
  import './components/option/Component.js';
20
20
  import './components/base-select-mobile/checkmark/Component.js';
21
- import '@alfalab/core-components/badge';
21
+ import '@alfalab/core-components-badge/esm';
22
22
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
23
23
  import '@alfalab/icons-glyph/CheckmarkMIcon';
24
24
  import './components/checkmark/Component.js';
25
25
  import '@alfalab/core-components-checkbox/esm';
26
26
  import './components/options-list/Component.js';
27
27
  import '@alfalab/core-components-scrollbar/esm';
28
- import './Component-0b4ed6c1.js';
28
+ import './Component-18e9f3c6.js';
29
29
  import '@alfalab/core-components-bottom-sheet/esm';
30
30
  import '@alfalab/core-components-modal/esm/mobile';
31
31
  import 'react-virtual';
32
32
  import './components/base-option/Component.js';
33
33
  import './components/base-checkmark/Component.js';
34
34
  import '@alfalab/core-components-skeleton/esm';
35
- import './intersection-observer-64ad570b.js';
35
+ import './intersection-observer-20f7d033.js';
36
36
  import '@alfalab/core-components-button/esm';
37
37
  import './components/base-select-mobile/options-list/Component.js';
38
38
  import '@alfalab/core-components-base-modal/esm';
package/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  var Component = require('./Component.js');
4
4
  var components_arrow_Component = require('./components/arrow/Component.js');
5
- var components_baseSelect_Component = require('./Component-01370e34.js');
6
- var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-8f5f4c7a.js');
5
+ var components_baseSelect_Component = require('./Component-fcb6e20d.js');
6
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-657dc008.js');
7
7
  var components_field_Component = require('./components/field/Component.js');
8
8
  var components_optgroup_Component = require('./components/optgroup/Component.js');
9
9
  var components_option_Component = require('./components/option/Component.js');
@@ -13,7 +13,7 @@ var components_baseOption_Component = require('./components/base-option/Componen
13
13
  var presets_useSelectWithLoading_hook = require('./presets/useSelectWithLoading/hook.js');
14
14
  var presets_useLazyLoading_hook = require('./presets/useLazyLoading/hook.js');
15
15
  var utils = require('./utils.js');
16
- require('./tslib.es6-84fcf750.js');
16
+ require('./tslib.es6-769894f2.js');
17
17
  require('react');
18
18
  require('classnames');
19
19
  require('@alfalab/icons-glyph/ChevronDownMIcon');
@@ -25,7 +25,7 @@ require('@alfalab/hooks');
25
25
  require('./components/native-select/Component.js');
26
26
  require('@alfalab/core-components-form-control');
27
27
  require('./components/base-select-mobile/checkmark/Component.js');
28
- require('@alfalab/core-components/badge');
28
+ require('@alfalab/core-components-badge');
29
29
  require('@alfalab/icons-glyph/CheckmarkCircleMIcon');
30
30
  require('@alfalab/icons-glyph/CheckmarkMIcon');
31
31
  require('./components/checkmark/Component.js');
@@ -35,7 +35,7 @@ require('@alfalab/core-components-bottom-sheet');
35
35
  require('@alfalab/core-components-modal/mobile');
36
36
  require('react-virtual');
37
37
  require('@alfalab/core-components-skeleton');
38
- require('./intersection-observer-1891d844.js');
38
+ require('./intersection-observer-7b18ccf3.js');
39
39
  require('@alfalab/core-components-button');
40
40
  require('./components/base-checkmark/Component.js');
41
41
  require('./components/base-select-mobile/options-list/Component.js');
@@ -6,7 +6,7 @@ import { useMultipleSelection, useCombobox } from 'downshift';
6
6
  import { BottomSheet } from '@alfalab/core-components-bottom-sheet/modern';
7
7
  import { ModalMobile } from '@alfalab/core-components-modal/modern/mobile';
8
8
  import './Component.js';
9
- import { g as getDataTestId } from './Component-631f295c.js';
9
+ import { g as getDataTestId } from './Component-5eb0e464.js';
10
10
  import { Field } from './components/field/Component.js';
11
11
  import { Optgroup } from './components/optgroup/Component.js';
12
12
  import { Option } from './components/option/Component.js';
@@ -17,11 +17,11 @@ import '@alfalab/hooks';
17
17
  import { processOptions } from './utils.js';
18
18
  import { BaseOption } from './components/base-option/Component.js';
19
19
  import '@alfalab/core-components-skeleton/modern';
20
- import './intersection-observer-64ad570b.js';
20
+ import './intersection-observer-20f7d033.js';
21
21
  import { Button } from '@alfalab/core-components-button/modern';
22
22
  import '@alfalab/icons-glyph/ChevronDownMIcon';
23
23
  import '@alfalab/core-components-form-control/modern';
24
- import '@alfalab/core-components/badge';
24
+ import '@alfalab/core-components-badge/modern';
25
25
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
26
26
  import '@alfalab/icons-glyph/CheckmarkMIcon';
27
27
  import '@alfalab/core-components-checkbox/modern';
@@ -29,7 +29,7 @@ import { BaseCheckmark } from './components/base-checkmark/Component.js';
29
29
  import { Checkmark } from './components/base-select-mobile/checkmark/Component.js';
30
30
  import { OptionsList as OptionsList$1 } from './components/base-select-mobile/options-list/Component.js';
31
31
 
32
- const styles$1 = {"footer":"select__footer_n6ake","withBorder":"select__withBorder_n6ake"};
32
+ const styles$1 = {"footer":"select__footer_z7wrv","withBorder":"select__withBorder_z7wrv"};
33
33
  require('./presets/useSelectWithApply/options-list-with-apply/index.css')
34
34
 
35
35
  const OptionsListWithApply = forwardRef(({ toggleMenu, OptionsList: OptionsList$1 = OptionsList, getOptionProps: defaultGetOptionProps, showClear = true, selectedDraft = [], flatOptions = [], onApply = () => null, onClear = () => null, onClose = () => null, visibleOptions = 5, ...restProps }, ref) => {
@@ -142,7 +142,7 @@ function useSelectWithApply({ options, selected, onChange = () => null, OptionsL
142
142
  };
143
143
  }
144
144
 
145
- const styles = {"component":"select__component_1v16k","popoverInner":"select__popoverInner_1v16k","sheet":"select__sheet_1v16k","sheetContent":"select__sheetContent_1v16k","sheetContainer":"select__sheetContainer_1v16k","block":"select__block_1v16k","option":"select__option_1v16k","optionGroup":"select__optionGroup_1v16k"};
145
+ const styles = {"component":"select__component_81oqa","popoverInner":"select__popoverInner_81oqa","sheet":"select__sheet_81oqa","sheetContent":"select__sheetContent_81oqa","sheetContainer":"select__sheetContainer_81oqa","block":"select__block_81oqa","option":"select__option_81oqa","optionGroup":"select__optionGroup_81oqa"};
146
146
  require('./components/base-select-mobile/index.css')
147
147
 
148
148
  const BaseSelectMobile = forwardRef(({ dataTestId, className, fieldClassName, optionsListClassName, optionClassName, optionGroupClassName, optionsListProps, options, autocomplete = false, multiple = false, allowUnselect = false, disabled = false, closeOnSelect = !multiple, circularNavigation = false, defaultOpen = false, open: openProp, name, id, selected, size = 'm', optionsSize = 'm', error, hint, block, label, labelView, placeholder, fieldProps = {}, optionProps = {}, valueRenderer, onChange, onOpen, onFocus, Arrow: Arrow$1 = Arrow, Field: Field$1 = Field, Optgroup: Optgroup$1 = Optgroup, Option: Option$1 = Option, OptionsList = OptionsList$1, swipeable, footer, isBottomSheet, bottomSheetProps, }, ref) => {
@@ -13,7 +13,7 @@ const getDataTestId = (dataTestId, element) => {
13
13
  return dataTestId ? `${dataTestId}${elementPart}` : undefined;
14
14
  };
15
15
 
16
- const styles = {"component":"select__component_1r4kz","popoverInner":"select__popoverInner_1r4kz","optionsList":"select__optionsList_1r4kz","nativeSelect":"select__nativeSelect_1r4kz","block":"select__block_1r4kz"};
16
+ const styles = {"component":"select__component_1t2nr","popoverInner":"select__popoverInner_1t2nr","optionsList":"select__optionsList_1t2nr","nativeSelect":"select__nativeSelect_1t2nr","block":"select__block_1t2nr"};
17
17
  require('./components/base-select/index.css')
18
18
 
19
19
  const BaseSelect = forwardRef(({ dataTestId, className, fieldClassName, optionsListClassName, optionClassName, popperClassName, options, autocomplete = false, multiple = false, allowUnselect = false, disabled = false, closeOnSelect = !multiple, circularNavigation = false, nativeSelect = false, defaultOpen = false, open: openProp, popoverPosition = 'bottom-start', preventFlip = true, optionsListWidth = 'content', name, id, selected, size = 's', optionsSize = size, error, hint, block, label, labelView, placeholder, fieldProps = {}, optionsListProps = {}, optionProps = {}, valueRenderer, onChange, onOpen, onFocus, onBlur, onScroll, Arrow, Field = () => null, OptionsList = () => null, Optgroup = () => null, Option = () => null, updatePopover, zIndexPopover, showEmptyOptionsList = false, visibleOptions, }, ref) => {
@@ -1,6 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { Arrow } from './components/arrow/Component.js';
3
- import { B as BaseSelect } from './Component-631f295c.js';
3
+ import { B as BaseSelect } from './Component-5eb0e464.js';
4
4
  import { Field } from './components/field/Component.js';
5
5
  import { Optgroup } from './components/optgroup/Component.js';
6
6
  import { Option } from './components/option/Component.js';
@@ -16,7 +16,7 @@ import './utils.js';
16
16
  import './components/native-select/Component.js';
17
17
  import '@alfalab/core-components-form-control/modern';
18
18
  import './components/base-select-mobile/checkmark/Component.js';
19
- import '@alfalab/core-components/badge';
19
+ import '@alfalab/core-components-badge/modern';
20
20
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
21
21
  import '@alfalab/icons-glyph/CheckmarkMIcon';
22
22
  import './components/checkmark/Component.js';
@@ -3,10 +3,10 @@ import { useMedia } from '@alfalab/hooks';
3
3
  import { Select } from './Component.js';
4
4
  import 'classnames';
5
5
  import '@alfalab/icons-glyph/ChevronDownMIcon';
6
- import './Component-631f295c.js';
7
- import { S as SelectMobile } from './Component-f689c416.js';
6
+ import './Component-5eb0e464.js';
7
+ import { S as SelectMobile } from './Component-1f9b947f.js';
8
8
  import '@alfalab/core-components-form-control/modern';
9
- import '@alfalab/core-components/badge';
9
+ import '@alfalab/core-components-badge/modern';
10
10
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
11
11
  import '@alfalab/icons-glyph/CheckmarkMIcon';
12
12
  import '@alfalab/core-components-checkbox/modern';
@@ -30,7 +30,7 @@ import '@alfalab/core-components-modal/modern/mobile';
30
30
  import './components/base-option/Component.js';
31
31
  import './components/base-checkmark/Component.js';
32
32
  import '@alfalab/core-components-skeleton/modern';
33
- import './intersection-observer-64ad570b.js';
33
+ import './intersection-observer-20f7d033.js';
34
34
  import '@alfalab/core-components-button/modern';
35
35
  import './components/base-select-mobile/options-list/Component.js';
36
36
  import '@alfalab/core-components-base-modal/modern';
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { ChevronDownMIcon } from '@alfalab/icons-glyph/ChevronDownMIcon';
4
4
 
5
- const styles = {"arrow":"select__arrow_4nipf","open":"select__open_4nipf"};
5
+ const styles = {"arrow":"select__arrow_l6uxo","open":"select__open_l6uxo"};
6
6
  require('./index.css')
7
7
 
8
8
  const Arrow = ({ open, className }) => (React.createElement(ChevronDownMIcon, { className: cn(styles.arrow, className, { [styles.open]: open }) }));
@@ -1,4 +1,4 @@
1
- /* hash: kmaps */
1
+ /* hash: 11d1w */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  }
@@ -24,7 +24,7 @@
24
24
 
25
25
  /* optgroup */
26
26
  }
27
- .select__arrow_4nipf {
27
+ .select__arrow_l6uxo {
28
28
  display: block;
29
29
  width: 24px;
30
30
  height: 24px;
@@ -32,6 +32,6 @@
32
32
 
33
33
  transition: transform 0.15s ease-in-out, opacity 0.2s ease;
34
34
  }
35
- .select__open_4nipf {
35
+ .select__open_l6uxo {
36
36
  transform: var(--arrow-transform);
37
37
  }
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { Checkbox } from '@alfalab/core-components-checkbox/modern';
4
4
  import { CheckmarkMIcon } from '@alfalab/icons-glyph/CheckmarkMIcon';
5
5
 
6
- const styles = {"checkmark":"select__checkmark_oj1la","single":"select__single_oj1la","selected":"select__selected_oj1la"};
6
+ const styles = {"checkmark":"select__checkmark_152dt","single":"select__single_152dt","selected":"select__selected_152dt"};
7
7
  require('./index.css')
8
8
 
9
9
  const BaseCheckmark = ({ selected, disabled = false, className, multiple, }) => {
@@ -1,4 +1,4 @@
1
- /* hash: qyy4m */
1
+ /* hash: 17ppb */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -17,16 +17,16 @@
17
17
 
18
18
  /* optgroup */
19
19
  }
20
- .select__checkmark_oj1la {
20
+ .select__checkmark_152dt {
21
21
  flex-shrink: 0;
22
22
  box-sizing: border-box;
23
23
  }
24
- .select__single_oj1la {
24
+ .select__single_152dt {
25
25
  display: flex;
26
26
  align-items: center;
27
27
  justify-content: center;
28
28
  opacity: 0
29
29
  }
30
- .select__single_oj1la.select__selected_oj1la {
30
+ .select__single_152dt.select__selected_152dt {
31
31
  opacity: 1;
32
32
  }
@@ -4,7 +4,7 @@ import { BaseCheckmark } from '../base-checkmark/Component.js';
4
4
  import '@alfalab/core-components-checkbox/modern';
5
5
  import '@alfalab/icons-glyph/CheckmarkMIcon';
6
6
 
7
- const styles = {"option":"select__option_d8k4i","disabled":"select__disabled_d8k4i","checkmarkBefore":"select__checkmarkBefore_d8k4i","checkmarkAfter":"select__checkmarkAfter_d8k4i","textContent":"select__textContent_d8k4i","mobileTextContent":"select__mobileTextContent_d8k4i","selected":"select__selected_d8k4i","highlighted":"select__highlighted_d8k4i","content":"select__content_d8k4i"};
7
+ const styles = {"option":"select__option_17rlc","disabled":"select__disabled_17rlc","checkmarkBefore":"select__checkmarkBefore_17rlc","checkmarkAfter":"select__checkmarkAfter_17rlc","textContent":"select__textContent_17rlc","mobileTextContent":"select__mobileTextContent_17rlc","selected":"select__selected_17rlc","highlighted":"select__highlighted_17rlc","content":"select__content_17rlc"};
8
8
  require('./index.css')
9
9
 
10
10
  const BaseOption = ({ className, option, children, selected, highlighted, disabled, multiple, Checkmark = BaseCheckmark, checkmarkPosition = multiple ? 'before' : 'after', innerProps, dataTestId, mobile = false, }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1kg18 */
1
+ /* hash: 1njy9 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-bg-secondary: #f3f4f5;
@@ -42,7 +42,7 @@
42
42
 
43
43
  /* optgroup */
44
44
  }
45
- .select__option_d8k4i {
45
+ .select__option_17rlc {
46
46
  font-size: 16px;
47
47
  line-height: 20px;
48
48
  font-weight: 400;
@@ -60,36 +60,36 @@
60
60
  cursor: pointer;
61
61
  min-height: var(--size-s-height)
62
62
  }
63
- .select__option_d8k4i:not(.select__disabled_d8k4i):active {
63
+ .select__option_17rlc:not(.select__disabled_17rlc):active {
64
64
  background: var(--select-option-active-background);
65
65
  color: var(--select-option-active-color);
66
66
  }
67
- .select__option_d8k4i.select__checkmarkBefore_d8k4i {
67
+ .select__option_17rlc.select__checkmarkBefore_17rlc {
68
68
  padding: 0 0 0 var(--gap-s);
69
69
  }
70
- .select__option_d8k4i.select__checkmarkAfter_d8k4i {
70
+ .select__option_17rlc.select__checkmarkAfter_17rlc {
71
71
  padding: 0 var(--gap-s) 0 0;
72
72
  }
73
- .select__option_d8k4i.select__textContent_d8k4i {
73
+ .select__option_17rlc.select__textContent_17rlc {
74
74
  padding: var(--gap-s);
75
75
  }
76
- .select__option_d8k4i.select__mobileTextContent_d8k4i {
76
+ .select__option_17rlc.select__mobileTextContent_17rlc {
77
77
  padding: var(--gap-m);
78
78
  }
79
- .select__selected_d8k4i {
79
+ .select__selected_17rlc {
80
80
  background: var(--select-option-selected-background);
81
81
  color: var(--select-option-selected-color);
82
82
  cursor: default;
83
83
  }
84
- .select__highlighted_d8k4i {
84
+ .select__highlighted_17rlc {
85
85
  background: var(--select-option-hover-background);
86
86
  color: var(--select-option-hover-color);
87
87
  }
88
- .select__disabled_d8k4i {
88
+ .select__disabled_17rlc {
89
89
  cursor: var(--disabled-cursor);
90
90
  background: var(--select-option-disabled-background);
91
91
  color: var(--select-option-disabled-color);
92
92
  }
93
- .select__content_d8k4i {
93
+ .select__content_17rlc {
94
94
  flex: 1;
95
95
  }
@@ -5,6 +5,6 @@ import 'classnames';
5
5
  import 'downshift';
6
6
  import '@alfalab/core-components-popover/modern';
7
7
  import '@alfalab/hooks';
8
- export { B as BaseSelect } from '../../Component-631f295c.js';
8
+ export { B as BaseSelect } from '../../Component-5eb0e464.js';
9
9
  import '../../utils.js';
10
10
  import '../native-select/Component.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1r1qs */
1
+ /* hash: 1ssem */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -34,12 +34,12 @@
34
34
 
35
35
  /* optgroup */
36
36
  }
37
- .select__component_1r4kz {
37
+ .select__component_1t2nr {
38
38
  width: max-content;
39
39
  position: relative;
40
40
  outline: 0;
41
41
  }
42
- .select__popoverInner_1r4kz {
42
+ .select__popoverInner_1t2nr {
43
43
  padding-top: var(--select-options-list-offset);
44
44
  padding-bottom: var(--select-options-list-offset);
45
45
  box-shadow: none;
@@ -48,7 +48,7 @@
48
48
  border-radius: 0;
49
49
  position: relative;
50
50
  }
51
- .select__optionsList_1r4kz {
51
+ .select__optionsList_1t2nr {
52
52
  padding-top: var(--select-options-list-top-padding);
53
53
  padding-bottom: var(--select-options-list-bottom-padding);
54
54
  box-shadow: var(--select-options-list-box-shadow);
@@ -57,7 +57,7 @@
57
57
  overflow: hidden;
58
58
  will-change: transform;
59
59
  }
60
- .select__nativeSelect_1r4kz {
60
+ .select__nativeSelect_1t2nr {
61
61
  opacity: 0;
62
62
  overflow: hidden;
63
63
  position: absolute;
@@ -71,12 +71,12 @@
71
71
  cursor: pointer;
72
72
  z-index: 1;
73
73
  }
74
- .select__block_1r4kz {
74
+ .select__block_1t2nr {
75
75
  width: 100%;
76
76
  }
77
77
  /* width: max-content; fix for IE */
78
78
  @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
79
- .select__component_1r4kz {
79
+ .select__component_1t2nr {
80
80
  float: left;
81
81
  clear: left;
82
82
  }
@@ -1 +1 @@
1
- export * from "../../Component-631f295c";
1
+ export * from "../../Component-5eb0e464";
@@ -1,4 +1,4 @@
1
- export { B as BaseSelect } from '../../Component-631f295c.js';
1
+ export { B as BaseSelect } from '../../Component-5eb0e464.js';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import '@juggle/resize-observer';
@@ -6,8 +6,8 @@ import '@alfalab/core-components-bottom-sheet/modern';
6
6
  import '@alfalab/core-components-modal/modern/mobile';
7
7
  import '../../Component.js';
8
8
  import '../arrow/Component.js';
9
- import '../../Component-631f295c.js';
10
- export { B as BaseSelectMobile } from '../../Component-f689c416.js';
9
+ import '../../Component-5eb0e464.js';
10
+ export { B as BaseSelectMobile } from '../../Component-1f9b947f.js';
11
11
  import '../field/Component.js';
12
12
  import '../optgroup/Component.js';
13
13
  import '../option/Component.js';
@@ -18,7 +18,7 @@ import '@alfalab/hooks';
18
18
  import '../../utils.js';
19
19
  import '../base-option/Component.js';
20
20
  import '@alfalab/core-components-skeleton/modern';
21
- import '../../intersection-observer-64ad570b.js';
21
+ import '../../intersection-observer-20f7d033.js';
22
22
  import '../base-checkmark/Component.js';
23
23
  import './checkmark/Component.js';
24
24
  import './options-list/Component.js';
@@ -27,7 +27,7 @@ import '@juggle/resize-observer';
27
27
  import '@alfalab/core-components-popover/modern';
28
28
  import '../native-select/Component.js';
29
29
  import '@alfalab/core-components-form-control/modern';
30
- import '@alfalab/core-components/badge';
30
+ import '@alfalab/core-components-badge/modern';
31
31
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
32
32
  import '@alfalab/icons-glyph/CheckmarkMIcon';
33
33
  import '../checkmark/Component.js';
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { Badge } from '@alfalab/core-components/badge';
3
+ import { Badge } from '@alfalab/core-components-badge/modern';
4
4
  import { CheckmarkCircleMIcon } from '@alfalab/icons-glyph/CheckmarkCircleMIcon';
5
5
  import { CheckmarkMIcon } from '@alfalab/icons-glyph/CheckmarkMIcon';
6
6
 
7
- const styles = {"checkmark":"select__checkmark_34q60","selected":"select__selected_34q60","displayIcon":"select__displayIcon_34q60","displayBadge":"select__displayBadge_34q60"};
7
+ const styles = {"checkmark":"select__checkmark_16ne8","selected":"select__selected_16ne8","displayIcon":"select__displayIcon_16ne8","displayBadge":"select__displayBadge_16ne8"};
8
8
  require('./index.css')
9
9
 
10
10
  const Checkmark = ({ selected, className }) => (React.createElement("div", { className: cn(styles.checkmark, className, {