@razorpay/blade 8.3.0 → 8.4.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 +40 -2
- package/build/components/index.native.d.ts +40 -2
- package/build/components/index.native.js +3 -3
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +8 -1
- 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 +5 -5
|
@@ -6181,7 +6181,8 @@ var CodeContainer = /*#__PURE__*/styled(BaseBox).withConfig({
|
|
|
6181
6181
|
padding: padding,
|
|
6182
6182
|
backgroundColor: props.theme.colors.brand.gray.a50.lowContrast,
|
|
6183
6183
|
borderRadius: props.theme.border.radius.medium,
|
|
6184
|
-
display: isPlatformWeb ? 'inline-block' :
|
|
6184
|
+
display: isPlatformWeb ? 'inline-block' : 'flex',
|
|
6185
|
+
alignSelf: isPlatformWeb ? undefined : 'center',
|
|
6185
6186
|
verticalAlign: 'middle',
|
|
6186
6187
|
lineHeight: makeTypographySize(props.theme.typography.lineHeights[0])
|
|
6187
6188
|
};
|
|
@@ -20002,6 +20003,11 @@ var makeBoxProps = function makeBoxProps(props) {
|
|
|
20002
20003
|
borderTopRightRadius: props.borderTopRightRadius,
|
|
20003
20004
|
borderBottomRightRadius: props.borderBottomRightRadius,
|
|
20004
20005
|
borderBottomLeftRadius: props.borderBottomLeftRadius,
|
|
20006
|
+
// callbacks
|
|
20007
|
+
onMouseEnter: props.onMouseEnter,
|
|
20008
|
+
onMouseLeave: props.onMouseLeave,
|
|
20009
|
+
onMouseOver: props.onMouseOver,
|
|
20010
|
+
onScroll: props.onScroll,
|
|
20005
20011
|
children: props.children,
|
|
20006
20012
|
as: isReactNative$4() ? undefined : props.as // as is not supported on react-native
|
|
20007
20013
|
|
|
@@ -25605,6 +25611,7 @@ var AmountValue = function AmountValue(_ref2) {
|
|
|
25605
25611
|
fontSize: amountFontSizes[size],
|
|
25606
25612
|
fontWeight: valueForWeight,
|
|
25607
25613
|
color: amountValueColor,
|
|
25614
|
+
lineHeight: amountLineHeights[size],
|
|
25608
25615
|
children: value
|
|
25609
25616
|
});
|
|
25610
25617
|
}; // This function rounds a number to a specified number of decimal places
|