@salutejs/plasma-web 1.401.0-canary.1445.10942800137.0 → 1.402.0-canary.1437.10958276336.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-web.api.md +418 -22
- package/components/{ChipGroup/ChipGroup.config.d.ts → Attach/Attach.config.d.ts} +9 -5
- 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/{ChipGroup → Attach}/index.js +3 -3
- package/components/Cell/Cell.d.ts +2 -2
- package/components/Mask/Mask.d.ts +190 -0
- package/components/Mask/Mask.js +9 -0
- package/components/Mask/index.d.ts +1 -0
- package/components/Mask/index.js +12 -0
- package/components/TextField/TextField.d.ts +11 -5
- package/components/TextField/TextField.js +2 -2
- 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.js +11 -0
- package/css/cjs/components/Mask/Mask.js.map +1 -0
- package/css/cjs/components/TextField/TextField.js +1 -0
- package/css/cjs/components/TextField/TextField.js.map +1 -1
- package/css/cjs/index.css +15 -10
- package/css/cjs/index.js +4 -2
- 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.js +7 -0
- package/css/es/components/Mask/Mask.js.map +1 -0
- package/css/es/components/TextField/TextField.js +1 -1
- package/css/es/components/TextField/TextField.js.map +1 -1
- package/css/es/index.css +15 -10
- package/css/es/index.js +2 -1
- package/css/es/index.js.map +1 -1
- package/css/index.d.ts +4 -2
- 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/Mask/Mask.js +3 -0
- package/es/components/Mask/index.js +1 -0
- package/es/components/TextField/TextField.js +1 -1
- package/es/index.js +2 -1
- package/index.d.ts +2 -1
- package/index.js +15 -4
- package/package.json +3 -3
- package/temp/plasma-web.api.md +418 -22
- package/components/ChipGroup/ChipGroup.config.js +0 -32
- package/components/ChipGroup/ChipGroup.d.ts +0 -18
- package/components/ChipGroup/ChipGroup.js +0 -10
- package/components/ChipGroup/index.d.ts +0 -1
- package/css/cjs/components/ChipGroup/ChipGroup.config.js +0 -31
- package/css/cjs/components/ChipGroup/ChipGroup.config.js.map +0 -1
- package/css/cjs/components/ChipGroup/ChipGroup.config_o3u1bd.css +0 -9
- package/css/cjs/components/ChipGroup/ChipGroup.css +0 -9
- package/css/cjs/components/ChipGroup/ChipGroup.js +0 -12
- package/css/cjs/components/ChipGroup/ChipGroup.js.map +0 -1
- package/css/es/components/ChipGroup/ChipGroup.config.js +0 -27
- package/css/es/components/ChipGroup/ChipGroup.config.js.map +0 -1
- package/css/es/components/ChipGroup/ChipGroup.config_o3u1bd.css +0 -9
- package/css/es/components/ChipGroup/ChipGroup.css +0 -9
- package/css/es/components/ChipGroup/ChipGroup.js +0 -8
- package/css/es/components/ChipGroup/ChipGroup.js.map +0 -1
- package/es/components/ChipGroup/ChipGroup.config.js +0 -26
- package/es/components/ChipGroup/ChipGroup.js +0 -4
- package/es/components/ChipGroup/index.js +0 -1
- /package/css/cjs/components/{TextField/TextField.css → Mask/Mask.css} +0 -0
- /package/css/es/components/{TextField/TextField.css → Mask/Mask.css} +0 -0
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';
|
@@ -80,7 +81,6 @@ import { CellTextboxSubtitle } from '@salutejs/plasma-new-hope/styled-components
|
|
80
81
|
import { CellTextboxTitle } from '@salutejs/plasma-new-hope/styled-components';
|
81
82
|
import { ChangeEvent } from 'react';
|
82
83
|
import { CheckboxProps as CheckboxProps_2 } from '@salutejs/plasma-new-hope/types/components/Checkbox/Checkbox.types';
|
83
|
-
import { ChipGroupProps } from '@salutejs/plasma-new-hope/types/components/ChipGroup/ChipGroup.types';
|
84
84
|
import { ChipProps } from '@salutejs/plasma-new-hope/styled-components';
|
85
85
|
import { clearSelection } from '@salutejs/plasma-hope';
|
86
86
|
import { closeNotification } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -152,10 +152,12 @@ import { InputHTMLAttributes } from '@salutejs/plasma-core';
|
|
152
152
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from '@salutejs/plasma-new-hope/types/types';
|
153
153
|
import { InputHTMLAttributes as InputHTMLAttributes_3 } from 'react';
|
154
154
|
import { JSXElementConstructor } from 'react';
|
155
|
+
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
155
156
|
import { LineSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
|
156
157
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
157
158
|
import { List } from '@salutejs/plasma-hope';
|
158
159
|
import { ListItem } from '@salutejs/plasma-hope';
|
160
|
+
import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
|
159
161
|
import { MaxLinesProps } from '@salutejs/plasma-core';
|
160
162
|
import { mediaQuery } from '@salutejs/plasma-hope';
|
161
163
|
import { MediaQueryFunction } from '@salutejs/plasma-hope';
|
@@ -391,6 +393,228 @@ export { arrayItemSwapping }
|
|
391
393
|
|
392
394
|
export { AsProps }
|
393
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
|
+
|
394
618
|
export { AudioPlayer }
|
395
619
|
|
396
620
|
export { AudioPlayerProps }
|
@@ -860,7 +1084,7 @@ xs: PolymorphicClassName;
|
|
860
1084
|
};
|
861
1085
|
}> & (({
|
862
1086
|
size?: string | undefined;
|
863
|
-
view
|
1087
|
+
view?: string | undefined;
|
864
1088
|
contentLeft?: ReactNode;
|
865
1089
|
contentRight?: ReactNode;
|
866
1090
|
alignContentLeft?: AlignProp | undefined;
|
@@ -875,7 +1099,7 @@ label?: string | undefined;
|
|
875
1099
|
children?: undefined;
|
876
1100
|
} & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>) | ({
|
877
1101
|
size?: string | undefined;
|
878
|
-
view
|
1102
|
+
view?: string | undefined;
|
879
1103
|
contentLeft?: ReactNode;
|
880
1104
|
contentRight?: ReactNode;
|
881
1105
|
alignContentLeft?: AlignProp | undefined;
|
@@ -956,25 +1180,6 @@ true: PolymorphicClassName;
|
|
956
1180
|
};
|
957
1181
|
}> & ChipProps & RefAttributes<HTMLButtonElement>>;
|
958
1182
|
|
959
|
-
// @public (undocumented)
|
960
|
-
export const ChipGroup: FunctionComponent<PropsType< {
|
961
|
-
view: {
|
962
|
-
default: PolymorphicClassName;
|
963
|
-
secondary: PolymorphicClassName;
|
964
|
-
accent: PolymorphicClassName;
|
965
|
-
};
|
966
|
-
size: {
|
967
|
-
l: PolymorphicClassName;
|
968
|
-
m: PolymorphicClassName;
|
969
|
-
s: PolymorphicClassName;
|
970
|
-
xs: PolymorphicClassName;
|
971
|
-
};
|
972
|
-
gap: {
|
973
|
-
dense: PolymorphicClassName;
|
974
|
-
wide: PolymorphicClassName;
|
975
|
-
};
|
976
|
-
}> & ChipGroupProps & RefAttributes<HTMLDivElement>>;
|
977
|
-
|
978
1183
|
export { ChipProps }
|
979
1184
|
|
980
1185
|
export { clearSelection }
|
@@ -1863,6 +2068,197 @@ export { List }
|
|
1863
2068
|
|
1864
2069
|
export { ListItem }
|
1865
2070
|
|
2071
|
+
// @public (undocumented)
|
2072
|
+
export const Mask: ForwardRefExoticComponent<(Omit<PropsType< {
|
2073
|
+
view: {
|
2074
|
+
default: PolymorphicClassName;
|
2075
|
+
positive: PolymorphicClassName;
|
2076
|
+
warning: PolymorphicClassName;
|
2077
|
+
negative: PolymorphicClassName;
|
2078
|
+
};
|
2079
|
+
size: {
|
2080
|
+
l: PolymorphicClassName;
|
2081
|
+
m: PolymorphicClassName;
|
2082
|
+
s: PolymorphicClassName;
|
2083
|
+
xs: PolymorphicClassName;
|
2084
|
+
};
|
2085
|
+
labelPlacement: {
|
2086
|
+
inner: PolymorphicClassName;
|
2087
|
+
outer: PolymorphicClassName;
|
2088
|
+
};
|
2089
|
+
disabled: {
|
2090
|
+
true: PolymorphicClassName;
|
2091
|
+
};
|
2092
|
+
readOnly: {
|
2093
|
+
true: PolymorphicClassName;
|
2094
|
+
};
|
2095
|
+
}> & {
|
2096
|
+
size?: string | undefined;
|
2097
|
+
view?: string | undefined;
|
2098
|
+
readOnly?: boolean | undefined;
|
2099
|
+
disabled?: boolean | undefined;
|
2100
|
+
} & {
|
2101
|
+
label?: string | undefined;
|
2102
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2103
|
+
leftHelper?: string | undefined;
|
2104
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2105
|
+
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2106
|
+
textBefore?: string | undefined;
|
2107
|
+
textAfter?: string | undefined;
|
2108
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2109
|
+
} & {
|
2110
|
+
requiredPlacement?: "right" | "left" | undefined;
|
2111
|
+
} & {
|
2112
|
+
required: true;
|
2113
|
+
optional?: false | undefined;
|
2114
|
+
} & {
|
2115
|
+
chips?: undefined;
|
2116
|
+
onChangeChips?: undefined;
|
2117
|
+
enumerationType?: "plain" | undefined;
|
2118
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2119
|
+
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2120
|
+
view: {
|
2121
|
+
default: PolymorphicClassName;
|
2122
|
+
positive: PolymorphicClassName;
|
2123
|
+
warning: PolymorphicClassName;
|
2124
|
+
negative: PolymorphicClassName;
|
2125
|
+
};
|
2126
|
+
size: {
|
2127
|
+
l: PolymorphicClassName;
|
2128
|
+
m: PolymorphicClassName;
|
2129
|
+
s: PolymorphicClassName;
|
2130
|
+
xs: PolymorphicClassName;
|
2131
|
+
};
|
2132
|
+
labelPlacement: {
|
2133
|
+
inner: PolymorphicClassName;
|
2134
|
+
outer: PolymorphicClassName;
|
2135
|
+
};
|
2136
|
+
disabled: {
|
2137
|
+
true: PolymorphicClassName;
|
2138
|
+
};
|
2139
|
+
readOnly: {
|
2140
|
+
true: PolymorphicClassName;
|
2141
|
+
};
|
2142
|
+
}> & {
|
2143
|
+
size?: string | undefined;
|
2144
|
+
view?: string | undefined;
|
2145
|
+
readOnly?: boolean | undefined;
|
2146
|
+
disabled?: boolean | undefined;
|
2147
|
+
} & {
|
2148
|
+
label?: string | undefined;
|
2149
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2150
|
+
leftHelper?: string | undefined;
|
2151
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2152
|
+
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2153
|
+
textBefore?: string | undefined;
|
2154
|
+
textAfter?: string | undefined;
|
2155
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2156
|
+
} & {
|
2157
|
+
requiredPlacement?: "right" | "left" | undefined;
|
2158
|
+
} & {
|
2159
|
+
required: true;
|
2160
|
+
optional?: false | undefined;
|
2161
|
+
} & {
|
2162
|
+
enumerationType: "chip";
|
2163
|
+
onSearch?: undefined;
|
2164
|
+
chips?: TextFieldPrimitiveValue[] | undefined;
|
2165
|
+
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
|
2166
|
+
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2167
|
+
view: {
|
2168
|
+
default: PolymorphicClassName;
|
2169
|
+
positive: PolymorphicClassName;
|
2170
|
+
warning: PolymorphicClassName;
|
2171
|
+
negative: PolymorphicClassName;
|
2172
|
+
};
|
2173
|
+
size: {
|
2174
|
+
l: PolymorphicClassName;
|
2175
|
+
m: PolymorphicClassName;
|
2176
|
+
s: PolymorphicClassName;
|
2177
|
+
xs: PolymorphicClassName;
|
2178
|
+
};
|
2179
|
+
labelPlacement: {
|
2180
|
+
inner: PolymorphicClassName;
|
2181
|
+
outer: PolymorphicClassName;
|
2182
|
+
};
|
2183
|
+
disabled: {
|
2184
|
+
true: PolymorphicClassName;
|
2185
|
+
};
|
2186
|
+
readOnly: {
|
2187
|
+
true: PolymorphicClassName;
|
2188
|
+
};
|
2189
|
+
}> & {
|
2190
|
+
size?: string | undefined;
|
2191
|
+
view?: string | undefined;
|
2192
|
+
readOnly?: boolean | undefined;
|
2193
|
+
disabled?: boolean | undefined;
|
2194
|
+
} & {
|
2195
|
+
label?: string | undefined;
|
2196
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2197
|
+
leftHelper?: string | undefined;
|
2198
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2199
|
+
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2200
|
+
textBefore?: string | undefined;
|
2201
|
+
textAfter?: string | undefined;
|
2202
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2203
|
+
} & {
|
2204
|
+
requiredPlacement?: "right" | "left" | undefined;
|
2205
|
+
} & {
|
2206
|
+
optional?: true | undefined;
|
2207
|
+
required?: false | undefined;
|
2208
|
+
} & {
|
2209
|
+
chips?: undefined;
|
2210
|
+
onChangeChips?: undefined;
|
2211
|
+
enumerationType?: "plain" | undefined;
|
2212
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2213
|
+
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2214
|
+
view: {
|
2215
|
+
default: PolymorphicClassName;
|
2216
|
+
positive: PolymorphicClassName;
|
2217
|
+
warning: PolymorphicClassName;
|
2218
|
+
negative: PolymorphicClassName;
|
2219
|
+
};
|
2220
|
+
size: {
|
2221
|
+
l: PolymorphicClassName;
|
2222
|
+
m: PolymorphicClassName;
|
2223
|
+
s: PolymorphicClassName;
|
2224
|
+
xs: PolymorphicClassName;
|
2225
|
+
};
|
2226
|
+
labelPlacement: {
|
2227
|
+
inner: PolymorphicClassName;
|
2228
|
+
outer: PolymorphicClassName;
|
2229
|
+
};
|
2230
|
+
disabled: {
|
2231
|
+
true: PolymorphicClassName;
|
2232
|
+
};
|
2233
|
+
readOnly: {
|
2234
|
+
true: PolymorphicClassName;
|
2235
|
+
};
|
2236
|
+
}> & {
|
2237
|
+
size?: string | undefined;
|
2238
|
+
view?: string | undefined;
|
2239
|
+
readOnly?: boolean | undefined;
|
2240
|
+
disabled?: boolean | undefined;
|
2241
|
+
} & {
|
2242
|
+
label?: string | undefined;
|
2243
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2244
|
+
leftHelper?: string | undefined;
|
2245
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2246
|
+
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2247
|
+
textBefore?: string | undefined;
|
2248
|
+
textAfter?: string | undefined;
|
2249
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2250
|
+
} & {
|
2251
|
+
requiredPlacement?: "right" | "left" | undefined;
|
2252
|
+
} & {
|
2253
|
+
optional?: true | undefined;
|
2254
|
+
required?: false | undefined;
|
2255
|
+
} & {
|
2256
|
+
enumerationType: "chip";
|
2257
|
+
onSearch?: undefined;
|
2258
|
+
chips?: TextFieldPrimitiveValue[] | undefined;
|
2259
|
+
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
|
2260
|
+
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref">) & RefAttributes<HTMLInputElement>>;
|
2261
|
+
|
1866
2262
|
export { MaxLinesProps }
|
1867
2263
|
|
1868
2264
|
export { mediaQuery }
|
@@ -1,13 +1,21 @@
|
|
1
1
|
export declare const config: {
|
2
2
|
defaults: {
|
3
3
|
view: string;
|
4
|
+
focused: string;
|
4
5
|
size: string;
|
5
6
|
};
|
6
7
|
variations: {
|
7
8
|
view: {
|
8
9
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
|
-
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
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;
|
11
19
|
};
|
12
20
|
size: {
|
13
21
|
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -15,9 +23,5 @@ export declare const config: {
|
|
15
23
|
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
16
24
|
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
17
25
|
};
|
18
|
-
gap: {
|
19
|
-
dense: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
20
|
-
wide: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
21
|
-
};
|
22
26
|
};
|
23
27
|
};
|