@alfalab/core-components-select 13.2.7 → 13.2.9

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 (218) hide show
  1. package/{Component-d0416db1.d.ts → Component-15130ab3.d.ts} +0 -0
  2. package/{Component-d0416db1.js → Component-15130ab3.js} +2 -2
  3. package/{Component-f8843b94.d.ts → Component-f1158c0d.d.ts} +0 -0
  4. package/{Component-f8843b94.js → Component-f1158c0d.js} +5 -5
  5. package/Component.d.ts +1 -1
  6. package/Component.js +2 -2
  7. package/Component.responsive.js +4 -4
  8. package/components/arrow/Component.js +1 -1
  9. package/components/arrow/index.css +12 -11
  10. package/components/base-checkmark/Component.js +1 -1
  11. package/components/base-checkmark/index.css +13 -9
  12. package/components/base-option/Component.js +2 -2
  13. package/components/base-option/index.css +22 -33
  14. package/components/base-option/index.js +1 -1
  15. package/components/base-select/Component.js +2 -2
  16. package/components/base-select/index.css +18 -24
  17. package/components/base-select/index.d.ts +1 -1
  18. package/components/base-select/index.js +2 -2
  19. package/components/base-select-mobile/Component.js +4 -4
  20. package/components/base-select-mobile/checkmark/Component.js +1 -1
  21. package/components/base-select-mobile/checkmark/index.css +15 -13
  22. package/components/base-select-mobile/index.css +21 -27
  23. package/components/base-select-mobile/index.d.ts +1 -1
  24. package/components/base-select-mobile/index.js +4 -4
  25. package/components/base-select-mobile/options-list/Component.js +2 -2
  26. package/components/base-select-mobile/options-list/index.css +19 -24
  27. package/components/base-select-mobile/options-list/index.js +1 -1
  28. package/components/checkmark/Component.js +1 -1
  29. package/components/checkmark/index.css +18 -24
  30. package/components/field/Component.js +2 -2
  31. package/components/field/index.css +18 -24
  32. package/components/field/index.js +1 -1
  33. package/components/index.js +4 -4
  34. package/components/native-select/Component.js +1 -1
  35. package/components/native-select/index.js +1 -1
  36. package/components/optgroup/Component.js +1 -1
  37. package/components/optgroup/index.css +15 -16
  38. package/components/option/Component.js +2 -2
  39. package/components/option/index.css +30 -47
  40. package/components/option/index.js +1 -1
  41. package/components/options-list/Component.js +2 -2
  42. package/components/options-list/index.css +15 -16
  43. package/components/options-list/index.js +1 -1
  44. package/components/select-mobile/Component.js +4 -4
  45. package/components/select-mobile/index.d.ts +1 -1
  46. package/components/select-mobile/index.js +4 -4
  47. package/components/select-modal-mobile/Component.js +4 -4
  48. package/components/select-modal-mobile/index.d.ts +1 -1
  49. package/components/select-modal-mobile/index.js +4 -4
  50. package/components/virtual-options-list/Component.js +2 -2
  51. package/components/virtual-options-list/index.css +21 -27
  52. package/components/virtual-options-list/index.js +1 -1
  53. package/cssm/Component.d.ts +1 -1
  54. package/cssm/components/arrow/index.module.css +11 -10
  55. package/cssm/components/base-checkmark/index.module.css +12 -8
  56. package/cssm/components/base-option/index.module.css +21 -32
  57. package/cssm/components/base-select/index.module.css +16 -22
  58. package/cssm/components/base-select-mobile/checkmark/index.module.css +14 -12
  59. package/cssm/components/base-select-mobile/index.module.css +19 -25
  60. package/cssm/components/base-select-mobile/options-list/index.module.css +17 -22
  61. package/cssm/components/checkmark/index.module.css +17 -23
  62. package/cssm/components/field/index.module.css +17 -23
  63. package/cssm/components/optgroup/index.module.css +13 -14
  64. package/cssm/components/option/index.module.css +26 -43
  65. package/cssm/components/options-list/index.module.css +13 -14
  66. package/cssm/components/virtual-options-list/index.module.css +18 -24
  67. package/cssm/index-3fe0d3e6.d.ts +2 -0
  68. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.module.css +12 -12
  69. package/cssm/typings.d.ts +1 -5
  70. package/esm/{Component-a4f5db58.d.ts → Component-45681199.d.ts} +0 -0
  71. package/esm/{Component-a4f5db58.js → Component-45681199.js} +2 -2
  72. package/esm/{Component-cd3a0fb2.d.ts → Component-ff31e94c.d.ts} +0 -0
  73. package/esm/{Component-cd3a0fb2.js → Component-ff31e94c.js} +5 -5
  74. package/esm/Component.d.ts +1 -1
  75. package/esm/Component.js +2 -2
  76. package/esm/Component.responsive.js +4 -4
  77. package/esm/components/arrow/Component.js +1 -1
  78. package/esm/components/arrow/index.css +12 -11
  79. package/esm/components/base-checkmark/Component.js +1 -1
  80. package/esm/components/base-checkmark/index.css +13 -9
  81. package/esm/components/base-option/Component.js +2 -2
  82. package/esm/components/base-option/index.css +22 -33
  83. package/esm/components/base-option/index.js +1 -1
  84. package/esm/components/base-select/Component.js +2 -2
  85. package/esm/components/base-select/index.css +18 -24
  86. package/esm/components/base-select/index.d.ts +1 -1
  87. package/esm/components/base-select/index.js +2 -2
  88. package/esm/components/base-select-mobile/Component.js +4 -4
  89. package/esm/components/base-select-mobile/checkmark/Component.js +1 -1
  90. package/esm/components/base-select-mobile/checkmark/index.css +15 -13
  91. package/esm/components/base-select-mobile/index.css +21 -27
  92. package/esm/components/base-select-mobile/index.d.ts +1 -1
  93. package/esm/components/base-select-mobile/index.js +4 -4
  94. package/esm/components/base-select-mobile/options-list/Component.js +2 -2
  95. package/esm/components/base-select-mobile/options-list/index.css +19 -24
  96. package/esm/components/base-select-mobile/options-list/index.js +1 -1
  97. package/esm/components/checkmark/Component.js +1 -1
  98. package/esm/components/checkmark/index.css +18 -24
  99. package/esm/components/field/Component.js +2 -2
  100. package/esm/components/field/index.css +18 -24
  101. package/esm/components/field/index.js +1 -1
  102. package/esm/components/index.js +4 -4
  103. package/esm/components/native-select/Component.js +1 -1
  104. package/esm/components/native-select/index.js +1 -1
  105. package/esm/components/optgroup/Component.js +1 -1
  106. package/esm/components/optgroup/index.css +15 -16
  107. package/esm/components/option/Component.js +2 -2
  108. package/esm/components/option/index.css +30 -47
  109. package/esm/components/option/index.js +1 -1
  110. package/esm/components/options-list/Component.js +2 -2
  111. package/esm/components/options-list/index.css +15 -16
  112. package/esm/components/options-list/index.js +1 -1
  113. package/esm/components/select-mobile/Component.js +4 -4
  114. package/esm/components/select-mobile/index.d.ts +1 -1
  115. package/esm/components/select-mobile/index.js +4 -4
  116. package/esm/components/select-modal-mobile/Component.js +4 -4
  117. package/esm/components/select-modal-mobile/index.d.ts +1 -1
  118. package/esm/components/select-modal-mobile/index.js +4 -4
  119. package/esm/components/virtual-options-list/Component.js +2 -2
  120. package/esm/components/virtual-options-list/index.css +21 -27
  121. package/esm/components/virtual-options-list/index.js +1 -1
  122. package/esm/index-3fe0d3e6.d.ts +2 -0
  123. package/esm/index.js +4 -4
  124. package/esm/{intersection-observer-3636a1ee.d.ts → intersection-observer-ce0b7183.d.ts} +0 -0
  125. package/esm/{intersection-observer-3636a1ee.js → intersection-observer-ce0b7183.js} +0 -0
  126. package/esm/presets/index.js +4 -4
  127. package/esm/presets/useLazyLoading/hook.js +3 -3
  128. package/esm/presets/useLazyLoading/index.css +2 -2
  129. package/esm/presets/useSelectWithApply/hook.js +4 -4
  130. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
  131. package/esm/presets/useSelectWithApply/options-list-with-apply/index.css +13 -13
  132. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  133. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +4 -4
  134. package/esm/presets/useSelectWithLoading/hook.js +2 -2
  135. package/esm/presets/useSelectWithLoading/index.css +2 -2
  136. package/esm/responsive.js +4 -4
  137. package/esm/{tslib.es6-14a50f07.d.ts → tslib.es6-60ccbcec.d.ts} +0 -0
  138. package/esm/{tslib.es6-14a50f07.js → tslib.es6-60ccbcec.js} +0 -0
  139. package/esm/typings.d.ts +1 -5
  140. package/index-3fe0d3e6.d.ts +2 -0
  141. package/index.js +4 -4
  142. package/{intersection-observer-a637ef02.d.ts → intersection-observer-4a8b5b51.d.ts} +0 -0
  143. package/{intersection-observer-a637ef02.js → intersection-observer-4a8b5b51.js} +0 -0
  144. package/modern/{Component-d798746a.d.ts → Component-0998aafe.d.ts} +0 -0
  145. package/modern/{Component-d798746a.js → Component-0998aafe.js} +1 -1
  146. package/modern/{Component-c168633c.d.ts → Component-adf0c0e0.d.ts} +0 -0
  147. package/modern/{Component-c168633c.js → Component-adf0c0e0.js} +4 -4
  148. package/modern/Component.d.ts +1 -1
  149. package/modern/Component.js +1 -1
  150. package/modern/Component.responsive.js +3 -3
  151. package/modern/components/arrow/Component.js +1 -1
  152. package/modern/components/arrow/index.css +12 -11
  153. package/modern/components/base-checkmark/Component.js +1 -1
  154. package/modern/components/base-checkmark/index.css +13 -9
  155. package/modern/components/base-option/Component.js +1 -1
  156. package/modern/components/base-option/index.css +22 -33
  157. package/modern/components/base-select/Component.js +1 -1
  158. package/modern/components/base-select/index.css +18 -24
  159. package/modern/components/base-select/index.d.ts +1 -1
  160. package/modern/components/base-select/index.js +1 -1
  161. package/modern/components/base-select-mobile/Component.js +3 -3
  162. package/modern/components/base-select-mobile/checkmark/Component.js +1 -1
  163. package/modern/components/base-select-mobile/checkmark/index.css +15 -13
  164. package/modern/components/base-select-mobile/index.css +21 -27
  165. package/modern/components/base-select-mobile/index.d.ts +1 -1
  166. package/modern/components/base-select-mobile/index.js +3 -3
  167. package/modern/components/base-select-mobile/options-list/Component.js +1 -1
  168. package/modern/components/base-select-mobile/options-list/index.css +19 -24
  169. package/modern/components/checkmark/Component.js +1 -1
  170. package/modern/components/checkmark/index.css +18 -24
  171. package/modern/components/field/Component.js +1 -1
  172. package/modern/components/field/index.css +18 -24
  173. package/modern/components/index.js +3 -3
  174. package/modern/components/optgroup/Component.js +1 -1
  175. package/modern/components/optgroup/index.css +15 -16
  176. package/modern/components/option/Component.js +1 -1
  177. package/modern/components/option/index.css +30 -47
  178. package/modern/components/options-list/Component.js +1 -1
  179. package/modern/components/options-list/index.css +15 -16
  180. package/modern/components/select-mobile/Component.js +3 -3
  181. package/modern/components/select-mobile/index.d.ts +1 -1
  182. package/modern/components/select-mobile/index.js +3 -3
  183. package/modern/components/select-modal-mobile/Component.js +3 -3
  184. package/modern/components/select-modal-mobile/index.d.ts +1 -1
  185. package/modern/components/select-modal-mobile/index.js +3 -3
  186. package/modern/components/virtual-options-list/Component.js +1 -1
  187. package/modern/components/virtual-options-list/index.css +21 -27
  188. package/modern/index-3fe0d3e6.d.ts +2 -0
  189. package/modern/index.js +3 -3
  190. package/modern/{intersection-observer-3636a1ee.d.ts → intersection-observer-ce0b7183.d.ts} +0 -0
  191. package/modern/{intersection-observer-3636a1ee.js → intersection-observer-ce0b7183.js} +0 -0
  192. package/modern/presets/index.js +3 -3
  193. package/modern/presets/useLazyLoading/hook.js +2 -2
  194. package/modern/presets/useLazyLoading/index.css +2 -2
  195. package/modern/presets/useSelectWithApply/hook.js +3 -3
  196. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  197. package/modern/presets/useSelectWithApply/options-list-with-apply/index.css +13 -13
  198. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  199. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  200. package/modern/presets/useSelectWithLoading/hook.js +1 -1
  201. package/modern/presets/useSelectWithLoading/index.css +2 -2
  202. package/modern/responsive.js +3 -3
  203. package/modern/typings.d.ts +1 -5
  204. package/package.json +5 -5
  205. package/presets/index.js +4 -4
  206. package/presets/useLazyLoading/hook.js +3 -3
  207. package/presets/useLazyLoading/index.css +2 -2
  208. package/presets/useSelectWithApply/hook.js +4 -4
  209. package/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
  210. package/presets/useSelectWithApply/options-list-with-apply/index.css +13 -13
  211. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  212. package/presets/useSelectWithApply/options-list-with-apply/index.js +4 -4
  213. package/presets/useSelectWithLoading/hook.js +2 -2
  214. package/presets/useSelectWithLoading/index.css +2 -2
  215. package/responsive.js +4 -4
  216. package/{tslib.es6-7774243f.d.ts → tslib.es6-dde7343f.d.ts} +0 -0
  217. package/{tslib.es6-7774243f.js → tslib.es6-dde7343f.js} +0 -0
  218. package/typings.d.ts +1 -5
