@alfalab/core-components-select 10.11.1 → 10.12.2

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 (242) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/{Component-0a1a7a11.d.ts → Component-02654ff6.d.ts} +0 -0
  3. package/dist/{Component-0a1a7a11.js → Component-02654ff6.js} +5 -4
  4. package/dist/Component-d710383f.d.ts +217 -0
  5. package/dist/{Component-4b8da823.js → Component-d710383f.js} +29 -13
  6. package/dist/Component.js +3 -3
  7. package/dist/components/arrow/Component.js +1 -1
  8. package/dist/components/arrow/index.css +3 -3
  9. package/dist/components/base-select/Component.js +3 -3
  10. package/dist/components/base-select/index.css +7 -7
  11. package/dist/components/base-select/index.d.ts +1 -1
  12. package/dist/components/base-select/index.js +3 -3
  13. package/dist/components/base-select-mobile/Component.d.ts +0 -0
  14. package/dist/components/base-select-mobile/Component.js +40 -0
  15. package/dist/components/{select-mobile → base-select-mobile}/checkmark/Component.d.ts +0 -0
  16. package/dist/components/{select-mobile → base-select-mobile}/checkmark/Component.js +1 -1
  17. package/dist/{modern/components/select-mobile → components/base-select-mobile}/checkmark/index.css +4 -4
  18. package/dist/components/{select-mobile → base-select-mobile}/checkmark/index.d.ts +0 -0
  19. package/dist/components/base-select-mobile/checkmark/index.js +11 -0
  20. package/dist/{esm/components/select-mobile → components/base-select-mobile}/index.css +11 -11
  21. package/dist/components/base-select-mobile/index.d.ts +1 -0
  22. package/dist/components/base-select-mobile/index.js +40 -0
  23. package/dist/components/{select-mobile → base-select-mobile}/options-list/Component.d.ts +0 -0
  24. package/dist/components/{select-mobile → base-select-mobile}/options-list/Component.js +4 -4
  25. package/dist/{esm/components/select-mobile → components/base-select-mobile}/options-list/index.css +9 -9
  26. package/dist/components/{select-mobile → base-select-mobile}/options-list/index.d.ts +0 -0
  27. package/dist/components/{select-mobile → base-select-mobile}/options-list/index.js +3 -3
  28. package/dist/components/checkmark/Component.js +1 -1
  29. package/dist/components/checkmark/index.css +7 -7
  30. package/dist/components/field/Component.js +2 -2
  31. package/dist/components/field/index.css +9 -9
  32. package/dist/components/field/index.js +1 -1
  33. package/dist/components/index.d.ts +1 -0
  34. package/dist/components/index.js +9 -7
  35. package/dist/components/native-select/Component.js +1 -1
  36. package/dist/components/native-select/index.js +1 -1
  37. package/dist/components/optgroup/Component.js +1 -1
  38. package/dist/components/optgroup/index.css +6 -6
  39. package/dist/components/option/Component.js +2 -2
  40. package/dist/components/option/index.css +20 -20
  41. package/dist/components/option/index.js +1 -1
  42. package/dist/components/options-list/Component.js +2 -2
  43. package/dist/components/options-list/index.css +6 -6
  44. package/dist/components/options-list/index.js +1 -1
  45. package/dist/components/select-mobile/Component.js +8 -7
  46. package/dist/components/select-mobile/index.d.ts +1 -1
  47. package/dist/components/select-mobile/index.js +8 -7
  48. package/dist/components/select-modal-mobile/Component.d.ts +0 -0
  49. package/dist/components/select-modal-mobile/Component.js +40 -0
  50. package/dist/components/select-modal-mobile/index.d.ts +1 -0
  51. package/dist/components/select-modal-mobile/index.js +40 -0
  52. package/dist/components/virtual-options-list/Component.js +2 -2
  53. package/dist/components/virtual-options-list/index.css +12 -12
  54. package/dist/components/virtual-options-list/index.js +1 -1
  55. package/dist/cssm/{Component-e3a61749.d.ts → Component-213c00ab.d.ts} +0 -0
  56. package/dist/cssm/{Component-e3a61749.js → Component-213c00ab.js} +3 -2
  57. package/dist/cssm/Component-26c7067e.d.ts +217 -0
  58. package/dist/cssm/{Component-078b099c.js → Component-26c7067e.js} +25 -9
  59. package/dist/cssm/Component.js +2 -2
  60. package/dist/cssm/components/base-select/Component.js +2 -2
  61. package/dist/cssm/components/base-select/index.d.ts +1 -1
  62. package/dist/cssm/components/base-select/index.js +2 -2
  63. package/dist/cssm/components/base-select-mobile/Component.d.ts +0 -0
  64. package/dist/cssm/components/base-select-mobile/Component.js +54 -0
  65. package/dist/cssm/components/{select-mobile → base-select-mobile}/checkmark/Component.d.ts +0 -0
  66. package/dist/cssm/components/{select-mobile → base-select-mobile}/checkmark/Component.js +0 -0
  67. package/dist/cssm/components/{select-mobile → base-select-mobile}/checkmark/index.d.ts +0 -0
  68. package/dist/cssm/components/base-select-mobile/checkmark/index.js +12 -0
  69. package/dist/cssm/components/{select-mobile → base-select-mobile}/checkmark/index.module.css +0 -0
  70. package/dist/cssm/components/base-select-mobile/index.d.ts +1 -0
  71. package/dist/cssm/components/base-select-mobile/index.js +54 -0
  72. package/dist/cssm/components/{select-mobile → base-select-mobile}/index.module.css +0 -0
  73. package/dist/cssm/components/{select-mobile → base-select-mobile}/options-list/Component.d.ts +0 -0
  74. package/dist/cssm/components/{select-mobile → base-select-mobile}/options-list/Component.js +2 -2
  75. package/dist/cssm/components/{select-mobile → base-select-mobile}/options-list/index.d.ts +0 -0
  76. package/dist/cssm/components/{select-mobile → base-select-mobile}/options-list/index.js +2 -2
  77. package/dist/cssm/components/{select-mobile → base-select-mobile}/options-list/index.module.css +0 -0
  78. package/dist/cssm/components/index.d.ts +1 -0
  79. package/dist/cssm/components/index.js +10 -8
  80. package/dist/cssm/components/select-mobile/Component.js +9 -8
  81. package/dist/cssm/components/select-mobile/index.d.ts +1 -1
  82. package/dist/cssm/components/select-mobile/index.js +9 -8
  83. package/dist/cssm/components/select-modal-mobile/Component.d.ts +0 -0
  84. package/dist/cssm/components/select-modal-mobile/Component.js +54 -0
  85. package/dist/cssm/components/select-modal-mobile/index.d.ts +1 -0
  86. package/dist/cssm/components/select-modal-mobile/index.js +54 -0
  87. package/dist/cssm/index.js +10 -8
  88. package/dist/cssm/presets/index.js +9 -8
  89. package/dist/cssm/presets/useSelectWithApply/hook.js +9 -8
  90. package/dist/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +9 -8
  91. package/dist/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  92. package/dist/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +9 -8
  93. package/dist/esm/Component-9a8d16c5.d.ts +217 -0
  94. package/dist/esm/{Component-53912274.js → Component-9a8d16c5.js} +27 -13
  95. package/dist/esm/{Component-b2dde0fc.d.ts → Component-bb8a9f74.d.ts} +0 -0
  96. package/dist/esm/{Component-b2dde0fc.js → Component-bb8a9f74.js} +5 -4
  97. package/dist/esm/Component.js +3 -3
  98. package/dist/esm/components/arrow/Component.js +1 -1
  99. package/dist/esm/components/arrow/index.css +3 -3
  100. package/dist/esm/components/base-select/Component.js +3 -3
  101. package/dist/esm/components/base-select/index.css +7 -7
  102. package/dist/esm/components/base-select/index.d.ts +1 -1
  103. package/dist/esm/components/base-select/index.js +3 -3
  104. package/dist/esm/components/base-select-mobile/Component.d.ts +0 -0
  105. package/dist/esm/components/base-select-mobile/Component.js +32 -0
  106. package/dist/esm/components/{select-mobile → base-select-mobile}/checkmark/Component.d.ts +0 -0
  107. package/dist/esm/components/{select-mobile → base-select-mobile}/checkmark/Component.js +1 -1
  108. package/dist/{components/select-mobile → esm/components/base-select-mobile}/checkmark/index.css +4 -4
  109. package/dist/esm/components/{select-mobile → base-select-mobile}/checkmark/index.d.ts +0 -0
  110. package/dist/esm/components/{select-mobile → base-select-mobile}/checkmark/index.js +0 -0
  111. package/dist/{components/select-mobile → esm/components/base-select-mobile}/index.css +11 -11
  112. package/dist/esm/components/base-select-mobile/index.d.ts +1 -0
  113. package/dist/esm/components/base-select-mobile/index.js +32 -0
  114. package/dist/esm/components/{select-mobile → base-select-mobile}/options-list/Component.d.ts +0 -0
  115. package/dist/esm/components/{select-mobile → base-select-mobile}/options-list/Component.js +5 -5
  116. package/dist/{modern/components/select-mobile → esm/components/base-select-mobile}/options-list/index.css +9 -9
  117. package/dist/esm/components/{select-mobile → base-select-mobile}/options-list/index.d.ts +0 -0
  118. package/dist/esm/components/{select-mobile → base-select-mobile}/options-list/index.js +1 -1
  119. package/dist/esm/components/checkmark/Component.js +1 -1
  120. package/dist/esm/components/checkmark/index.css +7 -7
  121. package/dist/esm/components/field/Component.js +2 -2
  122. package/dist/esm/components/field/index.css +9 -9
  123. package/dist/esm/components/field/index.js +1 -1
  124. package/dist/esm/components/index.d.ts +1 -0
  125. package/dist/esm/components/index.js +8 -7
  126. package/dist/esm/components/native-select/Component.js +1 -1
  127. package/dist/esm/components/native-select/index.js +1 -1
  128. package/dist/esm/components/optgroup/Component.js +1 -1
  129. package/dist/esm/components/optgroup/index.css +6 -6
  130. package/dist/esm/components/option/Component.js +2 -2
  131. package/dist/esm/components/option/index.css +20 -20
  132. package/dist/esm/components/option/index.js +1 -1
  133. package/dist/esm/components/options-list/Component.js +2 -2
  134. package/dist/esm/components/options-list/index.css +6 -6
  135. package/dist/esm/components/options-list/index.js +1 -1
  136. package/dist/esm/components/select-mobile/Component.js +8 -7
  137. package/dist/esm/components/select-mobile/index.d.ts +1 -1
  138. package/dist/esm/components/select-mobile/index.js +8 -7
  139. package/dist/esm/components/select-modal-mobile/Component.d.ts +0 -0
  140. package/dist/esm/components/select-modal-mobile/Component.js +32 -0
  141. package/dist/esm/components/select-modal-mobile/index.d.ts +1 -0
  142. package/dist/esm/components/select-modal-mobile/index.js +32 -0
  143. package/dist/esm/components/virtual-options-list/Component.js +2 -2
  144. package/dist/esm/components/virtual-options-list/index.css +12 -12
  145. package/dist/esm/components/virtual-options-list/index.js +1 -1
  146. package/dist/esm/index.js +8 -7
  147. package/dist/esm/{intersection-observer-3df621a4.d.ts → intersection-observer-8a84ca64.d.ts} +0 -0
  148. package/dist/esm/{intersection-observer-3df621a4.js → intersection-observer-8a84ca64.js} +0 -0
  149. package/dist/esm/presets/index.js +8 -7
  150. package/dist/esm/presets/useLazyLoading/hook.js +3 -3
  151. package/dist/esm/presets/useLazyLoading/index.css +2 -2
  152. package/dist/esm/presets/useSelectWithApply/hook.js +8 -7
  153. package/dist/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +8 -7
  154. package/dist/esm/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  155. package/dist/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  156. package/dist/esm/presets/useSelectWithApply/options-list-with-apply/index.js +8 -7
  157. package/dist/esm/presets/useSelectWithLoading/hook.js +2 -2
  158. package/dist/esm/presets/useSelectWithLoading/index.css +2 -2
  159. package/dist/esm/{tslib.es6-885b0de8.d.ts → tslib.es6-8c23ef2d.d.ts} +0 -0
  160. package/dist/esm/{tslib.es6-885b0de8.js → tslib.es6-8c23ef2d.js} +0 -0
  161. package/dist/index.js +9 -7
  162. package/dist/{intersection-observer-322000f1.d.ts → intersection-observer-de8a65fc.d.ts} +0 -0
  163. package/dist/{intersection-observer-322000f1.js → intersection-observer-de8a65fc.js} +0 -0
  164. package/dist/modern/Component-66dc7fce.d.ts +217 -0
  165. package/dist/modern/{Component-f487a5f7.js → Component-66dc7fce.js} +23 -11
  166. package/dist/modern/{Component-4dbfaecb.d.ts → Component-be8c8292.d.ts} +0 -0
  167. package/dist/modern/{Component-4dbfaecb.js → Component-be8c8292.js} +4 -3
  168. package/dist/modern/Component.js +2 -2
  169. package/dist/modern/components/arrow/Component.js +1 -1
  170. package/dist/modern/components/arrow/index.css +3 -3
  171. package/dist/modern/components/base-select/Component.js +2 -2
  172. package/dist/modern/components/base-select/index.css +7 -7
  173. package/dist/modern/components/base-select/index.d.ts +1 -1
  174. package/dist/modern/components/base-select/index.js +2 -2
  175. package/dist/modern/components/base-select-mobile/Component.d.ts +0 -0
  176. package/dist/modern/components/base-select-mobile/Component.js +31 -0
  177. package/dist/modern/components/{select-mobile → base-select-mobile}/checkmark/Component.d.ts +0 -0
  178. package/dist/modern/components/{select-mobile → base-select-mobile}/checkmark/Component.js +1 -1
  179. package/dist/{esm/components/select-mobile → modern/components/base-select-mobile}/checkmark/index.css +4 -4
  180. package/dist/modern/components/{select-mobile → base-select-mobile}/checkmark/index.d.ts +0 -0
  181. package/dist/modern/components/{select-mobile → base-select-mobile}/checkmark/index.js +0 -0
  182. package/dist/modern/components/{select-mobile → base-select-mobile}/index.css +11 -11
  183. package/dist/modern/components/base-select-mobile/index.d.ts +1 -0
  184. package/dist/modern/components/base-select-mobile/index.js +31 -0
  185. package/dist/modern/components/{select-mobile → base-select-mobile}/options-list/Component.d.ts +0 -0
  186. package/dist/modern/components/{select-mobile → base-select-mobile}/options-list/Component.js +4 -4
  187. package/dist/{components/select-mobile → modern/components/base-select-mobile}/options-list/index.css +9 -9
  188. package/dist/modern/components/{select-mobile → base-select-mobile}/options-list/index.d.ts +0 -0
  189. package/dist/modern/components/{select-mobile → base-select-mobile}/options-list/index.js +0 -0
  190. package/dist/modern/components/checkmark/Component.js +1 -1
  191. package/dist/modern/components/checkmark/index.css +7 -7
  192. package/dist/modern/components/field/Component.js +1 -1
  193. package/dist/modern/components/field/index.css +9 -9
  194. package/dist/modern/components/index.d.ts +1 -0
  195. package/dist/modern/components/index.js +7 -6
  196. package/dist/modern/components/optgroup/Component.js +1 -1
  197. package/dist/modern/components/optgroup/index.css +6 -6
  198. package/dist/modern/components/option/Component.js +1 -1
  199. package/dist/modern/components/option/index.css +20 -20
  200. package/dist/modern/components/options-list/Component.js +1 -1
  201. package/dist/modern/components/options-list/index.css +6 -6
  202. package/dist/modern/components/select-mobile/Component.js +7 -6
  203. package/dist/modern/components/select-mobile/index.d.ts +1 -1
  204. package/dist/modern/components/select-mobile/index.js +7 -6
  205. package/dist/modern/components/select-modal-mobile/Component.d.ts +0 -0
  206. package/dist/modern/components/select-modal-mobile/Component.js +31 -0
  207. package/dist/modern/components/select-modal-mobile/index.d.ts +1 -0
  208. package/dist/modern/components/select-modal-mobile/index.js +31 -0
  209. package/dist/modern/components/virtual-options-list/Component.js +1 -1
  210. package/dist/modern/components/virtual-options-list/index.css +12 -12
  211. package/dist/modern/index.js +7 -6
  212. package/dist/modern/{intersection-observer-3df621a4.d.ts → intersection-observer-8a84ca64.d.ts} +0 -0
  213. package/dist/modern/{intersection-observer-3df621a4.js → intersection-observer-8a84ca64.js} +0 -0
  214. package/dist/modern/presets/index.js +7 -6
  215. package/dist/modern/presets/useLazyLoading/hook.js +2 -2
  216. package/dist/modern/presets/useLazyLoading/index.css +2 -2
  217. package/dist/modern/presets/useSelectWithApply/hook.js +7 -6
  218. package/dist/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +7 -6
  219. package/dist/modern/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  220. package/dist/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  221. package/dist/modern/presets/useSelectWithApply/options-list-with-apply/index.js +7 -6
  222. package/dist/modern/presets/useSelectWithLoading/hook.js +1 -1
  223. package/dist/modern/presets/useSelectWithLoading/index.css +2 -2
  224. package/dist/presets/index.js +8 -7
  225. package/dist/presets/useLazyLoading/hook.js +3 -3
  226. package/dist/presets/useLazyLoading/index.css +2 -2
  227. package/dist/presets/useSelectWithApply/hook.js +8 -7
  228. package/dist/presets/useSelectWithApply/options-list-with-apply/Component.js +8 -7
  229. package/dist/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  230. package/dist/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  231. package/dist/presets/useSelectWithApply/options-list-with-apply/index.js +8 -7
  232. package/dist/presets/useSelectWithLoading/hook.js +2 -2
  233. package/dist/presets/useSelectWithLoading/index.css +2 -2
  234. package/dist/{tslib.es6-925159da.d.ts → tslib.es6-80204bb0.d.ts} +0 -0
  235. package/dist/{tslib.es6-925159da.js → tslib.es6-80204bb0.js} +0 -0
  236. package/package.json +9 -8
  237. package/dist/Component-4b8da823.d.ts +0 -44
  238. package/dist/components/select-mobile/checkmark/index.js +0 -11
  239. package/dist/cssm/Component-078b099c.d.ts +0 -44
  240. package/dist/cssm/components/select-mobile/checkmark/index.js +0 -12
  241. package/dist/esm/Component-53912274.d.ts +0 -44
  242. package/dist/modern/Component-f487a5f7.d.ts +0 -44
