@salutejs/sdds-finportal 0.167.0-canary.1550.11804452240.0 → 0.167.0-canary.1550.11805988388.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -160,7 +160,7 @@ import { priceClasses } from '@salutejs/plasma-new-hope/styled-components';
160
160
  import { PriceProps } from '@salutejs/plasma-new-hope/types/components/Price/Price.types';
161
161
  import { ProgressProps } from '@salutejs/plasma-new-hope/styled-components';
162
162
  import { Property } from 'csstype';
163
- import { Props } from '@salutejs/plasma-new-hope/types/components/EmptyState/EmptyState.types';
163
+ import { Props as Props_2 } from '@salutejs/plasma-new-hope/types/components/EmptyState/EmptyState.types';
164
164
  import { PropsType } from '@salutejs/plasma-new-hope/types/engines/types';
165
165
  import { RadioGroup } from '@salutejs/plasma-new-hope/styled-components';
166
166
  import { RangeInputRefs } from '@salutejs/plasma-new-hope/styled-components';
@@ -1032,463 +1032,10 @@ export { ColProps }
1032
1032
 
1033
1033
  export { ColSizeProps }
1034
1034
 
1035
+ // Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point index.d.ts
1036
+ //
1035
1037
  // @public (undocumented)
1036
- export const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & Pick<PropsType< {
1037
- view: {
1038
- default: PolymorphicClassName;
1039
- positive: PolymorphicClassName;
1040
- warning: PolymorphicClassName;
1041
- negative: PolymorphicClassName;
1042
- };
1043
- size: {
1044
- l: PolymorphicClassName;
1045
- m: PolymorphicClassName;
1046
- s: PolymorphicClassName;
1047
- xs: PolymorphicClassName;
1048
- };
1049
- labelPlacement: {
1050
- inner: PolymorphicClassName;
1051
- outer: PolymorphicClassName;
1052
- };
1053
- disabled: {
1054
- true: PolymorphicClassName;
1055
- };
1056
- readOnly: {
1057
- true: PolymorphicClassName;
1058
- };
1059
- }> & (({
1060
- items: ItemOption[];
1061
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1062
- label?: string | undefined;
1063
- placeholder?: string | undefined;
1064
- helperText?: string | undefined;
1065
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1066
- textBefore?: string | undefined;
1067
- textAfter?: string | undefined;
1068
- variant?: "normal" | "tight" | undefined;
1069
- listOverflow?: Property.Overflow | undefined;
1070
- listHeight?: Property.Height<string | number> | undefined;
1071
- listWidth?: Property.Width<string | number> | undefined;
1072
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1073
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1074
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1075
- closeAfterSelect?: boolean | undefined;
1076
- size?: string | undefined;
1077
- view?: string | undefined;
1078
- labelPlacement?: "outer" | "inner" | undefined;
1079
- } & {
1080
- readOnly?: boolean | undefined;
1081
- disabled?: true | undefined;
1082
- alwaysOpened?: false | undefined;
1083
- } & {
1084
- multiple?: false | undefined;
1085
- value?: string | undefined;
1086
- onChange?: ((value: string) => void) | undefined;
1087
- isTargetAmount?: false | undefined;
1088
- targetAmount?: undefined;
1089
- renderValue?: undefined;
1090
- } & {
1091
- requiredPlacement?: "right" | "left" | undefined;
1092
- } & {
1093
- required: true;
1094
- optional?: false | undefined;
1095
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1096
- items: ItemOption[];
1097
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1098
- label?: string | undefined;
1099
- placeholder?: string | undefined;
1100
- helperText?: string | undefined;
1101
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1102
- textBefore?: string | undefined;
1103
- textAfter?: string | undefined;
1104
- variant?: "normal" | "tight" | undefined;
1105
- listOverflow?: Property.Overflow | undefined;
1106
- listHeight?: Property.Height<string | number> | undefined;
1107
- listWidth?: Property.Width<string | number> | undefined;
1108
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1109
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1110
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1111
- closeAfterSelect?: boolean | undefined;
1112
- size?: string | undefined;
1113
- view?: string | undefined;
1114
- labelPlacement?: "outer" | "inner" | undefined;
1115
- } & {
1116
- readOnly?: boolean | undefined;
1117
- disabled?: true | undefined;
1118
- alwaysOpened?: false | undefined;
1119
- } & {
1120
- multiple?: false | undefined;
1121
- value?: string | undefined;
1122
- onChange?: ((value: string) => void) | undefined;
1123
- isTargetAmount?: false | undefined;
1124
- targetAmount?: undefined;
1125
- renderValue?: undefined;
1126
- } & {
1127
- requiredPlacement?: "right" | "left" | undefined;
1128
- } & {
1129
- optional?: true | undefined;
1130
- required?: false | undefined;
1131
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1132
- items: ItemOption[];
1133
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1134
- label?: string | undefined;
1135
- placeholder?: string | undefined;
1136
- helperText?: string | undefined;
1137
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1138
- textBefore?: string | undefined;
1139
- textAfter?: string | undefined;
1140
- variant?: "normal" | "tight" | undefined;
1141
- listOverflow?: Property.Overflow | undefined;
1142
- listHeight?: Property.Height<string | number> | undefined;
1143
- listWidth?: Property.Width<string | number> | undefined;
1144
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1145
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1146
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1147
- closeAfterSelect?: boolean | undefined;
1148
- size?: string | undefined;
1149
- view?: string | undefined;
1150
- labelPlacement?: "outer" | "inner" | undefined;
1151
- } & {
1152
- readOnly?: boolean | undefined;
1153
- disabled?: true | undefined;
1154
- alwaysOpened?: false | undefined;
1155
- } & {
1156
- multiple: true;
1157
- value?: string[] | undefined;
1158
- onChange?: ((value: string[]) => void) | undefined;
1159
- isTargetAmount?: true | undefined;
1160
- targetAmount?: number | undefined;
1161
- renderValue?: ((item: ItemOption) => string) | undefined;
1162
- } & {
1163
- requiredPlacement?: "right" | "left" | undefined;
1164
- } & {
1165
- required: true;
1166
- optional?: false | undefined;
1167
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1168
- items: ItemOption[];
1169
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1170
- label?: string | undefined;
1171
- placeholder?: string | undefined;
1172
- helperText?: string | undefined;
1173
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1174
- textBefore?: string | undefined;
1175
- textAfter?: string | undefined;
1176
- variant?: "normal" | "tight" | undefined;
1177
- listOverflow?: Property.Overflow | undefined;
1178
- listHeight?: Property.Height<string | number> | undefined;
1179
- listWidth?: Property.Width<string | number> | undefined;
1180
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1181
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1182
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1183
- closeAfterSelect?: boolean | undefined;
1184
- size?: string | undefined;
1185
- view?: string | undefined;
1186
- labelPlacement?: "outer" | "inner" | undefined;
1187
- } & {
1188
- readOnly?: boolean | undefined;
1189
- disabled?: true | undefined;
1190
- alwaysOpened?: false | undefined;
1191
- } & {
1192
- multiple: true;
1193
- value?: string[] | undefined;
1194
- onChange?: ((value: string[]) => void) | undefined;
1195
- isTargetAmount?: true | undefined;
1196
- targetAmount?: number | undefined;
1197
- renderValue?: ((item: ItemOption) => string) | undefined;
1198
- } & {
1199
- requiredPlacement?: "right" | "left" | undefined;
1200
- } & {
1201
- optional?: true | undefined;
1202
- required?: false | undefined;
1203
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1204
- items: ItemOption[];
1205
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1206
- label?: string | undefined;
1207
- placeholder?: string | undefined;
1208
- helperText?: string | undefined;
1209
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1210
- textBefore?: string | undefined;
1211
- textAfter?: string | undefined;
1212
- variant?: "normal" | "tight" | undefined;
1213
- listOverflow?: Property.Overflow | undefined;
1214
- listHeight?: Property.Height<string | number> | undefined;
1215
- listWidth?: Property.Width<string | number> | undefined;
1216
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1217
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1218
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1219
- closeAfterSelect?: boolean | undefined;
1220
- size?: string | undefined;
1221
- view?: string | undefined;
1222
- labelPlacement?: "outer" | "inner" | undefined;
1223
- } & {
1224
- readOnly?: true | undefined;
1225
- disabled?: boolean | undefined;
1226
- alwaysOpened?: false | undefined;
1227
- } & {
1228
- multiple?: false | undefined;
1229
- value?: string | undefined;
1230
- onChange?: ((value: string) => void) | undefined;
1231
- isTargetAmount?: false | undefined;
1232
- targetAmount?: undefined;
1233
- renderValue?: undefined;
1234
- } & {
1235
- requiredPlacement?: "right" | "left" | undefined;
1236
- } & {
1237
- required: true;
1238
- optional?: false | undefined;
1239
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1240
- items: ItemOption[];
1241
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1242
- label?: string | undefined;
1243
- placeholder?: string | undefined;
1244
- helperText?: string | undefined;
1245
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1246
- textBefore?: string | undefined;
1247
- textAfter?: string | undefined;
1248
- variant?: "normal" | "tight" | undefined;
1249
- listOverflow?: Property.Overflow | undefined;
1250
- listHeight?: Property.Height<string | number> | undefined;
1251
- listWidth?: Property.Width<string | number> | undefined;
1252
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1253
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1254
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1255
- closeAfterSelect?: boolean | undefined;
1256
- size?: string | undefined;
1257
- view?: string | undefined;
1258
- labelPlacement?: "outer" | "inner" | undefined;
1259
- } & {
1260
- readOnly?: true | undefined;
1261
- disabled?: boolean | undefined;
1262
- alwaysOpened?: false | undefined;
1263
- } & {
1264
- multiple?: false | undefined;
1265
- value?: string | undefined;
1266
- onChange?: ((value: string) => void) | undefined;
1267
- isTargetAmount?: false | undefined;
1268
- targetAmount?: undefined;
1269
- renderValue?: undefined;
1270
- } & {
1271
- requiredPlacement?: "right" | "left" | undefined;
1272
- } & {
1273
- optional?: true | undefined;
1274
- required?: false | undefined;
1275
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1276
- items: ItemOption[];
1277
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1278
- label?: string | undefined;
1279
- placeholder?: string | undefined;
1280
- helperText?: string | undefined;
1281
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1282
- textBefore?: string | undefined;
1283
- textAfter?: string | undefined;
1284
- variant?: "normal" | "tight" | undefined;
1285
- listOverflow?: Property.Overflow | undefined;
1286
- listHeight?: Property.Height<string | number> | undefined;
1287
- listWidth?: Property.Width<string | number> | undefined;
1288
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1289
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1290
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1291
- closeAfterSelect?: boolean | undefined;
1292
- size?: string | undefined;
1293
- view?: string | undefined;
1294
- labelPlacement?: "outer" | "inner" | undefined;
1295
- } & {
1296
- readOnly?: true | undefined;
1297
- disabled?: boolean | undefined;
1298
- alwaysOpened?: false | undefined;
1299
- } & {
1300
- multiple: true;
1301
- value?: string[] | undefined;
1302
- onChange?: ((value: string[]) => void) | undefined;
1303
- isTargetAmount?: true | undefined;
1304
- targetAmount?: number | undefined;
1305
- renderValue?: ((item: ItemOption) => string) | undefined;
1306
- } & {
1307
- requiredPlacement?: "right" | "left" | undefined;
1308
- } & {
1309
- required: true;
1310
- optional?: false | undefined;
1311
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1312
- items: ItemOption[];
1313
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1314
- label?: string | undefined;
1315
- placeholder?: string | undefined;
1316
- helperText?: string | undefined;
1317
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1318
- textBefore?: string | undefined;
1319
- textAfter?: string | undefined;
1320
- variant?: "normal" | "tight" | undefined;
1321
- listOverflow?: Property.Overflow | undefined;
1322
- listHeight?: Property.Height<string | number> | undefined;
1323
- listWidth?: Property.Width<string | number> | undefined;
1324
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1325
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1326
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1327
- closeAfterSelect?: boolean | undefined;
1328
- size?: string | undefined;
1329
- view?: string | undefined;
1330
- labelPlacement?: "outer" | "inner" | undefined;
1331
- } & {
1332
- readOnly?: true | undefined;
1333
- disabled?: boolean | undefined;
1334
- alwaysOpened?: false | undefined;
1335
- } & {
1336
- multiple: true;
1337
- value?: string[] | undefined;
1338
- onChange?: ((value: string[]) => void) | undefined;
1339
- isTargetAmount?: true | undefined;
1340
- targetAmount?: number | undefined;
1341
- renderValue?: ((item: ItemOption) => string) | undefined;
1342
- } & {
1343
- requiredPlacement?: "right" | "left" | undefined;
1344
- } & {
1345
- optional?: true | undefined;
1346
- required?: false | undefined;
1347
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1348
- items: ItemOption[];
1349
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1350
- label?: string | undefined;
1351
- placeholder?: string | undefined;
1352
- helperText?: string | undefined;
1353
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1354
- textBefore?: string | undefined;
1355
- textAfter?: string | undefined;
1356
- variant?: "normal" | "tight" | undefined;
1357
- listOverflow?: Property.Overflow | undefined;
1358
- listHeight?: Property.Height<string | number> | undefined;
1359
- listWidth?: Property.Width<string | number> | undefined;
1360
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1361
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1362
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1363
- closeAfterSelect?: boolean | undefined;
1364
- size?: string | undefined;
1365
- view?: string | undefined;
1366
- labelPlacement?: "outer" | "inner" | undefined;
1367
- } & {
1368
- readOnly?: false | undefined;
1369
- disabled?: false | undefined;
1370
- alwaysOpened?: true | undefined;
1371
- } & {
1372
- multiple?: false | undefined;
1373
- value?: string | undefined;
1374
- onChange?: ((value: string) => void) | undefined;
1375
- isTargetAmount?: false | undefined;
1376
- targetAmount?: undefined;
1377
- renderValue?: undefined;
1378
- } & {
1379
- requiredPlacement?: "right" | "left" | undefined;
1380
- } & {
1381
- required: true;
1382
- optional?: false | undefined;
1383
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1384
- items: ItemOption[];
1385
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1386
- label?: string | undefined;
1387
- placeholder?: string | undefined;
1388
- helperText?: string | undefined;
1389
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1390
- textBefore?: string | undefined;
1391
- textAfter?: string | undefined;
1392
- variant?: "normal" | "tight" | undefined;
1393
- listOverflow?: Property.Overflow | undefined;
1394
- listHeight?: Property.Height<string | number> | undefined;
1395
- listWidth?: Property.Width<string | number> | undefined;
1396
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1397
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1398
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1399
- closeAfterSelect?: boolean | undefined;
1400
- size?: string | undefined;
1401
- view?: string | undefined;
1402
- labelPlacement?: "outer" | "inner" | undefined;
1403
- } & {
1404
- readOnly?: false | undefined;
1405
- disabled?: false | undefined;
1406
- alwaysOpened?: true | undefined;
1407
- } & {
1408
- multiple?: false | undefined;
1409
- value?: string | undefined;
1410
- onChange?: ((value: string) => void) | undefined;
1411
- isTargetAmount?: false | undefined;
1412
- targetAmount?: undefined;
1413
- renderValue?: undefined;
1414
- } & {
1415
- requiredPlacement?: "right" | "left" | undefined;
1416
- } & {
1417
- optional?: true | undefined;
1418
- required?: false | undefined;
1419
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1420
- items: ItemOption[];
1421
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1422
- label?: string | undefined;
1423
- placeholder?: string | undefined;
1424
- helperText?: string | undefined;
1425
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1426
- textBefore?: string | undefined;
1427
- textAfter?: string | undefined;
1428
- variant?: "normal" | "tight" | undefined;
1429
- listOverflow?: Property.Overflow | undefined;
1430
- listHeight?: Property.Height<string | number> | undefined;
1431
- listWidth?: Property.Width<string | number> | undefined;
1432
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1433
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1434
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1435
- closeAfterSelect?: boolean | undefined;
1436
- size?: string | undefined;
1437
- view?: string | undefined;
1438
- labelPlacement?: "outer" | "inner" | undefined;
1439
- } & {
1440
- readOnly?: false | undefined;
1441
- disabled?: false | undefined;
1442
- alwaysOpened?: true | undefined;
1443
- } & {
1444
- multiple: true;
1445
- value?: string[] | undefined;
1446
- onChange?: ((value: string[]) => void) | undefined;
1447
- isTargetAmount?: true | undefined;
1448
- targetAmount?: number | undefined;
1449
- renderValue?: ((item: ItemOption) => string) | undefined;
1450
- } & {
1451
- requiredPlacement?: "right" | "left" | undefined;
1452
- } & {
1453
- required: true;
1454
- optional?: false | undefined;
1455
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1456
- items: ItemOption[];
1457
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1458
- label?: string | undefined;
1459
- placeholder?: string | undefined;
1460
- helperText?: string | undefined;
1461
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1462
- textBefore?: string | undefined;
1463
- textAfter?: string | undefined;
1464
- variant?: "normal" | "tight" | undefined;
1465
- listOverflow?: Property.Overflow | undefined;
1466
- listHeight?: Property.Height<string | number> | undefined;
1467
- listWidth?: Property.Width<string | number> | undefined;
1468
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1469
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1470
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1471
- closeAfterSelect?: boolean | undefined;
1472
- size?: string | undefined;
1473
- view?: string | undefined;
1474
- labelPlacement?: "outer" | "inner" | undefined;
1475
- } & {
1476
- readOnly?: false | undefined;
1477
- disabled?: false | undefined;
1478
- alwaysOpened?: true | undefined;
1479
- } & {
1480
- multiple: true;
1481
- value?: string[] | undefined;
1482
- onChange?: ((value: string[]) => void) | undefined;
1483
- isTargetAmount?: true | undefined;
1484
- targetAmount?: number | undefined;
1485
- renderValue?: ((item: ItemOption) => string) | undefined;
1486
- } & {
1487
- requiredPlacement?: "right" | "left" | undefined;
1488
- } & {
1489
- optional?: true | undefined;
1490
- required?: false | undefined;
1491
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
1038
+ export const Combobox: <T extends ItemOption>(props: Props<T> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
1492
1039
 
1493
1040
  // @public
1494
1041
  export const Counter: FunctionComponent<PropsType< {
@@ -1754,7 +1301,7 @@ m: PolymorphicClassName;
1754
1301
  s: PolymorphicClassName;
1755
1302
  xs: PolymorphicClassName;
1756
1303
  };
1757
- }> & Props & RefAttributes<HTMLDivElement>>;
1304
+ }> & Props_2 & RefAttributes<HTMLDivElement>>;
1758
1305
 
1759
1306
  // @public (undocumented)
1760
1307
  export const Grid: FunctionComponent<PropsType< {
@@ -1,6 +1,7 @@
1
- import type { ItemOption, ComboboxProps } from '@salutejs/plasma-new-hope';
2
- import React from 'react';
3
- declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
1
+ import type { ItemOption, ComboboxProps, DistributiveOmit, DistributivePick } from '@salutejs/plasma-new-hope';
2
+ import React, { ComponentProps } from 'react';
3
+ import { config } from './Combobox.config';
4
+ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
4
5
  view: {
5
6
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
6
7
  positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -455,5 +456,8 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
455
456
  } & {
456
457
  optional?: true | undefined;
457
458
  required?: false | undefined;
458
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & React.RefAttributes<HTMLInputElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
459
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>))>;
460
+ declare type PropsFromConfig = keyof typeof config['variations'];
461
+ declare type Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
462
+ declare const Combobox: <T extends ItemOption>(props: Props<T> & React.RefAttributes<HTMLInputElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
459
463
  export { Combobox };
@@ -108,7 +108,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
108
108
  hasItems?: boolean | undefined;
109
109
  isOpen?: boolean | undefined;
110
110
  } & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
111
- target?: "button-like" | undefined;
111
+ target: "button-like";
112
112
  view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
113
113
  contentLeft?: undefined;
114
114
  labelPlacement?: undefined;
@@ -146,7 +146,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
146
146
  hasItems?: boolean | undefined;
147
147
  isOpen?: boolean | undefined;
148
148
  } & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
149
- target?: "button-like" | undefined;
149
+ target: "button-like";
150
150
  view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
151
151
  contentLeft?: undefined;
152
152
  labelPlacement?: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-finportal",
3
- "version": "0.167.0-canary.1550.11804452240.0",
3
+ "version": "0.167.0-canary.1550.11805988388.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS FinPortal web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  "directory": "packages/sdds-finportal"
20
20
  },
