@razorpay/blade 11.21.8 → 11.22.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 (165) hide show
  1. package/build/lib/native/components/ActionList/ActionListItem.js +12 -12
  2. package/build/lib/native/components/ActionList/ActionListItem.js.map +1 -1
  3. package/build/lib/native/components/BaseHeaderFooter/BaseFooter.js +1 -1
  4. package/build/lib/native/components/BaseHeaderFooter/BaseFooter.js.map +1 -1
  5. package/build/lib/native/components/BaseHeaderFooter/BaseHeader.js +1 -1
  6. package/build/lib/native/components/BaseHeaderFooter/BaseHeader.js.map +1 -1
  7. package/build/lib/native/components/BaseMenu/BaseMenuContext.js +6 -0
  8. package/build/lib/native/components/BaseMenu/BaseMenuContext.js.map +1 -0
  9. package/build/lib/native/components/BaseMenu/BaseMenuItem/BaseMenuItem.js +22 -0
  10. package/build/lib/native/components/BaseMenu/BaseMenuItem/BaseMenuItem.js.map +1 -0
  11. package/build/lib/native/components/BaseMenu/BaseMenuItem/StyledMenuItemContainer.native.js +12 -0
  12. package/build/lib/native/components/BaseMenu/BaseMenuItem/StyledMenuItemContainer.native.js.map +1 -0
  13. package/build/lib/native/components/BaseMenu/BaseMenuItem/getBaseMenuItemStyles.js +12 -0
  14. package/build/lib/native/components/BaseMenu/BaseMenuItem/getBaseMenuItemStyles.js.map +1 -0
  15. package/build/lib/native/components/Button/BaseButton/BaseButton.js +1 -1
  16. package/build/lib/native/components/Button/BaseButton/BaseButton.js.map +1 -1
  17. package/build/lib/native/components/Button/Button/Button.js +1 -1
  18. package/build/lib/native/components/Button/Button/Button.js.map +1 -1
  19. package/build/lib/native/components/Link/BaseLink/BaseLink.js +1 -1
  20. package/build/lib/native/components/Link/BaseLink/BaseLink.js.map +1 -1
  21. package/build/lib/native/components/Link/Link/Link.js +1 -1
  22. package/build/lib/native/components/Link/Link/Link.js.map +1 -1
  23. package/build/lib/native/components/Menu/Menu.native.js +17 -0
  24. package/build/lib/native/components/Menu/Menu.native.js.map +1 -0
  25. package/build/lib/native/components/Menu/MenuItem.native.js +17 -0
  26. package/build/lib/native/components/Menu/MenuItem.native.js.map +1 -0
  27. package/build/lib/native/components/Menu/MenuOverlay.native.js +17 -0
  28. package/build/lib/native/components/Menu/MenuOverlay.native.js.map +1 -0
  29. package/build/lib/native/components/Menu/VisualSubComponents/MenuDivider.native.js +17 -0
  30. package/build/lib/native/components/Menu/VisualSubComponents/MenuDivider.native.js.map +1 -0
  31. package/build/lib/native/components/Menu/VisualSubComponents/MenuHeaderFooter.native.js +17 -0
  32. package/build/lib/native/components/Menu/VisualSubComponents/MenuHeaderFooter.native.js.map +1 -0
  33. package/build/lib/native/components/index.js +5 -0
  34. package/build/lib/native/components/index.js.map +1 -1
  35. package/build/lib/native/utils/metaAttribute/metaConstants.js +1 -1
  36. package/build/lib/native/utils/metaAttribute/metaConstants.js.map +1 -1
  37. package/build/lib/web/development/components/ActionList/ActionListItem.js +43 -118
  38. package/build/lib/web/development/components/ActionList/ActionListItem.js.map +1 -1
  39. package/build/lib/web/development/components/Avatar/Avatar.web.js +29 -6
  40. package/build/lib/web/development/components/Avatar/Avatar.web.js.map +1 -1
  41. package/build/lib/web/development/components/Avatar/AvatarButton.js +25 -3
  42. package/build/lib/web/development/components/Avatar/AvatarButton.js.map +1 -1
  43. package/build/lib/web/development/components/BaseHeaderFooter/BaseFooter.js +2 -1
  44. package/build/lib/web/development/components/BaseHeaderFooter/BaseFooter.js.map +1 -1
  45. package/build/lib/web/development/components/BaseHeaderFooter/BaseHeader.js +4 -0
  46. package/build/lib/web/development/components/BaseHeaderFooter/BaseHeader.js.map +1 -1
  47. package/build/lib/web/development/components/BaseMenu/BaseMenuContext.js +10 -0
  48. package/build/lib/web/development/components/BaseMenu/BaseMenuContext.js.map +1 -0
  49. package/build/lib/web/development/components/BaseMenu/BaseMenuItem/BaseMenuItem.js +124 -0
  50. package/build/lib/web/development/components/BaseMenu/BaseMenuItem/BaseMenuItem.js.map +1 -0
  51. package/build/lib/web/development/components/BaseMenu/BaseMenuItem/StyledMenuItemContainer.web.js +41 -0
  52. package/build/lib/web/development/components/BaseMenu/BaseMenuItem/StyledMenuItemContainer.web.js.map +1 -0
  53. package/build/lib/web/development/components/{ActionList/styles/getBaseActionListItemStyles.js → BaseMenu/BaseMenuItem/getBaseMenuItemStyles.js} +10 -9
  54. package/build/lib/web/development/components/BaseMenu/BaseMenuItem/getBaseMenuItemStyles.js.map +1 -0
  55. package/build/lib/web/development/components/BaseMenu/index.js +3 -0
  56. package/build/lib/web/development/components/BaseMenu/index.js.map +1 -0
  57. package/build/lib/web/development/components/BaseMenu/tokens.js +8 -0
  58. package/build/lib/web/development/components/BaseMenu/tokens.js.map +1 -0
  59. package/build/lib/web/development/components/Button/BaseButton/BaseButton.js +16 -7
  60. package/build/lib/web/development/components/Button/BaseButton/BaseButton.js.map +1 -1
  61. package/build/lib/web/development/components/Button/Button/Button.js +8 -2
  62. package/build/lib/web/development/components/Button/Button/Button.js.map +1 -1
  63. package/build/lib/web/development/components/DatePicker/QuickSelection/QuickSelectionItem.web.js +6 -27
  64. package/build/lib/web/development/components/DatePicker/QuickSelection/QuickSelectionItem.web.js.map +1 -1
  65. package/build/lib/web/development/components/Dropdown/DropdownOverlay.web.js +3 -2
  66. package/build/lib/web/development/components/Dropdown/DropdownOverlay.web.js.map +1 -1
  67. package/build/lib/web/development/components/FileUpload/FileUpload.web.js +35 -19
  68. package/build/lib/web/development/components/FileUpload/FileUpload.web.js.map +1 -1
  69. package/build/lib/web/development/components/Link/BaseLink/BaseLink.js +5 -1
  70. package/build/lib/web/development/components/Link/BaseLink/BaseLink.js.map +1 -1
  71. package/build/lib/web/development/components/Link/Link/Link.js +6 -2
  72. package/build/lib/web/development/components/Link/Link/Link.js.map +1 -1
  73. package/build/lib/web/development/components/Menu/Menu.web.js +99 -0
  74. package/build/lib/web/development/components/Menu/Menu.web.js.map +1 -0
  75. package/build/lib/web/development/components/Menu/MenuItem.web.js +63 -0
  76. package/build/lib/web/development/components/Menu/MenuItem.web.js.map +1 -0
  77. package/build/lib/web/development/components/Menu/MenuOverlay.web.js +59 -0
  78. package/build/lib/web/development/components/Menu/MenuOverlay.web.js.map +1 -0
  79. package/build/lib/web/development/components/Menu/VisualSubComponents/MenuDivider.web.js +18 -0
  80. package/build/lib/web/development/components/Menu/VisualSubComponents/MenuDivider.web.js.map +1 -0
  81. package/build/lib/web/development/components/Menu/VisualSubComponents/MenuHeaderFooter.web.js +65 -0
  82. package/build/lib/web/development/components/Menu/VisualSubComponents/MenuHeaderFooter.web.js.map +1 -0
  83. package/build/lib/web/development/components/Menu/index.js +6 -0
  84. package/build/lib/web/development/components/Menu/index.js.map +1 -0
  85. package/build/lib/web/development/components/Menu/tokens.js +26 -0
  86. package/build/lib/web/development/components/Menu/tokens.js.map +1 -0
  87. package/build/lib/web/development/components/Menu/useMenu.js +178 -0
  88. package/build/lib/web/development/components/Menu/useMenu.js.map +1 -0
  89. package/build/lib/web/development/components/Tooltip/Tooltip.web.js +1 -3
  90. package/build/lib/web/development/components/Tooltip/Tooltip.web.js.map +1 -1
  91. package/build/lib/web/development/components/index.js +6 -0
  92. package/build/lib/web/development/components/index.js.map +1 -1
  93. package/build/lib/web/development/utils/metaAttribute/metaConstants.js +3 -0
  94. package/build/lib/web/development/utils/metaAttribute/metaConstants.js.map +1 -1
  95. package/build/lib/web/production/components/ActionList/ActionListItem.js +43 -118
  96. package/build/lib/web/production/components/ActionList/ActionListItem.js.map +1 -1
  97. package/build/lib/web/production/components/Avatar/Avatar.web.js +29 -6
  98. package/build/lib/web/production/components/Avatar/Avatar.web.js.map +1 -1
  99. package/build/lib/web/production/components/Avatar/AvatarButton.js +25 -3
  100. package/build/lib/web/production/components/Avatar/AvatarButton.js.map +1 -1
  101. package/build/lib/web/production/components/BaseHeaderFooter/BaseFooter.js +2 -1
  102. package/build/lib/web/production/components/BaseHeaderFooter/BaseFooter.js.map +1 -1
  103. package/build/lib/web/production/components/BaseHeaderFooter/BaseHeader.js +4 -0
  104. package/build/lib/web/production/components/BaseHeaderFooter/BaseHeader.js.map +1 -1
  105. package/build/lib/web/production/components/BaseMenu/BaseMenuContext.js +10 -0
  106. package/build/lib/web/production/components/BaseMenu/BaseMenuContext.js.map +1 -0
  107. package/build/lib/web/production/components/BaseMenu/BaseMenuItem/BaseMenuItem.js +124 -0
  108. package/build/lib/web/production/components/BaseMenu/BaseMenuItem/BaseMenuItem.js.map +1 -0
  109. package/build/lib/web/production/components/BaseMenu/BaseMenuItem/StyledMenuItemContainer.web.js +41 -0
  110. package/build/lib/web/production/components/BaseMenu/BaseMenuItem/StyledMenuItemContainer.web.js.map +1 -0
  111. package/build/lib/web/production/components/{ActionList/styles/getBaseActionListItemStyles.js → BaseMenu/BaseMenuItem/getBaseMenuItemStyles.js} +10 -9
  112. package/build/lib/web/production/components/BaseMenu/BaseMenuItem/getBaseMenuItemStyles.js.map +1 -0
  113. package/build/lib/web/production/components/BaseMenu/index.js +3 -0
  114. package/build/lib/web/production/components/BaseMenu/index.js.map +1 -0
  115. package/build/lib/web/production/components/BaseMenu/tokens.js +8 -0
  116. package/build/lib/web/production/components/BaseMenu/tokens.js.map +1 -0
  117. package/build/lib/web/production/components/Button/BaseButton/BaseButton.js +16 -7
  118. package/build/lib/web/production/components/Button/BaseButton/BaseButton.js.map +1 -1
  119. package/build/lib/web/production/components/Button/Button/Button.js +8 -2
  120. package/build/lib/web/production/components/Button/Button/Button.js.map +1 -1
  121. package/build/lib/web/production/components/DatePicker/QuickSelection/QuickSelectionItem.web.js +6 -27
  122. package/build/lib/web/production/components/DatePicker/QuickSelection/QuickSelectionItem.web.js.map +1 -1
  123. package/build/lib/web/production/components/Dropdown/DropdownOverlay.web.js +3 -2
  124. package/build/lib/web/production/components/Dropdown/DropdownOverlay.web.js.map +1 -1
  125. package/build/lib/web/production/components/FileUpload/FileUpload.web.js +35 -19
  126. package/build/lib/web/production/components/FileUpload/FileUpload.web.js.map +1 -1
  127. package/build/lib/web/production/components/Link/BaseLink/BaseLink.js +5 -1
  128. package/build/lib/web/production/components/Link/BaseLink/BaseLink.js.map +1 -1
  129. package/build/lib/web/production/components/Link/Link/Link.js +6 -2
  130. package/build/lib/web/production/components/Link/Link/Link.js.map +1 -1
  131. package/build/lib/web/production/components/Menu/Menu.web.js +99 -0
  132. package/build/lib/web/production/components/Menu/Menu.web.js.map +1 -0
  133. package/build/lib/web/production/components/Menu/MenuItem.web.js +63 -0
  134. package/build/lib/web/production/components/Menu/MenuItem.web.js.map +1 -0
  135. package/build/lib/web/production/components/Menu/MenuOverlay.web.js +59 -0
  136. package/build/lib/web/production/components/Menu/MenuOverlay.web.js.map +1 -0
  137. package/build/lib/web/production/components/Menu/VisualSubComponents/MenuDivider.web.js +18 -0
  138. package/build/lib/web/production/components/Menu/VisualSubComponents/MenuDivider.web.js.map +1 -0
  139. package/build/lib/web/production/components/Menu/VisualSubComponents/MenuHeaderFooter.web.js +65 -0
  140. package/build/lib/web/production/components/Menu/VisualSubComponents/MenuHeaderFooter.web.js.map +1 -0
  141. package/build/lib/web/production/components/Menu/index.js +6 -0
  142. package/build/lib/web/production/components/Menu/index.js.map +1 -0
  143. package/build/lib/web/production/components/Menu/tokens.js +26 -0
  144. package/build/lib/web/production/components/Menu/tokens.js.map +1 -0
  145. package/build/lib/web/production/components/Menu/useMenu.js +178 -0
  146. package/build/lib/web/production/components/Menu/useMenu.js.map +1 -0
  147. package/build/lib/web/production/components/Tooltip/Tooltip.web.js +1 -3
  148. package/build/lib/web/production/components/Tooltip/Tooltip.web.js.map +1 -1
  149. package/build/lib/web/production/components/index.js +6 -0
  150. package/build/lib/web/production/components/index.js.map +1 -1
  151. package/build/lib/web/production/utils/metaAttribute/metaConstants.js +3 -0
  152. package/build/lib/web/production/utils/metaAttribute/metaConstants.js.map +1 -1
  153. package/build/types/components/index.d.ts +755 -3
  154. package/build/types/components/index.native.d.ts +170 -2
  155. package/package.json +1 -1
  156. package/build/lib/native/components/ActionList/styles/StyledActionListItem.native.js +0 -8
  157. package/build/lib/native/components/ActionList/styles/StyledActionListItem.native.js.map +0 -1
  158. package/build/lib/native/components/ActionList/styles/getBaseActionListItemStyles.js +0 -11
  159. package/build/lib/native/components/ActionList/styles/getBaseActionListItemStyles.js.map +0 -1
  160. package/build/lib/web/development/components/ActionList/styles/StyledActionListItem.web.js +0 -33
  161. package/build/lib/web/development/components/ActionList/styles/StyledActionListItem.web.js.map +0 -1
  162. package/build/lib/web/development/components/ActionList/styles/getBaseActionListItemStyles.js.map +0 -1
  163. package/build/lib/web/production/components/ActionList/styles/StyledActionListItem.web.js +0 -33
  164. package/build/lib/web/production/components/ActionList/styles/StyledActionListItem.web.js.map +0 -1
  165. package/build/lib/web/production/components/ActionList/styles/getBaseActionListItemStyles.js.map +0 -1
