@alfalab/core-components-select 10.12.8 → 11.1.1

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 (204) hide show
  1. package/{esm/Component-3628acb7.d.ts → Component-00b8cb17.d.ts} +5 -105
  2. package/{Component-adb77a91.js → Component-00b8cb17.js} +5 -5
  3. package/{Component-b4c00a84.d.ts → Component-2bb239f8.d.ts} +0 -0
  4. package/{Component-b4c00a84.js → Component-2bb239f8.js} +2 -2
  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/cssm/presets/useLazyLoading/hook.d.ts +2 -2
  55. package/cssm/presets/useLazyLoading/hook.js +1 -1
  56. package/cssm/presets/useSelectWithLoading/hook.d.ts +2 -2
  57. package/cssm/typings.d.ts +1 -1
  58. package/{Component-adb77a91.d.ts → esm/Component-16827e23.d.ts} +5 -105
  59. package/esm/{Component-3628acb7.js → Component-16827e23.js} +5 -5
  60. package/esm/{Component-5a1007fc.d.ts → Component-a6b4fa53.d.ts} +0 -0
  61. package/esm/{Component-5a1007fc.js → Component-a6b4fa53.js} +2 -2
  62. package/esm/Component-afce40e0.d.ts +73 -0
  63. package/esm/Component.js +2 -2
  64. package/esm/Component.mobile-3fe0d3e6.d.ts +56 -0
  65. package/esm/Context-c2e6f1b2.d.ts +4 -0
  66. package/esm/components/arrow/Component.js +1 -1
  67. package/esm/components/arrow/index.css +3 -3
  68. package/esm/components/base-select/Component.js +2 -2
  69. package/esm/components/base-select/index.css +7 -7
  70. package/esm/components/base-select/index.d.ts +1 -1
  71. package/esm/components/base-select/index.js +2 -2
  72. package/esm/components/base-select-mobile/Component.js +4 -4
  73. package/esm/components/base-select-mobile/checkmark/Component.js +1 -1
  74. package/esm/components/base-select-mobile/checkmark/index.css +4 -4
  75. package/esm/components/base-select-mobile/index.css +11 -11
  76. package/esm/components/base-select-mobile/index.d.ts +1 -1
  77. package/esm/components/base-select-mobile/index.js +4 -4
  78. package/esm/components/base-select-mobile/options-list/Component.js +2 -2
  79. package/esm/components/base-select-mobile/options-list/index.css +9 -9
  80. package/esm/components/base-select-mobile/options-list/index.js +1 -1
  81. package/esm/components/checkmark/Component.js +1 -1
  82. package/esm/components/checkmark/index.css +7 -7
  83. package/esm/components/field/Component.js +2 -2
  84. package/esm/components/field/index.css +9 -9
  85. package/esm/components/field/index.js +1 -1
  86. package/esm/components/index.js +4 -4
  87. package/esm/components/native-select/Component.js +1 -1
  88. package/esm/components/native-select/index.js +1 -1
  89. package/esm/components/optgroup/Component.js +1 -1
  90. package/esm/components/optgroup/index.css +6 -6
  91. package/esm/components/option/Component.js +2 -2
  92. package/esm/components/option/index.css +20 -20
  93. package/esm/components/option/index.js +1 -1
  94. package/esm/components/options-list/Component.js +2 -2
  95. package/esm/components/options-list/index.css +6 -6
  96. package/esm/components/options-list/index.js +1 -1
  97. package/esm/components/select-mobile/Component.js +4 -4
  98. package/esm/components/select-mobile/index.d.ts +1 -1
  99. package/esm/components/select-mobile/index.js +4 -4
  100. package/esm/components/select-modal-mobile/Component.js +4 -4
  101. package/esm/components/select-modal-mobile/index.d.ts +1 -1
  102. package/esm/components/select-modal-mobile/index.js +4 -4
  103. package/esm/components/virtual-options-list/Component.js +2 -2
  104. package/esm/components/virtual-options-list/index.css +12 -12
  105. package/esm/components/virtual-options-list/index.js +1 -1
  106. package/esm/index-3fe0d3e6.d.ts +1 -0
  107. package/esm/index.js +4 -4
  108. package/esm/{intersection-observer-c9359098.d.ts → intersection-observer-b1fa8ee2.d.ts} +0 -0
  109. package/esm/{intersection-observer-c9359098.js → intersection-observer-b1fa8ee2.js} +0 -0
  110. package/esm/presets/index.js +4 -4
  111. package/esm/presets/useLazyLoading/hook.d.ts +2 -2
  112. package/esm/presets/useLazyLoading/hook.js +4 -4
  113. package/esm/presets/useLazyLoading/index.css +2 -2
  114. package/esm/presets/useSelectWithApply/hook.js +4 -4
  115. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
  116. package/esm/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  117. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  118. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +4 -4
  119. package/esm/presets/useSelectWithLoading/hook.d.ts +2 -2
  120. package/esm/presets/useSelectWithLoading/hook.js +2 -2
  121. package/esm/presets/useSelectWithLoading/index.css +2 -2
  122. package/esm/{tslib.es6-c081f302.d.ts → tslib.es6-260d2088.d.ts} +0 -0
  123. package/esm/{tslib.es6-c081f302.js → tslib.es6-260d2088.js} +0 -0
  124. package/esm/typings.d.ts +1 -1
  125. package/index-3fe0d3e6.d.ts +1 -0
  126. package/index.js +4 -4
  127. package/{intersection-observer-b4334d6c.d.ts → intersection-observer-a9727b1b.d.ts} +0 -0
  128. package/{intersection-observer-b4334d6c.js → intersection-observer-a9727b1b.js} +0 -0
  129. package/modern/{Component-eef8ac3b.d.ts → Component-0cd464a6.d.ts} +0 -0
  130. package/modern/{Component-eef8ac3b.js → Component-0cd464a6.js} +2 -2
  131. package/modern/Component-afce40e0.d.ts +73 -0
  132. package/modern/{Component-75155b9f.d.ts → Component-fd3c59cb.d.ts} +5 -105
  133. package/modern/{Component-75155b9f.js → Component-fd3c59cb.js} +4 -4
  134. package/modern/Component.js +1 -1
  135. package/modern/Component.mobile-3fe0d3e6.d.ts +56 -0
  136. package/modern/Context-c2e6f1b2.d.ts +4 -0
  137. package/modern/components/arrow/Component.js +1 -1
  138. package/modern/components/arrow/index.css +3 -3
  139. package/modern/components/base-select/Component.js +1 -1
  140. package/modern/components/base-select/index.css +7 -7
  141. package/modern/components/base-select/index.d.ts +1 -1
  142. package/modern/components/base-select/index.js +1 -1
  143. package/modern/components/base-select-mobile/Component.js +3 -3
  144. package/modern/components/base-select-mobile/checkmark/Component.js +1 -1
  145. package/modern/components/base-select-mobile/checkmark/index.css +4 -4
  146. package/modern/components/base-select-mobile/index.css +11 -11
  147. package/modern/components/base-select-mobile/index.d.ts +1 -1
  148. package/modern/components/base-select-mobile/index.js +3 -3
  149. package/modern/components/base-select-mobile/options-list/Component.js +1 -1
  150. package/modern/components/base-select-mobile/options-list/index.css +9 -9
  151. package/modern/components/checkmark/Component.js +1 -1
  152. package/modern/components/checkmark/index.css +7 -7
  153. package/modern/components/field/Component.js +1 -1
  154. package/modern/components/field/index.css +9 -9
  155. package/modern/components/index.js +3 -3
  156. package/modern/components/native-select/Component.js +1 -1
  157. package/modern/components/optgroup/Component.js +1 -1
  158. package/modern/components/optgroup/index.css +6 -6
  159. package/modern/components/option/Component.js +1 -1
  160. package/modern/components/option/index.css +20 -20
  161. package/modern/components/options-list/Component.js +1 -1
  162. package/modern/components/options-list/index.css +6 -6
  163. package/modern/components/select-mobile/Component.js +3 -3
  164. package/modern/components/select-mobile/index.d.ts +1 -1
  165. package/modern/components/select-mobile/index.js +3 -3
  166. package/modern/components/select-modal-mobile/Component.js +3 -3
  167. package/modern/components/select-modal-mobile/index.d.ts +1 -1
  168. package/modern/components/select-modal-mobile/index.js +3 -3
  169. package/modern/components/virtual-options-list/Component.js +1 -1
  170. package/modern/components/virtual-options-list/index.css +12 -12
  171. package/modern/index-3fe0d3e6.d.ts +1 -0
  172. package/modern/index.js +3 -3
  173. package/modern/{intersection-observer-c9359098.d.ts → intersection-observer-b1fa8ee2.d.ts} +0 -0
  174. package/modern/{intersection-observer-c9359098.js → intersection-observer-b1fa8ee2.js} +0 -0
  175. package/modern/presets/index.js +3 -3
  176. package/modern/presets/useLazyLoading/hook.d.ts +2 -2
  177. package/modern/presets/useLazyLoading/hook.js +3 -3
  178. package/modern/presets/useLazyLoading/index.css +2 -2
  179. package/modern/presets/useSelectWithApply/hook.js +3 -3
  180. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  181. package/modern/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  182. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  183. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  184. package/modern/presets/useSelectWithLoading/hook.d.ts +2 -2
  185. package/modern/presets/useSelectWithLoading/hook.js +2 -2
  186. package/modern/presets/useSelectWithLoading/index.css +2 -2
  187. package/modern/typings.d.ts +1 -1
  188. package/package.json +14 -14
  189. package/presets/index.js +4 -4
  190. package/presets/useLazyLoading/hook.d.ts +2 -2
  191. package/presets/useLazyLoading/hook.js +4 -4
  192. package/presets/useLazyLoading/index.css +2 -2
  193. package/presets/useSelectWithApply/hook.js +4 -4
  194. package/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
  195. package/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  196. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  197. package/presets/useSelectWithApply/options-list-with-apply/index.js +4 -4
  198. package/presets/useSelectWithLoading/hook.d.ts +2 -2
  199. package/presets/useSelectWithLoading/hook.js +2 -2
  200. package/presets/useSelectWithLoading/index.css +2 -2
  201. package/{tslib.es6-b0d6b344.d.ts → tslib.es6-76ea8c13.d.ts} +0 -0
  202. package/{tslib.es6-b0d6b344.js → tslib.es6-76ea8c13.js} +0 -0
  203. package/typings.d.ts +1 -1
  204. package/CHANGELOG.md +0 -1000
