@razorpay/blade 9.5.0 → 9.5.1

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.
@@ -728,7 +728,7 @@ declare type ActionListProps = {
728
728
  */
729
729
  surfaceLevel?: Exclude<SurfaceLevels, 1>;
730
730
  } & TestID$1;
731
- declare const ActionList: React__default.MemoExoticComponent<({ children, surfaceLevel, testID }: ActionListProps) => JSX.Element>;
731
+ declare const ActionList: React__default.MemoExoticComponent<({ children, surfaceLevel, testID, }: ActionListProps) => React__default.ReactElement>;
732
732
 
733
733
  /**
734
734
  * Returns the value or the responsive object with that value
@@ -1927,7 +1927,7 @@ declare type ActionListItemProps = {
1927
1927
  */
1928
1928
  _index?: number;
1929
1929
  } & TestID$1;
1930
- declare const ActionListSectionDivider: () => JSX.Element;
1930
+ declare const ActionListSectionDivider: () => React__default.ReactElement;
1931
1931
  declare type ActionListSectionProps = {
1932
1932
  title: string;
1933
1933
  children: React__default.ReactNode[] | React__default.ReactNode;
@@ -1940,14 +1940,14 @@ declare type ActionListSectionProps = {
1940
1940
  */
1941
1941
  _hideDivider?: boolean;
1942
1942
  } & TestID$1;
1943
- declare const ActionListSection: ({ title, children, testID, _hideDivider, }: ActionListSectionProps) => JSX.Element;
1943
+ declare const ActionListSection: ({ title, children, testID, _hideDivider, }: ActionListSectionProps) => React__default.ReactElement;
1944
1944
  declare const ActionListItemIcon: ({ icon }: {
1945
1945
  icon: IconComponent$1;
1946
- }) => JSX.Element;
1946
+ }) => React__default.ReactElement;
1947
1947
  declare const ActionListItemText: ({ children, }: {
1948
1948
  children: StringChildrenType;
1949
1949
  }) => React__default.ReactElement;
1950
- declare const ActionListItem: React__default.MemoExoticComponent<(props: ActionListItemProps) => JSX.Element>;
1950
+ declare const ActionListItem: React__default.MemoExoticComponent<(props: ActionListItemProps) => React__default.ReactElement>;
1951
1951
 
