@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.
Files changed (65) hide show
  1. package/api/plasma-web.api.md +1490 -1488
  2. package/components/Accordion/Accordion.d.ts +10 -9
  3. package/components/Attach/Attach.d.ts +159 -158
  4. package/components/Autocomplete/Autocomplete.d.ts +193 -192
  5. package/components/Avatar/Avatar.d.ts +47 -46
  6. package/components/AvatarGroup/AvatarGroup.d.ts +2 -1
  7. package/components/Badge/Badge.d.ts +41 -40
  8. package/components/Breadcrumbs/Breadcrumbs.d.ts +4 -3
  9. package/components/Button/Button.d.ts +36 -35
  10. package/components/ButtonGroup/ButtonGroup.d.ts +4 -0
  11. package/components/Cell/Cell.d.ts +20 -19
  12. package/components/Checkbox/Checkbox.d.ts +1 -1
  13. package/components/Chip/Chip.d.ts +1 -0
  14. package/components/ChipGroup/ChipGroup.d.ts +1 -0
  15. package/components/Combobox/Combobox.d.ts +953 -953
  16. package/components/Combobox/Legacy/Combobox.d.ts +37 -36
  17. package/components/Counter/Counter.d.ts +1 -0
  18. package/components/DatePicker/DatePicker.d.ts +51 -50
  19. package/components/Divider/Divider.d.ts +1 -0
  20. package/components/Drawer/Drawer.d.ts +19 -18
  21. package/components/Dropdown/Dropdown.d.ts +52 -52
  22. package/components/Dropdown/components/DropdownItem.d.ts +14 -14
  23. package/components/Dropzone/Dropzone.d.ts +16 -15
  24. package/components/Editable/Editable.d.ts +1 -0
  25. package/components/EmptyState/EmptyState.d.ts +1 -0
  26. package/components/Flow/Flow.d.ts +2 -1
  27. package/components/Grid/Grid.d.ts +1 -0
  28. package/components/IconButton/IconButton.d.ts +36 -35
  29. package/components/Image/Image.d.ts +4 -3
  30. package/components/Indicator/Indicator.d.ts +1 -0
  31. package/components/Link/Link.d.ts +1 -0
  32. package/components/LinkButton/LinkButton.d.ts +9 -8
  33. package/components/Mask/Mask.d.ts +225 -224
  34. package/components/Note/Note.d.ts +10 -9
  35. package/components/NumberFormat/NumberFormat.d.ts +1 -1
  36. package/components/NumberInput/NumberInput.d.ts +39 -38
  37. package/components/Pagination/Pagination.d.ts +1 -0
  38. package/components/Popover/Popover.d.ts +1 -0
  39. package/components/Price/Price.d.ts +1 -0
  40. package/components/Progress/Progress.d.ts +1 -0
  41. package/components/Radiobox/Radiobox.d.ts +1 -1
  42. package/components/Range/Range.d.ts +106 -105
  43. package/components/Rating/Rating.d.ts +14 -13
  44. package/components/Segment/Segment.d.ts +9 -8
  45. package/components/Select/Select.d.ts +244 -244
  46. package/components/Sheet/Sheet.d.ts +1 -0
  47. package/components/Skeleton/Skeleton.d.ts +5 -4
  48. package/components/Slider/Slider.d.ts +113 -104
  49. package/components/Steps/Steps.d.ts +1 -0
  50. package/components/Switch/Switch.d.ts +1 -1
  51. package/components/Tabs/TabItem.d.ts +14 -14
  52. package/components/Tabs/Tabs.d.ts +7 -5
  53. package/components/TextArea/TextArea.d.ts +206 -205
  54. package/components/TextArea/index.d.ts +4 -4
  55. package/components/TextField/TextField.d.ts +269 -261
  56. package/components/TextFieldGroup/TextFieldGroup.d.ts +13 -12
  57. package/components/Toast/Toast.d.ts +1 -0
  58. package/components/Tokens/Colors/Colors.styles.d.ts +26 -25
  59. package/components/Toolbar/Toolbar.d.ts +6 -5
  60. package/components/Tree/Tree.d.ts +1 -0
  61. package/components/Typography/Old/index.d.ts +10 -9
  62. package/components/Typography/Typography.d.ts +52 -51
  63. package/mixins/index.d.ts +2 -1
  64. package/package.json +11 -11
  65. package/temp/plasma-web.api.md +1490 -1488
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const Autocomplete: 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;
@@ -31,257 +32,257 @@ export declare const Autocomplete: import("react").FunctionComponent<import("@sa
31
32
  }> & ((import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
32
33
  titleCaption?: import("react").ReactNode;
33
34
  leftHelper?: import("react").ReactNode;
34
- contentLeft?: React.ReactElement;
35
- contentRight?: React.ReactElement;
36
- textBefore?: string;
37
- textAfter?: string;
38
- onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
35
+ contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
36
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
37
+ textBefore?: string | undefined;
38
+ textAfter?: string | undefined;
39
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
39
40
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
40
- clear?: boolean;
41
- hasDivider?: boolean;
41
+ clear?: boolean | undefined;
42
+ hasDivider?: boolean | undefined;
42
43
  } & {
43
44
  hintText: string;
44
- hintTrigger?: "hover" | "click";
45
- hintView?: string;
46
- hintSize?: string;
45
+ hintTrigger?: "hover" | "click" | undefined;
46
+ hintView?: string | undefined;
47
+ hintSize?: string | undefined;
47
48
  hintTargetIcon?: import("react").ReactNode;
48
- hintTargetPlacement?: "inner" | "outer";
49
- hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
50
- hintHasArrow?: boolean;
51
- hintOffset?: [number, number];
52
- hintWidth?: string;
49
+ hintTargetPlacement?: "outer" | "inner" | undefined;
50
+ hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
51
+ hintHasArrow?: boolean | undefined;
52
+ hintOffset?: [number, number] | undefined;
53
+ hintWidth?: string | undefined;
53
54
  hintContentLeft?: import("react").ReactNode;
54
55
  } & {
55
- chips?: never;
56
- onChangeChips?: never;
57
- enumerationType?: "plain";
58
- onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
59
- chipType?: never;
60
- chipView?: never;
61
- chipValidator?: never;
56
+ chips?: undefined;
57
+ onChangeChips?: undefined;
58
+ enumerationType?: "plain" | undefined;
59
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
60
+ chipType?: undefined;
61
+ chipView?: undefined;
62
+ chipValidator?: undefined;
62
63
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
63
64
  titleCaption?: import("react").ReactNode;
64
65
  leftHelper?: import("react").ReactNode;
65
- contentLeft?: React.ReactElement;
66
- contentRight?: React.ReactElement;
67
- textBefore?: string;
68
- textAfter?: string;
69
- onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
66
+ contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
67
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
68
+ textBefore?: string | undefined;
69
+ textAfter?: string | undefined;
70
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
70
71
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
71
- clear?: boolean;
72
- hasDivider?: boolean;
72
+ clear?: boolean | undefined;
73
+ hasDivider?: boolean | undefined;
73
74
  } & {
74
75
  hintText: string;
75
- hintTrigger?: "hover" | "click";
76
- hintView?: string;
77
- hintSize?: string;
76
+ hintTrigger?: "hover" | "click" | undefined;
77
+ hintView?: string | undefined;
78
+ hintSize?: string | undefined;
78
79
  hintTargetIcon?: import("react").ReactNode;
79
- hintTargetPlacement?: "inner" | "outer";
80
- hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
81
- hintHasArrow?: boolean;
82
- hintOffset?: [number, number];
83
- hintWidth?: string;
80
+ hintTargetPlacement?: "outer" | "inner" | undefined;
81
+ hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
82
+ hintHasArrow?: boolean | undefined;
83
+ hintOffset?: [number, number] | undefined;
84
+ hintWidth?: string | undefined;
84
85
  hintContentLeft?: import("react").ReactNode;
85
86
  } & {
86
87
  enumerationType: "chip";
87
- onSearch?: never;
88
- chips?: Array<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue>;
89
- onChangeChips?: (value: Array<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue>) => void;
90
- chipType?: "default" | "text";
91
- chipView?: string;
92
- chipValidator?: (value: string) => {
93
- view?: string;
94
- };
88
+ onSearch?: undefined;
89
+ chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
90
+ onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
91
+ chipType?: "default" | "text" | undefined;
92
+ chipView?: string | undefined;
93
+ chipValidator?: ((value: string) => {
94
+ view?: string | undefined;
95
+ }) | undefined;
95
96
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
96
97
  titleCaption?: import("react").ReactNode;
97
98
  leftHelper?: import("react").ReactNode;
98
- contentLeft?: React.ReactElement;
99
- contentRight?: React.ReactElement;
100
- textBefore?: string;
101
- textAfter?: string;
102
- onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
99
+ contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
100
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
101
+ textBefore?: string | undefined;
102
+ textAfter?: string | undefined;
103
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
103
104
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
104
- clear?: boolean;
105
- hasDivider?: boolean;
105
+ clear?: boolean | undefined;
106
+ hasDivider?: boolean | undefined;
106
107
  } & {
107
- hintTrigger?: never;
108
- hintText?: never;
109
- hintView?: never;
110
- hintSize?: never;
111
- hintTargetIcon?: never;
112
- hintTargetPlacement?: never;
113
- hintPlacement?: never;
114
- hintHasArrow?: never;
115
- hintOffset?: never;
116
- hintWidth?: never;
117
- hintContentLeft?: never;
108
+ hintTrigger?: undefined;
109
+ hintText?: undefined;
110
+ hintView?: undefined;
111
+ hintSize?: undefined;
112
+ hintTargetIcon?: undefined;
113
+ hintTargetPlacement?: undefined;
114
+ hintPlacement?: undefined;
115
+ hintHasArrow?: undefined;
116
+ hintOffset?: undefined;
117
+ hintWidth?: undefined;
118
+ hintContentLeft?: undefined;
118
119
  } & {
119
- chips?: never;
120
- onChangeChips?: never;
121
- enumerationType?: "plain";
122
- onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
123
- chipType?: never;
124
- chipView?: never;
125
- chipValidator?: never;
120
+ chips?: undefined;
121
+ onChangeChips?: undefined;
122
+ enumerationType?: "plain" | undefined;
123
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
124
+ chipType?: undefined;
125
+ chipView?: undefined;
126
+ chipValidator?: undefined;
126
127
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
127
128
  titleCaption?: import("react").ReactNode;
128
129
  leftHelper?: import("react").ReactNode;
129
- contentLeft?: React.ReactElement;
130
- contentRight?: React.ReactElement;
131
- textBefore?: string;
132
- textAfter?: string;
133
- onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
130
+ contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
131
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
132
+ textBefore?: string | undefined;
133
+ textAfter?: string | undefined;
134
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
134
135
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
135
- clear?: boolean;
136
- hasDivider?: boolean;
136
+ clear?: boolean | undefined;
137
+ hasDivider?: boolean | undefined;
137
138
  } & {
138
- hintTrigger?: never;
139
- hintText?: never;
140
- hintView?: never;
141
- hintSize?: never;
142
- hintTargetIcon?: never;
143
- hintTargetPlacement?: never;
144
- hintPlacement?: never;
145
- hintHasArrow?: never;
146
- hintOffset?: never;
147
- hintWidth?: never;
148
- hintContentLeft?: never;
139
+ hintTrigger?: undefined;
140
+ hintText?: undefined;
141
+ hintView?: undefined;
142
+ hintSize?: undefined;
143
+ hintTargetIcon?: undefined;
144
+ hintTargetPlacement?: undefined;
145
+ hintPlacement?: undefined;
146
+ hintHasArrow?: undefined;
147
+ hintOffset?: undefined;
148
+ hintWidth?: undefined;
149
+ hintContentLeft?: undefined;
149
150
  } & {
150
151
  enumerationType: "chip";
151
- onSearch?: never;
152
- chips?: Array<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue>;
153
- onChangeChips?: (value: Array<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue>) => void;
154
- chipType?: "default" | "text";
155
- chipView?: string;
156
- chipValidator?: (value: string) => {
157
- view?: string;
158
- };
152
+ onSearch?: undefined;
153
+ chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
154
+ onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
155
+ chipType?: "default" | "text" | undefined;
156
+ chipView?: string | undefined;
157
+ chipValidator?: ((value: string) => {
158
+ view?: string | undefined;
159
+ }) | undefined;
159
160
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
160
161
  titleCaption?: import("react").ReactNode;
161
162
  leftHelper?: import("react").ReactNode;
162
- contentLeft?: React.ReactElement;
163
- contentRight?: React.ReactElement;
164
- textBefore?: string;
165
- textAfter?: string;
166
- onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
163
+ contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
164
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
165
+ textBefore?: string | undefined;
166
+ textAfter?: string | undefined;
167
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
167
168
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
168
- clear?: false;
169
- hasDivider?: never;
169
+ clear?: false | undefined;
170
+ hasDivider?: undefined;
170
171
  } & {
171
172
  hintText: string;
172
- hintTrigger?: "hover" | "click";
173
- hintView?: string;
174
- hintSize?: string;
173
+ hintTrigger?: "hover" | "click" | undefined;
174
+ hintView?: string | undefined;
175
+ hintSize?: string | undefined;
175
176
  hintTargetIcon?: import("react").ReactNode;
176
- hintTargetPlacement?: "inner" | "outer";
177
- hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
178
- hintHasArrow?: boolean;
179
- hintOffset?: [number, number];
180
- hintWidth?: string;
177
+ hintTargetPlacement?: "outer" | "inner" | undefined;
178
+ hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
179
+ hintHasArrow?: boolean | undefined;
180
+ hintOffset?: [number, number] | undefined;
181
+ hintWidth?: string | undefined;
181
182
  hintContentLeft?: import("react").ReactNode;
182
183
  } & {
183
- chips?: never;
184
- onChangeChips?: never;
185
- enumerationType?: "plain";
186
- onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
187
- chipType?: never;
188
- chipView?: never;
189
- chipValidator?: never;
184
+ chips?: undefined;
185
+ onChangeChips?: undefined;
186
+ enumerationType?: "plain" | undefined;
187
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
188
+ chipType?: undefined;
189
+ chipView?: undefined;
190
+ chipValidator?: undefined;
190
191
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
191
192
  titleCaption?: import("react").ReactNode;
192
193
  leftHelper?: import("react").ReactNode;
193
- contentLeft?: React.ReactElement;
194
- contentRight?: React.ReactElement;
195
- textBefore?: string;
196
- textAfter?: string;
197
- onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
194
+ contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
195
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
196
+ textBefore?: string | undefined;
197
+ textAfter?: string | undefined;
198
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
198
199
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
199
- clear?: false;
200
- hasDivider?: never;
200
+ clear?: false | undefined;
201
+ hasDivider?: undefined;
201
202
  } & {
202
203
  hintText: string;
203
- hintTrigger?: "hover" | "click";
204
- hintView?: string;
205
- hintSize?: string;
204
+ hintTrigger?: "hover" | "click" | undefined;
205
+ hintView?: string | undefined;
206
+ hintSize?: string | undefined;
206
207
  hintTargetIcon?: import("react").ReactNode;
207
- hintTargetPlacement?: "inner" | "outer";
208
- hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
209
- hintHasArrow?: boolean;
210
- hintOffset?: [number, number];
211
- hintWidth?: string;
208
+ hintTargetPlacement?: "outer" | "inner" | undefined;
209
+ hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
210
+ hintHasArrow?: boolean | undefined;
211
+ hintOffset?: [number, number] | undefined;
212
+ hintWidth?: string | undefined;
212
213
  hintContentLeft?: import("react").ReactNode;
213
214
  } & {
214
215
  enumerationType: "chip";
215
- onSearch?: never;
216
- chips?: Array<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue>;
217
- onChangeChips?: (value: Array<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue>) => void;
218
- chipType?: "default" | "text";
219
- chipView?: string;
220
- chipValidator?: (value: string) => {
221
- view?: string;
222
- };
216
+ onSearch?: undefined;
217
+ chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
218
+ onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
219
+ chipType?: "default" | "text" | undefined;
220
+ chipView?: string | undefined;
221
+ chipValidator?: ((value: string) => {
222
+ view?: string | undefined;
223
+ }) | undefined;
223
224
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
224
225
  titleCaption?: import("react").ReactNode;
225
226
  leftHelper?: import("react").ReactNode;
226
- contentLeft?: React.ReactElement;
227
- contentRight?: React.ReactElement;
228
- textBefore?: string;
229
- textAfter?: string;
230
- onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
227
+ contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
228
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
229
+ textBefore?: string | undefined;
230
+ textAfter?: string | undefined;
231
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
231
232
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
232
- clear?: false;
233
- hasDivider?: never;
233
+ clear?: false | undefined;
234
+ hasDivider?: undefined;
234
235
  } & {
235
- hintTrigger?: never;
236
- hintText?: never;
237
- hintView?: never;
238
- hintSize?: never;
239
- hintTargetIcon?: never;
240
- hintTargetPlacement?: never;
241
- hintPlacement?: never;
242
- hintHasArrow?: never;
243
- hintOffset?: never;
244
- hintWidth?: never;
245
- hintContentLeft?: never;
236
+ hintTrigger?: undefined;
237
+ hintText?: undefined;
238
+ hintView?: undefined;
239
+ hintSize?: undefined;
240
+ hintTargetIcon?: undefined;
241
+ hintTargetPlacement?: undefined;
242
+ hintPlacement?: undefined;
243
+ hintHasArrow?: undefined;
244
+ hintOffset?: undefined;
245
+ hintWidth?: undefined;
246
+ hintContentLeft?: undefined;
246
247
  } & {
247
- chips?: never;
248
- onChangeChips?: never;
249
- enumerationType?: "plain";
250
- onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
251
- chipType?: never;
252
- chipView?: never;
253
- chipValidator?: never;
248
+ chips?: undefined;
249
+ onChangeChips?: undefined;
250
+ enumerationType?: "plain" | undefined;
251
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
252
+ chipType?: undefined;
253
+ chipView?: undefined;
254
+ chipValidator?: undefined;
254
255
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types").BaseProps & Omit<{
255
256
  titleCaption?: import("react").ReactNode;
256
257
  leftHelper?: import("react").ReactNode;
257
- contentLeft?: React.ReactElement;
258
- contentRight?: React.ReactElement;
259
- textBefore?: string;
260
- textAfter?: string;
261
- onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
258
+ contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
259
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
260
+ textBefore?: string | undefined;
261
+ textAfter?: string | undefined;
262
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
262
263
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
263
- clear?: false;
264
- hasDivider?: never;
264
+ clear?: false | undefined;
265
+ hasDivider?: undefined;
265
266
  } & {
266
- hintTrigger?: never;
267
- hintText?: never;
268
- hintView?: never;
269
- hintSize?: never;
270
- hintTargetIcon?: never;
271
- hintTargetPlacement?: never;
272
- hintPlacement?: never;
273
- hintHasArrow?: never;
274
- hintOffset?: never;
275
- hintWidth?: never;
276
- hintContentLeft?: never;
267
+ hintTrigger?: undefined;
268
+ hintText?: undefined;
269
+ hintView?: undefined;
270
+ hintSize?: undefined;
271
+ hintTargetIcon?: undefined;
272
+ hintTargetPlacement?: undefined;
273
+ hintPlacement?: undefined;
274
+ hintHasArrow?: undefined;
275
+ hintOffset?: undefined;
276
+ hintWidth?: undefined;
277
+ hintContentLeft?: undefined;
277
278
  } & {
278
279
  enumerationType: "chip";
279
- onSearch?: never;
280
- chips?: Array<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue>;
281
- onChangeChips?: (value: Array<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue>) => void;
282
- chipType?: "default" | "text";
283
- chipView?: string;
284
- chipValidator?: (value: string) => {
285
- view?: string;
286
- };
280
+ onSearch?: undefined;
281
+ chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
282
+ onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
283
+ chipType?: "default" | "text" | undefined;
284
+ chipView?: string | undefined;
285
+ chipValidator?: ((value: string) => {
286
+ view?: string | undefined;
287
+ }) | undefined;
287
288
  }, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>))>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components").ComponentConfig<string, {
