@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
|
@@ -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) =>
|
|
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: () =>
|
|
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) =>
|
|
1943
|
+
declare const ActionListSection: ({ title, children, testID, _hideDivider, }: ActionListSectionProps) => React__default.ReactElement;
|
|
1944
1944
|
declare const ActionListItemIcon: ({ icon }: {
|
|
1945
1945
|
icon: IconComponent$1;
|
|
1946
|
-
}) =>
|
|
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) =>
|
|
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) =>
|
|
4316
|
+
declare const Dropdown: ({ children, selectionType, onDismiss, testID, ...styledProps }: DropdownProps) => React__default.ReactElement;
|
|
4317
4317
|
|
|
4318
|
-
declare const DropdownOverlay: ({ children, testID }: DropdownOverlayProps) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
6903
|
+
declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => React__default.ReactElement;
|
|
6904
6904
|
|
|
6905
6905
|
/**
|
|
6906
6906
|
* Screen reader class adapted from webaim
|
|
@@ -7141,9 +7141,14 @@ declare type TooltipProps = {
|
|
|
7141
7141
|
onOpenChange?: ({ isOpen }: {
|
|
7142
7142
|
isOpen: boolean;
|
|
7143
7143
|
}) => void;
|
|
7144
|
+
/**
|
|
7145
|
+
* Sets the z-index of the modal
|
|
7146
|
+
* @default 1100
|
|
7147
|
+
*/
|
|
7148
|
+
zIndex?: number;
|
|
7144
7149
|
};
|
|
7145
7150
|
|
|
7146
|
-
declare const Tooltip: ({ content, children, placement, onOpenChange, }: TooltipProps) => React__default.ReactElement;
|
|
7151
|
+
declare const Tooltip: ({ content, children, placement, onOpenChange, zIndex, }: TooltipProps) => React__default.ReactElement;
|
|
7147
7152
|
|
|
7148
7153
|
declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, Omit<Partial<PaddingProps & MarginProps & {
|
|
7149
7154
|
width: SpacingValueType | {
|