@salutejs/plasma-web 1.584.0-canary.2006.15341327171.0 → 1.584.0-canary.2009.15430753944.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 +9 -10
- package/components/Attach/Attach.d.ts +158 -159
- package/components/Autocomplete/Autocomplete.d.ts +344 -345
- package/components/Avatar/Avatar.d.ts +46 -47
- package/components/AvatarGroup/AvatarGroup.d.ts +1 -2
- package/components/Badge/Badge.d.ts +40 -41
- package/components/Breadcrumbs/Breadcrumbs.d.ts +3 -4
- package/components/Button/Button.d.ts +35 -36
- package/components/ButtonGroup/ButtonGroup.d.ts +0 -4
- package/components/Carousel/Carousel.d.ts +2 -3
- package/components/Cell/Cell.d.ts +19 -20
- package/components/Checkbox/Checkbox.d.ts +1 -1
- package/components/Chip/Chip.d.ts +0 -1
- package/components/ChipGroup/ChipGroup.d.ts +0 -1
- package/components/CodeField/CodeField.d.ts +18 -19
- package/components/Combobox/Combobox.d.ts +953 -953
- package/components/Combobox/Legacy/Combobox.d.ts +36 -37
- package/components/Counter/Counter.d.ts +0 -1
- package/components/DatePicker/DatePicker.d.ts +53 -54
- package/components/Divider/Divider.d.ts +0 -1
- package/components/Drawer/Drawer.d.ts +18 -19
- package/components/Dropdown/Dropdown.d.ts +52 -52
- package/components/Dropdown/components/DropdownItem.d.ts +14 -14
- package/components/Dropzone/Dropzone.d.ts +15 -16
- package/components/Editable/Editable.d.ts +0 -1
- package/components/EmptyState/EmptyState.d.ts +0 -1
- package/components/Flow/Flow.d.ts +1 -2
- package/components/Grid/Grid.d.ts +0 -1
- package/components/IconButton/IconButton.d.ts +35 -36
- package/components/Image/Image.d.ts +3 -4
- package/components/Indicator/Indicator.d.ts +0 -1
- package/components/Link/Link.d.ts +0 -1
- package/components/LinkButton/LinkButton.d.ts +8 -9
- package/components/List/List.d.ts +4 -5
- package/components/Mask/Mask.d.ts +224 -225
- package/components/Note/Note.d.ts +11 -12
- package/components/NumberFormat/NumberFormat.d.ts +1 -1
- package/components/NumberInput/NumberInput.d.ts +38 -39
- package/components/Pagination/Pagination.d.ts +0 -1
- package/components/Popover/Popover.d.ts +0 -1
- package/components/Price/Price.d.ts +0 -1
- package/components/Progress/Progress.d.ts +0 -1
- package/components/Radiobox/Radiobox.d.ts +1 -1
- package/components/Range/Range.d.ts +105 -106
- package/components/Rating/Rating.d.ts +13 -14
- package/components/Segment/Segment.d.ts +8 -9
- package/components/Select/Select.d.ts +244 -244
- package/components/Sheet/Sheet.d.ts +0 -1
- package/components/Skeleton/Skeleton.d.ts +4 -5
- package/components/Slider/Slider.d.ts +96 -105
- package/components/Steps/Steps.d.ts +0 -1
- package/components/Switch/Switch.d.ts +1 -1
- package/components/Table/Table.d.ts +0 -1
- package/components/Tabs/TabItem.d.ts +14 -14
- package/components/Tabs/Tabs.d.ts +5 -7
- package/components/TextArea/TextArea.d.ts +205 -206
- package/components/TextArea/index.d.ts +4 -4
- package/components/TextField/TextField.d.ts +261 -269
- package/components/TextFieldGroup/TextFieldGroup.d.ts +12 -13
- package/components/Toast/Toast.d.ts +0 -1
- package/components/Tokens/Colors/Colors.styles.d.ts +25 -26
- package/components/Tokens/Typography/Typography.styles.d.ts +23 -24
- package/components/Toolbar/Toolbar.d.ts +5 -6
- package/components/Tree/Tree.d.ts +0 -1
- package/components/Typography/Old/index.d.ts +36 -37
- package/components/Typography/Typography.d.ts +204 -205
- package/mixins/index.d.ts +1 -2
- package/package.json +11 -11
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
/**
|
3
2
|
* Accordion
|
4
3
|
*/
|
@@ -24,13 +23,13 @@ export declare const Accordion: import("react").FunctionComponent<import("@salut
|
|
24
23
|
fixed: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
25
24
|
};
|
26
25
|
}> & {
|
27
|
-
view?: string
|
28
|
-
size?: string
|
29
|
-
singleActive?: boolean
|
30
|
-
defaultActiveEventKey?: number[]
|
31
|
-
disabled?: boolean
|
32
|
-
stretching?: "fixed" | "filled"
|
33
|
-
onChange?: (
|
34
|
-
children?:
|
35
|
-
className?: string
|
26
|
+
view?: string;
|
27
|
+
size?: string;
|
28
|
+
singleActive?: boolean;
|
29
|
+
defaultActiveEventKey?: number[];
|
30
|
+
disabled?: boolean;
|
31
|
+
stretching?: "fixed" | "filled";
|
32
|
+
onChange?: (index?: number, value?: boolean) => void;
|
33
|
+
children?: React.ReactNode;
|
34
|
+
className?: string;
|
36
35
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
/**
|
3
2
|
* Компонент, позволяющий прикрепить локальный файл
|
4
3
|
*/
|
@@ -25,204 +24,204 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
25
24
|
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
26
25
|
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
27
26
|
};
|
28
|
-
}> & ((import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
29
|
-
text?: string
|
27
|
+
}> & ((import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
28
|
+
text?: string;
|
30
29
|
contentLeft?: import("react").ReactNode;
|
31
|
-
contentPlacing?:
|
32
|
-
isLoading?: boolean
|
30
|
+
contentPlacing?: "default" | "relaxed";
|
31
|
+
isLoading?: boolean;
|
33
32
|
loader?: import("react").ReactNode;
|
34
|
-
stretch?: boolean
|
35
|
-
stretching?:
|
36
|
-
square?: boolean
|
37
|
-
focused?: boolean
|
38
|
-
disabled?: boolean
|
39
|
-
pin?: "
|
40
|
-
view?: string
|
41
|
-
size?: string
|
42
|
-
outlined?: boolean
|
43
|
-
shiftLeft?: boolean
|
44
|
-
shiftRight?: boolean
|
45
|
-
blur?: "
|
33
|
+
stretch?: boolean;
|
34
|
+
stretching?: "fixed" | "auto" | "filled";
|
35
|
+
square?: boolean;
|
36
|
+
focused?: boolean;
|
37
|
+
disabled?: boolean;
|
38
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
39
|
+
view?: string;
|
40
|
+
size?: string;
|
41
|
+
outlined?: boolean;
|
42
|
+
shiftLeft?: boolean;
|
43
|
+
shiftRight?: boolean;
|
44
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
46
45
|
} & {
|
47
|
-
value?: string | number
|
48
|
-
contentRight?:
|
46
|
+
value?: string | number;
|
47
|
+
contentRight?: never;
|
49
48
|
} & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
|
50
|
-
buttonType?: "button"
|
51
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
52
|
-
text?: string
|
49
|
+
buttonType?: "button";
|
50
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
51
|
+
text?: string;
|
53
52
|
contentLeft?: import("react").ReactNode;
|
54
|
-
contentPlacing?:
|
55
|
-
isLoading?: boolean
|
53
|
+
contentPlacing?: "default" | "relaxed";
|
54
|
+
isLoading?: boolean;
|
56
55
|
loader?: import("react").ReactNode;
|
57
|
-
stretch?: boolean
|
58
|
-
stretching?:
|
59
|
-
square?: boolean
|
60
|
-
focused?: boolean
|
61
|
-
disabled?: boolean
|
62
|
-
pin?: "
|
63
|
-
view?: string
|
64
|
-
size?: string
|
65
|
-
outlined?: boolean
|
66
|
-
shiftLeft?: boolean
|
67
|
-
shiftRight?: boolean
|
68
|
-
blur?: "
|
56
|
+
stretch?: boolean;
|
57
|
+
stretching?: "fixed" | "auto" | "filled";
|
58
|
+
square?: boolean;
|
59
|
+
focused?: boolean;
|
60
|
+
disabled?: boolean;
|
61
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
62
|
+
view?: string;
|
63
|
+
size?: string;
|
64
|
+
outlined?: boolean;
|
65
|
+
shiftLeft?: boolean;
|
66
|
+
shiftRight?: boolean;
|
67
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
69
68
|
} & {
|
70
|
-
value?: string | number
|
71
|
-
contentRight?:
|
69
|
+
value?: string | number;
|
70
|
+
contentRight?: never;
|
72
71
|
} & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
|
73
|
-
buttonType?: "button"
|
72
|
+
buttonType?: "button";
|
74
73
|
} & {
|
75
|
-
value?:
|
74
|
+
value?: never;
|
76
75
|
contentRight?: import("react").ReactNode;
|
77
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
78
|
-
text?: string
|
76
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
77
|
+
text?: string;
|
79
78
|
contentLeft?: import("react").ReactNode;
|
80
|
-
contentPlacing?:
|
81
|
-
isLoading?: boolean
|
79
|
+
contentPlacing?: "default" | "relaxed";
|
80
|
+
isLoading?: boolean;
|
82
81
|
loader?: import("react").ReactNode;
|
83
|
-
stretch?: boolean
|
84
|
-
stretching?:
|
85
|
-
square?: boolean
|
86
|
-
focused?: boolean
|
87
|
-
disabled?: boolean
|
88
|
-
pin?: "
|
89
|
-
view?: string
|
90
|
-
size?: string
|
91
|
-
outlined?: boolean
|
92
|
-
shiftLeft?: boolean
|
93
|
-
shiftRight?: boolean
|
94
|
-
blur?: "
|
82
|
+
stretch?: boolean;
|
83
|
+
stretching?: "fixed" | "auto" | "filled";
|
84
|
+
square?: boolean;
|
85
|
+
focused?: boolean;
|
86
|
+
disabled?: boolean;
|
87
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
88
|
+
view?: string;
|
89
|
+
size?: string;
|
90
|
+
outlined?: boolean;
|
91
|
+
shiftLeft?: boolean;
|
92
|
+
shiftRight?: boolean;
|
93
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
95
94
|
} & {
|
96
|
-
value?: string | number
|
97
|
-
contentRight?:
|
95
|
+
value?: string | number;
|
96
|
+
contentRight?: never;
|
98
97
|
} & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
|
99
|
-
buttonType?: "iconButton"
|
100
|
-
icon?:
|
101
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
102
|
-
text?: string
|
98
|
+
buttonType?: "iconButton";
|
99
|
+
icon?: React.ReactNode;
|
100
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
101
|
+
text?: string;
|
103
102
|
contentLeft?: import("react").ReactNode;
|
104
|
-
contentPlacing?:
|
105
|
-
isLoading?: boolean
|
103
|
+
contentPlacing?: "default" | "relaxed";
|
104
|
+
isLoading?: boolean;
|
106
105
|
loader?: import("react").ReactNode;
|
107
|
-
stretch?: boolean
|
108
|
-
stretching?:
|
109
|
-
square?: boolean
|
110
|
-
focused?: boolean
|
111
|
-
disabled?: boolean
|
112
|
-
pin?: "
|
113
|
-
view?: string
|
114
|
-
size?: string
|
115
|
-
outlined?: boolean
|
116
|
-
shiftLeft?: boolean
|
117
|
-
shiftRight?: boolean
|
118
|
-
blur?: "
|
106
|
+
stretch?: boolean;
|
107
|
+
stretching?: "fixed" | "auto" | "filled";
|
108
|
+
square?: boolean;
|
109
|
+
focused?: boolean;
|
110
|
+
disabled?: boolean;
|
111
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
112
|
+
view?: string;
|
113
|
+
size?: string;
|
114
|
+
outlined?: boolean;
|
115
|
+
shiftLeft?: boolean;
|
116
|
+
shiftRight?: boolean;
|
117
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
119
118
|
} & {
|
120
|
-
value?: string | number
|
121
|
-
contentRight?:
|
119
|
+
value?: string | number;
|
120
|
+
contentRight?: never;
|
122
121
|
} & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
|
123
|
-
buttonType?: "iconButton"
|
124
|
-
icon?:
|
122
|
+
buttonType?: "iconButton";
|
123
|
+
icon?: React.ReactNode;
|
125
124
|
} & {
|
126
|
-
value?:
|
125
|
+
value?: never;
|
127
126
|
contentRight?: import("react").ReactNode;
|
128
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
129
|
-
text?: string
|
127
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
128
|
+
text?: string;
|
130
129
|
contentLeft?: import("react").ReactNode;
|
131
|
-
contentPlacing?:
|
132
|
-
isLoading?: boolean
|
130
|
+
contentPlacing?: "default" | "relaxed";
|
131
|
+
isLoading?: boolean;
|
133
132
|
loader?: import("react").ReactNode;
|
134
|
-
stretch?: boolean
|
135
|
-
stretching?:
|
136
|
-
square?: boolean
|
137
|
-
focused?: boolean
|
138
|
-
disabled?: boolean
|
139
|
-
pin?: "
|
140
|
-
view?: string
|
141
|
-
size?: string
|
142
|
-
outlined?: boolean
|
143
|
-
shiftLeft?: boolean
|
144
|
-
shiftRight?: boolean
|
145
|
-
blur?: "
|
133
|
+
stretch?: boolean;
|
134
|
+
stretching?: "fixed" | "auto" | "filled";
|
135
|
+
square?: boolean;
|
136
|
+
focused?: boolean;
|
137
|
+
disabled?: boolean;
|
138
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
139
|
+
view?: string;
|
140
|
+
size?: string;
|
141
|
+
outlined?: boolean;
|
142
|
+
shiftLeft?: boolean;
|
143
|
+
shiftRight?: boolean;
|
144
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
146
145
|
} & {
|
147
|
-
value?:
|
146
|
+
value?: never;
|
148
147
|
contentRight?: import("react").ReactNode;
|
149
148
|
} & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
|
150
|
-
buttonType?: "button"
|
149
|
+
buttonType?: "button";
|
151
150
|
} & {
|
152
|
-
value?: string | number
|
153
|
-
contentRight?:
|
154
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
155
|
-
text?: string
|
151
|
+
value?: string | number;
|
152
|
+
contentRight?: never;
|
153
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
154
|
+
text?: string;
|
156
155
|
contentLeft?: import("react").ReactNode;
|
157
|
-
contentPlacing?:
|
158
|
-
isLoading?: boolean
|
156
|
+
contentPlacing?: "default" | "relaxed";
|
157
|
+
isLoading?: boolean;
|
159
158
|
loader?: import("react").ReactNode;
|
160
|
-
stretch?: boolean
|
161
|
-
stretching?:
|
162
|
-
square?: boolean
|
163
|
-
focused?: boolean
|
164
|
-
disabled?: boolean
|
165
|
-
pin?: "
|
166
|
-
view?: string
|
167
|
-
size?: string
|
168
|
-
outlined?: boolean
|
169
|
-
shiftLeft?: boolean
|
170
|
-
shiftRight?: boolean
|
171
|
-
blur?: "
|
159
|
+
stretch?: boolean;
|
160
|
+
stretching?: "fixed" | "auto" | "filled";
|
161
|
+
square?: boolean;
|
162
|
+
focused?: boolean;
|
163
|
+
disabled?: boolean;
|
164
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
165
|
+
view?: string;
|
166
|
+
size?: string;
|
167
|
+
outlined?: boolean;
|
168
|
+
shiftLeft?: boolean;
|
169
|
+
shiftRight?: boolean;
|
170
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
172
171
|
} & {
|
173
|
-
value?:
|
172
|
+
value?: never;
|
174
173
|
contentRight?: import("react").ReactNode;
|
175
174
|
} & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
|
176
|
-
buttonType?: "button"
|
177
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
178
|
-
text?: string
|
175
|
+
buttonType?: "button";
|
176
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
177
|
+
text?: string;
|
179
178
|
contentLeft?: import("react").ReactNode;
|
180
|
-
contentPlacing?:
|
181
|
-
isLoading?: boolean
|
179
|
+
contentPlacing?: "default" | "relaxed";
|
180
|
+
isLoading?: boolean;
|
182
181
|
loader?: import("react").ReactNode;
|
183
|
-
stretch?: boolean
|
184
|
-
stretching?:
|
185
|
-
square?: boolean
|
186
|
-
focused?: boolean
|
187
|
-
disabled?: boolean
|
188
|
-
pin?: "
|
189
|
-
view?: string
|
190
|
-
size?: string
|
191
|
-
outlined?: boolean
|
192
|
-
shiftLeft?: boolean
|
193
|
-
shiftRight?: boolean
|
194
|
-
blur?: "
|
182
|
+
stretch?: boolean;
|
183
|
+
stretching?: "fixed" | "auto" | "filled";
|
184
|
+
square?: boolean;
|
185
|
+
focused?: boolean;
|
186
|
+
disabled?: boolean;
|
187
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
188
|
+
view?: string;
|
189
|
+
size?: string;
|
190
|
+
outlined?: boolean;
|
191
|
+
shiftLeft?: boolean;
|
192
|
+
shiftRight?: boolean;
|
193
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
195
194
|
} & {
|
196
|
-
value?:
|
195
|
+
value?: never;
|
197
196
|
contentRight?: import("react").ReactNode;
|
198
197
|
} & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
|
199
|
-
buttonType?: "iconButton"
|
200
|
-
icon?:
|
198
|
+
buttonType?: "iconButton";
|
199
|
+
icon?: React.ReactNode;
|
201
200
|
} & {
|
202
|
-
value?: string | number
|
203
|
-
contentRight?:
|
204
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
205
|
-
text?: string
|
201
|
+
value?: string | number;
|
202
|
+
contentRight?: never;
|
203
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
204
|
+
text?: string;
|
206
205
|
contentLeft?: import("react").ReactNode;
|
207
|
-
contentPlacing?:
|
208
|
-
isLoading?: boolean
|
206
|
+
contentPlacing?: "default" | "relaxed";
|
207
|
+
isLoading?: boolean;
|
209
208
|
loader?: import("react").ReactNode;
|
210
|
-
stretch?: boolean
|
211
|
-
stretching?:
|
212
|
-
square?: boolean
|
213
|
-
focused?: boolean
|
214
|
-
disabled?: boolean
|
215
|
-
pin?: "
|
216
|
-
view?: string
|
217
|
-
size?: string
|
218
|
-
outlined?: boolean
|
219
|
-
shiftLeft?: boolean
|
220
|
-
shiftRight?: boolean
|
221
|
-
blur?: "
|
209
|
+
stretch?: boolean;
|
210
|
+
stretching?: "fixed" | "auto" | "filled";
|
211
|
+
square?: boolean;
|
212
|
+
focused?: boolean;
|
213
|
+
disabled?: boolean;
|
214
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
215
|
+
view?: string;
|
216
|
+
size?: string;
|
217
|
+
outlined?: boolean;
|
218
|
+
shiftLeft?: boolean;
|
219
|
+
shiftRight?: boolean;
|
220
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
222
221
|
} & {
|
223
|
-
value?:
|
222
|
+
value?: never;
|
224
223
|
contentRight?: import("react").ReactNode;
|
225
224
|
} & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
|
226
|
-
buttonType?: "iconButton"
|
227
|
-
icon?:
|
225
|
+
buttonType?: "iconButton";
|
226
|
+
icon?: React.ReactNode;
|
228
227
|
} & import("react").RefAttributes<HTMLDivElement>))>;
|