@salutejs/plasma-web 1.597.0-canary.2287.18748636481.0 → 1.597.0-canary.2288.18780329906.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.
@@ -24,7 +24,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
24
24
  s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
25
25
  xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
26
26
  };
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 & {
27
+ }> & ((import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
28
28
  text?: string;
29
29
  contentLeft?: import("react").ReactNode;
30
30
  contentPlacing?: "default" | "relaxed";
@@ -46,9 +46,183 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
46
46
  } & {
47
47
  value?: string | number;
48
48
  contentRight?: never;
49
- } & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
49
+ } & {
50
+ acceptedFileFormats?: string[];
51
+ hideButtonOnAttach?: boolean;
52
+ hasAttachment?: boolean;
53
+ helperText?: string;
54
+ size?: string;
55
+ view?: string;
56
+ helperTextView?: string;
57
+ customIcon?: React.ReactNode;
58
+ onClear?: () => void;
59
+ } & {
60
+ flow?: "horizontal";
61
+ multiple?: boolean;
62
+ dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").DropdownOptions;
63
+ } & {
64
+ buttonType?: "button";
65
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
66
+ text?: string;
67
+ contentLeft?: import("react").ReactNode;
68
+ contentPlacing?: "default" | "relaxed";
69
+ additionalContent?: import("react").ReactNode;
70
+ isLoading?: boolean;
71
+ loader?: import("react").ReactNode;
72
+ stretch?: boolean;
73
+ stretching?: "fixed" | "auto" | "filled";
74
+ square?: boolean;
75
+ focused?: boolean;
76
+ disabled?: boolean;
77
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
78
+ view?: string;
79
+ size?: string;
80
+ outlined?: boolean;
81
+ shiftLeft?: boolean;
82
+ shiftRight?: boolean;
83
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
84
+ } & {
85
+ value?: string | number;
86
+ contentRight?: never;
87
+ } & {
88
+ acceptedFileFormats?: string[];
89
+ hideButtonOnAttach?: boolean;
90
+ hasAttachment?: boolean;
91
+ helperText?: string;
92
+ size?: string;
93
+ view?: string;
94
+ helperTextView?: string;
95
+ customIcon?: React.ReactNode;
96
+ onClear?: () => void;
97
+ } & {
98
+ flow?: "horizontal";
99
+ multiple?: boolean;
100
+ dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").DropdownOptions;
101
+ } & {
102
+ buttonType?: "button";
103
+ } & {
104
+ value?: never;
105
+ contentRight?: import("react").ReactNode;
106
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
107
+ text?: string;
108
+ contentLeft?: import("react").ReactNode;
109
+ contentPlacing?: "default" | "relaxed";
110
+ additionalContent?: import("react").ReactNode;
111
+ isLoading?: boolean;
112
+ loader?: import("react").ReactNode;
113
+ stretch?: boolean;
114
+ stretching?: "fixed" | "auto" | "filled";
115
+ square?: boolean;
116
+ focused?: boolean;
117
+ disabled?: boolean;
118
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
119
+ view?: string;
120
+ size?: string;
121
+ outlined?: boolean;
122
+ shiftLeft?: boolean;
123
+ shiftRight?: boolean;
124
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
125
+ } & {
126
+ value?: string | number;
127
+ contentRight?: never;
128
+ } & {
129
+ acceptedFileFormats?: string[];
130
+ hideButtonOnAttach?: boolean;
131
+ hasAttachment?: boolean;
132
+ helperText?: string;
133
+ size?: string;
134
+ view?: string;
135
+ helperTextView?: string;
136
+ customIcon?: React.ReactNode;
137
+ onClear?: () => void;
138
+ } & {
139
+ flow?: "horizontal";
140
+ multiple?: boolean;
141
+ dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").DropdownOptions;
142
+ } & {
143
+ buttonType?: "iconButton";
144
+ icon?: React.ReactNode;
145
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
146
+ text?: string;
147
+ contentLeft?: import("react").ReactNode;
148
+ contentPlacing?: "default" | "relaxed";
149
+ additionalContent?: import("react").ReactNode;
150
+ isLoading?: boolean;
151
+ loader?: import("react").ReactNode;
152
+ stretch?: boolean;
153
+ stretching?: "fixed" | "auto" | "filled";
154
+ square?: boolean;
155
+ focused?: boolean;
156
+ disabled?: boolean;
157
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
158
+ view?: string;
159
+ size?: string;
160
+ outlined?: boolean;
161
+ shiftLeft?: boolean;
162
+ shiftRight?: boolean;
163
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
164
+ } & {
165
+ value?: string | number;
166
+ contentRight?: never;
167
+ } & {
168
+ acceptedFileFormats?: string[];
169
+ hideButtonOnAttach?: boolean;
170
+ hasAttachment?: boolean;
171
+ helperText?: string;
172
+ size?: string;
173
+ view?: string;
174
+ helperTextView?: string;
175
+ customIcon?: React.ReactNode;
176
+ onClear?: () => void;
177
+ } & {
178
+ flow?: "horizontal";
179
+ multiple?: boolean;
180
+ dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").DropdownOptions;
181
+ } & {
182
+ buttonType?: "iconButton";
183
+ icon?: React.ReactNode;
184
+ } & {
185
+ value?: never;
186
+ contentRight?: import("react").ReactNode;
187
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
188
+ text?: string;
189
+ contentLeft?: import("react").ReactNode;
190
+ contentPlacing?: "default" | "relaxed";
191
+ additionalContent?: import("react").ReactNode;
192
+ isLoading?: boolean;
193
+ loader?: import("react").ReactNode;
194
+ stretch?: boolean;
195
+ stretching?: "fixed" | "auto" | "filled";
196
+ square?: boolean;
197
+ focused?: boolean;
198
+ disabled?: boolean;
199
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
200
+ view?: string;
201
+ size?: string;
202
+ outlined?: boolean;
203
+ shiftLeft?: boolean;
204
+ shiftRight?: boolean;
205
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
206
+ } & {
207
+ value?: string | number;
208
+ contentRight?: never;
209
+ } & {
210
+ acceptedFileFormats?: string[];
211
+ hideButtonOnAttach?: boolean;
212
+ hasAttachment?: boolean;
213
+ helperText?: string;
214
+ size?: string;
215
+ view?: string;
216
+ helperTextView?: string;
217
+ customIcon?: React.ReactNode;
218
+ onClear?: () => void;
219
+ } & {
220
+ flow?: "vertical" | "auto";
221
+ multiple?: boolean;
222
+ dropdownOptions?: never;
223
+ } & {
50
224
  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 & {
225
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
52
226
  text?: string;
53
227
  contentLeft?: import("react").ReactNode;
54
228
  contentPlacing?: "default" | "relaxed";
@@ -70,12 +244,65 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
70
244
  } & {
71
245
  value?: string | number;
72
246
  contentRight?: never;
73
- } & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
247
+ } & {
248
+ acceptedFileFormats?: string[];
249
+ hideButtonOnAttach?: boolean;
250
+ hasAttachment?: boolean;
251
+ helperText?: string;
252
+ size?: string;
253
+ view?: string;
254
+ helperTextView?: string;
255
+ customIcon?: React.ReactNode;
256
+ onClear?: () => void;
257
+ } & {
258
+ flow?: "vertical" | "auto";
259
+ multiple?: boolean;
260
+ dropdownOptions?: never;
261
+ } & {
74
262
  buttonType?: "button";
75
263
  } & {
76
264
  value?: never;
77
265
  contentRight?: import("react").ReactNode;
78
- } & 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 & {
266
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
267
+ text?: string;
268
+ contentLeft?: import("react").ReactNode;
269
+ contentPlacing?: "default" | "relaxed";
270
+ additionalContent?: import("react").ReactNode;
271
+ isLoading?: boolean;
272
+ loader?: import("react").ReactNode;
273
+ stretch?: boolean;
274
+ stretching?: "fixed" | "auto" | "filled";
275
+ square?: boolean;
276
+ focused?: boolean;
277
+ disabled?: boolean;
278
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
279
+ view?: string;
280
+ size?: string;
281
+ outlined?: boolean;
282
+ shiftLeft?: boolean;
283
+ shiftRight?: boolean;
284
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
285
+ } & {
286
+ value?: string | number;
287
+ contentRight?: never;
288
+ } & {
289
+ acceptedFileFormats?: string[];
290
+ hideButtonOnAttach?: boolean;
291
+ hasAttachment?: boolean;
292
+ helperText?: string;
293
+ size?: string;
294
+ view?: string;
295
+ helperTextView?: string;
296
+ customIcon?: React.ReactNode;
297
+ onClear?: () => void;
298
+ } & {
299
+ flow?: "vertical" | "auto";
300
+ multiple?: boolean;
301
+ dropdownOptions?: never;
302
+ } & {
303
+ buttonType?: "iconButton";
304
+ icon?: React.ReactNode;
305
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
79
306
  text?: string;
80
307
  contentLeft?: import("react").ReactNode;
81
308
  contentPlacing?: "default" | "relaxed";
@@ -97,10 +324,27 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
97
324
  } & {
98
325
  value?: string | number;
99
326
  contentRight?: never;
100
- } & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
327
+ } & {
328
+ acceptedFileFormats?: string[];
329
+ hideButtonOnAttach?: boolean;
330
+ hasAttachment?: boolean;
331
+ helperText?: string;
332
+ size?: string;
333
+ view?: string;
334
+ helperTextView?: string;
335
+ customIcon?: React.ReactNode;
336
+ onClear?: () => void;
337
+ } & {
338
+ flow?: "vertical" | "auto";
339
+ multiple?: boolean;
340
+ dropdownOptions?: never;
341
+ } & {
101
342
  buttonType?: "iconButton";
102
343
  icon?: React.ReactNode;
103
- } & 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 & {
344
+ } & {
345
+ value?: never;
346
+ contentRight?: import("react").ReactNode;
347
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
104
348
  text?: string;
105
349
  contentLeft?: import("react").ReactNode;
106
350
  contentPlacing?: "default" | "relaxed";
@@ -119,16 +363,148 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
119
363
  shiftLeft?: boolean;
120
364
  shiftRight?: boolean;
121
365
  blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
366
+ } & {
367
+ value?: never;
368
+ contentRight?: import("react").ReactNode;
369
+ } & {
370
+ acceptedFileFormats?: string[];
371
+ hideButtonOnAttach?: boolean;
372
+ hasAttachment?: boolean;
373
+ helperText?: string;
374
+ size?: string;
375
+ view?: string;
376
+ helperTextView?: string;
377
+ customIcon?: React.ReactNode;
378
+ onClear?: () => void;
379
+ } & {
380
+ flow?: "horizontal";
381
+ multiple?: boolean;
382
+ dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").DropdownOptions;
383
+ } & {
384
+ buttonType?: "button";
122
385
  } & {
123
386
  value?: string | number;
124
387
  contentRight?: never;
125
- } & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
388
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
389
+ text?: string;
390
+ contentLeft?: import("react").ReactNode;
391
+ contentPlacing?: "default" | "relaxed";
392
+ additionalContent?: import("react").ReactNode;
393
+ isLoading?: boolean;
394
+ loader?: import("react").ReactNode;
395
+ stretch?: boolean;
396
+ stretching?: "fixed" | "auto" | "filled";
397
+ square?: boolean;
398
+ focused?: boolean;
399
+ disabled?: boolean;
400
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
401
+ view?: string;
402
+ size?: string;
403
+ outlined?: boolean;
404
+ shiftLeft?: boolean;
405
+ shiftRight?: boolean;
406
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
407
+ } & {
408
+ value?: never;
409
+ contentRight?: import("react").ReactNode;
410
+ } & {
411
+ acceptedFileFormats?: string[];
412
+ hideButtonOnAttach?: boolean;
413
+ hasAttachment?: boolean;
414
+ helperText?: string;
415
+ size?: string;
416
+ view?: string;
417
+ helperTextView?: string;
418
+ customIcon?: React.ReactNode;
419
+ onClear?: () => void;
420
+ } & {
421
+ flow?: "horizontal";
422
+ multiple?: boolean;
423
+ dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").DropdownOptions;
424
+ } & {
425
+ buttonType?: "button";
426
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
427
+ text?: string;
428
+ contentLeft?: import("react").ReactNode;
429
+ contentPlacing?: "default" | "relaxed";
430
+ additionalContent?: import("react").ReactNode;
431
+ isLoading?: boolean;
432
+ loader?: import("react").ReactNode;
433
+ stretch?: boolean;
434
+ stretching?: "fixed" | "auto" | "filled";
435
+ square?: boolean;
436
+ focused?: boolean;
437
+ disabled?: boolean;
438
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
439
+ view?: string;
440
+ size?: string;
441
+ outlined?: boolean;
442
+ shiftLeft?: boolean;
443
+ shiftRight?: boolean;
444
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
445
+ } & {
446
+ value?: never;
447
+ contentRight?: import("react").ReactNode;
448
+ } & {
449
+ acceptedFileFormats?: string[];
450
+ hideButtonOnAttach?: boolean;
451
+ hasAttachment?: boolean;
452
+ helperText?: string;
453
+ size?: string;
454
+ view?: string;
455
+ helperTextView?: string;
456
+ customIcon?: React.ReactNode;
457
+ onClear?: () => void;
458
+ } & {
459
+ flow?: "horizontal";
460
+ multiple?: boolean;
461
+ dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").DropdownOptions;
462
+ } & {
126
463
  buttonType?: "iconButton";
127
464
  icon?: React.ReactNode;
465
+ } & {
466
+ value?: string | number;
467
+ contentRight?: never;
468
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
469
+ text?: string;
470
+ contentLeft?: import("react").ReactNode;
471
+ contentPlacing?: "default" | "relaxed";
472
+ additionalContent?: import("react").ReactNode;
473
+ isLoading?: boolean;
474
+ loader?: import("react").ReactNode;
475
+ stretch?: boolean;
476
+ stretching?: "fixed" | "auto" | "filled";
477
+ square?: boolean;
478
+ focused?: boolean;
479
+ disabled?: boolean;
480
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
481
+ view?: string;
482
+ size?: string;
483
+ outlined?: boolean;
484
+ shiftLeft?: boolean;
485
+ shiftRight?: boolean;
486
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
128
487
  } & {
129
488
  value?: never;
130
489
  contentRight?: import("react").ReactNode;
131
- } & 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 & {
490
+ } & {
491
+ acceptedFileFormats?: string[];
492
+ hideButtonOnAttach?: boolean;
493
+ hasAttachment?: boolean;
494
+ helperText?: string;
495
+ size?: string;
496
+ view?: string;
497
+ helperTextView?: string;
498
+ customIcon?: React.ReactNode;
499
+ onClear?: () => void;
500
+ } & {
501
+ flow?: "horizontal";
502
+ multiple?: boolean;
503
+ dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").DropdownOptions;
504
+ } & {
505
+ buttonType?: "iconButton";
506
+ icon?: React.ReactNode;
507
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
132
508
  text?: string;
133
509
  contentLeft?: import("react").ReactNode;
134
510
  contentPlacing?: "default" | "relaxed";
@@ -150,12 +526,26 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
150
526
  } & {
151
527
  value?: never;
152
528
  contentRight?: import("react").ReactNode;
153
- } & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
529
+ } & {
530
+ acceptedFileFormats?: string[];
531
+ hideButtonOnAttach?: boolean;
532
+ hasAttachment?: boolean;
533
+ helperText?: string;
534
+ size?: string;
535
+ view?: string;
536
+ helperTextView?: string;
537
+ customIcon?: React.ReactNode;
538
+ onClear?: () => void;
539
+ } & {
540
+ flow?: "vertical" | "auto";
541
+ multiple?: boolean;
542
+ dropdownOptions?: never;
543
+ } & {
154
544
  buttonType?: "button";
155
545
  } & {
156
546
  value?: string | number;
157
547
  contentRight?: never;
158
- } & 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 & {
548
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
159
549
  text?: string;
160
550
  contentLeft?: import("react").ReactNode;
161
551
  contentPlacing?: "default" | "relaxed";
@@ -177,9 +567,23 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
177
567
  } & {
178
568
  value?: never;
179
569
  contentRight?: import("react").ReactNode;
180
- } & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
570
+ } & {
571
+ acceptedFileFormats?: string[];
572
+ hideButtonOnAttach?: boolean;
573
+ hasAttachment?: boolean;
574
+ helperText?: string;
575
+ size?: string;
576
+ view?: string;
577
+ helperTextView?: string;
578
+ customIcon?: React.ReactNode;
579
+ onClear?: () => void;
580
+ } & {
581
+ flow?: "vertical" | "auto";
582
+ multiple?: boolean;
583
+ dropdownOptions?: never;
584
+ } & {
181
585
  buttonType?: "button";
182
- } & 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 & {
586
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
183
587
  text?: string;
184
588
  contentLeft?: import("react").ReactNode;
185
589
  contentPlacing?: "default" | "relaxed";
@@ -201,13 +605,27 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
201
605
  } & {
202
606
  value?: never;
203
607
  contentRight?: import("react").ReactNode;
204
- } & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
608
+ } & {
609
+ acceptedFileFormats?: string[];
610
+ hideButtonOnAttach?: boolean;
611
+ hasAttachment?: boolean;
612
+ helperText?: string;
613
+ size?: string;
614
+ view?: string;
615
+ helperTextView?: string;
616
+ customIcon?: React.ReactNode;
617
+ onClear?: () => void;
618
+ } & {
619
+ flow?: "vertical" | "auto";
620
+ multiple?: boolean;
621
+ dropdownOptions?: never;
622
+ } & {
205
623
  buttonType?: "iconButton";
206
624
  icon?: React.ReactNode;
207
625
  } & {
208
626
  value?: string | number;
209
627
  contentRight?: never;
210
- } & 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 & {
628
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
211
629
  text?: string;
212
630
  contentLeft?: import("react").ReactNode;
213
631
  contentPlacing?: "default" | "relaxed";
@@ -229,7 +647,21 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
229
647
  } & {
230
648
  value?: never;
231
649
  contentRight?: import("react").ReactNode;
232
- } & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
650
+ } & {
651
+ acceptedFileFormats?: string[];
652
+ hideButtonOnAttach?: boolean;
653
+ hasAttachment?: boolean;
654
+ helperText?: string;
655
+ size?: string;
656
+ view?: string;
657
+ helperTextView?: string;
658
+ customIcon?: React.ReactNode;
659
+ onClear?: () => void;
660
+ } & {
661
+ flow?: "vertical" | "auto";
662
+ multiple?: boolean;
663
+ dropdownOptions?: never;
664
+ } & {
233
665
  buttonType?: "iconButton";
234
666
  icon?: React.ReactNode;
235
667
  } & import("react").RefAttributes<HTMLDivElement>))>;
