@salutejs/plasma-b2c 1.417.0-canary.1392.11343531504.0 → 1.417.0-canary.1392.11347585113.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-b2c.api.md +7 -226
- package/components/Combobox/Combobox.d.ts +126 -6
- package/components/Combobox/index.d.ts +12 -227
- package/components/Combobox/index.js +6 -2
- package/components/Toast/Toast.config.js +1 -1
- package/css/cjs/components/Combobox/index.js +6 -2
- package/css/cjs/components/Combobox/index.js.map +1 -1
- package/css/cjs/components/Toast/Toast.config.js +1 -1
- package/css/cjs/components/Toast/Toast.config.js.map +1 -1
- package/css/cjs/components/Toast/{Toast.config_1cwp1pi.css → Toast.config_1jtfxhk.css} +1 -1
- package/css/cjs/components/Toast/Toast.css +6 -6
- package/css/cjs/index.css +6 -6
- package/css/es/components/Combobox/index.js +6 -2
- package/css/es/components/Combobox/index.js.map +1 -1
- package/css/es/components/Toast/Toast.config.js +1 -1
- package/css/es/components/Toast/Toast.config.js.map +1 -1
- package/css/es/components/Toast/{Toast.config_1cwp1pi.css → Toast.config_1jtfxhk.css} +1 -1
- package/css/es/components/Toast/Toast.css +6 -6
- package/css/es/index.css +6 -6
- package/es/components/Combobox/index.js +6 -3
- package/es/components/Toast/Toast.config.js +1 -1
- package/package.json +3 -3
- package/temp/plasma-b2c.api.md +7 -226
package/api/plasma-b2c.api.md
CHANGED
@@ -42,7 +42,6 @@ import { BaseCallbackKeyboardInstance } from '@salutejs/plasma-new-hope/types/co
|
|
42
42
|
import { BaseProps } from '@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types';
|
43
43
|
import { BaseTabItemProps } from '@salutejs/plasma-new-hope/types/components/Tabs/TabItem.types';
|
44
44
|
import { BaseTabsProps } from '@salutejs/plasma-new-hope/types/components/Tabs/Tabs.types';
|
45
|
-
import { BasicProps } from '@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types';
|
46
45
|
import { BlurProps } from '@salutejs/plasma-core';
|
47
46
|
import { blurs } from '@salutejs/plasma-core';
|
48
47
|
import { BoldProps } from '@salutejs/plasma-new-hope/types/components/Typography/Typography.types';
|
@@ -95,6 +94,7 @@ import { ColProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
95
94
|
import { ColSizeProps } from '@salutejs/plasma-new-hope/styled-components';
|
96
95
|
import { ComboboxPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types';
|
97
96
|
import { ComboboxOldProps as ComboboxProps } from '@salutejs/plasma-new-hope/styled-components';
|
97
|
+
import type { ComboboxProps as ComboboxProps_2 } from '@salutejs/plasma-new-hope';
|
98
98
|
import { ComponentClass } from 'react';
|
99
99
|
import { ComponentProps } from 'react';
|
100
100
|
import { GridProps as ContainerProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -156,6 +156,8 @@ import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
156
156
|
import { InputHTMLAttributes } from '@salutejs/plasma-core';
|
157
157
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from '@salutejs/plasma-new-hope/types/types';
|
158
158
|
import { InputHTMLAttributes as InputHTMLAttributes_3 } from 'react';
|
159
|
+
import type { ItemOption } from '@salutejs/plasma-new-hope';
|
160
|
+
import { ItemOption as ItemOption_2 } from '@salutejs/plasma-new-hope/styled-components';
|
159
161
|
import { JSXElementConstructor } from 'react';
|
160
162
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
161
163
|
import { LineSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -176,6 +178,7 @@ import { ModalView } from '@salutejs/plasma-hope';
|
|
176
178
|
import { monthLongName } from '@salutejs/plasma-core';
|
177
179
|
import { monthShortName } from '@salutejs/plasma-core';
|
178
180
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
181
|
+
import { MutableRefObject } from 'react';
|
179
182
|
import { NotificationIconPlacement } from '@salutejs/plasma-new-hope/styled-components';
|
180
183
|
import { NotificationLayout } from '@salutejs/plasma-new-hope/styled-components';
|
181
184
|
import { NotificationProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -1223,232 +1226,10 @@ export { ColProps }
|
|
1223
1226
|
|
1224
1227
|
export { ColSizeProps }
|
1225
1228
|
|
1229
|
+
// Warning: (ae-forgotten-export) The symbol "CommonProps" needs to be exported by the entry point index.d.ts
|
1230
|
+
//
|
1226
1231
|
// @public (undocumented)
|
1227
|
-
export const Combobox:
|
1228
|
-
view: {
|
1229
|
-
default: PolymorphicClassName;
|
1230
|
-
positive: PolymorphicClassName;
|
1231
|
-
warning: PolymorphicClassName;
|
1232
|
-
negative: PolymorphicClassName;
|
1233
|
-
};
|
1234
|
-
size: {
|
1235
|
-
l: PolymorphicClassName;
|
1236
|
-
m: PolymorphicClassName;
|
1237
|
-
s: PolymorphicClassName;
|
1238
|
-
xs: PolymorphicClassName;
|
1239
|
-
};
|
1240
|
-
labelPlacement: {
|
1241
|
-
inner: PolymorphicClassName;
|
1242
|
-
outer: PolymorphicClassName;
|
1243
|
-
};
|
1244
|
-
disabled: {
|
1245
|
-
true: PolymorphicClassName;
|
1246
|
-
};
|
1247
|
-
readOnly: {
|
1248
|
-
true: PolymorphicClassName;
|
1249
|
-
};
|
1250
|
-
}> & BasicProps & {
|
1251
|
-
readOnly?: boolean | undefined;
|
1252
|
-
disabled?: true | undefined;
|
1253
|
-
alwaysOpened?: false | undefined;
|
1254
|
-
} & {
|
1255
|
-
multiple?: false | undefined;
|
1256
|
-
value?: string | undefined;
|
1257
|
-
onChange?: ((value: string) => void) | undefined;
|
1258
|
-
isTargetAmount?: false | undefined;
|
1259
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
|
1260
|
-
view: {
|
1261
|
-
default: PolymorphicClassName;
|
1262
|
-
positive: PolymorphicClassName;
|
1263
|
-
warning: PolymorphicClassName;
|
1264
|
-
negative: PolymorphicClassName;
|
1265
|
-
};
|
1266
|
-
size: {
|
1267
|
-
l: PolymorphicClassName;
|
1268
|
-
m: PolymorphicClassName;
|
1269
|
-
s: PolymorphicClassName;
|
1270
|
-
xs: PolymorphicClassName;
|
1271
|
-
};
|
1272
|
-
labelPlacement: {
|
1273
|
-
inner: PolymorphicClassName;
|
1274
|
-
outer: PolymorphicClassName;
|
1275
|
-
};
|
1276
|
-
disabled: {
|
1277
|
-
true: PolymorphicClassName;
|
1278
|
-
};
|
1279
|
-
readOnly: {
|
1280
|
-
true: PolymorphicClassName;
|
1281
|
-
};
|
1282
|
-
}> & BasicProps & {
|
1283
|
-
readOnly?: boolean | undefined;
|
1284
|
-
disabled?: true | undefined;
|
1285
|
-
alwaysOpened?: false | undefined;
|
1286
|
-
} & {
|
1287
|
-
multiple: true;
|
1288
|
-
value?: string[] | undefined;
|
1289
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1290
|
-
isTargetAmount?: boolean | undefined;
|
1291
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
|
1292
|
-
view: {
|
1293
|
-
default: PolymorphicClassName;
|
1294
|
-
positive: PolymorphicClassName;
|
1295
|
-
warning: PolymorphicClassName;
|
1296
|
-
negative: PolymorphicClassName;
|
1297
|
-
};
|
1298
|
-
size: {
|
1299
|
-
l: PolymorphicClassName;
|
1300
|
-
m: PolymorphicClassName;
|
1301
|
-
s: PolymorphicClassName;
|
1302
|
-
xs: PolymorphicClassName;
|
1303
|
-
};
|
1304
|
-
labelPlacement: {
|
1305
|
-
inner: PolymorphicClassName;
|
1306
|
-
outer: PolymorphicClassName;
|
1307
|
-
};
|
1308
|
-
disabled: {
|
1309
|
-
true: PolymorphicClassName;
|
1310
|
-
};
|
1311
|
-
readOnly: {
|
1312
|
-
true: PolymorphicClassName;
|
1313
|
-
};
|
1314
|
-
}> & BasicProps & {
|
1315
|
-
readOnly?: true | undefined;
|
1316
|
-
disabled?: boolean | undefined;
|
1317
|
-
alwaysOpened?: false | undefined;
|
1318
|
-
} & {
|
1319
|
-
multiple?: false | undefined;
|
1320
|
-
value?: string | undefined;
|
1321
|
-
onChange?: ((value: string) => void) | undefined;
|
1322
|
-
isTargetAmount?: false | undefined;
|
1323
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
|
1324
|
-
view: {
|
1325
|
-
default: PolymorphicClassName;
|
1326
|
-
positive: PolymorphicClassName;
|
1327
|
-
warning: PolymorphicClassName;
|
1328
|
-
negative: PolymorphicClassName;
|
1329
|
-
};
|
1330
|
-
size: {
|
1331
|
-
l: PolymorphicClassName;
|
1332
|
-
m: PolymorphicClassName;
|
1333
|
-
s: PolymorphicClassName;
|
1334
|
-
xs: PolymorphicClassName;
|
1335
|
-
};
|
1336
|
-
labelPlacement: {
|
1337
|
-
inner: PolymorphicClassName;
|
1338
|
-
outer: PolymorphicClassName;
|
1339
|
-
};
|
1340
|
-
disabled: {
|
1341
|
-
true: PolymorphicClassName;
|
1342
|
-
};
|
1343
|
-
readOnly: {
|
1344
|
-
true: PolymorphicClassName;
|
1345
|
-
};
|
1346
|
-
}> & BasicProps & {
|
1347
|
-
readOnly?: true | undefined;
|
1348
|
-
disabled?: boolean | undefined;
|
1349
|
-
alwaysOpened?: false | undefined;
|
1350
|
-
} & {
|
1351
|
-
multiple: true;
|
1352
|
-
value?: string[] | undefined;
|
1353
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1354
|
-
isTargetAmount?: boolean | undefined;
|
1355
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
|
1356
|
-
view: {
|
1357
|
-
default: PolymorphicClassName;
|
1358
|
-
positive: PolymorphicClassName;
|
1359
|
-
warning: PolymorphicClassName;
|
1360
|
-
negative: PolymorphicClassName;
|
1361
|
-
};
|
1362
|
-
size: {
|
1363
|
-
l: PolymorphicClassName;
|
1364
|
-
m: PolymorphicClassName;
|
1365
|
-
s: PolymorphicClassName;
|
1366
|
-
xs: PolymorphicClassName;
|
1367
|
-
};
|
1368
|
-
labelPlacement: {
|
1369
|
-
inner: PolymorphicClassName;
|
1370
|
-
outer: PolymorphicClassName;
|
1371
|
-
};
|
1372
|
-
disabled: {
|
1373
|
-
true: PolymorphicClassName;
|
1374
|
-
};
|
1375
|
-
readOnly: {
|
1376
|
-
true: PolymorphicClassName;
|
1377
|
-
};
|
1378
|
-
}> & BasicProps & {
|
1379
|
-
readOnly?: false | undefined;
|
1380
|
-
disabled?: false | undefined;
|
1381
|
-
alwaysOpened?: true | undefined;
|
1382
|
-
} & {
|
1383
|
-
multiple?: false | undefined;
|
1384
|
-
value?: string | undefined;
|
1385
|
-
onChange?: ((value: string) => void) | undefined;
|
1386
|
-
isTargetAmount?: false | undefined;
|
1387
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
|
1388
|
-
view: {
|
1389
|
-
default: PolymorphicClassName;
|
1390
|
-
positive: PolymorphicClassName;
|
1391
|
-
warning: PolymorphicClassName;
|
1392
|
-
negative: PolymorphicClassName;
|
1393
|
-
};
|
1394
|
-
size: {
|
1395
|
-
l: PolymorphicClassName;
|
1396
|
-
m: PolymorphicClassName;
|
1397
|
-
s: PolymorphicClassName;
|
1398
|
-
xs: PolymorphicClassName;
|
1399
|
-
};
|
1400
|
-
labelPlacement: {
|
1401
|
-
inner: PolymorphicClassName;
|
1402
|
-
outer: PolymorphicClassName;
|
1403
|
-
};
|
1404
|
-
disabled: {
|
1405
|
-
true: PolymorphicClassName;
|
1406
|
-
};
|
1407
|
-
readOnly: {
|
1408
|
-
true: PolymorphicClassName;
|
1409
|
-
};
|
1410
|
-
}> & BasicProps & {
|
1411
|
-
readOnly?: false | undefined;
|
1412
|
-
disabled?: false | undefined;
|
1413
|
-
alwaysOpened?: true | undefined;
|
1414
|
-
} & {
|
1415
|
-
multiple: true;
|
1416
|
-
value?: string[] | undefined;
|
1417
|
-
onChange?: ((value: string[]) => void) | undefined;
|
1418
|
-
isTargetAmount?: boolean | undefined;
|
1419
|
-
} & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
|
1420
|
-
size: {
|
1421
|
-
xs: PolymorphicClassName;
|
1422
|
-
s: PolymorphicClassName;
|
1423
|
-
m: PolymorphicClassName;
|
1424
|
-
l: PolymorphicClassName;
|
1425
|
-
};
|
1426
|
-
view: {
|
1427
|
-
default: PolymorphicClassName;
|
1428
|
-
};
|
1429
|
-
}> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & CustomComboboxProps & {
|
1430
|
-
valueType?: "single" | undefined;
|
1431
|
-
value?: ComboboxPrimitiveValue | undefined;
|
1432
|
-
onChangeValue?: ((value?: ComboboxPrimitiveValue | undefined) => void) | undefined;
|
1433
|
-
} & React_2.RefAttributes<HTMLInputElement> & {
|
1434
|
-
items?: undefined;
|
1435
|
-
}, "ref"> | Omit<PropsType< {
|
1436
|
-
size: {
|
1437
|
-
xs: PolymorphicClassName;
|
1438
|
-
s: PolymorphicClassName;
|
1439
|
-
m: PolymorphicClassName;
|
1440
|
-
l: PolymorphicClassName;
|
1441
|
-
};
|
1442
|
-
view: {
|
1443
|
-
default: PolymorphicClassName;
|
1444
|
-
};
|
1445
|
-
}> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & CustomComboboxProps & {
|
1446
|
-
valueType: "multiple";
|
1447
|
-
value?: ComboboxPrimitiveValue[] | undefined;
|
1448
|
-
onChangeValue?: ((value?: ComboboxPrimitiveValue[] | undefined) => void) | undefined;
|
1449
|
-
} & React_2.RefAttributes<HTMLInputElement> & {
|
1450
|
-
items?: undefined;
|
1451
|
-
}, "ref">) & React_2.RefAttributes<HTMLInputElement>>;
|
1232
|
+
export const Combobox: <T extends ItemOption>(props: CommonProps<T> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement | null;
|
1452
1233
|
|
1453
1234
|
// @public (undocumented)
|
1454
1235
|
export const ComboboxDivider: FunctionComponent<PropsType<Variants> & HTMLAttributes<HTMLDivElement> & {
|
@@ -22,7 +22,27 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
22
22
|
readOnly: {
|
23
23
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
24
24
|
};
|
25
|
-
}> & ((
|
25
|
+
}> & (({
|
26
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
27
|
+
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
28
|
+
label?: string | undefined;
|
29
|
+
placeholder?: string | undefined;
|
30
|
+
helperText?: string | undefined;
|
31
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
32
|
+
textBefore?: string | undefined;
|
33
|
+
textAfter?: string | undefined;
|
34
|
+
variant?: "normal" | "tight" | undefined;
|
35
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
36
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
37
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
38
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
39
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
40
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
41
|
+
closeAfterSelect?: boolean | undefined;
|
42
|
+
size?: string | undefined;
|
43
|
+
view?: string | undefined;
|
44
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
45
|
+
} & {
|
26
46
|
readOnly?: boolean | undefined;
|
27
47
|
disabled?: true | undefined;
|
28
48
|
alwaysOpened?: false | undefined;
|
@@ -31,7 +51,27 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
31
51
|
value?: string | undefined;
|
32
52
|
onChange?: ((value: string) => void) | undefined;
|
33
53
|
isTargetAmount?: false | undefined;
|
34
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (
|
54
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
55
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
56
|
+
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
57
|
+
label?: string | undefined;
|
58
|
+
placeholder?: string | undefined;
|
59
|
+
helperText?: string | undefined;
|
60
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
61
|
+
textBefore?: string | undefined;
|
62
|
+
textAfter?: string | undefined;
|
63
|
+
variant?: "normal" | "tight" | undefined;
|
64
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
65
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
66
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
67
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
68
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
69
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
70
|
+
closeAfterSelect?: boolean | undefined;
|
71
|
+
size?: string | undefined;
|
72
|
+
view?: string | undefined;
|
73
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
74
|
+
} & {
|
35
75
|
readOnly?: boolean | undefined;
|
36
76
|
disabled?: true | undefined;
|
37
77
|
alwaysOpened?: false | undefined;
|
@@ -40,7 +80,27 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
40
80
|
value?: string[] | undefined;
|
41
81
|
onChange?: ((value: string[]) => void) | undefined;
|
42
82
|
isTargetAmount?: boolean | undefined;
|
43
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (
|
83
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
84
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
85
|
+
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
86
|
+
label?: string | undefined;
|
87
|
+
placeholder?: string | undefined;
|
88
|
+
helperText?: string | undefined;
|
89
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
90
|
+
textBefore?: string | undefined;
|
91
|
+
textAfter?: string | undefined;
|
92
|
+
variant?: "normal" | "tight" | undefined;
|
93
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
94
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
95
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
96
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
97
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
98
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
99
|
+
closeAfterSelect?: boolean | undefined;
|
100
|
+
size?: string | undefined;
|
101
|
+
view?: string | undefined;
|
102
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
103
|
+
} & {
|
44
104
|
readOnly?: true | undefined;
|
45
105
|
disabled?: boolean | undefined;
|
46
106
|
alwaysOpened?: false | undefined;
|
@@ -49,7 +109,27 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
49
109
|
value?: string | undefined;
|
50
110
|
onChange?: ((value: string) => void) | undefined;
|
51
111
|
isTargetAmount?: false | undefined;
|
52
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (
|
112
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
113
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
114
|
+
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
115
|
+
label?: string | undefined;
|
116
|
+
placeholder?: string | undefined;
|
117
|
+
helperText?: string | undefined;
|
118
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
119
|
+
textBefore?: string | undefined;
|
120
|
+
textAfter?: string | undefined;
|
121
|
+
variant?: "normal" | "tight" | undefined;
|
122
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
123
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
124
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
125
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
126
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
127
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
128
|
+
closeAfterSelect?: boolean | undefined;
|
129
|
+
size?: string | undefined;
|
130
|
+
view?: string | undefined;
|
131
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
132
|
+
} & {
|
53
133
|
readOnly?: true | undefined;
|
54
134
|
disabled?: boolean | undefined;
|
55
135
|
alwaysOpened?: false | undefined;
|
@@ -58,7 +138,27 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
58
138
|
value?: string[] | undefined;
|
59
139
|
onChange?: ((value: string[]) => void) | undefined;
|
60
140
|
isTargetAmount?: boolean | undefined;
|
61
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (
|
141
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
142
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
143
|
+
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
144
|
+
label?: string | undefined;
|
145
|
+
placeholder?: string | undefined;
|
146
|
+
helperText?: string | undefined;
|
147
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
148
|
+
textBefore?: string | undefined;
|
149
|
+
textAfter?: string | undefined;
|
150
|
+
variant?: "normal" | "tight" | undefined;
|
151
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
152
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
153
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
154
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
155
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
156
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
157
|
+
closeAfterSelect?: boolean | undefined;
|
158
|
+
size?: string | undefined;
|
159
|
+
view?: string | undefined;
|
160
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
161
|
+
} & {
|
62
162
|
readOnly?: false | undefined;
|
63
163
|
disabled?: false | undefined;
|
64
164
|
alwaysOpened?: true | undefined;
|
@@ -67,7 +167,27 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
67
167
|
value?: string | undefined;
|
68
168
|
onChange?: ((value: string) => void) | undefined;
|
69
169
|
isTargetAmount?: false | undefined;
|
70
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (
|
170
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
171
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
172
|
+
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
173
|
+
label?: string | undefined;
|
174
|
+
placeholder?: string | undefined;
|
175
|
+
helperText?: string | undefined;
|
176
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
177
|
+
textBefore?: string | undefined;
|
178
|
+
textAfter?: string | undefined;
|
179
|
+
variant?: "normal" | "tight" | undefined;
|
180
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
181
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
182
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
183
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
184
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
185
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
186
|
+
closeAfterSelect?: boolean | undefined;
|
187
|
+
size?: string | undefined;
|
188
|
+
view?: string | undefined;
|
189
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
190
|
+
} & {
|
71
191
|
readOnly?: false | undefined;
|
72
192
|
disabled?: false | undefined;
|
73
193
|
alwaysOpened?: true | undefined;
|