@salutejs/sdds-serv 0.313.0-canary.2006.15341327171.0 → 0.313.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.
Files changed (65) hide show
  1. package/components/Accordion/Accordion.d.ts +9 -10
  2. package/components/Attach/Attach.d.ts +158 -159
  3. package/components/Autocomplete/Autocomplete.d.ts +344 -345
  4. package/components/Avatar/Avatar.d.ts +46 -47
  5. package/components/AvatarGroup/AvatarGroup.d.ts +1 -2
  6. package/components/Badge/Badge.d.ts +40 -41
  7. package/components/Breadcrumbs/Breadcrumbs.d.ts +3 -4
  8. package/components/Button/Button.d.ts +71 -72
  9. package/components/ButtonGroup/ButtonGroup.d.ts +0 -4
  10. package/components/Card/Card.d.ts +5 -6
  11. package/components/Cell/Cell.d.ts +19 -20
  12. package/components/Checkbox/Checkbox.d.ts +1 -1
  13. package/components/Chip/Chip.d.ts +0 -1
  14. package/components/ChipGroup/ChipGroup.d.ts +0 -1
  15. package/components/CodeField/CodeField.d.ts +18 -19
  16. package/components/Combobox/Combobox.d.ts +951 -951
  17. package/components/Counter/Counter.d.ts +0 -1
  18. package/components/DatePicker/DatePicker.d.ts +53 -54
  19. package/components/Divider/Divider.d.ts +0 -1
  20. package/components/Drawer/Drawer.d.ts +18 -19
  21. package/components/Dropdown/Dropdown.d.ts +52 -52
  22. package/components/Dropzone/Dropzone.d.ts +15 -16
  23. package/components/EmptyState/EmptyState.d.ts +0 -1
  24. package/components/Flow/Flow.d.ts +1 -2
  25. package/components/Grid/Grid.d.ts +0 -1
  26. package/components/IconButton/IconButton.d.ts +35 -36
  27. package/components/Image/Image.d.ts +3 -4
  28. package/components/Indicator/Indicator.d.ts +0 -1
  29. package/components/Link/Link.d.ts +1 -2
  30. package/components/LinkButton/LinkButton.d.ts +8 -9
  31. package/components/List/List.d.ts +4 -5
  32. package/components/Mask/Mask.d.ts +224 -225
  33. package/components/Note/Note.d.ts +11 -12
  34. package/components/NumberFormat/NumberFormat.d.ts +1 -1
  35. package/components/NumberInput/NumberInput.d.ts +38 -39
  36. package/components/Pagination/Pagination.d.ts +0 -1
  37. package/components/Popover/Popover.d.ts +0 -1
  38. package/components/Price/Price.d.ts +0 -1
  39. package/components/Progress/Progress.d.ts +0 -1
  40. package/components/Radiobox/Radiobox.d.ts +1 -1
  41. package/components/Range/Range.d.ts +105 -106
  42. package/components/Rating/Rating.d.ts +13 -14
  43. package/components/Segment/Segment.d.ts +8 -12
  44. package/components/Select/Select.d.ts +244 -244
  45. package/components/Sheet/Sheet.d.ts +0 -1
  46. package/components/Skeleton/Skeleton.d.ts +4 -5
  47. package/components/Slider/Slider.d.ts +96 -105
  48. package/components/Spinner/Spinner.d.ts +9 -14
  49. package/components/Steps/Steps.d.ts +0 -1
  50. package/components/Switch/Switch.d.ts +1 -1
  51. package/components/Table/Table.d.ts +0 -1
  52. package/components/Tabs/TabItem.d.ts +32 -32
  53. package/components/Tabs/Tabs.d.ts +1 -1
  54. package/components/TextArea/TextArea.d.ts +205 -206
  55. package/components/TextField/TextField.d.ts +224 -225
  56. package/components/TextFieldGroup/TextFieldGroup.d.ts +12 -13
  57. package/components/Toast/Toast.d.ts +0 -1
  58. package/components/Tokens/Colors/Colors.styles.d.ts +25 -26
  59. package/components/Tokens/Typography/Typography.styles.d.ts +23 -24
  60. package/components/Toolbar/Toolbar.d.ts +5 -6
  61. package/components/Tree/Tree.d.ts +0 -1
  62. package/components/Typography/Typography.d.ts +204 -205
  63. package/components/ViewContainer/ViewContainer.d.ts +0 -1
  64. package/mixins/index.d.ts +1 -2
  65. package/package.json +7 -7
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * Поле ввода текста.
4
3
  */
