@salutejs/plasma-b2c 1.418.0-dev.0 → 1.419.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-b2c.api.md +19 -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 +11 -1
  5. package/components/TextArea/TextArea.config.js +23 -13
  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 -278
  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 +14 -4
  14. package/css/cjs/components/TextArea/TextArea.config.js.map +1 -1
  15. package/css/cjs/components/TextArea/{TextArea.config_1g56huc.css → TextArea.config_lr7df6.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_dt66zs.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 +14 -4
  26. package/css/es/components/TextArea/TextArea.config.js.map +1 -1
  27. package/css/es/components/TextArea/{TextArea.config_1g56huc.css → TextArea.config_lr7df6.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_dt66zs.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 +23 -13
  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-b2c.api.md +2982 -0
  40. package/css/cjs/components/TextField/TextField.config_o06qtv.css +0 -13
  41. package/css/es/components/TextField/TextField.config_o06qtv.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_2 } from '@salutejs/plasma-hope';
293
+ import type { TextFieldProps as TextFieldProps_3 } 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';
@@ -1339,7 +1342,7 @@ true: PolymorphicClassName;
1339
1342
  readOnly: {
1340
1343
  true: PolymorphicClassName;
1341
1344
  };
1342
- }> & DatePickerdVariationProps & DatePickerTextFieldProps & DatePickerCalendarProps & DatePickerPopoverProps & Omit<HTMLAttributes<HTMLDivElement>, "defaultValue"> & RefAttributes<HTMLInputElement>>;
1345
+ }> & DatePickerVariationProps & DatePickerTextFieldProps & DatePickerCalendarProps & DatePickerPopoverProps & Omit<HTMLAttributes<HTMLDivElement>, "defaultValue"> & RefAttributes<HTMLInputElement>>;
1343
1346
 
1344
1347
  export { datePickerClasses }
1345
1348
 
@@ -1366,12 +1369,14 @@ true: PolymorphicClassName;
1366
1369
  readOnly: {
1367
1370
  true: PolymorphicClassName;
1368
1371
  };
