@alfalab/core-components-select 17.22.0 → 17.24.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 (267) hide show
  1. package/components/arrow/Component.js +1 -1
  2. package/components/arrow/index.css +5 -5
  3. package/components/base-checkmark/Component.js +1 -1
  4. package/components/base-checkmark/index.css +6 -6
  5. package/components/base-option/Component.js +1 -1
  6. package/components/base-option/index.css +17 -17
  7. package/components/base-select/Component.js +78 -33
  8. package/components/base-select/index.css +12 -12
  9. package/components/base-select/mobile.css +12 -12
  10. package/components/checkmark/Component.js +1 -1
  11. package/components/checkmark/index.css +10 -10
  12. package/components/checkmark-mobile/Component.js +1 -1
  13. package/components/checkmark-mobile/index.css +6 -6
  14. package/components/clear-button/Component.js +1 -1
  15. package/components/clear-button/index.css +5 -5
  16. package/components/field/Component.js +1 -1
  17. package/components/field/index.css +14 -14
  18. package/components/footer/Component.js +1 -1
  19. package/components/footer/index.css +5 -5
  20. package/components/optgroup/Component.js +1 -1
  21. package/components/optgroup/index.css +5 -5
  22. package/components/option/desktop/Component.js +1 -1
  23. package/components/option/desktop/index.css +21 -21
  24. package/components/option/mobile/Component.js +1 -1
  25. package/components/option/mobile/index.css +18 -18
  26. package/components/options-list/Component.js +1 -1
  27. package/components/options-list/index.css +10 -10
  28. package/components/search/Component.js +1 -1
  29. package/components/search/index.css +2 -2
  30. package/components/virtual-options-list/Component.js +4 -4
  31. package/components/virtual-options-list/index.css +14 -14
  32. package/cssm/components/base-select/Component.js +62 -22
  33. package/cssm/components/virtual-options-list/Component.js +3 -3
  34. package/cssm/mobile/Component.mobile.js +1 -1
  35. package/esm/components/arrow/Component.js +1 -1
  36. package/esm/components/arrow/index.css +5 -5
  37. package/esm/components/base-checkmark/Component.js +1 -1
  38. package/esm/components/base-checkmark/index.css +6 -6
  39. package/esm/components/base-option/Component.js +1 -1
  40. package/esm/components/base-option/index.css +17 -17
  41. package/esm/components/base-select/Component.js +68 -23
  42. package/esm/components/base-select/index.css +12 -12
  43. package/esm/components/base-select/mobile.css +12 -12
  44. package/esm/components/checkmark/Component.js +1 -1
  45. package/esm/components/checkmark/index.css +10 -10
  46. package/esm/components/checkmark-mobile/Component.js +1 -1
  47. package/esm/components/checkmark-mobile/index.css +6 -6
  48. package/esm/components/clear-button/Component.js +1 -1
  49. package/esm/components/clear-button/index.css +5 -5
  50. package/esm/components/field/Component.js +1 -1
  51. package/esm/components/field/index.css +14 -14
  52. package/esm/components/footer/Component.js +1 -1
  53. package/esm/components/footer/index.css +5 -5
  54. package/esm/components/optgroup/Component.js +1 -1
  55. package/esm/components/optgroup/index.css +5 -5
  56. package/esm/components/option/desktop/Component.js +1 -1
  57. package/esm/components/option/desktop/index.css +21 -21
  58. package/esm/components/option/mobile/Component.js +1 -1
  59. package/esm/components/option/mobile/index.css +18 -18
  60. package/esm/components/options-list/Component.js +1 -1
  61. package/esm/components/options-list/index.css +10 -10
  62. package/esm/components/search/Component.js +1 -1
  63. package/esm/components/search/index.css +2 -2
  64. package/esm/components/virtual-options-list/Component.js +4 -4
  65. package/esm/components/virtual-options-list/index.css +14 -14
  66. package/esm/mobile/Component.mobile.js +2 -2
  67. package/esm/presets/index.js +1 -1
  68. package/esm/presets/useSelectWithApply/hook.js +1 -1
  69. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  70. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  71. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +4 -4
  72. package/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  73. package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +4 -4
  74. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  75. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  76. package/esm/presets/useSelectWithLoading/hook.js +1 -1
  77. package/esm/presets/useSelectWithLoading/index.css +2 -2
  78. package/esm/shared/index.js +1 -1
  79. package/mobile/Component.mobile.js +2 -2
  80. package/modern/components/arrow/Component.js +1 -1
  81. package/modern/components/arrow/index.css +5 -5
  82. package/modern/components/base-checkmark/Component.js +1 -1
  83. package/modern/components/base-checkmark/index.css +6 -6
  84. package/modern/components/base-option/Component.js +1 -1
  85. package/modern/components/base-option/index.css +17 -17
  86. package/modern/components/base-select/Component.js +64 -13
  87. package/modern/components/base-select/index.css +12 -12
  88. package/modern/components/base-select/mobile.css +12 -12
  89. package/modern/components/checkmark/Component.js +1 -1
  90. package/modern/components/checkmark/index.css +10 -10
  91. package/modern/components/checkmark-mobile/Component.js +1 -1
  92. package/modern/components/checkmark-mobile/index.css +6 -6
  93. package/modern/components/clear-button/Component.js +1 -1
  94. package/modern/components/clear-button/index.css +5 -5
  95. package/modern/components/field/Component.js +1 -1
  96. package/modern/components/field/index.css +14 -14
  97. package/modern/components/footer/Component.js +1 -1
  98. package/modern/components/footer/index.css +5 -5
  99. package/modern/components/optgroup/Component.js +1 -1
  100. package/modern/components/optgroup/index.css +5 -5
  101. package/modern/components/option/desktop/Component.js +1 -1
  102. package/modern/components/option/desktop/index.css +21 -21
  103. package/modern/components/option/mobile/Component.js +1 -1
  104. package/modern/components/option/mobile/index.css +18 -18
  105. package/modern/components/options-list/Component.js +1 -1
  106. package/modern/components/options-list/index.css +10 -10
  107. package/modern/components/search/Component.js +1 -1
  108. package/modern/components/search/index.css +2 -2
  109. package/modern/components/virtual-options-list/Component.js +4 -4
  110. package/modern/components/virtual-options-list/index.css +14 -14
  111. package/modern/mobile/Component.mobile.js +2 -1
  112. package/modern/presets/index.js +1 -1
  113. package/modern/presets/useSelectWithApply/hook.js +1 -1
  114. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  115. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  116. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +4 -4
  117. package/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  118. package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +4 -4
  119. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  120. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  121. package/modern/presets/useSelectWithLoading/hook.js +1 -1
  122. package/modern/presets/useSelectWithLoading/index.css +2 -2
  123. package/modern/shared/index.js +1 -1
  124. package/moderncssm/components/base-select/Component.js +58 -12
  125. package/moderncssm/components/virtual-options-list/Component.js +3 -3
  126. package/moderncssm/mobile/Component.mobile.js +1 -0
  127. package/package.json +3 -3
  128. package/presets/index.js +1 -1
  129. package/presets/useSelectWithApply/hook.js +1 -1
  130. package/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  131. package/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  132. package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +4 -4
  133. package/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  134. package/presets/useSelectWithApply/options-list-with-apply/header/index.css +4 -4
  135. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  136. package/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  137. package/presets/useSelectWithLoading/hook.js +1 -1
  138. package/presets/useSelectWithLoading/index.css +2 -2
  139. package/shared/index.js +1 -1
  140. package/src/components/base-select/Component.tsx +157 -36
  141. package/src/components/virtual-options-list/Component.tsx +3 -2
  142. package/src/mobile/Component.mobile.tsx +1 -0
  143. package/components/base-select/components/list-desktop/helpers/get-list-popover-desktop-props.d.ts +0 -12
  144. package/components/base-select/components/list-desktop/helpers/get-list-popover-desktop-props.js +0 -19
  145. package/components/base-select/components/list-desktop/list-popover-desktop.d.ts +0 -0
  146. package/components/base-select/components/list-desktop/list-popover-desktop.js +0 -12
  147. package/components/base-select/components/list-desktop/types/types.d.ts +0 -3
  148. package/components/base-select/components/list-desktop/types/types.js +0 -2
  149. package/components/base-select/components/list-mobile/helpers/get-list-bottom-sheet-mobile-props.d.ts +0 -18
  150. package/components/base-select/components/list-mobile/helpers/get-list-bottom-sheet-mobile-props.js +0 -23
  151. package/components/base-select/components/list-mobile/helpers/get-list-modal-mobile-props.d.ts +0 -31
  152. package/components/base-select/components/list-mobile/helpers/get-list-modal-mobile-props.js +0 -22
  153. package/components/base-select/components/list-mobile/helpers/index.d.ts +0 -2
  154. package/components/base-select/components/list-mobile/helpers/index.js +0 -11
  155. package/components/base-select/components/list-mobile/list-bottom-sheet-mobile.d.ts +0 -15
  156. package/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +0 -31
  157. package/components/base-select/components/list-mobile/list-mobile.d.ts +0 -16
  158. package/components/base-select/components/list-mobile/list-mobile.js +0 -26
  159. package/components/base-select/components/list-mobile/list-modal-mobile.d.ts +0 -15
  160. package/components/base-select/components/list-mobile/list-modal-mobile.js +0 -45
  161. package/components/base-select/components/list-mobile/types/types.d.ts +0 -4
  162. package/components/base-select/components/list-mobile/types/types.js +0 -2
  163. package/cssm/components/base-select/components/list-desktop/helpers/get-list-popover-desktop-props.d.ts +0 -12
  164. package/cssm/components/base-select/components/list-desktop/helpers/get-list-popover-desktop-props.js +0 -19
  165. package/cssm/components/base-select/components/list-desktop/list-popover-desktop.d.ts +0 -9
  166. package/cssm/components/base-select/components/list-desktop/list-popover-desktop.js +0 -24
  167. package/cssm/components/base-select/components/list-desktop/types/types.d.ts +0 -3
  168. package/cssm/components/base-select/components/list-desktop/types/types.js +0 -2
  169. package/cssm/components/base-select/components/list-mobile/helpers/get-list-bottom-sheet-mobile-props.d.ts +0 -18
  170. package/cssm/components/base-select/components/list-mobile/helpers/get-list-bottom-sheet-mobile-props.js +0 -23
  171. package/cssm/components/base-select/components/list-mobile/helpers/get-list-modal-mobile-props.d.ts +0 -31
  172. package/cssm/components/base-select/components/list-mobile/helpers/get-list-modal-mobile-props.js +0 -22
  173. package/cssm/components/base-select/components/list-mobile/helpers/index.d.ts +0 -2
  174. package/cssm/components/base-select/components/list-mobile/helpers/index.js +0 -11
  175. package/cssm/components/base-select/components/list-mobile/list-bottom-sheet-mobile.d.ts +0 -15
  176. package/cssm/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +0 -32
  177. package/cssm/components/base-select/components/list-mobile/list-mobile.d.ts +0 -16
  178. package/cssm/components/base-select/components/list-mobile/list-mobile.js +0 -26
  179. package/cssm/components/base-select/components/list-mobile/list-modal-mobile.d.ts +0 -15
  180. package/cssm/components/base-select/components/list-mobile/list-modal-mobile.js +0 -46
  181. package/cssm/components/base-select/components/list-mobile/types/types.d.ts +0 -4
  182. package/cssm/components/base-select/components/list-mobile/types/types.js +0 -2
  183. package/esm/components/base-select/components/list-desktop/helpers/get-list-popover-desktop-props.d.ts +0 -12
  184. package/esm/components/base-select/components/list-desktop/helpers/get-list-popover-desktop-props.js +0 -15
  185. package/esm/components/base-select/components/list-desktop/list-popover-desktop.d.ts +0 -0
  186. package/esm/components/base-select/components/list-desktop/list-popover-desktop.js +0 -4
  187. package/esm/components/base-select/components/list-desktop/types/types.d.ts +0 -3
  188. package/esm/components/base-select/components/list-desktop/types/types.js +0 -1
  189. package/esm/components/base-select/components/list-mobile/helpers/get-list-bottom-sheet-mobile-props.d.ts +0 -18
  190. package/esm/components/base-select/components/list-mobile/helpers/get-list-bottom-sheet-mobile-props.js +0 -19
  191. package/esm/components/base-select/components/list-mobile/helpers/get-list-modal-mobile-props.d.ts +0 -31
  192. package/esm/components/base-select/components/list-mobile/helpers/get-list-modal-mobile-props.js +0 -18
  193. package/esm/components/base-select/components/list-mobile/helpers/index.d.ts +0 -2
  194. package/esm/components/base-select/components/list-mobile/helpers/index.js +0 -2
  195. package/esm/components/base-select/components/list-mobile/list-bottom-sheet-mobile.d.ts +0 -15
  196. package/esm/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +0 -23
  197. package/esm/components/base-select/components/list-mobile/list-mobile.d.ts +0 -16
  198. package/esm/components/base-select/components/list-mobile/list-mobile.js +0 -18
  199. package/esm/components/base-select/components/list-mobile/list-modal-mobile.d.ts +0 -15
  200. package/esm/components/base-select/components/list-mobile/list-modal-mobile.js +0 -35
  201. package/esm/components/base-select/components/list-mobile/types/types.d.ts +0 -4
  202. package/esm/components/base-select/components/list-mobile/types/types.js +0 -1
  203. package/esm/list-popover-desktop-ce7230ff.d.ts +0 -9
  204. package/esm/list-popover-desktop-ce7230ff.js +0 -16
  205. package/esm/mobile.module-4cb6e76e.js +0 -4
  206. package/list-popover-desktop-c264abbb.d.ts +0 -9
  207. package/list-popover-desktop-c264abbb.js +0 -24
  208. package/mobile.module-16f2c15a.js +0 -6
  209. package/modern/components/base-select/components/list-desktop/helpers/get-list-popover-desktop-props.d.ts +0 -12
  210. package/modern/components/base-select/components/list-desktop/helpers/get-list-popover-desktop-props.js +0 -15
  211. package/modern/components/base-select/components/list-desktop/list-popover-desktop.d.ts +0 -0
  212. package/modern/components/base-select/components/list-desktop/list-popover-desktop.js +0 -3
  213. package/modern/components/base-select/components/list-desktop/types/types.d.ts +0 -3
  214. package/modern/components/base-select/components/list-desktop/types/types.js +0 -1
  215. package/modern/components/base-select/components/list-mobile/helpers/get-list-bottom-sheet-mobile-props.d.ts +0 -18
  216. package/modern/components/base-select/components/list-mobile/helpers/get-list-bottom-sheet-mobile-props.js +0 -19
  217. package/modern/components/base-select/components/list-mobile/helpers/get-list-modal-mobile-props.d.ts +0 -31
  218. package/modern/components/base-select/components/list-mobile/helpers/get-list-modal-mobile-props.js +0 -18
  219. package/modern/components/base-select/components/list-mobile/helpers/index.d.ts +0 -2
  220. package/modern/components/base-select/components/list-mobile/helpers/index.js +0 -2
  221. package/modern/components/base-select/components/list-mobile/list-bottom-sheet-mobile.d.ts +0 -15
  222. package/modern/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +0 -27
  223. package/modern/components/base-select/components/list-mobile/list-mobile.d.ts +0 -16
  224. package/modern/components/base-select/components/list-mobile/list-mobile.js +0 -17
  225. package/modern/components/base-select/components/list-mobile/list-modal-mobile.d.ts +0 -15
  226. package/modern/components/base-select/components/list-mobile/list-modal-mobile.js +0 -35
  227. package/modern/components/base-select/components/list-mobile/types/types.d.ts +0 -4
  228. package/modern/components/base-select/components/list-mobile/types/types.js +0 -1
  229. package/modern/list-popover-desktop-ef23ef00.d.ts +0 -9
  230. package/modern/list-popover-desktop-ef23ef00.js +0 -15
  231. package/modern/mobile.module-4725bcd2.js +0 -4
  232. package/moderncssm/components/base-select/components/list-desktop/helpers/get-list-popover-desktop-props.d.ts +0 -12
  233. package/moderncssm/components/base-select/components/list-desktop/helpers/get-list-popover-desktop-props.js +0 -15
  234. package/moderncssm/components/base-select/components/list-desktop/list-popover-desktop.d.ts +0 -9
  235. package/moderncssm/components/base-select/components/list-desktop/list-popover-desktop.js +0 -13
  236. package/moderncssm/components/base-select/components/list-desktop/types/types.d.ts +0 -3
  237. package/moderncssm/components/base-select/components/list-desktop/types/types.js +0 -1
  238. package/moderncssm/components/base-select/components/list-mobile/helpers/get-list-bottom-sheet-mobile-props.d.ts +0 -18
  239. package/moderncssm/components/base-select/components/list-mobile/helpers/get-list-bottom-sheet-mobile-props.js +0 -19
  240. package/moderncssm/components/base-select/components/list-mobile/helpers/get-list-modal-mobile-props.d.ts +0 -31
  241. package/moderncssm/components/base-select/components/list-mobile/helpers/get-list-modal-mobile-props.js +0 -18
  242. package/moderncssm/components/base-select/components/list-mobile/helpers/index.d.ts +0 -2
  243. package/moderncssm/components/base-select/components/list-mobile/helpers/index.js +0 -2
  244. package/moderncssm/components/base-select/components/list-mobile/list-bottom-sheet-mobile.d.ts +0 -15
  245. package/moderncssm/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +0 -27
  246. package/moderncssm/components/base-select/components/list-mobile/list-mobile.d.ts +0 -16
  247. package/moderncssm/components/base-select/components/list-mobile/list-mobile.js +0 -17
  248. package/moderncssm/components/base-select/components/list-mobile/list-modal-mobile.d.ts +0 -15
  249. package/moderncssm/components/base-select/components/list-mobile/list-modal-mobile.js +0 -35
  250. package/moderncssm/components/base-select/components/list-mobile/types/types.d.ts +0 -4
  251. package/moderncssm/components/base-select/components/list-mobile/types/types.js +0 -1
  252. package/src/components/base-select/components/list-desktop/helpers/get-list-popover-desktop-props.tsx +0 -24
  253. package/src/components/base-select/components/list-desktop/list-popover-desktop.tsx +0 -47
  254. package/src/components/base-select/components/list-desktop/types/types.ts +0 -3
  255. package/src/components/base-select/components/list-mobile/helpers/get-list-bottom-sheet-mobile-props.tsx +0 -32
  256. package/src/components/base-select/components/list-mobile/helpers/get-list-modal-mobile-props.tsx +0 -30
  257. package/src/components/base-select/components/list-mobile/helpers/index.ts +0 -2
  258. package/src/components/base-select/components/list-mobile/list-bottom-sheet-mobile.tsx +0 -88
  259. package/src/components/base-select/components/list-mobile/list-mobile.tsx +0 -39
  260. package/src/components/base-select/components/list-mobile/list-modal-mobile.tsx +0 -98
  261. package/src/components/base-select/components/list-mobile/types/types.ts +0 -4
  262. /package/esm/{hook-032fca92.d.ts → hook-40e5e32c.d.ts} +0 -0
  263. /package/esm/{hook-032fca92.js → hook-40e5e32c.js} +0 -0
  264. /package/{hook-8e994d7b.d.ts → hook-c750186e.d.ts} +0 -0
  265. /package/{hook-8e994d7b.js → hook-c750186e.js} +0 -0
  266. /package/modern/{hook-827e015d.d.ts → hook-a3714755.d.ts} +0 -0
  267. /package/modern/{hook-827e015d.js → hook-a3714755.js} +0 -0
