@thepocman/gantt-task-react 1.0.24 → 1.0.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.
@@ -1862,7 +1862,7 @@ const tooltipDefaultContainer = "_tooltipDefaultContainer_qip67_1";
1862
1862
  const tooltipDefaultContainerParagraph = "_tooltipDefaultContainerParagraph_qip67_13";
1863
1863
  const tooltipDetailsContainer = "_tooltipDetailsContainer_qip67_25";
1864
1864
  const tooltipDetailsContainerHidden = "_tooltipDetailsContainerHidden_qip67_49";
1865
- const styles$j = {
1865
+ const styles$i = {
1866
1866
  tooltipDefaultContainer,
1867
1867
  tooltipDefaultContainerParagraph,
1868
1868
  tooltipDetailsContainer,
@@ -1902,12 +1902,12 @@ const StandardTooltipContent = ({ task, fontSize, fontFamily }) => {
1902
1902
  return /* @__PURE__ */ jsxs(
1903
1903
  "div",
1904
1904
  {
1905
- className: styles$j.tooltipDefaultContainer,
1905
+ className: styles$i.tooltipDefaultContainer,
1906
1906
  style: style2,
1907
1907
  children: [
1908
1908
  /* @__PURE__ */ jsx("b", { style: { fontSize: fontSize + 6 }, children: `${task.name}: ${task.start.getDate()}-${task.start.getMonth() + 1}-${task.start.getFullYear()} - ${task.end.getDate()}-${task.end.getMonth() + 1}-${task.end.getFullYear()}` }),
1909
- task.end.getTime() - task.start.getTime() !== 0 && /* @__PURE__ */ jsx("p", { className: styles$j.tooltipDefaultContainerParagraph, children: `Duration: ${~~((task.end.getTime() - task.start.getTime()) / (1e3 * 60 * 60 * 24))} day(s)` }),
1910
- /* @__PURE__ */ jsx("p", { className: styles$j.tooltipDefaultContainerParagraph, children: !!task.progress && `Progress: ${task.progress} %` })
1909
+ task.end.getTime() - task.start.getTime() !== 0 && /* @__PURE__ */ jsx("p", { className: styles$i.tooltipDefaultContainerParagraph, children: `Duration: ${~~((task.end.getTime() - task.start.getTime()) / (1e3 * 60 * 60 * 24))} day(s)` }),
1910
+ /* @__PURE__ */ jsx("p", { className: styles$i.tooltipDefaultContainerParagraph, children: !!task.progress && `Progress: ${task.progress} %` })
1911
1911
  ]
1912
1912
  }
1913
1913
  );
@@ -1989,7 +1989,7 @@ const useGroupedVirtualization = (_containerRef, rowIndexToTasksMap, taskHeight)
1989
1989
  ];
1990
1990
  };
1991
1991
  const button$2 = "_button_1eue5_1";
1992
- const styles$i = {
1992
+ const styles$h = {
1993
1993
  button: button$2
1994
1994
  };
1995
1995
  const AddColumn = (props) => {
@@ -2007,14 +2007,14 @@ const AddColumn = (props) => {
2007
2007
  }
2008
2008
  return /* @__PURE__ */ jsx("button", { type: "button", onClick, style: {
2009
2009
  "color": colors.barLabelColor
2010
- }, className: styles$i.button, children: (icons == null ? void 0 : icons.renderAddIcon) ? icons.renderAddIcon(task) : "+" });
2010
+ }, className: styles$h.button, children: (icons == null ? void 0 : icons.renderAddIcon) ? icons.renderAddIcon(task) : "+" });
2011
2011
  };
2012
2012
  const taskListNameWrapper = "_taskListNameWrapper_1un0e_1";
2013
2013
  const dragging = "_dragging_1un0e_11";
2014
2014
  const taskListExpander = "_taskListExpander_1un0e_19";
2015
2015
  const taskListEmptyExpander = "_taskListEmptyExpander_1un0e_35";
2016
2016
  const taskName = "_taskName_1un0e_45";