@@ -1,32 +1,33 @@
1
- /* hash: 14kmn */
1
+ /* hash: 1xppv */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-bg-primary: #fff;
4
5
  --color-light-bg-secondary: #f3f4f5;
5
6
  --color-light-bg-tertiary: #e7e9eb;
6
7
  --color-light-border-primary: #dbdee1;
7
8
  --color-light-text-primary: #0b1f35;
8
9
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
9
- }
10
- :root {
10
+ } :root {
11
+ } :root {
12
+ } :root {
11
13
 
12
14
  /* Hard */
13
15
 
14
16
  /* Up */
15
17
 
16
18
  /* Hard up */
17
- }
18
- :root {
19
+ } :root {
20
+ } :root {
19
21
  --gap-s: 12px;
20
22
  --gap-m: 16px;
21
- }
22
- :root {
23
+ } :root {
24
+ } :root {
23
25
  --disabled-cursor: not-allowed;
24
26
  --size-s-height: 48px;
25
27
  --size-m-height: 56px;
26
28
  --size-l-height: 64px;
27
29
  --size-xl-height: 72px;
28
- }
29
- :root {
30
+ } :root {
30
31
 
31
32
  /* options list */
32
33
  --select-option-divider-display: none;
@@ -52,8 +53,7 @@
52
53
  /* checkmark */
53
54
 
54
55
  /* optgroup */
55
- }
56
- .select__option_189wa {
56
+ } .select__option_1mi4y {
57
57
  font-size: 16px;
58
58
  line-height: 20px;
59
59
  font-weight: 400;
@@ -68,12 +68,10 @@
68
68
  box-sizing: border-box;
69
69
  position: relative;
70
70
  cursor: pointer
71
- }
72
- .select__option_189wa:not(.select__disabled_189wa):active {
71
+ } .select__option_1mi4y:not(.select__disabled_1mi4y):active {
73
72
  background: var(--select-option-active-background);
74
73
  color: var(--select-option-active-color);
75
- }
76
- .select__option_189wa:before {
74
+ } .select__option_1mi4y:before {
77
75
  content: '';
78
76
  position: absolute;
79
77
  left: var(--select-option-left-padding);
@@ -83,61 +81,46 @@
83
81
  background: var(--select-option-divider-background);
84
82
  display: var(--select-option-divider-display);
85
83
  transition: opacity 0.2s ease;
86
- }
87
- .select__option_189wa:first-child:before {
84
+ } .select__option_1mi4y:first-child:before {
88
85
  display: none;
89
- }
90
- .select__s_189wa {
86
+ } .select__s_1mi4y {
91
87
  min-height: var(--size-s-height);
92
- }
93
- .select__m_189wa {
88
+ } .select__m_1mi4y {
94
89
  min-height: var(--size-m-height);
95
- }
96
- .select__l_189wa {
90
+ } .select__l_1mi4y {
97
91
  min-height: var(--size-l-height);
98
- }
99
- .select__xl_189wa {
92
+ } .select__xl_1mi4y {
100
93
  min-height: var(--size-xl-height);
101
- }
102
- .select__l_189wa,
103
- .select__xl_189wa {
94
+ } .select__l_1mi4y,
95
+ .select__xl_1mi4y {
104
96
  padding-left: var(--select-option-l-left-padding);
105
97
  padding-right: var(--select-option-l-right-padding)
106
- }
107
- .select__l_189wa:before, .select__xl_189wa:before {
98
+ } .select__l_1mi4y:before, .select__xl_1mi4y:before {
108
99
  left: var(--select-option-l-left-padding);
109
100
  right: var(--select-option-l-right-padding);
110
- }
111
- .select__selected_189wa {
101
+ } .select__selected_1mi4y {
112
102
  background: var(--select-option-selected-background);
113
103
  color: var(--select-option-selected-color);
114
104
  cursor: default;
115
- }
116
- .select__highlighted_189wa {
105
+ } .select__highlighted_1mi4y {
117
106
  background: var(--select-option-hover-background);
118
107
  color: var(--select-option-hover-color)
119
- }
120
- .select__highlighted_189wa:before,
121
- .select__highlighted_189wa + .select__option_189wa:before {
108
+ } .select__highlighted_1mi4y:before,
109
+ .select__highlighted_1mi4y + .select__option_1mi4y:before {
122
110
  opacity: 0;
123
- }
124
- .select__disabled_189wa {
111
+ } .select__disabled_1mi4y {
125
112
  cursor: var(--disabled-cursor);
126
113
  background: var(--select-option-disabled-background);
127
114
  color: var(--select-option-disabled-color);
128
- }
129
- .select__content_189wa {
115
+ } .select__content_1mi4y {
130
116
  overflow: hidden;
131
117
  flex: 1;
132
118
  text-overflow: ellipsis;
133
- }
134
- .select__textContent_189wa {
119
+ } .select__textContent_1mi4y {
135
120
  padding-top: var(--gap-s);
136
121
  padding-bottom: var(--gap-s);
137
- }
138
- /* IE min-height fix */
139
- @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
140
- .select__option_189wa:after {
122
+ } /* IE min-height fix */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
123
+ .select__option_1mi4y:after {
141
124
  min-height: inherit;
142
125
  font-size: 0;
143
126
  content: '';
@@ -1,5 +1,5 @@
1
1
  export { Option } from './Component.js';
2
- import '../../tslib.es6-14a50f07.js';
2
+ import '../../tslib.es6-60ccbcec.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
5
  import '../base-select-mobile/checkmark/Component.js';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-14a50f07.js';
1
+ import { a as __assign } from '../../tslib.es6-60ccbcec.js';
2
2
  import React, { forwardRef, useRef } from 'react';
3
3
  import mergeRefs from 'react-merge-refs';
4
4
  import cn from 'classnames';
@@ -7,7 +7,7 @@ import { useMedia } from '@alfalab/hooks';
7
7
  import { useVisibleOptions, isGroup } from '../../utils.js';
8
8
  import { Optgroup } from '../optgroup/Component.js';
9
9
 
10
- var styles = {"optionsList":"select__optionsList_1wota","scrollable":"select__scrollable_1wota","emptyPlaceholder":"select__emptyPlaceholder_1wota","l":"select__l_1wota","xl":"select__xl_1wota"};
10
+ var styles = {"optionsList":"select__optionsList_pnda4","scrollable":"select__scrollable_pnda4","emptyPlaceholder":"select__emptyPlaceholder_pnda4","l":"select__l_pnda4","xl":"select__xl_pnda4"};
11
11
  require('./index.css')
12
12
 
13
13
  var createCounter = function () {
@@ -1,21 +1,24 @@
1
- /* hash: u2039 */
1
+ /* hash: 151ap */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
4
- }
5
- :root {
5
+ } :root {
6
+ } :root {
7
+ } :root {
6
8
 
7
9
  /* Hard */
8
10
 
9
11
  /* Up */
10
12
 
11
13
  /* Hard up */
12
- }
13
- :root {
14
+ } :root {
15
+ } :root {
14
16
  --gap-s: 12px;
15
17
  --gap-m: 16px;
16
18
  --gap-xl: 24px;
17
- }
18
- :root {
19
+ } :root {
20
+ } :root {
21
+ } :root {
19
22
 
20
23
  /* options list */
21
24
  --select-options-list-empty-placeholder-color: var(--color-light-text-secondary);
@@ -25,22 +28,18 @@
25
28
  /* checkmark */
26
29
 
27
30
  /* optgroup */
28
- }
29
- .select__optionsList_1wota {
31
+ } .select__optionsList_pnda4 {
30
32
  overflow: auto;
31
33
  width: 100%;
32
34
  outline: none;
33
35
  box-sizing: border-box;
34
- }
35
- .select__scrollable_1wota {
36
+ } .select__scrollable_pnda4 {
36
37
  overflow: auto;
37
38
  width: 100%;
38
- }
39
- .select__emptyPlaceholder_1wota {
39
+ } .select__emptyPlaceholder_pnda4 {
40
40
  padding: var(--gap-m) var(--gap-s);
41
41
  color: var(--select-options-list-empty-placeholder-color);
42
- }
43
- .select__l_1wota .select__emptyPlaceholder_1wota,
44
- .select__xl_1wota .select__emptyPlaceholder_1wota {
42
+ } .select__l_pnda4 .select__emptyPlaceholder_pnda4,
43
+ .select__xl_pnda4 .select__emptyPlaceholder_pnda4 {
45
44
  padding: var(--gap-xl) var(--gap-m);
46
45
  }
@@ -1,5 +1,5 @@
1
1
  export { OptionsList } from './Component.js';
2
- import '../../tslib.es6-14a50f07.js';
2
+ import '../../tslib.es6-60ccbcec.js';
3
3
  import 'react';
4
4
  import 'react-merge-refs';
5
5
  import 'classnames';
@@ -1,7 +1,7 @@
1
- import '../../tslib.es6-14a50f07.js';
1
+ import '../../tslib.es6-60ccbcec.js';
2
2
  import 'react';
3
3
  import '../arrow/Component.js';
4
- export { S as SelectMobile } from '../../Component-cd3a0fb2.js';
4
+ export { S as SelectMobile } from '../../Component-ff31e94c.js';
5
5
  import '../field/Component.js';
6
6
  import '../optgroup/Component.js';
7
7
  import '../option/Component.js';
@@ -12,7 +12,7 @@ import 'downshift';
12
12
  import '@alfalab/core-components-bottom-sheet/esm';
13
13
  import '@alfalab/core-components-modal/esm/mobile';
14
14
  import '../../Component.js';
15
- import '../../Component-a4f5db58.js';
15
+ import '../../Component-45681199.js';
16
16
  import '@juggle/resize-observer';
17
17
  import '@alfalab/core-components-popover/esm';
18
18
  import '@alfalab/hooks';
@@ -31,7 +31,7 @@ import 'react-virtual';
31
31
  import '../base-option/Component.js';
32
32
  import '../base-checkmark/Component.js';
33
33
  import '@alfalab/core-components-skeleton/esm';
34
- import '../../intersection-observer-3636a1ee.js';
34
+ import '../../intersection-observer-ce0b7183.js';
35
35
  import '@alfalab/core-components-button/esm';
36
36
  import '../base-select-mobile/options-list/Component.js';
37
37
  import '@alfalab/core-components-base-modal/esm';
@@ -1 +1 @@
1
- export * from "../../Component-cd3a0fb2";
1
+ export * from "../../Component-ff31e94c";
@@ -1,5 +1,5 @@
1
- export { S as SelectMobile } from '../../Component-cd3a0fb2.js';
2
- import '../../tslib.es6-14a50f07.js';
1
+ export { S as SelectMobile } from '../../Component-ff31e94c.js';
2
+ import '../../tslib.es6-60ccbcec.js';
3
3
  import 'react';
4
4
  import '../arrow/Component.js';
5
5
  import 'classnames';
@@ -9,7 +9,7 @@ import 'downshift';
9
9
  import '@alfalab/core-components-bottom-sheet/esm';
10
10
  import '@alfalab/core-components-modal/esm/mobile';
11
11
  import '../../Component.js';
12
- import '../../Component-a4f5db58.js';
12
+ import '../../Component-45681199.js';
13
13
  import '@juggle/resize-observer';
14
14
  import '@alfalab/core-components-popover/esm';
15
15
  import '@alfalab/hooks';
@@ -31,7 +31,7 @@ import 'react-virtual';
31
31
  import '../base-option/Component.js';
32
32
  import '../base-checkmark/Component.js';
33
33
  import '@alfalab/core-components-skeleton/esm';
34
- import '../../intersection-observer-3636a1ee.js';
34
+ import '../../intersection-observer-ce0b7183.js';
35
35
  import '@alfalab/core-components-button/esm';
36
36
  import '../base-select-mobile/options-list/Component.js';
37
37
  import '@alfalab/core-components-base-modal/esm';
@@ -1,7 +1,7 @@
1
- import '../../tslib.es6-14a50f07.js';
1
+ import '../../tslib.es6-60ccbcec.js';
2
2
  import 'react';
3
3
  import '../arrow/Component.js';
4
- export { a as SelectModalMobile } from '../../Component-cd3a0fb2.js';
4
+ export { a as SelectModalMobile } from '../../Component-ff31e94c.js';
5
5
  import '../field/Component.js';
6
6
  import '../optgroup/Component.js';
7
7
  import '../option/Component.js';
@@ -12,7 +12,7 @@ import 'downshift';
12
12
  import '@alfalab/core-components-bottom-sheet/esm';
13
13
  import '@alfalab/core-components-modal/esm/mobile';
14
14
  import '../../Component.js';
15
- import '../../Component-a4f5db58.js';
15
+ import '../../Component-45681199.js';
16
16
  import '@juggle/resize-observer';
17
17
  import '@alfalab/core-components-popover/esm';
18
18
  import '@alfalab/hooks';
@@ -31,7 +31,7 @@ import 'react-virtual';
31
31
  import '../base-option/Component.js';
32
32
  import '../base-checkmark/Component.js';
33
33
  import '@alfalab/core-components-skeleton/esm';
34
- import '../../intersection-observer-3636a1ee.js';
34
+ import '../../intersection-observer-ce0b7183.js';
35
35
  import '@alfalab/core-components-button/esm';
36
36
  import '../base-select-mobile/options-list/Component.js';
37
37
  import '@alfalab/core-components-base-modal/esm';
@@ -1 +1 @@
1
- export * from "../../Component-cd3a0fb2";
1
+ export * from "../../Component-ff31e94c";
@@ -1,5 +1,5 @@
1
- export { a as SelectModalMobile } from '../../Component-cd3a0fb2.js';
2
- import '../../tslib.es6-14a50f07.js';
1
+ export { a as SelectModalMobile } from '../../Component-ff31e94c.js';
2
+ import '../../tslib.es6-60ccbcec.js';
3
3
  import 'react';
4
4
  import '../arrow/Component.js';
5
5
  import 'classnames';
@@ -9,7 +9,7 @@ import 'downshift';
9
9
  import '@alfalab/core-components-bottom-sheet/esm';
10
10
  import '@alfalab/core-components-modal/esm/mobile';
11
11
  import '../../Component.js';
12
- import '../../Component-a4f5db58.js';
12
+ import '../../Component-45681199.js';
13
13
  import '@juggle/resize-observer';
14
14
  import '@alfalab/core-components-popover/esm';
15
15
  import '@alfalab/hooks';
@@ -31,7 +31,7 @@ import 'react-virtual';
31
31
  import '../base-option/Component.js';
32
32
  import '../base-checkmark/Component.js';
33
33
  import '@alfalab/core-components-skeleton/esm';
34
- import '../../intersection-observer-3636a1ee.js';
34
+ import '../../intersection-observer-ce0b7183.js';
35
35
  import '@alfalab/core-components-button/esm';
36
36
  import '../base-select-mobile/options-list/Component.js';
37
37
  import '@alfalab/core-components-base-modal/esm';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-14a50f07.js';
1
+ import { a as __assign } from '../../tslib.es6-60ccbcec.js';
2
2
  import React, { useRef, useState, useEffect, useMemo } from 'react';
3
3
  import { useVirtual } from 'react-virtual';
4
4
  import cn from 'classnames';
@@ -7,7 +7,7 @@ import { useMedia } from '@alfalab/hooks';
7
7
  import { usePrevious, lastIndexOf, useVisibleOptions, isGroup } from '../../utils.js';
8
8
  import { Optgroup } from '../optgroup/Component.js';
9
9
 
10
- var styles = {"virtualOptionsList":"select__virtualOptionsList_wgypz","scrollable":"select__scrollable_wgypz","inner":"select__inner_wgypz","virtualRow":"select__virtualRow_wgypz","highlighted":"select__highlighted_wgypz","emptyPlaceholder":"select__emptyPlaceholder_wgypz","l":"select__l_wgypz","xl":"select__xl_wgypz"};
10
+ var styles = {"virtualOptionsList":"select__virtualOptionsList_5e7h2","scrollable":"select__scrollable_5e7h2","inner":"select__inner_5e7h2","virtualRow":"select__virtualRow_5e7h2","highlighted":"select__highlighted_5e7h2","emptyPlaceholder":"select__emptyPlaceholder_5e7h2","l":"select__l_5e7h2","xl":"select__xl_5e7h2"};
11
11
  require('./index.css')
12
12
 
13
13
  /* eslint-disable react-hooks/exhaustive-deps */
@@ -1,22 +1,25 @@
1
- /* hash: 6czi8 */
1
+ /* hash: 4ja25 */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-border-primary: #dbdee1;
4
5
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
5
- }
6
- :root {
6
+ } :root {
7
+ } :root {
8
+ } :root {
7
9
 
8
10
  /* Hard */
9
11
 
10
12
  /* Up */
11
13
 
12
14
  /* Hard up */
13
- }
14
- :root {
15
+ } :root {
16
+ } :root {
15
17
  --gap-s: 12px;
16
18
  --gap-m: 16px;
17
19
  --gap-xl: 24px;
18
- }
19
- :root {
20
+ } :root {
21
+ } :root {
22
+ } :root {
20
23
 
21
24
  /* options list */
22
25
  --select-options-list-empty-placeholder-color: var(--color-light-text-secondary);
@@ -31,28 +34,23 @@
31
34
  /* checkmark */
32
35
 
33
36
  /* optgroup */
34
- }
35
- .select__virtualOptionsList_wgypz {
37
+ } .select__virtualOptionsList_5e7h2 {
36
38
  width: 100%;
37
39
  outline: none;
38
40
  box-sizing: border-box;
39
41
  position: relative;
40
- }
41
- .select__scrollable_wgypz {
42
+ } .select__scrollable_5e7h2 {
42
43
  overflow: auto;
43
44
  width: 100%;
44
- }
45
- .select__inner_wgypz {
45
+ } .select__inner_5e7h2 {
46
46
  position: relative;
47
47
  width: 100%;
48
- }
49
- .select__virtualRow_wgypz {
48
+ } .select__virtualRow_5e7h2 {
50
49
  position: absolute;
51
50
  top: 0;
52
51
  left: 0;
53
52
  width: 100%
54
- }
55
- .select__virtualRow_wgypz:before {
53
+ } .select__virtualRow_5e7h2:before {
56
54
  content: '';
57
55
  position: absolute;
58
56
  z-index: 1;
@@ -62,19 +60,15 @@
62
60
  height: 1px;
63
61
  background: var(--select-option-divider-background);
64
62
  display: var(--select-option-divider-display);
65
- }
66
- .select__virtualRow_wgypz:first-child:before {
63
+ } .select__virtualRow_5e7h2:first-child:before {
67
64
  display: none;
68
- }
69
- .select__highlighted_wgypz:before,
70
- .select__highlighted_wgypz + .select__virtualRow_wgypz:before {
65
+ } .select__highlighted_5e7h2:before,
66
+ .select__highlighted_5e7h2 + .select__virtualRow_5e7h2:before {
71
67
  display: none;
72
- }
73
- .select__emptyPlaceholder_wgypz {
68
+ } .select__emptyPlaceholder_5e7h2 {
74
69
  padding: var(--gap-m) var(--gap-s);
75
70
  color: var(--select-options-list-empty-placeholder-color);
76
- }
77
- .select__l_wgypz .select__emptyPlaceholder_wgypz,
78
- .select__xl_wgypz .select__emptyPlaceholder_wgypz {
71
+ } .select__l_5e7h2 .select__emptyPlaceholder_5e7h2,
72
+ .select__xl_5e7h2 .select__emptyPlaceholder_5e7h2 {
79
73
  padding: var(--gap-xl) var(--gap-m);
80
74
  }
