@salutejs/sdds-finportal 0.143.0-canary.1459.11367029149.0 → 0.143.0-canary.1487.11365064527.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -122,6 +122,7 @@ import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
122
122
  import { InputHTMLAttributes as InputHTMLAttributes_2 } from 'react';
123
123
  import type { ItemOption } from '@salutejs/plasma-new-hope';
124
124
  import { JSXElementConstructor } from 'react';
125
+ import { KeyboardEvent as KeyboardEvent_2 } from 'react';
125
126
  import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
126
127
  import { MaskProps } from '@salutejs/plasma-new-hope/types/components/Mask/Mask.types';
127
128
  import { mediaQuery } from '@salutejs/plasma-new-hope/styled-components';
@@ -193,8 +194,9 @@ import { SwitchProps as SwitchProps_2 } from '@salutejs/plasma-new-hope/styled-c
193
194
  import { TabItemRefs } from '@salutejs/plasma-new-hope/styled-components';
194
195
  import { TabsContext } from '@salutejs/plasma-new-hope/styled-components';
195
196
  import { TabsControllerProps } from '@salutejs/plasma-new-hope/styled-components';
196
- import type { TextAreaProps } from '@salutejs/plasma-new-hope/styled-components';
197
+ import { TextareaHTMLAttributes } from '@salutejs/plasma-new-hope/types/types';
197
198
  import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
199
+ import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
198
200
  import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
199
201
  import { TextFieldProps } from '@salutejs/plasma-new-hope/styled-components';
200
202
  import { TextFieldPropsBase } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
@@ -1713,7 +1715,431 @@ true: PolymorphicClassName;
1713
1715
  export type LinkProps = typeof LinkComponent;
1714
1716
 
1715
1717
  // @public (undocumented)
