@hellobetterdigitalnz/betterui 0.0.3-245 → 0.0.3-247

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.
@@ -34,6 +34,7 @@ interface CalendarProps {
34
34
  listViewActive?: boolean;
35
35
  calendarActionOnclick?: () => void;
36
36
  listActionOnclick?: () => void;
37
+ onDateChange?: (newDate: Date, view: "day" | "week" | "month") => void;
37
38
  }
38
39
  export type { NameValueInterface };
39
40
  export type { NameValueHolidayInterface };
@@ -1,3 +1,3 @@
1
1
  import DayViewProps from "./DayViewProps.tsx";
2
- declare const DayView: ({ date, events, showPrepTime }: DayViewProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const DayView: ({ date, events, showPrepTime, holidays }: DayViewProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default DayView;
@@ -1,3 +1,3 @@
1
1
  import WeekViewProps from "./WeekViewProps.tsx";
2
- declare const WeekView: ({ events, date, startOfWeekOn, showPrepTime }: WeekViewProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const WeekView: ({ events, date, startOfWeekOn, holidays, showPrepTime }: WeekViewProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default WeekView;