@salutejs/plasma-web 1.414.0-dev.0 → 1.415.0-canary.1470.11181201904.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-web.api.md +127 -7
- package/components/Combobox/Combobox.d.ts +126 -6
- package/components/Combobox/index.d.ts +126 -6
- package/package.json +3 -3
- package/temp/plasma-web.api.md +3739 -0
package/api/plasma-web.api.md
CHANGED
@@ -40,7 +40,6 @@ 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';
|
44
43
|
import { BlurProps } from '@salutejs/plasma-core';
|
45
44
|
import { blurs } from '@salutejs/plasma-core';
|
46
45
|
import { BoldProps } from '@salutejs/plasma-new-hope/types/components/Typography/Typography.types';
|
@@ -154,6 +153,7 @@ import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
154
153
|
import { InputHTMLAttributes } from '@salutejs/plasma-core';
|
155
154
|
import { InputHTMLAttributes as InputHTMLAttributes_2 } from '@salutejs/plasma-new-hope/types/types';
|
156
155
|
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';
|
@@ -1247,7 +1247,27 @@ true: PolymorphicClassName;
|
|
1247
1247
|
readOnly: {
|
1248
1248
|
true: PolymorphicClassName;
|
1249
1249
|
};
|
1250
|
-
}> &
|
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
|
+
} & {
|
1251
1271
|
readOnly?: boolean | undefined;
|
1252
1272
|
disabled?: true | undefined;
|
1253
1273
|
alwaysOpened?: false | undefined;
|
@@ -1279,7 +1299,27 @@ true: PolymorphicClassName;
|
|
1279
1299
|
readOnly: {
|
1280
1300
|
true: PolymorphicClassName;
|
1281
1301
|
};
|
1282
|
-
}> &
|
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
|
+
} & {
|
1283
1323
|
readOnly?: boolean | undefined;
|
1284
1324
|
disabled?: true | undefined;
|
1285
1325
|
alwaysOpened?: false | undefined;
|
@@ -1311,7 +1351,27 @@ true: PolymorphicClassName;
|
|
1311
1351
|
readOnly: {
|
1312
1352
|
true: PolymorphicClassName;
|
1313
1353
|
};
|
1314
|
-
}> &
|
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
|
+
} & {
|
1315
1375
|
readOnly?: true | undefined;
|
1316
1376
|
disabled?: boolean | undefined;
|
1317
1377
|
alwaysOpened?: false | undefined;
|
@@ -1343,7 +1403,27 @@ true: PolymorphicClassName;
|
|
1343
1403
|
readOnly: {
|
1344
1404
|
true: PolymorphicClassName;
|
1345
1405
|
};
|
1346
|
-
}> &
|
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
|
+
} & {
|
1347
1427
|
readOnly?: true | undefined;
|
1348
1428
|
disabled?: boolean | undefined;
|
1349
1429
|
alwaysOpened?: false | undefined;
|
@@ -1375,7 +1455,27 @@ true: PolymorphicClassName;
|
|
1375
1455
|
readOnly: {
|
1376
1456
|
true: PolymorphicClassName;
|
1377
1457
|
};
|
1378
|
-
}> &
|
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
|
+
} & {
|
1379
1479
|
readOnly?: false | undefined;
|
1380
1480
|
disabled?: false | undefined;
|
1381
1481
|
alwaysOpened?: true | undefined;
|
@@ -1407,7 +1507,27 @@ true: PolymorphicClassName;
|
|
1407
1507
|
readOnly: {
|
1408
1508
|
true: PolymorphicClassName;
|
1409
1509
|
};
|
1410
|
-
}> &
|
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
|
+
} & {
|
1411
1531
|
readOnly?: false | undefined;
|
1412
1532
|
disabled?: false | undefined;
|
1413
1533
|
alwaysOpened?: true | undefined;
|
@@ -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?: ((label: string, 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?: ((label: string, 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?: ((label: string, 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?: ((label: string, 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?: ((label: string, 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?: ((label: string, 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;
|
@@ -24,7 +24,27 @@ 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
|
-
}> &
|
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
|
+
} & {
|
28
48
|
readOnly?: boolean | undefined;
|
29
49
|
disabled?: true | undefined;
|
30
50
|
alwaysOpened?: false | undefined;
|
@@ -56,7 +76,27 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
|
|
56
76
|
readOnly: {
|
57
77
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
58
78
|
};
|
59
|
-
}> &
|
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
|
+
} & {
|
60
100
|
readOnly?: boolean | undefined;
|
61
101
|
disabled?: true | undefined;
|
62
102
|
alwaysOpened?: false | undefined;
|
@@ -88,7 +128,27 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
|
|
88
128
|
readOnly: {
|
89
129
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
90
130
|
};
|
91
|
-
}> &
|
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
|
+
} & {
|
92
152
|
readOnly?: true | undefined;
|
93
153
|
disabled?: boolean | undefined;
|
94
154
|
alwaysOpened?: false | undefined;
|
@@ -120,7 +180,27 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
|
|
120
180
|
readOnly: {
|
121
181
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
122
182
|
};
|
123
|
-
}> &
|
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
|
+
} & {
|
124
204
|
readOnly?: true | undefined;
|
125
205
|
disabled?: boolean | undefined;
|
126
206
|
alwaysOpened?: false | undefined;
|
@@ -152,7 +232,27 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
|
|
152
232
|
readOnly: {
|
153
233
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
154
234
|
};
|
155
|
-
}> &
|
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
|
+
} & {
|
156
256
|
readOnly?: false | undefined;
|
157
257
|
disabled?: false | undefined;
|
158
258
|
alwaysOpened?: true | undefined;
|
@@ -184,7 +284,27 @@ declare const Combobox: React.ForwardRefExoticComponent<(Omit<import("@salutejs/
|
|
184
284
|
readOnly: {
|
185
285
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
186
286
|
};
|
187
|
-
}> &
|
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
|
+
} & {
|
188
308
|
readOnly?: false | undefined;
|
189
309
|
disabled?: false | undefined;
|
190
310
|
alwaysOpened?: true | undefined;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-web",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.415.0-canary.1470.11181201904.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",
|
@@ -21,7 +21,7 @@
|
|
21
21
|
"dependencies": {
|
22
22
|
"@salutejs/plasma-core": "1.180.0",
|
23
23
|
"@salutejs/plasma-hope": "1.313.0",
|
24
|
-
"@salutejs/plasma-new-hope": "0.
|
24
|
+
"@salutejs/plasma-new-hope": "0.162.0-canary.1470.11181201904.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",
|
@@ -112,5 +112,5 @@
|
|
112
112
|
"Fanil Zubairov"
|
113
113
|
],
|
114
114
|
"sideEffects": false,
|
115
|
-
"gitHead": "
|
115
|
+
"gitHead": "35b518838f3d4549c52600a89ff0a7a7ee3ce548"
|
116
116
|
}
|