2017
- const styles$h = {
2017
+ const styles$g = {
2018
2018
  taskListNameWrapper,
2019
2019
  dragging,
2020
2020
  taskListExpander,
@@ -2057,7 +2057,7 @@ const TitleColumn = (props) => {
2057
2057
  "div",
2058
2058
  {
2059
2059
  "data-testid": `title-table-cell-${name}`,
2060
- className: `${styles$h.taskListNameWrapper}`,
2060
+ className: `${styles$g.taskListNameWrapper}`,
2061
2061
  style: {
2062
2062
  paddingLeft: depth * nestedTaskNameOffset
2063
2063
  },
@@ -2066,7 +2066,7 @@ const TitleColumn = (props) => {
2066
2066
  /* @__PURE__ */ jsx(
2067
2067
  "div",
2068
2068
  {
2069
- className: `${styles$h.taskListExpander} ${!hasChildren ? styles$h.taskListEmptyExpander : ""}`,
2069
+ className: `${styles$g.taskListExpander} ${!hasChildren ? styles$g.taskListEmptyExpander : ""}`,
2070
2070
  onClick,
2071
2071
  style: {
2072
2072
  width: expandIconWidth
@@ -2076,7 +2076,7 @@ const TitleColumn = (props) => {
2076
2076
  ),
2077
2077
  /* @__PURE__ */ jsxs("div", { style: {
2078
2078
  color: colors.barLabelColor
2079
- }, className: styles$h.taskName, children: [
2079
+ }, className: styles$g.taskName, children: [
2080
2080
  isShowTaskNumbers && /* @__PURE__ */ jsxs("b", { children: [
2081
2081
  indexStr,
2082
2082
  " "
@@ -3173,7 +3173,7 @@ const DependenciesColumn = ({
3173
3173
  }, children: dependencies.map(({ name }) => name).join(", ") });
3174
3174
  };
3175
3175
  const button$1 = "_button_1eue5_1";
3176
- const styles$g = {
3176
+ const styles$f = {
3177
3177
  button: button$1
3178
3178
  };
3179
3179
  const DeleteColumn = (props) => {
@@ -3185,10 +3185,10 @@ const DeleteColumn = (props) => {
3185
3185
  }, [task, handleDeleteTasks]);
3186
3186
  return /* @__PURE__ */ jsx("button", { type: "button", onClick, style: {
3187
3187
  "color": colors.barLabelColor
3188
- }, className: styles$g.button, children: (icons == null ? void 0 : icons.renderDeleteIcon) ? icons.renderDeleteIcon(task) : "-" });
3188
+ }, className: styles$f.button, children: (icons == null ? void 0 : icons.renderDeleteIcon) ? icons.renderDeleteIcon(task) : "-" });
3189
3189
  };
3190
3190
  const button = "_button_ys66g_1";
3191
- const styles$f = {
3191
+ const styles$e = {
3192
3192
  button
3193
3193
  };
3194
3194
  const EditColumn = (props) => {
@@ -3200,7 +3200,7 @@ const EditColumn = (props) => {
3200
3200
  }, [task, handleEditTask]);
3201
3201
  return /* @__PURE__ */ jsx("button", { type: "button", onClick, style: {
3202
3202
  "color": colors.barLabelColor
3203
- }, className: styles$f.button, children: (icons == null ? void 0 : icons.renderEditIcon) ? icons.renderEditIcon(task) : "✎" });
3203
+ }, className: styles$e.button, children: (icons == null ? void 0 : icons.renderEditIcon) ? icons.renderEditIcon(task) : "✎" });
3204
3204
  };
3205
3205
  const useTableListResize = (columnsProp, distances, onResizeColumn) => {
3206
3206
  const [columnsState, setColumns] = useState(() => {
@@ -3406,7 +3406,7 @@ const ganttTableWrapper = "_ganttTableWrapper_1ogga_15";
3406
3406
  const taskListResizer = "_taskListResizer_1ogga_79";
3407
3407
  const taskListContent = "_taskListContent_1ogga_127";
3408
3408
  const hidden = "_hidden_1ogga_147";
3409
- const styles$e = {
3409
+ const styles$d = {
3410
3410
  ganttTableRoot,
3411
3411
  ganttTableWrapper,
3412
3412
  taskListResizer,
@@ -3474,11 +3474,11 @@ const TaskListInner = ({
3474
3474
  fullRowHeight
3475
3475
  );
3476
3476
  const renderedIndexes = enableTaskGrouping ? groupedIndexes : optimizedIndexes;
3477
- return /* @__PURE__ */ jsxs("div", { className: styles$e.ganttTableRoot, ref: taskListRef, children: [
3477
+ return /* @__PURE__ */ jsxs("div", { className: styles$d.ganttTableRoot, ref: taskListRef, children: [
3478
3478
  /* @__PURE__ */ jsxs(
3479
3479
  "div",
3480
3480
  {
3481
- className: styles$e.ganttTableWrapper,
3481
+ className: styles$d.ganttTableWrapper,
3482
3482
  style: {
3483
3483
  width: tableWidth
3484
3484
  },
@@ -3501,7 +3501,7 @@ const TaskListInner = ({
3501
3501
  /* @__PURE__ */ jsx(
3502
3502
  "div",
3503
3503
  {
3504
- className: styles$e.taskListContent,
3504
+ className: styles$d.taskListContent,
3505
3505
  ref: taskListContentRef,
3506
3506
  onScroll: onScrollTableListContentVertically,
3507
3507
  children: /* @__PURE__ */ jsx(
@@ -3564,7 +3564,7 @@ const TaskListInner = ({
3564
3564
  /* @__PURE__ */ jsx(
3565
3565
  "div",
3566
3566
  {
3567
- className: styles$e.taskListResizer,
3567
+ className: styles$d.taskListResizer,
3568
3568
  onMouseDown: (event) => {
3569
3569
  onTableResizeStart(event.clientX);
3570
3570
  },
@@ -3585,7 +3585,7 @@ const ganttTable_HeaderContent = "_ganttTable_HeaderContent_1ndeo_29";
3585
3585
  const ganttTable_HeaderTitle = "_ganttTable_HeaderTitle_1ndeo_41";
3586
3586
  const ganttTable_HeaderItem = "_ganttTable_HeaderItem_1ndeo_49";
3587
3587
  const resizer = "_resizer_1ndeo_75";
3588
- const styles$d = {
3588
+ const styles$c = {
3589
3589
  ganttTable_Header,
3590
3590
  ganttTable_HeaderSeparator,
3591
3591
  ganttTable_HeaderContent,
@@ -3682,7 +3682,7 @@ const TaskListHeaderDefaultInner = (props) => {
3682
3682
  return /* @__PURE__ */ jsx(
3683
3683
  "div",
3684
3684
  {
3685
- className: styles$d.ganttTable_Header,
3685
+ className: styles$c.ganttTable_Header,
3686
3686
  style: {
3687
3687
  height: headerHeight,
3688
3688
  fontFamily,
@@ -3693,7 +3693,7 @@ const TaskListHeaderDefaultInner = (props) => {
3693
3693
  index2 > 0 && /* @__PURE__ */ jsx(
3694
3694
  "div",
3695
3695
  {
3696
- className: styles$d.ganttTable_HeaderSeparator,
3696
+ className: styles$c.ganttTable_HeaderSeparator,
3697
3697
  style: {
3698
3698
  height: headerHeight * 0.5,
3699
3699
  marginTop: headerHeight * 0.2
@@ -3704,14 +3704,14 @@ const TaskListHeaderDefaultInner = (props) => {
3704
3704
  "div",
3705
3705
  {
3706
3706
  "data-testid": `table-column-header-${title}`,
3707
- className: styles$d.ganttTable_HeaderItem,
3707
+ className: styles$c.ganttTable_HeaderItem,
3708
3708
  style: {
3709
3709
  minWidth: width,
3710
3710
  maxWidth: width
3711
3711
  },
3712
3712
  children: [
3713
- /* @__PURE__ */ jsxs("div", { className: styles$d.ganttTable_HeaderContent, children: [
3714
- /* @__PURE__ */ jsx("div", { className: styles$d.ganttTable_HeaderTitle, children: title }),
3713
+ /* @__PURE__ */ jsxs("div", { className: styles$c.ganttTable_HeaderContent, children: [
3714
+ /* @__PURE__ */ jsx("div", { className: styles$c.ganttTable_HeaderTitle, children: title }),
3715
3715
  title === "Name" && /* @__PURE__ */ jsx(
3716
3716
  TaskListHeaderActions,
3717
3717
  {
@@ -3726,7 +3726,7 @@ const TaskListHeaderDefaultInner = (props) => {
3726
3726
  "div",
3727
3727
  {
3728
3728
  "data-testid": `table-column-header-resize-handle-${title}`,
3729
- className: styles$d.resizer,
3729
+ className: styles$c.resizer,
3730
3730
  onMouseDown: (event) => {
3731
3731
  onColumnResizeStart(index2, event.clientX);
3732
3732
  },
@@ -3756,7 +3756,7 @@ const dropAfter = "_dropAfter_1e35i_57";
3756
3756
  const dropAfterLighten = "_dropAfterLighten_1e35i_81";
3757
3757
  const dropBefore = "_dropBefore_1e35i_105";
3758
3758
  const dropBeforeLighten = "_dropBeforeLighten_1e35i_127";
3759
- const styles$c = {
3759
+ const styles$b = {
3760
3760
  taskListTableRow,
3761
3761
  taskListTableRowGrabbing,
3762
3762
  cut,
@@ -3968,7 +3968,7 @@ const TaskListTableRowInner = ({
3968
3968
  return /* @__PURE__ */ jsxs(
3969
3969
  "div",
3970
3970
  {
3971
- className: `${styles$c.taskListTableRow} ${isCut ? styles$c.cut : ""}`,
3971
+ className: `${styles$b.taskListTableRow} ${isCut ? styles$b.cut : ""}`,
3972
3972
  onMouseDown: onRootMouseDown,
3973
3973
  style: {
3974
3974
  height: fullRowHeight,
@@ -3986,7 +3986,7 @@ const TaskListTableRowInner = ({
3986
3986
  return /* @__PURE__ */ jsx(
3987
3987
  "div",
3988
3988
  {
3989
- className: styles$c.taskListCell,
3989
+ className: styles$b.taskListCell,
3990
3990
  style: {
3991
3991
  minWidth: width,
3992
3992
  maxWidth: width
@@ -3994,7 +3994,7 @@ const TaskListTableRowInner = ({
3994
3994
  children: /* @__PURE__ */ jsx(
3995
3995
  "div",
3996
3996
  {
3997
- className: styles$c.taskListCellInner,
3997
+ className: styles$b.taskListCellInner,
3998
3998
  onDragEnter: () => {
3999
3999
  setHoveringState({
4000
4000
  hoveringBefore: false,
@@ -4034,7 +4034,7 @@ const TaskListTableRowInner = ({
4034
4034
  "div",
4035
4035
  {
4036
4036
  "data-testid": `table-row-drop-before-${task.name}`,
4037
- className: `${styles$c.dropBefore} ${hoveringState.hoveringBefore ? styles$c.dropBeforeLighten : ""}`,
4037
+ className: `${styles$b.dropBefore} ${hoveringState.hoveringBefore ? styles$b.dropBeforeLighten : ""}`,
4038
4038
  style: {
4039
4039
  left: dropPreviewOffset,
4040
4040
  backgroundColor: hoveringState.hoveringBefore ? colors.taskDragColor : void 0,
@@ -4064,7 +4064,7 @@ const TaskListTableRowInner = ({
4064
4064
  "div",
4065
4065
  {
4066
4066
  "data-testid": `table-row-drop-after-${task.name}`,
4067
- className: `${styles$c.dropAfter} ${hoveringState.hoveringAfter ? styles$c.dropBeforeLighten : ""}`,
4067
+ className: `${styles$b.dropAfter} ${hoveringState.hoveringAfter ? styles$b.dropBeforeLighten : ""}`,
4068
4068
  style: {
4069
4069
  left: dropPreviewOffset,
4070
4070
  backgroundColor: hoveringState.hoveringAfter ? colors.taskDragColor : void 0,
@@ -4106,7 +4106,7 @@ const checkHasChildren = (task, childTasksMap) => {
4106
4106
  return childs.length > 0;
4107
4107
  };
4108
4108
  const taskListWrapper = "_taskListWrapper_5941j_1";
4109
- const styles$b = {
4109
+ const styles$a = {
4110
4110
  taskListWrapper
4111
4111
  };
4112
4112
  const TaskListTableDefaultInner = ({
@@ -4292,7 +4292,7 @@ const TaskListTableDefaultInner = ({
4292
4292
  return /* @__PURE__ */ jsx(
4293
4293
  "div",
4294
4294
  {
4295
- className: styles$b.taskListWrapper,
4295
+ className: styles$a.taskListWrapper,
4296
4296
  style: { fontFamily, fontSize },
4297
4297
  children: renderedListWithOffset
4298
4298
  }
@@ -4446,7 +4446,7 @@ const calendarBottomText = "_calendarBottomText_lemhx_13";
4446
4446
  const calendarTopTick = "_calendarTopTick_lemhx_35";
4447
4447
  const calendarTopText = "_calendarTopText_lemhx_43";
4448
4448
  const calendarHeader = "_calendarHeader_lemhx_65";
4449
- const styles$a = {
4449
+ const styles$9 = {
4450
4450
  calendarMain,
4451
4451
  calendarBottomText,
4452
4452
  calendarTopTick,
@@ -4470,7 +4470,7 @@ const TopPartOfCalendar = ({
4470
4470
  y1: y1Line,
4471
4471
  x2: x1Line,
4472
4472
  y2: y2Line,
4473
- className: styles$a.calendarTopTick
4473
+ className: styles$9.calendarTopTick
4474
4474
  }
4475
4475
  ),
4476
4476
  value !== null && /* @__PURE__ */ jsx(
@@ -4478,7 +4478,7 @@ const TopPartOfCalendar = ({
4478
4478
  {
4479
4479
  y: yText,
4480
4480
  x: xText,
4481
- className: styles$a.calendarTopText,
4481
+ className: styles$9.calendarTopText,
4482
4482
  style: { fill: colors.barLabelColor },
4483
4483
  children: value
4484
4484
  }
@@ -4527,7 +4527,7 @@ const Calendar = ({
4527
4527
  {
4528
4528
  y: headerHeight * 0.8,
4529
4529
  x: columnWidth * i2 + columnWidth * 0.5,
4530
- className: styles$a.calendarBottomText,
4530
+ className: styles$9.calendarBottomText,
4531
4531
  style: { fill: colors.barLabelColor },
4532
4532
  children: bottomValue
4533
4533
  },
@@ -4568,7 +4568,7 @@ const Calendar = ({
4568
4568
  {
4569
4569
  y: headerHeight * 0.8,
4570
4570
  x: additionalLeftSpace + columnWidth * i2 + columnWidth * 0.5,
4571
- className: styles$a.calendarBottomText,
4571
+ className: styles$9.calendarBottomText,
4572
4572
  style: { fill: colors.barLabelColor },
4573
4573
  children: halfYear
4574
4574
  },
@@ -4611,7 +4611,7 @@ const Calendar = ({
4611
4611
  {
4612
4612
  y: headerHeight * 0.8,
4613
4613
  x: additionalLeftSpace + columnWidth * i2 + columnWidth * 0.5,
4614
- className: styles$a.calendarBottomText,
4614
+ className: styles$9.calendarBottomText,
4615
4615
  style: { fill: colors.barLabelColor },
4616
4616
  children: quarter
4617
4617
  },
@@ -4653,7 +4653,7 @@ const Calendar = ({
4653
4653
  {
4654
4654
  y: headerHeight * 0.8,
4655
4655
  x: additionalLeftSpace + columnWidth * i2 + columnWidth * 0.5,
4656
- className: styles$a.calendarBottomText,
4656
+ className: styles$9.calendarBottomText,
4657
4657
  style: { fill: colors.barLabelColor },
4658
4658
  children: bottomValue
4659
4659
  },
@@ -4708,7 +4708,7 @@ const Calendar = ({
4708
4708
  {
4709
4709
  y: headerHeight * 0.8,
4710
4710
  x: additionalLeftSpace + columnWidth * (i2 + +rtl),
4711
- className: styles$a.calendarBottomText,
4711
+ className: styles$9.calendarBottomText,
4712
4712
  style: { fill: colors.barLabelColor },
4713
4713
  children: bottomValue
4714
4714
  },
@@ -4753,7 +4753,7 @@ const Calendar = ({
4753
4753
  {
4754
4754
  y: headerHeight * 0.8,
4755
4755
  x: additionalLeftSpace + columnWidth * i2 + columnWidth * 0.5,
4756
- className: styles$a.calendarBottomText,
4756
+ className: styles$9.calendarBottomText,
4757
4757
  style: { fill: colors.barLabelColor },
4758
4758
  children: bottomValue
4759
4759
  },
@@ -4800,7 +4800,7 @@ const Calendar = ({
4800
4800
  {
4801
4801
  y: headerHeight * 0.8,
4802
4802
  x: additionalLeftSpace + columnWidth * (i2 + +rtl),
4803
- className: styles$a.calendarBottomText,
4803
+ className: styles$9.calendarBottomText,
4804
4804
  fontFamily,
4805
4805
  style: { fill: colors.barLabelColor },
4806
4806
  children: bottomValue
@@ -4845,7 +4845,7 @@ const Calendar = ({
4845
4845
  {
4846
4846
  y: headerHeight * 0.8,
4847
4847
  x: additionalLeftSpace + columnWidth * (i2 + +rtl),
4848
- className: styles$a.calendarBottomText,
4848
+ className: styles$9.calendarBottomText,
4849
4849
  fontFamily,
4850
4850
  style: { fill: colors.barLabelColor },
4851
4851
  children: bottomValue
@@ -4909,7 +4909,7 @@ const Calendar = ({
4909
4909
  case ViewMode.Hour:
4910
4910
  [topValues, bottomValues] = getCalendarValuesForHour();
4911
4911
  }
4912
- return /* @__PURE__ */ jsx("div", { className: styles$a.calendarMain, style: { width: fullSvgWidth }, children: /* @__PURE__ */ jsx(
4912
+ return /* @__PURE__ */ jsx("div", { className: styles$9.calendarMain, style: { width: fullSvgWidth }, children: /* @__PURE__ */ jsx(
4913
4913
  "svg",
4914
4914
  {
4915
4915
  xmlns: "http://www.w3.org/2000/svg",
@@ -4923,6 +4923,34 @@ const Calendar = ({
4923
4923
  }
4924
4924
  ) });
4925
4925
  };
4926
+ const shouldDrawVerticalDivider = (currentDate, previousDate, viewMode, isUnknownDates, columnIndex, startColumnIndex) => {
4927
+ if (isUnknownDates)
4928
+ return false;
4929
+ if (columnIndex === startColumnIndex)
4930
+ return true;
4931
+ if (!previousDate)
4932
+ return false;
4933
+ switch (viewMode) {
4934
+ case ViewMode.Year:
4935
+ return currentDate.getFullYear() !== previousDate.getFullYear();
4936
+ case ViewMode.HalfYear:
4937
+ return currentDate.getFullYear() !== previousDate.getFullYear();
4938
+ case ViewMode.QuarterYear:
4939
+ return Math.ceil((currentDate.getMonth() + 1) / 3) !== Math.ceil((previousDate.getMonth() + 1) / 3) || currentDate.getFullYear() !== previousDate.getFullYear();
4940
+ case ViewMode.Month:
4941
+ return currentDate.getMonth() !== previousDate.getMonth() || currentDate.getFullYear() !== previousDate.getFullYear();
4942
+ case ViewMode.Week:
4943
+ return currentDate.getMonth() !== previousDate.getMonth() || currentDate.getFullYear() !== previousDate.getFullYear();
4944
+ case ViewMode.Day:
4945
+ return currentDate.getDate() !== previousDate.getDate() || currentDate.getMonth() !== previousDate.getMonth() || currentDate.getFullYear() !== previousDate.getFullYear();
4946
+ case ViewMode.HalfDay:
4947
+ case ViewMode.QuarterDay:
4948
+ case ViewMode.Hour:
4949
+ return currentDate.getDate() !== previousDate.getDate() || currentDate.getMonth() !== previousDate.getMonth() || currentDate.getFullYear() !== previousDate.getFullYear();
4950
+ default:
4951
+ return false;
4952
+ }
4953
+ };
4926
4954
  const GridBodyInner = ({
4927
4955
  additionalLeftSpace,
4928
4956
  columnWidth,
@@ -4931,7 +4959,11 @@ const GridBodyInner = ({
4931
4959
  todayColor,
4932
4960
  rtl,
4933
4961
  startDate,
4934
- viewMode
4962
+ viewMode,
4963
+ dividerColor,
4964
+ startColumnIndex,
4965
+ endColumnIndex,
4966
+ getDate
4935
4967
  }) => {
4936
4968
  const today = useMemo(() => {
4937
4969
  if (isUnknownDates) {
@@ -4960,7 +4992,57 @@ const GridBodyInner = ({
4960
4992
  todayColor,
4961
4993
  viewMode
4962
4994
  ]);
4963
- return /* @__PURE__ */ jsx("g", { className: "gridBody", children: /* @__PURE__ */ jsx("g", { className: "today", children: today }) });
4995
+ const verticalDividers = useMemo(() => {
4996
+ const dividers = [];
4997
+ for (let i2 = startColumnIndex; i2 <= endColumnIndex; i2++) {
4998
+ const currentDate = getDate(i2);
4999
+ const previousDate = i2 > startColumnIndex ? getDate(i2 - 1) : null;
5000
+ if (shouldDrawVerticalDivider(
5001
+ currentDate,
5002
+ previousDate,
5003
+ viewMode,
5004
+ isUnknownDates,
5005
+ i2,
5006
+ startColumnIndex
5007
+ )) {
5008
+ console.log("Drawing divider at column", i2, "date", currentDate);
5009
+ const x3 = additionalLeftSpace + columnWidth * i2;
5010
+ console.log("debugging x:", x3);
5011
+ console.log("divider color", dividerColor);
5012
+ dividers.push(
5013
+ /* @__PURE__ */ jsx(
5014
+ "line",
5015
+ {
5016
+ x1: x3,
5017
+ x2: x3,
5018
+ y1: 0,
5019
+ y2: ganttFullHeight,
5020
+ stroke: dividerColor,
5021
+ opacity: 0.15,
5022
+ strokeWidth: 5
5023
+ },
5024
+ `divider-${i2}`
5025
+ )
5026
+ );
5027
+ }
5028
+ }
5029
+ return dividers;
5030
+ }, [
5031
+ additionalLeftSpace,
5032
+ columnWidth,
5033
+ ganttFullHeight,
5034
+ viewMode,
5035
+ isUnknownDates,
5036
+ startColumnIndex,
5037
+ endColumnIndex,
5038
+ getDate,
5039
+ dividerColor
5040
+ ]);
5041
+ console.log("verticalDividers :>> ", verticalDividers);
5042
+ return /* @__PURE__ */ jsxs("g", { className: "gridBody", children: [
5043
+ /* @__PURE__ */ jsx("g", { className: "today", children: today }),
5044
+ /* @__PURE__ */ jsx("g", { className: "verticalDividers", children: verticalDividers })
5045
+ ] });
4964
5046
  };
4965
5047
  const GridBody = memo(GridBodyInner);
4966
5048
  function isWeekend(dirtyDate) {
@@ -5164,7 +5246,7 @@ const Grid = (props) => {
5164
5246
  const ganttTaskRoot = "_ganttTaskRoot_1mu5y_1";
5165
5247
  const ganttTaskContent = "_ganttTaskContent_1mu5y_83";
5166
5248
  const wrapper$2 = "_wrapper_1mu5y_111";
5167
- const styles$9 = {
5249
+ const styles$8 = {
5168
5250
  ganttTaskRoot,
5169
5251
  ganttTaskContent,
5170
5252
  wrapper: wrapper$2
@@ -5194,13 +5276,13 @@ const hoverVisibleWrapper$1 = "_hoverVisibleWrapper_11ld1_1";
5194
5276
  const wrapper$1 = "_wrapper_11ld1_1";
5195
5277
  const mainPath$2 = "_mainPath_11ld1_17";
5196
5278
  const clickZone$2 = "_clickZone_11ld1_35";
5197
- const styles$8 = {
5279
+ const styles$7 = {
5198
5280
  hoverVisibleWrapper: hoverVisibleWrapper$1,
5199
5281
  wrapper: wrapper$1,
5200
5282
  mainPath: mainPath$2,
5201
5283
  clickZone: clickZone$2
5202
5284
  };
5203
- const fixPositionContainerClass = styles$8.hoverVisibleWrapper;
5285
+ const fixPositionContainerClass = styles$7.hoverVisibleWrapper;
5204
5286
  const FixDependencyPositionInner = ({
5205
5287
  color,
5206
5288
  dependencyFixIndent,
@@ -5247,7 +5329,7 @@ const FixDependencyPositionInner = ({
5247
5329
  return /* @__PURE__ */ jsxs(
5248
5330
  "g",
5249
5331
  {
5250
- className: styles$8.wrapper,
5332
+ className: styles$7.wrapper,
5251
5333
  fill: color,
5252
5334
  stroke: color,
5253
5335
  onMouseDown: handleFixPosition,
@@ -5256,7 +5338,7 @@ const FixDependencyPositionInner = ({
5256
5338
  "path",
5257
5339
  {
5258
5340
  d: d4,
5259
- className: styles$8.mainPath
5341
+ className: styles$7.mainPath
5260
5342
  }
5261
5343
  ),
5262
5344
  /* @__PURE__ */ jsx(
@@ -5266,7 +5348,7 @@ const FixDependencyPositionInner = ({
5266
5348
  y: y3,
5267
5349
  width: width + dependencyFixIndent,
5268
5350
  height,
5269
- className: styles$8.clickZone
5351
+ className: styles$7.clickZone
5270
5352
  }
5271
5353
  ),
5272
5354
  /* @__PURE__ */ jsx("polygon", { points: trianglePoints })
@@ -5278,7 +5360,7 @@ const FixDependencyPosition = memo(FixDependencyPositionInner);
5278
5360
  const arrow_clickable = "_arrow_clickable_1k55i_1";
5279
5361
  const mainPath$1 = "_mainPath_1k55i_9";
5280
5362
  const clickZone$1 = "_clickZone_1k55i_27";
5281
- const styles$7 = {
5363
+ const styles$6 = {
5282
5364
  arrow_clickable,
5283
5365
  mainPath: mainPath$1,
5284
5366
  clickZone: clickZone$1
@@ -5415,12 +5497,12 @@ const ArrowInner = ({
5415
5497
  "g",
5416
5498
  {
5417
5499
  "data-testid": `task-arrow-${extremityFrom}-${taskFrom.name}-${extremityTo}-${taskTo.name}`,
5418
- className: `"arrow" ${styles$7.arrow_clickable}`,
5500
+ className: `"arrow" ${styles$6.arrow_clickable}`,
5419
5501
  onDoubleClick,
5420
5502
  onClick,
5421
5503
  children: [
5422
- onArrowDoubleClick && /* @__PURE__ */ jsx("path", { d: path, className: styles$7.clickZone }),
5423
- /* @__PURE__ */ jsx("path", { className: styles$7.mainPath, d: path }),
5504
+ onArrowDoubleClick && /* @__PURE__ */ jsx("path", { d: path, className: styles$6.clickZone }),
5505
+ /* @__PURE__ */ jsx("path", { className: styles$6.mainPath, d: path }),
5424
5506
  /* @__PURE__ */ jsx("polygon", { points: trianglePoints })
5425
5507
  ]
5426
5508
  }
@@ -5472,7 +5554,7 @@ const drownPathAndTriangle = (indexForm, fromX1, fromX2, fromY, isTaskFromLeftSi
5472
5554
  return [path, trianglePoints];
5473
5555
  };
5474
5556
  const relationLine = "_relationLine_ftzm9_1";
5475
- const styles$6 = {
5557
+ const styles$5 = {
5476
5558
  relationLine
5477
5559
  };
5478
5560
  const RelationLine = ({
@@ -5488,14 +5570,98 @@ const RelationLine = ({
5488
5570
  x2: x22,
5489
5571
  y1,
5490
5572
  y2: y22,
5491
- className: styles$6.relationLine
5573
+ className: styles$5.relationLine
5492
5574
  }
5493
5575
  );
5494
5576
  };
5577
+ const hoverVisibleWrapper = "_hoverVisibleWrapper_11ld1_1";
5578
+ const wrapper = "_wrapper_11ld1_1";
5579
+ const mainPath = "_mainPath_11ld1_17";
5580
+ const clickZone = "_clickZone_11ld1_35";
5581
+ const styles$4 = {
5582
+ hoverVisibleWrapper,
5583
+ wrapper,
5584
+ mainPath,
5585
+ clickZone
5586
+ };
5587
+ const fixWidthContainerClass = styles$4.hoverVisibleWrapper;
5588
+ const BarFixWidthInner = ({
5589
+ x: x3,
5590
+ y: y3,
5591
+ width,
5592
+ height,
5593
+ isLeft,
5594
+ color,
5595
+ handleFixWidth
5596
+ }) => {
5597
+ const halfHeight = useMemo(
5598
+ () => Math.round(height / 2),
5599
+ [height]
5600
+ );
5601
+ const d4 = useMemo(() => {
5602
+ return `M ${x3} ${y3}
5603
+ v ${height}
5604
+ M ${x3} ${y3 + halfHeight}
5605
+ h ${isLeft ? -width : width}
5606
+ `;
5607
+ }, [
5608
+ x3,
5609
+ y3,
5610
+ width,
5611
+ height,
5612
+ halfHeight,
5613
+ isLeft
5614
+ ]);
5615
+ const trianglePoints = useMemo(
5616
+ () => generateTrianglePoints(
5617
+ isLeft ? x3 - width : x3 + width,
5618
+ y3 + halfHeight,
5619
+ 5,
5620
+ isLeft
5621
+ ),
5622
+ [
5623
+ x3,
5624
+ y3,
5625
+ width,
5626
+ halfHeight,
5627
+ isLeft
5628
+ ]
5629
+ );
5630
+ return /* @__PURE__ */ jsxs(
5631
+ "g",
5632
+ {
5633
+ className: styles$4.wrapper,
5634
+ fill: color,
5635
+ stroke: color,
5636
+ onMouseDown: handleFixWidth,
5637
+ children: [
5638
+ /* @__PURE__ */ jsx(
5639
+ "path",
5640
+ {
5641
+ d: d4,
5642
+ className: styles$4.mainPath
5643
+ }
5644
+ ),
5645
+ /* @__PURE__ */ jsx(
5646
+ "rect",
5647
+ {
5648
+ x: isLeft ? x3 - width - 2 : x3 - 2,
5649
+ y: y3 - 5,
5650
+ width: width + 5,
5651
+ height: height + 5,
5652
+ className: styles$4.clickZone
5653
+ }
5654
+ ),
5655
+ /* @__PURE__ */ jsx("polygon", { points: trianglePoints })
5656
+ ]
5657
+ }
5658
+ );
5659
+ };
5660
+ const BarFixWidth = memo(BarFixWidthInner);
5495
5661
  const barWrapper = "_barWrapper_1kg71_1";
5496
5662
  const barHandle = "_barHandle_1kg71_11";
5497
5663
  const barBackground = "_barBackground_1kg71_43";
5498
- const styles$5 = {
5664
+ const styles$3 = {
5499
5665
  barWrapper,
5500
5666
  barHandle,
5501
5667
  barBackground
@@ -5587,7 +5753,7 @@ const BarDisplay = ({
5587
5753
  ry: barCornerRadius,
5588
5754
  rx: barCornerRadius,
5589
5755
  fill: barColor,
5590
- className: styles$5.barBackground
5756
+ className: styles$3.barBackground
5591
5757
  }
5592
5758
  ),
5593
5759
  /* @__PURE__ */ jsx(
@@ -5623,7 +5789,7 @@ const BarDateHandle = ({
5623
5789
  y: y3,
5624
5790
  width,
5625
5791
  height,
5626
- className: styles$5.barHandle,
5792
+ className: styles$3.barHandle,
5627
5793
  ry: barCornerRadius,
5628
5794
  rx: barCornerRadius,
5629
5795
  onMouseDown: (e2) => {
@@ -5647,7 +5813,7 @@ const BarProgressHandle = ({
5647
5813
  "polygon",
5648
5814
  {
5649
5815
  "data-testid": `task-progress-handle-${taskName2}`,
5650
- className: styles$5.barHandle,
5816
+ className: styles$3.barHandle,
5651
5817
  points: progressPoint,
5652
5818
  onMouseDown: (e2) => {
5653
5819
  startMoveProgress(e2.clientX);
@@ -5664,7 +5830,7 @@ const BarProgressHandle = ({
5664
5830
  const barRelationHandleWrapper = "_barRelationHandleWrapper_1744h_1";
5665
5831
  const barRelationHandle = "_barRelationHandle_1744h_1";
5666
5832
  const barRelationHandle_drawMode = "_barRelationHandle_drawMode_1744h_1";
5667
- const styles$4 = {
5833
+ const stylesRelationHandle = {
5668
5834
  barRelationHandleWrapper,
5669
5835
  barRelationHandle,
5670
5836
  barRelationHandle_drawMode
@@ -5672,7 +5838,7 @@ const styles$4 = {
5672
5838
  const projectWrapper = "_projectWrapper_1maxt_1";
5673
5839
  const projectBackground = "_projectBackground_1maxt_11";
5674
5840
  const projectTop = "_projectTop_1maxt_21";
5675
- const styles$3 = {
5841
+ const styles$2 = {
5676
5842
  projectWrapper,
5677
5843
  projectBackground,
5678
5844
  projectTop
@@ -5747,7 +5913,7 @@ const ProjectDisplay = ({
5747
5913
  }
5748
5914
  },
5749
5915
  tabIndex: 0,
5750
- className: styles$3.projectWrapper,
5916
+ className: styles$2.projectWrapper,
5751
5917
  children: [
5752
5918
  /* @__PURE__ */ jsx(
5753
5919
  "rect",
@@ -5759,7 +5925,7 @@ const ProjectDisplay = ({
5759
5925
  height: taskHeight,
5760
5926
  rx: barCornerRadius,
5761
5927
  ry: barCornerRadius,
5762
- className: styles$3.projectBackground
5928
+ className: styles$2.projectBackground
5763
5929
  }
5764
5930
  ),
5765
5931
  /* @__PURE__ */ jsx(
@@ -5784,13 +5950,13 @@ const ProjectDisplay = ({
5784
5950
  height: taskHalfHeight,
5785
5951
  rx: barCornerRadius,
5786
5952
  ry: barCornerRadius,
5787
- className: styles$3.projectTop
5953
+ className: styles$2.projectTop
5788
5954
  }
5789
5955
  ),
5790
5956
  /* @__PURE__ */ jsx(
5791
5957
  "polygon",
5792
5958
  {
5793
- className: styles$3.projectTop,
5959
+ className: styles$2.projectTop,
5794
5960
  points: projectLeftTriangle,
5795
5961
  fill: barColor
5796
5962
  }
@@ -5798,7 +5964,7 @@ const ProjectDisplay = ({
5798
5964
  /* @__PURE__ */ jsx(
5799
5965
  "polygon",
5800
5966
  {
5801
- className: styles$3.projectTop,
5967
+ className: styles$2.projectTop,
5802
5968
  points: projectRightTriangle,
5803
5969
  fill: barColor
5804
5970
  }
@@ -5903,7 +6069,7 @@ const Bar = ({
5903
6069
  return /* @__PURE__ */ jsxs(
5904
6070
  "g",
5905
6071
  {
5906
- className: `${styles$5.barWrapper} ${styles$4.barRelationHandleWrapper}`,
6072
+ className: `${styles$3.barWrapper} ${stylesRelationHandle.barRelationHandleWrapper}`,
5907
6073
  tabIndex: 0,
5908
6074
  children: [
5909
6075
  barDisplay,
@@ -5944,6 +6110,28 @@ const Bar = ({
5944
6110
  }
5945
6111
  );
5946
6112
  };
6113
+ const BarRelationHandleInner = ({
6114
+ dataTestid,
6115
+ isRelationDrawMode,
6116
+ radius,
6117
+ startDrawRelation,
6118
+ x: x3,
6119
+ y: y3
6120
+ }) => {
6121
+ return /* @__PURE__ */ jsx(
6122
+ "circle",
6123
+ {
6124
+ "data-testid": dataTestid,
6125
+ cx: x3,
6126
+ cy: y3,
6127
+ r: radius,
6128
+ className: `${stylesRelationHandle.barRelationHandle} ${isRelationDrawMode ? stylesRelationHandle.barRelationHandle_drawMode : ""}`,
6129
+ onMouseDown: startDrawRelation,
6130
+ onTouchStart: startDrawRelation
6131
+ }
6132
+ );
6133
+ };
6134
+ const BarRelationHandle = memo(BarRelationHandleInner);
5947
6135
  const BarSmall = ({
5948
6136
  children: relationhandles,
5949
6137
  colorStyles,
@@ -5975,7 +6163,7 @@ const BarSmall = ({
5975
6163
  return /* @__PURE__ */ jsxs(
5976
6164
  "g",
5977
6165
  {
5978
- className: `${styles$5.barWrapper} ${styles$4.barRelationHandleWrapper}`,
6166
+ className: `${styles$3.barWrapper} ${stylesRelationHandle.barRelationHandleWrapper}`,
5979
6167
  tabIndex: 0,
5980
6168
  children: [
5981
6169
  /* @__PURE__ */ jsx(
@@ -6015,7 +6203,7 @@ const BarSmall = ({
6015
6203
  };
6016
6204
  const milestoneWrapper = "_milestoneWrapper_vcirf_1";
6017
6205
  const milestoneBackground = "_milestoneBackground_vcirf_11";
6018
- const styles$2 = {
6206
+ const styles$1 = {
6019
6207
  milestoneWrapper,
6020
6208
  milestoneBackground
6021
6209
  };
@@ -6050,7 +6238,7 @@ const Milestone = ({
6050
6238
  "g",
6051
6239
  {
6052
6240
  tabIndex: 0,
6053
- className: `${styles$2.milestoneWrapper} ${styles$4.barRelationHandleWrapper}`,
6241
+ className: `${styles$1.milestoneWrapper} ${stylesRelationHandle.barRelationHandleWrapper}`,
6054
6242
  children: [
6055
6243
  /* @__PURE__ */ jsx(
6056
6244
  "rect",
@@ -6064,7 +6252,7 @@ const Milestone = ({
6064
6252
  rx: barCornerRadius,
6065
6253
  ry: barCornerRadius,
6066
6254
  transform,
6067
- className: styles$2.milestoneBackground,
6255
+ className: styles$1.milestoneBackground,
6068
6256
  onMouseDown: (e2) => {
6069
6257
  onTaskEventStart("move", e2.clientX);
6070
6258
  },
@@ -6081,6 +6269,12 @@ const Milestone = ({
6081
6269
  }
6082
6270
  );
6083
6271
  };
6272
+ const barLabel = "_barLabel_y0tyg_1";
6273
+ const barLabelOutside = "_barLabelOutside_y0tyg_25";
6274
+ const style = {
6275
+ barLabel,
6276
+ barLabelOutside
6277
+ };
6084
6278
  const TaskWarningInner = ({
6085
6279
  rtl,
6086
6280
  outOfParentWarnings = void 0,
@@ -6152,118 +6346,6 @@ const TaskWarningInner = ({
6152
6346
  ] });
6153
6347
  };
6154
6348
  const TaskWarning = memo(TaskWarningInner);
6155
- const barLabel = "_barLabel_y0tyg_1";
6156
- const barLabelOutside = "_barLabelOutside_y0tyg_25";
6157
- const style = {
6158
- barLabel,
6159
- barLabelOutside
6160
- };
6161
- const hoverVisibleWrapper = "_hoverVisibleWrapper_11ld1_1";
6162
- const wrapper = "_wrapper_11ld1_1";
6163
- const mainPath = "_mainPath_11ld1_17";
6164
- const clickZone = "_clickZone_11ld1_35";
6165
- const styles$1 = {
6166
- hoverVisibleWrapper,
6167
- wrapper,
6168
- mainPath,
6169
- clickZone
6170
- };
6171
- const fixWidthContainerClass = styles$1.hoverVisibleWrapper;
6172
- const BarFixWidthInner = ({
6173
- x: x3,
6174
- y: y3,
6175
- width,
6176
- height,
6177
- isLeft,
6178
- color,
6179
- handleFixWidth
6180
- }) => {
6181
- const halfHeight = useMemo(
6182
- () => Math.round(height / 2),
6183
- [height]
6184
- );
6185
- const d4 = useMemo(() => {
6186
- return `M ${x3} ${y3}
6187
- v ${height}
6188
- M ${x3} ${y3 + halfHeight}
6189
- h ${isLeft ? -width : width}
6190
- `;
6191
- }, [
6192
- x3,
6193
- y3,
6194
- width,
6195
- height,
6196
- halfHeight,
6197
- isLeft
6198
- ]);
6199
- const trianglePoints = useMemo(
6200
- () => generateTrianglePoints(
6201
- isLeft ? x3 - width : x3 + width,
6202
- y3 + halfHeight,
6203
- 5,
6204
- isLeft
6205
- ),
6206
- [
6207
- x3,
6208
- y3,
6209
- width,
6210
- halfHeight,
6211
- isLeft
6212
- ]
6213
- );
6214
- return /* @__PURE__ */ jsxs(
6215
- "g",
6216
- {
6217
- className: styles$1.wrapper,
6218
- fill: color,
6219
- stroke: color,
6220
- onMouseDown: handleFixWidth,
6221
- children: [
6222
- /* @__PURE__ */ jsx(
6223
- "path",
6224
- {
6225
- d: d4,
6226
- className: styles$1.mainPath
6227
- }
6228
- ),
6229
- /* @__PURE__ */ jsx(
6230
- "rect",
6231
- {
6232
- x: isLeft ? x3 - width - 2 : x3 - 2,
6233
- y: y3 - 5,
6234
- width: width + 5,
6235
- height: height + 5,
6236
- className: styles$1.clickZone
6237
- }
6238
- ),
6239
- /* @__PURE__ */ jsx("polygon", { points: trianglePoints })
6240
- ]
6241
- }
6242
- );
6243
- };
6244
- const BarFixWidth = memo(BarFixWidthInner);
6245
- const BarRelationHandleInner = ({
6246
- dataTestid,
6247
- isRelationDrawMode,
6248
- radius,
6249
- startDrawRelation,
6250
- x: x3,
6251
- y: y3
6252
- }) => {
6253
- return /* @__PURE__ */ jsx(
6254
- "circle",
6255
- {
6256
- "data-testid": dataTestid,
6257
- cx: x3,
6258
- cy: y3,
6259
- r: radius,
6260
- className: `${styles$4.barRelationHandle} ${isRelationDrawMode ? styles$4.barRelationHandle_drawMode : ""}`,
6261
- onMouseDown: startDrawRelation,
6262
- onTouchStart: startDrawRelation
6263
- }
6264
- );
6265
- };
6266
- const BarRelationHandle = memo(BarRelationHandleInner);
6267
6349
  const TaskItemInner = (props) => {
6268
6350
  const {
6269
6351
  childOutOfParentWarnings,
@@ -6520,7 +6602,7 @@ const TaskItemInner = (props) => {
6520
6602
  y: taskYOffset + taskHeight * 0.5,
6521
6603
  className: isTextInside ? style.barLabel : style.barLabel && style.barLabelOutside,
6522
6604
  ref: textRef,
6523
- children: task.name
6605
+ children: isTextInside ? task.name : ""
6524
6606
  }
6525
6607
  ),
6526
6608
  (outOfParentWarnings || hasDependencyWarning) && /* @__PURE__ */ jsx(
@@ -6721,7 +6803,12 @@ const TaskGanttContent = ({
6721
6803
  fixStartPosition,
6722
6804
  fixEndPosition,
6723
6805
  handleDeleteTasks,
6724
- colorStyles
6806
+ colorStyles,
6807
+ enableTaskGrouping,
6808
+ getTaskInitials: (task2) => {
6809
+ var _a2;
6810
+ return ((_a2 = task2.name) == null ? void 0 : _a2.split(" ").map((word) => word[0]).join("").toUpperCase()) ?? "";
6811
+ }
6725
6812
  }
6726
6813
  )
6727
6814
  },
@@ -6900,7 +6987,6 @@ const TaskGanttInner = (props) => {
6900
6987
  height: Math.max(ganttFullHeight, minimumRowDisplayed * rowHeight),
6901
6988
  width: (ganttTaskRootRef == null ? void 0 : ganttTaskRootRef.current) ? ganttTaskRootRef.current.clientWidth + ganttTaskRootRef.current.scrollLeft : fullSvgWidth
6902
6989
  };
6903
- console.log("containerStyle:>> ", containerStyle);
6904
6990
  const gridStyle = useMemo(
6905
6991
  () => ({
6906
6992
  height: Math.max(ganttFullHeight, minimumRowDisplayed * rowHeight),
@@ -6992,7 +7078,7 @@ const TaskGanttInner = (props) => {
6992
7078
  return /* @__PURE__ */ jsxs(
6993
7079
  "div",
6994
7080
  {
6995
- className: styles$9.ganttTaskRoot,
7081
+ className: styles$8.ganttTaskRoot,
6996
7082
  ref: ganttTaskRootRef,
6997
7083
  onScroll: onVerticalScrollbarScrollX,
6998
7084
  dir: "ltr",
@@ -7002,7 +7088,7 @@ const TaskGanttInner = (props) => {
7002
7088
  "div",
7003
7089
  {
7004
7090
  ref: ganttTaskContentRef,
7005
- className: styles$9.ganttTaskContent,
7091
+ className: styles$8.ganttTaskContent,
7006
7092
  style: containerStyle,
7007
7093
  onScroll: onScrollVertically,
7008
7094
  children: [
@@ -11619,6 +11705,8 @@ const defaultColors = {
11619
11705
  selectedTaskBackgroundColor: "rgba(252, 248, 227, 0.5)",
11620
11706
  taskDragColor: "#7474ff",
11621
11707
  todayColor: "rgba(252, 248, 227, 0.5)",
11708
+ dividerColor: "rgba(22, 16, 14, 0.27)",
11709
+ //new color
11622
11710
  contextMenuBoxShadow: "rgb(0 0 0 / 25%) 1px 1px 5px 1px",
11623
11711
  contextMenuBgColor: "#fff",
11624
11712
  contextMenuTextColor: "inherit"
@@ -12979,6 +13067,7 @@ const Gantt = ({
12979
13067
  rtl,
12980
13068
  startDate,
12981
13069
  todayColor: colorStyles.todayColor,
13070
+ dividerColor: colorStyles.dividerColor,
12982
13071
  holidayBackgroundColor: colorStyles.holidayBackgroundColor,
12983
13072
  viewMode,
12984
13073
  startColumnIndex,
@@ -13176,7 +13265,7 @@ const Gantt = ({
13176
13265
  return /* @__PURE__ */ jsxs(
13177
13266
  "div",
13178
13267
  {
13179
- className: styles$9.wrapper,
13268
+ className: styles$8.wrapper,
13180
13269
  onKeyDown: handleKeyDown,
13181
13270
  tabIndex: 0,
13182
13271
  ref: wrapperRef,