1369
- }> & DatePickerdVariationProps & {
1372
+ }> & DatePickerVariationProps & {
1370
1373
  defaultFirstDate?: Date | undefined;
1371
1374
  defaultSecondDate?: Date | undefined;
1372
1375
  name?: string | undefined;
1373
- onCommitFirstDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined, dateInfo?: DateInfo | undefined) => void) | undefined;
1374
- onCommitSecondDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined, dateInfo?: DateInfo | undefined) => void) | undefined;
1376
+ onChangeFirstValue?: ChangeInstanceCallback | undefined;
1377
+ onChangeSecondValue?: ChangeInstanceCallback | undefined;
1378
+ onCommitFirstDate?: CommitInstanceCallback | undefined;
1379
+ onCommitSecondDate?: CommitInstanceCallback | undefined;
1375
1380
  onChange?: ((event: {
1376
1381
  target: {
1377
1382
  value?: string | undefined;
@@ -1403,8 +1408,6 @@ firstTextfieldTextBefore?: string | undefined;
1403
1408
  secondTextfieldTextBefore?: string | undefined;
1404
1409
  firstTextfieldTextAfter?: string | undefined;
1405
1410
  secondTextfieldTextAfter?: string | undefined;
1406
- onChangeFirstValue?: BaseCallbackChangeInstance | undefined;
1407
- onChangeSecondValue?: BaseCallbackChangeInstance | undefined;
1408
1411
  onFocusFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
1409
1412
  onFocusSecondTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
1410
1413
  onBlurFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
@@ -1881,431 +1884,7 @@ export { List }
1881
1884
  export { ListItem }
1882
1885
 
1883
1886
  // @public (undocumented)
1884
- export const Mask: ForwardRefExoticComponent<(Omit<PropsType< {
1885
- view: {
1886
- default: PolymorphicClassName;
1887
- positive: PolymorphicClassName;
1888
- warning: PolymorphicClassName;
1889
- negative: PolymorphicClassName;
1890
- };
1891
- size: {
1892
- l: PolymorphicClassName;
1893
- m: PolymorphicClassName;
1894
- s: PolymorphicClassName;
1895
- xs: PolymorphicClassName;
1896
- };
1897
- labelPlacement: {
1898
- inner: PolymorphicClassName;
1899
- outer: PolymorphicClassName;
1900
- };
1901
- clear: {
1902
- true: PolymorphicClassName;
1903
- };
1904
- disabled: {
1905
- true: PolymorphicClassName;
1906
- };
1907
- readOnly: {
1908
- true: PolymorphicClassName;
1909
- };
1910
- }> & {
1911
- size?: string | undefined;
1912
- view?: string | undefined;
1913
- readOnly?: boolean | undefined;
1914
- disabled?: boolean | undefined;
1915
- } & {
1916
- label?: string | undefined;
1917
- labelPlacement?: "outer" | "inner" | undefined;
1918
- leftHelper?: string | undefined;
1919
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1920
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1921
- textBefore?: string | undefined;
1922
- textAfter?: string | undefined;
1923
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1924
- } & {
1925
- requiredPlacement?: "right" | "left" | undefined;
1926
- } & {
1927
- required: true;
1928
- optional?: false | undefined;
1929
- } & {
1930
- clear?: boolean | undefined;
1931
- hasDivider?: boolean | undefined;
1932
- } & {
1933
- chips?: undefined;
1934
- onChangeChips?: undefined;
1935
- enumerationType?: "plain" | undefined;
1936
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1937
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
1938
- view: {
1939
- default: PolymorphicClassName;
1940
- positive: PolymorphicClassName;
1941
- warning: PolymorphicClassName;
1942
- negative: PolymorphicClassName;
1943
- };
1944
- size: {
1945
- l: PolymorphicClassName;
1946
- m: PolymorphicClassName;
1947
- s: PolymorphicClassName;
1948
- xs: PolymorphicClassName;
1949
- };
1950
- labelPlacement: {
1951
- inner: PolymorphicClassName;
1952
- outer: PolymorphicClassName;
1953
- };
1954
- clear: {
1955
- true: PolymorphicClassName;
1956
- };
1957
- disabled: {
1958
- true: PolymorphicClassName;
1959
- };
1960
- readOnly: {
1961
- true: PolymorphicClassName;
1962
- };
1963
- }> & {
1964
- size?: string | undefined;
1965
- view?: string | undefined;
1966
- readOnly?: boolean | undefined;
1967
- disabled?: boolean | undefined;
1968
- } & {
1969
- label?: string | undefined;
1970
- labelPlacement?: "outer" | "inner" | undefined;
1971
- leftHelper?: string | undefined;
1972
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1973
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1974
- textBefore?: string | undefined;
1975
- textAfter?: string | undefined;
1976
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
1977
- } & {
1978
- requiredPlacement?: "right" | "left" | undefined;
1979
- } & {
1980
- required: true;
1981
- optional?: false | undefined;
1982
- } & {
1983
- clear?: boolean | undefined;
1984
- hasDivider?: boolean | undefined;
1985
- } & {
1986
- enumerationType: "chip";
1987
- onSearch?: undefined;
1988
- chips?: TextFieldPrimitiveValue[] | undefined;
1989
- onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
1990
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
1991
- view: {
1992
- default: PolymorphicClassName;
1993
- positive: PolymorphicClassName;
1994
- warning: PolymorphicClassName;
1995
- negative: PolymorphicClassName;
1996
- };
1997
- size: {
1998
- l: PolymorphicClassName;
1999
- m: PolymorphicClassName;
2000
- s: PolymorphicClassName;
2001
- xs: PolymorphicClassName;
2002
- };
2003
- labelPlacement: {
2004
- inner: PolymorphicClassName;
2005
- outer: PolymorphicClassName;
2006
- };
2007
- clear: {
2008
- true: PolymorphicClassName;
2009
- };
2010
- disabled: {
2011
- true: PolymorphicClassName;
2012
- };
2013
- readOnly: {
2014
- true: PolymorphicClassName;
2015
- };
2016
- }> & {
2017
- size?: string | undefined;
2018
- view?: string | undefined;
2019
- readOnly?: boolean | undefined;
2020
- disabled?: boolean | undefined;
2021
- } & {
2022
- label?: string | undefined;
2023
- labelPlacement?: "outer" | "inner" | undefined;
2024
- leftHelper?: string | undefined;
2025
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2026
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2027
- textBefore?: string | undefined;
2028
- textAfter?: string | undefined;
2029
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2030
- } & {
2031
- requiredPlacement?: "right" | "left" | undefined;
2032
- } & {
2033
- required: true;
2034
- optional?: false | undefined;
2035
- } & {
2036
- clear?: false | undefined;
2037
- hasDivider?: undefined;
2038
- } & {
2039
- chips?: undefined;
2040
- onChangeChips?: undefined;
2041
- enumerationType?: "plain" | undefined;
2042
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2043
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
2044
- view: {
2045
- default: PolymorphicClassName;
2046
- positive: PolymorphicClassName;
2047
- warning: PolymorphicClassName;
2048
- negative: PolymorphicClassName;
2049
- };
2050
- size: {
2051
- l: PolymorphicClassName;
2052
- m: PolymorphicClassName;
2053
- s: PolymorphicClassName;
2054
- xs: PolymorphicClassName;
2055
- };
2056
- labelPlacement: {
2057
- inner: PolymorphicClassName;
2058
- outer: PolymorphicClassName;
2059
- };
2060
- clear: {
2061
- true: PolymorphicClassName;
2062
- };
2063
- disabled: {
2064
- true: PolymorphicClassName;
2065
- };
2066
- readOnly: {
2067
- true: PolymorphicClassName;
2068
- };
2069
- }> & {
2070
- size?: string | undefined;
2071
- view?: string | undefined;
2072
- readOnly?: boolean | undefined;
2073
- disabled?: boolean | undefined;
2074
- } & {
2075
- label?: string | undefined;
2076
- labelPlacement?: "outer" | "inner" | undefined;
2077
- leftHelper?: string | undefined;
2078
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2079
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2080
- textBefore?: string | undefined;
2081
- textAfter?: string | undefined;
2082
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2083
- } & {
2084
- requiredPlacement?: "right" | "left" | undefined;
2085
- } & {
2086
- required: true;
2087
- optional?: false | undefined;
2088
- } & {
2089
- clear?: false | undefined;
2090
- hasDivider?: undefined;
2091
- } & {
2092
- enumerationType: "chip";
2093
- onSearch?: undefined;
2094
- chips?: TextFieldPrimitiveValue[] | undefined;
2095
- onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
2096
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
2097
- view: {
2098
- default: PolymorphicClassName;
2099
- positive: PolymorphicClassName;
2100
- warning: PolymorphicClassName;
2101
- negative: PolymorphicClassName;
2102
- };
2103
- size: {
2104
- l: PolymorphicClassName;
2105
- m: PolymorphicClassName;
2106
- s: PolymorphicClassName;
2107
- xs: PolymorphicClassName;
2108
- };
2109
- labelPlacement: {
2110
- inner: PolymorphicClassName;
2111
- outer: PolymorphicClassName;
2112
- };
2113
- clear: {
2114
- true: PolymorphicClassName;
2115
- };
2116
- disabled: {
2117
- true: PolymorphicClassName;
2118
- };
2119
- readOnly: {
2120
- true: PolymorphicClassName;
2121
- };
2122
- }> & {
2123
- size?: string | undefined;
2124
- view?: string | undefined;
2125
- readOnly?: boolean | undefined;
2126
- disabled?: boolean | undefined;
2127
- } & {
2128
- label?: string | undefined;
2129
- labelPlacement?: "outer" | "inner" | undefined;
2130
- leftHelper?: string | undefined;
2131
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2132
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2133
- textBefore?: string | undefined;
2134
- textAfter?: string | undefined;
2135
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2136
- } & {
2137
- requiredPlacement?: "right" | "left" | undefined;
2138
- } & {
2139
- optional?: true | undefined;
2140
- required?: false | undefined;
2141
- } & {
2142
- clear?: boolean | undefined;
2143
- hasDivider?: boolean | undefined;
2144
- } & {
2145
- chips?: undefined;
2146
- onChangeChips?: undefined;
2147
- enumerationType?: "plain" | undefined;
2148
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2149
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
2150
- view: {
2151
- default: PolymorphicClassName;
2152
- positive: PolymorphicClassName;
2153
- warning: PolymorphicClassName;
2154
- negative: PolymorphicClassName;
2155
- };
2156
- size: {
2157
- l: PolymorphicClassName;
2158
- m: PolymorphicClassName;
2159
- s: PolymorphicClassName;
2160
- xs: PolymorphicClassName;
2161
- };
2162
- labelPlacement: {
2163
- inner: PolymorphicClassName;
2164
- outer: PolymorphicClassName;
2165
- };
2166
- clear: {
2167
- true: PolymorphicClassName;
2168
- };
2169
- disabled: {
2170
- true: PolymorphicClassName;
2171
- };
2172
- readOnly: {
2173
- true: PolymorphicClassName;
2174
- };
2175
- }> & {
2176
- size?: string | undefined;
2177
- view?: string | undefined;
2178
- readOnly?: boolean | undefined;
2179
- disabled?: boolean | undefined;
2180
- } & {
2181
- label?: string | undefined;
2182
- labelPlacement?: "outer" | "inner" | undefined;
2183
- leftHelper?: string | undefined;
2184
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2185
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2186
- textBefore?: string | undefined;
2187
- textAfter?: string | undefined;
2188
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2189
- } & {
2190
- requiredPlacement?: "right" | "left" | undefined;
2191
- } & {
2192
- optional?: true | undefined;
2193
- required?: false | undefined;
2194
- } & {
2195
- clear?: boolean | undefined;
2196
- hasDivider?: boolean | undefined;
2197
- } & {
2198
- enumerationType: "chip";
2199
- onSearch?: undefined;
2200
- chips?: TextFieldPrimitiveValue[] | undefined;
2201
- onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
2202
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
2203
- view: {
2204
- default: PolymorphicClassName;
2205
- positive: PolymorphicClassName;
2206
- warning: PolymorphicClassName;
2207
- negative: PolymorphicClassName;
2208
- };
2209
- size: {
2210
- l: PolymorphicClassName;
2211
- m: PolymorphicClassName;
2212
- s: PolymorphicClassName;
2213
- xs: PolymorphicClassName;
2214
- };
2215
- labelPlacement: {
2216
- inner: PolymorphicClassName;
2217
- outer: PolymorphicClassName;
2218
- };
2219
- clear: {
2220
- true: PolymorphicClassName;
2221
- };
2222
- disabled: {
2223
- true: PolymorphicClassName;
2224
- };
2225
- readOnly: {
2226
- true: PolymorphicClassName;
2227
- };
2228
- }> & {
2229
- size?: string | undefined;
2230
- view?: string | undefined;
2231
- readOnly?: boolean | undefined;
2232
- disabled?: boolean | undefined;
2233
- } & {
2234
- label?: string | undefined;
2235
- labelPlacement?: "outer" | "inner" | undefined;
2236
- leftHelper?: string | undefined;
2237
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2238
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2239
- textBefore?: string | undefined;
2240
- textAfter?: string | undefined;
2241
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2242
- } & {
2243
- requiredPlacement?: "right" | "left" | undefined;
2244
- } & {
2245
- optional?: true | undefined;
2246
- required?: false | undefined;
2247
- } & {
2248
- clear?: false | undefined;
2249
- hasDivider?: undefined;
2250
- } & {
2251
- chips?: undefined;
2252
- onChangeChips?: undefined;
2253
- enumerationType?: "plain" | undefined;
2254
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2255
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
2256
- view: {
2257
- default: PolymorphicClassName;
2258
- positive: PolymorphicClassName;
2259
- warning: PolymorphicClassName;
2260
- negative: PolymorphicClassName;
2261
- };
2262
- size: {
2263
- l: PolymorphicClassName;
2264
- m: PolymorphicClassName;
2265
- s: PolymorphicClassName;
2266
- xs: PolymorphicClassName;
2267
- };
2268
- labelPlacement: {
2269
- inner: PolymorphicClassName;
2270
- outer: PolymorphicClassName;
2271
- };
2272
- clear: {
2273
- true: PolymorphicClassName;
2274
- };
2275
- disabled: {
2276
- true: PolymorphicClassName;
2277
- };
2278
- readOnly: {
2279
- true: PolymorphicClassName;
2280
- };
2281
- }> & {
2282
- size?: string | undefined;
2283
- view?: string | undefined;
2284
- readOnly?: boolean | undefined;
2285
- disabled?: boolean | undefined;
2286
- } & {
2287
- label?: string | undefined;
2288
- labelPlacement?: "outer" | "inner" | undefined;
2289
- leftHelper?: string | undefined;
2290
- contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2291
- contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
2292
- textBefore?: string | undefined;
2293
- textAfter?: string | undefined;
2294
- onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
2295
- } & {
2296
- requiredPlacement?: "right" | "left" | undefined;
2297
- } & {
2298
- optional?: true | undefined;
2299
- required?: false | undefined;
2300
- } & {
2301
- clear?: false | undefined;
2302
- hasDivider?: undefined;
2303
- } & {
2304
- enumerationType: "chip";
2305
- onSearch?: undefined;
2306
- chips?: TextFieldPrimitiveValue[] | undefined;
2307
- onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
2308
- } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref">) & RefAttributes<HTMLInputElement>>;
1887
+ export const Mask: ForwardRefExoticComponent<(TextFieldProps_3 & MaskProps) & RefAttributes<HTMLInputElement>>;
2309
1888
 
2310
1889
  export { MaxLinesProps }
2311
1890
 
@@ -3125,11 +2704,13 @@ export { TextareaHTMLAttributes }
3125
2704
 
3126
2705
  // Warning: (ae-forgotten-export) The symbol "RequiredProps" needs to be exported by the entry point index.d.ts
3127
2706
  // Warning: (ae-forgotten-export) The symbol "ClearProps" needs to be exported by the entry point index.d.ts
2707
+ // Warning: (ae-forgotten-export) The symbol "HintProps" needs to be exported by the entry point index.d.ts
3128
2708
  //
3129
2709
  // @public (undocumented)
3130
2710
  export type TextAreaProps = TextAreaProps_2 & {
3131
2711
  resize?: 'none' | 'both' | 'horizontal' | 'vertical';
3132
- } & RequiredProps & ClearProps;
2712
+ titleCaption?: ReactNode;
2713
+ } & RequiredProps & ClearProps & RequiredProps & HintProps;
3133
2714
 
3134
2715
  export { TextareaResize }
3135
2716
 
@@ -3184,9 +2765,10 @@ export { TextFieldGroupProps }
3184
2765
  // Warning: (ae-forgotten-export) The symbol "newHopeTextFieldProps" needs to be exported by the entry point index.d.ts
3185
2766
  // Warning: (ae-forgotten-export) The symbol "RequiredProps_2" needs to be exported by the entry point index.d.ts
3186
2767
  // Warning: (ae-forgotten-export) The symbol "ClearProps_2" needs to be exported by the entry point index.d.ts
2768
+ // Warning: (ae-forgotten-export) The symbol "HintProps_2" needs to be exported by the entry point index.d.ts
3187
2769
  //
3188
2770
  // @public (undocumented)
3189
- export type TextFieldProps = (TextFieldProps_2 & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'onChangeChips'>) & RequiredProps_2 & ClearProps_2;
2771
+ export type TextFieldProps = (TextFieldProps_2 & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'onChangeChips' | 'titleCaption'>) & RequiredProps_2 & ClearProps_2 & HintProps_2;
3190
2772
 
3191
2773
  export { TextFieldView }
3192
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;