next-helios-fe 1.8.26 → 1.8.27

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-helios-fe",
3
- "version": "1.8.26",
3
+ "version": "1.8.27",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@ const localizer = dayjsLocalizer(dayjs);
11
11
  interface BigCalendarProps {
12
12
  title?: string;
13
13
  options?: {
14
- eventListFilter?: boolean;
14
+ showEventListFilter?: boolean;
15
15
  };
16
16
  eventList: {
17
17
  id: number | string;
@@ -23,7 +23,7 @@ interface BigCalendarProps {
23
23
  color?: string;
24
24
  [key: string]: any;
25
25
  }[];
26
- sideBarComponent?: React.ReactNode;
26
+ sidebarComponent?: React.ReactNode;
27
27
  onSelectEvent?: (event: any) => void;
28
28
  }
29
29
 
@@ -31,7 +31,7 @@ export const BigCalendar: React.FC<BigCalendarProps> = ({
31
31
  title,
32
32
  options,
33
33
  eventList,
34
- sideBarComponent,
34
+ sidebarComponent,
35
35
  onSelectEvent,
36
36
  }) => {
37
37
  const [active, setActive] = useState<string>("month");
@@ -74,10 +74,10 @@ export const BigCalendar: React.FC<BigCalendarProps> = ({
74
74
 
75
75
  return (
76
76
  <div className="flex w-full h-full lg:divide-x">
77
- {(sideBarComponent || options?.eventListFilter) && (
77
+ {(sidebarComponent || options?.showEventListFilter) && (
78
78
  <div className="hidden lg:flex flex-col w-72 h-full divide-y">
79
- {sideBarComponent}
80
- {options?.eventListFilter && (
79
+ {sidebarComponent}
80
+ {options?.showEventListFilter && (
81
81
  <Event
82
82
  title={title}
83
83
  eventList={modifiedEventList}