dhre-ui-kit 0.0.308 → 0.0.310
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/lib/index.d.ts +1 -0
- package/lib/index.js +8 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +8 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -2101,6 +2101,11 @@ const styles$l = StyleSheet.create({
|
|
|
2101
2101
|
textDecorationColor: "#fff",
|
|
2102
2102
|
alignSelf: "flex-start",
|
|
2103
2103
|
textAlign: "left"
|
|
2104
|
+
},
|
|
2105
|
+
subButton: {
|
|
2106
|
+
marginLeft: 9,
|
|
2107
|
+
alignSelf: "flex-start",
|
|
2108
|
+
alignItems: "flex-start"
|
|
2104
2109
|
}
|
|
2105
2110
|
});
|
|
2106
2111
|
|
|
@@ -2197,7 +2202,7 @@ const Toast = React.forwardRef(
|
|
|
2197
2202
|
)), subjectText && /* @__PURE__ */ React.createElement(View, { style: styles$l.subContainer }, /* @__PURE__ */ React.createElement(
|
|
2198
2203
|
Pressable,
|
|
2199
2204
|
{
|
|
2200
|
-
style: styles$l.
|
|
2205
|
+
style: styles$l.subButton,
|
|
2201
2206
|
onPress: onSubBtnPress || void 0,
|
|
2202
2207
|
testID: "TOAST-BTN"
|
|
2203
2208
|
},
|
|
@@ -4047,6 +4052,7 @@ const OTPInput = React.forwardRef(
|
|
|
4047
4052
|
resendOTP,
|
|
4048
4053
|
errorMessage,
|
|
4049
4054
|
testId = "",
|
|
4055
|
+
errorMessageMaxReachCountProps,
|
|
4050
4056
|
otpContainerStyle,
|
|
4051
4057
|
otpHeaderTextStyle,
|
|
4052
4058
|
textInputStyle,
|
|
@@ -4093,7 +4099,7 @@ const OTPInput = React.forwardRef(
|
|
|
4093
4099
|
const onClickResendOTP = () => {
|
|
4094
4100
|
if (resendOTPCount > maxResendCount - 1) {
|
|
4095
4101
|
setErrorMessageMaxReachCount(
|
|
4096
|
-
"You have exceeded the maximum number of attempts."
|
|
4102
|
+
errorMessageMaxReachCountProps ? errorMessageMaxReachCountProps : "You have exceeded the maximum number of attempts."
|
|
4097
4103
|
);
|
|
4098
4104
|
}
|
|
4099
4105
|
if (resendOTPCount < maxResendCount) {
|