1716
- export const Mask: ForwardRefExoticComponent<(TextFieldProps & MaskProps) & RefAttributes<HTMLInputElement>>;
1718
+ export const Mask: ForwardRefExoticComponent<(Omit<PropsType< {
1719
+ view: {
1720
+ default: PolymorphicClassName;
1721
+ positive: PolymorphicClassName;
1722
+ warning: PolymorphicClassName;
1723
+ negative: PolymorphicClassName;
1724
+ };
1725
+ size: {
1726
+ l: PolymorphicClassName;
1727
+ m: PolymorphicClassName;
1728
+ s: PolymorphicClassName;
1729
+ xs: PolymorphicClassName;
1730
+ };
1731
+ labelPlacement: {
1732
+ inner: PolymorphicClassName;
1733
+ outer: PolymorphicClassName;
1734
+ };
1735
+ clear: {
1736
+ true: PolymorphicClassName;
1737
+ };
1738
+ disabled: {
1739
+ true: PolymorphicClassName;
1740
+ };
1741
+ readOnly: {
1742
+ true: PolymorphicClassName;
1743
+ };
1744
+ }> & {
1745
+ size?: string | undefined;
1746
+ view?: string | undefined;
1747
+ readOnly?: boolean | undefined;
1748
+ disabled?: boolean | undefined;
1749
+ } & {
1750
+ label?: string | undefined;
1751
+ labelPlacement?: "outer" | "inner" | undefined;
1752
+ leftHelper?: string | undefined;
1753
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1754
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1755
+ textBefore?: string | undefined;
1756
+ textAfter?: string | undefined;
1757
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1758
+ } & {
1759
+ requiredPlacement?: "right" | "left" | undefined;
1760
+ } & {
1761
+ required: true;
1762
+ optional?: false | undefined;
1763
+ } & {
1764
+ clear?: boolean | undefined;
1765
+ hasDivider?: boolean | undefined;
1766
+ } & {
1767
+ chips?: undefined;
1768
+ onChangeChips?: undefined;
1769
+ enumerationType?: "plain" | undefined;
1770
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1771
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
1772
+ view: {
1773
+ default: PolymorphicClassName;
1774
+ positive: PolymorphicClassName;
1775
+ warning: PolymorphicClassName;
1776
+ negative: PolymorphicClassName;
1777
+ };
1778
+ size: {
1779
+ l: PolymorphicClassName;
1780
+ m: PolymorphicClassName;
1781
+ s: PolymorphicClassName;
1782
+ xs: PolymorphicClassName;
1783
+ };
1784
+ labelPlacement: {
1785
+ inner: PolymorphicClassName;
1786
+ outer: PolymorphicClassName;
1787
+ };
1788
+ clear: {
1789
+ true: PolymorphicClassName;
1790
+ };
1791
+ disabled: {
1792
+ true: PolymorphicClassName;
1793
+ };
1794
+ readOnly: {
1795
+ true: PolymorphicClassName;
1796
+ };
1797
+ }> & {
1798
+ size?: string | undefined;
1799
+ view?: string | undefined;
1800
+ readOnly?: boolean | undefined;
1801
+ disabled?: boolean | undefined;
1802
+ } & {
1803
+ label?: string | undefined;
1804
+ labelPlacement?: "outer" | "inner" | undefined;
1805
+ leftHelper?: string | undefined;
1806
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1807
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1808
+ textBefore?: string | undefined;
1809
+ textAfter?: string | undefined;
1810
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1811
+ } & {
1812
+ requiredPlacement?: "right" | "left" | undefined;
1813
+ } & {
1814
+ required: true;
1815
+ optional?: false | undefined;
1816
+ } & {
1817
+ clear?: boolean | undefined;
1818
+ hasDivider?: boolean | undefined;
1819
+ } & {
1820
+ enumerationType: "chip";
1821
+ onSearch?: undefined;
1822
+ chips?: TextFieldPrimitiveValue[] | undefined;
1823
+ onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
1824
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
1825
+ view: {
1826
+ default: PolymorphicClassName;
1827
+ positive: PolymorphicClassName;
1828
+ warning: PolymorphicClassName;
1829
+ negative: PolymorphicClassName;
1830
+ };
1831
+ size: {
1832
+ l: PolymorphicClassName;
1833
+ m: PolymorphicClassName;
1834
+ s: PolymorphicClassName;
1835
+ xs: PolymorphicClassName;
1836
+ };
1837
+ labelPlacement: {
1838
+ inner: PolymorphicClassName;
1839
+ outer: PolymorphicClassName;
1840
+ };
1841
+ clear: {
1842
+ true: PolymorphicClassName;
1843
+ };
1844
+ disabled: {
1845
+ true: PolymorphicClassName;
1846
+ };
1847
+ readOnly: {
1848
+ true: PolymorphicClassName;
1849
+ };
1850
+ }> & {
1851
+ size?: string | undefined;
1852
+ view?: string | undefined;
1853
+ readOnly?: boolean | undefined;
1854
+ disabled?: boolean | undefined;
1855
+ } & {
1856
+ label?: string | undefined;
1857
+ labelPlacement?: "outer" | "inner" | undefined;
1858
+ leftHelper?: string | undefined;
1859
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1860
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1861
+ textBefore?: string | undefined;
1862
+ textAfter?: string | undefined;
1863
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1864
+ } & {
1865
+ requiredPlacement?: "right" | "left" | undefined;
1866
+ } & {
1867
+ required: true;
1868
+ optional?: false | undefined;
1869
+ } & {
1870
+ clear?: false | undefined;
1871
+ hasDivider?: undefined;
1872
+ } & {
1873
+ chips?: undefined;
1874
+ onChangeChips?: undefined;
1875
+ enumerationType?: "plain" | undefined;
1876
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1877
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
1878
+ view: {
1879
+ default: PolymorphicClassName;
1880
+ positive: PolymorphicClassName;
1881
+ warning: PolymorphicClassName;
1882
+ negative: PolymorphicClassName;
1883
+ };
1884
+ size: {
1885
+ l: PolymorphicClassName;
1886
+ m: PolymorphicClassName;
1887
+ s: PolymorphicClassName;
1888
+ xs: PolymorphicClassName;
1889
+ };
1890
+ labelPlacement: {
1891
+ inner: PolymorphicClassName;
1892
+ outer: PolymorphicClassName;
1893
+ };
1894
+ clear: {
1895
+ true: PolymorphicClassName;
1896
+ };
1897
+ disabled: {
1898
+ true: PolymorphicClassName;
1899
+ };
1900
+ readOnly: {
1901
+ true: PolymorphicClassName;
1902
+ };
1903
+ }> & {
1904
+ size?: string | undefined;
1905
+ view?: string | undefined;
1906
+ readOnly?: boolean | undefined;
1907
+ disabled?: boolean | undefined;
1908
+ } & {
1909
+ label?: string | undefined;
1910
+ labelPlacement?: "outer" | "inner" | undefined;
1911
+ leftHelper?: string | undefined;
1912
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1913
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1914
+ textBefore?: string | undefined;
1915
+ textAfter?: string | undefined;
1916
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1917
+ } & {
1918
+ requiredPlacement?: "right" | "left" | undefined;
1919
+ } & {
1920
+ required: true;
1921
+ optional?: false | undefined;
1922
+ } & {
1923
+ clear?: false | undefined;
1924
+ hasDivider?: undefined;
1925
+ } & {
1926
+ enumerationType: "chip";
1927
+ onSearch?: undefined;
1928
+ chips?: TextFieldPrimitiveValue[] | undefined;
1929
+ onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
1930
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
1931
+ view: {
1932
+ default: PolymorphicClassName;
1933
+ positive: PolymorphicClassName;
1934
+ warning: PolymorphicClassName;
1935
+ negative: PolymorphicClassName;
1936
+ };
1937
+ size: {
1938
+ l: PolymorphicClassName;
1939
+ m: PolymorphicClassName;
1940
+ s: PolymorphicClassName;
1941
+ xs: PolymorphicClassName;
1942
+ };
1943
+ labelPlacement: {
1944
+ inner: PolymorphicClassName;
1945
+ outer: PolymorphicClassName;
1946
+ };
1947
+ clear: {
1948
+ true: PolymorphicClassName;
1949
+ };
1950
+ disabled: {
1951
+ true: PolymorphicClassName;
1952
+ };
1953
+ readOnly: {
1954
+ true: PolymorphicClassName;
1955
+ };
1956
+ }> & {
1957
+ size?: string | undefined;
1958
+ view?: string | undefined;
1959
+ readOnly?: boolean | undefined;
1960
+ disabled?: boolean | undefined;
1961
+ } & {
1962
+ label?: string | undefined;
1963
+ labelPlacement?: "outer" | "inner" | undefined;
1964
+ leftHelper?: string | undefined;
1965
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1966
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1967
+ textBefore?: string | undefined;
1968
+ textAfter?: string | undefined;
1969
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1970
+ } & {
1971
+ requiredPlacement?: "right" | "left" | undefined;
1972
+ } & {
1973
+ optional?: true | undefined;
1974
+ required?: false | undefined;
1975
+ } & {
1976
+ clear?: boolean | undefined;
1977
+ hasDivider?: boolean | undefined;
1978
+ } & {
1979
+ chips?: undefined;
1980
+ onChangeChips?: undefined;
1981
+ enumerationType?: "plain" | undefined;
1982
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1983
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
1984
+ view: {
1985
+ default: PolymorphicClassName;
1986
+ positive: PolymorphicClassName;
1987
+ warning: PolymorphicClassName;
1988
+ negative: PolymorphicClassName;
1989
+ };
1990
+ size: {
1991
+ l: PolymorphicClassName;
1992
+ m: PolymorphicClassName;
1993
+ s: PolymorphicClassName;
1994
+ xs: PolymorphicClassName;
1995
+ };
1996
+ labelPlacement: {
1997
+ inner: PolymorphicClassName;
1998
+ outer: PolymorphicClassName;
1999
+ };
2000
+ clear: {
2001
+ true: PolymorphicClassName;
2002
+ };
2003
+ disabled: {
2004
+ true: PolymorphicClassName;
2005
+ };
2006
+ readOnly: {
2007
+ true: PolymorphicClassName;
2008
+ };
2009
+ }> & {
2010
+ size?: string | undefined;
2011
+ view?: string | undefined;
2012
+ readOnly?: boolean | undefined;
2013
+ disabled?: boolean | undefined;
2014
+ } & {
2015
+ label?: string | undefined;
2016
+ labelPlacement?: "outer" | "inner" | undefined;
2017
+ leftHelper?: string | undefined;
2018
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2019
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2020
+ textBefore?: string | undefined;
2021
+ textAfter?: string | undefined;
2022
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2023
+ } & {
2024
+ requiredPlacement?: "right" | "left" | undefined;
2025
+ } & {
2026
+ optional?: true | undefined;
2027
+ required?: false | undefined;
2028
+ } & {
2029
+ clear?: boolean | undefined;
2030
+ hasDivider?: boolean | undefined;
2031
+ } & {
2032
+ enumerationType: "chip";
2033
+ onSearch?: undefined;
2034
+ chips?: TextFieldPrimitiveValue[] | undefined;
2035
+ onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
2036
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
2037
+ view: {
2038
+ default: PolymorphicClassName;
2039
+ positive: PolymorphicClassName;
2040
+ warning: PolymorphicClassName;
2041
+ negative: PolymorphicClassName;
2042
+ };
2043
+ size: {
2044
+ l: PolymorphicClassName;
2045
+ m: PolymorphicClassName;
2046
+ s: PolymorphicClassName;
2047
+ xs: PolymorphicClassName;
2048
+ };
2049
+ labelPlacement: {
2050
+ inner: PolymorphicClassName;
2051
+ outer: PolymorphicClassName;
2052
+ };
2053
+ clear: {
2054
+ true: PolymorphicClassName;
2055
+ };
2056
+ disabled: {
2057
+ true: PolymorphicClassName;
2058
+ };
2059
+ readOnly: {
2060
+ true: PolymorphicClassName;
2061
+ };
2062
+ }> & {
2063
+ size?: string | undefined;
2064
+ view?: string | undefined;
2065
+ readOnly?: boolean | undefined;
2066
+ disabled?: boolean | undefined;
2067
+ } & {
2068
+ label?: string | undefined;
2069
+ labelPlacement?: "outer" | "inner" | undefined;
2070
+ leftHelper?: string | undefined;
2071
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2072
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2073
+ textBefore?: string | undefined;
2074
+ textAfter?: string | undefined;
2075
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2076
+ } & {
2077
+ requiredPlacement?: "right" | "left" | undefined;
2078
+ } & {
2079
+ optional?: true | undefined;
2080
+ required?: false | undefined;
2081
+ } & {
2082
+ clear?: false | undefined;
2083
+ hasDivider?: undefined;
2084
+ } & {
2085
+ chips?: undefined;
2086
+ onChangeChips?: undefined;
2087
+ enumerationType?: "plain" | undefined;
2088
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2089
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
2090
+ view: {
2091
+ default: PolymorphicClassName;
2092
+ positive: PolymorphicClassName;
2093
+ warning: PolymorphicClassName;
2094
+ negative: PolymorphicClassName;
2095
+ };
2096
+ size: {
2097
+ l: PolymorphicClassName;
2098
+ m: PolymorphicClassName;
2099
+ s: PolymorphicClassName;
2100
+ xs: PolymorphicClassName;
2101
+ };
2102
+ labelPlacement: {
2103
+ inner: PolymorphicClassName;
2104
+ outer: PolymorphicClassName;
2105
+ };
2106
+ clear: {
2107
+ true: PolymorphicClassName;
2108
+ };
2109
+ disabled: {
2110
+ true: PolymorphicClassName;
2111
+ };
2112
+ readOnly: {
2113
+ true: PolymorphicClassName;
2114
+ };
2115
+ }> & {
2116
+ size?: string | undefined;
2117
+ view?: string | undefined;
2118
+ readOnly?: boolean | undefined;
2119
+ disabled?: boolean | undefined;
2120
+ } & {
2121
+ label?: string | undefined;
2122
+ labelPlacement?: "outer" | "inner" | undefined;
2123
+ leftHelper?: string | undefined;
2124
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2125
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2126
+ textBefore?: string | undefined;
2127
+ textAfter?: string | undefined;
2128
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2129
+ } & {
2130
+ requiredPlacement?: "right" | "left" | undefined;
2131
+ } & {
2132
+ optional?: true | undefined;
2133
+ required?: false | undefined;
2134
+ } & {
2135
+ clear?: false | undefined;
2136
+ hasDivider?: undefined;
2137
+ } & {
2138
+ enumerationType: "chip";
2139
+ onSearch?: undefined;
2140
+ chips?: TextFieldPrimitiveValue[] | undefined;
2141
+ onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
2142
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref">) & RefAttributes<HTMLInputElement>>;
1717
2143
 
1718
2144
  export { mediaQuery }
1719
2145
 
@@ -2422,10 +2848,512 @@ export const TabsController: ForwardRefExoticComponent<TabsControllerProps & Ref
2422
2848
  export { TabsControllerProps }
2423
2849
 
2424
2850
  // @public
2425
- export const TextArea: ForwardRefExoticComponent<TextAreaProps & RefAttributes<HTMLTextAreaElement>>;
2851
+ export const TextArea: FunctionComponent<PropsType< {
2852
+ size: {
2853
+ xs: PolymorphicClassName;
2854
+ s: PolymorphicClassName;
2855
+ m: PolymorphicClassName;
2856
+ l: PolymorphicClassName;
2857
+ };
2858
+ view: {
2859
+ default: PolymorphicClassName;
2860
+ primary: PolymorphicClassName;
2861
+ positive: PolymorphicClassName;
2862
+ warning: PolymorphicClassName;
2863
+ negative: PolymorphicClassName;
2864
+ };
2865
+ clear: {
2866
+ true: PolymorphicClassName;
2867
+ };
2868
+ disabled: {
2869
+ true: PolymorphicClassName;
2870
+ };
2871
+ }> & ((Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
2872
+ status?: "" | "warning" | "success" | "error" | undefined;
2873
+ label?: string | undefined;
2874
+ labelPlacement?: "outer" | "inner" | undefined;
2875
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2876
+ resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
2877
+ helperText?: string | undefined;
2878
+ leftHelper?: string | undefined;
2879
+ rightHelper?: string | undefined;
2880
+ } & {
2881
+ requiredPlacement?: "right" | "left" | undefined;
2882
+ } & {
2883
+ required: true;
2884
+ optional?: false | undefined;
2885
+ } & {
2886
+ size?: string | undefined;
2887
+ view?: string | undefined;
2888
+ } & {
2889
+ autoResize?: boolean | undefined;
2890
+ maxAuto?: number | undefined;
2891
+ minAuto?: number | undefined;
2892
+ } & {
2893
+ height?: undefined;
2894
+ width?: undefined;
2895
+ } & {
2896
+ rows?: undefined;
2897
+ cols?: undefined;
2898
+ } & {
2899
+ clear?: undefined;
2900
+ hasDivider?: undefined;
2901
+ } & RefAttributes<HTMLTextAreaElement>) | (Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
2902
+ status?: "" | "warning" | "success" | "error" | undefined;
2903
+ label?: string | undefined;
2904
+ labelPlacement?: "outer" | "inner" | undefined;
2905
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2906
+ resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
2907
+ helperText?: string | undefined;
2908
+ leftHelper?: string | undefined;
2909
+ rightHelper?: string | undefined;
2910
+ } & {
2911
+ requiredPlacement?: "right" | "left" | undefined;
2912
+ } & {
2913
+ required: true;
2914
+ optional?: false | undefined;
2915
+ } & {
2916
+ size?: string | undefined;
2917
+ view?: string | undefined;
2918
+ } & {
2919
+ height?: string | number | undefined;
2920
+ width?: string | number | undefined;
2921
+ } & {
2922
+ autoResize?: undefined;
2923
+ maxAuto?: undefined;
2924
+ minAuto?: undefined;
2925
+ } & {
2926
+ rows?: undefined;
2927
+ cols?: undefined;
2928
+ } & {
2929
+ clear?: undefined;
2930
+ hasDivider?: undefined;
2931
+ } & RefAttributes<HTMLTextAreaElement>) | (Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
2932
+ status?: "" | "warning" | "success" | "error" | undefined;
2933
+ label?: string | undefined;
2934
+ labelPlacement?: "outer" | "inner" | undefined;
2935
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2936
+ resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
2937
+ helperText?: string | undefined;
2938
+ leftHelper?: string | undefined;
2939
+ rightHelper?: string | undefined;
2940
+ } & {
2941
+ requiredPlacement?: "right" | "left" | undefined;
2942
+ } & {
2943
+ required: true;
2944
+ optional?: false | undefined;
2945
+ } & {
2946
+ size?: string | undefined;
2947
+ view?: string | undefined;
2948
+ } & {
2949
+ rows?: number | undefined;
2950
+ cols?: number | undefined;
2951
+ } & {
2952
+ autoResize?: undefined;
2953
+ maxAuto?: undefined;
2954
+ minAuto?: undefined;
2955
+ } & {
2956
+ height?: undefined;
2957
+ width?: undefined;
2958
+ } & {
2959
+ clear?: undefined;
2960
+ hasDivider?: undefined;
2961
+ } & RefAttributes<HTMLTextAreaElement>) | (Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
2962
+ status?: "" | "warning" | "success" | "error" | undefined;
2963
+ label?: string | undefined;
2964
+ labelPlacement?: "outer" | "inner" | undefined;
2965
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2966
+ resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
2967
+ helperText?: string | undefined;
2968
+ leftHelper?: string | undefined;
2969
+ rightHelper?: string | undefined;
2970
+ } & {
2971
+ requiredPlacement?: "right" | "left" | undefined;
2972
+ } & {
2973
+ required: true;
2974
+ optional?: false | undefined;
2975
+ } & {
2976
+ size?: string | undefined;
2977
+ view?: string | undefined;
2978
+ } & {
2979
+ clear?: true | undefined;
2980
+ hasDivider?: boolean | undefined;
2981
+ } & {
2982
+ rows?: undefined;
2983
+ cols?: undefined;
2984
+ } & {
2985
+ autoResize?: undefined;
2986
+ maxAuto?: undefined;
2987
+ minAuto?: undefined;
2988
+ } & {
2989
+ height?: undefined;
2990
+ width?: undefined;
2991
+ } & RefAttributes<HTMLTextAreaElement>) | (Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
2992
+ status?: "" | "warning" | "success" | "error" | undefined;
2993
+ label?: string | undefined;
2994
+ labelPlacement?: "outer" | "inner" | undefined;
2995
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2996
+ resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
2997
+ helperText?: string | undefined;
2998
+ leftHelper?: string | undefined;
2999
+ rightHelper?: string | undefined;
3000
+ } & {
3001
+ requiredPlacement?: "right" | "left" | undefined;
3002
+ } & {
3003
+ optional?: true | undefined;
3004
+ required?: false | undefined;
3005
+ } & {
3006
+ size?: string | undefined;
3007
+ view?: string | undefined;
3008
+ } & {
3009
+ autoResize?: boolean | undefined;
3010
+ maxAuto?: number | undefined;
3011
+ minAuto?: number | undefined;
3012
+ } & {
3013
+ height?: undefined;
3014
+ width?: undefined;
3015
+ } & {
3016
+ rows?: undefined;
3017
+ cols?: undefined;
3018
+ } & {
3019
+ clear?: undefined;
3020
+ hasDivider?: undefined;
3021
+ } & RefAttributes<HTMLTextAreaElement>) | (Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
3022
+ status?: "" | "warning" | "success" | "error" | undefined;
3023
+ label?: string | undefined;
3024
+ labelPlacement?: "outer" | "inner" | undefined;
3025
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3026
+ resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
3027
+ helperText?: string | undefined;
3028
+ leftHelper?: string | undefined;
3029
+ rightHelper?: string | undefined;
3030
+ } & {
3031
+ requiredPlacement?: "right" | "left" | undefined;
3032
+ } & {
3033
+ optional?: true | undefined;
3034
+ required?: false | undefined;
3035
+ } & {
3036
+ size?: string | undefined;
3037
+ view?: string | undefined;
3038
+ } & {
3039
+ height?: string | number | undefined;
3040
+ width?: string | number | undefined;
3041
+ } & {
3042
+ autoResize?: undefined;
3043
+ maxAuto?: undefined;
3044
+ minAuto?: undefined;
3045
+ } & {
3046
+ rows?: undefined;
3047
+ cols?: undefined;
3048
+ } & {
3049
+ clear?: undefined;
3050
+ hasDivider?: undefined;
3051
+ } & RefAttributes<HTMLTextAreaElement>) | (Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
3052
+ status?: "" | "warning" | "success" | "error" | undefined;
3053
+ label?: string | undefined;
3054
+ labelPlacement?: "outer" | "inner" | undefined;
3055
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3056
+ resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
3057
+ helperText?: string | undefined;
3058
+ leftHelper?: string | undefined;
3059
+ rightHelper?: string | undefined;
3060
+ } & {
3061
+ requiredPlacement?: "right" | "left" | undefined;
3062
+ } & {
3063
+ optional?: true | undefined;
3064
+ required?: false | undefined;
3065
+ } & {
3066
+ size?: string | undefined;
3067
+ view?: string | undefined;
3068
+ } & {
3069
+ rows?: number | undefined;
3070
+ cols?: number | undefined;
3071
+ } & {
3072
+ autoResize?: undefined;
3073
+ maxAuto?: undefined;
3074
+ minAuto?: undefined;
3075
+ } & {
3076
+ height?: undefined;
3077
+ width?: undefined;
3078
+ } & {
3079
+ clear?: undefined;
3080
+ hasDivider?: undefined;
3081
+ } & RefAttributes<HTMLTextAreaElement>) | (Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
3082
+ status?: "" | "warning" | "success" | "error" | undefined;
3083
+ label?: string | undefined;
3084
+ labelPlacement?: "outer" | "inner" | undefined;
3085
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3086
+ resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
3087
+ helperText?: string | undefined;
3088
+ leftHelper?: string | undefined;
3089
+ rightHelper?: string | undefined;
3090
+ } & {
3091
+ requiredPlacement?: "right" | "left" | undefined;
3092
+ } & {
3093
+ optional?: true | undefined;
3094
+ required?: false | undefined;
3095
+ } & {
3096
+ size?: string | undefined;
3097
+ view?: string | undefined;
3098
+ } & {
3099
+ clear?: true | undefined;
3100
+ hasDivider?: boolean | undefined;
3101
+ } & {
3102
+ rows?: undefined;
3103
+ cols?: undefined;
3104
+ } & {
3105
+ autoResize?: undefined;
3106
+ maxAuto?: undefined;
3107
+ minAuto?: undefined;
3108
+ } & {
3109
+ height?: undefined;
3110
+ width?: undefined;
3111
+ } & RefAttributes<HTMLTextAreaElement>))>;
2426
3112
 
