@salutejs/sdds-dfa 0.170.0-canary.1538.11794569428.0 → 0.170.0-canary.1552.11794692529.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,6 +48,7 @@ import { CellTextboxLabel } from '@salutejs/plasma-new-hope/styled-components';
48
48
  import { CellTextboxSubtitle } from '@salutejs/plasma-new-hope/styled-components';
49
49
  import { CellTextboxTitle } from '@salutejs/plasma-new-hope/styled-components';
50
50
  import { ChangeEvent } from 'react';
51
+ import { ChangeEventHandler } from 'react';
51
52
  import { ChangeInstanceCallback } from '@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types';
52
53
  import { CheckboxProps as CheckboxProps_2 } from '@salutejs/plasma-new-hope/types/components/Checkbox/Checkbox.types';
53
54
  import { ChipGroupProps } from '@salutejs/plasma-new-hope/types/components/ChipGroup/ChipGroup.types';
@@ -1029,8 +1030,10 @@ true: PolymorphicClassName;
1029
1030
  disabled?: true | undefined;
1030
1031
  alwaysOpened?: false | undefined;
1031
1032
  } & {
1033
+ name?: undefined;
1032
1034
  multiple?: false | undefined;
1033
1035
  value?: string | undefined;
1036
+ defaultValue?: undefined;
1034
1037
  onChange?: ((value: string) => void) | undefined;
1035
1038
  isTargetAmount?: false | undefined;
1036
1039
  targetAmount?: undefined;
@@ -1040,7 +1043,7 @@ true: PolymorphicClassName;
1040
1043
  } & {
1041
1044
  required: true;
1042
1045
  optional?: false | undefined;
1043
- } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1046
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1044
1047
  items: ItemOption[];
1045
1048
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1046
1049
  label?: string | undefined;
@@ -1065,8 +1068,10 @@ true: PolymorphicClassName;
1065
1068
  disabled?: true | undefined;
1066
1069
  alwaysOpened?: false | undefined;
1067
1070
  } & {
1071
+ name?: undefined;
1068
1072
  multiple?: false | undefined;
1069
1073
  value?: string | undefined;
1074
+ defaultValue?: undefined;
1070
1075
  onChange?: ((value: string) => void) | undefined;
1071
1076
  isTargetAmount?: false | undefined;
1072
1077
  targetAmount?: undefined;
@@ -1076,7 +1081,7 @@ true: PolymorphicClassName;
1076
1081
  } & {
1077
1082
  optional?: true | undefined;
1078
1083
  required?: false | undefined;
1079
- } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1084
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1080
1085
  items: ItemOption[];
1081
1086
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1082
1087
  label?: string | undefined;