@@ -45,299 +44,299 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
45
44
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
46
45
  };
47
46
  }> & (({
48
- size?: string | undefined;
49
- view?: string | undefined;
50
- readOnly?: boolean | undefined;
51
- disabled?: boolean | undefined;
47
+ size?: string;
48
+ view?: string;
49
+ readOnly?: boolean;
50
+ disabled?: boolean;
52
51
  } & {
53
52
  titleCaption?: import("react").ReactNode;
54
53
  leftHelper?: import("react").ReactNode;
55
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
56
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
57
- textBefore?: string | undefined;
58
- textAfter?: string | undefined;
59
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
54
+ contentLeft?: React.ReactElement;
55
+ contentRight?: React.ReactElement;
56
+ textBefore?: string;
57
+ textAfter?: string;
58
+ onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
60
59
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
61
- clear?: boolean | undefined;
62
- hasDivider?: boolean | undefined;
60
+ clear?: boolean;
61
+ hasDivider?: boolean;
63
62
  } & {
64
63
  hintText: string;
65
- hintTrigger?: "hover" | "click" | undefined;
66
- hintView?: string | undefined;
67
- hintSize?: string | undefined;
64
+ hintTrigger?: "hover" | "click";
65
+ hintView?: string;
66
+ hintSize?: string;
68
67
  hintTargetIcon?: import("react").ReactNode;
69
- hintTargetPlacement?: "outer" | "inner" | undefined;
70
- hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
71
- hintHasArrow?: boolean | undefined;
72
- hintOffset?: [number, number] | undefined;
73
- hintWidth?: string | undefined;
68
+ hintTargetPlacement?: "inner" | "outer";
69
+ hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
70
+ hintHasArrow?: boolean;
71
+ hintOffset?: [number, number];
72
+ hintWidth?: string;
74
73
  hintContentLeft?: import("react").ReactNode;
75
74
  } & {
76
- chips?: undefined;
77
- onChangeChips?: undefined;
78
- enumerationType?: "plain" | undefined;
79
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
80
- chipType?: undefined;
81
- chipView?: undefined;
82
- chipValidator?: undefined;
75
+ chips?: never;
76
+ onChangeChips?: never;
77
+ enumerationType?: "plain";
78
+ onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
79
+ chipType?: never;
80
+ chipView?: never;
81
+ chipValidator?: never;
83
82
  } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
84
- size?: string | undefined;
85
- view?: string | undefined;
86
- readOnly?: boolean | undefined;
87
- disabled?: boolean | undefined;
83
+ size?: string;
84
+ view?: string;
85
+ readOnly?: boolean;
86
+ disabled?: boolean;
88
87
  } & {
89
88
  titleCaption?: import("react").ReactNode;
90
89
  leftHelper?: import("react").ReactNode;
91
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
92
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
93
- textBefore?: string | undefined;
94
- textAfter?: string | undefined;
95
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
90
+ contentLeft?: React.ReactElement;
91
+ contentRight?: React.ReactElement;
92
+ textBefore?: string;
93
+ textAfter?: string;
94
+ onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
96
95
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
97
- clear?: boolean | undefined;
98
- hasDivider?: boolean | undefined;
96
+ clear?: boolean;
97
+ hasDivider?: boolean;
99
98
  } & {
100
99
  hintText: string;
101
- hintTrigger?: "hover" | "click" | undefined;
102
- hintView?: string | undefined;
103
- hintSize?: string | undefined;
100
+ hintTrigger?: "hover" | "click";
101
+ hintView?: string;
102
+ hintSize?: string;
104
103
  hintTargetIcon?: import("react").ReactNode;
105
- hintTargetPlacement?: "outer" | "inner" | undefined;
106
- hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
107
- hintHasArrow?: boolean | undefined;
108
- hintOffset?: [number, number] | undefined;
109
- hintWidth?: string | undefined;
104
+ hintTargetPlacement?: "inner" | "outer";
105
+ hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
106
+ hintHasArrow?: boolean;
107
+ hintOffset?: [number, number];
108
+ hintWidth?: string;
110
109
  hintContentLeft?: import("react").ReactNode;
111
110
  } & {
112
111
  enumerationType: "chip";
113
- onSearch?: undefined;
114
- chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
115
- onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
116
- chipType?: "text" | "default" | undefined;
117
- chipView?: string | undefined;
118
- chipValidator?: ((value: string) => {
119
- view?: string | undefined;
120
- }) | undefined;
112
+ onSearch?: never;
113
+ chips?: Array<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue>;
114
+ onChangeChips?: (value: Array<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue>) => void;
115
+ chipType?: "default" | "text";
116
+ chipView?: string;
117
+ chipValidator?: (value: string) => {
118
+ view?: string;
119
+ };
121
120
  } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
122
- size?: string | undefined;
123
- view?: string | undefined;
124
- readOnly?: boolean | undefined;
125
- disabled?: boolean | undefined;
121
+ size?: string;
122
+ view?: string;
123
+ readOnly?: boolean;
124
+ disabled?: boolean;
126
125
  } & {
127
126
  titleCaption?: import("react").ReactNode;
128
127
  leftHelper?: import("react").ReactNode;
129
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
130
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
131
- textBefore?: string | undefined;
132
- textAfter?: string | undefined;
133
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
128
+ contentLeft?: React.ReactElement;
129
+ contentRight?: React.ReactElement;
130
+ textBefore?: string;
131
+ textAfter?: string;
132
+ onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
134
133
  } & 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 | undefined;
