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