@@ -1,4 +1,4 @@
1
- /* hash: budse */
1
+ /* hash: 1t2h6 */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -27,10 +27,10 @@
27
27
  --gap-16: var(--gap-m);
28
28
  } :root {
29
29
  } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
30
- } /* сбрасывает синюю подсветку при нажатии */ .select__desktop_1bx7t {
30
+ } /* сбрасывает синюю подсветку при нажатии */ .select__desktop_hwdqq {
31
31
  padding: var(--gap-12)
32
- } .select__desktop_1bx7t.select__size-72_1bx7t {
32
+ } .select__desktop_hwdqq.select__size-72_hwdqq {
33
33
  padding-left: var(--gap-16);
34
- } .select__mobile_1bx7t {
34
+ } .select__mobile_hwdqq {
35
35
  padding: var(--gap-12) var(--gap-8);
36
36
  }
@@ -1 +1 @@
1
- export * from "../../../hook-827e015d";
1
+ export * from "../../../hook-a3714755";
@@ -1 +1 @@
1
- export { O as OptionsListWithApply } from '../../../hook-827e015d.js';
1
+ export { O as OptionsListWithApply } from '../../../hook-a3714755.js';
@@ -7,7 +7,7 @@ import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
7
7
  import '@alfalab/icons-glyph/CheckmarkMIcon';