1952
1952
  declare type ActionListItemAssetProps = {
1953
1953
  /**
@@ -4313,21 +4313,21 @@ declare type DropdownOverlayProps = {
4313
4313
  children: React.ReactElement[] | React.ReactElement;
4314
4314
  } & TestID$1;
4315
4315
 
4316
- declare const Dropdown: ({ children, selectionType, onDismiss, testID, ...styledProps }: DropdownProps) => JSX.Element;
4316
+ declare const Dropdown: ({ children, selectionType, onDismiss, testID, ...styledProps }: DropdownProps) => React__default.ReactElement;
4317
4317
 
4318
- declare const DropdownOverlay: ({ children, testID }: DropdownOverlayProps) => JSX.Element;
4318
+ declare const DropdownOverlay: ({ children, testID }: DropdownOverlayProps) => React__default.ReactElement;
4319
4319
 
4320
4320
  declare type DropdownButtonProps = ButtonProps & {
4321
4321
  onBlur?: BaseButtonProps['onBlur'];
4322
4322
  onKeyDown?: BaseButtonProps['onKeyDown'];
4323
4323
  };
4324
- declare const DropdownButton: ({ children, icon, iconPosition, isDisabled, isFullWidth, isLoading, onClick, onBlur, onKeyDown, size, type, variant, accessibilityLabel, testID, ...styledProps }: DropdownButtonProps) => JSX.Element;
4324
+ declare const DropdownButton: ({ children, icon, iconPosition, isDisabled, isFullWidth, isLoading, onClick, onBlur, onKeyDown, size, type, variant, accessibilityLabel, testID, ...styledProps }: DropdownButtonProps) => React__default.ReactElement;
4325
4325
 
4326
4326
  declare type DropdownLinkProps = LinkButtonVariantProps & {
4327
4327
  onBlur?: BaseLinkProps['onBlur'];
4328
4328
  onKeyDown?: BaseLinkProps['onKeyDown'];
4329
4329
  };
4330
- declare const DropdownLink: ({ children, icon, iconPosition, onClick, onBlur, onKeyDown, isDisabled, href, target, rel, accessibilityLabel, size, testID, hitSlop, htmlTitle, ...styledProps }: DropdownLinkProps) => JSX.Element;
4330
+ declare const DropdownLink: ({ children, icon, iconPosition, onClick, onBlur, onKeyDown, isDisabled, href, target, rel, accessibilityLabel, size, testID, hitSlop, htmlTitle, ...styledProps }: DropdownLinkProps) => React__default.ReactElement;
4331
4331
 
4332
4332
  declare type BaseHeaderProps = {
4333
4333
  title?: string;
@@ -5815,7 +5815,7 @@ declare type CodeProps = CodeHighlightedProps | CodeNonHighlightedProps;
5815
5815
  * </Box>
5816
5816
  * ```
5817
5817
  */
5818
- declare const Code: ({ children, size, weight, isHighlighted, color, testID, ...styledProps }: CodeProps) => JSX.Element;
5818
+ declare const Code: ({ children, size, weight, isHighlighted, color, testID, ...styledProps }: CodeProps) => React__default.ReactElement;
5819
5819
 
5820
5820
  declare type ListItemCodeProps = Exclude<CodeProps, 'size'>;
5821
5821
  declare const ListItemCode: ({ children, testID }: ListItemCodeProps) => React.ReactElement;
@@ -6430,11 +6430,11 @@ declare type SkipNavLinkProps = {
6430
6430
  id?: string;
6431
6431
  children?: StringChildrenType;
6432
6432
  };
6433
- declare const SkipNavLink: ({ id, children, }: SkipNavLinkProps) => JSX.Element;
6433
+ declare const SkipNavLink: ({ id, children, }: SkipNavLinkProps) => React__default.ReactElement;
6434
6434
  declare type SkipNavContentProps = {
6435
6435
  id?: string;
6436
6436
  } & TestID$1;
6437
- declare const SkipNavContent: ({ id, testID, }: SkipNavContentProps) => JSX.Element;
6437
+ declare const SkipNavContent: ({ id, testID, }: SkipNavContentProps) => React__default.ReactElement;
6438
6438
 
6439
6439
  declare type OnChange = ({ isChecked, value, event, }: {
6440
6440
  isChecked: boolean;
@@ -6900,7 +6900,7 @@ declare type VisuallyHiddenProps = {
6900
6900
  children: React.ReactNode;
6901
6901
  } & TestID$1;
6902
6902
 
6903
- declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => JSX.Element;
6903
+ declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => React__default.ReactElement;
6904
6904
 
6905
6905
  /**
6906
6906
  * Screen reader class adapted from webaim
@@ -4727,7 +4727,7 @@ var makeStyledProps = function makeStyledProps(props) {
4727
4727
  * // ... Your Props
4728
4728
  * } & StyledPropsBlade;
4729
4729
  *
4730
- * const MyComponent = (props: MyComponentProps): JSX.Element => {
4730
+ * const MyComponent = (props: MyComponentProps): React.ReactElement => {
4731
4731
  * return (
4732
4732
  * // Make sure styledProps come last so they take priority in stylings in-case of overrides
4733
4733
  * <BaseBox someOtherProp={someValue} {...getStyledProps(props)}>
@@ -4798,7 +4798,7 @@ function _objectSpread$5R(target) { for (var i = 1; i < arguments.length; i++) {
4798
4798
  * // ... Your Props
4799
4799
  * } & StyledPropsBlade;
4800
4800
  *
4801
- * const MyComponent = (props: MyComponentProps): JSX.Element => {
4801
+ * const MyComponent = (props: MyComponentProps): React.ReactElement => {
4802
4802
  * return (
4803
4803
  * // Make sure styledProps come last so they take priority in stylings in-case of overrides
4804
4804
  * <BaseBox {...getStyledProps(props)}>