@razorpay/blade 11.21.5 → 11.21.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lib/native/components/Accordion/Accordion.js +1 -1
- package/build/lib/native/components/Accordion/Accordion.js.map +1 -1
- package/build/lib/native/components/Spinner/BaseSpinner/BaseSpinner.js +1 -1
- package/build/lib/native/components/Spinner/BaseSpinner/BaseSpinner.js.map +1 -1
- package/build/lib/web/development/components/Accordion/Accordion.js +3 -2
- package/build/lib/web/development/components/Accordion/Accordion.js.map +1 -1
- package/build/lib/web/development/components/BottomSheet/BottomSheet.web.js +8 -2
- package/build/lib/web/development/components/BottomSheet/BottomSheet.web.js.map +1 -1
- package/build/lib/web/development/components/Spinner/BaseSpinner/BaseSpinner.js +1 -1
- package/build/lib/web/development/components/Spinner/BaseSpinner/BaseSpinner.js.map +1 -1
- package/build/lib/web/production/components/Accordion/Accordion.js +3 -2
- package/build/lib/web/production/components/Accordion/Accordion.js.map +1 -1
- package/build/lib/web/production/components/BottomSheet/BottomSheet.web.js +8 -2
- package/build/lib/web/production/components/BottomSheet/BottomSheet.web.js.map +1 -1
- package/build/lib/web/production/components/Spinner/BaseSpinner/BaseSpinner.js +1 -1
- package/build/lib/web/production/components/Spinner/BaseSpinner/BaseSpinner.js.map +1 -1
- package/build/types/components/index.d.ts +870 -865
- package/build/types/components/index.native.d.ts +868 -863
- package/package.json +1 -1
|
@@ -479,91 +479,6 @@ type ThemeContext = UseColorScheme & {
|
|
|
479
479
|
declare const ThemeContext: React$1.Context<ThemeContext>;
|
|
480
480
|
declare const useTheme: () => ThemeContext;
|
|
481
481
|
|
|
482
|
-
type DotNotationSpacingStringToken = `spacing.${keyof Spacing}`;
|
|
483
|
-
/**
|
|
484
|
-
* Use this when you want children to be string.
|
|
485
|
-
*
|
|
486
|
-
* This covers scenarios like
|
|
487
|
-
* ```jsx
|
|
488
|
-
* <Heading>Hi</Heading>
|
|
489
|
-
* <Heading>{dynamicVariable} something</Heading>
|
|
490
|
-
* ```
|
|
491
|
-
*
|
|
492
|
-
*
|
|
493
|
-
* ### Usage
|
|
494
|
-
*
|
|
495
|
-
* ```ts
|
|
496
|
-
* import type { StringChildrenType } from '~helpers/types';
|
|
497
|
-
*
|
|
498
|
-
* type MyProps = {
|
|
499
|
-
* children: StringChildrenType;
|
|
500
|
-
* }
|
|
501
|
-
* ```
|
|
502
|
-
*/
|
|
503
|
-
type StringChildrenType = React__default.ReactText | React__default.ReactText[];
|
|
504
|
-
/**
|
|
505
|
-
*
|
|
506
|
-
* When combined with union, this type utility will give you autocomplete of union while still supporting any string value as input
|
|
507
|
-
*
|
|
508
|
-
* ### Usage
|
|
509
|
-
*
|
|
510
|
-
* ```ts
|
|
511
|
-
* type ThemeName = 'themeOne' | 'themeTwo' | StringWithAutocomplete;
|
|
512
|
-
* ```
|
|
513
|
-
*
|
|
514
|
-
* This will show themeOne and themeTwo in autocomplete but also allow any other string as value.
|
|
515
|
-
*
|
|
516
|
-
* More details - https://github.com/razorpay/blade/pull/1031/commits/86b6ee0facf45e7556739efcbfa5396b11b1b3c9#r1121298293
|
|
517
|
-
* Related TS Issue - https://github.com/microsoft/TypeScript/issues/29729
|
|
518
|
-
*
|
|
519
|
-
*/
|
|
520
|
-
type StringWithAutocomplete = string & Record<never, never>;
|
|
521
|
-
type TestID = {
|
|
522
|
-
/**
|
|
523
|
-
* Test id that can be used to select element in testing environments
|
|
524
|
-
*
|
|
525
|
-
* Checkout https://testing-library.com/docs/queries/bytestid/
|
|
526
|
-
*/
|
|
527
|
-
testID?: string;
|
|
528
|
-
};
|
|
529
|
-
/**
|
|
530
|
-
* Similar to `Pick` except this returns `never` when value doesn't exist (native `Pick` returns `unknown`).
|
|
531
|
-
*
|
|
532
|
-
* You might have to ts-ignore the non-existing type error while using this. This is done so that you can get jsdoc from actual type.
|
|
533
|
-
*
|
|
534
|
-
* E.g. This will pick from ViewStyle prop if value exists else returns undefined.
|
|
535
|
-
*
|
|
536
|
-
* ```ts
|
|
537
|
-
* // @ts-expect-error: T passed here may not neccessarily exist. We return `never` type when it doesn't
|
|
538
|
-
* native: PickIfExist<ViewStyle, T>;
|
|
539
|
-
* ```
|
|
540
|
-
*/
|
|
541
|
-
type PickIfExist<T, K extends keyof T> = {
|
|
542
|
-
[P in K]: P extends keyof T ? T[P] : never;
|
|
543
|
-
};
|
|
544
|
-
/**
|
|
545
|
-
* Picks the types based on the platform (web / native).
|
|
546
|
-
*
|
|
547
|
-
* E.g.
|
|
548
|
-
* ```ts
|
|
549
|
-
* type CSSObject = PickCSSByPlatform<'display'>
|
|
550
|
-
* // On Web --> This will be all possible web display properties like `block`, `flex`, `inline`, and more.
|
|
551
|
-
* // On Native --> This will be just `flex` and `none`
|
|
552
|
-
* ```
|
|
553
|
-
*/
|
|
554
|
-
type PickCSSByPlatform<T extends keyof React__default.CSSProperties | keyof ViewStyle> = Platform.Select<{
|
|
555
|
-
web: PickIfExist<CSSObject, T>;
|
|
556
|
-
native: PickIfExist<ViewStyle, T>;
|
|
557
|
-
}>;
|
|
558
|
-
type BladeElementRef = Platform.Select<{
|
|
559
|
-
web: HTMLElement;
|
|
560
|
-
native: View;
|
|
561
|
-
}>;
|
|
562
|
-
type ContainerElementType = Platform.Select<{
|
|
563
|
-
web: HTMLDivElement;
|
|
564
|
-
native: View;
|
|
565
|
-
}>;
|
|
566
|
-
|
|
567
482
|
type Duration = {
|
|
568
483
|
/** `70` milliseconds */
|
|
569
484
|
'2xquick': 70;
|
|
@@ -681,6 +596,91 @@ type Elevation = Record<ElevationLevels, Platform.Select<{
|
|
|
681
596
|
}>>;
|
|
682
597
|
type ElevationWithColorModes = Record<ColorSchemeModes, Elevation>;
|
|
683
598
|
|
|
599
|
+
type DotNotationSpacingStringToken = `spacing.${keyof Spacing}`;
|
|
600
|
+
/**
|
|
601
|
+
* Use this when you want children to be string.
|
|
602
|
+
*
|
|
603
|
+
* This covers scenarios like
|
|
604
|
+
* ```jsx
|
|
605
|
+
* <Heading>Hi</Heading>
|
|
606
|
+
* <Heading>{dynamicVariable} something</Heading>
|
|
607
|
+
* ```
|
|
608
|
+
*
|
|
609
|
+
*
|
|
610
|
+
* ### Usage
|
|
611
|
+
*
|
|
612
|
+
* ```ts
|
|
613
|
+
* import type { StringChildrenType } from '~helpers/types';
|
|
614
|
+
*
|
|
615
|
+
* type MyProps = {
|
|
616
|
+
* children: StringChildrenType;
|
|
617
|
+
* }
|
|
618
|
+
* ```
|
|
619
|
+
*/
|
|
620
|
+
type StringChildrenType = React__default.ReactText | React__default.ReactText[];
|
|
621
|
+
/**
|
|
622
|
+
*
|
|
623
|
+
* When combined with union, this type utility will give you autocomplete of union while still supporting any string value as input
|
|
624
|
+
*
|
|
625
|
+
* ### Usage
|
|
626
|
+
*
|
|
627
|
+
* ```ts
|
|
628
|
+
* type ThemeName = 'themeOne' | 'themeTwo' | StringWithAutocomplete;
|
|
629
|
+
* ```
|
|
630
|
+
*
|
|
631
|
+
* This will show themeOne and themeTwo in autocomplete but also allow any other string as value.
|
|
632
|
+
*
|
|
633
|
+
* More details - https://github.com/razorpay/blade/pull/1031/commits/86b6ee0facf45e7556739efcbfa5396b11b1b3c9#r1121298293
|
|
634
|
+
* Related TS Issue - https://github.com/microsoft/TypeScript/issues/29729
|
|
635
|
+
*
|
|
636
|
+
*/
|
|
637
|
+
type StringWithAutocomplete = string & Record<never, never>;
|
|
638
|
+
type TestID = {
|
|
639
|
+
/**
|
|
640
|
+
* Test id that can be used to select element in testing environments
|
|
641
|
+
*
|
|
642
|
+
* Checkout https://testing-library.com/docs/queries/bytestid/
|
|
643
|
+
*/
|
|
644
|
+
testID?: string;
|
|
645
|
+
};
|
|
646
|
+
/**
|
|
647
|
+
* Similar to `Pick` except this returns `never` when value doesn't exist (native `Pick` returns `unknown`).
|
|
648
|
+
*
|
|
649
|
+
* You might have to ts-ignore the non-existing type error while using this. This is done so that you can get jsdoc from actual type.
|
|
650
|
+
*
|
|
651
|
+
* E.g. This will pick from ViewStyle prop if value exists else returns undefined.
|
|
652
|
+
*
|
|
653
|
+
* ```ts
|
|
654
|
+
* // @ts-expect-error: T passed here may not neccessarily exist. We return `never` type when it doesn't
|
|
655
|
+
* native: PickIfExist<ViewStyle, T>;
|
|
656
|
+
* ```
|
|
657
|
+
*/
|
|
658
|
+
type PickIfExist<T, K extends keyof T> = {
|
|
659
|
+
[P in K]: P extends keyof T ? T[P] : never;
|
|
660
|
+
};
|
|
661
|
+
/**
|
|
662
|
+
* Picks the types based on the platform (web / native).
|
|
663
|
+
*
|
|
664
|
+
* E.g.
|
|
665
|
+
* ```ts
|
|
666
|
+
* type CSSObject = PickCSSByPlatform<'display'>
|
|
667
|
+
* // On Web --> This will be all possible web display properties like `block`, `flex`, `inline`, and more.
|
|
668
|
+
* // On Native --> This will be just `flex` and `none`
|
|
669
|
+
* ```
|
|
670
|
+
*/
|
|
671
|
+
type PickCSSByPlatform<T extends keyof React__default.CSSProperties | keyof ViewStyle> = Platform.Select<{
|
|
672
|
+
web: PickIfExist<CSSObject, T>;
|
|
673
|
+
native: PickIfExist<ViewStyle, T>;
|
|
674
|
+
}>;
|
|
675
|
+
type BladeElementRef = Platform.Select<{
|
|
676
|
+
web: HTMLElement;
|
|
677
|
+
native: View;
|
|
678
|
+
}>;
|
|
679
|
+
type ContainerElementType = Platform.Select<{
|
|
680
|
+
web: HTMLDivElement;
|
|
681
|
+
native: View;
|
|
682
|
+
}>;
|
|
683
|
+
|
|
684
684
|
/**
|
|
685
685
|
* Returns the value or the responsive object with that value
|
|
686
686
|
*
|
|
@@ -1351,782 +1351,6 @@ type BoxRefType = Platform.Select<{
|
|
|
1351
1351
|
native: View;
|
|
1352
1352
|
}>;
|
|
1353
1353
|
|
|
1354
|
-
type InteractiveText$1 = DotNotationToken<Theme['colors']['interactive']['icon']>;
|
|
1355
|
-
type FeedbackText$1 = DotNotationToken<Theme['colors']['feedback']['icon']>;
|
|
1356
|
-
type SurfaceText$1 = DotNotationToken<Theme['colors']['surface']['icon']>;
|
|
1357
|
-
type IconColors = `interactive.icon.${InteractiveText$1}` | `surface.icon.${SurfaceText$1}` | `feedback.icon.${FeedbackText$1}`;
|
|
1358
|
-
type IconSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge';
|
|
1359
|
-
type IconProps = {
|
|
1360
|
-
/**
|
|
1361
|
-
* Color token (not to be confused with actual hsla value)
|
|
1362
|
-
*/
|
|
1363
|
-
color?: IconColors | 'currentColor';
|
|
1364
|
-
size?: IconSize;
|
|
1365
|
-
} & StyledPropsBlade;
|
|
1366
|
-
type IconComponent = React.ComponentType<IconProps>;
|
|
1367
|
-
|
|
1368
|
-
declare const AcceptPaymentsIcon: IconComponent;
|
|
1369
|
-
|
|
1370
|
-
declare const ActivityIcon: IconComponent;
|
|
1371
|
-
|
|
1372
|
-
declare const AddressBookIcon: IconComponent;
|
|
1373
|
-
|
|
1374
|
-
declare const AffordabilityIcon: IconComponent;
|
|
1375
|
-
|
|
1376
|
-
declare const AirplayIcon: IconComponent;
|
|
1377
|
-
|
|
1378
|
-
declare const AlertCircleIcon: IconComponent;
|
|
1379
|
-
|
|
1380
|
-
declare const AlertOctagonIcon: IconComponent;
|
|
1381
|
-
|
|
1382
|
-
declare const AlertOnlyIcon: IconComponent;
|
|
1383
|
-
|
|
1384
|
-
declare const AlertTriangleIcon: IconComponent;
|
|
1385
|
-
|
|
1386
|
-
declare const AlignCenterIcon: IconComponent;
|
|
1387
|
-
|
|
1388
|
-
declare const AlignJustifyIcon: IconComponent;
|
|
1389
|
-
|
|
1390
|
-
declare const AlignLeftIcon: IconComponent;
|
|
1391
|
-
|
|
1392
|
-
declare const AlignRightIcon: IconComponent;
|
|
1393
|
-
|
|
1394
|
-
declare const AnchorIcon: IconComponent;
|
|
1395
|
-
|
|
1396
|
-
declare const AnnouncementIcon: IconComponent;
|
|
1397
|
-
|
|
1398
|
-
declare const ApertureIcon: IconComponent;
|
|
1399
|
-
|
|
1400
|
-
declare const AppStoreIcon: IconComponent;
|
|
1401
|
-
|
|
1402
|
-
declare const ArrowDownIcon: IconComponent;
|
|
1403
|
-
|
|
1404
|
-
declare const ArrowDownLeftIcon: IconComponent;
|
|
1405
|
-
|
|
1406
|
-
declare const ArrowDownRightIcon: IconComponent;
|
|
1407
|
-
|
|
1408
|
-
declare const ArrowLeftIcon: IconComponent;
|
|
1409
|
-
|
|
1410
|
-
declare const ArrowRightIcon: IconComponent;
|
|
1411
|
-
|
|
1412
|
-
declare const ArrowUpIcon: IconComponent;
|
|
1413
|
-
|
|
1414
|
-
declare const ArrowUpLeftIcon: IconComponent;
|
|
1415
|
-
|
|
1416
|
-
declare const ArrowUpRightIcon: IconComponent;
|
|
1417
|
-
|
|
1418
|
-
declare const AtSignIcon: IconComponent;
|
|
1419
|
-
|
|
1420
|
-
declare const AttachmentIcon: IconComponent;
|
|
1421
|
-
|
|
1422
|
-
declare const AutomateAccountingIcon: IconComponent;
|
|
1423
|
-
|
|
1424
|
-
declare const AutomatePayrollIcon: IconComponent;
|
|
1425
|
-
|
|
1426
|
-
declare const AwardIcon: IconComponent;
|
|
1427
|
-
|
|
1428
|
-
declare const BankAccountVerificationIcon: IconComponent;
|
|
1429
|
-
|
|
1430
|
-
declare const BankIcon: IconComponent;
|
|
1431
|
-
|
|
1432
|
-
declare const BarChartAltIcon: IconComponent;
|
|
1433
|
-
|
|
1434
|
-
declare const BarChartIcon: IconComponent;
|
|
1435
|
-
|
|
1436
|
-
declare const BarCodeIcon: IconComponent;
|
|
1437
|
-
|
|
1438
|
-
declare const BatteryChargingIcon: IconComponent;
|
|
1439
|
-
|
|
1440
|
-
declare const BatteryIcon: IconComponent;
|
|
1441
|
-
|
|
1442
|
-
declare const BellIcon: IconComponent;
|
|
1443
|
-
|
|
1444
|
-
declare const BellOffIcon: IconComponent;
|
|
1445
|
-
|
|
1446
|
-
declare const BfsiIcon: IconComponent;
|
|
1447
|
-
|
|
1448
|
-
declare const BillIcon: IconComponent;
|
|
1449
|
-
|
|
1450
|
-
declare const BluetoothIcon: IconComponent;
|
|
1451
|
-
|
|
1452
|
-
declare const BoldIcon: IconComponent;
|
|
1453
|
-
|
|
1454
|
-
declare const BookIcon: IconComponent;
|
|
1455
|
-
|
|
1456
|
-
declare const BookmarkIcon: IconComponent;
|
|
1457
|
-
|
|
1458
|
-
declare const BoxIcon: IconComponent;
|
|
1459
|
-
|
|
1460
|
-
declare const BriefcaseIcon: IconComponent;
|
|
1461
|
-
|
|
1462
|
-
declare const BugIcon: IconComponent;
|
|
1463
|
-
|
|
1464
|
-
declare const BuildingIcon: IconComponent;
|
|
1465
|
-
|
|
1466
|
-
declare const BulkPayoutsIcon: IconComponent;
|
|
1467
|
-
|
|
1468
|
-
declare const BusinessBankingIcon: IconComponent;
|
|
1469
|
-
|
|
1470
|
-
declare const BusinessSpendManagementIcon: IconComponent;
|
|
1471
|
-
|
|
1472
|
-
declare const CalendarIcon: IconComponent;
|
|
1473
|
-
|
|
1474
|
-
declare const CameraIcon: IconComponent;
|
|
1475
|
-
|
|
1476
|
-
declare const CameraOffIcon: IconComponent;
|
|
1477
|
-
|
|
1478
|
-
declare const CashIcon: IconComponent;
|
|
1479
|
-
|
|
1480
|
-
declare const CastIcon: IconComponent;
|
|
1481
|
-
|
|
1482
|
-
declare const CheckCircle2Icon: IconComponent;
|
|
1483
|
-
|
|
1484
|
-
declare const CheckCircleIcon: IconComponent;
|
|
1485
|
-
|
|
1486
|
-
declare const CheckIcon: IconComponent;
|
|
1487
|
-
|
|
1488
|
-
declare const CheckSquareIcon: IconComponent;
|
|
1489
|
-
|
|
1490
|
-
declare const ChevronDownIcon: IconComponent;
|
|
1491
|
-
|
|
1492
|
-
declare const ChevronLeftIcon: IconComponent;
|
|
1493
|
-
|
|
1494
|
-
declare const ChevronRightIcon: IconComponent;
|
|
1495
|
-
|
|
1496
|
-
declare const ChevronUpIcon: IconComponent;
|
|
1497
|
-
|
|
1498
|
-
declare const ChevronsDownIcon: IconComponent;
|
|
1499
|
-
|
|
1500
|
-
declare const ChevronsLeftIcon: IconComponent;
|
|
1501
|
-
|
|
1502
|
-
declare const ChevronsRightIcon: IconComponent;
|
|
1503
|
-
|
|
1504
|
-
declare const ChevronsUpIcon: IconComponent;
|
|
1505
|
-
|
|
1506
|
-
declare const ChromeIcon: IconComponent;
|
|
1507
|
-
|
|
1508
|
-
declare const CircleIcon: IconComponent;
|
|
1509
|
-
|
|
1510
|
-
declare const ClipboardIcon: IconComponent;
|
|
1511
|
-
|
|
1512
|
-
declare const ClockIcon: IconComponent;
|
|
1513
|
-
|
|
1514
|
-
declare const CloseIcon: IconComponent;
|
|
1515
|
-
|
|
1516
|
-
declare const ClosedCaptioningIcon: IconComponent;
|
|
1517
|
-
|
|
1518
|
-
declare const CloudDrizzleIcon: IconComponent;
|
|
1519
|
-
|
|
1520
|
-
declare const CloudIcon: IconComponent;
|
|
1521
|
-
|
|
1522
|
-
declare const CloudLightningIcon: IconComponent;
|
|
1523
|
-
|
|
1524
|
-
declare const CloudOffIcon: IconComponent;
|
|
1525
|
-
|
|
1526
|
-
declare const CloudRainIcon: IconComponent;
|
|
1527
|
-
|
|
1528
|
-
declare const CloudSnowIcon: IconComponent;
|
|
1529
|
-
|
|
1530
|
-
declare const CodeSnippetIcon: IconComponent;
|
|
1531
|
-
|
|
1532
|
-
declare const CodepenIcon: IconComponent;
|
|
1533
|
-
|
|
1534
|
-
declare const CoinIcon: IconComponent;
|
|
1535
|
-
|
|
1536
|
-
declare const CoinsIcon: IconComponent;
|
|
1537
|
-
|
|
1538
|
-
declare const CommandIcon: IconComponent;
|
|
1539
|
-
|
|
1540
|
-
declare const CompanyRegistrationIcon: IconComponent;
|
|
1541
|
-
|
|
1542
|
-
declare const CompassIcon: IconComponent;
|
|
1543
|
-
|
|
1544
|
-
declare const ConfettiIcon: IconComponent;
|
|
1545
|
-
|
|
1546
|
-
declare const ContactlessPaymentIcon: IconComponent;
|
|
1547
|
-
|
|
1548
|
-
declare const CookieIcon: IconComponent;
|
|
1549
|
-
|
|
1550
|
-
declare const CopyIcon: IconComponent;
|
|
1551
|
-
|
|
1552
|
-
declare const CopyrightIcon: IconComponent;
|
|
1553
|
-
|
|
1554
|
-
declare const CornerDownLeftIcon: IconComponent;
|
|
1555
|
-
|
|
1556
|
-
declare const CornerDownRightIcon: IconComponent;
|
|
1557
|
-
|
|
1558
|
-
declare const CornerLeftDownIcon: IconComponent;
|
|
1559
|
-
|
|
1560
|
-
declare const CornerLeftUpIcon: IconComponent;
|
|
1561
|
-
|
|
1562
|
-
declare const CornerRightDownIcon: IconComponent;
|
|
1563
|
-
|
|
1564
|
-
declare const CornerRightUpIcon: IconComponent;
|
|
1565
|
-
|
|
1566
|
-
declare const CornerUpLeftIcon: IconComponent;
|
|
1567
|
-
|
|
1568
|
-
declare const CornerUpRightIcon: IconComponent;
|
|
1569
|
-
|
|
1570
|
-
declare const CpuIcon: IconComponent;
|
|
1571
|
-
|
|
1572
|
-
declare const CreditCardIcon: IconComponent;
|
|
1573
|
-
|
|
1574
|
-
declare const CreditsAndLoansIcon: IconComponent;
|
|
1575
|
-
|
|
1576
|
-
declare const CropIcon: IconComponent;
|
|
1577
|
-
|
|
1578
|
-
declare const CrosshairIcon: IconComponent;
|
|
1579
|
-
|
|
1580
|
-
declare const CurrentAccountIcon: IconComponent;
|
|
1581
|
-
|
|
1582
|
-
declare const CustomersIcon: IconComponent;
|
|
1583
|
-
|
|
1584
|
-
declare const CutIcon: IconComponent;
|
|
1585
|
-
|
|
1586
|
-
declare const DashboardIcon: IconComponent;
|
|
1587
|
-
|
|
1588
|
-
declare const DeleteIcon: IconComponent;
|
|
1589
|
-
|
|
1590
|
-
declare const DigitalLendingIcon: IconComponent;
|
|
1591
|
-
|
|
1592
|
-
declare const DisbursePaymentsIcon: IconComponent;
|
|
1593
|
-
|
|
1594
|
-
declare const DiscIcon: IconComponent;
|
|
1595
|
-
|
|
1596
|
-
declare const DollarIcon: IconComponent;
|
|
1597
|
-
|
|
1598
|
-
declare const DollarsIcon: IconComponent;
|
|
1599
|
-
|
|
1600
|
-
declare const DotIcon: IconComponent;
|
|
1601
|
-
|
|
1602
|
-
declare const DownloadCloudIcon: IconComponent;
|
|
1603
|
-
|
|
1604
|
-
declare const DownloadIcon: IconComponent;
|
|
1605
|
-
|
|
1606
|
-
declare const DropletIcon: IconComponent;
|
|
1607
|
-
|
|
1608
|
-
declare const EcommerceIcon: IconComponent;
|
|
1609
|
-
|
|
1610
|
-
declare const EditComposeIcon: IconComponent;
|
|
1611
|
-
|
|
1612
|
-
declare const EditIcon: IconComponent;
|
|
1613
|
-
|
|
1614
|
-
declare const EditInlineIcon: IconComponent;
|
|
1615
|
-
|
|
1616
|
-
declare const EducationIcon: IconComponent;
|
|
1617
|
-
|
|
1618
|
-
declare const EscrowAccountIcon: IconComponent;
|
|
1619
|
-
|
|
1620
|
-
declare const ExportIcon: IconComponent;
|
|
1621
|
-
|
|
1622
|
-
declare const ExternalLinkIcon: IconComponent;
|
|
1623
|
-
|
|
1624
|
-
declare const EyeIcon: IconComponent;
|
|
1625
|
-
|
|
1626
|
-
declare const EyeOffIcon: IconComponent;
|
|
1627
|
-
|
|
1628
|
-
declare const FacebookIcon: IconComponent;
|
|
1629
|
-
|
|
1630
|
-
declare const FastForwardIcon: IconComponent;
|
|
1631
|
-
|
|
1632
|
-
declare const FeatherIcon: IconComponent;
|
|
1633
|
-
|
|
1634
|
-
declare const FigmaIcon: IconComponent;
|
|
1635
|
-
|
|
1636
|
-
declare const FileIcon: IconComponent;
|
|
1637
|
-
|
|
1638
|
-
declare const FileMinusIcon: IconComponent;
|
|
1639
|
-
|
|
1640
|
-
declare const FilePlusIcon: IconComponent;
|
|
1641
|
-
|
|
1642
|
-
declare const FileTextIcon: IconComponent;
|
|
1643
|
-
|
|
1644
|
-
declare const FileZipIcon: IconComponent;
|
|
1645
|
-
|
|
1646
|
-
declare const FilmIcon: IconComponent;
|
|
1647
|
-
|
|
1648
|
-
declare const FilterIcon: IconComponent;
|
|
1649
|
-
|
|
1650
|
-
declare const FlagIcon: IconComponent;
|
|
1651
|
-
|
|
1652
|
-
declare const FolderIcon: IconComponent;
|
|
1653
|
-
|
|
1654
|
-
declare const ForexManagementIcon: IconComponent;
|
|
1655
|
-
|
|
1656
|
-
declare const FreelanceIcon: IconComponent;
|
|
1657
|
-
|
|
1658
|
-
declare const FullScreenEnterIcon: IconComponent;
|
|
1659
|
-
|
|
1660
|
-
declare const FullScreenExitIcon: IconComponent;
|
|
1661
|
-
|
|
1662
|
-
declare const GithubIcon: IconComponent;
|
|
1663
|
-
|
|
1664
|
-
declare const GitlabIcon: IconComponent;
|
|
1665
|
-
|
|
1666
|
-
declare const GlobeIcon: IconComponent;
|
|
1667
|
-
|
|
1668
|
-
declare const GridIcon: IconComponent;
|
|
1669
|
-
|
|
1670
|
-
declare const HashIcon: IconComponent;
|
|
1671
|
-
|
|
1672
|
-
declare const HeadphoneIcon: IconComponent;
|
|
1673
|
-
|
|
1674
|
-
declare const HeadphonesIcon: IconComponent;
|
|
1675
|
-
|
|
1676
|
-
declare const HeadsetIcon: IconComponent;
|
|
1677
|
-
|
|
1678
|
-
declare const HeartIcon: IconComponent;
|
|
1679
|
-
|
|
1680
|
-
declare const HelpCircleIcon: IconComponent;
|
|
1681
|
-
|
|
1682
|
-
declare const HistoryIcon: IconComponent;
|
|
1683
|
-
|
|
1684
|
-
declare const HomeIcon: IconComponent;
|
|
1685
|
-
|
|
1686
|
-
declare const ImageIcon: IconComponent;
|
|
1687
|
-
|
|
1688
|
-
declare const InboxIcon: IconComponent;
|
|
1689
|
-
|
|
1690
|
-
declare const InfoIcon: IconComponent;
|
|
1691
|
-
|
|
1692
|
-
declare const InstagramIcon: IconComponent;
|
|
1693
|
-
|
|
1694
|
-
declare const InstantSettlementIcon: IconComponent;
|
|
1695
|
-
|
|
1696
|
-
declare const InternationalPaymentsIcon: IconComponent;
|
|
1697
|
-
|
|
1698
|
-
declare const InvoicesIcon: IconComponent;
|
|
1699
|
-
|
|
1700
|
-
declare const ItalicIcon: IconComponent;
|
|
1701
|
-
|
|
1702
|
-
declare const LayersIcon: IconComponent;
|
|
1703
|
-
|
|
1704
|
-
declare const LayoutIcon: IconComponent;
|
|
1705
|
-
|
|
1706
|
-
declare const LifeBuoyIcon: IconComponent;
|
|
1707
|
-
|
|
1708
|
-
declare const LinkIcon: IconComponent;
|
|
1709
|
-
|
|
1710
|
-
declare const ListIcon: IconComponent;
|
|
1711
|
-
|
|
1712
|
-
declare const LoaderIcon: IconComponent;
|
|
1713
|
-
|
|
1714
|
-
declare const LoansForBusinessesIcon: IconComponent;
|
|
1715
|
-
|
|
1716
|
-
declare const LockIcon: IconComponent;
|
|
1717
|
-
|
|
1718
|
-
declare const LogInIcon: IconComponent;
|
|
1719
|
-
|
|
1720
|
-
declare const LogOutIcon: IconComponent;
|
|
1721
|
-
|
|
1722
|
-
declare const MagicCheckoutIcon: IconComponent;
|
|
1723
|
-
|
|
1724
|
-
declare const MailIcon: IconComponent;
|
|
1725
|
-
|
|
1726
|
-
declare const MailOpenIcon: IconComponent;
|
|
1727
|
-
|
|
1728
|
-
declare const MapIcon: IconComponent;
|
|
1729
|
-
|
|
1730
|
-
declare const MapPinIcon: IconComponent;
|
|
1731
|
-
|
|
1732
|
-
declare const MaximizeIcon: IconComponent;
|
|
1733
|
-
|
|
1734
|
-
declare const MenuDotsIcon: IconComponent;
|
|
1735
|
-
|
|
1736
|
-
declare const MenuIcon: IconComponent;
|
|
1737
|
-
|
|
1738
|
-
declare const MessageCircleIcon: IconComponent;
|
|
1739
|
-
|
|
1740
|
-
declare const MessageSquareIcon: IconComponent;
|
|
1741
|
-
|
|
1742
|
-
declare const MicIcon: IconComponent;
|
|
1743
|
-
|
|
1744
|
-
declare const MicOffIcon: IconComponent;
|
|
1745
|
-
|
|
1746
|
-
declare const MinimizeIcon: IconComponent;
|
|
1747
|
-
|
|
1748
|
-
declare const MinusCircleIcon: IconComponent;
|
|
1749
|
-
|
|
1750
|
-
declare const MinusIcon: IconComponent;
|
|
1751
|
-
|
|
1752
|
-
declare const MinusSquareIcon: IconComponent;
|
|
1753
|
-
|
|
1754
|
-
declare const MobileAppIcon: IconComponent;
|
|
1755
|
-
|
|
1756
|
-
declare const MonitorIcon: IconComponent;
|
|
1757
|
-
|
|
1758
|
-
declare const MoonIcon: IconComponent;
|
|
1759
|
-
|
|
1760
|
-
declare const MoreHorizontalIcon: IconComponent;
|
|
1761
|
-
|
|
1762
|
-
declare const MoreIcon: IconComponent;
|
|
1763
|
-
|
|
1764
|
-
declare const MoreVerticalIcon: IconComponent;
|
|
1765
|
-
|
|
1766
|
-
declare const MoveIcon: IconComponent;
|
|
1767
|
-
|
|
1768
|
-
declare const MusicIcon: IconComponent;
|
|
1769
|
-
|
|
1770
|
-
declare const MyAccountIcon: IconComponent;
|
|
1771
|
-
|
|
1772
|
-
declare const NavigationIcon: IconComponent;
|
|
1773
|
-
|
|
1774
|
-
declare const OctagonIcon: IconComponent;
|
|
1775
|
-
|
|
1776
|
-
declare const OffersIcon: IconComponent;
|
|
1777
|
-
|
|
1778
|
-
declare const OptimizerIcon: IconComponent;
|
|
1779
|
-
|
|
1780
|
-
declare const PackageIcon: IconComponent;
|
|
1781
|
-
|
|
1782
|
-
declare const PaperclipIcon: IconComponent;
|
|
1783
|
-
|
|
1784
|
-
declare const PauseCircleIcon: IconComponent;
|
|
1785
|
-
|
|
1786
|
-
declare const PauseIcon: IconComponent;
|
|
1787
|
-
|
|
1788
|
-
declare const PaymentButtonIcon: IconComponent;
|
|
1789
|
-
|
|
1790
|
-
declare const PaymentButtonsIcon: IconComponent;
|
|
1791
|
-
|
|
1792
|
-
declare const PaymentGatewayIcon: IconComponent;
|
|
1793
|
-
|
|
1794
|
-
declare const PaymentLinkIcon: IconComponent;
|
|
1795
|
-
|
|
1796
|
-
declare const PaymentLinksIcon: IconComponent;
|
|
1797
|
-
|
|
1798
|
-
declare const PaymentPagesIcon: IconComponent;
|
|
1799
|
-
|
|
1800
|
-
declare const PayoutLinkIcon: IconComponent;
|
|
1801
|
-
|
|
1802
|
-
declare const PayrollAddonsIcon: IconComponent;
|
|
1803
|
-
|
|
1804
|
-
declare const PayrollForCaIcon: IconComponent;
|
|
1805
|
-
|
|
1806
|
-
declare const PayrollForStartupOrSmeIcon: IconComponent;
|
|
1807
|
-
|
|
1808
|
-
declare const PercentIcon: IconComponent;
|
|
1809
|
-
|
|
1810
|
-
declare const PettyCashBudgetIcon: IconComponent;
|
|
1811
|
-
|
|
1812
|
-
declare const PhoneCallIcon: IconComponent;
|
|
1813
|
-
|
|
1814
|
-
declare const PhoneForwardedIcon: IconComponent;
|
|
1815
|
-
|
|
1816
|
-
declare const PhoneIcon: IconComponent;
|
|
1817
|
-
|
|
1818
|
-
declare const PhoneIncomingIcon: IconComponent;
|
|
1819
|
-
|
|
1820
|
-
declare const PhoneMissedIcon: IconComponent;
|
|
1821
|
-
|
|
1822
|
-
declare const PhoneOffIcon: IconComponent;
|
|
1823
|
-
|
|
1824
|
-
declare const PhoneOutgoingIcon: IconComponent;
|
|
1825
|
-
|
|
1826
|
-
declare const PictureInPictureIcon: IconComponent;
|
|
1827
|
-
|
|
1828
|
-
declare const PieChartIcon: IconComponent;
|
|
1829
|
-
|
|
1830
|
-
declare const PinIcon: IconComponent;
|
|
1831
|
-
|
|
1832
|
-
declare const PlayCircleIcon: IconComponent;
|
|
1833
|
-
|
|
1834
|
-
declare const PlayIcon: IconComponent;
|
|
1835
|
-
|
|
1836
|
-
declare const PlusCircleIcon: IconComponent;
|
|
1837
|
-
|
|
1838
|
-
declare const PlusIcon: IconComponent;
|
|
1839
|
-
|
|
1840
|
-
declare const PlusSquareIcon: IconComponent;
|
|
1841
|
-
|
|
1842
|
-
declare const PocketIcon: IconComponent;
|
|
1843
|
-
|
|
1844
|
-
declare const PosIcon: IconComponent;
|
|
1845
|
-
|
|
1846
|
-
declare const PowerIcon: IconComponent;
|
|
1847
|
-
|
|
1848
|
-
declare const PrinterIcon: IconComponent;
|
|
1849
|
-
|
|
1850
|
-
declare const QRCodeIcon: IconComponent;
|
|
1851
|
-
|
|
1852
|
-
declare const RadioIcon: IconComponent;
|
|
1853
|
-
|
|
1854
|
-
declare const RazorpayIcon: IconComponent;
|
|
1855
|
-
|
|
1856
|
-
declare const RazorpayXIcon: IconComponent;
|
|
1857
|
-
|
|
1858
|
-
declare const RazorpayxPayrollIcon: IconComponent;
|
|
1859
|
-
|
|
1860
|
-
declare const RefreshIcon: IconComponent;
|
|
1861
|
-
|
|
1862
|
-
declare const RepeatIcon: IconComponent;
|
|
1863
|
-
|
|
1864
|
-
declare const ReportsIcon: IconComponent;
|
|
1865
|
-
|
|
1866
|
-
declare const ResizerIcon: IconComponent;
|
|
1867
|
-
|
|
1868
|
-
declare const RewindIcon: IconComponent;
|
|
1869
|
-
|
|
1870
|
-
declare const RotateClockWiseIcon: IconComponent;
|
|
1871
|
-
|
|
1872
|
-
declare const RotateCounterClockWiseIcon: IconComponent;
|
|
1873
|
-
|
|
1874
|
-
declare const RouteIcon: IconComponent;
|
|
1875
|
-
|
|
1876
|
-
declare const RoutesIcon: IconComponent;
|
|
1877
|
-
|
|
1878
|
-
declare const RupeeIcon: IconComponent;
|
|
1879
|
-
|
|
1880
|
-
declare const RupeesIcon: IconComponent;
|
|
1881
|
-
|
|
1882
|
-
declare const SaasIcon: IconComponent;
|
|
1883
|
-
|
|
1884
|
-
declare const SaveIcon: IconComponent;
|
|
1885
|
-
|
|
1886
|
-
declare const ScissorsIcon: IconComponent;
|
|
1887
|
-
|
|
1888
|
-
declare const SearchIcon: IconComponent;
|
|
1889
|
-
|
|
1890
|
-
declare const SendIcon: IconComponent;
|
|
1891
|
-
|
|
1892
|
-
declare const ServerIcon: IconComponent;
|
|
1893
|
-
|
|
1894
|
-
declare const SettingsIcon: IconComponent;
|
|
1895
|
-
|
|
1896
|
-
declare const SettlementsIcon: IconComponent;
|
|
1897
|
-
|
|
1898
|
-
declare const ShareIcon: IconComponent;
|
|
1899
|
-
|
|
1900
|
-
declare const ShieldIcon: IconComponent;
|
|
1901
|
-
|
|
1902
|
-
declare const ShoppingBagIcon: IconComponent;
|
|
1903
|
-
|
|
1904
|
-
declare const ShoppingCartIcon: IconComponent;
|
|
1905
|
-
|
|
1906
|
-
declare const ShuffleIcon: IconComponent;
|
|
1907
|
-
|
|
1908
|
-
declare const SidebarIcon: IconComponent;
|
|
1909
|
-
|
|
1910
|
-
declare const SkipBackIcon: IconComponent;
|
|
1911
|
-
|
|
1912
|
-
declare const SkipForwardIcon: IconComponent;
|
|
1913
|
-
|
|
1914
|
-
declare const SlackIcon: IconComponent;
|
|
1915
|
-
|
|
1916
|
-
declare const SlashIcon: IconComponent;
|
|
1917
|
-
|
|
1918
|
-
declare const SlidersIcon: IconComponent;
|
|
1919
|
-
|
|
1920
|
-
declare const SmartCollectIcon: IconComponent;
|
|
1921
|
-
|
|
1922
|
-
declare const SmartphoneIcon: IconComponent;
|
|
1923
|
-
|
|
1924
|
-
declare const SolutionsIcon: IconComponent;
|
|
1925
|
-
|
|
1926
|
-
declare const SourceToPayIcon: IconComponent;
|
|
1927
|
-
|
|
1928
|
-
declare const SparklesIcon: IconComponent;
|
|
1929
|
-
|
|
1930
|
-
declare const SpeakerIcon: IconComponent;
|
|
1931
|
-
|
|
1932
|
-
declare const SquareIcon: IconComponent;
|
|
1933
|
-
|
|
1934
|
-
declare const StampIcon: IconComponent;
|
|
1935
|
-
|
|
1936
|
-
declare const StarIcon: IconComponent;
|
|
1937
|
-
|
|
1938
|
-
declare const StopCircleIcon: IconComponent;
|
|
1939
|
-
|
|
1940
|
-
declare const StorefrontIcon: IconComponent;
|
|
1941
|
-
|
|
1942
|
-
declare const SubscriptionsIcon: IconComponent;
|
|
1943
|
-
|
|
1944
|
-
declare const SunIcon: IconComponent;
|
|
1945
|
-
|
|
1946
|
-
declare const SunriseIcon: IconComponent;
|
|
1947
|
-
|
|
1948
|
-
declare const SunsetIcon: IconComponent;
|
|
1949
|
-
|
|
1950
|
-
declare const TabletIcon: IconComponent;
|
|
1951
|
-
|
|
1952
|
-
declare const TagIcon: IconComponent;
|
|
1953
|
-
|
|
1954
|
-
declare const TargetIcon: IconComponent;
|
|
1955
|
-
|
|
1956
|
-
declare const TaxPaymentsIcon: IconComponent;
|
|
1957
|
-
|
|
1958
|
-
declare const TestIcon: IconComponent;
|
|
1959
|
-
|
|
1960
|
-
declare const ThermometerIcon: IconComponent;
|
|
1961
|
-
|
|
1962
|
-
declare const ThumbsDownIcon: IconComponent;
|
|
1963
|
-
|
|
1964
|
-
declare const ThumbsUpIcon: IconComponent;
|
|
1965
|
-
|
|
1966
|
-
declare const TicketIcon: IconComponent;
|
|
1967
|
-
|
|
1968
|
-
declare const ToggleLeftIcon: IconComponent;
|
|
1969
|
-
|
|
1970
|
-
declare const ToggleRightIcon: IconComponent;
|
|
1971
|
-
|
|
1972
|
-
declare const TokenHqIcon: IconComponent;
|
|
1973
|
-
|
|
1974
|
-
declare const TrademarkIcon: IconComponent;
|
|
1975
|
-
|
|
1976
|
-
declare const TrademarkRegisteredIcon: IconComponent;
|
|
1977
|
-
|
|
1978
|
-
declare const TransactionsIcon: IconComponent;
|
|
1979
|
-
|
|
1980
|
-
declare const TrashIcon: IconComponent;
|
|
1981
|
-
|
|
1982
|
-
declare const TrendingDownIcon: IconComponent;
|
|
1983
|
-
|
|
1984
|
-
declare const TrendingUpIcon: IconComponent;
|
|
1985
|
-
|
|
1986
|
-
declare const TriangleIcon: IconComponent;
|
|
1987
|
-
|
|
1988
|
-
declare const TvIcon: IconComponent;
|
|
1989
|
-
|
|
1990
|
-
declare const TwitterIcon: IconComponent;
|
|
1991
|
-
|
|
1992
|
-
declare const TypeIcon: IconComponent;
|
|
1993
|
-
|
|
1994
|
-
declare const UmbrellaIcon: IconComponent;
|
|
1995
|
-
|
|
1996
|
-
declare const UnderlineIcon: IconComponent;
|
|
1997
|
-
|
|
1998
|
-
declare const UnlockIcon: IconComponent;
|
|
1999
|
-
|
|
2000
|
-
declare const UpiAutopayIcon: IconComponent;
|
|
2001
|
-
|
|
2002
|
-
declare const UploadCloudIcon: IconComponent;
|
|
2003
|
-
|
|
2004
|
-
declare const UploadIcon: IconComponent;
|
|
2005
|
-
|
|
2006
|
-
declare const UserCheckIcon: IconComponent;
|
|
2007
|
-
|
|
2008
|
-
declare const UserIcon: IconComponent;
|
|
2009
|
-
|
|
2010
|
-
declare const UserMinusIcon: IconComponent;
|
|
2011
|
-
|
|
2012
|
-
declare const UserPlusIcon: IconComponent;
|
|
2013
|
-
|
|
2014
|
-
declare const UserXIcon: IconComponent;
|
|
2015
|
-
|
|
2016
|
-
declare const UsersIcon: IconComponent;
|
|
2017
|
-
|
|
2018
|
-
declare const VendorPaymentsIcon: IconComponent;
|
|
2019
|
-
|
|
2020
|
-
declare const VideoIcon: IconComponent;
|
|
2021
|
-
|
|
2022
|
-
declare const VideoOffIcon: IconComponent;
|
|
2023
|
-
|
|
2024
|
-
declare const ViewLiveDemoIcon: IconComponent;
|
|
2025
|
-
|
|
2026
|
-
declare const VoicemailIcon: IconComponent;
|
|
2027
|
-
|
|
2028
|
-
declare const VolumeHighIcon: IconComponent;
|
|
2029
|
-
|
|
2030
|
-
declare const VolumeIcon: IconComponent;
|
|
2031
|
-
|
|
2032
|
-
declare const VolumeLowIcon: IconComponent;
|
|
2033
|
-
|
|
2034
|
-
declare const VolumeMuteIcon: IconComponent;
|
|
2035
|
-
|
|
2036
|
-
declare const WalletIcon: IconComponent;
|
|
2037
|
-
|
|
2038
|
-
declare const WatchIcon: IconComponent;
|
|
2039
|
-
|
|
2040
|
-
declare const WifiIcon: IconComponent;
|
|
2041
|
-
|
|
2042
|
-
declare const WifiOffIcon: IconComponent;
|
|
2043
|
-
|
|
2044
|
-
declare const WindIcon: IconComponent;
|
|
2045
|
-
|
|
2046
|
-
declare const XCircleIcon: IconComponent;
|
|
2047
|
-
|
|
2048
|
-
declare const XSquareIcon: IconComponent;
|
|
2049
|
-
|
|
2050
|
-
declare const ZapIcon: IconComponent;
|
|
2051
|
-
|
|
2052
|
-
declare const ZoomInIcon: IconComponent;
|
|
2053
|
-
|
|
2054
|
-
declare const ZoomOutIcon: IconComponent;
|
|
2055
|
-
|
|
2056
|
-
type AccordionVariantType = 'filled' | 'transparent';
|
|
2057
|
-
type AccordionProps = {
|
|
2058
|
-
/**
|
|
2059
|
-
* Makes the passed item index expanded by default (uncontrolled)
|
|
2060
|
-
*/
|
|
2061
|
-
defaultExpandedIndex?: number;
|
|
2062
|
-
/**
|
|
2063
|
-
* Expands the passed index (controlled), `-1` implies no expanded items
|
|
2064
|
-
*/
|
|
2065
|
-
expandedIndex?: number;
|
|
2066
|
-
/**
|
|
2067
|
-
* Callback for change in any item's expanded state,
|
|
2068
|
-
* `-1` implies no expanded items
|
|
2069
|
-
*/
|
|
2070
|
-
onExpandChange?: ({ expandedIndex }: {
|
|
2071
|
-
expandedIndex: number;
|
|
2072
|
-
}) => void;
|
|
2073
|
-
/**
|
|
2074
|
-
* Adds numeric index at the beginning of items
|
|
2075
|
-
*
|
|
2076
|
-
* @default false
|
|
2077
|
-
*/
|
|
2078
|
-
showNumberPrefix?: boolean;
|
|
2079
|
-
/**
|
|
2080
|
-
* Visual variant of AccordionItem
|
|
2081
|
-
*
|
|
2082
|
-
* @default transparent
|
|
2083
|
-
*/
|
|
2084
|
-
variant?: AccordionVariantType;
|
|
2085
|
-
/**
|
|
2086
|
-
* Size of the Accordion
|
|
2087
|
-
*
|
|
2088
|
-
* @default large
|
|
2089
|
-
*/
|
|
2090
|
-
size?: 'large' | 'medium';
|
|
2091
|
-
/**
|
|
2092
|
-
* Accepts `AccordionItem` child nodes
|
|
2093
|
-
*/
|
|
2094
|
-
children: React__default.ReactElement | React__default.ReactElement[];
|
|
2095
|
-
} & TestID & StyledPropsBlade;
|
|
2096
|
-
|
|
2097
|
-
/**
|
|
2098
|
-
* # Accordion
|
|
2099
|
-
*
|
|
2100
|
-
* An accordion is used to allow users to toggle between different content sections in a compact vertical stack.
|
|
2101
|
-
*
|
|
2102
|
-
* ## Usage
|
|
2103
|
-
*
|
|
2104
|
-
* ```jsx
|
|
2105
|
-
* <Accordion>
|
|
2106
|
-
* <AccordionItem>
|
|
2107
|
-
* <AccordionItemHeader title="Title" />
|
|
2108
|
-
* <AccordionItemBody>
|
|
2109
|
-
* <Text color="surface.text.gray.subtle">
|
|
2110
|
-
* Hello this is accordion body content
|
|
2111
|
-
* </Text>
|
|
2112
|
-
* </AccordionItemBody>
|
|
2113
|
-
* </AccordionItem>
|
|
2114
|
-
* <AccordionItem>
|
|
2115
|
-
* <AccordionItemHeader title="Title" />
|
|
2116
|
-
* <AccordionItemBody>
|
|
2117
|
-
* <Text color="surface.text.gray.subtle">
|
|
2118
|
-
* Hello this is accordion body content
|
|
2119
|
-
* </Text>
|
|
2120
|
-
* </AccordionItemBody>
|
|
2121
|
-
* </AccordionItem>
|
|
2122
|
-
* </Accordion>
|
|
2123
|
-
* ```
|
|
2124
|
-
*
|
|
2125
|
-
* Checkout https://blade.razorpay.com/?path=/docs/components-accordion--docs
|
|
2126
|
-
*
|
|
2127
|
-
*/
|
|
2128
|
-
declare const Accordion: ({ defaultExpandedIndex, expandedIndex, onExpandChange, showNumberPrefix, children, variant, size, testID, ...styledProps }: AccordionProps) => ReactElement;
|
|
2129
|
-
|
|
2130
1354
|
declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps & MarginProps & {
|
|
2131
1355
|
width: SpacingValueType | {
|
|
2132
1356
|
readonly base?: SpacingValueType | undefined;
|
|
@@ -2489,6 +1713,787 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
|
|
|
2489
1713
|
id?: string | undefined;
|
|
2490
1714
|
} & TestID> & React__default.RefAttributes<BoxRefType>>;
|
|
2491
1715
|
|
|
1716
|
+
type InteractiveText$1 = DotNotationToken<Theme['colors']['interactive']['icon']>;
|
|
1717
|
+
type FeedbackText$1 = DotNotationToken<Theme['colors']['feedback']['icon']>;
|
|
1718
|
+
type SurfaceText$1 = DotNotationToken<Theme['colors']['surface']['icon']>;
|
|
1719
|
+
type IconColors = `interactive.icon.${InteractiveText$1}` | `surface.icon.${SurfaceText$1}` | `feedback.icon.${FeedbackText$1}`;
|
|
1720
|
+
type IconSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge';
|
|
1721
|
+
type IconProps = {
|
|
1722
|
+
/**
|
|
1723
|
+
* Color token (not to be confused with actual hsla value)
|
|
1724
|
+
*/
|
|
1725
|
+
color?: IconColors | 'currentColor';
|
|
1726
|
+
size?: IconSize;
|
|
1727
|
+
} & StyledPropsBlade;
|
|
1728
|
+
type IconComponent = React.ComponentType<IconProps>;
|
|
1729
|
+
|
|
1730
|
+
declare const AcceptPaymentsIcon: IconComponent;
|
|
1731
|
+
|
|
1732
|
+
declare const ActivityIcon: IconComponent;
|
|
1733
|
+
|
|
1734
|
+
declare const AddressBookIcon: IconComponent;
|
|
1735
|
+
|
|
1736
|
+
declare const AffordabilityIcon: IconComponent;
|
|
1737
|
+
|
|
1738
|
+
declare const AirplayIcon: IconComponent;
|
|
1739
|
+
|
|
1740
|
+
declare const AlertCircleIcon: IconComponent;
|
|
1741
|
+
|
|
1742
|
+
declare const AlertOctagonIcon: IconComponent;
|
|
1743
|
+
|
|
1744
|
+
declare const AlertOnlyIcon: IconComponent;
|
|
1745
|
+
|
|
1746
|
+
declare const AlertTriangleIcon: IconComponent;
|
|
1747
|
+
|
|
1748
|
+
declare const AlignCenterIcon: IconComponent;
|
|
1749
|
+
|
|
1750
|
+
declare const AlignJustifyIcon: IconComponent;
|
|
1751
|
+
|
|
1752
|
+
declare const AlignLeftIcon: IconComponent;
|
|
1753
|
+
|
|
1754
|
+
declare const AlignRightIcon: IconComponent;
|
|
1755
|
+
|
|
1756
|
+
declare const AnchorIcon: IconComponent;
|
|
1757
|
+
|
|
1758
|
+
declare const AnnouncementIcon: IconComponent;
|
|
1759
|
+
|
|
1760
|
+
declare const ApertureIcon: IconComponent;
|
|
1761
|
+
|
|
1762
|
+
declare const AppStoreIcon: IconComponent;
|
|
1763
|
+
|
|
1764
|
+
declare const ArrowDownIcon: IconComponent;
|
|
1765
|
+
|
|
1766
|
+
declare const ArrowDownLeftIcon: IconComponent;
|
|
1767
|
+
|
|
1768
|
+
declare const ArrowDownRightIcon: IconComponent;
|
|
1769
|
+
|
|
1770
|
+
declare const ArrowLeftIcon: IconComponent;
|
|
1771
|
+
|
|
1772
|
+
declare const ArrowRightIcon: IconComponent;
|
|
1773
|
+
|
|
1774
|
+
declare const ArrowUpIcon: IconComponent;
|
|
1775
|
+
|
|
1776
|
+
declare const ArrowUpLeftIcon: IconComponent;
|
|
1777
|
+
|
|
1778
|
+
declare const ArrowUpRightIcon: IconComponent;
|
|
1779
|
+
|
|
1780
|
+
declare const AtSignIcon: IconComponent;
|
|
1781
|
+
|
|
1782
|
+
declare const AttachmentIcon: IconComponent;
|
|
1783
|
+
|
|
1784
|
+
declare const AutomateAccountingIcon: IconComponent;
|
|
1785
|
+
|
|
1786
|
+
declare const AutomatePayrollIcon: IconComponent;
|
|
1787
|
+
|
|
1788
|
+
declare const AwardIcon: IconComponent;
|
|
1789
|
+
|
|
1790
|
+
declare const BankAccountVerificationIcon: IconComponent;
|
|
1791
|
+
|
|
1792
|
+
declare const BankIcon: IconComponent;
|
|
1793
|
+
|
|
1794
|
+
declare const BarChartAltIcon: IconComponent;
|
|
1795
|
+
|
|
1796
|
+
declare const BarChartIcon: IconComponent;
|
|
1797
|
+
|
|
1798
|
+
declare const BarCodeIcon: IconComponent;
|
|
1799
|
+
|
|
1800
|
+
declare const BatteryChargingIcon: IconComponent;
|
|
1801
|
+
|
|
1802
|
+
declare const BatteryIcon: IconComponent;
|
|
1803
|
+
|
|
1804
|
+
declare const BellIcon: IconComponent;
|
|
1805
|
+
|
|
1806
|
+
declare const BellOffIcon: IconComponent;
|
|
1807
|
+
|
|
1808
|
+
declare const BfsiIcon: IconComponent;
|
|
1809
|
+
|
|
1810
|
+
declare const BillIcon: IconComponent;
|
|
1811
|
+
|
|
1812
|
+
declare const BluetoothIcon: IconComponent;
|
|
1813
|
+
|
|
1814
|
+
declare const BoldIcon: IconComponent;
|
|
1815
|
+
|
|
1816
|
+
declare const BookIcon: IconComponent;
|
|
1817
|
+
|
|
1818
|
+
declare const BookmarkIcon: IconComponent;
|
|
1819
|
+
|
|
1820
|
+
declare const BoxIcon: IconComponent;
|
|
1821
|
+
|
|
1822
|
+
declare const BriefcaseIcon: IconComponent;
|
|
1823
|
+
|
|
1824
|
+
declare const BugIcon: IconComponent;
|
|
1825
|
+
|
|
1826
|
+
declare const BuildingIcon: IconComponent;
|
|
1827
|
+
|
|
1828
|
+
declare const BulkPayoutsIcon: IconComponent;
|
|
1829
|
+
|
|
1830
|
+
declare const BusinessBankingIcon: IconComponent;
|
|
1831
|
+
|
|
1832
|
+
declare const BusinessSpendManagementIcon: IconComponent;
|
|
1833
|
+
|
|
1834
|
+
declare const CalendarIcon: IconComponent;
|
|
1835
|
+
|
|
1836
|
+
declare const CameraIcon: IconComponent;
|
|
1837
|
+
|
|
1838
|
+
declare const CameraOffIcon: IconComponent;
|
|
1839
|
+
|
|
1840
|
+
declare const CashIcon: IconComponent;
|
|
1841
|
+
|
|
1842
|
+
declare const CastIcon: IconComponent;
|
|
1843
|
+
|
|
1844
|
+
declare const CheckCircle2Icon: IconComponent;
|
|
1845
|
+
|
|
1846
|
+
declare const CheckCircleIcon: IconComponent;
|
|
1847
|
+
|
|
1848
|
+
declare const CheckIcon: IconComponent;
|
|
1849
|
+
|
|
1850
|
+
declare const CheckSquareIcon: IconComponent;
|
|
1851
|
+
|
|
1852
|
+
declare const ChevronDownIcon: IconComponent;
|
|
1853
|
+
|
|
1854
|
+
declare const ChevronLeftIcon: IconComponent;
|
|
1855
|
+
|
|
1856
|
+
declare const ChevronRightIcon: IconComponent;
|
|
1857
|
+
|
|
1858
|
+
declare const ChevronUpIcon: IconComponent;
|
|
1859
|
+
|
|
1860
|
+
declare const ChevronsDownIcon: IconComponent;
|
|
1861
|
+
|
|
1862
|
+
declare const ChevronsLeftIcon: IconComponent;
|
|
1863
|
+
|
|
1864
|
+
declare const ChevronsRightIcon: IconComponent;
|
|
1865
|
+
|
|
1866
|
+
declare const ChevronsUpIcon: IconComponent;
|
|
1867
|
+
|
|
1868
|
+
declare const ChromeIcon: IconComponent;
|
|
1869
|
+
|
|
1870
|
+
declare const CircleIcon: IconComponent;
|
|
1871
|
+
|
|
1872
|
+
declare const ClipboardIcon: IconComponent;
|
|
1873
|
+
|
|
1874
|
+
declare const ClockIcon: IconComponent;
|
|
1875
|
+
|
|
1876
|
+
declare const CloseIcon: IconComponent;
|
|
1877
|
+
|
|
1878
|
+
declare const ClosedCaptioningIcon: IconComponent;
|
|
1879
|
+
|
|
1880
|
+
declare const CloudDrizzleIcon: IconComponent;
|
|
1881
|
+
|
|
1882
|
+
declare const CloudIcon: IconComponent;
|
|
1883
|
+
|
|
1884
|
+
declare const CloudLightningIcon: IconComponent;
|
|
1885
|
+
|
|
1886
|
+
declare const CloudOffIcon: IconComponent;
|
|
1887
|
+
|
|
1888
|
+
declare const CloudRainIcon: IconComponent;
|
|
1889
|
+
|
|
1890
|
+
declare const CloudSnowIcon: IconComponent;
|
|
1891
|
+
|
|
1892
|
+
declare const CodeSnippetIcon: IconComponent;
|
|
1893
|
+
|
|
1894
|
+
declare const CodepenIcon: IconComponent;
|
|
1895
|
+
|
|
1896
|
+
declare const CoinIcon: IconComponent;
|
|
1897
|
+
|
|
1898
|
+
declare const CoinsIcon: IconComponent;
|
|
1899
|
+
|
|
1900
|
+
declare const CommandIcon: IconComponent;
|
|
1901
|
+
|
|
1902
|
+
declare const CompanyRegistrationIcon: IconComponent;
|
|
1903
|
+
|
|
1904
|
+
declare const CompassIcon: IconComponent;
|
|
1905
|
+
|
|
1906
|
+
declare const ConfettiIcon: IconComponent;
|
|
1907
|
+
|
|
1908
|
+
declare const ContactlessPaymentIcon: IconComponent;
|
|
1909
|
+
|
|
1910
|
+
declare const CookieIcon: IconComponent;
|
|
1911
|
+
|
|
1912
|
+
declare const CopyIcon: IconComponent;
|
|
1913
|
+
|
|
1914
|
+
declare const CopyrightIcon: IconComponent;
|
|
1915
|
+
|
|
1916
|
+
declare const CornerDownLeftIcon: IconComponent;
|
|
1917
|
+
|
|
1918
|
+
declare const CornerDownRightIcon: IconComponent;
|
|
1919
|
+
|
|
1920
|
+
declare const CornerLeftDownIcon: IconComponent;
|
|
1921
|
+
|
|
1922
|
+
declare const CornerLeftUpIcon: IconComponent;
|
|
1923
|
+
|
|
1924
|
+
declare const CornerRightDownIcon: IconComponent;
|
|
1925
|
+
|
|
1926
|
+
declare const CornerRightUpIcon: IconComponent;
|
|
1927
|
+
|
|
1928
|
+
declare const CornerUpLeftIcon: IconComponent;
|
|
1929
|
+
|
|
1930
|
+
declare const CornerUpRightIcon: IconComponent;
|
|
1931
|
+
|
|
1932
|
+
declare const CpuIcon: IconComponent;
|
|
1933
|
+
|
|
1934
|
+
declare const CreditCardIcon: IconComponent;
|
|
1935
|
+
|
|
1936
|
+
declare const CreditsAndLoansIcon: IconComponent;
|
|
1937
|
+
|
|
1938
|
+
declare const CropIcon: IconComponent;
|
|
1939
|
+
|
|
1940
|
+
declare const CrosshairIcon: IconComponent;
|
|
1941
|
+
|
|
1942
|
+
declare const CurrentAccountIcon: IconComponent;
|
|
1943
|
+
|
|
1944
|
+
declare const CustomersIcon: IconComponent;
|
|
1945
|
+
|
|
1946
|
+
declare const CutIcon: IconComponent;
|
|
1947
|
+
|
|
1948
|
+
declare const DashboardIcon: IconComponent;
|
|
1949
|
+
|
|
1950
|
+
declare const DeleteIcon: IconComponent;
|
|
1951
|
+
|
|
1952
|
+
declare const DigitalLendingIcon: IconComponent;
|
|
1953
|
+
|
|
1954
|
+
declare const DisbursePaymentsIcon: IconComponent;
|
|
1955
|
+
|
|
1956
|
+
declare const DiscIcon: IconComponent;
|
|
1957
|
+
|
|
1958
|
+
declare const DollarIcon: IconComponent;
|
|
1959
|
+
|
|
1960
|
+
declare const DollarsIcon: IconComponent;
|
|
1961
|
+
|
|
1962
|
+
declare const DotIcon: IconComponent;
|
|
1963
|
+
|
|
1964
|
+
declare const DownloadCloudIcon: IconComponent;
|
|
1965
|
+
|
|
1966
|
+
declare const DownloadIcon: IconComponent;
|
|
1967
|
+
|
|
1968
|
+
declare const DropletIcon: IconComponent;
|
|
1969
|
+
|
|
1970
|
+
declare const EcommerceIcon: IconComponent;
|
|
1971
|
+
|
|
1972
|
+
declare const EditComposeIcon: IconComponent;
|
|
1973
|
+
|
|
1974
|
+
declare const EditIcon: IconComponent;
|
|
1975
|
+
|
|
1976
|
+
declare const EditInlineIcon: IconComponent;
|
|
1977
|
+
|
|
1978
|
+
declare const EducationIcon: IconComponent;
|
|
1979
|
+
|
|
1980
|
+
declare const EscrowAccountIcon: IconComponent;
|
|
1981
|
+
|
|
1982
|
+
declare const ExportIcon: IconComponent;
|
|
1983
|
+
|
|
1984
|
+
declare const ExternalLinkIcon: IconComponent;
|
|
1985
|
+
|
|
1986
|
+
declare const EyeIcon: IconComponent;
|
|
1987
|
+
|
|
1988
|
+
declare const EyeOffIcon: IconComponent;
|
|
1989
|
+
|
|
1990
|
+
declare const FacebookIcon: IconComponent;
|
|
1991
|
+
|
|
1992
|
+
declare const FastForwardIcon: IconComponent;
|
|
1993
|
+
|
|
1994
|
+
declare const FeatherIcon: IconComponent;
|
|
1995
|
+
|
|
1996
|
+
declare const FigmaIcon: IconComponent;
|
|
1997
|
+
|
|
1998
|
+
declare const FileIcon: IconComponent;
|
|
1999
|
+
|
|
2000
|
+
declare const FileMinusIcon: IconComponent;
|
|
2001
|
+
|
|
2002
|
+
declare const FilePlusIcon: IconComponent;
|
|
2003
|
+
|
|
2004
|
+
declare const FileTextIcon: IconComponent;
|
|
2005
|
+
|
|
2006
|
+
declare const FileZipIcon: IconComponent;
|
|
2007
|
+
|
|
2008
|
+
declare const FilmIcon: IconComponent;
|
|
2009
|
+
|
|
2010
|
+
declare const FilterIcon: IconComponent;
|
|
2011
|
+
|
|
2012
|
+
declare const FlagIcon: IconComponent;
|
|
2013
|
+
|
|
2014
|
+
declare const FolderIcon: IconComponent;
|
|
2015
|
+
|
|
2016
|
+
declare const ForexManagementIcon: IconComponent;
|
|
2017
|
+
|
|
2018
|
+
declare const FreelanceIcon: IconComponent;
|
|
2019
|
+
|
|
2020
|
+
declare const FullScreenEnterIcon: IconComponent;
|
|
2021
|
+
|
|
2022
|
+
declare const FullScreenExitIcon: IconComponent;
|
|
2023
|
+
|
|
2024
|
+
declare const GithubIcon: IconComponent;
|
|
2025
|
+
|
|
2026
|
+
declare const GitlabIcon: IconComponent;
|
|
2027
|
+
|
|
2028
|
+
declare const GlobeIcon: IconComponent;
|
|
2029
|
+
|
|
2030
|
+
declare const GridIcon: IconComponent;
|
|
2031
|
+
|
|
2032
|
+
declare const HashIcon: IconComponent;
|
|
2033
|
+
|
|
2034
|
+
declare const HeadphoneIcon: IconComponent;
|
|
2035
|
+
|
|
2036
|
+
declare const HeadphonesIcon: IconComponent;
|
|
2037
|
+
|
|
2038
|
+
declare const HeadsetIcon: IconComponent;
|
|
2039
|
+
|
|
2040
|
+
declare const HeartIcon: IconComponent;
|
|
2041
|
+
|
|
2042
|
+
declare const HelpCircleIcon: IconComponent;
|
|
2043
|
+
|
|
2044
|
+
declare const HistoryIcon: IconComponent;
|
|
2045
|
+
|
|
2046
|
+
declare const HomeIcon: IconComponent;
|
|
2047
|
+
|
|
2048
|
+
declare const ImageIcon: IconComponent;
|
|
2049
|
+
|
|
2050
|
+
declare const InboxIcon: IconComponent;
|
|
2051
|
+
|
|
2052
|
+
declare const InfoIcon: IconComponent;
|
|
2053
|
+
|
|
2054
|
+
declare const InstagramIcon: IconComponent;
|
|
2055
|
+
|
|
2056
|
+
declare const InstantSettlementIcon: IconComponent;
|
|
2057
|
+
|
|
2058
|
+
declare const InternationalPaymentsIcon: IconComponent;
|
|
2059
|
+
|
|
2060
|
+
declare const InvoicesIcon: IconComponent;
|
|
2061
|
+
|
|
2062
|
+
declare const ItalicIcon: IconComponent;
|
|
2063
|
+
|
|
2064
|
+
declare const LayersIcon: IconComponent;
|
|
2065
|
+
|
|
2066
|
+
declare const LayoutIcon: IconComponent;
|
|
2067
|
+
|
|
2068
|
+
declare const LifeBuoyIcon: IconComponent;
|
|
2069
|
+
|
|
2070
|
+
declare const LinkIcon: IconComponent;
|
|
2071
|
+
|
|
2072
|
+
declare const ListIcon: IconComponent;
|
|
2073
|
+
|
|
2074
|
+
declare const LoaderIcon: IconComponent;
|
|
2075
|
+
|
|
2076
|
+
declare const LoansForBusinessesIcon: IconComponent;
|
|
2077
|
+
|
|
2078
|
+
declare const LockIcon: IconComponent;
|
|
2079
|
+
|
|
2080
|
+
declare const LogInIcon: IconComponent;
|
|
2081
|
+
|
|
2082
|
+
declare const LogOutIcon: IconComponent;
|
|
2083
|
+
|
|
2084
|
+
declare const MagicCheckoutIcon: IconComponent;
|
|
2085
|
+
|
|
2086
|
+
declare const MailIcon: IconComponent;
|
|
2087
|
+
|
|
2088
|
+
declare const MailOpenIcon: IconComponent;
|
|
2089
|
+
|
|
2090
|
+
declare const MapIcon: IconComponent;
|
|
2091
|
+
|
|
2092
|
+
declare const MapPinIcon: IconComponent;
|
|
2093
|
+
|
|
2094
|
+
declare const MaximizeIcon: IconComponent;
|
|
2095
|
+
|
|
2096
|
+
declare const MenuDotsIcon: IconComponent;
|
|
2097
|
+
|
|
2098
|
+
declare const MenuIcon: IconComponent;
|
|
2099
|
+
|
|
2100
|
+
declare const MessageCircleIcon: IconComponent;
|
|
2101
|
+
|
|
2102
|
+
declare const MessageSquareIcon: IconComponent;
|
|
2103
|
+
|
|
2104
|
+
declare const MicIcon: IconComponent;
|
|
2105
|
+
|
|
2106
|
+
declare const MicOffIcon: IconComponent;
|
|
2107
|
+
|
|
2108
|
+
declare const MinimizeIcon: IconComponent;
|
|
2109
|
+
|
|
2110
|
+
declare const MinusCircleIcon: IconComponent;
|
|
2111
|
+
|
|
2112
|
+
declare const MinusIcon: IconComponent;
|
|
2113
|
+
|
|
2114
|
+
declare const MinusSquareIcon: IconComponent;
|
|
2115
|
+
|
|
2116
|
+
declare const MobileAppIcon: IconComponent;
|
|
2117
|
+
|
|
2118
|
+
declare const MonitorIcon: IconComponent;
|
|
2119
|
+
|
|
2120
|
+
declare const MoonIcon: IconComponent;
|
|
2121
|
+
|
|
2122
|
+
declare const MoreHorizontalIcon: IconComponent;
|
|
2123
|
+
|
|
2124
|
+
declare const MoreIcon: IconComponent;
|
|
2125
|
+
|
|
2126
|
+
declare const MoreVerticalIcon: IconComponent;
|
|
2127
|
+
|
|
2128
|
+
declare const MoveIcon: IconComponent;
|
|
2129
|
+
|
|
2130
|
+
declare const MusicIcon: IconComponent;
|
|
2131
|
+
|
|
2132
|
+
declare const MyAccountIcon: IconComponent;
|
|
2133
|
+
|
|
2134
|
+
declare const NavigationIcon: IconComponent;
|
|
2135
|
+
|
|
2136
|
+
declare const OctagonIcon: IconComponent;
|
|
2137
|
+
|
|
2138
|
+
declare const OffersIcon: IconComponent;
|
|
2139
|
+
|
|
2140
|
+
declare const OptimizerIcon: IconComponent;
|
|
2141
|
+
|
|
2142
|
+
declare const PackageIcon: IconComponent;
|
|
2143
|
+
|
|
2144
|
+
declare const PaperclipIcon: IconComponent;
|
|
2145
|
+
|
|
2146
|
+
declare const PauseCircleIcon: IconComponent;
|
|
2147
|
+
|
|
2148
|
+
declare const PauseIcon: IconComponent;
|
|
2149
|
+
|
|
2150
|
+
declare const PaymentButtonIcon: IconComponent;
|
|
2151
|
+
|
|
2152
|
+
declare const PaymentButtonsIcon: IconComponent;
|
|
2153
|
+
|
|
2154
|
+
declare const PaymentGatewayIcon: IconComponent;
|
|
2155
|
+
|
|
2156
|
+
declare const PaymentLinkIcon: IconComponent;
|
|
2157
|
+
|
|
2158
|
+
declare const PaymentLinksIcon: IconComponent;
|
|
2159
|
+
|
|
2160
|
+
declare const PaymentPagesIcon: IconComponent;
|
|
2161
|
+
|
|
2162
|
+
declare const PayoutLinkIcon: IconComponent;
|
|
2163
|
+
|
|
2164
|
+
declare const PayrollAddonsIcon: IconComponent;
|
|
2165
|
+
|
|
2166
|
+
declare const PayrollForCaIcon: IconComponent;
|
|
2167
|
+
|
|
2168
|
+
declare const PayrollForStartupOrSmeIcon: IconComponent;
|
|
2169
|
+
|
|
2170
|
+
declare const PercentIcon: IconComponent;
|
|
2171
|
+
|
|
2172
|
+
declare const PettyCashBudgetIcon: IconComponent;
|
|
2173
|
+
|
|
2174
|
+
declare const PhoneCallIcon: IconComponent;
|
|
2175
|
+
|
|
2176
|
+
declare const PhoneForwardedIcon: IconComponent;
|
|
2177
|
+
|
|
2178
|
+
declare const PhoneIcon: IconComponent;
|
|
2179
|
+
|
|
2180
|
+
declare const PhoneIncomingIcon: IconComponent;
|
|
2181
|
+
|
|
2182
|
+
declare const PhoneMissedIcon: IconComponent;
|
|
2183
|
+
|
|
2184
|
+
declare const PhoneOffIcon: IconComponent;
|
|
2185
|
+
|
|
2186
|
+
declare const PhoneOutgoingIcon: IconComponent;
|
|
2187
|
+
|
|
2188
|
+
declare const PictureInPictureIcon: IconComponent;
|
|
2189
|
+
|
|
2190
|
+
declare const PieChartIcon: IconComponent;
|
|
2191
|
+
|
|
2192
|
+
declare const PinIcon: IconComponent;
|
|
2193
|
+
|
|
2194
|
+
declare const PlayCircleIcon: IconComponent;
|
|
2195
|
+
|
|
2196
|
+
declare const PlayIcon: IconComponent;
|
|
2197
|
+
|
|
2198
|
+
declare const PlusCircleIcon: IconComponent;
|
|
2199
|
+
|
|
2200
|
+
declare const PlusIcon: IconComponent;
|
|
2201
|
+
|
|
2202
|
+
declare const PlusSquareIcon: IconComponent;
|
|
2203
|
+
|
|
2204
|
+
declare const PocketIcon: IconComponent;
|
|
2205
|
+
|
|
2206
|
+
declare const PosIcon: IconComponent;
|
|
2207
|
+
|
|
2208
|
+
declare const PowerIcon: IconComponent;
|
|
2209
|
+
|
|
2210
|
+
declare const PrinterIcon: IconComponent;
|
|
2211
|
+
|
|
2212
|
+
declare const QRCodeIcon: IconComponent;
|
|
2213
|
+
|
|
2214
|
+
declare const RadioIcon: IconComponent;
|
|
2215
|
+
|
|
2216
|
+
declare const RazorpayIcon: IconComponent;
|
|
2217
|
+
|
|
2218
|
+
declare const RazorpayXIcon: IconComponent;
|
|
2219
|
+
|
|
2220
|
+
declare const RazorpayxPayrollIcon: IconComponent;
|
|
2221
|
+
|
|
2222
|
+
declare const RefreshIcon: IconComponent;
|
|
2223
|
+
|
|
2224
|
+
declare const RepeatIcon: IconComponent;
|
|
2225
|
+
|
|
2226
|
+
declare const ReportsIcon: IconComponent;
|
|
2227
|
+
|
|
2228
|
+
declare const ResizerIcon: IconComponent;
|
|
2229
|
+
|
|
2230
|
+
declare const RewindIcon: IconComponent;
|
|
2231
|
+
|
|
2232
|
+
declare const RotateClockWiseIcon: IconComponent;
|
|
2233
|
+
|
|
2234
|
+
declare const RotateCounterClockWiseIcon: IconComponent;
|
|
2235
|
+
|
|
2236
|
+
declare const RouteIcon: IconComponent;
|
|
2237
|
+
|
|
2238
|
+
declare const RoutesIcon: IconComponent;
|
|
2239
|
+
|
|
2240
|
+
declare const RupeeIcon: IconComponent;
|
|
2241
|
+
|
|
2242
|
+
declare const RupeesIcon: IconComponent;
|
|
2243
|
+
|
|
2244
|
+
declare const SaasIcon: IconComponent;
|
|
2245
|
+
|
|
2246
|
+
declare const SaveIcon: IconComponent;
|
|
2247
|
+
|
|
2248
|
+
declare const ScissorsIcon: IconComponent;
|
|
2249
|
+
|
|
2250
|
+
declare const SearchIcon: IconComponent;
|
|
2251
|
+
|
|
2252
|
+
declare const SendIcon: IconComponent;
|
|
2253
|
+
|
|
2254
|
+
declare const ServerIcon: IconComponent;
|
|
2255
|
+
|
|
2256
|
+
declare const SettingsIcon: IconComponent;
|
|
2257
|
+
|
|
2258
|
+
declare const SettlementsIcon: IconComponent;
|
|
2259
|
+
|
|
2260
|
+
declare const ShareIcon: IconComponent;
|
|
2261
|
+
|
|
2262
|
+
declare const ShieldIcon: IconComponent;
|
|
2263
|
+
|
|
2264
|
+
declare const ShoppingBagIcon: IconComponent;
|
|
2265
|
+
|
|
2266
|
+
declare const ShoppingCartIcon: IconComponent;
|
|
2267
|
+
|
|
2268
|
+
declare const ShuffleIcon: IconComponent;
|
|
2269
|
+
|
|
2270
|
+
declare const SidebarIcon: IconComponent;
|
|
2271
|
+
|
|
2272
|
+
declare const SkipBackIcon: IconComponent;
|
|
2273
|
+
|
|
2274
|
+
declare const SkipForwardIcon: IconComponent;
|
|
2275
|
+
|
|
2276
|
+
declare const SlackIcon: IconComponent;
|
|
2277
|
+
|
|
2278
|
+
declare const SlashIcon: IconComponent;
|
|
2279
|
+
|
|
2280
|
+
declare const SlidersIcon: IconComponent;
|
|
2281
|
+
|
|
2282
|
+
declare const SmartCollectIcon: IconComponent;
|
|
2283
|
+
|
|
2284
|
+
declare const SmartphoneIcon: IconComponent;
|
|
2285
|
+
|
|
2286
|
+
declare const SolutionsIcon: IconComponent;
|
|
2287
|
+
|
|
2288
|
+
declare const SourceToPayIcon: IconComponent;
|
|
2289
|
+
|
|
2290
|
+
declare const SparklesIcon: IconComponent;
|
|
2291
|
+
|
|
2292
|
+
declare const SpeakerIcon: IconComponent;
|
|
2293
|
+
|
|
2294
|
+
declare const SquareIcon: IconComponent;
|
|
2295
|
+
|
|
2296
|
+
declare const StampIcon: IconComponent;
|
|
2297
|
+
|
|
2298
|
+
declare const StarIcon: IconComponent;
|
|
2299
|
+
|
|
2300
|
+
declare const StopCircleIcon: IconComponent;
|
|
2301
|
+
|
|
2302
|
+
declare const StorefrontIcon: IconComponent;
|
|
2303
|
+
|
|
2304
|
+
declare const SubscriptionsIcon: IconComponent;
|
|
2305
|
+
|
|
2306
|
+
declare const SunIcon: IconComponent;
|
|
2307
|
+
|
|
2308
|
+
declare const SunriseIcon: IconComponent;
|
|
2309
|
+
|
|
2310
|
+
declare const SunsetIcon: IconComponent;
|
|
2311
|
+
|
|
2312
|
+
declare const TabletIcon: IconComponent;
|
|
2313
|
+
|
|
2314
|
+
declare const TagIcon: IconComponent;
|
|
2315
|
+
|
|
2316
|
+
declare const TargetIcon: IconComponent;
|
|
2317
|
+
|
|
2318
|
+
declare const TaxPaymentsIcon: IconComponent;
|
|
2319
|
+
|
|
2320
|
+
declare const TestIcon: IconComponent;
|
|
2321
|
+
|
|
2322
|
+
declare const ThermometerIcon: IconComponent;
|
|
2323
|
+
|
|
2324
|
+
declare const ThumbsDownIcon: IconComponent;
|
|
2325
|
+
|
|
2326
|
+
declare const ThumbsUpIcon: IconComponent;
|
|
2327
|
+
|
|
2328
|
+
declare const TicketIcon: IconComponent;
|
|
2329
|
+
|
|
2330
|
+
declare const ToggleLeftIcon: IconComponent;
|
|
2331
|
+
|
|
2332
|
+
declare const ToggleRightIcon: IconComponent;
|
|
2333
|
+
|
|
2334
|
+
declare const TokenHqIcon: IconComponent;
|
|
2335
|
+
|
|
2336
|
+
declare const TrademarkIcon: IconComponent;
|
|
2337
|
+
|
|
2338
|
+
declare const TrademarkRegisteredIcon: IconComponent;
|
|
2339
|
+
|
|
2340
|
+
declare const TransactionsIcon: IconComponent;
|
|
2341
|
+
|
|
2342
|
+
declare const TrashIcon: IconComponent;
|
|
2343
|
+
|
|
2344
|
+
declare const TrendingDownIcon: IconComponent;
|
|
2345
|
+
|
|
2346
|
+
declare const TrendingUpIcon: IconComponent;
|
|
2347
|
+
|
|
2348
|
+
declare const TriangleIcon: IconComponent;
|
|
2349
|
+
|
|
2350
|
+
declare const TvIcon: IconComponent;
|
|
2351
|
+
|
|
2352
|
+
declare const TwitterIcon: IconComponent;
|
|
2353
|
+
|
|
2354
|
+
declare const TypeIcon: IconComponent;
|
|
2355
|
+
|
|
2356
|
+
declare const UmbrellaIcon: IconComponent;
|
|
2357
|
+
|
|
2358
|
+
declare const UnderlineIcon: IconComponent;
|
|
2359
|
+
|
|
2360
|
+
declare const UnlockIcon: IconComponent;
|
|
2361
|
+
|
|
2362
|
+
declare const UpiAutopayIcon: IconComponent;
|
|
2363
|
+
|
|
2364
|
+
declare const UploadCloudIcon: IconComponent;
|
|
2365
|
+
|
|
2366
|
+
declare const UploadIcon: IconComponent;
|
|
2367
|
+
|
|
2368
|
+
declare const UserCheckIcon: IconComponent;
|
|
2369
|
+
|
|
2370
|
+
declare const UserIcon: IconComponent;
|
|
2371
|
+
|
|
2372
|
+
declare const UserMinusIcon: IconComponent;
|
|
2373
|
+
|
|
2374
|
+
declare const UserPlusIcon: IconComponent;
|
|
2375
|
+
|
|
2376
|
+
declare const UserXIcon: IconComponent;
|
|
2377
|
+
|
|
2378
|
+
declare const UsersIcon: IconComponent;
|
|
2379
|
+
|
|
2380
|
+
declare const VendorPaymentsIcon: IconComponent;
|
|
2381
|
+
|
|
2382
|
+
declare const VideoIcon: IconComponent;
|
|
2383
|
+
|
|
2384
|
+
declare const VideoOffIcon: IconComponent;
|
|
2385
|
+
|
|
2386
|
+
declare const ViewLiveDemoIcon: IconComponent;
|
|
2387
|
+
|
|
2388
|
+
declare const VoicemailIcon: IconComponent;
|
|
2389
|
+
|
|
2390
|
+
declare const VolumeHighIcon: IconComponent;
|
|
2391
|
+
|
|
2392
|
+
declare const VolumeIcon: IconComponent;
|
|
2393
|
+
|
|
2394
|
+
declare const VolumeLowIcon: IconComponent;
|
|
2395
|
+
|
|
2396
|
+
declare const VolumeMuteIcon: IconComponent;
|
|
2397
|
+
|
|
2398
|
+
declare const WalletIcon: IconComponent;
|
|
2399
|
+
|
|
2400
|
+
declare const WatchIcon: IconComponent;
|
|
2401
|
+
|
|
2402
|
+
declare const WifiIcon: IconComponent;
|
|
2403
|
+
|
|
2404
|
+
declare const WifiOffIcon: IconComponent;
|
|
2405
|
+
|
|
2406
|
+
declare const WindIcon: IconComponent;
|
|
2407
|
+
|
|
2408
|
+
declare const XCircleIcon: IconComponent;
|
|
2409
|
+
|
|
2410
|
+
declare const XSquareIcon: IconComponent;
|
|
2411
|
+
|
|
2412
|
+
declare const ZapIcon: IconComponent;
|
|
2413
|
+
|
|
2414
|
+
declare const ZoomInIcon: IconComponent;
|
|
2415
|
+
|
|
2416
|
+
declare const ZoomOutIcon: IconComponent;
|
|
2417
|
+
|
|
2418
|
+
type AccordionVariantType = 'filled' | 'transparent';
|
|
2419
|
+
type AccordionProps = {
|
|
2420
|
+
/**
|
|
2421
|
+
* Makes the passed item index expanded by default (uncontrolled)
|
|
2422
|
+
*/
|
|
2423
|
+
defaultExpandedIndex?: number;
|
|
2424
|
+
/**
|
|
2425
|
+
* Expands the passed index (controlled), `-1` implies no expanded items
|
|
2426
|
+
*/
|
|
2427
|
+
expandedIndex?: number;
|
|
2428
|
+
/**
|
|
2429
|
+
* Callback for change in any item's expanded state,
|
|
2430
|
+
* `-1` implies no expanded items
|
|
2431
|
+
*/
|
|
2432
|
+
onExpandChange?: ({ expandedIndex }: {
|
|
2433
|
+
expandedIndex: number;
|
|
2434
|
+
}) => void;
|
|
2435
|
+
/**
|
|
2436
|
+
* Adds numeric index at the beginning of items
|
|
2437
|
+
*
|
|
2438
|
+
* @default false
|
|
2439
|
+
*/
|
|
2440
|
+
showNumberPrefix?: boolean;
|
|
2441
|
+
/**
|
|
2442
|
+
* Visual variant of AccordionItem
|
|
2443
|
+
*
|
|
2444
|
+
* @default transparent
|
|
2445
|
+
*/
|
|
2446
|
+
variant?: AccordionVariantType;
|
|
2447
|
+
/**
|
|
2448
|
+
* Size of the Accordion
|
|
2449
|
+
*
|
|
2450
|
+
* @default large
|
|
2451
|
+
*/
|
|
2452
|
+
size?: 'large' | 'medium';
|
|
2453
|
+
/**
|
|
2454
|
+
* maxWidth prop of Accordion
|
|
2455
|
+
*
|
|
2456
|
+
*/
|
|
2457
|
+
maxWidth?: BoxProps['maxWidth'];
|
|
2458
|
+
/**
|
|
2459
|
+
* Accepts `AccordionItem` child nodes
|
|
2460
|
+
*/
|
|
2461
|
+
children: React__default.ReactElement | React__default.ReactElement[];
|
|
2462
|
+
} & TestID & StyledPropsBlade;
|
|
2463
|
+
|
|
2464
|
+
/**
|
|
2465
|
+
* # Accordion
|
|
2466
|
+
*
|
|
2467
|
+
* An accordion is used to allow users to toggle between different content sections in a compact vertical stack.
|
|
2468
|
+
*
|
|
2469
|
+
* ## Usage
|
|
2470
|
+
*
|
|
2471
|
+
* ```jsx
|
|
2472
|
+
* <Accordion>
|
|
2473
|
+
* <AccordionItem>
|
|
2474
|
+
* <AccordionItemHeader title="Title" />
|
|
2475
|
+
* <AccordionItemBody>
|
|
2476
|
+
* <Text color="surface.text.gray.subtle">
|
|
2477
|
+
* Hello this is accordion body content
|
|
2478
|
+
* </Text>
|
|
2479
|
+
* </AccordionItemBody>
|
|
2480
|
+
* </AccordionItem>
|
|
2481
|
+
* <AccordionItem>
|
|
2482
|
+
* <AccordionItemHeader title="Title" />
|
|
2483
|
+
* <AccordionItemBody>
|
|
2484
|
+
* <Text color="surface.text.gray.subtle">
|
|
2485
|
+
* Hello this is accordion body content
|
|
2486
|
+
* </Text>
|
|
2487
|
+
* </AccordionItemBody>
|
|
2488
|
+
* </AccordionItem>
|
|
2489
|
+
* </Accordion>
|
|
2490
|
+
* ```
|
|
2491
|
+
*
|
|
2492
|
+
* Checkout https://blade.razorpay.com/?path=/docs/components-accordion--docs
|
|
2493
|
+
*
|
|
2494
|
+
*/
|
|
2495
|
+
declare const Accordion: ({ defaultExpandedIndex, expandedIndex, onExpandChange, showNumberPrefix, children, variant, size, maxWidth, testID, ...styledProps }: AccordionProps) => ReactElement;
|
|
2496
|
+
|
|
2492
2497
|
type BaseHeaderProps = {
|
|
2493
2498
|
title?: string;
|
|
2494
2499
|
subtitle?: string;
|
|
@@ -6350,7 +6355,7 @@ declare const SelectInput: React__default.ForwardRefExoticComponent<(({
|
|
|
6350
6355
|
} | {
|
|
6351
6356
|
label: string;
|
|
6352
6357
|
accessibilityLabel?: string | undefined;
|
|
6353
|
-
}) & Pick<BaseInputProps, "name" | "label" | "testID" | "prefix" | "size" | "accessibilityLabel" | "
|
|
6358
|
+
}) & Pick<BaseInputProps, "name" | "label" | "testID" | "prefix" | "size" | "accessibilityLabel" | "onBlur" | "onFocus" | "autoFocus" | "placeholder" | "onClick" | "isDisabled" | "isRequired" | "validationState" | "necessityIndicator" | "helpText" | "errorText" | "successText" | "suffix"> & {
|
|
6354
6359
|
icon?: IconComponent | undefined;
|
|
6355
6360
|
value?: string | string[] | undefined;
|
|
6356
6361
|
defaultValue?: string | string[] | undefined;
|
|
@@ -6409,7 +6414,7 @@ declare const SelectInput: React__default.ForwardRefExoticComponent<(({
|
|
|
6409
6414
|
*
|
|
6410
6415
|
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-dropdown-with-autocomplete--with-single-select AutoComplete Documentation}.
|
|
6411
6416
|
*/
|
|
6412
|
-
declare const AutoComplete: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "name" | "label" | "testID" | "prefix" | "size" | "accessibilityLabel" | "
|
|
6417
|
+
declare const AutoComplete: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "name" | "label" | "testID" | "prefix" | "size" | "accessibilityLabel" | "onBlur" | "onFocus" | "autoFocus" | "placeholder" | "onClick" | "isDisabled" | "isRequired" | "validationState" | "necessityIndicator" | "helpText" | "errorText" | "successText" | "suffix"> & {
|
|
6413
6418
|
icon?: IconComponent | undefined;
|
|
6414
6419
|
value?: string | string[] | undefined;
|
|
6415
6420
|
defaultValue?: string | string[] | undefined;
|