@alfalab/core-components-select 15.3.0 → 16.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. package/Component.desktop.d.ts +3 -15
  2. package/Component.desktop.js +4 -2
  3. package/Component.mobile.d.ts +3 -39
  4. package/Component.mobile.js +23 -10
  5. package/Component.modal.mobile.d.ts +2 -256
  6. package/Component.modal.mobile.js +23 -35
  7. package/Component.responsive.d.ts +3 -17
  8. package/Component.responsive.js +11 -13
  9. package/components/arrow/Component.js +1 -1
  10. package/components/arrow/index.css +5 -5
  11. package/components/base-checkmark/Component.js +1 -1
  12. package/components/base-checkmark/index.css +4 -4
  13. package/components/base-option/Component.js +1 -1
  14. package/components/base-option/index.css +16 -16
  15. package/components/base-select/Component.d.ts +17 -2
  16. package/components/base-select/Component.js +188 -81
  17. package/components/base-select/index.css +12 -12
  18. package/components/base-select/index.js +1 -1
  19. package/{esm/components/base-select-mobile/index.css → components/base-select/mobile.css} +13 -22
  20. package/components/checkmark/Component.js +1 -1
  21. package/components/checkmark/index.css +11 -11
  22. package/components/checkmark-mobile/Component.js +1 -1
  23. package/components/checkmark-mobile/index.css +6 -6
  24. package/components/field/Component.js +1 -1
  25. package/components/field/index.css +15 -17
  26. package/components/footer/Component.d.ts +12 -0
  27. package/components/{base-select-mobile/footer → footer}/Component.js +6 -5
  28. package/components/{base-select-mobile/footer → footer}/index.css +6 -6
  29. package/components/footer/index.d.ts +1 -0
  30. package/components/{base-select-mobile/footer → footer}/index.js +3 -2
  31. package/components/index.js +2 -1
  32. package/components/optgroup/Component.js +1 -1
  33. package/components/optgroup/index.css +7 -7
  34. package/components/option/Component.js +1 -1
  35. package/components/option/index.css +24 -24
  36. package/components/options-list/Component.js +7 -3
  37. package/components/options-list/index.css +11 -11
  38. package/components/options-list/index.js +2 -1
  39. package/components/search/Component.d.ts +2 -4
  40. package/components/search/Component.js +1 -1
  41. package/components/search/index.css +2 -2
  42. package/components/virtual-options-list/Component.js +7 -3
  43. package/components/virtual-options-list/index.css +18 -18
  44. package/components/virtual-options-list/index.js +2 -1
  45. package/cssm/Component.desktop.d.ts +3 -15
  46. package/cssm/Component.desktop.js +5 -2
  47. package/cssm/Component.mobile.d.ts +3 -39
  48. package/cssm/Component.mobile.js +27 -13
  49. package/cssm/Component.modal.mobile.d.ts +2 -256
  50. package/cssm/Component.modal.mobile.js +28 -39
  51. package/cssm/Component.responsive.d.ts +3 -17
  52. package/cssm/Component.responsive.js +13 -15
  53. package/cssm/components/arrow/index.module.css +2 -2
  54. package/cssm/components/base-option/index.module.css +3 -3
  55. package/cssm/components/base-select/Component.d.ts +17 -2
  56. package/cssm/components/base-select/Component.js +186 -80
  57. package/cssm/components/base-select/index.js +2 -1
  58. package/cssm/components/base-select/index.module.css +2 -2
  59. package/cssm/components/{base-select-mobile/index.module.css → base-select/mobile.module.css} +0 -9
  60. package/cssm/components/checkmark/index.module.css +1 -1
  61. package/cssm/components/field/index.module.css +3 -5
  62. package/cssm/components/footer/Component.d.ts +12 -0
  63. package/cssm/components/{base-select-mobile/footer → footer}/Component.js +5 -4
  64. package/cssm/components/footer/index.d.ts +1 -0
  65. package/cssm/components/{base-select-mobile/footer → footer}/index.js +3 -2
  66. package/cssm/components/{base-select-mobile/footer → footer}/index.module.css +1 -1
  67. package/cssm/components/index.js +3 -1
  68. package/cssm/components/optgroup/index.module.css +1 -1
  69. package/cssm/components/option/index.module.css +4 -4
  70. package/cssm/components/options-list/Component.js +6 -2
  71. package/cssm/components/options-list/index.js +2 -1
  72. package/cssm/components/options-list/index.module.css +2 -2
  73. package/cssm/components/search/Component.d.ts +2 -4
  74. package/cssm/components/virtual-options-list/Component.js +6 -2
  75. package/cssm/components/virtual-options-list/index.js +2 -1
  76. package/cssm/components/virtual-options-list/index.module.css +3 -3
  77. package/cssm/desktop/index.d.ts +2 -2
  78. package/cssm/desktop/index.js +4 -1
  79. package/cssm/{hook-244c8d6e.js → hook-2f9ec939.js} +9 -5
  80. package/{esm/hook-8abfea97.d.ts → cssm/hook-ad89c253.d.ts} +3 -2
  81. package/cssm/index.d.ts +2 -2
  82. package/cssm/index.js +10 -9
  83. package/cssm/mobile/index.d.ts +1 -3
  84. package/cssm/mobile/index.js +15 -10
  85. package/cssm/presets/index.d.ts +1 -1
  86. package/cssm/presets/index.js +3 -2
  87. package/cssm/presets/useSelectWithApply/hook.js +3 -2
  88. package/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -2
  89. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  90. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +3 -2
  91. package/cssm/shared/index.d.ts +9 -2
  92. package/cssm/shared/index.js +50 -48
  93. package/cssm/typings.d.ts +86 -7
  94. package/desktop/index.d.ts +2 -2
  95. package/desktop/index.js +3 -1
  96. package/esm/Component.desktop.d.ts +3 -15
  97. package/esm/Component.desktop.js +4 -2
  98. package/esm/Component.mobile.d.ts +3 -39
  99. package/esm/Component.mobile.js +22 -9
  100. package/esm/Component.modal.mobile.d.ts +2 -256
  101. package/esm/Component.modal.mobile.js +24 -36
  102. package/esm/Component.responsive.d.ts +3 -17
  103. package/esm/Component.responsive.js +11 -13
  104. package/esm/components/arrow/Component.js +1 -1
  105. package/esm/components/arrow/index.css +5 -5
  106. package/esm/components/base-checkmark/Component.js +1 -1
  107. package/esm/components/base-checkmark/index.css +4 -4
  108. package/esm/components/base-option/Component.js +1 -1
  109. package/esm/components/base-option/index.css +16 -16
  110. package/esm/components/base-select/Component.d.ts +17 -2
  111. package/esm/components/base-select/Component.js +190 -83
  112. package/esm/components/base-select/index.css +12 -12
  113. package/esm/components/base-select/index.js +1 -1
  114. package/{modern/components/base-select-mobile/index.css → esm/components/base-select/mobile.css} +13 -22
  115. package/esm/components/checkmark/Component.js +1 -1
  116. package/esm/components/checkmark/index.css +11 -11
  117. package/esm/components/checkmark-mobile/Component.js +1 -1
  118. package/esm/components/checkmark-mobile/index.css +6 -6
  119. package/esm/components/field/Component.js +1 -1
  120. package/esm/components/field/index.css +15 -17
  121. package/esm/components/footer/Component.d.ts +12 -0
  122. package/esm/components/{base-select-mobile/footer → footer}/Component.js +6 -5
  123. package/esm/components/{base-select-mobile/footer → footer}/index.css +6 -6
  124. package/esm/components/footer/index.d.ts +1 -0
  125. package/esm/components/{base-select-mobile/footer → footer}/index.js +1 -0
  126. package/esm/components/index.js +2 -1
  127. package/esm/components/optgroup/Component.js +1 -1
  128. package/esm/components/optgroup/index.css +7 -7
  129. package/esm/components/option/Component.js +1 -1
  130. package/esm/components/option/index.css +24 -24
  131. package/esm/components/options-list/Component.js +7 -3
  132. package/esm/components/options-list/index.css +11 -11
  133. package/esm/components/options-list/index.js +2 -1
  134. package/esm/components/search/Component.d.ts +2 -4
  135. package/esm/components/search/Component.js +1 -1
  136. package/esm/components/search/index.css +2 -2
  137. package/esm/components/virtual-options-list/Component.js +7 -3
  138. package/esm/components/virtual-options-list/index.css +18 -18
  139. package/esm/components/virtual-options-list/index.js +2 -1
  140. package/esm/desktop/index.d.ts +2 -2
  141. package/esm/desktop/index.js +3 -1
  142. package/{hook-8abfea97.d.ts → esm/hook-ad89c253.d.ts} +3 -2
  143. package/esm/{hook-70d58270.js → hook-d82699d1.js} +10 -6
  144. package/esm/index.d.ts +2 -2
  145. package/esm/index.js +8 -7
  146. package/esm/mobile/index.d.ts +1 -3
  147. package/esm/mobile/index.js +12 -8
  148. package/esm/presets/index.d.ts +1 -1
  149. package/esm/presets/index.js +3 -2
  150. package/esm/presets/useSelectWithApply/hook.js +3 -2
  151. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -2
  152. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  153. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  154. package/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  155. package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  156. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  157. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +3 -2
  158. package/esm/presets/useSelectWithLoading/hook.js +1 -1
  159. package/esm/presets/useSelectWithLoading/index.css +2 -2
  160. package/esm/shared/index.d.ts +9 -2
  161. package/esm/shared/index.js +30 -29
  162. package/esm/typings.d.ts +86 -7
  163. package/{cssm/hook-8abfea97.d.ts → hook-ad89c253.d.ts} +3 -2
  164. package/{hook-0a5c9f56.js → hook-df30325f.js} +9 -5
  165. package/index.d.ts +2 -2
  166. package/index.js +8 -7
  167. package/mobile/index.d.ts +1 -3
  168. package/mobile/index.js +12 -8
  169. package/modern/Component.desktop.d.ts +3 -15
  170. package/modern/Component.desktop.js +5 -3
  171. package/modern/Component.mobile.d.ts +3 -39
  172. package/modern/Component.mobile.js +29 -13
  173. package/modern/Component.modal.mobile.d.ts +2 -256
  174. package/modern/Component.modal.mobile.js +23 -43
  175. package/modern/Component.responsive.d.ts +3 -17
  176. package/modern/Component.responsive.js +11 -13
  177. package/modern/components/arrow/Component.js +1 -1
  178. package/modern/components/arrow/index.css +5 -5
  179. package/modern/components/base-checkmark/Component.js +1 -1
  180. package/modern/components/base-checkmark/index.css +4 -4
  181. package/modern/components/base-option/Component.js +1 -1
  182. package/modern/components/base-option/index.css +16 -16
  183. package/modern/components/base-select/Component.d.ts +17 -2
  184. package/modern/components/base-select/Component.js +179 -72
  185. package/modern/components/base-select/index.css +12 -12
  186. package/modern/components/base-select/index.js +1 -1
  187. package/{components/base-select-mobile/index.css → modern/components/base-select/mobile.css} +13 -22
  188. package/modern/components/checkmark/Component.js +1 -1
  189. package/modern/components/checkmark/index.css +11 -11
  190. package/modern/components/checkmark-mobile/Component.js +1 -1
  191. package/modern/components/checkmark-mobile/index.css +6 -6
  192. package/modern/components/field/Component.js +1 -1
  193. package/modern/components/field/index.css +15 -17
  194. package/modern/components/footer/Component.d.ts +12 -0
  195. package/modern/components/{base-select-mobile/footer → footer}/Component.js +5 -4
  196. package/modern/components/{base-select-mobile/footer → footer}/index.css +6 -6
  197. package/modern/components/footer/index.d.ts +1 -0
  198. package/modern/components/{base-select-mobile/footer → footer}/index.js +1 -0
  199. package/modern/components/index.js +2 -1
  200. package/modern/components/optgroup/Component.js +1 -1
  201. package/modern/components/optgroup/index.css +7 -7
  202. package/modern/components/option/Component.js +1 -1
  203. package/modern/components/option/index.css +24 -24
  204. package/modern/components/options-list/Component.js +5 -3
  205. package/modern/components/options-list/index.css +11 -11
  206. package/modern/components/options-list/index.js +2 -1
  207. package/modern/components/search/Component.d.ts +2 -4
  208. package/modern/components/search/Component.js +1 -1
  209. package/modern/components/search/index.css +2 -2
  210. package/modern/components/virtual-options-list/Component.js +5 -3
  211. package/modern/components/virtual-options-list/index.css +18 -18
  212. package/modern/components/virtual-options-list/index.js +2 -1
  213. package/modern/desktop/index.d.ts +2 -2
  214. package/modern/desktop/index.js +3 -1
  215. package/modern/{hook-8abfea97.d.ts → hook-ad89c253.d.ts} +3 -2
  216. package/modern/{hook-4eceefed.js → hook-d879e08e.js} +7 -3
  217. package/modern/index.d.ts +2 -2
  218. package/modern/index.js +8 -7
  219. package/modern/mobile/index.d.ts +1 -3
  220. package/modern/mobile/index.js +12 -8
  221. package/modern/presets/index.d.ts +1 -1
  222. package/modern/presets/index.js +3 -2
  223. package/modern/presets/useSelectWithApply/hook.js +3 -2
  224. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -2
  225. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  226. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  227. package/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  228. package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  229. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  230. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +3 -2
  231. package/modern/presets/useSelectWithLoading/hook.js +1 -1
  232. package/modern/presets/useSelectWithLoading/index.css +2 -2
  233. package/modern/shared/index.d.ts +9 -2
  234. package/modern/shared/index.js +29 -28
  235. package/modern/typings.d.ts +86 -7
  236. package/package.json +13 -11
  237. package/presets/index.d.ts +1 -1
  238. package/presets/index.js +3 -2
  239. package/presets/useSelectWithApply/hook.js +3 -2
  240. package/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -2
  241. package/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  242. package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  243. package/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  244. package/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  245. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  246. package/presets/useSelectWithApply/options-list-with-apply/index.js +3 -2
  247. package/presets/useSelectWithLoading/hook.js +1 -1
  248. package/presets/useSelectWithLoading/index.css +2 -2
  249. package/shared/index.d.ts +9 -2
  250. package/shared/index.js +39 -38
  251. package/src/Component.desktop.tsx +5 -14
  252. package/src/Component.mobile.tsx +38 -57
  253. package/src/Component.modal.mobile.tsx +5 -147
  254. package/src/Component.responsive.tsx +9 -44
  255. package/src/components/base-select/Component.tsx +380 -156
  256. package/src/components/base-select/index.module.css +1 -1
  257. package/src/components/{base-select-mobile/index.module.css → base-select/mobile.module.css} +0 -15
  258. package/src/components/{base-select-mobile/footer → footer}/Component.tsx +22 -4
  259. package/src/components/{base-select-mobile/footer → footer}/index.module.css +1 -1
  260. package/src/components/footer/index.ts +1 -0
  261. package/src/components/options-list/Component.tsx +6 -2
  262. package/src/components/virtual-options-list/Component.tsx +6 -2
  263. package/src/desktop/index.ts +2 -1
  264. package/src/index.ts +2 -4
  265. package/src/mobile/index.ts +1 -2
  266. package/src/presets/useSelectWithApply/hook.tsx +9 -3
  267. package/src/shared/index.ts +10 -2
  268. package/src/typings.ts +110 -9
  269. package/src/vars.css +1 -1
  270. package/typings.d.ts +86 -7
  271. package/components/base-select-mobile/Component.d.ts +0 -71
  272. package/components/base-select-mobile/Component.js +0 -296
  273. package/components/base-select-mobile/footer/Component.d.ts +0 -9
  274. package/components/base-select-mobile/footer/index.d.ts +0 -1
  275. package/components/base-select-mobile/index.d.ts +0 -1
  276. package/components/base-select-mobile/index.js +0 -36
  277. package/cssm/components/base-select-mobile/Component.d.ts +0 -71
  278. package/cssm/components/base-select-mobile/Component.js +0 -303
  279. package/cssm/components/base-select-mobile/footer/Component.d.ts +0 -9
  280. package/cssm/components/base-select-mobile/footer/index.d.ts +0 -1
  281. package/cssm/components/base-select-mobile/index.d.ts +0 -1
  282. package/cssm/components/base-select-mobile/index.js +0 -45
  283. package/esm/components/base-select-mobile/Component.d.ts +0 -71
  284. package/esm/components/base-select-mobile/Component.js +0 -286
  285. package/esm/components/base-select-mobile/footer/Component.d.ts +0 -9
  286. package/esm/components/base-select-mobile/footer/index.d.ts +0 -1
  287. package/esm/components/base-select-mobile/index.d.ts +0 -1
  288. package/esm/components/base-select-mobile/index.js +0 -28
  289. package/modern/components/base-select-mobile/Component.d.ts +0 -71
  290. package/modern/components/base-select-mobile/Component.js +0 -285
  291. package/modern/components/base-select-mobile/footer/Component.d.ts +0 -9
  292. package/modern/components/base-select-mobile/footer/index.d.ts +0 -1
  293. package/modern/components/base-select-mobile/index.d.ts +0 -1
  294. package/modern/components/base-select-mobile/index.js +0 -27
  295. package/src/components/base-select-mobile/Component.tsx +0 -572
  296. package/src/components/base-select-mobile/footer/index.ts +0 -1
  297. package/src/components/base-select-mobile/index.ts +0 -1
  298. /package/cssm/{hook-244c8d6e.d.ts → hook-2f9ec939.d.ts} +0 -0
  299. /package/esm/{hook-70d58270.d.ts → hook-d82699d1.d.ts} +0 -0
  300. /package/{hook-0a5c9f56.d.ts → hook-df30325f.d.ts} +0 -0
  301. /package/modern/{hook-4eceefed.d.ts → hook-d879e08e.d.ts} +0 -0
