@hellobetterdigitalnz/betterui 0.0.3-219 → 0.0.3-220

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.
@@ -9,10 +9,17 @@ interface NameValueInterface {
9
9
  postBuffer: string
10
10
  ];
11
11
  }
12
+ interface NameValueHolidayInterface {
13
+ label: string;
14
+ startDate?: any;
15
+ endDate?: any;
16
+ }
12
17
  interface CalendarProps {
13
18
  startOfWeekOn?: "Monday" | "Sunday";
14
19
  events: NameValueInterface[] | any;
20
+ holidays?: NameValueHolidayInterface[] | any;
15
21
  currentDate?: any;
16
22
  }
17
23
  export type { NameValueInterface };
24
+ export type { NameValueHolidayInterface };
18
25
  export default CalendarProps;
@@ -0,0 +1,3 @@
1
+ import CalendarEventProps from "./CalendarEventProps.tsx";
2
+ declare const CalendarEvent: (props: CalendarEventProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default CalendarEvent;
@@ -0,0 +1,8 @@
1
+ interface CalendarEventProps {
2
+ key?: any;
3
+ type?: "primary" | "secondary";
4
+ label: string;
5
+ timeDuration?: string;
6
+ color?: string;
7
+ }
8
+ export default CalendarEventProps;
@@ -1,3 +1,3 @@
1
1
  import DayViewProps from "./DayViewProps.tsx";
2
- declare const DayView: ({ date, events }: DayViewProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const DayView: ({ date, events, holidays }: DayViewProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default DayView;
@@ -0,0 +1,3 @@
1
+ import IconProps from "../../IconProps";
2
+ declare const ListDashes: ({ type }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default ListDashes;
@@ -57,6 +57,7 @@ export { default as TextColumns } from './OfficeAndEditing/TextColumns/TextColum
57
57
  export { default as Folder } from './OfficeAndEditing/Folder/Folder.tsx';
58
58
  export { default as ListBullets } from './OfficeAndEditing/ListBullets/ListBullets.tsx';
59
59
  export { default as List } from './OfficeAndEditing/List/List.tsx';
60
+ export { default as ListDashes } from './OfficeAndEditing/ListDashes/ListDashes.tsx';
60
61
  export { default as Printer } from './OfficeAndEditing/Printer/Printer.tsx';
61
62
  export { default as Trash } from './OfficeAndEditing/Trash/Trash.tsx';
62
63
  export { default as FloppyDisk } from './OfficeAndEditing/FloppyDisk/FloppyDisk.tsx';