@alfalab/core-components-select 13.2.14 → 13.2.16

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 (248) hide show
  1. package/Component-003e987a.d.ts +142 -0
  2. package/{Component-56295912.js → Component-003e987a.js} +4 -4
  3. package/Component-3885b0d7.d.ts +169 -0
  4. package/{cssm/Component-1481ef6b.d.ts → Component-9c3c5101.d.ts} +2 -1
  5. package/{Component-5eb2f57b.js → Component-9c3c5101.js} +4 -2
  6. package/Component.js +1 -1
  7. package/Component.responsive.js +3 -3
  8. package/components/arrow/Component.js +1 -1
  9. package/components/arrow/index.css +5 -5
  10. package/components/base-checkmark/Component.js +1 -1
  11. package/components/base-checkmark/index.css +6 -6
  12. package/components/base-option/Component.js +1 -1
  13. package/components/base-option/index.css +15 -15
  14. package/components/base-select/Component.js +1 -1
  15. package/components/base-select/index.css +9 -9
  16. package/components/base-select/index.d.ts +1 -1
  17. package/components/base-select/index.js +1 -1
  18. package/components/base-select-mobile/Component.js +3 -3
  19. package/components/base-select-mobile/checkmark/Component.js +1 -1
  20. package/components/base-select-mobile/checkmark/index.css +8 -8
  21. package/components/base-select-mobile/index.css +13 -13
  22. package/components/base-select-mobile/index.d.ts +1 -1
  23. package/components/base-select-mobile/index.js +3 -3
  24. package/components/base-select-mobile/options-list/Component.js +1 -1
  25. package/components/base-select-mobile/options-list/index.css +11 -11
  26. package/components/base-select-mobile/virtual-options-list/Component.js +1 -1
  27. package/components/base-select-mobile/virtual-options-list/index.css +17 -17
  28. package/components/checkmark/Component.js +1 -1
  29. package/components/checkmark/index.css +12 -12
  30. package/components/field/Component.js +1 -1
  31. package/components/field/index.css +11 -11
  32. package/components/index.js +3 -3
  33. package/components/optgroup/Component.js +1 -1
  34. package/components/optgroup/index.css +8 -8
  35. package/components/option/Component.js +1 -1
  36. package/components/option/index.css +22 -22
  37. package/components/options-list/Component.js +1 -1
  38. package/components/options-list/index.css +8 -8
  39. package/components/select-mobile/Component.js +3 -3
  40. package/components/select-mobile/index.d.ts +1 -1
  41. package/components/select-mobile/index.js +3 -3
  42. package/components/select-modal-mobile/Component.js +3 -3
  43. package/components/select-modal-mobile/index.d.ts +1 -1
  44. package/components/select-modal-mobile/index.js +3 -3
  45. package/components/virtual-options-list/Component.js +1 -1
  46. package/components/virtual-options-list/index.css +14 -14
  47. package/cssm/Component-3885b0d7.d.ts +169 -0
  48. package/{esm/Component-105eafca.d.ts → cssm/Component-aaa9f3a7.d.ts} +2 -1
  49. package/cssm/{Component-1481ef6b.js → Component-aaa9f3a7.js} +3 -1
  50. package/cssm/Component-e9709f88.d.ts +142 -0
  51. package/cssm/{Component-8f0723b4.js → Component-e9709f88.js} +1 -1
  52. package/cssm/Component.js +1 -1
  53. package/cssm/Component.responsive.js +2 -2
  54. package/cssm/components/arrow/index.module.css +2 -2
  55. package/cssm/components/base-checkmark/index.module.css +2 -2
  56. package/cssm/components/base-option/index.module.css +2 -2
  57. package/cssm/components/base-select/Component.js +1 -1
  58. package/cssm/components/base-select/index.d.ts +1 -1
  59. package/cssm/components/base-select/index.js +1 -1
  60. package/cssm/components/base-select/index.module.css +2 -2
  61. package/cssm/components/base-select-mobile/Component.js +2 -2
  62. package/cssm/components/base-select-mobile/checkmark/index.module.css +2 -2
  63. package/cssm/components/base-select-mobile/index.d.ts +1 -1
  64. package/cssm/components/base-select-mobile/index.js +2 -2
  65. package/cssm/components/base-select-mobile/index.module.css +2 -2
  66. package/cssm/components/base-select-mobile/options-list/index.module.css +2 -2
  67. package/cssm/components/base-select-mobile/virtual-options-list/index.module.css +2 -2
  68. package/cssm/components/checkmark/index.module.css +2 -2
  69. package/cssm/components/field/index.module.css +2 -2
  70. package/cssm/components/index.js +2 -2
  71. package/cssm/components/optgroup/index.module.css +2 -2
  72. package/cssm/components/option/index.module.css +2 -2
  73. package/cssm/components/options-list/index.module.css +2 -2
  74. package/cssm/components/select-mobile/Component.js +2 -2
  75. package/cssm/components/select-mobile/index.d.ts +1 -1
  76. package/cssm/components/select-mobile/index.js +2 -2
  77. package/cssm/components/select-modal-mobile/Component.js +2 -2
  78. package/cssm/components/select-modal-mobile/index.d.ts +1 -1
  79. package/cssm/components/select-modal-mobile/index.js +2 -2
  80. package/cssm/components/virtual-options-list/index.module.css +2 -2
  81. package/cssm/{index-3fe0d3e6.d.ts → index-3885b0d7.d.ts} +1 -1
  82. package/cssm/index-ebda875c.d.ts +74 -0
  83. package/cssm/index.js +2 -2
  84. package/cssm/presets/index.js +2 -2
  85. package/cssm/presets/useLazyLoading/hook.js +2 -2
  86. package/cssm/presets/useSelectWithApply/hook.js +2 -2
  87. package/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +2 -2
  88. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  89. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +2 -2
  90. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.module.css +2 -2
  91. package/cssm/responsive.js +2 -2
  92. package/cssm/types-ebda875c.d.ts +113 -0
  93. package/cssm/typings.d.ts +5 -5
  94. package/esm/Component-3885b0d7.d.ts +169 -0
  95. package/esm/Component-a38a40da.d.ts +142 -0
  96. package/esm/{Component-3d9b84ce.js → Component-a38a40da.js} +4 -4
  97. package/{Component-5eb2f57b.d.ts → esm/Component-be3db19b.d.ts} +2 -1
  98. package/esm/{Component-105eafca.js → Component-be3db19b.js} +4 -2
  99. package/esm/Component.js +1 -1
  100. package/esm/Component.responsive.js +3 -3
  101. package/esm/components/arrow/Component.js +1 -1
  102. package/esm/components/arrow/index.css +5 -5
  103. package/esm/components/base-checkmark/Component.js +1 -1
  104. package/esm/components/base-checkmark/index.css +6 -6
  105. package/esm/components/base-option/Component.js +1 -1
  106. package/esm/components/base-option/index.css +15 -15
  107. package/esm/components/base-select/Component.js +1 -1
  108. package/esm/components/base-select/index.css +9 -9
  109. package/esm/components/base-select/index.d.ts +1 -1
  110. package/esm/components/base-select/index.js +1 -1
  111. package/esm/components/base-select-mobile/Component.js +3 -3
  112. package/esm/components/base-select-mobile/checkmark/Component.js +1 -1
  113. package/esm/components/base-select-mobile/checkmark/index.css +8 -8
  114. package/esm/components/base-select-mobile/index.css +13 -13
  115. package/esm/components/base-select-mobile/index.d.ts +1 -1
  116. package/esm/components/base-select-mobile/index.js +3 -3
  117. package/esm/components/base-select-mobile/options-list/Component.js +1 -1
  118. package/esm/components/base-select-mobile/options-list/index.css +11 -11
  119. package/esm/components/base-select-mobile/virtual-options-list/Component.js +1 -1
  120. package/esm/components/base-select-mobile/virtual-options-list/index.css +17 -17
  121. package/esm/components/checkmark/Component.js +1 -1
  122. package/esm/components/checkmark/index.css +12 -12
  123. package/esm/components/field/Component.js +1 -1
  124. package/esm/components/field/index.css +11 -11
  125. package/esm/components/index.js +3 -3
  126. package/esm/components/optgroup/Component.js +1 -1
  127. package/esm/components/optgroup/index.css +8 -8
  128. package/esm/components/option/Component.js +1 -1
  129. package/esm/components/option/index.css +22 -22
  130. package/esm/components/options-list/Component.js +1 -1
  131. package/esm/components/options-list/index.css +8 -8
  132. package/esm/components/select-mobile/Component.js +3 -3
  133. package/esm/components/select-mobile/index.d.ts +1 -1
  134. package/esm/components/select-mobile/index.js +3 -3
  135. package/esm/components/select-modal-mobile/Component.js +3 -3
  136. package/esm/components/select-modal-mobile/index.d.ts +1 -1
  137. package/esm/components/select-modal-mobile/index.js +3 -3
  138. package/esm/components/virtual-options-list/Component.js +1 -1
  139. package/esm/components/virtual-options-list/index.css +14 -14
  140. package/esm/{index-3fe0d3e6.d.ts → index-3885b0d7.d.ts} +1 -1
  141. package/esm/index-ebda875c.d.ts +74 -0
  142. package/esm/index.js +3 -3
  143. package/esm/presets/index.js +3 -3
  144. package/esm/presets/useLazyLoading/hook.js +4 -4
  145. package/esm/presets/useLazyLoading/index.css +2 -2
  146. package/esm/presets/useSelectWithApply/hook.js +3 -3
  147. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  148. package/esm/presets/useSelectWithApply/options-list-with-apply/index.css +6 -6
  149. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  150. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  151. package/esm/presets/useSelectWithLoading/hook.js +1 -1
  152. package/esm/presets/useSelectWithLoading/index.css +2 -2
  153. package/esm/responsive.js +3 -3
  154. package/esm/types-ebda875c.d.ts +113 -0
  155. package/esm/typings.d.ts +5 -5
  156. package/{index-3fe0d3e6.d.ts → index-3885b0d7.d.ts} +1 -1
  157. package/index-ebda875c.d.ts +74 -0
  158. package/index.js +3 -3
  159. package/modern/Component-1f8531f6.d.ts +142 -0
  160. package/modern/{Component-20680737.js → Component-1f8531f6.js} +4 -4
  161. package/modern/Component-3885b0d7.d.ts +169 -0
  162. package/modern/{Component-a6757057.d.ts → Component-ec2fbeef.d.ts} +2 -1
  163. package/modern/{Component-a6757057.js → Component-ec2fbeef.js} +4 -2
  164. package/modern/Component.js +1 -1
  165. package/modern/Component.responsive.js +3 -3
  166. package/modern/components/arrow/Component.js +1 -1
  167. package/modern/components/arrow/index.css +5 -5
  168. package/modern/components/base-checkmark/Component.js +1 -1
  169. package/modern/components/base-checkmark/index.css +6 -6
  170. package/modern/components/base-option/Component.js +1 -1
  171. package/modern/components/base-option/index.css +15 -15
  172. package/modern/components/base-select/Component.js +1 -1
  173. package/modern/components/base-select/index.css +9 -9
  174. package/modern/components/base-select/index.d.ts +1 -1
  175. package/modern/components/base-select/index.js +1 -1
  176. package/modern/components/base-select-mobile/Component.js +3 -3
  177. package/modern/components/base-select-mobile/checkmark/Component.js +1 -1
  178. package/modern/components/base-select-mobile/checkmark/index.css +8 -8
  179. package/modern/components/base-select-mobile/index.css +13 -13
  180. package/modern/components/base-select-mobile/index.d.ts +1 -1
  181. package/modern/components/base-select-mobile/index.js +3 -3
  182. package/modern/components/base-select-mobile/options-list/Component.js +1 -1
  183. package/modern/components/base-select-mobile/options-list/index.css +11 -11
  184. package/modern/components/base-select-mobile/virtual-options-list/Component.js +1 -1
  185. package/modern/components/base-select-mobile/virtual-options-list/index.css +17 -17
  186. package/modern/components/checkmark/Component.js +1 -1
  187. package/modern/components/checkmark/index.css +12 -12
  188. package/modern/components/field/Component.js +1 -1
  189. package/modern/components/field/index.css +11 -11
  190. package/modern/components/index.js +3 -3
  191. package/modern/components/optgroup/Component.js +1 -1
  192. package/modern/components/optgroup/index.css +8 -8
  193. package/modern/components/option/Component.js +1 -1
  194. package/modern/components/option/index.css +22 -22
  195. package/modern/components/options-list/Component.js +1 -1
  196. package/modern/components/options-list/index.css +8 -8
  197. package/modern/components/select-mobile/Component.js +3 -3
  198. package/modern/components/select-mobile/index.d.ts +1 -1
  199. package/modern/components/select-mobile/index.js +3 -3
  200. package/modern/components/select-modal-mobile/Component.js +3 -3
  201. package/modern/components/select-modal-mobile/index.d.ts +1 -1
  202. package/modern/components/select-modal-mobile/index.js +3 -3
  203. package/modern/components/virtual-options-list/Component.js +1 -1
  204. package/modern/components/virtual-options-list/index.css +14 -14
  205. package/modern/{index-3fe0d3e6.d.ts → index-3885b0d7.d.ts} +1 -1
  206. package/modern/index-ebda875c.d.ts +74 -0
  207. package/modern/index.js +3 -3
  208. package/modern/presets/index.js +3 -3
  209. package/modern/presets/useLazyLoading/hook.js +4 -4
  210. package/modern/presets/useLazyLoading/index.css +2 -2
  211. package/modern/presets/useSelectWithApply/hook.js +3 -3
  212. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  213. package/modern/presets/useSelectWithApply/options-list-with-apply/index.css +6 -6
  214. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  215. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  216. package/modern/presets/useSelectWithLoading/hook.js +1 -1
  217. package/modern/presets/useSelectWithLoading/index.css +2 -2
  218. package/modern/responsive.js +3 -3
  219. package/modern/types-ebda875c.d.ts +113 -0
  220. package/modern/typings.d.ts +5 -5
  221. package/package.json +4 -4
  222. package/presets/index.js +3 -3
  223. package/presets/useLazyLoading/hook.js +4 -4
  224. package/presets/useLazyLoading/index.css +2 -2
  225. package/presets/useSelectWithApply/hook.js +3 -3
  226. package/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  227. package/presets/useSelectWithApply/options-list-with-apply/index.css +6 -6
  228. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  229. package/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  230. package/presets/useSelectWithLoading/hook.js +1 -1
  231. package/presets/useSelectWithLoading/index.css +2 -2
  232. package/responsive.js +3 -3
  233. package/types-ebda875c.d.ts +113 -0
  234. package/typings.d.ts +5 -5
  235. package/Component-56295912.d.ts +0 -475
  236. package/cssm/Component-8f0723b4.d.ts +0 -475
  237. package/cssm/getDataTestId-3fe0d3e6.d.ts +0 -2
  238. package/esm/Component-3d9b84ce.d.ts +0 -475
  239. package/esm/getDataTestId-3fe0d3e6.d.ts +0 -2
  240. package/getDataTestId-3fe0d3e6.d.ts +0 -2
  241. package/modern/Component-20680737.d.ts +0 -475
  242. package/modern/getDataTestId-3fe0d3e6.d.ts +0 -2
  243. /package/esm/{intersection-observer-9c4df9c1.d.ts → intersection-observer-1b705e9c.d.ts} +0 -0
  244. /package/esm/{intersection-observer-9c4df9c1.js → intersection-observer-1b705e9c.js} +0 -0
  245. /package/{intersection-observer-562b226a.d.ts → intersection-observer-cd9b249c.d.ts} +0 -0
  246. /package/{intersection-observer-562b226a.js → intersection-observer-cd9b249c.js} +0 -0
  247. /package/modern/{intersection-observer-9c4df9c1.d.ts → intersection-observer-1b705e9c.d.ts} +0 -0
  248. /package/modern/{intersection-observer-9c4df9c1.js → intersection-observer-1b705e9c.js} +0 -0
