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.
- package/dist/cjs/index.js +27 -14
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/components/Input/InputTime/index.d.ts +3 -1
- package/dist/esm/index.js +27 -14
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/Input/InputTime/index.d.ts +3 -1
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
|
@@ -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
|
|