@alfalab/core-components-custom-picker-button 2.0.13 → 2.0.15

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 (58) hide show
  1. package/Component-0f4b9bed.d.ts +4 -21
  2. package/Component-10db897e.d.ts +265 -41
  3. package/Component-ebda875c.d.ts +98 -9
  4. package/Component.desktop-785df74d.d.ts +1 -1
  5. package/Component.mobile-d7e9f69d.d.ts +1 -1
  6. package/Component.mobile.d.ts +9 -1
  7. package/cssm/Component-0f4b9bed.d.ts +21 -4
  8. package/cssm/Component-10db897e.d.ts +41 -265
  9. package/cssm/Component-ebda875c.d.ts +9 -98
  10. package/cssm/Component.desktop-785df74d.d.ts +1 -1
  11. package/cssm/Component.mobile-d7e9f69d.d.ts +1 -1
  12. package/cssm/Component.mobile.d.ts +1 -9
  13. package/cssm/desktop-d446ae02.d.ts +39 -2
  14. package/cssm/hook-8abfea97.d.ts +4 -4
  15. package/cssm/index-bdb4c6b9.d.ts +2 -180
  16. package/cssm/index-c44170fe.d.ts +17 -2
  17. package/cssm/index-ebda875c.d.ts +18 -200
  18. package/cssm/index-f12ee135.d.ts +3 -324
  19. package/cssm/shared-4cd3936b.d.ts +60 -1
  20. package/desktop-d446ae02.d.ts +2 -39
  21. package/esm/field/Component.js +1 -1
  22. package/esm/field/index.css +5 -5
  23. package/field/Component.js +1 -1
  24. package/field/index.css +5 -5
  25. package/hook-8abfea97.d.ts +4 -4
  26. package/index-bdb4c6b9.d.ts +180 -2
  27. package/index-c44170fe.d.ts +2 -17
  28. package/index-ebda875c.d.ts +200 -18
  29. package/index-f12ee135.d.ts +324 -3
  30. package/modern/field/Component.js +1 -1
  31. package/modern/field/index.css +5 -5
  32. package/package.json +3 -23
  33. package/shared-4cd3936b.d.ts +1 -60
  34. /package/{cssm/Component-aed0af6e.d.ts → Component-aed0af6e.d.ts} +0 -0
  35. /package/{cssm/Component-f12ee135.d.ts → Component-f12ee135.d.ts} +0 -0
  36. /package/{cssm/Component.desktop-4cd3936b.d.ts → Component.desktop-4cd3936b.d.ts} +0 -0
  37. /package/{cssm/Component.mobile-96988a65.d.ts → Component.mobile-96988a65.d.ts} +0 -0
  38. /package/{cssm/Component.responsive-0aa4e915.d.ts → Component.responsive-0aa4e915.d.ts} +0 -0
  39. /package/{cssm/Component.responsive-d7e9f69d.d.ts → Component.responsive-d7e9f69d.d.ts} +0 -0
  40. /package/{Component-69921c40.d.ts → cssm/Component-69921c40.d.ts} +0 -0
  41. /package/{Component-89f0cb07.d.ts → cssm/Component-89f0cb07.d.ts} +0 -0
  42. /package/{Component-8b2c2707.d.ts → cssm/Component-8b2c2707.d.ts} +0 -0
  43. /package/{Component.mobile-d446ae02.d.ts → cssm/Component.mobile-d446ae02.d.ts} +0 -0
  44. /package/{Component.modal.mobile-0f4b9bed.d.ts → cssm/Component.modal.mobile-0f4b9bed.d.ts} +0 -0
  45. /package/{component-10db897e.d.ts → cssm/component-10db897e.d.ts} +0 -0
  46. /package/{desktop-89f0cb07.d.ts → cssm/desktop-89f0cb07.d.ts} +0 -0
  47. /package/{index-8b2c2707.d.ts → cssm/index-8b2c2707.d.ts} +0 -0
  48. /package/{mobile-89f0cb07.d.ts → cssm/mobile-89f0cb07.d.ts} +0 -0
  49. /package/{mobile-d7e9f69d.d.ts → cssm/mobile-d7e9f69d.d.ts} +0 -0
  50. /package/{types-67a2d8af.d.ts → cssm/types-67a2d8af.d.ts} +0 -0
  51. /package/{useSkeleton-ebda875c.d.ts → cssm/useSkeleton-ebda875c.d.ts} +0 -0
  52. /package/{utils-1574ad8b.d.ts → cssm/utils-1574ad8b.d.ts} +0 -0
  53. /package/{utils-49cc3c24.d.ts → cssm/utils-49cc3c24.d.ts} +0 -0
  54. /package/{cssm/desktop-69921c40.d.ts → desktop-69921c40.d.ts} +0 -0
  55. /package/{cssm/hook-ebda875c.d.ts → hook-ebda875c.d.ts} +0 -0
  56. /package/{cssm/index-89f0cb07.d.ts → index-89f0cb07.d.ts} +0 -0
  57. /package/{cssm/mobile-96988a65.d.ts → mobile-96988a65.d.ts} +0 -0
  58. /package/{cssm/useSkeleton-1b036d4b.d.ts → useSkeleton-1b036d4b.d.ts} +0 -0