@@ -1,9 +1,9 @@
1
- /* hash: 795ug */
1
+ /* hash: 10e8l */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-border-primary: #dcdcdd;
5
- --color-light-border-secondary: #e9e9eb;
6
- --color-light-text-secondary: rgba(60, 60, 67, 0.66); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* 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
+ --color-light-border-primary: #d5d6dc;
5
+ --color-light-border-secondary: #e7e8ec;
6
+ --color-light-text-secondary: rgba(4, 4, 19, 0.55); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
7
7
  } :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 */
8
8
  } :root {
9
9
  } :root {
@@ -35,34 +35,34 @@
35
35
  /* checkmark */
36
36
 
37
37
  /* optgroup */
38
- } .select__virtualOptionsList_1b0db {
38
+ } .select__virtualOptionsList_128ls {
39
39
  width: 100%;
40
40
  outline: none;
41
41
  box-sizing: border-box;
42
42
  position: sticky;
43
- } .select__virtualOptionsListHeader_1b0db {
43
+ } .select__virtualOptionsListHeader_128ls {
44
44
  box-sizing: border-box;
45
45
  border-bottom: 1px solid var(--color-light-border-secondary);
46
- } .select__virtualOptionsListFooter_1b0db {
46
+ } .select__virtualOptionsListFooter_128ls {
47
47
  position: sticky;
48
48
  bottom: 0;
49
49
  box-sizing: border-box;
50
50
  border-top: 1px solid transparent
51
- } .select__virtualOptionsListFooter_1b0db.select__withBorder_1b0db {
51
+ } .select__virtualOptionsListFooter_128ls.select__withBorder_128ls {
52
52
  border-top: 1px solid var(--color-light-border-secondary);
53
- } .select__scrollable_1b0db {
53
+ } .select__scrollable_128ls {
54
54
  position: relative;
55
55
  overflow: auto;
56
56
  width: 100%;
57
- } .select__inner_1b0db {
57
+ } .select__inner_128ls {
58
58
  position: relative;
59
59
  width: 100%;
60
- } .select__virtualRow_1b0db {
60
+ } .select__virtualRow_128ls {
61
61
  position: absolute;
62
62
  top: 0;
63
63
  left: 0;
64
64
  width: 100%
65
- } .select__virtualRow_1b0db:before {
65
+ } .select__virtualRow_128ls: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_1b0db:first-child:before {
75
+ } .select__virtualRow_128ls:first-child:before {
76
76
  display: none;
77
- } .select__highlighted_1b0db:before,
78
- .select__highlighted_1b0db + .select__virtualRow_1b0db:before {
77
+ } .select__highlighted_128ls:before,
78
+ .select__highlighted_128ls + .select__virtualRow_128ls:before {
79
79
  display: none;
80
- } .select__emptyPlaceholder_1b0db {
80
+ } .select__emptyPlaceholder_128ls {
81
81
  padding: var(--gap-m) var(--gap-s);
82
82
  color: var(--select-options-list-empty-placeholder-color);
83
- } .select__l_1b0db .select__emptyPlaceholder_1b0db,
84
- .select__xl_1b0db .select__emptyPlaceholder_1b0db {
83
+ } .select__l_128ls .select__emptyPlaceholder_128ls,
84
+ .select__xl_128ls .select__emptyPlaceholder_128ls {
85
85
  padding: var(--gap-xl) var(--gap-m);
86
86
  }
