@salutejs/plasma-web 1.401.0-canary.1418.10942866373.0 → 1.401.0-canary.1437.10948458812.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. package/api/plasma-web.api.md +225 -195
  2. package/components/Attach/Attach.config.d.ts +27 -0
  3. package/components/Attach/Attach.config.js +36 -0
  4. package/components/Attach/Attach.d.ts +224 -0
  5. package/components/Attach/Attach.js +14 -0
  6. package/components/Attach/index.d.ts +1 -0
  7. package/components/{Mask → Attach}/index.js +3 -3
  8. package/components/Cell/Cell.d.ts +2 -2
  9. package/components/TextField/TextField.d.ts +5 -11
  10. package/components/TextField/TextField.js +2 -2
  11. package/css/cjs/components/Attach/Attach.config.js +35 -0
  12. package/css/cjs/components/Attach/Attach.config.js.map +1 -0
  13. package/css/cjs/components/Attach/Attach.config_1abu8vf.css +14 -0
  14. package/css/cjs/components/Attach/Attach.css +14 -0
  15. package/css/cjs/components/Attach/Attach.js +16 -0
  16. package/css/cjs/components/Attach/Attach.js.map +1 -0
  17. package/css/cjs/components/TextField/TextField.js +0 -1
  18. package/css/cjs/components/TextField/TextField.js.map +1 -1
  19. package/css/cjs/index.css +15 -0
  20. package/css/cjs/index.js +2 -2
  21. package/css/es/components/Attach/Attach.config.js +31 -0
  22. package/css/es/components/Attach/Attach.config.js.map +1 -0
  23. package/css/es/components/Attach/Attach.config_1abu8vf.css +14 -0
  24. package/css/es/components/Attach/Attach.css +14 -0
  25. package/css/es/components/Attach/Attach.js +12 -0
  26. package/css/es/components/Attach/Attach.js.map +1 -0
  27. package/css/es/components/TextField/TextField.js +1 -1
  28. package/css/es/components/TextField/TextField.js.map +1 -1
  29. package/css/es/index.css +15 -0
  30. package/css/es/index.js +1 -1
  31. package/css/index.d.ts +2 -2
  32. package/es/components/Attach/Attach.config.js +30 -0
  33. package/es/components/Attach/Attach.js +8 -0
  34. package/es/components/Attach/index.js +1 -0
  35. package/es/components/TextField/TextField.js +1 -1
  36. package/es/index.js +1 -1
  37. package/index.d.ts +1 -1
  38. package/index.js +4 -4
  39. package/package.json +3 -3
  40. package/temp/plasma-web.api.md +225 -195
  41. package/components/Mask/Mask.d.ts +0 -190
  42. package/components/Mask/Mask.js +0 -9
  43. package/components/Mask/index.d.ts +0 -1
  44. package/css/cjs/components/Mask/Mask.js +0 -11
  45. package/css/cjs/components/Mask/Mask.js.map +0 -1
  46. package/css/es/components/Mask/Mask.js +0 -7
  47. package/css/es/components/Mask/Mask.js.map +0 -1
  48. package/es/components/Mask/Mask.js +0 -3
  49. package/es/components/Mask/index.js +0 -1
  50. /package/css/cjs/components/{Mask/Mask.css → TextField/TextField.css} +0 -0
  51. /package/css/es/components/{Mask/Mask.css → TextField/TextField.css} +0 -0
@@ -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: string;
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: string;
1100
+ view?: string | undefined;
880
1101
  contentLeft?: ReactNode;
881
1102
  contentRight?: ReactNode;
882
1103
  alignContentLeft?: AlignProp | undefined;
@@ -1845,197 +2066,6 @@ export { List }
1845
2066
 
1846
2067
  export { ListItem }
1847
2068
 
