@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 +5 -1
- package/lib/index.esm.js +828 -90
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +828 -90
- package/lib/index.js.map +1 -1
- package/lib/src/components/forms/input/Input.d.ts +3 -1
- package/lib/src/components/forms/passwordInput/PasswordInput.d.ts +2 -0
- package/package.json +1 -1
- package/src/components/floatUI/FloatUI.test.tsx +1 -19
- package/src/components/floatUI/FloatUI.tsx +17 -14
- package/src/components/forms/input/Input.tsx +8 -2
- package/src/components/forms/numberInput/NumberInput.tsx +4 -0
- package/src/components/forms/passwordInput/PasswordInput.tsx +6 -0
- package/src/storybook/formArgTypes.ts +24 -0
- package/lib/src/hooks/useClickOutside.d.ts +0 -2
- package/src/hooks/useClickOutside.tsx +0 -22
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;
|