@@ -1103,16 +1108,170 @@ true: PolymorphicClassName;
1103
1108
  } & {
1104
1109
  multiple: true;
1105
1110
  value?: string[] | undefined;
1111
+ defaultValue?: string[] | undefined;
1112
+ onChange?: ChangeEventHandler<Element> | undefined;
1113
+ isTargetAmount?: false | undefined;
1114
+ targetAmount?: undefined;
1115
+ renderValue?: undefined;
1116
+ name: string;
1117
+ } & {
1118
+ requiredPlacement?: "right" | "left" | undefined;
1119
+ } & {
1120
+ required: true;
1121
+ optional?: false | undefined;
1122
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1123
+ items: ItemOption[];
1124
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1125
+ label?: string | undefined;
1126
+ placeholder?: string | undefined;
1127
+ helperText?: string | undefined;
1128
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1129
+ textBefore?: string | undefined;
1130
+ textAfter?: string | undefined;
1131
+ variant?: "normal" | "tight" | undefined;
1132
+ listOverflow?: Property.Overflow | undefined;
1133
+ listHeight?: Property.Height<string | number> | undefined;
1134
+ listWidth?: Property.Width<string | number> | undefined;
1135
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1136
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1137
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1138
+ closeAfterSelect?: boolean | undefined;
1139
+ size?: string | undefined;
1140
+ view?: string | undefined;
1141
+ labelPlacement?: "outer" | "inner" | undefined;
1142
+ } & {
1143
+ readOnly?: boolean | undefined;
1144
+ disabled?: true | undefined;
1145
+ alwaysOpened?: false | undefined;
1146
+ } & {
1147
+ multiple: true;
1148
+ value?: string[] | undefined;
1149
+ defaultValue?: string[] | undefined;
1150
+ onChange?: ChangeEventHandler<Element> | undefined;
1151
+ isTargetAmount?: false | undefined;
1152
+ targetAmount?: undefined;
1153
+ renderValue?: undefined;
1154
+ name: string;
1155
+ } & {
1156
+ requiredPlacement?: "right" | "left" | undefined;
1157
+ } & {
1158
+ optional?: true | undefined;
1159
+ required?: false | undefined;
1160
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1161
+ items: ItemOption[];
1162
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1163
+ label?: string | undefined;
1164
+ placeholder?: string | undefined;
1165
+ helperText?: string | undefined;
1166
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1167
+ textBefore?: string | undefined;
1168
+ textAfter?: string | undefined;
1169
+ variant?: "normal" | "tight" | undefined;
1170
+ listOverflow?: Property.Overflow | undefined;
1171
+ listHeight?: Property.Height<string | number> | undefined;
1172
+ listWidth?: Property.Width<string | number> | undefined;
1173
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1174
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1175
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1176
+ closeAfterSelect?: boolean | undefined;
1177
+ size?: string | undefined;
1178
+ view?: string | undefined;
1179
+ labelPlacement?: "outer" | "inner" | undefined;
1180
+ } & {
1181
+ readOnly?: boolean | undefined;
1182
+ disabled?: true | undefined;
1183
+ alwaysOpened?: false | undefined;
1184
+ } & {
1185
+ multiple?: false | undefined;
1186
+ value?: string | undefined;
1187
+ defaultValue?: string | undefined;
1188
+ onChange?: ChangeEventHandler<Element> | undefined;
1189
+ isTargetAmount?: false | undefined;
1190
+ targetAmount?: undefined;
1191
+ renderValue?: undefined;
1192
+ name: string;
1193
+ } & {
1194
+ requiredPlacement?: "right" | "left" | undefined;
1195
+ } & {
1196
+ required: true;
1197
+ optional?: false | undefined;
1198
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1199
+ items: ItemOption[];
1200
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1201
+ label?: string | undefined;
1202
+ placeholder?: string | undefined;
1203
+ helperText?: string | undefined;
1204
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1205
+ textBefore?: string | undefined;
1206
+ textAfter?: string | undefined;
1207
+ variant?: "normal" | "tight" | undefined;
1208
+ listOverflow?: Property.Overflow | undefined;
1209
+ listHeight?: Property.Height<string | number> | undefined;
1210
+ listWidth?: Property.Width<string | number> | undefined;
1211
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1212
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1213
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1214
+ closeAfterSelect?: boolean | undefined;
1215
+ size?: string | undefined;
1216
+ view?: string | undefined;
1217
+ labelPlacement?: "outer" | "inner" | undefined;
1218
+ } & {
1219
+ readOnly?: boolean | undefined;
1220
+ disabled?: true | undefined;
1221
+ alwaysOpened?: false | undefined;
1222
+ } & {
1223
+ multiple?: false | undefined;
1224
+ value?: string | undefined;
1225
+ defaultValue?: string | undefined;
1226
+ onChange?: ChangeEventHandler<Element> | undefined;
1227
+ isTargetAmount?: false | undefined;
1228
+ targetAmount?: undefined;
1229
+ renderValue?: undefined;
1230
+ name: string;
1231
+ } & {
1232
+ requiredPlacement?: "right" | "left" | undefined;
1233
+ } & {
1234
+ optional?: true | undefined;
1235
+ required?: false | undefined;
1236
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1237
+ items: ItemOption[];
1238
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1239
+ label?: string | undefined;
1240
+ placeholder?: string | undefined;
1241
+ helperText?: string | undefined;
1242
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1243
+ textBefore?: string | undefined;
1244
+ textAfter?: string | undefined;
1245
+ variant?: "normal" | "tight" | undefined;
1246
+ listOverflow?: Property.Overflow | undefined;
1247
+ listHeight?: Property.Height<string | number> | undefined;
1248
+ listWidth?: Property.Width<string | number> | undefined;
1249
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1250
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1251
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1252
+ closeAfterSelect?: boolean | undefined;
1253
+ size?: string | undefined;
1254
+ view?: string | undefined;
1255
+ labelPlacement?: "outer" | "inner" | undefined;
1256
+ } & {
1257
+ readOnly?: boolean | undefined;
1258
+ disabled?: true | undefined;
1259
+ alwaysOpened?: false | undefined;
1260
+ } & {
1261
+ multiple: true;
1262
+ value?: string[] | undefined;
1263
+ defaultValue?: undefined;
1106
1264
  onChange?: ((value: string[]) => void) | undefined;
1107
1265
  isTargetAmount?: true | undefined;
1108
1266
  targetAmount?: number | undefined;
1109
1267
  renderValue?: ((item: ItemOption) => string) | undefined;
1268
+ name?: undefined;
1110
1269
  } & {
1111
1270
  requiredPlacement?: "right" | "left" | undefined;
1112
1271
  } & {
1113
1272
  required: true;
1114
1273
  optional?: false | undefined;
1115
- } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1274
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1116
1275
  items: ItemOption[];
