@salutejs/plasma-b2c 1.417.0-canary.1459.11345044568.0 → 1.417.0-canary.1470.11343749799.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-b2c.api.md +436 -236
- package/components/Combobox/Combobox.d.ts +126 -6
- package/components/Combobox/index.d.ts +12 -227
- package/components/Combobox/index.js +6 -2
- package/components/Mask/Mask.d.ts +425 -2
- package/components/TextArea/TextArea.config.d.ts +1 -11
- package/components/TextArea/TextArea.config.js +13 -23
- 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 +278 -71
- package/components/TextField/TextField.js +1 -7
- package/css/cjs/components/Combobox/index.js +6 -2
- package/css/cjs/components/Combobox/index.js.map +1 -1
- 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 +4 -14
- package/css/cjs/components/TextArea/TextArea.config.js.map +1 -1
- package/css/cjs/components/TextArea/{TextArea.config_lr7df6.css → TextArea.config_1g56huc.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_o06qtv.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/Combobox/index.js +6 -2
- package/css/es/components/Combobox/index.js.map +1 -1
- 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 +4 -14
- package/css/es/components/TextArea/TextArea.config.js.map +1 -1
- package/css/es/components/TextArea/{TextArea.config_lr7df6.css → TextArea.config_1g56huc.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_o06qtv.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/Combobox/index.js +6 -3
- package/es/components/TextArea/TextArea.config.js +13 -23
- 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-b2c.api.md +436 -236
- package/css/cjs/components/TextField/TextField.config_dt66zs.css +0 -19
- package/css/es/components/TextField/TextField.config_dt66zs.css +0 -19
package/api/plasma-b2c.api.md
CHANGED
@@ -42,7 +42,6 @@ import { BaseCallbackKeyboardInstance } from '@salutejs/plasma-new-hope/types/co
|
|
42
42
|
import { BaseProps } from '@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types';
|
43
43
|
import { BaseTabItemProps } from '@salutejs/plasma-new-hope/types/components/Tabs/TabItem.types';
|
44
44
|
import { BaseTabsProps } from '@salutejs/plasma-new-hope/types/components/Tabs/Tabs.types';
|
45
|
-
import { BasicProps } from '@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types';
|
46
45
|
import { BlurProps } from '@salutejs/plasma-core';
|
47
46
|
import { blurs } from '@salutejs/plasma-core';
|
48
47
|
import { BoldProps } from '@salutejs/plasma-new-hope/types/components/Typography/Typography.types';
|
@@ -95,6 +94,7 @@ import { ColProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
95
94
|
import { ColSizeProps } from '@salutejs/plasma-new-hope/styled-components';
|
96
95
|
import { ComboboxPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types';
|
97
96
|
import { ComboboxOldProps as ComboboxProps } from '@salutejs/plasma-new-hope/styled-components';
|
97
|
+
import type { ComboboxProps as ComboboxProps_2 } from '@salutejs/plasma-new-hope';
|
98
98
|
import { ComponentClass } from 'react';
|
99
99
|
import { ComponentProps } from 'react';
|
100
100
|
import { GridProps as ContainerProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -156,7 +156,10 @@ import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
156
156
|
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
|
+
import type { ItemOption } from '@salutejs/plasma-new-hope';
|
160
|
+
import { ItemOption as ItemOption_2 } from '@salutejs/plasma-new-hope/styled-components';
|
159
161
|
import { JSXElementConstructor } from 'react';
|
162
|
+
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
160
163
|
import { LineSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
|
161
164
|
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
162
165
|
import { List } from '@salutejs/plasma-hope';
|
@@ -175,6 +178,7 @@ import { ModalView } from '@salutejs/plasma-hope';
|
|
175
178
|
import { monthLongName } from '@salutejs/plasma-core';
|
176
179
|
import { monthShortName } from '@salutejs/plasma-core';
|
177
180
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
181
|
+
import { MutableRefObject } from 'react';
|
178
182
|
import { NotificationIconPlacement } from '@salutejs/plasma-new-hope/styled-components';
|
179
183
|
import { NotificationLayout } from '@salutejs/plasma-new-hope/styled-components';
|
180
184
|
import { NotificationProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -192,9 +196,6 @@ import { PickOptional } from '@salutejs/plasma-core';
|
|
192
196
|
import { PinProps } from '@salutejs/plasma-core';
|
193
197
|
import { PolymorphicClassName } from '@salutejs/plasma-new-hope/types/engines/types';
|
194
198
|
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';
|
198
199
|
import { PopoverProps } from '@salutejs/plasma-new-hope/styled-components';
|
199
200
|
import { PopoverTrigger } from '@salutejs/plasma-new-hope/styled-components';
|
200
201
|
import { Popup } from '@salutejs/plasma-hope';
|
@@ -284,9 +285,9 @@ import { TextareaHTMLAttributes } from '@salutejs/plasma-core';
|
|
284
285
|
import type { TextAreaProps as TextAreaProps_2 } from '@salutejs/plasma-hope';
|
285
286
|
import { TextareaResize } from '@salutejs/plasma-core';
|
286
287
|
import { TextFieldGroupProps } from '@salutejs/plasma-new-hope/styled-components';
|
288
|
+
import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
|
287
289
|
import { TextfieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
288
290
|
import type { TextFieldProps as TextFieldProps_2 } from '@salutejs/plasma-hope';
|
289
|
-
import type { TextFieldProps as TextFieldProps_3 } from '@salutejs/plasma-new-hope/styled-components';
|
290
291
|
import { TextFieldPropsBase } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
|
291
292
|
import { TextFieldView } from '@salutejs/plasma-hope';
|
292
293
|
import { TextSkeletonBaseProps } from '@salutejs/plasma-new-hope/types/components/Skeleton/TextSkeleton/TextSkeleton.types';
|
@@ -1225,232 +1226,10 @@ export { ColProps }
|
|
1225
1226
|
|
1226
1227
|
export { ColSizeProps }
|
1227
1228
|
|
1229
|
+
// Warning: (ae-forgotten-export) The symbol "CommonProps" needs to be exported by the entry point index.d.ts
|
1230
|
+
//
|
1228
1231
|
// @public (undocumented)
|
1229
|
-
export const Combobox:
|
1230
|
-
view: {
|
1231
|
-
default: PolymorphicClassName;
|
1232
|
-
positive: PolymorphicClassName;
|
1233
|
-
warning: PolymorphicClassName;
|
1234
|
-
negative: PolymorphicClassName;
|
1235
|
-
};
|
1236
|
-
size: {
|
1237
|
-
l: PolymorphicClassName;
|
1238
|
-
m: PolymorphicClassName;
|
1239
|
-
s: PolymorphicClassName;
|
1240
|
-
xs: PolymorphicClassName;
|
1241
|
-
};
|
1242
|
-
labelPlacement: {
|
1243
|
-
inner: PolymorphicClassName;
|
1244
|
-
outer: PolymorphicClassName;
|
1245
|
-
};
|
1246
|
-
disabled: {
|
1247
|
-
true: PolymorphicClassName;
|
1248
|
-
};
|
1249
|
-
readOnly: {
|
1250
|
-
true: PolymorphicClassName;
|
1251
|
-
};
|
1252
|
-
}> & BasicProps & {
|
1253
|
-
readOnly?: boolean | undefined;
|
1254
|
-
disabled?: true | undefined;
|
1255
|
-
alwaysOpened?: false | undefined;
|
1256
|
-
} & {
|
1257
|
-
multiple?: false | undefined;
|
1258
|
-
value?: string | undefined;
|
1259
|
-
onChange?: ((value: string) => void) | undefined;
|
1260
|
-
isTargetAmount?: false | undefined;
|
1261
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
|
1262
|
-
view: {
|
1263
|
-
default: PolymorphicClassName;
|
1264
|
-
positive: PolymorphicClassName;
|
1265
|
-
warning: PolymorphicClassName;
|
1266
|
-
negative: PolymorphicClassName;
|
1267
|
-
};
|
1268
|
-
size: {
|
1269
|
-
l: PolymorphicClassName;
|
1270
|
-
m: PolymorphicClassName;
|
1271
|
-
s: PolymorphicClassName;
|
1272
|
-
xs: PolymorphicClassName;
|
1273
|
-
};
|
1274
|
-
labelPlacement: {
|
1275
|
-
inner: PolymorphicClassName;
|
1276
|
-
outer: PolymorphicClassName;
|
1277
|
-
};
|
1278
|
-
disabled: {
|
1279
|
-
true: PolymorphicClassName;
|
1280
|
-
};
|
1281
|
-
readOnly: {
|
1282
|
-
true: PolymorphicClassName;
|
1283
|
-
};
|
1284
|
-
}> & BasicProps & {
|
1285
|
-
readOnly?: boolean | undefined;
|
1286
|
-
disabled?: true | undefined;
|
1287
|
-
alwaysOpened?: false | undefined;
|
1288
|
-
} & {
|
1289
|
-
multiple: true;
|
1290
|
-
value?: string[] | undefined;
|
1291
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1292
|
-
isTargetAmount?: boolean | undefined;
|
1293
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
|
1294
|
-
view: {
|
1295
|
-
default: PolymorphicClassName;
|
1296
|
-
positive: PolymorphicClassName;
|
1297
|
-
warning: PolymorphicClassName;
|
1298
|
-
negative: PolymorphicClassName;
|
1299
|
-
};
|
1300
|
-
size: {
|
1301
|
-
l: PolymorphicClassName;
|
1302
|
-
m: PolymorphicClassName;
|
1303
|
-
s: PolymorphicClassName;
|
1304
|
-
xs: PolymorphicClassName;
|
1305
|
-
};
|
1306
|
-
labelPlacement: {
|
1307
|
-
inner: PolymorphicClassName;
|
1308
|
-
outer: PolymorphicClassName;
|
1309
|
-
};
|
1310
|
-
disabled: {
|
1311
|
-
true: PolymorphicClassName;
|
1312
|
-
};
|
1313
|
-
readOnly: {
|
1314
|
-
true: PolymorphicClassName;
|
1315
|
-
};
|
1316
|
-
}> & BasicProps & {
|
1317
|
-
readOnly?: true | undefined;
|
1318
|
-
disabled?: boolean | undefined;
|
1319
|
-
alwaysOpened?: false | undefined;
|
1320
|
-
} & {
|
1321
|
-
multiple?: false | undefined;
|
1322
|
-
value?: string | undefined;
|
1323
|
-
onChange?: ((value: string) => void) | undefined;
|
1324
|
-
isTargetAmount?: false | undefined;
|
1325
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
|
1326
|
-
view: {
|
1327
|
-
default: PolymorphicClassName;
|
1328
|
-
positive: PolymorphicClassName;
|
1329
|
-
warning: PolymorphicClassName;
|
1330
|
-
negative: PolymorphicClassName;
|
1331
|
-
};
|
1332
|
-
size: {
|
1333
|
-
l: PolymorphicClassName;
|
1334
|
-
m: PolymorphicClassName;
|
1335
|
-
s: PolymorphicClassName;
|
1336
|
-
xs: PolymorphicClassName;
|
1337
|
-
};
|
1338
|
-
labelPlacement: {
|
1339
|
-
inner: PolymorphicClassName;
|
1340
|
-
outer: PolymorphicClassName;
|
1341
|
-
};
|
1342
|
-
disabled: {
|
1343
|
-
true: PolymorphicClassName;
|
1344
|
-
};
|
1345
|
-
readOnly: {
|
1346
|
-
true: PolymorphicClassName;
|
1347
|
-
};
|
1348
|
-
}> & BasicProps & {
|
1349
|
-
readOnly?: true | undefined;
|
1350
|
-
disabled?: boolean | undefined;
|
1351
|
-
alwaysOpened?: false | undefined;
|
1352
|
-
} & {
|
1353
|
-
multiple: true;
|
1354
|
-
value?: string[] | undefined;
|
1355
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1356
|
-
isTargetAmount?: boolean | undefined;
|
1357
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
|
1358
|
-
view: {
|
1359
|
-
default: PolymorphicClassName;
|
1360
|
-
positive: PolymorphicClassName;
|
1361
|
-
warning: PolymorphicClassName;
|
1362
|
-
negative: PolymorphicClassName;
|
1363
|
-
};
|
1364
|
-
size: {
|
1365
|
-
l: PolymorphicClassName;
|
1366
|
-
m: PolymorphicClassName;
|
1367
|
-
s: PolymorphicClassName;
|
1368
|
-
xs: PolymorphicClassName;
|
1369
|
-
};
|
1370
|
-
labelPlacement: {
|
1371
|
-
inner: PolymorphicClassName;
|
1372
|
-
outer: PolymorphicClassName;
|
1373
|
-
};
|
1374
|
-
disabled: {
|
1375
|
-
true: PolymorphicClassName;
|
1376
|
-
};
|
1377
|
-
readOnly: {
|
1378
|
-
true: PolymorphicClassName;
|
1379
|
-
};
|
1380
|
-
}> & BasicProps & {
|
1381
|
-
readOnly?: false | undefined;
|
1382
|
-
disabled?: false | undefined;
|
1383
|
-
alwaysOpened?: true | undefined;
|
1384
|
-
} & {
|
1385
|
-
multiple?: false | undefined;
|
1386
|
-
value?: string | undefined;
|
1387
|
-
onChange?: ((value: string) => void) | undefined;
|
1388
|
-
isTargetAmount?: false | undefined;
|
1389
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
|
1390
|
-
view: {
|
1391
|
-
default: PolymorphicClassName;
|
1392
|
-
positive: PolymorphicClassName;
|
1393
|
-
warning: PolymorphicClassName;
|
1394
|
-
negative: PolymorphicClassName;
|
1395
|
-
};
|
1396
|
-
size: {
|
1397
|
-
l: PolymorphicClassName;
|
1398
|
-
m: PolymorphicClassName;
|
1399
|
-
s: PolymorphicClassName;
|
1400
|
-
xs: PolymorphicClassName;
|
1401
|
-
};
|
1402
|
-
labelPlacement: {
|
1403
|
-
inner: PolymorphicClassName;
|
1404
|
-
outer: PolymorphicClassName;
|
1405
|
-
};
|
1406
|
-
disabled: {
|
1407
|
-
true: PolymorphicClassName;
|
1408
|
-
};
|
1409
|
-
readOnly: {
|
1410
|
-
true: PolymorphicClassName;
|
1411
|
-
};
|
1412
|
-
}> & BasicProps & {
|
1413
|
-
readOnly?: false | undefined;
|
1414
|
-
disabled?: false | undefined;
|
1415
|
-
alwaysOpened?: true | undefined;
|
1416
|
-
} & {
|
1417
|
-
multiple: true;
|
1418
|
-
value?: string[] | undefined;
|
1419
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1420
|
-
isTargetAmount?: boolean | undefined;
|
1421
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
|
1422
|
-
size: {
|
1423
|
-
xs: PolymorphicClassName;
|
1424
|
-
s: PolymorphicClassName;
|
1425
|
-
m: PolymorphicClassName;
|
1426
|
-
l: PolymorphicClassName;
|
1427
|
-
};
|
1428
|
-
view: {
|
1429
|
-
default: PolymorphicClassName;
|
1430
|
-
};
|
1431
|
-
}> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & CustomComboboxProps & {
|
1432
|
-
valueType?: "single" | undefined;
|
1433
|
-
value?: ComboboxPrimitiveValue | undefined;
|
1434
|
-
onChangeValue?: ((value?: ComboboxPrimitiveValue | undefined) => void) | undefined;
|
1435
|
-
} & React_2.RefAttributes<HTMLInputElement> & {
|
1436
|
-
items?: undefined;
|
1437
|
-
}, "ref"> | Omit<PropsType< {
|
1438
|
-
size: {
|
1439
|
-
xs: PolymorphicClassName;
|
1440
|
-
s: PolymorphicClassName;
|
1441
|
-
m: PolymorphicClassName;
|
1442
|
-
l: PolymorphicClassName;
|
1443
|
-
};
|
1444
|
-
view: {
|
1445
|
-
default: PolymorphicClassName;
|
1446
|
-
};
|
1447
|
-
}> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & CustomComboboxProps & {
|
1448
|
-
valueType: "multiple";
|
1449
|
-
value?: ComboboxPrimitiveValue[] | undefined;
|
1450
|
-
onChangeValue?: ((value?: ComboboxPrimitiveValue[] | undefined) => void) | undefined;
|
1451
|
-
} & React_2.RefAttributes<HTMLInputElement> & {
|
1452
|
-
items?: undefined;
|
1453
|
-
}, "ref">) & React_2.RefAttributes<HTMLInputElement>>;
|
1232
|
+
export const Combobox: <T extends ItemOption>(props: CommonProps<T> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement | null;
|
1454
1233
|
|
1455
1234
|
// @public (undocumented)
|
1456
1235
|
export const ComboboxDivider: FunctionComponent<PropsType<Variants> & HTMLAttributes<HTMLDivElement> & {
|
@@ -2102,7 +1881,431 @@ export { List }
|
|
2102
1881
|
export { ListItem }
|
2103
1882
|
|
2104
1883
|
// @public (undocumented)
|
2105
|
-
export const Mask: ForwardRefExoticComponent<(
|
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>>;
|
2106
2309
|
|
2107
2310
|
export { MaxLinesProps }
|
2108
2311
|
|
@@ -2922,13 +3125,11 @@ export { TextareaHTMLAttributes }
|
|
2922
3125
|
|
2923
3126
|
// Warning: (ae-forgotten-export) The symbol "RequiredProps" needs to be exported by the entry point index.d.ts
|
2924
3127
|
// Warning: (ae-forgotten-export) The symbol "ClearProps" needs to be exported by the entry point index.d.ts
|
2925
|
-
// Warning: (ae-forgotten-export) The symbol "HintProps" needs to be exported by the entry point index.d.ts
|
2926
3128
|
//
|
2927
3129
|
// @public (undocumented)
|
2928
3130
|
export type TextAreaProps = TextAreaProps_2 & {
|
2929
3131
|
resize?: 'none' | 'both' | 'horizontal' | 'vertical';
|
2930
|
-
|
2931
|
-
} & RequiredProps & ClearProps & RequiredProps & HintProps;
|
3132
|
+
} & RequiredProps & ClearProps;
|
2932
3133
|
|
2933
3134
|
export { TextareaResize }
|
2934
3135
|
|
@@ -2983,10 +3184,9 @@ export { TextFieldGroupProps }
|
|
2983
3184
|
// Warning: (ae-forgotten-export) The symbol "newHopeTextFieldProps" needs to be exported by the entry point index.d.ts
|
2984
3185
|
// Warning: (ae-forgotten-export) The symbol "RequiredProps_2" needs to be exported by the entry point index.d.ts
|
2985
3186
|
// Warning: (ae-forgotten-export) The symbol "ClearProps_2" needs to be exported by the entry point index.d.ts
|
2986
|
-
// Warning: (ae-forgotten-export) The symbol "HintProps_2" needs to be exported by the entry point index.d.ts
|
2987
3187
|
//
|
2988
3188
|
// @public (undocumented)
|
2989
|
-
export type TextFieldProps = (TextFieldProps_2 & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'onChangeChips'
|
3189
|
+
export type TextFieldProps = (TextFieldProps_2 & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'onChangeChips'>) & RequiredProps_2 & ClearProps_2;
|
2990
3190
|
|
2991
3191
|
export { TextFieldView }
|
2992
3192
|
|