21
21
  "dependencies": {
22
- "@salutejs/plasma-new-hope": "0.193.0-canary.1550.11804452240.0",
22
+ "@salutejs/plasma-new-hope": "0.193.0-canary.1550.11805988388.0",
23
23
  "@salutejs/sdds-themes": "0.27.0-dev.0"
24
24
  },
25
25
  "peerDependencies": {
@@ -94,5 +94,5 @@
94
94
  "Vasiliy Loginevskiy"
95
95
  ],
96
96
  "sideEffects": false,
97
- "gitHead": "066ad25190d830d417677ab47e104d9d5d9e12e8"
97
+ "gitHead": "7a91689b9eb0ed410282c082268040e421c1e82f"
98
98
  }
@@ -160,7 +160,7 @@ import { priceClasses } from '@salutejs/plasma-new-hope/styled-components';
160
160
  import { PriceProps } from '@salutejs/plasma-new-hope/types/components/Price/Price.types';
161
161
  import { ProgressProps } from '@salutejs/plasma-new-hope/styled-components';
162
162
  import { Property } from 'csstype';
163
- import { Props } from '@salutejs/plasma-new-hope/types/components/EmptyState/EmptyState.types';
163
+ import { Props as Props_2 } from '@salutejs/plasma-new-hope/types/components/EmptyState/EmptyState.types';
164
164
  import { PropsType } from '@salutejs/plasma-new-hope/types/engines/types';
