@salutejs/sdds-cs 0.331.0-canary.2287.18748636481.0 → 0.331.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.
@@ -14,7 +14,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
14
14
  size: {
15
15
  s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
16
16
  };
17
- }> & ((import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
17
+ }> & ((import("react").InputHTMLAttributes<HTMLInputElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
18
18
  text?: string;
19
19
  contentLeft?: import("react").ReactNode;
20
20
  contentPlacing?: "default" | "relaxed";
@@ -36,9 +36,183 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
36
36
  } & {
37
37
  value?: string | number;
38
38
  contentRight?: never;
39
- } & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
39
+ } & {
40
+ acceptedFileFormats?: string[];
41
+ hideButtonOnAttach?: boolean;
42
+ hasAttachment?: boolean;
43
+ helperText?: string;
44
+ size?: string;
45
+ view?: string;
46
+ helperTextView?: string;
47
+ customIcon?: React.ReactNode;
48
+ onClear?: () => void;
49
+ } & {
50
+ flow?: "horizontal";
51
+ multiple?: boolean;
52
+ dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").DropdownOptions;
53
+ } & {
54
+ buttonType?: "button";
55
+ } & 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 & {
56
+ text?: string;
57
+ contentLeft?: import("react").ReactNode;
58
+ contentPlacing?: "default" | "relaxed";
59
+ additionalContent?: import("react").ReactNode;
60
+ isLoading?: boolean;
61
+ loader?: import("react").ReactNode;
62
+ stretch?: boolean;
63
+ stretching?: "auto" | "filled" | "fixed";
64
+ square?: boolean;
65
+ focused?: boolean;
66
+ disabled?: boolean;
67
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
68
+ view?: string;
69
+ size?: string;
70
+ outlined?: boolean;
71
+ shiftLeft?: boolean;
72
+ shiftRight?: boolean;
73
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
74
+ } & {
75
+ value?: string | number;
76
+ contentRight?: never;
77
+ } & {
78
+ acceptedFileFormats?: string[];
79
+ hideButtonOnAttach?: boolean;
80
+ hasAttachment?: boolean;
81
+ helperText?: string;
82
+ size?: string;
83
+ view?: string;
84
+ helperTextView?: string;
85
+ customIcon?: React.ReactNode;
86
+ onClear?: () => void;
87
+ } & {
88
+ flow?: "horizontal";
89
+ multiple?: boolean;
90
+ dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").DropdownOptions;
91
+ } & {
92
+ buttonType?: "button";
93
+ } & {
94
+ value?: never;
95
+ contentRight?: import("react").ReactNode;
96
+ } & 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 & {
97
+ text?: string;
98
+ contentLeft?: import("react").ReactNode;
99
+ contentPlacing?: "default" | "relaxed";
100
+ additionalContent?: import("react").ReactNode;
101
+ isLoading?: boolean;
102
+ loader?: import("react").ReactNode;
103
+ stretch?: boolean;
104
+ stretching?: "auto" | "filled" | "fixed";
105
+ square?: boolean;
106
+ focused?: boolean;
107
+ disabled?: boolean;
108
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
109
+ view?: string;
110
+ size?: string;
111
+ outlined?: boolean;
112
+ shiftLeft?: boolean;
113
+ shiftRight?: boolean;
114
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
115
+ } & {
116
+ value?: string | number;
117
+ contentRight?: never;
118
+ } & {
119
+ acceptedFileFormats?: string[];
120
+ hideButtonOnAttach?: boolean;
121
+ hasAttachment?: boolean;
122
+ helperText?: string;
123
+ size?: string;
124
+ view?: string;
125
+ helperTextView?: string;
126
+ customIcon?: React.ReactNode;
127
+ onClear?: () => void;
128
+ } & {
129
+ flow?: "horizontal";
130
+ multiple?: boolean;
131
+ dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").DropdownOptions;
132
+ } & {
133
+ buttonType?: "iconButton";
134
+ icon?: React.ReactNode;
135
+ } & 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 & {
136
+ text?: string;
137
+ contentLeft?: import("react").ReactNode;
138
+ contentPlacing?: "default" | "relaxed";
139
+ additionalContent?: import("react").ReactNode;
140
+ isLoading?: boolean;
141
+ loader?: import("react").ReactNode;
142
+ stretch?: boolean;
143
+ stretching?: "auto" | "filled" | "fixed";
144
+ square?: boolean;
145
+ focused?: boolean;
146
+ disabled?: boolean;
147
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
148
+ view?: string;
149
+ size?: string;
150
+ outlined?: boolean;
151
+ shiftLeft?: boolean;
152
+ shiftRight?: boolean;
153
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
154
+ } & {
155
+ value?: string | number;
156
+ contentRight?: never;
157
+ } & {
158
+ acceptedFileFormats?: string[];
159
+ hideButtonOnAttach?: boolean;
160
+ hasAttachment?: boolean;
161
+ helperText?: string;
162
+ size?: string;
163
+ view?: string;
164
+ helperTextView?: string;
165
+ customIcon?: React.ReactNode;
166
+ onClear?: () => void;
167
+ } & {
168
+ flow?: "horizontal";
169
+ multiple?: boolean;
170
+ dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").DropdownOptions;
171
+ } & {
172
+ buttonType?: "iconButton";
173
+ icon?: React.ReactNode;
174
+ } & {
175
+ value?: never;
176
+ contentRight?: import("react").ReactNode;
177
+ } & 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 & {
178
+ text?: string;
179
+ contentLeft?: import("react").ReactNode;
180
+ contentPlacing?: "default" | "relaxed";
181
+ additionalContent?: import("react").ReactNode;
182
+ isLoading?: boolean;
183
+ loader?: import("react").ReactNode;
184
+ stretch?: boolean;
185
+ stretching?: "auto" | "filled" | "fixed";
186
+ square?: boolean;
187
+ focused?: boolean;
188
+ disabled?: boolean;
189
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
190
+ view?: string;
191
+ size?: string;
192
+ outlined?: boolean;
193
+ shiftLeft?: boolean;
194
+ shiftRight?: boolean;
195
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
196
+ } & {
197
+ value?: string | number;
198
+ contentRight?: never;
199
+ } & {
200
+ acceptedFileFormats?: string[];
201
+ hideButtonOnAttach?: boolean;
202
+ hasAttachment?: boolean;
203
+ helperText?: string;
204
+ size?: string;
205
+ view?: string;
206
+ helperTextView?: string;
207
+ customIcon?: React.ReactNode;
208
+ onClear?: () => void;
209
+ } & {
210
+ flow?: "vertical" | "auto";
211
+ multiple?: boolean;
212
+ dropdownOptions?: never;
213
+ } & {
40
214
  buttonType?: "button";
41
- } & 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 & {
215
+ } & 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 & {
42
216
  text?: string;
43
217
  contentLeft?: import("react").ReactNode;
44
218
  contentPlacing?: "default" | "relaxed";
@@ -60,12 +234,65 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
60
234
  } & {
61
235
  value?: string | number;
62
236
  contentRight?: never;
63
- } & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
237
+ } & {
238
+ acceptedFileFormats?: string[];
239
+ hideButtonOnAttach?: boolean;
240
+ hasAttachment?: boolean;
241
+ helperText?: string;
242
+ size?: string;
243
+ view?: string;
244
+ helperTextView?: string;
245
+ customIcon?: React.ReactNode;
246
+ onClear?: () => void;
247
+ } & {
248
+ flow?: "vertical" | "auto";
249
+ multiple?: boolean;
250
+ dropdownOptions?: never;
251
+ } & {
64
252
  buttonType?: "button";
65
253
  } & {
66
254
  value?: never;
67
255
  contentRight?: import("react").ReactNode;
68
- } & 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 & {
256
+ } & 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 & {
257
+ text?: string;
258
+ contentLeft?: import("react").ReactNode;
259
+ contentPlacing?: "default" | "relaxed";
260
+ additionalContent?: import("react").ReactNode;
261
+ isLoading?: boolean;
262
+ loader?: import("react").ReactNode;
263
+ stretch?: boolean;
264
+ stretching?: "auto" | "filled" | "fixed";
265
+ square?: boolean;
266
+ focused?: boolean;
267
+ disabled?: boolean;
268
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
269
+ view?: string;
270
+ size?: string;
271
+ outlined?: boolean;
272
+ shiftLeft?: boolean;
273
+ shiftRight?: boolean;
274
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
275
+ } & {
276
+ value?: string | number;
277
+ contentRight?: never;
278
+ } & {
279
+ acceptedFileFormats?: string[];
280
+ hideButtonOnAttach?: boolean;
281
+ hasAttachment?: boolean;
282
+ helperText?: string;
283
+ size?: string;
284
+ view?: string;
285
+ helperTextView?: string;
286
+ customIcon?: React.ReactNode;
287
+ onClear?: () => void;
288
+ } & {
289
+ flow?: "vertical" | "auto";
290
+ multiple?: boolean;
291
+ dropdownOptions?: never;
292
+ } & {
293
+ buttonType?: "iconButton";
294
+ icon?: React.ReactNode;
295
+ } & 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 & {
69
296
  text?: string;
70
297
  contentLeft?: import("react").ReactNode;
71
298
  contentPlacing?: "default" | "relaxed";
@@ -87,10 +314,27 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
87
314
  } & {
88
315
  value?: string | number;
89
316
  contentRight?: never;
90
- } & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
317
+ } & {
318
+ acceptedFileFormats?: string[];
319
+ hideButtonOnAttach?: boolean;
320
+ hasAttachment?: boolean;
321
+ helperText?: string;
322
+ size?: string;
323
+ view?: string;
324
+ helperTextView?: string;
325
+ customIcon?: React.ReactNode;
326
+ onClear?: () => void;
327
+ } & {
328
+ flow?: "vertical" | "auto";
329
+ multiple?: boolean;
330
+ dropdownOptions?: never;
331
+ } & {
91
332
  buttonType?: "iconButton";
92
333
  icon?: React.ReactNode;
93
- } & 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 & {
334
+ } & {
335
+ value?: never;
336
+ contentRight?: import("react").ReactNode;
337
+ } & 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 & {
94
338
  text?: string;
95
339
  contentLeft?: import("react").ReactNode;
96
340
  contentPlacing?: "default" | "relaxed";
@@ -109,16 +353,148 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
109
353
  shiftLeft?: boolean;
110
354
  shiftRight?: boolean;
111
355
  blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
356
+ } & {
357
+ value?: never;
358
+ contentRight?: import("react").ReactNode;
359
+ } & {
360
+ acceptedFileFormats?: string[];
361
+ hideButtonOnAttach?: boolean;
362
+ hasAttachment?: boolean;
363
+ helperText?: string;
364
+ size?: string;
365
+ view?: string;
366
+ helperTextView?: string;
367
+ customIcon?: React.ReactNode;
368
+ onClear?: () => void;
369
+ } & {
370
+ flow?: "horizontal";
371
+ multiple?: boolean;
372
+ dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").DropdownOptions;
373
+ } & {
374
+ buttonType?: "button";
112
375
  } & {
113
376
  value?: string | number;
114
377
  contentRight?: never;
115
- } & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
378
+ } & 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 & {
379
+ text?: string;
380
+ contentLeft?: import("react").ReactNode;
381
+ contentPlacing?: "default" | "relaxed";
382
+ additionalContent?: import("react").ReactNode;
383
+ isLoading?: boolean;
384
+ loader?: import("react").ReactNode;
385
+ stretch?: boolean;
386
+ stretching?: "auto" | "filled" | "fixed";
387
+ square?: boolean;
388
+ focused?: boolean;
389
+ disabled?: boolean;
390
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
391
+ view?: string;
392
+ size?: string;
393
+ outlined?: boolean;
394
+ shiftLeft?: boolean;
395
+ shiftRight?: boolean;
396
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
397
+ } & {
398
+ value?: never;
399
+ contentRight?: import("react").ReactNode;
400
+ } & {
401
+ acceptedFileFormats?: string[];
402
+ hideButtonOnAttach?: boolean;
403
+ hasAttachment?: boolean;
404
+ helperText?: string;
405
+ size?: string;
406
+ view?: string;
407
+ helperTextView?: string;
408
+ customIcon?: React.ReactNode;
409
+ onClear?: () => void;
410
+ } & {
411
+ flow?: "horizontal";
412
+ multiple?: boolean;
413
+ dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").DropdownOptions;
414
+ } & {
415
+ buttonType?: "button";
416
+ } & 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 & {
417
+ text?: string;
418
+ contentLeft?: import("react").ReactNode;
419
+ contentPlacing?: "default" | "relaxed";
420
+ additionalContent?: import("react").ReactNode;
421
+ isLoading?: boolean;
422
+ loader?: import("react").ReactNode;
423
+ stretch?: boolean;
424
+ stretching?: "auto" | "filled" | "fixed";
425
+ square?: boolean;
426
+ focused?: boolean;
427
+ disabled?: boolean;
428
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
429
+ view?: string;
430
+ size?: string;
431
+ outlined?: boolean;
432
+ shiftLeft?: boolean;
433
+ shiftRight?: boolean;
434
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
435
+ } & {
436
+ value?: never;
437
+ contentRight?: import("react").ReactNode;
438
+ } & {
439
+ acceptedFileFormats?: string[];
440
+ hideButtonOnAttach?: boolean;
441
+ hasAttachment?: boolean;
442
+ helperText?: string;
443
+ size?: string;
444
+ view?: string;
445
+ helperTextView?: string;
446
+ customIcon?: React.ReactNode;
447
+ onClear?: () => void;
448
+ } & {
449
+ flow?: "horizontal";
450
+ multiple?: boolean;
451
+ dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").DropdownOptions;
452
+ } & {
116
453
  buttonType?: "iconButton";
117
454
  icon?: React.ReactNode;
455
+ } & {
456
+ value?: string | number;
457
+ contentRight?: never;
458
+ } & 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 & {
459
+ text?: string;
460
+ contentLeft?: import("react").ReactNode;
461
+ contentPlacing?: "default" | "relaxed";
462
+ additionalContent?: import("react").ReactNode;
463
+ isLoading?: boolean;
464
+ loader?: import("react").ReactNode;
465
+ stretch?: boolean;
466
+ stretching?: "auto" | "filled" | "fixed";
467
+ square?: boolean;
468
+ focused?: boolean;
469
+ disabled?: boolean;
470
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
471
+ view?: string;
472
+ size?: string;
473
+ outlined?: boolean;
474
+ shiftLeft?: boolean;
475
+ shiftRight?: boolean;
476
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
118
477
  } & {
119
478
  value?: never;
120
479
  contentRight?: import("react").ReactNode;
121
- } & 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 & {
480
+ } & {
481
+ acceptedFileFormats?: string[];
482
+ hideButtonOnAttach?: boolean;
483
+ hasAttachment?: boolean;
484
+ helperText?: string;
485
+ size?: string;
486
+ view?: string;
487
+ helperTextView?: string;
488
+ customIcon?: React.ReactNode;
489
+ onClear?: () => void;
490
+ } & {
491
+ flow?: "horizontal";
492
+ multiple?: boolean;
493
+ dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").DropdownOptions;
494
+ } & {
495
+ buttonType?: "iconButton";
496
+ icon?: React.ReactNode;
497
+ } & 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 & {
122
498
  text?: string;
123
499
  contentLeft?: import("react").ReactNode;
124
500
  contentPlacing?: "default" | "relaxed";
@@ -140,12 +516,26 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
140
516
  } & {
141
517
  value?: never;
142
518
  contentRight?: import("react").ReactNode;
143
- } & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
519
+ } & {
520
+ acceptedFileFormats?: string[];
521
+ hideButtonOnAttach?: boolean;
522
+ hasAttachment?: boolean;
523
+ helperText?: string;
524
+ size?: string;
525
+ view?: string;
526
+ helperTextView?: string;
527
+ customIcon?: React.ReactNode;
528
+ onClear?: () => void;
529
+ } & {
530
+ flow?: "vertical" | "auto";
531
+ multiple?: boolean;
532
+ dropdownOptions?: never;
533
+ } & {
144
534
  buttonType?: "button";
145
535
  } & {
146
536
  value?: string | number;
147
537
  contentRight?: never;
148
- } & 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 & {
538
+ } & 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 & {
149
539
  text?: string;
150
540
  contentLeft?: import("react").ReactNode;
151
541
  contentPlacing?: "default" | "relaxed";
@@ -167,9 +557,23 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
167
557
  } & {
168
558
  value?: never;
169
559
  contentRight?: import("react").ReactNode;
170
- } & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
560
+ } & {
561
+ acceptedFileFormats?: string[];
562
+ hideButtonOnAttach?: boolean;
563
+ hasAttachment?: boolean;
564
+ helperText?: string;
565
+ size?: string;
566
+ view?: string;
567
+ helperTextView?: string;
568
+ customIcon?: React.ReactNode;
569
+ onClear?: () => void;
570
+ } & {
571
+ flow?: "vertical" | "auto";
572
+ multiple?: boolean;
573
+ dropdownOptions?: never;
574
+ } & {
171
575
  buttonType?: "button";
172
- } & 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 & {
576
+ } & 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 & {
173
577
  text?: string;
174
578
  contentLeft?: import("react").ReactNode;
175
579
  contentPlacing?: "default" | "relaxed";
@@ -191,13 +595,27 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
191
595
  } & {
192
596
  value?: never;
193
597
  contentRight?: import("react").ReactNode;
194
- } & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
598
+ } & {
599
+ acceptedFileFormats?: string[];
600
+ hideButtonOnAttach?: boolean;
601
+ hasAttachment?: boolean;
602
+ helperText?: string;
603
+ size?: string;
604
+ view?: string;
605
+ helperTextView?: string;
606
+ customIcon?: React.ReactNode;
607
+ onClear?: () => void;
608
+ } & {
609
+ flow?: "vertical" | "auto";
610
+ multiple?: boolean;
611
+ dropdownOptions?: never;
612
+ } & {
195
613
  buttonType?: "iconButton";
196
614
  icon?: React.ReactNode;
197
615
  } & {
198
616
  value?: string | number;
199
617
  contentRight?: never;
200
- } & 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 & {
618
+ } & 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 & {
201
619
  text?: string;
202
620
  contentLeft?: import("react").ReactNode;
203
621
  contentPlacing?: "default" | "relaxed";
@@ -219,7 +637,21 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
219
637
  } & {
220
638
  value?: never;
221
639
  contentRight?: import("react").ReactNode;
222
- } & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
640
+ } & {
641
+ acceptedFileFormats?: string[];
642
+ hideButtonOnAttach?: boolean;
643
+ hasAttachment?: boolean;
644
+ helperText?: string;
645
+ size?: string;
646
+ view?: string;
647
+ helperTextView?: string;
648
+ customIcon?: React.ReactNode;
649
+ onClear?: () => void;
650
+ } & {
651
+ flow?: "vertical" | "auto";
652
+ multiple?: boolean;
653
+ dropdownOptions?: never;
654
+ } & {
223
655
  buttonType?: "iconButton";
224
656
  icon?: React.ReactNode;
225
657
  } & import("react").RefAttributes<HTMLDivElement>))>;