@@ -3,8 +3,9 @@ import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'react-virtual';
5
5
  import 'classnames';
6
+ import '@alfalab/core-components-mq/modern';
6
7
  import '@alfalab/core-components-scrollbar/modern';
7
- import '@alfalab/hooks';
8
+ import '@alfalab/core-components-shared/modern';
8
9
  import '../../consts.js';
9
10
  import '../../utils.js';
10
11
  import '../optgroup/Component.js';
@@ -1,2 +1,2 @@
1
- export { SelectDesktop, SelectDesktopProps } from "../Component.desktop";
2
- export {};
1
+ export { SelectDesktop } from "../Component.desktop";
2
+ export type { SelectDesktopProps } from "../typings";
@@ -1,14 +1,15 @@
1
1
  export { SelectDesktop } from '../Component.desktop.js';
2
2
  import 'react';
3
3
  import '@alfalab/core-components-form-control/modern/desktop';
4
+ import '@alfalab/core-components-popover/modern';
4
5
  import '../components/arrow/Component.js';
5
6
  import 'classnames';
6
7
  import '@alfalab/icons-glyph/ChevronDownMIcon';
7
8
  import '../components/base-select/Component.js';
8
9
  import 'react-merge-refs';
9
10
  import '@juggle/resize-observer';
11
+ import 'compute-scroll-into-view';
10
12
  import 'downshift';
