@salutejs/plasma-web 1.408.0-canary.1459.11057629608.0 → 1.408.0-canary.1461.11068657609.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-web.api.md +193 -9
- package/components/Mask/Mask.d.ts +189 -2
- package/components/TextArea/TextArea.config.d.ts +0 -9
- package/components/TextArea/TextArea.config.js +11 -20
- 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 +133 -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 +2 -11
- package/css/cjs/components/TextArea/TextArea.config.js.map +1 -1
- package/css/cjs/components/TextArea/{TextArea.config_x2q794.css → TextArea.config_2vh2du.css} +10 -15
- package/css/cjs/components/TextArea/TextArea.css +10 -15
- 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_1sbw8b3.css +12 -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 +23 -34
- 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 +2 -11
- package/css/es/components/TextArea/TextArea.config.js.map +1 -1
- package/css/es/components/TextArea/{TextArea.config_x2q794.css → TextArea.config_2vh2du.css} +10 -15
- package/css/es/components/TextArea/TextArea.css +10 -15
- 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_1sbw8b3.css +12 -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 +23 -34
- package/es/components/TextArea/TextArea.config.js +11 -20
- 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 +193 -9
- package/css/cjs/components/TextField/TextField.config_154a2c1.css +0 -18
- package/css/es/components/TextField/TextField.config_154a2c1.css +0 -18
package/api/plasma-web.api.md
CHANGED
@@ -153,6 +153,7 @@ import { InputHTMLAttributes } from '@salutejs/plasma-core';
|
|
153
153
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from '@salutejs/plasma-new-hope/types/types';
|
154
154
|
import { InputHTMLAttributes as InputHTMLAttributes_3 } from 'react';
|
155
155
|
import { JSXElementConstructor } from 'react';
|
156
|
+
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
156
157
|
import { LineSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
|
157
158
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
158
159
|
import { List } from '@salutejs/plasma-hope';
|
@@ -188,9 +189,6 @@ import { PickOptional } from '@salutejs/plasma-core';
|
|
188
189
|
import { PinProps } from '@salutejs/plasma-core';
|
189
190
|
import { PolymorphicClassName } from '@salutejs/plasma-new-hope/types/engines/types';
|
190
191
|
import { PopoverPlacement } from '@salutejs/plasma-new-hope/styled-components';
|
191
|
-
import type { PopoverPlacement as PopoverPlacement_2 } from '@salutejs/plasma-new-hope';
|
192
|
-
import type { PopoverPlacementBasic } from '@salutejs/plasma-new-hope';
|
193
|
-
import type { PopoverPlacementBasic as PopoverPlacementBasic_2 } from '@salutejs/plasma-new-hope/styled-components';
|
194
192
|
import { PopoverProps } from '@salutejs/plasma-new-hope/styled-components';
|
195
193
|
import { PopoverTrigger } from '@salutejs/plasma-new-hope/styled-components';
|
196
194
|
import { Popup } from '@salutejs/plasma-hope';
|
@@ -279,9 +277,9 @@ import { TextareaHTMLAttributes } from '@salutejs/plasma-core';
|
|
279
277
|
import type { TextAreaProps as TextAreaProps_2 } from '@salutejs/plasma-hope';
|
280
278
|
import { TextareaResize } from '@salutejs/plasma-core';
|
281
279
|
import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
280
|
+
import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
|
282
281
|
import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
283
282
|
import type { TextFieldProps as TextFieldProps_3 } from '@salutejs/plasma-hope';
|
284
|
-
import type { TextFieldProps as TextFieldProps_4 } from '@salutejs/plasma-new-hope/styled-components';
|
285
283
|
import { TextFieldPropsBase } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
|
286
284
|
import { TextFieldView } from '@salutejs/plasma-hope';
|
287
285
|
import { TextSkeletonBaseProps } from '@salutejs/plasma-new-hope/types/components/Skeleton/TextSkeleton/TextSkeleton.types';
|
@@ -2091,7 +2089,195 @@ export { List }
|
|
2091
2089
|
export { ListItem }
|
2092
2090
|
|
2093
2091
|
// @public (undocumented)
|
2094
|
-
export const Mask: ForwardRefExoticComponent<(
|
2092
|
+
export const Mask: ForwardRefExoticComponent<(Omit<PropsType< {
|
2093
|
+
view: {
|
2094
|
+
default: PolymorphicClassName;
|
2095
|
+
positive: PolymorphicClassName;
|
2096
|
+
warning: PolymorphicClassName;
|
2097
|
+
negative: PolymorphicClassName;
|
2098
|
+
};
|
2099
|
+
size: {
|
2100
|
+
l: PolymorphicClassName;
|
2101
|
+
m: PolymorphicClassName;
|
2102
|
+
s: PolymorphicClassName;
|
2103
|
+
xs: PolymorphicClassName;
|
2104
|
+
};
|
2105
|
+
labelPlacement: {
|
2106
|
+
inner: PolymorphicClassName;
|
2107
|
+
outer: PolymorphicClassName;
|
2108
|
+
};
|
2109
|
+
disabled: {
|
2110
|
+
true: PolymorphicClassName;
|
2111
|
+
};
|
2112
|
+
readOnly: {
|
2113
|
+
true: PolymorphicClassName;
|
2114
|
+
};
|
2115
|
+
}> & {
|
2116
|
+
size?: string | undefined;
|
2117
|
+
view?: string | undefined;
|
2118
|
+
readOnly?: boolean | undefined;
|
2119
|
+
disabled?: boolean | undefined;
|
2120
|
+
} & {
|
2121
|
+
label?: string | undefined;
|
2122
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2123
|
+
leftHelper?: string | undefined;
|
2124
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2125
|
+
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2126
|
+
textBefore?: string | undefined;
|
2127
|
+
textAfter?: string | undefined;
|
2128
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2129
|
+
} & {
|
2130
|
+
requiredPlacement?: "right" | "left" | undefined;
|
2131
|
+
} & {
|
2132
|
+
required: true;
|
2133
|
+
optional?: false | undefined;
|
2134
|
+
} & {
|
2135
|
+
chips?: undefined;
|
2136
|
+
onChangeChips?: undefined;
|
2137
|
+
enumerationType?: "plain" | undefined;
|
2138
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2139
|
+
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2140
|
+
view: {
|
2141
|
+
default: PolymorphicClassName;
|
2142
|
+
positive: PolymorphicClassName;
|
2143
|
+
warning: PolymorphicClassName;
|
2144
|
+
negative: PolymorphicClassName;
|
2145
|
+
};
|
2146
|
+
size: {
|
2147
|
+
l: PolymorphicClassName;
|
2148
|
+
m: PolymorphicClassName;
|
2149
|
+
s: PolymorphicClassName;
|
2150
|
+
xs: PolymorphicClassName;
|
2151
|
+
};
|
2152
|
+
labelPlacement: {
|
2153
|
+
inner: PolymorphicClassName;
|
2154
|
+
outer: PolymorphicClassName;
|
2155
|
+
};
|
2156
|
+
disabled: {
|
2157
|
+
true: PolymorphicClassName;
|
2158
|
+
};
|
2159
|
+
readOnly: {
|
2160
|
+
true: PolymorphicClassName;
|
2161
|
+
};
|
2162
|
+
}> & {
|
2163
|
+
size?: string | undefined;
|
2164
|
+
view?: string | undefined;
|
2165
|
+
readOnly?: boolean | undefined;
|
2166
|
+
disabled?: boolean | undefined;
|
2167
|
+
} & {
|
2168
|
+
label?: string | undefined;
|
2169
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2170
|
+
leftHelper?: string | undefined;
|
2171
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2172
|
+
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2173
|
+
textBefore?: string | undefined;
|
2174
|
+
textAfter?: string | undefined;
|
2175
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2176
|
+
} & {
|
2177
|
+
requiredPlacement?: "right" | "left" | undefined;
|
2178
|
+
} & {
|
2179
|
+
required: true;
|
2180
|
+
optional?: false | undefined;
|
2181
|
+
} & {
|
2182
|
+
enumerationType: "chip";
|
2183
|
+
onSearch?: undefined;
|
2184
|
+
chips?: TextFieldPrimitiveValue[] | undefined;
|
2185
|
+
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
|
2186
|
+
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2187
|
+
view: {
|
2188
|
+
default: PolymorphicClassName;
|
2189
|
+
positive: PolymorphicClassName;
|
2190
|
+
warning: PolymorphicClassName;
|
2191
|
+
negative: PolymorphicClassName;
|
2192
|
+
};
|
2193
|
+
size: {
|
2194
|
+
l: PolymorphicClassName;
|
2195
|
+
m: PolymorphicClassName;
|
2196
|
+
s: PolymorphicClassName;
|
2197
|
+
xs: PolymorphicClassName;
|
2198
|
+
};
|
2199
|
+
labelPlacement: {
|
2200
|
+
inner: PolymorphicClassName;
|
2201
|
+
outer: PolymorphicClassName;
|
2202
|
+
};
|
2203
|
+
disabled: {
|
2204
|
+
true: PolymorphicClassName;
|
2205
|
+
};
|
2206
|
+
readOnly: {
|
2207
|
+
true: PolymorphicClassName;
|
2208
|
+
};
|
2209
|
+
}> & {
|
2210
|
+
size?: string | undefined;
|
2211
|
+
view?: string | undefined;
|
2212
|
+
readOnly?: boolean | undefined;
|
2213
|
+
disabled?: boolean | undefined;
|
2214
|
+
} & {
|
2215
|
+
label?: string | undefined;
|
2216
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2217
|
+
leftHelper?: string | undefined;
|
2218
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2219
|
+
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2220
|
+
textBefore?: string | undefined;
|
2221
|
+
textAfter?: string | undefined;
|
2222
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2223
|
+
} & {
|
2224
|
+
requiredPlacement?: "right" | "left" | undefined;
|
2225
|
+
} & {
|
2226
|
+
optional?: true | undefined;
|
2227
|
+
required?: false | undefined;
|
2228
|
+
} & {
|
2229
|
+
chips?: undefined;
|
2230
|
+
onChangeChips?: undefined;
|
2231
|
+
enumerationType?: "plain" | undefined;
|
2232
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2233
|
+
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2234
|
+
view: {
|
2235
|
+
default: PolymorphicClassName;
|
2236
|
+
positive: PolymorphicClassName;
|
2237
|
+
warning: PolymorphicClassName;
|
2238
|
+
negative: PolymorphicClassName;
|
2239
|
+
};
|
2240
|
+
size: {
|
2241
|
+
l: PolymorphicClassName;
|
2242
|
+
m: PolymorphicClassName;
|
2243
|
+
s: PolymorphicClassName;
|
2244
|
+
xs: PolymorphicClassName;
|
2245
|
+
};
|
2246
|
+
labelPlacement: {
|
2247
|
+
inner: PolymorphicClassName;
|
2248
|
+
outer: PolymorphicClassName;
|
2249
|
+
};
|
2250
|
+
disabled: {
|
2251
|
+
true: PolymorphicClassName;
|
2252
|
+
};
|
2253
|
+
readOnly: {
|
2254
|
+
true: PolymorphicClassName;
|
2255
|
+
};
|
2256
|
+
}> & {
|
2257
|
+
size?: string | undefined;
|
2258
|
+
view?: string | undefined;
|
2259
|
+
readOnly?: boolean | undefined;
|
2260
|
+
disabled?: boolean | undefined;
|
2261
|
+
} & {
|
2262
|
+
label?: string | undefined;
|
2263
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2264
|
+
leftHelper?: string | undefined;
|
2265
|
+
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2266
|
+
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2267
|
+
textBefore?: string | undefined;
|
2268
|
+
textAfter?: string | undefined;
|
2269
|
+
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2270
|
+
} & {
|
2271
|
+
requiredPlacement?: "right" | "left" | undefined;
|
2272
|
+
} & {
|
2273
|
+
optional?: true | undefined;
|
2274
|
+
required?: false | undefined;
|
2275
|
+
} & {
|
2276
|
+
enumerationType: "chip";
|
2277
|
+
onSearch?: undefined;
|
2278
|
+
chips?: TextFieldPrimitiveValue[] | undefined;
|
2279
|
+
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
|
2280
|
+
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref">) & RefAttributes<HTMLInputElement>>;
|
2095
2281
|
|
2096
2282
|
export { MaxLinesProps }
|
2097
2283
|
|
@@ -2849,13 +3035,11 @@ export const TextArea: ForwardRefExoticComponent<TextAreaProps & RefAttributes<H
|
|
2849
3035
|
export { TextareaHTMLAttributes }
|
2850
3036
|
|
2851
3037
|
// Warning: (ae-forgotten-export) The symbol "RequiredProps" needs to be exported by the entry point index.d.ts
|
2852
|
-
// Warning: (ae-forgotten-export) The symbol "HintProps" needs to be exported by the entry point index.d.ts
|
2853
3038
|
//
|
2854
3039
|
// @public (undocumented)
|
2855
3040
|
export type TextAreaProps = TextAreaProps_2 & {
|
2856
3041
|
resize?: 'none' | 'both' | 'horizontal' | 'vertical';
|
2857
|
-
|
2858
|
-
} & RequiredProps & HintProps;
|
3042
|
+
} & RequiredProps;
|
2859
3043
|
|
2860
3044
|
export { TextareaResize }
|
2861
3045
|
|
@@ -2911,7 +3095,7 @@ export { TextFieldGroupProps }
|
|
2911
3095
|
// Warning: (ae-forgotten-export) The symbol "newHopeTextFieldProps" needs to be exported by the entry point index.d.ts
|
2912
3096
|
//
|
2913
3097
|
// @public (undocumented)
|
2914
|
-
export type TextFieldProps = TextFieldProps_2 & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'onChangeChips'
|
3098
|
+
export type TextFieldProps = TextFieldProps_2 & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'onChangeChips'>;
|
2915
3099
|
|
2916
3100
|
export { TextFieldView }
|
2917
3101
|
|
@@ -1,3 +1,190 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
|
3
|
-
|
2
|
+
export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
3
|
+
view: {
|
4
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
|
+
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
+
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
+
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
8
|
+
};
|
9
|
+
size: {
|
10
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
|
+
};
|
15
|
+
labelPlacement: {
|
16
|
+
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
17
|
+
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
18
|
+
};
|
19
|
+
disabled: {
|
20
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
21
|
+
};
|
22
|
+
readOnly: {
|
23
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
24
|
+
};
|
25
|
+
}> & {
|
26
|
+
size?: string | undefined;
|
27
|
+
view?: string | undefined;
|
28
|
+
readOnly?: boolean | undefined;
|
29
|
+
disabled?: boolean | undefined;
|
30
|
+
} & {
|
31
|
+
label?: string | undefined;
|
32
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
33
|
+
leftHelper?: string | undefined;
|
34
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
35
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
36
|
+
textBefore?: string | undefined;
|
37
|
+
textAfter?: string | undefined;
|
38
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
39
|
+
} & {
|
40
|
+
requiredPlacement?: "right" | "left" | undefined;
|
41
|
+
} & {
|
42
|
+
required: true;
|
43
|
+
optional?: false | undefined;
|
44
|
+
} & {
|
45
|
+
chips?: undefined;
|
46
|
+
onChangeChips?: undefined;
|
47
|
+
enumerationType?: "plain" | undefined;
|
48
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
49
|
+
} & Omit<import("@salutejs/plasma-new-hope/types/types").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
50
|
+
view: {
|
51
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
52
|
+
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
53
|
+
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
54
|
+
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
55
|
+
};
|
56
|
+
size: {
|
57
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
58
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
59
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
60
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
61
|
+
};
|
62
|
+
labelPlacement: {
|
63
|
+
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
64
|
+
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
65
|
+
};
|
66
|
+
disabled: {
|
67
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
68
|
+
};
|
69
|
+
readOnly: {
|
70
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
71
|
+
};
|
72
|
+
}> & {
|
73
|
+
size?: string | undefined;
|
74
|
+
view?: string | undefined;
|
75
|
+
readOnly?: boolean | undefined;
|
76
|
+
disabled?: boolean | undefined;
|
77
|
+
} & {
|
78
|
+
label?: string | undefined;
|
79
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
80
|
+
leftHelper?: string | undefined;
|
81
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
82
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
83
|
+
textBefore?: string | undefined;
|
84
|
+
textAfter?: string | undefined;
|
85
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
86
|
+
} & {
|
87
|
+
requiredPlacement?: "right" | "left" | undefined;
|
88
|
+
} & {
|
89
|
+
required: true;
|
90
|
+
optional?: false | undefined;
|
91
|
+
} & {
|
92
|
+
enumerationType: "chip";
|
93
|
+
onSearch?: undefined;
|
94
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
95
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
96
|
+
} & Omit<import("@salutejs/plasma-new-hope/types/types").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
97
|
+
view: {
|
98
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
99
|
+
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
100
|
+
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
101
|
+
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
102
|
+
};
|
103
|
+
size: {
|
104
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
105
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
106
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
107
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
108
|
+
};
|
109
|
+
labelPlacement: {
|
110
|
+
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
111
|
+
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
112
|
+
};
|
113
|
+
disabled: {
|
114
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
115
|
+
};
|
116
|
+
readOnly: {
|
117
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
118
|
+
};
|
119
|
+
}> & {
|
120
|
+
size?: string | undefined;
|
121
|
+
view?: string | undefined;
|
122
|
+
readOnly?: boolean | undefined;
|
123
|
+
disabled?: boolean | undefined;
|
124
|
+
} & {
|
125
|
+
label?: string | undefined;
|
126
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
127
|
+
leftHelper?: string | undefined;
|
128
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
129
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
130
|
+
textBefore?: string | undefined;
|
131
|
+
textAfter?: string | undefined;
|
132
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
133
|
+
} & {
|
134
|
+
requiredPlacement?: "right" | "left" | undefined;
|
135
|
+
} & {
|
136
|
+
optional?: true | undefined;
|
137
|
+
required?: false | undefined;
|
138
|
+
} & {
|
139
|
+
chips?: undefined;
|
140
|
+
onChangeChips?: undefined;
|
141
|
+
enumerationType?: "plain" | undefined;
|
142
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
143
|
+
} & Omit<import("@salutejs/plasma-new-hope/types/types").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
144
|
+
view: {
|
145
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
146
|
+
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
147
|
+
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
148
|
+
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
149
|
+
};
|
150
|
+
size: {
|
151
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
152
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
153
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
154
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
155
|
+
};
|
156
|
+
labelPlacement: {
|
157
|
+
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
158
|
+
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
159
|
+
};
|
160
|
+
disabled: {
|
161
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
162
|
+
};
|
163
|
+
readOnly: {
|
164
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
165
|
+
};
|
166
|
+
}> & {
|
167
|
+
size?: string | undefined;
|
168
|
+
view?: string | undefined;
|
169
|
+
readOnly?: boolean | undefined;
|
170
|
+
disabled?: boolean | undefined;
|
171
|
+
} & {
|
172
|
+
label?: string | undefined;
|
173
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
174
|
+
leftHelper?: string | undefined;
|
175
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
176
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
177
|
+
textBefore?: string | undefined;
|
178
|
+
textAfter?: string | undefined;
|
179
|
+
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
180
|
+
} & {
|
181
|
+
requiredPlacement?: "right" | "left" | undefined;
|
182
|
+
} & {
|
183
|
+
optional?: true | undefined;
|
184
|
+
required?: false | undefined;
|
185
|
+
} & {
|
186
|
+
enumerationType: "chip";
|
187
|
+
onSearch?: undefined;
|
188
|
+
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
189
|
+
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
190
|
+
} & Omit<import("@salutejs/plasma-new-hope/types/types").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref">) & import("react").RefAttributes<HTMLInputElement>>;
|
@@ -21,15 +21,6 @@ export declare const config: {
|
|
21
21
|
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
22
22
|
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
23
23
|
};
|
24
|
-
hintView: {
|
25
|
-
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
26
|
-
onDark: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
27
|
-
onLight: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
28
|
-
};
|
29
|
-
hintSize: {
|
30
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
31
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
32
|
-
};
|
33
24
|
disabled: {
|
34
25
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
35
26
|
};
|