@alfalab/core-components-select 14.1.2 → 14.3.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 (236) hide show
  1. package/Component-3885b0d7.d.ts +1 -1
  2. package/{Component-00c64376.d.ts → Component-3eb05f44.d.ts} +48 -1
  3. package/{Component-00c64376.js → Component-3eb05f44.js} +26 -20
  4. package/Component.js +1 -1
  5. package/Component.mobile-b2c0420d.d.ts +93 -0
  6. package/Component.responsive.js +4 -3
  7. package/components/arrow/Component.js +1 -1
  8. package/components/arrow/index.css +3 -3
  9. package/components/base-checkmark/Component.js +1 -1
  10. package/components/base-checkmark/index.css +4 -4
  11. package/components/base-option/Component.js +2 -2
  12. package/components/base-option/index.css +13 -13
  13. package/components/base-select/Component.js +2 -2
  14. package/components/base-select/index.css +8 -8
  15. package/components/base-select/index.js +1 -1
  16. package/components/base-select-mobile/Component.d.ts +24 -0
  17. package/components/base-select-mobile/Component.js +25 -7
  18. package/components/base-select-mobile/footer/Component.js +3 -3
  19. package/components/base-select-mobile/footer/index.css +5 -5
  20. package/components/base-select-mobile/index.css +10 -10
  21. package/components/base-select-mobile/index.js +1 -1
  22. package/components/checkmark/Component.js +1 -1
  23. package/components/checkmark/index.css +10 -10
  24. package/components/checkmark-mobile/Component.js +1 -1
  25. package/components/checkmark-mobile/index.css +6 -6
  26. package/components/field/Component.js +1 -1
  27. package/components/field/index.css +9 -9
  28. package/components/index.js +5 -4
  29. package/components/optgroup/Component.js +1 -1
  30. package/components/optgroup/index.css +6 -6
  31. package/components/option/Component.js +2 -2
  32. package/components/option/index.css +20 -20
  33. package/components/options-list/Component.js +3 -3
  34. package/components/options-list/index.css +9 -9
  35. package/components/select-mobile/Component.js +4 -3
  36. package/components/select-mobile/index.d.ts +1 -1
  37. package/components/select-mobile/index.js +4 -3
  38. package/components/select-modal-mobile/Component.js +4 -3
  39. package/components/select-modal-mobile/index.d.ts +1 -1
  40. package/components/select-modal-mobile/index.js +4 -3
  41. package/components/virtual-options-list/Component.js +4 -4
  42. package/components/virtual-options-list/index.css +15 -15
  43. package/cssm/Component-3885b0d7.d.ts +1 -1
  44. package/{modern/Component-0b711513.d.ts → cssm/Component-4727d474.d.ts} +48 -1
  45. package/cssm/{Component-f86f43e3.js → Component-4727d474.js} +25 -19
  46. package/cssm/Component.mobile-b2c0420d.d.ts +93 -0
  47. package/cssm/Component.responsive.js +3 -1
  48. package/cssm/components/base-option/Component.js +1 -1
  49. package/cssm/components/base-select-mobile/Component.d.ts +24 -0
  50. package/cssm/components/base-select-mobile/Component.js +23 -5
  51. package/cssm/components/base-select-mobile/footer/Component.js +2 -2
  52. package/cssm/components/index.js +4 -2
  53. package/cssm/components/option/Component.js +1 -1
  54. package/cssm/components/options-list/Component.js +2 -2
  55. package/cssm/components/select-mobile/Component.js +3 -1
  56. package/cssm/components/select-mobile/index.d.ts +1 -1
  57. package/cssm/components/select-mobile/index.js +3 -1
  58. package/cssm/components/select-modal-mobile/Component.js +3 -1
  59. package/cssm/components/select-modal-mobile/index.d.ts +1 -1
  60. package/cssm/components/select-modal-mobile/index.js +3 -1
  61. package/cssm/components/virtual-options-list/Component.js +3 -3
  62. package/{esm/hook-4b555174.d.ts → cssm/hook-b4e70cb0.d.ts} +15 -4
  63. package/cssm/index.js +4 -2
  64. package/cssm/mobile.d.ts +4 -0
  65. package/cssm/mobile.js +67 -0
  66. package/cssm/presets/index.d.ts +1 -1
  67. package/cssm/presets/index.js +3 -1
  68. package/cssm/presets/useSelectWithApply/hook.js +3 -1
  69. package/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -1
  70. package/cssm/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css +0 -9
  71. package/cssm/presets/useSelectWithApply/options-list-with-apply/header/Component.d.ts +11 -0
  72. package/cssm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +23 -0
  73. package/cssm/presets/useSelectWithApply/options-list-with-apply/header/index.module.css +22 -0
  74. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  75. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +3 -1
  76. package/cssm/responsive.js +3 -1
  77. package/esm/Component-3885b0d7.d.ts +1 -1
  78. package/{cssm/Component-f86f43e3.d.ts → esm/Component-b436aedf.d.ts} +48 -1
  79. package/esm/{Component-2ff63ae2.js → Component-b436aedf.js} +26 -20
  80. package/esm/Component.js +1 -1
  81. package/esm/Component.mobile-b2c0420d.d.ts +93 -0
  82. package/esm/Component.responsive.js +4 -3
  83. package/esm/components/arrow/Component.js +1 -1
  84. package/esm/components/arrow/index.css +3 -3
  85. package/esm/components/base-checkmark/Component.js +1 -1
  86. package/esm/components/base-checkmark/index.css +4 -4
  87. package/esm/components/base-option/Component.js +2 -2
  88. package/esm/components/base-option/index.css +13 -13
  89. package/esm/components/base-select/Component.js +2 -2
  90. package/esm/components/base-select/index.css +8 -8
  91. package/esm/components/base-select/index.js +1 -1
  92. package/esm/components/base-select-mobile/Component.d.ts +24 -0
  93. package/esm/components/base-select-mobile/Component.js +26 -8
  94. package/esm/components/base-select-mobile/footer/Component.js +3 -3
  95. package/esm/components/base-select-mobile/footer/index.css +5 -5
  96. package/esm/components/base-select-mobile/index.css +10 -10
  97. package/esm/components/base-select-mobile/index.js +1 -1
  98. package/esm/components/checkmark/Component.js +1 -1
  99. package/esm/components/checkmark/index.css +10 -10
  100. package/esm/components/checkmark-mobile/Component.js +1 -1
  101. package/esm/components/checkmark-mobile/index.css +6 -6
  102. package/esm/components/field/Component.js +1 -1
  103. package/esm/components/field/index.css +9 -9
  104. package/esm/components/index.js +5 -4
  105. package/esm/components/optgroup/Component.js +1 -1
  106. package/esm/components/optgroup/index.css +6 -6
  107. package/esm/components/option/Component.js +2 -2
  108. package/esm/components/option/index.css +20 -20
  109. package/esm/components/options-list/Component.js +3 -3
  110. package/esm/components/options-list/index.css +9 -9
  111. package/esm/components/select-mobile/Component.js +4 -3
  112. package/esm/components/select-mobile/index.d.ts +1 -1
  113. package/esm/components/select-mobile/index.js +4 -3
  114. package/esm/components/select-modal-mobile/Component.js +4 -3
  115. package/esm/components/select-modal-mobile/index.d.ts +1 -1
  116. package/esm/components/select-modal-mobile/index.js +4 -3
  117. package/esm/components/virtual-options-list/Component.js +4 -4
  118. package/esm/components/virtual-options-list/index.css +15 -15
  119. package/{cssm/hook-4b555174.d.ts → esm/hook-b4e70cb0.d.ts} +15 -4
  120. package/esm/index-3885b0d7.d.ts +1 -1
  121. package/esm/index.js +5 -4
  122. package/esm/mobile.d.ts +4 -0
  123. package/esm/mobile.js +41 -0
  124. package/esm/presets/index.d.ts +1 -1
  125. package/esm/presets/index.js +4 -3
  126. package/esm/presets/useLazyLoading/hook.js +2 -2
  127. package/esm/presets/useLazyLoading/index.css +2 -2
  128. package/esm/presets/useSelectWithApply/hook.js +4 -3
  129. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -3
  130. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  131. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -12
  132. package/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.d.ts +11 -0
  133. package/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +15 -0
  134. package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +23 -0
  135. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  136. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +4 -3
  137. package/esm/presets/useSelectWithLoading/hook.js +1 -1
  138. package/esm/presets/useSelectWithLoading/index.css +2 -2
  139. package/esm/responsive.js +4 -3
  140. package/{hook-4b555174.d.ts → hook-b4e70cb0.d.ts} +15 -4
  141. package/index-3885b0d7.d.ts +1 -1
  142. package/index.js +5 -4
  143. package/mobile.d.ts +4 -0
  144. package/mobile.js +50 -0
  145. package/modern/Component-3885b0d7.d.ts +1 -1
  146. package/{esm/Component-2ff63ae2.d.ts → modern/Component-c22703bb.d.ts} +48 -1
  147. package/modern/{Component-0b711513.js → Component-c22703bb.js} +31 -17
  148. package/modern/Component.js +1 -1
  149. package/modern/Component.mobile-b2c0420d.d.ts +93 -0
  150. package/modern/Component.responsive.js +4 -3
  151. package/modern/components/arrow/Component.js +1 -1
  152. package/modern/components/arrow/index.css +3 -3
  153. package/modern/components/base-checkmark/Component.js +1 -1
  154. package/modern/components/base-checkmark/index.css +4 -4
  155. package/modern/components/base-option/Component.js +2 -2
  156. package/modern/components/base-option/index.css +13 -13
  157. package/modern/components/base-select/Component.js +2 -2
  158. package/modern/components/base-select/index.css +8 -8
  159. package/modern/components/base-select/index.js +1 -1
  160. package/modern/components/base-select-mobile/Component.d.ts +24 -0
  161. package/modern/components/base-select-mobile/Component.js +20 -7
  162. package/modern/components/base-select-mobile/footer/Component.js +3 -3
  163. package/modern/components/base-select-mobile/footer/index.css +5 -5
  164. package/modern/components/base-select-mobile/index.css +10 -10
  165. package/modern/components/base-select-mobile/index.js +1 -1
  166. package/modern/components/checkmark/Component.js +1 -1
  167. package/modern/components/checkmark/index.css +10 -10
  168. package/modern/components/checkmark-mobile/Component.js +1 -1
  169. package/modern/components/checkmark-mobile/index.css +6 -6
  170. package/modern/components/field/Component.js +1 -1
  171. package/modern/components/field/index.css +9 -9
  172. package/modern/components/index.js +5 -4
  173. package/modern/components/optgroup/Component.js +1 -1
  174. package/modern/components/optgroup/index.css +6 -6
  175. package/modern/components/option/Component.js +2 -2
  176. package/modern/components/option/index.css +20 -20
  177. package/modern/components/options-list/Component.js +3 -3
  178. package/modern/components/options-list/index.css +9 -9
  179. package/modern/components/select-mobile/Component.js +4 -3
  180. package/modern/components/select-mobile/index.d.ts +1 -1
  181. package/modern/components/select-mobile/index.js +4 -3
  182. package/modern/components/select-modal-mobile/Component.js +4 -3
  183. package/modern/components/select-modal-mobile/index.d.ts +1 -1
  184. package/modern/components/select-modal-mobile/index.js +4 -3
  185. package/modern/components/virtual-options-list/Component.js +3 -3
  186. package/modern/components/virtual-options-list/index.css +15 -15
  187. package/modern/{hook-4b555174.d.ts → hook-b4e70cb0.d.ts} +15 -4
  188. package/modern/index-3885b0d7.d.ts +1 -1
  189. package/modern/index.js +5 -4
  190. package/modern/mobile.d.ts +4 -0
  191. package/modern/mobile.js +40 -0
  192. package/modern/presets/index.d.ts +1 -1
  193. package/modern/presets/index.js +4 -3
  194. package/modern/presets/useLazyLoading/hook.js +2 -2
  195. package/modern/presets/useLazyLoading/index.css +2 -2
  196. package/modern/presets/useSelectWithApply/hook.js +4 -3
  197. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -3
  198. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  199. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -12
  200. package/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.d.ts +11 -0
  201. package/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.js +11 -0
  202. package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +23 -0
  203. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  204. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +4 -3
  205. package/modern/presets/useSelectWithLoading/hook.js +1 -1
  206. package/modern/presets/useSelectWithLoading/index.css +2 -2
  207. package/modern/responsive.js +4 -3
  208. package/package.json +6 -6
  209. package/presets/index.d.ts +1 -1
  210. package/presets/index.js +4 -3
  211. package/presets/useLazyLoading/hook.js +2 -2
  212. package/presets/useLazyLoading/index.css +2 -2
  213. package/presets/useSelectWithApply/hook.js +4 -3
  214. package/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -3
  215. package/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  216. package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -12
  217. package/presets/useSelectWithApply/options-list-with-apply/header/Component.d.ts +11 -0
  218. package/presets/useSelectWithApply/options-list-with-apply/header/Component.js +24 -0
  219. package/presets/useSelectWithApply/options-list-with-apply/header/index.css +23 -0
  220. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  221. package/presets/useSelectWithApply/options-list-with-apply/index.js +4 -3
  222. package/presets/useSelectWithLoading/hook.js +1 -1
  223. package/presets/useSelectWithLoading/index.css +2 -2
  224. package/responsive.js +4 -3
  225. /package/esm/{getDataTestId-d8d91b2e.d.ts → getDataTestId-416fe68c.d.ts} +0 -0
  226. /package/esm/{getDataTestId-d8d91b2e.js → getDataTestId-416fe68c.js} +0 -0
  227. /package/esm/{intersection-observer-210062db.d.ts → intersection-observer-71fc11ef.d.ts} +0 -0
  228. /package/esm/{intersection-observer-210062db.js → intersection-observer-71fc11ef.js} +0 -0
  229. /package/{getDataTestId-d8391785.d.ts → getDataTestId-e8d9eb23.d.ts} +0 -0
  230. /package/{getDataTestId-d8391785.js → getDataTestId-e8d9eb23.js} +0 -0
  231. /package/{intersection-observer-131fbe35.d.ts → intersection-observer-c227d471.d.ts} +0 -0
  232. /package/{intersection-observer-131fbe35.js → intersection-observer-c227d471.js} +0 -0
  233. /package/modern/{getDataTestId-b301a7a9.d.ts → getDataTestId-03736ddc.d.ts} +0 -0
  234. /package/modern/{getDataTestId-b301a7a9.js → getDataTestId-03736ddc.js} +0 -0
  235. /package/modern/{intersection-observer-210062db.d.ts → intersection-observer-71fc11ef.d.ts} +0 -0
  236. /package/modern/{intersection-observer-210062db.js → intersection-observer-71fc11ef.js} +0 -0