@@ -42,6 +42,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
42
42
  required?: boolean;
43
43
  requiredPlacement?: "left" | "right";
44
44
  optional?: boolean;
45
+ optionalText?: string;
45
46
  hasRequiredIndicator?: boolean;
46
47
  } & {
47
48
  hintText: string;
@@ -89,6 +90,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
89
90
  required?: boolean;
90
91
  requiredPlacement?: "left" | "right";
91
92
  optional?: boolean;
93
+ optionalText?: string;
92
94
  hasRequiredIndicator?: boolean;
93
95
  } & {
94
96
  hintText: string;
@@ -136,6 +138,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
136
138
  required?: boolean;
137
139
  requiredPlacement?: "left" | "right";
138
140
  optional?: boolean;
141
+ optionalText?: string;
139
142
  hasRequiredIndicator?: boolean;
140
143
  } & {
141
144
  hintText: string;
@@ -183,6 +186,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
183
186
  required?: boolean;
184
187
  requiredPlacement?: "left" | "right";
185
188
  optional?: boolean;
189
+ optionalText?: string;
186
190
  hasRequiredIndicator?: boolean;
187
191
  } & {
188
192
  hintText: string;
@@ -230,6 +234,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
230
234
  required?: boolean;
231
235
  requiredPlacement?: "left" | "right";
232
236
  optional?: boolean;
237
+ optionalText?: string;
233
238
  hasRequiredIndicator?: boolean;
234
239
  } & {
235
240
  hintText?: never;
@@ -277,6 +282,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
277
282
  required?: boolean;
278
283
  requiredPlacement?: "left" | "right";
279
284
  optional?: boolean;
285
+ optionalText?: string;
280
286
  hasRequiredIndicator?: boolean;
281
287
  } & {
282
288
  hintText?: never;
@@ -324,6 +330,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
324
330
  required?: boolean;
325
331
  requiredPlacement?: "left" | "right";
326
332
  optional?: boolean;
333
+ optionalText?: string;
327
334
  hasRequiredIndicator?: boolean;
328
335
  } & {
329
336
  hintText?: never;
@@ -371,6 +378,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
371
378
  required?: boolean;
372
379
  requiredPlacement?: "left" | "right";
373
380
  optional?: boolean;
381
+ optionalText?: string;
374
382
  hasRequiredIndicator?: boolean;
375
383
  } & {
376
384
  hintText?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-cs",
3
- "version": "0.331.0-canary.2287.18748636481.0",
3
+ "version": "0.331.0-canary.2288.18780329906.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS CS web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -31,8 +31,8 @@
31
31
  "directory": "packages/sdds-cs"
32
32
  },