136
- hasDivider?: boolean | undefined;
134
+ clear?: boolean;
135
+ hasDivider?: boolean;
137
136
  } & {
138
- hintTrigger?: undefined;
139
- hintText?: undefined;
140
- hintView?: undefined;
141
- hintSize?: undefined;
142
- hintTargetIcon?: undefined;
143
- hintTargetPlacement?: undefined;
144
- hintPlacement?: undefined;
145
- hintHasArrow?: undefined;
146
- hintOffset?: undefined;
147
- hintWidth?: undefined;
148
- hintContentLeft?: undefined;
137
+ hintTrigger?: never;
138
+ hintText?: never;
139
+ hintView?: never;
140
+ hintSize?: never;
141
+ hintTargetIcon?: never;
142
+ hintTargetPlacement?: never;
143
+ hintPlacement?: never;
144
+ hintHasArrow?: never;
145
+ hintOffset?: never;
146
+ hintWidth?: never;
147
+ hintContentLeft?: never;
149
148
  } & {
150
- chips?: undefined;
151
- onChangeChips?: undefined;
152
- enumerationType?: "plain" | undefined;
153
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
154
- chipType?: undefined;
155
- chipView?: undefined;
156
- chipValidator?: undefined;
149
+ chips?: never;
150
+ onChangeChips?: never;
151
+ enumerationType?: "plain";
152
+ onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
153
+ chipType?: never;
154
+ chipView?: never;
155
+ chipValidator?: never;
157
156
  } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
