@alfalab/core-components-select 11.1.0 → 11.1.3

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 (190) hide show
  1. package/{Component-2d929cd7.d.ts → Component-71a0443c.d.ts} +0 -0
  2. package/{Component-2d929cd7.js → Component-71a0443c.js} +2 -2
  3. package/{esm/Component-c1c1bbe8.d.ts → Component-9bccd942.d.ts} +5 -105
  4. package/{Component-d79cb1f7.js → Component-9bccd942.js} +5 -5
  5. package/Component-afce40e0.d.ts +73 -0
  6. package/Component.js +2 -2
  7. package/Component.mobile-3fe0d3e6.d.ts +56 -0
  8. package/Context-c2e6f1b2.d.ts +4 -0
  9. package/components/arrow/Component.js +1 -1
  10. package/components/arrow/index.css +3 -3
  11. package/components/base-select/Component.js +2 -2
  12. package/components/base-select/index.css +7 -7
  13. package/components/base-select/index.d.ts +1 -1
  14. package/components/base-select/index.js +2 -2
  15. package/components/base-select-mobile/Component.js +4 -4
  16. package/components/base-select-mobile/checkmark/Component.js +1 -1
  17. package/components/base-select-mobile/checkmark/index.css +4 -4
  18. package/components/base-select-mobile/index.css +11 -11
  19. package/components/base-select-mobile/index.d.ts +1 -1
  20. package/components/base-select-mobile/index.js +4 -4
  21. package/components/base-select-mobile/options-list/Component.js +2 -2
  22. package/components/base-select-mobile/options-list/index.css +9 -9
  23. package/components/base-select-mobile/options-list/index.js +1 -1
  24. package/components/checkmark/Component.js +1 -1
  25. package/components/checkmark/index.css +7 -7
  26. package/components/field/Component.js +2 -2
  27. package/components/field/index.css +9 -9
  28. package/components/field/index.js +1 -1
  29. package/components/index.js +4 -4
  30. package/components/native-select/Component.js +1 -1
  31. package/components/native-select/index.js +1 -1
  32. package/components/optgroup/Component.js +1 -1
  33. package/components/optgroup/index.css +6 -6
  34. package/components/option/Component.js +2 -2
  35. package/components/option/index.css +20 -20
  36. package/components/option/index.js +1 -1
  37. package/components/options-list/Component.js +2 -2
  38. package/components/options-list/index.css +6 -6
  39. package/components/options-list/index.js +1 -1
  40. package/components/select-mobile/Component.js +4 -4
  41. package/components/select-mobile/index.d.ts +1 -1
  42. package/components/select-mobile/index.js +4 -4
  43. package/components/select-modal-mobile/Component.js +4 -4
  44. package/components/select-modal-mobile/index.d.ts +1 -1
  45. package/components/select-modal-mobile/index.js +4 -4
  46. package/components/virtual-options-list/Component.js +2 -2
  47. package/components/virtual-options-list/index.css +12 -12
  48. package/components/virtual-options-list/index.js +1 -1
  49. package/cssm/Component-26c7067e.d.ts +5 -105
  50. package/cssm/Component-afce40e0.d.ts +73 -0
  51. package/cssm/Component.mobile-3fe0d3e6.d.ts +56 -0
  52. package/cssm/Context-c2e6f1b2.d.ts +4 -0
  53. package/cssm/index-3fe0d3e6.d.ts +1 -0
  54. package/esm/{Component-bc31c3c6.d.ts → Component-19a1d904.d.ts} +0 -0
  55. package/esm/{Component-bc31c3c6.js → Component-19a1d904.js} +2 -2
  56. package/{modern/Component-b90bbc06.d.ts → esm/Component-6a42405c.d.ts} +5 -105
  57. package/esm/{Component-c1c1bbe8.js → Component-6a42405c.js} +5 -5
  58. package/esm/Component-afce40e0.d.ts +73 -0
  59. package/esm/Component.js +2 -2
  60. package/esm/Component.mobile-3fe0d3e6.d.ts +56 -0
  61. package/esm/Context-c2e6f1b2.d.ts +4 -0
  62. package/esm/components/arrow/Component.js +1 -1
  63. package/esm/components/arrow/index.css +3 -3
  64. package/esm/components/base-select/Component.js +2 -2
  65. package/esm/components/base-select/index.css +7 -7
  66. package/esm/components/base-select/index.d.ts +1 -1
  67. package/esm/components/base-select/index.js +2 -2
  68. package/esm/components/base-select-mobile/Component.js +4 -4
  69. package/esm/components/base-select-mobile/checkmark/Component.js +1 -1
  70. package/esm/components/base-select-mobile/checkmark/index.css +4 -4
  71. package/esm/components/base-select-mobile/index.css +11 -11
  72. package/esm/components/base-select-mobile/index.d.ts +1 -1
  73. package/esm/components/base-select-mobile/index.js +4 -4
  74. package/esm/components/base-select-mobile/options-list/Component.js +2 -2
  75. package/esm/components/base-select-mobile/options-list/index.css +9 -9
  76. package/esm/components/base-select-mobile/options-list/index.js +1 -1
  77. package/esm/components/checkmark/Component.js +1 -1
  78. package/esm/components/checkmark/index.css +7 -7
  79. package/esm/components/field/Component.js +2 -2
  80. package/esm/components/field/index.css +9 -9
  81. package/esm/components/field/index.js +1 -1
  82. package/esm/components/index.js +4 -4
  83. package/esm/components/native-select/Component.js +1 -1
  84. package/esm/components/native-select/index.js +1 -1
  85. package/esm/components/optgroup/Component.js +1 -1
  86. package/esm/components/optgroup/index.css +6 -6
  87. package/esm/components/option/Component.js +2 -2
  88. package/esm/components/option/index.css +20 -20
  89. package/esm/components/option/index.js +1 -1
  90. package/esm/components/options-list/Component.js +2 -2
  91. package/esm/components/options-list/index.css +6 -6
  92. package/esm/components/options-list/index.js +1 -1
  93. package/esm/components/select-mobile/Component.js +4 -4
  94. package/esm/components/select-mobile/index.d.ts +1 -1
  95. package/esm/components/select-mobile/index.js +4 -4
  96. package/esm/components/select-modal-mobile/Component.js +4 -4
  97. package/esm/components/select-modal-mobile/index.d.ts +1 -1
  98. package/esm/components/select-modal-mobile/index.js +4 -4
  99. package/esm/components/virtual-options-list/Component.js +2 -2
  100. package/esm/components/virtual-options-list/index.css +12 -12
  101. package/esm/components/virtual-options-list/index.js +1 -1
  102. package/esm/index-3fe0d3e6.d.ts +1 -0
  103. package/esm/index.js +4 -4
  104. package/esm/{intersection-observer-1b157c7d.d.ts → intersection-observer-6051df28.d.ts} +0 -0
  105. package/esm/{intersection-observer-1b157c7d.js → intersection-observer-6051df28.js} +0 -0
  106. package/esm/presets/index.js +4 -4
  107. package/esm/presets/useLazyLoading/hook.js +3 -3
  108. package/esm/presets/useLazyLoading/index.css +2 -2
  109. package/esm/presets/useSelectWithApply/hook.js +4 -4
  110. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
  111. package/esm/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  112. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  113. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +4 -4
  114. package/esm/presets/useSelectWithLoading/hook.js +2 -2
  115. package/esm/presets/useSelectWithLoading/index.css +2 -2
  116. package/esm/{tslib.es6-7605f197.d.ts → tslib.es6-30462fa7.d.ts} +0 -0
  117. package/esm/{tslib.es6-7605f197.js → tslib.es6-30462fa7.js} +0 -0
  118. package/index-3fe0d3e6.d.ts +1 -0
  119. package/index.js +4 -4
  120. package/{intersection-observer-97cee92e.d.ts → intersection-observer-b682c00a.d.ts} +0 -0
  121. package/{intersection-observer-97cee92e.js → intersection-observer-b682c00a.js} +0 -0
  122. package/modern/{Component-8b3f26fe.d.ts → Component-7c9d2451.d.ts} +0 -0
  123. package/modern/{Component-8b3f26fe.js → Component-7c9d2451.js} +1 -1
  124. package/modern/Component-afce40e0.d.ts +73 -0
  125. package/{Component-d79cb1f7.d.ts → modern/Component-b81c8d0f.d.ts} +5 -105
  126. package/modern/{Component-b90bbc06.js → Component-b81c8d0f.js} +4 -4
  127. package/modern/Component.js +1 -1
  128. package/modern/Component.mobile-3fe0d3e6.d.ts +56 -0
  129. package/modern/Context-c2e6f1b2.d.ts +4 -0
  130. package/modern/components/arrow/Component.js +1 -1
  131. package/modern/components/arrow/index.css +3 -3
  132. package/modern/components/base-select/Component.js +1 -1
  133. package/modern/components/base-select/index.css +7 -7
  134. package/modern/components/base-select/index.d.ts +1 -1
  135. package/modern/components/base-select/index.js +1 -1
  136. package/modern/components/base-select-mobile/Component.js +3 -3
  137. package/modern/components/base-select-mobile/checkmark/Component.js +1 -1
  138. package/modern/components/base-select-mobile/checkmark/index.css +4 -4
  139. package/modern/components/base-select-mobile/index.css +11 -11
  140. package/modern/components/base-select-mobile/index.d.ts +1 -1
  141. package/modern/components/base-select-mobile/index.js +3 -3
  142. package/modern/components/base-select-mobile/options-list/Component.js +1 -1
  143. package/modern/components/base-select-mobile/options-list/index.css +9 -9
  144. package/modern/components/checkmark/Component.js +1 -1
  145. package/modern/components/checkmark/index.css +7 -7
  146. package/modern/components/field/Component.js +1 -1
  147. package/modern/components/field/index.css +9 -9
  148. package/modern/components/index.js +3 -3
  149. package/modern/components/optgroup/Component.js +1 -1
  150. package/modern/components/optgroup/index.css +6 -6
  151. package/modern/components/option/Component.js +1 -1
  152. package/modern/components/option/index.css +20 -20
  153. package/modern/components/options-list/Component.js +1 -1
  154. package/modern/components/options-list/index.css +6 -6
  155. package/modern/components/select-mobile/Component.js +3 -3
  156. package/modern/components/select-mobile/index.d.ts +1 -1
  157. package/modern/components/select-mobile/index.js +3 -3
  158. package/modern/components/select-modal-mobile/Component.js +3 -3
  159. package/modern/components/select-modal-mobile/index.d.ts +1 -1
  160. package/modern/components/select-modal-mobile/index.js +3 -3
  161. package/modern/components/virtual-options-list/Component.js +1 -1
  162. package/modern/components/virtual-options-list/index.css +12 -12
  163. package/modern/index-3fe0d3e6.d.ts +1 -0
  164. package/modern/index.js +3 -3
  165. package/modern/{intersection-observer-1b157c7d.d.ts → intersection-observer-6051df28.d.ts} +0 -0
  166. package/modern/{intersection-observer-1b157c7d.js → intersection-observer-6051df28.js} +0 -0
  167. package/modern/presets/index.js +3 -3
  168. package/modern/presets/useLazyLoading/hook.js +2 -2
  169. package/modern/presets/useLazyLoading/index.css +2 -2
  170. package/modern/presets/useSelectWithApply/hook.js +3 -3
  171. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  172. package/modern/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  173. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  174. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  175. package/modern/presets/useSelectWithLoading/hook.js +1 -1
  176. package/modern/presets/useSelectWithLoading/index.css +2 -2
  177. package/package.json +5 -5
  178. package/presets/index.js +4 -4
  179. package/presets/useLazyLoading/hook.js +3 -3
  180. package/presets/useLazyLoading/index.css +2 -2
  181. package/presets/useSelectWithApply/hook.js +4 -4
  182. package/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
  183. package/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  184. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  185. package/presets/useSelectWithApply/options-list-with-apply/index.js +4 -4
  186. package/presets/useSelectWithLoading/hook.js +2 -2
  187. package/presets/useSelectWithLoading/index.css +2 -2
  188. package/{tslib.es6-b1b539e3.d.ts → tslib.es6-c25e5316.d.ts} +0 -0
  189. package/{tslib.es6-b1b539e3.js → tslib.es6-c25e5316.js} +0 -0
  190. package/CHANGELOG.md +0 -1032
