@uxf/datepicker 10.0.0-beta.37 → 10.0.0-beta.41

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.
@@ -21,6 +21,7 @@ export interface UseDateRangePickerProps {
21
21
  minBookingDays?: number;
22
22
  numberOfMonths?: number;
23
23
  onDatesChange: (data: OnDatesChangeProps) => void;
24
+ preventScroll?: boolean;
24
25
  startDate: Date | null;
25
26
  unavailableDates?: Date[];
26
27
  }
@@ -41,5 +42,6 @@ export interface UseDateRangePickerReturnType extends UseDatePickerNavigationRet
41
42
  onDateHover: (date: Date | null) => void;
42
43
  onDateSelect: (date: Date) => void;
43
44
  onResetDates: () => void;
45
+ preventScroll?: boolean;
44
46
  }
45
47
  export declare function useDateRangePicker({ changeActiveMonthOnSelect, endDate, exactMinBookingDays, firstDayOfWeek, focusedInput, initialVisibleMonth, isDateBlocked: isDateBlockedProps, maxBookingDate, minBookingDate, minBookingDays, numberOfMonths, onDatesChange, startDate, unavailableDates, }: UseDateRangePickerProps): UseDateRangePickerReturnType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/datepicker",
3
- "version": "10.0.0-beta.37",
3
+ "version": "10.0.0-beta.41",
4
4
  "description": "A set of React hooks to create an awesome datepicker.",
5
5
  "main": "index.js",
6
6
  "scripts": {