@@ -1,5 +1,5 @@
1
1
  export { VirtualOptionsList } from './Component.js';
2
- import '../../tslib.es6-14a50f07.js';
2
+ import '../../tslib.es6-60ccbcec.js';
3
3
  import 'react';
4
4
  import 'react-virtual';
5
5
  import 'classnames';
@@ -1 +1,3 @@
1
+ declare const isClient: () => boolean;
2
+ export { isClient };
1
3
  export * from "./getDataTestId-3fe0d3e6";
package/esm/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export { Select } from './Component.js';
2
2
  export { Arrow } from './components/arrow/Component.js';
3
- export { B as BaseSelect } from './Component-a4f5db58.js';
4
- export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-cd3a0fb2.js';
3
+ export { B as BaseSelect } from './Component-45681199.js';
4
+ export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-ff31e94c.js';
5
5
  export { Field } from './components/field/Component.js';
6
6
  export { Optgroup } from './components/optgroup/Component.js';
7
7
  export { Option } from './components/option/Component.js';
@@ -11,7 +11,7 @@ export { BaseOption } from './components/base-option/Component.js';
11
11
  export { useSelectWithLoading } from './presets/useSelectWithLoading/hook.js';
12
12
  export { useLazyLoading } from './presets/useLazyLoading/hook.js';
