@aveonline/ui-react 2.26.0 → 2.27.0

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.
@@ -22,7 +22,7 @@ interface IconProps {
22
22
  /**
23
23
  * Optional event click
24
24
  */
25
- onClick?: (() => void) | ((event: MouseEvent<SVGSVGElement> | FocusEvent<HTMLInputElement, Element>) => void);
25
+ onClick?: (() => void) | ((event: FocusEvent<HTMLInputElement, Element>) => void) | ((event: MouseEvent<HTMLButtonElement>) => void);
26
26
  /**
27
27
  * More class optional container
28
28
  */
@@ -1,3 +1,3 @@
1
1
  import { ICustomInput } from '../IDateInputPicker';
2
- declare function CustomInput({ openCalendar, value, handleValueChange, clickDelete, auxInitialValue, textInsideInput, isError, isDisable, stateColors }: ICustomInput): JSX.Element;
2
+ declare function CustomInput({ openCalendar, value, handleValueChange, clickDelete, auxInitialValue, textInsideInput, isError, isDisable, stateColors, withTime }: ICustomInput): JSX.Element;
3
3
  export default CustomInput;
@@ -1,3 +1,3 @@
1
1
  import { IDateInputPickerType } from './IDateInputPicker';
2
- declare function DateInputPicker({ type, valueInput, textInsideInput, isError, isDisable, textRangeInput, singleInitialValueInput, rangeInitialValueInput, textRangeInitialValueInput, labelRangelTextNull, containerClassName }: IDateInputPickerType): JSX.Element;
2
+ declare function DateInputPicker({ type, valueInput, textInsideInput, isError, isDisable, textRangeInput, singleInitialValueInput, rangeInitialValueInput, textRangeInitialValueInput, labelRangelTextNull, containerClassName, withTime }: IDateInputPickerType): JSX.Element;
3
3
  export default DateInputPicker;
@@ -13,6 +13,7 @@ interface IDateInputPickerType {
13
13
  textRangeInitialValueInput?: string;
14
14
  labelRangelTextNull?: string;
15
15
  containerClassName?: string;
16
+ withTime?: boolean;
16
17
  }
17
18
  interface ICustomInput {
18
19
  openCalendar?: (event: FocusEvent<HTMLInputElement, Element>) => void;
@@ -24,6 +25,7 @@ interface ICustomInput {
24
25
  isError?: boolean;
25
26
  isDisable?: boolean;
26
27
  stateColors?: boolean;
28
+ withTime: boolean;
27
29
  }
28
30
  interface ICustomRangeInput {
29
31
  openCalendar?: (event: FocusEvent<HTMLInputElement, Element>) => void;