@razorpay/blade 5.1.3 → 5.1.5
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/CHANGELOG.md +14 -0
- package/build/components/index.d.ts +7 -3
- package/build/components/index.native.d.ts +7 -3
- package/build/components/index.native.js +1 -1
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +4 -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
|
@@ -9704,7 +9704,8 @@ var OTPInput = function OTPInput(_ref) {
|
|
|
9704
9704
|
placeholder = _ref.placeholder,
|
|
9705
9705
|
successText = _ref.successText,
|
|
9706
9706
|
validationState = _ref.validationState,
|
|
9707
|
-
inputValue = _ref.value
|
|
9707
|
+
inputValue = _ref.value,
|
|
9708
|
+
isMasked = _ref.isMasked;
|
|
9708
9709
|
var inputRefs = [];
|
|
9709
9710
|
|
|
9710
9711
|
var _useState = useState(otpToArray(inputValue)),
|
|
@@ -9924,7 +9925,8 @@ var OTPInput = function OTPInput(_ref) {
|
|
|
9924
9925
|
successText: successText,
|
|
9925
9926
|
errorText: errorText,
|
|
9926
9927
|
helpText: helpText,
|
|
9927
|
-
hideFormHint: true
|
|
9928
|
+
hideFormHint: true,
|
|
9929
|
+
type: isMasked ? 'password' : undefined
|
|
9928
9930
|
})
|
|
9929
9931
|
}, "".concat(inputId, "-").concat(index)));
|
|
9930
9932
|
};
|