@salutejs/plasma-b2c 1.422.0-canary.1459.11400476651.0 → 1.422.0-canary.1491.11400434499.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-b2c.api.md +429 -10
- package/components/Mask/Mask.d.ts +425 -2
- package/components/TextArea/TextArea.config.d.ts +1 -11
- package/components/TextArea/TextArea.config.js +13 -23
- package/components/TextArea/index.d.ts +1 -68
- package/components/TextField/TextField.config.d.ts +0 -10
- package/components/TextField/TextField.config.js +11 -21
- package/components/TextField/TextField.d.ts +278 -61
- package/components/TextField/TextField.js +1 -4
- package/css/cjs/components/Mask/Mask.css +11 -17
- package/css/cjs/components/Mask/Mask.js.map +1 -1
- package/css/cjs/components/TextArea/TextArea.config.js +4 -14
- package/css/cjs/components/TextArea/TextArea.config.js.map +1 -1
- package/css/cjs/components/TextArea/{TextArea.config_zfksks.css → TextArea.config_1g56huc.css} +10 -16
- package/css/cjs/components/TextArea/TextArea.css +10 -16
- package/css/cjs/components/TextField/TextField.config.js +3 -13
- package/css/cjs/components/TextField/TextField.config.js.map +1 -1
- package/css/cjs/components/TextField/TextField.config_o06qtv.css +13 -0
- package/css/cjs/components/TextField/TextField.js +1 -4
- package/css/cjs/components/TextField/TextField.js.map +1 -1
- package/css/cjs/index.css +25 -37
- package/css/es/components/Mask/Mask.css +11 -17
- package/css/es/components/Mask/Mask.js.map +1 -1
- package/css/es/components/TextArea/TextArea.config.js +4 -14
- package/css/es/components/TextArea/TextArea.config.js.map +1 -1
- package/css/es/components/TextArea/{TextArea.config_zfksks.css → TextArea.config_1g56huc.css} +10 -16
- package/css/es/components/TextArea/TextArea.css +10 -16
- package/css/es/components/TextField/TextField.config.js +3 -13
- package/css/es/components/TextField/TextField.config.js.map +1 -1
- package/css/es/components/TextField/TextField.config_o06qtv.css +13 -0
- package/css/es/components/TextField/TextField.js +1 -4
- package/css/es/components/TextField/TextField.js.map +1 -1
- package/css/es/index.css +25 -37
- package/es/components/TextArea/TextArea.config.js +13 -23
- package/es/components/TextField/TextField.config.js +11 -21
- package/es/components/TextField/TextField.js +1 -4
- package/package.json +7 -7
- package/temp/plasma-b2c.api.md +429 -10
- package/css/cjs/components/TextField/TextField.config_54djp1.css +0 -19
- package/css/es/components/TextField/TextField.config_54djp1.css +0 -19
package/api/plasma-b2c.api.md
CHANGED
@@ -160,6 +160,7 @@ import { InputHTMLAttributes as InputHTMLAttributes_3 } from 'react';
|
|
160
160
|
import type { ItemOption } from '@salutejs/plasma-new-hope';
|
161
161
|
import { ItemOption as ItemOption_2 } from '@salutejs/plasma-new-hope/styled-components';
|
162
162
|
import { JSXElementConstructor } from 'react';
|
163
|
+
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
163
164
|
import { LineSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
|
164
165
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
165
166
|
import { List } from '@salutejs/plasma-hope';
|
@@ -196,9 +197,6 @@ import { PickOptional } from '@salutejs/plasma-core';
|
|
196
197
|
import { PinProps } from '@salutejs/plasma-core';
|
197
198
|
import { PolymorphicClassName } from '@salutejs/plasma-new-hope/types/engines/types';
|
198
199
|
import { PopoverPlacement } from '@salutejs/plasma-new-hope/styled-components';
|
199
|
-
import type { PopoverPlacement as PopoverPlacement_2 } from '@salutejs/plasma-new-hope';
|
200
|
-
import type { PopoverPlacementBasic } from '@salutejs/plasma-new-hope';
|
201
|
-
import type { PopoverPlacementBasic as PopoverPlacementBasic_2 } from '@salutejs/plasma-new-hope/styled-components';
|
202
200
|
import { PopoverProps } from '@salutejs/plasma-new-hope/styled-components';
|
203
201
|
import { PopoverTrigger } from '@salutejs/plasma-new-hope/styled-components';
|
204
202
|
import { Popup } from '@salutejs/plasma-hope';
|
@@ -288,9 +286,9 @@ import { TextareaHTMLAttributes } from '@salutejs/plasma-core';
|
|
288
286
|
import type { TextAreaProps as TextAreaProps_2 } from '@salutejs/plasma-hope';
|
289
287
|
import { TextareaResize } from '@salutejs/plasma-core';
|
290
288
|
import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
289
|
+
import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
|
291
290
|
import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
292
291
|
import type { TextFieldProps as TextFieldProps_2 } from '@salutejs/plasma-hope';
|
293
|
-
import type { TextFieldProps as TextFieldProps_3 } from '@salutejs/plasma-new-hope/styled-components';
|
294
292
|
import { TextFieldPropsBase } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
|
295
293
|
import { TextFieldView } from '@salutejs/plasma-hope';
|
296
294
|
import { TextSkeletonBaseProps } from '@salutejs/plasma-new-hope/types/components/Skeleton/TextSkeleton/TextSkeleton.types';
|
@@ -1884,7 +1882,431 @@ export { List }
|
|
1884
1882
|
export { ListItem }
|
1885
1883
|
|
1886
1884
|
// @public (undocumented)
|
1887
|
-
export const Mask: ForwardRefExoticComponent<(
|
1885
|
+
export const Mask: ForwardRefExoticComponent<(Omit<PropsType< {
|
1886
|
+
view: {
|
1887
|
+
default: PolymorphicClassName;
|
1888
|
+
positive: PolymorphicClassName;
|
1889
|
+
warning: PolymorphicClassName;
|
1890
|
+
negative: PolymorphicClassName;
|
1891
|
+
};
|
1892
|
+
size: {
|
1893
|
+
l: PolymorphicClassName;
|
1894
|
+
m: PolymorphicClassName;
|
1895
|
+
s: PolymorphicClassName;
|
1896
|
+
xs: PolymorphicClassName;
|
1897
|
+
};
|
1898
|
+
labelPlacement: {
|
1899
|
+
inner: PolymorphicClassName;
|
1900
|
+
outer: PolymorphicClassName;
|
1901
|
+
};
|
1902
|
+
clear: {
|
1903
|
+
true: PolymorphicClassName;
|
1904
|
+
};
|
1905
|
+
disabled: {
|
1906
|
+
true: PolymorphicClassName;
|
1907
|
+
};
|
1908
|
+
readOnly: {
|
1909
|
+
true: PolymorphicClassName;
|
1910
|
+
};
|
1911
|
+
}> & {
|
1912
|
+
size?: string | undefined;
|
1913
|
+
view?: string | undefined;
|
1914
|
+
readOnly?: boolean | undefined;
|
1915
|
+
disabled?: boolean | undefined;
|
1916
|
+
} & {
|
1917
|
+
label?: string | undefined;
|
1918
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
1919
|
+
leftHelper?: string | undefined;
|
1920
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1921
|
+
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1922
|
+
textBefore?: string | undefined;
|
1923
|
+
textAfter?: string | undefined;
|
1924
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
1925
|
+
} & {
|
1926
|
+
requiredPlacement?: "right" | "left" | undefined;
|
1927
|
+
} & {
|
1928
|
+
required: true;
|
1929
|
+
optional?: false | undefined;
|
1930
|
+
} & {
|
1931
|
+
clear?: boolean | undefined;
|
1932
|
+
hasDivider?: boolean | undefined;
|
1933
|
+
} & {
|
1934
|
+
chips?: undefined;
|
1935
|
+
onChangeChips?: undefined;
|
1936
|
+
enumerationType?: "plain" | undefined;
|
1937
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
1938
|
+
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
1939
|
+
view: {
|
1940
|
+
default: PolymorphicClassName;
|
1941
|
+
positive: PolymorphicClassName;
|
1942
|
+
warning: PolymorphicClassName;
|
1943
|
+
negative: PolymorphicClassName;
|
1944
|
+
};
|
1945
|
+
size: {
|
1946
|
+
l: PolymorphicClassName;
|
1947
|
+
m: PolymorphicClassName;
|
1948
|
+
s: PolymorphicClassName;
|
1949
|
+
xs: PolymorphicClassName;
|
1950
|
+
};
|
1951
|
+
labelPlacement: {
|
1952
|
+
inner: PolymorphicClassName;
|
1953
|
+
outer: PolymorphicClassName;
|
1954
|
+
};
|
1955
|
+
clear: {
|
1956
|
+
true: PolymorphicClassName;
|
1957
|
+
};
|
1958
|
+
disabled: {
|
1959
|
+
true: PolymorphicClassName;
|
1960
|
+
};
|
1961
|
+
readOnly: {
|
1962
|
+
true: PolymorphicClassName;
|
1963
|
+
};
|
1964
|
+
}> & {
|
1965
|
+
size?: string | undefined;
|
1966
|
+
view?: string | undefined;
|
1967
|
+
readOnly?: boolean | undefined;
|
1968
|
+
disabled?: boolean | undefined;
|
1969
|
+
} & {
|
1970
|
+
label?: string | undefined;
|
1971
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
1972
|
+
leftHelper?: string | undefined;
|
1973
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1974
|
+
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
1975
|
+
textBefore?: string | undefined;
|
1976
|
+
textAfter?: string | undefined;
|
1977
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
1978
|
+
} & {
|
1979
|
+
requiredPlacement?: "right" | "left" | undefined;
|
1980
|
+
} & {
|
1981
|
+
required: true;
|
1982
|
+
optional?: false | undefined;
|
1983
|
+
} & {
|
1984
|
+
clear?: boolean | undefined;
|
1985
|
+
hasDivider?: boolean | undefined;
|
1986
|
+
} & {
|
1987
|
+
enumerationType: "chip";
|
1988
|
+
onSearch?: undefined;
|
1989
|
+
chips?: TextFieldPrimitiveValue[] | undefined;
|
1990
|
+
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => 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
|
+
clear: {
|
2009
|
+
true: PolymorphicClassName;
|
2010
|
+
};
|
2011
|
+
disabled: {
|
2012
|
+
true: PolymorphicClassName;
|
2013
|
+
};
|
2014
|
+
readOnly: {
|
2015
|
+
true: PolymorphicClassName;
|
2016
|
+
};
|
2017
|
+
}> & {
|
2018
|
+
size?: string | undefined;
|
2019
|
+
view?: string | undefined;
|
2020
|
+
readOnly?: boolean | undefined;
|
2021
|
+
disabled?: boolean | undefined;
|
2022
|
+
} & {
|
2023
|
+
label?: string | undefined;
|
2024
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2025
|
+
leftHelper?: string | undefined;
|
2026
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2027
|
+
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2028
|
+
textBefore?: string | undefined;
|
2029
|
+
textAfter?: string | undefined;
|
2030
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2031
|
+
} & {
|
2032
|
+
requiredPlacement?: "right" | "left" | undefined;
|
2033
|
+
} & {
|
2034
|
+
required: true;
|
2035
|
+
optional?: false | undefined;
|
2036
|
+
} & {
|
2037
|
+
clear?: false | undefined;
|
2038
|
+
hasDivider?: undefined;
|
2039
|
+
} & {
|
2040
|
+
chips?: undefined;
|
2041
|
+
onChangeChips?: undefined;
|
2042
|
+
enumerationType?: "plain" | undefined;
|
2043
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2044
|
+
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2045
|
+
view: {
|
2046
|
+
default: PolymorphicClassName;
|
2047
|
+
positive: PolymorphicClassName;
|
2048
|
+
warning: PolymorphicClassName;
|
2049
|
+
negative: PolymorphicClassName;
|
2050
|
+
};
|
2051
|
+
size: {
|
2052
|
+
l: PolymorphicClassName;
|
2053
|
+
m: PolymorphicClassName;
|
2054
|
+
s: PolymorphicClassName;
|
2055
|
+
xs: PolymorphicClassName;
|
2056
|
+
};
|
2057
|
+
labelPlacement: {
|
2058
|
+
inner: PolymorphicClassName;
|
2059
|
+
outer: PolymorphicClassName;
|
2060
|
+
};
|
2061
|
+
clear: {
|
2062
|
+
true: PolymorphicClassName;
|
2063
|
+
};
|
2064
|
+
disabled: {
|
2065
|
+
true: PolymorphicClassName;
|
2066
|
+
};
|
2067
|
+
readOnly: {
|
2068
|
+
true: PolymorphicClassName;
|
2069
|
+
};
|
2070
|
+
}> & {
|
2071
|
+
size?: string | undefined;
|
2072
|
+
view?: string | undefined;
|
2073
|
+
readOnly?: boolean | undefined;
|
2074
|
+
disabled?: boolean | undefined;
|
2075
|
+
} & {
|
2076
|
+
label?: string | undefined;
|
2077
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2078
|
+
leftHelper?: string | undefined;
|
2079
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2080
|
+
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2081
|
+
textBefore?: string | undefined;
|
2082
|
+
textAfter?: string | undefined;
|
2083
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2084
|
+
} & {
|
2085
|
+
requiredPlacement?: "right" | "left" | undefined;
|
2086
|
+
} & {
|
2087
|
+
required: true;
|
2088
|
+
optional?: false | undefined;
|
2089
|
+
} & {
|
2090
|
+
clear?: false | undefined;
|
2091
|
+
hasDivider?: undefined;
|
2092
|
+
} & {
|
2093
|
+
enumerationType: "chip";
|
2094
|
+
onSearch?: undefined;
|
2095
|
+
chips?: TextFieldPrimitiveValue[] | undefined;
|
2096
|
+
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
|
2097
|
+
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2098
|
+
view: {
|
2099
|
+
default: PolymorphicClassName;
|
2100
|
+
positive: PolymorphicClassName;
|
2101
|
+
warning: PolymorphicClassName;
|
2102
|
+
negative: PolymorphicClassName;
|
2103
|
+
};
|
2104
|
+
size: {
|
2105
|
+
l: PolymorphicClassName;
|
2106
|
+
m: PolymorphicClassName;
|
2107
|
+
s: PolymorphicClassName;
|
2108
|
+
xs: PolymorphicClassName;
|
2109
|
+
};
|
2110
|
+
labelPlacement: {
|
2111
|
+
inner: PolymorphicClassName;
|
2112
|
+
outer: PolymorphicClassName;
|
2113
|
+
};
|
2114
|
+
clear: {
|
2115
|
+
true: PolymorphicClassName;
|
2116
|
+
};
|
2117
|
+
disabled: {
|
2118
|
+
true: PolymorphicClassName;
|
2119
|
+
};
|
2120
|
+
readOnly: {
|
2121
|
+
true: PolymorphicClassName;
|
2122
|
+
};
|
2123
|
+
}> & {
|
2124
|
+
size?: string | undefined;
|
2125
|
+
view?: string | undefined;
|
2126
|
+
readOnly?: boolean | undefined;
|
2127
|
+
disabled?: boolean | undefined;
|
2128
|
+
} & {
|
2129
|
+
label?: string | undefined;
|
2130
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2131
|
+
leftHelper?: string | undefined;
|
2132
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2133
|
+
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2134
|
+
textBefore?: string | undefined;
|
2135
|
+
textAfter?: string | undefined;
|
2136
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2137
|
+
} & {
|
2138
|
+
requiredPlacement?: "right" | "left" | undefined;
|
2139
|
+
} & {
|
2140
|
+
optional?: true | undefined;
|
2141
|
+
required?: false | undefined;
|
2142
|
+
} & {
|
2143
|
+
clear?: boolean | undefined;
|
2144
|
+
hasDivider?: boolean | undefined;
|
2145
|
+
} & {
|
2146
|
+
chips?: undefined;
|
2147
|
+
onChangeChips?: undefined;
|
2148
|
+
enumerationType?: "plain" | undefined;
|
2149
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2150
|
+
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2151
|
+
view: {
|
2152
|
+
default: PolymorphicClassName;
|
2153
|
+
positive: PolymorphicClassName;
|
2154
|
+
warning: PolymorphicClassName;
|
2155
|
+
negative: PolymorphicClassName;
|
2156
|
+
};
|
2157
|
+
size: {
|
2158
|
+
l: PolymorphicClassName;
|
2159
|
+
m: PolymorphicClassName;
|
2160
|
+
s: PolymorphicClassName;
|
2161
|
+
xs: PolymorphicClassName;
|
2162
|
+
};
|
2163
|
+
labelPlacement: {
|
2164
|
+
inner: PolymorphicClassName;
|
2165
|
+
outer: PolymorphicClassName;
|
2166
|
+
};
|
2167
|
+
clear: {
|
2168
|
+
true: PolymorphicClassName;
|
2169
|
+
};
|
2170
|
+
disabled: {
|
2171
|
+
true: PolymorphicClassName;
|
2172
|
+
};
|
2173
|
+
readOnly: {
|
2174
|
+
true: PolymorphicClassName;
|
2175
|
+
};
|
2176
|
+
}> & {
|
2177
|
+
size?: string | undefined;
|
2178
|
+
view?: string | undefined;
|
2179
|
+
readOnly?: boolean | undefined;
|
2180
|
+
disabled?: boolean | undefined;
|
2181
|
+
} & {
|
2182
|
+
label?: string | undefined;
|
2183
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2184
|
+
leftHelper?: string | undefined;
|
2185
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2186
|
+
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2187
|
+
textBefore?: string | undefined;
|
2188
|
+
textAfter?: string | undefined;
|
2189
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2190
|
+
} & {
|
2191
|
+
requiredPlacement?: "right" | "left" | undefined;
|
2192
|
+
} & {
|
2193
|
+
optional?: true | undefined;
|
2194
|
+
required?: false | undefined;
|
2195
|
+
} & {
|
2196
|
+
clear?: boolean | undefined;
|
2197
|
+
hasDivider?: boolean | undefined;
|
2198
|
+
} & {
|
2199
|
+
enumerationType: "chip";
|
2200
|
+
onSearch?: undefined;
|
2201
|
+
chips?: TextFieldPrimitiveValue[] | undefined;
|
2202
|
+
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
|
2203
|
+
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2204
|
+
view: {
|
2205
|
+
default: PolymorphicClassName;
|
2206
|
+
positive: PolymorphicClassName;
|
2207
|
+
warning: PolymorphicClassName;
|
2208
|
+
negative: PolymorphicClassName;
|
2209
|
+
};
|
2210
|
+
size: {
|
2211
|
+
l: PolymorphicClassName;
|
2212
|
+
m: PolymorphicClassName;
|
2213
|
+
s: PolymorphicClassName;
|
2214
|
+
xs: PolymorphicClassName;
|
2215
|
+
};
|
2216
|
+
labelPlacement: {
|
2217
|
+
inner: PolymorphicClassName;
|
2218
|
+
outer: PolymorphicClassName;
|
2219
|
+
};
|
2220
|
+
clear: {
|
2221
|
+
true: PolymorphicClassName;
|
2222
|
+
};
|
2223
|
+
disabled: {
|
2224
|
+
true: PolymorphicClassName;
|
2225
|
+
};
|
2226
|
+
readOnly: {
|
2227
|
+
true: PolymorphicClassName;
|
2228
|
+
};
|
2229
|
+
}> & {
|
2230
|
+
size?: string | undefined;
|
2231
|
+
view?: string | undefined;
|
2232
|
+
readOnly?: boolean | undefined;
|
2233
|
+
disabled?: boolean | undefined;
|
2234
|
+
} & {
|
2235
|
+
label?: string | undefined;
|
2236
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2237
|
+
leftHelper?: string | undefined;
|
2238
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2239
|
+
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2240
|
+
textBefore?: string | undefined;
|
2241
|
+
textAfter?: string | undefined;
|
2242
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2243
|
+
} & {
|
2244
|
+
requiredPlacement?: "right" | "left" | undefined;
|
2245
|
+
} & {
|
2246
|
+
optional?: true | undefined;
|
2247
|
+
required?: false | undefined;
|
2248
|
+
} & {
|
2249
|
+
clear?: false | undefined;
|
2250
|
+
hasDivider?: undefined;
|
2251
|
+
} & {
|
2252
|
+
chips?: undefined;
|
2253
|
+
onChangeChips?: undefined;
|
2254
|
+
enumerationType?: "plain" | undefined;
|
2255
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2256
|
+
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2257
|
+
view: {
|
2258
|
+
default: PolymorphicClassName;
|
2259
|
+
positive: PolymorphicClassName;
|
2260
|
+
warning: PolymorphicClassName;
|
2261
|
+
negative: PolymorphicClassName;
|
2262
|
+
};
|
2263
|
+
size: {
|
2264
|
+
l: PolymorphicClassName;
|
2265
|
+
m: PolymorphicClassName;
|
2266
|
+
s: PolymorphicClassName;
|
2267
|
+
xs: PolymorphicClassName;
|
2268
|
+
};
|
2269
|
+
labelPlacement: {
|
2270
|
+
inner: PolymorphicClassName;
|
2271
|
+
outer: PolymorphicClassName;
|
2272
|
+
};
|
2273
|
+
clear: {
|
2274
|
+
true: PolymorphicClassName;
|
2275
|
+
};
|
2276
|
+
disabled: {
|
2277
|
+
true: PolymorphicClassName;
|
2278
|
+
};
|
2279
|
+
readOnly: {
|
2280
|
+
true: PolymorphicClassName;
|
2281
|
+
};
|
2282
|
+
}> & {
|
2283
|
+
size?: string | undefined;
|
2284
|
+
view?: string | undefined;
|
2285
|
+
readOnly?: boolean | undefined;
|
2286
|
+
disabled?: boolean | undefined;
|
2287
|
+
} & {
|
2288
|
+
label?: string | undefined;
|
2289
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2290
|
+
leftHelper?: string | undefined;
|
2291
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2292
|
+
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2293
|
+
textBefore?: string | undefined;
|
2294
|
+
textAfter?: string | undefined;
|
2295
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2296
|
+
} & {
|
2297
|
+
requiredPlacement?: "right" | "left" | undefined;
|
2298
|
+
} & {
|
2299
|
+
optional?: true | undefined;
|
2300
|
+
required?: false | undefined;
|
2301
|
+
} & {
|
2302
|
+
clear?: false | undefined;
|
2303
|
+
hasDivider?: undefined;
|
2304
|
+
} & {
|
2305
|
+
enumerationType: "chip";
|
2306
|
+
onSearch?: undefined;
|
2307
|
+
chips?: TextFieldPrimitiveValue[] | undefined;
|
2308
|
+
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
|
2309
|
+
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref">) & RefAttributes<HTMLInputElement>>;
|
1888
2310
|
|
1889
2311
|
export { MaxLinesProps }
|
1890
2312
|
|
@@ -2701,13 +3123,11 @@ export { TextareaHTMLAttributes }
|
|
2701
3123
|
|
2702
3124
|
// Warning: (ae-forgotten-export) The symbol "RequiredProps" needs to be exported by the entry point index.d.ts
|
2703
3125
|
// Warning: (ae-forgotten-export) The symbol "ClearProps" needs to be exported by the entry point index.d.ts
|
2704
|
-
// Warning: (ae-forgotten-export) The symbol "HintProps" needs to be exported by the entry point index.d.ts
|
2705
3126
|
//
|
2706
3127
|
// @public (undocumented)
|
2707
3128
|
export type TextAreaProps = TextAreaProps_2 & {
|
2708
3129
|
resize?: 'none' | 'both' | 'horizontal' | 'vertical';
|
2709
|
-
|
2710
|
-
} & RequiredProps & ClearProps & RequiredProps & HintProps;
|
3130
|
+
} & RequiredProps & ClearProps;
|
2711
3131
|
|
2712
3132
|
export { TextareaResize }
|
2713
3133
|
|
@@ -2762,10 +3182,9 @@ export { TextFieldGroupProps }
|
|
2762
3182
|
// Warning: (ae-forgotten-export) The symbol "newHopeTextFieldProps" needs to be exported by the entry point index.d.ts
|
2763
3183
|
// Warning: (ae-forgotten-export) The symbol "RequiredProps_2" needs to be exported by the entry point index.d.ts
|
2764
3184
|
// Warning: (ae-forgotten-export) The symbol "ClearProps_2" needs to be exported by the entry point index.d.ts
|
2765
|
-
// Warning: (ae-forgotten-export) The symbol "HintProps_2" needs to be exported by the entry point index.d.ts
|
2766
3185
|
//
|
2767
3186
|
// @public (undocumented)
|
2768
|
-
export type TextFieldProps = (TextFieldProps_2 & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'onChangeChips'
|
3187
|
+
export type TextFieldProps = (TextFieldProps_2 & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'onChangeChips'>) & RequiredProps_2 & ClearProps_2;
|
2769
3188
|
|
2770
3189
|
export { TextFieldView }
|
2771
3190
|
|