@alfalab/core-components-select 17.11.0 → 17.12.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 (195) hide show
  1. package/components/arrow/Component.js +1 -1
  2. package/components/arrow/index.css +3 -3
  3. package/components/base-checkmark/Component.js +1 -1
  4. package/components/base-checkmark/index.css +6 -6
  5. package/components/base-option/Component.js +1 -1
  6. package/components/base-option/index.css +18 -17
  7. package/components/base-select/Component.js +2 -2
  8. package/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
  9. package/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
  10. package/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
  11. package/components/base-select/index.css +24 -22
  12. package/components/base-select/mobile.css +16 -15
  13. package/components/checkmark/Component.js +1 -1
  14. package/components/checkmark/index.css +12 -11
  15. package/components/checkmark-mobile/Component.js +1 -1
  16. package/components/checkmark-mobile/index.css +6 -6
  17. package/components/clear-button/Component.js +1 -1
  18. package/components/clear-button/index.css +6 -6
  19. package/components/field/Component.js +1 -1
  20. package/components/field/index.css +12 -12
  21. package/components/footer/Component.js +1 -1
  22. package/components/footer/index.css +5 -5
  23. package/components/optgroup/Component.js +1 -1
  24. package/components/optgroup/index.css +6 -6
  25. package/components/option/Component.js +1 -1
  26. package/components/option/index.css +21 -21
  27. package/components/options-list/Component.js +3 -3
  28. package/components/options-list/index.css +14 -11
  29. package/components/search/Component.js +1 -1
  30. package/components/search/index.css +2 -2
  31. package/components/virtual-options-list/Component.js +1 -1
  32. package/components/virtual-options-list/index.css +20 -19
  33. package/cssm/components/base-option/index.module.css +3 -2
  34. package/cssm/components/base-select/index.module.css +13 -11
  35. package/cssm/components/base-select/mobile.module.css +4 -3
  36. package/cssm/components/checkmark/index.module.css +2 -1
  37. package/cssm/components/option/index.module.css +2 -2
  38. package/cssm/components/options-list/Component.js +2 -2
  39. package/cssm/components/options-list/index.module.css +4 -1
  40. package/cssm/components/virtual-options-list/index.module.css +5 -4
  41. package/cssm/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css +3 -1
  42. package/cssm/presets/useSelectWithApply/options-list-with-apply/footer/vars.css +0 -0
  43. package/cssm/utils.d.ts +1 -1
  44. package/cssm/utils.js +11 -0
  45. package/esm/components/arrow/Component.js +1 -1
  46. package/esm/components/arrow/index.css +3 -3
  47. package/esm/components/base-checkmark/Component.js +1 -1
  48. package/esm/components/base-checkmark/index.css +6 -6
  49. package/esm/components/base-option/Component.js +1 -1
  50. package/esm/components/base-option/index.css +18 -17
  51. package/esm/components/base-select/Component.js +2 -2
  52. package/esm/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
  53. package/esm/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
  54. package/esm/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
  55. package/esm/components/base-select/index.css +24 -22
  56. package/esm/components/base-select/mobile.css +16 -15
  57. package/esm/components/checkmark/Component.js +1 -1
  58. package/esm/components/checkmark/index.css +12 -11
  59. package/esm/components/checkmark-mobile/Component.js +1 -1
  60. package/esm/components/checkmark-mobile/index.css +6 -6
  61. package/esm/components/clear-button/Component.js +1 -1
  62. package/esm/components/clear-button/index.css +6 -6
  63. package/esm/components/field/Component.js +1 -1
  64. package/esm/components/field/index.css +12 -12
  65. package/esm/components/footer/Component.js +1 -1
  66. package/esm/components/footer/index.css +5 -5
  67. package/esm/components/optgroup/Component.js +1 -1
  68. package/esm/components/optgroup/index.css +6 -6
  69. package/esm/components/option/Component.js +1 -1
  70. package/esm/components/option/index.css +21 -21
  71. package/esm/components/options-list/Component.js +3 -3
  72. package/esm/components/options-list/index.css +14 -11
  73. package/esm/components/search/Component.js +1 -1
  74. package/esm/components/search/index.css +2 -2
  75. package/esm/components/virtual-options-list/Component.js +1 -1
  76. package/esm/components/virtual-options-list/index.css +20 -19
  77. package/esm/{list-popover-desktop-3b5200e4.js → list-popover-desktop-e4b69ce0.js} +1 -1
  78. package/esm/mobile/Component.mobile.js +1 -1
  79. package/esm/mobile.module-a3e68caf.js +4 -0
  80. package/esm/presets/index.js +1 -1
  81. package/esm/presets/useSelectWithApply/hook.js +1 -1
  82. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  83. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  84. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +6 -4
  85. package/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  86. package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  87. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  88. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  89. package/esm/presets/useSelectWithLoading/hook.js +1 -1
  90. package/esm/presets/useSelectWithLoading/index.css +2 -2
  91. package/esm/shared/index.js +1 -1
  92. package/esm/utils.d.ts +1 -1
  93. package/esm/utils.js +13 -2
  94. package/{list-popover-desktop-3e8f155e.js → list-popover-desktop-8ffefe6e.js} +1 -1
  95. package/mobile/Component.mobile.js +1 -1
  96. package/mobile.module-97d68ba9.js +6 -0
  97. package/modern/components/arrow/Component.js +1 -1
  98. package/modern/components/arrow/index.css +3 -3
  99. package/modern/components/base-checkmark/Component.js +1 -1
  100. package/modern/components/base-checkmark/index.css +6 -6
  101. package/modern/components/base-option/Component.js +1 -1
  102. package/modern/components/base-option/index.css +18 -17
  103. package/modern/components/base-select/Component.js +2 -2
  104. package/modern/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
  105. package/modern/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
  106. package/modern/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
  107. package/modern/components/base-select/index.css +24 -22
  108. package/modern/components/base-select/mobile.css +16 -15
  109. package/modern/components/checkmark/Component.js +1 -1
  110. package/modern/components/checkmark/index.css +12 -11
  111. package/modern/components/checkmark-mobile/Component.js +1 -1
  112. package/modern/components/checkmark-mobile/index.css +6 -6
  113. package/modern/components/clear-button/Component.js +1 -1
  114. package/modern/components/clear-button/index.css +6 -6
  115. package/modern/components/field/Component.js +1 -1
  116. package/modern/components/field/index.css +12 -12
  117. package/modern/components/footer/Component.js +1 -1
  118. package/modern/components/footer/index.css +5 -5
  119. package/modern/components/optgroup/Component.js +1 -1
  120. package/modern/components/optgroup/index.css +6 -6
  121. package/modern/components/option/Component.js +1 -1
  122. package/modern/components/option/index.css +21 -21
  123. package/modern/components/options-list/Component.js +3 -3
  124. package/modern/components/options-list/index.css +14 -11
  125. package/modern/components/search/Component.js +1 -1
  126. package/modern/components/search/index.css +2 -2
  127. package/modern/components/virtual-options-list/Component.js +1 -1
  128. package/modern/components/virtual-options-list/index.css +20 -19
  129. package/modern/{list-popover-desktop-387dae64.js → list-popover-desktop-85370c2c.js} +1 -1
  130. package/modern/mobile/Component.mobile.js +1 -1
  131. package/modern/mobile.module-eb08a4de.js +4 -0
  132. package/modern/presets/index.js +1 -1
  133. package/modern/presets/useSelectWithApply/hook.js +1 -1
  134. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  135. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  136. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +6 -4
  137. package/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  138. package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  139. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  140. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  141. package/modern/presets/useSelectWithLoading/hook.js +1 -1
  142. package/modern/presets/useSelectWithLoading/index.css +2 -2
  143. package/modern/shared/index.js +1 -1
  144. package/modern/utils.d.ts +1 -1
  145. package/modern/utils.js +13 -2
  146. package/moderncssm/components/base-option/index.module.css +2 -2
  147. package/moderncssm/components/base-select/index.module.css +11 -11
  148. package/moderncssm/components/base-select/mobile.module.css +3 -3
  149. package/moderncssm/components/checkmark/index.module.css +1 -1
  150. package/moderncssm/components/option/index.module.css +1 -2
  151. package/moderncssm/components/options-list/Component.js +2 -2
  152. package/moderncssm/components/options-list/index.module.css +4 -1
  153. package/moderncssm/components/virtual-options-list/index.module.css +4 -4
  154. package/moderncssm/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css +4 -3
  155. package/moderncssm/presets/useSelectWithApply/options-list-with-apply/footer/vars.css +0 -0
  156. package/moderncssm/utils.d.ts +1 -1
  157. package/moderncssm/utils.js +13 -2
  158. package/package.json +15 -15
  159. package/presets/index.js +1 -1
  160. package/presets/useSelectWithApply/hook.js +1 -1
  161. package/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  162. package/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  163. package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +6 -4
  164. package/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  165. package/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  166. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  167. package/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  168. package/presets/useSelectWithLoading/hook.js +1 -1
  169. package/presets/useSelectWithLoading/index.css +2 -2
  170. package/shared/index.js +1 -1
  171. package/src/components/base-option/index.module.css +2 -2
  172. package/src/components/base-select/index.module.css +8 -8
  173. package/src/components/base-select/mobile.module.css +3 -3
  174. package/src/components/option/index.module.css +1 -2
  175. package/src/components/options-list/Component.tsx +2 -1
  176. package/src/components/options-list/index.module.css +5 -1
  177. package/src/components/virtual-options-list/index.module.css +4 -4
  178. package/src/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css +2 -1
  179. package/src/presets/useSelectWithApply/options-list-with-apply/footer/vars.css +3 -0
  180. package/src/utils.ts +28 -3
  181. package/src/vars.css +4 -4
  182. package/utils.d.ts +1 -1
  183. package/utils.js +11 -0
  184. package/esm/mobile.module-841dbab1.js +0 -4
  185. package/mobile.module-6a431abb.js +0 -6
  186. package/modern/mobile.module-5583797d.js +0 -4
  187. /package/esm/{hook-4a4a5429.d.ts → hook-276c96dc.d.ts} +0 -0
  188. /package/esm/{hook-4a4a5429.js → hook-276c96dc.js} +0 -0
  189. /package/esm/{list-popover-desktop-3b5200e4.d.ts → list-popover-desktop-e4b69ce0.d.ts} +0 -0
  190. /package/{hook-06aedfaf.d.ts → hook-c8ba558c.d.ts} +0 -0
  191. /package/{hook-06aedfaf.js → hook-c8ba558c.js} +0 -0
  192. /package/{list-popover-desktop-3e8f155e.d.ts → list-popover-desktop-8ffefe6e.d.ts} +0 -0
  193. /package/modern/{hook-07ac3ee1.d.ts → hook-a054f3bb.d.ts} +0 -0
  194. /package/modern/{hook-07ac3ee1.js → hook-a054f3bb.js} +0 -0
  195. /package/modern/{list-popover-desktop-387dae64.d.ts → list-popover-desktop-85370c2c.d.ts} +0 -0
