@razorpay/blade 8.10.2 → 8.10.3
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 +4 -3
- package/build/components/index.native.d.ts +4 -3
- package/build/components/index.native.js +2 -1
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +147 -33
- package/build/components/index.web.js.map +1 -1
- 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/package.json +3 -3
|
@@ -1091,9 +1091,10 @@ type SpacingValueType$1 =
|
|
|
1091
1091
|
| DotNotationSpacingStringToken
|
|
1092
1092
|
| `${string}${SpaceUnits$1}`
|
|
1093
1093
|
| `calc(${string})`
|
|
1094
|
+
| 'auto'
|
|
1094
1095
|
| `min(${string})`
|
|
1095
1096
|
| `max(${string})`
|
|
1096
|
-
| '
|
|
1097
|
+
| 'max-content'
|
|
1097
1098
|
| 'none';
|
|
1098
1099
|
|
|
1099
1100
|
type MarginProps$1 = MakeObjectResponsive$1<{
|
|
@@ -1771,7 +1772,7 @@ declare type MakeObjectResponsive<T, K extends keyof T = Extract<keyof T, string
|
|
|
1771
1772
|
|
|
1772
1773
|
declare type ArrayOfMaxLength4<T> = readonly [T?, T?, T?, T?];
|
|
1773
1774
|
declare type SpaceUnits = 'px' | '%' | 'fr' | 'rem' | 'em' | 'vh' | 'vw';
|
|
1774
|
-
declare type SpacingValueType = DotNotationSpacingStringToken | `${string}${SpaceUnits}` | `calc(${string})` | `min(${string})` | `max(${string})` | '
|
|
1775
|
+
declare type SpacingValueType = DotNotationSpacingStringToken | `${string}${SpaceUnits}` | `calc(${string})` | 'auto' | `min(${string})` | `max(${string})` | 'max-content' | 'none';
|
|
1775
1776
|
/**
|
|
1776
1777
|
* @IMPORTANT
|
|
1777
1778
|
*
|
|
@@ -2838,7 +2839,7 @@ declare const CardBody: ({ children, testID }: CardBodyProps) => React__default.
|
|
|
2838
2839
|
|
|
2839
2840
|
type BladeElementRef = Platform.Select<{
|
|
2840
2841
|
web:
|
|
2841
|
-
| Pick<HTMLElement, 'focus' | 'scrollIntoView' | 'getBoundingClientRect'>
|
|
2842
|
+
| Pick<HTMLElement, 'focus' | 'scrollIntoView' | 'getBoundingClientRect' | 'clientHeight'>
|
|
2842
2843
|
| Pick<View, 'focus'>;
|
|
2843
2844
|
native: React.MutableRefObject<any>;
|
|
2844
2845
|
}>;
|
|
@@ -1090,9 +1090,10 @@ type SpacingValueType$1 =
|
|
|
1090
1090
|
| DotNotationSpacingStringToken
|
|
1091
1091
|
| `${string}${SpaceUnits$1}`
|
|
1092
1092
|
| `calc(${string})`
|
|
1093
|
+
| 'auto'
|
|
1093
1094
|
| `min(${string})`
|
|
1094
1095
|
| `max(${string})`
|
|
1095
|
-
| '
|
|
1096
|
+
| 'max-content'
|
|
1096
1097
|
| 'none';
|
|
1097
1098
|
|
|
1098
1099
|
type MarginProps$1 = MakeObjectResponsive$1<{
|
|
@@ -1772,7 +1773,7 @@ declare type MakeObjectResponsive<T, K extends keyof T = Extract<keyof T, string
|
|
|
1772
1773
|
|
|
1773
1774
|
declare type ArrayOfMaxLength4<T> = readonly [T?, T?, T?, T?];
|
|
1774
1775
|
declare type SpaceUnits = 'px' | '%' | 'fr' | 'rem' | 'em' | 'vh' | 'vw';
|
|
1775
|
-
declare type SpacingValueType = DotNotationSpacingStringToken | `${string}${SpaceUnits}` | `calc(${string})` | `min(${string})` | `max(${string})` | '
|
|
1776
|
+
declare type SpacingValueType = DotNotationSpacingStringToken | `${string}${SpaceUnits}` | `calc(${string})` | 'auto' | `min(${string})` | `max(${string})` | 'max-content' | 'none';
|
|
1776
1777
|
/**
|
|
1777
1778
|
* @IMPORTANT
|
|
1778
1779
|
*
|
|
@@ -2685,7 +2686,7 @@ declare const CardBody: ({ children, testID }: CardBodyProps) => React__default.
|
|
|
2685
2686
|
|
|
2686
2687
|
type BladeElementRef = Platform.Select<{
|
|
2687
2688
|
web:
|
|
2688
|
-
| Pick<HTMLElement, 'focus' | 'scrollIntoView' | 'getBoundingClientRect'>
|
|
2689
|
+
| Pick<HTMLElement, 'focus' | 'scrollIntoView' | 'getBoundingClientRect' | 'clientHeight'>
|
|
2689
2690
|
| Pick<View, 'focus'>;
|
|
2690
2691
|
native: React.MutableRefObject<any>;
|
|
2691
2692
|
}>;
|
|
@@ -12,8 +12,9 @@ import { GestureHandlerRootView } from 'react-native-gesture-handler';
|
|
|
12
12
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
import GorhomBottomSheet, { BottomSheetSectionList, BottomSheetScrollView, BottomSheetBackdrop as BottomSheetBackdrop$1, BottomSheetFooter as BottomSheetFooter$1 } from '@gorhom/bottom-sheet';
|
|
15
|
-
import { ClipPath as ClipPath$1, Circle as Circle$1, Defs as Defs$1, G as G$1, Path as Path$1, Rect as Rect$1, Svg as Svg$1 } from 'react-native-svg';
|
|
16
15
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
16
|
+
import '@floating-ui/react';
|
|
17
|
+
import { ClipPath as ClipPath$1, Circle as Circle$1, Defs as Defs$1, G as G$1, Path as Path$1, Rect as Rect$1, Svg as Svg$1 } from 'react-native-svg';
|
|
17
18
|
import { useFloating, shift, flip, offset, arrow } from '@floating-ui/react-native';
|
|
18
19
|
|
|
19
20
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|