@@ -1,22 +1,5 @@
1
1
  /// <reference types="react" />
2
- import React from "react";
3
- import { OptionShape, OptionsListProps } from "./typings-0f4b9bed";
4
- import { HeaderProps } from "./Component-ebda875c";
5
- type FooterProps = {
6
- handleClear?: () => void;
7
- handleApply?: () => void;
8
- showClear?: boolean;
9
- selectedDraft?: OptionShape[];
10
- };
11
- declare const Footer: ({ handleApply, handleClear, showClear, selectedDraft }: FooterProps) => React.JSX.Element;
12
- declare const OptionsListWithApply: React.ForwardRefExoticComponent<OptionsListProps & {
13
- showClear?: boolean | undefined;
14
- onClose?: (() => void) | undefined;
15
- selectedDraft?: OptionShape[] | undefined;
16
- OptionsList?: React.FC<OptionsListProps & React.RefAttributes<HTMLDivElement>> | undefined;
17
- Footer?: React.FC<FooterProps> | undefined;
18
- Header?: React.FC<HeaderProps> | undefined;
19
- headerProps?: HeaderProps | undefined;
20
- showHeaderWithSelectAll?: boolean | undefined;
21
- } & React.RefAttributes<HTMLDivElement>>;
22
- export { FooterProps, Footer, OptionsListWithApply };
2
+ import React from 'react';
3
+ import { CheckmarkProps } from "./typings-0f4b9bed";
4
+ declare const BaseCheckmark: ({ selected, disabled, className, multiple, }: CheckmarkProps) => React.JSX.Element;
5
+ export { BaseCheckmark };
@@ -1,72 +1,296 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { ReactNode } from "react";
4
- import { BottomSheetProps } from "./index-f12ee135";
5
- import { BaseSelectProps } from "./typings-0f4b9bed";
6
- type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
3
+ import { ChangeEvent, ElementType, HTMLAttributes, InputHTMLAttributes, MouseEvent, ReactNode, RefAttributes } from "react";
4
+ import { FormControlProps } from "./index-c44170fe";
5
+ type StyleColors = {
6
+ default: {
7
+ [key: string]: string;
8
+ };
9
+ inverted: {
10
+ [key: string]: string;
11
+ };
12
+ };
13
+ type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value' | 'defaultValue' | 'onChange' | 'onClick' | 'onMouseDown' | 'enterKeyHint'> & {
14
+ /**
15
+ * Значение поля ввода
16
+ */
17
+ value?: string;
18
+ /**
19
+ * Начальное значение поля
20
+ */
21
+ defaultValue?: string;
22
+ /**
23
+ * Растягивает компонент на ширину контейнера
24
+ */
25
+ block?: boolean;
26
+ /**
27
+ * Крестик для очистки поля
28
+ */
29
+ clear?: boolean;
30
+ /**
31
+ * Размер компонента
32
+ */
33
+ size?: 's' | 'm' | 'l' | 'xl';
34
+ /**
35
+ * Набор цветов для компонента
36
+ */
37
+ colors?: 'default' | 'inverted';
38
+ /**
39
+ * Отображение ошибки
40
+ */
41
+ error?: ReactNode | boolean;
42
+ /**
43
+ * Отображение иконки успеха
44
+ */
45
+ success?: boolean;
46
+ /**
47
+ * Текст подсказки
48
+ */
49
+ hint?: ReactNode;
50
+ /**
51
+ * Лейбл компонента
52
+ */
53
+ label?: React.ReactNode;
54
+ /**
55
+ * Вид лейбла внутри / снаружи
56
+ */
57
+ labelView?: 'inner' | 'outer';
58
+ /**
59
+ * Атрибут type
60
+ */
61
+ type?: 'number' | 'card' | 'email' | 'money' | 'password' | 'tel' | 'text';
62
+ /**
63
+ * Ref для обертки input
64
+ */
65
+ wrapperRef?: React.Ref<HTMLDivElement> | null;
66
+ /**
67
+ * Слот слева
68
+ */
69
+ leftAddons?: React.ReactNode;
70
+ /**
71
+ * Слот справа
72
+ */
73
+ rightAddons?: React.ReactNode;
74
+ /**
75
+ * Свойства для обертки левых аддонов
76
+ */
77
+ leftAddonsProps?: HTMLAttributes<HTMLDivElement>;
78
+ /**
79
+ * Свойства для обертки правых аддонов
80
+ */
81
+ rightAddonsProps?: HTMLAttributes<HTMLDivElement>;
82
+ /**
83
+ * Слот под инпутом
84
+ */
85
+ bottomAddons?: React.ReactNode;
86
+ /**
87
+ * Дополнительный класс
88
+ */
89
+ className?: string;
90
+ /**
91
+ * Дополнительный класс для поля
92
+ */
93
+ fieldClassName?: string;
94
+ /**
95
+ * Дополнительный класс инпута
96
+ */
97
+ inputClassName?: string;
98
+ /**
99
+ * Дополнительный класс для лейбла
100
+ */
101
+ labelClassName?: string;
102
+ /**
103
+ * Дополнительный класс для аддонов
104
+ */
105
+ addonsClassName?: string;
106
+ /**
107
+ * Класс, который будет установлен при фокусе
108
+ */
109
+ focusedClassName?: string;
110
+ /**
111
+ * Класс, который будет установлен, если в поле есть значение
112
+ */
113
+ filledClassName?: string;
114
+ /**
115
+ * Обработчик поля ввода
116
+ */
117
+ onChange?: (event: ChangeEvent<HTMLInputElement>, payload: {
118
+ value: string;
119
+ }) => void;
120
+ /**
121
+ * Обработчик нажатия на кнопку очистки
122
+ */
123
+ onClear?: (event: MouseEvent<HTMLButtonElement>) => void;
7
124
  /**
8
- * Футер
9
- * @deprecated Используйте bottomSheetProps.actionButton
125
+ * Обработчик клика по полю
10
126
  */