13
13
  export { isGroup, isOptionShape, joinOptions, lastIndexOf, processOptions, usePrevious, useVisibleOptions } from './utils.js';
14
- import './tslib.es6-14a50f07.js';
14
+ import './tslib.es6-60ccbcec.js';
15
15
  import 'react';
16
16
  import 'classnames';
17
17
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -33,7 +33,7 @@ import '@alfalab/core-components-bottom-sheet/esm';
33
33
  import '@alfalab/core-components-modal/esm/mobile';
34
34
  import 'react-virtual';
35
35
  import '@alfalab/core-components-skeleton/esm';
36
- import './intersection-observer-3636a1ee.js';
36
+ import './intersection-observer-ce0b7183.js';
37
37
  import '@alfalab/core-components-button/esm';
38
38
  import './components/base-checkmark/Component.js';
39
39
  import './components/base-select-mobile/options-list/Component.js';
@@ -1,7 +1,7 @@
1
1
  export { useSelectWithLoading } from './useSelectWithLoading/hook.js';
2
2
  export { useLazyLoading } from './useLazyLoading/hook.js';
3
- export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-cd3a0fb2.js';
4
- import '../tslib.es6-14a50f07.js';
3
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-ff31e94c.js';
4
+ import '../tslib.es6-60ccbcec.js';
5
5
  import 'react';
