@salutejs/plasma-web 1.419.0-canary.1392.11342835439.0 → 1.419.0-canary.1392.11347585113.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,7 +42,6 @@ import { BaseCallbackKeyboardInstance } from '@salutejs/plasma-new-hope/types/co
42
42
  import { BaseProps } from '@salutejs/plasma-new-hope/types/components/Autocomplete/Autocomplete.types';
43
43
  import { BaseTabItemProps } from '@salutejs/plasma-new-hope/types/components/Tabs/TabItem.types';
44
44
  import { BaseTabsProps } from '@salutejs/plasma-new-hope/types/components/Tabs/Tabs.types';
45
- import { BasicProps } from '@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types';
46
45
  import { BlurProps } from '@salutejs/plasma-core';
47
46
  import { blurs } from '@salutejs/plasma-core';
48
47
  import { BoldProps } from '@salutejs/plasma-new-hope/types/components/Typography/Typography.types';
@@ -95,6 +94,7 @@ import { ColProps } from '@salutejs/plasma-new-hope/styled-components';
95
94
  import { ColSizeProps } from '@salutejs/plasma-new-hope/styled-components';
96
95
  import { ComboboxPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types';
97
96
  import { ComboboxOldProps as ComboboxProps } from '@salutejs/plasma-new-hope/styled-components';
97
+ import type { ComboboxProps as ComboboxProps_2 } from '@salutejs/plasma-new-hope';
98
98
  import { ComponentClass } from 'react';
99
99
  import { ComponentProps } from 'react';
100
100
  import { GridProps as ContainerProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -156,6 +156,8 @@ import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
156
156
  import { InputHTMLAttributes } from '@salutejs/plasma-core';
157
157
  import { InputHTMLAttributes as InputHTMLAttributes_2 } from '@salutejs/plasma-new-hope/types/types';
158
158
  import { InputHTMLAttributes as InputHTMLAttributes_3 } from 'react';
159
+ import type { ItemOption } from '@salutejs/plasma-new-hope';
160
+ import { ItemOption as ItemOption_2 } from '@salutejs/plasma-new-hope/styled-components';
159
161
  import { JSXElementConstructor } from 'react';
160
162
  import { KeyboardEvent as KeyboardEvent_2 } from 'react';
161
163
  import { LineSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -176,6 +178,7 @@ import { ModalView } from '@salutejs/plasma-hope';
176
178
  import { monthLongName } from '@salutejs/plasma-core';
177
179
  import { monthShortName } from '@salutejs/plasma-core';
178
180
  import { MouseEvent as MouseEvent_2 } from 'react';
181
+ import { MutableRefObject } from 'react';
179
182
  import { NotificationIconPlacement } from '@salutejs/plasma-new-hope/styled-components';
180
183
  import { NotificationLayout } from '@salutejs/plasma-new-hope/styled-components';
181
184
  import { NotificationProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -1224,232 +1227,10 @@ export { ColProps }
1224
1227
 
1225
1228
  export { ColSizeProps }
1226
1229
 
1230
+ // Warning: (ae-forgotten-export) The symbol "CommonProps" needs to be exported by the entry point index.d.ts
1231
+ //
1227
1232
  // @public (undocumented)
1228
- export const Combobox: React_2.ForwardRefExoticComponent<(Omit<PropsType< {
1229
- view: {
1230
- default: PolymorphicClassName;
1231
- positive: PolymorphicClassName;
1232
- warning: PolymorphicClassName;
1233
- negative: PolymorphicClassName;
1234
- };
1235
- size: {
1236
- l: PolymorphicClassName;
1237
- m: PolymorphicClassName;
1238
- s: PolymorphicClassName;
1239
- xs: PolymorphicClassName;
1240
- };
1241
- labelPlacement: {
1242
- inner: PolymorphicClassName;
1243
- outer: PolymorphicClassName;
1244
- };
1245
- disabled: {
1246
- true: PolymorphicClassName;
1247
- };
1248
- readOnly: {
1249
- true: PolymorphicClassName;
1250
- };
1251
- }> & BasicProps & {
1252
- readOnly?: boolean | undefined;
1253
- disabled?: true | undefined;
1254
- alwaysOpened?: false | undefined;
1255
- } & {
1256
- multiple?: false | undefined;
1257
- value?: string | undefined;
1258
- onChange?: ((value: string) => void) | undefined;
1259
- isTargetAmount?: false | undefined;
1260
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1261
- view: {
1262
- default: PolymorphicClassName;
1263
- positive: PolymorphicClassName;
1264
- warning: PolymorphicClassName;
1265
- negative: PolymorphicClassName;
1266
- };
1267
- size: {
1268
- l: PolymorphicClassName;
1269
- m: PolymorphicClassName;
1270
- s: PolymorphicClassName;
1271
- xs: PolymorphicClassName;
1272
- };
1273
- labelPlacement: {
1274
- inner: PolymorphicClassName;
1275
- outer: PolymorphicClassName;
1276
- };
1277
- disabled: {
1278
- true: PolymorphicClassName;
1279
- };
1280
- readOnly: {
1281
- true: PolymorphicClassName;
1282
- };
1283
- }> & BasicProps & {
1284
- readOnly?: boolean | undefined;
1285
- disabled?: true | undefined;
1286
- alwaysOpened?: false | undefined;
1287
- } & {
1288
- multiple: true;
1289
- value?: string[] | undefined;
1290
- onChange?: ((value: string[]) => void) | undefined;
1291
- isTargetAmount?: boolean | undefined;
1292
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1293
- view: {
1294
- default: PolymorphicClassName;
1295
- positive: PolymorphicClassName;
1296
- warning: PolymorphicClassName;
1297
- negative: PolymorphicClassName;
1298
- };
1299
- size: {
1300
- l: PolymorphicClassName;
1301
- m: PolymorphicClassName;
1302
- s: PolymorphicClassName;
1303
- xs: PolymorphicClassName;
1304
- };
1305
- labelPlacement: {
1306
- inner: PolymorphicClassName;
1307
- outer: PolymorphicClassName;
1308
- };
1309
- disabled: {
1310
- true: PolymorphicClassName;
1311
- };
1312
- readOnly: {
1313
- true: PolymorphicClassName;
1314
- };
1315
- }> & BasicProps & {
1316
- readOnly?: true | undefined;
1317
- disabled?: boolean | undefined;
1318
- alwaysOpened?: false | undefined;
1319
- } & {
1320
- multiple?: false | undefined;
1321
- value?: string | undefined;
1322
- onChange?: ((value: string) => void) | undefined;
1323
- isTargetAmount?: false | undefined;
1324
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1325
- view: {
1326
- default: PolymorphicClassName;
1327
- positive: PolymorphicClassName;
1328
- warning: PolymorphicClassName;
1329
- negative: PolymorphicClassName;
1330
- };
1331
- size: {
1332
- l: PolymorphicClassName;
1333
- m: PolymorphicClassName;
1334
- s: PolymorphicClassName;
1335
- xs: PolymorphicClassName;
1336
- };
1337
- labelPlacement: {
1338
- inner: PolymorphicClassName;
1339
- outer: PolymorphicClassName;
1340
- };
1341
- disabled: {
1342
- true: PolymorphicClassName;
1343
- };
1344
- readOnly: {
1345
- true: PolymorphicClassName;
1346
- };
1347
- }> & BasicProps & {
1348
- readOnly?: true | undefined;
1349
- disabled?: boolean | undefined;
1350
- alwaysOpened?: false | undefined;
1351
- } & {
1352
- multiple: true;
1353
- value?: string[] | undefined;
1354
- onChange?: ((value: string[]) => void) | undefined;
1355
- isTargetAmount?: boolean | undefined;
1356
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1357
- view: {
1358
- default: PolymorphicClassName;
1359
- positive: PolymorphicClassName;
1360
- warning: PolymorphicClassName;
1361
- negative: PolymorphicClassName;
1362
- };
1363
- size: {
1364
- l: PolymorphicClassName;
1365
- m: PolymorphicClassName;
1366
- s: PolymorphicClassName;
1367
- xs: PolymorphicClassName;
1368
- };
1369
- labelPlacement: {
1370
- inner: PolymorphicClassName;
1371
- outer: PolymorphicClassName;
1372
- };
1373
- disabled: {
1374
- true: PolymorphicClassName;
1375
- };
1376
- readOnly: {
1377
- true: PolymorphicClassName;
1378
- };
1379
- }> & BasicProps & {
1380
- readOnly?: false | undefined;
1381
- disabled?: false | undefined;
1382
- alwaysOpened?: true | undefined;
1383
- } & {
1384
- multiple?: false | undefined;
1385
- value?: string | undefined;
1386
- onChange?: ((value: string) => void) | undefined;
1387
- isTargetAmount?: false | undefined;
1388
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1389
- view: {
1390
- default: PolymorphicClassName;
1391
- positive: PolymorphicClassName;
1392
- warning: PolymorphicClassName;
1393
- negative: PolymorphicClassName;
1394
- };
1395
- size: {
1396
- l: PolymorphicClassName;
1397
- m: PolymorphicClassName;
1398
- s: PolymorphicClassName;
1399
- xs: PolymorphicClassName;
1400
- };
1401
- labelPlacement: {
1402
- inner: PolymorphicClassName;
1403
- outer: PolymorphicClassName;
1404
- };
1405
- disabled: {
1406
- true: PolymorphicClassName;
1407
- };
1408
- readOnly: {
1409
- true: PolymorphicClassName;
1410
- };
1411
- }> & BasicProps & {
1412
- readOnly?: false | undefined;
1413
- disabled?: false | undefined;
1414
- alwaysOpened?: true | undefined;
1415
- } & {
1416
- multiple: true;
1417
- value?: string[] | undefined;
1418
- onChange?: ((value: string[]) => void) | undefined;
1419
- isTargetAmount?: boolean | undefined;
1420
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1421
- size: {
1422
- xs: PolymorphicClassName;
1423
- s: PolymorphicClassName;
1424
- m: PolymorphicClassName;
1425
- l: PolymorphicClassName;
1426
- };
1427
- view: {
1428
- default: PolymorphicClassName;
1429
- };
1430
- }> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & CustomComboboxProps & {
1431
- valueType?: "single" | undefined;
1432
- value?: ComboboxPrimitiveValue | undefined;
1433
- onChangeValue?: ((value?: ComboboxPrimitiveValue | undefined) => void) | undefined;
1434
- } & React_2.RefAttributes<HTMLInputElement> & {
1435
- items?: undefined;
1436
- }, "ref"> | Omit<PropsType< {
1437
- size: {
1438
- xs: PolymorphicClassName;
1439
- s: PolymorphicClassName;
1440
- m: PolymorphicClassName;
1441
- l: PolymorphicClassName;
1442
- };
1443
- view: {
1444
- default: PolymorphicClassName;
1445
- };
1446
- }> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & CustomComboboxProps & {
1447
- valueType: "multiple";
1448
- value?: ComboboxPrimitiveValue[] | undefined;
1449
- onChangeValue?: ((value?: ComboboxPrimitiveValue[] | undefined) => void) | undefined;
1450
- } & React_2.RefAttributes<HTMLInputElement> & {
1451
- items?: undefined;
1452
- }, "ref">) & React_2.RefAttributes<HTMLInputElement>>;
1233
+ export const Combobox: <T extends ItemOption>(props: CommonProps<T> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement | null;
1453
1234
 
1454
1235
  // @public (undocumented)
1455
1236
  export const ComboboxDivider: FunctionComponent<PropsType<Variants> & HTMLAttributes<HTMLDivElement> & {