fis-component 0.0.67 → 0.0.69

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,10 +1,12 @@
1
1
  import React from "react";
2
2
  import { InputFieldProps } from "../InputField";
3
3
  import { InputLabelProps } from "../InputLabel";
4
- export interface InputTimeProps extends InputFieldProps, Partial<InputLabelProps> {
4
+ export interface InputTimeProps extends Omit<InputFieldProps, "onChange">, Partial<InputLabelProps> {
5
5
  message?: string;
6
6
  positive?: boolean;
7
7
  format?: string;
8
+ onChange?: (date: Date | null) => void;
9
+ getPopupContainer?: () => HTMLElement;
8
10
  }
9
11
  declare const FISInputTime: React.ForwardRefExoticComponent<InputTimeProps & React.RefAttributes<HTMLInputElement>>;
10
12
  export default FISInputTime;
package/dist/index.d.ts CHANGED
@@ -4046,10 +4046,12 @@ type ChipWithAvatar = ChipBaseProps & {
4046
4046
  type ChipButtonProps = ChipWithIcon | ChipWithAvatar;
4047
4047
  declare const FISChipButton: React__default.ForwardRefExoticComponent<ChipButtonProps & React__default.RefAttributes<HTMLDivElement>>;
4048
4048
 
4049
- interface InputTimeProps extends InputFieldProps, Partial<InputLabelProps> {
4049
+ interface InputTimeProps extends Omit<InputFieldProps, "onChange">, Partial<InputLabelProps> {
4050
4050
  message?: string;
4051
4051
  positive?: boolean;
4052
4052
  format?: string;
4053
+ onChange?: (date: Date | null) => void;
4054
+ getPopupContainer?: () => HTMLElement;
4053
4055
  }
4054
4056
  declare const FISInputTime: React__default.ForwardRefExoticComponent<InputTimeProps & React__default.RefAttributes<HTMLInputElement>>;
4055
4057
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "homepage": "https://vietdiemtran.github.io/fis-component/",
3
3
  "name": "fis-component",
4
- "version": "0.0.67",
4
+ "version": "0.0.69",
5
5
  "description": "",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",