158
- size?: string | undefined;
159
- view?: string | undefined;
160
- readOnly?: boolean | undefined;
161
- disabled?: boolean | undefined;
157
+ size?: string;
158
+ view?: string;
159
+ readOnly?: boolean;
160
+ disabled?: boolean;
162
161
  } & {
163
162
  titleCaption?: import("react").ReactNode;
164
163
  leftHelper?: import("react").ReactNode;
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;
164
+ contentLeft?: React.ReactElement;
165
+ contentRight?: React.ReactElement;
166
+ textBefore?: string;
167
+ textAfter?: string;
168
+ onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
170
169
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
171
- clear?: boolean | undefined;
172
- hasDivider?: boolean | undefined;
170
+ clear?: boolean;
171
+ hasDivider?: boolean;
173
172
  } & {
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;
173
+ hintTrigger?: never;
174
+ hintText?: never;
175
+ hintView?: never;
176
+ hintSize?: never;
177
+ hintTargetIcon?: never;
178
+ hintTargetPlacement?: never;
179
+ hintPlacement?: never;
180
+ hintHasArrow?: never;
181
+ hintOffset?: never;
182
+ hintWidth?: never;
183
+ hintContentLeft?: never;
185
184
  } & {
186
185
  enumerationType: "chip";
187
- onSearch?: undefined;
188
- chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
189
- onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
190
- chipType?: "text" | "default" | undefined;
191
- chipView?: string | undefined;
192
- chipValidator?: ((value: string) => {
193
- view?: string | undefined;
194
- }) | undefined;
186
+ onSearch?: never;
187
+ chips?: Array<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue>;
188
+ onChangeChips?: (value: Array<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue>) => void;
189
+ chipType?: "default" | "text";
190
+ chipView?: string;
191
+ chipValidator?: (value: string) => {
192
+ view?: string;
193
+ };
195
194
  } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
196
- size?: string | undefined;
197
- view?: string | undefined;
198
- readOnly?: boolean | undefined;
199
- disabled?: boolean | undefined;
195
+ size?: string;
196
+ view?: string;
197
+ readOnly?: boolean;
198
+ disabled?: boolean;
200
199
  } & {
201
200
  titleCaption?: import("react").ReactNode;
202
201
  leftHelper?: import("react").ReactNode;
203
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
204
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
205
- textBefore?: string | undefined;
206
- textAfter?: string | undefined;
207
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
202
+ contentLeft?: React.ReactElement;
203
+ contentRight?: React.ReactElement;
204
+ textBefore?: string;
205
+ textAfter?: string;
206
+ onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
208
207
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
209
- clear?: false | undefined;
210
- hasDivider?: undefined;
208
+ clear?: false;
209
+ hasDivider?: never;
211
210
  } & {
212
211
  hintText: string;
213
- hintTrigger?: "hover" | "click" | undefined;
214
- hintView?: string | undefined;
215
- hintSize?: string | undefined;
212
+ hintTrigger?: "hover" | "click";
213
+ hintView?: string;
214
+ hintSize?: string;
216
215
  hintTargetIcon?: import("react").ReactNode;
217
- hintTargetPlacement?: "outer" | "inner" | undefined;
218
- hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
219
- hintHasArrow?: boolean | undefined;
220
- hintOffset?: [number, number] | undefined;
221
- hintWidth?: string | undefined;
216
+ hintTargetPlacement?: "inner" | "outer";
217
+ hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
218
+ hintHasArrow?: boolean;
219
+ hintOffset?: [number, number];
220
+ hintWidth?: string;
222
221
  hintContentLeft?: import("react").ReactNode;
223
222
  } & {
224
- chips?: undefined;
225
- onChangeChips?: undefined;
226
- enumerationType?: "plain" | undefined;
227
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
228
- chipType?: undefined;
229
- chipView?: undefined;
230
- chipValidator?: undefined;
223
+ chips?: never;
224
+ onChangeChips?: never;
225
+ enumerationType?: "plain";
226
+ onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
227
+ chipType?: never;
228
+ chipView?: never;
229
+ chipValidator?: never;
231
230
  } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