@@ -1174,6 +1174,14 @@ type BladeCommonEvents = {
1174
1174
  web: React.MouseEventHandler;
1175
1175
  native: undefined;
1176
1176
  }>;
1177
+ onMouseDown?: Platform.Select<{
1178
+ web: React.MouseEventHandler;
1179
+ native: undefined | ((event: any) => void);
1180
+ }>;
1181
+ onMouseUp?: Platform.Select<{
1182
+ web: React.MouseEventHandler;
1183
+ native: undefined | ((event: any) => void);
1184
+ }>;
1177
1185
  onPointerDown?: Platform.Select<{
1178
1186
  web: React.PointerEventHandler;
1179
1187
  native: undefined;
@@ -2539,6 +2547,8 @@ type BaseHeaderProps = {
2539
2547
  isDisabled?: boolean;
2540
2548
  paddingX?: BoxProps['paddingX'];
2541
2549
  marginY?: BoxProps['marginY'];
2550
+ marginTop?: BoxProps['marginTop'];
2551
+ marginBottom?: BoxProps['marginBottom'];
2542
2552
  onCloseButtonClick?: () => void;
2543
2553
  onBackButtonClick?: () => void;
2544
2554
  closeButtonRef?: React__default.MutableRefObject<any>;
@@ -3246,6 +3256,8 @@ type BaseButtonCommonProps = {
3246
3256
  target?: BaseLinkProps['target'];
3247
3257
  rel?: BaseLinkProps['rel'];
3248
3258
  size?: 'xsmall' | 'small' | 'medium' | 'large';
3259
+ id?: string;
3260
+ tabIndex?: BaseBoxProps['tabIndex'];
3249
3261
  iconPosition?: 'left' | 'right';
3250
3262
  isDisabled?: boolean;
3251
3263
  isFullWidth?: boolean;
@@ -3305,6 +3317,31 @@ type ButtonCommonProps = {
3305
3317
  * @private
3306
3318
  */
3307
3319
  'aria-describedby'?: string;
3320
+ /**
3321
+ * It is exposed for internal usage with menu.
3322
+ *
3323
+ * @private
3324
+ */
3325
+ 'aria-controls'?: string;
3326
+ /**
3327
+ * It is exposed for internal usage with menu.
3328
+ *
3329
+ * @private
3330
+ */
3331
+ 'aria-expanded'?: boolean;
3332
+ /**
3333
+ * It is exposed for internal usage with menu.
3334
+ *
3335
+ * @private
3336
+ */
3337
+ 'aria-haspopup'?: 'menu';
3338
+ /**
3339
+ * It is exposed for internal usage with menu.
3340
+ *
3341
+ * @private
3342
+ */
3343
+ role?: AriaRoles;
3344
+ tabIndex?: BaseButtonProps['tabIndex'];
3308
3345
  onClick?: Platform.Select<{
3309
3346
  native: (event: GestureResponderEvent) => void;
3310
3347
  web: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
@@ -3406,7 +3443,7 @@ type AvatarCommonProps = {
3406
3443
  */
3407
3444
  onClick?: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
3408
3445
  testID?: string;
3409
- };
3446
+ } & BladeCommonEvents & StyledPropsBlade;
3410
3447
  type AvatarProps = AvatarCommonProps & AvatarImgProps;
3411
3448
 
3412
3449
  declare const Avatar: (_props: AvatarProps) => React.ReactElement;
@@ -3419,6 +3456,7 @@ type BaseFooterProps = {
3419
3456
  children: React__default.ReactNode;
3420
3457
  metaComponentName?: string;
3421
3458
  showDivider?: boolean;
3459
+ padding?: BoxProps['padding'];
3422
3460
  } & TestID;
3423
3461
 
3424
3462
  type BottomSheetProps = {
@@ -6908,6 +6946,136 @@ type ModalProps = {
6908
6946
 
6909
6947
  declare const Modal: (props: ModalProps) => React__default.ReactElement;
6910
6948
 
6949
+ type BaseMenuItemProps = {
6950
+ as?: React.ComponentType<any> | 'a' | 'button';
6951
+ id?: string;
6952
+ title?: string;
6953
+ description?: string;
6954
+ children?: React.ReactNode;
6955
+ className?: string;
6956
+ isDisabled?: boolean;
6957
+ isSelected?: boolean;
6958
+ isVisible?: boolean;
6959
+ isKeydownPressed?: boolean;
6960
+ leading?: React.ReactNode;
6961
+ trailing?: React.ReactNode;
6962
+ titleSuffix?: React.ReactNode;
6963
+ selectionType?: 'single' | 'multiple';
6964
+ color?: 'negative';
6965
+ href?: LinkProps['href'];
6966
+ target?: LinkProps['target'];
6967
+ rel?: LinkProps['rel'];
6968
+ role?: 'menuitem' | 'menuitemcheckbox' | 'option' | 'link';
6969
+ tabIndex?: number;
6970
+ onClick?: Platform.Select<{
6971
+ web: React.MouseEventHandler;
6972
+ native: undefined | ((event: any) => void);
6973
+ }>;
6974
+ } & BladeCommonEvents;
6975
+
6976
+ type MenuProps = {
6977
+ /**
6978
+ * First children is trigger and second children is MenuOverlay
6979
+ **/
6980
+ children: [React__default.ReactElement, React__default.ReactElement];
6981
+ /**
6982
+ * Open controlled state
6983
+ */
6984
+ isOpen?: boolean;
6985
+ /**
6986
+ * On Menu open change callback
6987
+ */
6988
+ onOpenChange?: ({ isOpen }: {
6989
+ isOpen: boolean;
6990
+ }) => void;
6991
+ /**
6992
+ * Should menu open on click or hover
6993
+ *
6994
+ * @default 'click'
6995
+ */
6996
+ openInteraction?: 'hover' | 'click';
6997
+ };
6998
+ type MenuItemProps = {
6999
+ /**
7000
+ * title of item
7001
+ */
7002
+ title?: string;
7003
+ /**
7004
+ * Description text for the item
7005
+ */
7006
+ description?: string;
7007
+ /**
7008
+ * Slot to render custom menu items
7009
+ */
7010
+ children?: React__default.ReactNode;
7011
+ as?: BaseMenuItemProps['as'];
7012
+ /**
7013
+ * Click handler for MenuItem
7014
+ *
7015
+ * Absense of this prop and href will turn the item into non-interactive item
7016
+ */
7017
+ onClick?: (event: React__default.MouseEvent) => void;
7018
+ /**
7019
+ * Focus handler for MenuItem
7020
+ *
7021
+ * Absense of this prop and href will turn the item into non-interactive item
7022
+ */
7023
+ onFocus?: (event: React__default.FocusEvent) => void;
7024
+ /**
7025
+ * Link to open when item is clicked.
7026
+ *
7027
+ * Absense of this prop and onClick will turn the item into non-interactive item
7028
+ */
7029
+ href?: string;
7030
+ /**
7031
+ * HTML target of the link
7032
+ */
7033
+ target?: string;
7034
+ /**
7035
+ * Item that goes on left-side of item.
7036
+ *
7037
+ * Will be overriden in multiselect
7038
+ */
7039
+ leading?: React__default.ReactNode;
7040
+ /**
7041
+ * Item that goes on right-side of item.
7042
+ */
7043
+ trailing?: React__default.ReactNode;
7044
+ /**
7045
+ * Item that goes immediately next to the title.
7046
+ */
7047
+ titleSuffix?: React__default.ReactElement;
7048
+ /**
7049
+ * disabled state of item
7050
+ */
7051
+ isDisabled?: boolean;
7052
+ /**
7053
+ * Color of item. set to negative for dangerous actions like Delete, Remove, etc
7054
+ */
7055
+ color?: Extract<FeedbackColors, 'negative'>;
7056
+ _hasFocusInside?: boolean;
7057
+ _isMenuTrigger?: boolean;
7058
+ _isSubmenuOpen?: boolean;
7059
+ };
7060
+ type MenuOverlayProps = {
7061
+ children: React__default.ReactElement[] | React__default.ReactElement;
7062
+ zIndex?: BoxProps['zIndex'];
7063
+ _transitionStyle?: React__default.CSSProperties;
7064
+ } & TestID;
7065
+ type MenuFooterProps = Pick<BaseFooterProps, 'children' | 'testID'>;
7066
+ type MenuHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'trailing' | 'titleSuffix' | 'testID'>;
7067
+
7068
+ declare const Menu: (_props: MenuProps) => React.ReactElement;
7069
+
7070
+ declare const MenuItem: (_props: MenuItemProps) => React.ReactElement;
7071
+
7072
+ declare const MenuOverlay: (_props: MenuOverlayProps) => React.ReactElement;
7073
+
7074
+ declare const MenuDivider: (_styledProps: StyledPropsBlade) => React.ReactElement;
7075
+
7076
+ declare const MenuHeader: (_props: MenuHeaderProps) => React.ReactElement;
7077
+ declare const MenuFooter: (_props: MenuFooterProps) => React.ReactElement;
7078
+
6911
7079
  type PopoverProps = {
6912
7080
  /**
6913
7081
  * Popover title
@@ -9077,4 +9245,4 @@ declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => Rea
9077
9245
  */
9078
9246
  declare const screenReaderStyles: CSSObject;
9079
9247
 
9080
- export { AcceptPaymentsIcon, Accordion, AccordionItem, AccordionItemBody, AccordionItemHeader, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, 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, 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, Identifier, 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, MenuDotsIcon, MenuIcon, 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, 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, TabPanel, TabPanelProps, Table, TableBackgroundColors, TableBody, TableBodyProps, TableCell, TableCellProps, TableData, TableFooter, TableFooterCell, TableFooterCellProps, TableFooterProps, TableFooterRow, TableFooterRowProps, TableHeader, TableHeaderCell, TableHeaderCellProps, TableHeaderProps, TableHeaderRow, TableHeaderRowProps, TableNode, TablePagination, TablePaginationCommonProps, TablePaginationProps$1 as TablePaginationProps, TablePaginationType, 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, Tour, TrademarkIcon, TrademarkRegisteredIcon, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, 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 };
9248
+ export { AcceptPaymentsIcon, Accordion, AccordionItem, AccordionItemBody, AccordionItemHeader, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, 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, 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, Identifier, 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, 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, TabPanel, TabPanelProps, Table, TableBackgroundColors, TableBody, TableBodyProps, TableCell, TableCellProps, TableData, TableFooter, TableFooterCell, TableFooterCellProps, TableFooterProps, TableFooterRow, TableFooterRowProps, TableHeader, TableHeaderCell, TableHeaderCellProps, TableHeaderProps, TableHeaderRow, TableHeaderRowProps, TableNode, TablePagination, TablePaginationCommonProps, TablePaginationProps$1 as TablePaginationProps, TablePaginationType, 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, Tour, TrademarkIcon, TrademarkRegisteredIcon, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, 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 };
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.21.8",
4
+ "version": "11.22.0",
5
5
  "license": "MIT",
6
6
  "engines": {
7
7
  "node": ">=18.12.1"
@@ -1,8 +0,0 @@
1
- import styled from 'styled-components/native';
2
- import { TouchableOpacity } from 'react-native';
3
- import { getBaseActionListItemStyles } from './getBaseActionListItemStyles.js';
4
-
5
- var StyledActionListItem=styled(TouchableOpacity)(function(props){return Object.assign({},getBaseActionListItemStyles(props),{display:props.isVisible?'flex':'none',backgroundColor:props.isSelected&&props.selectionType==='single'?props.theme.colors.interactive.background.primary.faded:undefined});});
6
-
7
- export { StyledActionListItem };
8
- //# sourceMappingURL=StyledActionListItem.native.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StyledActionListItem.native.js","sources":["../../../../../../src/components/ActionList/styles/StyledActionListItem.native.tsx"],"sourcesContent":["import styled from 'styled-components';\nimport { TouchableOpacity } from 'react-native';\nimport type { StyledActionListItemProps } from './getBaseActionListItemStyles';\nimport { getBaseActionListItemStyles } from './getBaseActionListItemStyles';\n\nconst StyledActionListItem = styled(TouchableOpacity)<StyledActionListItemProps>((props) => {\n return {\n ...getBaseActionListItemStyles(props),\n display: props.isVisible ? 'flex' : 'none',\n // React Native specific styles\n backgroundColor:\n props.isSelected && props.selectionType === 'single'\n ? props.theme.colors.interactive.background.primary.faded\n : undefined,\n };\n});\n\nexport { StyledActionListItem };\n"],"names":["StyledActionListItem","styled","TouchableOpacity","props","Object","assign","getBaseActionListItemStyles","display","isVisible","backgroundColor","isSelected","selectionType","theme","colors","interactive","background","primary","faded","undefined"],"mappings":";;;;AAKM,IAAAA,oBAAoB,CAAGC,MAAM,CAACC,gBAAgB,CAAC,CAA4B,SAACC,KAAK,CAAK,CAC1F,OAAAC,MAAA,CAAAC,MAAA,CACKC,EAAAA,CAAAA,2BAA2B,CAACH,KAAK,CAAC,CACrCI,CAAAA,OAAO,CAAEJ,KAAK,CAACK,SAAS,CAAG,MAAM,CAAG,MAAM,CAE1CC,eAAe,CACbN,KAAK,CAACO,UAAU,EAAIP,KAAK,CAACQ,aAAa,GAAK,QAAQ,CAChDR,KAAK,CAACS,KAAK,CAACC,MAAM,CAACC,WAAW,CAACC,UAAU,CAACC,OAAO,CAACC,KAAK,CACvDC,SAAS,CAEnB,CAAA,CAAA,CAAC;;;;"}
@@ -1,11 +0,0 @@
1
- import 'react-native';
2
- import '@babel/runtime/helpers/slicedToArray';
3
- import 'react';
4
- import { isReactNative } from '../../../utils/platform/isReactNative.js';
5
- import { makeSize } from '../../../utils/makeSize/makeSize.js';
6
- import '../../BladeProvider/useTheme.js';
7
-
8
- var getBaseActionListItemStyles=function getBaseActionListItemStyles(props){return {borderWidth:makeSize(props.theme.spacing[2]),borderStyle:'solid',borderColor:'transparent',textAlign:isReactNative()?undefined:'left',backgroundColor:'transparent',padding:makeSize(props.isMobile?props.theme.spacing[3]:props.theme.spacing[2]),borderRadius:makeSize(props.theme.border.radius.medium),textDecoration:'none',cursor:'pointer',width:'100%'};};
9
-
10
- export { getBaseActionListItemStyles };
11
- //# sourceMappingURL=getBaseActionListItemStyles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getBaseActionListItemStyles.js","sources":["../../../../../../src/components/ActionList/styles/getBaseActionListItemStyles.ts"],"sourcesContent":["import type React from 'react';\nimport type { CSSObject } from 'styled-components';\nimport type { TouchableOpacity } from 'react-native';\nimport type { ActionListItemProps } from '../ActionListItem';\nimport type { Theme } from '~components/BladeProvider';\nimport type { DropdownContextType } from '~components/Dropdown/useDropdown';\nimport { isReactNative } from '~utils';\nimport { makeSize } from '~utils/makeSize';\n\ntype StyledActionListItemProps = {\n selectionType: DropdownContextType['selectionType'];\n hasDescription: boolean;\n intent?: ActionListItemProps['intent'];\n onPress?: (e: React.TouchEvent<TouchableOpacity>) => void;\n isSelected?: boolean;\n isKeydownPressed: boolean;\n isMobile: boolean;\n isVisible?: boolean;\n};\n\nconst getBaseActionListItemStyles = (\n props: StyledActionListItemProps & { theme: Theme },\n): CSSObject => {\n return {\n // @TODO: replace this with outline token when we add\n borderWidth: makeSize(props.theme.spacing[2]),\n borderStyle: 'solid',\n borderColor: 'transparent',\n textAlign: isReactNative() ? undefined : 'left',\n backgroundColor: 'transparent',\n padding: makeSize(props.isMobile ? props.theme.spacing[3] : props.theme.spacing[2]),\n borderRadius: makeSize(props.theme.border.radius.medium),\n textDecoration: 'none',\n cursor: 'pointer',\n width: '100%',\n };\n};\n\nexport type { StyledActionListItemProps };\nexport { getBaseActionListItemStyles };\n"],"names":["getBaseActionListItemStyles","props","borderWidth","makeSize","theme","spacing","borderStyle","borderColor","textAlign","isReactNative","undefined","backgroundColor","padding","isMobile","borderRadius","border","radius","medium","textDecoration","cursor","width"],"mappings":";;;;;;;AAoBM,IAAAA,2BAA2B,CAAG,SAA9BA,2BAA2BA,CAC/BC,KAAmD,CACrC,CACd,OAAO,CAELC,WAAW,CAAEC,QAAQ,CAACF,KAAK,CAACG,KAAK,CAACC,OAAO,CAAC,CAAC,CAAC,CAAC,CAC7CC,WAAW,CAAE,OAAO,CACpBC,WAAW,CAAE,aAAa,CAC1BC,SAAS,CAAEC,aAAa,EAAE,CAAGC,SAAS,CAAG,MAAM,CAC/CC,eAAe,CAAE,aAAa,CAC9BC,OAAO,CAAET,QAAQ,CAACF,KAAK,CAACY,QAAQ,CAAGZ,KAAK,CAACG,KAAK,CAACC,OAAO,CAAC,CAAC,CAAC,CAAGJ,KAAK,CAACG,KAAK,CAACC,OAAO,CAAC,CAAC,CAAC,CAAC,CACnFS,YAAY,CAAEX,QAAQ,CAACF,KAAK,CAACG,KAAK,CAACW,MAAM,CAACC,MAAM,CAACC,MAAM,CAAC,CACxDC,cAAc,CAAE,MAAM,CACtBC,MAAM,CAAE,SAAS,CACjBC,KAAK,CAAE,MACT,CAAC,CACH;;;;"}
@@ -1,33 +0,0 @@
1
- import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
- import styled from 'styled-components';
3
- import { getBaseActionListItemStyles } from './getBaseActionListItemStyles.js';
4
- import '../../Box/BaseBox/index.js';
5
- import { BaseBox } from '../../Box/BaseBox/BaseBox.web.js';
6
-
7
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
8
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9
- var StyledActionListItem = /*#__PURE__*/styled(BaseBox).withConfig({
10
- displayName: "StyledActionListItemweb__StyledActionListItem",
11
- componentId: "sc-1okp9u4-0"
12
- })(function (props) {
13
- return _objectSpread(_objectSpread({}, getBaseActionListItemStyles(props)), {}, {
14
- // fixes bug in web where the if rendered as a link it's messing the styles
15
- display: props.isVisible ? 'block' : 'none',
16
- // Web-specific styles
17
- '&:hover:not([aria-disabled=true])': {
18
- backgroundColor: props.intent === 'negative' ? props.theme.colors.interactive.background.negative.faded : props.theme.colors.interactive.background.gray["default"]
19
- },
20
- '&.active-focus': {
21
- borderColor: props.isKeydownPressed ? props.theme.colors.surface.border.primary.muted : undefined
22
- },
23
- '&[aria-selected=true]': {
24
- backgroundColor: props.selectionType === 'single' ? props.theme.colors.interactive.background.primary.faded : undefined
25
- },
26
- '&[aria-selected=true]:hover': {
27
- backgroundColor: props.theme.colors.interactive.background.primary.fadedHighlighted
28
- }
29
- });
30
- });
31
-
32
- export { StyledActionListItem };
33
- //# sourceMappingURL=StyledActionListItem.web.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StyledActionListItem.web.js","sources":["../../../../../../../src/components/ActionList/styles/StyledActionListItem.web.tsx"],"sourcesContent":["import styled from 'styled-components';\nimport type { StyledActionListItemProps } from './getBaseActionListItemStyles';\nimport { getBaseActionListItemStyles } from './getBaseActionListItemStyles';\nimport BaseBox from '~components/Box/BaseBox';\n\nconst StyledActionListItem = styled(BaseBox)<StyledActionListItemProps>((props) => {\n return {\n ...getBaseActionListItemStyles(props),\n // fixes bug in web where the if rendered as a link it's messing the styles\n display: props.isVisible ? 'block' : 'none',\n // Web-specific styles\n '&:hover:not([aria-disabled=true])': {\n backgroundColor:\n props.intent === 'negative'\n ? props.theme.colors.interactive.background.negative.faded\n : props.theme.colors.interactive.background.gray.default,\n },\n '&.active-focus': {\n borderColor: props.isKeydownPressed\n ? props.theme.colors.surface.border.primary.muted\n : undefined,\n },\n '&[aria-selected=true]': {\n backgroundColor:\n props.selectionType === 'single'\n ? props.theme.colors.interactive.background.primary.faded\n : undefined,\n },\n '&[aria-selected=true]:hover': {\n backgroundColor: props.theme.colors.interactive.background.primary.fadedHighlighted,\n },\n };\n});\n\nexport { StyledActionListItem };\n"],"names":["StyledActionListItem","styled","BaseBox","withConfig","displayName","componentId","props","_objectSpread","getBaseActionListItemStyles","display","isVisible","backgroundColor","intent","theme","colors","interactive","background","negative","faded","gray","borderColor","isKeydownPressed","surface","border","primary","muted","undefined","selectionType","fadedHighlighted"],"mappings":";;;;;;;;AAKA,IAAMA,oBAAoB,gBAAGC,MAAM,CAACC,OAAO,CAAC,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+CAAA;EAAAC,WAAA,EAAA,cAAA;AAAA,CAA4B,CAAA,CAAA,UAACC,KAAK,EAAK;AACjF,EAAA,OAAAC,aAAA,CAAAA,aAAA,KACKC,2BAA2B,CAACF,KAAK,CAAC,CAAA,EAAA,EAAA,EAAA;AACrC;AACAG,IAAAA,OAAO,EAAEH,KAAK,CAACI,SAAS,GAAG,OAAO,GAAG,MAAM;AAC3C;AACA,IAAA,mCAAmC,EAAE;AACnCC,MAAAA,eAAe,EACbL,KAAK,CAACM,MAAM,KAAK,UAAU,GACvBN,KAAK,CAACO,KAAK,CAACC,MAAM,CAACC,WAAW,CAACC,UAAU,CAACC,QAAQ,CAACC,KAAK,GACxDZ,KAAK,CAACO,KAAK,CAACC,MAAM,CAACC,WAAW,CAACC,UAAU,CAACG,IAAI,CAAA,SAAA,CAAA;KACrD;AACD,IAAA,gBAAgB,EAAE;AAChBC,MAAAA,WAAW,EAAEd,KAAK,CAACe,gBAAgB,GAC/Bf,KAAK,CAACO,KAAK,CAACC,MAAM,CAACQ,OAAO,CAACC,MAAM,CAACC,OAAO,CAACC,KAAK,GAC/CC,SAAAA;KACL;AACD,IAAA,uBAAuB,EAAE;MACvBf,eAAe,EACbL,KAAK,CAACqB,aAAa,KAAK,QAAQ,GAC5BrB,KAAK,CAACO,KAAK,CAACC,MAAM,CAACC,WAAW,CAACC,UAAU,CAACQ,OAAO,CAACN,KAAK,GACvDQ,SAAAA;KACP;AACD,IAAA,6BAA6B,EAAE;AAC7Bf,MAAAA,eAAe,EAAEL,KAAK,CAACO,KAAK,CAACC,MAAM,CAACC,WAAW,CAACC,UAAU,CAACQ,OAAO,CAACI,gBAAAA;AACrE,KAAA;AAAC,GAAA,CAAA,CAAA;AAEL,CAAC;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getBaseActionListItemStyles.js","sources":["../../../../../../../src/components/ActionList/styles/getBaseActionListItemStyles.ts"],"sourcesContent":["import type React from 'react';\nimport type { CSSObject } from 'styled-components';\nimport type { TouchableOpacity } from 'react-native';\nimport type { ActionListItemProps } from '../ActionListItem';\nimport type { Theme } from '~components/BladeProvider';\nimport type { DropdownContextType } from '~components/Dropdown/useDropdown';\nimport { isReactNative } from '~utils';\nimport { makeSize } from '~utils/makeSize';\n\ntype StyledActionListItemProps = {\n selectionType: DropdownContextType['selectionType'];\n hasDescription: boolean;\n intent?: ActionListItemProps['intent'];\n onPress?: (e: React.TouchEvent<TouchableOpacity>) => void;\n isSelected?: boolean;\n isKeydownPressed: boolean;\n isMobile: boolean;\n isVisible?: boolean;\n};\n\nconst getBaseActionListItemStyles = (\n props: StyledActionListItemProps & { theme: Theme },\n): CSSObject => {\n return {\n // @TODO: replace this with outline token when we add\n borderWidth: makeSize(props.theme.spacing[2]),\n borderStyle: 'solid',\n borderColor: 'transparent',\n textAlign: isReactNative() ? undefined : 'left',\n backgroundColor: 'transparent',\n padding: makeSize(props.isMobile ? props.theme.spacing[3] : props.theme.spacing[2]),\n borderRadius: makeSize(props.theme.border.radius.medium),\n textDecoration: 'none',\n cursor: 'pointer',\n width: '100%',\n };\n};\n\nexport type { StyledActionListItemProps };\nexport { getBaseActionListItemStyles };\n"],"names":["getBaseActionListItemStyles","props","borderWidth","makeSize","theme","spacing","borderStyle","borderColor","textAlign","isReactNative","undefined","backgroundColor","padding","isMobile","borderRadius","border","radius","medium","textDecoration","cursor","width"],"mappings":";;;;;AAoBA,IAAMA,2BAA2B,GAAG,SAA9BA,2BAA2BA,CAC/BC,KAAmD,EACrC;EACd,OAAO;AACL;IACAC,WAAW,EAAEC,QAAQ,CAACF,KAAK,CAACG,KAAK,CAACC,OAAO,CAAC,CAAC,CAAC,CAAC;AAC7CC,IAAAA,WAAW,EAAE,OAAO;AACpBC,IAAAA,WAAW,EAAE,aAAa;AAC1BC,IAAAA,SAAS,EAAEC,aAAa,EAAE,GAAGC,SAAS,GAAG,MAAM;AAC/CC,IAAAA,eAAe,EAAE,aAAa;IAC9BC,OAAO,EAAET,QAAQ,CAACF,KAAK,CAACY,QAAQ,GAAGZ,KAAK,CAACG,KAAK,CAACC,OAAO,CAAC,CAAC,CAAC,GAAGJ,KAAK,CAACG,KAAK,CAACC,OAAO,CAAC,CAAC,CAAC,CAAC;AACnFS,IAAAA,YAAY,EAAEX,QAAQ,CAACF,KAAK,CAACG,KAAK,CAACW,MAAM,CAACC,MAAM,CAACC,MAAM,CAAC;AACxDC,IAAAA,cAAc,EAAE,MAAM;AACtBC,IAAAA,MAAM,EAAE,SAAS;AACjBC,IAAAA,KAAK,EAAE,MAAA;GACR,CAAA;AACH;;;;"}
@@ -1,33 +0,0 @@
1
- import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
- import styled from 'styled-components';
3
- import { getBaseActionListItemStyles } from './getBaseActionListItemStyles.js';
4
- import '../../Box/BaseBox/index.js';
5
- import { BaseBox } from '../../Box/BaseBox/BaseBox.web.js';
6
-
7
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
8
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9
- var StyledActionListItem = /*#__PURE__*/styled(BaseBox).withConfig({
10
- displayName: "StyledActionListItemweb__StyledActionListItem",
11
- componentId: "sc-1okp9u4-0"
12
- })(function (props) {
13
- return _objectSpread(_objectSpread({}, getBaseActionListItemStyles(props)), {}, {
14
- // fixes bug in web where the if rendered as a link it's messing the styles
15
- display: props.isVisible ? 'block' : 'none',
16
- // Web-specific styles
17
- '&:hover:not([aria-disabled=true])': {
18
- backgroundColor: props.intent === 'negative' ? props.theme.colors.interactive.background.negative.faded : props.theme.colors.interactive.background.gray["default"]
19
- },
20
- '&.active-focus': {
21
- borderColor: props.isKeydownPressed ? props.theme.colors.surface.border.primary.muted : undefined
22
- },
23
- '&[aria-selected=true]': {
24
- backgroundColor: props.selectionType === 'single' ? props.theme.colors.interactive.background.primary.faded : undefined
25
- },
26
- '&[aria-selected=true]:hover': {
27
- backgroundColor: props.theme.colors.interactive.background.primary.fadedHighlighted
28
- }
29
- });
30
- });
31
-
32
- export { StyledActionListItem };
33
- //# sourceMappingURL=StyledActionListItem.web.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StyledActionListItem.web.js","sources":["../../../../../../../src/components/ActionList/styles/StyledActionListItem.web.tsx"],"sourcesContent":["import styled from 'styled-components';\nimport type { StyledActionListItemProps } from './getBaseActionListItemStyles';\nimport { getBaseActionListItemStyles } from './getBaseActionListItemStyles';\nimport BaseBox from '~components/Box/BaseBox';\n\nconst StyledActionListItem = styled(BaseBox)<StyledActionListItemProps>((props) => {\n return {\n ...getBaseActionListItemStyles(props),\n // fixes bug in web where the if rendered as a link it's messing the styles\n display: props.isVisible ? 'block' : 'none',\n // Web-specific styles\n '&:hover:not([aria-disabled=true])': {\n backgroundColor:\n props.intent === 'negative'\n ? props.theme.colors.interactive.background.negative.faded\n : props.theme.colors.interactive.background.gray.default,\n },\n '&.active-focus': {\n borderColor: props.isKeydownPressed\n ? props.theme.colors.surface.border.primary.muted\n : undefined,\n },\n '&[aria-selected=true]': {\n backgroundColor:\n props.selectionType === 'single'\n ? props.theme.colors.interactive.background.primary.faded\n : undefined,\n },\n '&[aria-selected=true]:hover': {\n backgroundColor: props.theme.colors.interactive.background.primary.fadedHighlighted,\n },\n };\n});\n\nexport { StyledActionListItem };\n"],"names":["StyledActionListItem","styled","BaseBox","withConfig","displayName","componentId","props","_objectSpread","getBaseActionListItemStyles","display","isVisible","backgroundColor","intent","theme","colors","interactive","background","negative","faded","gray","borderColor","isKeydownPressed","surface","border","primary","muted","undefined","selectionType","fadedHighlighted"],"mappings":";;;;;;;;AAKA,IAAMA,oBAAoB,gBAAGC,MAAM,CAACC,OAAO,CAAC,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+CAAA;EAAAC,WAAA,EAAA,cAAA;AAAA,CAA4B,CAAA,CAAA,UAACC,KAAK,EAAK;AACjF,EAAA,OAAAC,aAAA,CAAAA,aAAA,KACKC,2BAA2B,CAACF,KAAK,CAAC,CAAA,EAAA,EAAA,EAAA;AACrC;AACAG,IAAAA,OAAO,EAAEH,KAAK,CAACI,SAAS,GAAG,OAAO,GAAG,MAAM;AAC3C;AACA,IAAA,mCAAmC,EAAE;AACnCC,MAAAA,eAAe,EACbL,KAAK,CAACM,MAAM,KAAK,UAAU,GACvBN,KAAK,CAACO,KAAK,CAACC,MAAM,CAACC,WAAW,CAACC,UAAU,CAACC,QAAQ,CAACC,KAAK,GACxDZ,KAAK,CAACO,KAAK,CAACC,MAAM,CAACC,WAAW,CAACC,UAAU,CAACG,IAAI,CAAA,SAAA,CAAA;KACrD;AACD,IAAA,gBAAgB,EAAE;AAChBC,MAAAA,WAAW,EAAEd,KAAK,CAACe,gBAAgB,GAC/Bf,KAAK,CAACO,KAAK,CAACC,MAAM,CAACQ,OAAO,CAACC,MAAM,CAACC,OAAO,CAACC,KAAK,GAC/CC,SAAAA;KACL;AACD,IAAA,uBAAuB,EAAE;MACvBf,eAAe,EACbL,KAAK,CAACqB,aAAa,KAAK,QAAQ,GAC5BrB,KAAK,CAACO,KAAK,CAACC,MAAM,CAACC,WAAW,CAACC,UAAU,CAACQ,OAAO,CAACN,KAAK,GACvDQ,SAAAA;KACP;AACD,IAAA,6BAA6B,EAAE;AAC7Bf,MAAAA,eAAe,EAAEL,KAAK,CAACO,KAAK,CAACC,MAAM,CAACC,WAAW,CAACC,UAAU,CAACQ,OAAO,CAACI,gBAAAA;AACrE,KAAA;AAAC,GAAA,CAAA,CAAA;AAEL,CAAC;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getBaseActionListItemStyles.js","sources":["../../../../../../../src/components/ActionList/styles/getBaseActionListItemStyles.ts"],"sourcesContent":["import type React from 'react';\nimport type { CSSObject } from 'styled-components';\nimport type { TouchableOpacity } from 'react-native';\nimport type { ActionListItemProps } from '../ActionListItem';\nimport type { Theme } from '~components/BladeProvider';\nimport type { DropdownContextType } from '~components/Dropdown/useDropdown';\nimport { isReactNative } from '~utils';\nimport { makeSize } from '~utils/makeSize';\n\ntype StyledActionListItemProps = {\n selectionType: DropdownContextType['selectionType'];\n hasDescription: boolean;\n intent?: ActionListItemProps['intent'];\n onPress?: (e: React.TouchEvent<TouchableOpacity>) => void;\n isSelected?: boolean;\n isKeydownPressed: boolean;\n isMobile: boolean;\n isVisible?: boolean;\n};\n\nconst getBaseActionListItemStyles = (\n props: StyledActionListItemProps & { theme: Theme },\n): CSSObject => {\n return {\n // @TODO: replace this with outline token when we add\n borderWidth: makeSize(props.theme.spacing[2]),\n borderStyle: 'solid',\n borderColor: 'transparent',\n textAlign: isReactNative() ? undefined : 'left',\n backgroundColor: 'transparent',\n padding: makeSize(props.isMobile ? props.theme.spacing[3] : props.theme.spacing[2]),\n borderRadius: makeSize(props.theme.border.radius.medium),\n textDecoration: 'none',\n cursor: 'pointer',\n width: '100%',\n };\n};\n\nexport type { StyledActionListItemProps };\nexport { getBaseActionListItemStyles };\n"],"names":["getBaseActionListItemStyles","props","borderWidth","makeSize","theme","spacing","borderStyle","borderColor","textAlign","isReactNative","undefined","backgroundColor","padding","isMobile","borderRadius","border","radius","medium","textDecoration","cursor","width"],"mappings":";;;;;AAoBA,IAAMA,2BAA2B,GAAG,SAA9BA,2BAA2BA,CAC/BC,KAAmD,EACrC;EACd,OAAO;AACL;IACAC,WAAW,EAAEC,QAAQ,CAACF,KAAK,CAACG,KAAK,CAACC,OAAO,CAAC,CAAC,CAAC,CAAC;AAC7CC,IAAAA,WAAW,EAAE,OAAO;AACpBC,IAAAA,WAAW,EAAE,aAAa;AAC1BC,IAAAA,SAAS,EAAEC,aAAa,EAAE,GAAGC,SAAS,GAAG,MAAM;AAC/CC,IAAAA,eAAe,EAAE,aAAa;IAC9BC,OAAO,EAAET,QAAQ,CAACF,KAAK,CAACY,QAAQ,GAAGZ,KAAK,CAACG,KAAK,CAACC,OAAO,CAAC,CAAC,CAAC,GAAGJ,KAAK,CAACG,KAAK,CAACC,OAAO,CAAC,CAAC,CAAC,CAAC;AACnFS,IAAAA,YAAY,EAAEX,QAAQ,CAACF,KAAK,CAACG,KAAK,CAACW,MAAM,CAACC,MAAM,CAACC,MAAM,CAAC;AACxDC,IAAAA,cAAc,EAAE,MAAM;AACtBC,IAAAA,MAAM,EAAE,SAAS;AACjBC,IAAAA,KAAK,EAAE,MAAA;GACR,CAAA;AACH;;;;"}