@@ -1,4 +1,4 @@
1
- /* hash: wxajd */
1
+ /* hash: 6u5ry */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -35,7 +35,7 @@
35
35
  --select-optgroup-right-padding: var(--gap-s);
36
36
  --select-optgroup-l-left-padding: var(--gap-m);
37
37
  --select-optgroup-l-right-padding: var(--gap-m);
38
- } .select__optgroup_rk36p {
38
+ } .select__optgroup_148aj {
39
39
  position: relative;
40
40
  display: flex;
41
41
  align-items: center;
@@ -44,9 +44,9 @@
44
44
  box-sizing: border-box;
45
45
  background: var(--select-optgroup-background);
46
46
  min-height: 40px
47
- } .select__optgroup_rk36p + *[role='option']:before {
47
+ } .select__optgroup_148aj + *[role='option']:before {
48
48
  display: none;
49
- } .select__label_rk36p {
49
+ } .select__label_148aj {
50
50
  font-size: 12px;
51
51
  line-height: 16px;
52
52
  font-weight: 500;
@@ -55,8 +55,8 @@
55
55
 
56
56
  display: block;
57
57
  color: var(--select-optgroup-color);
58
- } .select__l_rk36p,
59
- .select__xl_rk36p {
58
+ } .select__l_148aj,
59
+ .select__xl_148aj {
60
60
  padding-left: var(--select-optgroup-l-left-padding);
61
61
  padding-right: var(--select-optgroup-l-right-padding);
62
62
  }
