dhre-ui-kit 0.0.327 → 0.0.329

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.mjs CHANGED
@@ -3559,7 +3559,8 @@ const CustomDropdown = (props) => {
3559
3559
  activeColor,
3560
3560
  keepPlaceholderOnFocus = false,
3561
3561
  selectedItemTextStyle,
3562
- disable
3562
+ disable,
3563
+ autoScroll = true
3563
3564
  } = props;
3564
3565
  const [value, setValue] = useState(defaultValue);
3565
3566
  const [isFocus, setIsFocus] = useState(false);
@@ -3632,7 +3633,8 @@ const CustomDropdown = (props) => {
3632
3633
  containerStyle: menuContainerStyle,
3633
3634
  activeColor,
3634
3635
  itemContainerStyle: [styles$8.itemListStyle, itemContainerStyle],
3635
- disable
3636
+ disable,
3637
+ autoScroll
3636
3638
  }
3637
3639
  ));
3638
3640
  };
@@ -4042,6 +4044,7 @@ const OTPInput = React.forwardRef(
4042
4044
  ({
4043
4045
  length = 4,
4044
4046
  onComplete,
4047
+ onChangeCallback,
4045
4048
  resendOTP,
4046
4049
  errorMessage,
4047
4050
  testId = "",
@@ -4176,6 +4179,8 @@ const OTPInput = React.forwardRef(
4176
4179
  useEffect(() => {
4177
4180
  if (otp.length === length) {
4178
4181
  onComplete?.(otp);
4182
+ } else {
4183
+ onChangeCallback && onChangeCallback?.(otp);
4179
4184
  }
4180
4185
  }, [otp]);
4181
4186
  return /* @__PURE__ */ React.createElement(ThemeProvider, null, /* @__PURE__ */ React.createElement(View, { style: { ...otpContainerStyle }, "data-testid": testId }, /* @__PURE__ */ React.createElement(