165
165
  import { RadioGroup } from '@salutejs/plasma-new-hope/styled-components';
166
166
  import { RangeInputRefs } from '@salutejs/plasma-new-hope/styled-components';
@@ -1032,463 +1032,10 @@ export { ColProps }
1032
1032
 
1033
1033
  export { ColSizeProps }
1034
1034
 
1035
+ // Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point index.d.ts
1036
+ //
1035
1037
  // @public (undocumented)
1036
- export const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & Pick<PropsType< {
1037
- view: {
1038
- default: PolymorphicClassName;
1039
- positive: PolymorphicClassName;
1040
- warning: PolymorphicClassName;
1041
- negative: PolymorphicClassName;
1042
- };
1043
- size: {
1044
- l: PolymorphicClassName;
1045
- m: PolymorphicClassName;
1046
- s: PolymorphicClassName;
1047
- xs: PolymorphicClassName;
1048
- };
1049
- labelPlacement: {
1050
- inner: PolymorphicClassName;
1051
- outer: PolymorphicClassName;
1052
- };
1053
- disabled: {
1054
- true: PolymorphicClassName;
1055
- };
1056
- readOnly: {
1057
- true: PolymorphicClassName;
1058
- };
1059
- }> & (({
1060
- items: ItemOption[];
1061
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1062
- label?: string | undefined;
1063
- placeholder?: string | undefined;
1064
- helperText?: string | undefined;
1065
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1066
- textBefore?: string | undefined;
1067
- textAfter?: string | undefined;
1068
- variant?: "normal" | "tight" | undefined;
1069
- listOverflow?: Property.Overflow | undefined;
1070
- listHeight?: Property.Height<string | number> | undefined;
1071
- listWidth?: Property.Width<string | number> | undefined;
1072
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1073
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1074
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1075
- closeAfterSelect?: boolean | undefined;
1076
- size?: string | undefined;
1077
- view?: string | undefined;
1078
- labelPlacement?: "outer" | "inner" | undefined;
1079
- } & {
1080
- readOnly?: boolean | undefined;
1081
- disabled?: true | undefined;
1082
- alwaysOpened?: false | undefined;
1083
- } & {
1084
- multiple?: false | undefined;
1085
- value?: string | undefined;
1086
- onChange?: ((value: string) => void) | undefined;
1087
- isTargetAmount?: false | undefined;
1088
- targetAmount?: undefined;
1089
- renderValue?: undefined;
1090
- } & {
1091
- requiredPlacement?: "right" | "left" | undefined;
1092
- } & {
1093
- required: true;
1094
- optional?: false | undefined;
1095
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1096
- items: ItemOption[];
1097
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1098
- label?: string | undefined;
1099
- placeholder?: string | undefined;
1100
- helperText?: string | undefined;
1101
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1102
- textBefore?: string | undefined;
1103
- textAfter?: string | undefined;
1104
- variant?: "normal" | "tight" | undefined;
1105
- listOverflow?: Property.Overflow | undefined;
1106
- listHeight?: Property.Height<string | number> | undefined;
1107
- listWidth?: Property.Width<string | number> | undefined;
1108
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1109
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1110
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1111
- closeAfterSelect?: boolean | undefined;
1112
- size?: string | undefined;
1113
- view?: string | undefined;
1114
- labelPlacement?: "outer" | "inner" | undefined;
1115
- } & {
1116
- readOnly?: boolean | undefined;
1117
- disabled?: true | undefined;
1118
- alwaysOpened?: false | undefined;
1119
- } & {
1120
- multiple?: false | undefined;
1121
- value?: string | undefined;
1122
- onChange?: ((value: string) => void) | undefined;
1123
- isTargetAmount?: false | undefined;
1124
- targetAmount?: undefined;
1125
- renderValue?: undefined;
1126
- } & {
1127
- requiredPlacement?: "right" | "left" | undefined;
1128
- } & {
1129
- optional?: true | undefined;
1130
- required?: false | undefined;
1131
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1132
- items: ItemOption[];
1133
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1134
- label?: string | undefined;
1135
- placeholder?: string | undefined;
1136
- helperText?: string | undefined;
1137
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1138
- textBefore?: string | undefined;
1139
- textAfter?: string | undefined;
1140
- variant?: "normal" | "tight" | undefined;
1141
- listOverflow?: Property.Overflow | undefined;
1142
- listHeight?: Property.Height<string | number> | undefined;
1143
- listWidth?: Property.Width<string | number> | undefined;
1144
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1145
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1146
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1147
- closeAfterSelect?: boolean | undefined;
1148
- size?: string | undefined;
1149
- view?: string | undefined;
1150
- labelPlacement?: "outer" | "inner" | undefined;
1151
- } & {
1152
- readOnly?: boolean | undefined;
1153
- disabled?: true | undefined;
1154
- alwaysOpened?: false | undefined;
1155
- } & {
1156
- multiple: true;
1157
- value?: string[] | undefined;
1158
- onChange?: ((value: string[]) => void) | undefined;
1159
- isTargetAmount?: true | undefined;
1160
- targetAmount?: number | undefined;
1161
- renderValue?: ((item: ItemOption) => string) | undefined;
1162
- } & {
1163
- requiredPlacement?: "right" | "left" | undefined;
1164
- } & {
1165
- required: true;
1166
- optional?: false | undefined;
1167
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1168
- items: ItemOption[];
1169
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1170
- label?: string | undefined;
1171
- placeholder?: string | undefined;
1172
- helperText?: string | undefined;
1173
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1174
- textBefore?: string | undefined;
1175
- textAfter?: string | undefined;
1176
- variant?: "normal" | "tight" | undefined;
1177
- listOverflow?: Property.Overflow | undefined;
1178
- listHeight?: Property.Height<string | number> | undefined;
1179
- listWidth?: Property.Width<string | number> | undefined;
1180
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1181
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1182
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1183
- closeAfterSelect?: boolean | undefined;
1184
- size?: string | undefined;
1185
- view?: string | undefined;
1186
- labelPlacement?: "outer" | "inner" | undefined;
1187
- } & {
1188
- readOnly?: boolean | undefined;
1189
- disabled?: true | undefined;
1190
- alwaysOpened?: false | undefined;
1191
- } & {
1192
- multiple: true;
1193
- value?: string[] | undefined;
1194
- onChange?: ((value: string[]) => void) | undefined;
1195
- isTargetAmount?: true | undefined;
1196
- targetAmount?: number | undefined;
1197
- renderValue?: ((item: ItemOption) => string) | undefined;
1198
- } & {
1199
- requiredPlacement?: "right" | "left" | undefined;
1200
- } & {
1201
- optional?: true | undefined;
1202
- required?: false | undefined;
1203
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1204
- items: ItemOption[];
1205
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1206
- label?: string | undefined;
1207
- placeholder?: string | undefined;
1208
- helperText?: string | undefined;
1209
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1210
- textBefore?: string | undefined;
1211
- textAfter?: string | undefined;
1212
- variant?: "normal" | "tight" | undefined;
1213
- listOverflow?: Property.Overflow | undefined;
1214
- listHeight?: Property.Height<string | number> | undefined;
1215
- listWidth?: Property.Width<string | number> | undefined;
1216
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1217
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1218
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1219
- closeAfterSelect?: boolean | undefined;
1220
- size?: string | undefined;
1221
- view?: string | undefined;
1222
- labelPlacement?: "outer" | "inner" | undefined;
1223
- } & {
1224
- readOnly?: true | undefined;
1225
- disabled?: boolean | undefined;
1226
- alwaysOpened?: false | undefined;
1227
- } & {
1228
- multiple?: false | undefined;
1229
- value?: string | undefined;
1230
- onChange?: ((value: string) => void) | undefined;
1231
- isTargetAmount?: false | undefined;
1232
- targetAmount?: undefined;
1233
- renderValue?: undefined;
1234
- } & {
1235
- requiredPlacement?: "right" | "left" | undefined;
1236
- } & {
1237
- required: true;
1238
- optional?: false | undefined;
1239
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1240
- items: ItemOption[];
1241
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1242
- label?: string | undefined;
1243
- placeholder?: string | undefined;
1244
- helperText?: string | undefined;
1245
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1246
- textBefore?: string | undefined;
1247
- textAfter?: string | undefined;
1248
- variant?: "normal" | "tight" | undefined;
1249
- listOverflow?: Property.Overflow | undefined;
1250
- listHeight?: Property.Height<string | number> | undefined;
1251
- listWidth?: Property.Width<string | number> | undefined;
1252
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1253
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1254
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1255
- closeAfterSelect?: boolean | undefined;
1256
- size?: string | undefined;
1257
- view?: string | undefined;
1258
- labelPlacement?: "outer" | "inner" | undefined;
1259
- } & {
1260
- readOnly?: true | undefined;
1261
- disabled?: boolean | undefined;
1262
- alwaysOpened?: false | undefined;
1263
- } & {
1264
- multiple?: false | undefined;
1265
- value?: string | undefined;
1266
- onChange?: ((value: string) => void) | undefined;
1267
- isTargetAmount?: false | undefined;
1268
- targetAmount?: undefined;
1269
- renderValue?: undefined;
1270
- } & {
1271
- requiredPlacement?: "right" | "left" | undefined;
1272
- } & {
1273
- optional?: true | undefined;
1274
- required?: false | undefined;
1275
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1276
- items: ItemOption[];
1277
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1278
- label?: string | undefined;
1279
- placeholder?: string | undefined;
1280
- helperText?: string | undefined;
1281
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1282
- textBefore?: string | undefined;
1283
- textAfter?: string | undefined;
1284
- variant?: "normal" | "tight" | undefined;
1285
- listOverflow?: Property.Overflow | undefined;
1286
- listHeight?: Property.Height<string | number> | undefined;
1287
- listWidth?: Property.Width<string | number> | undefined;
1288
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1289
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1290
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1291
- closeAfterSelect?: boolean | undefined;
1292
- size?: string | undefined;
1293
- view?: string | undefined;
1294
- labelPlacement?: "outer" | "inner" | undefined;
1295
- } & {
1296
- readOnly?: true | undefined;
1297
- disabled?: boolean | undefined;
1298
- alwaysOpened?: false | undefined;
1299
- } & {
1300
- multiple: true;
1301
- value?: string[] | undefined;
1302
- onChange?: ((value: string[]) => void) | undefined;
1303
- isTargetAmount?: true | undefined;
1304
- targetAmount?: number | undefined;
1305
- renderValue?: ((item: ItemOption) => string) | undefined;
1306
- } & {
1307
- requiredPlacement?: "right" | "left" | undefined;
1308
- } & {
1309
- required: true;
1310
- optional?: false | undefined;
1311
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1312
- items: ItemOption[];
1313
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1314
- label?: string | undefined;
1315
- placeholder?: string | undefined;
1316
- helperText?: string | undefined;
1317
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1318
- textBefore?: string | undefined;
1319
- textAfter?: string | undefined;
1320
- variant?: "normal" | "tight" | undefined;
1321
- listOverflow?: Property.Overflow | undefined;
1322
- listHeight?: Property.Height<string | number> | undefined;
1323
- listWidth?: Property.Width<string | number> | undefined;
1324
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1325
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1326
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1327
- closeAfterSelect?: boolean | undefined;
1328
- size?: string | undefined;
1329
- view?: string | undefined;
1330
- labelPlacement?: "outer" | "inner" | undefined;
1331
- } & {
1332
- readOnly?: true | undefined;
1333
- disabled?: boolean | undefined;
1334
- alwaysOpened?: false | undefined;
1335
- } & {
1336
- multiple: true;
1337
- value?: string[] | undefined;
1338
- onChange?: ((value: string[]) => void) | undefined;
1339
- isTargetAmount?: true | undefined;
1340
- targetAmount?: number | undefined;
1341
- renderValue?: ((item: ItemOption) => string) | undefined;
1342
- } & {
1343
- requiredPlacement?: "right" | "left" | undefined;
1344
- } & {
1345
- optional?: true | undefined;
1346
- required?: false | undefined;
1347
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1348
- items: ItemOption[];
1349
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1350
- label?: string | undefined;
1351
- placeholder?: string | undefined;
1352
- helperText?: string | undefined;
1353
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1354
- textBefore?: string | undefined;
1355
- textAfter?: string | undefined;
1356
- variant?: "normal" | "tight" | undefined;
1357
- listOverflow?: Property.Overflow | undefined;
1358
- listHeight?: Property.Height<string | number> | undefined;
1359
- listWidth?: Property.Width<string | number> | undefined;
1360
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1361
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1362
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1363
- closeAfterSelect?: boolean | undefined;
1364
- size?: string | undefined;
1365
- view?: string | undefined;
1366
- labelPlacement?: "outer" | "inner" | undefined;
1367
- } & {
1368
- readOnly?: false | undefined;
1369
- disabled?: false | undefined;
1370
- alwaysOpened?: true | undefined;
1371
- } & {
1372
- multiple?: false | undefined;
1373
- value?: string | undefined;
1374
- onChange?: ((value: string) => void) | undefined;
1375
- isTargetAmount?: false | undefined;
1376
- targetAmount?: undefined;
1377
- renderValue?: undefined;
1378
- } & {
1379
- requiredPlacement?: "right" | "left" | undefined;
1380
- } & {
1381
- required: true;
1382
- optional?: false | undefined;
1383
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1384
- items: ItemOption[];
1385
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1386
- label?: string | undefined;
1387
- placeholder?: string | undefined;
1388
- helperText?: string | undefined;
1389
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1390
- textBefore?: string | undefined;
1391
- textAfter?: string | undefined;
1392
- variant?: "normal" | "tight" | undefined;
1393
- listOverflow?: Property.Overflow | undefined;
1394
- listHeight?: Property.Height<string | number> | undefined;
1395
- listWidth?: Property.Width<string | number> | undefined;
1396
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1397
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1398
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1399
- closeAfterSelect?: boolean | undefined;
1400
- size?: string | undefined;
1401
- view?: string | undefined;
1402
- labelPlacement?: "outer" | "inner" | undefined;
1403
- } & {
1404
- readOnly?: false | undefined;
1405
- disabled?: false | undefined;
1406
- alwaysOpened?: true | undefined;
1407
- } & {
1408
- multiple?: false | undefined;
1409
- value?: string | undefined;
1410
- onChange?: ((value: string) => void) | undefined;
1411
- isTargetAmount?: false | undefined;
1412
- targetAmount?: undefined;
1413
- renderValue?: undefined;
1414
- } & {
1415
- requiredPlacement?: "right" | "left" | undefined;
1416
- } & {
1417
- optional?: true | undefined;
1418
- required?: false | undefined;
1419
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1420
- items: ItemOption[];
1421
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1422
- label?: string | undefined;
1423
- placeholder?: string | undefined;
1424
- helperText?: string | undefined;
1425
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1426
- textBefore?: string | undefined;
1427
- textAfter?: string | undefined;
1428
- variant?: "normal" | "tight" | undefined;
1429
- listOverflow?: Property.Overflow | undefined;
1430
- listHeight?: Property.Height<string | number> | undefined;
1431
- listWidth?: Property.Width<string | number> | undefined;
1432
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1433
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1434
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1435
- closeAfterSelect?: boolean | undefined;
1436
- size?: string | undefined;
1437
- view?: string | undefined;
1438
- labelPlacement?: "outer" | "inner" | undefined;
1439
- } & {
1440
- readOnly?: false | undefined;
1441
- disabled?: false | undefined;
1442
- alwaysOpened?: true | undefined;
1443
- } & {
1444
- multiple: true;
1445
- value?: string[] | undefined;
1446
- onChange?: ((value: string[]) => void) | undefined;
1447
- isTargetAmount?: true | undefined;
1448
- targetAmount?: number | undefined;
1449
- renderValue?: ((item: ItemOption) => string) | undefined;
1450
- } & {
1451
- requiredPlacement?: "right" | "left" | undefined;
1452
- } & {
1453
- required: true;
1454
- optional?: false | undefined;
1455
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
1456
- items: ItemOption[];
1457
- placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1458
- label?: string | undefined;
1459
- placeholder?: string | undefined;
1460
- helperText?: string | undefined;
1461
- contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
1462
- textBefore?: string | undefined;
1463
- textAfter?: string | undefined;
1464
- variant?: "normal" | "tight" | undefined;
1465
- listOverflow?: Property.Overflow | undefined;
1466
- listHeight?: Property.Height<string | number> | undefined;
1467
- listWidth?: Property.Width<string | number> | undefined;
1468
- portal?: string | React_2.RefObject<HTMLElement> | undefined;
1469
- renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
1470
- filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1471
- closeAfterSelect?: boolean | undefined;
1472
- size?: string | undefined;
1473
- view?: string | undefined;
1474
- labelPlacement?: "outer" | "inner" | undefined;
1475
- } & {
1476
- readOnly?: false | undefined;
1477
- disabled?: false | undefined;
1478
- alwaysOpened?: true | undefined;
1479
- } & {
1480
- multiple: true;
1481
- value?: string[] | undefined;
1482
- onChange?: ((value: string[]) => void) | undefined;
1483
- isTargetAmount?: true | undefined;
1484
- targetAmount?: number | undefined;
1485
- renderValue?: ((item: ItemOption) => string) | undefined;
1486
- } & {
1487
- requiredPlacement?: "right" | "left" | undefined;
1488
- } & {
1489
- optional?: true | undefined;
1490
- required?: false | undefined;
1491
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
1038
+ export const Combobox: <T extends ItemOption>(props: Props<T> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
1492
1039
 
1493
1040
  // @public
1494
1041
  export const Counter: FunctionComponent<PropsType< {
@@ -1754,7 +1301,7 @@ m: PolymorphicClassName;
1754
1301
  s: PolymorphicClassName;
1755
1302
  xs: PolymorphicClassName;
1756
1303
  };
1757
- }> & Props & RefAttributes<HTMLDivElement>>;
1304
+ }> & Props_2 & RefAttributes<HTMLDivElement>>;
1758
1305
 
1759
1306
  // @public (undocumented)
1760
1307
  export const Grid: FunctionComponent<PropsType< {