@alfalab/core-components-select 13.1.2 → 13.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/{cssm/Component-c7975bd7.d.ts → Component-a826582c.d.ts} +5 -5
  2. package/{Component-bf23f796.js → Component-a826582c.js} +13 -13
  3. package/{Component-ad8bdc8a.d.ts → Component-f2f84cb6.d.ts} +0 -0
  4. package/{Component-ad8bdc8a.js → Component-f2f84cb6.js} +2 -2
  5. package/Component.js +2 -2
  6. package/components/arrow/Component.js +1 -1
  7. package/components/arrow/index.css +3 -3
  8. package/components/base-checkmark/Component.js +1 -1
  9. package/components/base-checkmark/index.css +4 -4
  10. package/components/base-option/Component.js +2 -2
  11. package/components/base-option/index.css +11 -11
  12. package/components/base-option/index.js +1 -1
  13. package/components/base-select/Component.js +2 -2
  14. package/components/base-select/index.css +7 -7
  15. package/components/base-select/index.d.ts +1 -1
  16. package/components/base-select/index.js +2 -2
  17. package/components/base-select-mobile/Component.js +4 -4
  18. package/components/base-select-mobile/checkmark/Component.js +1 -1
  19. package/components/base-select-mobile/checkmark/index.css +6 -6
  20. package/components/base-select-mobile/index.css +11 -11
  21. package/components/base-select-mobile/index.d.ts +1 -1
  22. package/components/base-select-mobile/index.js +4 -4
  23. package/components/base-select-mobile/options-list/Component.js +2 -2
  24. package/components/base-select-mobile/options-list/index.css +9 -9
  25. package/components/base-select-mobile/options-list/index.js +1 -1
  26. package/components/checkmark/Component.js +1 -1
  27. package/components/checkmark/index.css +8 -8
  28. package/components/field/Component.js +2 -2
  29. package/components/field/index.css +9 -9
  30. package/components/field/index.js +1 -1
  31. package/components/index.js +4 -4
  32. package/components/native-select/Component.js +1 -1
  33. package/components/native-select/index.js +1 -1
  34. package/components/optgroup/Component.js +1 -1
  35. package/components/optgroup/index.css +6 -6
  36. package/components/option/Component.js +2 -2
  37. package/components/option/index.css +20 -20
  38. package/components/option/index.js +1 -1
  39. package/components/options-list/Component.js +2 -2
  40. package/components/options-list/index.css +6 -6
  41. package/components/options-list/index.js +1 -1
  42. package/components/select-mobile/Component.js +4 -4
  43. package/components/select-mobile/index.d.ts +1 -1
  44. package/components/select-mobile/index.js +4 -4
  45. package/components/select-modal-mobile/Component.js +4 -4
  46. package/components/select-modal-mobile/index.d.ts +1 -1
  47. package/components/select-modal-mobile/index.js +4 -4
  48. package/components/virtual-options-list/Component.js +2 -2
  49. package/components/virtual-options-list/index.css +12 -12
  50. package/components/virtual-options-list/index.js +1 -1
  51. package/{modern/Component-cbf3ea29.d.ts → cssm/Component-a41f165e.d.ts} +5 -5
  52. package/cssm/{Component-c7975bd7.js → Component-a41f165e.js} +8 -8
  53. package/cssm/components/base-select-mobile/Component.js +1 -1
  54. package/cssm/components/base-select-mobile/index.d.ts +1 -1
  55. package/cssm/components/base-select-mobile/index.js +1 -1
  56. package/cssm/components/index.js +1 -1
  57. package/cssm/components/select-mobile/Component.js +1 -1
  58. package/cssm/components/select-mobile/index.d.ts +1 -1
  59. package/cssm/components/select-mobile/index.js +1 -1
  60. package/cssm/components/select-modal-mobile/Component.js +1 -1
  61. package/cssm/components/select-modal-mobile/index.d.ts +1 -1
  62. package/cssm/components/select-modal-mobile/index.js +1 -1
  63. package/cssm/index.js +1 -1
  64. package/cssm/presets/index.js +1 -1
  65. package/cssm/presets/useSelectWithApply/hook.js +1 -1
  66. package/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  67. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  68. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  69. package/{Component-bf23f796.d.ts → esm/Component-804e366f.d.ts} +5 -5
  70. package/esm/{Component-ef141f41.js → Component-804e366f.js} +13 -13
  71. package/esm/{Component-49ae431a.d.ts → Component-cf5c933f.d.ts} +0 -0
  72. package/esm/{Component-49ae431a.js → Component-cf5c933f.js} +2 -2
  73. package/esm/Component.js +2 -2
  74. package/esm/components/arrow/Component.js +1 -1
  75. package/esm/components/arrow/index.css +3 -3
  76. package/esm/components/base-checkmark/Component.js +1 -1
  77. package/esm/components/base-checkmark/index.css +4 -4
  78. package/esm/components/base-option/Component.js +2 -2
  79. package/esm/components/base-option/index.css +11 -11
  80. package/esm/components/base-option/index.js +1 -1
  81. package/esm/components/base-select/Component.js +2 -2
  82. package/esm/components/base-select/index.css +7 -7
  83. package/esm/components/base-select/index.d.ts +1 -1
  84. package/esm/components/base-select/index.js +2 -2
  85. package/esm/components/base-select-mobile/Component.js +4 -4
  86. package/esm/components/base-select-mobile/checkmark/Component.js +1 -1
  87. package/esm/components/base-select-mobile/checkmark/index.css +6 -6
  88. package/esm/components/base-select-mobile/index.css +11 -11
  89. package/esm/components/base-select-mobile/index.d.ts +1 -1
  90. package/esm/components/base-select-mobile/index.js +4 -4
  91. package/esm/components/base-select-mobile/options-list/Component.js +2 -2
  92. package/esm/components/base-select-mobile/options-list/index.css +9 -9
  93. package/esm/components/base-select-mobile/options-list/index.js +1 -1
  94. package/esm/components/checkmark/Component.js +1 -1
  95. package/esm/components/checkmark/index.css +8 -8
  96. package/esm/components/field/Component.js +2 -2
  97. package/esm/components/field/index.css +9 -9
  98. package/esm/components/field/index.js +1 -1
  99. package/esm/components/index.js +4 -4
  100. package/esm/components/native-select/Component.js +1 -1
  101. package/esm/components/native-select/index.js +1 -1
  102. package/esm/components/optgroup/Component.js +1 -1
  103. package/esm/components/optgroup/index.css +6 -6
  104. package/esm/components/option/Component.js +2 -2
  105. package/esm/components/option/index.css +20 -20
  106. package/esm/components/option/index.js +1 -1
  107. package/esm/components/options-list/Component.js +2 -2
  108. package/esm/components/options-list/index.css +6 -6
  109. package/esm/components/options-list/index.js +1 -1
  110. package/esm/components/select-mobile/Component.js +4 -4
  111. package/esm/components/select-mobile/index.d.ts +1 -1
  112. package/esm/components/select-mobile/index.js +4 -4
  113. package/esm/components/select-modal-mobile/Component.js +4 -4
  114. package/esm/components/select-modal-mobile/index.d.ts +1 -1
  115. package/esm/components/select-modal-mobile/index.js +4 -4
  116. package/esm/components/virtual-options-list/Component.js +2 -2
  117. package/esm/components/virtual-options-list/index.css +12 -12
  118. package/esm/components/virtual-options-list/index.js +1 -1
  119. package/esm/index.js +4 -4
  120. package/esm/{intersection-observer-4bd81169.d.ts → intersection-observer-7304e334.d.ts} +0 -0
  121. package/esm/{intersection-observer-4bd81169.js → intersection-observer-7304e334.js} +0 -0
  122. package/esm/presets/index.js +4 -4
  123. package/esm/presets/useLazyLoading/hook.js +3 -3
  124. package/esm/presets/useLazyLoading/index.css +2 -2
  125. package/esm/presets/useSelectWithApply/hook.js +4 -4
  126. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
  127. package/esm/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  128. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  129. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +4 -4
  130. package/esm/presets/useSelectWithLoading/hook.js +2 -2
  131. package/esm/presets/useSelectWithLoading/index.css +2 -2
  132. package/esm/{tslib.es6-651def22.d.ts → tslib.es6-e89d50db.d.ts} +0 -0
  133. package/esm/{tslib.es6-651def22.js → tslib.es6-e89d50db.js} +0 -0
  134. package/index.js +4 -4
  135. package/{intersection-observer-d65d2934.d.ts → intersection-observer-d44a3d44.d.ts} +0 -0
  136. package/{intersection-observer-d65d2934.js → intersection-observer-d44a3d44.js} +0 -0
  137. package/{esm/Component-ef141f41.d.ts → modern/Component-a6d52eb5.d.ts} +5 -5
  138. package/modern/{Component-cbf3ea29.js → Component-a6d52eb5.js} +7 -7
  139. package/modern/{Component-0949887e.d.ts → Component-d5c51040.d.ts} +0 -0
  140. package/modern/{Component-0949887e.js → Component-d5c51040.js} +1 -1
  141. package/modern/Component.js +1 -1
  142. package/modern/components/arrow/Component.js +1 -1
  143. package/modern/components/arrow/index.css +3 -3
  144. package/modern/components/base-checkmark/Component.js +1 -1
  145. package/modern/components/base-checkmark/index.css +4 -4
  146. package/modern/components/base-option/Component.js +1 -1
  147. package/modern/components/base-option/index.css +11 -11
  148. package/modern/components/base-select/Component.js +1 -1
  149. package/modern/components/base-select/index.css +7 -7
  150. package/modern/components/base-select/index.d.ts +1 -1
  151. package/modern/components/base-select/index.js +1 -1
  152. package/modern/components/base-select-mobile/Component.js +3 -3
  153. package/modern/components/base-select-mobile/checkmark/Component.js +1 -1
  154. package/modern/components/base-select-mobile/checkmark/index.css +6 -6
  155. package/modern/components/base-select-mobile/index.css +11 -11
  156. package/modern/components/base-select-mobile/index.d.ts +1 -1
  157. package/modern/components/base-select-mobile/index.js +3 -3
  158. package/modern/components/base-select-mobile/options-list/Component.js +1 -1
  159. package/modern/components/base-select-mobile/options-list/index.css +9 -9
  160. package/modern/components/checkmark/Component.js +1 -1
  161. package/modern/components/checkmark/index.css +8 -8
  162. package/modern/components/field/Component.js +1 -1
  163. package/modern/components/field/index.css +9 -9
  164. package/modern/components/index.js +3 -3
  165. package/modern/components/optgroup/Component.js +1 -1
  166. package/modern/components/optgroup/index.css +6 -6
  167. package/modern/components/option/Component.js +1 -1
  168. package/modern/components/option/index.css +20 -20
  169. package/modern/components/options-list/Component.js +1 -1
  170. package/modern/components/options-list/index.css +6 -6
  171. package/modern/components/select-mobile/Component.js +3 -3
  172. package/modern/components/select-mobile/index.d.ts +1 -1
  173. package/modern/components/select-mobile/index.js +3 -3
  174. package/modern/components/select-modal-mobile/Component.js +3 -3
  175. package/modern/components/select-modal-mobile/index.d.ts +1 -1
  176. package/modern/components/select-modal-mobile/index.js +3 -3
  177. package/modern/components/virtual-options-list/Component.js +1 -1
  178. package/modern/components/virtual-options-list/index.css +12 -12
  179. package/modern/index.js +3 -3
  180. package/modern/{intersection-observer-4bd81169.d.ts → intersection-observer-7304e334.d.ts} +0 -0
  181. package/modern/{intersection-observer-4bd81169.js → intersection-observer-7304e334.js} +0 -0
  182. package/modern/presets/index.js +3 -3
  183. package/modern/presets/useLazyLoading/hook.js +2 -2
  184. package/modern/presets/useLazyLoading/index.css +2 -2
  185. package/modern/presets/useSelectWithApply/hook.js +3 -3
  186. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  187. package/modern/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  188. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  189. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  190. package/modern/presets/useSelectWithLoading/hook.js +1 -1
  191. package/modern/presets/useSelectWithLoading/index.css +2 -2
  192. package/package.json +1 -1
  193. package/presets/index.js +4 -4
  194. package/presets/useLazyLoading/hook.js +3 -3
  195. package/presets/useLazyLoading/index.css +2 -2
  196. package/presets/useSelectWithApply/hook.js +4 -4
  197. package/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
  198. package/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  199. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  200. package/presets/useSelectWithApply/options-list-with-apply/index.js +4 -4
  201. package/presets/useSelectWithLoading/hook.js +2 -2
  202. package/presets/useSelectWithLoading/index.css +2 -2
  203. /package/{tslib.es6-43fcc2c4.d.ts → tslib.es6-e8daa31e.d.ts} +0 -0
  204. /package/{tslib.es6-43fcc2c4.js → tslib.es6-e8daa31e.js} +0 -0
