@salutejs/sdds-cs 0.317.0-canary.1991.15256515100.0 → 0.317.0-canary.1993.15271190997.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/components/Accordion/Accordion.d.ts +10 -9
- package/components/Attach/Attach.d.ts +159 -158
- package/components/Autocomplete/Autocomplete.d.ts +353 -352
- 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 +71 -71
- package/components/ButtonGroup/ButtonGroup.d.ts +1 -0
- package/components/Calendar/CalendarBase.config.js +1 -1
- package/components/Calendar/CalendarDouble.config.js +1 -1
- package/components/Card/Card.d.ts +6 -5
- 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 +951 -951
- package/components/Counter/Counter.d.ts +1 -0
- package/components/DatePicker/DatePicker.config.js +1 -1
- package/components/DatePicker/DatePicker.d.ts +54 -53
- 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/Dropzone/Dropzone.d.ts +16 -15
- 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 +2 -1
- package/components/Mask/Mask.d.ts +225 -224
- 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.config.js +3 -3
- 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 +105 -96
- package/components/Spinner/Spinner.d.ts +14 -9
- package/components/Steps/Steps.d.ts +1 -0
- package/components/Switch/Switch.d.ts +1 -1
- package/components/Table/Table.d.ts +1 -0
- package/components/Tabs/TabItem.d.ts +23 -23
- package/components/Tabs/Tabs.d.ts +1 -1
- package/components/TextArea/TextArea.d.ts +206 -205
- package/components/TextField/TextField.d.ts +225 -224
- package/components/Toast/Toast.d.ts +1 -0
- package/components/ToastNew/ToastNew.d.ts +1 -1
- package/components/Tokens/Colors/Colors.styles.d.ts +26 -25
- package/components/Tokens/Typography/Typography.styles.d.ts +24 -23
- package/components/Toolbar/Toolbar.d.ts +6 -5
- package/components/Tree/Tree.d.ts +1 -0
- package/components/Typography/Typography.d.ts +205 -204
- package/components/ViewContainer/ViewContainer.d.ts +1 -0
- package/emotion/cjs/components/Calendar/Calendar.stories.tsx +40 -32
- package/emotion/cjs/components/Calendar/CalendarBase.config.js +1 -1
- package/emotion/cjs/components/Calendar/CalendarDouble.config.js +1 -1
- package/emotion/cjs/components/DatePicker/DatePicker.config.js +1 -1
- package/emotion/cjs/components/DatePicker/DatePicker.stories.tsx +6 -0
- package/emotion/cjs/components/Select/Select.config.js +3 -3
- package/emotion/es/components/Calendar/Calendar.stories.tsx +40 -32
- package/emotion/es/components/Calendar/CalendarBase.config.js +1 -1
- package/emotion/es/components/Calendar/CalendarDouble.config.js +1 -1
- package/emotion/es/components/DatePicker/DatePicker.config.js +1 -1
- package/emotion/es/components/DatePicker/DatePicker.stories.tsx +6 -0
- package/emotion/es/components/Select/Select.config.js +3 -3
- package/es/components/Calendar/CalendarBase.config.js +1 -1
- package/es/components/Calendar/CalendarDouble.config.js +1 -1
- package/es/components/DatePicker/DatePicker.config.js +1 -1
- package/es/components/Select/Select.config.js +3 -3
- package/mixins/index.d.ts +2 -1
- package/package.json +8 -8
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
declare const LinkComponent: 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;
|
@@ -17,7 +18,7 @@ declare const LinkComponent: import("react").FunctionComponent<import("@salutejs
|
|
17
18
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
18
19
|
};
|
19
20
|
}> & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & import("@salutejs/plasma-new-hope/types/components/Link/Link.types").LinkCustomProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
20
|
-
export type LinkProps = typeof LinkComponent;
|
21
|
+
export declare type LinkProps = typeof LinkComponent;
|
21
22
|
/**
|
22
23
|
* Ссылка.
|
23
24
|
*/
|
@@ -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;
|
@@ -26,41 +27,41 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
26
27
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
27
28
|
};
|
28
29
|
}> & {
|
29
|
-
size?: string;
|
30
|
-
view?: string;
|
31
|
-
readOnly?: boolean;
|
32
|
-
disabled?: boolean;
|
30
|
+
size?: string | undefined;
|
31
|
+
view?: string | undefined;
|
32
|
+
readOnly?: boolean | undefined;
|
33
|
+
disabled?: boolean | undefined;
|
33
34
|
} & {
|
34
35
|
titleCaption?: import("react").ReactNode;
|
35
36
|
leftHelper?: import("react").ReactNode;
|
36
|
-
contentLeft?:
|
37
|
-
contentRight?:
|
38
|
-
textBefore?: string;
|
39
|
-
textAfter?: string;
|
40
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
37
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
38
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
39
|
+
textBefore?: string | undefined;
|
40
|
+
textAfter?: string | undefined;
|
41
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
41
42
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
42
|
-
clear?: boolean;
|
43
|
-
hasDivider?: boolean;
|
43
|
+
clear?: boolean | undefined;
|
44
|
+
hasDivider?: boolean | undefined;
|
44
45
|
} & {
|
45
46
|
hintText: string;
|
46
|
-
hintTrigger?: "
|
47
|
-
hintView?: string;
|
48
|
-
hintSize?: string;
|
47
|
+
hintTrigger?: "click" | "hover" | undefined;
|
48
|
+
hintView?: string | undefined;
|
49
|
+
hintSize?: string | undefined;
|
49
50
|
hintTargetIcon?: import("react").ReactNode;
|
50
|
-
hintTargetPlacement?: "
|
51
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
52
|
-
hintHasArrow?: boolean;
|
53
|
-
hintOffset?: [number, number];
|
54
|
-
hintWidth?: string;
|
51
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
52
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
53
|
+
hintHasArrow?: boolean | undefined;
|
54
|
+
hintOffset?: [number, number] | undefined;
|
55
|
+
hintWidth?: string | undefined;
|
55
56
|
hintContentLeft?: import("react").ReactNode;
|
56
57
|
} & {
|
57
|
-
chips?:
|
58
|
-
onChangeChips?:
|
59
|
-
enumerationType?: "plain";
|
60
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
61
|
-
chipType?:
|
62
|
-
chipView?:
|
63
|
-
chipValidator?:
|
58
|
+
chips?: undefined;
|
59
|
+
onChangeChips?: undefined;
|
60
|
+
enumerationType?: "plain" | undefined;
|
61
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
62
|
+
chipType?: undefined;
|
63
|
+
chipView?: undefined;
|
64
|
+
chipValidator?: undefined;
|
64
65
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & 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<{
|
65
66
|
view: {
|
66
67
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -89,43 +90,43 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
89
90
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
90
91
|
};
|
91
92
|
}> & {
|
92
|
-
size?: string;
|
93
|
-
view?: string;
|
94
|
-
readOnly?: boolean;
|
95
|
-
disabled?: boolean;
|
93
|
+
size?: string | undefined;
|
94
|
+
view?: string | undefined;
|
95
|
+
readOnly?: boolean | undefined;
|
96
|
+
disabled?: boolean | undefined;
|
96
97
|
} & {
|
97
98
|
titleCaption?: import("react").ReactNode;
|
98
99
|
leftHelper?: import("react").ReactNode;
|
99
|
-
contentLeft?:
|
100
|
-
contentRight?:
|
101
|
-
textBefore?: string;
|
102
|
-
textAfter?: string;
|
103
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
100
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
101
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
102
|
+
textBefore?: string | undefined;
|
103
|
+
textAfter?: string | undefined;
|
104
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
104
105
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
105
|
-
clear?: boolean;
|
106
|
-
hasDivider?: boolean;
|
106
|
+
clear?: boolean | undefined;
|
107
|
+
hasDivider?: boolean | undefined;
|
107
108
|
} & {
|
108
109
|
hintText: string;
|
109
|
-
hintTrigger?: "
|
110
|
-
hintView?: string;
|
111
|
-
hintSize?: string;
|
110
|
+
hintTrigger?: "click" | "hover" | undefined;
|
111
|
+
hintView?: string | undefined;
|
112
|
+
hintSize?: string | undefined;
|
112
113
|
hintTargetIcon?: import("react").ReactNode;
|
113
|
-
hintTargetPlacement?: "
|
114
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
115
|
-
hintHasArrow?: boolean;
|
116
|
-
hintOffset?: [number, number];
|
117
|
-
hintWidth?: string;
|
114
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
115
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
116
|
+
hintHasArrow?: boolean | undefined;
|
117
|
+
hintOffset?: [number, number] | undefined;
|
118
|
+
hintWidth?: string | undefined;
|
118
119
|
hintContentLeft?: import("react").ReactNode;
|
119
120
|
} & {
|
120
121
|
enumerationType: "chip";
|
121
|
-
onSearch?:
|
122
|
-
chips?:
|
123
|
-
onChangeChips?: (value:
|
124
|
-
chipType?: "
|
125
|
-
chipView?: string;
|
126
|
-
chipValidator?: (value: string) => {
|
127
|
-
view?: string;
|
128
|
-
};
|
122
|
+
onSearch?: undefined;
|
123
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
124
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
125
|
+
chipType?: "text" | "default" | undefined;
|
126
|
+
chipView?: string | undefined;
|
127
|
+
chipValidator?: ((value: string) => {
|
128
|
+
view?: string | undefined;
|
129
|
+
}) | undefined;
|
129
130
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & 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<{
|
130
131
|
view: {
|
131
132
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -154,41 +155,41 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
154
155
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
155
156
|
};
|
156
157
|
}> & {
|
157
|
-
size?: string;
|
158
|
-
view?: string;
|
159
|
-
readOnly?: boolean;
|
160
|
-
disabled?: boolean;
|
158
|
+
size?: string | undefined;
|
159
|
+
view?: string | undefined;
|
160
|
+
readOnly?: boolean | undefined;
|
161
|
+
disabled?: boolean | undefined;
|
161
162
|
} & {
|
162
163
|
titleCaption?: import("react").ReactNode;
|
163
164
|
leftHelper?: import("react").ReactNode;
|
164
|
-
contentLeft?:
|
165
|
-
contentRight?:
|
166
|
-
textBefore?: string;
|
167
|
-
textAfter?: string;
|
168
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
165
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
166
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
167
|
+
textBefore?: string | undefined;
|
168
|
+
textAfter?: string | undefined;
|
169
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
169
170
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
170
|
-
clear?: boolean;
|
171
|
-
hasDivider?: boolean;
|
171
|
+
clear?: boolean | undefined;
|
172
|
+
hasDivider?: boolean | undefined;
|
172
173
|
} & {
|
173
|
-
hintTrigger?:
|
174
|
-
hintText?:
|
175
|
-
hintView?:
|
176
|
-
hintSize?:
|
177
|
-
hintTargetIcon?:
|
178
|
-
hintTargetPlacement?:
|
179
|
-
hintPlacement?:
|
180
|
-
hintHasArrow?:
|
181
|
-
hintOffset?:
|
182
|
-
hintWidth?:
|
183
|
-
hintContentLeft?:
|
174
|
+
hintTrigger?: undefined;
|
175
|
+
hintText?: undefined;
|
176
|
+
hintView?: undefined;
|
177
|
+
hintSize?: undefined;
|
178
|
+
hintTargetIcon?: undefined;
|
179
|
+
hintTargetPlacement?: undefined;
|
180
|
+
hintPlacement?: undefined;
|
181
|
+
hintHasArrow?: undefined;
|
182
|
+
hintOffset?: undefined;
|
183
|
+
hintWidth?: undefined;
|
184
|
+
hintContentLeft?: undefined;
|
184
185
|
} & {
|
185
|
-
chips?:
|
186
|
-
onChangeChips?:
|
187
|
-
enumerationType?: "plain";
|
188
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
189
|
-
chipType?:
|
190
|
-
chipView?:
|
191
|
-
chipValidator?:
|
186
|
+
chips?: undefined;
|
187
|
+
onChangeChips?: undefined;
|
188
|
+
enumerationType?: "plain" | undefined;
|
189
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
190
|
+
chipType?: undefined;
|
191
|
+
chipView?: undefined;
|
192
|
+
chipValidator?: undefined;
|
192
193
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & 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<{
|
193
194
|
view: {
|
194
195
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -217,43 +218,43 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
217
218
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
218
219
|
};
|
219
220
|
}> & {
|
220
|
-
size?: string;
|
221
|
-
view?: string;
|
222
|
-
readOnly?: boolean;
|
223
|
-
disabled?: boolean;
|
221
|
+
size?: string | undefined;
|
222
|
+
view?: string | undefined;
|
223
|
+
readOnly?: boolean | undefined;
|
224
|
+
disabled?: boolean | undefined;
|
224
225
|
} & {
|
225
226
|
titleCaption?: import("react").ReactNode;
|
226
227
|
leftHelper?: import("react").ReactNode;
|
227
|
-
contentLeft?:
|
228
|
-
contentRight?:
|
229
|
-
textBefore?: string;
|
230
|
-
textAfter?: string;
|
231
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
228
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
229
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
230
|
+
textBefore?: string | undefined;
|
231
|
+
textAfter?: string | undefined;
|
232
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
232
233
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
233
|
-
clear?: boolean;
|
234
|
-
hasDivider?: boolean;
|
234
|
+
clear?: boolean | undefined;
|
235
|
+
hasDivider?: boolean | undefined;
|
235
236
|
} & {
|
236
|
-
hintTrigger?:
|
237
|
-
hintText?:
|
238
|
-
hintView?:
|
239
|
-
hintSize?:
|
240
|
-
hintTargetIcon?:
|
241
|
-
hintTargetPlacement?:
|
242
|
-
hintPlacement?:
|
243
|
-
hintHasArrow?:
|
244
|
-
hintOffset?:
|
245
|
-
hintWidth?:
|
246
|
-
hintContentLeft?:
|
237
|
+
hintTrigger?: undefined;
|
238
|
+
hintText?: undefined;
|
239
|
+
hintView?: undefined;
|
240
|
+
hintSize?: undefined;
|
241
|
+
hintTargetIcon?: undefined;
|
242
|
+
hintTargetPlacement?: undefined;
|
243
|
+
hintPlacement?: undefined;
|
244
|
+
hintHasArrow?: undefined;
|
245
|
+
hintOffset?: undefined;
|
246
|
+
hintWidth?: undefined;
|
247
|
+
hintContentLeft?: undefined;
|
247
248
|
} & {
|
248
249
|
enumerationType: "chip";
|
249
|
-
onSearch?:
|
250
|
-
chips?:
|
251
|
-
onChangeChips?: (value:
|
252
|
-
chipType?: "
|
253
|
-
chipView?: string;
|
254
|
-
chipValidator?: (value: string) => {
|
255
|
-
view?: string;
|
256
|
-
};
|
250
|
+
onSearch?: undefined;
|
251
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
252
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
253
|
+
chipType?: "text" | "default" | undefined;
|
254
|
+
chipView?: string | undefined;
|
255
|
+
chipValidator?: ((value: string) => {
|
256
|
+
view?: string | undefined;
|
257
|
+
}) | undefined;
|
257
258
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & 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<{
|
258
259
|
view: {
|
259
260
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -282,41 +283,41 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
282
283
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
283
284
|
};
|
284
285
|
}> & {
|
285
|
-
size?: string;
|
286
|
-
view?: string;
|
287
|
-
readOnly?: boolean;
|
288
|
-
disabled?: boolean;
|
286
|
+
size?: string | undefined;
|
287
|
+
view?: string | undefined;
|
288
|
+
readOnly?: boolean | undefined;
|
289
|
+
disabled?: boolean | undefined;
|
289
290
|
} & {
|
290
291
|
titleCaption?: import("react").ReactNode;
|
291
292
|
leftHelper?: import("react").ReactNode;
|
292
|
-
contentLeft?:
|
293
|
-
contentRight?:
|
294
|
-
textBefore?: string;
|
295
|
-
textAfter?: string;
|
296
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
293
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
294
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
295
|
+
textBefore?: string | undefined;
|
296
|
+
textAfter?: string | undefined;
|
297
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
297
298
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
298
|
-
clear?: false;
|
299
|
-
hasDivider?:
|
299
|
+
clear?: false | undefined;
|
300
|
+
hasDivider?: undefined;
|
300
301
|
} & {
|
301
302
|
hintText: string;
|
302
|
-
hintTrigger?: "
|
303
|
-
hintView?: string;
|
304
|
-
hintSize?: string;
|
303
|
+
hintTrigger?: "click" | "hover" | undefined;
|
304
|
+
hintView?: string | undefined;
|
305
|
+
hintSize?: string | undefined;
|
305
306
|
hintTargetIcon?: import("react").ReactNode;
|
306
|
-
hintTargetPlacement?: "
|
307
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
308
|
-
hintHasArrow?: boolean;
|
309
|
-
hintOffset?: [number, number];
|
310
|
-
hintWidth?: string;
|
307
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
308
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
309
|
+
hintHasArrow?: boolean | undefined;
|
310
|
+
hintOffset?: [number, number] | undefined;
|
311
|
+
hintWidth?: string | undefined;
|
311
312
|
hintContentLeft?: import("react").ReactNode;
|
312
313
|
} & {
|
313
|
-
chips?:
|
314
|
-
onChangeChips?:
|
315
|
-
enumerationType?: "plain";
|
316
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
317
|
-
chipType?:
|
318
|
-
chipView?:
|
319
|
-
chipValidator?:
|
314
|
+
chips?: undefined;
|
315
|
+
onChangeChips?: undefined;
|
316
|
+
enumerationType?: "plain" | undefined;
|
317
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
318
|
+
chipType?: undefined;
|
319
|
+
chipView?: undefined;
|
320
|
+
chipValidator?: undefined;
|
320
321
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & 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<{
|
321
322
|
view: {
|
322
323
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -345,43 +346,43 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
345
346
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
346
347
|
};
|
347
348
|
}> & {
|
348
|
-
size?: string;
|
349
|
-
view?: string;
|
350
|
-
readOnly?: boolean;
|
351
|
-
disabled?: boolean;
|
349
|
+
size?: string | undefined;
|
350
|
+
view?: string | undefined;
|
351
|
+
readOnly?: boolean | undefined;
|
352
|
+
disabled?: boolean | undefined;
|
352
353
|
} & {
|
353
354
|
titleCaption?: import("react").ReactNode;
|
354
355
|
leftHelper?: import("react").ReactNode;
|
355
|
-
contentLeft?:
|
356
|
-
contentRight?:
|
357
|
-
textBefore?: string;
|
358
|
-
textAfter?: string;
|
359
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
356
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
357
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
358
|
+
textBefore?: string | undefined;
|
359
|
+
textAfter?: string | undefined;
|
360
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
360
361
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
361
|
-
clear?: false;
|
362
|
-
hasDivider?:
|
362
|
+
clear?: false | undefined;
|
363
|
+
hasDivider?: undefined;
|
363
364
|
} & {
|
364
365
|
hintText: string;
|
365
|
-
hintTrigger?: "
|
366
|
-
hintView?: string;
|
367
|
-
hintSize?: string;
|
366
|
+
hintTrigger?: "click" | "hover" | undefined;
|
367
|
+
hintView?: string | undefined;
|
368
|
+
hintSize?: string | undefined;
|
368
369
|
hintTargetIcon?: import("react").ReactNode;
|
369
|
-
hintTargetPlacement?: "
|
370
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement |
|
371
|
-
hintHasArrow?: boolean;
|
372
|
-
hintOffset?: [number, number];
|
373
|
-
hintWidth?: string;
|
370
|
+
hintTargetPlacement?: "outer" | "inner" | undefined;
|
371
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
|
372
|
+
hintHasArrow?: boolean | undefined;
|
373
|
+
hintOffset?: [number, number] | undefined;
|
374
|
+
hintWidth?: string | undefined;
|
374
375
|
hintContentLeft?: import("react").ReactNode;
|
375
376
|
} & {
|
376
377
|
enumerationType: "chip";
|
377
|
-
onSearch?:
|
378
|
-
chips?:
|
379
|
-
onChangeChips?: (value:
|
380
|
-
chipType?: "
|
381
|
-
chipView?: string;
|
382
|
-
chipValidator?: (value: string) => {
|
383
|
-
view?: string;
|
384
|
-
};
|
378
|
+
onSearch?: undefined;
|
379
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
380
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
381
|
+
chipType?: "text" | "default" | undefined;
|
382
|
+
chipView?: string | undefined;
|
383
|
+
chipValidator?: ((value: string) => {
|
384
|
+
view?: string | undefined;
|
385
|
+
}) | undefined;
|
385
386
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & 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<{
|
386
387
|
view: {
|
387
388
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -410,41 +411,41 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
410
411
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
411
412
|
};
|
412
413
|
}> & {
|
413
|
-
size?: string;
|
414
|
-
view?: string;
|
415
|
-
readOnly?: boolean;
|
416
|
-
disabled?: boolean;
|
414
|
+
size?: string | undefined;
|
415
|
+
view?: string | undefined;
|
416
|
+
readOnly?: boolean | undefined;
|
417
|
+
disabled?: boolean | undefined;
|
417
418
|
} & {
|
418
419
|
titleCaption?: import("react").ReactNode;
|
419
420
|
leftHelper?: import("react").ReactNode;
|
420
|
-
contentLeft?:
|
421
|
-
contentRight?:
|
422
|
-
textBefore?: string;
|
423
|
-
textAfter?: string;
|
424
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
421
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
422
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
423
|
+
textBefore?: string | undefined;
|
424
|
+
textAfter?: string | undefined;
|
425
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
425
426
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
426
|
-
clear?: false;
|
427
|
-
hasDivider?:
|
427
|
+
clear?: false | undefined;
|
428
|
+
hasDivider?: undefined;
|
428
429
|
} & {
|
429
|
-
hintTrigger?:
|
430
|
-
hintText?:
|
431
|
-
hintView?:
|
432
|
-
hintSize?:
|
433
|
-
hintTargetIcon?:
|
434
|
-
hintTargetPlacement?:
|
435
|
-
hintPlacement?:
|
436
|
-
hintHasArrow?:
|
437
|
-
hintOffset?:
|
438
|
-
hintWidth?:
|
439
|
-
hintContentLeft?:
|
430
|
+
hintTrigger?: undefined;
|
431
|
+
hintText?: undefined;
|
432
|
+
hintView?: undefined;
|
433
|
+
hintSize?: undefined;
|
434
|
+
hintTargetIcon?: undefined;
|
435
|
+
hintTargetPlacement?: undefined;
|
436
|
+
hintPlacement?: undefined;
|
437
|
+
hintHasArrow?: undefined;
|
438
|
+
hintOffset?: undefined;
|
439
|
+
hintWidth?: undefined;
|
440
|
+
hintContentLeft?: undefined;
|
440
441
|
} & {
|
441
|
-
chips?:
|
442
|
-
onChangeChips?:
|
443
|
-
enumerationType?: "plain";
|
444
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
445
|
-
chipType?:
|
446
|
-
chipView?:
|
447
|
-
chipValidator?:
|
442
|
+
chips?: undefined;
|
443
|
+
onChangeChips?: undefined;
|
444
|
+
enumerationType?: "plain" | undefined;
|
445
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
446
|
+
chipType?: undefined;
|
447
|
+
chipView?: undefined;
|
448
|
+
chipValidator?: undefined;
|
448
449
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & 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<{
|
449
450
|
view: {
|
450
451
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -473,41 +474,41 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
473
474
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
474
475
|
};
|
475
476
|
}> & {
|
476
|
-
size?: string;
|
477
|
-
view?: string;
|
478
|
-
readOnly?: boolean;
|
479
|
-
disabled?: boolean;
|
477
|
+
size?: string | undefined;
|
478
|
+
view?: string | undefined;
|
479
|
+
readOnly?: boolean | undefined;
|
480
|
+
disabled?: boolean | undefined;
|
480
481
|
} & {
|
481
482
|
titleCaption?: import("react").ReactNode;
|
482
483
|
leftHelper?: import("react").ReactNode;
|
483
|
-
contentLeft?:
|
484
|
-
contentRight?:
|
485
|
-
textBefore?: string;
|
486
|
-
textAfter?: string;
|
487
|
-
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
484
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
485
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
486
|
+
textBefore?: string | undefined;
|
487
|
+
textAfter?: string | undefined;
|
488
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
488
489
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
489
|
-
clear?: false;
|
490
|
-
hasDivider?:
|
490
|
+
clear?: false | undefined;
|
491
|
+
hasDivider?: undefined;
|
491
492
|
} & {
|
492
|
-
hintTrigger?:
|
493
|
-
hintText?:
|
494
|
-
hintView?:
|
495
|
-
hintSize?:
|
496
|
-
hintTargetIcon?:
|
497
|
-
hintTargetPlacement?:
|
498
|
-
hintPlacement?:
|
499
|
-
hintHasArrow?:
|
500
|
-
hintOffset?:
|
501
|
-
hintWidth?:
|
502
|
-
hintContentLeft?:
|
493
|
+
hintTrigger?: undefined;
|
494
|
+
hintText?: undefined;
|
495
|
+
hintView?: undefined;
|
496
|
+
hintSize?: undefined;
|
497
|
+
hintTargetIcon?: undefined;
|
498
|
+
hintTargetPlacement?: undefined;
|
499
|
+
hintPlacement?: undefined;
|
500
|
+
hintHasArrow?: undefined;
|
501
|
+
hintOffset?: undefined;
|
502
|
+
hintWidth?: undefined;
|
503
|
+
hintContentLeft?: undefined;
|
503
504
|
} & {
|
504
505
|
enumerationType: "chip";
|
505
|
-
onSearch?:
|
506
|
-
chips?:
|
507
|
-
onChangeChips?: (value:
|
508
|
-
chipType?: "
|
509
|
-
chipView?: string;
|
510
|
-
chipValidator?: (value: string) => {
|
511
|
-
view?: string;
|
512
|
-
};
|
506
|
+
onSearch?: undefined;
|
507
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
508
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
509
|
+
chipType?: "text" | "default" | undefined;
|
510
|
+
chipView?: string | undefined;
|
511
|
+
chipValidator?: ((value: string) => {
|
512
|
+
view?: string | undefined;
|
513
|
+
}) | undefined;
|
513
514
|
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref">) & import("react").RefAttributes<HTMLInputElement>>;
|
@@ -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 {};
|