6
6
  import '@alfalab/core-components-skeleton/esm';
7
7
  import '../components/option/Component.js';
@@ -12,7 +12,7 @@ import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
12
12
  import '@alfalab/icons-glyph/CheckmarkMIcon';
13
13
  import '../components/checkmark/Component.js';
14
14
  import '@alfalab/core-components-checkbox/esm';
15
- import '../intersection-observer-3636a1ee.js';
15
+ import '../intersection-observer-ce0b7183.js';
16
16
  import '../components/arrow/Component.js';
17
17
  import '@alfalab/icons-glyph/ChevronDownMIcon';
18
18
  import 'react-merge-refs';
@@ -20,7 +20,7 @@ import 'downshift';
20
20
  import '@alfalab/core-components-bottom-sheet/esm';
21
21
  import '@alfalab/core-components-modal/esm/mobile';
22
22
  import '../Component.js';
23
- import '../Component-a4f5db58.js';
23
+ import '../Component-45681199.js';
24
24
  import '@juggle/resize-observer';
25
25
  import '@alfalab/core-components-popover/esm';
26
26
  import '@alfalab/hooks';
@@ -1,8 +1,8 @@
1
- import { b as __spreadArray, a as __assign } from '../../tslib.es6-14a50f07.js';
1
+ import { b as __spreadArray, a as __assign } from '../../tslib.es6-60ccbcec.js';
2
2
  import React, { useReducer, useRef, useCallback, useEffect, useMemo } from 'react';