@@ -0,0 +1,217 @@
1
+ /// <reference types="react" />
2
+ import React from "react";
3
+ import { ReactNode, FC, ButtonHTMLAttributes, ElementType, AnchorHTMLAttributes } from "react";
4
+ import { BottomSheetProps } from "@alfalab/core-components-bottom-sheet";
5
+ import { BaseSelectProps, OptionShape, OptionsListProps } from "./typings";
6
+ import { BaseModalProps, BaseModalContext } from "@alfalab/core-components-base-modal";
7
+ import { ButtonProps } from "@alfalab/core-components-button";
8
+ type SelectMobileProps = Omit<BaseSelectProps, "OptionsList" | "Checkmark" | "onScroll"> & {
9
+ /**
10
+ * Футер
11
+ * @deprecated Используйте bottomSheetProps.actionButton
12
+ */
13
+ footer?: ReactNode;
14
+ /**
15
+ * Будет ли свайпаться шторка
16
+ * @deprecated Используйте bottomSheetProps.swipeable
17
+ */
18
+ swipeable?: boolean;
19
+ /**
20
+ * Дополнительные пропсы шторки
21
+ */
22
+ bottomSheetProps?: Partial<BottomSheetProps>;
23
+ };
24
+ declare const SelectMobile: React.ForwardRefExoticComponent<Pick<BaseSelectProps, "block" | "size" | "className" | "fieldClassName" | "disabled" | "error" | "hint" | "label" | "dataTestId" | "id" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "preventFlip" | "popperClassName" | "open" | "name" | "options" | "multiple" | "selected" | "valueRenderer" | "Optgroup" | "optionsListWidth" | "visibleOptions" | "Arrow" | "optionGroupClassName" | "Option" | "optionsListClassName" | "optionClassName" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "circularNavigation" | "nativeSelect" | "defaultOpen" | "popoverPosition" | "optionsSize" | "fieldProps" | "optionsListProps" | "optionProps" | "onOpen" | "Field" | "updatePopover" | "zIndexPopover" | "showEmptyOptionsList"> & {
25
+ footer?: React.ReactNode;
26
+ swipeable?: boolean | undefined;
27
+ bottomSheetProps?: Partial<BottomSheetProps> | undefined;
28
+ } & React.RefAttributes<unknown>>;
29
+ type SelectMobileProps$0 = Omit<BaseSelectProps, "OptionsList" | "Checkmark" | "onScroll"> & {
30
+ /**
31
+ * Футер
32
+ * @deprecated Используйте bottomSheetProps.actionButton
33
+ */
34
+ footer?: ReactNode;
35
+ /**
36
+ * Будет ли свайпаться шторка
37
+ * @deprecated Используйте bottomSheetProps.swipeable
38
+ */
39
+ swipeable?: boolean;
40
+ /**
41
+ * Отображать в BottomSheet
42
+ */
43
+ isBottomSheet?: boolean;
44
+ /**
45
+ * Дополнительные пропсы шторки
46
+ */
47
+ bottomSheetProps?: Partial<BottomSheetProps>;
48
+ };
49
+ declare const BaseSelectMobile: React.ForwardRefExoticComponent<Pick<BaseSelectProps, "block" | "size" | "className" | "fieldClassName" | "disabled" | "error" | "hint" | "label" | "dataTestId" | "id" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "preventFlip" | "popperClassName" | "open" | "name" | "options" | "multiple" | "selected" | "valueRenderer" | "Optgroup" | "optionsListWidth" | "visibleOptions" | "Arrow" | "optionGroupClassName" | "Option" | "optionsListClassName" | "optionClassName" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "circularNavigation" | "nativeSelect" | "defaultOpen" | "popoverPosition" | "optionsSize" | "fieldProps" | "optionsListProps" | "optionProps" | "onOpen" | "Field" | "updatePopover" | "zIndexPopover" | "showEmptyOptionsList"> & {
50
+ footer?: React.ReactNode;
51
+ swipeable?: boolean | undefined;
52
+ isBottomSheet?: boolean | undefined;
53
+ bottomSheetProps?: Partial<BottomSheetProps> | undefined;
54
+ } & React.RefAttributes<unknown>>;
55
+ declare const OptionsListWithApply: React.ForwardRefExoticComponent<OptionsListProps & {
56
+ showClear?: boolean | undefined;
57
+ onClose?: (() => void) | undefined;
58
+ selectedDraft?: OptionShape[] | undefined;
59
+ OptionsList?: React.FC<OptionsListProps & React.RefAttributes<unknown>> | undefined;
60
+ } & React.RefAttributes<unknown>>;
61
+ type ModalMobileProps = BaseModalProps & {
62
+ /**
63
+ * Управление наличием закрывающего крестика
64
+ * @default false
65
+ */
66
+ hasCloser?: boolean;
67
+ };
68
+ type ContentProps = {
69
+ /**
70
+ * Контент
71
+ */
72
+ children?: ReactNode;
73
+ /**
74
+ * Дополнительный класс
75
+ */
76
+ className?: string;
77
+ /**
78
+ * Растягивает контент на всю высоту
79
+ */
80
+ flex?: boolean;
81
+ };
82
+ type HeaderProps = {
83
+ /**
84
+ * Контент шапки
85
+ */
86
+ children?: ReactNode;
87
+ /**
88
+ * Слот слева
89
+ */
90
+ leftAddons?: ReactNode;
91
+ /**
92
+ * Компонент крестика
93
+ */
94
+ closer?: ReactNode;
95
+ /**
96
+ * Дополнительный класс
97
+ */
98
+ className?: string;
99
+ /**
100
+ * Дополнительный класс для аддонов
101
+ */
102
+ addonClassName?: string;
103
+ /**
104
+ * Дополнительный класс для контента
105
+ */
106
+ contentClassName?: string;
107
+ /**
108
+ * Заголовок шапки
109
+ */
110
+ title?: string;
111
+ /**
112
+ * Выравнивание заголовка
113
+ */
114
+ align?: "left" | "center";
115
+ /**
116
+ * Обрезать ли заголовок
117
+ */
118
+ trim?: boolean;
119
+ /**
120
+ * Фиксирует шапку
121
+ */
122
+ sticky?: boolean;
123
+ };
124
+ type HeaderMobileProps = Omit<HeaderProps, "closer"> & {
125
+ /**
126
+ * Наличие крестика
127
+ */
128
+ hasCloser?: boolean;
129
+ };
130
+ type FooterProps = {
131
+ /**
132
+ * Контент футера
133
+ */
134
+ children?: ReactNode;
135
+ /**
136
+ * Дополнительный класс
137
+ */
138
+ className?: string;
139
+ /**
140
+ * Фиксирует футер
141
+ */
142
+ sticky?: boolean;
143
+ /**
144
+ * Выравнивание элементов футера
145
+ */
146
+ layout?: "start" | "center" | "space-between" | "column";
147
+ /**
148
+ * Отступы между элементами футера
149
+ */
150
+ gap?: 16 | 24 | 32;
151
+ };
152
+ type IconButtonProps = {
153
+ /**
154
+ * Компонент иконки
155
+ */
156
+ icon: ElementType<{
157
+ className?: string;
158
+ }>;
159
+ /**
160
+ * Тип кнопки
161
+ */
162
+ view?: "primary" | "secondary" | "transparent" | "tertiary" | "negative";
163
+ /**
164
+ * Размер компонента
165
+ */
166
+ size?: "xxs" | "xs" | "s";
167
+ /**
168
+ * Дополнительный класс
169
+ */
170
+ className?: string;
171
+ /**
172
+ * Идентификатор для систем автоматизированного тестирования
173
+ */
174
+ dataTestId?: string;
175
+ /**
176
+ * Набор цветов для компонента
177
+ */
178
+ colors?: "default" | "inverted";
179
+ } & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "href" | "loading"> & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "download">;
180
+ type CloserProps = ButtonHTMLAttributes<HTMLButtonElement> & {
181
+ /**
182
+ * Дополнительный класс
183
+ */
184
+ className?: string;
185
+ /**
186
+ * Позиция крестика
187
+ */
188
+ align?: "left" | "right";
189
+ /**
190
+ * Размер кнопки
191
+ */
192
+ size?: IconButtonProps["size"];
193
+ /**
194
+ * Фиксирует крестик
195
+ */
196
+ sticky?: boolean;
197
+ /**
198
+ * Иконка
199
+ */
200
+ icon?: ElementType;
201
+ };
202
+ declare const ModalMobile: React.ForwardRefExoticComponent<BaseModalProps & {
203
+ hasCloser?: boolean | undefined;
204
+ } & React.RefAttributes<HTMLDivElement>> & {
205
+ Content: React.FC<ContentProps>;
206
+ Header: React.FC<HeaderMobileProps>;
207
+ Footer: React.FC<FooterProps>;
208
+ Closer: React.FC<CloserProps>;
209
+ };
210
+ type ContentMobileProps = ContentProps;
211
+ declare const ContentMobile: FC<ContentMobileProps>;
212
+ type FooterMobileProps = FooterProps;
213
+ declare const FooterMobile: FC<FooterMobileProps>;
214
+ declare const ModalContext: import("react").Context<BaseModalContext>;
215
+ type SelectModalMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Checkmark' | 'onScroll'>;
216
+ declare const SelectModalMobile: React.ForwardRefExoticComponent<Pick<BaseSelectProps, "block" | "size" | "className" | "fieldClassName" | "disabled" | "error" | "hint" | "label" | "dataTestId" | "id" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "preventFlip" | "popperClassName" | "open" | "name" | "options" | "multiple" | "selected" | "valueRenderer" | "Optgroup" | "optionsListWidth" | "visibleOptions" | "Arrow" | "optionGroupClassName" | "Option" | "optionsListClassName" | "optionClassName" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "circularNavigation" | "nativeSelect" | "defaultOpen" | "popoverPosition" | "optionsSize" | "fieldProps" | "optionsListProps" | "optionProps" | "onOpen" | "Field" | "updatePopover" | "zIndexPopover" | "showEmptyOptionsList"> & React.RefAttributes<unknown>>;
217
+ export { SelectMobileProps, SelectMobile, BaseSelectMobile, OptionsListWithApply, ModalMobileProps, ModalMobile, ContentMobileProps, ContentMobile, FooterMobileProps, FooterMobile, ModalContext, SelectModalMobileProps, SelectModalMobile };
@@ -13,15 +13,16 @@ import { OptionsList } from './components/options-list/Component.js';
13
13
  import '@alfalab/core-components-checkbox/dist/modern';
