@salutejs/sdds-dfa 0.173.0-canary.1550.11804452240.0 → 0.173.0-canary.1550.11805988388.0
Sign up to get free protection for your applications and to get access to all the features.
package/api/sdds-dfa.api.md
CHANGED
@@ -152,7 +152,7 @@ import { priceClasses } from '@salutejs/plasma-new-hope/styled-components';
|
|
152
152
|
import { PriceProps } from '@salutejs/plasma-new-hope/types/components/Price/Price.types';
|
153
153
|
import { ProgressProps } from '@salutejs/plasma-new-hope/styled-components';
|
154
154
|
import { Property } from 'csstype';
|
155
|
-
import { Props } from '@salutejs/plasma-new-hope/types/components/EmptyState/EmptyState.types';
|
155
|
+
import { Props as Props_2 } from '@salutejs/plasma-new-hope/types/components/EmptyState/EmptyState.types';
|
156
156
|
import { PropsType } from '@salutejs/plasma-new-hope/types/engines/types';
|
157
157
|
import { RadioGroup } from '@salutejs/plasma-new-hope/styled-components';
|
158
158
|
import { RangeInputRefs } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -981,463 +981,10 @@ export { ColProps }
|
|
981
981
|
|
982
982
|
export { ColSizeProps }
|
983
983
|
|
984
|
+
// Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point index.d.ts
|
985
|
+
//
|
984
986
|
// @public (undocumented)
|
985
|
-
export const Combobox: <T extends ItemOption>(props:
|
986
|
-
view: {
|
987
|
-
default: PolymorphicClassName;
|
988
|
-
positive: PolymorphicClassName;
|
989
|
-
warning: PolymorphicClassName;
|
990
|
-
negative: PolymorphicClassName;
|
991
|
-
};
|
992
|
-
size: {
|
993
|
-
l: PolymorphicClassName;
|
994
|
-
m: PolymorphicClassName;
|
995
|
-
s: PolymorphicClassName;
|
996
|
-
xs: PolymorphicClassName;
|
997
|
-
};
|
998
|
-
labelPlacement: {
|
999
|
-
inner: PolymorphicClassName;
|
1000
|
-
outer: PolymorphicClassName;
|
1001
|
-
};
|
1002
|
-
disabled: {
|
1003
|
-
true: PolymorphicClassName;
|
1004
|
-
};
|
1005
|
-
readOnly: {
|
1006
|
-
true: PolymorphicClassName;
|
1007
|
-
};
|
1008
|
-
}> & (({
|
1009
|
-
items: ItemOption[];
|
1010
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1011
|
-
label?: string | undefined;
|
1012
|
-
placeholder?: string | undefined;
|
1013
|
-
helperText?: string | undefined;
|
1014
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1015
|
-
textBefore?: string | undefined;
|
1016
|
-
textAfter?: string | undefined;
|
1017
|
-
variant?: "normal" | "tight" | undefined;
|
1018
|
-
listOverflow?: Property.Overflow | undefined;
|
1019
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1020
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1021
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1022
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1023
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1024
|
-
closeAfterSelect?: boolean | undefined;
|
1025
|
-
size?: string | undefined;
|
1026
|
-
view?: string | undefined;
|
1027
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1028
|
-
} & {
|
1029
|
-
readOnly?: boolean | undefined;
|
1030
|
-
disabled?: true | undefined;
|
1031
|
-
alwaysOpened?: false | undefined;
|
1032
|
-
} & {
|
1033
|
-
multiple?: false | undefined;
|
1034
|
-
value?: string | undefined;
|
1035
|
-
onChange?: ((value: string) => void) | undefined;
|
1036
|
-
isTargetAmount?: false | undefined;
|
1037
|
-
targetAmount?: undefined;
|
1038
|
-
renderValue?: undefined;
|
1039
|
-
} & {
|
1040
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1041
|
-
} & {
|
1042
|
-
required: true;
|
1043
|
-
optional?: false | undefined;
|
1044
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1045
|
-
items: ItemOption[];
|
1046
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1047
|
-
label?: string | undefined;
|
1048
|
-
placeholder?: string | undefined;
|
1049
|
-
helperText?: string | undefined;
|
1050
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1051
|
-
textBefore?: string | undefined;
|
1052
|
-
textAfter?: string | undefined;
|
1053
|
-
variant?: "normal" | "tight" | undefined;
|
1054
|
-
listOverflow?: Property.Overflow | undefined;
|
1055
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1056
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1057
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1058
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1059
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1060
|
-
closeAfterSelect?: boolean | undefined;
|
1061
|
-
size?: string | undefined;
|
1062
|
-
view?: string | undefined;
|
1063
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1064
|
-
} & {
|
1065
|
-
readOnly?: boolean | undefined;
|
1066
|
-
disabled?: true | undefined;
|
1067
|
-
alwaysOpened?: false | undefined;
|
1068
|
-
} & {
|
1069
|
-
multiple?: false | undefined;
|
1070
|
-
value?: string | undefined;
|
1071
|
-
onChange?: ((value: string) => void) | undefined;
|
1072
|
-
isTargetAmount?: false | undefined;
|
1073
|
-
targetAmount?: undefined;
|
1074
|
-
renderValue?: undefined;
|
1075
|
-
} & {
|
1076
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1077
|
-
} & {
|
1078
|
-
optional?: true | undefined;
|
1079
|
-
required?: false | undefined;
|
1080
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1081
|
-
items: ItemOption[];
|
1082
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1083
|
-
label?: string | undefined;
|
1084
|
-
placeholder?: string | undefined;
|
1085
|
-
helperText?: string | undefined;
|
1086
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1087
|
-
textBefore?: string | undefined;
|
1088
|
-
textAfter?: string | undefined;
|
1089
|
-
variant?: "normal" | "tight" | undefined;
|
1090
|
-
listOverflow?: Property.Overflow | undefined;
|
1091
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1092
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1093
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1094
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1095
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1096
|
-
closeAfterSelect?: boolean | undefined;
|
1097
|
-
size?: string | undefined;
|
1098
|
-
view?: string | undefined;
|
1099
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1100
|
-
} & {
|
1101
|
-
readOnly?: boolean | undefined;
|
1102
|
-
disabled?: true | undefined;
|
1103
|
-
alwaysOpened?: false | undefined;
|
1104
|
-
} & {
|
1105
|
-
multiple: true;
|
1106
|
-
value?: string[] | undefined;
|
1107
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1108
|
-
isTargetAmount?: true | undefined;
|
1109
|
-
targetAmount?: number | undefined;
|
1110
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
1111
|
-
} & {
|
1112
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1113
|
-
} & {
|
1114
|
-
required: true;
|
1115
|
-
optional?: false | undefined;
|
1116
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1117
|
-
items: ItemOption[];
|
1118
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1119
|
-
label?: string | undefined;
|
1120
|
-
placeholder?: string | undefined;
|
1121
|
-
helperText?: string | undefined;
|
1122
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1123
|
-
textBefore?: string | undefined;
|
1124
|
-
textAfter?: string | undefined;
|
1125
|
-
variant?: "normal" | "tight" | undefined;
|
1126
|
-
listOverflow?: Property.Overflow | undefined;
|
1127
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1128
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1129
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1130
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1131
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1132
|
-
closeAfterSelect?: boolean | undefined;
|
1133
|
-
size?: string | undefined;
|
1134
|
-
view?: string | undefined;
|
1135
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1136
|
-
} & {
|
1137
|
-
readOnly?: boolean | undefined;
|
1138
|
-
disabled?: true | undefined;
|
1139
|
-
alwaysOpened?: false | undefined;
|
1140
|
-
} & {
|
1141
|
-
multiple: true;
|
1142
|
-
value?: string[] | undefined;
|
1143
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1144
|
-
isTargetAmount?: true | undefined;
|
1145
|
-
targetAmount?: number | undefined;
|
1146
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
1147
|
-
} & {
|
1148
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1149
|
-
} & {
|
1150
|
-
optional?: true | undefined;
|
1151
|
-
required?: false | undefined;
|
1152
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1153
|
-
items: ItemOption[];
|
1154
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1155
|
-
label?: string | undefined;
|
1156
|
-
placeholder?: string | undefined;
|
1157
|
-
helperText?: string | undefined;
|
1158
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1159
|
-
textBefore?: string | undefined;
|
1160
|
-
textAfter?: string | undefined;
|
1161
|
-
variant?: "normal" | "tight" | undefined;
|
1162
|
-
listOverflow?: Property.Overflow | undefined;
|
1163
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1164
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1165
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1166
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1167
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1168
|
-
closeAfterSelect?: boolean | undefined;
|
1169
|
-
size?: string | undefined;
|
1170
|
-
view?: string | undefined;
|
1171
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1172
|
-
} & {
|
1173
|
-
readOnly?: true | undefined;
|
1174
|
-
disabled?: boolean | undefined;
|
1175
|
-
alwaysOpened?: false | undefined;
|
1176
|
-
} & {
|
1177
|
-
multiple?: false | undefined;
|
1178
|
-
value?: string | undefined;
|
1179
|
-
onChange?: ((value: string) => void) | undefined;
|
1180
|
-
isTargetAmount?: false | undefined;
|
1181
|
-
targetAmount?: undefined;
|
1182
|
-
renderValue?: undefined;
|
1183
|
-
} & {
|
1184
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1185
|
-
} & {
|
1186
|
-
required: true;
|
1187
|
-
optional?: false | undefined;
|
1188
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1189
|
-
items: ItemOption[];
|
1190
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1191
|
-
label?: string | undefined;
|
1192
|
-
placeholder?: string | undefined;
|
1193
|
-
helperText?: string | undefined;
|
1194
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1195
|
-
textBefore?: string | undefined;
|
1196
|
-
textAfter?: string | undefined;
|
1197
|
-
variant?: "normal" | "tight" | undefined;
|
1198
|
-
listOverflow?: Property.Overflow | undefined;
|
1199
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1200
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1201
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1202
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1203
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1204
|
-
closeAfterSelect?: boolean | undefined;
|
1205
|
-
size?: string | undefined;
|
1206
|
-
view?: string | undefined;
|
1207
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1208
|
-
} & {
|
1209
|
-
readOnly?: true | undefined;
|
1210
|
-
disabled?: boolean | undefined;
|
1211
|
-
alwaysOpened?: false | undefined;
|
1212
|
-
} & {
|
1213
|
-
multiple?: false | undefined;
|
1214
|
-
value?: string | undefined;
|
1215
|
-
onChange?: ((value: string) => void) | undefined;
|
1216
|
-
isTargetAmount?: false | undefined;
|
1217
|
-
targetAmount?: undefined;
|
1218
|
-
renderValue?: undefined;
|
1219
|
-
} & {
|
1220
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1221
|
-
} & {
|
1222
|
-
optional?: true | undefined;
|
1223
|
-
required?: false | undefined;
|
1224
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1225
|
-
items: ItemOption[];
|
1226
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1227
|
-
label?: string | undefined;
|
1228
|
-
placeholder?: string | undefined;
|
1229
|
-
helperText?: string | undefined;
|
1230
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1231
|
-
textBefore?: string | undefined;
|
1232
|
-
textAfter?: string | undefined;
|
1233
|
-
variant?: "normal" | "tight" | undefined;
|
1234
|
-
listOverflow?: Property.Overflow | undefined;
|
1235
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1236
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1237
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1238
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1239
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1240
|
-
closeAfterSelect?: boolean | undefined;
|
1241
|
-
size?: string | undefined;
|
1242
|
-
view?: string | undefined;
|
1243
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1244
|
-
} & {
|
1245
|
-
readOnly?: true | undefined;
|
1246
|
-
disabled?: boolean | undefined;
|
1247
|
-
alwaysOpened?: false | undefined;
|
1248
|
-
} & {
|
1249
|
-
multiple: true;
|
1250
|
-
value?: string[] | undefined;
|
1251
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1252
|
-
isTargetAmount?: true | undefined;
|
1253
|
-
targetAmount?: number | undefined;
|
1254
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
1255
|
-
} & {
|
1256
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1257
|
-
} & {
|
1258
|
-
required: true;
|
1259
|
-
optional?: false | undefined;
|
1260
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1261
|
-
items: ItemOption[];
|
1262
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1263
|
-
label?: string | undefined;
|
1264
|
-
placeholder?: string | undefined;
|
1265
|
-
helperText?: string | undefined;
|
1266
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1267
|
-
textBefore?: string | undefined;
|
1268
|
-
textAfter?: string | undefined;
|
1269
|
-
variant?: "normal" | "tight" | undefined;
|
1270
|
-
listOverflow?: Property.Overflow | undefined;
|
1271
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1272
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1273
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1274
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1275
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1276
|
-
closeAfterSelect?: boolean | undefined;
|
1277
|
-
size?: string | undefined;
|
1278
|
-
view?: string | undefined;
|
1279
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1280
|
-
} & {
|
1281
|
-
readOnly?: true | undefined;
|
1282
|
-
disabled?: boolean | undefined;
|
1283
|
-
alwaysOpened?: false | undefined;
|
1284
|
-
} & {
|
1285
|
-
multiple: true;
|
1286
|
-
value?: string[] | undefined;
|
1287
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1288
|
-
isTargetAmount?: true | undefined;
|
1289
|
-
targetAmount?: number | undefined;
|
1290
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
1291
|
-
} & {
|
1292
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1293
|
-
} & {
|
1294
|
-
optional?: true | undefined;
|
1295
|
-
required?: false | undefined;
|
1296
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1297
|
-
items: ItemOption[];
|
1298
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1299
|
-
label?: string | undefined;
|
1300
|
-
placeholder?: string | undefined;
|
1301
|
-
helperText?: string | undefined;
|
1302
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1303
|
-
textBefore?: string | undefined;
|
1304
|
-
textAfter?: string | undefined;
|
1305
|
-
variant?: "normal" | "tight" | undefined;
|
1306
|
-
listOverflow?: Property.Overflow | undefined;
|
1307
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1308
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1309
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1310
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1311
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1312
|
-
closeAfterSelect?: boolean | undefined;
|
1313
|
-
size?: string | undefined;
|
1314
|
-
view?: string | undefined;
|
1315
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1316
|
-
} & {
|
1317
|
-
readOnly?: false | undefined;
|
1318
|
-
disabled?: false | undefined;
|
1319
|
-
alwaysOpened?: true | undefined;
|
1320
|
-
} & {
|
1321
|
-
multiple?: false | undefined;
|
1322
|
-
value?: string | undefined;
|
1323
|
-
onChange?: ((value: string) => void) | undefined;
|
1324
|
-
isTargetAmount?: false | undefined;
|
1325
|
-
targetAmount?: undefined;
|
1326
|
-
renderValue?: undefined;
|
1327
|
-
} & {
|
1328
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1329
|
-
} & {
|
1330
|
-
required: true;
|
1331
|
-
optional?: false | undefined;
|
1332
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1333
|
-
items: ItemOption[];
|
1334
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1335
|
-
label?: string | undefined;
|
1336
|
-
placeholder?: string | undefined;
|
1337
|
-
helperText?: string | undefined;
|
1338
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1339
|
-
textBefore?: string | undefined;
|
1340
|
-
textAfter?: string | undefined;
|
1341
|
-
variant?: "normal" | "tight" | undefined;
|
1342
|
-
listOverflow?: Property.Overflow | undefined;
|
1343
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1344
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1345
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1346
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1347
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1348
|
-
closeAfterSelect?: boolean | undefined;
|
1349
|
-
size?: string | undefined;
|
1350
|
-
view?: string | undefined;
|
1351
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1352
|
-
} & {
|
1353
|
-
readOnly?: false | undefined;
|
1354
|
-
disabled?: false | undefined;
|
1355
|
-
alwaysOpened?: true | undefined;
|
1356
|
-
} & {
|
1357
|
-
multiple?: false | undefined;
|
1358
|
-
value?: string | undefined;
|
1359
|
-
onChange?: ((value: string) => void) | undefined;
|
1360
|
-
isTargetAmount?: false | undefined;
|
1361
|
-
targetAmount?: undefined;
|
1362
|
-
renderValue?: undefined;
|
1363
|
-
} & {
|
1364
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1365
|
-
} & {
|
1366
|
-
optional?: true | undefined;
|
1367
|
-
required?: false | undefined;
|
1368
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1369
|
-
items: ItemOption[];
|
1370
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1371
|
-
label?: string | undefined;
|
1372
|
-
placeholder?: string | undefined;
|
1373
|
-
helperText?: string | undefined;
|
1374
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1375
|
-
textBefore?: string | undefined;
|
1376
|
-
textAfter?: string | undefined;
|
1377
|
-
variant?: "normal" | "tight" | undefined;
|
1378
|
-
listOverflow?: Property.Overflow | undefined;
|
1379
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1380
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1381
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1382
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1383
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1384
|
-
closeAfterSelect?: boolean | undefined;
|
1385
|
-
size?: string | undefined;
|
1386
|
-
view?: string | undefined;
|
1387
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1388
|
-
} & {
|
1389
|
-
readOnly?: false | undefined;
|
1390
|
-
disabled?: false | undefined;
|
1391
|
-
alwaysOpened?: true | undefined;
|
1392
|
-
} & {
|
1393
|
-
multiple: true;
|
1394
|
-
value?: string[] | undefined;
|
1395
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1396
|
-
isTargetAmount?: true | undefined;
|
1397
|
-
targetAmount?: number | undefined;
|
1398
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
1399
|
-
} & {
|
1400
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1401
|
-
} & {
|
1402
|
-
required: true;
|
1403
|
-
optional?: false | undefined;
|
1404
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1405
|
-
items: ItemOption[];
|
1406
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1407
|
-
label?: string | undefined;
|
1408
|
-
placeholder?: string | undefined;
|
1409
|
-
helperText?: string | undefined;
|
1410
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1411
|
-
textBefore?: string | undefined;
|
1412
|
-
textAfter?: string | undefined;
|
1413
|
-
variant?: "normal" | "tight" | undefined;
|
1414
|
-
listOverflow?: Property.Overflow | undefined;
|
1415
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1416
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1417
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1418
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1419
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1420
|
-
closeAfterSelect?: boolean | undefined;
|
1421
|
-
size?: string | undefined;
|
1422
|
-
view?: string | undefined;
|
1423
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1424
|
-
} & {
|
1425
|
-
readOnly?: false | undefined;
|
1426
|
-
disabled?: false | undefined;
|
1427
|
-
alwaysOpened?: true | undefined;
|
1428
|
-
} & {
|
1429
|
-
multiple: true;
|
1430
|
-
value?: string[] | undefined;
|
1431
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1432
|
-
isTargetAmount?: true | undefined;
|
1433
|
-
targetAmount?: number | undefined;
|
1434
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
1435
|
-
} & {
|
1436
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1437
|
-
} & {
|
1438
|
-
optional?: true | undefined;
|
1439
|
-
required?: false | undefined;
|
1440
|
-
} & 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;
|
987
|
+
export const Combobox: <T extends ItemOption>(props: Props<T> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
|
1441
988
|
|
1442
989
|
// @public
|
1443
990
|
export const Counter: FunctionComponent<PropsType< {
|
@@ -1703,7 +1250,7 @@ m: PolymorphicClassName;
|
|
1703
1250
|
s: PolymorphicClassName;
|
1704
1251
|
xs: PolymorphicClassName;
|
1705
1252
|
};
|
1706
|
-
}> &
|
1253
|
+
}> & Props_2 & RefAttributes<HTMLDivElement>>;
|
1707
1254
|
|
1708
1255
|
// @public (undocumented)
|
1709
1256
|
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
|
-
|
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>))
|
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
|
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
|
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-dfa",
|
3
|
-
"version": "0.173.0-canary.1550.
|
3
|
+
"version": "0.173.0-canary.1550.11805988388.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS DFA 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-dfa"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@salutejs/plasma-new-hope": "0.193.0-canary.1550.
|
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": {
|
@@ -95,5 +95,5 @@
|
|
95
95
|
"Anton Vinogradov"
|
96
96
|
],
|
97
97
|
"sideEffects": false,
|
98
|
-
"gitHead": "
|
98
|
+
"gitHead": "7a91689b9eb0ed410282c082268040e421c1e82f"
|
99
99
|
}
|
package/temp/sdds-dfa.api.md
CHANGED
@@ -152,7 +152,7 @@ import { priceClasses } from '@salutejs/plasma-new-hope/styled-components';
|
|
152
152
|
import { PriceProps } from '@salutejs/plasma-new-hope/types/components/Price/Price.types';
|
153
153
|
import { ProgressProps } from '@salutejs/plasma-new-hope/styled-components';
|
154
154
|
import { Property } from 'csstype';
|
155
|
-
import { Props } from '@salutejs/plasma-new-hope/types/components/EmptyState/EmptyState.types';
|
155
|
+
import { Props as Props_2 } from '@salutejs/plasma-new-hope/types/components/EmptyState/EmptyState.types';
|
156
156
|
import { PropsType } from '@salutejs/plasma-new-hope/types/engines/types';
|
157
157
|
import { RadioGroup } from '@salutejs/plasma-new-hope/styled-components';
|
158
158
|
import { RangeInputRefs } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -981,463 +981,10 @@ export { ColProps }
|
|
981
981
|
|
982
982
|
export { ColSizeProps }
|
983
983
|
|
984
|
+
// Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point index.d.ts
|
985
|
+
//
|
984
986
|
// @public (undocumented)
|
985
|
-
export const Combobox: <T extends ItemOption>(props:
|
986
|
-
view: {
|
987
|
-
default: PolymorphicClassName;
|
988
|
-
positive: PolymorphicClassName;
|
989
|
-
warning: PolymorphicClassName;
|
990
|
-
negative: PolymorphicClassName;
|
991
|
-
};
|
992
|
-
size: {
|
993
|
-
l: PolymorphicClassName;
|
994
|
-
m: PolymorphicClassName;
|
995
|
-
s: PolymorphicClassName;
|
996
|
-
xs: PolymorphicClassName;
|
997
|
-
};
|
998
|
-
labelPlacement: {
|
999
|
-
inner: PolymorphicClassName;
|
1000
|
-
outer: PolymorphicClassName;
|
1001
|
-
};
|
1002
|
-
disabled: {
|
1003
|
-
true: PolymorphicClassName;
|
1004
|
-
};
|
1005
|
-
readOnly: {
|
1006
|
-
true: PolymorphicClassName;
|
1007
|
-
};
|
1008
|
-
}> & (({
|
1009
|
-
items: ItemOption[];
|
1010
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1011
|
-
label?: string | undefined;
|
1012
|
-
placeholder?: string | undefined;
|
1013
|
-
helperText?: string | undefined;
|
1014
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1015
|
-
textBefore?: string | undefined;
|
1016
|
-
textAfter?: string | undefined;
|
1017
|
-
variant?: "normal" | "tight" | undefined;
|
1018
|
-
listOverflow?: Property.Overflow | undefined;
|
1019
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1020
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1021
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1022
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1023
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1024
|
-
closeAfterSelect?: boolean | undefined;
|
1025
|
-
size?: string | undefined;
|
1026
|
-
view?: string | undefined;
|
1027
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1028
|
-
} & {
|
1029
|
-
readOnly?: boolean | undefined;
|
1030
|
-
disabled?: true | undefined;
|
1031
|
-
alwaysOpened?: false | undefined;
|
1032
|
-
} & {
|
1033
|
-
multiple?: false | undefined;
|
1034
|
-
value?: string | undefined;
|
1035
|
-
onChange?: ((value: string) => void) | undefined;
|
1036
|
-
isTargetAmount?: false | undefined;
|
1037
|
-
targetAmount?: undefined;
|
1038
|
-
renderValue?: undefined;
|
1039
|
-
} & {
|
1040
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1041
|
-
} & {
|
1042
|
-
required: true;
|
1043
|
-
optional?: false | undefined;
|
1044
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1045
|
-
items: ItemOption[];
|
1046
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1047
|
-
label?: string | undefined;
|
1048
|
-
placeholder?: string | undefined;
|
1049
|
-
helperText?: string | undefined;
|
1050
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1051
|
-
textBefore?: string | undefined;
|
1052
|
-
textAfter?: string | undefined;
|
1053
|
-
variant?: "normal" | "tight" | undefined;
|
1054
|
-
listOverflow?: Property.Overflow | undefined;
|
1055
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1056
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1057
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1058
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1059
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1060
|
-
closeAfterSelect?: boolean | undefined;
|
1061
|
-
size?: string | undefined;
|
1062
|
-
view?: string | undefined;
|
1063
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1064
|
-
} & {
|
1065
|
-
readOnly?: boolean | undefined;
|
1066
|
-
disabled?: true | undefined;
|
1067
|
-
alwaysOpened?: false | undefined;
|
1068
|
-
} & {
|
1069
|
-
multiple?: false | undefined;
|
1070
|
-
value?: string | undefined;
|
1071
|
-
onChange?: ((value: string) => void) | undefined;
|
1072
|
-
isTargetAmount?: false | undefined;
|
1073
|
-
targetAmount?: undefined;
|
1074
|
-
renderValue?: undefined;
|
1075
|
-
} & {
|
1076
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1077
|
-
} & {
|
1078
|
-
optional?: true | undefined;
|
1079
|
-
required?: false | undefined;
|
1080
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1081
|
-
items: ItemOption[];
|
1082
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1083
|
-
label?: string | undefined;
|
1084
|
-
placeholder?: string | undefined;
|
1085
|
-
helperText?: string | undefined;
|
1086
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1087
|
-
textBefore?: string | undefined;
|
1088
|
-
textAfter?: string | undefined;
|
1089
|
-
variant?: "normal" | "tight" | undefined;
|
1090
|
-
listOverflow?: Property.Overflow | undefined;
|
1091
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1092
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1093
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1094
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1095
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1096
|
-
closeAfterSelect?: boolean | undefined;
|
1097
|
-
size?: string | undefined;
|
1098
|
-
view?: string | undefined;
|
1099
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1100
|
-
} & {
|
1101
|
-
readOnly?: boolean | undefined;
|
1102
|
-
disabled?: true | undefined;
|
1103
|
-
alwaysOpened?: false | undefined;
|
1104
|
-
} & {
|
1105
|
-
multiple: true;
|
1106
|
-
value?: string[] | undefined;
|
1107
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1108
|
-
isTargetAmount?: true | undefined;
|
1109
|
-
targetAmount?: number | undefined;
|
1110
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
1111
|
-
} & {
|
1112
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1113
|
-
} & {
|
1114
|
-
required: true;
|
1115
|
-
optional?: false | undefined;
|
1116
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1117
|
-
items: ItemOption[];
|
1118
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1119
|
-
label?: string | undefined;
|
1120
|
-
placeholder?: string | undefined;
|
1121
|
-
helperText?: string | undefined;
|
1122
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1123
|
-
textBefore?: string | undefined;
|
1124
|
-
textAfter?: string | undefined;
|
1125
|
-
variant?: "normal" | "tight" | undefined;
|
1126
|
-
listOverflow?: Property.Overflow | undefined;
|
1127
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1128
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1129
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1130
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1131
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1132
|
-
closeAfterSelect?: boolean | undefined;
|
1133
|
-
size?: string | undefined;
|
1134
|
-
view?: string | undefined;
|
1135
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1136
|
-
} & {
|
1137
|
-
readOnly?: boolean | undefined;
|
1138
|
-
disabled?: true | undefined;
|
1139
|
-
alwaysOpened?: false | undefined;
|
1140
|
-
} & {
|
1141
|
-
multiple: true;
|
1142
|
-
value?: string[] | undefined;
|
1143
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1144
|
-
isTargetAmount?: true | undefined;
|
1145
|
-
targetAmount?: number | undefined;
|
1146
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
1147
|
-
} & {
|
1148
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1149
|
-
} & {
|
1150
|
-
optional?: true | undefined;
|
1151
|
-
required?: false | undefined;
|
1152
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1153
|
-
items: ItemOption[];
|
1154
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1155
|
-
label?: string | undefined;
|
1156
|
-
placeholder?: string | undefined;
|
1157
|
-
helperText?: string | undefined;
|
1158
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1159
|
-
textBefore?: string | undefined;
|
1160
|
-
textAfter?: string | undefined;
|
1161
|
-
variant?: "normal" | "tight" | undefined;
|
1162
|
-
listOverflow?: Property.Overflow | undefined;
|
1163
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1164
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1165
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1166
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1167
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1168
|
-
closeAfterSelect?: boolean | undefined;
|
1169
|
-
size?: string | undefined;
|
1170
|
-
view?: string | undefined;
|
1171
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1172
|
-
} & {
|
1173
|
-
readOnly?: true | undefined;
|
1174
|
-
disabled?: boolean | undefined;
|
1175
|
-
alwaysOpened?: false | undefined;
|
1176
|
-
} & {
|
1177
|
-
multiple?: false | undefined;
|
1178
|
-
value?: string | undefined;
|
1179
|
-
onChange?: ((value: string) => void) | undefined;
|
1180
|
-
isTargetAmount?: false | undefined;
|
1181
|
-
targetAmount?: undefined;
|
1182
|
-
renderValue?: undefined;
|
1183
|
-
} & {
|
1184
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1185
|
-
} & {
|
1186
|
-
required: true;
|
1187
|
-
optional?: false | undefined;
|
1188
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1189
|
-
items: ItemOption[];
|
1190
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1191
|
-
label?: string | undefined;
|
1192
|
-
placeholder?: string | undefined;
|
1193
|
-
helperText?: string | undefined;
|
1194
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1195
|
-
textBefore?: string | undefined;
|
1196
|
-
textAfter?: string | undefined;
|
1197
|
-
variant?: "normal" | "tight" | undefined;
|
1198
|
-
listOverflow?: Property.Overflow | undefined;
|
1199
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1200
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1201
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1202
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1203
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1204
|
-
closeAfterSelect?: boolean | undefined;
|
1205
|
-
size?: string | undefined;
|
1206
|
-
view?: string | undefined;
|
1207
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1208
|
-
} & {
|
1209
|
-
readOnly?: true | undefined;
|
1210
|
-
disabled?: boolean | undefined;
|
1211
|
-
alwaysOpened?: false | undefined;
|
1212
|
-
} & {
|
1213
|
-
multiple?: false | undefined;
|
1214
|
-
value?: string | undefined;
|
1215
|
-
onChange?: ((value: string) => void) | undefined;
|
1216
|
-
isTargetAmount?: false | undefined;
|
1217
|
-
targetAmount?: undefined;
|
1218
|
-
renderValue?: undefined;
|
1219
|
-
} & {
|
1220
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1221
|
-
} & {
|
1222
|
-
optional?: true | undefined;
|
1223
|
-
required?: false | undefined;
|
1224
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1225
|
-
items: ItemOption[];
|
1226
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1227
|
-
label?: string | undefined;
|
1228
|
-
placeholder?: string | undefined;
|
1229
|
-
helperText?: string | undefined;
|
1230
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1231
|
-
textBefore?: string | undefined;
|
1232
|
-
textAfter?: string | undefined;
|
1233
|
-
variant?: "normal" | "tight" | undefined;
|
1234
|
-
listOverflow?: Property.Overflow | undefined;
|
1235
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1236
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1237
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1238
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1239
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1240
|
-
closeAfterSelect?: boolean | undefined;
|
1241
|
-
size?: string | undefined;
|
1242
|
-
view?: string | undefined;
|
1243
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1244
|
-
} & {
|
1245
|
-
readOnly?: true | undefined;
|
1246
|
-
disabled?: boolean | undefined;
|
1247
|
-
alwaysOpened?: false | undefined;
|
1248
|
-
} & {
|
1249
|
-
multiple: true;
|
1250
|
-
value?: string[] | undefined;
|
1251
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1252
|
-
isTargetAmount?: true | undefined;
|
1253
|
-
targetAmount?: number | undefined;
|
1254
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
1255
|
-
} & {
|
1256
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1257
|
-
} & {
|
1258
|
-
required: true;
|
1259
|
-
optional?: false | undefined;
|
1260
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1261
|
-
items: ItemOption[];
|
1262
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1263
|
-
label?: string | undefined;
|
1264
|
-
placeholder?: string | undefined;
|
1265
|
-
helperText?: string | undefined;
|
1266
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1267
|
-
textBefore?: string | undefined;
|
1268
|
-
textAfter?: string | undefined;
|
1269
|
-
variant?: "normal" | "tight" | undefined;
|
1270
|
-
listOverflow?: Property.Overflow | undefined;
|
1271
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1272
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1273
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1274
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1275
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1276
|
-
closeAfterSelect?: boolean | undefined;
|
1277
|
-
size?: string | undefined;
|
1278
|
-
view?: string | undefined;
|
1279
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1280
|
-
} & {
|
1281
|
-
readOnly?: true | undefined;
|
1282
|
-
disabled?: boolean | undefined;
|
1283
|
-
alwaysOpened?: false | undefined;
|
1284
|
-
} & {
|
1285
|
-
multiple: true;
|
1286
|
-
value?: string[] | undefined;
|
1287
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1288
|
-
isTargetAmount?: true | undefined;
|
1289
|
-
targetAmount?: number | undefined;
|
1290
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
1291
|
-
} & {
|
1292
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1293
|
-
} & {
|
1294
|
-
optional?: true | undefined;
|
1295
|
-
required?: false | undefined;
|
1296
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1297
|
-
items: ItemOption[];
|
1298
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1299
|
-
label?: string | undefined;
|
1300
|
-
placeholder?: string | undefined;
|
1301
|
-
helperText?: string | undefined;
|
1302
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1303
|
-
textBefore?: string | undefined;
|
1304
|
-
textAfter?: string | undefined;
|
1305
|
-
variant?: "normal" | "tight" | undefined;
|
1306
|
-
listOverflow?: Property.Overflow | undefined;
|
1307
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1308
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1309
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1310
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1311
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1312
|
-
closeAfterSelect?: boolean | undefined;
|
1313
|
-
size?: string | undefined;
|
1314
|
-
view?: string | undefined;
|
1315
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1316
|
-
} & {
|
1317
|
-
readOnly?: false | undefined;
|
1318
|
-
disabled?: false | undefined;
|
1319
|
-
alwaysOpened?: true | undefined;
|
1320
|
-
} & {
|
1321
|
-
multiple?: false | undefined;
|
1322
|
-
value?: string | undefined;
|
1323
|
-
onChange?: ((value: string) => void) | undefined;
|
1324
|
-
isTargetAmount?: false | undefined;
|
1325
|
-
targetAmount?: undefined;
|
1326
|
-
renderValue?: undefined;
|
1327
|
-
} & {
|
1328
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1329
|
-
} & {
|
1330
|
-
required: true;
|
1331
|
-
optional?: false | undefined;
|
1332
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1333
|
-
items: ItemOption[];
|
1334
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1335
|
-
label?: string | undefined;
|
1336
|
-
placeholder?: string | undefined;
|
1337
|
-
helperText?: string | undefined;
|
1338
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1339
|
-
textBefore?: string | undefined;
|
1340
|
-
textAfter?: string | undefined;
|
1341
|
-
variant?: "normal" | "tight" | undefined;
|
1342
|
-
listOverflow?: Property.Overflow | undefined;
|
1343
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1344
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1345
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1346
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1347
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1348
|
-
closeAfterSelect?: boolean | undefined;
|
1349
|
-
size?: string | undefined;
|
1350
|
-
view?: string | undefined;
|
1351
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1352
|
-
} & {
|
1353
|
-
readOnly?: false | undefined;
|
1354
|
-
disabled?: false | undefined;
|
1355
|
-
alwaysOpened?: true | undefined;
|
1356
|
-
} & {
|
1357
|
-
multiple?: false | undefined;
|
1358
|
-
value?: string | undefined;
|
1359
|
-
onChange?: ((value: string) => void) | undefined;
|
1360
|
-
isTargetAmount?: false | undefined;
|
1361
|
-
targetAmount?: undefined;
|
1362
|
-
renderValue?: undefined;
|
1363
|
-
} & {
|
1364
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1365
|
-
} & {
|
1366
|
-
optional?: true | undefined;
|
1367
|
-
required?: false | undefined;
|
1368
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1369
|
-
items: ItemOption[];
|
1370
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1371
|
-
label?: string | undefined;
|
1372
|
-
placeholder?: string | undefined;
|
1373
|
-
helperText?: string | undefined;
|
1374
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1375
|
-
textBefore?: string | undefined;
|
1376
|
-
textAfter?: string | undefined;
|
1377
|
-
variant?: "normal" | "tight" | undefined;
|
1378
|
-
listOverflow?: Property.Overflow | undefined;
|
1379
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1380
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1381
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1382
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1383
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1384
|
-
closeAfterSelect?: boolean | undefined;
|
1385
|
-
size?: string | undefined;
|
1386
|
-
view?: string | undefined;
|
1387
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1388
|
-
} & {
|
1389
|
-
readOnly?: false | undefined;
|
1390
|
-
disabled?: false | undefined;
|
1391
|
-
alwaysOpened?: true | undefined;
|
1392
|
-
} & {
|
1393
|
-
multiple: true;
|
1394
|
-
value?: string[] | undefined;
|
1395
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1396
|
-
isTargetAmount?: true | undefined;
|
1397
|
-
targetAmount?: number | undefined;
|
1398
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
1399
|
-
} & {
|
1400
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1401
|
-
} & {
|
1402
|
-
required: true;
|
1403
|
-
optional?: false | undefined;
|
1404
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>) | ({
|
1405
|
-
items: ItemOption[];
|
1406
|
-
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
1407
|
-
label?: string | undefined;
|
1408
|
-
placeholder?: string | undefined;
|
1409
|
-
helperText?: string | undefined;
|
1410
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1411
|
-
textBefore?: string | undefined;
|
1412
|
-
textAfter?: string | undefined;
|
1413
|
-
variant?: "normal" | "tight" | undefined;
|
1414
|
-
listOverflow?: Property.Overflow | undefined;
|
1415
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1416
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1417
|
-
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1418
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1419
|
-
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
1420
|
-
closeAfterSelect?: boolean | undefined;
|
1421
|
-
size?: string | undefined;
|
1422
|
-
view?: string | undefined;
|
1423
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1424
|
-
} & {
|
1425
|
-
readOnly?: false | undefined;
|
1426
|
-
disabled?: false | undefined;
|
1427
|
-
alwaysOpened?: true | undefined;
|
1428
|
-
} & {
|
1429
|
-
multiple: true;
|
1430
|
-
value?: string[] | undefined;
|
1431
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1432
|
-
isTargetAmount?: true | undefined;
|
1433
|
-
targetAmount?: number | undefined;
|
1434
|
-
renderValue?: ((item: ItemOption) => string) | undefined;
|
1435
|
-
} & {
|
1436
|
-
requiredPlacement?: "right" | "left" | undefined;
|
1437
|
-
} & {
|
1438
|
-
optional?: true | undefined;
|
1439
|
-
required?: false | undefined;
|
1440
|
-
} & 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;
|
987
|
+
export const Combobox: <T extends ItemOption>(props: Props<T> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
|
1441
988
|
|
1442
989
|
// @public
|
1443
990
|
export const Counter: FunctionComponent<PropsType< {
|
@@ -1703,7 +1250,7 @@ m: PolymorphicClassName;
|
|
1703
1250
|
s: PolymorphicClassName;
|
1704
1251
|
xs: PolymorphicClassName;
|
1705
1252
|
};
|
1706
|
-
}> &
|
1253
|
+
}> & Props_2 & RefAttributes<HTMLDivElement>>;
|
1707
1254
|
|
1708
1255
|
// @public (undocumented)
|
1709
1256
|
export const Grid: FunctionComponent<PropsType< {
|