1848
- // @public (undocumented)
1849
- export const Mask: ForwardRefExoticComponent<(Omit<PropsType< {
1850
- view: {
1851
- default: PolymorphicClassName;
1852
- positive: PolymorphicClassName;
1853
- warning: PolymorphicClassName;
1854
- negative: PolymorphicClassName;
1855
- };
1856
- size: {
1857
- l: PolymorphicClassName;
1858
- m: PolymorphicClassName;
1859
- s: PolymorphicClassName;
1860
- xs: PolymorphicClassName;
1861
- };
1862
- labelPlacement: {
1863
- inner: PolymorphicClassName;
1864
- outer: PolymorphicClassName;
1865
- };
1866
- disabled: {
1867
- true: PolymorphicClassName;
1868
- };
1869
- readOnly: {
1870
- true: PolymorphicClassName;
1871
- };
1872
- }> & {
1873
- size?: string | undefined;
1874
- view?: string | undefined;
1875
- readOnly?: boolean | undefined;
1876
- disabled?: boolean | undefined;
1877
- } & {
1878
- label?: string | undefined;
1879
- labelPlacement?: "outer" | "inner" | undefined;
1880
- leftHelper?: string | undefined;
1881
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1882
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1883
- textBefore?: string | undefined;
1884
- textAfter?: string | undefined;
1885
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1886
- } & {
1887
- requiredPlacement?: "right" | "left" | undefined;
1888
- } & {
1889
- required: true;
1890
- optional?: false | undefined;
1891
- } & {
1892
- chips?: undefined;
1893
- onChangeChips?: undefined;
1894
- enumerationType?: "plain" | undefined;
1895
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1896
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
1897
- view: {
1898
- default: PolymorphicClassName;
1899
- positive: PolymorphicClassName;
1900
- warning: PolymorphicClassName;
1901
- negative: PolymorphicClassName;
1902
- };
1903
- size: {
1904
- l: PolymorphicClassName;
1905
- m: PolymorphicClassName;
1906
- s: PolymorphicClassName;
1907
- xs: PolymorphicClassName;
1908
- };
1909
- labelPlacement: {
1910
- inner: PolymorphicClassName;
1911
- outer: PolymorphicClassName;
1912
- };
1913
- disabled: {
1914
- true: PolymorphicClassName;
1915
- };
1916
- readOnly: {
1917
- true: PolymorphicClassName;
1918
- };
1919
- }> & {
1920
- size?: string | undefined;
1921
- view?: string | undefined;
1922
- readOnly?: boolean | undefined;
1923
- disabled?: boolean | undefined;
1924
- } & {
1925
- label?: string | undefined;
1926
- labelPlacement?: "outer" | "inner" | undefined;
1927
- leftHelper?: string | undefined;
1928
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1929
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1930
- textBefore?: string | undefined;
1931
- textAfter?: string | undefined;
1932
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1933
- } & {
1934
- requiredPlacement?: "right" | "left" | undefined;
1935
- } & {
1936
- required: true;
1937
- optional?: false | undefined;
1938
- } & {
1939
- enumerationType: "chip";
1940
- onSearch?: undefined;
1941
- chips?: TextFieldPrimitiveValue[] | undefined;
1942
- onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
1943
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
1944
- view: {
1945
- default: PolymorphicClassName;
1946
- positive: PolymorphicClassName;
1947
- warning: PolymorphicClassName;
1948
- negative: PolymorphicClassName;
1949
- };
1950
- size: {
1951
- l: PolymorphicClassName;
1952
- m: PolymorphicClassName;
1953
- s: PolymorphicClassName;
1954
- xs: PolymorphicClassName;
1955
- };
1956
- labelPlacement: {
1957
- inner: PolymorphicClassName;
1958
- outer: PolymorphicClassName;
1959
- };
1960
- disabled: {
1961
- true: PolymorphicClassName;
1962
- };
1963
- readOnly: {
1964
- true: PolymorphicClassName;
1965
- };
1966
- }> & {
1967
- size?: string | undefined;
1968
- view?: string | undefined;
1969
- readOnly?: boolean | undefined;
1970
- disabled?: boolean | undefined;
1971
- } & {
1972
- label?: string | undefined;
1973
- labelPlacement?: "outer" | "inner" | undefined;
1974
- leftHelper?: string | undefined;
1975
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1976
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1977
- textBefore?: string | undefined;
1978
- textAfter?: string | undefined;
1979
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1980
- } & {
1981
- requiredPlacement?: "right" | "left" | undefined;
1982
- } & {
1983
- optional?: true | undefined;
1984
- required?: false | undefined;
1985
- } & {
1986
- chips?: undefined;
1987
- onChangeChips?: undefined;
1988
- enumerationType?: "plain" | undefined;
1989
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1990
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
1991
- view: {
1992
- default: PolymorphicClassName;
1993
- positive: PolymorphicClassName;
1994
- warning: PolymorphicClassName;
1995
- negative: PolymorphicClassName;
1996
- };
1997
- size: {
1998
- l: PolymorphicClassName;
1999
- m: PolymorphicClassName;
2000
- s: PolymorphicClassName;
2001
- xs: PolymorphicClassName;
2002
- };
2003
- labelPlacement: {
2004
- inner: PolymorphicClassName;
2005
- outer: PolymorphicClassName;
2006
- };
2007
- disabled: {
2008
- true: PolymorphicClassName;
2009
- };
2010
- readOnly: {
2011
- true: PolymorphicClassName;
2012
- };
2013
- }> & {
2014
- size?: string | undefined;
2015
- view?: string | undefined;
2016
- readOnly?: boolean | undefined;
2017
- disabled?: boolean | undefined;
2018
- } & {
2019
- label?: string | undefined;
2020
- labelPlacement?: "outer" | "inner" | undefined;
2021
- leftHelper?: string | undefined;
2022
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2023
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2024
- textBefore?: string | undefined;
2025
- textAfter?: string | undefined;
2026
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2027
- } & {
2028
- requiredPlacement?: "right" | "left" | undefined;
2029
- } & {
2030
- optional?: true | undefined;
2031
- required?: false | undefined;
2032
- } & {
2033
- enumerationType: "chip";
2034
- onSearch?: undefined;
2035
- chips?: TextFieldPrimitiveValue[] | undefined;
2036
- onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
2037
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref">) & RefAttributes<HTMLInputElement>>;
2038
-
2039
2069
  export { MaxLinesProps }
2040
2070
 
2041
2071
  export { mediaQuery }
@@ -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>>;
@@ -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);
@@ -1 +0,0 @@
1
- export { Mask } from './Mask';
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var plasmaNewHope = require('@salutejs/plasma-new-hope');
6
- var TextField = require('../TextField/TextField.js');
7
-
8
- var Mask = /*#__PURE__*/plasmaNewHope.composeMask(TextField.TextFieldComponent);
9
-
10
- exports.Mask = Mask;
11
- //# sourceMappingURL=Mask.js.map