11
- footer?: ReactNode;
127
+ onClick?: (event: MouseEvent<HTMLDivElement>) => void;
12
128
  /**
13
- * Будет ли свайпаться шторка
14
- * @deprecated Используйте bottomSheetProps.swipeable
129
+ * Обработчик MouseDown по полю
15
130
  */
16
- swipeable?: boolean;
131
+ onMouseDown?: (event: MouseEvent<HTMLDivElement>) => void;
17
132
  /**
18
- * Отображать в BottomSheet
133
+ * Обработчик MouseUp по полю
19
134
  */
20
- isBottomSheet?: boolean;
135
+ onMouseUp?: (event: MouseEvent<HTMLDivElement>) => void;
21
136
  /**
22
- * Дополнительные пропсы шторки
137
+ * Компонент FormControl
23
138
  */
24
- bottomSheetProps?: Partial<BottomSheetProps>;
139
+ FormControlComponent?: ElementType<FormControlProps & RefAttributes<HTMLDivElement>>;
25
140
  /**
26
- * Дополнительные пропсы модалки
141
+ * Идентификатор для систем автоматизированного тестирования
27
142
  */
28
- modalProps?: Partial<React.ComponentProps<typeof ModalMobile>>;
143
+ dataTestId?: string;
29
144
  /**
30
- * Дополнительные пропсы шапки модалки
145
+ * Стили компонента для default и inverted режима.
31
146
  */