33
33
  "dependencies": {
34
- "@salutejs/plasma-new-hope": "0.339.0-canary.2287.18748636481.0",
35
- "@salutejs/sdds-themes": "0.48.0-canary.2287.18748636481.0"
34
+ "@salutejs/plasma-new-hope": "0.339.0-canary.2288.18780329906.0",
35
+ "@salutejs/sdds-themes": "0.48.0-canary.2288.18780329906.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@emotion/react": ">=11",
@@ -55,10 +55,10 @@
55
55
  "@microsoft/api-extractor": "7.38.3",
56
56
  "@originjs/vite-plugin-commonjs": "1.0.3",
57
57
  "@salutejs/plasma-colors": "0.16.0",
58
- "@salutejs/plasma-core": "1.209.0-canary.2287.18748636481.0",
59
- "@salutejs/plasma-cy-utils": "0.139.0-canary.2287.18748636481.0",
60
- "@salutejs/plasma-icons": "1.226.0-canary.2287.18748636481.0",
61
- "@salutejs/plasma-sb-utils": "0.209.0-canary.2287.18748636481.0",
58
+ "@salutejs/plasma-core": "1.209.0-canary.2288.18780329906.0",
59
+ "@salutejs/plasma-cy-utils": "0.139.0-canary.2288.18780329906.0",
60
+ "@salutejs/plasma-icons": "1.226.0-canary.2288.18780329906.0",
61
+ "@salutejs/plasma-sb-utils": "0.209.0-canary.2288.18780329906.0",
62
62
  "@storybook/addon-docs": "8.6.14",
63
63
  "@storybook/addon-essentials": "8.6.14",
64
64
  "@storybook/manager-api": "8.6.14",
@@ -124,5 +124,5 @@
124
124
  "Anton Vinogradov"
125
125
  ],
126
126
  "sideEffects": false,
127
- "gitHead": "84dd9319b43dd9728a0cc784876c2ff6faec4973"
127
+ "gitHead": "d9c7dc4c245821ee71f744ab46c09458a21b1a9b"
128
128
  }