demio-ui 1.0.34 → 1.0.35
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/cjs/index.css +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/types/src/components/Input/Input.d.ts +4 -0
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/types/src/components/Input/Input.d.ts +4 -0
- package/dist/types.d.ts +4 -0
- package/package.json +1 -1
|
@@ -17,6 +17,10 @@ type Props = {
|
|
|
17
17
|
autoComplete?: 'off' | 'on';
|
|
18
18
|
maxLength?: number;
|
|
19
19
|
counterVisibilityLimit?: number;
|
|
20
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
21
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
22
|
+
startAdornment?: React.ReactNode;
|
|
23
|
+
endAdornment?: React.ReactNode;
|
|
20
24
|
};
|
|
21
25
|
declare const Input: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>;
|
|
22
26
|
export default Input;
|
package/dist/types.d.ts
CHANGED
|
@@ -221,6 +221,10 @@ type Props = {
|
|
|
221
221
|
autoComplete?: 'off' | 'on';
|
|
222
222
|
maxLength?: number;
|
|
223
223
|
counterVisibilityLimit?: number;
|
|
224
|
+
onFocus?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
225
|
+
onBlur?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
226
|
+
startAdornment?: React__default.ReactNode;
|
|
227
|
+
endAdornment?: React__default.ReactNode;
|
|
224
228
|
};
|
|
225
229
|
declare const Input: React__default.ForwardRefExoticComponent<Props & React__default.RefAttributes<HTMLInputElement>>;
|
|
226
230
|
|