32
- modalHeaderProps?: Partial<React.ComponentProps<typeof ModalMobile.Header>>;
147
+ colorStyles?: StyleColors;
33
148
  /**
34
- * Дополнительные пропсы футера модалки
149
+ * Запрещает ввод с клавиатуры
35
150
  */
36
- modalFooterProps?: Partial<React.ComponentProps<typeof ModalMobile.Footer>>;
151
+ disableUserInput?: boolean;
37
152
  };
38
- declare const BaseSelectMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "Checkmark"> & {
153
+ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "size" | "type" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "enterKeyHint"> & {
154
+ /**
155
+ * Значение поля ввода
156
+ */
157
+ value?: string | undefined;
158
+ /**
159
+ * Начальное значение поля
160
+ */
161
+ defaultValue?: string | undefined;
162
+ /**
163
+ * Растягивает компонент на ширину контейнера
164
+ */
165
+ block?: boolean | undefined;
166
+ /**
167
+ * Крестик для очистки поля
168
+ */
169
+ clear?: boolean | undefined;
170
+ /**
171
+ * Размер компонента
172
+ */
173
+ size?: "s" | "m" | "l" | "xl" | undefined;
174
+ /**
175
+ * Набор цветов для компонента
176
+ */
177
+ colors?: "default" | "inverted" | undefined;
178
+ /**
179
+ * Отображение ошибки
180
+ */
181
+ error?: ReactNode | boolean;
182
+ /**
183
+ * Отображение иконки успеха
184
+ */
185
+ success?: boolean | undefined;
186
+ /**
187
+ * Текст подсказки
188
+ */
189
+ hint?: ReactNode;
190
+ /**
191
+ * Лейбл компонента
192
+ */
193
+ label?: React.ReactNode;
194
+ /**
195
+ * Вид лейбла внутри / снаружи
196
+ */
197
+ labelView?: "inner" | "outer" | undefined;
198
+ /**
199
+ * Атрибут type
200
+ */
201
+ type?: "number" | "text" | "tel" | "email" | "password" | "card" | "money" | undefined;
202
+ /**
203
+ * Ref для обертки input
204
+ */
205
+ wrapperRef?: React.Ref<HTMLDivElement> | undefined;
206
+ /**
207
+ * Слот слева
208
+ */
209
+ leftAddons?: React.ReactNode;
210
+ /**
211
+ * Слот справа
212
+ */
213
+ rightAddons?: React.ReactNode;
214
+ /**
215
+ * Свойства для обертки левых аддонов
216
+ */
217
+ leftAddonsProps?: React.HTMLAttributes<HTMLDivElement> | undefined;
218
+ /**
219
+ * Свойства для обертки правых аддонов
220
+ */
221
+ rightAddonsProps?: React.HTMLAttributes<HTMLDivElement> | undefined;
222
+ /**
223
+ * Слот под инпутом
224
+ */
225
+ bottomAddons?: React.ReactNode;
226
+ /**
227
+ * Дополнительный класс
228
+ */
229
+ className?: string | undefined;
230
+ /**
231
+ * Дополнительный класс для поля
232
+ */
233
+ fieldClassName?: string | undefined;
234
+ /**
235
+ * Дополнительный класс инпута
236
+ */
237
+ inputClassName?: string | undefined;
238
+ /**
239
+ * Дополнительный класс для лейбла
240
+ */
241
+ labelClassName?: string | undefined;
242
+ /**
243
+ * Дополнительный класс для аддонов
244
+ */
245
+ addonsClassName?: string | undefined;
246
+ /**
247
+ * Класс, который будет установлен при фокусе
248
+ */
249
+ focusedClassName?: string | undefined;
250
+ /**
251
+ * Класс, который будет установлен, если в поле есть значение
252
+ */
253
+ filledClassName?: string | undefined;
254
+ /**
255
+ * Обработчик поля ввода
256
+ */
257
+ onChange?: ((event: ChangeEvent<HTMLInputElement>, payload: {
258
+ value: string;
259
+ }) => void) | undefined;
260
+ /**
261
+ * Обработчик нажатия на кнопку очистки
262
+ */
263
+ onClear?: ((event: MouseEvent<HTMLButtonElement>) => void) | undefined;
39
264
  /**
40
- * Футер
41
- * @deprecated Используйте bottomSheetProps.actionButton
265
+ * Обработчик клика по полю
42
266
  */
43
- footer?: ReactNode;
267
+ onClick?: ((event: MouseEvent<HTMLDivElement>) => void) | undefined;
44
268
  /**
45
- * Будет ли свайпаться шторка
46
- * @deprecated Используйте bottomSheetProps.swipeable
269
+ * Обработчик MouseDown по полю
47
270
  */
48
- swipeable?: boolean | undefined;
271
+ onMouseDown?: ((event: MouseEvent<HTMLDivElement>) => void) | undefined;
49
272
  /**
50
- * Отображать в BottomSheet
273
+ * Обработчик MouseUp по полю
51
274
  */
52
- isBottomSheet?: boolean | undefined;
275
+ onMouseUp?: ((event: MouseEvent<HTMLDivElement>) => void) | undefined;
53
276
  /**
54
- * Дополнительные пропсы шторки
277
+ * Компонент FormControl
55
278
  */
56
- bottomSheetProps?: Partial<BottomSheetProps> | undefined;
279
+ FormControlComponent?: React.ElementType<Omit<import("./index-ebda875c").BaseFormControlProps, "styles" | "colorStyles"> & {
280
+ breakpoint?: number | undefined;
281
+ defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
282
+ } & React.RefAttributes<HTMLDivElement>> | undefined;
57
283
  /**
58
- * Дополнительные пропсы модалки
284
+ * Идентификатор для систем автоматизированного тестирования
59
285
  */
60
- modalProps?: Partial<ModalMobileProps & React.RefAttributes<HTMLDivElement>> | undefined;
286
+ dataTestId?: string | undefined;
61
287
  /**
62
- * Дополнительные пропсы шапки модалки
288
+ * Стили компонента для default и inverted режима.
63
289
  */
64
- modalHeaderProps?: Partial<import("./Component-c76d6398").HeaderProps> | undefined;
290
+ colorStyles?: StyleColors | undefined;
65
291
  /**
66
- * Дополнительные пропсы футера модалки
292
+ * Запрещает ввод с клавиатуры
67
293
  */
68
- modalFooterProps?: Partial<import("./Component.mobile-f1f15074").FooterProps> | undefined;
69
- } & React.RefAttributes<unknown>>;
70
- export * from "./Component.mobile-f1f15074";
71
- export { ModalMobileProps } from "./typings-bdb4c6b9";
72
- export { SelectMobileProps, BaseSelectMobile };
294
+ disableUserInput?: boolean | undefined;
295
+ } & React.RefAttributes<HTMLInputElement>>;
296
+ export { StyleColors, BaseInputProps, BaseInput };
@@ -1,12 +1,101 @@
1
- /// <reference types="react" />
2
1
  /// <reference types="react-transition-group" />
