@razorpay/blade 11.31.2 → 11.33.0

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.
Files changed (84) hide show
  1. package/build/lib/native/components/Button/IconButton/IconButton.js +1 -1
  2. package/build/lib/native/components/Button/IconButton/IconButton.js.map +1 -1
  3. package/build/lib/native/components/Table/TableContext.js +1 -1
  4. package/build/lib/native/components/Table/TableContext.js.map +1 -1
  5. package/build/lib/native/components/Table/tokens.js.map +1 -1
  6. package/build/lib/native/tokens/global/size.js +1 -1
  7. package/build/lib/native/tokens/global/size.js.map +1 -1
  8. package/build/lib/native/utils/componentZIndices.js +1 -1
  9. package/build/lib/native/utils/componentZIndices.js.map +1 -1
  10. package/build/lib/web/development/components/Button/IconButton/IconButton.js +2 -0
  11. package/build/lib/web/development/components/Button/IconButton/IconButton.js.map +1 -1
  12. package/build/lib/web/development/components/Button/IconButton/StyledIconButton.web.js +25 -3
  13. package/build/lib/web/development/components/Button/IconButton/StyledIconButton.web.js.map +1 -1
  14. package/build/lib/web/development/components/Button/IconButton/tokens.js +14 -0
  15. package/build/lib/web/development/components/Button/IconButton/tokens.js.map +1 -0
  16. package/build/lib/web/development/components/Menu/VisualSubComponents/MenuHeaderFooter.web.js +5 -4
  17. package/build/lib/web/development/components/Menu/VisualSubComponents/MenuHeaderFooter.web.js.map +1 -1
  18. package/build/lib/web/development/components/Table/Table.web.js +12 -3
  19. package/build/lib/web/development/components/Table/Table.web.js.map +1 -1
  20. package/build/lib/web/development/components/Table/TableBody.web.js +214 -70
  21. package/build/lib/web/development/components/Table/TableBody.web.js.map +1 -1
  22. package/build/lib/web/development/components/Table/TableContext.js +3 -1
  23. package/build/lib/web/development/components/Table/TableContext.js.map +1 -1
  24. package/build/lib/web/development/components/Table/TableHeader.web.js +14 -6
  25. package/build/lib/web/development/components/Table/TableHeader.web.js.map +1 -1
  26. package/build/lib/web/development/components/Table/tokens.js +6 -1
  27. package/build/lib/web/development/components/Table/tokens.js.map +1 -1
  28. package/build/lib/web/development/components/TopNav/TabNav/TabNav.web.js +103 -124
  29. package/build/lib/web/development/components/TopNav/TabNav/TabNav.web.js.map +1 -1
  30. package/build/lib/web/development/components/TopNav/TabNav/TabNavContext.js.map +1 -1
  31. package/build/lib/web/development/components/TopNav/TabNav/TabNavItem.web.js +38 -45
  32. package/build/lib/web/development/components/TopNav/TabNav/TabNavItem.web.js.map +1 -1
  33. package/build/lib/web/development/components/TopNav/TabNav/index.js +1 -1
  34. package/build/lib/web/development/components/TopNav/TabNav/utils.js +17 -30
  35. package/build/lib/web/development/components/TopNav/TabNav/utils.js.map +1 -1
  36. package/build/lib/web/development/components/TopNav/TopNav.web.js +34 -87
  37. package/build/lib/web/development/components/TopNav/TopNav.web.js.map +1 -1
  38. package/build/lib/web/development/components/index.js +1 -1
  39. package/build/lib/web/development/tokens/global/size.js +2 -0
  40. package/build/lib/web/development/tokens/global/size.js.map +1 -1
  41. package/build/lib/web/development/utils/componentZIndices.js +2 -1
  42. package/build/lib/web/development/utils/componentZIndices.js.map +1 -1
  43. package/build/lib/web/production/components/Button/IconButton/IconButton.js +2 -0
  44. package/build/lib/web/production/components/Button/IconButton/IconButton.js.map +1 -1
  45. package/build/lib/web/production/components/Button/IconButton/StyledIconButton.web.js +25 -3
  46. package/build/lib/web/production/components/Button/IconButton/StyledIconButton.web.js.map +1 -1
  47. package/build/lib/web/production/components/Button/IconButton/tokens.js +14 -0
  48. package/build/lib/web/production/components/Button/IconButton/tokens.js.map +1 -0
  49. package/build/lib/web/production/components/Menu/VisualSubComponents/MenuHeaderFooter.web.js +5 -4
  50. package/build/lib/web/production/components/Menu/VisualSubComponents/MenuHeaderFooter.web.js.map +1 -1
  51. package/build/lib/web/production/components/Table/Table.web.js +12 -3
  52. package/build/lib/web/production/components/Table/Table.web.js.map +1 -1
  53. package/build/lib/web/production/components/Table/TableBody.web.js +214 -70
  54. package/build/lib/web/production/components/Table/TableBody.web.js.map +1 -1
  55. package/build/lib/web/production/components/Table/TableContext.js +3 -1
  56. package/build/lib/web/production/components/Table/TableContext.js.map +1 -1
  57. package/build/lib/web/production/components/Table/TableHeader.web.js +14 -6
  58. package/build/lib/web/production/components/Table/TableHeader.web.js.map +1 -1
  59. package/build/lib/web/production/components/Table/tokens.js +6 -1
  60. package/build/lib/web/production/components/Table/tokens.js.map +1 -1
  61. package/build/lib/web/production/components/TopNav/TabNav/TabNav.web.js +103 -124
  62. package/build/lib/web/production/components/TopNav/TabNav/TabNav.web.js.map +1 -1
  63. package/build/lib/web/production/components/TopNav/TabNav/TabNavContext.js.map +1 -1
  64. package/build/lib/web/production/components/TopNav/TabNav/TabNavItem.web.js +38 -45
  65. package/build/lib/web/production/components/TopNav/TabNav/TabNavItem.web.js.map +1 -1
  66. package/build/lib/web/production/components/TopNav/TabNav/index.js +1 -1
  67. package/build/lib/web/production/components/TopNav/TabNav/utils.js +17 -30
  68. package/build/lib/web/production/components/TopNav/TabNav/utils.js.map +1 -1
  69. package/build/lib/web/production/components/TopNav/TopNav.web.js +34 -87
  70. package/build/lib/web/production/components/TopNav/TopNav.web.js.map +1 -1
  71. package/build/lib/web/production/components/index.js +1 -1
  72. package/build/lib/web/production/tokens/global/size.js +2 -0
  73. package/build/lib/web/production/tokens/global/size.js.map +1 -1
  74. package/build/lib/web/production/utils/componentZIndices.js +2 -1
  75. package/build/lib/web/production/utils/componentZIndices.js.map +1 -1
  76. package/build/types/components/index.d.ts +97 -64
  77. package/build/types/components/index.native.d.ts +51 -21
  78. package/build/types/tokens/index.d.ts +2 -0
  79. package/build/types/tokens/index.native.d.ts +2 -0
  80. package/package.json +1 -1
  81. package/build/lib/web/development/components/TopNav/TopNavContext.js +0 -13
  82. package/build/lib/web/development/components/TopNav/TopNavContext.js.map +0 -1
  83. package/build/lib/web/production/components/TopNav/TopNavContext.js +0 -13
  84. package/build/lib/web/production/components/TopNav/TopNavContext.js.map +0 -1