1117
1276
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1118
1277
  label?: string | undefined;
@@ -1139,16 +1298,18 @@ true: PolymorphicClassName;
1139
1298
  } & {
1140
1299
  multiple: true;
1141
1300
  value?: string[] | undefined;
1301
+ defaultValue?: undefined;
1142
1302
  onChange?: ((value: string[]) => void) | undefined;
1143
1303
  isTargetAmount?: true | undefined;
1144
1304
  targetAmount?: number | undefined;
1145
1305
  renderValue?: ((item: ItemOption) => string) | undefined;
1306
+ name?: undefined;
1146
1307
  } & {
1147
1308
  requiredPlacement?: "right" | "left" | undefined;
1148
1309
  } & {
1149
1310
  optional?: true | undefined;
1150
1311
  required?: false | undefined;
1151
- } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1312
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1152
1313
  items: ItemOption[];
1153
1314
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1154
1315
  label?: string | undefined;
@@ -1173,8 +1334,10 @@ true: PolymorphicClassName;
1173
1334
  disabled?: boolean | undefined;
1174
1335
  alwaysOpened?: false | undefined;
1175
1336
  } & {
1337
+ name?: undefined;
1176
1338
  multiple?: false | undefined;
1177
1339
  value?: string | undefined;
1340
+ defaultValue?: undefined;
1178
1341
  onChange?: ((value: string) => void) | undefined;
1179
1342
  isTargetAmount?: false | undefined;
1180
1343
  targetAmount?: undefined;
@@ -1184,7 +1347,7 @@ true: PolymorphicClassName;
1184
1347
  } & {
1185
1348
  required: true;
1186
1349
  optional?: false | undefined;
1187
- } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1350
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1188
1351
  items: ItemOption[];
1189
1352
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1190
1353
  label?: string | undefined;
@@ -1209,8 +1372,10 @@ true: PolymorphicClassName;
1209
1372
  disabled?: boolean | undefined;
1210
1373
  alwaysOpened?: false | undefined;
