@razorpay/blade 8.2.3 → 8.4.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.
- package/build/components/index.d.ts +106 -39
- package/build/components/index.native.d.ts +106 -39
- package/build/components/index.native.js +1 -1
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +14 -2
- 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 +1 -1
|
@@ -20002,6 +20002,11 @@ var makeBoxProps = function makeBoxProps(props) {
|
|
|
20002
20002
|
borderTopRightRadius: props.borderTopRightRadius,
|
|
20003
20003
|
borderBottomRightRadius: props.borderBottomRightRadius,
|
|
20004
20004
|
borderBottomLeftRadius: props.borderBottomLeftRadius,
|
|
20005
|
+
// callbacks
|
|
20006
|
+
onMouseEnter: props.onMouseEnter,
|
|
20007
|
+
onMouseLeave: props.onMouseLeave,
|
|
20008
|
+
onMouseOver: props.onMouseOver,
|
|
20009
|
+
onScroll: props.onScroll,
|
|
20005
20010
|
children: props.children,
|
|
20006
20011
|
as: isReactNative$4() ? undefined : props.as // as is not supported on react-native
|
|
20007
20012
|
|
|
@@ -20044,7 +20049,7 @@ var makeBoxProps = function makeBoxProps(props) {
|
|
|
20044
20049
|
*/
|
|
20045
20050
|
|
|
20046
20051
|
|
|
20047
|
-
var
|
|
20052
|
+
var _Box = function _Box(props, ref) {
|
|
20048
20053
|
React__default.useEffect(function () {
|
|
20049
20054
|
validateBackgroundProp(props.backgroundColor);
|
|
20050
20055
|
}, [props.backgroundColor]);
|
|
@@ -20059,12 +20064,19 @@ var Box = function Box(props) {
|
|
|
20059
20064
|
}
|
|
20060
20065
|
}
|
|
20061
20066
|
}, [props.as]);
|
|
20062
|
-
return /*#__PURE__*/jsx(BaseBox
|
|
20067
|
+
return /*#__PURE__*/jsx(BaseBox // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
20068
|
+
, _objectSpread$F(_objectSpread$F({
|
|
20069
|
+
ref: ref
|
|
20070
|
+
}, metaAttribute({
|
|
20063
20071
|
name: MetaConstants.Box,
|
|
20064
20072
|
testID: props.testID
|
|
20065
20073
|
})), makeBoxProps(props)));
|
|
20066
20074
|
};
|
|
20067
20075
|
|
|
20076
|
+
var Box = /*#__PURE__*/assignWithoutSideEffects( /*#__PURE__*/React__default.forwardRef(_Box), {
|
|
20077
|
+
displayName: 'Box'
|
|
20078
|
+
});
|
|
20079
|
+
|
|
20068
20080
|
var CardSurface = /*#__PURE__*/styled(BaseBox).withConfig({
|
|
20069
20081
|
displayName: "CardSurfaceweb__CardSurface",
|
|
20070
20082
|
componentId: "sc-1pgxikk-0"
|