makula-schedule 1.0.9 → 1.0.10

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.
@@ -115,7 +115,8 @@ function Scheduler(props) {
115
115
  rightCustomHeader = props.rightCustomHeader,
116
116
  showWeekNumber = props.showWeekNumber,
117
117
  CustomResourceHeader = props.CustomResourceHeader,
118
- CustomResourceCell = props.CustomResourceCell;
118
+ CustomResourceCell = props.CustomResourceCell,
119
+ configTableHeaderStyle = props.configTableHeaderStyle;
119
120
 
120
121
  // Initialize DnD context
121
122
  var initDndContext = function initDndContext() {
@@ -478,10 +479,10 @@ function Scheduler(props) {
478
479
  children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
479
480
  className: "resource-view",
480
481
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
481
- style: {
482
+ style: _objectSpread({
482
483
  borderBottom: '1px solid #e9e9e9',
483
484
  height: showWeekNumber ? config.tableHeaderHeight + 24 : config.tableHeaderHeight
484
- },
485
+ }, configTableHeaderStyle),
485
486
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
486
487
  style: {
487
488
  overflowX: 'scroll',
@@ -674,5 +675,6 @@ Scheduler.propTypes = {
674
675
  onScrollBottom: _propTypes["default"].func,
675
676
  showWeekNumber: _propTypes["default"].bool,
676
677
  CustomResourceHeader: _propTypes["default"].func,
677
- CustomResourceCell: _propTypes["default"].func
678
+ CustomResourceCell: _propTypes["default"].func,
679
+ configTableHeaderStyle: _propTypes["default"].object
678
680
  };
package/dist/index.d.ts CHANGED
@@ -119,6 +119,7 @@ export interface SchedulerProps<EventType extends EventItem = EventItem> {
119
119
  showWeekNumber?: boolean;
120
120
  CustomResourceHeader?: React.ComponentType;
121
121
  CustomResourceCell?: React.ComponentType<CustomResourceCellProps>;
122
+ configTableHeaderStyle?: CSSProperties;
122
123
  dndSources?: DnDSource[];
123
124
  parentRef?: React.RefObject<any>;
124
125
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "makula-schedule",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
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",