1211
1374
  } & {
1375
+ name?: undefined;
1212
1376
  multiple?: false | undefined;
1213
1377
  value?: string | undefined;
1378
+ defaultValue?: undefined;
1214
1379
  onChange?: ((value: string) => void) | undefined;
1215
1380
  isTargetAmount?: false | undefined;
1216
1381
  targetAmount?: undefined;
@@ -1220,7 +1385,159 @@ true: PolymorphicClassName;
1220
1385
  } & {
1221
1386
  optional?: true | undefined;
1222
1387
  required?: false | undefined;
1223
- } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1388
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1389
+ items: ItemOption[];
1390
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1391
+ label?: string | undefined;
1392
+ placeholder?: string | undefined;
1393
+ helperText?: string | undefined;
1394
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1395
+ textBefore?: string | undefined;
1396
+ textAfter?: string | undefined;
1397
+ variant?: "normal" | "tight" | undefined;
1398
+ listOverflow?: Property.Overflow | undefined;
1399
+ listHeight?: Property.Height<string | number> | undefined;
1400
+ listWidth?: Property.Width<string | number> | undefined;
1401
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1402
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1403
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1404
+ closeAfterSelect?: boolean | undefined;
1405
+ size?: string | undefined;
1406
+ view?: string | undefined;
1407
+ labelPlacement?: "outer" | "inner" | undefined;
1408
+ } & {
1409
+ readOnly?: true | undefined;
1410
+ disabled?: boolean | undefined;
1411
+ alwaysOpened?: false | undefined;
1412
+ } & {
1413
+ multiple: true;
1414
+ value?: string[] | undefined;
1415
+ defaultValue?: string[] | undefined;
1416
+ onChange?: ChangeEventHandler<Element> | undefined;
1417
+ isTargetAmount?: false | undefined;
1418
+ targetAmount?: undefined;
1419
+ renderValue?: undefined;
1420
+ name: string;
1421
+ } & {
1422
+ requiredPlacement?: "right" | "left" | undefined;
1423
+ } & {
1424
+ required: true;
1425
+ optional?: false | undefined;
1426
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1427
+ items: ItemOption[];
1428
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1429
+ label?: string | undefined;
1430
+ placeholder?: string | undefined;
1431
+ helperText?: string | undefined;
1432
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1433
+ textBefore?: string | undefined;
1434
+ textAfter?: string | undefined;
1435
+ variant?: "normal" | "tight" | undefined;
1436
+ listOverflow?: Property.Overflow | undefined;
1437
+ listHeight?: Property.Height<string | number> | undefined;
1438
+ listWidth?: Property.Width<string | number> | undefined;
1439
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1440
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1441
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1442
+ closeAfterSelect?: boolean | undefined;
1443
+ size?: string | undefined;
1444
+ view?: string | undefined;
1445
+ labelPlacement?: "outer" | "inner" | undefined;
1446
+ } & {
1447
+ readOnly?: true | undefined;
1448
+ disabled?: boolean | undefined;
1449
+ alwaysOpened?: false | undefined;
1450
+ } & {
1451
+ multiple: true;
1452
+ value?: string[] | undefined;
1453
+ defaultValue?: string[] | undefined;
1454
+ onChange?: ChangeEventHandler<Element> | undefined;
1455
+ isTargetAmount?: false | undefined;
1456
+ targetAmount?: undefined;
1457
+ renderValue?: undefined;
1458
+ name: string;
1459
+ } & {
1460
+ requiredPlacement?: "right" | "left" | undefined;
1461
+ } & {
1462
+ optional?: true | undefined;
1463
+ required?: false | undefined;
1464
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1465
+ items: ItemOption[];
1466
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1467
+ label?: string | undefined;
1468
+ placeholder?: string | undefined;
1469
+ helperText?: string | undefined;
1470
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1471
+ textBefore?: string | undefined;
1472
+ textAfter?: string | undefined;
1473
+ variant?: "normal" | "tight" | undefined;
1474
+ listOverflow?: Property.Overflow | undefined;
1475
+ listHeight?: Property.Height<string | number> | undefined;
1476
+ listWidth?: Property.Width<string | number> | undefined;
1477
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1478
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1479
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1480
+ closeAfterSelect?: boolean | undefined;
1481
+ size?: string | undefined;
1482
+ view?: string | undefined;
1483
+ labelPlacement?: "outer" | "inner" | undefined;
1484
+ } & {
1485
+ readOnly?: true | undefined;
1486
+ disabled?: boolean | undefined;
1487
+ alwaysOpened?: false | undefined;
1488
+ } & {
1489
+ multiple?: false | undefined;
1490
+ value?: string | undefined;
1491
+ defaultValue?: string | undefined;
1492
+ onChange?: ChangeEventHandler<Element> | undefined;
1493
+ isTargetAmount?: false | undefined;
1494
+ targetAmount?: undefined;
1495
+ renderValue?: undefined;
1496
+ name: string;
1497
+ } & {
1498
+ requiredPlacement?: "right" | "left" | undefined;
1499
+ } & {
1500
+ required: true;
1501
+ optional?: false | undefined;
1502
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1503
+ items: ItemOption[];
1504
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1505
+ label?: string | undefined;
1506
+ placeholder?: string | undefined;
1507
+ helperText?: string | undefined;
1508
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1509
+ textBefore?: string | undefined;
1510
+ textAfter?: string | undefined;
1511
+ variant?: "normal" | "tight" | undefined;
1512
+ listOverflow?: Property.Overflow | undefined;
1513
+ listHeight?: Property.Height<string | number> | undefined;
1514
+ listWidth?: Property.Width<string | number> | undefined;
1515
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1516
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1517
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1518
+ closeAfterSelect?: boolean | undefined;
1519
+ size?: string | undefined;
1520
+ view?: string | undefined;
1521
+ labelPlacement?: "outer" | "inner" | undefined;
1522
+ } & {
1523
+ readOnly?: true | undefined;
1524
+ disabled?: boolean | undefined;
1525
+ alwaysOpened?: false | undefined;
1526
+ } & {
1527
+ multiple?: false | undefined;
1528
+ value?: string | undefined;
1529
+ defaultValue?: string | undefined;
1530
+ onChange?: ChangeEventHandler<Element> | undefined;
1531
+ isTargetAmount?: false | undefined;
1532
+ targetAmount?: undefined;
1533
+ renderValue?: undefined;
1534
+ name: string;
1535
+ } & {
1536
+ requiredPlacement?: "right" | "left" | undefined;
1537
+ } & {
1538
+ optional?: true | undefined;
1539
+ required?: false | undefined;
1540
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1224
1541
  items: ItemOption[];
1225
1542
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1226
1543
  label?: string | undefined;
@@ -1247,16 +1564,18 @@ true: PolymorphicClassName;
1247
1564
  } & {
1248
1565
  multiple: true;
1249
1566
  value?: string[] | undefined;
1567
+ defaultValue?: undefined;
1250
1568
  onChange?: ((value: string[]) => void) | undefined;
1251
1569
  isTargetAmount?: true | undefined;
1252
1570
  targetAmount?: number | undefined;
1253
1571
  renderValue?: ((item: ItemOption) => string) | undefined;
1572
+ name?: undefined;
1254
1573
  } & {
1255
1574
  requiredPlacement?: "right" | "left" | undefined;
1256
1575
  } & {
1257
1576
  required: true;
1258
1577
  optional?: false | undefined;
1259
- } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1578
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1260
1579
  items: ItemOption[];
