@salutejs/plasma-web 1.419.0-canary.1459.11345044568.0 → 1.419.0-canary.1459.11347702889.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/api/plasma-web.api.md +7 -226
  2. package/components/Combobox/Combobox.d.ts +126 -6
  3. package/components/Combobox/index.d.ts +12 -227
  4. package/components/Combobox/index.js +6 -2
  5. package/components/TextArea/TextArea.config.js +4 -4
  6. package/components/Toast/Toast.config.js +1 -1
  7. package/css/cjs/components/Combobox/index.js +6 -2
  8. package/css/cjs/components/Combobox/index.js.map +1 -1
  9. package/css/cjs/components/TextArea/TextArea.config.js +1 -1
  10. package/css/cjs/components/TextArea/TextArea.config.js.map +1 -1
  11. package/css/cjs/components/TextArea/{TextArea.config_o66pnl.css → TextArea.config_g5fxsq.css} +4 -4
  12. package/css/cjs/components/TextArea/TextArea.css +16 -16
  13. package/css/cjs/components/Toast/Toast.config.js +1 -1
  14. package/css/cjs/components/Toast/Toast.config.js.map +1 -1
  15. package/css/cjs/components/Toast/{Toast.config_1cwp1pi.css → Toast.config_1jtfxhk.css} +1 -1
  16. package/css/cjs/components/Toast/Toast.css +6 -6
  17. package/css/cjs/index.css +23 -23
  18. package/css/es/components/Combobox/index.js +6 -2
  19. package/css/es/components/Combobox/index.js.map +1 -1
  20. package/css/es/components/TextArea/TextArea.config.js +1 -1
  21. package/css/es/components/TextArea/TextArea.config.js.map +1 -1
  22. package/css/es/components/TextArea/{TextArea.config_o66pnl.css → TextArea.config_g5fxsq.css} +4 -4
  23. package/css/es/components/TextArea/TextArea.css +16 -16
  24. package/css/es/components/Toast/Toast.config.js +1 -1
  25. package/css/es/components/Toast/Toast.config.js.map +1 -1
  26. package/css/es/components/Toast/{Toast.config_1cwp1pi.css → Toast.config_1jtfxhk.css} +1 -1
  27. package/css/es/components/Toast/Toast.css +6 -6
  28. package/css/es/index.css +23 -23
  29. package/es/components/Combobox/index.js +6 -3
  30. package/es/components/TextArea/TextArea.config.js +4 -4
  31. package/es/components/Toast/Toast.config.js +1 -1
  32. package/package.json +3 -3
  33. package/temp/plasma-web.api.md +7 -226
