@alfalab/core-components-custom-picker-button 1.0.7 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm/Component-3e68f8db.d.ts → Component-4cd3936b.d.ts} +2 -2
- package/Component-5e1b8383.d.ts +21 -4
- package/Component-63dec22f.d.ts +167 -0
- package/{cssm/Component-3885b0d7.d.ts → Component-89a3cf4c.d.ts} +5 -4
- package/Component-8b2c2707.d.ts +12 -0
- package/Component-9211a437.d.ts +38 -0
- package/Component-e81c389f.d.ts +5 -0
- package/Component.desktop-2e2b2125.d.ts +6 -0
- package/Component.desktop-785df74d.d.ts +6 -0
- package/Component.desktop.d.ts +2 -1
- package/Component.desktop.js +2 -1
- package/Component.mobile-06ffd24b.d.ts +41 -0
- package/Component.mobile-755fbaa3.d.ts +6 -0
- package/Component.mobile-d446ae02.d.ts +23 -0
- package/Component.mobile-d7e9f69d.d.ts +6 -0
- package/{cssm/Component.mobile-b2c0420d.d.ts → Component.mobile-f1f15074.d.ts} +1 -2
- package/Component.mobile.d.ts +2 -1
- package/Component.mobile.js +1 -1
- package/Component.modal.mobile-5e1b8383.d.ts +60 -0
- package/Component.responsive-785df74d.d.ts +26 -0
- package/Component.responsive.d.ts +3 -3
- package/Component.responsive.js +1 -1
- package/{esm/component-3885b0d7.d.ts → component-89a3cf4c.d.ts} +8 -7
- package/cssm/{Component-3e68f8db.d.ts → Component-4cd3936b.d.ts} +2 -2
- package/cssm/Component-5e1b8383.d.ts +21 -4
- package/cssm/Component-63dec22f.d.ts +167 -0
- package/{Component-3885b0d7.d.ts → cssm/Component-89a3cf4c.d.ts} +5 -4
- package/cssm/Component-8b2c2707.d.ts +12 -0
- package/cssm/Component-9211a437.d.ts +38 -0
- package/cssm/Component-e81c389f.d.ts +5 -0
- package/cssm/Component.desktop-2e2b2125.d.ts +6 -0
- package/cssm/Component.desktop-785df74d.d.ts +6 -0
- package/cssm/Component.desktop.d.ts +2 -1
- package/cssm/Component.desktop.js +2 -1
- package/cssm/Component.mobile-06ffd24b.d.ts +41 -0
- package/cssm/Component.mobile-755fbaa3.d.ts +6 -0
- package/cssm/Component.mobile-d446ae02.d.ts +23 -0
- package/cssm/Component.mobile-d7e9f69d.d.ts +6 -0
- package/{esm/Component.mobile-b2c0420d.d.ts → cssm/Component.mobile-f1f15074.d.ts} +1 -2
- package/cssm/Component.mobile.d.ts +2 -1
- package/cssm/Component.mobile.js +1 -1
- package/cssm/Component.modal.mobile-5e1b8383.d.ts +60 -0
- package/cssm/Component.responsive-785df74d.d.ts +26 -0
- package/cssm/Component.responsive.d.ts +3 -3
- package/cssm/Component.responsive.js +1 -1
- package/cssm/{component-3885b0d7.d.ts → component-89a3cf4c.d.ts} +8 -7
- package/cssm/desktop-2e2b2125.d.ts +2 -0
- package/{Component-2aef4eba.d.ts → cssm/desktop-d446ae02.d.ts} +8 -19
- package/cssm/desktop.d.ts +1 -1
- package/cssm/desktop.js +1 -1
- package/cssm/field/Component.d.ts +1 -2
- package/cssm/field/Component.js +2 -2
- package/cssm/field/index.js +1 -1
- package/cssm/{hook-3e68f8db.d.ts → hook-9ea9e32c.d.ts} +10 -8
- package/cssm/{index-3885b0d7.d.ts → index-89a3cf4c.d.ts} +2 -2
- package/cssm/index-8b2c2707.d.ts +6 -0
- package/cssm/index-c44170fe.d.ts +23 -0
- package/cssm/{index-701e77da.d.ts → index-df3978fd.d.ts} +1 -1
- package/cssm/index-e81c389f.d.ts +1 -1
- package/cssm/index-ebda875c.d.ts +1 -1
- package/cssm/index-f12ee135.d.ts +3 -3
- package/cssm/index.d.ts +2 -2
- package/cssm/index.js +1 -1
- package/cssm/mobile-755fbaa3.d.ts +2 -0
- package/cssm/mobile-96988a65.d.ts +2 -0
- package/cssm/mobile.d.ts +1 -1
- package/cssm/mobile.js +1 -1
- package/{esm/index-3e68f8db.d.ts → cssm/shared-4cd3936b.d.ts} +8 -14
- package/cssm/types-4480ac4f.d.ts +3 -0
- package/{esm/types-3441be57.d.ts → cssm/types-d9f9bbcc.d.ts} +30 -10
- package/cssm/typings-5e1b8383.d.ts +2 -1
- package/cssm/typings-9211a437.d.ts +95 -0
- package/cssm/{utils-b64479aa.d.ts → utils-49cc3c24.d.ts} +3 -3
- package/desktop-2e2b2125.d.ts +2 -0
- package/{cssm/Component-2aef4eba.d.ts → desktop-d446ae02.d.ts} +8 -19
- package/desktop.d.ts +1 -1
- package/desktop.js +1 -1
- package/{Component-3e68f8db.d.ts → esm/Component-4cd3936b.d.ts} +2 -2
- package/esm/Component-5e1b8383.d.ts +21 -4
- package/esm/Component-63dec22f.d.ts +167 -0
- package/esm/{Component-3885b0d7.d.ts → Component-89a3cf4c.d.ts} +5 -4
- package/esm/Component-8b2c2707.d.ts +12 -0
- package/esm/Component-9211a437.d.ts +38 -0
- package/esm/Component-e81c389f.d.ts +5 -0
- package/esm/Component.desktop-2e2b2125.d.ts +6 -0
- package/esm/Component.desktop-785df74d.d.ts +6 -0
- package/esm/Component.desktop.d.ts +2 -1
- package/esm/Component.desktop.js +2 -1
- package/esm/Component.mobile-06ffd24b.d.ts +41 -0
- package/esm/Component.mobile-755fbaa3.d.ts +6 -0
- package/esm/Component.mobile-d446ae02.d.ts +23 -0
- package/esm/Component.mobile-d7e9f69d.d.ts +6 -0
- package/{Component.mobile-b2c0420d.d.ts → esm/Component.mobile-f1f15074.d.ts} +1 -2
- package/esm/Component.mobile.d.ts +2 -1
- package/esm/Component.mobile.js +1 -1
- package/esm/Component.modal.mobile-5e1b8383.d.ts +60 -0
- package/esm/Component.responsive-785df74d.d.ts +26 -0
- package/esm/Component.responsive.d.ts +3 -3
- package/esm/Component.responsive.js +1 -1
- package/{modern/component-3885b0d7.d.ts → esm/component-89a3cf4c.d.ts} +8 -7
- package/esm/desktop-2e2b2125.d.ts +2 -0
- package/esm/{Component-2aef4eba.d.ts → desktop-d446ae02.d.ts} +8 -19
- package/esm/desktop.d.ts +1 -1
- package/esm/desktop.js +1 -1
- package/esm/field/Component.d.ts +1 -2
- package/esm/field/Component.js +2 -2
- package/esm/field/index.css +5 -5
- package/esm/field/index.js +1 -1
- package/esm/{hook-3e68f8db.d.ts → hook-9ea9e32c.d.ts} +10 -8
- package/esm/{index-3885b0d7.d.ts → index-89a3cf4c.d.ts} +2 -2
- package/esm/index-8b2c2707.d.ts +6 -0
- package/esm/index-c44170fe.d.ts +23 -0
- package/esm/{index-701e77da.d.ts → index-df3978fd.d.ts} +1 -1
- package/esm/index-e81c389f.d.ts +1 -1
- package/esm/index-ebda875c.d.ts +1 -1
- package/esm/index-f12ee135.d.ts +3 -3
- package/esm/index.d.ts +2 -2
- package/esm/index.js +1 -1
- package/esm/mobile-755fbaa3.d.ts +2 -0
- package/esm/mobile-96988a65.d.ts +2 -0
- package/esm/mobile.d.ts +1 -1
- package/esm/mobile.js +1 -1
- package/{cssm/index-3e68f8db.d.ts → esm/shared-4cd3936b.d.ts} +8 -14
- package/esm/types-4480ac4f.d.ts +3 -0
- package/{modern/types-3441be57.d.ts → esm/types-d9f9bbcc.d.ts} +30 -10
- package/esm/typings-5e1b8383.d.ts +2 -1
- package/esm/typings-9211a437.d.ts +95 -0
- package/esm/{utils-b64479aa.d.ts → utils-49cc3c24.d.ts} +3 -3
- package/field/Component.d.ts +1 -2
- package/field/Component.js +3 -3
- package/field/index.css +5 -5
- package/field/index.js +1 -1
- package/{hook-3e68f8db.d.ts → hook-9ea9e32c.d.ts} +10 -8
- package/{index-3885b0d7.d.ts → index-89a3cf4c.d.ts} +2 -2
- package/index-8b2c2707.d.ts +6 -0
- package/index-c44170fe.d.ts +23 -0
- package/{index-701e77da.d.ts → index-df3978fd.d.ts} +1 -1
- package/index-e81c389f.d.ts +1 -1
- package/index-ebda875c.d.ts +1 -1
- package/index-f12ee135.d.ts +3 -3
- package/index.d.ts +2 -2
- package/index.js +1 -1
- package/mobile-755fbaa3.d.ts +2 -0
- package/mobile-96988a65.d.ts +2 -0
- package/mobile.d.ts +1 -1
- package/mobile.js +1 -1
- package/modern/{Component-3e68f8db.d.ts → Component-4cd3936b.d.ts} +2 -2
- package/modern/Component-5e1b8383.d.ts +21 -4
- package/modern/Component-63dec22f.d.ts +167 -0
- package/modern/{Component-3885b0d7.d.ts → Component-89a3cf4c.d.ts} +5 -4
- package/modern/Component-8b2c2707.d.ts +12 -0
- package/modern/Component-9211a437.d.ts +38 -0
- package/modern/Component-e81c389f.d.ts +5 -0
- package/modern/Component.desktop-2e2b2125.d.ts +6 -0
- package/modern/Component.desktop-785df74d.d.ts +6 -0
- package/modern/Component.desktop.d.ts +2 -1
- package/modern/Component.desktop.js +2 -1
- package/modern/Component.mobile-06ffd24b.d.ts +41 -0
- package/modern/Component.mobile-755fbaa3.d.ts +6 -0
- package/modern/Component.mobile-d446ae02.d.ts +23 -0
- package/modern/Component.mobile-d7e9f69d.d.ts +6 -0
- package/modern/{Component.mobile-b2c0420d.d.ts → Component.mobile-f1f15074.d.ts} +1 -2
- package/modern/Component.mobile.d.ts +2 -1
- package/modern/Component.mobile.js +1 -1
- package/modern/Component.modal.mobile-5e1b8383.d.ts +60 -0
- package/modern/Component.responsive-785df74d.d.ts +26 -0
- package/modern/Component.responsive.d.ts +3 -3
- package/modern/Component.responsive.js +1 -1
- package/{component-3885b0d7.d.ts → modern/component-89a3cf4c.d.ts} +8 -7
- package/modern/desktop-2e2b2125.d.ts +2 -0
- package/modern/{Component-2aef4eba.d.ts → desktop-d446ae02.d.ts} +8 -19
- package/modern/desktop.d.ts +1 -1
- package/modern/desktop.js +1 -1
- package/modern/field/Component.d.ts +1 -2
- package/modern/field/Component.js +2 -2
- package/modern/field/index.css +5 -5
- package/modern/field/index.js +1 -1
- package/modern/{hook-3e68f8db.d.ts → hook-9ea9e32c.d.ts} +10 -8
- package/modern/{index-3885b0d7.d.ts → index-89a3cf4c.d.ts} +2 -2
- package/modern/index-8b2c2707.d.ts +6 -0
- package/modern/index-c44170fe.d.ts +23 -0
- package/modern/{index-701e77da.d.ts → index-df3978fd.d.ts} +1 -1
- package/modern/index-e81c389f.d.ts +1 -1
- package/modern/index-ebda875c.d.ts +1 -1
- package/modern/index-f12ee135.d.ts +3 -3
- package/modern/index.d.ts +2 -2
- package/modern/index.js +1 -1
- package/modern/mobile-755fbaa3.d.ts +2 -0
- package/modern/mobile-96988a65.d.ts +2 -0
- package/modern/mobile.d.ts +1 -1
- package/modern/mobile.js +1 -1
- package/{index-3e68f8db.d.ts → modern/shared-4cd3936b.d.ts} +8 -14
- package/modern/types-4480ac4f.d.ts +3 -0
- package/{cssm/types-3441be57.d.ts → modern/types-d9f9bbcc.d.ts} +30 -10
- package/modern/typings-5e1b8383.d.ts +2 -1
- package/modern/typings-9211a437.d.ts +95 -0
- package/modern/{utils-b64479aa.d.ts → utils-49cc3c24.d.ts} +3 -3
- package/package.json +24 -4
- package/{modern/index-3e68f8db.d.ts → shared-4cd3936b.d.ts} +8 -14
- package/src/Component.desktop.tsx +42 -0
- package/src/Component.mobile.tsx +38 -0
- package/src/Component.responsive.tsx +60 -0
- package/src/desktop.ts +1 -0
- package/src/field/Component.tsx +79 -0
- package/src/field/index.module.css +18 -0
- package/src/field/index.ts +1 -0
- package/src/index.ts +4 -0
- package/src/mobile.ts +1 -0
- package/types-4480ac4f.d.ts +3 -0
- package/{types-3441be57.d.ts → types-d9f9bbcc.d.ts} +30 -10
- package/typings-5e1b8383.d.ts +2 -1
- package/typings-9211a437.d.ts +95 -0
- package/{utils-b64479aa.d.ts → utils-49cc3c24.d.ts} +3 -3
- package/Component-3ebe4754.d.ts +0 -176
- package/Component.mobile-ae13210f.d.ts +0 -7
- package/Component.responsive-2aef4eba.d.ts +0 -28
- package/cssm/Component-3ebe4754.d.ts +0 -176
- package/cssm/Component.mobile-ae13210f.d.ts +0 -7
- package/cssm/Component.responsive-2aef4eba.d.ts +0 -28
- package/cssm/index-2aef4eba.d.ts +0 -5
- package/cssm/index-3ebe4754.d.ts +0 -1
- package/cssm/responsive.d.ts +0 -2
- package/cssm/responsive.js +0 -21
- package/esm/Component-3ebe4754.d.ts +0 -176
- package/esm/Component.mobile-ae13210f.d.ts +0 -7
- package/esm/Component.responsive-2aef4eba.d.ts +0 -28
- package/esm/index-2aef4eba.d.ts +0 -5
- package/esm/index-3ebe4754.d.ts +0 -1
- package/esm/responsive.d.ts +0 -2
- package/esm/responsive.js +0 -12
- package/index-2aef4eba.d.ts +0 -5
- package/index-3ebe4754.d.ts +0 -1
- package/modern/Component-3ebe4754.d.ts +0 -176
- package/modern/Component.mobile-ae13210f.d.ts +0 -7
- package/modern/Component.responsive-2aef4eba.d.ts +0 -28
- package/modern/index-2aef4eba.d.ts +0 -5
- package/modern/index-3ebe4754.d.ts +0 -1
- package/modern/responsive.d.ts +0 -2
- package/modern/responsive.js +0 -11
- package/responsive.d.ts +0 -2
- package/responsive.js +0 -20
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { HTMLAttributes, ReactNode } from "react";
|
|
4
|
-
type FormControlProps = HTMLAttributes<HTMLDivElement> & {
|
|
5
|
-
/**
|
|
6
|
-
* Растягивает компонент на ширину контейнера
|
|
7
|
-
*/
|
|
8
|
-
block?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Размер компонента
|
|
11
|
-
*/
|
|
12
|
-
size?: 's' | 'm' | 'l' | 'xl';
|
|
13
|
-
/**
|
|
14
|
-
* Набор цветов для компонента
|
|
15
|
-
*/
|
|
16
|
-
colors?: 'default' | 'inverted';
|
|
17
|
-
/**
|
|
18
|
-
* Заблокированное состояние
|
|
19
|
-
*/
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Cостояние только для чтения
|
|
23
|
-
*/
|
|
24
|
-
readOnly?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Заполненное состояние
|
|
27
|
-
*/
|
|
28
|
-
filled?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Выбранное (фокус) состояние
|
|
31
|
-
*/
|
|
32
|
-
focused?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Отображение ошибки
|
|
35
|
-
*/
|
|
36
|
-
error?: ReactNode | boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Текст подсказки
|
|
39
|
-
*/
|
|
40
|
-
hint?: ReactNode;
|
|
41
|
-
/**
|
|
42
|
-
* Лейбл компонента
|
|
43
|
-
*/
|
|
44
|
-
label?: ReactNode;
|
|
45
|
-
/**
|
|
46
|
-
* Вид лейбла внутри / снаружи
|
|
47
|
-
*/
|
|
48
|
-
labelView?: 'inner' | 'outer';
|
|
49
|
-
/**
|
|
50
|
-
* Слот слева
|
|
51
|
-
*/
|
|
52
|
-
leftAddons?: ReactNode;
|
|
53
|
-
/**
|
|
54
|
-
* Слот справа
|
|
55
|
-
*/
|
|
56
|
-
rightAddons?: ReactNode;
|
|
57
|
-
/**
|
|
58
|
-
* Слот под полем
|
|
59
|
-
*/
|
|
60
|
-
bottomAddons?: ReactNode;
|
|
61
|
-
/**
|
|
62
|
-
* Дополнительный класс
|
|
63
|
-
*/
|
|
64
|
-
className?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Дополнительный класс для поля
|
|
67
|
-
*/
|
|
68
|
-
fieldClassName?: string;
|
|
69
|
-
/**
|
|
70
|
-
* Дополнительный класс для поля
|
|
71
|
-
*/
|
|
72
|
-
inputWrapperClassName?: string;
|
|
73
|
-
/**
|
|
74
|
-
* Дополнительный класс для лейбла
|
|
75
|
-
*/
|
|
76
|
-
labelClassName?: string;
|
|
77
|
-
/**
|
|
78
|
-
* Дополнительный класс для аддонов
|
|
79
|
-
*/
|
|
80
|
-
addonsClassName?: string;
|
|
81
|
-
/**
|
|
82
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
83
|
-
*/
|
|
84
|
-
dataTestId?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Компонент поля (инпут, textarea и пр.)
|
|
87
|
-
*/
|
|
88
|
-
children?: ReactNode;
|
|
89
|
-
};
|
|
90
|
-
declare const FormControl: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
91
|
-
/**
|
|
92
|
-
* Растягивает компонент на ширину контейнера
|
|
93
|
-
*/
|
|
94
|
-
block?: boolean | undefined;
|
|
95
|
-
/**
|
|
96
|
-
* Размер компонента
|
|
97
|
-
*/
|
|
98
|
-
size?: "s" | "m" | "l" | "xl" | undefined;
|
|
99
|
-
/**
|
|
100
|
-
* Набор цветов для компонента
|
|
101
|
-
*/
|
|
102
|
-
colors?: "default" | "inverted" | undefined;
|
|
103
|
-
/**
|
|
104
|
-
* Заблокированное состояние
|
|
105
|
-
*/
|
|
106
|
-
disabled?: boolean | undefined;
|
|
107
|
-
/**
|
|
108
|
-
* Cостояние только для чтения
|
|
109
|
-
*/
|
|
110
|
-
readOnly?: boolean | undefined;
|
|
111
|
-
/**
|
|
112
|
-
* Заполненное состояние
|
|
113
|
-
*/
|
|
114
|
-
filled?: boolean | undefined;
|
|
115
|
-
/**
|
|
116
|
-
* Выбранное (фокус) состояние
|
|
117
|
-
*/
|
|
118
|
-
focused?: boolean | undefined;
|
|
119
|
-
/**
|
|
120
|
-
* Отображение ошибки
|
|
121
|
-
*/
|
|
122
|
-
error?: ReactNode | boolean;
|
|
123
|
-
/**
|
|
124
|
-
* Текст подсказки
|
|
125
|
-
*/
|
|
126
|
-
hint?: ReactNode;
|
|
127
|
-
/**
|
|
128
|
-
* Лейбл компонента
|
|
129
|
-
*/
|
|
130
|
-
label?: ReactNode;
|
|
131
|
-
/**
|
|
132
|
-
* Вид лейбла внутри / снаружи
|
|
133
|
-
*/
|
|
134
|
-
labelView?: "inner" | "outer" | undefined;
|
|
135
|
-
/**
|
|
136
|
-
* Слот слева
|
|
137
|
-
*/
|
|
138
|
-
leftAddons?: ReactNode;
|
|
139
|
-
/**
|
|
140
|
-
* Слот справа
|
|
141
|
-
*/
|
|
142
|
-
rightAddons?: ReactNode;
|
|
143
|
-
/**
|
|
144
|
-
* Слот под полем
|
|
145
|
-
*/
|
|
146
|
-
bottomAddons?: ReactNode;
|
|
147
|
-
/**
|
|
148
|
-
* Дополнительный класс
|
|
149
|
-
*/
|
|
150
|
-
className?: string | undefined;
|
|
151
|
-
/**
|
|
152
|
-
* Дополнительный класс для поля
|
|
153
|
-
*/
|
|
154
|
-
fieldClassName?: string | undefined;
|
|
155
|
-
/**
|
|
156
|
-
* Дополнительный класс для поля
|
|
157
|
-
*/
|
|
158
|
-
inputWrapperClassName?: string | undefined;
|
|
159
|
-
/**
|
|
160
|
-
* Дополнительный класс для лейбла
|
|
161
|
-
*/
|
|
162
|
-
labelClassName?: string | undefined;
|
|
163
|
-
/**
|
|
164
|
-
* Дополнительный класс для аддонов
|
|
165
|
-
*/
|
|
166
|
-
addonsClassName?: string | undefined;
|
|
167
|
-
/**
|
|
168
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
169
|
-
*/
|
|
170
|
-
dataTestId?: string | undefined;
|
|
171
|
-
/**
|
|
172
|
-
* Компонент поля (инпут, textarea и пр.)
|
|
173
|
-
*/
|
|
174
|
-
children?: ReactNode;
|
|
175
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
176
|
-
export { FormControlProps, FormControl };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { AdditionalMobileProps } from "./index-3e68f8db";
|
|
4
|
-
import { PickerButtonDesktopProps } from "./Component-2aef4eba";
|
|
5
|
-
type PickerButtonMobileProps = Omit<PickerButtonDesktopProps, 'OptionsList' | 'Checkmark' | 'onScroll'> & AdditionalMobileProps;
|
|
6
|
-
declare const PickerButtonMobile: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "onScroll" | "OptionsList" | "Checkmark"> & AdditionalMobileProps & React.RefAttributes<HTMLInputElement>>;
|
|
7
|
-
export { PickerButtonMobileProps, PickerButtonMobile };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ButtonProps } from "./index-ebda875c";
|
|
4
|
-
import { AdditionalMobileProps } from "./index-3e68f8db";
|
|
5
|
-
import { PickerButtonDesktopProps } from "./Component-2aef4eba";
|
|
6
|
-
type PickerButtonMatchMedia = 'desktop' | 'mobile';
|
|
7
|
-
type PickerButtonResponsiveProps = PickerButtonDesktopProps & AdditionalMobileProps & {
|
|
8
|
-
/**
|
|
9
|
-
* Контрольная точка, с нее начинается desktop версия
|
|
10
|
-
* @default 1024
|
|
11
|
-
*/
|
|
12
|
-
breakpoint?: number;
|
|
13
|
-
};
|
|
14
|
-
declare const PickerButtonResponsive: React.ForwardRefExoticComponent<Omit<import("./index-3e68f8db").BaseSelectProps, "size" | "placeholder" | "onFocus" | "selected" | "multiple" | "hint" | "options" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "Arrow"> & Pick<ButtonProps, "view" | "leftAddons" | "rightAddons" | "loading"> & {
|
|
15
|
-
options: ((import("./index-3e68f8db").OptionShape | import("./index-3e68f8db").GroupShape) & {
|
|
16
|
-
icon?: React.FC<React.SVGProps<SVGSVGElement>> | undefined;
|
|
17
|
-
})[];
|
|
18
|
-
size?: import("./Component-2aef4eba").PickerButtonSize | undefined;
|
|
19
|
-
variant?: import("./Component-2aef4eba").PickerButtonVariant | undefined;
|
|
20
|
-
showArrow?: boolean | undefined;
|
|
21
|
-
} & AdditionalMobileProps & {
|
|
22
|
-
/**
|
|
23
|
-
* Контрольная точка, с нее начинается desktop версия
|
|
24
|
-
* @default 1024
|
|
25
|
-
*/
|
|
26
|
-
breakpoint?: number | undefined;
|
|
27
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
|
28
|
-
export { PickerButtonMatchMedia, PickerButtonResponsiveProps, PickerButtonResponsive };
|
package/cssm/index-2aef4eba.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from "./Component.responsive-2aef4eba";
|
|
2
|
-
export { PickerButtonResponsive as PickerButton };
|
|
3
|
-
export type { PickerButtonResponsiveProps as PickerButtonProps };
|
|
4
|
-
export type { PickerButtonDesktopProps, PickerButtonSize, PickerButtonVariant } from "./Component-2aef4eba";
|
|
5
|
-
export { getIcon } from "./index-701e77da";
|
package/cssm/index-3ebe4754.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Component-3ebe4754";
|
package/cssm/responsive.d.ts
DELETED
package/cssm/responsive.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var Component_responsive = require('./Component.responsive.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('@alfalab/core-components-mq/cssm');
|
|
9
|
-
require('./Component.desktop.js');
|
|
10
|
-
require('@alfalab/core-components-picker-button/cssm/desktop');
|
|
11
|
-
require('./field/Component.js');
|
|
12
|
-
require('classnames');
|
|
13
|
-
require('@alfalab/core-components-custom-button/cssm');
|
|
14
|
-
require('@alfalab/core-components-picker-button/cssm');
|
|
15
|
-
require('./field/index.module.css');
|
|
16
|
-
require('./Component.mobile.js');
|
|
17
|
-
require('@alfalab/core-components-picker-button/cssm/mobile');
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
exports.CustomPickerButtonResponsive = Component_responsive.CustomPickerButtonResponsive;
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { HTMLAttributes, ReactNode } from "react";
|
|
4
|
-
type FormControlProps = HTMLAttributes<HTMLDivElement> & {
|
|
5
|
-
/**
|
|
6
|
-
* Растягивает компонент на ширину контейнера
|
|
7
|
-
*/
|
|
8
|
-
block?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Размер компонента
|
|
11
|
-
*/
|
|
12
|
-
size?: 's' | 'm' | 'l' | 'xl';
|
|
13
|
-
/**
|
|
14
|
-
* Набор цветов для компонента
|
|
15
|
-
*/
|
|
16
|
-
colors?: 'default' | 'inverted';
|
|
17
|
-
/**
|
|
18
|
-
* Заблокированное состояние
|
|
19
|
-
*/
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Cостояние только для чтения
|
|
23
|
-
*/
|
|
24
|
-
readOnly?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Заполненное состояние
|
|
27
|
-
*/
|
|
28
|
-
filled?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Выбранное (фокус) состояние
|
|
31
|
-
*/
|
|
32
|
-
focused?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Отображение ошибки
|
|
35
|
-
*/
|
|
36
|
-
error?: ReactNode | boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Текст подсказки
|
|
39
|
-
*/
|
|
40
|
-
hint?: ReactNode;
|
|
41
|
-
/**
|
|
42
|
-
* Лейбл компонента
|
|
43
|
-
*/
|
|
44
|
-
label?: ReactNode;
|
|
45
|
-
/**
|
|
46
|
-
* Вид лейбла внутри / снаружи
|
|
47
|
-
*/
|
|
48
|
-
labelView?: 'inner' | 'outer';
|
|
49
|
-
/**
|
|
50
|
-
* Слот слева
|
|
51
|
-
*/
|
|
52
|
-
leftAddons?: ReactNode;
|
|
53
|
-
/**
|
|
54
|
-
* Слот справа
|
|
55
|
-
*/
|
|
56
|
-
rightAddons?: ReactNode;
|
|
57
|
-
/**
|
|
58
|
-
* Слот под полем
|
|
59
|
-
*/
|
|
60
|
-
bottomAddons?: ReactNode;
|
|
61
|
-
/**
|
|
62
|
-
* Дополнительный класс
|
|
63
|
-
*/
|
|
64
|
-
className?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Дополнительный класс для поля
|
|
67
|
-
*/
|
|
68
|
-
fieldClassName?: string;
|
|
69
|
-
/**
|
|
70
|
-
* Дополнительный класс для поля
|
|
71
|
-
*/
|
|
72
|
-
inputWrapperClassName?: string;
|
|
73
|
-
/**
|
|
74
|
-
* Дополнительный класс для лейбла
|
|
75
|
-
*/
|
|
76
|
-
labelClassName?: string;
|
|
77
|
-
/**
|
|
78
|
-
* Дополнительный класс для аддонов
|
|
79
|
-
*/
|
|
80
|
-
addonsClassName?: string;
|
|
81
|
-
/**
|
|
82
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
83
|
-
*/
|
|
84
|
-
dataTestId?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Компонент поля (инпут, textarea и пр.)
|
|
87
|
-
*/
|
|
88
|
-
children?: ReactNode;
|
|
89
|
-
};
|
|
90
|
-
declare const FormControl: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
91
|
-
/**
|
|
92
|
-
* Растягивает компонент на ширину контейнера
|
|
93
|
-
*/
|
|
94
|
-
block?: boolean | undefined;
|
|
95
|
-
/**
|
|
96
|
-
* Размер компонента
|
|
97
|
-
*/
|
|
98
|
-
size?: "s" | "m" | "l" | "xl" | undefined;
|
|
99
|
-
/**
|
|
100
|
-
* Набор цветов для компонента
|
|
101
|
-
*/
|
|
102
|
-
colors?: "default" | "inverted" | undefined;
|
|
103
|
-
/**
|
|
104
|
-
* Заблокированное состояние
|
|
105
|
-
*/
|
|
106
|
-
disabled?: boolean | undefined;
|
|
107
|
-
/**
|
|
108
|
-
* Cостояние только для чтения
|
|
109
|
-
*/
|
|
110
|
-
readOnly?: boolean | undefined;
|
|
111
|
-
/**
|
|
112
|
-
* Заполненное состояние
|
|
113
|
-
*/
|
|
114
|
-
filled?: boolean | undefined;
|
|
115
|
-
/**
|
|
116
|
-
* Выбранное (фокус) состояние
|
|
117
|
-
*/
|
|
118
|
-
focused?: boolean | undefined;
|
|
119
|
-
/**
|
|
120
|
-
* Отображение ошибки
|
|
121
|
-
*/
|
|
122
|
-
error?: ReactNode | boolean;
|
|
123
|
-
/**
|
|
124
|
-
* Текст подсказки
|
|
125
|
-
*/
|
|
126
|
-
hint?: ReactNode;
|
|
127
|
-
/**
|
|
128
|
-
* Лейбл компонента
|
|
129
|
-
*/
|
|
130
|
-
label?: ReactNode;
|
|
131
|
-
/**
|
|
132
|
-
* Вид лейбла внутри / снаружи
|
|
133
|
-
*/
|
|
134
|
-
labelView?: "inner" | "outer" | undefined;
|
|
135
|
-
/**
|
|
136
|
-
* Слот слева
|
|
137
|
-
*/
|
|
138
|
-
leftAddons?: ReactNode;
|
|
139
|
-
/**
|
|
140
|
-
* Слот справа
|
|
141
|
-
*/
|
|
142
|
-
rightAddons?: ReactNode;
|
|
143
|
-
/**
|
|
144
|
-
* Слот под полем
|
|
145
|
-
*/
|
|
146
|
-
bottomAddons?: ReactNode;
|
|
147
|
-
/**
|
|
148
|
-
* Дополнительный класс
|
|
149
|
-
*/
|
|
150
|
-
className?: string | undefined;
|
|
151
|
-
/**
|
|
152
|
-
* Дополнительный класс для поля
|
|
153
|
-
*/
|
|
154
|
-
fieldClassName?: string | undefined;
|
|
155
|
-
/**
|
|
156
|
-
* Дополнительный класс для поля
|
|
157
|
-
*/
|
|
158
|
-
inputWrapperClassName?: string | undefined;
|
|
159
|
-
/**
|
|
160
|
-
* Дополнительный класс для лейбла
|
|
161
|
-
*/
|
|
162
|
-
labelClassName?: string | undefined;
|
|
163
|
-
/**
|
|
164
|
-
* Дополнительный класс для аддонов
|
|
165
|
-
*/
|
|
166
|
-
addonsClassName?: string | undefined;
|
|
167
|
-
/**
|
|
168
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
169
|
-
*/
|
|
170
|
-
dataTestId?: string | undefined;
|
|
171
|
-
/**
|
|
172
|
-
* Компонент поля (инпут, textarea и пр.)
|
|
173
|
-
*/
|
|
174
|
-
children?: ReactNode;
|
|
175
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
176
|
-
export { FormControlProps, FormControl };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { AdditionalMobileProps } from "./index-3e68f8db";
|
|
4
|
-
import { PickerButtonDesktopProps } from "./Component-2aef4eba";
|
|
5
|
-
type PickerButtonMobileProps = Omit<PickerButtonDesktopProps, 'OptionsList' | 'Checkmark' | 'onScroll'> & AdditionalMobileProps;
|
|
6
|
-
declare const PickerButtonMobile: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "onScroll" | "OptionsList" | "Checkmark"> & AdditionalMobileProps & React.RefAttributes<HTMLInputElement>>;
|
|
7
|
-
export { PickerButtonMobileProps, PickerButtonMobile };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ButtonProps } from "./index-ebda875c";
|
|
4
|
-
import { AdditionalMobileProps } from "./index-3e68f8db";
|
|
5
|
-
import { PickerButtonDesktopProps } from "./Component-2aef4eba";
|
|
6
|
-
type PickerButtonMatchMedia = 'desktop' | 'mobile';
|
|
7
|
-
type PickerButtonResponsiveProps = PickerButtonDesktopProps & AdditionalMobileProps & {
|
|
8
|
-
/**
|
|
9
|
-
* Контрольная точка, с нее начинается desktop версия
|
|
10
|
-
* @default 1024
|
|
11
|
-
*/
|
|
12
|
-
breakpoint?: number;
|
|
13
|
-
};
|
|
14
|
-
declare const PickerButtonResponsive: React.ForwardRefExoticComponent<Omit<import("./index-3e68f8db").BaseSelectProps, "size" | "placeholder" | "onFocus" | "selected" | "multiple" | "hint" | "options" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "Arrow"> & Pick<ButtonProps, "view" | "leftAddons" | "rightAddons" | "loading"> & {
|
|
15
|
-
options: ((import("./index-3e68f8db").OptionShape | import("./index-3e68f8db").GroupShape) & {
|
|
16
|
-
icon?: React.FC<React.SVGProps<SVGSVGElement>> | undefined;
|
|
17
|
-
})[];
|
|
18
|
-
size?: import("./Component-2aef4eba").PickerButtonSize | undefined;
|
|
19
|
-
variant?: import("./Component-2aef4eba").PickerButtonVariant | undefined;
|
|
20
|
-
showArrow?: boolean | undefined;
|
|
21
|
-
} & AdditionalMobileProps & {
|
|
22
|
-
/**
|
|
23
|
-
* Контрольная точка, с нее начинается desktop версия
|
|
24
|
-
* @default 1024
|
|
25
|
-
*/
|
|
26
|
-
breakpoint?: number | undefined;
|
|
27
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
|
28
|
-
export { PickerButtonMatchMedia, PickerButtonResponsiveProps, PickerButtonResponsive };
|
package/esm/index-2aef4eba.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from "./Component.responsive-2aef4eba";
|
|
2
|
-
export { PickerButtonResponsive as PickerButton };
|
|
3
|
-
export type { PickerButtonResponsiveProps as PickerButtonProps };
|
|
4
|
-
export type { PickerButtonDesktopProps, PickerButtonSize, PickerButtonVariant } from "./Component-2aef4eba";
|
|
5
|
-
export { getIcon } from "./index-701e77da";
|
package/esm/index-3ebe4754.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Component-3ebe4754";
|
package/esm/responsive.d.ts
DELETED
package/esm/responsive.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { CustomPickerButtonResponsive } from './Component.responsive.js';
|
|
2
|
-
import 'tslib';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '@alfalab/core-components-mq/esm';
|
|
5
|
-
import './Component.desktop.js';
|
|
6
|
-
import '@alfalab/core-components-picker-button/esm/desktop';
|
|
7
|
-
import './field/Component.js';
|
|
8
|
-
import 'classnames';
|
|
9
|
-
import '@alfalab/core-components-custom-button/esm';
|
|
10
|
-
import '@alfalab/core-components-picker-button/esm';
|
|
11
|
-
import './Component.mobile.js';
|
|
12
|
-
import '@alfalab/core-components-picker-button/esm/mobile';
|
package/index-2aef4eba.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from "./Component.responsive-2aef4eba";
|
|
2
|
-
export { PickerButtonResponsive as PickerButton };
|
|
3
|
-
export type { PickerButtonResponsiveProps as PickerButtonProps };
|
|
4
|
-
export type { PickerButtonDesktopProps, PickerButtonSize, PickerButtonVariant } from "./Component-2aef4eba";
|
|
5
|
-
export { getIcon } from "./index-701e77da";
|
package/index-3ebe4754.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Component-3ebe4754";
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { HTMLAttributes, ReactNode } from "react";
|
|
4
|
-
type FormControlProps = HTMLAttributes<HTMLDivElement> & {
|
|
5
|
-
/**
|
|
6
|
-
* Растягивает компонент на ширину контейнера
|
|
7
|
-
*/
|
|
8
|
-
block?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Размер компонента
|
|
11
|
-
*/
|
|
12
|
-
size?: 's' | 'm' | 'l' | 'xl';
|
|
13
|
-
/**
|
|
14
|
-
* Набор цветов для компонента
|
|
15
|
-
*/
|
|
16
|
-
colors?: 'default' | 'inverted';
|
|
17
|
-
/**
|
|
18
|
-
* Заблокированное состояние
|
|
19
|
-
*/
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Cостояние только для чтения
|
|
23
|
-
*/
|
|
24
|
-
readOnly?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Заполненное состояние
|
|
27
|
-
*/
|
|
28
|
-
filled?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Выбранное (фокус) состояние
|
|
31
|
-
*/
|
|
32
|
-
focused?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Отображение ошибки
|
|
35
|
-
*/
|
|
36
|
-
error?: ReactNode | boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Текст подсказки
|
|
39
|
-
*/
|
|
40
|
-
hint?: ReactNode;
|
|
41
|
-
/**
|
|
42
|
-
* Лейбл компонента
|
|
43
|
-
*/
|
|
44
|
-
label?: ReactNode;
|
|
45
|
-
/**
|
|
46
|
-
* Вид лейбла внутри / снаружи
|
|
47
|
-
*/
|
|
48
|
-
labelView?: 'inner' | 'outer';
|
|
49
|
-
/**
|
|
50
|
-
* Слот слева
|
|
51
|
-
*/
|
|
52
|
-
leftAddons?: ReactNode;
|
|
53
|
-
/**
|
|
54
|
-
* Слот справа
|
|
55
|
-
*/
|
|
56
|
-
rightAddons?: ReactNode;
|
|
57
|
-
/**
|
|
58
|
-
* Слот под полем
|
|
59
|
-
*/
|
|
60
|
-
bottomAddons?: ReactNode;
|
|
61
|
-
/**
|
|
62
|
-
* Дополнительный класс
|
|
63
|
-
*/
|
|
64
|
-
className?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Дополнительный класс для поля
|
|
67
|
-
*/
|
|
68
|
-
fieldClassName?: string;
|
|
69
|
-
/**
|
|
70
|
-
* Дополнительный класс для поля
|
|
71
|
-
*/
|
|
72
|
-
inputWrapperClassName?: string;
|
|
73
|
-
/**
|
|
74
|
-
* Дополнительный класс для лейбла
|
|
75
|
-
*/
|
|
76
|
-
labelClassName?: string;
|
|
77
|
-
/**
|
|
78
|
-
* Дополнительный класс для аддонов
|
|
79
|
-
*/
|
|
80
|
-
addonsClassName?: string;
|
|
81
|
-
/**
|
|
82
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
83
|
-
*/
|
|
84
|
-
dataTestId?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Компонент поля (инпут, textarea и пр.)
|
|
87
|
-
*/
|
|
88
|
-
children?: ReactNode;
|
|
89
|
-
};
|
|
90
|
-
declare const FormControl: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
91
|
-
/**
|
|
92
|
-
* Растягивает компонент на ширину контейнера
|
|
93
|
-
*/
|
|
94
|
-
block?: boolean | undefined;
|
|
95
|
-
/**
|
|
96
|
-
* Размер компонента
|
|
97
|
-
*/
|
|
98
|
-
size?: "s" | "m" | "l" | "xl" | undefined;
|
|
99
|
-
/**
|
|
100
|
-
* Набор цветов для компонента
|
|
101
|
-
*/
|
|
102
|
-
colors?: "default" | "inverted" | undefined;
|
|
103
|
-
/**
|
|
104
|
-
* Заблокированное состояние
|
|
105
|
-
*/
|
|
106
|
-
disabled?: boolean | undefined;
|
|
107
|
-
/**
|
|
108
|
-
* Cостояние только для чтения
|
|
109
|
-
*/
|
|
110
|
-
readOnly?: boolean | undefined;
|
|
111
|
-
/**
|
|
112
|
-
* Заполненное состояние
|
|
113
|
-
*/
|
|
114
|
-
filled?: boolean | undefined;
|
|
115
|
-
/**
|
|
116
|
-
* Выбранное (фокус) состояние
|
|
117
|
-
*/
|
|
118
|
-
focused?: boolean | undefined;
|
|
119
|
-
/**
|
|
120
|
-
* Отображение ошибки
|
|
121
|
-
*/
|
|
122
|
-
error?: ReactNode | boolean;
|
|
123
|
-
/**
|
|
124
|
-
* Текст подсказки
|
|
125
|
-
*/
|
|
126
|
-
hint?: ReactNode;
|
|
127
|
-
/**
|
|
128
|
-
* Лейбл компонента
|
|
129
|
-
*/
|
|
130
|
-
label?: ReactNode;
|
|
131
|
-
/**
|
|
132
|
-
* Вид лейбла внутри / снаружи
|
|
133
|
-
*/
|
|
134
|
-
labelView?: "inner" | "outer" | undefined;
|
|
135
|
-
/**
|
|
136
|
-
* Слот слева
|
|
137
|
-
*/
|
|
138
|
-
leftAddons?: ReactNode;
|
|
139
|
-
/**
|
|
140
|
-
* Слот справа
|
|
141
|
-
*/
|
|
142
|
-
rightAddons?: ReactNode;
|
|
143
|
-
/**
|
|
144
|
-
* Слот под полем
|
|
145
|
-
*/
|
|
146
|
-
bottomAddons?: ReactNode;
|
|
147
|
-
/**
|
|
148
|
-
* Дополнительный класс
|
|
149
|
-
*/
|
|
150
|
-
className?: string | undefined;
|
|
151
|
-
/**
|
|
152
|
-
* Дополнительный класс для поля
|
|
153
|
-
*/
|
|
154
|
-
fieldClassName?: string | undefined;
|
|
155
|
-
/**
|
|
156
|
-
* Дополнительный класс для поля
|
|
157
|
-
*/
|
|
158
|
-
inputWrapperClassName?: string | undefined;
|
|
159
|
-
/**
|
|
160
|
-
* Дополнительный класс для лейбла
|
|
161
|
-
*/
|
|
162
|
-
labelClassName?: string | undefined;
|
|
163
|
-
/**
|
|
164
|
-
* Дополнительный класс для аддонов
|
|
165
|
-
*/
|
|
166
|
-
addonsClassName?: string | undefined;
|
|
167
|
-
/**
|
|
168
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
169
|
-
*/
|
|
170
|
-
dataTestId?: string | undefined;
|
|
171
|
-
/**
|
|
172
|
-
* Компонент поля (инпут, textarea и пр.)
|
|
173
|
-
*/
|
|
174
|
-
children?: ReactNode;
|
|
175
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
176
|
-
export { FormControlProps, FormControl };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { AdditionalMobileProps } from "./index-3e68f8db";
|
|
4
|
-
import { PickerButtonDesktopProps } from "./Component-2aef4eba";
|
|
5
|
-
type PickerButtonMobileProps = Omit<PickerButtonDesktopProps, 'OptionsList' | 'Checkmark' | 'onScroll'> & AdditionalMobileProps;
|
|
6
|
-
declare const PickerButtonMobile: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "onScroll" | "OptionsList" | "Checkmark"> & AdditionalMobileProps & React.RefAttributes<HTMLInputElement>>;
|
|
7
|
-
export { PickerButtonMobileProps, PickerButtonMobile };
|