@salutejs/plasma-web 1.571.1-canary.1868.14054564913.0 → 1.572.0-canary.1870.14062223595.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/api/plasma-web.api.md +1490 -1488
- package/components/Accordion/Accordion.d.ts +10 -9
- package/components/Attach/Attach.d.ts +159 -158
- package/components/Autocomplete/Autocomplete.d.ts +193 -192
- package/components/Avatar/Avatar.d.ts +47 -46
- package/components/AvatarGroup/AvatarGroup.d.ts +2 -1
- package/components/Badge/Badge.d.ts +41 -40
- package/components/Breadcrumbs/Breadcrumbs.d.ts +4 -3
- package/components/Button/Button.d.ts +36 -35
- package/components/ButtonGroup/ButtonGroup.d.ts +4 -0
- package/components/Cell/Cell.d.ts +20 -19
- package/components/Checkbox/Checkbox.d.ts +1 -1
- package/components/Chip/Chip.d.ts +1 -0
- package/components/ChipGroup/ChipGroup.d.ts +1 -0
- package/components/Combobox/Combobox.d.ts +953 -953
- package/components/Combobox/Legacy/Combobox.d.ts +37 -36
- package/components/Counter/Counter.d.ts +1 -0
- package/components/DatePicker/DatePicker.d.ts +51 -50
- package/components/Divider/Divider.d.ts +1 -0
- package/components/Drawer/Drawer.d.ts +19 -18
- package/components/Dropdown/Dropdown.d.ts +52 -52
- package/components/Dropdown/components/DropdownItem.d.ts +14 -14
- package/components/Dropzone/Dropzone.d.ts +16 -15
- package/components/Editable/Editable.d.ts +1 -0
- package/components/EmptyState/EmptyState.d.ts +1 -0
- package/components/Flow/Flow.d.ts +2 -1
- package/components/Grid/Grid.d.ts +1 -0
- package/components/IconButton/IconButton.d.ts +36 -35
- package/components/Image/Image.d.ts +4 -3
- package/components/Indicator/Indicator.d.ts +1 -0
- package/components/Link/Link.d.ts +1 -0
- package/components/LinkButton/LinkButton.d.ts +9 -8
- package/components/Mask/Mask.d.ts +225 -224
- package/components/Note/Note.d.ts +10 -9
- package/components/NumberFormat/NumberFormat.d.ts +1 -1
- package/components/NumberInput/NumberInput.d.ts +39 -38
- package/components/Pagination/Pagination.d.ts +1 -0
- package/components/Popover/Popover.d.ts +1 -0
- package/components/Price/Price.d.ts +1 -0
- package/components/Progress/Progress.d.ts +1 -0
- package/components/Radiobox/Radiobox.d.ts +1 -1
- package/components/Range/Range.d.ts +106 -105
- package/components/Rating/Rating.d.ts +14 -13
- package/components/Segment/Segment.d.ts +9 -8
- package/components/Select/Select.d.ts +244 -244
- package/components/Sheet/Sheet.d.ts +1 -0
- package/components/Skeleton/Skeleton.d.ts +5 -4
- package/components/Slider/Slider.d.ts +113 -104
- package/components/Steps/Steps.d.ts +1 -0
- package/components/Switch/Switch.d.ts +1 -1
- package/components/Tabs/TabItem.d.ts +14 -14
- package/components/Tabs/Tabs.d.ts +7 -5
- package/components/TextArea/TextArea.d.ts +206 -205
- package/components/TextArea/index.d.ts +4 -4
- package/components/TextField/TextField.d.ts +269 -261
- package/components/TextFieldGroup/TextFieldGroup.d.ts +13 -12
- package/components/Toast/Toast.d.ts +1 -0
- package/components/Tokens/Colors/Colors.styles.d.ts +26 -25
- package/components/Toolbar/Toolbar.d.ts +6 -5
- package/components/Tree/Tree.d.ts +1 -0
- package/components/Typography/Old/index.d.ts +10 -9
- package/components/Typography/Typography.d.ts +52 -51
- package/mixins/index.d.ts +2 -1
- package/package.json +11 -11
- package/temp/plasma-web.api.md +1490 -1488
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
2
3
|
view: {
|
3
4
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -40,41 +41,41 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
40
41
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
41
42
|
};
|
42
43
|
}> & {
|
43
|
-
size?: string;
|
44
|
-
view?: string;
|
45
|
-
readOnly?: boolean;
|
46
|
-
disabled?: boolean;
|
44
|
+
size?: string | undefined;
|
45
|
+
view?: string | undefined;
|
46
|
+
readOnly?: boolean | undefined;
|
47
|
+
disabled?: boolean | undefined;
|
47
48
|
} & {
|
48
49
|
titleCaption?: import("react").ReactNode;
|
49
50
|
leftHelper?: import("react").ReactNode;
|
50
|
-
contentLeft?:
|
51
|
-
contentRight?:
|
52
|
-
textBefore?: string;
|
53
|
-
textAfter?: string;
|
54
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
51
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
52
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
53
|
+
textBefore?: string | undefined;
|
54
|
+
textAfter?: string | undefined;
|
55
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
55
56
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
56
|
-
clear?: boolean;
|
57
|
-
hasDivider?: boolean;
|
57
|
+
clear?: boolean | undefined;
|
58
|
+
hasDivider?: boolean | undefined;
|
58
59
|
} & {
|
59
60
|
hintText: string;
|
60
|
-
hintTrigger?: "hover" | "click";
|
61
|
-
hintView?: string;
|
62
|
-
hintSize?: string;
|
61
|
+
hintTrigger?: "hover" | "click" | undefined;
|
62
|
+
hintView?: string | undefined;
|
63
|
+
hintSize?: string | undefined;
|
63
64
|
hintTargetIcon?: import("react").ReactNode;
|
64
|
-
hintTargetPlacement?: "
|
65
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
66
|
-
hintHasArrow?: boolean;
|
67
|
-
hintOffset?: [number, number];
|
68
|
-
hintWidth?: string;
|
65
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
66
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
67
|
+
hintHasArrow?: boolean | undefined;
|
68
|
+
hintOffset?: [number, number] | undefined;
|
69
|
+
hintWidth?: string | undefined;
|
69
70
|
hintContentLeft?: import("react").ReactNode;
|
70
71
|
} & {
|
71
|
-
chips?:
|
72
|
-
onChangeChips?:
|
73
|
-
enumerationType?: "plain";
|
74
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
75
|
-
chipType?:
|
76
|
-
chipView?:
|
77
|
-
chipValidator?:
|
72
|
+
chips?: undefined;
|
73
|
+
onChangeChips?: undefined;
|
74
|
+
enumerationType?: "plain" | undefined;
|
75
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
76
|
+
chipType?: undefined;
|
77
|
+
chipView?: undefined;
|
78
|
+
chipValidator?: undefined;
|
78
79
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
79
80
|
view: {
|
80
81
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -117,43 +118,43 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
117
118
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
118
119
|
};
|
119
120
|
}> & {
|
120
|
-
size?: string;
|
121
|
-
view?: string;
|
122
|
-
readOnly?: boolean;
|
123
|
-
disabled?: boolean;
|
121
|
+
size?: string | undefined;
|
122
|
+
view?: string | undefined;
|
123
|
+
readOnly?: boolean | undefined;
|
124
|
+
disabled?: boolean | undefined;
|
124
125
|
} & {
|
125
126
|
titleCaption?: import("react").ReactNode;
|
126
127
|
leftHelper?: import("react").ReactNode;
|
127
|
-
contentLeft?:
|
128
|
-
contentRight?:
|
129
|
-
textBefore?: string;
|
130
|
-
textAfter?: string;
|
131
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
128
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
129
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
130
|
+
textBefore?: string | undefined;
|
131
|
+
textAfter?: string | undefined;
|
132
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
132
133
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
133
|
-
clear?: boolean;
|
134
|
-
hasDivider?: boolean;
|
134
|
+
clear?: boolean | undefined;
|
135
|
+
hasDivider?: boolean | undefined;
|
135
136
|
} & {
|
136
137
|
hintText: string;
|
137
|
-
hintTrigger?: "hover" | "click";
|
138
|
-
hintView?: string;
|
139
|
-
hintSize?: string;
|
138
|
+
hintTrigger?: "hover" | "click" | undefined;
|
139
|
+
hintView?: string | undefined;
|
140
|
+
hintSize?: string | undefined;
|
140
141
|
hintTargetIcon?: import("react").ReactNode;
|
141
|
-
hintTargetPlacement?: "
|
142
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
143
|
-
hintHasArrow?: boolean;
|
144
|
-
hintOffset?: [number, number];
|
145
|
-
hintWidth?: string;
|
142
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
143
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
144
|
+
hintHasArrow?: boolean | undefined;
|
145
|
+
hintOffset?: [number, number] | undefined;
|
146
|
+
hintWidth?: string | undefined;
|
146
147
|
hintContentLeft?: import("react").ReactNode;
|
147
148
|
} & {
|
148
149
|
enumerationType: "chip";
|
149
|
-
onSearch?:
|
150
|
-
chips?:
|
151
|
-
onChangeChips?: (value:
|
152
|
-
chipType?: "default" | "text";
|
153
|
-
chipView?: string;
|
154
|
-
chipValidator?: (value: string) => {
|
155
|
-
view?: string;
|
156
|
-
};
|
150
|
+
onSearch?: undefined;
|
151
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
152
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
153
|
+
chipType?: "default" | "text" | undefined;
|
154
|
+
chipView?: string | undefined;
|
155
|
+
chipValidator?: ((value: string) => {
|
156
|
+
view?: string | undefined;
|
157
|
+
}) | undefined;
|
157
158
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
158
159
|
view: {
|
159
160
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -196,41 +197,41 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
196
197
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
197
198
|
};
|
198
199
|
}> & {
|
199
|
-
size?: string;
|
200
|
-
view?: string;
|
201
|
-
readOnly?: boolean;
|
202
|
-
disabled?: boolean;
|
200
|
+
size?: string | undefined;
|
201
|
+
view?: string | undefined;
|
202
|
+
readOnly?: boolean | undefined;
|
203
|
+
disabled?: boolean | undefined;
|
203
204
|
} & {
|
204
205
|
titleCaption?: import("react").ReactNode;
|
205
206
|
leftHelper?: import("react").ReactNode;
|
206
|
-
contentLeft?:
|
207
|
-
contentRight?:
|
208
|
-
textBefore?: string;
|
209
|
-
textAfter?: string;
|
210
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
207
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
208
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
209
|
+
textBefore?: string | undefined;
|
210
|
+
textAfter?: string | undefined;
|
211
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
211
212
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
212
|
-
clear?: boolean;
|
213
|
-
hasDivider?: boolean;
|
213
|
+
clear?: boolean | undefined;
|
214
|
+
hasDivider?: boolean | undefined;
|
214
215
|
} & {
|
215
|
-
hintTrigger?:
|
216
|
-
hintText?:
|
217
|
-
hintView?:
|
218
|
-
hintSize?:
|
219
|
-
hintTargetIcon?:
|
220
|
-
hintTargetPlacement?:
|
221
|
-
hintPlacement?:
|
222
|
-
hintHasArrow?:
|
223
|
-
hintOffset?:
|
224
|
-
hintWidth?:
|
225
|
-
hintContentLeft?:
|
216
|
+
hintTrigger?: undefined;
|
217
|
+
hintText?: undefined;
|
218
|
+
hintView?: undefined;
|
219
|
+
hintSize?: undefined;
|
220
|
+
hintTargetIcon?: undefined;
|
221
|
+
hintTargetPlacement?: undefined;
|
222
|
+
hintPlacement?: undefined;
|
223
|
+
hintHasArrow?: undefined;
|
224
|
+
hintOffset?: undefined;
|
225
|
+
hintWidth?: undefined;
|
226
|
+
hintContentLeft?: undefined;
|
226
227
|
} & {
|
227
|
-
chips?:
|
228
|
-
onChangeChips?:
|
229
|
-
enumerationType?: "plain";
|
230
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
231
|
-
chipType?:
|
232
|
-
chipView?:
|
233
|
-
chipValidator?:
|
228
|
+
chips?: undefined;
|
229
|
+
onChangeChips?: undefined;
|
230
|
+
enumerationType?: "plain" | undefined;
|
231
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
232
|
+
chipType?: undefined;
|
233
|
+
chipView?: undefined;
|
234
|
+
chipValidator?: undefined;
|
234
235
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
235
236
|
view: {
|
236
237
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -273,43 +274,43 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
273
274
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
274
275
|
};
|
275
276
|
}> & {
|
276
|
-
size?: string;
|
277
|
-
view?: string;
|
278
|
-
readOnly?: boolean;
|
279
|
-
disabled?: boolean;
|
277
|
+
size?: string | undefined;
|
278
|
+
view?: string | undefined;
|
279
|
+
readOnly?: boolean | undefined;
|
280
|
+
disabled?: boolean | undefined;
|
280
281
|
} & {
|
281
282
|
titleCaption?: import("react").ReactNode;
|
282
283
|
leftHelper?: import("react").ReactNode;
|
283
|
-
contentLeft?:
|
284
|
-
contentRight?:
|
285
|
-
textBefore?: string;
|
286
|
-
textAfter?: string;
|
287
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
284
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
285
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
286
|
+
textBefore?: string | undefined;
|
287
|
+
textAfter?: string | undefined;
|
288
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
288
289
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
289
|
-
clear?: boolean;
|
290
|
-
hasDivider?: boolean;
|
290
|
+
clear?: boolean | undefined;
|
291
|
+
hasDivider?: boolean | undefined;
|
291
292
|
} & {
|
292
|
-
hintTrigger?:
|
293
|
-
hintText?:
|
294
|
-
hintView?:
|
295
|
-
hintSize?:
|
296
|
-
hintTargetIcon?:
|
297
|
-
hintTargetPlacement?:
|
298
|
-
hintPlacement?:
|
299
|
-
hintHasArrow?:
|
300
|
-
hintOffset?:
|
301
|
-
hintWidth?:
|
302
|
-
hintContentLeft?:
|
293
|
+
hintTrigger?: undefined;
|
294
|
+
hintText?: undefined;
|
295
|
+
hintView?: undefined;
|
296
|
+
hintSize?: undefined;
|
297
|
+
hintTargetIcon?: undefined;
|
298
|
+
hintTargetPlacement?: undefined;
|
299
|
+
hintPlacement?: undefined;
|
300
|
+
hintHasArrow?: undefined;
|
301
|
+
hintOffset?: undefined;
|
302
|
+
hintWidth?: undefined;
|
303
|
+
hintContentLeft?: undefined;
|
303
304
|
} & {
|
304
305
|
enumerationType: "chip";
|
305
|
-
onSearch?:
|
306
|
-
chips?:
|
307
|
-
onChangeChips?: (value:
|
308
|
-
chipType?: "default" | "text";
|
309
|
-
chipView?: string;
|
310
|
-
chipValidator?: (value: string) => {
|
311
|
-
view?: string;
|
312
|
-
};
|
306
|
+
onSearch?: undefined;
|
307
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
308
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
309
|
+
chipType?: "default" | "text" | undefined;
|
310
|
+
chipView?: string | undefined;
|
311
|
+
chipValidator?: ((value: string) => {
|
312
|
+
view?: string | undefined;
|
313
|
+
}) | undefined;
|
313
314
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
314
315
|
view: {
|
315
316
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -352,41 +353,41 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
352
353
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
353
354
|
};
|
354
355
|
}> & {
|
355
|
-
size?: string;
|
356
|
-
view?: string;
|
357
|
-
readOnly?: boolean;
|
358
|
-
disabled?: boolean;
|
356
|
+
size?: string | undefined;
|
357
|
+
view?: string | undefined;
|
358
|
+
readOnly?: boolean | undefined;
|
359
|
+
disabled?: boolean | undefined;
|
359
360
|
} & {
|
360
361
|
titleCaption?: import("react").ReactNode;
|
361
362
|
leftHelper?: import("react").ReactNode;
|
362
|
-
contentLeft?:
|
363
|
-
contentRight?:
|
364
|
-
textBefore?: string;
|
365
|
-
textAfter?: string;
|
366
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
363
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
364
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
365
|
+
textBefore?: string | undefined;
|
366
|
+
textAfter?: string | undefined;
|
367
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
367
368
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
368
|
-
clear?: false;
|
369
|
-
hasDivider?:
|
369
|
+
clear?: false | undefined;
|
370
|
+
hasDivider?: undefined;
|
370
371
|
} & {
|
371
372
|
hintText: string;
|
372
|
-
hintTrigger?: "hover" | "click";
|
373
|
-
hintView?: string;
|
374
|
-
hintSize?: string;
|
373
|
+
hintTrigger?: "hover" | "click" | undefined;
|
374
|
+
hintView?: string | undefined;
|
375
|
+
hintSize?: string | undefined;
|
375
376
|
hintTargetIcon?: import("react").ReactNode;
|
376
|
-
hintTargetPlacement?: "
|
377
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
378
|
-
hintHasArrow?: boolean;
|
379
|
-
hintOffset?: [number, number];
|
380
|
-
hintWidth?: string;
|
377
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
378
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
379
|
+
hintHasArrow?: boolean | undefined;
|
380
|
+
hintOffset?: [number, number] | undefined;
|
381
|
+
hintWidth?: string | undefined;
|
381
382
|
hintContentLeft?: import("react").ReactNode;
|
382
383
|
} & {
|
383
|
-
chips?:
|
384
|
-
onChangeChips?:
|
385
|
-
enumerationType?: "plain";
|
386
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
387
|
-
chipType?:
|
388
|
-
chipView?:
|
389
|
-
chipValidator?:
|
384
|
+
chips?: undefined;
|
385
|
+
onChangeChips?: undefined;
|
386
|
+
enumerationType?: "plain" | undefined;
|
387
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
388
|
+
chipType?: undefined;
|
389
|
+
chipView?: undefined;
|
390
|
+
chipValidator?: undefined;
|
390
391
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
391
392
|
view: {
|
392
393
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -429,43 +430,43 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
429
430
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
430
431
|
};
|
431
432
|
}> & {
|
432
|
-
size?: string;
|
433
|
-
view?: string;
|
434
|
-
readOnly?: boolean;
|
435
|
-
disabled?: boolean;
|
433
|
+
size?: string | undefined;
|
434
|
+
view?: string | undefined;
|
435
|
+
readOnly?: boolean | undefined;
|
436
|
+
disabled?: boolean | undefined;
|
436
437
|
} & {
|
437
438
|
titleCaption?: import("react").ReactNode;
|
438
439
|
leftHelper?: import("react").ReactNode;
|
439
|
-
contentLeft?:
|
440
|
-
contentRight?:
|
441
|
-
textBefore?: string;
|
442
|
-
textAfter?: string;
|
443
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
440
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
441
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
442
|
+
textBefore?: string | undefined;
|
443
|
+
textAfter?: string | undefined;
|
444
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
444
445
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
445
|
-
clear?: false;
|
446
|
-
hasDivider?:
|
446
|
+
clear?: false | undefined;
|
447
|
+
hasDivider?: undefined;
|
447
448
|
} & {
|
448
449
|
hintText: string;
|
449
|
-
hintTrigger?: "hover" | "click";
|
450
|
-
hintView?: string;
|
451
|
-
hintSize?: string;
|
450
|
+
hintTrigger?: "hover" | "click" | undefined;
|
451
|
+
hintView?: string | undefined;
|
452
|
+
hintSize?: string | undefined;
|
452
453
|
hintTargetIcon?: import("react").ReactNode;
|
453
|
-
hintTargetPlacement?: "
|
454
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
455
|
-
hintHasArrow?: boolean;
|
456
|
-
hintOffset?: [number, number];
|
457
|
-
hintWidth?: string;
|
454
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
455
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
456
|
+
hintHasArrow?: boolean | undefined;
|
457
|
+
hintOffset?: [number, number] | undefined;
|
458
|
+
hintWidth?: string | undefined;
|
458
459
|
hintContentLeft?: import("react").ReactNode;
|
459
460
|
} & {
|
460
461
|
enumerationType: "chip";
|
461
|
-
onSearch?:
|
462
|
-
chips?:
|
463
|
-
onChangeChips?: (value:
|
464
|
-
chipType?: "default" | "text";
|
465
|
-
chipView?: string;
|
466
|
-
chipValidator?: (value: string) => {
|
467
|
-
view?: string;
|
468
|
-
};
|
462
|
+
onSearch?: undefined;
|
463
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
464
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
465
|
+
chipType?: "default" | "text" | undefined;
|
466
|
+
chipView?: string | undefined;
|
467
|
+
chipValidator?: ((value: string) => {
|
468
|
+
view?: string | undefined;
|
469
|
+
}) | undefined;
|
469
470
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
470
471
|
view: {
|
471
472
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -508,41 +509,41 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
508
509
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
509
510
|
};
|
510
511
|
}> & {
|
511
|
-
size?: string;
|
512
|
-
view?: string;
|
513
|
-
readOnly?: boolean;
|
514
|
-
disabled?: boolean;
|
512
|
+
size?: string | undefined;
|
513
|
+
view?: string | undefined;
|
514
|
+
readOnly?: boolean | undefined;
|
515
|
+
disabled?: boolean | undefined;
|
515
516
|
} & {
|
516
517
|
titleCaption?: import("react").ReactNode;
|
517
518
|
leftHelper?: import("react").ReactNode;
|
518
|
-
contentLeft?:
|
519
|
-
contentRight?:
|
520
|
-
textBefore?: string;
|
521
|
-
textAfter?: string;
|
522
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
519
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
520
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
521
|
+
textBefore?: string | undefined;
|
522
|
+
textAfter?: string | undefined;
|
523
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
523
524
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
524
|
-
clear?: false;
|
525
|
-
hasDivider?:
|
525
|
+
clear?: false | undefined;
|
526
|
+
hasDivider?: undefined;
|
526
527
|
} & {
|
527
|
-
hintTrigger?:
|
528
|
-
hintText?:
|
529
|
-
hintView?:
|
530
|
-
hintSize?:
|
531
|
-
hintTargetIcon?:
|
532
|
-
hintTargetPlacement?:
|
533
|
-
hintPlacement?:
|
534
|
-
hintHasArrow?:
|
535
|
-
hintOffset?:
|
536
|
-
hintWidth?:
|
537
|
-
hintContentLeft?:
|
528
|
+
hintTrigger?: undefined;
|
529
|
+
hintText?: undefined;
|
530
|
+
hintView?: undefined;
|
531
|
+
hintSize?: undefined;
|
532
|
+
hintTargetIcon?: undefined;
|
533
|
+
hintTargetPlacement?: undefined;
|
534
|
+
hintPlacement?: undefined;
|
535
|
+
hintHasArrow?: undefined;
|
536
|
+
hintOffset?: undefined;
|
537
|
+
hintWidth?: undefined;
|
538
|
+
hintContentLeft?: undefined;
|
538
539
|
} & {
|
539
|
-
chips?:
|
540
|
-
onChangeChips?:
|
541
|
-
enumerationType?: "plain";
|
542
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
543
|
-
chipType?:
|
544
|
-
chipView?:
|
545
|
-
chipValidator?:
|
540
|
+
chips?: undefined;
|
541
|
+
onChangeChips?: undefined;
|
542
|
+
enumerationType?: "plain" | undefined;
|
543
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
544
|
+
chipType?: undefined;
|
545
|
+
chipView?: undefined;
|
546
|
+
chipValidator?: undefined;
|
546
547
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
547
548
|
view: {
|
548
549
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -585,41 +586,41 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
585
586
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
586
587
|
};
|
587
588
|
}> & {
|
588
|
-
size?: string;
|
589
|
-
view?: string;
|
590
|
-
readOnly?: boolean;
|
591
|
-
disabled?: boolean;
|
589
|
+
size?: string | undefined;
|
590
|
+
view?: string | undefined;
|
591
|
+
readOnly?: boolean | undefined;
|
592
|
+
disabled?: boolean | undefined;
|
592
593
|
} & {
|
593
594
|
titleCaption?: import("react").ReactNode;
|
594
595
|
leftHelper?: import("react").ReactNode;
|
595
|
-
contentLeft?:
|
596
|
-
contentRight?:
|
597
|
-
textBefore?: string;
|
598
|
-
textAfter?: string;
|
599
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
596
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
597
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
598
|
+
textBefore?: string | undefined;
|
599
|
+
textAfter?: string | undefined;
|
600
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
600
601
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
601
|
-
clear?: false;
|
602
|
-
hasDivider?:
|
602
|
+
clear?: false | undefined;
|
603
|
+
hasDivider?: undefined;
|
603
604
|
} & {
|
604
|
-
hintTrigger?:
|
605
|
-
hintText?:
|
606
|
-
hintView?:
|
607
|
-
hintSize?:
|
608
|
-
hintTargetIcon?:
|
609
|
-
hintTargetPlacement?:
|
610
|
-
hintPlacement?:
|
611
|
-
hintHasArrow?:
|
612
|
-
hintOffset?:
|
613
|
-
hintWidth?:
|
614
|
-
hintContentLeft?:
|
605
|
+
hintTrigger?: undefined;
|
606
|
+
hintText?: undefined;
|
607
|
+
hintView?: undefined;
|
608
|
+
hintSize?: undefined;
|
609
|
+
hintTargetIcon?: undefined;
|
610
|
+
hintTargetPlacement?: undefined;
|
611
|
+
hintPlacement?: undefined;
|
612
|
+
hintHasArrow?: undefined;
|
613
|
+
hintOffset?: undefined;
|
614
|
+
hintWidth?: undefined;
|
615
|
+
hintContentLeft?: undefined;
|
615
616
|
} & {
|
616
617
|
enumerationType: "chip";
|
617
|
-
onSearch?:
|
618
|
-
chips?:
|
619
|
-
onChangeChips?: (value:
|
620
|
-
chipType?: "default" | "text";
|
621
|
-
chipView?: string;
|
622
|
-
chipValidator?: (value: string) => {
|
623
|
-
view?: string;
|
624
|
-
};
|
618
|
+
onSearch?: undefined;
|
619
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
620
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
621
|
+
chipType?: "default" | "text" | undefined;
|
622
|
+
chipView?: string | undefined;
|
623
|
+
chipValidator?: ((value: string) => {
|
624
|
+
view?: string | undefined;
|
625
|
+
}) | undefined;
|
625
626
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref">) & import("react").RefAttributes<HTMLInputElement>>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
export declare const Note: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
2
3
|
view: {
|
3
4
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -13,13 +14,13 @@ export declare const Note: import("react").FunctionComponent<import("@salutejs/p
|
|
13
14
|
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
15
|
};
|
15
16
|
}> & {
|
16
|
-
title?: string;
|
17
|
-
text?: string;
|
18
|
-
contentBefore?:
|
19
|
-
contentBeforeSizing?: "fixed" | "scalable";
|
20
|
-
stretch?: boolean;
|
21
|
-
width?: string | number;
|
22
|
-
height?: string | number;
|
23
|
-
view?: string;
|
24
|
-
size?: string;
|
17
|
+
title?: string | undefined;
|
18
|
+
text?: string | undefined;
|
19
|
+
contentBefore?: import("react").ReactNode;
|
20
|
+
contentBeforeSizing?: "fixed" | "scalable" | undefined;
|
21
|
+
stretch?: boolean | undefined;
|
22
|
+
width?: string | number | undefined;
|
23
|
+
height?: string | number | undefined;
|
24
|
+
view?: string | undefined;
|
25
|
+
size?: string | undefined;
|
25
26
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -7,6 +7,6 @@ import { TextField } from '../TextField/TextField';
|
|
7
7
|
* на "@salutejs/plasma-new-hope/node_modules/react-number-format".
|
8
8
|
* Вероятно, оно не является переносимым. Требуется заметка с типом.
|
9
9
|
*/
|
10
|
-
type NumberFormatProps = CustomNumberFormatProps & ComponentProps<typeof TextField>;
|
10
|
+
declare type NumberFormatProps = CustomNumberFormatProps & ComponentProps<typeof TextField>;
|
11
11
|
export declare const NumberFormat: ForwardRefExoticComponent<NumberFormatProps>;
|
12
12
|
export {};
|