@@ -1,4 +1,4 @@
1
- /* hash: 1tcqt */
1
+ /* hash: jvfc1 */
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_1vl77 {
56
+ .select__option_zh00l {
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_1vl77:not(.select__disabled_1vl77):active {
72
+ .select__option_zh00l:not(.select__disabled_zh00l):active {
73
73
  background: var(--select-option-active-background);
74
74
  color: var(--select-option-active-color);
75
75
  }
76
- .select__option_1vl77:before {
76
+ .select__option_zh00l: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_1vl77:first-child:before {
87
+ .select__option_zh00l:first-child:before {
88
88
  display: none;
89
89
  }
90
- .select__s_1vl77 {
90
+ .select__s_zh00l {
91
91
  min-height: var(--size-s-height);
92
92
  }
93
- .select__m_1vl77 {
93
+ .select__m_zh00l {
94
94
  min-height: var(--size-m-height);
95
95
  }
96
- .select__l_1vl77 {
96
+ .select__l_zh00l {
97
97
  min-height: var(--size-l-height);
98
98
  }
99
- .select__xl_1vl77 {
99
+ .select__xl_zh00l {
100
100
  min-height: var(--size-xl-height);
101
101
  }
102
- .select__l_1vl77,
103
- .select__xl_1vl77 {
102
+ .select__l_zh00l,
103
+ .select__xl_zh00l {
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_1vl77:before, .select__xl_1vl77:before {
107
+ .select__l_zh00l:before, .select__xl_zh00l:before {
108
108
  left: var(--select-option-l-left-padding);
109
109
  right: var(--select-option-l-right-padding);
110
110
  }
111
- .select__selected_1vl77 {
111
+ .select__selected_zh00l {
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_1vl77 {
116
+ .select__highlighted_zh00l {
117
117
  background: var(--select-option-hover-background);
118
118
  color: var(--select-option-hover-color)
119
119
  }
120
- .select__highlighted_1vl77:before,
121
- .select__highlighted_1vl77 + .select__option_1vl77:before {
120
+ .select__highlighted_zh00l:before,
121
+ .select__highlighted_zh00l + .select__option_zh00l:before {
122
122
  opacity: 0;
123
123
  }
124
- .select__disabled_1vl77 {
124
+ .select__disabled_zh00l {
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_1vl77 {
129
+ .select__content_zh00l {
130
130
  overflow: hidden;
131
131
  flex: 1;
132
132
  text-overflow: ellipsis;
133
133
  }
134
- .select__textContent_1vl77 {
134
+ .select__textContent_zh00l {
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_1vl77:after {
140
+ .select__option_zh00l:after {
141
141
  min-height: inherit;
142
142
  font-size: 0;
143
143
  content: '';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-651def22.js';
1
+ import '../../tslib.es6-e89d50db.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components/badge';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-651def22.js';
1
+ import { a as __assign } from '../../tslib.es6-e89d50db.js';
2
2
  import React, { forwardRef, useRef } from 'react';
3
3
  import cn from 'classnames';
4
4
  import mergeRefs from 'react-merge-refs';
@@ -7,7 +7,7 @@ import { useVisibleOptions, isGroup } from '../../utils.js';
7
7
  import { Optgroup } from '../optgroup/Component.js';
8
8
  import { Scrollbar } from '@alfalab/core-components-scrollbar/esm';
9
9
 
10
- var styles = {"optionsList":"select__optionsList_1fx1g","scrollable":"select__scrollable_1fx1g","emptyPlaceholder":"select__emptyPlaceholder_1fx1g","l":"select__l_1fx1g","xl":"select__xl_1fx1g"};
10
+ var styles = {"optionsList":"select__optionsList_15ei1","scrollable":"select__scrollable_15ei1","emptyPlaceholder":"select__emptyPlaceholder_15ei1","l":"select__l_15ei1","xl":"select__xl_15ei1"};
11
11
  require('./index.css')
12
12
 
13
13
  var createCounter = function () {
@@ -1,4 +1,4 @@
1
- /* hash: 1vim4 */
1
+ /* hash: 17mye */
2
2
  :root {
3
3
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
4
4
  }
@@ -26,21 +26,21 @@
26
26
 
27
27
  /* optgroup */
28
28
  }
29
- .select__optionsList_1fx1g {
29
+ .select__optionsList_15ei1 {
30
30
  overflow: auto;
31
31
  width: 100%;
32
32
  outline: none;
33
33
  box-sizing: border-box;
34
34
  }
35
- .select__scrollable_1fx1g {
35
+ .select__scrollable_15ei1 {
36
36
  overflow: auto;
37
37
  width: 100%;
38
38
  }
39
- .select__emptyPlaceholder_1fx1g {
39
+ .select__emptyPlaceholder_15ei1 {
40
40
  padding: var(--gap-m) var(--gap-s);
41
41
  color: var(--select-options-list-empty-placeholder-color);
42
42
  }
43
- .select__l_1fx1g .select__emptyPlaceholder_1fx1g,
44
- .select__xl_1fx1g .select__emptyPlaceholder_1fx1g {
43
+ .select__l_15ei1 .select__emptyPlaceholder_15ei1,
44
+ .select__xl_15ei1 .select__emptyPlaceholder_15ei1 {
45
45
  padding: var(--gap-xl) var(--gap-m);
46
46
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-651def22.js';
1
+ import '../../tslib.es6-e89d50db.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import 'react-merge-refs';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-651def22.js';
1
+ import '../../tslib.es6-e89d50db.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -8,7 +8,7 @@ import '@juggle/resize-observer';
8
8
  import 'downshift';
9
9
  import '@alfalab/core-components-popover/esm';
10
10
  import '@alfalab/hooks';
11
- import '../../Component-49ae431a.js';
11
+ import '../../Component-cf5c933f.js';
12
12
  import '../../utils.js';
13
13
  import '../native-select/Component.js';
14
14
  import '@alfalab/core-components-form-control/esm';
@@ -27,11 +27,11 @@ import '../../Component.js';
27
27
  import '@alfalab/core-components-bottom-sheet/esm';
28
28
  import '@alfalab/core-components-modal/esm/mobile';
29
29
  import '@alfalab/core-components-button/esm';
30
- export { S as SelectMobile } from '../../Component-ef141f41.js';
30
+ export { S as SelectMobile } from '../../Component-804e366f.js';
31
31
  import '../base-checkmark/Component.js';
32
32
  import '@alfalab/core-components-base-modal/esm';
33
33
  import '../base-select-mobile/options-list/Component.js';
34
34
  import 'react-virtual';
35
35
  import '../base-option/Component.js';
36
36
  import '@alfalab/core-components-skeleton/esm';
37
- import '../../intersection-observer-4bd81169.js';
37
+ import '../../intersection-observer-7304e334.js';
@@ -1 +1 @@
1
- export * from "../../Component-ef141f41";
1
+ export * from "../../Component-804e366f";
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-651def22.js';
1
+ import '../../tslib.es6-e89d50db.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -8,7 +8,7 @@ import '@juggle/resize-observer';
8
8
  import 'downshift';
9
9
  import '@alfalab/core-components-popover/esm';
10
10
  import '@alfalab/hooks';
11
- import '../../Component-49ae431a.js';
11
+ import '../../Component-cf5c933f.js';
12
12
  import '../../utils.js';
13
13
  import '../native-select/Component.js';
14
14
  import '@alfalab/core-components-form-control/esm';
@@ -27,11 +27,11 @@ import '../../Component.js';
27
27
  import '@alfalab/core-components-bottom-sheet/esm';
28
28
  import '@alfalab/core-components-modal/esm/mobile';
29
29
  import '@alfalab/core-components-button/esm';
30
- export { S as SelectMobile } from '../../Component-ef141f41.js';
30
+ export { S as SelectMobile } from '../../Component-804e366f.js';
31
31
  import '../base-checkmark/Component.js';
32
32
  import '@alfalab/core-components-base-modal/esm';
33
33
  import '../base-select-mobile/options-list/Component.js';
34
34
  import 'react-virtual';
35
35
  import '../base-option/Component.js';
36
36
  import '@alfalab/core-components-skeleton/esm';
37
- import '../../intersection-observer-4bd81169.js';
37
+ import '../../intersection-observer-7304e334.js';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-651def22.js';
1
+ import '../../tslib.es6-e89d50db.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -8,7 +8,7 @@ import '@juggle/resize-observer';
8
8
  import 'downshift';
9
9
  import '@alfalab/core-components-popover/esm';
10
10
  import '@alfalab/hooks';
11
- import '../../Component-49ae431a.js';
11
+ import '../../Component-cf5c933f.js';
12
12
  import '../../utils.js';
13
13
  import '../native-select/Component.js';
14
14
  import '@alfalab/core-components-form-control/esm';
@@ -27,11 +27,11 @@ import '../../Component.js';
27
27
  import '@alfalab/core-components-bottom-sheet/esm';
28
28
  import '@alfalab/core-components-modal/esm/mobile';
29
29
  import '@alfalab/core-components-button/esm';
30
- export { a as SelectModalMobile } from '../../Component-ef141f41.js';
30
+ export { a as SelectModalMobile } from '../../Component-804e366f.js';
31
31
  import '../base-checkmark/Component.js';
32
32
  import '@alfalab/core-components-base-modal/esm';
33
33
  import '../base-select-mobile/options-list/Component.js';
34
34
  import 'react-virtual';
35
35
  import '../base-option/Component.js';
36
36
  import '@alfalab/core-components-skeleton/esm';
37
- import '../../intersection-observer-4bd81169.js';
37
+ import '../../intersection-observer-7304e334.js';
@@ -1 +1 @@
1
- export * from "../../Component-ef141f41";
1
+ export * from "../../Component-804e366f";
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-651def22.js';
1
+ import '../../tslib.es6-e89d50db.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -8,7 +8,7 @@ import '@juggle/resize-observer';
8
8
  import 'downshift';
9
9
  import '@alfalab/core-components-popover/esm';
10
10
  import '@alfalab/hooks';
11
- import '../../Component-49ae431a.js';
11
+ import '../../Component-cf5c933f.js';
12
12
  import '../../utils.js';
13
13
  import '../native-select/Component.js';
14
14
  import '@alfalab/core-components-form-control/esm';
@@ -27,11 +27,11 @@ import '../../Component.js';
27
27
  import '@alfalab/core-components-bottom-sheet/esm';
28
28
  import '@alfalab/core-components-modal/esm/mobile';
29
29
  import '@alfalab/core-components-button/esm';
30
- export { a as SelectModalMobile } from '../../Component-ef141f41.js';
30
+ export { a as SelectModalMobile } from '../../Component-804e366f.js';
31
31
  import '../base-checkmark/Component.js';
32
32
  import '@alfalab/core-components-base-modal/esm';
33
33
  import '../base-select-mobile/options-list/Component.js';
34
34
  import 'react-virtual';
35
35
  import '../base-option/Component.js';
36
36
  import '@alfalab/core-components-skeleton/esm';
37
- import '../../intersection-observer-4bd81169.js';
37
+ import '../../intersection-observer-7304e334.js';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-651def22.js';
1
+ import { a as __assign } from '../../tslib.es6-e89d50db.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 { Optgroup } from '../optgroup/Component.js';
7
7
  import { Scrollbar } from '@alfalab/core-components-scrollbar/esm';
8
8
  import { useVirtual } from 'react-virtual';
9
9
 
10
- var styles = {"virtualOptionsList":"select__virtualOptionsList_8q0uv","scrollable":"select__scrollable_8q0uv","inner":"select__inner_8q0uv","virtualRow":"select__virtualRow_8q0uv","highlighted":"select__highlighted_8q0uv","emptyPlaceholder":"select__emptyPlaceholder_8q0uv","l":"select__l_8q0uv","xl":"select__xl_8q0uv"};
10
+ var styles = {"virtualOptionsList":"select__virtualOptionsList_ejsnk","scrollable":"select__scrollable_ejsnk","inner":"select__inner_ejsnk","virtualRow":"select__virtualRow_ejsnk","highlighted":"select__highlighted_ejsnk","emptyPlaceholder":"select__emptyPlaceholder_ejsnk","l":"select__l_ejsnk","xl":"select__xl_ejsnk"};
11
11
  require('./index.css')
12
12
 
13
13
  /* eslint-disable react-hooks/exhaustive-deps */
@@ -1,4 +1,4 @@
1
- /* hash: 1b951 */
1
+ /* hash: qys35 */
2
2
  :root {
3
3
  --color-light-border-primary: #dbdee1;
4
4
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
@@ -32,27 +32,27 @@
32
32
 
33
33
  /* optgroup */
34
34
  }
35
- .select__virtualOptionsList_8q0uv {
35
+ .select__virtualOptionsList_ejsnk {
36
36
  width: 100%;
37
37
  outline: none;
38
38
  box-sizing: border-box;
39
39
  position: relative;
40
40
  }
41
- .select__scrollable_8q0uv {
41
+ .select__scrollable_ejsnk {
42
42
  overflow: auto;
43
43
  width: 100%;
44
44
  }
45
- .select__inner_8q0uv {
45
+ .select__inner_ejsnk {
46
46
  position: relative;
47
47
  width: 100%;
48
48
  }
49
- .select__virtualRow_8q0uv {
49
+ .select__virtualRow_ejsnk {
50
50
  position: absolute;
51
51
  top: 0;
52
52
  left: 0;
53
53
  width: 100%
54
54
  }
55
- .select__virtualRow_8q0uv:before {
55
+ .select__virtualRow_ejsnk: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_8q0uv:first-child:before {
66
+ .select__virtualRow_ejsnk:first-child:before {
67
67
  display: none;
68
68
  }
69
- .select__highlighted_8q0uv:before,
70
- .select__highlighted_8q0uv + .select__virtualRow_8q0uv:before {
69
+ .select__highlighted_ejsnk:before,
70
+ .select__highlighted_ejsnk + .select__virtualRow_ejsnk:before {
71
71
  display: none;
72
72
  }
73
- .select__emptyPlaceholder_8q0uv {
73
+ .select__emptyPlaceholder_ejsnk {
74
74
  padding: var(--gap-m) var(--gap-s);
75
75
  color: var(--select-options-list-empty-placeholder-color);
76
76
  }
77
- .select__l_8q0uv .select__emptyPlaceholder_8q0uv,
78
- .select__xl_8q0uv .select__emptyPlaceholder_8q0uv {
77
+ .select__l_ejsnk .select__emptyPlaceholder_ejsnk,
78
+ .select__xl_ejsnk .select__emptyPlaceholder_ejsnk {
79
79
  padding: var(--gap-xl) var(--gap-m);
80
80
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-651def22.js';
1
+ import '../../tslib.es6-e89d50db.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-651def22.js';
1
+ import './tslib.es6-e89d50db.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -8,7 +8,7 @@ import '@juggle/resize-observer';
8
8
  import 'downshift';
9
9
  import '@alfalab/core-components-popover/esm';
10
10
  import '@alfalab/hooks';
11
- export { B as BaseSelect } from './Component-49ae431a.js';
11
+ export { B as BaseSelect } from './Component-cf5c933f.js';
12
12
  export { isGroup, isOptionShape, joinOptions, lastIndexOf, processOptions, usePrevious, useVisibleOptions } from './utils.js';
13
13
  import './components/native-select/Component.js';
14
14
  import '@alfalab/core-components-form-control/esm';
@@ -27,7 +27,7 @@ export { Select } from './Component.js';
27
27
  import '@alfalab/core-components-bottom-sheet/esm';
28
28
  import '@alfalab/core-components-modal/esm/mobile';
29
29
  import '@alfalab/core-components-button/esm';
30
- export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-ef141f41.js';
30
+ export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-804e366f.js';
31
31
  import './components/base-checkmark/Component.js';
32
32
  import '@alfalab/core-components-base-modal/esm';
33
33
  import './components/base-select-mobile/options-list/Component.js';
@@ -37,4 +37,4 @@ export { BaseOption } from './components/base-option/Component.js';
37
37
  import '@alfalab/core-components-skeleton/esm';
38
38
  export { useSelectWithLoading } from './presets/useSelectWithLoading/hook.js';
39
39
  export { useLazyLoading } from './presets/useLazyLoading/hook.js';
40
- import './intersection-observer-4bd81169.js';
40
+ import './intersection-observer-7304e334.js';
@@ -1,4 +1,4 @@
1
- import '../tslib.es6-651def22.js';
1
+ import '../tslib.es6-e89d50db.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -8,7 +8,7 @@ import '@juggle/resize-observer';
8
8
  import 'downshift';
9
9
  import '@alfalab/core-components-popover/esm';
10
10
  import '@alfalab/hooks';
11
- import '../Component-49ae431a.js';
11
+ import '../Component-cf5c933f.js';
12
12
  import '../utils.js';
13
13
  import '../components/native-select/Component.js';
14
14
  import '@alfalab/core-components-form-control/esm';
@@ -27,7 +27,7 @@ import '../Component.js';
27
27
  import '@alfalab/core-components-bottom-sheet/esm';
28
28
  import '@alfalab/core-components-modal/esm/mobile';
29
29
  import '@alfalab/core-components-button/esm';
30
- export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-ef141f41.js';
30
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-804e366f.js';
31
31
  import '../components/base-checkmark/Component.js';
32
32
  import '@alfalab/core-components-base-modal/esm';
33
33
  import '../components/base-select-mobile/options-list/Component.js';
@@ -36,4 +36,4 @@ import '../components/base-option/Component.js';
36
36
  import '@alfalab/core-components-skeleton/esm';
37
37
  export { useSelectWithLoading } from './useSelectWithLoading/hook.js';
38
38
  export { useLazyLoading } from './useLazyLoading/hook.js';
39
- import '../intersection-observer-4bd81169.js';
39
+ import '../intersection-observer-7304e334.js';
@@ -1,4 +1,4 @@
1
- import { b as __spreadArray, a as __assign } from '../../tslib.es6-651def22.js';
1
+ import { b as __spreadArray, a as __assign } from '../../tslib.es6-e89d50db.js';
2
2
  import React, { useReducer, useRef, useCallback, useEffect, useMemo } from 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components/badge';
@@ -9,9 +9,9 @@ import '@alfalab/core-components-checkbox/esm';
9
9
  import '../../components/checkmark/Component.js';
10
10
  import { Option } from '../../components/option/Component.js';
11
11
  import { Skeleton } from '@alfalab/core-components-skeleton/esm';
12
- import '../../intersection-observer-4bd81169.js';
12
+ import '../../intersection-observer-7304e334.js';
13
13
 
14
- var styles = {"skeleton":"select__skeleton_e5ban"};
14
+ var styles = {"skeleton":"select__skeleton_91jzo"};
15
15
  require('./index.css')
16
16
 
17
17
  var DEBOUNCE_TIMEOUT = 300;
@@ -1,5 +1,5 @@
1
- /* hash: xhn4t */
2
- .select__skeleton_e5ban {
1
+ /* hash: 16wb5 */
2
+ .select__skeleton_91jzo {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-651def22.js';
1
+ import '../../tslib.es6-e89d50db.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -8,7 +8,7 @@ import '@juggle/resize-observer';
8
8
  import 'downshift';
9
9
  import '@alfalab/core-components-popover/esm';
10
10
  import '@alfalab/hooks';
11
- import '../../Component-49ae431a.js';
11
+ import '../../Component-cf5c933f.js';
12
12
  import '../../utils.js';
13
13
  import '../../components/native-select/Component.js';
14
14
  import '@alfalab/core-components-form-control/esm';
@@ -27,11 +27,11 @@ import '../../Component.js';
27
27
  import '@alfalab/core-components-bottom-sheet/esm';
28
28
  import '@alfalab/core-components-modal/esm/mobile';
29
29
  import '@alfalab/core-components-button/esm';
30
- export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-ef141f41.js';
30
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-804e366f.js';
31
31
  import '../../components/base-checkmark/Component.js';
32
32
  import '@alfalab/core-components-base-modal/esm';
33
33
  import '../../components/base-select-mobile/options-list/Component.js';
34
34
  import 'react-virtual';
35
35
  import '../../components/base-option/Component.js';
36
36
  import '@alfalab/core-components-skeleton/esm';
37
- import '../../intersection-observer-4bd81169.js';
37
+ import '../../intersection-observer-7304e334.js';
@@ -1,4 +1,4 @@
1
- import '../../../tslib.es6-651def22.js';
1
+ import '../../../tslib.es6-e89d50db.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -8,7 +8,7 @@ import '@juggle/resize-observer';
8
8
  import 'downshift';
9
9
  import '@alfalab/core-components-popover/esm';
10
10
  import '@alfalab/hooks';
11
- import '../../../Component-49ae431a.js';
11
+ import '../../../Component-cf5c933f.js';
12
12
  import '../../../utils.js';
13
13
  import '../../../components/native-select/Component.js';
14
14
  import '@alfalab/core-components-form-control/esm';
@@ -27,11 +27,11 @@ import '../../../Component.js';
27
27
  import '@alfalab/core-components-bottom-sheet/esm';
28
28
  import '@alfalab/core-components-modal/esm/mobile';
29
29
  import '@alfalab/core-components-button/esm';
30
- export { O as OptionsListWithApply } from '../../../Component-ef141f41.js';
30
+ export { O as OptionsListWithApply } from '../../../Component-804e366f.js';
31
31
  import '../../../components/base-checkmark/Component.js';
32
32
  import '@alfalab/core-components-base-modal/esm';
33
33
  import '../../../components/base-select-mobile/options-list/Component.js';
34
34
  import 'react-virtual';
35
35
  import '../../../components/base-option/Component.js';
36
36
  import '@alfalab/core-components-skeleton/esm';
37
- import '../../../intersection-observer-4bd81169.js';
37
+ import '../../../intersection-observer-7304e334.js';
@@ -1,4 +1,4 @@
1
- /* hash: 9qzz5 */
1
+ /* hash: 1kt8s */
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_13khx {
28
+ .select__footer_du7ug {
29
29
  background: var(--color-light-bg-primary);
30
30
  padding: var(--gap-s);
31
31
  outline: none
32
32
  }
33
- .select__footer_13khx > * + * {
33
+ .select__footer_du7ug > * + * {
34
34
  margin-left: var(--gap-xs);
35
35
  }
36
- .select__withBorder_13khx {
36
+ .select__withBorder_du7ug {
37
37
  box-shadow: inset 0 1px 0 var(--color-light-border-secondary);
38
38
  }
@@ -1 +1 @@
1
- export * from "../../../Component-ef141f41";
1
+ export * from "../../../Component-804e366f";
@@ -1,4 +1,4 @@
1
- import '../../../tslib.es6-651def22.js';
1
+ import '../../../tslib.es6-e89d50db.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -8,7 +8,7 @@ import '@juggle/resize-observer';
8
8
  import 'downshift';
9
9
  import '@alfalab/core-components-popover/esm';
10
10
  import '@alfalab/hooks';
11
- import '../../../Component-49ae431a.js';
11
+ import '../../../Component-cf5c933f.js';
12
12
  import '../../../utils.js';
13
13
  import '../../../components/native-select/Component.js';
14
14
  import '@alfalab/core-components-form-control/esm';
@@ -27,11 +27,11 @@ import '../../../Component.js';
27
27
  import '@alfalab/core-components-bottom-sheet/esm';
28
28
  import '@alfalab/core-components-modal/esm/mobile';
29
29
  import '@alfalab/core-components-button/esm';
30
- export { O as OptionsListWithApply } from '../../../Component-ef141f41.js';
30
+ export { O as OptionsListWithApply } from '../../../Component-804e366f.js';
31
31
  import '../../../components/base-checkmark/Component.js';
32
32
  import '@alfalab/core-components-base-modal/esm';
33
33
  import '../../../components/base-select-mobile/options-list/Component.js';
34
34
  import 'react-virtual';
35
35
  import '../../../components/base-option/Component.js';
36
36
  import '@alfalab/core-components-skeleton/esm';
37
- import '../../../intersection-observer-4bd81169.js';
37
+ import '../../../intersection-observer-7304e334.js';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-651def22.js';
1
+ import { a as __assign } from '../../tslib.es6-e89d50db.js';
2
2
  import React from 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components/badge';
@@ -10,7 +10,7 @@ import '../../components/checkmark/Component.js';
10
10
  import { Option } from '../../components/option/Component.js';
11
11
  import { Skeleton } from '@alfalab/core-components-skeleton/esm';
12
12
 
13
- var styles = {"skeleton":"select__skeleton_1e8mj"};
13
+ var styles = {"skeleton":"select__skeleton_1llhj"};
14
14
  require('./index.css')
15
15
 
16
16
  function useSelectWithLoading(_a) {
@@ -1,5 +1,5 @@
1
- /* hash: gdve4 */
2
- .select__skeleton_1e8mj {
1
+ /* hash: 1295o */
2
+ .select__skeleton_1llhj {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);