@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.
- package/build/components/index.d.ts +0 -1
- package/build/components/index.development.web.js +2 -3
- package/build/components/index.development.web.js.map +1 -1
- package/build/components/index.native.d.ts +0 -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
|
@@ -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:
|
|
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(
|
|
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
|
};
|