@salutejs/sdds-cs 0.376.0-dev.0 → 0.377.0-dev.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/dist/emotion/cjs/components/Autocomplete/Autocomplete.clear.config.js +234 -0
- package/dist/emotion/cjs/components/Autocomplete/Autocomplete.config.js +10 -0
- package/dist/emotion/cjs/components/Autocomplete/Autocomplete.js +14 -1
- package/dist/emotion/cjs/components/DatePicker/DatePicker.config.js +1 -0
- package/dist/emotion/cjs/components/Drawer/Drawer.config.js +8 -1
- package/dist/emotion/cjs/components/Select/Select.clear.config.js +306 -0
- package/dist/emotion/cjs/components/Select/Select.config.js +9 -0
- package/dist/emotion/cjs/components/Select/Select.js +8 -1
- package/dist/emotion/cjs/components/TextArea/TextArea.clear.config.js +1 -0
- package/dist/emotion/cjs/components/TextArea/TextArea.config.js +1 -0
- package/dist/emotion/cjs/components/TextField/TextField.clear.config.js +7 -1
- package/dist/emotion/cjs/components/TextField/TextField.config.js +2 -0
- package/dist/emotion/cjs/components/TimePicker/TimePicker.config.js +9 -0
- package/dist/emotion/es/components/Autocomplete/Autocomplete.clear.config.js +224 -0
- package/dist/emotion/es/components/Autocomplete/Autocomplete.config.js +10 -0
- package/dist/emotion/es/components/Autocomplete/Autocomplete.js +9 -2
- package/dist/emotion/es/components/DatePicker/DatePicker.config.js +1 -0
- package/dist/emotion/es/components/Drawer/Drawer.config.js +9 -2
- package/dist/emotion/es/components/Select/Select.clear.config.js +296 -0
- package/dist/emotion/es/components/Select/Select.config.js +9 -0
- package/dist/emotion/es/components/Select/Select.js +9 -2
- package/dist/emotion/es/components/TextArea/TextArea.clear.config.js +1 -0
- package/dist/emotion/es/components/TextArea/TextArea.config.js +1 -0
- package/dist/emotion/es/components/TextField/TextField.clear.config.js +7 -1
- package/dist/emotion/es/components/TextField/TextField.config.js +2 -0
- package/dist/emotion/es/components/TimePicker/TimePicker.config.js +9 -0
- package/package.json +10 -10
- package/types/components/Autocomplete/Autocomplete.clear.config.d.ts +26 -0
- package/types/components/Autocomplete/Autocomplete.d.ts +1796 -10
- package/types/components/Calendar/Calendar.d.ts +3 -1
- package/types/components/DatePicker/DatePicker.d.ts +9 -9
- package/types/components/Select/Select.clear.config.d.ts +30 -0
- package/types/components/Select/Select.d.ts +36 -10
- package/types/components/TimePicker/TimePicker.d.ts +2 -0
|
@@ -8,7 +8,9 @@ export declare const CalendarBase: import("react").FunctionComponent<import("@sa
|
|
|
8
8
|
size: {
|
|
9
9
|
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
10
10
|
};
|
|
11
|
-
}> & import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").Calendar & import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").CalendarConfigProps &
|
|
11
|
+
}> & import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").Calendar & import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types.js").CalendarConfigProps & {
|
|
12
|
+
periodSelectorAlign?: "start" | "center";
|
|
13
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
14
|
export declare const CalendarDouble: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
13
15
|
view: {
|
|
14
16
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
@@ -40,7 +40,7 @@ export declare const DatePicker: import("react").FunctionComponent<import("@salu
|
|
|
40
40
|
isoDate?: string;
|
|
41
41
|
};
|
|
42
42
|
}) => void;
|
|
43
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
43
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & Pick<import("@salutejs/plasma-new-hope/emotion").CalendarBaseProps, "periodSelectorAlign"> & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
44
44
|
hintText: string;
|
|
45
45
|
hintTrigger?: "hover" | "click";
|
|
46
46
|
hintView?: string;
|
|
@@ -82,7 +82,7 @@ export declare const DatePicker: import("react").FunctionComponent<import("@salu
|
|
|
82
82
|
isoDate?: string;
|
|
83
83
|
};
|
|
84
84
|
}) => void;
|
|
85
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
85
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & Pick<import("@salutejs/plasma-new-hope/emotion").CalendarBaseProps, "periodSelectorAlign"> & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps & {
|
|
86
86
|
hintTrigger?: never;
|
|
87
87
|
hintText?: never;
|
|
88
88
|
hintView?: never;
|
|
@@ -109,7 +109,7 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
|
|
|
109
109
|
readOnly: {
|
|
110
110
|
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
111
111
|
};
|
|
112
|
-
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & {
|
|
112
|
+
}> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerVariationProps & Pick<import("@salutejs/plasma-new-hope/emotion").CalendarBaseProps, "periodSelectorAlign"> & {
|
|
113
113
|
requiredPlacement?: "left" | "right";
|
|
114
114
|
required?: boolean;
|
|
115
115
|
hasRequiredIndicator?: boolean;
|
|
@@ -129,16 +129,16 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
|
|
|
129
129
|
};
|
|
130
130
|
}) => void;
|
|
131
131
|
} & {
|
|
132
|
-
size?: string | undefined;
|
|
133
|
-
disabled?: boolean | undefined;
|
|
134
|
-
autoComplete?: string | undefined;
|
|
135
|
-
readOnly?: boolean | undefined;
|
|
136
|
-
required?: boolean | undefined;
|
|
137
132
|
label?: string | undefined;
|
|
138
133
|
view?: string | undefined;
|
|
139
|
-
|
|
134
|
+
readOnly?: boolean | undefined;
|
|
135
|
+
required?: boolean | undefined;
|
|
136
|
+
autoComplete?: string | undefined;
|
|
137
|
+
disabled?: boolean | undefined;
|
|
138
|
+
size?: string | undefined;
|
|
140
139
|
contentLeft?: React.ReactNode;
|
|
141
140
|
contentRight?: React.ReactNode;
|
|
141
|
+
appearance?: string | undefined;
|
|
142
142
|
hintText?: string | undefined;
|
|
143
143
|
hintTrigger?: ("hover" | "click") | undefined;
|
|
144
144
|
hintTargetIcon?: React.ReactNode;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const config: {
|
|
2
|
+
defaults: {
|
|
3
|
+
view: string;
|
|
4
|
+
size: string;
|
|
5
|
+
labelPlacement: string;
|
|
6
|
+
chipView: string;
|
|
7
|
+
};
|
|
8
|
+
variations: {
|
|
9
|
+
view: {
|
|
10
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
11
|
+
negative: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
15
|
+
};
|
|
16
|
+
labelPlacement: {
|
|
17
|
+
inner: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
18
|
+
outer: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
19
|
+
};
|
|
20
|
+
chipView: {
|
|
21
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
22
|
+
};
|
|
23
|
+
disabled: {
|
|
24
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
25
|
+
};
|
|
26
|
+
readOnly: {
|
|
27
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SelectProps as SelectPropsNewHope, SelectItemOption, DistributivePick, DistributiveOmit } from '@salutejs/plasma-new-hope';
|
|
2
2
|
import React, { ComponentProps } from 'react';
|
|
3
|
-
declare const
|
|
3
|
+
declare const SelectDefault: React.FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
4
4
|
view: {
|
|
5
5
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
6
6
|
negative: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
@@ -37,6 +37,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
37
37
|
helperText?: string;
|
|
38
38
|
chipType?: "default" | "text";
|
|
39
39
|
chipClickArea?: "full" | "close-icon";
|
|
40
|
+
titleCaption?: React.ReactNode;
|
|
40
41
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
41
42
|
hintText: string;
|
|
42
43
|
hintTrigger?: "hover" | "click";
|
|
@@ -50,7 +51,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
50
51
|
hintWidth?: string;
|
|
51
52
|
hintContentLeft?: React.ReactNode;
|
|
52
53
|
hintPortal?: string | React.RefObject<HTMLElement | null>;
|
|
53
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & {
|
|
54
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & Pick<import("@salutejs/plasma-new-hope/emotion").TextFieldProps, "hasDivider"> & {
|
|
54
55
|
_offset?: [number, number];
|
|
55
56
|
_checkboxAppearance?: string;
|
|
56
57
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").BasicProps<SelectItemOption> & {
|
|
@@ -69,6 +70,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
69
70
|
helperText?: string;
|
|
70
71
|
chipType?: "default" | "text";
|
|
71
72
|
chipClickArea?: "full" | "close-icon";
|
|
73
|
+
titleCaption?: React.ReactNode;
|
|
72
74
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
73
75
|
hintTrigger?: never;
|
|
74
76
|
hintText?: never;
|
|
@@ -82,7 +84,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
82
84
|
hintWidth?: never;
|
|
83
85
|
hintContentLeft?: never;
|
|
84
86
|
hintPortal?: never;
|
|
85
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & {
|
|
87
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & Pick<import("@salutejs/plasma-new-hope/emotion").TextFieldProps, "hasDivider"> & {
|
|
86
88
|
_offset?: [number, number];
|
|
87
89
|
_checkboxAppearance?: string;
|
|
88
90
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").BasicProps<SelectItemOption> & {
|
|
@@ -101,6 +103,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
101
103
|
helperText?: string;
|
|
102
104
|
chipType?: "default" | "text";
|
|
103
105
|
chipClickArea?: "full" | "close-icon";
|
|
106
|
+
titleCaption?: React.ReactNode;
|
|
104
107
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
105
108
|
hintText: string;
|
|
106
109
|
hintTrigger?: "hover" | "click";
|
|
@@ -114,7 +117,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
114
117
|
hintWidth?: string;
|
|
115
118
|
hintContentLeft?: React.ReactNode;
|
|
116
119
|
hintPortal?: string | React.RefObject<HTMLElement | null>;
|
|
117
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & {
|
|
120
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & Pick<import("@salutejs/plasma-new-hope/emotion").TextFieldProps, "hasDivider"> & {
|
|
118
121
|
_offset?: [number, number];
|
|
119
122
|
_checkboxAppearance?: string;
|
|
120
123
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").BasicProps<SelectItemOption> & {
|
|
@@ -133,6 +136,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
133
136
|
helperText?: string;
|
|
134
137
|
chipType?: "default" | "text";
|
|
135
138
|
chipClickArea?: "full" | "close-icon";
|
|
139
|
+
titleCaption?: React.ReactNode;
|
|
136
140
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
137
141
|
hintTrigger?: never;
|
|
138
142
|
hintText?: never;
|
|
@@ -146,7 +150,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
146
150
|
hintWidth?: never;
|
|
147
151
|
hintContentLeft?: never;
|
|
148
152
|
hintPortal?: never;
|
|
149
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & {
|
|
153
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & Pick<import("@salutejs/plasma-new-hope/emotion").TextFieldProps, "hasDivider"> & {
|
|
150
154
|
_offset?: [number, number];
|
|
151
155
|
_checkboxAppearance?: string;
|
|
152
156
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").BasicProps<SelectItemOption> & Omit<{
|
|
@@ -169,6 +173,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
169
173
|
helperText?: string;
|
|
170
174
|
chipType?: "default" | "text";
|
|
171
175
|
chipClickArea?: "full" | "close-icon";
|
|
176
|
+
titleCaption?: React.ReactNode;
|
|
172
177
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
173
178
|
hintText: string;
|
|
174
179
|
hintTrigger?: "hover" | "click";
|
|
@@ -182,7 +187,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
182
187
|
hintWidth?: string;
|
|
183
188
|
hintContentLeft?: React.ReactNode;
|
|
184
189
|
hintPortal?: string | React.RefObject<HTMLElement | null>;
|
|
185
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & {
|
|
190
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & Pick<import("@salutejs/plasma-new-hope/emotion").TextFieldProps, "hasDivider"> & {
|
|
186
191
|
_offset?: [number, number];
|
|
187
192
|
_checkboxAppearance?: string;
|
|
188
193
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").BasicProps<SelectItemOption> & Omit<{
|
|
@@ -205,6 +210,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
205
210
|
helperText?: string;
|
|
206
211
|
chipType?: "default" | "text";
|
|
207
212
|
chipClickArea?: "full" | "close-icon";
|
|
213
|
+
titleCaption?: React.ReactNode;
|
|
208
214
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
209
215
|
hintTrigger?: never;
|
|
210
216
|
hintText?: never;
|
|
@@ -218,7 +224,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
218
224
|
hintWidth?: never;
|
|
219
225
|
hintContentLeft?: never;
|
|
220
226
|
hintPortal?: never;
|
|
221
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & {
|
|
227
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & Pick<import("@salutejs/plasma-new-hope/emotion").TextFieldProps, "hasDivider"> & {
|
|
222
228
|
_offset?: [number, number];
|
|
223
229
|
_checkboxAppearance?: string;
|
|
224
230
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").BasicProps<SelectItemOption> & Omit<{
|
|
@@ -241,6 +247,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
241
247
|
helperText?: string;
|
|
242
248
|
chipType?: "default" | "text";
|
|
243
249
|
chipClickArea?: "full" | "close-icon";
|
|
250
|
+
titleCaption?: React.ReactNode;
|
|
244
251
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
245
252
|
hintText: string;
|
|
246
253
|
hintTrigger?: "hover" | "click";
|
|
@@ -254,7 +261,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
254
261
|
hintWidth?: string;
|
|
255
262
|
hintContentLeft?: React.ReactNode;
|
|
256
263
|
hintPortal?: string | React.RefObject<HTMLElement | null>;
|
|
257
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & {
|
|
264
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & Pick<import("@salutejs/plasma-new-hope/emotion").TextFieldProps, "hasDivider"> & {
|
|
258
265
|
_offset?: [number, number];
|
|
259
266
|
_checkboxAppearance?: string;
|
|
260
267
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").BasicProps<SelectItemOption> & Omit<{
|
|
@@ -277,6 +284,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
277
284
|
helperText?: string;
|
|
278
285
|
chipType?: "default" | "text";
|
|
279
286
|
chipClickArea?: "full" | "close-icon";
|
|
287
|
+
titleCaption?: React.ReactNode;
|
|
280
288
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
281
289
|
hintTrigger?: never;
|
|
282
290
|
hintText?: never;
|
|
@@ -290,7 +298,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
290
298
|
hintWidth?: never;
|
|
291
299
|
hintContentLeft?: never;
|
|
292
300
|
hintPortal?: never;
|
|
293
|
-
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & {
|
|
301
|
+
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").LabelProps & Pick<import("@salutejs/plasma-new-hope/emotion").TextFieldProps, "hasDivider"> & {
|
|
294
302
|
_offset?: [number, number];
|
|
295
303
|
_checkboxAppearance?: string;
|
|
296
304
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").BasicProps<SelectItemOption> & {
|
|
@@ -303,6 +311,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
303
311
|
selectAllOptions?: never;
|
|
304
312
|
} & {
|
|
305
313
|
target: "button-like";
|
|
314
|
+
hasDivider?: never;
|
|
306
315
|
label?: string;
|
|
307
316
|
contentLeft?: never;
|
|
308
317
|
contentRight?: never;
|
|
@@ -311,6 +320,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
311
320
|
keepPlaceholder?: never;
|
|
312
321
|
chipType?: never;
|
|
313
322
|
chipClickArea?: never;
|
|
323
|
+
titleCaption?: never;
|
|
314
324
|
} & import("@salutejs/plasma-new-hope/emotion").NeverProps<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
315
325
|
hintText: string;
|
|
316
326
|
hintTrigger?: "hover" | "click";
|
|
@@ -337,6 +347,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
337
347
|
selectAllOptions?: never;
|
|
338
348
|
} & {
|
|
339
349
|
target: "button-like";
|
|
350
|
+
hasDivider?: never;
|
|
340
351
|
label?: string;
|
|
341
352
|
contentLeft?: never;
|
|
342
353
|
contentRight?: never;
|
|
@@ -345,6 +356,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
345
356
|
keepPlaceholder?: never;
|
|
346
357
|
chipType?: never;
|
|
347
358
|
chipClickArea?: never;
|
|
359
|
+
titleCaption?: never;
|
|
348
360
|
} & import("@salutejs/plasma-new-hope/emotion").NeverProps<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
349
361
|
hintTrigger?: never;
|
|
350
362
|
hintText?: never;
|
|
@@ -371,6 +383,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
371
383
|
selectAllOptions?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").SelectAllProps;
|
|
372
384
|
} & {
|
|
373
385
|
target: "button-like";
|
|
386
|
+
hasDivider?: never;
|
|
374
387
|
label?: string;
|
|
375
388
|
contentLeft?: never;
|
|
376
389
|
contentRight?: never;
|
|
@@ -379,6 +392,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
379
392
|
keepPlaceholder?: never;
|
|
380
393
|
chipType?: never;
|
|
381
394
|
chipClickArea?: never;
|
|
395
|
+
titleCaption?: never;
|
|
382
396
|
} & import("@salutejs/plasma-new-hope/emotion").NeverProps<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
383
397
|
hintText: string;
|
|
384
398
|
hintTrigger?: "hover" | "click";
|
|
@@ -405,6 +419,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
405
419
|
selectAllOptions?: import("@salutejs/plasma-new-hope/types/components/Select/Select.types.js").SelectAllProps;
|
|
406
420
|
} & {
|
|
407
421
|
target: "button-like";
|
|
422
|
+
hasDivider?: never;
|
|
408
423
|
label?: string;
|
|
409
424
|
contentLeft?: never;
|
|
410
425
|
contentRight?: never;
|
|
@@ -413,6 +428,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
413
428
|
keepPlaceholder?: never;
|
|
414
429
|
chipType?: never;
|
|
415
430
|
chipClickArea?: never;
|
|
431
|
+
titleCaption?: never;
|
|
416
432
|
} & import("@salutejs/plasma-new-hope/emotion").NeverProps<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
417
433
|
hintTrigger?: never;
|
|
418
434
|
hintText?: never;
|
|
@@ -443,6 +459,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
443
459
|
onChange?: React.ChangeEventHandler<HTMLSelectElement>;
|
|
444
460
|
} & {
|
|
445
461
|
target: "button-like";
|
|
462
|
+
hasDivider?: never;
|
|
446
463
|
label?: string;
|
|
447
464
|
contentLeft?: never;
|
|
448
465
|
contentRight?: never;
|
|
@@ -451,6 +468,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
451
468
|
keepPlaceholder?: never;
|
|
452
469
|
chipType?: never;
|
|
453
470
|
chipClickArea?: never;
|
|
471
|
+
titleCaption?: never;
|
|
454
472
|
} & import("@salutejs/plasma-new-hope/emotion").NeverProps<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
455
473
|
hintText: string;
|
|
456
474
|
hintTrigger?: "hover" | "click";
|
|
@@ -481,6 +499,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
481
499
|
onChange?: React.ChangeEventHandler<HTMLSelectElement>;
|
|
482
500
|
} & {
|
|
483
501
|
target: "button-like";
|
|
502
|
+
hasDivider?: never;
|
|
484
503
|
label?: string;
|
|
485
504
|
contentLeft?: never;
|
|
486
505
|
contentRight?: never;
|
|
@@ -489,6 +508,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
489
508
|
keepPlaceholder?: never;
|
|
490
509
|
chipType?: never;
|
|
491
510
|
chipClickArea?: never;
|
|
511
|
+
titleCaption?: never;
|
|
492
512
|
} & import("@salutejs/plasma-new-hope/emotion").NeverProps<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
493
513
|
hintTrigger?: never;
|
|
494
514
|
hintText?: never;
|
|
@@ -519,6 +539,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
519
539
|
onChange?: React.ChangeEventHandler<HTMLSelectElement>;
|
|
520
540
|
} & {
|
|
521
541
|
target: "button-like";
|
|
542
|
+
hasDivider?: never;
|
|
522
543
|
label?: string;
|
|
523
544
|
contentLeft?: never;
|
|
524
545
|
contentRight?: never;
|
|
@@ -527,6 +548,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
527
548
|
keepPlaceholder?: never;
|
|
528
549
|
chipType?: never;
|
|
529
550
|
chipClickArea?: never;
|
|
551
|
+
titleCaption?: never;
|
|
530
552
|
} & import("@salutejs/plasma-new-hope/emotion").NeverProps<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
531
553
|
hintText: string;
|
|
532
554
|
hintTrigger?: "hover" | "click";
|
|
@@ -557,6 +579,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
557
579
|
onChange?: React.ChangeEventHandler<HTMLSelectElement>;
|
|
558
580
|
} & {
|
|
559
581
|
target: "button-like";
|
|
582
|
+
hasDivider?: never;
|
|
560
583
|
label?: string;
|
|
561
584
|
contentLeft?: never;
|
|
562
585
|
contentRight?: never;
|
|
@@ -565,6 +588,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
565
588
|
keepPlaceholder?: never;
|
|
566
589
|
chipType?: never;
|
|
567
590
|
chipClickArea?: never;
|
|
591
|
+
titleCaption?: never;
|
|
568
592
|
} & import("@salutejs/plasma-new-hope/emotion").NeverProps<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types.js").RequiredProps & {
|
|
569
593
|
hintTrigger?: never;
|
|
570
594
|
hintText?: never;
|
|
@@ -582,6 +606,8 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
|
582
606
|
_offset?: [number, number];
|
|
583
607
|
_checkboxAppearance?: string;
|
|
584
608
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "defaultValue" | "placeholder" | "onScroll" | "value"> & React.RefAttributes<HTMLButtonElement>))>;
|
|
585
|
-
export type SelectProps<K extends SelectItemOption> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'hintView' | 'hintSize' | 'labelPlacement'> & DistributivePick<ComponentProps<typeof
|
|
609
|
+
export type SelectProps<K extends SelectItemOption> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'hintView' | 'hintSize' | 'labelPlacement'> & DistributivePick<ComponentProps<typeof SelectDefault>, 'size' | 'view' | 'chipView' | 'labelPlacement'> & {
|
|
610
|
+
appearance?: 'default' | 'clear';
|
|
611
|
+
};
|
|
586
612
|
declare const Select: <K extends SelectItemOption>(props: SelectProps<K> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement | null;
|
|
587
613
|
export { Select };
|
|
@@ -37,6 +37,7 @@ export declare const TimePicker: import("react").FunctionComponent<import("@salu
|
|
|
37
37
|
valueError?: boolean;
|
|
38
38
|
valueSuccess?: boolean;
|
|
39
39
|
valueEdited?: boolean;
|
|
40
|
+
titleCaption?: import("react").ReactNode;
|
|
40
41
|
leftHelper?: string;
|
|
41
42
|
contentLeft?: React.ReactElement;
|
|
42
43
|
contentRight?: React.ReactElement;
|
|
@@ -83,6 +84,7 @@ export declare const TimePicker: import("react").FunctionComponent<import("@salu
|
|
|
83
84
|
valueError?: boolean;
|
|
84
85
|
valueSuccess?: boolean;
|
|
85
86
|
valueEdited?: boolean;
|
|
87
|
+
titleCaption?: import("react").ReactNode;
|
|
86
88
|
leftHelper?: string;
|
|
87
89
|
contentLeft?: React.ReactElement;
|
|
88
90
|
contentRight?: React.ReactElement;
|