gantt-task-react-v 1.7.1 → 1.7.3

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.
@@ -11775,6 +11775,19 @@ const Calendar = ({
11775
11775
  for (let i = startColumnIndex; i <= endColumnIndex; i++) {
11776
11776
  const date = getDate(i);
11777
11777
  const bottomValue = renderBottomHeaderByDate(date, i);
11778
+ bottomValues2.push(
11779
+ /* @__PURE__ */ jsx(
11780
+ "line",
11781
+ {
11782
+ x1: additionalLeftSpace + columnWidth * i,
11783
+ y1: 0,
11784
+ x2: additionalLeftSpace + columnWidth * i,
11785
+ y2: headerHeight,
11786
+ className: styles$c.calendarBottomSeparator
11787
+ },
11788
+ `year-sep-${i}`
11789
+ )
11790
+ );
11778
11791
  bottomValues2.push(
11779
11792
  renderBottomText(
11780
11793
  columnWidth * i + columnWidth * 0.5,
@@ -11808,9 +11821,35 @@ const Calendar = ({
11808
11821
  const topValues2 = [];
11809
11822
  const bottomValues2 = [];
11810
11823
  const topDefaultHeight = headerHeight * 0.5;
11824
+ bottomValues2.push(
11825
+ /* @__PURE__ */ jsx(
11826
+ "line",
11827
+ {
11828
+ x1: 0,
11829
+ y1: topDefaultHeight,
11830
+ x2: fullSvgWidth,
11831
+ y2: topDefaultHeight,
11832
+ className: styles$c.calendarBottomSeparator
11833
+ },
11834
+ "month-top-border"
11835
+ )
11836
+ );
11811
11837
  for (let i = startColumnIndex; i <= endColumnIndex; i++) {
11812
11838
  const date = getDate(i);
11813
11839
  const bottomValue = renderBottomHeaderByDate(date, i);
11840
+ bottomValues2.push(
11841
+ /* @__PURE__ */ jsx(
11842
+ "line",
11843
+ {
11844
+ x1: additionalLeftSpace + columnWidth * i,
11845
+ y1: topDefaultHeight,
11846
+ x2: additionalLeftSpace + columnWidth * i,
11847
+ y2: headerHeight,
11848
+ className: styles$c.calendarBottomSeparator
11849
+ },
11850
+ `month-sep-${i}`
11851
+ )
11852
+ );
11814
11853
  bottomValues2.push(
11815
11854
  renderBottomText(
11816
11855
  additionalLeftSpace + columnWidth * i + columnWidth * 0.5,
@@ -11992,9 +12031,35 @@ const Calendar = ({
11992
12031
  const bottomValues2 = [];
11993
12032
  const ticks = dateSetup.viewMode === ViewMode.HalfDay ? 2 : 4;
11994
12033
  const topDefaultHeight = headerHeight * 0.5;
12034
+ bottomValues2.push(
12035
+ /* @__PURE__ */ jsx(
12036
+ "line",
12037
+ {
12038
+ x1: 0,
12039
+ y1: topDefaultHeight,
12040
+ x2: fullSvgWidth,
12041
+ y2: topDefaultHeight,
12042
+ className: styles$c.calendarBottomSeparator
12043
+ },
12044
+ "partday-top-border"
12045
+ )
12046
+ );
11995
12047
  for (let i = startColumnIndex; i <= endColumnIndex; i++) {
11996
12048
  const date = getDate(i);
11997
12049
  const bottomValue = renderBottomHeaderByDate(date, i);
12050
+ bottomValues2.push(
12051
+ /* @__PURE__ */ jsx(
12052
+ "line",
12053
+ {
12054
+ x1: additionalLeftSpace + columnWidth * i,
12055
+ y1: topDefaultHeight,
12056
+ x2: additionalLeftSpace + columnWidth * i,
12057
+ y2: headerHeight,
12058
+ className: styles$c.calendarBottomSeparator
12059
+ },
12060
+ `partday-sep-${i}`
12061
+ )
12062
+ );
11998
12063
  bottomValues2.push(
11999
12064
  renderBottomText(
12000
12065
  additionalLeftSpace + columnWidth * (i + +rtl),
@@ -12032,9 +12097,35 @@ const Calendar = ({
12032
12097
  const bottomValues2 = [];
12033
12098
  const topDefaultHeight = headerHeight * 0.5;
12034
12099
  const renderedDates = /* @__PURE__ */ new Set();
12100
+ bottomValues2.push(
12101
+ /* @__PURE__ */ jsx(
12102
+ "line",
12103
+ {
12104
+ x1: 0,
12105
+ y1: topDefaultHeight,
12106
+ x2: fullSvgWidth,
12107
+ y2: topDefaultHeight,
12108
+ className: styles$c.calendarBottomSeparator
12109
+ },
12110
+ "hour-top-border"
12111
+ )
12112
+ );
12035
12113
  for (let i = startColumnIndex; i <= endColumnIndex; i++) {
12036
12114
  const date = getDate(i);
12037
12115
  const bottomValue = renderBottomHeaderByDate(date, i);
12116
+ bottomValues2.push(
12117
+ /* @__PURE__ */ jsx(
12118
+ "line",
12119
+ {
12120
+ x1: additionalLeftSpace + columnWidth * i,
12121
+ y1: topDefaultHeight,
12122
+ x2: additionalLeftSpace + columnWidth * i,
12123
+ y2: headerHeight,
12124
+ className: styles$c.calendarBottomSeparator
12125
+ },
12126
+ `hour-sep-${i}`
12127
+ )
12128
+ );
12038
12129
  bottomValues2.push(
12039
12130
  renderBottomText(
12040
12131
  additionalLeftSpace + columnWidth * (i + +rtl),
@@ -11792,6 +11792,19 @@
11792
11792
  for (let i = startColumnIndex; i <= endColumnIndex; i++) {
11793
11793
  const date = getDate(i);
11794
11794
  const bottomValue = renderBottomHeaderByDate(date, i);
11795
+ bottomValues2.push(
11796
+ /* @__PURE__ */ jsxRuntime.jsx(
11797
+ "line",
11798
+ {
11799
+ x1: additionalLeftSpace + columnWidth * i,
11800
+ y1: 0,
11801
+ x2: additionalLeftSpace + columnWidth * i,
11802
+ y2: headerHeight,
11803
+ className: styles$c.calendarBottomSeparator
11804
+ },
11805
+ `year-sep-${i}`
11806
+ )
11807
+ );
11795
11808
  bottomValues2.push(
11796
11809
  renderBottomText(
11797
11810
  columnWidth * i + columnWidth * 0.5,
@@ -11825,9 +11838,35 @@
11825
11838
  const topValues2 = [];
11826
11839
  const bottomValues2 = [];
11827
11840
  const topDefaultHeight = headerHeight * 0.5;
11841
+ bottomValues2.push(
11842
+ /* @__PURE__ */ jsxRuntime.jsx(
11843
+ "line",
11844
+ {
11845
+ x1: 0,
11846
+ y1: topDefaultHeight,
11847
+ x2: fullSvgWidth,
11848
+ y2: topDefaultHeight,
11849
+ className: styles$c.calendarBottomSeparator
11850
+ },
11851
+ "month-top-border"
11852
+ )
11853
+ );
11828
11854
  for (let i = startColumnIndex; i <= endColumnIndex; i++) {
11829
11855
  const date = getDate(i);
11830
11856
  const bottomValue = renderBottomHeaderByDate(date, i);
11857
+ bottomValues2.push(
11858
+ /* @__PURE__ */ jsxRuntime.jsx(
11859
+ "line",
11860
+ {
11861
+ x1: additionalLeftSpace + columnWidth * i,
11862
+ y1: topDefaultHeight,
11863
+ x2: additionalLeftSpace + columnWidth * i,
11864
+ y2: headerHeight,
11865
+ className: styles$c.calendarBottomSeparator
11866
+ },
11867
+ `month-sep-${i}`
11868
+ )
11869
+ );
11831
11870
  bottomValues2.push(
11832
11871
  renderBottomText(
11833
11872
  additionalLeftSpace + columnWidth * i + columnWidth * 0.5,
@@ -12009,9 +12048,35 @@
12009
12048
  const bottomValues2 = [];
12010
12049
  const ticks = dateSetup.viewMode === ViewMode.HalfDay ? 2 : 4;
12011
12050
  const topDefaultHeight = headerHeight * 0.5;
12051
+ bottomValues2.push(
12052
+ /* @__PURE__ */ jsxRuntime.jsx(
12053
+ "line",
12054
+ {
12055
+ x1: 0,
12056
+ y1: topDefaultHeight,
12057
+ x2: fullSvgWidth,
12058
+ y2: topDefaultHeight,
12059
+ className: styles$c.calendarBottomSeparator
12060
+ },
12061
+ "partday-top-border"
12062
+ )
12063
+ );
12012
12064
  for (let i = startColumnIndex; i <= endColumnIndex; i++) {
12013
12065
  const date = getDate(i);
12014
12066
  const bottomValue = renderBottomHeaderByDate(date, i);
12067
+ bottomValues2.push(
12068
+ /* @__PURE__ */ jsxRuntime.jsx(
12069
+ "line",
12070
+ {
12071
+ x1: additionalLeftSpace + columnWidth * i,
12072
+ y1: topDefaultHeight,
12073
+ x2: additionalLeftSpace + columnWidth * i,
12074
+ y2: headerHeight,
12075
+ className: styles$c.calendarBottomSeparator
12076
+ },
12077
+ `partday-sep-${i}`
12078
+ )
12079
+ );
12015
12080
  bottomValues2.push(
12016
12081
  renderBottomText(
12017
12082
  additionalLeftSpace + columnWidth * (i + +rtl),
@@ -12049,9 +12114,35 @@
12049
12114
  const bottomValues2 = [];
12050
12115
  const topDefaultHeight = headerHeight * 0.5;
12051
12116
  const renderedDates = /* @__PURE__ */ new Set();
12117
+ bottomValues2.push(
12118
+ /* @__PURE__ */ jsxRuntime.jsx(
12119
+ "line",
12120
+ {
12121
+ x1: 0,
12122
+ y1: topDefaultHeight,
12123
+ x2: fullSvgWidth,
12124
+ y2: topDefaultHeight,
12125
+ className: styles$c.calendarBottomSeparator
12126
+ },
12127
+ "hour-top-border"
12128
+ )
12129
+ );
12052
12130
  for (let i = startColumnIndex; i <= endColumnIndex; i++) {
12053
12131
  const date = getDate(i);
12054
12132
  const bottomValue = renderBottomHeaderByDate(date, i);
12133
+ bottomValues2.push(
12134
+ /* @__PURE__ */ jsxRuntime.jsx(
12135
+ "line",
12136
+ {
12137
+ x1: additionalLeftSpace + columnWidth * i,
12138
+ y1: topDefaultHeight,
12139
+ x2: additionalLeftSpace + columnWidth * i,
12140
+ y2: headerHeight,
12141
+ className: styles$c.calendarBottomSeparator
12142
+ },
12143
+ `hour-sep-${i}`
12144
+ )
12145
+ );
12055
12146
  bottomValues2.push(
12056
12147
  renderBottomText(
12057
12148
  additionalLeftSpace + columnWidth * (i + +rtl),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gantt-task-react-v",
3
- "version": "1.7.1",
3
+ "version": "1.7.3",
4
4
  "description": "Interactive Gantt Chart for React with TypeScript.",
5
5
  "author": "aguilanbon",
6
6
  "homepage": "https://github.com/aguilanbon/gantt-task-react-v",