2
3
  view: {
3
4
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -63,17 +64,17 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
63
64
  light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
64
65
  };
65
66
  }>, (import("react").HTMLAttributes<HTMLDivElement> & {
66
- size?: string;
67
- name?: string;
68
- url?: string;
69
- customText?: string;
70
- status?: "active" | "inactive";
71
- isScalable?: boolean;
72
- focused?: boolean;
73
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
74
- hasExtra?: boolean;
75
- type?: "badge" | "counter";
76
- extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
67
+ size?: string | undefined;
68
+ name?: string | undefined;
69
+ url?: string | undefined;
70
+ customText?: string | undefined;
71
+ status?: "active" | "inactive" | undefined;
72
+ isScalable?: boolean | undefined;
73
+ focused?: boolean | undefined;
74
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
75
+ hasExtra?: boolean | undefined;
76
+ type?: "badge" | "counter" | undefined;
77
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
77
78
  } & {
78
79
  badgeView?: string | undefined;
79
80
  pilled?: boolean | undefined;
@@ -87,17 +88,17 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
87
88
  count?: undefined;
88
89
  maxCount?: undefined;
89
90
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
90
- size?: string;
91
- name?: string;
92
- url?: string;
93
- customText?: string;
94
- status?: "active" | "inactive";
95
- isScalable?: boolean;
96
- focused?: boolean;
97
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
98
- hasExtra?: boolean;
99
- type?: "badge" | "counter";
100
- extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
91
+ size?: string | undefined;
92
+ name?: string | undefined;
93
+ url?: string | undefined;
94
+ customText?: string | undefined;
95
+ status?: "active" | "inactive" | undefined;
96
+ isScalable?: boolean | undefined;
97
+ focused?: boolean | undefined;
98
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
99
+ hasExtra?: boolean | undefined;
100
+ type?: "badge" | "counter" | undefined;
101
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
101
102
  } & {
102
103
  counterView?: string | undefined;
103
104
  count?: number | undefined;
@@ -107,7 +108,7 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
107
108
  pilled?: undefined;
108
109
  text?: undefined;
109
110
  contentLeft?: undefined;
110
- contentRight?: never | undefined;
111
+ contentRight?: undefined;
111
112
  customColor?: undefined;
112
113
  customBackgroundColor?: undefined;
113
114
  } & import("react").RefAttributes<HTMLDivElement>)>;