1261
1580
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1262
1581
  label?: string | undefined;
@@ -1283,16 +1602,18 @@ true: PolymorphicClassName;
1283
1602
  } & {
1284
1603
  multiple: true;
1285
1604
  value?: string[] | undefined;
1605
+ defaultValue?: undefined;
1286
1606
  onChange?: ((value: string[]) => void) | undefined;
1287
1607
  isTargetAmount?: true | undefined;
1288
1608
  targetAmount?: number | undefined;
1289
1609
  renderValue?: ((item: ItemOption) => string) | undefined;
1610
+ name?: undefined;
1290
1611
  } & {
1291
1612
  requiredPlacement?: "right" | "left" | undefined;
1292
1613
  } & {
1293
1614
  optional?: true | undefined;
1294
1615
  required?: false | undefined;
1295
- } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1616
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1296
1617
  items: ItemOption[];
1297
1618
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1298
1619
  label?: string | undefined;
@@ -1317,8 +1638,10 @@ true: PolymorphicClassName;
1317
1638
  disabled?: false | undefined;
1318
1639
  alwaysOpened?: true | undefined;
1319
1640
  } & {
1641
+ name?: undefined;
1320
1642
  multiple?: false | undefined;
1321
1643
  value?: string | undefined;
1644
+ defaultValue?: undefined;
1322
1645
  onChange?: ((value: string) => void) | undefined;
1323
1646
  isTargetAmount?: false | undefined;
1324
1647
  targetAmount?: undefined;
@@ -1328,7 +1651,7 @@ true: PolymorphicClassName;
1328
1651
  } & {
1329
1652
  required: true;
1330
1653
  optional?: false | undefined;
1331
- } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1654
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1332
1655
  items: ItemOption[];
1333
1656
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1334
1657
  label?: string | undefined;
@@ -1353,8 +1676,10 @@ true: PolymorphicClassName;
1353
1676
  disabled?: false | undefined;
1354
1677
  alwaysOpened?: true | undefined;
