@salutejs/plasma-web 1.420.0-dev.0 → 1.421.0-canary.1459.11360824834.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. package/api/plasma-web.api.md +18 -437
  2. package/components/DatePicker/DatePicker.d.ts +6 -6
  3. package/components/Mask/Mask.d.ts +2 -425
  4. package/components/TextArea/TextArea.config.d.ts +10 -0
  5. package/components/TextArea/TextArea.config.js +22 -12
  6. package/components/TextArea/index.d.ts +68 -1
  7. package/components/TextField/TextField.config.d.ts +10 -0
  8. package/components/TextField/TextField.config.js +21 -11
  9. package/components/TextField/TextField.d.ts +61 -282
  10. package/components/TextField/TextField.js +4 -1
  11. package/css/cjs/components/Mask/Mask.css +17 -11
  12. package/css/cjs/components/Mask/Mask.js.map +1 -1
  13. package/css/cjs/components/TextArea/TextArea.config.js +13 -3
  14. package/css/cjs/components/TextArea/TextArea.config.js.map +1 -1
  15. package/css/cjs/components/TextArea/{TextArea.config_gz8cpa.css → TextArea.config_g5fxsq.css} +16 -10
  16. package/css/cjs/components/TextArea/TextArea.css +16 -10
  17. package/css/cjs/components/TextField/TextField.config.js +13 -3
  18. package/css/cjs/components/TextField/TextField.config.js.map +1 -1
  19. package/css/cjs/components/TextField/TextField.config_owf0ip.css +19 -0
  20. package/css/cjs/components/TextField/TextField.js +4 -1
  21. package/css/cjs/components/TextField/TextField.js.map +1 -1
  22. package/css/cjs/index.css +37 -25
  23. package/css/es/components/Mask/Mask.css +17 -11
  24. package/css/es/components/Mask/Mask.js.map +1 -1
  25. package/css/es/components/TextArea/TextArea.config.js +13 -3
  26. package/css/es/components/TextArea/TextArea.config.js.map +1 -1
  27. package/css/es/components/TextArea/{TextArea.config_gz8cpa.css → TextArea.config_g5fxsq.css} +16 -10
  28. package/css/es/components/TextArea/TextArea.css +16 -10
  29. package/css/es/components/TextField/TextField.config.js +13 -3
  30. package/css/es/components/TextField/TextField.config.js.map +1 -1
  31. package/css/es/components/TextField/TextField.config_owf0ip.css +19 -0
  32. package/css/es/components/TextField/TextField.js +4 -1
  33. package/css/es/components/TextField/TextField.js.map +1 -1
  34. package/css/es/index.css +37 -25
  35. package/es/components/TextArea/TextArea.config.js +22 -12
  36. package/es/components/TextField/TextField.config.js +21 -11
  37. package/es/components/TextField/TextField.js +4 -1
  38. package/package.json +3 -3
  39. package/temp/plasma-web.api.md +2982 -0
  40. package/css/cjs/components/TextField/TextField.config_j0ymp0.css +0 -13
  41. package/css/es/components/TextField/TextField.config_j0ymp0.css +0 -13
@@ -81,6 +81,7 @@ import { CellTextboxLabel } from '@salutejs/plasma-new-hope/styled-components';
81
81
  import { CellTextboxSubtitle } from '@salutejs/plasma-new-hope/styled-components';
82
82
  import { CellTextboxTitle } from '@salutejs/plasma-new-hope/styled-components';
83
83
  import { ChangeEvent } from 'react';
84
+ import { ChangeInstanceCallback } from '@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types';
84
85
  import { CheckboxProps as CheckboxProps_2 } from '@salutejs/plasma-new-hope/types/components/Checkbox/Checkbox.types';
85
86
  import { ChipGroupProps } from '@salutejs/plasma-new-hope/types/components/ChipGroup/ChipGroup.types';
