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