demio-ui 1.0.34 → 1.0.36
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 +17 -12
- package/dist/cjs/types/src/icons/index.d.ts +4 -3
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/types/src/components/Input/Input.d.ts +17 -12
- package/dist/esm/types/src/icons/index.d.ts +4 -3
- package/dist/types.d.ts +164 -144
- package/package.json +1 -1
|
@@ -1,22 +1,27 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type Props = {
|
|
3
|
-
|
|
3
|
+
autoComplete?: 'off' | 'on';
|
|
4
4
|
className?: string;
|
|
5
|
+
counterVisibilityLimit?: number;
|
|
6
|
+
defaultValue?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
endAdornment?: React.ReactNode;
|
|
9
|
+
endAdornmentClassName?: string;
|
|
5
10
|
errorMessage?: string;
|
|
6
|
-
|
|
7
|
-
label?: string;
|
|
11
|
+
hint?: string;
|
|
8
12
|
id: string;
|
|
13
|
+
label?: string;
|
|
14
|
+
maxLength?: number;
|
|
15
|
+
name?: string;
|
|
9
16
|
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
required?: boolean;
|
|
13
|
-
hint?: string;
|
|
14
|
-
disabled?: boolean;
|
|
17
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
18
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
15
19
|
optionalText?: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
placeholder?: string;
|
|
21
|
+
required?: boolean;
|
|
22
|
+
startAdornment?: React.ReactNode;
|
|
23
|
+
type?: 'text' | 'password' | 'email' | 'number' | 'search' | 'tel' | 'url';
|
|
24
|
+
value?: string;
|
|
20
25
|
};
|
|
21
26
|
declare const Input: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>;
|
|
22
27
|
export default Input;
|
|
@@ -14,7 +14,10 @@ import MicOffIcon from './mic_off-1.svg';
|
|
|
14
14
|
import MicOffSolidIcon from './mic_off.svg';
|
|
15
15
|
import MicOnfIcon from './mic.svg';
|
|
16
16
|
import MicOnSolidIcon from './mic-1.svg';
|
|
17
|
+
import PasswordEyeIcon from './password_eye.svg';
|
|
18
|
+
import PasswordEyeCrossedIcon from './password_eye_crossed.svg';
|
|
17
19
|
import PlayIcon from './play.svg';
|
|
20
|
+
import SmileIcon from './smile.svg';
|
|
18
21
|
import VideoCamOffIcon from './videocam_off.svg';
|
|
19
22
|
import VideoCamOffSolidIcon from './videocam_off-1.svg';
|
|
20
23
|
import VideoCamOnIcon from './videocam.svg';
|
|
@@ -25,6 +28,4 @@ import VolumeUpIcon from './volume_up-1.svg';
|
|
|
25
28
|
import VolumeUpSolidIcon from './volume_up.svg';
|
|
26
29
|
import WarningIcon from './warning-1.svg';
|
|
27
30
|
import WarningSolidIcon from './warning.svg';
|
|
28
|
-
|
|
29
|
-
import PasswordEyeCrossedIcon from './password_eye_crossed.svg';
|
|
30
|
-
export { AddIcon, ArrowDownIcon, BlockIcon, BlurOnIcon, CachedIcon, CheckboxIcon, CheckboxUncheckIcon, CheckCircleIcon, CloseIcon, DeleteIcon, InfoIcon, InfoSolidIcon, MicOffIcon, MicOffSolidIcon, MicOnfIcon, MicOnSolidIcon, PasswordEyeIcon, PasswordEyeCrossedIcon, PlayIcon, VideoCamOffIcon, VideoCamOffSolidIcon, VideoCamOnIcon, VideoCamOnSolidIcon, VolumeOffIcon, VolumeOffSolidIcon, VolumeUpIcon, VolumeUpSolidIcon, WarningIcon, WarningSolidIcon, };
|
|
31
|
+
export { AddIcon, ArrowDownIcon, BlockIcon, BlurOnIcon, CachedIcon, CheckboxIcon, CheckboxUncheckIcon, CheckCircleIcon, CloseIcon, DeleteIcon, InfoIcon, InfoSolidIcon, MicOffIcon, MicOffSolidIcon, MicOnfIcon, MicOnSolidIcon, PasswordEyeIcon, PasswordEyeCrossedIcon, PlayIcon, SmileIcon, VideoCamOffIcon, VideoCamOffSolidIcon, VideoCamOnIcon, VideoCamOnSolidIcon, VolumeOffIcon, VolumeOffSolidIcon, VolumeUpIcon, VolumeUpSolidIcon, WarningIcon, WarningSolidIcon, };
|