@@ -0,0 +1,142 @@
1
+ /// <reference types="react" />
2
+ import React from "react";
3
+ import { ReactNode, FC } 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 { NavigationBarProps } from "./types-ebda875c";
8
+ type AdditionalMobileProps = {
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
+ type SelectMobileProps = Omit<BaseSelectProps, "Checkmark" | "onScroll"> & AdditionalMobileProps;
25
+ declare const SelectMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "Checkmark"> & AdditionalMobileProps & React.RefAttributes<unknown>>;
26
+ type SelectMobileProps$0 = Omit<BaseSelectProps, "Checkmark" | "onScroll"> & {
27
+ /**
28
+ * Футер
29
+ * @deprecated Используйте bottomSheetProps.actionButton
30
+ */
31
+ footer?: ReactNode;
32
+ /**
33
+ * Будет ли свайпаться шторка
34
+ * @deprecated Используйте bottomSheetProps.swipeable
35
+ */
36
+ swipeable?: boolean;
37
+ /**
38
+ * Отображать в BottomSheet
39
+ */
40
+ isBottomSheet?: boolean;
41
+ /**
42
+ * Дополнительные пропсы шторки
43
+ */
44
+ bottomSheetProps?: Partial<BottomSheetProps>;
45
+ };
46
+ declare const BaseSelectMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "Checkmark"> & {
47
+ footer?: ReactNode;
48
+ swipeable?: boolean | undefined;
49
+ isBottomSheet?: boolean | undefined;
50
+ bottomSheetProps?: Partial<BottomSheetProps> | undefined;
51
+ } & React.RefAttributes<unknown>>;
52
+ declare const OptionsListWithApply: React.ForwardRefExoticComponent<OptionsListProps & {
53
+ showClear?: boolean | undefined;
54
+ onClose?: (() => void) | undefined;
55
+ selectedDraft?: OptionShape[] | undefined;
56
+ OptionsList?: React.FC<OptionsListProps & React.RefAttributes<unknown>> | undefined;
57
+ } & React.RefAttributes<unknown>>;
58
+ type ModalDesktopProps = BaseModalProps & {
59
+ /**
60
+ * Ширина модального окна
61
+ * @default "m"
62
+ */
63
+ size?: "s" | "m" | "l" | "xl" | "fullscreen";
64
+ /**
65
+ * Растягивает модальное окно на весь экран
66
+ * @deprecated Используйте размер fullscreen
67
+ */
68
+ fullscreen?: boolean;
69
+ /**
70
+ * Фиксирует позицию модального окна после открытия,
71
+ * предотвращая скачки, если контент внутри будет меняться
72
+ */
73
+ fixedPosition?: boolean;
74
+ /**
75
+ * Управление наличием закрывающего крестика
76
+ * @default false
77
+ */
78
+ hasCloser?: boolean;
79
+ };
80
+ type ModalMobileProps = Omit<ModalDesktopProps, "size" | "fixedPosition" | "fullscreen">;
81
+ type View = "desktop" | "mobile";
82
+ type TResponsiveModalContext = {
83
+ view: View;
84
+ size: NonNullable<ModalDesktopProps["size"]>;
85
+ };
86
+ type ContentProps = {
87
+ /**
88
+ * Контент
89
+ */
90
+ children?: ReactNode;
91
+ /**
92
+ * Дополнительный класс
93
+ */
94
+ className?: string;
95
+ /**
96
+ * Растягивает контент на всю высоту
97
+ */
98
+ flex?: boolean;
99
+ };
100
+ type HeaderProps = Omit<NavigationBarProps, "size" | "view" | "parentRef">;
101
+ type FooterProps = {
102
+ /**
103
+ * Контент футера
104
+ */
105
+ children?: ReactNode;
106
+ /**
107
+ * Дополнительный класс
108
+ */
109
+ className?: string;
110
+ /**
111
+ * Фиксирует футер
112
+ */
113
+ sticky?: boolean;
114
+ /**
115
+ * Выравнивание элементов футера
116
+ */
117
+ layout?: "start" | "center" | "space-between" | "column";
118
+ /**
119
+ * Отступы между элементами футера
120
+ */
121
+ gap?: 16 | 24 | 32;
122
+ };
123
+ declare const ModalMobile: React.ForwardRefExoticComponent<ModalMobileProps & React.RefAttributes<HTMLDivElement>> & {
124
+ Content: React.FC<ContentProps>;
125
+ Header: React.FC<HeaderProps>;
126
+ Footer: React.FC<FooterProps>;
127
+ Closer: React.FC<CloserProps>;
128
+ };
129
+ declare const Content: FC<ContentProps>;
130
+ declare const Modal: React.ForwardRefExoticComponent<import("@alfalab/core-components-base-modal").BaseModalProps & {
131
+ size?: "s" | "m" | "l" | "xl" | "fullscreen" | undefined;
132
+ fullscreen?: boolean | undefined;
133
+ fixedPosition?: boolean | undefined;
134
+ hasCloser?: boolean | undefined;
135
+ } & {
136
+ view: View;
137
+ } & React.RefAttributes<HTMLDivElement>>;
138
+ declare const ResponsiveContext: React.Context<TResponsiveModalContext>;
139
+ declare const ModalContext: import("react").Context<BaseModalContext>;
140
+ type SelectModalMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'>;
141
+ declare const SelectModalMobile: React.ForwardRefExoticComponent<SelectModalMobileProps & React.RefAttributes<unknown>>;
142
+ export { AdditionalMobileProps, SelectMobileProps, SelectMobile, BaseSelectMobile, OptionsListWithApply, ModalMobile, Content, Modal, ResponsiveContext, ModalContext, SelectModalMobileProps, SelectModalMobile };
@@ -9,7 +9,7 @@ var downshift = require('downshift');
9
9
  var coreComponentsBottomSheet = require('@alfalab/core-components-bottom-sheet/cssm');
10
10
  var mobile = require('@alfalab/core-components-modal/cssm/mobile');
11
11
  require('./Component.js');
12
- var components_baseSelect_Component = require('./Component-1481ef6b.js');
12
+ var components_baseSelect_Component = require('./Component-aaa9f3a7.js');
13
13
  var components_field_Component = require('./components/field/Component.js');
14
14
  var components_optgroup_Component = require('./components/optgroup/Component.js');
15
15
  var components_option_Component = require('./components/option/Component.js');
package/cssm/Component.js CHANGED
@@ -3,7 +3,7 @@
3
3
  var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var components_arrow_Component = require('./components/arrow/Component.js');
6
- var components_baseSelect_Component = require('./Component-1481ef6b.js');
6
+ var components_baseSelect_Component = require('./Component-aaa9f3a7.js');
7
7
  var components_field_Component = require('./components/field/Component.js');
8
8
  var components_optgroup_Component = require('./components/optgroup/Component.js');
9
9
  var components_option_Component = require('./components/option/Component.js');
@@ -7,8 +7,8 @@ var Component = require('./Component.js');
7
7
  require('classnames');
8
8
  require('@alfalab/icons-glyph/ChevronDownMIcon');
9
9
  require('./components/arrow/index.module.css');
10
- require('./Component-1481ef6b.js');
11
- var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-8f0723b4.js');
10
+ require('./Component-aaa9f3a7.js');
11
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-e9709f88.js');
12
12
  require('@alfalab/core-components-form-control/cssm');
13
13
  require('./components/field/index.module.css');
14
14
  require('./components/optgroup/index.module.css');
@@ -1,7 +1,7 @@
1
1
  :root {
2
2
  } /* deprecated */ :root {
3
- --color-light-graphic-primary: #0b1f35;
4
- } :root {
3
+ --color-light-graphic-primary: #0b1f35; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* 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
+ } :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 */
5
5
  } :root {
6
6
  } :root {
7
7
 
@@ -1,6 +1,6 @@
1
1
  :root {
2
- } /* deprecated */ :root {
3
- } :root {
2
+ } /* 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 */
3
+ } :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 */
4
4
  } :root {
5
5
  } :root {
6
6
 
@@ -4,8 +4,8 @@
4
4
  --color-light-bg-secondary: #f3f4f5;
5
5
  --color-light-bg-tertiary: #e7e9eb;
6
6
  --color-light-text-primary: #0b1f35;
7
- --color-light-text-secondary: rgba(11, 31, 53, 0.7);
8
- } :root {
7
+ --color-light-text-secondary: rgba(11, 31, 53, 0.7); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
8
+ } :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 */
9
9
  } :root {
10
10
  } :root {
11
11
 
@@ -8,7 +8,7 @@ require('classnames');
8
8
  require('downshift');
9
9
  require('@alfalab/core-components-popover/cssm');
10
10
  require('@alfalab/hooks');
11
- var components_baseSelect_Component = require('../../Component-1481ef6b.js');
11
+ var components_baseSelect_Component = require('../../Component-aaa9f3a7.js');
12
12
  require('../../utils.js');
13
13
  require('../native-select/Component.js');
14
14
  require('./index.module.css');
@@ -1 +1 @@
1
- export * from "../../Component-1481ef6b";
1
+ export * from "../../Component-aaa9f3a7";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_baseSelect_Component = require('../../Component-1481ef6b.js');
3
+ var components_baseSelect_Component = require('../../Component-aaa9f3a7.js');
4
4
  require('tslib');
5
5
  require('react');
6
6
  require('react-merge-refs');
@@ -1,7 +1,7 @@
1
1
  :root {
2
2
  } /* deprecated */ :root {
3
- --color-light-bg-primary: #fff;
4
- } :root {
3
+ --color-light-bg-primary: #fff; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
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 */
5
5
  } :root {
6
6
  } :root {
7
7
  --shadow-m: 0 0 16px rgba(11, 31, 53, 0.08), 0 8px 16px rgba(11, 31, 53, 0.16);
@@ -9,8 +9,8 @@ require('@alfalab/core-components-bottom-sheet/cssm');
9
9
  require('@alfalab/core-components-modal/cssm/mobile');
10
10
  require('../../Component.js');
11
11
  require('../arrow/Component.js');
12
- require('../../Component-1481ef6b.js');
13
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-8f0723b4.js');
12
+ require('../../Component-aaa9f3a7.js');
13
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-e9709f88.js');
14
14
  require('../field/Component.js');
15
15
  require('../optgroup/Component.js');
16
16
  require('../option/Component.js');
@@ -1,6 +1,6 @@
1
1
  :root {
2
- } /* deprecated */ :root {
3
- } :root {
2
+ } /* 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 */
3
+ } :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 */
4
4
  } :root {
5
5
  } :root {
6
6
 
@@ -1 +1 @@
1
- export * from "../../Component-8f0723b4";
1
+ export * from "../../Component-e9709f88";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-8f0723b4.js');
3
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-e9709f88.js');
4
4
  require('tslib');
5
5
  require('react');
6
6
  require('../arrow/Component.js');
@@ -12,7 +12,7 @@ require('downshift');
12
12
  require('@alfalab/core-components-bottom-sheet/cssm');
13
13
  require('@alfalab/core-components-modal/cssm/mobile');
14
14
  require('../../Component.js');
15
- require('../../Component-1481ef6b.js');
15
+ require('../../Component-aaa9f3a7.js');
16
16
  require('@juggle/resize-observer');
17
17
  require('@alfalab/core-components-popover/cssm');
18
18
  require('@alfalab/hooks');
@@ -1,6 +1,6 @@
1
1
  :root {
2
- } /* deprecated */ :root {
3
- } :root {
2
+ } /* 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 */
3
+ } :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 */
4
4
  } :root {
5
5
  } :root {
6
6
 
@@ -2,8 +2,8 @@
2
2
  } /* deprecated */ :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-primary: #dbdee1;