11
- import '@alfalab/core-components-popover/modern';
12
13
  import '@alfalab/core-components-shared/modern';
13
14
  import '@alfalab/hooks';
14
15
  import '../utils.js';
@@ -23,6 +24,7 @@ import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
23
24
  import '@alfalab/icons-glyph/CheckmarkMIcon';
24
25
  import '../components/checkmark-mobile/Component.js';
25
26
  import '../components/options-list/Component.js';
27
+ import '@alfalab/core-components-mq/modern';
26
28
  import '@alfalab/core-components-scrollbar/modern';
27
29
  import '../consts.js';
28
30
  import '../components/search/Component.js';
@@ -81,9 +81,10 @@ declare function useSelectWithApply({ options, selected, onChange, OptionsList,
81
81
  showSearch: boolean | undefined;
82
82
  searchProps: {
83
83
  value: string;
84
- onChange: import("react").Dispatch<import("react").SetStateAction<string>>;
85
- componentProps?: import("@alfalab/core-components-input").InputProps | undefined;
84
+ onChange: ((value: string) => void) | undefined;
85
+ componentProps?: import("./typings").SearchProps | undefined;
86
86
  accessor?: ((option: OptionShape) => string) | undefined;
87
+ filterFn?: ((optionText: string, search: string) => boolean) | undefined;
87
88
  } | undefined;
88
89
  };
89
90
  export { UseSelectWithApplyProps, SELECT_ALL_KEY, useSelectWithApply };
@@ -1,5 +1,5 @@
1
1
  import React, { forwardRef, useCallback, useEffect, useState, useMemo, useRef } from 'react';
2
- import { defaultAccessor, processOptions, defaultFilterFn } from './utils.js';
2
+ import { defaultAccessor, defaultFilterFn, processOptions } from './utils.js';
3
3
  import { OptionsList } from './components/options-list/Component.js';
4
4
  import { DEFAULT_VISIBLE_OPTIONS } from './consts.js';
5
5
  import { Footer } from './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
@@ -47,9 +47,13 @@ const OptionsListWithApply = forwardRef(({ toggleMenu, getOptionProps: defaultGe
47
47
  const SELECT_ALL_KEY = 'select_all';
48
48
  const selectAllOption = { key: SELECT_ALL_KEY, content: 'Выбрать все' };
49
49
  function useSelectWithApply({ options, selected, onChange = () => null, OptionsList, optionsListProps = {}, showClear = true, showSelectAll = false, showHeaderWithSelectAll = false, showSearch, searchProps = {}, }) {
50
- const [search, setSearch] = useState('');
50
+ const [searchState, setSearchState] = useState('');
51
+ const [search, setSearch] = typeof searchProps?.value === 'string'
52
+ ? [searchProps.value, searchProps.onChange]
53
+ : [searchState, setSearchState];
51
54
  const accessor = searchProps.accessor || defaultAccessor;
52
- const { flatOptions, selectedOptions } = useMemo(() => processOptions(options, selected, showSearch ? (option) => defaultFilterFn(accessor(option), search) : undefined), [accessor, options, search, selected, showSearch]);
55
+ const filterFn = searchProps.filterFn || defaultFilterFn;
56
+ const { flatOptions, selectedOptions } = useMemo(() => processOptions(options, selected, showSearch ? (option) => filterFn(accessor(option), search) : undefined), [filterFn, accessor, options, search, selected, showSearch]);
53
57
  const [selectedDraft, setSelectedDraft] = useState(selectedOptions);
54
58
  const selectedOptionsRef = useRef(selectedOptions);
55
59
  const handleApply = () => {
package/modern/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { SelectResponsive as Select, SelectResponsiveProps as SelectProps } from "./Component.responsive";
2
- export {};
1
+ export { SelectResponsive as Select } from "./Component.responsive";
2
+ export type { SelectProps } from "./typings";
package/modern/index.js CHANGED
@@ -1,17 +1,19 @@
1
1
  export { SelectResponsive as Select } from './Component.responsive.js';
2
2
  import 'react';
3
- import '@alfalab/hooks';
3
+ import '@alfalab/core-components-mq/modern';
4
4
  import './Component.desktop.js';
5
5
  import '@alfalab/core-components-form-control/modern/desktop';
6
+ import '@alfalab/core-components-popover/modern';
6
7
  import './components/arrow/Component.js';
7
8
  import 'classnames';
8
9
  import '@alfalab/icons-glyph/ChevronDownMIcon';
9
10
  import './components/base-select/Component.js';
10
11
  import 'react-merge-refs';
11
12
  import '@juggle/resize-observer';
13
+ import 'compute-scroll-into-view';
12
14
  import 'downshift';
13
- import '@alfalab/core-components-popover/modern';
14
15
  import '@alfalab/core-components-shared/modern';
16
+ import '@alfalab/hooks';
15
17
  import './utils.js';
16
18
  import './components/native-select/Component.js';
17
19
  import './components/field/Component.js';
@@ -30,16 +32,15 @@ import './components/search/Component.js';
30
32
  import '@alfalab/core-components-input/modern';
31
33
  import '@alfalab/icons-glyph/MagnifierMIcon';
32
34
  import './Component.mobile.js';
33
- import '@alfalab/core-components-form-control/modern/mobile';
34
- import './components/base-select-mobile/Component.js';
35
35
  import '@alfalab/core-components-bottom-sheet/modern';
36
- import '@alfalab/core-components-modal/modern/mobile';
37
- import './components/base-select-mobile/footer/Component.js';
36
+ import '@alfalab/core-components-form-control/modern/mobile';
37
+ import '@alfalab/core-components-modal/modern/Component.mobile';
38
+ import './components/footer/Component.js';
38
39
  import '@alfalab/core-components-base-modal/modern';
39
40
  import '@alfalab/core-components-button/modern/mobile';
40
41
  import './components/virtual-options-list/Component.js';
41
42
  import 'react-virtual';
42
- import './hook-4eceefed.js';
43
+ import './hook-d879e08e.js';
43
44
  import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
44
45
  import '@alfalab/core-components-button/modern/desktop';
45
46
  import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
@@ -1,5 +1,3 @@
1
1
  export { SelectMobile } from "../Component.mobile";
2
2
  export { SelectModalMobile } from "../Component.modal.mobile";
3
- export type { SelectMobileProps } from "../Component.mobile";
4
- export type { SelectModalMobileProps } from "../Component.modal.mobile";
5
- export {};
3
+ export type { SelectMobileProps, SelectModalMobileProps } from "../typings";
@@ -1,19 +1,25 @@
1
1
  export { SelectMobile } from '../Component.mobile.js';
2
2
  export { SelectModalMobile } from '../Component.modal.mobile.js';
3
3
  import 'react';
4
+ import '@alfalab/core-components-bottom-sheet/modern';
4
5
  import '@alfalab/core-components-form-control/modern/mobile';
6
+ import '@alfalab/core-components-modal/modern/Component.mobile';
5
7
  import '../components/arrow/Component.js';
6
8
  import 'classnames';
7
9
  import '@alfalab/icons-glyph/ChevronDownMIcon';
8
- import '../components/base-select-mobile/Component.js';
10
+ import '../components/base-select/Component.js';
9
11
  import 'react-merge-refs';
12
+ import '@juggle/resize-observer';
13
+ import 'compute-scroll-into-view';
10
14
  import 'downshift';
11
- import '@alfalab/core-components-bottom-sheet/modern';
12
- import '@alfalab/core-components-modal/modern/mobile';
13
15
  import '@alfalab/core-components-shared/modern';
16
+ import '@alfalab/hooks';
14
17
  import '../utils.js';
18
+ import '../components/native-select/Component.js';
15
19
  import '../components/field/Component.js';
16
- import '@alfalab/hooks';
20
+ import '../components/footer/Component.js';
21
+ import '@alfalab/core-components-base-modal/modern';
22
+ import '@alfalab/core-components-button/modern/mobile';
17
23
  import '../components/optgroup/Component.js';
18
24
  import '../components/option/Component.js';
19
25
  import '../components/checkmark/Component.js';
@@ -23,17 +29,15 @@ import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
23
29
  import '@alfalab/icons-glyph/CheckmarkMIcon';
24
30
  import '../components/checkmark-mobile/Component.js';
25
31
  import '../components/options-list/Component.js';
32
+ import '@alfalab/core-components-mq/modern';
26
33
  import '@alfalab/core-components-scrollbar/modern';
27
34
  import '../consts.js';
28
35
  import '../components/search/Component.js';
29
36
  import '@alfalab/core-components-input/modern';
30
37
  import '@alfalab/icons-glyph/MagnifierMIcon';
31
- import '../components/base-select-mobile/footer/Component.js';
32
- import '@alfalab/core-components-base-modal/modern';
33
- import '@alfalab/core-components-button/modern/mobile';
34
38
  import '../components/virtual-options-list/Component.js';
35
39
  import 'react-virtual';
36
- import '../hook-4eceefed.js';
40
+ import '../hook-d879e08e.js';
37
41
  import '../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
38
42
  import '@alfalab/core-components-button/modern/desktop';
39
43
  import '../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
@@ -1,3 +1,3 @@
1
1
  export * from "./useSelectWithLoading/hook";
2
2
  export * from "./useLazyLoading/hook";
3
- export * from "../hook-8abfea97";
3
+ export * from "../hook-ad89c253";
@@ -1,6 +1,6 @@
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-4eceefed.js';
3
+ export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-d879e08e.js';
4
4
  import 'react';
5
5
  import '@alfalab/core-components-skeleton/modern';
6
6
  import '../components/option/Component.js';
@@ -15,8 +15,9 @@ import 'intersection-observer';
15
15
  import '../utils.js';
16
16
  import '../components/options-list/Component.js';
17
17
  import 'react-merge-refs';
18
+ import '@alfalab/core-components-mq/modern';
18
19
  import '@alfalab/core-components-scrollbar/modern';
19
- import '@alfalab/hooks';
20
+ import '@alfalab/core-components-shared/modern';
20
21
  import '../consts.js';
21
22
  import '../components/optgroup/Component.js';
22
23
  import './useSelectWithApply/options-list-with-apply/footer/Component.js';
@@ -1,11 +1,12 @@
1
1
  import 'react';
2
2
  import '../../utils.js';
3
- export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../../hook-4eceefed.js';
3
+ export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../../hook-d879e08e.js';
4
4
  import '../../components/options-list/Component.js';
5
5
  import 'react-merge-refs';
6
6
  import 'classnames';
7
+ import '@alfalab/core-components-mq/modern';
7
8
  import '@alfalab/core-components-scrollbar/modern';
8
- import '@alfalab/hooks';
9
+ import '@alfalab/core-components-shared/modern';
9
10
  import '../../consts.js';
10
11
  import '../../components/optgroup/Component.js';
11
12
  import './options-list-with-apply/footer/Component.js';
@@ -1,13 +1,14 @@
1
1
  import 'react';
2
2
  import '../../../components/options-list/Component.js';
3
3
  import '../../../consts.js';
4
- export { O as OptionsListWithApply } from '../../../hook-4eceefed.js';
4
+ export { O as OptionsListWithApply } from '../../../hook-d879e08e.js';
5
5
  import './footer/Component.js';
6
6
  import './header/Component.js';
7
7
  import 'react-merge-refs';
8
8
  import 'classnames';
9
+ import '@alfalab/core-components-mq/modern';
9
10
  import '@alfalab/core-components-scrollbar/modern';
10
- import '@alfalab/hooks';
11
+ import '@alfalab/core-components-shared/modern';
11
12
  import '../../../utils.js';
12
13
  import '../../../components/optgroup/Component.js';
13
14
  import '@alfalab/core-components-button/modern/desktop';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ButtonDesktop } from '@alfalab/core-components-button/modern/desktop';
3
3
 
4
- const styles = {"footer":"select__footer_b1owf"};
4
+ const styles = {"footer":"select__footer_1vdbq"};
5
5
  require('./index.css')
6
6
 
7
7
  const Footer = ({ handleApply, handleClear, showClear, selectedDraft = [], }) => (React.createElement("div", {
@@ -1,4 +1,4 @@
1
- /* hash: 10dvs */
1
+ /* hash: 1tiyk */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-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 */
@@ -17,10 +17,10 @@
17
17
  --gap-s: 12px;
18
18
  } :root {
19
19
  } :root {
20
- } .select__footer_b1owf {
20
+ } .select__footer_1vdbq {
21
21
  background-color: var(--color-light-bg-primary);
22
22
  padding: var(--gap-s);
23
23
  outline: none
24
- } .select__footer_b1owf > * + * {
24
+ } .select__footer_1vdbq > * + * {
25
25
  margin-left: var(--gap-xs);
26
26
  }
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { Checkbox } from '@alfalab/core-components-checkbox/modern';
4
4
 
5
- const styles = {"desktop":"select__desktop_1kxe6","mobile":"select__mobile_1kxe6"};
5
+ const styles = {"desktop":"select__desktop_1ywyh","mobile":"select__mobile_1ywyh"};
6
6
  require('./index.css')
7
7
 
8
8
  const Header = ({ onChange, checked, indeterminate, mobile }) => (React.createElement("div", { className: cn({ [styles.desktop]: !mobile, [styles.mobile]: mobile }) },
@@ -1,4 +1,4 @@
1
- /* hash: 1hj4p */
1
+ /* hash: t09wr */
2
2
  :root {
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 */
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 */
@@ -16,8 +16,8 @@
16
16
  --gap-s: 12px;
17
17
  } :root {
18
18
  } :root {
19
- } .select__desktop_1kxe6 {
19
+ } .select__desktop_1ywyh {
20
20
  padding: var(--gap-s);
21
- } .select__mobile_1kxe6 {
21
+ } .select__mobile_1ywyh {
22
22
  padding: var(--gap-s) var(--gap-xs);
23
23
  }
@@ -1 +1 @@
1
- export * from "../../../hook-4eceefed";
1
+ export * from "../../../hook-d879e08e";
@@ -1,11 +1,12 @@
1
- export { O as OptionsListWithApply } from '../../../hook-4eceefed.js';
1
+ export { O as OptionsListWithApply } from '../../../hook-d879e08e.js';
2
2
  import 'react';
3
3
  import '../../../utils.js';
4
4
  import '../../../components/options-list/Component.js';
5
5
  import 'react-merge-refs';
6
6
  import 'classnames';
7
+ import '@alfalab/core-components-mq/modern';
7
8
  import '@alfalab/core-components-scrollbar/modern';
8
- import '@alfalab/hooks';
9
+ import '@alfalab/core-components-shared/modern';
9
10
  import '../../../consts.js';
10
11
  import '../../../components/optgroup/Component.js';
11
12
  import './footer/Component.js';
@@ -9,7 +9,7 @@ import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
9
9
  import '@alfalab/icons-glyph/CheckmarkMIcon';
10
10
  import '../../components/checkmark-mobile/Component.js';
11
11
 
12
- const styles = {"skeleton":"select__skeleton_164am"};
12
+ const styles = {"skeleton":"select__skeleton_16ngw"};
13
13
  require('./index.css')
14
14
 
15
15
  function useSelectWithLoading({ loading = false, visibleOptions = 6, Option: Option$1 = Option, }) {
@@ -1,5 +1,5 @@
1
- /* hash: 2b85k */
2
- .select__skeleton_164am {
1
+ /* hash: q34u7 */
2
+ .select__skeleton_16ngw {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
@@ -1,5 +1,12 @@
1
- export * from "../components/index";
2
1
  export * from "../presets/index";
3
2
  export * from "../typings";
4
3
  export * from "../utils";
5
- export type { AdditionalMobileProps } from "../Component.mobile";
4
+ export * from "../components/option/index";
5
+ export * from "../components/base-option/index";
6
+ export * from "../components/options-list/index";
7
+ export * from "../components/virtual-options-list/index";
8
+ export * from "../components/field/index";
9
+ export * from "../components/arrow/index";
10
+ export * from "../components/base-select/index";
11
+ export * from "../components/optgroup/index";
12
+ export * from "../components/footer/index";
@@ -1,40 +1,41 @@
1
- export { Arrow } from '../components/arrow/Component.js';
2
- export { BaseSelect } from '../components/base-select/Component.js';
3
- export { Field } from '../components/field/Component.js';
4
- export { Optgroup } from '../components/optgroup/Component.js';
5
- export { Option } from '../components/option/Component.js';
6
- export { OptionsList } from '../components/options-list/Component.js';
7
- export { VirtualOptionsList } from '../components/virtual-options-list/Component.js';
8
- export { BaseOption } from '../components/base-option/Component.js';
9
- export { Search } from '../components/search/Component.js';
10
1
  export { useSelectWithLoading } from '../presets/useSelectWithLoading/hook.js';
11
2
  export { useLazyLoading } from '../presets/useLazyLoading/hook.js';
12
- export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-4eceefed.js';
3
+ export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-d879e08e.js';
13
4
  export { defaultAccessor, defaultFilterFn, isGroup, isOptionShape, joinOptions, lastIndexOf, processOptions, usePrevious, useVisibleOptions } from '../utils.js';
5
+ export { Option } from '../components/option/Component.js';
6
+ export { BaseOption } from '../components/base-option/Component.js';
7
+ export { OptionsList } from '../components/options-list/Component.js';
8
+ export { VirtualOptionsList } from '../components/virtual-options-list/Component.js';
9
+ export { Field } from '../components/field/Component.js';
10
+ export { Arrow } from '../components/arrow/Component.js';
11
+ export { BaseSelect } from '../components/base-select/Component.js';
12
+ export { Optgroup } from '../components/optgroup/Component.js';
13
+ export { Footer } from '../components/footer/Component.js';
14
14
  import 'react';
15
+ import '@alfalab/core-components-skeleton/modern';
16
+ import 'intersection-observer';
17
+ import '../consts.js';
18
+ import '../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
19
+ import '@alfalab/core-components-button/modern/desktop';
20
+ import '../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
15
21
  import 'classnames';
16
- import '@alfalab/icons-glyph/ChevronDownMIcon';
17
- import 'react-merge-refs';
18
- import '@juggle/resize-observer';
19
- import 'downshift';
20
- import '@alfalab/core-components-popover/modern';
21
- import '@alfalab/core-components-shared/modern';
22
- import '@alfalab/hooks';
23
- import '../components/native-select/Component.js';
22
+ import '@alfalab/core-components-checkbox/modern';
24
23
  import '../components/checkmark/Component.js';
25
24
  import '@alfalab/core-components-badge/modern';
26
- import '@alfalab/core-components-checkbox/modern';
27
25
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
28
26
  import '@alfalab/icons-glyph/CheckmarkMIcon';
29
27
  import '../components/checkmark-mobile/Component.js';
28
+ import '../components/base-checkmark/Component.js';
29
+ import 'react-merge-refs';
30
+ import '@alfalab/core-components-mq/modern';
30
31
  import '@alfalab/core-components-scrollbar/modern';
31
- import '../consts.js';
32
+ import '@alfalab/core-components-shared/modern';
32
33
  import 'react-virtual';
33
- import '../components/base-checkmark/Component.js';
34
- import '@alfalab/core-components-input/modern';
35
- import '@alfalab/icons-glyph/MagnifierMIcon';
36
- import '@alfalab/core-components-skeleton/modern';
37
- import 'intersection-observer';
38
- import '../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
39
- import '@alfalab/core-components-button/modern/desktop';
40
- import '../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
34
+ import '@alfalab/hooks';
35
+ import '@alfalab/icons-glyph/ChevronDownMIcon';
36
+ import '@juggle/resize-observer';
37
+ import 'compute-scroll-into-view';
38
+ import 'downshift';
39
+ import '../components/native-select/Component.js';
40
+ import '@alfalab/core-components-base-modal/modern';
41
+ import '@alfalab/core-components-button/modern/mobile';