@salutejs/plasma-web 1.401.0-canary.1421.10954838350.0 → 1.401.0-canary.1437.10953371299.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-web.api.md +226 -199
- 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/{Mask → Attach}/index.js +3 -3
- package/components/Cell/Cell.d.ts +2 -2
- package/components/DatePicker/DatePicker.d.ts +0 -1
- package/components/Slider/Slider.d.ts +1 -3
- package/components/TextField/TextField.d.ts +5 -11
- 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_1abu8vf.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/TextField/TextField.js +0 -1
- package/css/cjs/components/TextField/TextField.js.map +1 -1
- package/css/cjs/index.css +15 -0
- package/css/cjs/index.js +2 -2
- 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_1abu8vf.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/TextField/TextField.js +1 -1
- package/css/es/components/TextField/TextField.js.map +1 -1
- package/css/es/index.css +15 -0
- package/css/es/index.js +1 -1
- package/css/index.d.ts +2 -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/TextField/TextField.js +1 -1
- package/es/index.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +4 -4
- package/package.json +3 -3
- package/temp/plasma-web.api.md +226 -199
- package/components/Mask/Mask.d.ts +0 -190
- package/components/Mask/Mask.js +0 -9
- package/components/Mask/index.d.ts +0 -1
- package/css/cjs/components/Mask/Mask.js +0 -11
- package/css/cjs/components/Mask/Mask.js.map +0 -1
- package/css/es/components/Mask/Mask.js +0 -7
- package/css/es/components/Mask/Mask.js.map +0 -1
- package/es/components/Mask/Mask.js +0 -3
- package/es/components/Mask/index.js +0 -1
- /package/css/cjs/components/{Mask/Mask.css → TextField/TextField.css} +0 -0
- /package/css/es/components/{Mask/Mask.css → TextField/TextField.css} +0 -0
package/temp/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';
|
@@ -151,12 +152,10 @@ import { InputHTMLAttributes } from '@salutejs/plasma-core';
|
|
151
152
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from '@salutejs/plasma-new-hope/types/types';
|
152
153
|
import { InputHTMLAttributes as InputHTMLAttributes_3 } from 'react';
|
153
154
|
import { JSXElementConstructor } from 'react';
|
154
|
-
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
155
155
|
import { LineSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
|
156
156
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
157
157
|
import { List } from '@salutejs/plasma-hope';
|
158
158
|
import { ListItem } from '@salutejs/plasma-hope';
|
159
|
-
import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
|
160
159
|
import { MaxLinesProps } from '@salutejs/plasma-core';
|
161
160
|
import { mediaQuery } from '@salutejs/plasma-hope';
|
162
161
|
import { MediaQueryFunction } from '@salutejs/plasma-hope';
|
@@ -392,6 +391,228 @@ export { arrayItemSwapping }
|
|
392
391
|
|
393
392
|
export { AsProps }
|
394
393
|
|
394
|
+
// @public
|
395
|
+
export const Attach: FunctionComponent<PropsType< {
|
396
|
+
view: {
|
397
|
+
default: PolymorphicClassName;
|
398
|
+
accent: PolymorphicClassName;
|
399
|
+
secondary: PolymorphicClassName;
|
400
|
+
clear: PolymorphicClassName;
|
401
|
+
success: PolymorphicClassName;
|
402
|
+
warning: PolymorphicClassName;
|
403
|
+
critical: PolymorphicClassName;
|
404
|
+
dark: PolymorphicClassName;
|
405
|
+
black: PolymorphicClassName;
|
406
|
+
white: PolymorphicClassName;
|
407
|
+
};
|
408
|
+
size: {
|
409
|
+
l: PolymorphicClassName;
|
410
|
+
m: PolymorphicClassName;
|
411
|
+
s: PolymorphicClassName;
|
412
|
+
xs: PolymorphicClassName;
|
413
|
+
};
|
414
|
+
}> & ((HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
|
415
|
+
text?: string | undefined;
|
416
|
+
contentLeft?: ReactNode;
|
417
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
418
|
+
isLoading?: boolean | undefined;
|
419
|
+
loader?: ReactNode;
|
420
|
+
stretch?: boolean | undefined;
|
421
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
422
|
+
square?: boolean | undefined;
|
423
|
+
focused?: boolean | undefined;
|
424
|
+
disabled?: boolean | undefined;
|
425
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
426
|
+
view?: string | undefined;
|
427
|
+
size?: string | undefined;
|
428
|
+
outlined?: boolean | undefined;
|
429
|
+
shiftLeft?: boolean | undefined;
|
430
|
+
shiftRight?: boolean | undefined;
|
431
|
+
blur?: "small" | "medium" | "large" | undefined;
|
432
|
+
} & {
|
433
|
+
value?: string | number | undefined;
|
434
|
+
contentRight?: undefined;
|
435
|
+
} & BaseAttachProps & {
|
436
|
+
buttonType?: "button" | undefined;
|
437
|
+
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
|
438
|
+
text?: string | undefined;
|
439
|
+
contentLeft?: ReactNode;
|
440
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
441
|
+
isLoading?: boolean | undefined;
|
442
|
+
loader?: ReactNode;
|
443
|
+
stretch?: boolean | undefined;
|
444
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
445
|
+
square?: boolean | undefined;
|
446
|
+
focused?: boolean | undefined;
|
447
|
+
disabled?: boolean | undefined;
|
448
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
449
|
+
view?: string | undefined;
|
450
|
+
size?: string | undefined;
|
451
|
+
outlined?: boolean | undefined;
|
452
|
+
shiftLeft?: boolean | undefined;
|
453
|
+
shiftRight?: boolean | undefined;
|
454
|
+
blur?: "small" | "medium" | "large" | undefined;
|
455
|
+
} & {
|
456
|
+
value?: string | number | undefined;
|
457
|
+
contentRight?: undefined;
|
458
|
+
} & BaseAttachProps & {
|
459
|
+
buttonType?: "button" | undefined;
|
460
|
+
} & {
|
461
|
+
value?: undefined;
|
462
|
+
contentRight?: ReactNode;
|
463
|
+
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
|
464
|
+
text?: string | undefined;
|
465
|
+
contentLeft?: ReactNode;
|
466
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
467
|
+
isLoading?: boolean | undefined;
|
468
|
+
loader?: ReactNode;
|
469
|
+
stretch?: boolean | undefined;
|
470
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
471
|
+
square?: boolean | undefined;
|
472
|
+
focused?: boolean | undefined;
|
473
|
+
disabled?: boolean | undefined;
|
474
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
475
|
+
view?: string | undefined;
|
476
|
+
size?: string | undefined;
|
477
|
+
outlined?: boolean | undefined;
|
478
|
+
shiftLeft?: boolean | undefined;
|
479
|
+
shiftRight?: boolean | undefined;
|
480
|
+
blur?: "small" | "medium" | "large" | undefined;
|
481
|
+
} & {
|
482
|
+
value?: string | number | undefined;
|
483
|
+
contentRight?: undefined;
|
484
|
+
} & BaseAttachProps & {
|
485
|
+
buttonType?: "iconButton" | undefined;
|
486
|
+
icon?: ReactNode;
|
487
|
+
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
|
488
|
+
text?: string | undefined;
|
489
|
+
contentLeft?: ReactNode;
|
490
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
491
|
+
isLoading?: boolean | undefined;
|
492
|
+
loader?: ReactNode;
|
493
|
+
stretch?: boolean | undefined;
|
494
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
495
|
+
square?: boolean | undefined;
|
496
|
+
focused?: boolean | undefined;
|
497
|
+
disabled?: boolean | undefined;
|
498
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
499
|
+
view?: string | undefined;
|
500
|
+
size?: string | undefined;
|
501
|
+
outlined?: boolean | undefined;
|
502
|
+
shiftLeft?: boolean | undefined;
|
503
|
+
shiftRight?: boolean | undefined;
|
504
|
+
blur?: "small" | "medium" | "large" | undefined;
|
505
|
+
} & {
|
506
|
+
value?: string | number | undefined;
|
507
|
+
contentRight?: undefined;
|
508
|
+
} & BaseAttachProps & {
|
509
|
+
buttonType?: "iconButton" | undefined;
|
510
|
+
icon?: ReactNode;
|
511
|
+
} & {
|
512
|
+
value?: undefined;
|
513
|
+
contentRight?: ReactNode;
|
514
|
+
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
|
515
|
+
text?: string | undefined;
|
516
|
+
contentLeft?: ReactNode;
|
517
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
518
|
+
isLoading?: boolean | undefined;
|
519
|
+
loader?: ReactNode;
|
520
|
+
stretch?: boolean | undefined;
|
521
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
522
|
+
square?: boolean | undefined;
|
523
|
+
focused?: boolean | undefined;
|
524
|
+
disabled?: boolean | undefined;
|
525
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
526
|
+
view?: string | undefined;
|
527
|
+
size?: string | undefined;
|
528
|
+
outlined?: boolean | undefined;
|
529
|
+
shiftLeft?: boolean | undefined;
|
530
|
+
shiftRight?: boolean | undefined;
|
531
|
+
blur?: "small" | "medium" | "large" | undefined;
|
532
|
+
} & {
|
533
|
+
value?: undefined;
|
534
|
+
contentRight?: ReactNode;
|
535
|
+
} & BaseAttachProps & {
|
536
|
+
buttonType?: "button" | undefined;
|
537
|
+
} & {
|
538
|
+
value?: string | number | undefined;
|
539
|
+
contentRight?: undefined;
|
540
|
+
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
|
541
|
+
text?: string | undefined;
|
542
|
+
contentLeft?: ReactNode;
|
543
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
544
|
+
isLoading?: boolean | undefined;
|
545
|
+
loader?: ReactNode;
|
546
|
+
stretch?: boolean | undefined;
|
547
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
548
|
+
square?: boolean | undefined;
|
549
|
+
focused?: boolean | undefined;
|
550
|
+
disabled?: boolean | undefined;
|
551
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
552
|
+
view?: string | undefined;
|
553
|
+
size?: string | undefined;
|
554
|
+
outlined?: boolean | undefined;
|
555
|
+
shiftLeft?: boolean | undefined;
|
556
|
+
shiftRight?: boolean | undefined;
|
557
|
+
blur?: "small" | "medium" | "large" | undefined;
|
558
|
+
} & {
|
559
|
+
value?: undefined;
|
560
|
+
contentRight?: ReactNode;
|
561
|
+
} & BaseAttachProps & {
|
562
|
+
buttonType?: "button" | undefined;
|
563
|
+
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
|
564
|
+
text?: string | undefined;
|
565
|
+
contentLeft?: ReactNode;
|
566
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
567
|
+
isLoading?: boolean | undefined;
|
568
|
+
loader?: ReactNode;
|
569
|
+
stretch?: boolean | undefined;
|
570
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
571
|
+
square?: boolean | undefined;
|
572
|
+
focused?: boolean | undefined;
|
573
|
+
disabled?: boolean | undefined;
|
574
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
575
|
+
view?: string | undefined;
|
576
|
+
size?: string | undefined;
|
577
|
+
outlined?: boolean | undefined;
|
578
|
+
shiftLeft?: boolean | undefined;
|
579
|
+
shiftRight?: boolean | undefined;
|
580
|
+
blur?: "small" | "medium" | "large" | undefined;
|
581
|
+
} & {
|
582
|
+
value?: undefined;
|
583
|
+
contentRight?: ReactNode;
|
584
|
+
} & BaseAttachProps & {
|
585
|
+
buttonType?: "iconButton" | undefined;
|
586
|
+
icon?: ReactNode;
|
587
|
+
} & {
|
588
|
+
value?: string | number | undefined;
|
589
|
+
contentRight?: undefined;
|
590
|
+
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps_2<any> & {
|
591
|
+
text?: string | undefined;
|
592
|
+
contentLeft?: ReactNode;
|
593
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
594
|
+
isLoading?: boolean | undefined;
|
595
|
+
loader?: ReactNode;
|
596
|
+
stretch?: boolean | undefined;
|
597
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
598
|
+
square?: boolean | undefined;
|
599
|
+
focused?: boolean | undefined;
|
600
|
+
disabled?: boolean | undefined;
|
601
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
602
|
+
view?: string | undefined;
|
603
|
+
size?: string | undefined;
|
604
|
+
outlined?: boolean | undefined;
|
605
|
+
shiftLeft?: boolean | undefined;
|
606
|
+
shiftRight?: boolean | undefined;
|
607
|
+
blur?: "small" | "medium" | "large" | undefined;
|
608
|
+
} & {
|
609
|
+
value?: undefined;
|
610
|
+
contentRight?: ReactNode;
|
611
|
+
} & BaseAttachProps & {
|
612
|
+
buttonType?: "iconButton" | undefined;
|
613
|
+
icon?: ReactNode;
|
614
|
+
} & RefAttributes<HTMLDivElement>))>;
|
615
|
+
|
395
616
|
export { AudioPlayer }
|
396
617
|
|
397
618
|
export { AudioPlayerProps }
|
@@ -861,7 +1082,7 @@ xs: PolymorphicClassName;
|
|
861
1082
|
};
|
862
1083
|
}> & (({
|
863
1084
|
size?: string | undefined;
|
864
|
-
view
|
1085
|
+
view?: string | undefined;
|
865
1086
|
contentLeft?: ReactNode;
|
866
1087
|
contentRight?: ReactNode;
|
867
1088
|
alignContentLeft?: AlignProp | undefined;
|
@@ -876,7 +1097,7 @@ label?: string | undefined;
|
|
876
1097
|
children?: undefined;
|
877
1098
|
} & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>) | ({
|
878
1099
|
size?: string | undefined;
|
879
|
-
view
|
1100
|
+
view?: string | undefined;
|
880
1101
|
contentLeft?: ReactNode;
|
881
1102
|
contentRight?: ReactNode;
|
882
1103
|
alignContentLeft?: AlignProp | undefined;
|
@@ -1341,7 +1562,6 @@ true: PolymorphicClassName;
|
|
1341
1562
|
}> & DatePickerdVariationProps & {
|
1342
1563
|
defaultFirstDate?: Date | undefined;
|
1343
1564
|
defaultSecondDate?: Date | undefined;
|
1344
|
-
name?: string | undefined;
|
1345
1565
|
onCommitFirstDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined, dateInfo?: DateInfo | undefined) => void) | undefined;
|
1346
1566
|
onCommitSecondDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined, dateInfo?: DateInfo | undefined) => void) | undefined;
|
1347
1567
|
} & {
|
@@ -1846,197 +2066,6 @@ export { List }
|
|
1846
2066
|
|
1847
2067
|
export { ListItem }
|
1848
2068
|
|
1849
|
-
// @public (undocumented)
|
1850
|
-
export const Mask: ForwardRefExoticComponent<(Omit<PropsType< {
|
1851
|
-
view: {
|
1852
|
-
default: PolymorphicClassName;
|
1853
|
-
positive: PolymorphicClassName;
|
1854
|
-
warning: PolymorphicClassName;
|
1855
|
-
negative: PolymorphicClassName;
|
1856
|
-
};
|
1857
|
-
size: {
|
1858
|
-
l: PolymorphicClassName;
|
1859
|
-
m: PolymorphicClassName;
|
1860
|
-
s: PolymorphicClassName;
|
1861
|
-
xs: PolymorphicClassName;
|
1862
|
-
};
|
1863
|
-
labelPlacement: {
|
1864
|
-
inner: PolymorphicClassName;
|
1865
|
-
outer: PolymorphicClassName;
|
1866
|
-
};
|
1867
|
-
disabled: {
|
1868
|
-
true: PolymorphicClassName;
|
1869
|
-
};
|
1870
|
-
readOnly: {
|
1871
|
-
true: PolymorphicClassName;
|
1872
|
-
};
|
1873
|
-
}> & {
|
1874
|
-
size?: string | undefined;
|
1875
|
-
view?: string | undefined;
|
1876
|
-
readOnly?: boolean | undefined;
|
1877
|
-
disabled?: boolean | undefined;
|
1878
|
-
} & {
|
1879
|
-
label?: string | undefined;
|
1880
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1881
|
-
leftHelper?: string | undefined;
|
1882
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1883
|
-
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1884
|
-
textBefore?: string | undefined;
|
1885
|
-
textAfter?: string | undefined;
|
1886
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
1887
|
-
} & {
|
1888
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1889
|
-
} & {
|
1890
|
-
required: true;
|
1891
|
-
optional?: false | undefined;
|
1892
|
-
} & {
|
1893
|
-
chips?: undefined;
|
1894
|
-
onChangeChips?: undefined;
|
1895
|
-
enumerationType?: "plain" | undefined;
|
1896
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
1897
|
-
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
1898
|
-
view: {
|
1899
|
-
default: PolymorphicClassName;
|
1900
|
-
positive: PolymorphicClassName;
|
1901
|
-
warning: PolymorphicClassName;
|
1902
|
-
negative: PolymorphicClassName;
|
1903
|
-
};
|
1904
|
-
size: {
|
1905
|
-
l: PolymorphicClassName;
|
1906
|
-
m: PolymorphicClassName;
|
1907
|
-
s: PolymorphicClassName;
|
1908
|
-
xs: PolymorphicClassName;
|
1909
|
-
};
|
1910
|
-
labelPlacement: {
|
1911
|
-
inner: PolymorphicClassName;
|
1912
|
-
outer: PolymorphicClassName;
|
1913
|
-
};
|
1914
|
-
disabled: {
|
1915
|
-
true: PolymorphicClassName;
|
1916
|
-
};
|
1917
|
-
readOnly: {
|
1918
|
-
true: PolymorphicClassName;
|
1919
|
-
};
|
1920
|
-
}> & {
|
1921
|
-
size?: string | undefined;
|
1922
|
-
view?: string | undefined;
|
1923
|
-
readOnly?: boolean | undefined;
|
1924
|
-
disabled?: boolean | undefined;
|
1925
|
-
} & {
|
1926
|
-
label?: string | undefined;
|
1927
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1928
|
-
leftHelper?: string | undefined;
|
1929
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1930
|
-
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1931
|
-
textBefore?: string | undefined;
|
1932
|
-
textAfter?: string | undefined;
|
1933
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
1934
|
-
} & {
|
1935
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1936
|
-
} & {
|
1937
|
-
required: true;
|
1938
|
-
optional?: false | undefined;
|
1939
|
-
} & {
|
1940
|
-
enumerationType: "chip";
|
1941
|
-
onSearch?: undefined;
|
1942
|
-
chips?: TextFieldPrimitiveValue[] | undefined;
|
1943
|
-
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
|
1944
|
-
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
1945
|
-
view: {
|
1946
|
-
default: PolymorphicClassName;
|
1947
|
-
positive: PolymorphicClassName;
|
1948
|
-
warning: PolymorphicClassName;
|
1949
|
-
negative: PolymorphicClassName;
|
1950
|
-
};
|
1951
|
-
size: {
|
1952
|
-
l: PolymorphicClassName;
|
1953
|
-
m: PolymorphicClassName;
|
1954
|
-
s: PolymorphicClassName;
|
1955
|
-
xs: PolymorphicClassName;
|
1956
|
-
};
|
1957
|
-
labelPlacement: {
|
1958
|
-
inner: PolymorphicClassName;
|
1959
|
-
outer: PolymorphicClassName;
|
1960
|
-
};
|
1961
|
-
disabled: {
|
1962
|
-
true: PolymorphicClassName;
|
1963
|
-
};
|
1964
|
-
readOnly: {
|
1965
|
-
true: PolymorphicClassName;
|
1966
|
-
};
|
1967
|
-
}> & {
|
1968
|
-
size?: string | undefined;
|
1969
|
-
view?: string | undefined;
|
1970
|
-
readOnly?: boolean | undefined;
|
1971
|
-
disabled?: boolean | undefined;
|
1972
|
-
} & {
|
1973
|
-
label?: string | undefined;
|
1974
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1975
|
-
leftHelper?: string | undefined;
|
1976
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1977
|
-
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1978
|
-
textBefore?: string | undefined;
|
1979
|
-
textAfter?: string | undefined;
|
1980
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
1981
|
-
} & {
|
1982
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1983
|
-
} & {
|
1984
|
-
optional?: true | undefined;
|
1985
|
-
required?: false | undefined;
|
1986
|
-
} & {
|
1987
|
-
chips?: undefined;
|
1988
|
-
onChangeChips?: undefined;
|
1989
|
-
enumerationType?: "plain" | undefined;
|
1990
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
1991
|
-
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
1992
|
-
view: {
|
1993
|
-
default: PolymorphicClassName;
|
1994
|
-
positive: PolymorphicClassName;
|
1995
|
-
warning: PolymorphicClassName;
|
1996
|
-
negative: PolymorphicClassName;
|
1997
|
-
};
|
1998
|
-
size: {
|
1999
|
-
l: PolymorphicClassName;
|
2000
|
-
m: PolymorphicClassName;
|
2001
|
-
s: PolymorphicClassName;
|
2002
|
-
xs: PolymorphicClassName;
|
2003
|
-
};
|
2004
|
-
labelPlacement: {
|
2005
|
-
inner: PolymorphicClassName;
|
2006
|
-
outer: PolymorphicClassName;
|
2007
|
-
};
|
2008
|
-
disabled: {
|
2009
|
-
true: PolymorphicClassName;
|
2010
|
-
};
|
2011
|
-
readOnly: {
|
2012
|
-
true: PolymorphicClassName;
|
2013
|
-
};
|
2014
|
-
}> & {
|
2015
|
-
size?: string | undefined;
|
2016
|
-
view?: string | undefined;
|
2017
|
-
readOnly?: boolean | undefined;
|
2018
|
-
disabled?: boolean | undefined;
|
2019
|
-
} & {
|
2020
|
-
label?: string | undefined;
|
2021
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
2022
|
-
leftHelper?: string | undefined;
|
2023
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2024
|
-
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2025
|
-
textBefore?: string | undefined;
|
2026
|
-
textAfter?: string | undefined;
|
2027
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2028
|
-
} & {
|
2029
|
-
requiredPlacement?: "right" | "left" | undefined;
|
2030
|
-
} & {
|
2031
|
-
optional?: true | undefined;
|
2032
|
-
required?: false | undefined;
|
2033
|
-
} & {
|
2034
|
-
enumerationType: "chip";
|
2035
|
-
onSearch?: undefined;
|
2036
|
-
chips?: TextFieldPrimitiveValue[] | undefined;
|
2037
|
-
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
|
2038
|
-
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref">) & RefAttributes<HTMLInputElement>>;
|
2039
|
-
|
2040
2069
|
export { MaxLinesProps }
|
2041
2070
|
|
2042
2071
|
export { mediaQuery }
|
@@ -2709,9 +2738,7 @@ s: PolymorphicClassName;
|
|
2709
2738
|
disabled: {
|
2710
2739
|
true: PolymorphicClassName;
|
2711
2740
|
};
|
2712
|
-
}> & ((SingleSliderProps & RefAttributes<HTMLDivElement>) | (
|
2713
|
-
value?: number[] | undefined;
|
2714
|
-
} & RefAttributes<HTMLDivElement>))>;
|
2741
|
+
}> & ((SingleSliderProps & RefAttributes<HTMLDivElement>) | (DoubleSliderProps & RefAttributes<HTMLDivElement>))>;
|
2715
2742
|
|
2716
2743
|
export { SliderProps }
|
2717
2744
|
|
@@ -1,190 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
3
|
-
view: {
|
4
|
-
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
|
-
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
-
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
-
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
8
|
-
};
|
9
|
-
size: {
|
10
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
|
-
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
|
-
};
|
15
|
-
labelPlacement: {
|
16
|
-
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
17
|
-
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
18
|
-
};
|
19
|
-
disabled: {
|
20
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
21
|
-
};
|
22
|
-
readOnly: {
|
23
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
24
|
-
};
|
25
|
-
}> & {
|
26
|
-
size?: string | undefined;
|
27
|
-
view?: string | undefined;
|
28
|
-
readOnly?: boolean | undefined;
|
29
|
-
disabled?: boolean | undefined;
|
30
|
-
} & {
|
31
|
-
label?: string | undefined;
|
32
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
33
|
-
leftHelper?: string | undefined;
|
34
|
-
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
35
|
-
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
36
|
-
textBefore?: string | undefined;
|
37
|
-
textAfter?: string | undefined;
|
38
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
39
|
-
} & {
|
40
|
-
requiredPlacement?: "right" | "left" | undefined;
|
41
|
-
} & {
|
42
|
-
required: true;
|
43
|
-
optional?: false | undefined;
|
44
|
-
} & {
|
45
|
-
chips?: undefined;
|
46
|
-
onChangeChips?: undefined;
|
47
|
-
enumerationType?: "plain" | undefined;
|
48
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
49
|
-
} & Omit<import("@salutejs/plasma-new-hope/types/types").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
50
|
-
view: {
|
51
|
-
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
52
|
-
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
53
|
-
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
54
|
-
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
55
|
-
};
|
56
|
-
size: {
|
57
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
58
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
59
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
60
|
-
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
61
|
-
};
|
62
|
-
labelPlacement: {
|
63
|
-
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
64
|
-
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
65
|
-
};
|
66
|
-
disabled: {
|
67
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
68
|
-
};
|
69
|
-
readOnly: {
|
70
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
71
|
-
};
|
72
|
-
}> & {
|
73
|
-
size?: string | undefined;
|
74
|
-
view?: string | undefined;
|
75
|
-
readOnly?: boolean | undefined;
|
76
|
-
disabled?: boolean | undefined;
|
77
|
-
} & {
|
78
|
-
label?: string | undefined;
|
79
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
80
|
-
leftHelper?: string | undefined;
|
81
|
-
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
82
|
-
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
83
|
-
textBefore?: string | undefined;
|
84
|
-
textAfter?: string | undefined;
|
85
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
86
|
-
} & {
|
87
|
-
requiredPlacement?: "right" | "left" | undefined;
|
88
|
-
} & {
|
89
|
-
required: true;
|
90
|
-
optional?: false | undefined;
|
91
|
-
} & {
|
92
|
-
enumerationType: "chip";
|
93
|
-
onSearch?: undefined;
|
94
|
-
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
95
|
-
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
96
|
-
} & Omit<import("@salutejs/plasma-new-hope/types/types").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
97
|
-
view: {
|
98
|
-
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
99
|
-
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
100
|
-
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
101
|
-
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
102
|
-
};
|
103
|
-
size: {
|
104
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
105
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
106
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
107
|
-
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
108
|
-
};
|
109
|
-
labelPlacement: {
|
110
|
-
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
111
|
-
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
112
|
-
};
|
113
|
-
disabled: {
|
114
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
115
|
-
};
|
116
|
-
readOnly: {
|
117
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
118
|
-
};
|
119
|
-
}> & {
|
120
|
-
size?: string | undefined;
|
121
|
-
view?: string | undefined;
|
122
|
-
readOnly?: boolean | undefined;
|
123
|
-
disabled?: boolean | undefined;
|
124
|
-
} & {
|
125
|
-
label?: string | undefined;
|
126
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
127
|
-
leftHelper?: string | undefined;
|
128
|
-
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
129
|
-
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
130
|
-
textBefore?: string | undefined;
|
131
|
-
textAfter?: string | undefined;
|
132
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
133
|
-
} & {
|
134
|
-
requiredPlacement?: "right" | "left" | undefined;
|
135
|
-
} & {
|
136
|
-
optional?: true | undefined;
|
137
|
-
required?: false | undefined;
|
138
|
-
} & {
|
139
|
-
chips?: undefined;
|
140
|
-
onChangeChips?: undefined;
|
141
|
-
enumerationType?: "plain" | undefined;
|
142
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
143
|
-
} & Omit<import("@salutejs/plasma-new-hope/types/types").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
144
|
-
view: {
|
145
|
-
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
146
|
-
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
147
|
-
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
148
|
-
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
149
|
-
};
|
150
|
-
size: {
|
151
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
152
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
153
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
154
|
-
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
155
|
-
};
|
156
|
-
labelPlacement: {
|
157
|
-
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
158
|
-
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
159
|
-
};
|
160
|
-
disabled: {
|
161
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
162
|
-
};
|
163
|
-
readOnly: {
|
164
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
165
|
-
};
|
166
|
-
}> & {
|
167
|
-
size?: string | undefined;
|
168
|
-
view?: string | undefined;
|
169
|
-
readOnly?: boolean | undefined;
|
170
|
-
disabled?: boolean | undefined;
|
171
|
-
} & {
|
172
|
-
label?: string | undefined;
|
173
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
174
|
-
leftHelper?: string | undefined;
|
175
|
-
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
176
|
-
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
177
|
-
textBefore?: string | undefined;
|
178
|
-
textAfter?: string | undefined;
|
179
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
180
|
-
} & {
|
181
|
-
requiredPlacement?: "right" | "left" | undefined;
|
182
|
-
} & {
|
183
|
-
optional?: true | undefined;
|
184
|
-
required?: false | undefined;
|
185
|
-
} & {
|
186
|
-
enumerationType: "chip";
|
187
|
-
onSearch?: undefined;
|
188
|
-
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
189
|
-
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
190
|
-
} & Omit<import("@salutejs/plasma-new-hope/types/types").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref">) & import("react").RefAttributes<HTMLInputElement>>;
|
package/components/Mask/Mask.js
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.Mask = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
-
var _TextField = /*#__PURE__*/require("../TextField/TextField");
|
9
|
-
var Mask = exports.Mask = /*#__PURE__*/(0, _styledComponents.composeMask)(_TextField.TextFieldComponent);
|