@salutejs/plasma-web 1.419.0-canary.1458.11343649190.0 → 1.419.0-canary.1459.11345044568.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-web.api.md +9 -429
- package/components/Breadcrumbs/Breadcrumbs.config.js +1 -1
- package/components/Mask/Mask.d.ts +2 -425
- package/components/TextArea/TextArea.config.d.ts +10 -0
- package/components/TextArea/TextArea.config.js +22 -12
- package/components/TextArea/index.d.ts +78 -1
- package/components/TextField/TextField.config.d.ts +10 -0
- package/components/TextField/TextField.config.js +21 -11
- package/components/TextField/TextField.d.ts +71 -282
- package/components/TextField/TextField.js +7 -1
- package/css/cjs/components/Breadcrumbs/Breadcrumbs.config.js +1 -1
- package/css/cjs/components/Breadcrumbs/Breadcrumbs.config.js.map +1 -1
- package/css/cjs/components/Breadcrumbs/{Breadcrumbs.config_b0qlrl.css → Breadcrumbs.config_i0qxb7.css} +1 -1
- package/css/cjs/components/Breadcrumbs/Breadcrumbs.css +5 -5
- package/css/cjs/components/Mask/Mask.css +17 -11
- package/css/cjs/components/Mask/Mask.js.map +1 -1
- package/css/cjs/components/TextArea/TextArea.config.js +13 -3
- package/css/cjs/components/TextArea/TextArea.config.js.map +1 -1
- package/css/cjs/components/TextArea/TextArea.config_o66pnl.css +17 -0
- package/css/cjs/components/TextArea/TextArea.css +16 -10
- package/css/cjs/components/TextField/TextField.config.js +13 -3
- package/css/cjs/components/TextField/TextField.config.js.map +1 -1
- package/css/cjs/components/TextField/TextField.config_owf0ip.css +19 -0
- package/css/cjs/components/TextField/TextField.js +7 -1
- package/css/cjs/components/TextField/TextField.js.map +1 -1
- package/css/cjs/index.css +42 -30
- package/css/es/components/Breadcrumbs/Breadcrumbs.config.js +1 -1
- package/css/es/components/Breadcrumbs/Breadcrumbs.config.js.map +1 -1
- package/css/es/components/Breadcrumbs/{Breadcrumbs.config_b0qlrl.css → Breadcrumbs.config_i0qxb7.css} +1 -1
- package/css/es/components/Breadcrumbs/Breadcrumbs.css +5 -5
- package/css/es/components/Mask/Mask.css +17 -11
- package/css/es/components/Mask/Mask.js.map +1 -1
- package/css/es/components/TextArea/TextArea.config.js +13 -3
- package/css/es/components/TextArea/TextArea.config.js.map +1 -1
- package/css/es/components/TextArea/TextArea.config_o66pnl.css +17 -0
- package/css/es/components/TextArea/TextArea.css +16 -10
- package/css/es/components/TextField/TextField.config.js +13 -3
- package/css/es/components/TextField/TextField.config.js.map +1 -1
- package/css/es/components/TextField/TextField.config_owf0ip.css +19 -0
- package/css/es/components/TextField/TextField.js +7 -1
- package/css/es/components/TextField/TextField.js.map +1 -1
- package/css/es/index.css +42 -30
- package/es/components/Breadcrumbs/Breadcrumbs.config.js +1 -1
- package/es/components/TextArea/TextArea.config.js +22 -12
- package/es/components/TextField/TextField.config.js +21 -11
- package/es/components/TextField/TextField.js +7 -1
- package/package.json +3 -3
- package/temp/plasma-web.api.md +9 -429
- package/css/cjs/components/TextArea/TextArea.config_gz8cpa.css +0 -11
- package/css/cjs/components/TextField/TextField.config_j0ymp0.css +0 -13
- package/css/es/components/TextArea/TextArea.config_gz8cpa.css +0 -11
- package/css/es/components/TextField/TextField.config_j0ymp0.css +0 -13
package/api/plasma-web.api.md
CHANGED
@@ -157,7 +157,6 @@ import { InputHTMLAttributes } from '@salutejs/plasma-core';
|
|
157
157
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from '@salutejs/plasma-new-hope/types/types';
|
158
158
|
import { InputHTMLAttributes as InputHTMLAttributes_3 } from 'react';
|
159
159
|
import { JSXElementConstructor } from 'react';
|
160
|
-
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
161
160
|
import { LineSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
|
162
161
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
163
162
|
import { List } from '@salutejs/plasma-hope';
|
@@ -193,6 +192,9 @@ import { PickOptional } from '@salutejs/plasma-core';
|
|
193
192
|
import { PinProps } from '@salutejs/plasma-core';
|
194
193
|
import { PolymorphicClassName } from '@salutejs/plasma-new-hope/types/engines/types';
|
195
194
|
import { PopoverPlacement } from '@salutejs/plasma-new-hope/styled-components';
|
195
|
+
import type { PopoverPlacement as PopoverPlacement_2 } from '@salutejs/plasma-new-hope';
|
196
|
+
import type { PopoverPlacementBasic } from '@salutejs/plasma-new-hope';
|
197
|
+
import type { PopoverPlacementBasic as PopoverPlacementBasic_2 } from '@salutejs/plasma-new-hope/styled-components';
|
196
198
|
import { PopoverProps } from '@salutejs/plasma-new-hope/styled-components';
|
197
199
|
import { PopoverTrigger } from '@salutejs/plasma-new-hope/styled-components';
|
198
200
|
import { Popup } from '@salutejs/plasma-hope';
|
@@ -282,9 +284,9 @@ import { TextareaHTMLAttributes } from '@salutejs/plasma-core';
|
|
282
284
|
import type { TextAreaProps as TextAreaProps_2 } from '@salutejs/plasma-hope';
|
283
285
|
import { TextareaResize } from '@salutejs/plasma-core';
|
284
286
|
import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
285
|
-
import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
|
286
287
|
import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
287
288
|
import type { TextFieldProps as TextFieldProps_3 } from '@salutejs/plasma-hope';
|
289
|
+
import type { TextFieldProps as TextFieldProps_4 } from '@salutejs/plasma-new-hope/styled-components';
|
288
290
|
import { TextFieldPropsBase } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
|
289
291
|
import { TextFieldView } from '@salutejs/plasma-hope';
|
290
292
|
import { TextSkeletonBaseProps } from '@salutejs/plasma-new-hope/types/components/Skeleton/TextSkeleton/TextSkeleton.types';
|
@@ -2102,431 +2104,7 @@ export { List }
|
|
2102
2104
|
export { ListItem }
|
2103
2105
|
|
2104
2106
|
// @public (undocumented)
|
2105
|
-
export const Mask: ForwardRefExoticComponent<(
|
2106
|
-
view: {
|
2107
|
-
default: PolymorphicClassName;
|
2108
|
-
positive: PolymorphicClassName;
|
2109
|
-
warning: PolymorphicClassName;
|
2110
|
-
negative: PolymorphicClassName;
|
2111
|
-
};
|
2112
|
-
size: {
|
2113
|
-
l: PolymorphicClassName;
|
2114
|
-
m: PolymorphicClassName;
|
2115
|
-
s: PolymorphicClassName;
|
2116
|
-
xs: PolymorphicClassName;
|
2117
|
-
};
|
2118
|
-
labelPlacement: {
|
2119
|
-
inner: PolymorphicClassName;
|
2120
|
-
outer: PolymorphicClassName;
|
2121
|
-
};
|
2122
|
-
clear: {
|
2123
|
-
true: PolymorphicClassName;
|
2124
|
-
};
|
2125
|
-
disabled: {
|
2126
|
-
true: PolymorphicClassName;
|
2127
|
-
};
|
2128
|
-
readOnly: {
|
2129
|
-
true: PolymorphicClassName;
|
2130
|
-
};
|
2131
|
-
}> & {
|
2132
|
-
size?: string | undefined;
|
2133
|
-
view?: string | undefined;
|
2134
|
-
readOnly?: boolean | undefined;
|
2135
|
-
disabled?: boolean | undefined;
|
2136
|
-
} & {
|
2137
|
-
label?: string | undefined;
|
2138
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
2139
|
-
leftHelper?: string | undefined;
|
2140
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2141
|
-
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2142
|
-
textBefore?: string | undefined;
|
2143
|
-
textAfter?: string | undefined;
|
2144
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2145
|
-
} & {
|
2146
|
-
requiredPlacement?: "right" | "left" | undefined;
|
2147
|
-
} & {
|
2148
|
-
required: true;
|
2149
|
-
optional?: false | undefined;
|
2150
|
-
} & {
|
2151
|
-
clear?: boolean | undefined;
|
2152
|
-
hasDivider?: boolean | undefined;
|
2153
|
-
} & {
|
2154
|
-
chips?: undefined;
|
2155
|
-
onChangeChips?: undefined;
|
2156
|
-
enumerationType?: "plain" | undefined;
|
2157
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2158
|
-
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2159
|
-
view: {
|
2160
|
-
default: PolymorphicClassName;
|
2161
|
-
positive: PolymorphicClassName;
|
2162
|
-
warning: PolymorphicClassName;
|
2163
|
-
negative: PolymorphicClassName;
|
2164
|
-
};
|
2165
|
-
size: {
|
2166
|
-
l: PolymorphicClassName;
|
2167
|
-
m: PolymorphicClassName;
|
2168
|
-
s: PolymorphicClassName;
|
2169
|
-
xs: PolymorphicClassName;
|
2170
|
-
};
|
2171
|
-
labelPlacement: {
|
2172
|
-
inner: PolymorphicClassName;
|
2173
|
-
outer: PolymorphicClassName;
|
2174
|
-
};
|
2175
|
-
clear: {
|
2176
|
-
true: PolymorphicClassName;
|
2177
|
-
};
|
2178
|
-
disabled: {
|
2179
|
-
true: PolymorphicClassName;
|
2180
|
-
};
|
2181
|
-
readOnly: {
|
2182
|
-
true: PolymorphicClassName;
|
2183
|
-
};
|
2184
|
-
}> & {
|
2185
|
-
size?: string | undefined;
|
2186
|
-
view?: string | undefined;
|
2187
|
-
readOnly?: boolean | undefined;
|
2188
|
-
disabled?: boolean | undefined;
|
2189
|
-
} & {
|
2190
|
-
label?: string | undefined;
|
2191
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
2192
|
-
leftHelper?: string | undefined;
|
2193
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2194
|
-
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2195
|
-
textBefore?: string | undefined;
|
2196
|
-
textAfter?: string | undefined;
|
2197
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2198
|
-
} & {
|
2199
|
-
requiredPlacement?: "right" | "left" | undefined;
|
2200
|
-
} & {
|
2201
|
-
required: true;
|
2202
|
-
optional?: false | undefined;
|
2203
|
-
} & {
|
2204
|
-
clear?: boolean | undefined;
|
2205
|
-
hasDivider?: boolean | undefined;
|
2206
|
-
} & {
|
2207
|
-
enumerationType: "chip";
|
2208
|
-
onSearch?: undefined;
|
2209
|
-
chips?: TextFieldPrimitiveValue[] | undefined;
|
2210
|
-
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
|
2211
|
-
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2212
|
-
view: {
|
2213
|
-
default: PolymorphicClassName;
|
2214
|
-
positive: PolymorphicClassName;
|
2215
|
-
warning: PolymorphicClassName;
|
2216
|
-
negative: PolymorphicClassName;
|
2217
|
-
};
|
2218
|
-
size: {
|
2219
|
-
l: PolymorphicClassName;
|
2220
|
-
m: PolymorphicClassName;
|
2221
|
-
s: PolymorphicClassName;
|
2222
|
-
xs: PolymorphicClassName;
|
2223
|
-
};
|
2224
|
-
labelPlacement: {
|
2225
|
-
inner: PolymorphicClassName;
|
2226
|
-
outer: PolymorphicClassName;
|
2227
|
-
};
|
2228
|
-
clear: {
|
2229
|
-
true: PolymorphicClassName;
|
2230
|
-
};
|
2231
|
-
disabled: {
|
2232
|
-
true: PolymorphicClassName;
|
2233
|
-
};
|
2234
|
-
readOnly: {
|
2235
|
-
true: PolymorphicClassName;
|
2236
|
-
};
|
2237
|
-
}> & {
|
2238
|
-
size?: string | undefined;
|
2239
|
-
view?: string | undefined;
|
2240
|
-
readOnly?: boolean | undefined;
|
2241
|
-
disabled?: boolean | undefined;
|
2242
|
-
} & {
|
2243
|
-
label?: string | undefined;
|
2244
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
2245
|
-
leftHelper?: string | undefined;
|
2246
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2247
|
-
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2248
|
-
textBefore?: string | undefined;
|
2249
|
-
textAfter?: string | undefined;
|
2250
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2251
|
-
} & {
|
2252
|
-
requiredPlacement?: "right" | "left" | undefined;
|
2253
|
-
} & {
|
2254
|
-
required: true;
|
2255
|
-
optional?: false | undefined;
|
2256
|
-
} & {
|
2257
|
-
clear?: false | undefined;
|
2258
|
-
hasDivider?: undefined;
|
2259
|
-
} & {
|
2260
|
-
chips?: undefined;
|
2261
|
-
onChangeChips?: undefined;
|
2262
|
-
enumerationType?: "plain" | undefined;
|
2263
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2264
|
-
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2265
|
-
view: {
|
2266
|
-
default: PolymorphicClassName;
|
2267
|
-
positive: PolymorphicClassName;
|
2268
|
-
warning: PolymorphicClassName;
|
2269
|
-
negative: PolymorphicClassName;
|
2270
|
-
};
|
2271
|
-
size: {
|
2272
|
-
l: PolymorphicClassName;
|
2273
|
-
m: PolymorphicClassName;
|
2274
|
-
s: PolymorphicClassName;
|
2275
|
-
xs: PolymorphicClassName;
|
2276
|
-
};
|
2277
|
-
labelPlacement: {
|
2278
|
-
inner: PolymorphicClassName;
|
2279
|
-
outer: PolymorphicClassName;
|
2280
|
-
};
|
2281
|
-
clear: {
|
2282
|
-
true: PolymorphicClassName;
|
2283
|
-
};
|
2284
|
-
disabled: {
|
2285
|
-
true: PolymorphicClassName;
|
2286
|
-
};
|
2287
|
-
readOnly: {
|
2288
|
-
true: PolymorphicClassName;
|
2289
|
-
};
|
2290
|
-
}> & {
|
2291
|
-
size?: string | undefined;
|
2292
|
-
view?: string | undefined;
|
2293
|
-
readOnly?: boolean | undefined;
|
2294
|
-
disabled?: boolean | undefined;
|
2295
|
-
} & {
|
2296
|
-
label?: string | undefined;
|
2297
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
2298
|
-
leftHelper?: string | undefined;
|
2299
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2300
|
-
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2301
|
-
textBefore?: string | undefined;
|
2302
|
-
textAfter?: string | undefined;
|
2303
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2304
|
-
} & {
|
2305
|
-
requiredPlacement?: "right" | "left" | undefined;
|
2306
|
-
} & {
|
2307
|
-
required: true;
|
2308
|
-
optional?: false | undefined;
|
2309
|
-
} & {
|
2310
|
-
clear?: false | undefined;
|
2311
|
-
hasDivider?: undefined;
|
2312
|
-
} & {
|
2313
|
-
enumerationType: "chip";
|
2314
|
-
onSearch?: undefined;
|
2315
|
-
chips?: TextFieldPrimitiveValue[] | undefined;
|
2316
|
-
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
|
2317
|
-
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2318
|
-
view: {
|
2319
|
-
default: PolymorphicClassName;
|
2320
|
-
positive: PolymorphicClassName;
|
2321
|
-
warning: PolymorphicClassName;
|
2322
|
-
negative: PolymorphicClassName;
|
2323
|
-
};
|
2324
|
-
size: {
|
2325
|
-
l: PolymorphicClassName;
|
2326
|
-
m: PolymorphicClassName;
|
2327
|
-
s: PolymorphicClassName;
|
2328
|
-
xs: PolymorphicClassName;
|
2329
|
-
};
|
2330
|
-
labelPlacement: {
|
2331
|
-
inner: PolymorphicClassName;
|
2332
|
-
outer: PolymorphicClassName;
|
2333
|
-
};
|
2334
|
-
clear: {
|
2335
|
-
true: PolymorphicClassName;
|
2336
|
-
};
|
2337
|
-
disabled: {
|
2338
|
-
true: PolymorphicClassName;
|
2339
|
-
};
|
2340
|
-
readOnly: {
|
2341
|
-
true: PolymorphicClassName;
|
2342
|
-
};
|
2343
|
-
}> & {
|
2344
|
-
size?: string | undefined;
|
2345
|
-
view?: string | undefined;
|
2346
|
-
readOnly?: boolean | undefined;
|
2347
|
-
disabled?: boolean | undefined;
|
2348
|
-
} & {
|
2349
|
-
label?: string | undefined;
|
2350
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
2351
|
-
leftHelper?: string | undefined;
|
2352
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2353
|
-
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2354
|
-
textBefore?: string | undefined;
|
2355
|
-
textAfter?: string | undefined;
|
2356
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2357
|
-
} & {
|
2358
|
-
requiredPlacement?: "right" | "left" | undefined;
|
2359
|
-
} & {
|
2360
|
-
optional?: true | undefined;
|
2361
|
-
required?: false | undefined;
|
2362
|
-
} & {
|
2363
|
-
clear?: boolean | undefined;
|
2364
|
-
hasDivider?: boolean | undefined;
|
2365
|
-
} & {
|
2366
|
-
chips?: undefined;
|
2367
|
-
onChangeChips?: undefined;
|
2368
|
-
enumerationType?: "plain" | undefined;
|
2369
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2370
|
-
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2371
|
-
view: {
|
2372
|
-
default: PolymorphicClassName;
|
2373
|
-
positive: PolymorphicClassName;
|
2374
|
-
warning: PolymorphicClassName;
|
2375
|
-
negative: PolymorphicClassName;
|
2376
|
-
};
|
2377
|
-
size: {
|
2378
|
-
l: PolymorphicClassName;
|
2379
|
-
m: PolymorphicClassName;
|
2380
|
-
s: PolymorphicClassName;
|
2381
|
-
xs: PolymorphicClassName;
|
2382
|
-
};
|
2383
|
-
labelPlacement: {
|
2384
|
-
inner: PolymorphicClassName;
|
2385
|
-
outer: PolymorphicClassName;
|
2386
|
-
};
|
2387
|
-
clear: {
|
2388
|
-
true: PolymorphicClassName;
|
2389
|
-
};
|
2390
|
-
disabled: {
|
2391
|
-
true: PolymorphicClassName;
|
2392
|
-
};
|
2393
|
-
readOnly: {
|
2394
|
-
true: PolymorphicClassName;
|
2395
|
-
};
|
2396
|
-
}> & {
|
2397
|
-
size?: string | undefined;
|
2398
|
-
view?: string | undefined;
|
2399
|
-
readOnly?: boolean | undefined;
|
2400
|
-
disabled?: boolean | undefined;
|
2401
|
-
} & {
|
2402
|
-
label?: string | undefined;
|
2403
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
2404
|
-
leftHelper?: string | undefined;
|
2405
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2406
|
-
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2407
|
-
textBefore?: string | undefined;
|
2408
|
-
textAfter?: string | undefined;
|
2409
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2410
|
-
} & {
|
2411
|
-
requiredPlacement?: "right" | "left" | undefined;
|
2412
|
-
} & {
|
2413
|
-
optional?: true | undefined;
|
2414
|
-
required?: false | undefined;
|
2415
|
-
} & {
|
2416
|
-
clear?: boolean | undefined;
|
2417
|
-
hasDivider?: boolean | undefined;
|
2418
|
-
} & {
|
2419
|
-
enumerationType: "chip";
|
2420
|
-
onSearch?: undefined;
|
2421
|
-
chips?: TextFieldPrimitiveValue[] | undefined;
|
2422
|
-
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
|
2423
|
-
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2424
|
-
view: {
|
2425
|
-
default: PolymorphicClassName;
|
2426
|
-
positive: PolymorphicClassName;
|
2427
|
-
warning: PolymorphicClassName;
|
2428
|
-
negative: PolymorphicClassName;
|
2429
|
-
};
|
2430
|
-
size: {
|
2431
|
-
l: PolymorphicClassName;
|
2432
|
-
m: PolymorphicClassName;
|
2433
|
-
s: PolymorphicClassName;
|
2434
|
-
xs: PolymorphicClassName;
|
2435
|
-
};
|
2436
|
-
labelPlacement: {
|
2437
|
-
inner: PolymorphicClassName;
|
2438
|
-
outer: PolymorphicClassName;
|
2439
|
-
};
|
2440
|
-
clear: {
|
2441
|
-
true: PolymorphicClassName;
|
2442
|
-
};
|
2443
|
-
disabled: {
|
2444
|
-
true: PolymorphicClassName;
|
2445
|
-
};
|
2446
|
-
readOnly: {
|
2447
|
-
true: PolymorphicClassName;
|
2448
|
-
};
|
2449
|
-
}> & {
|
2450
|
-
size?: string | undefined;
|
2451
|
-
view?: string | undefined;
|
2452
|
-
readOnly?: boolean | undefined;
|
2453
|
-
disabled?: boolean | undefined;
|
2454
|
-
} & {
|
2455
|
-
label?: string | undefined;
|
2456
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
2457
|
-
leftHelper?: string | undefined;
|
2458
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2459
|
-
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2460
|
-
textBefore?: string | undefined;
|
2461
|
-
textAfter?: string | undefined;
|
2462
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2463
|
-
} & {
|
2464
|
-
requiredPlacement?: "right" | "left" | undefined;
|
2465
|
-
} & {
|
2466
|
-
optional?: true | undefined;
|
2467
|
-
required?: false | undefined;
|
2468
|
-
} & {
|
2469
|
-
clear?: false | undefined;
|
2470
|
-
hasDivider?: undefined;
|
2471
|
-
} & {
|
2472
|
-
chips?: undefined;
|
2473
|
-
onChangeChips?: undefined;
|
2474
|
-
enumerationType?: "plain" | undefined;
|
2475
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2476
|
-
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref"> | Omit<PropsType< {
|
2477
|
-
view: {
|
2478
|
-
default: PolymorphicClassName;
|
2479
|
-
positive: PolymorphicClassName;
|
2480
|
-
warning: PolymorphicClassName;
|
2481
|
-
negative: PolymorphicClassName;
|
2482
|
-
};
|
2483
|
-
size: {
|
2484
|
-
l: PolymorphicClassName;
|
2485
|
-
m: PolymorphicClassName;
|
2486
|
-
s: PolymorphicClassName;
|
2487
|
-
xs: PolymorphicClassName;
|
2488
|
-
};
|
2489
|
-
labelPlacement: {
|
2490
|
-
inner: PolymorphicClassName;
|
2491
|
-
outer: PolymorphicClassName;
|
2492
|
-
};
|
2493
|
-
clear: {
|
2494
|
-
true: PolymorphicClassName;
|
2495
|
-
};
|
2496
|
-
disabled: {
|
2497
|
-
true: PolymorphicClassName;
|
2498
|
-
};
|
2499
|
-
readOnly: {
|
2500
|
-
true: PolymorphicClassName;
|
2501
|
-
};
|
2502
|
-
}> & {
|
2503
|
-
size?: string | undefined;
|
2504
|
-
view?: string | undefined;
|
2505
|
-
readOnly?: boolean | undefined;
|
2506
|
-
disabled?: boolean | undefined;
|
2507
|
-
} & {
|
2508
|
-
label?: string | undefined;
|
2509
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
2510
|
-
leftHelper?: string | undefined;
|
2511
|
-
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2512
|
-
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
2513
|
-
textBefore?: string | undefined;
|
2514
|
-
textAfter?: string | undefined;
|
2515
|
-
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
|
2516
|
-
} & {
|
2517
|
-
requiredPlacement?: "right" | "left" | undefined;
|
2518
|
-
} & {
|
2519
|
-
optional?: true | undefined;
|
2520
|
-
required?: false | undefined;
|
2521
|
-
} & {
|
2522
|
-
clear?: false | undefined;
|
2523
|
-
hasDivider?: undefined;
|
2524
|
-
} & {
|
2525
|
-
enumerationType: "chip";
|
2526
|
-
onSearch?: undefined;
|
2527
|
-
chips?: TextFieldPrimitiveValue[] | undefined;
|
2528
|
-
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
|
2529
|
-
} & Omit<InputHTMLAttributes_2<HTMLInputElement>, "size" | "required"> & RefAttributes<HTMLInputElement> & MaskProps, "ref">) & RefAttributes<HTMLInputElement>>;
|
2107
|
+
export const Mask: ForwardRefExoticComponent<(TextFieldProps_4 & MaskProps) & RefAttributes<HTMLInputElement>>;
|
2530
2108
|
|
2531
2109
|
export { MaxLinesProps }
|
2532
2110
|
|
@@ -3346,11 +2924,13 @@ export { TextareaHTMLAttributes }
|
|
3346
2924
|
|
3347
2925
|
// Warning: (ae-forgotten-export) The symbol "RequiredProps" needs to be exported by the entry point index.d.ts
|
3348
2926
|
// Warning: (ae-forgotten-export) The symbol "ClearProps" needs to be exported by the entry point index.d.ts
|
2927
|
+
// Warning: (ae-forgotten-export) The symbol "HintProps" needs to be exported by the entry point index.d.ts
|
3349
2928
|
//
|
3350
2929
|
// @public (undocumented)
|
3351
2930
|
export type TextAreaProps = TextAreaProps_2 & {
|
3352
2931
|
resize?: 'none' | 'both' | 'horizontal' | 'vertical';
|
3353
|
-
|
2932
|
+
titleCaption?: ReactNode;
|
2933
|
+
} & RequiredProps & ClearProps & HintProps;
|
3354
2934
|
|
3355
2935
|
export { TextareaResize }
|
3356
2936
|
|
@@ -3406,7 +2986,7 @@ export { TextFieldGroupProps }
|
|
3406
2986
|
// Warning: (ae-forgotten-export) The symbol "newHopeTextFieldProps" needs to be exported by the entry point index.d.ts
|
3407
2987
|
//
|
3408
2988
|
// @public (undocumented)
|
3409
|
-
export type TextFieldProps = TextFieldProps_2 & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'onChangeChips'>;
|
2989
|
+
export type TextFieldProps = TextFieldProps_2 & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'onChangeChips' | 'titleCaption'>;
|
3410
2990
|
|
3411
2991
|
export { TextFieldView }
|
3412
2992
|
|
@@ -14,7 +14,7 @@ var config = exports.config = {
|
|
14
14
|
},
|
15
15
|
variations: {
|
16
16
|
view: {
|
17
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ":
|
17
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": 0.4;\n ", ": var(--surface-accent);\n "])), _styledComponents.breadcrumbsTokens.breadcrumbsColor, _styledComponents.breadcrumbsTokens.breadcrumbsOpacity, _styledComponents.breadcrumbsTokens.breadcrumbsFocusOutlineColor)
|
18
18
|
},
|
19
19
|
size: {
|
20
20
|
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-bold-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n "])), _styledComponents.breadcrumbsTokens.breadcrumbsGap, _styledComponents.breadcrumbsTokens.breadcrumbsFontFamily, _styledComponents.breadcrumbsTokens.breadcrumbsFontSize, _styledComponents.breadcrumbsTokens.breadcrumbsFontStyle, _styledComponents.breadcrumbsTokens.breadcrumbsFontWeight, _styledComponents.breadcrumbsTokens.breadcrumbsLetterSpacing, _styledComponents.breadcrumbsTokens.breadcrumbsLineHeight),
|