14
14
  import { Option } from './components/option/Component.js';
15
15
  import { useMultipleSelection, useCombobox } from 'downshift';
16
- import { g as getDataTestId } from './Component-4dbfaecb.js';
16
+ import { g as getDataTestId } from './Component-be8c8292.js';
17
17
  import './Component.js';
18
18
  import { BottomSheet } from '@alfalab/core-components-bottom-sheet/dist/modern';
19
+ import { ModalMobile } from '@alfalab/core-components-modal/dist/modern/mobile';
19
20
  import { Button } from '@alfalab/core-components-button/dist/modern';
20
- import { OptionsList as OptionsList$1 } from './components/select-mobile/options-list/Component.js';
21
- import { Checkmark } from './components/select-mobile/checkmark/Component.js';
21
+ import { OptionsList as OptionsList$1 } from './components/base-select-mobile/options-list/Component.js';
22
+ import { Checkmark } from './components/base-select-mobile/checkmark/Component.js';
22
23
  import 'react-virtual';
23
24
  import '@alfalab/core-components-skeleton/dist/modern';
24
- import './intersection-observer-3df621a4.js';
25
+ import './intersection-observer-8a84ca64.js';
25
26
 
26
27
  const SELECT_ALL_KEY = 'select_all';
27
28
  const selectAllOption = { key: SELECT_ALL_KEY, content: 'Выбрать все' };