@@ -3717,9 +3717,16 @@ type IconButtonProps = {
3717
3717
  } & BladeCommonEvents & Platform.Select<{
3718
3718
  web: {
3719
3719
  onClick: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
3720
+ /**
3721
+ * This changes the hover interaction to highlight icon more
3722
+ *
3723
+ * **Only available on web currently**
3724
+ */
3725
+ isHighlighted?: boolean;
3720
3726
  };
3721
3727
  native: {
3722
3728
  onClick: (event: GestureResponderEvent) => void;
3729
+ isHighlighted?: undefined;
3723
3730
  };
3724
3731
  }>;
3725
3732
  declare const IconButton: React__default.ForwardRefExoticComponent<{
@@ -3753,6 +3760,7 @@ declare const IconButton: React__default.ForwardRefExoticComponent<{
3753
3760
  _tabIndex?: number | undefined;
3754
3761
  } & BladeCommonEvents & {
3755
3762
  onClick: (event: GestureResponderEvent) => void;
3763
+ isHighlighted?: undefined;
3756
3764
  } & {
3757
3765
  __brand__?: "platform-native" | undefined;
3758
3766
  } & React__default.RefAttributes<BladeElementRef>>;
@@ -7104,7 +7112,7 @@ type MenuOverlayProps = {
7104
7112
  /**
7105
7113
  * JSX Slot for MenuItem or anything else
7106
7114
  */
7107
- children: React__default.ReactElement[] | React__default.ReactElement;
7115
+ children: React__default.ReactElement[] | React__default.ReactElement | React__default.ReactNode;
7108
7116
  /**
7109
7117
  * zIndex override
7110
7118
  */
@@ -8705,7 +8713,7 @@ type TableHeaderProps = {
8705
8713
  * </TableHeaderRow>
8706
8714
  * </TableHeader>
8707
8715
  **/
8708
- children: React.ReactNode;
8716
+ children: React__default.ReactNode;
8709
8717
  };
8710
8718
  type TableHeaderRowProps = {
8711
8719
  /**
@@ -8717,7 +8725,7 @@ type TableHeaderRowProps = {
8717
8725
  * </TableHeaderRow>
8718
8726
  * </TableHeader>
8719
8727
  **/
8720
- children: React.ReactNode;
8728
+ children: React__default.ReactNode;
8721
8729
  /**
8722
8730
  * The rowDensity prop determines the density of the table.
8723
8731
  * The rowDensity prop can be 'compact', 'normal', or'comfortable'.
@@ -8729,20 +8737,21 @@ type TableHeaderCellProps = {
8729
8737
  /**
8730
8738
  * The children of TableHeaderCell can be a string or a ReactNode.
8731
8739
  **/
8732
- children: string | React.ReactNode;
8740
+ children: string | React__default.ReactNode;
8733
8741
  /**
8734
8742
  * The unique key of the column.
8735
8743
  * This is used to identify the column for sorting in sortFunctions prop of Table.
8736
8744
  * Sorting is enabled only for columns whose key is present in sortableColumns prop of Table.
8737
8745
  **/
8738
8746
  headerKey?: string;
8747
+ _hasPadding?: boolean;
8739
8748
  };
8740
8749
  type TableProps<Item> = {
8741
8750
  /**
8742
8751
  * The children of the Table component should be a function that returns TableHeader, TableBody and TableFooter components.
8743
8752
  * The function will be called with the tableData prop.
8744
8753
  */
8745
- children: (tableData: TableNode<Item>[]) => React.ReactElement;
8754
+ children: (tableData: TableNode<Item>[]) => React__default.ReactElement;
8746
8755
  /**
8747
8756
  * The data prop is an object with a nodes property that is an array of objects.
8748
8757
  * Each object in the array is a row in the table.
@@ -8820,12 +8829,12 @@ type TableProps<Item> = {
8820
8829
  * The toolbar prop is a React element that is rendered above the table.
8821
8830
  * The toolbar prop should be a `TableToolbar` component.
8822
8831
  **/
8823
- toolbar?: React.ReactElement;
8832
+ toolbar?: React__default.ReactElement;
8824
8833
  /**
8825
8834
  * The pagination prop is a React element that is rendered below the table.
8826
8835
  * The pagination prop should be a `TablePagination` component.
8827
8836
  **/
8828
- pagination?: React.ReactElement;
8837
+ pagination?: React__default.ReactElement;
8829
8838
  /**
8830
8839
  * The height prop is a responsive styled prop that determines the height of the table.
8831
8840
  **/
@@ -8870,7 +8879,7 @@ type TableBodyProps = {
8870
8879
  * </TableRow>
8871
8880
  * </TableBody>
8872
8881
  **/
8873
- children: React.ReactNode;
8882
+ children: React__default.ReactNode;
8874
8883
  };
8875
8884
  type TableRowProps<Item> = {
8876
8885
  /**
@@ -8880,7 +8889,7 @@ type TableRowProps<Item> = {
8880
8889
  * <TableCell>...</TableCell>
8881
8890
  * </TableRow>
8882
8891
  **/
8883
- children: React.ReactNode;
8892
+ children: React__default.ReactNode;
8884
8893
  /**
8885
8894
  * The item prop is used to pass the individual table item to the TableRow component.
8886
8895
  * @example
@@ -8911,6 +8920,7 @@ type TableRowProps<Item> = {
8911
8920
  onClick?: ({ item }: {
8912
8921
  item: TableNode<Item>;
8913
8922
  }) => void;
8923
+ hoverActions?: React__default.ReactElement;
8914
8924
  } & TestID;
8915
8925
  type TableCellProps = {
8916
8926
  /**
@@ -8924,7 +8934,13 @@ type TableCellProps = {
8924
8934
  * <Button>...</Button>
8925
8935
  * </TableCell>
8926
8936
  **/
8927
- children: React.ReactNode;
8937
+ children: React__default.ReactNode;
8938
+ /**
8939
+ * Removes padding from CellWrapper
8940
+ *
8941
+ * @private
8942
+ */
8943
+ _hasPadding?: boolean;
8928
8944
  };
8929
8945
  type TableEditableCellProps = Pick<BaseInputProps, 'validationState' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'isDisabled' | 'isRequired' | 'prefix' | 'suffix' | 'maxCharacters' | 'autoFocus' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'onSubmit' | 'autoCapitalize' | 'testID' | 'onClick' | 'leadingIcon' | 'trailingButton' | 'errorText' | 'successText'> & {
8930
8946
  accessibilityLabel: NonNullable<BaseInputProps['accessibilityLabel']>;
@@ -8940,7 +8956,7 @@ type TableFooterProps = {
8940
8956
  * </TableFooterRow>
8941
8957
  * </TableFooter>
8942
8958
  **/
8943
- children: React.ReactNode;
8959
+ children: React__default.ReactNode;
8944
8960
  };
8945
8961
  type TableFooterRowProps = {
8946
8962
  /**
@@ -8952,13 +8968,13 @@ type TableFooterRowProps = {
8952
8968
  * </TableFooterRow>
8953
8969
  * </TableFooter>
8954
8970
  **/
8955
- children: React.ReactNode;
8971
+ children: React__default.ReactNode;
8956
8972
  };
8957
8973
  type TableFooterCellProps = {
8958
8974
  /**
8959
8975
  * The children of TableHeaderCell can be a string or a ReactNode.
8960
8976
  **/
8961
- children: string | React.ReactNode;
8977
+ children: string | React__default.ReactNode;
8962
8978
  };
8963
8979
  type TablePaginationCommonProps = {
8964
8980
  /**
@@ -9046,7 +9062,7 @@ type TableToolbarProps = {
9046
9062
  /**
9047
9063
  * The children of TableToolbar should be TableToolbarActions
9048
9064
  */
9049
- children?: React.ReactNode;
9065
+ children?: React__default.ReactNode;
9050
9066
  /**
9051
9067
  * The title of the TableToolbar. If not provided, it will show the default title.
9052
9068
  * @default `Showing 1 to ${totalItems} Items`
@@ -9059,7 +9075,7 @@ type TableToolbarProps = {
9059
9075
  selectedTitle?: string;
9060
9076
  };
9061
9077
  type TableToolbarActionsProps = {
9062
- children?: React.ReactNode;
9078
+ children?: React__default.ReactNode;
9063
9079
  } & StyledPropsBlade;
9064
9080
 
9065
9081
  declare const Table: <Item>(props: TableProps<Item>) => React__default.ReactElement;
@@ -9385,7 +9401,7 @@ type TabNavItemProps = {
9385
9401
  * <TabNavItem as={Link} />
9386
9402
  * ```
9387
9403
  */
9388
- as?: React.ComponentType<any>;
9404
+ as?: React.ComponentType<any> | 'a' | 'button';
9389
9405
  /**
9390
9406
  * Selected state of the navigation item.
9391
9407
  *
@@ -9405,16 +9421,30 @@ type TabNavItemProps = {
9405
9421
  */
9406
9422
  trailing?: React.ReactElement;
9407
9423
  /**
9408
- * Element to render inside the navigation item.
9409
- *
9410
- * This can either be a string or JSX element (eg: Menu component)
9424
+ * Title of the navigation item.
9411
9425
  */
9412
- children?: React.ReactNode;
9426
+ title?: string;
9413
9427
  /**
9414
9428
  * Accessibility label for the navigation item.
9415
9429
  */
9416
9430
  accessibilityLabel?: string;
9417
9431
  } & MenuTriggerProps;
9432
+ type Item = TabNavItemProps & {
9433
+ description?: string;
9434
+ isAlwaysOverflowing?: boolean;
9435
+ };
9436
+ type TabNavItemData = Item & {
9437
+ isOverflowing?: boolean;
9438
+ tabWidth?: number;
9439
+ offsetX?: number;
9440
+ };
9441
+ type TabNavProps = {
9442
+ items: Item[];
9443
+ children: (props: {
9444
+ items: TabNavItemData[];
9445
+ overflowingItems: TabNavItemData[];
9446
+ }) => React.ReactElement;
9447
+ };
9418
9448
 
9419
9449
  declare const TopNav: (_props: never) => React.ReactElement;
9420
9450
 
@@ -9430,4 +9460,4 @@ declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => Rea
9430
9460
  */
9431
9461
  declare const screenReaderStyles: CSSObject;
9432
9462
 
9433
- export { AcceptPaymentsIcon, Accordion, AccordionItem, AccordionItemBody, AccordionItemHeader, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemAvatar, ActionListItemBadge, ActionListItemBadgeGroup, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionProps, ActivityIcon, AddressBookIcon, AffordabilityIcon, AirplayIcon, Alert, AlertCircleIcon, AlertOctagonIcon, AlertOnlyIcon, AlertProps, AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, Amount, AmountProps, AnchorIcon, AnnouncementIcon, ApertureIcon, AppStoreIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, AttachmentIcon, AutoComplete, AutoCompleteProps, AutomateAccountingIcon, AutomatePayrollIcon, Avatar, AvatarGroup, AwardIcon, Badge, BadgeProps, BankAccountVerificationIcon, BankIcon, BarChartAltIcon, BarChartIcon, BarCodeIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BfsiIcon, BillIcon, BladeCommonEvents, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BottomSheet, BottomSheetBody, BottomSheetBodyProps, BottomSheetFooter, BottomSheetFooterProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetProps, Box, BoxIcon, BoxProps, BoxRefType, Breadcrumb, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbProps, BriefcaseIcon, BugIcon, BuildingIcon, BulkPayoutsIcon, BusinessBankingIcon, BusinessSpendManagementIcon, Button, ButtonGroup, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderAmount, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, Carousel, CarouselItem, CarouselProps, CashIcon, CastIcon, CheckCircle2Icon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, ClosedCaptioningIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodeSnippetIcon, CodepenIcon, CoinIcon, CoinsIcon, Collapsible, CollapsibleBody, CollapsibleBodyProps, CollapsibleButton, CollapsibleButtonProps, CollapsibleLink, CollapsibleLinkProps, CollapsibleProps, CommandIcon, CompanyRegistrationIcon, CompassIcon, ComponentIds, ConfettiIcon, ContactlessPaymentIcon, CookieIcon, CopyIcon, CopyrightIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CreditsAndLoansIcon, CropIcon, CrosshairIcon, CurrentAccountIcon, CustomersIcon, CutIcon, DashboardIcon, DatePicker, DatePickerProps, DeleteIcon, DigitalLendingIcon, DisbursePaymentsIcon, DiscIcon, Display, DisplayProps, Divider, DividerProps, DollarIcon, DollarsIcon, DotIcon, DownloadCloudIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, DrawerHeaderProps, DrawerProps, Dropdown, DropdownButton, DropdownFooter, DropdownHeader, DropdownLink, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EcommerceIcon, EditComposeIcon, EditIcon, EditInlineIcon, EducationIcon, EqualsIcon, EscrowAccountIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FigmaIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FileUpload, FileZipIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, ForexManagementIcon, FreelanceIcon, FullScreenEnterIcon, FullScreenExitIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HashIcon, Heading, HeadingProps, HeadphoneIcon, HeadphonesIcon, HeadsetIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconColors, IconComponent, IconProps, IconSize, ImageIcon, InboxIcon, Indicator, IndicatorProps, InfoIcon, InstagramIcon, InstantSettlementIcon, InternationalPaymentsIcon, InvoicesIcon, ItalicIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link, LinkButtonVariantProps, LinkIcon, LinkProps, List, ListIcon, ListItem, ListItemCode, ListItemCodeProps, ListItemLink, ListItemLinkProps, ListItemProps, ListItemText, ListItemTextProps, ListProps, LoaderIcon, LoansForBusinessesIcon, LockIcon, LogInIcon, LogOutIcon, MagicCheckoutIcon, MailIcon, MailOpenIcon, MapIcon, MapPinIcon, MaximizeIcon, Menu, MenuDivider, MenuDotsIcon, MenuFooter, MenuFooterProps, MenuHeader, MenuHeaderProps, MenuIcon, MenuItem, MenuItemProps, MenuOverlay, MenuOverlayProps, MenuProps, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MobileAppIcon, Modal, ModalBody, ModalBodyProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreIcon, MoreVerticalIcon, MoveIcon, MusicIcon, MyAccountIcon, NavigationIcon, OTPInput, OTPInputCommonProps, OTPInputProps, OctagonIcon, OffersIcon, OptimizerIcon, PackageIcon, PaperclipIcon, PasswordInput, PasswordInputProps, PauseCircleIcon, PauseIcon, PaymentButtonIcon, PaymentButtonsIcon, PaymentGatewayIcon, PaymentLinkIcon, PaymentLinksIcon, PaymentPagesIcon, PayoutLinkIcon, PayrollAddonsIcon, PayrollForCaIcon, PayrollForStartupOrSmeIcon, PercentIcon, PettyCashBudgetIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneNumberInput, PhoneNumberInputProps, PhoneOffIcon, PhoneOutgoingIcon, PictureInPictureIcon, PieChartIcon, PinIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, Popover, PopoverInteractiveWrapper, PopoverProps, PopoverTriggerProps, PosIcon, PowerIcon, PrinterIcon, ProgressBar, ProgressBarProps, ProgressBarVariant, QRCodeIcon, Radio, RadioGroup, RadioGroupProps, RadioIcon, RadioProps, RazorpayIcon, RazorpayXIcon, RazorpayxPayrollIcon, RefreshIcon, RepeatIcon, ReportsIcon, ResizerIcon, RewindIcon, RotateClockWiseIcon, RotateCounterClockWiseIcon, RouteIcon, RoutesIcon, RupeeIcon, RupeesIcon, SIDE_NAV_EXPANDED_L1_WIDTH_BASE, SIDE_NAV_EXPANDED_L1_WIDTH_XL, SaasIcon, SaveIcon, ScissorsIcon, SearchIcon, SearchInput, SearchInputProps, SelectInput, SelectInputProps, SendIcon, ServerIcon, SettingsIcon, SettlementsIcon, ShareIcon, ShieldIcon, ShoppingBagIcon, ShoppingCartIcon, ShuffleIcon, SideNav, SideNavBody, SideNavFooter, SideNavFooterProps, SideNavItem, SideNavItemProps, SideNavLevel, SideNavLink, SideNavLinkProps, SideNavProps, SideNavSection, SideNavSectionProps, SidebarIcon, Skeleton, SkeletonProps, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SolutionsIcon, SourceToPayIcon, SparklesIcon, SpeakerIcon, Spinner, SpinnerProps, SpotlightPopoverStepRenderProps, SpotlightPopoverTourFooter, SpotlightPopoverTourProps, SpotlightPopoverTourStep, SpotlightPopoverTourSteps, SquareIcon, StampIcon, StarIcon, StepGroup, StepGroupProps, StepItem, StepItemIcon, StepItemIndicator, StepItemProps, StopCircleIcon, StorefrontIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, Switch, SwitchProps, TabItem, TabItemProps, TabList, TabNav, TabNavItem, TabNavItemProps, TabPanel, TabPanelProps, Table, TableBody, TableBodyProps, TableCell, TableCellProps, TableData, TableEditableCell, TableEditableCellProps, TableEditableDropdownCell, TableEditableDropdownCellProps, TableFooter, TableFooterCell, TableFooterCellProps, TableFooterProps, TableFooterRow, TableFooterRowProps, TableHeader, TableHeaderCell, TableHeaderCellProps, TableHeaderProps, TableHeaderRow, TableHeaderRowProps, TableNode, TablePagination, TablePaginationProps$1 as TablePaginationProps, TableProps, TableRow, TableRowProps, TableToolbar, TableToolbarActions, TableToolbarActionsProps, TableToolbarProps, TabletIcon, Tabs, TabsProps, Tag, TagIcon, TagProps, TargetIcon, TaxPaymentsIcon, TestIcon, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextProps, TextVariant, Theme, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, TicketIcon, ToastContainer, ToastProps, ToggleLeftIcon, ToggleRightIcon, TokenHqIcon, Tooltip, TooltipInteractiveWrapper, TooltipProps, TopNav, Tour, TrademarkIcon, TrademarkRegisteredIcon, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TrustedBadgeIcon, TvIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UpiAutopayIcon, UploadCloudIcon, UploadIcon, UseToastReturn, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VendorPaymentsIcon, VideoIcon, VideoOffIcon, ViewLiveDemoIcon, VisuallyHidden, VisuallyHiddenProps, VoicemailIcon, VolumeHighIcon, VolumeIcon, VolumeLowIcon, VolumeMuteIcon, WalletIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XSquareIcon, ZapIcon, ZoomInIcon, ZoomOutIcon, announce, clearAnnouncer, destroyAnnouncer, getHeadingProps, getTextProps, screenReaderStyles, useTheme, useToast };
9463
+ export { AcceptPaymentsIcon, Accordion, AccordionItem, AccordionItemBody, AccordionItemHeader, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemAvatar, ActionListItemBadge, ActionListItemBadgeGroup, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionProps, ActivityIcon, AddressBookIcon, AffordabilityIcon, AirplayIcon, Alert, AlertCircleIcon, AlertOctagonIcon, AlertOnlyIcon, AlertProps, AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, Amount, AmountProps, AnchorIcon, AnnouncementIcon, ApertureIcon, AppStoreIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, AttachmentIcon, AutoComplete, AutoCompleteProps, AutomateAccountingIcon, AutomatePayrollIcon, Avatar, AvatarGroup, AwardIcon, Badge, BadgeProps, BankAccountVerificationIcon, BankIcon, BarChartAltIcon, BarChartIcon, BarCodeIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BfsiIcon, BillIcon, BladeCommonEvents, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BottomSheet, BottomSheetBody, BottomSheetBodyProps, BottomSheetFooter, BottomSheetFooterProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetProps, Box, BoxIcon, BoxProps, BoxRefType, Breadcrumb, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbProps, BriefcaseIcon, BugIcon, BuildingIcon, BulkPayoutsIcon, BusinessBankingIcon, BusinessSpendManagementIcon, Button, ButtonGroup, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderAmount, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, Carousel, CarouselItem, CarouselProps, CashIcon, CastIcon, CheckCircle2Icon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, ClosedCaptioningIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodeSnippetIcon, CodepenIcon, CoinIcon, CoinsIcon, Collapsible, CollapsibleBody, CollapsibleBodyProps, CollapsibleButton, CollapsibleButtonProps, CollapsibleLink, CollapsibleLinkProps, CollapsibleProps, CommandIcon, CompanyRegistrationIcon, CompassIcon, ComponentIds, ConfettiIcon, ContactlessPaymentIcon, CookieIcon, CopyIcon, CopyrightIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CreditsAndLoansIcon, CropIcon, CrosshairIcon, CurrentAccountIcon, CustomersIcon, CutIcon, DashboardIcon, DatePicker, DatePickerProps, DeleteIcon, DigitalLendingIcon, DisbursePaymentsIcon, DiscIcon, Display, DisplayProps, Divider, DividerProps, DollarIcon, DollarsIcon, DotIcon, DownloadCloudIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, DrawerHeaderProps, DrawerProps, Dropdown, DropdownButton, DropdownFooter, DropdownHeader, DropdownLink, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EcommerceIcon, EditComposeIcon, EditIcon, EditInlineIcon, EducationIcon, EqualsIcon, EscrowAccountIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FigmaIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FileUpload, FileZipIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, ForexManagementIcon, FreelanceIcon, FullScreenEnterIcon, FullScreenExitIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HashIcon, Heading, HeadingProps, HeadphoneIcon, HeadphonesIcon, HeadsetIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconColors, IconComponent, IconProps, IconSize, ImageIcon, InboxIcon, Indicator, IndicatorProps, InfoIcon, InstagramIcon, InstantSettlementIcon, InternationalPaymentsIcon, InvoicesIcon, ItalicIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link, LinkButtonVariantProps, LinkIcon, LinkProps, List, ListIcon, ListItem, ListItemCode, ListItemCodeProps, ListItemLink, ListItemLinkProps, ListItemProps, ListItemText, ListItemTextProps, ListProps, LoaderIcon, LoansForBusinessesIcon, LockIcon, LogInIcon, LogOutIcon, MagicCheckoutIcon, MailIcon, MailOpenIcon, MapIcon, MapPinIcon, MaximizeIcon, Menu, MenuDivider, MenuDotsIcon, MenuFooter, MenuFooterProps, MenuHeader, MenuHeaderProps, MenuIcon, MenuItem, MenuItemProps, MenuOverlay, MenuOverlayProps, MenuProps, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MobileAppIcon, Modal, ModalBody, ModalBodyProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreIcon, MoreVerticalIcon, MoveIcon, MusicIcon, MyAccountIcon, NavigationIcon, OTPInput, OTPInputCommonProps, OTPInputProps, OctagonIcon, OffersIcon, OptimizerIcon, PackageIcon, PaperclipIcon, PasswordInput, PasswordInputProps, PauseCircleIcon, PauseIcon, PaymentButtonIcon, PaymentButtonsIcon, PaymentGatewayIcon, PaymentLinkIcon, PaymentLinksIcon, PaymentPagesIcon, PayoutLinkIcon, PayrollAddonsIcon, PayrollForCaIcon, PayrollForStartupOrSmeIcon, PercentIcon, PettyCashBudgetIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneNumberInput, PhoneNumberInputProps, PhoneOffIcon, PhoneOutgoingIcon, PictureInPictureIcon, PieChartIcon, PinIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, Popover, PopoverInteractiveWrapper, PopoverProps, PopoverTriggerProps, PosIcon, PowerIcon, PrinterIcon, ProgressBar, ProgressBarProps, ProgressBarVariant, QRCodeIcon, Radio, RadioGroup, RadioGroupProps, RadioIcon, RadioProps, RazorpayIcon, RazorpayXIcon, RazorpayxPayrollIcon, RefreshIcon, RepeatIcon, ReportsIcon, ResizerIcon, RewindIcon, RotateClockWiseIcon, RotateCounterClockWiseIcon, RouteIcon, RoutesIcon, RupeeIcon, RupeesIcon, SIDE_NAV_EXPANDED_L1_WIDTH_BASE, SIDE_NAV_EXPANDED_L1_WIDTH_XL, SaasIcon, SaveIcon, ScissorsIcon, SearchIcon, SearchInput, SearchInputProps, SelectInput, SelectInputProps, SendIcon, ServerIcon, SettingsIcon, SettlementsIcon, ShareIcon, ShieldIcon, ShoppingBagIcon, ShoppingCartIcon, ShuffleIcon, SideNav, SideNavBody, SideNavFooter, SideNavFooterProps, SideNavItem, SideNavItemProps, SideNavLevel, SideNavLink, SideNavLinkProps, SideNavProps, SideNavSection, SideNavSectionProps, SidebarIcon, Skeleton, SkeletonProps, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SolutionsIcon, SourceToPayIcon, SparklesIcon, SpeakerIcon, Spinner, SpinnerProps, SpotlightPopoverStepRenderProps, SpotlightPopoverTourFooter, SpotlightPopoverTourProps, SpotlightPopoverTourStep, SpotlightPopoverTourSteps, SquareIcon, StampIcon, StarIcon, StepGroup, StepGroupProps, StepItem, StepItemIcon, StepItemIndicator, StepItemProps, StopCircleIcon, StorefrontIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, Switch, SwitchProps, TabItem, TabItemProps, TabList, TabNav, TabNavItem, TabNavItemData, TabNavItemProps, TabNavProps, TabPanel, TabPanelProps, Table, TableBody, TableBodyProps, TableCell, TableCellProps, TableData, TableEditableCell, TableEditableCellProps, TableEditableDropdownCell, TableEditableDropdownCellProps, TableFooter, TableFooterCell, TableFooterCellProps, TableFooterProps, TableFooterRow, TableFooterRowProps, TableHeader, TableHeaderCell, TableHeaderCellProps, TableHeaderProps, TableHeaderRow, TableHeaderRowProps, TableNode, TablePagination, TablePaginationProps$1 as TablePaginationProps, TableProps, TableRow, TableRowProps, TableToolbar, TableToolbarActions, TableToolbarActionsProps, TableToolbarProps, TabletIcon, Tabs, TabsProps, Tag, TagIcon, TagProps, TargetIcon, TaxPaymentsIcon, TestIcon, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextProps, TextVariant, Theme, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, TicketIcon, ToastContainer, ToastProps, ToggleLeftIcon, ToggleRightIcon, TokenHqIcon, Tooltip, TooltipInteractiveWrapper, TooltipProps, TopNav, Tour, TrademarkIcon, TrademarkRegisteredIcon, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TrustedBadgeIcon, TvIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UpiAutopayIcon, UploadCloudIcon, UploadIcon, UseToastReturn, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VendorPaymentsIcon, VideoIcon, VideoOffIcon, ViewLiveDemoIcon, VisuallyHidden, VisuallyHiddenProps, VoicemailIcon, VolumeHighIcon, VolumeIcon, VolumeLowIcon, VolumeMuteIcon, WalletIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XSquareIcon, ZapIcon, ZoomInIcon, ZoomOutIcon, announce, clearAnnouncer, destroyAnnouncer, getHeadingProps, getTextProps, screenReaderStyles, useTheme, useToast };
@@ -803,6 +803,8 @@ declare const size: {
803
803
  readonly 176: 176;
804
804
  /** 200 px */
805
805
  readonly 200: 200;
806
+ /** 208 px */
807
+ readonly 208: 208;
806
808
  /** 240 px */
807
809
  readonly 240: 240;
808
810
  /** 245 px */
@@ -803,6 +803,8 @@ declare const size: {
803
803
  readonly 176: 176;
804
804
  /** 200 px */
805
805
  readonly 200: 200;
806
+ /** 208 px */
807
+ readonly 208: 208;
806
808
  /** 240 px */
807
809
  readonly 240: 240;
808
810
  /** 245 px */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@razorpay/blade",
3
3
  "description": "The Design System that powers Razorpay",
4
- "version": "11.31.2",
4
+ "version": "11.33.0",
5
5
  "license": "MIT",
6
6
  "engines": {
7
7
  "node": ">=18.12.1"
@@ -1,13 +0,0 @@
1
- import React__default from 'react';
2
- import { MIXED_BG_COLOR } from './TabNav/utils.js';
3
-
4
- var TopNavContext = /*#__PURE__*/React__default.createContext({
5
- backgroundColor: MIXED_BG_COLOR
6
- });
7
- var useTopNavContext = function useTopNavContext() {
8
- var context = React__default.useContext(TopNavContext);
9
- return context;
10
- };
11
-
12
- export { TopNavContext, useTopNavContext };
13
- //# sourceMappingURL=TopNavContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TopNavContext.js","sources":["../../../../../../src/components/TopNav/TopNavContext.tsx"],"sourcesContent":["import React from 'react';\nimport { MIXED_BG_COLOR } from './TabNav/utils';\nimport type { BoxProps } from '~components/Box';\n\ntype TopNavContextProps = {\n backgroundColor: BoxProps['backgroundColor'];\n};\nconst TopNavContext = React.createContext<TopNavContextProps | null>({\n backgroundColor: MIXED_BG_COLOR as never,\n});\n\nconst useTopNavContext = (): TopNavContextProps => {\n const context = React.useContext(TopNavContext);\n return context!;\n};\n\nexport { TopNavContext, useTopNavContext };\n"],"names":["TopNavContext","React","createContext","backgroundColor","MIXED_BG_COLOR","useTopNavContext","context","useContext"],"mappings":";;;AAOA,IAAMA,aAAa,gBAAGC,cAAK,CAACC,aAAa,CAA4B;AACnEC,EAAAA,eAAe,EAAEC,cAAAA;AACnB,CAAC,EAAC;AAEF,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAgBA,GAA6B;AACjD,EAAA,IAAMC,OAAO,GAAGL,cAAK,CAACM,UAAU,CAACP,aAAa,CAAC,CAAA;AAC/C,EAAA,OAAOM,OAAO,CAAA;AAChB;;;;"}
@@ -1,13 +0,0 @@
1
- import React__default from 'react';
2
- import { MIXED_BG_COLOR } from './TabNav/utils.js';
3
-
4
- var TopNavContext = /*#__PURE__*/React__default.createContext({
5
- backgroundColor: MIXED_BG_COLOR
6
- });
7
- var useTopNavContext = function useTopNavContext() {
8
- var context = React__default.useContext(TopNavContext);
9
- return context;
10
- };
11
-
12
- export { TopNavContext, useTopNavContext };
13
- //# sourceMappingURL=TopNavContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TopNavContext.js","sources":["../../../../../../src/components/TopNav/TopNavContext.tsx"],"sourcesContent":["import React from 'react';\nimport { MIXED_BG_COLOR } from './TabNav/utils';\nimport type { BoxProps } from '~components/Box';\n\ntype TopNavContextProps = {\n backgroundColor: BoxProps['backgroundColor'];\n};\nconst TopNavContext = React.createContext<TopNavContextProps | null>({\n backgroundColor: MIXED_BG_COLOR as never,\n});\n\nconst useTopNavContext = (): TopNavContextProps => {\n const context = React.useContext(TopNavContext);\n return context!;\n};\n\nexport { TopNavContext, useTopNavContext };\n"],"names":["TopNavContext","React","createContext","backgroundColor","MIXED_BG_COLOR","useTopNavContext","context","useContext"],"mappings":";;;AAOA,IAAMA,aAAa,gBAAGC,cAAK,CAACC,aAAa,CAA4B;AACnEC,EAAAA,eAAe,EAAEC,cAAAA;AACnB,CAAC,EAAC;AAEF,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAgBA,GAA6B;AACjD,EAAA,IAAMC,OAAO,GAAGL,cAAK,CAACM,UAAU,CAACP,aAAa,CAAC,CAAA;AAC/C,EAAA,OAAOM,OAAO,CAAA;AAChB;;;;"}