dhre-ui-kit 0.0.246 → 0.0.247

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.js CHANGED
@@ -4010,15 +4010,18 @@ const styles$5 = reactNative.StyleSheet.create({
4010
4010
  textDecorationLine: "underline"
4011
4011
  },
4012
4012
  resendOTPStyle: {
4013
- alignSelf: "flex-end",
4014
- marginTop: verticalScale(8)
4013
+ alignSelf: "flex-end"
4015
4014
  },
4016
4015
  timerContainer: {
4017
4016
  flexDirection: "row",
4018
4017
  justifyContent: "space-between",
4019
4018
  marginTop: verticalScale(8)
4020
4019
  },
4021
- timerIconContainer: { flexDirection: "row", gap: horizontalScale(8) }
4020
+ timerIconContainer: {
4021
+ flexDirection: "row",
4022
+ gap: horizontalScale(8),
4023
+ alignItems: "center"
4024
+ }
4022
4025
  });
4023
4026
 
4024
4027
  const OTPInput = React__default["default"].forwardRef(
@@ -4194,12 +4197,12 @@ const OTPInput = React__default["default"].forwardRef(
4194
4197
  autoComplete: "sms-otp",
4195
4198
  selectionColor: theme$1.CONTENT_PRIMARY
4196
4199
  }
4197
- ))), !errorMessageMaxReachCount && /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$5.timerContainer }, timeLeft !== 0 && /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$5.timerIconContainer }, timerIcon, /* @__PURE__ */ React__default["default"].createElement(
4200
+ ))), !errorMessageMaxReachCount && /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$5.timerContainer }, (disableResendButton() || !isResendOtpEnable) && /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$5.timerIconContainer }, timerIcon, /* @__PURE__ */ React__default["default"].createElement(
4198
4201
  CustomTypography,
4199
4202
  {
4200
- text: `${timeLeft} sec`,
4201
- variant: FontStyle.L2_REGULAR,
4202
- style: { color: theme$1.CONTENT_PRIMARY }
4203
+ text: `00:${timeLeft} secs`,
4204
+ variant: FontStyle.L1_REGULAR,
4205
+ style: { color: theme$1.INFO }
4203
4206
  }
4204
4207
  )), /* @__PURE__ */ React__default["default"].createElement(
4205
4208
  reactNative.Pressable,