86
87
  import { ChipProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -95,6 +96,7 @@ import { ColSizeProps } from '@salutejs/plasma-new-hope/styled-components';
95
96
  import { ComboboxPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types';
96
97
  import { ComboboxOldProps as ComboboxProps } from '@salutejs/plasma-new-hope/styled-components';
97
98
  import type { ComboboxProps as ComboboxProps_2 } from '@salutejs/plasma-new-hope';
99
+ import { CommitInstanceCallback } from '@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types';
98
100
  import { ComponentClass } from 'react';
99
101
  import { ComponentProps } from 'react';
100
102
  import { GridProps as ContainerProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -106,10 +108,8 @@ import { CustomHorizontalTabsProps } from '@salutejs/plasma-new-hope/types/compo
106
108
  import { CustomPopoverProps } from '@salutejs/plasma-new-hope/types/components/Popover/Popover.types';
107
109
  import { CustomToastProps } from '@salutejs/plasma-new-hope/types/components/Toast/Toast.types';
108
110
  import { CustomVerticalTabsProps } from '@salutejs/plasma-new-hope/types/components/Tabs/Tabs.types';
109
- import { DateInfo } from '@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types';
110
111
  import { DatePickerCalendarProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types';
111
112
  import { datePickerClasses } from '@salutejs/plasma-new-hope/styled-components';
112
- import { DatePickerdVariationProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types';
113
113
  import { DatePickerPlacement } from '@salutejs/plasma-new-hope/styled-components';
114
114
  import { DatePickerPlacementBasic } from '@salutejs/plasma-new-hope/styled-components';
115
115
  import { DatePickerPopoverProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types';
@@ -118,6 +118,7 @@ import { DatePickerRangePlacement } from '@salutejs/plasma-new-hope/styled-compo
118
118
  import { DatePickerRangeProps } from '@salutejs/plasma-new-hope/styled-components';
119
119
  import { DatePickerTextFieldProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types';
120
120
  import { datePickerTokens } from '@salutejs/plasma-new-hope/styled-components';
121
+ import { DatePickerVariationProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types';
121
122
  import { defaultValidate } from '@salutejs/plasma-hope';
122
123
  import { DisabledProps } from '@salutejs/plasma-core';
123
124
  import { DividerProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -159,7 +160,6 @@ import { InputHTMLAttributes as InputHTMLAttributes_3 } from 'react';
159
160
  import type { ItemOption } from '@salutejs/plasma-new-hope';
160
161
  import { ItemOption as ItemOption_2 } from '@salutejs/plasma-new-hope/styled-components';
161
162
  import { JSXElementConstructor } from 'react';
162
- import { KeyboardEvent as KeyboardEvent_2 } from 'react';
163
163
  import { LineSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
164
164
  import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
165
165
  import { List } from '@salutejs/plasma-hope';
@@ -196,6 +196,9 @@ import { PickOptional } from '@salutejs/plasma-core';
196
196
  import { PinProps } from '@salutejs/plasma-core';
197
197
  import { PolymorphicClassName } from '@salutejs/plasma-new-hope/types/engines/types';
198
198
  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';
199
202
  import { PopoverProps } from '@salutejs/plasma-new-hope/styled-components';
200
203
  import { PopoverTrigger } from '@salutejs/plasma-new-hope/styled-components';
201
204
  import { Popup } from '@salutejs/plasma-hope';
@@ -285,9 +288,9 @@ import { TextareaHTMLAttributes } from '@salutejs/plasma-core';
285
288
  import type { TextAreaProps as TextAreaProps_2 } from '@salutejs/plasma-hope';
286
289
  import { TextareaResize } from '@salutejs/plasma-core';
287
290
  import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
288
- import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
289
291
  import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
290
292
  import type { TextFieldProps as TextFieldProps_3 } from '@salutejs/plasma-hope';
293
+ import type { TextFieldProps as TextFieldProps_4 } from '@salutejs/plasma-new-hope/styled-components';
291
294
  import { TextFieldPropsBase } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
292
295
  import { TextFieldView } from '@salutejs/plasma-hope';
293
296
  import { TextSkeletonBaseProps } from '@salutejs/plasma-new-hope/types/components/Skeleton/TextSkeleton/TextSkeleton.types';
@@ -1341,7 +1344,7 @@ true: PolymorphicClassName;
1341
1344
  readOnly: {
1342
1345
  true: PolymorphicClassName;
1343
1346
  };
1344
- }> & DatePickerdVariationProps & DatePickerTextFieldProps & DatePickerCalendarProps & DatePickerPopoverProps & Omit<HTMLAttributes<HTMLDivElement>, "defaultValue"> & RefAttributes<HTMLInputElement>>;
1347
+ }> & DatePickerVariationProps & DatePickerTextFieldProps & DatePickerCalendarProps & DatePickerPopoverProps & Omit<HTMLAttributes<HTMLDivElement>, "defaultValue"> & RefAttributes<HTMLInputElement>>;
1345
1348
 
1346
1349
  export { datePickerClasses }
1347
1350
 
@@ -1368,12 +1371,14 @@ true: PolymorphicClassName;
1368
1371
  readOnly: {
1369
1372
  true: PolymorphicClassName;
1370
1373
  };
1371
- }> & DatePickerdVariationProps & {
1374
+ }> & DatePickerVariationProps & {
1372
1375
  defaultFirstDate?: Date | undefined;
1373
1376
  defaultSecondDate?: Date | undefined;
1374
1377
  name?: string | undefined;
1375
- onCommitFirstDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined, dateInfo?: DateInfo | undefined) => void) | undefined;
1376
- onCommitSecondDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined, dateInfo?: DateInfo | undefined) => void) | undefined;
1378
+ onChangeFirstValue?: ChangeInstanceCallback | undefined;
1379
+ onChangeSecondValue?: ChangeInstanceCallback | undefined;
1380
+ onCommitFirstDate?: CommitInstanceCallback | undefined;
1381
+ onCommitSecondDate?: CommitInstanceCallback | undefined;
1377
1382
  onChange?: ((event: {
1378
1383
  target: {
1379
1384
  value?: string | undefined;
@@ -1405,8 +1410,6 @@ firstTextfieldTextBefore?: string | undefined;
1405
1410
  secondTextfieldTextBefore?: string | undefined;
1406
1411
  firstTextfieldTextAfter?: string | undefined;
1407
1412
  secondTextfieldTextAfter?: string | undefined;
1408
- onChangeFirstValue?: BaseCallbackChangeInstance | undefined;
1409
- onChangeSecondValue?: BaseCallbackChangeInstance | undefined;
1410
1413
  onFocusFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
1411
1414
  onFocusSecondTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
1412
1415
  onBlurFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
@@ -1883,431 +1886,7 @@ export { List }
1883
1886
  export { ListItem }
1884
1887
 
1885
1888
  // @public (undocumented)
1886
- export const Mask: ForwardRefExoticComponent<(Omit<PropsType< {
1887
- view: {
1888
- default: PolymorphicClassName;
1889
- positive: PolymorphicClassName;
1890
- warning: PolymorphicClassName;
1891
- negative: PolymorphicClassName;
1892
- };
1893
- size: {
1894
- l: PolymorphicClassName;
1895
- m: PolymorphicClassName;
1896
- s: PolymorphicClassName;
1897
- xs: PolymorphicClassName;
1898
- };
1899
- labelPlacement: {
1900
- inner: PolymorphicClassName;
1901
- outer: PolymorphicClassName;
1902
- };
1903
- clear: {
1904
- true: PolymorphicClassName;
1905
- };
1906
- disabled: {
1907
- true: PolymorphicClassName;
1908
- };
1909
- readOnly: {
1910
- true: PolymorphicClassName;
1911
- };
1912
- }> & {
1913
- size?: string | undefined;
1914
- view?: string | undefined;
1915
- readOnly?: boolean | undefined;
1916
- disabled?: boolean | undefined;
1917
- } & {
1918
- label?: string | undefined;
1919
- labelPlacement?: "outer" | "inner" | undefined;
1920
- leftHelper?: string | undefined;
1921
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1922
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1923
- textBefore?: string | undefined;
1924
- textAfter?: string | undefined;
1925
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1926
- } & {
1927
- requiredPlacement?: "right" | "left" | undefined;
1928
- } & {
1929
- required: true;
1930
- optional?: false | undefined;
1931
- } & {
1932
- clear?: boolean | undefined;
1933
- hasDivider?: boolean | undefined;
1934
- } & {
1935
- chips?: undefined;
1936
- onChangeChips?: undefined;
1937
- enumerationType?: "plain" | undefined;
1938
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1939
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
1940
- view: {
1941
- default: PolymorphicClassName;
1942
- positive: PolymorphicClassName;
1943
- warning: PolymorphicClassName;
1944
- negative: PolymorphicClassName;
1945
- };
1946
- size: {
1947
- l: PolymorphicClassName;
1948
- m: PolymorphicClassName;
1949
- s: PolymorphicClassName;
1950
- xs: PolymorphicClassName;
1951
- };
1952
- labelPlacement: {
1953
- inner: PolymorphicClassName;
1954
- outer: PolymorphicClassName;
1955
- };
1956
- clear: {
1957
- true: PolymorphicClassName;
1958
- };
1959
- disabled: {
1960
- true: PolymorphicClassName;
1961
- };
1962
- readOnly: {
1963
- true: PolymorphicClassName;
1964
- };
1965
- }> & {
1966
- size?: string | undefined;
1967
- view?: string | undefined;
1968
- readOnly?: boolean | undefined;
1969
- disabled?: boolean | undefined;
1970
- } & {
1971
- label?: string | undefined;
1972
- labelPlacement?: "outer" | "inner" | undefined;
1973
- leftHelper?: string | undefined;
1974
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1975
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1976
- textBefore?: string | undefined;
1977
- textAfter?: string | undefined;
1978
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1979
- } & {
1980
- requiredPlacement?: "right" | "left" | undefined;
1981
- } & {
1982
- required: true;
1983
- optional?: false | undefined;
1984
- } & {
1985
- clear?: boolean | undefined;
1986
- hasDivider?: boolean | undefined;
1987
- } & {
1988
- enumerationType: "chip";
1989
- onSearch?: undefined;
1990
- chips?: TextFieldPrimitiveValue[] | undefined;
1991
- onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
1992
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
1993
- view: {
1994
- default: PolymorphicClassName;
1995
- positive: PolymorphicClassName;
1996
- warning: PolymorphicClassName;
1997
- negative: PolymorphicClassName;
1998
- };
1999
- size: {
2000
- l: PolymorphicClassName;
2001
- m: PolymorphicClassName;
2002
- s: PolymorphicClassName;
2003
- xs: PolymorphicClassName;
2004
- };
2005
- labelPlacement: {
2006
- inner: PolymorphicClassName;
2007
- outer: PolymorphicClassName;
2008
- };
2009
- clear: {
2010
- true: PolymorphicClassName;
2011
- };
2012
- disabled: {
2013
- true: PolymorphicClassName;
2014
- };
2015
- readOnly: {
2016
- true: PolymorphicClassName;
2017
- };
2018
- }> & {
2019
- size?: string | undefined;
2020
- view?: string | undefined;
2021
- readOnly?: boolean | undefined;
2022
- disabled?: boolean | undefined;
2023
- } & {
2024
- label?: string | undefined;
2025
- labelPlacement?: "outer" | "inner" | undefined;
2026
- leftHelper?: string | undefined;
2027
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2028
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2029
- textBefore?: string | undefined;
2030
- textAfter?: string | undefined;
2031
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2032
- } & {
2033
- requiredPlacement?: "right" | "left" | undefined;
2034
- } & {
2035
- required: true;
2036
- optional?: false | undefined;
2037
- } & {
2038
- clear?: false | undefined;
2039
- hasDivider?: undefined;
2040
- } & {
2041
- chips?: undefined;
2042
- onChangeChips?: undefined;
2043
- enumerationType?: "plain" | undefined;
2044
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2045
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
2046
- view: {
2047
- default: PolymorphicClassName;
2048
- positive: PolymorphicClassName;
2049
- warning: PolymorphicClassName;
2050
- negative: PolymorphicClassName;
2051
- };
2052
- size: {
2053
- l: PolymorphicClassName;
2054
- m: PolymorphicClassName;
2055
- s: PolymorphicClassName;
2056
- xs: PolymorphicClassName;
2057
- };
2058
- labelPlacement: {
2059
- inner: PolymorphicClassName;
2060
- outer: PolymorphicClassName;
2061
- };
2062
- clear: {
2063
- true: PolymorphicClassName;
2064
- };
2065
- disabled: {
2066
- true: PolymorphicClassName;
2067
- };
2068
- readOnly: {
2069
- true: PolymorphicClassName;
2070
- };
2071
- }> & {
2072
- size?: string | undefined;
2073
- view?: string | undefined;
2074
- readOnly?: boolean | undefined;
2075
- disabled?: boolean | undefined;
2076
- } & {
2077
- label?: string | undefined;
2078
- labelPlacement?: "outer" | "inner" | undefined;
2079
- leftHelper?: string | undefined;
2080
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2081
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2082
- textBefore?: string | undefined;
2083
- textAfter?: string | undefined;
2084
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2085
- } & {
2086
- requiredPlacement?: "right" | "left" | undefined;
2087
- } & {
2088
- required: true;
2089
- optional?: false | undefined;
2090
- } & {
2091
- clear?: false | undefined;
2092
- hasDivider?: undefined;
2093
- } & {
2094
- enumerationType: "chip";
2095
- onSearch?: undefined;
2096
- chips?: TextFieldPrimitiveValue[] | undefined;
2097
- onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
2098
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
2099
- view: {
2100
- default: PolymorphicClassName;
2101
- positive: PolymorphicClassName;
2102
- warning: PolymorphicClassName;
2103
- negative: PolymorphicClassName;
2104
- };
2105
- size: {
2106
- l: PolymorphicClassName;
2107
- m: PolymorphicClassName;
2108
- s: PolymorphicClassName;
2109
- xs: PolymorphicClassName;
2110
- };
2111
- labelPlacement: {
2112
- inner: PolymorphicClassName;
2113
- outer: PolymorphicClassName;
2114
- };
2115
- clear: {
2116
- true: PolymorphicClassName;
2117
- };
2118
- disabled: {
2119
- true: PolymorphicClassName;
2120
- };
2121
- readOnly: {
2122
- true: PolymorphicClassName;
2123
- };
2124
- }> & {
2125
- size?: string | undefined;
2126
- view?: string | undefined;
2127
- readOnly?: boolean | undefined;
2128
- disabled?: boolean | undefined;
2129
- } & {
2130
- label?: string | undefined;
2131
- labelPlacement?: "outer" | "inner" | undefined;
2132
- leftHelper?: string | undefined;
2133
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2134
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2135
- textBefore?: string | undefined;
2136
- textAfter?: string | undefined;
2137
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2138
- } & {
2139
- requiredPlacement?: "right" | "left" | undefined;
2140
- } & {
2141
- optional?: true | undefined;
2142
- required?: false | undefined;
2143
- } & {
2144
- clear?: boolean | undefined;
2145
- hasDivider?: boolean | undefined;
2146
- } & {
2147
- chips?: undefined;
2148
- onChangeChips?: undefined;
2149
- enumerationType?: "plain" | undefined;
2150
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2151
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
2152
- view: {
2153
- default: PolymorphicClassName;
2154
- positive: PolymorphicClassName;
2155
- warning: PolymorphicClassName;
2156
- negative: PolymorphicClassName;
2157
- };
2158
- size: {
2159
- l: PolymorphicClassName;
2160
- m: PolymorphicClassName;
2161
- s: PolymorphicClassName;
2162
- xs: PolymorphicClassName;
2163
- };
2164
- labelPlacement: {
2165
- inner: PolymorphicClassName;
2166
- outer: PolymorphicClassName;
2167
- };
2168
- clear: {
2169
- true: PolymorphicClassName;
2170
- };
2171
- disabled: {
2172
- true: PolymorphicClassName;
2173
- };
2174
- readOnly: {
2175
- true: PolymorphicClassName;
2176
- };
2177
- }> & {
2178
- size?: string | undefined;
2179
- view?: string | undefined;
2180
- readOnly?: boolean | undefined;
2181
- disabled?: boolean | undefined;
2182
- } & {
2183
- label?: string | undefined;
2184
- labelPlacement?: "outer" | "inner" | undefined;
2185
- leftHelper?: string | undefined;
2186
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2187
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2188
- textBefore?: string | undefined;
2189
- textAfter?: string | undefined;
2190
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2191
- } & {
2192
- requiredPlacement?: "right" | "left" | undefined;
2193
- } & {
2194
- optional?: true | undefined;
2195
- required?: false | undefined;
2196
- } & {
2197
- clear?: boolean | undefined;
2198
- hasDivider?: boolean | undefined;
2199
- } & {
2200
- enumerationType: "chip";
2201
- onSearch?: undefined;
2202
- chips?: TextFieldPrimitiveValue[] | undefined;
2203
- onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
2204
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
2205
- view: {
2206
- default: PolymorphicClassName;
2207
- positive: PolymorphicClassName;
2208
- warning: PolymorphicClassName;
2209
- negative: PolymorphicClassName;
2210
- };
2211
- size: {
2212
- l: PolymorphicClassName;
2213
- m: PolymorphicClassName;
2214
- s: PolymorphicClassName;
2215
- xs: PolymorphicClassName;
2216
- };
2217
- labelPlacement: {
2218
- inner: PolymorphicClassName;
2219
- outer: PolymorphicClassName;
2220
- };
2221
- clear: {
2222
- true: PolymorphicClassName;
2223
- };
2224
- disabled: {
2225
- true: PolymorphicClassName;
2226
- };
2227
- readOnly: {
2228
- true: PolymorphicClassName;
2229
- };
2230
- }> & {
2231
- size?: string | undefined;
2232
- view?: string | undefined;
2233
- readOnly?: boolean | undefined;
2234
- disabled?: boolean | undefined;
2235
- } & {
2236
- label?: string | undefined;
2237
- labelPlacement?: "outer" | "inner" | undefined;
2238
- leftHelper?: string | undefined;
2239
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2240
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2241
- textBefore?: string | undefined;
2242
- textAfter?: string | undefined;
2243
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2244
- } & {
2245
- requiredPlacement?: "right" | "left" | undefined;
2246
- } & {
2247
- optional?: true | undefined;
2248
- required?: false | undefined;
2249
- } & {
2250
- clear?: false | undefined;
2251
- hasDivider?: undefined;
2252
- } & {
2253
- chips?: undefined;
2254
- onChangeChips?: undefined;
2255
- enumerationType?: "plain" | undefined;
2256
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2257
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
2258
- view: {
2259
- default: PolymorphicClassName;
2260
- positive: PolymorphicClassName;
2261
- warning: PolymorphicClassName;
2262
- negative: PolymorphicClassName;
2263
- };
2264
- size: {
2265
- l: PolymorphicClassName;
2266
- m: PolymorphicClassName;
2267
- s: PolymorphicClassName;
2268
- xs: PolymorphicClassName;
2269
- };
2270
- labelPlacement: {
2271
- inner: PolymorphicClassName;
2272
- outer: PolymorphicClassName;
2273
- };
2274
- clear: {
2275
- true: PolymorphicClassName;
2276
- };
2277
- disabled: {
2278
- true: PolymorphicClassName;
2279
- };
2280
- readOnly: {
2281
- true: PolymorphicClassName;
2282
- };
2283
- }> & {
2284
- size?: string | undefined;
2285
- view?: string | undefined;
2286
- readOnly?: boolean | undefined;
2287
- disabled?: boolean | undefined;
2288
- } & {
2289
- label?: string | undefined;
2290
- labelPlacement?: "outer" | "inner" | undefined;
2291
- leftHelper?: string | undefined;
2292
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2293
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2294
- textBefore?: string | undefined;
2295
- textAfter?: string | undefined;
2296
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2297
- } & {
2298
- requiredPlacement?: "right" | "left" | undefined;
2299
- } & {
2300
- optional?: true | undefined;
2301
- required?: false | undefined;
2302
- } & {
2303
- clear?: false | undefined;
2304
- hasDivider?: undefined;
2305
- } & {
2306
- enumerationType: "chip";
2307
- onSearch?: undefined;
2308
- chips?: TextFieldPrimitiveValue[] | undefined;
2309
- onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
2310
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref">) & RefAttributes<HTMLInputElement>>;
1889
+ export const Mask: ForwardRefExoticComponent<(TextFieldProps_4 & MaskProps) & RefAttributes<HTMLInputElement>>;
2311
1890
 
2312
1891
  export { MaxLinesProps }
2313
1892
 
@@ -3127,11 +2706,13 @@ export { TextareaHTMLAttributes }
3127
2706
 
3128
2707
  // Warning: (ae-forgotten-export) The symbol "RequiredProps" needs to be exported by the entry point index.d.ts
3129
2708
  // Warning: (ae-forgotten-export) The symbol "ClearProps" needs to be exported by the entry point index.d.ts
2709
+ // Warning: (ae-forgotten-export) The symbol "HintProps" needs to be exported by the entry point index.d.ts
3130
2710
  //
3131
2711
  // @public (undocumented)
3132
2712
  export type TextAreaProps = TextAreaProps_2 & {
3133
2713
  resize?: 'none' | 'both' | 'horizontal' | 'vertical';
3134
- } & RequiredProps & ClearProps;
2714
+ titleCaption?: ReactNode;
2715
+ } & RequiredProps & ClearProps & HintProps;
3135
2716
 
3136
2717
  export { TextareaResize }
3137
2718
 
@@ -3187,7 +2768,7 @@ export { TextFieldGroupProps }
3187
2768
  // Warning: (ae-forgotten-export) The symbol "newHopeTextFieldProps" needs to be exported by the entry point index.d.ts
3188
2769
  //
3189
2770
  // @public (undocumented)
3190
- export type TextFieldProps = TextFieldProps_2 & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'onChangeChips'>;
2771
+ export type TextFieldProps = TextFieldProps_2 & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'onChangeChips' | 'titleCaption'>;
3191
2772
 
3192
2773
  export { TextFieldView }
3193
2774
 
@@ -15,7 +15,7 @@ export declare const DatePicker: import("react").FunctionComponent<import("@salu
15
15
  readOnly: {
16
16
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
17
17
  };
18
- }> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types").DatePickerdVariationProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types").DatePickerTextFieldProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types").DatePickerPopoverProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>>;
18
+ }> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types").DatePickerVariationProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types").DatePickerTextFieldProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types").DatePickerPopoverProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>>;
19
19
  export declare const DatePickerRange: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
20
20
  view: {
21
21
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -32,12 +32,14 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
32
32
  readOnly: {
33
33
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
34
34
  };
35
- }> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types").DatePickerdVariationProps & {
35
+ }> & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types").DatePickerVariationProps & {
36
36
  defaultFirstDate?: Date | undefined;
37
37
  defaultSecondDate?: Date | undefined;
38
38
  name?: string | undefined;
39
- onCommitFirstDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined, dateInfo?: import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types").DateInfo | undefined) => void) | undefined;
40
- onCommitSecondDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined, dateInfo?: import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types").DateInfo | undefined) => void) | undefined;
39
+ onChangeFirstValue?: import("@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types").ChangeInstanceCallback | undefined;
40
+ onChangeSecondValue?: import("@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types").ChangeInstanceCallback | undefined;
41
+ onCommitFirstDate?: import("@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types").CommitInstanceCallback | undefined;
42
+ onCommitSecondDate?: import("@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types").CommitInstanceCallback | undefined;
41
43
  onChange?: ((event: {
42
44
  target: {
43
45
  value?: string | undefined;
@@ -69,8 +71,6 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
69
71
  secondTextfieldTextBefore?: string | undefined;
70
72
  firstTextfieldTextAfter?: string | undefined;
71
73
  secondTextfieldTextAfter?: string | undefined;
72
- onChangeFirstValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance | undefined;
73
- onChangeSecondValue?: import("@salutejs/plasma-new-hope/types/components/Range/Range.types").BaseCallbackChangeInstance | undefined;
74
74
  onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
75
75
  onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
76
76
  onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;