@salutejs/plasma-web 1.415.0-canary.1470.11195366738.0 → 1.415.0-canary.1472.11233413552.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-web.api.md +10 -130
- package/components/Accordion/Accordion.d.ts +1 -1
- package/components/Combobox/Combobox.d.ts +6 -126
- package/components/Combobox/Legacy/Combobox.d.ts +2 -2
- package/components/Combobox/index.d.ts +8 -128
- package/package.json +7 -7
- package/temp/plasma-web.api.md +10 -130
package/api/plasma-web.api.md
CHANGED
@@ -40,6 +40,7 @@ import { BaseboxProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
40
40
|
import { BaseCallbackChangeInstance } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
41
41
|
import { BaseCallbackKeyboardInstance } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
42
42
|
import { BaseProps } from '@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types';
|
43
|
+
import { BasicProps } from '@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types';
|
43
44
|
import { BlurProps } from '@salutejs/plasma-core';
|
44
45
|
import { blurs } from '@salutejs/plasma-core';
|
45
46
|
import { BoldProps } from '@salutejs/plasma-new-hope/types/components/Typography/Typography.types';
|
@@ -153,7 +154,6 @@ import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
153
154
|
import { InputHTMLAttributes } from '@salutejs/plasma-core';
|
154
155
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from '@salutejs/plasma-new-hope/types/types';
|
155
156
|
import { InputHTMLAttributes as InputHTMLAttributes_3 } from 'react';
|
156
|
-
import { ItemOption } from '@salutejs/plasma-new-hope/styled-components';
|
157
157
|
import { JSXElementConstructor } from 'react';
|
158
158
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
159
159
|
import { LineSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -346,7 +346,7 @@ filled: PolymorphicClassName;
|
|
346
346
|
fixed: PolymorphicClassName;
|
347
347
|
};
|
348
348
|
}> & {
|
349
|
-
view
|
349
|
+
view?: string | undefined;
|
350
350
|
size?: string | undefined;
|
351
351
|
singleActive?: boolean | undefined;
|
352
352
|
defaultActiveEventKey?: number[] | undefined;
|
@@ -1247,27 +1247,7 @@ true: PolymorphicClassName;
|
|
1247
1247
|
readOnly: {
|
1248
1248
|
true: PolymorphicClassName;
|
1249
1249
|
};
|
1250
|
-
}> & {
|
1251
|
-
items: ItemOption[];
|
1252
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
1253
|
-
label?: string | undefined;
|
1254
|
-
placeholder?: string | undefined;
|
1255
|
-
helperText?: string | undefined;
|
1256
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1257
|
-
textBefore?: string | undefined;
|
1258
|
-
textAfter?: string | undefined;
|
1259
|
-
variant?: "normal" | "tight" | undefined;
|
1260
|
-
listOverflow?: Property.Overflow | undefined;
|
1261
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1262
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1263
|
-
portal?: React_2.MutableRefObject<HTMLElement | null> | undefined;
|
1264
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1265
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
1266
|
-
closeAfterSelect?: boolean | undefined;
|
1267
|
-
size?: string | undefined;
|
1268
|
-
view?: string | undefined;
|
1269
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1270
|
-
} & {
|
1250
|
+
}> & BasicProps & {
|
1271
1251
|
readOnly?: boolean | undefined;
|
1272
1252
|
disabled?: true | undefined;
|
1273
1253
|
alwaysOpened?: false | undefined;
|
@@ -1299,27 +1279,7 @@ true: PolymorphicClassName;
|
|
1299
1279
|
readOnly: {
|
1300
1280
|
true: PolymorphicClassName;
|
1301
1281
|
};
|
1302
|
-
}> & {
|
1303
|
-
items: ItemOption[];
|
1304
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
1305
|
-
label?: string | undefined;
|
1306
|
-
placeholder?: string | undefined;
|
1307
|
-
helperText?: string | undefined;
|
1308
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1309
|
-
textBefore?: string | undefined;
|
1310
|
-
textAfter?: string | undefined;
|
1311
|
-
variant?: "normal" | "tight" | undefined;
|
1312
|
-
listOverflow?: Property.Overflow | undefined;
|
1313
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1314
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1315
|
-
portal?: React_2.MutableRefObject<HTMLElement | null> | undefined;
|
1316
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1317
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
1318
|
-
closeAfterSelect?: boolean | undefined;
|
1319
|
-
size?: string | undefined;
|
1320
|
-
view?: string | undefined;
|
1321
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1322
|
-
} & {
|
1282
|
+
}> & BasicProps & {
|
1323
1283
|
readOnly?: boolean | undefined;
|
1324
1284
|
disabled?: true | undefined;
|
1325
1285
|
alwaysOpened?: false | undefined;
|
@@ -1351,27 +1311,7 @@ true: PolymorphicClassName;
|
|
1351
1311
|
readOnly: {
|
1352
1312
|
true: PolymorphicClassName;
|
1353
1313
|
};
|
1354
|
-
}> & {
|
1355
|
-
items: ItemOption[];
|
1356
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
1357
|
-
label?: string | undefined;
|
1358
|
-
placeholder?: string | undefined;
|
1359
|
-
helperText?: string | undefined;
|
1360
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1361
|
-
textBefore?: string | undefined;
|
1362
|
-
textAfter?: string | undefined;
|
1363
|
-
variant?: "normal" | "tight" | undefined;
|
1364
|
-
listOverflow?: Property.Overflow | undefined;
|
1365
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1366
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1367
|
-
portal?: React_2.MutableRefObject<HTMLElement | null> | undefined;
|
1368
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1369
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
1370
|
-
closeAfterSelect?: boolean | undefined;
|
1371
|
-
size?: string | undefined;
|
1372
|
-
view?: string | undefined;
|
1373
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1374
|
-
} & {
|
1314
|
+
}> & BasicProps & {
|
1375
1315
|
readOnly?: true | undefined;
|
1376
1316
|
disabled?: boolean | undefined;
|
1377
1317
|
alwaysOpened?: false | undefined;
|
@@ -1403,27 +1343,7 @@ true: PolymorphicClassName;
|
|
1403
1343
|
readOnly: {
|
1404
1344
|
true: PolymorphicClassName;
|
1405
1345
|
};
|
1406
|
-
}> & {
|
1407
|
-
items: ItemOption[];
|
1408
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
1409
|
-
label?: string | undefined;
|
1410
|
-
placeholder?: string | undefined;
|
1411
|
-
helperText?: string | undefined;
|
1412
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1413
|
-
textBefore?: string | undefined;
|
1414
|
-
textAfter?: string | undefined;
|
1415
|
-
variant?: "normal" | "tight" | undefined;
|
1416
|
-
listOverflow?: Property.Overflow | undefined;
|
1417
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1418
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1419
|
-
portal?: React_2.MutableRefObject<HTMLElement | null> | undefined;
|
1420
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1421
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
1422
|
-
closeAfterSelect?: boolean | undefined;
|
1423
|
-
size?: string | undefined;
|
1424
|
-
view?: string | undefined;
|
1425
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1426
|
-
} & {
|
1346
|
+
}> & BasicProps & {
|
1427
1347
|
readOnly?: true | undefined;
|
1428
1348
|
disabled?: boolean | undefined;
|
1429
1349
|
alwaysOpened?: false | undefined;
|
@@ -1455,27 +1375,7 @@ true: PolymorphicClassName;
|
|
1455
1375
|
readOnly: {
|
1456
1376
|
true: PolymorphicClassName;
|
1457
1377
|
};
|
1458
|
-
}> & {
|
1459
|
-
items: ItemOption[];
|
1460
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
1461
|
-
label?: string | undefined;
|
1462
|
-
placeholder?: string | undefined;
|
1463
|
-
helperText?: string | undefined;
|
1464
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1465
|
-
textBefore?: string | undefined;
|
1466
|
-
textAfter?: string | undefined;
|
1467
|
-
variant?: "normal" | "tight" | undefined;
|
1468
|
-
listOverflow?: Property.Overflow | undefined;
|
1469
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1470
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1471
|
-
portal?: React_2.MutableRefObject<HTMLElement | null> | undefined;
|
1472
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1473
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
1474
|
-
closeAfterSelect?: boolean | undefined;
|
1475
|
-
size?: string | undefined;
|
1476
|
-
view?: string | undefined;
|
1477
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1478
|
-
} & {
|
1378
|
+
}> & BasicProps & {
|
1479
1379
|
readOnly?: false | undefined;
|
1480
1380
|
disabled?: false | undefined;
|
1481
1381
|
alwaysOpened?: true | undefined;
|
@@ -1507,27 +1407,7 @@ true: PolymorphicClassName;
|
|
1507
1407
|
readOnly: {
|
1508
1408
|
true: PolymorphicClassName;
|
1509
1409
|
};
|
1510
|
-
}> & {
|
1511
|
-
items: ItemOption[];
|
1512
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
1513
|
-
label?: string | undefined;
|
1514
|
-
placeholder?: string | undefined;
|
1515
|
-
helperText?: string | undefined;
|
1516
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1517
|
-
textBefore?: string | undefined;
|
1518
|
-
textAfter?: string | undefined;
|
1519
|
-
variant?: "normal" | "tight" | undefined;
|
1520
|
-
listOverflow?: Property.Overflow | undefined;
|
1521
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1522
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1523
|
-
portal?: React_2.MutableRefObject<HTMLElement | null> | undefined;
|
1524
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1525
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
1526
|
-
closeAfterSelect?: boolean | undefined;
|
1527
|
-
size?: string | undefined;
|
1528
|
-
view?: string | undefined;
|
1529
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1530
|
-
} & {
|
1410
|
+
}> & BasicProps & {
|
1531
1411
|
readOnly?: false | undefined;
|
1532
1412
|
disabled?: false | undefined;
|
1533
1413
|
alwaysOpened?: true | undefined;
|
@@ -1546,7 +1426,7 @@ l: PolymorphicClassName;
|
|
1546
1426
|
view: {
|
1547
1427
|
default: PolymorphicClassName;
|
1548
1428
|
};
|
1549
|
-
}> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "
|
1429
|
+
}> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & CustomComboboxProps & {
|
1550
1430
|
valueType?: "single" | undefined;
|
1551
1431
|
value?: ComboboxPrimitiveValue | undefined;
|
1552
1432
|
onChangeValue?: ((value?: ComboboxPrimitiveValue | undefined) => void) | undefined;
|
@@ -1562,7 +1442,7 @@ l: PolymorphicClassName;
|
|
1562
1442
|
view: {
|
1563
1443
|
default: PolymorphicClassName;
|
1564
1444
|
};
|
1565
|
-
}> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "
|
1445
|
+
}> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & CustomComboboxProps & {
|
1566
1446
|
valueType: "multiple";
|
1567
1447
|
value?: ComboboxPrimitiveValue[] | undefined;
|
1568
1448
|
onChangeValue?: ((value?: ComboboxPrimitiveValue[] | undefined) => void) | undefined;
|
@@ -20,7 +20,7 @@ export declare const Accordion: import("react").FunctionComponent<import("@salut
|
|
20
20
|
fixed: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
21
21
|
};
|
22
22
|
}> & {
|
23
|
-
view
|
23
|
+
view?: string | undefined;
|
24
24
|
size?: string | undefined;
|
25
25
|
singleActive?: boolean | undefined;
|
26
26
|
defaultActiveEventKey?: number[] | undefined;
|
@@ -22,27 +22,7 @@ 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
|
-
}> & (({
|
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?: ((label: string, textValue: string) => boolean) | undefined;
|
41
|
-
closeAfterSelect?: boolean | undefined;
|
42
|
-
size?: string | undefined;
|
43
|
-
view?: string | undefined;
|
44
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
45
|
-
} & {
|
25
|
+
}> & ((import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
|
46
26
|
readOnly?: boolean | undefined;
|
47
27
|
disabled?: true | undefined;
|
48
28
|
alwaysOpened?: false | undefined;
|
@@ -51,27 +31,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
51
31
|
value?: string | undefined;
|
52
32
|
onChange?: ((value: string) => void) | undefined;
|
53
33
|
isTargetAmount?: false | undefined;
|
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?: ((label: string, textValue: string) => boolean) | undefined;
|
70
|
-
closeAfterSelect?: boolean | undefined;
|
71
|
-
size?: string | undefined;
|
72
|
-
view?: string | undefined;
|
73
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
74
|
-
} & {
|
34
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
|
75
35
|
readOnly?: boolean | undefined;
|
76
36
|
disabled?: true | undefined;
|
77
37
|
alwaysOpened?: false | undefined;
|
@@ -80,27 +40,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
80
40
|
value?: string[] | undefined;
|
81
41
|
onChange?: ((value: string[]) => void) | undefined;
|
82
42
|
isTargetAmount?: boolean | undefined;
|
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?: ((label: string, textValue: string) => boolean) | undefined;
|
99
|
-
closeAfterSelect?: boolean | undefined;
|
100
|
-
size?: string | undefined;
|
101
|
-
view?: string | undefined;
|
102
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
103
|
-
} & {
|
43
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
|
104
44
|
readOnly?: true | undefined;
|
105
45
|
disabled?: boolean | undefined;
|
106
46
|
alwaysOpened?: false | undefined;
|
@@ -109,27 +49,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
109
49
|
value?: string | undefined;
|
110
50
|
onChange?: ((value: string) => void) | undefined;
|
111
51
|
isTargetAmount?: false | undefined;
|
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?: ((label: string, textValue: string) => boolean) | undefined;
|
128
|
-
closeAfterSelect?: boolean | undefined;
|
129
|
-
size?: string | undefined;
|
130
|
-
view?: string | undefined;
|
131
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
132
|
-
} & {
|
52
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
|
133
53
|
readOnly?: true | undefined;
|
134
54
|
disabled?: boolean | undefined;
|
135
55
|
alwaysOpened?: false | undefined;
|
@@ -138,27 +58,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
138
58
|
value?: string[] | undefined;
|
139
59
|
onChange?: ((value: string[]) => void) | undefined;
|
140
60
|
isTargetAmount?: boolean | undefined;
|
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?: ((label: string, textValue: string) => boolean) | undefined;
|
157
|
-
closeAfterSelect?: boolean | undefined;
|
158
|
-
size?: string | undefined;
|
159
|
-
view?: string | undefined;
|
160
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
161
|
-
} & {
|
61
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
|
162
62
|
readOnly?: false | undefined;
|
163
63
|
disabled?: false | undefined;
|
164
64
|
alwaysOpened?: true | undefined;
|
@@ -167,27 +67,7 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
167
67
|
value?: string | undefined;
|
168
68
|
onChange?: ((value: string) => void) | undefined;
|
169
69
|
isTargetAmount?: false | undefined;
|
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?: ((label: string, textValue: string) => boolean) | undefined;
|
186
|
-
closeAfterSelect?: boolean | undefined;
|
187
|
-
size?: string | undefined;
|
188
|
-
view?: string | undefined;
|
189
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
190
|
-
} & {
|
70
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
|
191
71
|
readOnly?: false | undefined;
|
192
72
|
disabled?: false | undefined;
|
193
73
|
alwaysOpened?: true | undefined;
|
@@ -9,11 +9,11 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
9
9
|
view: {
|
10
10
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
11
|
};
|
12
|
-
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "
|
12
|
+
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").CustomComboboxProps & {
|
13
13
|
valueType?: "single" | undefined;
|
14
14
|
value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue | undefined;
|
15
15
|
onChangeValue?: ((value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue | undefined) => void) | undefined;
|
16
|
-
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "
|
16
|
+
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").CustomComboboxProps & {
|
17
17
|
valueType: "multiple";
|
18
18
|
value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue[] | undefined;
|
19
19
|
onChangeValue?: ((value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue[] | undefined) => void) | undefined;
|
@@ -24,27 +24,7 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
|
|
24
24
|
readOnly: {
|
25
25
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
26
26
|
};
|
27
|
-
}> & {
|
28
|
-
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
29
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
30
|
-
label?: string | undefined;
|
31
|
-
placeholder?: string | undefined;
|
32
|
-
helperText?: string | undefined;
|
33
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
34
|
-
textBefore?: string | undefined;
|
35
|
-
textAfter?: string | undefined;
|
36
|
-
variant?: "normal" | "tight" | undefined;
|
37
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
38
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
39
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
40
|
-
portal?: React.MutableRefObject<HTMLElement | null> | undefined;
|
41
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => React.ReactNode) | undefined;
|
42
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
43
|
-
closeAfterSelect?: boolean | undefined;
|
44
|
-
size?: string | undefined;
|
45
|
-
view?: string | undefined;
|
46
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
47
|
-
} & {
|
27
|
+
}> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
|
48
28
|
readOnly?: boolean | undefined;
|
49
29
|
disabled?: true | undefined;
|
50
30
|
alwaysOpened?: false | undefined;
|
@@ -76,27 +56,7 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
|
|
76
56
|
readOnly: {
|
77
57
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
78
58
|
};
|
79
|
-
}> & {
|
80
|
-
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
81
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
82
|
-
label?: string | undefined;
|
83
|
-
placeholder?: string | undefined;
|
84
|
-
helperText?: string | undefined;
|
85
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
86
|
-
textBefore?: string | undefined;
|
87
|
-
textAfter?: string | undefined;
|
88
|
-
variant?: "normal" | "tight" | undefined;
|
89
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
90
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
91
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
92
|
-
portal?: React.MutableRefObject<HTMLElement | null> | undefined;
|
93
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => React.ReactNode) | undefined;
|
94
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
95
|
-
closeAfterSelect?: boolean | undefined;
|
96
|
-
size?: string | undefined;
|
97
|
-
view?: string | undefined;
|
98
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
99
|
-
} & {
|
59
|
+
}> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
|
100
60
|
readOnly?: boolean | undefined;
|
101
61
|
disabled?: true | undefined;
|
102
62
|
alwaysOpened?: false | undefined;
|
@@ -128,27 +88,7 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
|
|
128
88
|
readOnly: {
|
129
89
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
130
90
|
};
|
131
|
-
}> & {
|
132
|
-
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
133
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
134
|
-
label?: string | undefined;
|
135
|
-
placeholder?: string | undefined;
|
136
|
-
helperText?: string | undefined;
|
137
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
138
|
-
textBefore?: string | undefined;
|
139
|
-
textAfter?: string | undefined;
|
140
|
-
variant?: "normal" | "tight" | undefined;
|
141
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
142
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
143
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
144
|
-
portal?: React.MutableRefObject<HTMLElement | null> | undefined;
|
145
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => React.ReactNode) | undefined;
|
146
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
147
|
-
closeAfterSelect?: boolean | undefined;
|
148
|
-
size?: string | undefined;
|
149
|
-
view?: string | undefined;
|
150
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
151
|
-
} & {
|
91
|
+
}> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
|
152
92
|
readOnly?: true | undefined;
|
153
93
|
disabled?: boolean | undefined;
|
154
94
|
alwaysOpened?: false | undefined;
|
@@ -180,27 +120,7 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
|
|
180
120
|
readOnly: {
|
181
121
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
182
122
|
};
|
183
|
-
}> & {
|
184
|
-
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
185
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
186
|
-
label?: string | undefined;
|
187
|
-
placeholder?: string | undefined;
|
188
|
-
helperText?: string | undefined;
|
189
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
190
|
-
textBefore?: string | undefined;
|
191
|
-
textAfter?: string | undefined;
|
192
|
-
variant?: "normal" | "tight" | undefined;
|
193
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
194
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
195
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
196
|
-
portal?: React.MutableRefObject<HTMLElement | null> | undefined;
|
197
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => React.ReactNode) | undefined;
|
198
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
199
|
-
closeAfterSelect?: boolean | undefined;
|
200
|
-
size?: string | undefined;
|
201
|
-
view?: string | undefined;
|
202
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
203
|
-
} & {
|
123
|
+
}> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
|
204
124
|
readOnly?: true | undefined;
|
205
125
|
disabled?: boolean | undefined;
|
206
126
|
alwaysOpened?: false | undefined;
|
@@ -232,27 +152,7 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
|
|
232
152
|
readOnly: {
|
233
153
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
234
154
|
};
|
235
|
-
}> & {
|
236
|
-
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
237
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
238
|
-
label?: string | undefined;
|
239
|
-
placeholder?: string | undefined;
|
240
|
-
helperText?: string | undefined;
|
241
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
242
|
-
textBefore?: string | undefined;
|
243
|
-
textAfter?: string | undefined;
|
244
|
-
variant?: "normal" | "tight" | undefined;
|
245
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
246
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
247
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
248
|
-
portal?: React.MutableRefObject<HTMLElement | null> | undefined;
|
249
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => React.ReactNode) | undefined;
|
250
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
251
|
-
closeAfterSelect?: boolean | undefined;
|
252
|
-
size?: string | undefined;
|
253
|
-
view?: string | undefined;
|
254
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
255
|
-
} & {
|
155
|
+
}> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
|
256
156
|
readOnly?: false | undefined;
|
257
157
|
disabled?: false | undefined;
|
258
158
|
alwaysOpened?: true | undefined;
|
@@ -284,27 +184,7 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
|
|
284
184
|
readOnly: {
|
285
185
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
286
186
|
};
|
287
|
-
}> & {
|
288
|
-
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
289
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
290
|
-
label?: string | undefined;
|
291
|
-
placeholder?: string | undefined;
|
292
|
-
helperText?: string | undefined;
|
293
|
-
contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
294
|
-
textBefore?: string | undefined;
|
295
|
-
textAfter?: string | undefined;
|
296
|
-
variant?: "normal" | "tight" | undefined;
|
297
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
298
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
299
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
300
|
-
portal?: React.MutableRefObject<HTMLElement | null> | undefined;
|
301
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => React.ReactNode) | undefined;
|
302
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
303
|
-
closeAfterSelect?: boolean | undefined;
|
304
|
-
size?: string | undefined;
|
305
|
-
view?: string | undefined;
|
306
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
307
|
-
} & {
|
187
|
+
}> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
|
308
188
|
readOnly?: false | undefined;
|
309
189
|
disabled?: false | undefined;
|
310
190
|
alwaysOpened?: true | undefined;
|
@@ -323,7 +203,7 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
|
|
323
203
|
view: {
|
324
204
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
325
205
|
};
|
326
|
-
}> & Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "
|
206
|
+
}> & Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").CustomComboboxProps & {
|
327
207
|
valueType?: "single" | undefined;
|
328
208
|
value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue | undefined;
|
329
209
|
onChangeValue?: ((value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue | undefined) => void) | undefined;
|
@@ -339,7 +219,7 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
|
|
339
219
|
view: {
|
340
220
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
341
221
|
};
|
342
|
-
}> & Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "
|
222
|
+
}> & Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").CustomComboboxProps & {
|
343
223
|
valueType: "multiple";
|
344
224
|
value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue[] | undefined;
|
345
225
|
onChangeValue?: ((value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue[] | undefined) => void) | undefined;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-web",
|
3
|
-
"version": "1.415.0-canary.
|
3
|
+
"version": "1.415.0-canary.1472.11233413552.0",
|
4
4
|
"description": "Salute Design System / React UI kit for web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -19,9 +19,9 @@
|
|
19
19
|
"directory": "packages/plasma-web"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@salutejs/plasma-core": "1.
|
23
|
-
"@salutejs/plasma-hope": "1.
|
24
|
-
"@salutejs/plasma-new-hope": "0.162.0-canary.
|
22
|
+
"@salutejs/plasma-core": "1.181.0-canary.1472.11233413552.0",
|
23
|
+
"@salutejs/plasma-hope": "1.314.0-canary.1472.11233413552.0",
|
24
|
+
"@salutejs/plasma-new-hope": "0.162.0-canary.1472.11233413552.0",
|
25
25
|
"@salutejs/plasma-themes": "0.18.0",
|
26
26
|
"@salutejs/plasma-tokens-b2b": "1.42.0",
|
27
27
|
"@salutejs/plasma-tokens-b2c": "0.52.0",
|
@@ -49,9 +49,9 @@
|
|
49
49
|
"@rollup/plugin-commonjs": "25.0.7",
|
50
50
|
"@rollup/plugin-node-resolve": "15.2.3",
|
51
51
|
"@salutejs/plasma-colors": "0.13.0",
|
52
|
-
"@salutejs/plasma-cy-utils": "0.
|
52
|
+
"@salutejs/plasma-cy-utils": "0.112.0-canary.1472.11233413552.0",
|
53
53
|
"@salutejs/plasma-icons": "1.206.0",
|
54
|
-
"@salutejs/plasma-sb-utils": "0.
|
54
|
+
"@salutejs/plasma-sb-utils": "0.179.0-canary.1472.11233413552.0",
|
55
55
|
"@storybook/addon-docs": "7.6.17",
|
56
56
|
"@storybook/addon-essentials": "7.6.17",
|
57
57
|
"@storybook/addons": "7.6.17",
|
@@ -112,5 +112,5 @@
|
|
112
112
|
"Fanil Zubairov"
|
113
113
|
],
|
114
114
|
"sideEffects": false,
|
115
|
-
"gitHead": "
|
115
|
+
"gitHead": "3142c2e5f1660910933fa4b22f709665ed826c3c"
|
116
116
|
}
|
package/temp/plasma-web.api.md
CHANGED
@@ -40,6 +40,7 @@ import { BaseboxProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
40
40
|
import { BaseCallbackChangeInstance } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
41
41
|
import { BaseCallbackKeyboardInstance } from '@salutejs/plasma-new-hope/types/components/Range/Range.types';
|
42
42
|
import { BaseProps } from '@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types';
|
43
|
+
import { BasicProps } from '@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types';
|
43
44
|
import { BlurProps } from '@salutejs/plasma-core';
|
44
45
|
import { blurs } from '@salutejs/plasma-core';
|
45
46
|
import { BoldProps } from '@salutejs/plasma-new-hope/types/components/Typography/Typography.types';
|
@@ -153,7 +154,6 @@ import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
153
154
|
import { InputHTMLAttributes } from '@salutejs/plasma-core';
|
154
155
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from '@salutejs/plasma-new-hope/types/types';
|
155
156
|
import { InputHTMLAttributes as InputHTMLAttributes_3 } from 'react';
|
156
|
-
import { ItemOption } from '@salutejs/plasma-new-hope/styled-components';
|
157
157
|
import { JSXElementConstructor } from 'react';
|
158
158
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
159
159
|
import { LineSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -346,7 +346,7 @@ filled: PolymorphicClassName;
|
|
346
346
|
fixed: PolymorphicClassName;
|
347
347
|
};
|
348
348
|
}> & {
|
349
|
-
view
|
349
|
+
view?: string | undefined;
|
350
350
|
size?: string | undefined;
|
351
351
|
singleActive?: boolean | undefined;
|
352
352
|
defaultActiveEventKey?: number[] | undefined;
|
@@ -1247,27 +1247,7 @@ true: PolymorphicClassName;
|
|
1247
1247
|
readOnly: {
|
1248
1248
|
true: PolymorphicClassName;
|
1249
1249
|
};
|
1250
|
-
}> & {
|
1251
|
-
items: ItemOption[];
|
1252
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
1253
|
-
label?: string | undefined;
|
1254
|
-
placeholder?: string | undefined;
|
1255
|
-
helperText?: string | undefined;
|
1256
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1257
|
-
textBefore?: string | undefined;
|
1258
|
-
textAfter?: string | undefined;
|
1259
|
-
variant?: "normal" | "tight" | undefined;
|
1260
|
-
listOverflow?: Property.Overflow | undefined;
|
1261
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1262
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1263
|
-
portal?: React_2.MutableRefObject<HTMLElement | null> | undefined;
|
1264
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1265
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
1266
|
-
closeAfterSelect?: boolean | undefined;
|
1267
|
-
size?: string | undefined;
|
1268
|
-
view?: string | undefined;
|
1269
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1270
|
-
} & {
|
1250
|
+
}> & BasicProps & {
|
1271
1251
|
readOnly?: boolean | undefined;
|
1272
1252
|
disabled?: true | undefined;
|
1273
1253
|
alwaysOpened?: false | undefined;
|
@@ -1299,27 +1279,7 @@ true: PolymorphicClassName;
|
|
1299
1279
|
readOnly: {
|
1300
1280
|
true: PolymorphicClassName;
|
1301
1281
|
};
|
1302
|
-
}> & {
|
1303
|
-
items: ItemOption[];
|
1304
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
1305
|
-
label?: string | undefined;
|
1306
|
-
placeholder?: string | undefined;
|
1307
|
-
helperText?: string | undefined;
|
1308
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1309
|
-
textBefore?: string | undefined;
|
1310
|
-
textAfter?: string | undefined;
|
1311
|
-
variant?: "normal" | "tight" | undefined;
|
1312
|
-
listOverflow?: Property.Overflow | undefined;
|
1313
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1314
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1315
|
-
portal?: React_2.MutableRefObject<HTMLElement | null> | undefined;
|
1316
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1317
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
1318
|
-
closeAfterSelect?: boolean | undefined;
|
1319
|
-
size?: string | undefined;
|
1320
|
-
view?: string | undefined;
|
1321
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1322
|
-
} & {
|
1282
|
+
}> & BasicProps & {
|
1323
1283
|
readOnly?: boolean | undefined;
|
1324
1284
|
disabled?: true | undefined;
|
1325
1285
|
alwaysOpened?: false | undefined;
|
@@ -1351,27 +1311,7 @@ true: PolymorphicClassName;
|
|
1351
1311
|
readOnly: {
|
1352
1312
|
true: PolymorphicClassName;
|
1353
1313
|
};
|
1354
|
-
}> & {
|
1355
|
-
items: ItemOption[];
|
1356
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
1357
|
-
label?: string | undefined;
|
1358
|
-
placeholder?: string | undefined;
|
1359
|
-
helperText?: string | undefined;
|
1360
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1361
|
-
textBefore?: string | undefined;
|
1362
|
-
textAfter?: string | undefined;
|
1363
|
-
variant?: "normal" | "tight" | undefined;
|
1364
|
-
listOverflow?: Property.Overflow | undefined;
|
1365
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1366
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1367
|
-
portal?: React_2.MutableRefObject<HTMLElement | null> | undefined;
|
1368
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1369
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
1370
|
-
closeAfterSelect?: boolean | undefined;
|
1371
|
-
size?: string | undefined;
|
1372
|
-
view?: string | undefined;
|
1373
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1374
|
-
} & {
|
1314
|
+
}> & BasicProps & {
|
1375
1315
|
readOnly?: true | undefined;
|
1376
1316
|
disabled?: boolean | undefined;
|
1377
1317
|
alwaysOpened?: false | undefined;
|
@@ -1403,27 +1343,7 @@ true: PolymorphicClassName;
|
|
1403
1343
|
readOnly: {
|
1404
1344
|
true: PolymorphicClassName;
|
1405
1345
|
};
|
1406
|
-
}> & {
|
1407
|
-
items: ItemOption[];
|
1408
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
1409
|
-
label?: string | undefined;
|
1410
|
-
placeholder?: string | undefined;
|
1411
|
-
helperText?: string | undefined;
|
1412
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1413
|
-
textBefore?: string | undefined;
|
1414
|
-
textAfter?: string | undefined;
|
1415
|
-
variant?: "normal" | "tight" | undefined;
|
1416
|
-
listOverflow?: Property.Overflow | undefined;
|
1417
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1418
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1419
|
-
portal?: React_2.MutableRefObject<HTMLElement | null> | undefined;
|
1420
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1421
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
1422
|
-
closeAfterSelect?: boolean | undefined;
|
1423
|
-
size?: string | undefined;
|
1424
|
-
view?: string | undefined;
|
1425
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1426
|
-
} & {
|
1346
|
+
}> & BasicProps & {
|
1427
1347
|
readOnly?: true | undefined;
|
1428
1348
|
disabled?: boolean | undefined;
|
1429
1349
|
alwaysOpened?: false | undefined;
|
@@ -1455,27 +1375,7 @@ true: PolymorphicClassName;
|
|
1455
1375
|
readOnly: {
|
1456
1376
|
true: PolymorphicClassName;
|
1457
1377
|
};
|
1458
|
-
}> & {
|
1459
|
-
items: ItemOption[];
|
1460
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
1461
|
-
label?: string | undefined;
|
1462
|
-
placeholder?: string | undefined;
|
1463
|
-
helperText?: string | undefined;
|
1464
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1465
|
-
textBefore?: string | undefined;
|
1466
|
-
textAfter?: string | undefined;
|
1467
|
-
variant?: "normal" | "tight" | undefined;
|
1468
|
-
listOverflow?: Property.Overflow | undefined;
|
1469
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1470
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1471
|
-
portal?: React_2.MutableRefObject<HTMLElement | null> | undefined;
|
1472
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1473
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
1474
|
-
closeAfterSelect?: boolean | undefined;
|
1475
|
-
size?: string | undefined;
|
1476
|
-
view?: string | undefined;
|
1477
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1478
|
-
} & {
|
1378
|
+
}> & BasicProps & {
|
1479
1379
|
readOnly?: false | undefined;
|
1480
1380
|
disabled?: false | undefined;
|
1481
1381
|
alwaysOpened?: true | undefined;
|
@@ -1507,27 +1407,7 @@ true: PolymorphicClassName;
|
|
1507
1407
|
readOnly: {
|
1508
1408
|
true: PolymorphicClassName;
|
1509
1409
|
};
|
1510
|
-
}> & {
|
1511
|
-
items: ItemOption[];
|
1512
|
-
placement?: ("top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end") | undefined;
|
1513
|
-
label?: string | undefined;
|
1514
|
-
placeholder?: string | undefined;
|
1515
|
-
helperText?: string | undefined;
|
1516
|
-
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
|
1517
|
-
textBefore?: string | undefined;
|
1518
|
-
textAfter?: string | undefined;
|
1519
|
-
variant?: "normal" | "tight" | undefined;
|
1520
|
-
listOverflow?: Property.Overflow | undefined;
|
1521
|
-
listHeight?: Property.Height<string | number> | undefined;
|
1522
|
-
listWidth?: Property.Width<string | number> | undefined;
|
1523
|
-
portal?: React_2.MutableRefObject<HTMLElement | null> | undefined;
|
1524
|
-
renderItem?: ((item: ItemOption) => React_2.ReactNode) | undefined;
|
1525
|
-
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
1526
|
-
closeAfterSelect?: boolean | undefined;
|
1527
|
-
size?: string | undefined;
|
1528
|
-
view?: string | undefined;
|
1529
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
1530
|
-
} & {
|
1410
|
+
}> & BasicProps & {
|
1531
1411
|
readOnly?: false | undefined;
|
1532
1412
|
disabled?: false | undefined;
|
1533
1413
|
alwaysOpened?: true | undefined;
|
@@ -1546,7 +1426,7 @@ l: PolymorphicClassName;
|
|
1546
1426
|
view: {
|
1547
1427
|
default: PolymorphicClassName;
|
1548
1428
|
};
|
1549
|
-
}> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "
|
1429
|
+
}> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & CustomComboboxProps & {
|
1550
1430
|
valueType?: "single" | undefined;
|
1551
1431
|
value?: ComboboxPrimitiveValue | undefined;
|
1552
1432
|
onChangeValue?: ((value?: ComboboxPrimitiveValue | undefined) => void) | undefined;
|
@@ -1562,7 +1442,7 @@ l: PolymorphicClassName;
|
|
1562
1442
|
view: {
|
1563
1443
|
default: PolymorphicClassName;
|
1564
1444
|
};
|
1565
|
-
}> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "
|
1445
|
+
}> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & CustomComboboxProps & {
|
1566
1446
|
valueType: "multiple";
|
1567
1447
|
value?: ComboboxPrimitiveValue[] | undefined;
|
1568
1448
|
onChangeValue?: ((value?: ComboboxPrimitiveValue[] | undefined) => void) | undefined;
|