@@ -92,7 +93,7 @@ function useSelectWithApply({ options, selected, onChange = () => null, OptionsL
92
93
  };
93
94
  }
94
95
 
95
- var styles = {"footer":"select__footer_x3mie","withBorder":"select__withBorder_x3mie"};
96
+ var styles = {"footer":"select__footer_1yfvr","withBorder":"select__withBorder_1yfvr"};
96
97
  require('./presets/useSelectWithApply/options-list-with-apply/index.css')
97
98
 
98
99
  const OptionsListWithApply = forwardRef(({ toggleMenu, OptionsList: OptionsList$1 = OptionsList, getOptionProps: defaultGetOptionProps, showClear = true, selectedDraft = [], flatOptions = [], onApply = () => null, onClear = () => null, onClose = () => null, visibleOptions = 5, ...restProps }, ref) => {
@@ -139,10 +140,10 @@ const OptionsListWithApply = forwardRef(({ toggleMenu, OptionsList: OptionsList$
139
140
  showClear && (React.createElement(Button, { size: 'xxs', view: 'secondary', onClick: handleClear }, "\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C"))) })));
140
141
  });
141
142
 
142
- var styles$1 = {"component":"select__component_1h385","popoverInner":"select__popoverInner_1h385","sheet":"select__sheet_1h385","sheetContent":"select__sheetContent_1h385","sheetContainer":"select__sheetContainer_1h385","block":"select__block_1h385","option":"select__option_1h385","optionGroup":"select__optionGroup_1h385"};
143
- require('./components/select-mobile/index.css')
143
+ var styles$1 = {"component":"select__component_1whuf","popoverInner":"select__popoverInner_1whuf","sheet":"select__sheet_1whuf","sheetContent":"select__sheetContent_1whuf","sheetContainer":"select__sheetContainer_1whuf","block":"select__block_1whuf","option":"select__option_1whuf","optionGroup":"select__optionGroup_1whuf"};
144
+ require('./components/base-select-mobile/index.css')
144
145
 
