@salutejs/plasma-web 1.403.0-canary.1449.11009654671.0 → 1.403.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +72 -0
- package/api/plasma-web.api.md +225 -238
- package/components/Attach/Attach.config.d.ts +27 -0
- package/components/Attach/Attach.config.js +36 -0
- package/components/Attach/Attach.d.ts +224 -0
- package/components/Attach/Attach.js +14 -0
- package/components/Attach/index.d.ts +1 -0
- package/components/Attach/index.js +12 -0
- package/components/Cell/Cell.d.ts +2 -2
- package/components/Mask/Mask.d.ts +0 -236
- package/components/TextField/TextField.config.d.ts +0 -3
- package/components/TextField/TextField.config.js +11 -14
- package/components/TextField/TextField.d.ts +5 -173
- package/css/cjs/components/Attach/Attach.config.js +35 -0
- package/css/cjs/components/Attach/Attach.config.js.map +1 -0
- package/css/cjs/components/Attach/Attach.config_1s3phpr.css +14 -0
- package/css/cjs/components/Attach/Attach.css +14 -0
- package/css/cjs/components/Attach/Attach.js +16 -0
- package/css/cjs/components/Attach/Attach.js.map +1 -0
- package/css/cjs/components/Mask/Mask.css +11 -12
- package/css/cjs/components/TextField/TextField.config.js +3 -6
- package/css/cjs/components/TextField/TextField.config.js.map +1 -1
- package/css/cjs/components/TextField/TextField.config_1sbw8b3.css +12 -0
- package/css/cjs/components/TextField/TextField.js.map +1 -1
- package/css/cjs/index.css +27 -13
- package/css/cjs/index.js +2 -0
- package/css/cjs/index.js.map +1 -1
- package/css/es/components/Attach/Attach.config.js +31 -0
- package/css/es/components/Attach/Attach.config.js.map +1 -0
- package/css/es/components/Attach/Attach.config_1s3phpr.css +14 -0
- package/css/es/components/Attach/Attach.css +14 -0
- package/css/es/components/Attach/Attach.js +12 -0
- package/css/es/components/Attach/Attach.js.map +1 -0
- package/css/es/components/Mask/Mask.css +11 -12
- package/css/es/components/TextField/TextField.config.js +3 -6
- package/css/es/components/TextField/TextField.config.js.map +1 -1
- package/css/es/components/TextField/TextField.config_1sbw8b3.css +12 -0
- package/css/es/components/TextField/TextField.js.map +1 -1
- package/css/es/index.css +27 -13
- package/css/es/index.js +1 -0
- package/css/es/index.js.map +1 -1
- package/css/index.d.ts +2 -0
- package/es/components/Attach/Attach.config.js +30 -0
- package/es/components/Attach/Attach.js +8 -0
- package/es/components/Attach/index.js +1 -0
- package/es/components/TextField/TextField.config.js +11 -14
- package/es/index.js +2 -1
- package/index.d.ts +1 -0
- package/index.js +11 -0
- package/package.json +3 -3
- package/css/cjs/components/TextField/TextField.config_10wbzne.css +0 -13
- package/css/es/components/TextField/TextField.config_10wbzne.css +0 -13
- package/temp/plasma-web.api.md +0 -3306
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,75 @@
|
|
1
|
+
# v1.403.0 (Tue Sep 24 2024)
|
2
|
+
|
3
|
+
### Release Notes
|
4
|
+
|
5
|
+
#### Release by 24.09.2024 ([#1450](https://github.com/salute-developers/plasma/pull/1450))
|
6
|
+
|
7
|
+
## Components
|
8
|
+
|
9
|
+
### Mask
|
10
|
+
|
11
|
+
- добавлен **новый** компонент
|
12
|
+
- включен в поставку plasma-* и sdds-* пакетов
|
13
|
+
|
14
|
+
feat(plasma-*): add Mask (https://github.com/salute-developers/plasma/pull/1418)
|
15
|
+
|
16
|
+
### Правка токенов в SDDS CS
|
17
|
+
|
18
|
+
- Изменены токены для компонентов `Autocomplite`, `Combobox`, `Datepicker`, `Range`, `Textfield`, `Textarea`, `Select` в поставке `sdds-cs`
|
19
|
+
|
20
|
+
|
21
|
+
feat(sdds-cs): edit tokens (https://github.com/salute-developers/plasma/pull/1439)
|
22
|
+
|
23
|
+
### Attach
|
24
|
+
- добавлен **новый** компонент в поставку всех клиентских библиотек
|
25
|
+
|
26
|
+
<img width="554" src="https://github.com/user-attachments/assets/0ede5244-018b-4801-9816-6d3f425a1ec5" />
|
27
|
+
|
28
|
+
<img width="296" src="https://github.com/user-attachments/assets/e86d1a79-13f9-430c-8c78-60da463bda6d" />
|
29
|
+
|
30
|
+
### Cell
|
31
|
+
- добавлена возможность использовать свойство `className`
|
32
|
+
|
33
|
+
|
34
|
+
`plasma-*, sdds-*`: Add Attach (https://github.com/salute-developers/plasma/pull/1437)
|
35
|
+
|
36
|
+
|
37
|
+
## Misc
|
38
|
+
|
39
|
+
### Tests
|
40
|
+
- изменены тесты plasma-b2c компонента TextArea
|
41
|
+
|
42
|
+
|
43
|
+
test(plasma-b2c): update tests for TextArea (https://github.com/salute-developers/plasma/pull/1434)
|
44
|
+
|
45
|
+
---
|
46
|
+
|
47
|
+
#### 🚀 Enhancement
|
48
|
+
|
49
|
+
- Release by 24.09.2024 [#1450](https://github.com/salute-developers/plasma/pull/1450) ([@IgorYar](https://github.com/IgorYar) [@TitanKuzmich](https://github.com/TitanKuzmich) [@Salute-Eva](https://github.com/Salute-Eva) [@iljs](https://github.com/iljs) [@denivladislav](https://github.com/denivladislav))
|
50
|
+
- docs(): api reports regenerated [#1437](https://github.com/salute-developers/plasma/pull/1437) ([@denivladislav](https://github.com/denivladislav))
|
51
|
+
- feat(sdds-cs): edit tokens [#1439](https://github.com/salute-developers/plasma/pull/1439) ([@iljs](https://github.com/iljs))
|
52
|
+
- feat(plasma-*): fix Mask stories prop [#1418](https://github.com/salute-developers/plasma/pull/1418) ([@TitanKuzmich](https://github.com/TitanKuzmich))
|
53
|
+
- feat(plasma-web/b2c): add Mask component ([@TitanKuzmich](https://github.com/TitanKuzmich))
|
54
|
+
|
55
|
+
#### 🐛 Bug Fix
|
56
|
+
|
57
|
+
- Update package-lock.json files ([@Salute-Eva](https://github.com/Salute-Eva))
|
58
|
+
- Update versions ([@Salute-Eva](https://github.com/Salute-Eva))
|
59
|
+
- feat(plasma-*, sdds-*): Attach ported; tests added ([@denivladislav](https://github.com/denivladislav))
|
60
|
+
- docs: generate new api reports ([@TitanKuzmich](https://github.com/TitanKuzmich))
|
61
|
+
- chore: Update package-lock.json files \[skip ci\] ([@Salute-Eva](https://github.com/Salute-Eva))
|
62
|
+
|
63
|
+
#### Authors: 5
|
64
|
+
|
65
|
+
- [@iljs](https://github.com/iljs)
|
66
|
+
- [@Salute-Eva](https://github.com/Salute-Eva)
|
67
|
+
- Igor Yaroslavtsev ([@IgorYar](https://github.com/IgorYar))
|
68
|
+
- Krivonos Aleksandr ([@TitanKuzmich](https://github.com/TitanKuzmich))
|
69
|
+
- Vladislav Denisov ([@denivladislav](https://github.com/denivladislav))
|
70
|
+
|
71
|
+
---
|
72
|
+
|
1
73
|
# v1.400.0 (Thu Sep 19 2024)
|
2
74
|
|
3
75
|
### Release Notes
|
package/api/plasma-web.api.md
CHANGED
@@ -35,6 +35,7 @@ import { AudioPlayerProps } from '@salutejs/plasma-hope';
|
|
35
35
|
import { AvatarGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
36
36
|
import { AvatarProps } from '@salutejs/plasma-new-hope/styled-components';
|
37
37
|
import { BadgeProps } from '@salutejs/plasma-new-hope/styled-components';
|
38
|
+
import { BaseAttachProps } from '@salutejs/plasma-new-hope/types/components/Attach/Attach.types';
|
38
39
|
import { BaseboxProps } from '@salutejs/plasma-new-hope/styled-components';
|
39
40
|
import { BaseCallbackChangeInstance } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
40
41
|
import { BaseCallbackKeyboardInstance } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
@@ -392,6 +393,228 @@ export { arrayItemSwapping }
|
|
392
393
|
|
393
394
|
export { AsProps }
|
394
395
|
|
396
|
+
// @public
|
397
|
+
export const Attach: FunctionComponent<PropsType< {
|
398
|
+
view: {
|
399
|
+
default: PolymorphicClassName;
|
400
|
+
accent: PolymorphicClassName;
|
401
|
+
secondary: PolymorphicClassName;
|
402
|
+
clear: PolymorphicClassName;
|
403
|
+
success: PolymorphicClassName;
|
404
|
+
warning: PolymorphicClassName;
|
405
|
+
critical: PolymorphicClassName;
|
406
|
+
dark: PolymorphicClassName;
|
407
|
+
black: PolymorphicClassName;
|
408
|
+
white: PolymorphicClassName;
|
409
|
+
};
|
410
|
+
size: {
|
411
|
+
l: PolymorphicClassName;
|
412
|
+
m: PolymorphicClassName;
|
413
|
+
s: PolymorphicClassName;
|
414
|
+
xs: PolymorphicClassName;
|
415
|
+
};
|
416
|
+
}> & ((HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
|
417
|
+
text?: string | undefined;
|
418
|
+
contentLeft?: ReactNode;
|
419
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
420
|
+
isLoading?: boolean | undefined;
|
421
|
+
loader?: ReactNode;
|
422
|
+
stretch?: boolean | undefined;
|
423
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
424
|
+
square?: boolean | undefined;
|
425
|
+
focused?: boolean | undefined;
|
426
|
+
disabled?: boolean | undefined;
|
427
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
428
|
+
view?: string | undefined;
|
429
|
+
size?: string | undefined;
|
430
|
+
outlined?: boolean | undefined;
|
431
|
+
shiftLeft?: boolean | undefined;
|
432
|
+
shiftRight?: boolean | undefined;
|
433
|
+
blur?: "small" | "medium" | "large" | undefined;
|
434
|
+
} & {
|
435
|
+
value?: string | number | undefined;
|
436
|
+
contentRight?: undefined;
|
437
|
+
} & BaseAttachProps & {
|
438
|
+
buttonType?: "button" | undefined;
|
439
|
+
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
|
440
|
+
text?: string | undefined;
|
441
|
+
contentLeft?: ReactNode;
|
442
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
443
|
+
isLoading?: boolean | undefined;
|
444
|
+
loader?: ReactNode;
|
445
|
+
stretch?: boolean | undefined;
|
446
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
447
|
+
square?: boolean | undefined;
|
448
|
+
focused?: boolean | undefined;
|
449
|
+
disabled?: boolean | undefined;
|
450
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
451
|
+
view?: string | undefined;
|
452
|
+
size?: string | undefined;
|
453
|
+
outlined?: boolean | undefined;
|
454
|
+
shiftLeft?: boolean | undefined;
|
455
|
+
shiftRight?: boolean | undefined;
|
456
|
+
blur?: "small" | "medium" | "large" | undefined;
|
457
|
+
} & {
|
458
|
+
value?: string | number | undefined;
|
459
|
+
contentRight?: undefined;
|
460
|
+
} & BaseAttachProps & {
|
461
|
+
buttonType?: "button" | undefined;
|
462
|
+
} & {
|
463
|
+
value?: undefined;
|
464
|
+
contentRight?: ReactNode;
|
465
|
+
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
|
466
|
+
text?: string | undefined;
|
467
|
+
contentLeft?: ReactNode;
|
468
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
469
|
+
isLoading?: boolean | undefined;
|
470
|
+
loader?: ReactNode;
|
471
|
+
stretch?: boolean | undefined;
|
472
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
473
|
+
square?: boolean | undefined;
|
474
|
+
focused?: boolean | undefined;
|
475
|
+
disabled?: boolean | undefined;
|
476
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
477
|
+
view?: string | undefined;
|
478
|
+
size?: string | undefined;
|
479
|
+
outlined?: boolean | undefined;
|
480
|
+
shiftLeft?: boolean | undefined;
|
481
|
+
shiftRight?: boolean | undefined;
|
482
|
+
blur?: "small" | "medium" | "large" | undefined;
|
483
|
+
} & {
|
484
|
+
value?: string | number | undefined;
|
485
|
+
contentRight?: undefined;
|
486
|
+
} & BaseAttachProps & {
|
487
|
+
buttonType?: "iconButton" | undefined;
|
488
|
+
icon?: ReactNode;
|
489
|
+
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
|
490
|
+
text?: string | undefined;
|
491
|
+
contentLeft?: ReactNode;
|
492
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
493
|
+
isLoading?: boolean | undefined;
|
494
|
+
loader?: ReactNode;
|
495
|
+
stretch?: boolean | undefined;
|
496
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
497
|
+
square?: boolean | undefined;
|
498
|
+
focused?: boolean | undefined;
|
499
|
+
disabled?: boolean | undefined;
|
500
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
501
|
+
view?: string | undefined;
|
502
|
+
size?: string | undefined;
|
503
|
+
outlined?: boolean | undefined;
|
504
|
+
shiftLeft?: boolean | undefined;
|
505
|
+
shiftRight?: boolean | undefined;
|
506
|
+
blur?: "small" | "medium" | "large" | undefined;
|
507
|
+
} & {
|
508
|
+
value?: string | number | undefined;
|
509
|
+
contentRight?: undefined;
|
510
|
+
} & BaseAttachProps & {
|
511
|
+
buttonType?: "iconButton" | undefined;
|
512
|
+
icon?: ReactNode;
|
513
|
+
} & {
|
514
|
+
value?: undefined;
|
515
|
+
contentRight?: ReactNode;
|
516
|
+
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
|
517
|
+
text?: string | undefined;
|
518
|
+
contentLeft?: ReactNode;
|
519
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
520
|
+
isLoading?: boolean | undefined;
|
521
|
+
loader?: ReactNode;
|
522
|
+
stretch?: boolean | undefined;
|
523
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
524
|
+
square?: boolean | undefined;
|
525
|
+
focused?: boolean | undefined;
|
526
|
+
disabled?: boolean | undefined;
|
527
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
528
|
+
view?: string | undefined;
|
529
|
+
size?: string | undefined;
|
530
|
+
outlined?: boolean | undefined;
|
531
|
+
shiftLeft?: boolean | undefined;
|
532
|
+
shiftRight?: boolean | undefined;
|
533
|
+
blur?: "small" | "medium" | "large" | undefined;
|
534
|
+
} & {
|
535
|
+
value?: undefined;
|
536
|
+
contentRight?: ReactNode;
|
537
|
+
} & BaseAttachProps & {
|
538
|
+
buttonType?: "button" | undefined;
|
539
|
+
} & {
|
540
|
+
value?: string | number | undefined;
|
541
|
+
contentRight?: undefined;
|
542
|
+
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
|
543
|
+
text?: string | undefined;
|
544
|
+
contentLeft?: ReactNode;
|
545
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
546
|
+
isLoading?: boolean | undefined;
|
547
|
+
loader?: ReactNode;
|
548
|
+
stretch?: boolean | undefined;
|
549
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
550
|
+
square?: boolean | undefined;
|
551
|
+
focused?: boolean | undefined;
|
552
|
+
disabled?: boolean | undefined;
|
553
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
554
|
+
view?: string | undefined;
|
555
|
+
size?: string | undefined;
|
556
|
+
outlined?: boolean | undefined;
|
557
|
+
shiftLeft?: boolean | undefined;
|
558
|
+
shiftRight?: boolean | undefined;
|
559
|
+
blur?: "small" | "medium" | "large" | undefined;
|
560
|
+
} & {
|
561
|
+
value?: undefined;
|
562
|
+
contentRight?: ReactNode;
|
563
|
+
} & BaseAttachProps & {
|
564
|
+
buttonType?: "button" | undefined;
|
565
|
+
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
|
566
|
+
text?: string | undefined;
|
567
|
+
contentLeft?: ReactNode;
|
568
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
569
|
+
isLoading?: boolean | undefined;
|
570
|
+
loader?: ReactNode;
|
571
|
+
stretch?: boolean | undefined;
|
572
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
573
|
+
square?: boolean | undefined;
|
574
|
+
focused?: boolean | undefined;
|
575
|
+
disabled?: boolean | undefined;
|
576
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
577
|
+
view?: string | undefined;
|
578
|
+
size?: string | undefined;
|
579
|
+
outlined?: boolean | undefined;
|
580
|
+
shiftLeft?: boolean | undefined;
|
581
|
+
shiftRight?: boolean | undefined;
|
582
|
+
blur?: "small" | "medium" | "large" | undefined;
|
583
|
+
} & {
|
584
|
+
value?: undefined;
|
585
|
+
contentRight?: ReactNode;
|
586
|
+
} & BaseAttachProps & {
|
587
|
+
buttonType?: "iconButton" | undefined;
|
588
|
+
icon?: ReactNode;
|
589
|
+
} & {
|
590
|
+
value?: string | number | undefined;
|
591
|
+
contentRight?: undefined;
|
592
|
+
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
|
593
|
+
text?: string | undefined;
|
594
|
+
contentLeft?: ReactNode;
|
595
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
596
|
+
isLoading?: boolean | undefined;
|
597
|
+
loader?: ReactNode;
|
598
|
+
stretch?: boolean | undefined;
|
599
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
600
|
+
square?: boolean | undefined;
|
601
|
+
focused?: boolean | undefined;
|
602
|
+
disabled?: boolean | undefined;
|
603
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
604
|
+
view?: string | undefined;
|
605
|
+
size?: string | undefined;
|
606
|
+
outlined?: boolean | undefined;
|
607
|
+
shiftLeft?: boolean | undefined;
|
608
|
+
shiftRight?: boolean | undefined;
|
609
|
+
blur?: "small" | "medium" | "large" | undefined;
|
610
|
+
} & {
|
611
|
+
value?: undefined;
|
612
|
+
contentRight?: ReactNode;
|
613
|
+
} & BaseAttachProps & {
|
614
|
+
buttonType?: "iconButton" | undefined;
|
615
|
+
icon?: ReactNode;
|
616
|
+
} & RefAttributes<HTMLDivElement>))>;
|
617
|
+
|
395
618
|
export { AudioPlayer }
|
396
619
|
|
397
620
|
export { AudioPlayerProps }
|
@@ -861,7 +1084,7 @@ xs: PolymorphicClassName;
|
|
861
1084
|
};
|
862
1085
|
}> & (({
|
863
1086
|
size?: string | undefined;
|
864
|
-
view
|
1087
|
+
view?: string | undefined;
|
865
1088
|
contentLeft?: ReactNode;
|
866
1089
|
contentRight?: ReactNode;
|
867
1090
|
alignContentLeft?: AlignProp | undefined;
|
@@ -876,7 +1099,7 @@ label?: string | undefined;
|
|
876
1099
|
children?: undefined;
|
877
1100
|
} & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>) | ({
|
878
1101
|
size?: string | undefined;
|
879
|
-
view
|
1102
|
+
view?: string | undefined;
|
880
1103
|
contentLeft?: ReactNode;
|
881
1104
|
contentRight?: ReactNode;
|
882
1105
|
alignContentLeft?: AlignProp | undefined;
|
@@ -1863,9 +2086,6 @@ labelPlacement: {
|
|
1863
2086
|
inner: PolymorphicClassName;
|
1864
2087
|
outer: PolymorphicClassName;
|
1865
2088
|
};
|
1866
|
-
clear: {
|
1867
|
-
true: PolymorphicClassName;
|
1868
|
-
};
|
1869
2089
|
disabled: {
|
1870
2090
|
true: PolymorphicClassName;
|
1871
2091
|
};
|
@@ -1892,9 +2112,6 @@ requiredPlacement?: "right" | "left" | undefined;
|
|
1892
2112
|
required: true;
|
1893
2113
|
optional?: false | undefined;
|
1894
2114
|
} & {
|
1895
|
-
clear?: boolean | undefined;
|
1896
|
-
hasDivider?: boolean | undefined;
|
1897
|
-
} & {
|
1898
2115
|
chips?: undefined;
|
1899
2116
|
onChangeChips?: undefined;
|
1900
2117
|
enumerationType?: "plain" | undefined;
|
@@ -1916,9 +2133,6 @@ labelPlacement: {
|
|
1916
2133
|
inner: PolymorphicClassName;
|
1917
2134
|
outer: PolymorphicClassName;
|
1918
2135
|
};
|
1919
|
-
clear: {
|
1920
|
-
true: PolymorphicClassName;
|
1921
|
-
};
|
1922
2136
|
disabled: {
|
1923
2137
|
true: PolymorphicClassName;
|
1924
2138
|
};
|
@@ -1945,9 +2159,6 @@ requiredPlacement?: "right" | "left" | undefined;
|
|
1945
2159
|
required: true;
|
1946
2160
|
optional?: false | undefined;
|
1947
2161
|
} & {
|
1948
|
-
clear?: boolean | undefined;
|
1949
|
-
hasDivider?: boolean | undefined;
|
1950
|
-
} & {
|
1951
2162
|
enumerationType: "chip";
|
1952
2163
|
onSearch?: undefined;
|
1953
2164
|
chips?: TextFieldPrimitiveValue[] | undefined;
|
@@ -1969,168 +2180,6 @@ labelPlacement: {
|
|
1969
2180
|
inner: PolymorphicClassName;
|
1970
2181
|
outer: PolymorphicClassName;
|
1971
2182
|
};
|
1972
|
-
clear: {
|
1973
|
-
true: PolymorphicClassName;
|
1974
|
-
};
|
1975
|
-
disabled: {
|
1976
|
-
true: PolymorphicClassName;
|
1977
|
-
};
|
1978
|
-
readOnly: {
|
1979
|
-
true: PolymorphicClassName;
|
1980
|
-
};
|
1981
|
-
}> & {
|
1982
|
-
size?: string | undefined;
|
1983
|
-
view?: string | undefined;
|
1984
|
-
readOnly?: boolean | undefined;
|
1985
|
-
disabled?: boolean | undefined;
|
1986
|
-
} & {
|
1987
|
-
label?: string | undefined;
|
1988
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1989
|
-
leftHelper?: string | undefined;
|
1990
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1991
|
-
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1992
|
-
textBefore?: string | undefined;
|
1993
|
-
textAfter?: string | undefined;
|
1994
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
1995
|
-
} & {
|
1996
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1997
|
-
} & {
|
1998
|
-
required: true;
|
1999
|
-
optional?: false | undefined;
|
2000
|
-
} & {
|
2001
|
-
clear?: false | undefined;
|
2002
|
-
hasDivider?: undefined;
|
2003
|
-
} & {
|
2004
|
-
chips?: undefined;
|
2005
|
-
onChangeChips?: undefined;
|
2006
|
-
enumerationType?: "plain" | undefined;
|
2007
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2008
|
-
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2009
|
-
view: {
|
2010
|
-
default: PolymorphicClassName;
|
2011
|
-
positive: PolymorphicClassName;
|
2012
|
-
warning: PolymorphicClassName;
|
2013
|
-
negative: PolymorphicClassName;
|
2014
|
-
};
|
2015
|
-
size: {
|
2016
|
-
l: PolymorphicClassName;
|
2017
|
-
m: PolymorphicClassName;
|
2018
|
-
s: PolymorphicClassName;
|
2019
|
-
xs: PolymorphicClassName;
|
2020
|
-
};
|
2021
|
-
labelPlacement: {
|
2022
|
-
inner: PolymorphicClassName;
|
2023
|
-
outer: PolymorphicClassName;
|
2024
|
-
};
|
2025
|
-
clear: {
|
2026
|
-
true: PolymorphicClassName;
|
2027
|
-
};
|
2028
|
-
disabled: {
|
2029
|
-
true: PolymorphicClassName;
|
2030
|
-
};
|
2031
|
-
readOnly: {
|
2032
|
-
true: PolymorphicClassName;
|
2033
|
-
};
|
2034
|
-
}> & {
|
2035
|
-
size?: string | undefined;
|
2036
|
-
view?: string | undefined;
|
2037
|
-
readOnly?: boolean | undefined;
|
2038
|
-
disabled?: boolean | undefined;
|
2039
|
-
} & {
|
2040
|
-
label?: string | undefined;
|
2041
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
2042
|
-
leftHelper?: string | undefined;
|
2043
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2044
|
-
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2045
|
-
textBefore?: string | undefined;
|
2046
|
-
textAfter?: string | undefined;
|
2047
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2048
|
-
} & {
|
2049
|
-
requiredPlacement?: "right" | "left" | undefined;
|
2050
|
-
} & {
|
2051
|
-
required: true;
|
2052
|
-
optional?: false | undefined;
|
2053
|
-
} & {
|
2054
|
-
clear?: false | undefined;
|
2055
|
-
hasDivider?: undefined;
|
2056
|
-
} & {
|
2057
|
-
enumerationType: "chip";
|
2058
|
-
onSearch?: undefined;
|
2059
|
-
chips?: TextFieldPrimitiveValue[] | undefined;
|
2060
|
-
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
|
2061
|
-
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2062
|
-
view: {
|
2063
|
-
default: PolymorphicClassName;
|
2064
|
-
positive: PolymorphicClassName;
|
2065
|
-
warning: PolymorphicClassName;
|
2066
|
-
negative: PolymorphicClassName;
|
2067
|
-
};
|
2068
|
-
size: {
|
2069
|
-
l: PolymorphicClassName;
|
2070
|
-
m: PolymorphicClassName;
|
2071
|
-
s: PolymorphicClassName;
|
2072
|
-
xs: PolymorphicClassName;
|
2073
|
-
};
|
2074
|
-
labelPlacement: {
|
2075
|
-
inner: PolymorphicClassName;
|
2076
|
-
outer: PolymorphicClassName;
|
2077
|
-
};
|
2078
|
-
clear: {
|
2079
|
-
true: PolymorphicClassName;
|
2080
|
-
};
|
2081
|
-
disabled: {
|
2082
|
-
true: PolymorphicClassName;
|
2083
|
-
};
|
2084
|
-
readOnly: {
|
2085
|
-
true: PolymorphicClassName;
|
2086
|
-
};
|
2087
|
-
}> & {
|
2088
|
-
size?: string | undefined;
|
2089
|
-
view?: string | undefined;
|
2090
|
-
readOnly?: boolean | undefined;
|
2091
|
-
disabled?: boolean | undefined;
|
2092
|
-
} & {
|
2093
|
-
label?: string | undefined;
|
2094
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
2095
|
-
leftHelper?: string | undefined;
|
2096
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2097
|
-
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2098
|
-
textBefore?: string | undefined;
|
2099
|
-
textAfter?: string | undefined;
|
2100
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2101
|
-
} & {
|
2102
|
-
requiredPlacement?: "right" | "left" | undefined;
|
2103
|
-
} & {
|
2104
|
-
optional?: true | undefined;
|
2105
|
-
required?: false | undefined;
|
2106
|
-
} & {
|
2107
|
-
clear?: boolean | undefined;
|
2108
|
-
hasDivider?: boolean | undefined;
|
2109
|
-
} & {
|
2110
|
-
chips?: undefined;
|
2111
|
-
onChangeChips?: undefined;
|
2112
|
-
enumerationType?: "plain" | undefined;
|
2113
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2114
|
-
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2115
|
-
view: {
|
2116
|
-
default: PolymorphicClassName;
|
2117
|
-
positive: PolymorphicClassName;
|
2118
|
-
warning: PolymorphicClassName;
|
2119
|
-
negative: PolymorphicClassName;
|
2120
|
-
};
|
2121
|
-
size: {
|
2122
|
-
l: PolymorphicClassName;
|
2123
|
-
m: PolymorphicClassName;
|
2124
|
-
s: PolymorphicClassName;
|
2125
|
-
xs: PolymorphicClassName;
|
2126
|
-
};
|
2127
|
-
labelPlacement: {
|
2128
|
-
inner: PolymorphicClassName;
|
2129
|
-
outer: PolymorphicClassName;
|
2130
|
-
};
|
2131
|
-
clear: {
|
2132
|
-
true: PolymorphicClassName;
|
2133
|
-
};
|
2134
2183
|
disabled: {
|
2135
2184
|
true: PolymorphicClassName;
|
2136
2185
|
};
|
@@ -2157,62 +2206,6 @@ requiredPlacement?: "right" | "left" | undefined;
|
|
2157
2206
|
optional?: true | undefined;
|
2158
2207
|
required?: false | undefined;
|
2159
2208
|
} & {
|
2160
|
-
clear?: boolean | undefined;
|
2161
|
-
hasDivider?: boolean | undefined;
|
2162
|
-
} & {
|
2163
|
-
enumerationType: "chip";
|
2164
|
-
onSearch?: undefined;
|
2165
|
-
chips?: TextFieldPrimitiveValue[] | undefined;
|
2166
|
-
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
|
2167
|
-
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2168
|
-
view: {
|
2169
|
-
default: PolymorphicClassName;
|
2170
|
-
positive: PolymorphicClassName;
|
2171
|
-
warning: PolymorphicClassName;
|
2172
|
-
negative: PolymorphicClassName;
|
2173
|
-
};
|
2174
|
-
size: {
|
2175
|
-
l: PolymorphicClassName;
|
2176
|
-
m: PolymorphicClassName;
|
2177
|
-
s: PolymorphicClassName;
|
2178
|
-
xs: PolymorphicClassName;
|
2179
|
-
};
|
2180
|
-
labelPlacement: {
|
2181
|
-
inner: PolymorphicClassName;
|
2182
|
-
outer: PolymorphicClassName;
|
2183
|
-
};
|
2184
|
-
clear: {
|
2185
|
-
true: PolymorphicClassName;
|
2186
|
-
};
|
2187
|
-
disabled: {
|
2188
|
-
true: PolymorphicClassName;
|
2189
|
-
};
|
2190
|
-
readOnly: {
|
2191
|
-
true: PolymorphicClassName;
|
2192
|
-
};
|
2193
|
-
}> & {
|
2194
|
-
size?: string | undefined;
|
2195
|
-
view?: string | undefined;
|
2196
|
-
readOnly?: boolean | undefined;
|
2197
|
-
disabled?: boolean | undefined;
|
2198
|
-
} & {
|
2199
|
-
label?: string | undefined;
|
2200
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
2201
|
-
leftHelper?: string | undefined;
|
2202
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2203
|
-
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2204
|
-
textBefore?: string | undefined;
|
2205
|
-
textAfter?: string | undefined;
|
2206
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2207
|
-
} & {
|
2208
|
-
requiredPlacement?: "right" | "left" | undefined;
|
2209
|
-
} & {
|
2210
|
-
optional?: true | undefined;
|
2211
|
-
required?: false | undefined;
|
2212
|
-
} & {
|
2213
|
-
clear?: false | undefined;
|
2214
|
-
hasDivider?: undefined;
|
2215
|
-
} & {
|
2216
2209
|
chips?: undefined;
|
2217
2210
|
onChangeChips?: undefined;
|
2218
2211
|
enumerationType?: "plain" | undefined;
|
@@ -2234,9 +2227,6 @@ labelPlacement: {
|
|
2234
2227
|
inner: PolymorphicClassName;
|
2235
2228
|
outer: PolymorphicClassName;
|
2236
2229
|
};
|
2237
|
-
clear: {
|
2238
|
-
true: PolymorphicClassName;
|
2239
|
-
};
|
2240
2230
|
disabled: {
|
2241
2231
|
true: PolymorphicClassName;
|
2242
2232
|
};
|
@@ -2263,9 +2253,6 @@ requiredPlacement?: "right" | "left" | undefined;
|
|
2263
2253
|
optional?: true | undefined;
|
2264
2254
|
required?: false | undefined;
|
2265
2255
|
} & {
|
2266
|
-
clear?: false | undefined;
|
2267
|
-
hasDivider?: undefined;
|
2268
|
-
} & {
|
2269
2256
|
enumerationType: "chip";
|
2270
2257
|
onSearch?: undefined;
|
2271
2258
|
chips?: TextFieldPrimitiveValue[] | undefined;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
export declare const config: {
|
2
|
+
defaults: {
|
3
|
+
view: string;
|
4
|
+
focused: string;
|
5
|
+
size: string;
|
6
|
+
};
|
7
|
+
variations: {
|
8
|
+
view: {
|
9
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
+
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
+
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
+
clear: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
|
+
success: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
|
+
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
15
|
+
critical: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
16
|
+
dark: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
17
|
+
black: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
18
|
+
white: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
19
|
+
};
|
20
|
+
size: {
|
21
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
22
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
23
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
24
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
25
|
+
};
|
26
|
+
};
|
27
|
+
};
|