@salutejs/plasma-b2c 1.417.0-canary.1459.11345044568.0 → 1.417.0-canary.1459.11347702889.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 { 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';
@@ -1225,232 +1228,10 @@ export { ColProps }
1225
1228
 
1226
1229
  export { ColSizeProps }
1227
1230
 
1231
+ // Warning: (ae-forgotten-export) The symbol "CommonProps" needs to be exported by the entry point index.d.ts
1232
+ //
1228
1233
  // @public (undocumented)
1229
- export const Combobox: React_2.ForwardRefExoticComponent<(Omit<PropsType< {
1230
- view: {
1231
- default: PolymorphicClassName;
1232
- positive: PolymorphicClassName;
1233
- warning: PolymorphicClassName;
1234
- negative: PolymorphicClassName;
1235
- };
1236
- size: {
1237
- l: PolymorphicClassName;
1238
- m: PolymorphicClassName;
1239
- s: PolymorphicClassName;
1240
- xs: PolymorphicClassName;
1241
- };
1242
- labelPlacement: {
1243
- inner: PolymorphicClassName;
1244
- outer: PolymorphicClassName;
1245
- };
1246
- disabled: {
1247
- true: PolymorphicClassName;
1248
- };
1249
- readOnly: {
1250
- true: PolymorphicClassName;
1251
- };
1252
- }> & BasicProps & {
1253
- readOnly?: boolean | undefined;
1254
- disabled?: true | undefined;
1255
- alwaysOpened?: false | undefined;
1256
- } & {
1257
- multiple?: false | undefined;
1258
- value?: string | undefined;
1259
- onChange?: ((value: string) => void) | undefined;
1260
- isTargetAmount?: false | undefined;
1261
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1262
- view: {
1263
- default: PolymorphicClassName;
1264
- positive: PolymorphicClassName;
1265
- warning: PolymorphicClassName;
1266
- negative: PolymorphicClassName;
1267
- };
1268
- size: {
1269
- l: PolymorphicClassName;
1270
- m: PolymorphicClassName;
1271
- s: PolymorphicClassName;
1272
- xs: PolymorphicClassName;
1273
- };
1274
- labelPlacement: {
1275
- inner: PolymorphicClassName;
1276
- outer: PolymorphicClassName;
1277
- };
1278
- disabled: {
1279
- true: PolymorphicClassName;
1280
- };
1281
- readOnly: {
1282
- true: PolymorphicClassName;
1283
- };
1284
- }> & BasicProps & {
1285
- readOnly?: boolean | undefined;
1286
- disabled?: true | undefined;
1287
- alwaysOpened?: false | undefined;
1288
- } & {
1289
- multiple: true;
1290
- value?: string[] | undefined;
1291
- onChange?: ((value: string[]) => void) | undefined;
1292
- isTargetAmount?: boolean | undefined;
1293
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1294
- view: {
1295
- default: PolymorphicClassName;
1296
- positive: PolymorphicClassName;
1297
- warning: PolymorphicClassName;
1298
- negative: PolymorphicClassName;
1299
- };
1300
- size: {
1301
- l: PolymorphicClassName;
1302
- m: PolymorphicClassName;
1303
- s: PolymorphicClassName;
1304
- xs: PolymorphicClassName;
1305
- };
1306
- labelPlacement: {
1307
- inner: PolymorphicClassName;
1308
- outer: PolymorphicClassName;
1309
- };
1310
- disabled: {
1311
- true: PolymorphicClassName;
1312
- };
1313
- readOnly: {
1314
- true: PolymorphicClassName;
1315
- };
1316
- }> & BasicProps & {
1317
- readOnly?: true | undefined;
1318
- disabled?: boolean | undefined;
1319
- alwaysOpened?: false | undefined;
1320
- } & {
1321
- multiple?: false | undefined;
1322
- value?: string | undefined;
1323
- onChange?: ((value: string) => void) | undefined;
1324
- isTargetAmount?: false | undefined;
1325
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1326
- view: {
1327
- default: PolymorphicClassName;
1328
- positive: PolymorphicClassName;
1329
- warning: PolymorphicClassName;
1330
- negative: PolymorphicClassName;
1331
- };
1332
- size: {
1333
- l: PolymorphicClassName;
1334
- m: PolymorphicClassName;
1335
- s: PolymorphicClassName;
1336
- xs: PolymorphicClassName;
1337
- };
1338
- labelPlacement: {
1339
- inner: PolymorphicClassName;
1340
- outer: PolymorphicClassName;
1341
- };
1342
- disabled: {
1343
- true: PolymorphicClassName;
1344
- };
1345
- readOnly: {
1346
- true: PolymorphicClassName;
1347
- };
1348
- }> & BasicProps & {
1349
- readOnly?: true | undefined;
1350
- disabled?: boolean | undefined;
1351
- alwaysOpened?: false | undefined;
1352
- } & {
1353
- multiple: true;
1354
- value?: string[] | undefined;
1355
- onChange?: ((value: string[]) => void) | undefined;
1356
- isTargetAmount?: boolean | undefined;
1357
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1358
- view: {
1359
- default: PolymorphicClassName;
1360
- positive: PolymorphicClassName;
1361
- warning: PolymorphicClassName;
1362
- negative: PolymorphicClassName;
1363
- };
1364
- size: {
1365
- l: PolymorphicClassName;
1366
- m: PolymorphicClassName;
1367
- s: PolymorphicClassName;
1368
- xs: PolymorphicClassName;
1369
- };
1370
- labelPlacement: {
1371
- inner: PolymorphicClassName;
1372
- outer: PolymorphicClassName;
1373
- };
1374
- disabled: {
1375
- true: PolymorphicClassName;
1376
- };
1377
- readOnly: {
1378
- true: PolymorphicClassName;
1379
- };
1380
- }> & BasicProps & {
1381
- readOnly?: false | undefined;
1382
- disabled?: false | undefined;
1383
- alwaysOpened?: true | undefined;
1384
- } & {
1385
- multiple?: false | undefined;
1386
- value?: string | undefined;
1387
- onChange?: ((value: string) => void) | undefined;
1388
- isTargetAmount?: false | undefined;
1389
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1390
- view: {
1391
- default: PolymorphicClassName;
1392
- positive: PolymorphicClassName;
1393
- warning: PolymorphicClassName;
1394
- negative: PolymorphicClassName;
1395
- };
1396
- size: {
1397
- l: PolymorphicClassName;
1398
- m: PolymorphicClassName;
1399
- s: PolymorphicClassName;
1400
- xs: PolymorphicClassName;
1401
- };
1402
- labelPlacement: {
1403
- inner: PolymorphicClassName;
1404
- outer: PolymorphicClassName;
1405
- };
1406
- disabled: {
1407
- true: PolymorphicClassName;
1408
- };
1409
- readOnly: {
1410
- true: PolymorphicClassName;
1411
- };
1412
- }> & BasicProps & {
1413
- readOnly?: false | undefined;
1414
- disabled?: false | undefined;
1415
- alwaysOpened?: true | undefined;
1416
- } & {
1417
- multiple: true;
1418
- value?: string[] | undefined;
1419
- onChange?: ((value: string[]) => void) | undefined;
1420
- isTargetAmount?: boolean | undefined;
1421
- } & Omit<React_2.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<PropsType< {
1422
- size: {
1423
- xs: PolymorphicClassName;
1424
- s: PolymorphicClassName;
1425
- m: PolymorphicClassName;
1426
- l: PolymorphicClassName;
1427
- };
1428
- view: {
1429
- default: PolymorphicClassName;
1430
- };
1431
- }> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & CustomComboboxProps & {
1432
- valueType?: "single" | undefined;
1433
- value?: ComboboxPrimitiveValue | undefined;
1434
- onChangeValue?: ((value?: ComboboxPrimitiveValue | undefined) => void) | undefined;
1435
- } & React_2.RefAttributes<HTMLInputElement> & {
1436
- items?: undefined;
1437
- }, "ref"> | Omit<PropsType< {
1438
- size: {
1439
- xs: PolymorphicClassName;
1440
- s: PolymorphicClassName;
1441
- m: PolymorphicClassName;
1442
- l: PolymorphicClassName;
1443
- };
1444
- view: {
1445
- default: PolymorphicClassName;
1446
- };
1447
- }> & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & CustomComboboxProps & {
1448
- valueType: "multiple";
1449
- value?: ComboboxPrimitiveValue[] | undefined;
1450
- onChangeValue?: ((value?: ComboboxPrimitiveValue[] | undefined) => void) | undefined;
1451
- } & React_2.RefAttributes<HTMLInputElement> & {
1452
- items?: undefined;
1453
- }, "ref">) & React_2.RefAttributes<HTMLInputElement>>;
1234
+ export const Combobox: <T extends ItemOption>(props: CommonProps<T> & React_2.RefAttributes<HTMLInputElement>) => React_2.ReactElement | null;
1454
1235
 
1455
1236
  // @public (undocumented)
1456
1237
  export const ComboboxDivider: FunctionComponent<PropsType<Variants> & HTMLAttributes<HTMLDivElement> & {