145
- const SelectMobile = forwardRef(({ dataTestId, className, fieldClassName, optionsListClassName, optionClassName, optionGroupClassName, optionsListProps, options, autocomplete = false, multiple = false, allowUnselect = false, disabled = false, closeOnSelect = !multiple, circularNavigation = false, defaultOpen = false, open: openProp, name, id, selected, size = 'm', optionsSize = 'm', error, hint, block, label, placeholder, fieldProps = {}, optionProps = {}, valueRenderer, onChange, onOpen, onFocus, Arrow: Arrow$1 = Arrow, Field: Field$1 = Field, Optgroup: Optgroup$1 = Optgroup, Option: Option$1 = Option, swipeable, footer, bottomSheetProps, }, ref) => {
146
+ const BaseSelectMobile = forwardRef(({ dataTestId, className, fieldClassName, optionsListClassName, optionClassName, optionGroupClassName, optionsListProps, options, autocomplete = false, multiple = false, allowUnselect = false, disabled = false, closeOnSelect = !multiple, circularNavigation = false, defaultOpen = false, open: openProp, name, id, selected, size = 'm', optionsSize = 'm', error, hint, block, label, placeholder, fieldProps = {}, optionProps = {}, valueRenderer, onChange, onOpen, onFocus, Arrow: Arrow$1 = Arrow, Field: Field$1 = Field, Optgroup: Optgroup$1 = Optgroup, Option: Option$1 = Option, swipeable, footer, isBottomSheet, bottomSheetProps, }, ref) => {
146
147
  const rootRef = useRef(null);
147
148
  const fieldRef = useRef(null);
148
149
  const listRef = useRef(null);
@@ -356,9 +357,20 @@ const SelectMobile = forwardRef(({ dataTestId, className, fieldClassName, option
356
357
  : undefined,
357
358
  }, dataTestId: getDataTestId(dataTestId, 'field') }, fieldProps)),
358
359
  name && renderValue(),
359
- React.createElement(BottomSheet, Object.assign({ open: open, onClose: handleClose, className: styles$1.sheet, contentClassName: styles$1.sheetContent, containerClassName: styles$1.sheetContainer, title: placeholder, actionButton: footer, stickyHeader: true, hasCloser: true, swipeable: swipeable }, bottomSheetProps),
360
+ isBottomSheet ? (React.createElement(BottomSheet, Object.assign({ open: open, onClose: handleClose, className: styles$1.sheet, contentClassName: styles$1.sheetContent, containerClassName: styles$1.sheetContainer, title: placeholder, actionButton: footer, stickyHeader: true, hasCloser: true, swipeable: swipeable }, bottomSheetProps),
360
361
  React.createElement("div", Object.assign({}, menuProps, { className: cn(optionsListClassName, styles$1.optionsList) }),
361
- React.createElement(OptionsListWithApply, Object.assign({}, optionsListProps, { flatOptions: flatOptions, highlightedIndex: highlightedIndex, size: size, options: options, OptionsList: OptionsList$1, Optgroup: Optgroup$1, Option: Option$1, selectedItems: selectedItems, setSelectedItems: setSelectedItems, toggleMenu: toggleMenu, getOptionProps: getOptionProps, dataTestId: getDataTestId(dataTestId, 'options-list'), optionGroupClassName: cn(styles$1.optionGroup, optionGroupClassName), showFooter: multiple, onApply: handleApply, onClear: handleClear }))))));
362
+ React.createElement(OptionsListWithApply, Object.assign({}, optionsListProps, { flatOptions: flatOptions, highlightedIndex: highlightedIndex, size: size, options: options, OptionsList: OptionsList$1, Optgroup: Optgroup$1, Option: Option$1, selectedItems: selectedItems, setSelectedItems: setSelectedItems, toggleMenu: toggleMenu, getOptionProps: getOptionProps, dataTestId: getDataTestId(dataTestId, 'options-list'), optionGroupClassName: cn(styles$1.optionGroup, optionGroupClassName), showFooter: multiple, onApply: handleApply, onClear: handleClear }))))) : (React.createElement(ModalMobile, { open: open, onClose: handleClose, contentClassName: styles$1.sheetContent, hasCloser: true },
363
+ React.createElement(ModalMobile.Header, { hasCloser: true, title: placeholder, sticky: true, className: styles$1.sticky }),
364
+ React.createElement("div", Object.assign({}, menuProps, { className: cn(optionsListClassName, styles$1.optionsList) }),
365
+ React.createElement(OptionsListWithApply, Object.assign({}, optionsListProps, { flatOptions: flatOptions, highlightedIndex: highlightedIndex, size: size, options: options, OptionsList: OptionsList$1, Optgroup: Optgroup$1, Option: Option$1, selectedItems: selectedItems, setSelectedItems: setSelectedItems, toggleMenu: toggleMenu, getOptionProps: getOptionProps, dataTestId: getDataTestId(dataTestId, 'options-list'), optionGroupClassName: cn(styles$1.optionGroup, optionGroupClassName), showFooter: multiple, onApply: handleApply, onClear: handleClear })))))));
366
+ });
367
+
368
+ const SelectMobile = forwardRef(({ autocomplete = false, multiple = false, allowUnselect = false, disabled = false, closeOnSelect = !multiple, circularNavigation = false, defaultOpen = false, open: openProp, size = 'm', optionsSize = 'm', fieldProps = {}, optionProps = {}, Arrow: Arrow$1 = Arrow, Field: Field$1 = Field, Optgroup: Optgroup$1 = Optgroup, Option: Option$1 = Option, ...restProps }, ref) => {
369
+ return (React.createElement(BaseSelectMobile, Object.assign({ ref: ref, autocomplete: autocomplete, multiple: multiple, allowUnselect: allowUnselect, disabled: disabled, closeOnSelect: closeOnSelect, circularNavigation: circularNavigation, defaultOpen: defaultOpen, open: openProp, size: size, optionsSize: optionsSize, fieldProps: fieldProps, optionProps: optionProps, Arrow: Arrow$1, Field: Field$1, Optgroup: Optgroup$1, Option: Option$1, isBottomSheet: true }, restProps)));
370
+ });
371
+
372
+ const SelectModalMobile = forwardRef(({ autocomplete = false, multiple = false, allowUnselect = false, disabled = false, closeOnSelect = !multiple, circularNavigation = false, defaultOpen = false, open: openProp, size = 'm', optionsSize = 'm', fieldProps = {}, optionProps = {}, Arrow: Arrow$1 = Arrow, Field: Field$1 = Field, Optgroup: Optgroup$1 = Optgroup, Option: Option$1 = Option, ...restProps }, ref) => {
373
+ return (React.createElement(BaseSelectMobile, Object.assign({ ref: ref, autocomplete: autocomplete, multiple: multiple, allowUnselect: allowUnselect, disabled: disabled, closeOnSelect: closeOnSelect, circularNavigation: circularNavigation, defaultOpen: defaultOpen, open: openProp, size: size, optionsSize: optionsSize, fieldProps: fieldProps, optionProps: optionProps, Arrow: Arrow$1, Field: Field$1, Optgroup: Optgroup$1, Option: Option$1, isBottomSheet: false }, restProps)));
362
374
  });