2
+ /// <reference types="react" />
3
3
  import React from 'react';
4
- import { CheckboxProps } from "./index-ebda875c";
5
- type HeaderProps = {
6
- checked?: boolean;
7
- indeterminate?: boolean;
8
- onChange?: CheckboxProps['onChange'];
9
- mobile?: boolean;
4
+ import { CSSProperties, MutableRefObject, ReactNode } from "react";
5
+ import { CSSTransitionProps } from 'react-transition-group/CSSTransition';
6
+ import { BasePlacement, VariationPlacement } from '@popperjs/core';
7
+ type RefElement = HTMLElement | null;
8
+ type Position = BasePlacement | VariationPlacement;
9
+ type PopoverProps = {
10
+ /**
11
+ * Управление состоянием поповера (открыт/закрыт)
12
+ */
13
+ open: boolean;
14
+ /**
15
+ * Элемент, относительного которого появляется поповер
16
+ */
17
+ anchorElement: RefElement;
18
+ /**
19
+ * Использовать ширину родительского элемента
20
+ */
21
+ useAnchorWidth?: boolean;
22
+ /**
23
+ * Позиционирование поповера
24
+ */
25
+ position?: Position;
26
+ /**
27
+ * Запрещает поповеру менять свою позицию.
28
+ * Например, если места снизу недостаточно,то он все равно будет показан снизу
29
+ */
30
+ preventFlip?: boolean;
31
+ /**
32
+ * Запрещает поповеру менять свою позицию, если он не влезает в видимую область.
33
+ */
34
+ preventOverflow?: boolean;
35
+ /**
36
+ * Позволяет поповеру подствраивать свою высоту под границы экрана, если из-за величины контента он выходит за рамки видимой области экрана
37
+ */
38
+ availableHeight?: boolean;
39
+ /**
40
+ * Если `true`, будет отрисована стрелочка
41
+ */
42
+ withArrow?: boolean;
43
+ /**
44
+ * Смещение поповера.
45
+ * Если позиционирование top, bottom, то [x, y].
46
+ * Если позиционирование left, right то [y, x].
47
+ */
48
+ offset?: [number, number];
49
+ /**
50
+ * Дополнительный класс для поповера
51
+ */
52
+ popperClassName?: string;
53
+ /**
54
+ * Дополнительный класс для стрелочки
55
+ */
56
+ arrowClassName?: string;
57
+ /**
58
+ * Функция, возвращающая контейнер, в который будет рендериться поповер
59
+ */
60
+ getPortalContainer?: () => HTMLElement;
61
+ /**
62
+ * CSSTransitionProps, прокидываются в компонент CSSTransitionProps.
63
+ */
64
+ transition?: CSSTransitionProps;
65
+ /**
66
+ * Выставляет кастомное свойство transition-duration
67
+ */
68
+ transitionDuration?: CSSProperties['transitionDuration'];
69
+ /**
70
+ * Рендерит компонент, обернутый в Transition
71
+ */
72
+ withTransition?: boolean;
73
+ /**
74
+ * Идентификатор для систем автоматизированного тестирования
75
+ */
76
+ dataTestId?: string;
77
+ /**
78
+ * Хранит функцию, с помощью которой можно обновить положение компонента
79
+ */
80
+ update?: MutableRefObject<() => void>;
81
+ /**
82
+ * Дополнительный класс
83
+ */
84
+ className?: string;
85
+ /**
86
+ * z-index компонента
87
+ */
88
+ zIndex?: number;
89
+ /**
90
+ * Если поповер не помещается в переданной позиции (position), он попробует открыться в другой позиции,
91
+ * по очереди для каждой позиции из этого списка.
92
+ * Если не передавать, то поповер открывается в противоположном направлении от переданного position.
93
+ */
94
+ fallbackPlacements?: Position[];
95
+ /**
96
+ * Контент
97
+ */
98
+ children?: ReactNode;
10
99
  };
11
- declare const Header: React.FC<HeaderProps>;
12
- export { HeaderProps, Header };
100
+ declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLDivElement>>;
101
+ export { Position, PopoverProps, Popover };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { BaseFormControlProps } from "./index-c44170fe";
3
+ import { BaseFormControlProps } from "./index-ebda875c";
4
4
  type FormControlDesktopProps = Omit<BaseFormControlProps, 'styles' | 'colorStyles'>;
5
5
  declare const FormControlDesktop: React.ForwardRefExoticComponent<FormControlDesktopProps & React.RefAttributes<HTMLDivElement>>;
6
6
  export { FormControlDesktopProps, FormControlDesktop };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { BaseFormControlProps } from "./index-c44170fe";
3
+ import { BaseFormControlProps } from "./index-ebda875c";
4
4
  type FormControlMobileProps = Omit<BaseFormControlProps, 'styles' | 'colorStyles'>;
5
5
  declare const FormControlMobile: React.ForwardRefExoticComponent<FormControlMobileProps & React.RefAttributes<HTMLDivElement>>;
6
6
  export { FormControlMobileProps, FormControlMobile };
@@ -1,7 +1,15 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { PickerButtonMobileProps } from "./Component.mobile-d446ae02";
4
+ import { AdditionalMobileProps } from "./shared-4cd3936b";
5
+ import { PickerButtonDesktopProps } from "./desktop-d446ae02";
6
+ type PickerButtonMobileProps = Omit<PickerButtonDesktopProps, "OptionsList" | "Checkmark" | "onScroll"> & AdditionalMobileProps & {
7
+ /**
8
+ * Контрольная точка для кнопки, с нее начинается desktop версия
9
+ * @default 1024
10
+ */
11
+ breakpoint?: number;
12
+ };
5
13
  type CustomPickerButtonMobileProps = Omit<PickerButtonMobileProps, 'view' | 'colors'> & Pick<CustomButtonProps, 'backgroundColor' | 'contentColor' | 'stateType'>;
6
14
  declare const CustomPickerButtonMobile: React.ForwardRefExoticComponent<Omit<PickerButtonMobileProps, "view" | "colors"> & Pick<CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & React.RefAttributes<HTMLInputElement>>;
7
15
  export { CustomPickerButtonMobileProps, CustomPickerButtonMobile };
@@ -1,5 +1,22 @@
1
1
  /// <reference types="react" />
2
- import React from 'react';
3
- import { CheckmarkProps } from "./typings-0f4b9bed";
4
- declare const BaseCheckmark: ({ selected, disabled, className, multiple, }: CheckmarkProps) => React.JSX.Element;
5
- export { BaseCheckmark };
2
+ import React from "react";
3
+ import { OptionShape, OptionsListProps } from "./typings-0f4b9bed";
4
+ import { HeaderProps } from "./Component-ebda875c";
5
+ type FooterProps = {
6
+ handleClear?: () => void;
7
+ handleApply?: () => void;
8
+ showClear?: boolean;
9
+ selectedDraft?: OptionShape[];
10
+ };
11
+ declare const Footer: ({ handleApply, handleClear, showClear, selectedDraft }: FooterProps) => React.JSX.Element;
12
+ declare const OptionsListWithApply: React.ForwardRefExoticComponent<OptionsListProps & {
13
+ showClear?: boolean | undefined;
14
+ onClose?: (() => void) | undefined;
15
+ selectedDraft?: OptionShape[] | undefined;
16
+ OptionsList?: React.FC<OptionsListProps & React.RefAttributes<HTMLDivElement>> | undefined;
17
+ Footer?: React.FC<FooterProps> | undefined;
18
+ Header?: React.FC<HeaderProps> | undefined;
19
+ headerProps?: HeaderProps | undefined;
20
+ showHeaderWithSelectAll?: boolean | undefined;
21
+ } & React.RefAttributes<HTMLDivElement>>;
22
+ export { FooterProps, Footer, OptionsListWithApply };