@@ -5,7 +5,7 @@ import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
5
5
  import { Checkmark as Checkmark$1 } from '../checkmark/Component.js';
6
6
  import { Checkmark } from '../checkmark-mobile/Component.js';
7
7
 
8
- var styles = {"option":"select__option_188lv","disabled":"select__disabled_188lv","size-48":"select__size-48_188lv","size-56":"select__size-56_188lv","size-64":"select__size-64_188lv","size-72":"select__size-72_188lv","selected":"select__selected_188lv","highlighted":"select__highlighted_188lv","content":"select__content_188lv","textContent":"select__textContent_188lv"};
8
+ var styles = {"option":"select__option_km37p","disabled":"select__disabled_km37p","size-48":"select__size-48_km37p","size-56":"select__size-56_km37p","size-64":"select__size-64_km37p","size-72":"select__size-72_km37p","selected":"select__selected_km37p","highlighted":"select__highlighted_km37p","content":"select__content_km37p","textContent":"select__textContent_km37p"};
9
9
  require('./index.css')
10
10
 
11
11
  var Option = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 18rlh */
1
+ /* hash: ldvo0 */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-modal-bg-primary: #fff;
@@ -24,6 +24,7 @@
24
24
  --gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
25
25
 
26
26
  /* новые значения, используйте их */