232
- size?: string | undefined;
233
- view?: string | undefined;
234
- readOnly?: boolean | undefined;
235
- disabled?: boolean | undefined;
231
+ size?: string;
232
+ view?: string;
233
+ readOnly?: boolean;
234
+ disabled?: boolean;
236
235
  } & {
237
236
  titleCaption?: import("react").ReactNode;
238
237
  leftHelper?: import("react").ReactNode;
239
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
240
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
241
- textBefore?: string | undefined;
242
- textAfter?: string | undefined;
243
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
238
+ contentLeft?: React.ReactElement;
239
+ contentRight?: React.ReactElement;
240
+ textBefore?: string;
241
+ textAfter?: string;
242
+ onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
244
243
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
245
- clear?: false | undefined;
246
- hasDivider?: undefined;
244
+ clear?: false;
245
+ hasDivider?: never;
247
246
  } & {
248
247
  hintText: string;
249
- hintTrigger?: "hover" | "click" | undefined;
250
- hintView?: string | undefined;
251
- hintSize?: string | undefined;
248
+ hintTrigger?: "hover" | "click";
249
+ hintView?: string;
250
+ hintSize?: string;
252
251
  hintTargetIcon?: import("react").ReactNode;
253
- hintTargetPlacement?: "outer" | "inner" | undefined;
254
- hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic[] | undefined;
255
- hintHasArrow?: boolean | undefined;
256
- hintOffset?: [number, number] | undefined;
257
- hintWidth?: string | undefined;
252
+ hintTargetPlacement?: "inner" | "outer";
253
+ hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
254
+ hintHasArrow?: boolean;
255
+ hintOffset?: [number, number];
256
+ hintWidth?: string;
258
257
  hintContentLeft?: import("react").ReactNode;
259
258
  } & {
260
259
  enumerationType: "chip";
261
- onSearch?: undefined;
262
- chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
263
- onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
264
- chipType?: "text" | "default" | undefined;
265
- chipView?: string | undefined;
266
- chipValidator?: ((value: string) => {
267
- view?: string | undefined;
268
- }) | undefined;
260
+ onSearch?: never;
261
+ chips?: Array<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue>;
262
+ onChangeChips?: (value: Array<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue>) => void;
263
+ chipType?: "default" | "text";
264
+ chipView?: string;
265
+ chipValidator?: (value: string) => {
266
+ view?: string;
267
+ };
269
268
  } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
270
- size?: string | undefined;
271
- view?: string | undefined;
272
- readOnly?: boolean | undefined;
273
- disabled?: boolean | undefined;
269
+ size?: string;
270
+ view?: string;
271
+ readOnly?: boolean;
272
+ disabled?: boolean;
274
273
  } & {
275
274
  titleCaption?: import("react").ReactNode;
276
275
  leftHelper?: import("react").ReactNode;
277
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
278
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
279
- textBefore?: string | undefined;
280
- textAfter?: string | undefined;
281
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
276
+ contentLeft?: React.ReactElement;
277
+ contentRight?: React.ReactElement;
278
+ textBefore?: string;
279
+ textAfter?: string;
280
+ onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
282
281
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
283
- clear?: false | undefined;
284
- hasDivider?: undefined;
282
+ clear?: false;
283
+ hasDivider?: never;
285
284
  } & {
286
- hintTrigger?: undefined;
287
- hintText?: undefined;
288
- hintView?: undefined;
289
- hintSize?: undefined;
290
- hintTargetIcon?: undefined;
291
- hintTargetPlacement?: undefined;
292
- hintPlacement?: undefined;
293
- hintHasArrow?: undefined;
294
- hintOffset?: undefined;
295
- hintWidth?: undefined;
296
- hintContentLeft?: undefined;
285
+ hintTrigger?: never;
286
+ hintText?: never;
287
+ hintView?: never;
288
+ hintSize?: never;
289
+ hintTargetIcon?: never;
290
+ hintTargetPlacement?: never;
291
+ hintPlacement?: never;
292
+ hintHasArrow?: never;
293
+ hintOffset?: never;
294
+ hintWidth?: never;
295
+ hintContentLeft?: never;
297
296
  } & {
298
- chips?: undefined;
299
- onChangeChips?: undefined;
300
- enumerationType?: "plain" | undefined;
301
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
302
- chipType?: undefined;
303
- chipView?: undefined;
304
- chipValidator?: undefined;
297
+ chips?: never;
298
+ onChangeChips?: never;
299
+ enumerationType?: "plain";
300
+ onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
301
+ chipType?: never;
302
+ chipView?: never;
303
+ chipValidator?: never;
305
304
  } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