@@ -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 { LineSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
161
163
  import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
@@ -175,6 +177,7 @@ import { ModalView } from '@salutejs/plasma-hope';
175
177
  import { monthLongName } from '@salutejs/plasma-core';
176
178
  import { monthShortName } from '@salutejs/plasma-core';
177
179
  import { MouseEvent as MouseEvent_2 } from 'react';
180
+ import { MutableRefObject } from 'react';
178
181
  import { NotificationIconPlacement } from '@salutejs/plasma-new-hope/styled-components';
179
182
  import { NotificationLayout } from '@salutejs/plasma-new-hope/styled-components';
180
183
  import { NotificationProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -1226,232 +1229,10 @@ export { ColProps }
1226
1229
 
1227
1230
  export { ColSizeProps }
1228
1231
 
1232
+ // Warning: (ae-forgotten-export) The symbol "CommonProps" needs to be exported by the entry point index.d.ts
1233
+ //
1229
1234
  // @public (undocumented)
1230
- export const Combobox: React_2.ForwardRefExoticComponent<(Omit<PropsType< {
1231
- view: {
1232
- default: PolymorphicClassName;
1233
- positive: PolymorphicClassName;
1234
- warning: PolymorphicClassName;
1235
- negative: PolymorphicClassName;
1236
- };
1237
- size: {
1238
- l: PolymorphicClassName;
1239
- m: PolymorphicClassName;
1240
- s: PolymorphicClassName;
1241
- xs: PolymorphicClassName;
1242
- };
1243
- labelPlacement: {
1244
- inner: PolymorphicClassName;
1245
- outer: PolymorphicClassName;
1246
- };
1247
- disabled: {
1248
- true: PolymorphicClassName;
1249
- };
1250
- readOnly: {
1251
- true: PolymorphicClassName;
1252
- };
1253
- }> & BasicProps & {
1254
- readOnly?: boolean | undefined;
1255
- disabled?: true | undefined;
1256
- alwaysOpened?: false | undefined;
1257
- } & {
1258
- multiple?: false | undefined;
1259
- value?: string | undefined;
1260
- onChange?: ((value: string) => void) | undefined;
1261
- isTargetAmount?: false | undefined;
1262
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1263
- view: {
1264
- default: PolymorphicClassName;
1265
- positive: PolymorphicClassName;
1266
- warning: PolymorphicClassName;
1267
- negative: PolymorphicClassName;
1268
- };
1269
- size: {
1270
- l: PolymorphicClassName;
1271
- m: PolymorphicClassName;
1272
- s: PolymorphicClassName;
1273
- xs: PolymorphicClassName;
1274
- };
1275
- labelPlacement: {
1276
- inner: PolymorphicClassName;
1277
- outer: PolymorphicClassName;
1278
- };
1279
- disabled: {
1280
- true: PolymorphicClassName;
1281
- };
1282
- readOnly: {
1283
- true: PolymorphicClassName;
1284
- };
1285
- }> & BasicProps & {
1286
- readOnly?: boolean | undefined;
1287
- disabled?: true | undefined;
1288
- alwaysOpened?: false | undefined;
1289
- } & {
1290
- multiple: true;
1291
- value?: string[] | undefined;
1292
- onChange?: ((value: string[]) => void) | undefined;
1293
- isTargetAmount?: boolean | undefined;
1294
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1295
- view: {
1296
- default: PolymorphicClassName;
1297
- positive: PolymorphicClassName;
1298
- warning: PolymorphicClassName;
1299
- negative: PolymorphicClassName;
1300
- };
1301
- size: {
1302
- l: PolymorphicClassName;
1303
- m: PolymorphicClassName;
1304
- s: PolymorphicClassName;
1305
- xs: PolymorphicClassName;
1306
- };
1307
- labelPlacement: {
1308
- inner: PolymorphicClassName;
1309
- outer: PolymorphicClassName;
1310
- };
1311
- disabled: {
1312
- true: PolymorphicClassName;
1313
- };
1314
- readOnly: {
1315
- true: PolymorphicClassName;
1316
- };
1317
- }> & BasicProps & {
1318
- readOnly?: true | undefined;
1319
- disabled?: boolean | undefined;
1320
- alwaysOpened?: false | undefined;
1321
- } & {
1322
- multiple?: false | undefined;
1323
- value?: string | undefined;
1324
- onChange?: ((value: string) => void) | undefined;
1325
- isTargetAmount?: false | undefined;
1326
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1327
- view: {
1328
- default: PolymorphicClassName;
1329
- positive: PolymorphicClassName;
1330
- warning: PolymorphicClassName;
1331
- negative: PolymorphicClassName;
1332
- };
1333
- size: {
1334
- l: PolymorphicClassName;
1335
- m: PolymorphicClassName;
1336
- s: PolymorphicClassName;
1337
- xs: PolymorphicClassName;
1338
- };
1339
- labelPlacement: {
1340
- inner: PolymorphicClassName;
1341
- outer: PolymorphicClassName;
1342
- };
1343
- disabled: {
1344
- true: PolymorphicClassName;
1345
- };
1346
- readOnly: {
1347
- true: PolymorphicClassName;
1348
- };
1349
- }> & BasicProps & {
1350
- readOnly?: true | undefined;
1351
- disabled?: boolean | undefined;
1352
- alwaysOpened?: false | undefined;
1353
- } & {
1354
- multiple: true;
1355
- value?: string[] | undefined;
1356
- onChange?: ((value: string[]) => void) | undefined;
1357
- isTargetAmount?: boolean | undefined;
1358
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1359
- view: {
1360
- default: PolymorphicClassName;
1361
- positive: PolymorphicClassName;
1362
- warning: PolymorphicClassName;
1363
- negative: PolymorphicClassName;
1364
- };
1365
- size: {
1366
- l: PolymorphicClassName;
1367
- m: PolymorphicClassName;
1368
- s: PolymorphicClassName;
1369
- xs: PolymorphicClassName;
1370
- };
1371
- labelPlacement: {
1372
- inner: PolymorphicClassName;
1373
- outer: PolymorphicClassName;
1374
- };
1375
- disabled: {
1376
- true: PolymorphicClassName;
1377
- };
1378
- readOnly: {
1379
- true: PolymorphicClassName;
1380
- };
1381
- }> & BasicProps & {
1382
- readOnly?: false | undefined;
1383
- disabled?: false | undefined;
1384
- alwaysOpened?: true | undefined;
1385
- } & {
1386
- multiple?: false | undefined;
1387
- value?: string | undefined;
1388
- onChange?: ((value: string) => void) | undefined;
1389
- isTargetAmount?: false | undefined;
1390
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1391
- view: {
1392
- default: PolymorphicClassName;
1393
- positive: PolymorphicClassName;
1394
- warning: PolymorphicClassName;
1395
- negative: PolymorphicClassName;
1396
- };
1397
- size: {
1398
- l: PolymorphicClassName;
1399
- m: PolymorphicClassName;
1400
- s: PolymorphicClassName;
1401
- xs: PolymorphicClassName;
1402
- };
1403
- labelPlacement: {
1404
- inner: PolymorphicClassName;
1405
- outer: PolymorphicClassName;
1406
- };
1407
- disabled: {
1408
- true: PolymorphicClassName;
1409
- };
1410
- readOnly: {
1411
- true: PolymorphicClassName;
1412
- };
1413
- }> & BasicProps & {
1414
- readOnly?: false | undefined;
1415
- disabled?: false | undefined;
1416
- alwaysOpened?: true | undefined;
1417
- } & {
1418
- multiple: true;
1419
- value?: string[] | undefined;
1420
- onChange?: ((value: string[]) => void) | undefined;
1421
- isTargetAmount?: boolean | undefined;
1422
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1423
- size: {
1424
- xs: PolymorphicClassName;
1425
- s: PolymorphicClassName;
1426
- m: PolymorphicClassName;
1427
- l: PolymorphicClassName;
1428
- };
1429
- view: {
1430
- default: PolymorphicClassName;
1431
- };
1432
- }> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & CustomComboboxProps & {
1433
- valueType?: "single" | undefined;
1434
- value?: ComboboxPrimitiveValue | undefined;
1435
- onChangeValue?: ((value?: ComboboxPrimitiveValue | undefined) => void) | undefined;
1436
- } & React_2.RefAttributes<HTMLInputElement> & {
1437
- items?: undefined;
1438
- }, "ref"> | Omit<PropsType< {
1439
- size: {
1440
- xs: PolymorphicClassName;
1441
- s: PolymorphicClassName;
1442
- m: PolymorphicClassName;
1443
- l: PolymorphicClassName;
1444
- };
1445
- view: {
1446
- default: PolymorphicClassName;
1447
- };
1448
- }> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & CustomComboboxProps & {
1449
- valueType: "multiple";
1450
- value?: ComboboxPrimitiveValue[] | undefined;
1451
- onChangeValue?: ((value?: ComboboxPrimitiveValue[] | undefined) => void) | undefined;
1452
- } & React_2.RefAttributes<HTMLInputElement> & {
1453
- items?: undefined;
1454
- }, "ref">) & React_2.RefAttributes<HTMLInputElement>>;
1235
+ export const Combobox: <T extends ItemOption>(props: CommonProps<T> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement | null;
1455
1236
 
1456
1237
  // @public (undocumented)
1457
1238
  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
- }> & ((import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
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>) | (import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
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>) | (import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
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>) | (import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
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>) | (import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
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>) | (import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
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;