27
+ --gap-0: 0;
27
28
  --gap-12: var(--gap-s);
28
29
  --gap-16: var(--gap-m);
29
30
  } :root {
@@ -59,7 +60,7 @@
59
60
  /* checkmark */
60
61
 
61
62
  /* optgroup */
62
- } .select__option_188lv {
63
+ } .select__option_km37p {
63
64
  font-size: 16px;
64
65
  line-height: 20px;
65
66
  font-weight: 400;
@@ -74,56 +75,55 @@
74
75
  box-sizing: border-box;
75
76
  position: relative;
76
77
  cursor: pointer
77
- } .select__option_188lv:not(.select__disabled_188lv):active {
78
+ } .select__option_km37p:not(.select__disabled_km37p):active {
78
79
  background: var(--select-option-active-background);
79
80
  color: var(--select-option-active-color);
80
- } .select__option_188lv:before {
81
+ } .select__option_km37p:before {
81
82
  content: '';
82
83
  position: absolute;
83
84
  left: var(--select-option-left-padding);
84
85
  right: var(--select-option-right-padding);
85
- top: 0;
86
+ top: var(--gap-0);
86
87
  height: 1px;
87
88
  background: var(--select-option-divider-background);
88
89
  display: var(--select-option-divider-display);
89
90
  transition: opacity 0.2s ease;
90
- } .select__option_188lv:first-child:before {
91
+ } .select__option_km37p:first-child:before {
91
92
  display: none;
92
- } .select__size-48_188lv {
93
+ } .select__size-48_km37p {
93
94
  min-height: var(--size-s-height);
94
- } .select__size-56_188lv {
95
+ } .select__size-56_km37p {
95
96
  min-height: var(--size-m-height);
96
- } .select__size-64_188lv {
97
+ } .select__size-64_km37p {
97
98
  min-height: var(--size-l-height);
98
- } .select__size-72_188lv {
99
+ } .select__size-72_km37p {
99
100
  min-height: var(--size-xl-height);
100
- } .select__size-64_188lv,
101
- .select__size-72_188lv {
101
+ } .select__size-64_km37p,
102
+ .select__size-72_km37p {
102
103
  padding-left: var(--select-option-l-left-padding);
103
104
  padding-right: var(--select-option-l-right-padding)
104
- } .select__size-64_188lv:before, .select__size-72_188lv:before {
105
+ } .select__size-64_km37p:before, .select__size-72_km37p:before {
105
106
  left: var(--select-option-l-left-padding);
106
107
  right: var(--select-option-l-right-padding);
107
- } .select__selected_188lv {
108
+ } .select__selected_km37p {
108
109
  background: var(--select-option-selected-background);
109
110
  color: var(--select-option-selected-color);
110
111
  cursor: default;
111
- } .select__highlighted_188lv {
112
+ } .select__highlighted_km37p {
112
113
  background: var(--select-option-hover-background);
113
114
  color: var(--select-option-hover-color)
114
- } .select__highlighted_188lv:before,
115
- .select__highlighted_188lv + .select__option_188lv:before {
115
+ } .select__highlighted_km37p:before,
116
+ .select__highlighted_km37p + .select__option_km37p:before {
116
117
  opacity: 0;
117
- } .select__disabled_188lv {
118
+ } .select__disabled_km37p {
118
119
  cursor: var(--disabled-cursor);
119
120
  background: var(--select-option-disabled-background);
120
121
  color: var(--select-option-disabled-color);
121
- } .select__content_188lv {
122
+ } .select__content_km37p {
122
123
  overflow: hidden;
123
124
  flex: 1;
124
125
  text-overflow: ellipsis;
125
- white-space: nowrap;
126
- } .select__textContent_188lv {
126
+ } .select__textContent_km37p {
127
127
  padding-top: var(--gap-12);
128
128
  padding-bottom: var(--gap-12);
129
129
  }