3
3
  import { Skeleton } from '@alfalab/core-components-skeleton/esm';
4
4
  import { Option } from '../../components/option/Component.js';
5
- import '../../intersection-observer-3636a1ee.js';
5
+ import '../../intersection-observer-ce0b7183.js';
6
6
  import 'classnames';
7
7
  import '../../components/base-select-mobile/checkmark/Component.js';
8
8
  import '@alfalab/core-components-badge/esm';
@@ -11,7 +11,7 @@ import '@alfalab/icons-glyph/CheckmarkMIcon';
11
11
  import '../../components/checkmark/Component.js';
12
12
  import '@alfalab/core-components-checkbox/esm';
13
13
 
14
- var styles = {"skeleton":"select__skeleton_hug99"};
14
+ var styles = {"skeleton":"select__skeleton_5291c"};
15
15
  require('./index.css')
16
16
 
17
17
  var DEBOUNCE_TIMEOUT = 300;
@@ -1,5 +1,5 @@
1
- /* hash: nm87l */
2
- .select__skeleton_hug99 {
1
+ /* hash: tredw */
2
+ .select__skeleton_5291c {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
@@ -1,10 +1,10 @@
1
- import '../../tslib.es6-14a50f07.js';
1
+ import '../../tslib.es6-60ccbcec.js';
2
2
  import 'react';
3
3
  import '../../Component.js';
4
4
  import 'classnames';
5
5
  import '@alfalab/icons-glyph/ChevronDownMIcon';
6
- import '../../Component-a4f5db58.js';
7
- export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-cd3a0fb2.js';
6
+ import '../../Component-45681199.js';
7
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-ff31e94c.js';
8
8
  import '@alfalab/core-components-form-control/esm';
9
9
  import '@alfalab/hooks';
10
10
  import '../../utils.js';
@@ -16,7 +16,7 @@ import '../../components/options-list/Component.js';
16
16
  import 'react-virtual';
17
17
  import '@alfalab/core-components-scrollbar/esm';
18
18
  import '@alfalab/core-components-skeleton/esm';
19
- import '../../intersection-observer-3636a1ee.js';
19
+ import '../../intersection-observer-ce0b7183.js';
20
20
  import '../../components/arrow/Component.js';
21
21
  import '../../components/field/Component.js';
22
22
  import '../../components/optgroup/Component.js';
@@ -1,10 +1,10 @@
1
- import '../../../tslib.es6-14a50f07.js';
1
+ import '../../../tslib.es6-60ccbcec.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-button/esm';
5
5
  import '@alfalab/icons-glyph/ChevronDownMIcon';
6
- import '../../../Component-a4f5db58.js';
7
- export { O as OptionsListWithApply } from '../../../Component-cd3a0fb2.js';
6
+ import '../../../Component-45681199.js';
7
+ export { O as OptionsListWithApply } from '../../../Component-ff31e94c.js';
8
8
  import '@alfalab/core-components-form-control/esm';
9
9
  import '@alfalab/hooks';
10
10
  import '@alfalab/core-components-badge/esm';
@@ -32,6 +32,6 @@ import '../../../components/checkmark/Component.js';
32
32
  import '../../../components/base-option/Component.js';
33
33
  import '../../../components/base-checkmark/Component.js';
34
34
  import '@alfalab/core-components-skeleton/esm';
35
- import '../../../intersection-observer-3636a1ee.js';
35
+ import '../../../intersection-observer-ce0b7183.js';
36
36
  import '../../../components/base-select-mobile/options-list/Component.js';
37
37
  import '@alfalab/core-components-base-modal/esm';