@razorpay/blade 10.4.0 → 10.4.2

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.
@@ -24249,7 +24249,6 @@ var RadioGroup = function RadioGroup(_ref) {
24249
24249
  var showError = validationState === 'error' && errorText;
24250
24250
  var showHelpText = !showError && helpText;
24251
24251
  var accessibilityText = "".concat(showError ? errorText : '', " ").concat(showHelpText ? helpText : '').trim();
24252
- var isReactNative = getPlatformType() === 'react-native';
24253
24252
  var gap = radioSizes.group.gap[size][matchedDeviceType];
24254
24253
  var childCount = React__default.Children.count(children);
24255
24254
  return /*#__PURE__*/jsx(RadioGroupProvider, {
@@ -24258,7 +24257,7 @@ var RadioGroup = function RadioGroup(_ref) {
24258
24257
  children: /*#__PURE__*/jsxs(SelectorGroupField, {
24259
24258
  position: labelPosition,
24260
24259
  labelledBy: ids.labelId,
24261
- accessibilityRole: isReactNative ? 'radiogroup' : 'group',
24260
+ accessibilityRole: "radiogroup",
24262
24261
  componentName: "radio-group",
24263
24262
  testID: testID,
24264
24263
  children: [/*#__PURE__*/jsx(FormLabel, {
@@ -25470,7 +25469,7 @@ var AmountValue = function AmountValue(_ref2) {
25470
25469
  // This function rounds a number to a specified number of decimal places
25471
25470
  // and floors the result.
25472
25471
  var getFlooredFixed = function getFlooredFixed(value, decimalPlaces) {
25473
- var factor = Math.pow(10, decimalPlaces);
25472
+ var factor = Math.pow(100, decimalPlaces);
25474
25473
  var roundedValue = Math.floor(value * factor) / factor;
25475
25474
  return Number(roundedValue.toFixed(decimalPlaces));
25476
25475
  };