@@ -9,7 +9,7 @@ import { SIZE_TO_CLASSNAME_MAP, DEFAULT_VISIBLE_OPTIONS } from '../../consts.js'
9
9
  import { useVisibleOptions, isGroup } from '../../utils.js';
10
10
  import { Optgroup } from '../optgroup/Component.js';
11
11
 
12
- var styles = {"optionsList":"select__optionsList_1c9jr","optionsListHeader":"select__optionsListHeader_1c9jr","headerHighlighted":"select__headerHighlighted_1c9jr","optionsListFooter":"select__optionsListFooter_1c9jr","withBorder":"select__withBorder_1c9jr","scrollable":"select__scrollable_1c9jr","emptyPlaceholder":"select__emptyPlaceholder_1c9jr","size-64":"select__size-64_1c9jr","size-72":"select__size-72_1c9jr"};
12
+ var styles = {"optionsList":"select__optionsList_1mb77","optionsListHeader":"select__optionsListHeader_1mb77","headerHighlighted":"select__headerHighlighted_1mb77","optionsListFooter":"select__optionsListFooter_1mb77","withBorder":"select__withBorder_1mb77","scrollable":"select__scrollable_1mb77","-webkit-mask":"select__mask_1mb77","mask":"select__mask_1mb77","emptyPlaceholder":"select__emptyPlaceholder_1mb77","size-64":"select__size-64_1mb77","size-72":"select__size-72_1mb77"};
13
13
  require('./index.css')
14
14
 
