@bigbinary/neetoui 6.2.6 → 6.3.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.
package/index.d.ts CHANGED
@@ -218,7 +218,7 @@ export type DateTimePickerProps = {
218
218
  labelProps?: LabelProps;
219
219
  datePickerProps?: { [key: string]: any };
220
220
  timePickerProps?: { [key: string]: any };
221
- onTimeInputBlur?: () => void;
221
+ onBlur?: (dateTime: Dayjs) => void;
222
222
  [key: string]: any;
223
223
  };
224
224
 
@@ -727,13 +727,17 @@ export type TreeProps = {
727
727
 
728
728
  export type TimePickerInputProps = {
729
729
  label?: string;
730
- value?: string | Date;
731
- onChange?: (date: any, value: string) => void;
730
+ value?: string | Dayjs;
731
+ defaultValue?: string | Dayjs;
732
+ onChange?: (date: Dayjs, value: string) => void;
732
733
  labelProps?: object;
733
734
  className?: string;
734
735
  error?: string;
735
736
  required?: boolean;
736
- onBlur?: () => void;
737
+ onBlur?: (date: Dayjs, value: string) => void;
738
+ clearIcon?: string | Function | ReactNode;
739
+ disabled?: boolean;
740
+ type?: "range" | "date";
737
741
  };
738
742
 
739
743
  // components