306
- size?: string | undefined;
307
- view?: string | undefined;
308
- readOnly?: boolean | undefined;
309
- disabled?: boolean | undefined;
305
+ size?: string;
306
+ view?: string;
307
+ readOnly?: boolean;
308
+ disabled?: boolean;
310
309
  } & {
311
310
  titleCaption?: import("react").ReactNode;
312
311
  leftHelper?: import("react").ReactNode;
313
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
314
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
315
- textBefore?: string | undefined;
316
- textAfter?: string | undefined;
317
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
312
+ contentLeft?: React.ReactElement;
313
+ contentRight?: React.ReactElement;
314
+ textBefore?: string;
315
+ textAfter?: string;
316
+ onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
318
317
  } & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
319
- clear?: false | undefined;
320
- hasDivider?: undefined;
318
+ clear?: false;
319
+ hasDivider?: never;
321
320
  } & {
322
- hintTrigger?: undefined;
323
- hintText?: undefined;
324
- hintView?: undefined;
325
- hintSize?: undefined;
326
- hintTargetIcon?: undefined;
327
- hintTargetPlacement?: undefined;
328
- hintPlacement?: undefined;
329
- hintHasArrow?: undefined;
330
- hintOffset?: undefined;
331
- hintWidth?: undefined;
332
- hintContentLeft?: undefined;
321
+ hintTrigger?: never;
322
+ hintText?: never;
323
+ hintView?: never;
324
+ hintSize?: never;
325
+ hintTargetIcon?: never;
326
+ hintTargetPlacement?: never;
327
+ hintPlacement?: never;
328
+ hintHasArrow?: never;
329
+ hintOffset?: never;
330
+ hintWidth?: never;
331
+ hintContentLeft?: never;
333
332
  } & {
334
333
  enumerationType: "chip";
335
- onSearch?: undefined;
336
- chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
337
- onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
338
- chipType?: "text" | "default" | undefined;
339
- chipView?: string | undefined;
340
- chipValidator?: ((value: string) => {
341
- view?: string | undefined;
342
- }) | undefined;
334
+ onSearch?: never;
335
+ chips?: Array<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue>;
336
+ onChangeChips?: (value: Array<import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue>) => void;
337
+ chipType?: "default" | "text";
338
+ chipView?: string;
339
+ chipValidator?: (value: string) => {
340
+ view?: string;
341
+ };
343
342
  } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * Группа TextField.
4
3
  */
@@ -27,19 +26,19 @@ export declare const TextFieldGroup: import("react").FunctionComponent<import("@
27
26
  filled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
28
27
  };
29
28
  }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
30
- orientation?: import("@salutejs/plasma-new-hope/types/components/TextFieldGroup/TextFieldGroup.types").Orientation | undefined;
31
- stretching?: ("auto" | "filled") | undefined;
32
- size?: string | undefined;
33
- isCommonTextFieldStyles?: boolean | undefined;
29
+ orientation?: import("@salutejs/plasma-new-hope/types/components/TextFieldGroup/TextFieldGroup.types").Orientation;
30
+ stretching?: "auto" | "filled";
31
+ size?: string;
32
+ isCommonTextFieldStyles?: boolean;
34
33
  } & {
35
- gap?: "none" | "dense" | undefined;
36
- shape?: "segmented" | undefined;
34
+ gap?: "none" | "dense";
35
+ shape?: "segmented";
37
36
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
38
- orientation?: import("@salutejs/plasma-new-hope/types/components/TextFieldGroup/TextFieldGroup.types").Orientation | undefined;
39
- stretching?: ("auto" | "filled") | undefined;
40
- size?: string | undefined;
41
- isCommonTextFieldStyles?: boolean | undefined;
37
+ orientation?: import("@salutejs/plasma-new-hope/types/components/TextFieldGroup/TextFieldGroup.types").Orientation;
38
+ stretching?: "auto" | "filled";
39
+ size?: string;
40
+ isCommonTextFieldStyles?: boolean;
42
41
  } & {
43
- gap?: "dense" | "wide" | undefined;
44
- shape?: "default" | undefined;
42
+ gap?: "dense" | "wide";
43
+ shape?: "default";
45
44
  } & import("react").RefAttributes<HTMLDivElement>))>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export { useToast } from '@salutejs/plasma-new-hope/styled-components';
3
2
  export declare const Toast: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
4
3
  view: {