@modul/mbui 0.0.55-beta-pv-54250-d628bcf8 → 0.0.55-beta-pv-54250-011cf52a

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.
@@ -10,6 +10,7 @@ declare type MonthViewProps = {
10
10
  disablePastDates?: boolean;
11
11
  month?: Date;
12
12
  mode: DatePickerMode;
13
+ resetTrigger?: boolean;
13
14
  };
14
15
  declare const MonthView: React.FC<MonthViewProps>;
15
16
  export { MonthView };
@@ -3,6 +3,6 @@ interface UseInfiniteScrollProps {
3
3
  onLoadDown: () => void;
4
4
  }
5
5
  export declare const useInfiniteScroll: ({ onLoadUp, onLoadDown }: UseInfiniteScrollProps) => {
6
- containerRef: (node: HTMLDivElement | null) => () => void;
6
+ containerRef: import("react").RefObject<HTMLDivElement>;
7
7
  };
8
8
  export {};
@@ -2,11 +2,12 @@ interface UseMonthLoaderProps {
2
2
  centerDate: Date;
3
3
  disableFutureDates: boolean;
4
4
  disablePastDates: boolean;
5
+ resetTrigger: boolean;
5
6
  }
6
7
  interface UseMonthLoaderResult {
7
8
  allMonths: Date[];
8
9
  visibleMonths: Date[];
9
10
  loadMoreMonths: (direction: 'up' | 'down') => void;
10
11
  }
11
- export declare const useMonthLoader: ({ centerDate, disableFutureDates, disablePastDates, }: UseMonthLoaderProps) => UseMonthLoaderResult;
12
+ export declare const useMonthLoader: ({ centerDate, disableFutureDates, disablePastDates, resetTrigger, }: UseMonthLoaderProps) => UseMonthLoaderResult;
12
13
  export {};