363
375
 
364
- export { OptionsListWithApply as O, SelectMobile as S, SELECT_ALL_KEY as a, useSelectWithApply as u };
376
+ export { BaseSelectMobile as B, OptionsListWithApply as O, SelectMobile as S, SelectModalMobile as a, SELECT_ALL_KEY as b, useSelectWithApply as u };
@@ -2,7 +2,7 @@ import React, { forwardRef, useRef, useMemo, useCallback, useEffect, useLayoutEf
2
2
  import cn from 'classnames';
3
3
  import { processOptions } from './utils.js';
4
4
  import mergeRefs from 'react-merge-refs';
5
- import { ResizeObserver } from 'resize-observer';
5
+ import { ResizeObserver } from '@juggle/resize-observer';
6
6
  import { Popover } from '@alfalab/core-components-popover/dist/modern';
7
7
  import { useMultipleSelection, useCombobox } from 'downshift';
8
8
  import { NativeSelect } from './components/native-select/Component.js';
@@ -12,7 +12,7 @@ const getDataTestId = (dataTestId, element) => {
12
12
  return dataTestId ? `${dataTestId}${elementPart}` : undefined;
13
13
  };
14
14
 
15
- var styles = {"component":"select__component_1vvrg","popoverInner":"select__popoverInner_1vvrg","optionsList":"select__optionsList_1vvrg","nativeSelect":"select__nativeSelect_1vvrg","block":"select__block_1vvrg"};
15
+ var styles = {"component":"select__component_7cfp1","popoverInner":"select__popoverInner_7cfp1","optionsList":"select__optionsList_7cfp1","nativeSelect":"select__nativeSelect_7cfp1","block":"select__block_7cfp1"};
16
16
  require('./components/base-select/index.css')
17
17
 
18
18
  const BaseSelect = forwardRef(({ dataTestId, className, fieldClassName, 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 = 's', optionsSize = size, error, hint, block, label, placeholder, fieldProps = {}, optionsListProps = {}, optionProps = {}, valueRenderer, onChange, onOpen, onFocus, onBlur, onScroll, Arrow, Field = () => null, OptionsList = () => null, Optgroup = () => null, Option = () => null, updatePopover, zIndexPopover, showEmptyOptionsList = false, visibleOptions, }, ref) => {
@@ -203,7 +203,8 @@ const BaseSelect = forwardRef(({ dataTestId, className, fieldClassName, optionsL
203
203
  }
204
204
  }, [optionsListWidth]);
205
205
  useEffect(() => {
206
- const observer = new ResizeObserver(calcOptionsListWidth);
206
+ const ResizeObserver$1 = window.ResizeObserver || ResizeObserver;
207
+ const observer = new ResizeObserver$1(calcOptionsListWidth);
207
208
  if (rootRef.current) {
208
209
  observer.observe(rootRef.current);
209
210
  }
@@ -13,11 +13,11 @@ import { OptionsList } from './components/options-list/Component.js';
13
13
  import '@alfalab/core-components-checkbox/dist/modern';
14
14
  import './components/checkmark/Component.js';
15
15
  import { Option } from './components/option/Component.js';
16
- import 'resize-observer';
16
+ import '@juggle/resize-observer';
17
17
  import '@alfalab/core-components-popover/dist/modern';
18
18
  import 'downshift';
19
19
  import './components/native-select/Component.js';
20
- import { B as BaseSelect } from './Component-4dbfaecb.js';
20
+ import { B as BaseSelect } from './Component-be8c8292.js';
21
21
 
22
22
  const Select = forwardRef(({ Arrow: Arrow$1 = Arrow, Field: Field$1 = Field, OptionsList: OptionsList$1 = OptionsList, Optgroup: Optgroup$1 = Optgroup, Option: Option$1 = Option, ...restProps }, ref) => (React.createElement(BaseSelect, Object.assign({ ref: ref, Option: Option$1, Field: Field$1, Optgroup: Optgroup$1, OptionsList: OptionsList$1, Arrow: Arrow$1 }, restProps))));
23
23
 
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { ChevronDownMIcon } from '@alfalab/icons-glyph/ChevronDownMIcon';
4
4
 
5
- var styles = {"arrow":"select__arrow_1h1yf","open":"select__open_1h1yf"};
5
+ var styles = {"arrow":"select__arrow_hiyor","open":"select__open_hiyor"};
6
6
  require('./index.css')
7
7
 
8
8
  const Arrow = ({ open, className }) => (React.createElement(ChevronDownMIcon, { className: cn(styles.arrow, className, { [styles.open]: open }) }));
@@ -1,4 +1,4 @@
1
- /* hash: 1oxlh */
1
+ /* hash: 1ps11 */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  }
@@ -24,7 +24,7 @@
24
24
 
25
25
  /* optgroup */
26
26
  }
27
- .select__arrow_1h1yf {
27
+ .select__arrow_hiyor {
28
28
  display: block;
29
29
  width: 24px;
30
30
  height: 24px;
@@ -32,6 +32,6 @@
32
32
 
33
33
  transition: transform 0.15s ease-in-out, opacity 0.2s ease;
34
34
  }
35
- .select__open_1h1yf {
35
+ .select__open_hiyor {
36
36
  transform: var(--arrow-transform);
37
37
  }
@@ -2,8 +2,8 @@ import 'react';
2
2
  import 'classnames';
3
3
  import '../../utils.js';
4
4
  import 'react-merge-refs';
5
- import 'resize-observer';
5
+ import '@juggle/resize-observer';
6
6
  import '@alfalab/core-components-popover/dist/modern';
7
7
  import 'downshift';
8
8
  import '../native-select/Component.js';
9
- export { B as BaseSelect } from '../../Component-4dbfaecb.js';
9
+ export { B as BaseSelect } from '../../Component-be8c8292.js';
@@ -1,4 +1,4 @@
1
- /* hash: w7gwc */
1
+ /* hash: 1lbku */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -28,12 +28,12 @@
28
28
 
29
29
  /* optgroup */
30
30
  }
31
- .select__component_1vvrg {
31
+ .select__component_7cfp1 {
32
32
  width: max-content;
33
33
  position: relative;
34
34
  outline: 0;
35
35
  }
36
- .select__popoverInner_1vvrg {
36
+ .select__popoverInner_7cfp1 {
37
37
  padding-top: var(--select-options-list-offset);
38
38
  padding-bottom: var(--select-options-list-offset);
39
39
  box-shadow: none;
@@ -42,7 +42,7 @@
42
42
  border-radius: 0;
43
43
  position: relative;
44
44
  }
45
- .select__optionsList_1vvrg {
45
+ .select__optionsList_7cfp1 {
46
46
  padding-top: var(--select-options-list-top-padding);
47
47
  padding-bottom: var(--select-options-list-bottom-padding);
48
48
  box-shadow: var(--select-options-list-box-shadow);
@@ -51,7 +51,7 @@
51
51
  overflow: hidden;
52
52
  will-change: transform;
53
53
  }
54
- .select__nativeSelect_1vvrg {
54
+ .select__nativeSelect_7cfp1 {
55
55
  opacity: 0;
56
56
  overflow: hidden;
57
57
  position: absolute;
@@ -65,12 +65,12 @@
65
65
  cursor: pointer;
66
66
  z-index: 1;
67
67
  }
68
- .select__block_1vvrg {
68
+ .select__block_7cfp1 {
69
69
  width: 100%;
70
70
  }
71
71
  /* width: max-content; fix for IE */
72
72
  @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
73
- .select__component_1vvrg {
73
+ .select__component_7cfp1 {
74
74
  float: left;
75
75
  clear: left;
76
76
  }
@@ -1 +1 @@
1
- export * from "../../Component-4dbfaecb";
1
+ export * from "../../Component-be8c8292";
@@ -2,8 +2,8 @@ import 'react';
2
2
  import 'classnames';
3
3
  import '../../utils.js';
4
4
  import 'react-merge-refs';
5
- import 'resize-observer';
5
+ import '@juggle/resize-observer';
6
6
  import '@alfalab/core-components-popover/dist/modern';
7
7
  import 'downshift';
8
8
  import '../native-select/Component.js';
9
- export { B as BaseSelect } from '../../Component-4dbfaecb.js';
9
+ export { B as BaseSelect } from '../../Component-be8c8292.js';
@@ -0,0 +1,31 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '@alfalab/hooks';
4
+ import '@alfalab/core-components-form-control/dist/modern';
5
+ import '../../utils.js';
6
+ import '../field/Component.js';
7
+ import '@alfalab/icons-glyph/ChevronDownMIcon';
8
+ import '../arrow/Component.js';
9
+ import 'react-merge-refs';
10
+ import '@alfalab/core-components-scrollbar/dist/modern';
11
+ import '../optgroup/Component.js';
12
+ import '../options-list/Component.js';
13
+ import '@alfalab/core-components-checkbox/dist/modern';
14
+ import '../checkmark/Component.js';
15
+ import '../option/Component.js';
16
+ import '@juggle/resize-observer';
17
+ import '@alfalab/core-components-popover/dist/modern';
18
+ import 'downshift';
19
+ import '../native-select/Component.js';
20
+ import '../../Component-be8c8292.js';
21
+ import '../../Component.js';
22
+ import '@alfalab/core-components-bottom-sheet/dist/modern';
23
+ import '@alfalab/core-components-modal/dist/modern/mobile';
24
+ import '@alfalab/core-components-button/dist/modern';
25
+ import '@alfalab/core-components-base-modal/dist/modern';
26
+ import './options-list/Component.js';
27
+ import './checkmark/Component.js';
28
+ export { B as BaseSelectMobile } from '../../Component-66dc7fce.js';
29
+ import 'react-virtual';
30
+ import '@alfalab/core-components-skeleton/dist/modern';
31
+ import '../../intersection-observer-8a84ca64.js';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"checkmark":"select__checkmark_16iym","selected":"select__selected_16iym"};
4
+ var styles = {"checkmark":"select__checkmark_jdpqy","selected":"select__selected_jdpqy"};
5
5
  require('./index.css')
6
6
 
7
7
  const Checkmark = ({ selected, className }) => (React.createElement("span", { className: cn(styles.checkmark, className, {
@@ -1,4 +1,4 @@
1
- /* hash: 1dnjk */
1
+ /* hash: ylibc */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -18,7 +18,7 @@
18
18
 
19
19
  /* optgroup */
20
20
  }
21
- .select__checkmark_16iym {
21
+ .select__checkmark_jdpqy {
22
22
  flex-shrink: 0;
23
23
  display: flex;
24
24
  align-items: center;
@@ -29,9 +29,9 @@
29
29
  height: 24px;
30
30
  opacity: 0
31
31
  }
32
- .select__checkmark_16iym:first-child {
32
+ .select__checkmark_jdpqy:first-child {
33
33
  display: none;
34
34
  }
35
- .select__checkmark_16iym.select__selected_16iym {
35
+ .select__checkmark_jdpqy.select__selected_jdpqy {
36
36
  opacity: 1;
37
37
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1nwly */
1
+ /* hash: tssd9 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -24,12 +24,12 @@
24
24
 
25
25
  /* optgroup */
26
26
  }
27
- .select__component_1h385 {
27
+ .select__component_1whuf {
28
28
  width: max-content;
29
29
  position: relative;
30
30
  outline: 0;
31
31
  }
32
- .select__popoverInner_1h385 {
32
+ .select__popoverInner_1whuf {
33
33
  padding-top: var(--select-options-list-offset);
34
34
  padding-bottom: var(--select-options-list-offset);
35
35
  box-shadow: none;
@@ -38,31 +38,31 @@
38
38
  border-radius: 0;
39
39
  position: relative;
40
40
  }
41
- .select__sheet_1h385 {
41
+ .select__sheet_1whuf {
42
42
  overflow: hidden;
43
43
  }
44
- .select__sheetContent_1h385 {
44
+ .select__sheetContent_1whuf {
45
45
  padding: 0;
46
46
  }
47
- .select__sheetContainer_1h385 {
47
+ .select__sheetContainer_1whuf {
48
48
  padding: 0;
49
49
  }
50
- .select__block_1h385 {
50
+ .select__block_1whuf {
51
51
  width: 100%;
52
52
  }
53
53
  /* width: max-content; fix for IE */
54
54
  @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
55
- .select__component_1h385 {
55
+ .select__component_1whuf {
56
56
  float: left;
57
57
  clear: left;
58
58
  }
59
59
  }
60
- .select__option_1h385 {
60
+ .select__option_1whuf {
61
61
  padding: var(--gap-2xs) var(--gap-l) var(--gap-2xs) var(--gap-m)
62
62
  }
63
- .select__option_1h385:before {
63
+ .select__option_1whuf:before {
64
64
  display: none;
65
65
  }
66
- .select__optionGroup_1h385 {
66
+ .select__optionGroup_1whuf {
67
67
  padding: var(--gap-m) var(--gap-m) var(--gap-xs);
68
68
  }
@@ -0,0 +1 @@
1
+ export * from "../../Component-66dc7fce";
@@ -0,0 +1,31 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '@alfalab/hooks';
4
+ import '@alfalab/core-components-form-control/dist/modern';
5
+ import '../../utils.js';
6
+ import '../field/Component.js';
7
+ import '@alfalab/icons-glyph/ChevronDownMIcon';
8
+ import '../arrow/Component.js';
9
+ import 'react-merge-refs';
10
+ import '@alfalab/core-components-scrollbar/dist/modern';
11
+ import '../optgroup/Component.js';
12
+ import '../options-list/Component.js';
13
+ import '@alfalab/core-components-checkbox/dist/modern';
14
+ import '../checkmark/Component.js';
15
+ import '../option/Component.js';
16
+ import '@juggle/resize-observer';
17
+ import '@alfalab/core-components-popover/dist/modern';
18
+ import 'downshift';
19
+ import '../native-select/Component.js';
20
+ import '../../Component-be8c8292.js';
21
+ import '../../Component.js';
22
+ import '@alfalab/core-components-bottom-sheet/dist/modern';
23
+ import '@alfalab/core-components-modal/dist/modern/mobile';
24
+ import '@alfalab/core-components-button/dist/modern';
25
+ import '@alfalab/core-components-base-modal/dist/modern';
26
+ import './options-list/Component.js';
27
+ import './checkmark/Component.js';
28
+ export { B as BaseSelectMobile } from '../../Component-66dc7fce.js';
29
+ import 'react-virtual';
30
+ import '@alfalab/core-components-skeleton/dist/modern';
31
+ import '../../intersection-observer-8a84ca64.js';