@hellobetterdigitalnz/betterui 0.0.3-216 → 0.0.3-218

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.
@@ -0,0 +1,3 @@
1
+ import CalendarProps from "./CalendarProps.tsx";
2
+ declare const Calendar: (props: CalendarProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Calendar;
@@ -0,0 +1,18 @@
1
+ interface NameValueInterface {
2
+ label: string;
3
+ type?: "primary" | "secondary" | undefined;
4
+ color?: string;
5
+ startTime?: any;
6
+ timeDuration?: any;
7
+ bufferTime?: [
8
+ preBuffer: string,
9
+ postBuffer: string
10
+ ];
11
+ }
12
+ interface CalendarProps {
13
+ startOfWeekOn?: "Monday" | "Sunday";
14
+ events: NameValueInterface[] | any;
15
+ currentDate?: any;
16
+ }
17
+ export type { NameValueInterface };
18
+ export default CalendarProps;
@@ -0,0 +1,3 @@
1
+ import MonthlyCalendarEventProps from "./MonthlyCalendarEventProps.tsx";
2
+ declare const MonthlyCalendarEvent: (props: MonthlyCalendarEventProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MonthlyCalendarEvent;
@@ -0,0 +1,7 @@
1
+ interface MonthlyCalendarEventProps {
2
+ key?: any;
3
+ type?: "primary" | "secondary";
4
+ label: string;
5
+ color?: string;
6
+ }
7
+ export default MonthlyCalendarEventProps;
@@ -0,0 +1,2 @@
1
+ declare const PrimaryIcon: () => import("react/jsx-runtime").JSX.Element;
2
+ export default PrimaryIcon;
@@ -0,0 +1,2 @@
1
+ declare const SecondaryIcon: () => import("react/jsx-runtime").JSX.Element;
2
+ export default SecondaryIcon;
@@ -0,0 +1,3 @@
1
+ import MonthlyDayCellProps from "./MonthlyDayCellProps.tsx";
2
+ declare const MonthlyDayCell: (props: MonthlyDayCellProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MonthlyDayCell;
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from "react";
2
+ interface MonthlyDayCellProps {
3
+ children?: ReactNode;
4
+ className?: string;
5
+ id?: any;
6
+ }
7
+ export default MonthlyDayCellProps;
@@ -0,0 +1,3 @@
1
+ import DayViewProps from "./DayViewProps.tsx";
2
+ declare const DayView: ({ date, events }: DayViewProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default DayView;
@@ -0,0 +1,5 @@
1
+ import CalendarProps from "../../CalendarProps.tsx";
2
+ interface DayViewProps extends CalendarProps {
3
+ date: Date;
4
+ }
5
+ export default DayViewProps;
@@ -0,0 +1,3 @@
1
+ import CalendarProps from "../../CalendarProps.tsx";
2
+ declare const MonthView: (props: CalendarProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MonthView;
@@ -0,0 +1,3 @@
1
+ import WeekViewProps from "./WeekViewProps.tsx";
2
+ declare const WeekView: ({ events, date, startOfWeekOn }: WeekViewProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default WeekView;
@@ -0,0 +1,5 @@
1
+ import CalendarProps from "../../CalendarProps.tsx";
2
+ interface WeekViewProps extends CalendarProps {
3
+ date: Date;
4
+ }
5
+ export default WeekViewProps;
@@ -71,3 +71,5 @@ export type { default as TableHeaderCellProps } from './Table/TableHeaderCellPro
71
71
  export type { default as TableHeadProps } from './Table/TableHeadProps';
72
72
  export type { default as TableProps } from './Table/TableProps';
73
73
  export type { default as TableRowProps } from './Table/TableRowProps';
74
+ export { default as CalendarView } from './Calendar/Calendar.tsx';
75
+ export type { default as CalendarProps } from './Calendar/CalendarProps.tsx';