@@ -1,4 +1,4 @@
1
- import '../tslib.es6-c081f302.js';
1
+ import '../tslib.es6-260d2088.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-5a1007fc.js';
21
+ export { B as BaseSelect } from '../Component-a6b4fa53.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-3628acb7.js';
29
+ export { S as SelectMobile, a as SelectModalMobile } from '../Component-16827e23.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-c9359098.js';
33
+ import '../intersection-observer-b1fa8ee2.js';
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-c081f302.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-260d2088.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-c081f302.js';
1
+ import '../../tslib.es6-260d2088.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_1m7wf","label":"select__label_1m7wf","l":"select__l_1m7wf","xl":"select__xl_1m7wf"};
4
+ var styles = {"optgroup":"select__optgroup_4i8a2","label":"select__label_4i8a2","l":"select__l_4i8a2","xl":"select__xl_4i8a2"};
5
5
  require('./index.css')
6
6
 
7
7
  var Optgroup = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1oglt */
1
+ /* hash: 6oov0 */
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_1m7wf {
36
+ .select__optgroup_4i8a2 {
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_1m7wf + *[role='option']:before {
46
+ .select__optgroup_4i8a2 + *[role='option']:before {
47
47
  display: none;
48
48
  }
49
- .select__label_1m7wf {
49
+ .select__label_4i8a2 {
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_1m7wf,
60
- .select__xl_1m7wf {
59
+ .select__l_4i8a2,
60
+ .select__xl_4i8a2 {
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-c081f302.js';
1
+ import { a as __assign } from '../../tslib.es6-260d2088.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_1f1ih","disabled":"select__disabled_1f1ih","s":"select__s_1f1ih","m":"select__m_1f1ih","l":"select__l_1f1ih","xl":"select__xl_1f1ih","selected":"select__selected_1f1ih","highlighted":"select__highlighted_1f1ih","content":"select__content_1f1ih","textContent":"select__textContent_1f1ih"};
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"};
8
8
  require('./index.css')
9
9
 
10
10
  var Option = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: ythra */
1
+ /* hash: gfqjs */
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_1f1ih {
56
+ .select__option_ckswc {
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_1f1ih:not(.select__disabled_1f1ih):active {
72
+ .select__option_ckswc:not(.select__disabled_ckswc):active {
73
73
  background: var(--select-option-active-background);
74
74
  color: var(--select-option-active-color);
75
75
  }
76
- .select__option_1f1ih:before {
76
+ .select__option_ckswc: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_1f1ih:first-child:before {
87
+ .select__option_ckswc:first-child:before {
88
88
  display: none;
89
89
  }
90
- .select__s_1f1ih {
90
+ .select__s_ckswc {
91
91
  min-height: var(--size-s-height);
92
92
  }
93
- .select__m_1f1ih {
93
+ .select__m_ckswc {
94
94
  min-height: var(--size-m-height);
95
95
  }
96
- .select__l_1f1ih {
96
+ .select__l_ckswc {
97
97
  min-height: var(--size-l-height);
98
98
  }
99
- .select__xl_1f1ih {
99
+ .select__xl_ckswc {
100
100
  min-height: var(--size-xl-height);
101
101
  }
102
- .select__l_1f1ih,
103
- .select__xl_1f1ih {
102
+ .select__l_ckswc,
103
+ .select__xl_ckswc {
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_1f1ih:before, .select__xl_1f1ih:before {
107
+ .select__l_ckswc:before, .select__xl_ckswc:before {
108
108
  left: var(--select-option-l-left-padding);
109
109
  right: var(--select-option-l-right-padding);
110
110
  }
111
- .select__selected_1f1ih {
111
+ .select__selected_ckswc {
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_1f1ih {
116
+ .select__highlighted_ckswc {
117
117
  background: var(--select-option-hover-background);
118
118
  color: var(--select-option-hover-color)
119
119
  }
120
- .select__highlighted_1f1ih:before,
121
- .select__highlighted_1f1ih + .select__option_1f1ih:before {
120
+ .select__highlighted_ckswc:before,
121
+ .select__highlighted_ckswc + .select__option_ckswc:before {
122
122
  opacity: 0;
123
123
  }
124
- .select__disabled_1f1ih {
124
+ .select__disabled_ckswc {
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_1f1ih {
129
+ .select__content_ckswc {
130
130
  overflow: hidden;
131
131
  flex: 1;
132
132
  text-overflow: ellipsis;
133
133
  }
134
- .select__textContent_1f1ih {
134
+ .select__textContent_ckswc {
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_1f1ih:after {
140
+ .select__option_ckswc:after {
141
141
  min-height: inherit;
142
142
  font-size: 0;
143
143
  content: '';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-c081f302.js';
1
+ import '../../tslib.es6-260d2088.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-c081f302.js';
1
+ import { a as __assign } from '../../tslib.es6-260d2088.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_d7lsz","scrollable":"select__scrollable_d7lsz","emptyPlaceholder":"select__emptyPlaceholder_d7lsz","l":"select__l_d7lsz","xl":"select__xl_d7lsz"};
10
+ var styles = {"optionsList":"select__optionsList_1rhyc","scrollable":"select__scrollable_1rhyc","emptyPlaceholder":"select__emptyPlaceholder_1rhyc","l":"select__l_1rhyc","xl":"select__xl_1rhyc"};
11
11
  require('./index.css')
12
12
 
13
13
  var createCounter = function () {
@@ -1,4 +1,4 @@
1
- /* hash: 1myo1 */
1
+ /* hash: 1479m */
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_d7lsz {
29
+ .select__optionsList_1rhyc {
30
30
  overflow: auto;
31
31
  width: 100%;
32
32
  outline: none;
33
33
  box-sizing: border-box;
34
34
  }
35
- .select__scrollable_d7lsz {
35
+ .select__scrollable_1rhyc {
36
36
  overflow: auto;
37
37
  width: 100%;
38
38
  }
39
- .select__emptyPlaceholder_d7lsz {
39
+ .select__emptyPlaceholder_1rhyc {
40
40
  padding: var(--gap-m) var(--gap-s);
41
41
  color: var(--select-options-list-empty-placeholder-color);
42
42
  }
43
- .select__l_d7lsz .select__emptyPlaceholder_d7lsz,
44
- .select__xl_d7lsz .select__emptyPlaceholder_d7lsz {
43
+ .select__l_1rhyc .select__emptyPlaceholder_1rhyc,
44
+ .select__xl_1rhyc .select__emptyPlaceholder_1rhyc {
45
45
  padding: var(--gap-xl) var(--gap-m);
46
46
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-c081f302.js';
1
+ import '../../tslib.es6-260d2088.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-c081f302.js';
1
+ import '../../tslib.es6-260d2088.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-5a1007fc.js';
21
+ import '../../Component-a6b4fa53.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-3628acb7.js';
29
+ export { S as SelectMobile } from '../../Component-16827e23.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-c9359098.js';
32
+ import '../../intersection-observer-b1fa8ee2.js';
@@ -1 +1 @@
1
- export * from "../../Component-3628acb7";
1
+ export * from "../../Component-16827e23";
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-c081f302.js';
1
+ import '../../tslib.es6-260d2088.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-5a1007fc.js';
21
+ import '../../Component-a6b4fa53.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-3628acb7.js';
29
+ export { S as SelectMobile } from '../../Component-16827e23.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-c9359098.js';
32
+ import '../../intersection-observer-b1fa8ee2.js';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-c081f302.js';
1
+ import '../../tslib.es6-260d2088.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-5a1007fc.js';
21
+ import '../../Component-a6b4fa53.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-3628acb7.js';
29
+ export { a as SelectModalMobile } from '../../Component-16827e23.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-c9359098.js';
32
+ import '../../intersection-observer-b1fa8ee2.js';
@@ -1 +1 @@
1
- export * from "../../Component-3628acb7";
1
+ export * from "../../Component-16827e23";
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-c081f302.js';
1
+ import '../../tslib.es6-260d2088.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-5a1007fc.js';
21
+ import '../../Component-a6b4fa53.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-3628acb7.js';
29
+ export { a as SelectModalMobile } from '../../Component-16827e23.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-c9359098.js';
32
+ import '../../intersection-observer-b1fa8ee2.js';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-c081f302.js';
1
+ import { a as __assign } from '../../tslib.es6-260d2088.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_1mgao","scrollable":"select__scrollable_1mgao","inner":"select__inner_1mgao","virtualRow":"select__virtualRow_1mgao","highlighted":"select__highlighted_1mgao","emptyPlaceholder":"select__emptyPlaceholder_1mgao","l":"select__l_1mgao","xl":"select__xl_1mgao"};
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"};
11
11
  require('./index.css')
12
12
 
13
13
  /* eslint-disable react-hooks/exhaustive-deps */
@@ -1,4 +1,4 @@
1
- /* hash: 1c4v8 */
1
+ /* hash: nj3ax */
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_1mgao {
35
+ .select__virtualOptionsList_1x5ev {
36
36
  width: 100%;
37
37
  outline: none;
38
38
  box-sizing: border-box;
39
39
  position: relative;
40
40
  }
41
- .select__scrollable_1mgao {
41
+ .select__scrollable_1x5ev {
42
42
  overflow: auto;
43
43
  width: 100%;
44
44
  }
45
- .select__inner_1mgao {
45
+ .select__inner_1x5ev {
46
46
  position: relative;
47
47
  width: 100%;
48
48
  }
49
- .select__virtualRow_1mgao {
49
+ .select__virtualRow_1x5ev {
50
50
  position: absolute;
51
51
  top: 0;
52
52
  left: 0;
53
53
  width: 100%
54
54
  }
55
- .select__virtualRow_1mgao:before {
55
+ .select__virtualRow_1x5ev: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_1mgao:first-child:before {
66
+ .select__virtualRow_1x5ev:first-child:before {
67
67
  display: none;
68
68
  }
69
- .select__highlighted_1mgao:before,
70
- .select__highlighted_1mgao + .select__virtualRow_1mgao:before {
69
+ .select__highlighted_1x5ev:before,
70
+ .select__highlighted_1x5ev + .select__virtualRow_1x5ev:before {
71
71
  display: none;
72
72
  }
73
- .select__emptyPlaceholder_1mgao {
73
+ .select__emptyPlaceholder_1x5ev {
74
74
  padding: var(--gap-m) var(--gap-s);
75
75
  color: var(--select-options-list-empty-placeholder-color);
76
76
  }
77
- .select__l_1mgao .select__emptyPlaceholder_1mgao,
78
- .select__xl_1mgao .select__emptyPlaceholder_1mgao {
77
+ .select__l_1x5ev .select__emptyPlaceholder_1x5ev,
78
+ .select__xl_1x5ev .select__emptyPlaceholder_1x5ev {
79
79
  padding: var(--gap-xl) var(--gap-m);
80
80
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-c081f302.js';
1
+ import '../../tslib.es6-260d2088.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-c081f302.js';
1
+ import './tslib.es6-260d2088.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-5a1007fc.js';
21
+ export { B as BaseSelect } from './Component-a6b4fa53.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-3628acb7.js';
29
+ export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-16827e23.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-c9359098.js';
34
+ import './intersection-observer-b1fa8ee2.js';
35
35
  export { useLazyLoading } from './presets/useLazyLoading/hook.js';
@@ -1,4 +1,4 @@
1
- import '../tslib.es6-c081f302.js';
1
+ import '../tslib.es6-260d2088.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-5a1007fc.js';
21
+ import '../Component-a6b4fa53.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-3628acb7.js';
29
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-16827e23.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-c9359098.js';
33
+ import '../intersection-observer-b1fa8ee2.js';
34
34
  export { useLazyLoading } from './useLazyLoading/hook.js';
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { OptionShape } from "../../typings";
3
+ import { OptionProps, OptionShape } from "../../typings";
4
4
  type OptionsFetcherResponse = {
5
5
  options: OptionShape[];
6
6
  hasMore: boolean;
@@ -26,7 +26,7 @@ type useLazyLoadingProps = {
26
26
  };
27
27
  declare function useLazyLoading({ limit, initialOffset, optionsFetcher, skeleton, }: useLazyLoadingProps): {
28
28
  optionsProps: {
29
- Option: (props: any) => JSX.Element;
29
+ Option: (props: OptionProps) => JSX.Element;
30
30
  options: OptionShape[];
31
31
  optionsListProps: {
32
32
  ref: React.RefObject<HTMLDivElement>;
@@ -1,13 +1,13 @@
1
- import { a as __assign, b as __spreadArrays } from '../../tslib.es6-c081f302.js';
1
+ import { a as __assign, b as __spreadArrays } from '../../tslib.es6-260d2088.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-c9359098.js';
8
+ import '../../intersection-observer-b1fa8ee2.js';
9
9
 
10
- var styles = {"skeleton":"select__skeleton_1xu17"};
10
+ var styles = {"skeleton":"select__skeleton_1s133"};
11
11
  require('./index.css')
12
12
 
13
13
  var DEBOUNCE_TIMEOUT = 300;
@@ -168,7 +168,7 @@ function useLazyLoading(_a) {
168
168
  }, DEBOUNCE_TIMEOUT);
169
169
  /* eslint-enable */
170
170
  }, []);
171
- var renderOption = useCallback(function (props) { return React.createElement(Option, __assign({}, props, { highlighted: loading ? false : props.highlighted })); }, [loading]);
171
+ var renderOption = useCallback(function (props) { return (React.createElement(Option, __assign({}, props, { highlighted: loading ? false : props.highlighted }))); }, [loading]);
172
172
  var skeletonOptions = useMemo(function () {
173
173
  return Array(loading ? limit : 0)
174
174
  .fill(0)
@@ -1,5 +1,5 @@
1
- /* hash: 1yr32 */
2
- .select__skeleton_1xu17 {
1
+ /* hash: 1abzx */
2
+ .select__skeleton_1s133 {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-c081f302.js';
1
+ import '../../tslib.es6-260d2088.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-5a1007fc.js';
21
+ import '../../Component-a6b4fa53.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-3628acb7.js';
29
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-16827e23.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-c9359098.js';
32
+ import '../../intersection-observer-b1fa8ee2.js';
@@ -1,4 +1,4 @@
1
- import '../../../tslib.es6-c081f302.js';
1
+ import '../../../tslib.es6-260d2088.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-5a1007fc.js';
21
+ import '../../../Component-a6b4fa53.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-3628acb7.js';
29
+ export { O as OptionsListWithApply } from '../../../Component-16827e23.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../../intersection-observer-c9359098.js';
32
+ import '../../../intersection-observer-b1fa8ee2.js';