@razorpay/blade 10.4.0 → 10.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.development.web.js +2 -3
- package/build/components/index.development.web.js.map +1 -1
- package/build/components/index.native.js +2 -2
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.production.web.js +2 -3
- package/build/components/index.production.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
|
@@ -24696,7 +24696,6 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
24696
24696
|
var showError = validationState === 'error' && errorText;
|
|
24697
24697
|
var showHelpText = !showError && helpText;
|
|
24698
24698
|
var accessibilityText = "".concat(showError ? errorText : '', " ").concat(showHelpText ? helpText : '').trim();
|
|
24699
|
-
var isReactNative = getPlatformType() === 'react-native';
|
|
24700
24699
|
var gap = radioSizes.group.gap[size][matchedDeviceType];
|
|
24701
24700
|
var childCount = React__default.Children.count(children);
|
|
24702
24701
|
return /*#__PURE__*/jsx(RadioGroupProvider, {
|
|
@@ -24705,7 +24704,7 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
24705
24704
|
children: /*#__PURE__*/jsxs(SelectorGroupField, {
|
|
24706
24705
|
position: labelPosition,
|
|
24707
24706
|
labelledBy: ids.labelId,
|
|
24708
|
-
accessibilityRole:
|
|
24707
|
+
accessibilityRole: "radiogroup",
|
|
24709
24708
|
componentName: "radio-group",
|
|
24710
24709
|
testID: testID,
|
|
24711
24710
|
children: [/*#__PURE__*/jsx(FormLabel, {
|
|
@@ -25917,7 +25916,7 @@ var AmountValue = function AmountValue(_ref2) {
|
|
|
25917
25916
|
// This function rounds a number to a specified number of decimal places
|
|
25918
25917
|
// and floors the result.
|
|
25919
25918
|
var getFlooredFixed = function getFlooredFixed(value, decimalPlaces) {
|
|
25920
|
-
var factor = Math.pow(
|
|
25919
|
+
var factor = Math.pow(100, decimalPlaces);
|
|
25921
25920
|
var roundedValue = Math.floor(value * factor) / factor;
|
|
25922
25921
|
return Number(roundedValue.toFixed(decimalPlaces));
|
|
25923
25922
|
};
|