2427
3113
  // @public
2428
- export const TextField: ForwardRefExoticComponent<TextFieldProps & RefAttributes<HTMLInputElement>>;
3114
+ export const TextField: FunctionComponent<PropsType< {
3115
+ view: {
3116
+ default: PolymorphicClassName;
3117
+ positive: PolymorphicClassName;
3118
+ warning: PolymorphicClassName;
3119
+ negative: PolymorphicClassName;
3120
+ };
3121
+ size: {
3122
+ l: PolymorphicClassName;
3123
+ m: PolymorphicClassName;
3124
+ s: PolymorphicClassName;
3125
+ xs: PolymorphicClassName;
3126
+ };
3127
+ labelPlacement: {
3128
+ inner: PolymorphicClassName;
3129
+ outer: PolymorphicClassName;
3130
+ };
3131
+ clear: {
3132
+ true: PolymorphicClassName;
3133
+ };
3134
+ disabled: {
3135
+ true: PolymorphicClassName;
3136
+ };
3137
+ readOnly: {
3138
+ true: PolymorphicClassName;
3139
+ };
3140
+ }> & (({
3141
+ size?: string | undefined;
3142
+ view?: string | undefined;
3143
+ readOnly?: boolean | undefined;
3144
+ disabled?: boolean | undefined;
3145
+ } & {
3146
+ label?: string | undefined;
3147
+ labelPlacement?: "outer" | "inner" | undefined;
3148
+ leftHelper?: string | undefined;
3149
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3150
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3151
+ textBefore?: string | undefined;
3152
+ textAfter?: string | undefined;
3153
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
3154
+ } & {
3155
+ requiredPlacement?: "right" | "left" | undefined;
3156
+ } & {
3157
+ required: true;
3158
+ optional?: false | undefined;
3159
+ } & {
3160
+ clear?: boolean | undefined;
3161
+ hasDivider?: boolean | undefined;
3162
+ } & {
3163
+ chips?: undefined;
3164
+ onChangeChips?: undefined;
3165
+ enumerationType?: "plain" | undefined;
3166
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
3167
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | ({
3168
+ size?: string | undefined;
3169
+ view?: string | undefined;
3170
+ readOnly?: boolean | undefined;
3171
+ disabled?: boolean | undefined;
3172
+ } & {
3173
+ label?: string | undefined;
3174
+ labelPlacement?: "outer" | "inner" | undefined;
3175
+ leftHelper?: string | undefined;
3176
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3177
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3178
+ textBefore?: string | undefined;
3179
+ textAfter?: string | undefined;
3180
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
3181
+ } & {
3182
+ requiredPlacement?: "right" | "left" | undefined;
3183
+ } & {
3184
+ required: true;
3185
+ optional?: false | undefined;
3186
+ } & {
3187
+ clear?: boolean | undefined;
3188
+ hasDivider?: boolean | undefined;
3189
+ } & {
3190
+ enumerationType: "chip";
3191
+ onSearch?: undefined;
3192
+ chips?: TextFieldPrimitiveValue[] | undefined;
3193
+ onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
3194
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | ({
3195
+ size?: string | undefined;
3196
+ view?: string | undefined;
3197
+ readOnly?: boolean | undefined;
3198
+ disabled?: boolean | undefined;
3199
+ } & {
3200
+ label?: string | undefined;
3201
+ labelPlacement?: "outer" | "inner" | undefined;
3202
+ leftHelper?: string | undefined;
3203
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3204
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3205
+ textBefore?: string | undefined;
3206
+ textAfter?: string | undefined;
3207
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
3208
+ } & {
3209
+ requiredPlacement?: "right" | "left" | undefined;
3210
+ } & {
3211
+ required: true;
3212
+ optional?: false | undefined;
3213
+ } & {
3214
+ clear?: false | undefined;
3215
+ hasDivider?: undefined;
3216
+ } & {
3217
+ chips?: undefined;
3218
+ onChangeChips?: undefined;
3219
+ enumerationType?: "plain" | undefined;
3220
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
3221
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | ({
3222
+ size?: string | undefined;
3223
+ view?: string | undefined;
3224
+ readOnly?: boolean | undefined;
3225
+ disabled?: boolean | undefined;
3226
+ } & {
3227
+ label?: string | undefined;
3228
+ labelPlacement?: "outer" | "inner" | undefined;
3229
+ leftHelper?: string | undefined;
3230
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3231
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3232
+ textBefore?: string | undefined;
3233
+ textAfter?: string | undefined;
3234
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
3235
+ } & {
3236
+ requiredPlacement?: "right" | "left" | undefined;
3237
+ } & {
3238
+ required: true;
3239
+ optional?: false | undefined;
3240
+ } & {
3241
+ clear?: false | undefined;
3242
+ hasDivider?: undefined;
3243
+ } & {
3244
+ enumerationType: "chip";
3245
+ onSearch?: undefined;
3246
+ chips?: TextFieldPrimitiveValue[] | undefined;
3247
+ onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
3248
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | ({
3249
+ size?: string | undefined;
3250
+ view?: string | undefined;
3251
+ readOnly?: boolean | undefined;
3252
+ disabled?: boolean | undefined;
3253
+ } & {
3254
+ label?: string | undefined;
3255
+ labelPlacement?: "outer" | "inner" | undefined;
3256
+ leftHelper?: string | undefined;
3257
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3258
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3259
+ textBefore?: string | undefined;
3260
+ textAfter?: string | undefined;
3261
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
3262
+ } & {
3263
+ requiredPlacement?: "right" | "left" | undefined;
3264
+ } & {
3265
+ optional?: true | undefined;
3266
+ required?: false | undefined;
3267
+ } & {
3268
+ clear?: boolean | undefined;
3269
+ hasDivider?: boolean | undefined;
3270
+ } & {
3271
+ chips?: undefined;
3272
+ onChangeChips?: undefined;
3273
+ enumerationType?: "plain" | undefined;
3274
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
3275
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | ({
3276
+ size?: string | undefined;
3277
+ view?: string | undefined;
3278
+ readOnly?: boolean | undefined;
3279
+ disabled?: boolean | undefined;
3280
+ } & {
3281
+ label?: string | undefined;
3282
+ labelPlacement?: "outer" | "inner" | undefined;
3283
+ leftHelper?: string | undefined;
3284
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3285
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3286
+ textBefore?: string | undefined;
3287
+ textAfter?: string | undefined;
3288
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
3289
+ } & {
3290
+ requiredPlacement?: "right" | "left" | undefined;
3291
+ } & {
3292
+ optional?: true | undefined;
3293
+ required?: false | undefined;
3294
+ } & {
3295
+ clear?: boolean | undefined;
3296
+ hasDivider?: boolean | undefined;
3297
+ } & {
3298
+ enumerationType: "chip";
3299
+ onSearch?: undefined;
3300
+ chips?: TextFieldPrimitiveValue[] | undefined;
3301
+ onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
3302
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | ({
3303
+ size?: string | undefined;
3304
+ view?: string | undefined;
3305
+ readOnly?: boolean | undefined;
3306
+ disabled?: boolean | undefined;
3307
+ } & {
3308
+ label?: string | undefined;
3309
+ labelPlacement?: "outer" | "inner" | undefined;
3310
+ leftHelper?: string | undefined;
3311
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3312
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3313
+ textBefore?: string | undefined;
3314
+ textAfter?: string | undefined;
3315
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
3316
+ } & {
3317
+ requiredPlacement?: "right" | "left" | undefined;
3318
+ } & {
3319
+ optional?: true | undefined;
3320
+ required?: false | undefined;
3321
+ } & {
3322
+ clear?: false | undefined;
3323
+ hasDivider?: undefined;
3324
+ } & {
3325
+ chips?: undefined;
3326
+ onChangeChips?: undefined;
3327
+ enumerationType?: "plain" | undefined;
3328
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
3329
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>) | ({
3330
+ size?: string | undefined;
3331
+ view?: string | undefined;
3332
+ readOnly?: boolean | undefined;
3333
+ disabled?: boolean | undefined;
3334
+ } & {
3335
+ label?: string | undefined;
3336
+ labelPlacement?: "outer" | "inner" | undefined;
3337
+ leftHelper?: string | undefined;
3338
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3339
+ contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
3340
+ textBefore?: string | undefined;
3341
+ textAfter?: string | undefined;
3342
+ onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
3343
+ } & {
3344
+ requiredPlacement?: "right" | "left" | undefined;
3345
+ } & {
3346
+ optional?: true | undefined;
3347
+ required?: false | undefined;
3348
+ } & {
3349
+ clear?: false | undefined;
3350
+ hasDivider?: undefined;
3351
+ } & {
3352
+ enumerationType: "chip";
3353
+ onSearch?: undefined;
3354
+ chips?: TextFieldPrimitiveValue[] | undefined;
3355
+ onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
3356
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement>))>;
2429
3357
 
2430
3358
  // @public
2431
3359
  export const TextFieldGroup: FunctionComponent<PropsType< {