5
- --color-light-text-secondary: rgba(11, 31, 53, 0.7);
6
- } :root {
5
+ --color-light-text-secondary: rgba(11, 31, 53, 0.7); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
+ } :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 */
7
7
  } :root {
8
8
  } :root {
9
9
 
@@ -2,8 +2,8 @@
2
2
  } /* deprecated */ :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-primary: #dbdee1;
5
- --color-light-text-secondary: rgba(11, 31, 53, 0.7);
6
- } :root {
5
+ --color-light-text-secondary: rgba(11, 31, 53, 0.7); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
+ } :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 */
7
7
  } :root {
8
8
  } :root {
9
9
 
@@ -1,8 +1,8 @@
1
1
  :root {
2
2
  } /* deprecated */ :root {
3
3
  --color-light-graphic-positive: #2fc26e;
4
- --color-light-graphic-primary: #0b1f35;
5
- } :root {
4
+ --color-light-graphic-primary: #0b1f35; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
+ } :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 */
6
6
  } :root {
7
7
  } :root {
8
8
 
@@ -1,8 +1,8 @@
1
1
  :root {
2
2
  } /* deprecated */ :root {
3
3
  --color-light-border-link: #007aff;
4
- --color-light-text-secondary: rgba(11, 31, 53, 0.7);
5
- } :root {
4
+ --color-light-text-secondary: rgba(11, 31, 53, 0.7); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
+ } :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 */
6
6
  } :root {
7
7
  } :root {
8
8
 
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var components_arrow_Component = require('./arrow/Component.js');
4
- var components_baseSelect_Component = require('../Component-1481ef6b.js');
5
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../Component-8f0723b4.js');
4
+ var components_baseSelect_Component = require('../Component-aaa9f3a7.js');
5
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../Component-e9709f88.js');
6
6
  var components_field_Component = require('./field/Component.js');
7
7
  var components_optgroup_Component = require('./optgroup/Component.js');
8
8
  var components_option_Component = require('./option/Component.js');
@@ -1,8 +1,8 @@
1
1
  :root {
2
2
  } /* deprecated */ :root {
3
3
  --color-light-bg-primary: #fff;
4
- --color-light-text-secondary: rgba(11, 31, 53, 0.7);
5
- } :root {
4
+ --color-light-text-secondary: rgba(11, 31, 53, 0.7); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
+ } :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 */
6
6
  } :root {
7
7
  } :root {
8
8
 
@@ -5,8 +5,8 @@
5
5
  --color-light-bg-tertiary: #e7e9eb;
6
6
  --color-light-border-primary: #dbdee1;
7
7
  --color-light-text-primary: #0b1f35;
8
- --color-light-text-secondary: rgba(11, 31, 53, 0.7);
9
- } :root {
8
+ --color-light-text-secondary: rgba(11, 31, 53, 0.7); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
9
+ } :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 */
10
10
  } :root {
11
11
  } :root {
12
12
 
@@ -1,7 +1,7 @@
1
1
  :root {
2
2
  } /* deprecated */ :root {
3
- --color-light-text-secondary: rgba(11, 31, 53, 0.7);
4
- } :root {
3
+ --color-light-text-secondary: rgba(11, 31, 53, 0.7); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* 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
+ } :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 */
5
5
  } :root {
6
6
  } :root {
7
7
 
@@ -3,7 +3,7 @@
3
3
  require('tslib');
4
4
  require('react');
5
5
  require('../arrow/Component.js');
6
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-8f0723b4.js');
6
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-e9709f88.js');
7
7
  require('../field/Component.js');
8
8
  require('../optgroup/Component.js');
9
9
  require('../option/Component.js');
@@ -15,7 +15,7 @@ require('downshift');
15
15
  require('@alfalab/core-components-bottom-sheet/cssm');
16
16
  require('@alfalab/core-components-modal/cssm/mobile');
17
17
  require('../../Component.js');
18
- require('../../Component-1481ef6b.js');
18
+ require('../../Component-aaa9f3a7.js');
19
19
  require('@juggle/resize-observer');
20
20
  require('@alfalab/core-components-popover/cssm');
21
21
  require('@alfalab/hooks');
@@ -1 +1 @@
1
- export * from "../../Component-8f0723b4";
1
+ export * from "../../Component-e9709f88";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-8f0723b4.js');
3
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-e9709f88.js');
4
4
  require('tslib');
5
5
  require('react');
6
6
  require('../arrow/Component.js');
@@ -12,7 +12,7 @@ require('downshift');
12
12
  require('@alfalab/core-components-bottom-sheet/cssm');
13
13
  require('@alfalab/core-components-modal/cssm/mobile');
14
14
  require('../../Component.js');
15
- require('../../Component-1481ef6b.js');
15
+ require('../../Component-aaa9f3a7.js');
16
16
  require('@juggle/resize-observer');
17
17
  require('@alfalab/core-components-popover/cssm');
18
18
  require('@alfalab/hooks');
@@ -3,7 +3,7 @@
3
3
  require('tslib');
4
4
  require('react');
5
5
  require('../arrow/Component.js');
6
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-8f0723b4.js');
6
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-e9709f88.js');
7
7
  require('../field/Component.js');
8
8
  require('../optgroup/Component.js');
9
9
  require('../option/Component.js');
@@ -15,7 +15,7 @@ require('downshift');
15
15
  require('@alfalab/core-components-bottom-sheet/cssm');
16
16
  require('@alfalab/core-components-modal/cssm/mobile');
17
17
  require('../../Component.js');
18
- require('../../Component-1481ef6b.js');
18
+ require('../../Component-aaa9f3a7.js');
19
19
  require('@juggle/resize-observer');
20
20
  require('@alfalab/core-components-popover/cssm');
21
21
  require('@alfalab/hooks');
@@ -1 +1 @@
1
- export * from "../../Component-8f0723b4";
1
+ export * from "../../Component-e9709f88";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-8f0723b4.js');
3
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-e9709f88.js');
4
4
  require('tslib');
5
5
  require('react');
6
6
  require('../arrow/Component.js');
@@ -12,7 +12,7 @@ require('downshift');
12
12
  require('@alfalab/core-components-bottom-sheet/cssm');
13
13
  require('@alfalab/core-components-modal/cssm/mobile');
14
14
  require('../../Component.js');
15
- require('../../Component-1481ef6b.js');
15
+ require('../../Component-aaa9f3a7.js');
16
16
  require('@juggle/resize-observer');
17
17
  require('@alfalab/core-components-popover/cssm');
18
18
  require('@alfalab/hooks');
@@ -1,8 +1,8 @@
1
1
  :root {
2
2
  } /* deprecated */ :root {
3
3
  --color-light-border-primary: #dbdee1;
4
- --color-light-text-secondary: rgba(11, 31, 53, 0.7);
5
- } :root {
4
+ --color-light-text-secondary: rgba(11, 31, 53, 0.7); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
+ } :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 */
6
6
  } :root {
7
7
  } :root {
8
8
 
@@ -1,3 +1,3 @@
1
1
  declare const isClient: () => boolean;
2
2
  export { isClient };
3
- export * from "./getDataTestId-3fe0d3e6";
3
+ export * from "./Component-aaa9f3a7";
@@ -0,0 +1,74 @@
1
+ /// <reference types="react" />
2
+ import React from "react";
3
+ import { ButtonHTMLAttributes, ElementType, FC, AnchorHTMLAttributes } from "react";
4
+ import { ButtonProps } from "@alfalab/core-components-button";
5
+ interface CloserProps extends ButtonHTMLAttributes<HTMLButtonElement> {
6
+ /**
7
+ * Вид компонента
8
+ */
9
+ view: "desktop" | "mobile";
10
+ /**
11
+ * Дополнительный класс
12
+ */
13
+ className?: string;
14
+ /**
15
+ * Позиция крестика
16
+ */
17
+ align?: "left" | "right";
18
+ /**
19
+ * Фиксирует крестик
20
+ */
21
+ sticky?: boolean;
22
+ /**
23
+ * Иконка
24
+ */
25
+ icon?: ElementType;
26
+ /**
27
+ * Идентификатор для систем автоматизированного тестирования
28
+ */
29
+ dataTestId?: string;
30
+ /**
31
+ * Коллбэк закрытия.
32
+ */
33
+ onClose?: (event: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>, reason?: "backdropClick" | "escapeKeyDown" | "closerClick") => void;
34
+ }
35
+ declare const Closer: FC<CloserProps>;
36
+ type IconButtonProps = {
37
+ /**
38
+ * Компонент иконки
39
+ */
40
+ icon: ElementType<{
41
+ className?: string;
42
+ }>;
43
+ /**
44
+ * Тип кнопки
45
+ */
46
+ view?: "primary" | "secondary" | "transparent" | "tertiary" | "negative";
47
+ /**
48
+ * Размер компонента
49
+ */
50
+ size?: "xxs" | "xs" | "s";
51
+ /**
52
+ * Дополнительный класс
53
+ */
54
+ className?: string;
55
+ /**
56
+ * Идентификатор для систем автоматизированного тестирования
57
+ */
58
+ dataTestId?: string;
59
+ /**
60
+ * Набор цветов для компонента
61
+ */
62
+ colors?: "default" | "inverted";
63
+ } & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "href" | "loading"> & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "download">;
64
+ declare const IconButton: React.ForwardRefExoticComponent<{
65
+ icon: ElementType<{
66
+ className?: string;
67
+ }>;
68
+ view?: "negative" | "tertiary" | "secondary" | "primary" | "transparent" | undefined;
69
+ size?: "s" | "xs" | "xxs" | undefined;
70
+ className?: string | undefined;
71
+ dataTestId?: string | undefined;
72
+ colors?: "default" | "inverted" | undefined;
73
+ } & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "href" | "loading"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
74
+ export { CloserProps, Closer, IconButtonProps, IconButton };
package/cssm/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  var Component = require('./Component.js');
4
4
  var components_arrow_Component = require('./components/arrow/Component.js');
5
- var components_baseSelect_Component = require('./Component-1481ef6b.js');
6
- var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-8f0723b4.js');
5
+ var components_baseSelect_Component = require('./Component-aaa9f3a7.js');
6
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-e9709f88.js');
7
7
  var components_field_Component = require('./components/field/Component.js');
8
8
  var components_optgroup_Component = require('./components/optgroup/Component.js');
9
9
  var components_option_Component = require('./components/option/Component.js');