8
8
  import { OptionResponsive } from '../../components/option/Component.responsive.js';
9
9
 
10
- const styles = {"skeleton":"select__skeleton_yhmkq"};
10
+ const styles = {"skeleton":"select__skeleton_18ise"};
11
11
  require('./index.css')
12
12
 
13
13
  function useSelectWithLoading({ loading = false, visibleOptions = 6, Option = OptionResponsive, }) {
@@ -1,5 +1,5 @@
1
- /* hash: 1k491 */
2
- .select__skeleton_yhmkq {
1
+ /* hash: 1qz80 */
2
+ .select__skeleton_18ise {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
@@ -1,6 +1,6 @@
1
1
  export { useSelectWithLoading } from '../presets/useSelectWithLoading/hook.js';
2
2
  export { useLazyLoading } from '../presets/useLazyLoading/hook.js';
3
- export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-827e015d.js';
3
+ export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-a3714755.js';
4
4
  export { defaultAccessor, defaultFilterFn, defaultGroupAccessor, getSelectTestIds, isGroup, isOptionShape, joinOptions, lastIndexOf, processOptions, usePrevious, useVirtualVisibleOptions, useVisibleOptions } from '../utils.js';
5
5
  export { OptionDesktop } from '../components/option/desktop/Component.js';
6
6
  export { OptionMobile } from '../components/option/mobile/Component.js';
@@ -9,11 +9,6 @@ import { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
9
9
  import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
10
10
  import { defaultAccessor, defaultFilterFn, defaultGroupAccessor, processOptions, isGroup } from '../../utils.js';
11
11
  import { NativeSelect } from '../native-select/Component.js';
12
- import { getListPopoverDesktopProps } from './components/list-desktop/helpers/get-list-popover-desktop-props.js';
13
- import { ListPopoverDesktop } from './components/list-desktop/list-popover-desktop.js';
14
- import { getListModalMobileProps } from './components/list-mobile/helpers/get-list-modal-mobile-props.js';
15
- import { getListBottomSheetMobileProps } from './components/list-mobile/helpers/get-list-bottom-sheet-mobile-props.js';
16
- import { ListMobile } from './components/list-mobile/list-mobile.js';
17
12
  import styles from './index.module.css';
18
13
  import mobileStyles from './mobile.module.css';
19
14
 
@@ -24,7 +19,7 @@ const BaseSelect = forwardRef(
24
19
  // TODO: 😭
25
20
  // eslint-disable-next-line complexity
26
21
  (props, ref) => {
27
- const { dataTestId, className, fieldClassName, optionGroupClassName, optionsListClassName, optionClassName, options, autocomplete = false, multiple = false, allowUnselect = false, disabled = false, closeOnSelect = !multiple, circularNavigation = false, nativeSelect = false, defaultOpen = false, open: openProp, optionsListWidth = 'content', name, id, selected, size = 48, optionsSize = size, error, hint, block, label, labelView, placeholder, fieldProps = {}, optionsListProps = {}, optionProps = {}, groupOptionProps = {}, searchProps = {}, showSearch = false, valueRenderer, onChange, onOpen, onFocus, onBlur, onScroll, onClear, clear, Arrow, Field = () => null, OptionsList = () => null, Optgroup = () => null, Option = () => null, Search = () => null, showEmptyOptionsList = false, visibleOptions, view, isBottomSheet = true, modalProps, bottomSheetProps, limitDynamicOptionGroupSize, } = props;
22
+ const { dataTestId, className, fieldClassName, optionGroupClassName, optionsListClassName, optionClassName, popperClassName, options, autocomplete = false, multiple = false, allowUnselect = false, disabled = false, closeOnSelect = !multiple, circularNavigation = false, nativeSelect = false, defaultOpen = false, open: openProp, popoverPosition = 'bottom-start', preventFlip = true, optionsListWidth = 'content', name, id, selected, size = 48, optionsSize = size, error, hint, block, label, labelView, placeholder, fieldProps = {}, optionsListProps = {}, optionProps = {}, groupOptionProps = {}, searchProps = {}, showSearch = false, valueRenderer, onChange, onOpen, onFocus, onBlur, onScroll, onClear, clear, Arrow, Field = () => null, OptionsList = () => null, Optgroup = () => null, Option = () => null, Search = () => null, updatePopover, zIndexPopover, showEmptyOptionsList = false, visibleOptions, view, isBottomSheet = true, footer, swipeable, modalProps, popoverProps, modalFooterProps, modalHeaderProps, bottomSheetProps, Popover, ModalMobile, BottomSheet, limitDynamicOptionGroupSize, } = props;
28
23
  const shouldSearchBlurRef = useRef(true);
29
24
  const rootRef = useRef(null);
30
25
  const fieldRef = useRef(null);
@@ -302,7 +297,7 @@ const BaseSelect = forwardRef(
302
297
  const optionsListMinWidth = rootRef.current
303
298
  ? rootRef.current.getBoundingClientRect().width
304
299
  : 0;
305
- listRef.current.setAttribute('style', '');
300
+ listRef.current.removeAttribute('style');
306
301
  listRef.current.style[widthAttr] = `${optionsListMinWidth}px`;
307
302
  }
308
303
  }, [view, optionsListWidth]);
@@ -381,11 +376,63 @@ const BaseSelect = forwardRef(
381
376
  return null;
382
377
  const listProps = optionsListProps;
383
378
  return (React.createElement("div", { ...menuProps, ref: view === 'desktop' ? menuRef : undefined, className: cn(optionsListClassName, view === 'mobile' && mobileStyles.optionsListWrapper, view === 'desktop' && styles.optionsListWrapper) },
384
- React.createElement(OptionsList, { ...listProps, ref: view === 'desktop' ? listProps.ref : scrollableContainerRef, setHighlightedIndex: view === 'desktop' ? setHighlightedIndex : undefined, className: cn({ [mobileStyles.optionsList]: view === 'mobile' }), scrollbarClassName: cn({ [mobileStyles.scrollbar]: view === 'mobile' }), optionsListWidth: optionsListWidth, flatOptions: flatOptions, highlightedIndex: highlightedIndex, open: open, size: size, options: filteredOptions, Optgroup: Optgroup, Option: Option, selectedItems: selectedItems, setSelectedItems: setSelectedItems, toggleMenu: toggleMenu, groupOptionProps: groupOptionProps, getOptionProps: getOptionProps, visibleOptions: view === 'desktop' ? visibleOptions : 0, dataTestId: getDataTestId(dataTestId, 'options-list'), header: renderOptionsListHeader(), optionGroupClassName: cn(optionGroupClassName, {
379
+ React.createElement(OptionsList, { ...listProps, ref: view === 'desktop' ? listProps.ref : scrollableContainerRef, setHighlightedIndex: view === 'desktop' ? setHighlightedIndex : undefined, className: cn({ [mobileStyles.optionsList]: view === 'mobile' }, listProps.className), scrollbarClassName: cn({ [mobileStyles.scrollbar]: view === 'mobile' }, listProps.scrollbarClassName), optionsListWidth: optionsListWidth, flatOptions: flatOptions, highlightedIndex: highlightedIndex, open: open, size: size, options: filteredOptions, Optgroup: Optgroup, Option: Option, selectedItems: selectedItems, setSelectedItems: setSelectedItems, toggleMenu: toggleMenu, groupOptionProps: groupOptionProps, getOptionProps: getOptionProps, visibleOptions: view === 'desktop' ? visibleOptions : 0, dataTestId: getDataTestId(dataTestId, 'options-list'), header: renderOptionsListHeader(), optionGroupClassName: cn(optionGroupClassName, {
385
380
  [mobileStyles.optionGroup]: view === 'mobile',
386
381
  }), emptyPlaceholder: renderEmptyPlaceholder(), onScroll: onScroll, search: search, multiple: multiple, limitDynamicOptionGroupSize: limitDynamicOptionGroupSize }),
387
382
  view === 'desktop' && React.createElement("div", { className: styles.optionsListBorder })));
388
383
  };
384
+ const renderInPopover = () => {
385
+ if (!nativeSelect && Popover) {
386
+ return (React.createElement(Popover, { ...popoverProps, open: open, withTransition: false, anchorElement: fieldRef.current, position: popoverPosition, preventFlip: preventFlip, popperClassName: cn(styles.popoverInner, popperClassName), update: updatePopover, zIndex: zIndexPopover }, renderOptionsList()));
387
+ }
388
+ return null;
389
+ };
390
+ const renderInBottomSheet = () => {
391
+ if (!nativeSelect && BottomSheet) {
392
+ const bottomAddons = bottomSheetProps?.bottomAddons;
393
+ return (React.createElement(BottomSheet, { dataTestId: getDataTestId(dataTestId, 'bottom-sheet'), open: open, className: mobileStyles.sheet, contentClassName: mobileStyles.sheetContent, containerClassName: mobileStyles.sheetContainer, title: label || placeholder, actionButton: footer, stickyHeader: true, hasCloser: true, swipeable: swipeable, initialHeight: showSearch ? 'full' : 'default', ...bottomSheetProps, sheetContainerRef: menuRef, scrollableContainerRef: scrollableContainerRef, onClose: () => {
394
+ closeMenu();
395
+ bottomSheetProps?.onClose?.();
396
+ }, transitionProps: {
397
+ ...bottomSheetProps?.transitionProps,
398
+ onEntered: handleEntered,
399
+ }, bottomAddons: React.createElement(React.Fragment, null,
400
+ renderSearch(),
401
+ typeof bottomAddons === 'function'
402
+ ? bottomAddons(flatOptions)
403
+ : bottomAddons), containerProps: {
404
+ ...bottomSheetProps?.containerProps,
405
+ onScroll,
406
+ } }, renderOptionsList()));
407
+ }
408
+ return null;
409
+ };
410
+ const renderInModalMobile = () => {
411
+ if (!nativeSelect && ModalMobile) {
412
+ const bottomAddons = modalHeaderProps?.bottomAddons;
413
+ return (React.createElement(ModalMobile, { dataTestId: getDataTestId(dataTestId, 'modal'), open: open, hasCloser: true, ...modalProps, componentRef: menuRef, onClose: (...args) => {
414
+ closeMenu();
415
+ modalProps?.onClose?.(...args);
416
+ }, contentClassName: cn(mobileStyles.sheetContent, modalProps?.contentClassName), ref: mergeRefs([
417
+ scrollableContainerRef,
418
+ modalProps?.ref,
419
+ ]), wrapperProps: {
420
+ ...modalProps?.wrapperProps,
421
+ onScroll,
422
+ }, transitionProps: {
423
+ ...modalProps?.transitionProps,
424
+ onEntered: handleEntered,
425
+ } },
426
+ React.createElement(ModalMobile.Header, { hasCloser: true, sticky: true, ...modalHeaderProps, title: undefined, bottomAddons: React.createElement(React.Fragment, null,
427
+ renderSearch(),
428
+ typeof bottomAddons === 'function'
429
+ ? bottomAddons(flatOptions)
430
+ : bottomAddons) }, modalHeaderProps?.title || label || placeholder),
431
+ React.createElement(ModalMobile.Content, { flex: true, className: mobileStyles.modalContent }, renderOptionsList()),
432
+ modalFooterProps?.children && React.createElement(ModalMobile.Footer, { ...modalFooterProps })));
433
+ }
434
+ return null;
435
+ };
389
436
  return (React.createElement("div", { ...(disabled && { 'aria-disabled': true }), "aria-expanded": inputProps['aria-expanded'], "aria-haspopup": 'listbox', role: inputProps.role, className: cn(styles.component, { [styles.block]: block }, className), ref: rootRef, onKeyDown: disabled ? undefined : handleFieldKeyDown, tabIndex: -1, "data-test-id": getDataTestId(dataTestId) },
390
437
  nativeSelect && renderNativeSelect(),
391
438
  React.createElement(Field, { selectedMultiple: selectedItems, selected: selectedItems[0], setSelectedItems: setSelectedItems, toggleMenu: toggleMenu, multiple: multiple, open: open, disabled: disabled, size: size, placeholder: placeholder, label: label && React.createElement("span", { ...getLabelProps() }, label), labelView: labelView, Arrow: Arrow && React.createElement(Arrow, { open: open, size: size, disabled: disabled }), error: error, hint: hint, valueRenderer: valueRenderer, className: fieldClassName, clear: clear, onClear: handleFieldClear, innerProps: {
@@ -402,10 +449,9 @@ const BaseSelect = forwardRef(
402
449
  : undefined,
403
450
  }, dataTestId: getDataTestId(dataTestId, 'field'), ...fieldProps }),
404
451
  name && !nativeSelect && renderValue(),
405
- view === 'desktop' && !nativeSelect && (React.createElement(ListPopoverDesktop, { ...getListPopoverDesktopProps(props), open: open, fieldRef: fieldRef, renderOptionsList: renderOptionsList })),
406
- view === 'mobile' && (React.createElement(ListMobile, { baseProps: isBottomSheet
407
- ? getListBottomSheetMobileProps(props)
408
- : getListModalMobileProps(props), open: open, menuRef: menuRef, scrollableContainerRef: scrollableContainerRef, flatOptions: flatOptions, renderOptionsList: renderOptionsList, renderSearch: renderSearch, closeMenu: closeMenu, handleEntered: handleEntered }))));
452
+ view === 'desktop' && renderInPopover(),
453
+ view === 'mobile' &&
454
+ (isBottomSheet ? renderInBottomSheet() : renderInModalMobile())));
409
455
  });
410
456
 
411
457
  export { BaseSelect };
@@ -10,7 +10,7 @@ import { usePrevious, lastIndexOf, useVirtualVisibleOptions, isGroup } from '../
10
10
  import { Optgroup } from '../optgroup/Component.js';
11
11
  import styles from './index.module.css';
12
12
 
13
- const VirtualOptionsList = forwardRef(({ size = 48, flatOptions = [], highlightedIndex = -1, optionGroupClassName, className, getOptionProps, groupOptionProps = {}, Option, open, options = [], Optgroup: Optgroup$1 = Optgroup, dataTestId, emptyPlaceholder, visibleOptions = DEFAULT_VISIBLE_OPTIONS, header, footer, showFooter = true, optionsListWidth, onScroll, nativeScrollbar: nativeScrollbarProp, setHighlightedIndex, selectedItems, setSelectedItems, search, multiple, }, ref) => {
13
+ const VirtualOptionsList = forwardRef(({ size = 48, flatOptions = [], highlightedIndex = -1, optionGroupClassName, className, getOptionProps, groupOptionProps = {}, Option, open, options = [], Optgroup: Optgroup$1 = Optgroup, dataTestId, emptyPlaceholder, visibleOptions = DEFAULT_VISIBLE_OPTIONS, header, footer, showFooter = true, optionsListWidth, onScroll, nativeScrollbar: nativeScrollbarProp, setHighlightedIndex, selectedItems, setSelectedItems, search, multiple, scrollbarClassName, }, ref) => {
14
14
  const listRef = useRef(null);
15
15
  const parentRef = useRef(null);
16
16
  const scrollbarRef = useRef(null);
@@ -114,10 +114,10 @@ const VirtualOptionsList = forwardRef(({ size = 48, flatOptions = [], highlighte
114
114
  style: { height: `${rowVirtualizer.totalSize}px` },
115
115
  ref: listRef,
116
116
  };
117
- const renderWithCustomScrollbar = () => (React.createElement(Scrollbar, { className: styles.scrollable, ref: scrollbarRef, horizontalAutoStretch: optionsListWidth === 'content', scrollableNodeProps: { onScroll, ref: parentRef }, contentNodeProps: contentNodeProps }, renderList()));
117
+ const renderWithCustomScrollbar = () => (React.createElement(Scrollbar, { className: cn(styles.scrollable, scrollbarClassName), ref: scrollbarRef, horizontalAutoStretch: optionsListWidth === 'content', scrollableNodeProps: { onScroll, ref: parentRef }, contentNodeProps: contentNodeProps }, renderList()));
118
118
  const renderWithNativeScrollbar = () => {
119
119
  if (visibleOptions) {
120
- return (React.createElement("div", { className: styles.scrollable, ref: mergeRefs([parentRef, ref]), onScroll: onScroll },
120
+ return (React.createElement("div", { className: cn(styles.scrollable, scrollbarClassName), ref: mergeRefs([parentRef, ref]), onScroll: onScroll },
121
121
  React.createElement("div", { ...contentNodeProps }, renderList())));
122
122
  }
123
123
  return React.createElement("div", { ...contentNodeProps }, renderList());
@@ -57,6 +57,7 @@ const SelectMobile = forwardRef(({ autocomplete = false, multiple = false, allow
57
57
  : {
58
58
  bottomSheetProps: {
59
59
  bottomAddons,
60
+ showSwipeMarker: false,
60
61
  ...restProps.bottomSheetProps,
61
62
  },
62
63
  }), ...(useWithApplyHook && applyProps) }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-select",
3
- "version": "17.22.0",
3
+ "version": "17.24.0",
4
4
  "description": "Select component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -18,14 +18,14 @@
18
18
  "dependencies": {
19
19
  "@alfalab/core-components-badge": "^5.6.4",
20
20
  "@alfalab/core-components-base-modal": "^5.9.4",
21
- "@alfalab/core-components-bottom-sheet": "^6.18.14",
21
+ "@alfalab/core-components-bottom-sheet": "^6.19.0",
22
22
  "@alfalab/core-components-button": "^11.11.10",
23
23
  "@alfalab/core-components-checkbox": "^4.9.5",
24
24
  "@alfalab/core-components-form-control": "^12.8.6",
25
25
  "@alfalab/core-components-input": "^15.6.2",
26
26
  "@alfalab/core-components-modal": "^9.9.20",
27
27
  "@alfalab/core-components-mq": "^4.4.1",
28
- "@alfalab/core-components-popover": "^6.3.11",
28
+ "@alfalab/core-components-popover": "^6.4.0",
29
29
  "@alfalab/core-components-scrollbar": "^3.4.0",
30
30
  "@alfalab/core-components-skeleton": "^5.4.0",
31
31
  "@alfalab/core-components-shared": "^0.18.0",
package/presets/index.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var presets_useSelectWithLoading_hook = require('./useSelectWithLoading/hook.js');
6
6
  var presets_useLazyLoading_hook = require('./useLazyLoading/hook.js');
7
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-8e994d7b.js');
7
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-c750186e.js');
8
8
 
9
9
 
10
10
 
@@ -6,7 +6,7 @@ require('tslib');
6
6
  require('react');
7
7
  require('react-fast-compare');
8
8
  require('../../utils.js');
9
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../hook-8e994d7b.js');
9
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../hook-c750186e.js');
10
10
 
11
11
 
12
12
 
@@ -6,7 +6,7 @@ require('tslib');
6
6
  require('react');
7
7
  require('../../../components/options-list/Component.js');
8
8
  require('../../../consts.js');
9
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../hook-8e994d7b.js');
9
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../hook-c750186e.js');
10
10
  require('./footer/Component.js');
11
11
  require('./header/Component.js');
12
12
 
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
15
 
16
- var styles = {"footer":"select__footer_w39cl","size-72":"select__size-72_w39cl","button":"select__button_w39cl"};
16
+ var styles = {"footer":"select__footer_1xgie","size-72":"select__size-72_1xgie","button":"select__button_1xgie"};
17
17
  require('./index.css')
18
18
 
19
19
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1bsdt */
1
+ /* hash: 17cq0 */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-base-bg-primary: #fff; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -30,12 +30,12 @@
30
30
  } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
31
31
  } /* сбрасывает синюю подсветку при нажатии */ :root {
32
32
  --select-option-list-footer-button-gap: var(--gap-8);
33
- } .select__footer_w39cl {
33
+ } .select__footer_1xgie {
34
34
  background-color: var(--color-light-base-bg-primary);
35
35
  padding: var(--gap-12);
36
36
  outline: none
37
- } .select__footer_w39cl.select__size-72_w39cl {
37
+ } .select__footer_1xgie.select__size-72_1xgie {
38
38
  padding: var(--gap-12) var(--gap-16);
39
- } .select__footer_w39cl > .select__button_w39cl + .select__button_w39cl {
39
+ } .select__footer_1xgie > .select__button_1xgie + .select__button_1xgie {
40
40
  margin-left: var(--select-option-list-footer-button-gap);
41
41
  }
@@ -12,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
12
12
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
13
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
14
14
 
15
- var styles = {"desktop":"select__desktop_1bx7t","size-72":"select__size-72_1bx7t","mobile":"select__mobile_1bx7t"};
15
+ var styles = {"desktop":"select__desktop_hwdqq","size-72":"select__size-72_hwdqq","mobile":"select__mobile_hwdqq"};
16
16
  require('./index.css')
17
17
 
18
18
  var Header = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: budse */
1
+ /* hash: 1t2h6 */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -27,10 +27,10 @@
27
27
  --gap-16: var(--gap-m);
28
28
  } :root {
29
29
  } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
30
- } /* сбрасывает синюю подсветку при нажатии */ .select__desktop_1bx7t {
30
+ } /* сбрасывает синюю подсветку при нажатии */ .select__desktop_hwdqq {
31
31
  padding: var(--gap-12)
32
- } .select__desktop_1bx7t.select__size-72_1bx7t {
32
+ } .select__desktop_hwdqq.select__size-72_hwdqq {
33
33
  padding-left: var(--gap-16);
34
- } .select__mobile_1bx7t {
34
+ } .select__mobile_hwdqq {
35
35
  padding: var(--gap-12) var(--gap-8);
36
36
  }
@@ -1 +1 @@
1
- export * from "../../../hook-8e994d7b";
1
+ export * from "../../../hook-c750186e";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../hook-8e994d7b.js');
5
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../hook-c750186e.js');
6
6
 
7
7
 
8
8
 
@@ -16,7 +16,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
16
16
 
17
17
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
18
18
 
19
- var styles = {"skeleton":"select__skeleton_yhmkq"};
19
+ var styles = {"skeleton":"select__skeleton_18ise"};
20
20
  require('./index.css')
21
21
 
22
22
  function useSelectWithLoading(_a) {
@@ -1,5 +1,5 @@
1
- /* hash: 1k491 */
2
- .select__skeleton_yhmkq {
1
+ /* hash: 1qz80 */
2
+ .select__skeleton_18ise {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
package/shared/index.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var presets_useSelectWithLoading_hook = require('../presets/useSelectWithLoading/hook.js');
6
6
  var presets_useLazyLoading_hook = require('../presets/useLazyLoading/hook.js');
7
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-8e994d7b.js');
7
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-c750186e.js');
8
8
  var utils = require('../utils.js');
9
9
  var components_option_desktop_Component = require('../components/option/desktop/Component.js');
10
10
  var components_option_mobile_Component = require('../components/option/mobile/Component.js');