@@ -1,4 +1,4 @@
1
- import '../tslib.es6-7605f197.js';
1
+ import '../tslib.es6-30462fa7.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import './native-select/Component.js';
21
- export { B as BaseSelect } from '../Component-bc31c3c6.js';
21
+ export { B as BaseSelect } from '../Component-19a1d904.js';
22
22
  import '../Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,8 +26,8 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import './base-select-mobile/options-list/Component.js';
28
28
  import './base-select-mobile/checkmark/Component.js';
29
- export { S as SelectMobile, a as SelectModalMobile } from '../Component-c1c1bbe8.js';
29
+ export { S as SelectMobile, a as SelectModalMobile } from '../Component-6a42405c.js';
30
30
  import 'react-virtual';
31
31
  export { VirtualOptionsList } from './virtual-options-list/Component.js';
32
32
  import '@alfalab/core-components-skeleton/esm';
33
- import '../intersection-observer-1b157c7d.js';
33
+ import '../intersection-observer-6051df28.js';
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-7605f197.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-30462fa7.js';
2
2
  import React, { forwardRef, useCallback } from 'react';
3
3
  import { isGroup } from '../../utils.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-7605f197.js';
1
+ import '../../tslib.es6-30462fa7.js';
2
2
  import 'react';
3
3
  import '../../utils.js';
