demio-ui 1.0.35 → 1.0.37

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.
@@ -1,26 +1,27 @@
1
1
  import React from 'react';
2
2
  type Props = {
3
- type?: 'text' | 'password' | 'email' | 'number' | 'search' | 'tel' | 'url';
3
+ autoComplete?: 'off' | 'on';
4
4
  className?: string;
5
- errorMessage?: string;
6
- placeholder?: string;
7
- label?: string;
8
- id: string;
9
- onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
10
- value?: string;
5
+ counterVisibilityLimit?: number;
11
6
  defaultValue?: string;
12
- required?: boolean;
13
- hint?: string;
14
7
  disabled?: boolean;
15
- optionalText?: string;
16
- name?: string;
17
- autoComplete?: 'off' | 'on';
8
+ endAdornment?: React.ReactNode;
9
+ endAdornmentClassName?: string;
10
+ errorMessage?: string;
11
+ hint?: string;
12
+ id: string;
13
+ label?: string;
18
14
  maxLength?: number;
19
- counterVisibilityLimit?: number;
20
- onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
15
+ name?: string;
16
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
21
17
  onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
18
+ onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
19
+ optionalText?: string;
20
+ placeholder?: string;
21
+ required?: boolean;
22
22
  startAdornment?: React.ReactNode;
23
- endAdornment?: React.ReactNode;
23
+ type?: 'text' | 'password' | 'email' | 'number' | 'search' | 'tel' | 'url';
24
+ value?: string;
24
25
  };
25
26
  declare const Input: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>;
26
27
  export default Input;
@@ -0,0 +1,8 @@
1
+ import React, { FC } from 'react';
2
+ type Props = {
3
+ align: 'center' | 'start' | 'end';
4
+ content: React.ReactNode;
5
+ children: React.ReactNode;
6
+ };
7
+ declare const Popover: FC<Props>;
8
+ export default Popover;
@@ -0,0 +1 @@
1
+ export { default } from './Popover';
@@ -12,3 +12,4 @@ export { default as Checkbox } from './Checkbox';
12
12
  export { default as RadioGroup } from './RadioGroup';
13
13
  export { default as InputHint } from './InputHint';
14
14
  export { default as Input } from './Input';
15
+ export { default as Popover } from './Popover';
@@ -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
- import PasswordEyeIcon from './password_eye.svg';
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, };