@razorpay/blade 9.4.1 → 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.
- package/build/components/index.d.ts +19 -14
- package/build/components/{index.web.js → index.development.web.js} +215 -127
- package/build/components/index.development.web.js.map +1 -0
- package/build/components/index.native.d.ts +17 -12
- package/build/components/index.native.js +36 -36
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.production.web.js +29819 -0
- package/build/components/index.production.web.js.map +1 -0
- package/build/css/bankingThemeDarkDesktop.css +1 -1
- package/build/css/bankingThemeDarkMobile.css +1 -1
- package/build/css/bankingThemeLightDesktop.css +1 -1
- package/build/css/bankingThemeLightMobile.css +1 -1
- package/build/css/paymentThemeDarkDesktop.css +1 -1
- package/build/css/paymentThemeDarkMobile.css +1 -1
- package/build/css/paymentThemeLightDesktop.css +1 -1
- package/build/css/paymentThemeLightMobile.css +1 -1
- package/build/tokens/{index.web.js → index.development.web.js} +21 -14
- package/build/tokens/index.development.web.js.map +1 -0
- package/build/tokens/index.native.js +2 -2
- package/build/tokens/index.native.js.map +1 -1
- package/build/tokens/index.production.web.js +8407 -0
- package/build/tokens/index.production.web.js.map +1 -0
- package/build/utils/index.d.ts +9 -5
- package/build/utils/{index.web.js → index.development.web.js} +12 -8
- package/build/utils/index.development.web.js.map +1 -0
- package/build/utils/index.native.d.ts +9 -5
- package/build/utils/index.native.js +2 -2
- package/build/utils/index.native.js.map +1 -1
- package/build/utils/index.production.web.js +322 -0
- package/build/utils/index.production.web.js.map +1 -0
- package/package.json +19 -11
- package/build/components/index.web.js.map +0 -1
- package/build/tokens/index.web.js.map +0 -1
- package/build/utils/index.web.js.map +0 -1
|
@@ -726,7 +726,7 @@ declare type ActionListProps = {
|
|
|
726
726
|
*/
|
|
727
727
|
surfaceLevel?: Exclude<SurfaceLevels, 1>;
|
|
728
728
|
} & TestID;
|
|
729
|
-
declare const ActionList: React__default.MemoExoticComponent<({ children, surfaceLevel, testID }: ActionListProps) =>
|
|
729
|
+
declare const ActionList: React__default.MemoExoticComponent<({ children, surfaceLevel, testID, }: ActionListProps) => React__default.ReactElement>;
|
|
730
730
|
|
|
731
731
|
/**
|
|
732
732
|
* Returns the value or the responsive object with that value
|
|
@@ -1925,7 +1925,7 @@ declare type ActionListItemProps = {
|
|
|
1925
1925
|
*/
|
|
1926
1926
|
_index?: number;
|
|
1927
1927
|
} & TestID;
|
|
1928
|
-
declare const ActionListSectionDivider: () =>
|
|
1928
|
+
declare const ActionListSectionDivider: () => React__default.ReactElement;
|
|
1929
1929
|
declare type ActionListSectionProps = {
|
|
1930
1930
|
title: string;
|
|
1931
1931
|
children: React__default.ReactNode[] | React__default.ReactNode;
|
|
@@ -1938,14 +1938,14 @@ declare type ActionListSectionProps = {
|
|
|
1938
1938
|
*/
|
|
1939
1939
|
_hideDivider?: boolean;
|
|
1940
1940
|
} & TestID;
|
|
1941
|
-
declare const ActionListSection: ({ title, children, testID, _hideDivider, }: ActionListSectionProps) =>
|
|
1941
|
+
declare const ActionListSection: ({ title, children, testID, _hideDivider, }: ActionListSectionProps) => React__default.ReactElement;
|
|
1942
1942
|
declare const ActionListItemIcon: ({ icon }: {
|
|
1943
1943
|
icon: IconComponent$1;
|
|
1944
|
-
}) =>
|
|
1944
|
+
}) => React__default.ReactElement;
|
|
1945
1945
|
declare const ActionListItemText: ({ children, }: {
|
|
1946
1946
|
children: StringChildrenType;
|
|
1947
1947
|
}) => React__default.ReactElement;
|
|
1948
|
-
declare const ActionListItem: React__default.MemoExoticComponent<(props: ActionListItemProps) =>
|
|
1948
|
+
declare const ActionListItem: React__default.MemoExoticComponent<(props: ActionListItemProps) => React__default.ReactElement>;
|
|
1949
1949
|
|
|
1950
1950
|
declare type ActionListItemAssetProps = {
|
|
1951
1951
|
/**
|
|
@@ -4026,21 +4026,21 @@ declare type DropdownOverlayProps = {
|
|
|
4026
4026
|
children: React.ReactElement[] | React.ReactElement;
|
|
4027
4027
|
} & TestID;
|
|
4028
4028
|
|
|
4029
|
-
declare const Dropdown: ({ children, selectionType, onDismiss, testID, ...styledProps }: DropdownProps) =>
|
|
4029
|
+
declare const Dropdown: ({ children, selectionType, onDismiss, testID, ...styledProps }: DropdownProps) => React__default.ReactElement;
|
|
4030
4030
|
|
|
4031
|
-
declare const DropdownOverlay: ({ children, testID }: DropdownOverlayProps) =>
|
|
4031
|
+
declare const DropdownOverlay: ({ children, testID }: DropdownOverlayProps) => React__default.ReactElement;
|
|
4032
4032
|
|
|
4033
4033
|
declare type DropdownButtonProps = ButtonProps & {
|
|
4034
4034
|
onBlur?: BaseButtonProps['onBlur'];
|
|
4035
4035
|
onKeyDown?: BaseButtonProps['onKeyDown'];
|
|
4036
4036
|
};
|
|
4037
|
-
declare const DropdownButton: ({ children, icon, iconPosition, isDisabled, isFullWidth, isLoading, onClick, onBlur, onKeyDown, size, type, variant, accessibilityLabel, testID, ...styledProps }: DropdownButtonProps) =>
|
|
4037
|
+
declare const DropdownButton: ({ children, icon, iconPosition, isDisabled, isFullWidth, isLoading, onClick, onBlur, onKeyDown, size, type, variant, accessibilityLabel, testID, ...styledProps }: DropdownButtonProps) => React__default.ReactElement;
|
|
4038
4038
|
|
|
4039
4039
|
declare type DropdownLinkProps = LinkButtonVariantProps & {
|
|
4040
4040
|
onBlur?: BaseLinkProps['onBlur'];
|
|
4041
4041
|
onKeyDown?: BaseLinkProps['onKeyDown'];
|
|
4042
4042
|
};
|
|
4043
|
-
declare const DropdownLink: ({ children, icon, iconPosition, onClick, onBlur, onKeyDown, isDisabled, href, target, rel, accessibilityLabel, size, testID, hitSlop, htmlTitle, ...styledProps }: DropdownLinkProps) =>
|
|
4043
|
+
declare const DropdownLink: ({ children, icon, iconPosition, onClick, onBlur, onKeyDown, isDisabled, href, target, rel, accessibilityLabel, size, testID, hitSlop, htmlTitle, ...styledProps }: DropdownLinkProps) => React__default.ReactElement;
|
|
4044
4044
|
|
|
4045
4045
|
declare type BaseHeaderProps = {
|
|
4046
4046
|
title?: string;
|
|
@@ -5528,7 +5528,7 @@ declare type CodeProps = CodeHighlightedProps | CodeNonHighlightedProps;
|
|
|
5528
5528
|
* </Box>
|
|
5529
5529
|
* ```
|
|
5530
5530
|
*/
|
|
5531
|
-
declare const Code: ({ children, size, weight, isHighlighted, color, testID, ...styledProps }: CodeProps) =>
|
|
5531
|
+
declare const Code: ({ children, size, weight, isHighlighted, color, testID, ...styledProps }: CodeProps) => React__default.ReactElement;
|
|
5532
5532
|
|
|
5533
5533
|
declare type ListItemCodeProps = Exclude<CodeProps, 'size'>;
|
|
5534
5534
|
declare const ListItemCode: ({ children, testID }: ListItemCodeProps) => React.ReactElement;
|
|
@@ -6277,7 +6277,7 @@ declare type VisuallyHiddenProps = {
|
|
|
6277
6277
|
children: React.ReactNode;
|
|
6278
6278
|
} & TestID;
|
|
6279
6279
|
|
|
6280
|
-
declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) =>
|
|
6280
|
+
declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => React__default.ReactElement;
|
|
6281
6281
|
|
|
6282
6282
|
/**
|
|
6283
6283
|
* Screen reader class adapted from webaim
|
|
@@ -6518,9 +6518,14 @@ declare type TooltipProps = {
|
|
|
6518
6518
|
onOpenChange?: ({ isOpen }: {
|
|
6519
6519
|
isOpen: boolean;
|
|
6520
6520
|
}) => void;
|
|
6521
|
+
/**
|
|
6522
|
+
* Sets the z-index of the modal
|
|
6523
|
+
* @default 1100
|
|
6524
|
+
*/
|
|
6525
|
+
zIndex?: number;
|
|
6521
6526
|
};
|
|
6522
6527
|
|
|
6523
|
-
declare const Tooltip: ({ content, children, placement, onOpenChange, }: TooltipProps) => React__default.ReactElement;
|
|
6528
|
+
declare const Tooltip: ({ content, children, placement, onOpenChange, zIndex, }: TooltipProps) => React__default.ReactElement;
|
|
6524
6529
|
|
|
6525
6530
|
declare const TooltipInteractiveWrapper: React__default.ForwardRefExoticComponent<PressableProps & React__default.RefAttributes<View>>;
|
|
6526
6531
|
|