@designbasekorea/ui 0.2.39 → 0.2.41

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/dist/index.d.ts CHANGED
@@ -2064,7 +2064,7 @@ interface InputProps {
2064
2064
  /** 입력 필드 클래스 */
2065
2065
  inputClassName?: string;
2066
2066
  /** 값 변경 핸들러 */
2067
- onChange?: (value: string) => void;
2067
+ onChange?: (e: React$1.ChangeEvent<HTMLInputElement>) => void;
2068
2068
  /** 포커스 핸들러 */
2069
2069
  onFocus?: (e: React$1.FocusEvent<HTMLInputElement>) => void;
2070
2070
  /** 블러 핸들러 */
package/dist/index.esm.js CHANGED
@@ -4031,7 +4031,7 @@ const Input = forwardRef(({ type = 'text', label, placeholder, defaultValue, val
4031
4031
  const errorMessageId = useId();
4032
4032
  const [showPassword, setShowPassword] = useState(false);
4033
4033
  const handleChange = (e) => {
4034
- onChange?.(e.target.value);
4034
+ onChange?.(e);
4035
4035
  };
4036
4036
  const handlePasswordToggle = () => {
4037
4037
  setShowPassword(!showPassword);