makula-schedule 2.2.0 → 2.2.2

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.
@@ -521,8 +521,6 @@ function Scheduler(props) {
521
521
  }, configTableHeaderStyle)
522
522
  }, /*#__PURE__*/_react["default"].createElement("div", {
523
523
  style: {
524
- overflowX: 'scroll',
525
- overflowY: 'hidden',
526
524
  margin: "0px 0px -".concat(contentScrollbarHeight, "px")
527
525
  }
528
526
  }, /*#__PURE__*/_react["default"].createElement("table", {
@@ -571,7 +569,8 @@ function Scheduler(props) {
571
569
  style: {
572
570
  overflowX: 'scroll',
573
571
  overflowY: 'hidden',
574
- margin: "0px 0px -".concat(contentScrollbarHeight, "px")
572
+ margin: "0px 0px -".concat(contentScrollbarHeight, "px"),
573
+ overscrollBehavior: 'none'
575
574
  },
576
575
  ref: schedulerHeadRef,
577
576
  onMouseOver: onSchedulerHeadMouseOver,
@@ -598,7 +597,8 @@ function Scheduler(props) {
598
597
  onScroll: onSchedulerContentScroll
599
598
  }, /*#__PURE__*/_react["default"].createElement("div", {
600
599
  style: {
601
- width: schedulerWidth
600
+ width: schedulerWidth,
601
+ overflow: 'hidden'
602
602
  }
603
603
  }, /*#__PURE__*/_react["default"].createElement("div", {
604
604
  className: "scheduler-content"
package/dist/index.d.ts CHANGED
@@ -464,3 +464,34 @@ export interface SchedulerDataBehaviors<EventType extends EventItem = EventItem>
464
464
  export const DATE_FORMAT = 'YYYY-MM-DD';
465
465
 
466
466
  export const DATETIME_FORMAT = 'YYYY-MM-DD HH:mm:ss';
467
+
468
+ export interface MonthCalendarEvent {
469
+ id: string | number;
470
+ title: string;
471
+ start: string;
472
+ end: string;
473
+ bgColor?: string;
474
+ [x: string]: unknown;
475
+ }
476
+
477
+ export interface MonthCalendarViewProps {
478
+ events?: MonthCalendarEvent[];
479
+ date?: string | Dayjs | Date;
480
+ onEventClick?: (event: MonthCalendarEvent) => void;
481
+ CustomEventPopover?: (
482
+ event: MonthCalendarEvent,
483
+ title: string,
484
+ start: Dayjs,
485
+ end: Dayjs,
486
+ color: string
487
+ ) => React.ReactNode;
488
+ eventItemPopoverEnabled?: boolean;
489
+ eventItemPopoverTrigger?: 'hover' | 'click';
490
+ maxEventsPerCell?: number;
491
+ onMoreClick?: (date: Dayjs, events: MonthCalendarEvent[]) => void;
492
+ weekStartsOn?: 0 | 1;
493
+ headerFormat?: string;
494
+ className?: string;
495
+ }
496
+
497
+ export const MonthCalendarView: React.FC<MonthCalendarViewProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "makula-schedule",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "React Big Schedule is a powerful and intuitive scheduler and resource planning solution built with React. Seamlessly integrate this modern browser-compatible component into your applications to effectively manage time, appointments, and resources. With drag-and-drop functionality, interactive UI, and granular views, react-big-schedule empowers users to effortlessly schedule and allocate resources with precision. Enhance productivity and streamline your workflow with this React-based solution, designed to optimize time management and simplify calendar-based operations. Perfect for applications requiring advanced scheduling capabilities, react-big-schedule offers a seamless and intuitive experience for managing appointments, resource allocation, and time slots. Unlock the potential of your React projects with react-big-schedule and revolutionize the way you handle scheduling and resource planning. It is the updated version of react-big-scheduler",
5
5
  "keywords": [
6
6
  "react-big-schedule",