@@ -7,14 +7,14 @@ import '@alfalab/core-components-checkbox/modern';
7
7
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
8
8
  import '@alfalab/icons-glyph/CheckmarkMIcon';
9
9
 
10
- const styles = {"option":"select__option_129gq","disabled":"select__disabled_129gq","s":"select__s_129gq","m":"select__m_129gq","l":"select__l_129gq","xl":"select__xl_129gq","selected":"select__selected_129gq","highlighted":"select__highlighted_129gq","content":"select__content_129gq","textContent":"select__textContent_129gq"};
10
+ const styles = {"option":"select__option_2ab4z","disabled":"select__disabled_2ab4z","s":"select__s_2ab4z","m":"select__m_2ab4z","l":"select__l_2ab4z","xl":"select__xl_2ab4z","selected":"select__selected_2ab4z","highlighted":"select__highlighted_2ab4z","content":"select__content_2ab4z","textContent":"select__textContent_2ab4z"};
11
11
  require('./index.css')
12
12
 
13
13
  const Option = ({ size = 's', className, option, children, selected, highlighted, disabled, multiple, mobile, Checkmark: Checkmark$2 = mobile ? Checkmark : Checkmark$1, innerProps, dataTestId, }) => {
14
14
  const content = children || option.content || option.key;
15
15
  const { showCheckMark = true } = option;
16
16
  return (React.createElement("div", { ...innerProps, className: cn(styles.option, styles[size], className, {
17
- [styles.highlighted]: highlighted,
17
+ [styles.highlighted]: !mobile && highlighted,
18
18
  [styles.selected]: selected,
19
19
  [styles.disabled]: disabled,
20
20
  }), "data-test-id": dataTestId },
@@ -1,4 +1,4 @@
1
- /* hash: 1p88x */
1
+ /* hash: 1kdce */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -53,7 +53,7 @@
53
53
  /* checkmark */
54
54
 
55
55
  /* optgroup */
56
- } .select__option_129gq {
56
+ } .select__option_2ab4z {
57
57
  font-size: 16px;
58
58
  line-height: 20px;
59
59
  font-weight: 400;
@@ -68,10 +68,10 @@
68
68
  box-sizing: border-box;
69
69
  position: relative;
70
70
  cursor: pointer
71
- } .select__option_129gq:not(.select__disabled_129gq):active {
71
+ } .select__option_2ab4z:not(.select__disabled_2ab4z):active {
72
72
  background: var(--select-option-active-background);
73
73
  color: var(--select-option-active-color);
74
- } .select__option_129gq:before {
74
+ } .select__option_2ab4z:before {
75
75
  content: '';
76
76
  position: absolute;
77
77
  left: var(--select-option-left-padding);
@@ -81,46 +81,46 @@
81
81
  background: var(--select-option-divider-background);
82
82
  display: var(--select-option-divider-display);
83
83
  transition: opacity 0.2s ease;
84
- } .select__option_129gq:first-child:before {
84
+ } .select__option_2ab4z:first-child:before {
85
85
  display: none;
86
- } .select__s_129gq {
86
+ } .select__s_2ab4z {
87
87
  min-height: var(--size-s-height);
88
- } .select__m_129gq {
88
+ } .select__m_2ab4z {
89
89
  min-height: var(--size-m-height);
90
- } .select__l_129gq {
90
+ } .select__l_2ab4z {
91
91
  min-height: var(--size-l-height);
92
- } .select__xl_129gq {
92
+ } .select__xl_2ab4z {
93
93
  min-height: var(--size-xl-height);
94
- } .select__l_129gq,
95
- .select__xl_129gq {
94
+ } .select__l_2ab4z,
95
+ .select__xl_2ab4z {
96
96
  padding-left: var(--select-option-l-left-padding);
97
97
  padding-right: var(--select-option-l-right-padding)
98
- } .select__l_129gq:before, .select__xl_129gq:before {
98
+ } .select__l_2ab4z:before, .select__xl_2ab4z:before {
99
99
  left: var(--select-option-l-left-padding);
100
100
  right: var(--select-option-l-right-padding);
101
- } .select__selected_129gq {
101
+ } .select__selected_2ab4z {
102
102
  background: var(--select-option-selected-background);
103
103
  color: var(--select-option-selected-color);
104
104
  cursor: default;
105
- } .select__highlighted_129gq {
105
+ } .select__highlighted_2ab4z {
106
106
  background: var(--select-option-hover-background);
107
107
  color: var(--select-option-hover-color)
108
- } .select__highlighted_129gq:before,
109
- .select__highlighted_129gq + .select__option_129gq:before {
108
+ } .select__highlighted_2ab4z:before,
109
+ .select__highlighted_2ab4z + .select__option_2ab4z:before {
110
110
  opacity: 0;
111
- } .select__disabled_129gq {
111
+ } .select__disabled_2ab4z {
112
112
  cursor: var(--disabled-cursor);
113
113
  background: var(--select-option-disabled-background);
114
114
  color: var(--select-option-disabled-color);
115
- } .select__content_129gq {
115
+ } .select__content_2ab4z {
116
116
  overflow: hidden;
117
117
  flex: 1;
118
118
  text-overflow: ellipsis;
119
- } .select__textContent_129gq {
119
+ } .select__textContent_2ab4z {
120
120
  padding-top: var(--gap-s);
121
121
  padding-bottom: var(--gap-s);
122
122
  } /* IE min-height fix */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
123
- .select__option_129gq:after {
123
+ .select__option_2ab4z:after {
124
124
  min-height: inherit;
125
125
  font-size: 0;
126
126
  content: '';
@@ -7,7 +7,7 @@ import { DEFAULT_VISIBLE_OPTIONS } from '../../consts.js';
7
7
  import { useVisibleOptions, isGroup } from '../../utils.js';
8
8
  import { Optgroup } from '../optgroup/Component.js';
9
9
 
10
- const styles = {"optionsList":"select__optionsList_8upsm","optionsListHeader":"select__optionsListHeader_8upsm","optionsListFooter":"select__optionsListFooter_8upsm","withBorder":"select__withBorder_8upsm","scrollable":"select__scrollable_8upsm","emptyPlaceholder":"select__emptyPlaceholder_8upsm","l":"select__l_8upsm","xl":"select__xl_8upsm"};
10
+ const styles = {"optionsList":"select__optionsList_1iyoz","optionsListHeader":"select__optionsListHeader_1iyoz","optionsListFooter":"select__optionsListFooter_1iyoz","withBorder":"select__withBorder_1iyoz","scrollable":"select__scrollable_1iyoz","emptyPlaceholder":"select__emptyPlaceholder_1iyoz","l":"select__l_1iyoz","xl":"select__xl_1iyoz"};
11
11
  require('./index.css')
12
12
 
13
13
  const createCounter = () => {
@@ -15,7 +15,7 @@ const createCounter = () => {
15
15
  // eslint-disable-next-line no-plusplus
16
16
  return () => count++;
17
17
  };
18
- const OptionsList = forwardRef(({ size = 's', className, optionGroupClassName, Option, getOptionProps, options = [], Optgroup: Optgroup$1 = Optgroup, dataTestId, emptyPlaceholder, visibleOptions = DEFAULT_VISIBLE_OPTIONS, onScroll, open, header, footer, optionsListWidth, nativeScrollbar: nativeScrollbarProp, flatOptions = [], }, ref) => {
18
+ const OptionsList = forwardRef(({ size = 's', className, optionGroupClassName, Option, getOptionProps, options = [], Optgroup: Optgroup$1 = Optgroup, dataTestId, emptyPlaceholder, visibleOptions = DEFAULT_VISIBLE_OPTIONS, onScroll, open, header, footer, showFooter = true, optionsListWidth, nativeScrollbar: nativeScrollbarProp, flatOptions = [], }, ref) => {
19
19
  let [nativeScrollbar] = useMedia([[true, '(max-width: 1023px)']], false);
20
20
  nativeScrollbar = Boolean(nativeScrollbarProp ?? nativeScrollbar);
21
21
  const renderOption = (option, index) => (React.createElement(Option, { key: option.key, ...getOptionProps(option, index) }));
@@ -48,7 +48,7 @@ const OptionsList = forwardRef(({ size = 's', className, optionGroupClassName, O
48
48
  return (React.createElement("div", { ...(nativeScrollbar && { 'data-test-id': dataTestId }), className: cn(styles.optionsList, styles[size], className) },
49
49
  header && React.createElement("div", { className: styles.optionsListHeader }, header),
50
50
  nativeScrollbar ? renderWithNativeScrollbar() : renderWithCustomScrollbar(),
51
- footer && (React.createElement("div", { className: cn(styles.optionsListFooter, {
51
+ showFooter && footer && (React.createElement("div", { className: cn(styles.optionsListFooter, {
52
52
  [styles.withBorder]: visibleOptions && flatOptions.length > visibleOptions,
53
53
  }) }, footer))));
54
54
  });
@@ -1,4 +1,4 @@
1
- /* hash: f0x7j */
1
+ /* hash: 1541y */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-secondary: #e9e9eb;
@@ -29,28 +29,28 @@
29
29
  /* checkmark */
30
30
 
31
31
  /* optgroup */
32
- } .select__optionsList_8upsm {
32
+ } .select__optionsList_1iyoz {
33
33
  width: 100%;
34
34
  outline: none;
35
35
  box-sizing: border-box;
36
36
  position: relative;
37
- } .select__optionsListHeader_8upsm {
37
+ } .select__optionsListHeader_1iyoz {
38
38
  box-sizing: border-box;
39
39
  border-bottom: 1px solid var(--color-light-border-secondary);
40
- } .select__optionsListFooter_8upsm {
40
+ } .select__optionsListFooter_1iyoz {
41
41
  position: sticky;
42
42
  bottom: 0;
43
43
  box-sizing: border-box;
44
44
  border-top: 1px solid transparent
45
- } .select__optionsListFooter_8upsm.select__withBorder_8upsm {
45
+ } .select__optionsListFooter_1iyoz.select__withBorder_1iyoz {
46
46
  border-top: 1px solid var(--color-light-border-secondary);
47
- } .select__scrollable_8upsm {
47
+ } .select__scrollable_1iyoz {
48
48
  overflow: auto;
49
49
  width: 100%;
50
- } .select__emptyPlaceholder_8upsm {
50
+ } .select__emptyPlaceholder_1iyoz {
51
51
  padding: var(--gap-m) var(--gap-s);
52
52
  color: var(--select-options-list-empty-placeholder-color);
53
- } .select__l_8upsm .select__emptyPlaceholder_8upsm,
54
- .select__xl_8upsm .select__emptyPlaceholder_8upsm {
53
+ } .select__l_1iyoz .select__emptyPlaceholder_1iyoz,
54
+ .select__xl_1iyoz .select__emptyPlaceholder_1iyoz {
55
55
  padding: var(--gap-xl) var(--gap-m);
56
56
  }
@@ -1,5 +1,6 @@
1
1
  import 'react';
2
- export { S as SelectMobile } from '../../Component-0b711513.js';
2
+ export { S as SelectMobile } from '../../Component-c22703bb.js';
3
+ import '../../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
3
4
  import '../arrow/Component.js';
4
5
  import '../base-select-mobile/Component.js';
5
6
  import '../base-select-mobile/footer/Component.js';
@@ -16,7 +17,7 @@ import 'classnames';
16
17
  import 'downshift';
17
18
  import '@alfalab/core-components-popover/modern';
18
19
  import '@alfalab/hooks';
19
- import '../../getDataTestId-b301a7a9.js';
20
+ import '../../getDataTestId-03736ddc.js';
20
21
  import '../../utils.js';
21
22
  import '../native-select/Component.js';
22
23
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -30,7 +31,7 @@ import '../checkmark-mobile/Component.js';
30
31
  import '@alfalab/core-components-scrollbar/modern';
31
32
  import '../../consts.js';
32
33
  import '@alfalab/core-components-skeleton/modern';
33
- import '../../intersection-observer-210062db.js';
34
+ import '../../intersection-observer-71fc11ef.js';
34
35
  import '../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
35
36
  import '@alfalab/core-components-button/modern';
36
37
  import '@alfalab/core-components-bottom-sheet/modern';
@@ -1 +1 @@
1
- export * from "../../Component-0b711513";
1
+ export * from "../../Component-c22703bb";
@@ -1,4 +1,4 @@
1
- export { S as SelectMobile } from '../../Component-0b711513.js';
1
+ export { S as SelectMobile } from '../../Component-c22703bb.js';
2
2
  import 'react';
3
3
  import '../../Component.js';
4
4
  import '../arrow/Component.js';
@@ -10,7 +10,7 @@ import '@juggle/resize-observer';
10
10
  import 'downshift';
11
11
  import '@alfalab/core-components-popover/modern';
12
12
  import '@alfalab/hooks';
13
- import '../../getDataTestId-b301a7a9.js';
13
+ import '../../getDataTestId-03736ddc.js';
14
14
  import '../../utils.js';
15
15
  import '../native-select/Component.js';
16
16
  import '../field/Component.js';
@@ -26,6 +26,7 @@ import '../checkmark-mobile/Component.js';
26
26
  import '../options-list/Component.js';
27
27
  import '@alfalab/core-components-scrollbar/modern';
28
28
  import '../../consts.js';
29
+ import '../../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
29
30
  import '../base-select-mobile/Component.js';
30
31
  import '@alfalab/core-components-bottom-sheet/modern';
31
32
  import '@alfalab/core-components-modal/modern/mobile';
@@ -35,5 +36,5 @@ import '@alfalab/core-components-button/modern';
35
36
  import '../virtual-options-list/Component.js';
36
37
  import 'react-virtual';
37
38
  import '@alfalab/core-components-skeleton/modern';
38
- import '../../intersection-observer-210062db.js';
39
+ import '../../intersection-observer-71fc11ef.js';
39
40
  import '../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
@@ -1,5 +1,6 @@
1
1
  import 'react';
2
- export { a as SelectModalMobile } from '../../Component-0b711513.js';
2
+ export { a as SelectModalMobile } from '../../Component-c22703bb.js';
3
+ import '../../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
3
4
  import '../arrow/Component.js';
4
5
  import '../base-select-mobile/Component.js';
5
6
  import '../base-select-mobile/footer/Component.js';
@@ -16,7 +17,7 @@ import 'classnames';
16
17
  import 'downshift';
17
18
  import '@alfalab/core-components-popover/modern';
18
19
  import '@alfalab/hooks';
19
- import '../../getDataTestId-b301a7a9.js';
20
+ import '../../getDataTestId-03736ddc.js';
20
21
  import '../../utils.js';
21
22
  import '../native-select/Component.js';
22
23
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -30,7 +31,7 @@ import '../checkmark-mobile/Component.js';
30
31
  import '@alfalab/core-components-scrollbar/modern';
31
32
  import '../../consts.js';
32
33
  import '@alfalab/core-components-skeleton/modern';
33
- import '../../intersection-observer-210062db.js';
34
+ import '../../intersection-observer-71fc11ef.js';
34
35
  import '../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
35
36
  import '@alfalab/core-components-button/modern';
36
37
  import '@alfalab/core-components-bottom-sheet/modern';
@@ -1 +1 @@
1
- export * from "../../Component-0b711513";
1
+ export * from "../../Component-c22703bb";
@@ -1,4 +1,4 @@
1
- export { a as SelectModalMobile } from '../../Component-0b711513.js';
1
+ export { a as SelectModalMobile } from '../../Component-c22703bb.js';
2
2
  import 'react';
3
3
  import '../../Component.js';
4
4
  import '../arrow/Component.js';
@@ -10,7 +10,7 @@ import '@juggle/resize-observer';
10
10
  import 'downshift';
11
11
  import '@alfalab/core-components-popover/modern';
12
12
  import '@alfalab/hooks';
13
- import '../../getDataTestId-b301a7a9.js';
13
+ import '../../getDataTestId-03736ddc.js';
14
14
  import '../../utils.js';
15
15
  import '../native-select/Component.js';
16
16
  import '../field/Component.js';
@@ -26,6 +26,7 @@ import '../checkmark-mobile/Component.js';
26
26
  import '../options-list/Component.js';
27
27
  import '@alfalab/core-components-scrollbar/modern';
28
28
  import '../../consts.js';
29
+ import '../../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
29
30
  import '../base-select-mobile/Component.js';
30
31
  import '@alfalab/core-components-bottom-sheet/modern';
31
32
  import '@alfalab/core-components-modal/modern/mobile';
@@ -35,5 +36,5 @@ import '@alfalab/core-components-button/modern';
35
36
  import '../virtual-options-list/Component.js';
36
37
  import 'react-virtual';
37
38
  import '@alfalab/core-components-skeleton/modern';
38
- import '../../intersection-observer-210062db.js';
39
+ import '../../intersection-observer-71fc11ef.js';
39
40
  import '../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
@@ -8,10 +8,10 @@ import { DEFAULT_VISIBLE_OPTIONS } from '../../consts.js';
8
8
  import { usePrevious, lastIndexOf, useVisibleOptions, isGroup } from '../../utils.js';
9
9
  import { Optgroup } from '../optgroup/Component.js';
10
10
 
11
- const styles = {"virtualOptionsList":"select__virtualOptionsList_5cb1o","virtualOptionsListHeader":"select__virtualOptionsListHeader_5cb1o","virtualOptionsListFooter":"select__virtualOptionsListFooter_5cb1o","withBorder":"select__withBorder_5cb1o","scrollable":"select__scrollable_5cb1o","inner":"select__inner_5cb1o","virtualRow":"select__virtualRow_5cb1o","highlighted":"select__highlighted_5cb1o","emptyPlaceholder":"select__emptyPlaceholder_5cb1o","l":"select__l_5cb1o","xl":"select__xl_5cb1o"};
11
+ const styles = {"virtualOptionsList":"select__virtualOptionsList_520i7","virtualOptionsListHeader":"select__virtualOptionsListHeader_520i7","virtualOptionsListFooter":"select__virtualOptionsListFooter_520i7","withBorder":"select__withBorder_520i7","scrollable":"select__scrollable_520i7","inner":"select__inner_520i7","virtualRow":"select__virtualRow_520i7","highlighted":"select__highlighted_520i7","emptyPlaceholder":"select__emptyPlaceholder_520i7","l":"select__l_520i7","xl":"select__xl_520i7"};
12
12
  require('./index.css')
13
13
 
14
- const VirtualOptionsList = forwardRef(({ size = 's', flatOptions = [], highlightedIndex = -1, className, getOptionProps, Option, open, options = [], Optgroup: Optgroup$1 = Optgroup, dataTestId, emptyPlaceholder, visibleOptions = DEFAULT_VISIBLE_OPTIONS, header, footer, optionsListWidth, onScroll, nativeScrollbar: nativeScrollbarProp, }, ref) => {
14
+ const VirtualOptionsList = forwardRef(({ size = 's', flatOptions = [], highlightedIndex = -1, className, getOptionProps, Option, open, options = [], Optgroup: Optgroup$1 = Optgroup, dataTestId, emptyPlaceholder, visibleOptions = DEFAULT_VISIBLE_OPTIONS, header, footer, showFooter = true, optionsListWidth, onScroll, nativeScrollbar: nativeScrollbarProp, }, ref) => {
15
15
  const listRef = useRef(null);
16
16
  const parentRef = useRef(null);
17
17
  const scrollbarRef = useRef(null);
@@ -116,7 +116,7 @@ const VirtualOptionsList = forwardRef(({ size = 's', flatOptions = [], highlight
116
116
  header && React.createElement("div", { className: styles.virtualOptionsListHeader }, header),
117
117
  nativeScrollbar ? renderWithNativeScrollbar() : renderWithCustomScrollbar(),
118
118
  emptyPlaceholder && options.length === 0 && (React.createElement("div", { className: styles.emptyPlaceholder }, emptyPlaceholder)),
119
- footer && (React.createElement("div", { className: cn(styles.virtualOptionsListFooter, {
119
+ showFooter && footer && (React.createElement("div", { className: cn(styles.virtualOptionsListFooter, {
120
120
  [styles.withBorder]: visibleOptions && flatOptions.length > visibleOptions,
121
121
  }) }, footer))));
122
122
  });
@@ -1,4 +1,4 @@
1
- /* hash: la4a6 */
1
+ /* hash: aezsy */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #dcdcdd;
@@ -35,34 +35,34 @@
35
35
  /* checkmark */
36
36
 
37
37
  /* optgroup */
38
- } .select__virtualOptionsList_5cb1o {
38
+ } .select__virtualOptionsList_520i7 {
39
39
  width: 100%;
40
40
  outline: none;
41
41
  box-sizing: border-box;
42
42
  position: sticky;
43
- } .select__virtualOptionsListHeader_5cb1o {
43
+ } .select__virtualOptionsListHeader_520i7 {
44
44
  box-sizing: border-box;
45
45
  border-bottom: 1px solid var(--color-light-border-secondary);
46
- } .select__virtualOptionsListFooter_5cb1o {
46
+ } .select__virtualOptionsListFooter_520i7 {
47
47
  position: sticky;
48
48
  bottom: 0;
49
49
  box-sizing: border-box;
50
50
  border-top: 1px solid transparent
51
- } .select__virtualOptionsListFooter_5cb1o.select__withBorder_5cb1o {
51
+ } .select__virtualOptionsListFooter_520i7.select__withBorder_520i7 {
52
52
  border-top: 1px solid var(--color-light-border-secondary);
53
- } .select__scrollable_5cb1o {
53
+ } .select__scrollable_520i7 {
54
54
  position: relative;
55
55
  overflow: auto;
56
56
  width: 100%;
57
- } .select__inner_5cb1o {
57
+ } .select__inner_520i7 {
58
58
  position: relative;
59
59
  width: 100%;
60
- } .select__virtualRow_5cb1o {
60
+ } .select__virtualRow_520i7 {
61
61
  position: absolute;
62
62
  top: 0;
63
63
  left: 0;
64
64
  width: 100%
65
- } .select__virtualRow_5cb1o:before {
65
+ } .select__virtualRow_520i7:before {
66
66
  content: '';
67
67
  position: absolute;
68
68
  z-index: 1;
@@ -72,15 +72,15 @@
72
72
  height: 1px;
73
73
  background: var(--select-option-divider-background);
74
74
  display: var(--select-option-divider-display);
75
- } .select__virtualRow_5cb1o:first-child:before {
75
+ } .select__virtualRow_520i7:first-child:before {
76
76
  display: none;
77
- } .select__highlighted_5cb1o:before,
78
- .select__highlighted_5cb1o + .select__virtualRow_5cb1o:before {
77
+ } .select__highlighted_520i7:before,
78
+ .select__highlighted_520i7 + .select__virtualRow_520i7:before {
79
79
  display: none;
80
- } .select__emptyPlaceholder_5cb1o {
80
+ } .select__emptyPlaceholder_520i7 {
81
81
  padding: var(--gap-m) var(--gap-s);
82
82
  color: var(--select-options-list-empty-placeholder-color);
83
- } .select__l_5cb1o .select__emptyPlaceholder_5cb1o,
84
- .select__xl_5cb1o .select__emptyPlaceholder_5cb1o {
83
+ } .select__l_520i7 .select__emptyPlaceholder_520i7,
84
+ .select__xl_520i7 .select__emptyPlaceholder_520i7 {
85
85
  padding: var(--gap-xl) var(--gap-m);
86
86
  }
@@ -29,17 +29,22 @@ type UseSelectWithApplyProps = {
29
29
  * Показывать пункт "Выбрать все"
30
30
  */
31
31
  showSelectAll?: boolean;
32
+ /**
33
+ * Показывать пункт "Выбрать все" в заголовке списка
34
+ */
35
+ showHeaderWithSelectAll?: boolean;
32
36
  };
33
37
  declare const SELECT_ALL_KEY = "select_all";
34
- declare function useSelectWithApply({ options, selected, onChange, OptionsList, optionsListProps, showClear, showSelectAll, }: UseSelectWithApplyProps): {
38
+ declare function useSelectWithApply({ options, selected, onChange, OptionsList, optionsListProps, showClear, showSelectAll, showHeaderWithSelectAll, }: UseSelectWithApplyProps): {
35
39
  OptionsList: import("react").ForwardRefExoticComponent<import("./index").OptionsListProps & {
36
40
  showClear?: boolean | undefined;
37
41
  onClose?: (() => void) | undefined;
38
42
  selectedDraft?: OptionShape[] | undefined;
39
- OptionsList?: import("react").FC<import("./index").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined; /**
40
- * Пропсы, которые будут прокинуты в компонент списка
41
- */
43
+ OptionsList?: import("react").FC<import("./index").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
42
44
  Footer?: import("react").FC<import("./presets/useSelectWithApply/options-list-with-apply/footer/Component").FooterProps> | undefined;
45
+ Header?: import("react").FC<import("./presets/useSelectWithApply/options-list-with-apply/header/Component").HeaderProps> | undefined;
46
+ headerProps?: import("./presets/useSelectWithApply/options-list-with-apply/header/Component").HeaderProps | undefined;
47
+ showHeaderWithSelectAll?: boolean | undefined;
43
48
  } & import("react").RefAttributes<HTMLDivElement>>;
44
49
  optionsListProps: {
45
50
  OptionsList: import("react").FC<import("./index").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
@@ -48,6 +53,12 @@ declare function useSelectWithApply({ options, selected, onChange, OptionsList,
48
53
  onApply: () => void;
49
54
  onClose: () => void;
50
55
  selectedDraft: OptionShape[];
56
+ showHeaderWithSelectAll: boolean;
57
+ headerProps: {
58
+ indeterminate: boolean;
59
+ checked: boolean;
60
+ onChange: () => void;
61
+ };
51
62
  };
52
63
  allowUnselect: boolean;
53
64
  multiple: boolean;
@@ -1,3 +1,3 @@
1
1
  declare const isClient: () => boolean;
2
2
  export { isClient };
3
- export * from "./getDataTestId-b301a7a9";
3
+ export * from "./getDataTestId-03736ddc";
package/modern/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export { Select } from './Component.js';
2
2
  export { Arrow } from './components/arrow/Component.js';
3
3
  export { BaseSelect } from './components/base-select/Component.js';
4
- export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-0b711513.js';
4
+ export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-c22703bb.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';
@@ -19,8 +19,10 @@ import '@juggle/resize-observer';
19
19
  import 'downshift';
20
20
  import '@alfalab/core-components-popover/modern';
21
21
  import '@alfalab/hooks';
22
- import './getDataTestId-b301a7a9.js';
22
+ import './getDataTestId-03736ddc.js';
23
23
  import './components/native-select/Component.js';
24
+ import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
25
+ import '@alfalab/core-components-checkbox/modern';
24
26
  import './components/base-select-mobile/Component.js';
25
27
  import '@alfalab/core-components-bottom-sheet/modern';
26
28
  import '@alfalab/core-components-modal/modern/mobile';
@@ -29,11 +31,10 @@ import '@alfalab/core-components-base-modal/modern';
29
31
  import '@alfalab/core-components-button/modern';
30
32
  import '@alfalab/core-components-form-control/modern';
31
33
  import '@alfalab/core-components-badge/modern';
32
- import '@alfalab/core-components-checkbox/modern';
33
34
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
34
35
  import '@alfalab/icons-glyph/CheckmarkMIcon';
35
36
  import '@alfalab/core-components-skeleton/modern';
36
- import './intersection-observer-210062db.js';
37
+ import './intersection-observer-71fc11ef.js';
37
38
  import './consts.js';
38
39
  import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
39
40
  import './components/checkmark/Component.js';
@@ -0,0 +1,4 @@
1
+ export { SelectMobile } from "./components/select-mobile/index";
2
+ export { SelectModalMobile } from "./components/select-modal-mobile/index";
3
+ export type { SelectMobileProps } from "./components/select-mobile/index";
4
+ export type { SelectModalMobileProps } from "./components/select-modal-mobile/index";
@@ -0,0 +1,40 @@
1
+ export { S as SelectMobile, a as SelectModalMobile } from './Component-c22703bb.js';
2
+ import 'react';
3
+ import './Component.js';
4
+ import './components/arrow/Component.js';
5
+ import 'classnames';
6
+ import '@alfalab/icons-glyph/ChevronDownMIcon';
7
+ import './components/base-select/Component.js';
8
+ import 'react-merge-refs';
9
+ import '@juggle/resize-observer';
10
+ import 'downshift';
11
+ import '@alfalab/core-components-popover/modern';
12
+ import '@alfalab/hooks';
13
+ import './getDataTestId-03736ddc.js';
14
+ import './utils.js';
15
+ import './components/native-select/Component.js';
16
+ import './components/field/Component.js';
17
+ import '@alfalab/core-components-form-control/modern';
18
+ import './components/optgroup/Component.js';
19
+ import './components/option/Component.js';
20
+ import './components/checkmark/Component.js';
21
+ import '@alfalab/core-components-badge/modern';
22
+ import '@alfalab/core-components-checkbox/modern';
23
+ import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
24
+ import '@alfalab/icons-glyph/CheckmarkMIcon';
25
+ import './components/checkmark-mobile/Component.js';
26
+ import './components/options-list/Component.js';
27
+ import '@alfalab/core-components-scrollbar/modern';
28
+ import './consts.js';
29
+ import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
30
+ import './components/base-select-mobile/Component.js';
31
+ import '@alfalab/core-components-bottom-sheet/modern';
32
+ import '@alfalab/core-components-modal/modern/mobile';
33
+ import './components/base-select-mobile/footer/Component.js';
34
+ import '@alfalab/core-components-base-modal/modern';
35
+ import '@alfalab/core-components-button/modern';
36
+ import './components/virtual-options-list/Component.js';
37
+ import 'react-virtual';
38
+ import '@alfalab/core-components-skeleton/modern';
39
+ import './intersection-observer-71fc11ef.js';
40
+ import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
@@ -1,3 +1,3 @@
1
1
  export * from "./useSelectWithLoading/hook";
2
2
  export * from "./useLazyLoading/hook";
3
- export * from "../hook-4b555174";
3
+ export * from "../hook-b4e70cb0";
@@ -1,6 +1,6 @@
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-0b711513.js';
3
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-c22703bb.js';
4
4
  import 'react';
5
5
  import '@alfalab/core-components-skeleton/modern';
6
6
  import '../components/option/Component.js';
@@ -11,7 +11,7 @@ import '@alfalab/core-components-checkbox/modern';
11
11
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
12
12
  import '@alfalab/icons-glyph/CheckmarkMIcon';
13
13
  import '../components/checkmark-mobile/Component.js';
14
- import '../intersection-observer-210062db.js';
14
+ import '../intersection-observer-71fc11ef.js';
15
15
  import '../Component.js';
16
16
  import '../components/arrow/Component.js';
17
17
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -21,7 +21,7 @@ import '@juggle/resize-observer';
21
21
  import 'downshift';
22
22
  import '@alfalab/core-components-popover/modern';
23
23
  import '@alfalab/hooks';
24
- import '../getDataTestId-b301a7a9.js';
24
+ import '../getDataTestId-03736ddc.js';
25
25
  import '../utils.js';
26
26
  import '../components/native-select/Component.js';
27
27
  import '../components/field/Component.js';
@@ -30,6 +30,7 @@ import '../components/optgroup/Component.js';
30
30
  import '../components/options-list/Component.js';
31
31
  import '@alfalab/core-components-scrollbar/modern';
32
32
  import '../consts.js';
33
+ import './useSelectWithApply/options-list-with-apply/header/Component.js';
33
34
  import '../components/base-select-mobile/Component.js';
34
35
  import '@alfalab/core-components-bottom-sheet/modern';
35
36
  import '@alfalab/core-components-modal/modern/mobile';
@@ -1,7 +1,7 @@
1
1
  import React, { useReducer, useRef, useCallback, useEffect, useMemo } from 'react';
2
2
  import { Skeleton } from '@alfalab/core-components-skeleton/modern';
3
3
  import { Option } from '../../components/option/Component.js';
4
- import '../../intersection-observer-210062db.js';
4
+ import '../../intersection-observer-71fc11ef.js';
5
5
  import 'classnames';
6
6
  import '../../components/checkmark/Component.js';
7
7
  import '@alfalab/core-components-badge/modern';
@@ -10,7 +10,7 @@ import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
10
10
  import '@alfalab/icons-glyph/CheckmarkMIcon';
11
11
  import '../../components/checkmark-mobile/Component.js';
12
12
 
13
- const styles = {"skeleton":"select__skeleton_7lnlx"};
13
+ const styles = {"skeleton":"select__skeleton_1rzbd"};
14
14
  require('./index.css')
15
15
 
16
16
  const DEBOUNCE_TIMEOUT = 300;
@@ -1,5 +1,5 @@
1
- /* hash: k3e99 */
2
- .select__skeleton_7lnlx {
1
+ /* hash: porvs */
2
+ .select__skeleton_1rzbd {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);