@razorpay/blade 8.2.3 → 8.3.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 +67 -38
- package/build/components/index.native.d.ts +67 -38
- package/build/components/index.native.js +1 -1
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +9 -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
|
@@ -20044,7 +20044,7 @@ var makeBoxProps = function makeBoxProps(props) {
|
|
|
20044
20044
|
*/
|
|
20045
20045
|
|
|
20046
20046
|
|
|
20047
|
-
var
|
|
20047
|
+
var _Box = function _Box(props, ref) {
|
|
20048
20048
|
React__default.useEffect(function () {
|
|
20049
20049
|
validateBackgroundProp(props.backgroundColor);
|
|
20050
20050
|
}, [props.backgroundColor]);
|
|
@@ -20059,12 +20059,19 @@ var Box = function Box(props) {
|
|
|
20059
20059
|
}
|
|
20060
20060
|
}
|
|
20061
20061
|
}, [props.as]);
|
|
20062
|
-
return /*#__PURE__*/jsx(BaseBox
|
|
20062
|
+
return /*#__PURE__*/jsx(BaseBox // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
20063
|
+
, _objectSpread$F(_objectSpread$F({
|
|
20064
|
+
ref: ref
|
|
20065
|
+
}, metaAttribute({
|
|
20063
20066
|
name: MetaConstants.Box,
|
|
20064
20067
|
testID: props.testID
|
|
20065
20068
|
})), makeBoxProps(props)));
|
|
20066
20069
|
};
|
|
20067
20070
|
|
|
20071
|
+
var Box = /*#__PURE__*/assignWithoutSideEffects( /*#__PURE__*/React__default.forwardRef(_Box), {
|
|
20072
|
+
displayName: 'Box'
|
|
20073
|
+
});
|
|
20074
|
+
|
|
20068
20075
|
var CardSurface = /*#__PURE__*/styled(BaseBox).withConfig({
|
|
20069
20076
|
displayName: "CardSurfaceweb__CardSurface",
|
|
20070
20077
|
componentId: "sc-1pgxikk-0"
|