15
15
  var createCounter = function () {
@@ -49,7 +49,7 @@ var OptionsList = forwardRef(function (_a, ref) {
49
49
  };
50
50
  return (React.createElement(Optgroup$1, __assign({ className: optionGroupClassName, label: group.label, key: group.label, size: size, options: group.options, selectedItems: groupSelectedItems, setSelectedItems: handleSelectedItems, search: search, multiple: multiple }, groupOptionProps), group.options.map(function (option) { return renderOption(option, counter()); })));
51
51
  };
52
- useVisibleOptions(__assign(__assign({}, (!nativeScrollbar && { styleTargetRef: scrollbarRef })), { visibleOptions: visibleOptions, listRef: listRef, open: open, options: options, actualOptionsCount: limitDynamicOptionGroupSize, size: limitDynamicOptionGroupSize
52
+ var measured = useVisibleOptions(__assign(__assign({}, (!nativeScrollbar && { styleTargetRef: scrollbarRef })), { visibleOptions: visibleOptions, listRef: listRef, open: open, options: options, actualOptionsCount: limitDynamicOptionGroupSize, size: limitDynamicOptionGroupSize
53
53
  ? (function () {
54
54
  switch (typeof size) {
55
55
  case 'string':
@@ -73,7 +73,7 @@ var OptionsList = forwardRef(function (_a, ref) {
73
73
  'data-test-id': dataTestId,
74
74
  ref: ref,
75
75
  };
76
- return (React.createElement(Scrollbar, { className: cn(styles.scrollable, scrollbarClassName), ref: scrollbarRef, horizontalAutoStretch: optionsListWidth === 'content', scrollableNodeProps: scrollableNodeProps, contentNodeProps: { ref: listRef } }, renderListItems()));
76
+ return (React.createElement(Scrollbar, { className: cn(styles.scrollable, scrollbarClassName), ref: scrollbarRef, horizontalAutoStretch: optionsListWidth === 'content', scrollableNodeProps: scrollableNodeProps, contentNodeProps: { ref: listRef }, maskProps: { className: measured ? undefined : styles.mask } }, renderListItems()));
77
77
  };
78
78
  var renderWithNativeScrollbar = function () { return (React.createElement("div", { className: cn(styles.scrollable, scrollbarClassName), ref: mergeRefs([listRef, ref]), onScroll: handleScroll }, renderListItems())); };
79
79
  var resetHighlightedIndex = function () { return setHighlightedIndex === null || setHighlightedIndex === void 0 ? void 0 : setHighlightedIndex(-1); };
@@ -1,4 +1,4 @@
1
- /* hash: 8988f */
1
+ /* hash: 1jwmg */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-300: #e7e8eb;
@@ -21,6 +21,7 @@
21
21
  --gap-xl: 24px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
22
22
 
23
23
  /* новые значения, используйте их */
24
+ --gap-0: 0;
24
25
  --gap-12: var(--gap-s);
25
26
  --gap-16: var(--gap-m);
26
27
  --gap-24: var(--gap-xl);
@@ -36,32 +37,34 @@
36
37
  /* checkmark */
37
38
 
38
39
  /* optgroup */
39
- } .select__optionsList_1c9jr {
40
+ } .select__optionsList_1mb77 {
40
41
  width: 100%;
41
42
  outline: none;
42
43
  box-sizing: border-box;
43
44
  position: relative;
44
- } .select__optionsListHeader_1c9jr {
45
+ } .select__optionsListHeader_1mb77 {
45
46
  box-sizing: border-box;
46
47
  border-bottom: 1px solid transparent;
47
48
  transition: border-color 0.2s ease
48
- } .select__optionsListHeader_1c9jr.select__headerHighlighted_1c9jr {
49
+ } .select__optionsListHeader_1mb77.select__headerHighlighted_1mb77 {
49
50
  border-bottom-color: var(--color-light-neutral-300);
50
- } .select__optionsListFooter_1c9jr {
51
+ } .select__optionsListFooter_1mb77 {
51
52
  position: sticky;
52
- bottom: 0;
53
+ bottom: var(--gap-0);
53
54
  box-sizing: border-box;
54
55
  border-top: 1px solid transparent;
55
56
  transition: border-color 0.2s ease
56
- } .select__optionsListFooter_1c9jr.select__withBorder_1c9jr {
57
+ } .select__optionsListFooter_1mb77.select__withBorder_1mb77 {
57
58
  border-top-color: var(--color-light-neutral-300);
58
- } .select__scrollable_1c9jr {
59
+ } .select__scrollable_1mb77 {
59
60
  overflow: auto;
60
61
  width: 100%;
61
- } .select__emptyPlaceholder_1c9jr {
62
+ } .select__mask_1mb77 {
63
+ min-width: 4000px;
64
+ } .select__emptyPlaceholder_1mb77 {
62
65
  padding: var(--gap-16) var(--gap-12);
63
66
  color: var(--select-options-list-empty-placeholder-color);
64
- } .select__size-64_1c9jr .select__emptyPlaceholder_1c9jr,
65
- .select__size-72_1c9jr .select__emptyPlaceholder_1c9jr {
67
+ } .select__size-64_1mb77 .select__emptyPlaceholder_1mb77,
68
+ .select__size-72_1mb77 .select__emptyPlaceholder_1mb77 {
66
69
  padding: var(--gap-24) var(--gap-16);
67
70
  }
@@ -4,7 +4,7 @@ import cn from 'classnames';
4
4
  import { Input } from '@alfalab/core-components-input/esm';
5
5
  import { MagnifierMIcon } from '@alfalab/icons-glyph/MagnifierMIcon';
6
6
 
7
- var styles = {"component":"select__component_17mdg"};
7
+ var styles = {"component":"select__component_irei0"};
8
8
  require('./index.css')
9
9
 
10
10
  var Search = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 1q64p */
1
+ /* hash: 1d07n */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -27,6 +27,6 @@
27
27
  /* checkmark */
28
28
 
29
29
  /* optgroup */
30
- } .select__component_17mdg.select__component_17mdg {
30
+ } .select__component_irei0.select__component_irei0 {
31
31
  width: auto;
32
32
  }
@@ -10,7 +10,7 @@ import { SIZE_TO_CLASSNAME_MAP, DEFAULT_VISIBLE_OPTIONS } from '../../consts.js'
10
10
  import { usePrevious, lastIndexOf, useVisibleOptions, isGroup } from '../../utils.js';
11
11
  import { Optgroup } from '../optgroup/Component.js';
12
12
 
13
- var styles = {"virtualOptionsList":"select__virtualOptionsList_1xjxo","virtualOptionsListHeader":"select__virtualOptionsListHeader_1xjxo","virtualOptionsListFooter":"select__virtualOptionsListFooter_1xjxo","withBorder":"select__withBorder_1xjxo","scrollable":"select__scrollable_1xjxo","inner":"select__inner_1xjxo","virtualRow":"select__virtualRow_1xjxo","highlighted":"select__highlighted_1xjxo","emptyPlaceholder":"select__emptyPlaceholder_1xjxo","size-64":"select__size-64_1xjxo","size-72":"select__size-72_1xjxo"};
13
+ var styles = {"virtualOptionsList":"select__virtualOptionsList_nejys","virtualOptionsListHeader":"select__virtualOptionsListHeader_nejys","virtualOptionsListFooter":"select__virtualOptionsListFooter_nejys","withBorder":"select__withBorder_nejys","scrollable":"select__scrollable_nejys","inner":"select__inner_nejys","virtualRow":"select__virtualRow_nejys","highlighted":"select__highlighted_nejys","emptyPlaceholder":"select__emptyPlaceholder_nejys","size-64":"select__size-64_nejys","size-72":"select__size-72_nejys"};
14
14
  require('./index.css')
15
15
 
16
16
  var VirtualOptionsList = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 1f06f */
1
+ /* hash: 1s63h */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-300: #e7e8eb;
@@ -22,6 +22,7 @@
22
22
  --gap-xl: 24px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
23
23
 
24
24
  /* новые значения, используйте их */
25
+ --gap-0: 0;
25
26
  --gap-12: var(--gap-s);
26
27
  --gap-16: var(--gap-m);
27
28
  --gap-24: var(--gap-xl);
@@ -42,54 +43,54 @@
42
43
  /* checkmark */
43
44
 
44
45
  /* optgroup */
45
- } .select__virtualOptionsList_1xjxo {
46
+ } .select__virtualOptionsList_nejys {
46
47
  width: 100%;
47
48
  outline: none;
48
49
  box-sizing: border-box;
49
50
  position: sticky;
50
51
  justify-content: space-between;
51
- } .select__virtualOptionsListHeader_1xjxo {
52
+ } .select__virtualOptionsListHeader_nejys {
52
53
  box-sizing: border-box;
53
54
  border-bottom: 1px solid var(--color-light-neutral-300);
54
- } .select__virtualOptionsListFooter_1xjxo {
55
+ } .select__virtualOptionsListFooter_nejys {
55
56
  position: sticky;
56
- bottom: 0;
57
+ bottom: var(--gap-0);
57
58
  box-sizing: border-box;
58
59
  border-top: 1px solid transparent
59
- } .select__virtualOptionsListFooter_1xjxo.select__withBorder_1xjxo {
60
+ } .select__virtualOptionsListFooter_nejys.select__withBorder_nejys {
60
61
  border-top: 1px solid var(--color-light-neutral-300);
61
- } .select__scrollable_1xjxo {
62
+ } .select__scrollable_nejys {
62
63
  position: relative;
63
64
  overflow: auto;
64
65
  width: 100%;
65
- } .select__inner_1xjxo {
66
+ } .select__inner_nejys {
66
67
  position: relative;
67
68
  width: 100%;
68
- } .select__virtualRow_1xjxo {
69
+ } .select__virtualRow_nejys {
69
70
  position: absolute;
70
- top: 0;
71
- left: 0;
71
+ top: var(--gap-0);
72
+ left: var(--gap-0);
72
73
  width: 100%
73
- } .select__virtualRow_1xjxo:before {
74
+ } .select__virtualRow_nejys:before {
74
75
  content: '';
75
76
  position: absolute;
76
77
  z-index: 1;
77
78
  left: var(--select-option-left-padding);
78
79
  right: var(--select-option-right-padding);
79
- top: 0;
80
+ top: var(--gap-0);
80
81
  height: 1px;
81
82
  background: var(--select-option-divider-background);
82
83
  display: var(--select-option-divider-display);
83
- } .select__virtualRow_1xjxo:first-child:before {
84
+ } .select__virtualRow_nejys:first-child:before {
84
85
  display: none;
85
- } .select__highlighted_1xjxo:before,
86
- .select__highlighted_1xjxo + .select__virtualRow_1xjxo:before {
86
+ } .select__highlighted_nejys:before,
87
+ .select__highlighted_nejys + .select__virtualRow_nejys:before {
87
88
  display: none;
88
- } .select__emptyPlaceholder_1xjxo {
89
+ } .select__emptyPlaceholder_nejys {
89
90
  padding: var(--gap-16) var(--gap-12);
90
91
  color: var(--select-options-list-empty-placeholder-color);
91
92
  flex: 1;
92
- } .select__size-64_1xjxo .select__emptyPlaceholder_1xjxo,
93
- .select__size-72_1xjxo .select__emptyPlaceholder_1xjxo {
93
+ } .select__size-64_nejys .select__emptyPlaceholder_nejys,
94
+ .select__size-72_nejys .select__emptyPlaceholder_nejys {
94
95
  padding: var(--gap-24) var(--gap-16);
95
96
  }
@@ -2,7 +2,7 @@ import { __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"select__component_dvitx","popoverInner":"select__popoverInner_dvitx","optionsListWrapper":"select__optionsListWrapper_dvitx","optionsListBorder":"select__optionsListBorder_dvitx","nativeSelect":"select__nativeSelect_dvitx","block":"select__block_dvitx","emptySearchPlaceholder":"select__emptySearchPlaceholder_dvitx","search":"select__search_dvitx"};
5
+ var styles = {"component":"select__component_11ha3","popoverInner":"select__popoverInner_11ha3","optionsListWrapper":"select__optionsListWrapper_11ha3","optionsListBorder":"select__optionsListBorder_11ha3","nativeSelect":"select__nativeSelect_11ha3","block":"select__block_11ha3","emptySearchPlaceholder":"select__emptySearchPlaceholder_11ha3","search":"select__search_11ha3"};
6
6
  require('./components/base-select/index.css')
7
7
 
8
8
  var ListPopoverDesktop = function (props) {
@@ -12,7 +12,7 @@ import { Option } from '../components/option/Component.js';
12
12
  import { OptionsList } from '../components/options-list/Component.js';
13
13
  import { Search } from '../components/search/Component.js';
14
14
  import { VirtualOptionsList } from '../components/virtual-options-list/Component.js';
15
- import { u as useSelectWithApply } from '../hook-4a4a5429.js';
15
+ import { u as useSelectWithApply } from '../hook-276c96dc.js';
16
16
  import { Header } from '../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
17
17
 
18
18
  var VIRTUAL_OPTIONS_LIST_THRESHOLD = 30;
@@ -0,0 +1,4 @@
1
+ var mobileStyles = {"sheet":"select__sheet_1j8de","sheetContent":"select__sheetContent_1j8de","modalContent":"select__modalContent_1j8de","sheetContainer":"select__sheetContainer_1j8de","optionsListWrapper":"select__optionsListWrapper_1j8de","optionsList":"select__optionsList_1j8de","scrollbar":"select__scrollbar_1j8de","search":"select__search_1j8de","option":"select__option_1j8de","optionGroup":"select__optionGroup_1j8de"};
2
+ require('./components/base-select/mobile.css')
3
+
4
+ export { mobileStyles as m };
@@ -1,3 +1,3 @@
1
1
  export { useSelectWithLoading } from './useSelectWithLoading/hook.js';
2
2
  export { useLazyLoading } from './useLazyLoading/hook.js';
3
- export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-4a4a5429.js';
3
+ export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-276c96dc.js';
@@ -2,4 +2,4 @@ import 'tslib';
2
2
  import 'react';
3
3
  import 'deep-equal';
4
4
  import '../../utils.js';
5
- export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../../hook-4a4a5429.js';
5
+ export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../../hook-276c96dc.js';
@@ -2,6 +2,6 @@ import 'tslib';
2
2
  import 'react';
3
3
  import '../../../components/options-list/Component.js';
4
4
  import '../../../consts.js';
5
- export { O as OptionsListWithApply } from '../../../hook-4a4a5429.js';
5
+ export { O as OptionsListWithApply } from '../../../hook-276c96dc.js';
6
6
  import './footer/Component.js';
7
7
  import './header/Component.js';
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { ButtonDesktop } from '@alfalab/core-components-button/esm/desktop';
3
3
  import { getDataTestId } from '@alfalab/core-components-shared/esm';
4
4
 
5
- var styles = {"footer":"select__footer_xl99m","button":"select__button_xl99m"};
5
+ var styles = {"footer":"select__footer_1mgzl","button":"select__button_1mgzl"};
6
6
  require('./index.css')
7
7
 
8
8
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: f1i06 */
1
+ /* hash: s7f2p */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-base-bg-primary: #fff; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -23,10 +23,12 @@
23
23
  --gap-12: var(--gap-s);
24
24
  } :root {
25
25
  } :root {
26
- } .select__footer_xl99m {
26
+ } :root {
27
+ --select-option-list-footer-button-gap: var(--gap-8);
28
+ } .select__footer_1mgzl {
27
29
  background-color: var(--color-light-base-bg-primary);
28
30
  padding: var(--gap-12);
29
31
  outline: none
30
- } .select__footer_xl99m > .select__button_xl99m + .select__button_xl99m {
31
- margin-left: var(--gap-8);
32
+ } .select__footer_1mgzl > .select__button_1mgzl + .select__button_1mgzl {
33
+ margin-left: var(--select-option-list-footer-button-gap);
32
34
  }
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { Checkbox } from '@alfalab/core-components-checkbox/esm';
4
4
 
5
- var styles = {"desktop":"select__desktop_rc4tb","mobile":"select__mobile_rc4tb"};
5
+ var styles = {"desktop":"select__desktop_1g7v5","mobile":"select__mobile_1g7v5"};
6
6
  require('./index.css')
7
7
 
8
8
  var Header = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 8sdjv */
1
+ /* hash: lyame */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -22,8 +22,8 @@
22
22
  --gap-12: var(--gap-s);
23
23
  } :root {
24
24
  } :root {
25
- } .select__desktop_rc4tb {
25
+ } .select__desktop_1g7v5 {
26
26
  padding: var(--gap-12);
27
- } .select__mobile_rc4tb {
27
+ } .select__mobile_1g7v5 {
28
28
  padding: var(--gap-12) var(--gap-8);
29
29
  }
@@ -1 +1 @@
1
- export * from "../../../hook-4a4a5429";
1
+ export * from "../../../hook-276c96dc";
@@ -1 +1 @@
1
- export { O as OptionsListWithApply } from '../../../hook-4a4a5429.js';
1
+ export { O as OptionsListWithApply } from '../../../hook-276c96dc.js';
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import { Skeleton } from '@alfalab/core-components-skeleton/esm';
4
4
  import { Option } from '../../components/option/Component.js';
5
5
 
6
- var styles = {"skeleton":"select__skeleton_1tkpm"};
6
+ var styles = {"skeleton":"select__skeleton_15yyc"};
7
7
  require('./index.css')
8
8
 
9
9
  function useSelectWithLoading(_a) {
@@ -1,5 +1,5 @@
1
- /* hash: pke3d */
2
- .select__skeleton_1tkpm {
1
+ /* hash: 26o9h */
2
+ .select__skeleton_15yyc {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
@@ -1,6 +1,6 @@
1
1
  export { useSelectWithLoading } from '../presets/useSelectWithLoading/hook.js';
2
2
  export { useLazyLoading } from '../presets/useLazyLoading/hook.js';
3
- export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-4a4a5429.js';
3
+ export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-276c96dc.js';
4
4
  export { defaultAccessor, defaultFilterFn, defaultGroupAccessor, getSelectTestIds, isGroup, isOptionShape, joinOptions, lastIndexOf, processOptions, usePrevious, useVisibleOptions } from '../utils.js';
5
5
  export { Option } from '../components/option/Component.js';
6
6
  export { BaseOption } from '../components/base-option/Component.js';
package/esm/utils.d.ts CHANGED
@@ -45,7 +45,7 @@ type useVisibleOptionsArgs = {
45
45
  */
46
46
  actualOptionsCount?: boolean;
47
47
  };
48
- declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): void;
48
+ declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): boolean;
49
49
  declare function defaultFilterFn(optionText: string, search: string): boolean;
50
50
  declare function defaultGroupAccessor(option: GroupShape): string | undefined;
51
51
  declare function defaultAccessor(option: OptionShape): string;