@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 NumberInput: 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;
|
@@ -28,55 +29,55 @@ export declare const NumberInput: import("react").FunctionComponent<import("@sal
|
|
28
29
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
29
30
|
};
|
30
31
|
}> & (({
|
31
|
-
value?: number;
|
32
|
-
min?: number;
|
33
|
-
max?: number;
|
34
|
-
step?: number;
|
35
|
-
precision?: number;
|
36
|
-
isLoading?: boolean;
|
32
|
+
value?: number | undefined;
|
33
|
+
min?: number | undefined;
|
34
|
+
max?: number | undefined;
|
35
|
+
step?: number | undefined;
|
36
|
+
precision?: number | undefined;
|
37
|
+
isLoading?: boolean | undefined;
|
37
38
|
loader?: import("react").ReactNode;
|
38
|
-
size?: string;
|
39
|
-
view?: string;
|
40
|
-
clear?: boolean;
|
41
|
-
shape?: string;
|
42
|
-
disabled?: boolean;
|
43
|
-
textBefore?: string;
|
44
|
-
textAfter?: string;
|
39
|
+
size?: string | undefined;
|
40
|
+
view?: string | undefined;
|
41
|
+
clear?: boolean | undefined;
|
42
|
+
shape?: string | undefined;
|
43
|
+
disabled?: boolean | undefined;
|
44
|
+
textBefore?: string | undefined;
|
45
|
+
textAfter?: string | undefined;
|
45
46
|
customIncrementButton?: import("react").ReactNode;
|
46
47
|
incrementIcon?: import("react").ReactNode;
|
47
48
|
customDecrementButton?: import("react").ReactNode;
|
48
49
|
decrementIcon?: import("react").ReactNode;
|
49
|
-
isManualInput?: boolean;
|
50
|
-
onChange?: (event: import("react").SyntheticEvent<HTMLInputElement> | null, value:
|
51
|
-
onIncrement?: (value: number) => void;
|
52
|
-
onDecrement?: (value: number) => void;
|
50
|
+
isManualInput?: boolean | undefined;
|
51
|
+
onChange?: ((event: import("react").SyntheticEvent<HTMLInputElement, Event> | null, value: string | number) => void) | undefined;
|
52
|
+
onIncrement?: ((value: number) => void) | undefined;
|
53
|
+
onDecrement?: ((value: number) => void) | undefined;
|
53
54
|
} & {
|
54
|
-
segmentation?: "clear";
|
55
|
-
inputBackgroundType?:
|
55
|
+
segmentation?: "clear" | undefined;
|
56
|
+
inputBackgroundType?: undefined;
|
56
57
|
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
57
|
-
value?: number;
|
58
|
-
min?: number;
|
59
|
-
max?: number;
|
60
|
-
step?: number;
|
61
|
-
precision?: number;
|
62
|
-
isLoading?: boolean;
|
58
|
+
value?: number | undefined;
|
59
|
+
min?: number | undefined;
|
60
|
+
max?: number | undefined;
|
61
|
+
step?: number | undefined;
|
62
|
+
precision?: number | undefined;
|
63
|
+
isLoading?: boolean | undefined;
|
63
64
|
loader?: import("react").ReactNode;
|
64
|
-
size?: string;
|
65
|
-
view?: string;
|
66
|
-
clear?: boolean;
|
67
|
-
shape?: string;
|
68
|
-
disabled?: boolean;
|
69
|
-
textBefore?: string;
|
70
|
-
textAfter?: string;
|
65
|
+
size?: string | undefined;
|
66
|
+
view?: string | undefined;
|
67
|
+
clear?: boolean | undefined;
|
68
|
+
shape?: string | undefined;
|
69
|
+
disabled?: boolean | undefined;
|
70
|
+
textBefore?: string | undefined;
|
71
|
+
textAfter?: string | undefined;
|
71
72
|
customIncrementButton?: import("react").ReactNode;
|
72
73
|
incrementIcon?: import("react").ReactNode;
|
73
74
|
customDecrementButton?: import("react").ReactNode;
|
74
75
|
decrementIcon?: import("react").ReactNode;
|
75
|
-
isManualInput?: boolean;
|
76
|
-
onChange?: (event: import("react").SyntheticEvent<HTMLInputElement> | null, value:
|
77
|
-
onIncrement?: (value: number) => void;
|
78
|
-
onDecrement?: (value: number) => void;
|
76
|
+
isManualInput?: boolean | undefined;
|
77
|
+
onChange?: ((event: import("react").SyntheticEvent<HTMLInputElement, Event> | null, value: string | number) => void) | undefined;
|
78
|
+
onIncrement?: ((value: number) => void) | undefined;
|
79
|
+
onDecrement?: ((value: number) => void) | undefined;
|
79
80
|
} & {
|
80
|
-
segmentation?: string;
|
81
|
-
inputBackgroundType?: string;
|
81
|
+
segmentation?: string | undefined;
|
82
|
+
inputBackgroundType?: string | undefined;
|
82
83
|
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value"> & import("react").RefAttributes<HTMLInputElement>))>;
|
@@ -22,7 +22,7 @@ declare const RadioboxComponent: import("react").FunctionComponent<import("@salu
|
|
22
22
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
23
23
|
};
|
24
24
|
}> & import("@salutejs/plasma-new-hope/types/engines/types").Filter<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("@salutejs/plasma-new-hope/styled-components").BaseboxProps, "indeterminate"> & import("react").RefAttributes<HTMLInputElement>>;
|
25
|
-
export type RadioboxProps = ComponentProps<typeof RadioboxComponent>;
|
25
|
+
export declare type RadioboxProps = ComponentProps<typeof RadioboxComponent>;
|
26
26
|
/**
|
27
27
|
* Переключатель, или *радиокнопка*.
|
28
28
|
*/
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
/**
|
2
3
|
* Компонент Range.
|
3
4
|
*/
|
@@ -18,123 +19,123 @@ export declare const Range: import("react").FunctionComponent<import("@salutejs/
|
|
18
19
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
19
20
|
};
|
20
21
|
}> & (({
|
21
|
-
label?: string;
|
22
|
-
leftHelper?: string;
|
22
|
+
label?: string | undefined;
|
23
|
+
leftHelper?: string | undefined;
|
23
24
|
contentLeft?: import("react").ReactNode;
|
24
25
|
contentRight?: import("react").ReactNode;
|
25
|
-
firstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").TextfieldPrimitiveValue;
|
26
|
-
secondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").TextfieldPrimitiveValue;
|
27
|
-
firstValueError?: boolean;
|
28
|
-
secondValueError?: boolean;
|
29
|
-
firstValueSuccess?: boolean;
|
30
|
-
secondValueSuccess?: boolean;
|
31
|
-
firstPlaceholder?: string;
|
32
|
-
secondPlaceholder?: string;
|
33
|
-
firstTextfieldContentLeft?: import("react").ReactElement;
|
34
|
-
firstTextfieldContentRight?: import("react").ReactElement;
|
35
|
-
secondTextfieldContentLeft?: import("react").ReactElement;
|
36
|
-
secondTextfieldContentRight?: import("react").ReactElement;
|
37
|
-
firstTextfieldTextAfter?: string;
|
38
|
-
secondTextfieldTextAfter?: string;
|
39
|
-
autoComplete?: string;
|
40
|
-
view?: string;
|
41
|
-
size?: string;
|
42
|
-
readOnly?: boolean;
|
43
|
-
disabled?: boolean;
|
44
|
-
requiredPlacement?: "
|
45
|
-
required?: boolean;
|
46
|
-
hasRequiredIndicator?: boolean;
|
47
|
-
onChangeFirstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance;
|
48
|
-
onChangeSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance;
|
49
|
-
onSearchFirstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance;
|
50
|
-
onSearchSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance;
|
51
|
-
onFocusFirstTextfield?: (event: import("react").FocusEvent<HTMLInputElement>) => void;
|
52
|
-
onFocusSecondTextfield?: (event: import("react").FocusEvent<HTMLInputElement>) => void;
|
53
|
-
onBlurFirstTextfield?: (event: import("react").FocusEvent<HTMLInputElement>) => void;
|
54
|
-
onBlurSecondTextfield?: (event: import("react").FocusEvent<HTMLInputElement>) => void;
|
26
|
+
firstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").TextfieldPrimitiveValue | undefined;
|
27
|
+
secondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").TextfieldPrimitiveValue | undefined;
|
28
|
+
firstValueError?: boolean | undefined;
|
29
|
+
secondValueError?: boolean | undefined;
|
30
|
+
firstValueSuccess?: boolean | undefined;
|
31
|
+
secondValueSuccess?: boolean | undefined;
|
32
|
+
firstPlaceholder?: string | undefined;
|
33
|
+
secondPlaceholder?: string | undefined;
|
34
|
+
firstTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
35
|
+
firstTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
36
|
+
secondTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
37
|
+
secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
38
|
+
firstTextfieldTextAfter?: string | undefined;
|
39
|
+
secondTextfieldTextAfter?: string | undefined;
|
40
|
+
autoComplete?: string | undefined;
|
41
|
+
view?: string | undefined;
|
42
|
+
size?: string | undefined;
|
43
|
+
readOnly?: boolean | undefined;
|
44
|
+
disabled?: boolean | undefined;
|
45
|
+
requiredPlacement?: "right" | "left" | undefined;
|
46
|
+
required?: boolean | undefined;
|
47
|
+
hasRequiredIndicator?: boolean | undefined;
|
48
|
+
onChangeFirstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance | undefined;
|
49
|
+
onChangeSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance | undefined;
|
50
|
+
onSearchFirstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
51
|
+
onSearchSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
52
|
+
onFocusFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
53
|
+
onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
54
|
+
onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
55
|
+
onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
55
56
|
} & {
|
56
57
|
firstTextfieldTextBefore: string;
|
57
58
|
secondTextfieldTextBefore: string;
|
58
|
-
dividerVariant?: "none";
|
59
|
-
dividerIcon?:
|
59
|
+
dividerVariant?: "none" | undefined;
|
60
|
+
dividerIcon?: undefined;
|
60
61
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<import("@salutejs/plasma-new-hope/styled-components").RangeInputRefs>) | ({
|
61
|
-
label?: string;
|
62
|
-
leftHelper?: string;
|
62
|
+
label?: string | undefined;
|
63
|
+
leftHelper?: string | undefined;
|
63
64
|
contentLeft?: import("react").ReactNode;
|
64
65
|
contentRight?: import("react").ReactNode;
|
65
|
-
firstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").TextfieldPrimitiveValue;
|
66
|
-
secondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").TextfieldPrimitiveValue;
|
67
|
-
firstValueError?: boolean;
|
68
|
-
secondValueError?: boolean;
|
69
|
-
firstValueSuccess?: boolean;
|
70
|
-
secondValueSuccess?: boolean;
|
71
|
-
firstPlaceholder?: string;
|
72
|
-
secondPlaceholder?: string;
|
73
|
-
firstTextfieldContentLeft?: import("react").ReactElement;
|
74
|
-
firstTextfieldContentRight?: import("react").ReactElement;
|
75
|
-
secondTextfieldContentLeft?: import("react").ReactElement;
|
76
|
-
secondTextfieldContentRight?: import("react").ReactElement;
|
77
|
-
firstTextfieldTextAfter?: string;
|
78
|
-
secondTextfieldTextAfter?: string;
|
79
|
-
autoComplete?: string;
|
80
|
-
view?: string;
|
81
|
-
size?: string;
|
82
|
-
readOnly?: boolean;
|
83
|
-
disabled?: boolean;
|
84
|
-
requiredPlacement?: "
|
85
|
-
required?: boolean;
|
86
|
-
hasRequiredIndicator?: boolean;
|
87
|
-
onChangeFirstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance;
|
88
|
-
onChangeSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance;
|
89
|
-
onSearchFirstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance;
|
90
|
-
onSearchSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance;
|
91
|
-
onFocusFirstTextfield?: (event: import("react").FocusEvent<HTMLInputElement>) => void;
|
92
|
-
onFocusSecondTextfield?: (event: import("react").FocusEvent<HTMLInputElement>) => void;
|
93
|
-
onBlurFirstTextfield?: (event: import("react").FocusEvent<HTMLInputElement>) => void;
|
94
|
-
onBlurSecondTextfield?: (event: import("react").FocusEvent<HTMLInputElement>) => void;
|
66
|
+
firstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").TextfieldPrimitiveValue | undefined;
|
67
|
+
secondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").TextfieldPrimitiveValue | undefined;
|
68
|
+
firstValueError?: boolean | undefined;
|
69
|
+
secondValueError?: boolean | undefined;
|
70
|
+
firstValueSuccess?: boolean | undefined;
|
71
|
+
secondValueSuccess?: boolean | undefined;
|
72
|
+
firstPlaceholder?: string | undefined;
|
73
|
+
secondPlaceholder?: string | undefined;
|
74
|
+
firstTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
75
|
+
firstTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
76
|
+
secondTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
77
|
+
secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
78
|
+
firstTextfieldTextAfter?: string | undefined;
|
79
|
+
secondTextfieldTextAfter?: string | undefined;
|
80
|
+
autoComplete?: string | undefined;
|
81
|
+
view?: string | undefined;
|
82
|
+
size?: string | undefined;
|
83
|
+
readOnly?: boolean | undefined;
|
84
|
+
disabled?: boolean | undefined;
|
85
|
+
requiredPlacement?: "right" | "left" | undefined;
|
86
|
+
required?: boolean | undefined;
|
87
|
+
hasRequiredIndicator?: boolean | undefined;
|
88
|
+
onChangeFirstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance | undefined;
|
89
|
+
onChangeSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance | undefined;
|
90
|
+
onSearchFirstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
91
|
+
onSearchSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
92
|
+
onFocusFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
93
|
+
onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
94
|
+
onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
95
|
+
onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
95
96
|
} & {
|
96
|
-
dividerVariant?: "dash";
|
97
|
-
dividerIcon?:
|
98
|
-
firstTextfieldTextBefore?: string;
|
99
|
-
secondTextfieldTextBefore?: string;
|
97
|
+
dividerVariant?: "dash" | undefined;
|
98
|
+
dividerIcon?: undefined;
|
99
|
+
firstTextfieldTextBefore?: string | undefined;
|
100
|
+
secondTextfieldTextBefore?: string | undefined;
|
100
101
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<import("@salutejs/plasma-new-hope/styled-components").RangeInputRefs>) | ({
|
101
|
-
label?: string;
|
102
|
-
leftHelper?: string;
|
102
|
+
label?: string | undefined;
|
103
|
+
leftHelper?: string | undefined;
|
103
104
|
contentLeft?: import("react").ReactNode;
|
104
105
|
contentRight?: import("react").ReactNode;
|
105
|
-
firstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").TextfieldPrimitiveValue;
|
106
|
-
secondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").TextfieldPrimitiveValue;
|
107
|
-
firstValueError?: boolean;
|
108
|
-
secondValueError?: boolean;
|
109
|
-
firstValueSuccess?: boolean;
|
110
|
-
secondValueSuccess?: boolean;
|
111
|
-
firstPlaceholder?: string;
|
112
|
-
secondPlaceholder?: string;
|
113
|
-
firstTextfieldContentLeft?: import("react").ReactElement;
|
114
|
-
firstTextfieldContentRight?: import("react").ReactElement;
|
115
|
-
secondTextfieldContentLeft?: import("react").ReactElement;
|
116
|
-
secondTextfieldContentRight?: import("react").ReactElement;
|
117
|
-
firstTextfieldTextAfter?: string;
|
118
|
-
secondTextfieldTextAfter?: string;
|
119
|
-
autoComplete?: string;
|
120
|
-
view?: string;
|
121
|
-
size?: string;
|
122
|
-
readOnly?: boolean;
|
123
|
-
disabled?: boolean;
|
124
|
-
requiredPlacement?: "
|
125
|
-
required?: boolean;
|
126
|
-
hasRequiredIndicator?: boolean;
|
127
|
-
onChangeFirstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance;
|
128
|
-
onChangeSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance;
|
129
|
-
onSearchFirstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance;
|
130
|
-
onSearchSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance;
|
131
|
-
onFocusFirstTextfield?: (event: import("react").FocusEvent<HTMLInputElement>) => void;
|
132
|
-
onFocusSecondTextfield?: (event: import("react").FocusEvent<HTMLInputElement>) => void;
|
133
|
-
onBlurFirstTextfield?: (event: import("react").FocusEvent<HTMLInputElement>) => void;
|
134
|
-
onBlurSecondTextfield?: (event: import("react").FocusEvent<HTMLInputElement>) => void;
|
106
|
+
firstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").TextfieldPrimitiveValue | undefined;
|
107
|
+
secondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").TextfieldPrimitiveValue | undefined;
|
108
|
+
firstValueError?: boolean | undefined;
|
109
|
+
secondValueError?: boolean | undefined;
|
110
|
+
firstValueSuccess?: boolean | undefined;
|
111
|
+
secondValueSuccess?: boolean | undefined;
|
112
|
+
firstPlaceholder?: string | undefined;
|
113
|
+
secondPlaceholder?: string | undefined;
|
114
|
+
firstTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
115
|
+
firstTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
116
|
+
secondTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
117
|
+
secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
118
|
+
firstTextfieldTextAfter?: string | undefined;
|
119
|
+
secondTextfieldTextAfter?: string | undefined;
|
120
|
+
autoComplete?: string | undefined;
|
121
|
+
view?: string | undefined;
|
122
|
+
size?: string | undefined;
|
123
|
+
readOnly?: boolean | undefined;
|
124
|
+
disabled?: boolean | undefined;
|
125
|
+
requiredPlacement?: "right" | "left" | undefined;
|
126
|
+
required?: boolean | undefined;
|
127
|
+
hasRequiredIndicator?: boolean | undefined;
|
128
|
+
onChangeFirstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance | undefined;
|
129
|
+
onChangeSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance | undefined;
|
130
|
+
onSearchFirstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
131
|
+
onSearchSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
132
|
+
onFocusFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
133
|
+
onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
134
|
+
onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
135
|
+
onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
135
136
|
} & {
|
136
137
|
dividerIcon?: import("react").ReactNode;
|
137
|
-
dividerVariant?: "icon";
|
138
|
-
firstTextfieldTextBefore?: string;
|
139
|
-
secondTextfieldTextBefore?: string;
|
138
|
+
dividerVariant?: "icon" | undefined;
|
139
|
+
firstTextfieldTextBefore?: string | undefined;
|
140
|
+
secondTextfieldTextBefore?: string | undefined;
|
140
141
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<import("@salutejs/plasma-new-hope/styled-components").RangeInputRefs>))>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
export declare const Rating: 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;
|
@@ -19,17 +20,17 @@ export declare const Rating: import("react").FunctionComponent<import("@salutejs
|
|
19
20
|
displayS: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
20
21
|
};
|
21
22
|
}> & {
|
22
|
-
value?: number | null;
|
23
|
-
hasValue?: boolean;
|
24
|
-
precision?: number;
|
25
|
-
valuePlacement?: "
|
26
|
-
iconSlot?:
|
27
|
-
iconSlotOutline?:
|
28
|
-
iconSlotHalf?:
|
29
|
-
hasIcons?: boolean;
|
30
|
-
iconQuantity?: 1 | 5 | 10;
|
31
|
-
helperText?: string;
|
32
|
-
helperTextStretching?: "fixed" | "filled";
|
33
|
-
size?: string;
|
34
|
-
view?: string;
|
23
|
+
value?: number | null | undefined;
|
24
|
+
hasValue?: boolean | undefined;
|
25
|
+
precision?: number | undefined;
|
26
|
+
valuePlacement?: "after" | "before" | undefined;
|
27
|
+
iconSlot?: import("react").ReactNode;
|
28
|
+
iconSlotOutline?: import("react").ReactNode;
|
29
|
+
iconSlotHalf?: import("react").ReactNode;
|
30
|
+
hasIcons?: boolean | undefined;
|
31
|
+
iconQuantity?: 1 | 5 | 10 | undefined;
|
32
|
+
helperText?: string | undefined;
|
33
|
+
helperTextStretching?: "fixed" | "filled" | undefined;
|
34
|
+
size?: string | undefined;
|
35
|
+
view?: string | undefined;
|
35
36
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
/**
|
2
3
|
* Провайдер контекста для группы сегментов и хук для доступа к контексту.
|
3
4
|
*/
|
@@ -58,12 +59,12 @@ export declare const SegmentItem: import("react").FunctionComponent<import("@sal
|
|
58
59
|
};
|
59
60
|
}> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
60
61
|
value: string;
|
61
|
-
id?: string;
|
62
|
-
label?:
|
63
|
-
pilled?: boolean;
|
64
|
-
customHandleSelect?: (e: import("react").MouseEvent<HTMLButtonElement>) => void;
|
65
|
-
size?: string;
|
66
|
-
view?: string;
|
67
|
-
contentLeft?:
|
68
|
-
contentRight?:
|
62
|
+
id?: string | undefined;
|
63
|
+
label?: import("react").ReactNode;
|
64
|
+
pilled?: boolean | undefined;
|
65
|
+
customHandleSelect?: ((e: import("react").MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined;
|
66
|
+
size?: string | undefined;
|
67
|
+
view?: string | undefined;
|
68
|
+
contentLeft?: import("react").ReactNode;
|
69
|
+
contentRight?: import("react").ReactNode;
|
69
70
|
} & import("react").RefAttributes<HTMLLabelElement>>;
|