1355
1678
  } & {
1679
+ name?: undefined;
1356
1680
  multiple?: false | undefined;
1357
1681
  value?: string | undefined;
1682
+ defaultValue?: undefined;
1358
1683
  onChange?: ((value: string) => void) | undefined;
1359
1684
  isTargetAmount?: false | undefined;
1360
1685
  targetAmount?: undefined;
@@ -1364,7 +1689,159 @@ true: PolymorphicClassName;
1364
1689
  } & {
1365
1690
  optional?: true | undefined;
1366
1691
  required?: false | undefined;
1367
- } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1692
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1693
+ items: ItemOption[];
1694
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1695
+ label?: string | undefined;
1696
+ placeholder?: string | undefined;
1697
+ helperText?: string | undefined;
1698
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1699
+ textBefore?: string | undefined;
1700
+ textAfter?: string | undefined;
1701
+ variant?: "normal" | "tight" | undefined;
1702
+ listOverflow?: Property.Overflow | undefined;
1703
+ listHeight?: Property.Height<string | number> | undefined;
1704
+ listWidth?: Property.Width<string | number> | undefined;
1705
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1706
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1707
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1708
+ closeAfterSelect?: boolean | undefined;
1709
+ size?: string | undefined;
1710
+ view?: string | undefined;
1711
+ labelPlacement?: "outer" | "inner" | undefined;
1712
+ } & {
1713
+ readOnly?: false | undefined;
1714
+ disabled?: false | undefined;
1715
+ alwaysOpened?: true | undefined;
1716
+ } & {
1717
+ multiple: true;
1718
+ value?: string[] | undefined;
1719
+ defaultValue?: string[] | undefined;
1720
+ onChange?: ChangeEventHandler<Element> | undefined;
1721
+ isTargetAmount?: false | undefined;
1722
+ targetAmount?: undefined;
1723
+ renderValue?: undefined;
1724
+ name: string;
1725
+ } & {
1726
+ requiredPlacement?: "right" | "left" | undefined;
1727
+ } & {
1728
+ required: true;
1729
+ optional?: false | undefined;
1730
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1731
+ items: ItemOption[];
1732
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1733
+ label?: string | undefined;
1734
+ placeholder?: string | undefined;
1735
+ helperText?: string | undefined;
1736
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1737
+ textBefore?: string | undefined;
1738
+ textAfter?: string | undefined;
1739
+ variant?: "normal" | "tight" | undefined;
1740
+ listOverflow?: Property.Overflow | undefined;
1741
+ listHeight?: Property.Height<string | number> | undefined;
1742
+ listWidth?: Property.Width<string | number> | undefined;
1743
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1744
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1745
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1746
+ closeAfterSelect?: boolean | undefined;
1747
+ size?: string | undefined;
1748
+ view?: string | undefined;
1749
+ labelPlacement?: "outer" | "inner" | undefined;
1750
+ } & {
1751
+ readOnly?: false | undefined;
1752
+ disabled?: false | undefined;
1753
+ alwaysOpened?: true | undefined;
1754
+ } & {
1755
+ multiple: true;
1756
+ value?: string[] | undefined;
1757
+ defaultValue?: string[] | undefined;
1758
+ onChange?: ChangeEventHandler<Element> | undefined;
1759
+ isTargetAmount?: false | undefined;
1760
+ targetAmount?: undefined;
1761
+ renderValue?: undefined;
1762
+ name: string;
1763
+ } & {
1764
+ requiredPlacement?: "right" | "left" | undefined;
1765
+ } & {
1766
+ optional?: true | undefined;
1767
+ required?: false | undefined;
1768
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1769
+ items: ItemOption[];
1770
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1771
+ label?: string | undefined;
1772
+ placeholder?: string | undefined;
1773
+ helperText?: string | undefined;
1774
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1775
+ textBefore?: string | undefined;
1776
+ textAfter?: string | undefined;
1777
+ variant?: "normal" | "tight" | undefined;
1778
+ listOverflow?: Property.Overflow | undefined;
1779
+ listHeight?: Property.Height<string | number> | undefined;
1780
+ listWidth?: Property.Width<string | number> | undefined;
1781
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1782
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1783
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1784
+ closeAfterSelect?: boolean | undefined;
1785
+ size?: string | undefined;
1786
+ view?: string | undefined;
1787
+ labelPlacement?: "outer" | "inner" | undefined;
1788
+ } & {
1789
+ readOnly?: false | undefined;
1790
+ disabled?: false | undefined;
1791
+ alwaysOpened?: true | undefined;
1792
+ } & {
1793
+ multiple?: false | undefined;
1794
+ value?: string | undefined;
1795
+ defaultValue?: string | undefined;
1796
+ onChange?: ChangeEventHandler<Element> | undefined;
1797
+ isTargetAmount?: false | undefined;
1798
+ targetAmount?: undefined;
1799
+ renderValue?: undefined;
1800
+ name: string;
1801
+ } & {
1802
+ requiredPlacement?: "right" | "left" | undefined;
1803
+ } & {
1804
+ required: true;
1805
+ optional?: false | undefined;
1806
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1807
+ items: ItemOption[];
1808
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1809
+ label?: string | undefined;
1810
+ placeholder?: string | undefined;
1811
+ helperText?: string | undefined;
1812
+ contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
1813
+ textBefore?: string | undefined;
1814
+ textAfter?: string | undefined;
1815
+ variant?: "normal" | "tight" | undefined;
1816
+ listOverflow?: Property.Overflow | undefined;
1817
+ listHeight?: Property.Height<string | number> | undefined;
1818
+ listWidth?: Property.Width<string | number> | undefined;
1819
+ portal?: MutableRefObject<HTMLElement | null> | undefined;
1820
+ renderItem?: ((item: ItemOption) => ReactNode) | undefined;
1821
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
1822
+ closeAfterSelect?: boolean | undefined;
1823
+ size?: string | undefined;
1824
+ view?: string | undefined;
1825
+ labelPlacement?: "outer" | "inner" | undefined;
1826
+ } & {
1827
+ readOnly?: false | undefined;
1828
+ disabled?: false | undefined;
1829
+ alwaysOpened?: true | undefined;
1830
+ } & {
1831
+ multiple?: false | undefined;
1832
+ value?: string | undefined;
1833
+ defaultValue?: string | undefined;
1834
+ onChange?: ChangeEventHandler<Element> | undefined;
1835
+ isTargetAmount?: false | undefined;
1836
+ targetAmount?: undefined;
1837
+ renderValue?: undefined;
1838
+ name: string;
1839
+ } & {
1840
+ requiredPlacement?: "right" | "left" | undefined;
1841
+ } & {
1842
+ optional?: true | undefined;
1843
+ required?: false | undefined;
1844
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1368
1845
  items: ItemOption[];
1369
1846
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1370
1847
  label?: string | undefined;
@@ -1391,16 +1868,18 @@ true: PolymorphicClassName;
1391
1868
  } & {
1392
1869
  multiple: true;
1393
1870
  value?: string[] | undefined;
1871
+ defaultValue?: undefined;
1394
1872
  onChange?: ((value: string[]) => void) | undefined;
1395
1873
  isTargetAmount?: true | undefined;
1396
1874
  targetAmount?: number | undefined;
1397
1875
  renderValue?: ((item: ItemOption) => string) | undefined;
1876
+ name?: undefined;
1398
1877
  } & {
1399
1878
  requiredPlacement?: "right" | "left" | undefined;
1400
1879
  } & {
1401
1880
  required: true;
1402
1881
  optional?: false | undefined;
1403
- } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>) | ({
1882
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
1404
1883
  items: ItemOption[];
1405
1884
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
1406
1885
  label?: string | undefined;
@@ -1427,16 +1906,18 @@ true: PolymorphicClassName;
1427
1906
  } & {
1428
1907
  multiple: true;
1429
1908
  value?: string[] | undefined;
1909
+ defaultValue?: undefined;
1430
1910
  onChange?: ((value: string[]) => void) | undefined;
1431
1911
  isTargetAmount?: true | undefined;
1432
1912
  targetAmount?: number | undefined;
1433
1913
  renderValue?: ((item: ItemOption) => string) | undefined;
1914
+ name?: undefined;
1434
1915
  } & {
1435
1916
  requiredPlacement?: "right" | "left" | undefined;
1436
1917
  } & {
1437
1918
  optional?: true | undefined;
1438
1919
  required?: false | undefined;
1439
- } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & RefAttributes<HTMLInputElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & {
1920
+ } & Omit<ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & RefAttributes<HTMLInputElement | HTMLSelectElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & {
1440
1921
  ref?: ForwardedRef<HTMLInputElement> | undefined;
1441
1922
  }) => ReactElement | null;
1442
1923