@@ -48,6 +48,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
48
48
  required?: boolean;
49
49
  requiredPlacement?: "left" | "right";
50
50
  optional?: boolean;
51
+ optionalText?: string;
51
52
  hasRequiredIndicator?: boolean;
52
53
  } & {
53
54
  hintText: string;
@@ -95,6 +96,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
95
96
  required?: boolean;
96
97
  requiredPlacement?: "left" | "right";
97
98
  optional?: boolean;
99
+ optionalText?: string;
98
100
  hasRequiredIndicator?: boolean;
99
101
  } & {
100
102
  hintText: string;
@@ -142,6 +144,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
142
144
  required?: boolean;
143
145
  requiredPlacement?: "left" | "right";
144
146
  optional?: boolean;
147
+ optionalText?: string;
145
148
  hasRequiredIndicator?: boolean;
146
149
  } & {
147
150
  hintText: string;
@@ -189,6 +192,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
189
192
  required?: boolean;
190
193
  requiredPlacement?: "left" | "right";
191
194
  optional?: boolean;
195
+ optionalText?: string;
192
196
  hasRequiredIndicator?: boolean;
193
197
  } & {
194
198
  hintText: string;
@@ -236,6 +240,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
236
240
  required?: boolean;
237
241
  requiredPlacement?: "left" | "right";
238
242
  optional?: boolean;
243
+ optionalText?: string;
239
244
  hasRequiredIndicator?: boolean;
240
245
  } & {
241
246
  hintText?: never;
@@ -283,6 +288,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
283
288
  required?: boolean;
284
289
  requiredPlacement?: "left" | "right";
285
290
  optional?: boolean;
291
+ optionalText?: string;
286
292
  hasRequiredIndicator?: boolean;
287
293
  } & {
288
294
  hintText?: never;
@@ -330,6 +336,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
330
336
  required?: boolean;
331
337
  requiredPlacement?: "left" | "right";
332
338
  optional?: boolean;
339
+ optionalText?: string;
333
340
  hasRequiredIndicator?: boolean;
334
341
  } & {
335
342
  hintText?: never;
@@ -377,6 +384,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
377
384
  required?: boolean;
378
385
  requiredPlacement?: "left" | "right";
379
386
  optional?: boolean;
387
+ optionalText?: string;
380
388
  hasRequiredIndicator?: boolean;
381
389
  } & {
382
390
  hintText?: never;
@@ -1,4 +1,4 @@
1
- require('./Attach.config_18v389v.css');
1
+ require('./Attach.config_4eb05r.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });