@indico-data/design-system 2.34.2 → 2.34.4

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 CHANGED
@@ -940,8 +940,10 @@ interface LabelProps {
940
940
  interface BaseInputProps {
941
941
  value?: string | undefined;
942
942
  placeholder?: string;
943
- onChange: (e: React$1.ChangeEvent<HTMLInputElement>) => void;
944
943
  isDisabled?: boolean;
944
+ onChange: (e: React$1.ChangeEvent<HTMLInputElement>) => void;
945
+ onBlur?: (e: React$1.FocusEvent<HTMLInputElement>) => void;
946
+ onKeyDown?: (e: React$1.KeyboardEvent<HTMLInputElement>) => void;
945
947
  errorMessage?: string | undefined;
946
948
  helpText?: string;
947
949
  iconName?: IconName$1;
@@ -1015,6 +1017,8 @@ interface PasswordInputProps extends LabelProps {
1015
1017
  value?: string | undefined;
1016
1018
  placeholder?: string;
1017
1019
  onChange: (e: React$1.ChangeEvent<HTMLInputElement>) => void;
1020
+ onBlur?: (e: React$1.FocusEvent<HTMLInputElement>) => void;
1021
+ onKeyDown?: (e: React$1.KeyboardEvent<HTMLInputElement>) => void;
1018
1022
  isDisabled?: boolean;
1019
1023
  errorMessage?: string | undefined;
1020
1024
  helpText?: string;