@@ -144,17 +145,17 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
144
145
  light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
145
146
  };
146
147
  }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
147
- size?: string;
148
- name?: string;
149
- url?: string;
150
- customText?: string;
151
- status?: "active" | "inactive";
152
- isScalable?: boolean;
153
- focused?: boolean;
154
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
155
- hasExtra?: boolean;
156
- type?: "badge" | "counter";
157
- extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
148
+ size?: string | undefined;
149
+ name?: string | undefined;
150
+ url?: string | undefined;
151
+ customText?: string | undefined;
152
+ status?: "active" | "inactive" | undefined;
153
+ isScalable?: boolean | undefined;
154
+ focused?: boolean | undefined;
155
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
156
+ hasExtra?: boolean | undefined;
157
+ type?: "badge" | "counter" | undefined;
158
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
158
159
  } & {
159
160
  badgeView?: string | undefined;
160
161
  pilled?: boolean | undefined;
@@ -168,17 +169,17 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
168
169
  count?: undefined;
169
170
  maxCount?: undefined;
170
171
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
171
- size?: string;
172
- name?: string;
173
- url?: string;
174
- customText?: string;
175
- status?: "active" | "inactive";
176
- isScalable?: boolean;
177
- focused?: boolean;
178
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
179
- hasExtra?: boolean;
180
- type?: "badge" | "counter";
181
- extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
172
+ size?: string | undefined;
173
+ name?: string | undefined;
174
+ url?: string | undefined;
175
+ customText?: string | undefined;
176
+ status?: "active" | "inactive" | undefined;
177
+ isScalable?: boolean | undefined;
178
+ focused?: boolean | undefined;
179
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
180
+ hasExtra?: boolean | undefined;
181
+ type?: "badge" | "counter" | undefined;
182
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
182
183
  } & {
183
184
  counterView?: string | undefined;
184
185
  count?: number | undefined;
@@ -188,7 +189,7 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
188
189
  pilled?: undefined;
189
190
  text?: undefined;
190
191
  contentLeft?: undefined;
191
- contentRight?: never | undefined;
192
+ contentRight?: undefined;
192
193
  customColor?: undefined;
193
194
  customBackgroundColor?: undefined;
194
195
  } & import("react").RefAttributes<HTMLDivElement>))>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const AvatarGroup: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<import("@salutejs/plasma-new-hope/types/engines/types").Variants> & import("react").HTMLAttributes<HTMLDivElement> & {
2
- children: React.ReactNode;
3
+ children: import("react").ReactNode;
3
4
  } & import("react").RefAttributes<HTMLDivElement>>;