4
4
  export { NativeSelect } from './Component.js';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"optgroup":"select__optgroup_4i8a2","label":"select__label_4i8a2","l":"select__l_4i8a2","xl":"select__xl_4i8a2"};
4
+ var styles = {"optgroup":"select__optgroup_sl52r","label":"select__label_sl52r","l":"select__l_sl52r","xl":"select__xl_sl52r"};
5
5
  require('./index.css')
6
6
 
7
7
  var Optgroup = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 6oov0 */
1
+ /* hash: 1byyc */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-text-secondary: #546272;
@@ -33,7 +33,7 @@
33
33
  --select-optgroup-l-left-padding: var(--gap-m);
34
34
  --select-optgroup-l-right-padding: var(--gap-m);
35
35
  }
36
- .select__optgroup_4i8a2 {
36
+ .select__optgroup_sl52r {
37
37
  position: relative;
38
38
  display: flex;
39
39
  align-items: center;
@@ -43,10 +43,10 @@
43
43
  background: var(--select-optgroup-background);
44
44
  min-height: 40px
45
45
  }
46
- .select__optgroup_4i8a2 + *[role='option']:before {
46
+ .select__optgroup_sl52r + *[role='option']:before {
47
47
  display: none;
48
48
  }
49
- .select__label_4i8a2 {
49
+ .select__label_sl52r {
50
50
  font-size: 12px;
51
51
  line-height: 16px;
52
52
  font-weight: 500;
@@ -56,8 +56,8 @@
56
56
  display: block;
57
57
  color: var(--select-optgroup-color);
58
58
  }
59
- .select__l_4i8a2,
60
- .select__xl_4i8a2 {
59
+ .select__l_sl52r,
60
+ .select__xl_sl52r {
61
61
  padding-left: var(--select-optgroup-l-left-padding);
62
62
  padding-right: var(--select-optgroup-l-right-padding);
63
63
  }
@@ -1,10 +1,10 @@
1
- import { a as __assign } from '../../tslib.es6-7605f197.js';
1
+ import { a as __assign } from '../../tslib.es6-30462fa7.js';
2
2
  import React, { isValidElement } from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/core-components-checkbox/esm';
5
5
  import { Checkmark } from '../checkmark/Component.js';
6
6
 
7
- var styles = {"option":"select__option_ckswc","disabled":"select__disabled_ckswc","s":"select__s_ckswc","m":"select__m_ckswc","l":"select__l_ckswc","xl":"select__xl_ckswc","selected":"select__selected_ckswc","highlighted":"select__highlighted_ckswc","content":"select__content_ckswc","textContent":"select__textContent_ckswc"};
7
+ var styles = {"option":"select__option_sjg3n","disabled":"select__disabled_sjg3n","s":"select__s_sjg3n","m":"select__m_sjg3n","l":"select__l_sjg3n","xl":"select__xl_sjg3n","selected":"select__selected_sjg3n","highlighted":"select__highlighted_sjg3n","content":"select__content_sjg3n","textContent":"select__textContent_sjg3n"};
8
8
  require('./index.css')
9
9
 
10
10
  var Option = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: gfqjs */
1
+ /* hash: f8jug */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-bg-secondary: #f3f4f5;
@@ -53,7 +53,7 @@
53
53
 
54
54
  /* optgroup */
55
55
  }
56
- .select__option_ckswc {
56
+ .select__option_sjg3n {
57
57
  font-size: 16px;
58
58
  line-height: 20px;
59
59
  font-weight: 400;
@@ -69,11 +69,11 @@
69
69
  position: relative;
70
70
  cursor: pointer
71
71
  }
72
- .select__option_ckswc:not(.select__disabled_ckswc):active {
72
+ .select__option_sjg3n:not(.select__disabled_sjg3n):active {
73
73
  background: var(--select-option-active-background);
74
74
  color: var(--select-option-active-color);
75
75
  }
76
- .select__option_ckswc:before {
76
+ .select__option_sjg3n:before {
77
77
  content: '';
78
78
  position: absolute;
79
79
  left: var(--select-option-left-padding);
@@ -84,60 +84,60 @@
84
84
  display: var(--select-option-divider-display);
85
85
  transition: opacity 0.2s ease;
86
86
  }
87
- .select__option_ckswc:first-child:before {
87
+ .select__option_sjg3n:first-child:before {
88
88
  display: none;
89
89
  }
90
- .select__s_ckswc {
90
+ .select__s_sjg3n {
91
91
  min-height: var(--size-s-height);
92
92
  }
93
- .select__m_ckswc {
93
+ .select__m_sjg3n {
94
94
  min-height: var(--size-m-height);
95
95
  }
96
- .select__l_ckswc {
96
+ .select__l_sjg3n {
97
97
  min-height: var(--size-l-height);
98
98
  }
99
- .select__xl_ckswc {
99
+ .select__xl_sjg3n {
100
100
  min-height: var(--size-xl-height);
101
101
  }
102
- .select__l_ckswc,
103
- .select__xl_ckswc {
102
+ .select__l_sjg3n,
103
+ .select__xl_sjg3n {
104
104
  padding-left: var(--select-option-l-left-padding);
105
105
  padding-right: var(--select-option-l-right-padding)
106
106
  }
107
- .select__l_ckswc:before, .select__xl_ckswc:before {
107
+ .select__l_sjg3n:before, .select__xl_sjg3n:before {
108
108
  left: var(--select-option-l-left-padding);
109
109
  right: var(--select-option-l-right-padding);
110
110
  }
111
- .select__selected_ckswc {
111
+ .select__selected_sjg3n {
112
112
  background: var(--select-option-selected-background);
113
113
  color: var(--select-option-selected-color);
114
114
  cursor: default;
115
115
  }
116
- .select__highlighted_ckswc {
116
+ .select__highlighted_sjg3n {
117
117
  background: var(--select-option-hover-background);
118
118
  color: var(--select-option-hover-color)
119
119
  }
120
- .select__highlighted_ckswc:before,
121
- .select__highlighted_ckswc + .select__option_ckswc:before {
120
+ .select__highlighted_sjg3n:before,
121
+ .select__highlighted_sjg3n + .select__option_sjg3n:before {
122
122
  opacity: 0;
123
123
  }
124
- .select__disabled_ckswc {
124
+ .select__disabled_sjg3n {
125
125
  cursor: var(--disabled-cursor);
126
126
  background: var(--select-option-disabled-background);
127
127
  color: var(--select-option-disabled-color);
128
128
  }
129
- .select__content_ckswc {
129
+ .select__content_sjg3n {
130
130
  overflow: hidden;
131
131
  flex: 1;
132
132
  text-overflow: ellipsis;
133
133
  }
134
- .select__textContent_ckswc {
134
+ .select__textContent_sjg3n {
135
135
  padding-top: var(--gap-s);
136
136
  padding-bottom: var(--gap-s);
137
137
  }
138
138
  /* IE min-height fix */
139
139
  @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
140
- .select__option_ckswc:after {
140
+ .select__option_sjg3n:after {
141
141
  min-height: inherit;
142
142
  font-size: 0;
143
143
  content: '';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-7605f197.js';
1
+ import '../../tslib.es6-30462fa7.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-checkbox/esm';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-7605f197.js';
1
+ import { a as __assign } from '../../tslib.es6-30462fa7.js';
2
2
  import React, { forwardRef, useCallback, useRef } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { useMedia } from '@alfalab/hooks';
@@ -7,7 +7,7 @@ import mergeRefs from 'react-merge-refs';
7
7
  import { Scrollbar } from '@alfalab/core-components-scrollbar/esm';
8
8
  import { Optgroup } from '../optgroup/Component.js';
9
9
 
10
- var styles = {"optionsList":"select__optionsList_1rhyc","scrollable":"select__scrollable_1rhyc","emptyPlaceholder":"select__emptyPlaceholder_1rhyc","l":"select__l_1rhyc","xl":"select__xl_1rhyc"};
10
+ var styles = {"optionsList":"select__optionsList_13f1j","scrollable":"select__scrollable_13f1j","emptyPlaceholder":"select__emptyPlaceholder_13f1j","l":"select__l_13f1j","xl":"select__xl_13f1j"};
11
11
  require('./index.css')
12
12
 
13
13
  var createCounter = function () {
@@ -1,4 +1,4 @@
1
- /* hash: 1479m */
1
+ /* hash: 1xy47 */
2
2
  :root {
3
3
  --color-light-text-secondary: #546272;
4
4
  }
@@ -26,21 +26,21 @@
26
26
 
27
27
  /* optgroup */
28
28
  }
29
- .select__optionsList_1rhyc {
29
+ .select__optionsList_13f1j {
30
30
  overflow: auto;
31
31
  width: 100%;
32
32
  outline: none;
33
33
  box-sizing: border-box;
34
34
  }
35
- .select__scrollable_1rhyc {
35
+ .select__scrollable_13f1j {
36
36
  overflow: auto;
37
37
  width: 100%;
38
38
  }
39
- .select__emptyPlaceholder_1rhyc {
39
+ .select__emptyPlaceholder_13f1j {
40
40
  padding: var(--gap-m) var(--gap-s);
41
41
  color: var(--select-options-list-empty-placeholder-color);
42
42
  }
43
- .select__l_1rhyc .select__emptyPlaceholder_1rhyc,
44
- .select__xl_1rhyc .select__emptyPlaceholder_1rhyc {
43
+ .select__l_13f1j .select__emptyPlaceholder_13f1j,
44
+ .select__xl_13f1j .select__emptyPlaceholder_13f1j {
45
45
  padding: var(--gap-xl) var(--gap-m);
46
46
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-7605f197.js';
1
+ import '../../tslib.es6-30462fa7.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-7605f197.js';
1
+ import '../../tslib.es6-30462fa7.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../native-select/Component.js';
21
- import '../../Component-bc31c3c6.js';
21
+ import '../../Component-19a1d904.js';
22
22
  import '../../Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,7 +26,7 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import '../base-select-mobile/options-list/Component.js';
28
28
  import '../base-select-mobile/checkmark/Component.js';
29
- export { S as SelectMobile } from '../../Component-c1c1bbe8.js';
29
+ export { S as SelectMobile } from '../../Component-6a42405c.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-1b157c7d.js';
32
+ import '../../intersection-observer-6051df28.js';
@@ -1 +1 @@
1
- export * from "../../Component-c1c1bbe8";
1
+ export * from "../../Component-6a42405c";
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-7605f197.js';
1
+ import '../../tslib.es6-30462fa7.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../native-select/Component.js';
21
- import '../../Component-bc31c3c6.js';
21
+ import '../../Component-19a1d904.js';
22
22
  import '../../Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,7 +26,7 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import '../base-select-mobile/options-list/Component.js';
28
28
  import '../base-select-mobile/checkmark/Component.js';
29
- export { S as SelectMobile } from '../../Component-c1c1bbe8.js';
29
+ export { S as SelectMobile } from '../../Component-6a42405c.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-1b157c7d.js';
32
+ import '../../intersection-observer-6051df28.js';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-7605f197.js';
1
+ import '../../tslib.es6-30462fa7.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../native-select/Component.js';
21
- import '../../Component-bc31c3c6.js';
21
+ import '../../Component-19a1d904.js';
22
22
  import '../../Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,7 +26,7 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import '../base-select-mobile/options-list/Component.js';
28
28
  import '../base-select-mobile/checkmark/Component.js';
29
- export { a as SelectModalMobile } from '../../Component-c1c1bbe8.js';
29
+ export { a as SelectModalMobile } from '../../Component-6a42405c.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-1b157c7d.js';
32
+ import '../../intersection-observer-6051df28.js';
@@ -1 +1 @@
1
- export * from "../../Component-c1c1bbe8";
1
+ export * from "../../Component-6a42405c";
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-7605f197.js';
1
+ import '../../tslib.es6-30462fa7.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../native-select/Component.js';
21
- import '../../Component-bc31c3c6.js';
21
+ import '../../Component-19a1d904.js';
22
22
  import '../../Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,7 +26,7 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import '../base-select-mobile/options-list/Component.js';
28
28
  import '../base-select-mobile/checkmark/Component.js';
29
- export { a as SelectModalMobile } from '../../Component-c1c1bbe8.js';
29
+ export { a as SelectModalMobile } from '../../Component-6a42405c.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-1b157c7d.js';
32
+ import '../../intersection-observer-6051df28.js';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-7605f197.js';
1
+ import { a as __assign } from '../../tslib.es6-30462fa7.js';
2
2
  import React, { useRef, useState, useEffect, useMemo } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { useMedia } from '@alfalab/hooks';
@@ -7,7 +7,7 @@ import { Scrollbar } from '@alfalab/core-components-scrollbar/esm';
7
7
  import { Optgroup } from '../optgroup/Component.js';
8
8
  import { useVirtual } from 'react-virtual';
9
9
 
10
- var styles = {"virtualOptionsList":"select__virtualOptionsList_1x5ev","scrollable":"select__scrollable_1x5ev","inner":"select__inner_1x5ev","virtualRow":"select__virtualRow_1x5ev","highlighted":"select__highlighted_1x5ev","emptyPlaceholder":"select__emptyPlaceholder_1x5ev","l":"select__l_1x5ev","xl":"select__xl_1x5ev"};
10
+ var styles = {"virtualOptionsList":"select__virtualOptionsList_u7qs7","scrollable":"select__scrollable_u7qs7","inner":"select__inner_u7qs7","virtualRow":"select__virtualRow_u7qs7","highlighted":"select__highlighted_u7qs7","emptyPlaceholder":"select__emptyPlaceholder_u7qs7","l":"select__l_u7qs7","xl":"select__xl_u7qs7"};
11
11
  require('./index.css')
12
12
 
13
13
  /* eslint-disable react-hooks/exhaustive-deps */
@@ -1,4 +1,4 @@
1
- /* hash: nj3ax */
1
+ /* hash: mb57p */
2
2
  :root {
3
3
  --color-light-border-primary: #dbdee1;
4
4
  --color-light-text-secondary: #546272;
@@ -32,27 +32,27 @@
32
32
 
33
33
  /* optgroup */
34
34
  }
35
- .select__virtualOptionsList_1x5ev {
35
+ .select__virtualOptionsList_u7qs7 {
36
36
  width: 100%;
37
37
  outline: none;
38
38
  box-sizing: border-box;
39
39
  position: relative;
40
40
  }
41
- .select__scrollable_1x5ev {
41
+ .select__scrollable_u7qs7 {
42
42
  overflow: auto;
43
43
  width: 100%;
44
44
  }
45
- .select__inner_1x5ev {
45
+ .select__inner_u7qs7 {
46
46
  position: relative;
47
47
  width: 100%;
48
48
  }
49
- .select__virtualRow_1x5ev {
49
+ .select__virtualRow_u7qs7 {
50
50
  position: absolute;
51
51
  top: 0;
52
52
  left: 0;
53
53
  width: 100%
54
54
  }
55
- .select__virtualRow_1x5ev:before {
55
+ .select__virtualRow_u7qs7:before {
56
56
  content: '';
57
57
  position: absolute;
58
58
  z-index: 1;
@@ -63,18 +63,18 @@
63
63
  background: var(--select-option-divider-background);
64
64
  display: var(--select-option-divider-display);
65
65
  }
66
- .select__virtualRow_1x5ev:first-child:before {
66
+ .select__virtualRow_u7qs7:first-child:before {
67
67
  display: none;
68
68
  }
69
- .select__highlighted_1x5ev:before,
70
- .select__highlighted_1x5ev + .select__virtualRow_1x5ev:before {
69
+ .select__highlighted_u7qs7:before,
70
+ .select__highlighted_u7qs7 + .select__virtualRow_u7qs7:before {
71
71
  display: none;
72
72
  }
73
- .select__emptyPlaceholder_1x5ev {
73
+ .select__emptyPlaceholder_u7qs7 {
74
74
  padding: var(--gap-m) var(--gap-s);
75
75
  color: var(--select-options-list-empty-placeholder-color);
76
76
  }
77
- .select__l_1x5ev .select__emptyPlaceholder_1x5ev,
78
- .select__xl_1x5ev .select__emptyPlaceholder_1x5ev {
77
+ .select__l_u7qs7 .select__emptyPlaceholder_u7qs7,
78
+ .select__xl_u7qs7 .select__emptyPlaceholder_u7qs7 {
79
79
  padding: var(--gap-xl) var(--gap-m);
80
80
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-7605f197.js';
1
+ import '../../tslib.es6-30462fa7.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -0,0 +1 @@
1
+ export * from "./getDataTestId-3fe0d3e6";
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-7605f197.js';
1
+ import './tslib.es6-30462fa7.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import './components/native-select/Component.js';
21
- export { B as BaseSelect } from './Component-bc31c3c6.js';
21
+ export { B as BaseSelect } from './Component-19a1d904.js';
22
22
  export { Select } from './Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,10 +26,10 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import './components/base-select-mobile/options-list/Component.js';
28
28
  import './components/base-select-mobile/checkmark/Component.js';
29
- export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-c1c1bbe8.js';
29
+ export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-6a42405c.js';
30
30
  import 'react-virtual';
31
31
  export { VirtualOptionsList } from './components/virtual-options-list/Component.js';
32
32
  import '@alfalab/core-components-skeleton/esm';
33
33
  export { useSelectWithLoading } from './presets/useSelectWithLoading/hook.js';
34
- import './intersection-observer-1b157c7d.js';
34
+ import './intersection-observer-6051df28.js';
35
35
  export { useLazyLoading } from './presets/useLazyLoading/hook.js';
@@ -1,4 +1,4 @@
1
- import '../tslib.es6-7605f197.js';
1
+ import '../tslib.es6-30462fa7.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../components/native-select/Component.js';
21
- import '../Component-bc31c3c6.js';
21
+ import '../Component-19a1d904.js';
22
22
  import '../Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,9 +26,9 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import '../components/base-select-mobile/options-list/Component.js';
28
28
  import '../components/base-select-mobile/checkmark/Component.js';
29
- export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-c1c1bbe8.js';
29
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-6a42405c.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
32
  export { useSelectWithLoading } from './useSelectWithLoading/hook.js';
33
- import '../intersection-observer-1b157c7d.js';
33
+ import '../intersection-observer-6051df28.js';
34
34
  export { useLazyLoading } from './useLazyLoading/hook.js';
@@ -1,13 +1,13 @@
1
- import { a as __assign, b as __spreadArrays } from '../../tslib.es6-7605f197.js';
1
+ import { a as __assign, b as __spreadArrays } from '../../tslib.es6-30462fa7.js';
2
2
  import React, { useReducer, useRef, useCallback, useEffect, useMemo } from 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-checkbox/esm';
5
5
  import '../../components/checkmark/Component.js';
6
6
  import { Option } from '../../components/option/Component.js';
7
7
  import { Skeleton } from '@alfalab/core-components-skeleton/esm';
8
- import '../../intersection-observer-1b157c7d.js';
8
+ import '../../intersection-observer-6051df28.js';
9
9
 
10
- var styles = {"skeleton":"select__skeleton_1s133"};
10
+ var styles = {"skeleton":"select__skeleton_1bbys"};
11
11
  require('./index.css')
12
12
 
13
13
  var DEBOUNCE_TIMEOUT = 300;
@@ -1,5 +1,5 @@
1
- /* hash: 1abzx */
2
- .select__skeleton_1s133 {
1
+ /* hash: 1bj6m */
2
+ .select__skeleton_1bbys {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-7605f197.js';
1
+ import '../../tslib.es6-30462fa7.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../../components/native-select/Component.js';
21
- import '../../Component-bc31c3c6.js';
21
+ import '../../Component-19a1d904.js';
22
22
  import '../../Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,7 +26,7 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import '../../components/base-select-mobile/options-list/Component.js';
28
28
  import '../../components/base-select-mobile/checkmark/Component.js';
29
- export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-c1c1bbe8.js';
29
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-6a42405c.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-1b157c7d.js';
32
+ import '../../intersection-observer-6051df28.js';
@@ -1,4 +1,4 @@
1
- import '../../../tslib.es6-7605f197.js';
1
+ import '../../../tslib.es6-30462fa7.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../../../components/native-select/Component.js';
21
- import '../../../Component-bc31c3c6.js';
21
+ import '../../../Component-19a1d904.js';
22
22
  import '../../../Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,7 +26,7 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import '../../../components/base-select-mobile/options-list/Component.js';
28
28
  import '../../../components/base-select-mobile/checkmark/Component.js';
29
- export { O as OptionsListWithApply } from '../../../Component-c1c1bbe8.js';
29
+ export { O as OptionsListWithApply } from '../../../Component-6a42405c.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../../intersection-observer-1b157c7d.js';
32
+ import '../../../intersection-observer-6051df28.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1o8xl */
1
+ /* hash: uhbmf */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-secondary: #e7e9eb;
@@ -26,14 +26,14 @@
26
26
 
27
27
  /* optgroup */
28
28
  }
29
- .select__footer_1kexb {
29
+ .select__footer_ov1pv {
30
30
  background: var(--color-light-bg-primary);
31
31
  padding: var(--gap-s) var(--gap-s) var(--gap-m);
32
32
  outline: none
33
33
  }
34
- .select__footer_1kexb > * + * {
34
+ .select__footer_ov1pv > * + * {
35
35
  margin-left: var(--gap-xs);
36
36
  }
37
- .select__withBorder_1kexb {
37
+ .select__withBorder_ov1pv {
38
38
  box-shadow: inset 0 1px 0 var(--color-light-border-secondary);
39
39
  }
@@ -1 +1 @@
1
- export * from "../../../Component-c1c1bbe8";
1
+ export * from "../../../Component-6a42405c";