gantt-task-react-v 1.7.1 → 1.7.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.
@@ -11556,19 +11556,17 @@ const GanttTodayInner = ({
11556
11556
  ] });
11557
11557
  };
11558
11558
  const GanttToday = memo(GanttTodayInner);
11559
- const calendarBottomText = "_calendarBottomText_1mt8w_1";
11560
- const calendarTopTick = "_calendarTopTick_1mt8w_31";
11561
- const calendarTopText = "_calendarTopText_1mt8w_41";
11562
- const calendarHeader = "_calendarHeader_1mt8w_67";
11563
- const calendarBottomSeparator = "_calendarBottomSeparator_1mt8w_81";
11564
- const calendar = "_calendar_1mt8w_1";
11565
- const calendarDragging$1 = "_calendarDragging_1mt8w_103";
11559
+ const calendarBottomText = "_calendarBottomText_15t8b_1";
11560
+ const calendarTopTick = "_calendarTopTick_15t8b_25";
11561
+ const calendarTopText = "_calendarTopText_15t8b_35";
11562
+ const calendarHeader = "_calendarHeader_15t8b_61";
11563
+ const calendar = "_calendar_15t8b_1";
11564
+ const calendarDragging$1 = "_calendarDragging_15t8b_85";
11566
11565
  const styles$c = {
11567
11566
  calendarBottomText,
11568
11567
  calendarTopTick,
11569
11568
  calendarTopText,
11570
11569
  calendarHeader,
11571
- calendarBottomSeparator,
11572
11570
  calendar,
11573
11571
  calendarDragging: calendarDragging$1
11574
11572
  };
@@ -11852,19 +11850,6 @@ const Calendar = ({
11852
11850
  const bottomValues2 = [];
11853
11851
  let weeksCount = 1;
11854
11852
  const topDefaultHeight = headerHeight * 0.5;
11855
- bottomValues2.push(
11856
- /* @__PURE__ */ jsx(
11857
- "line",
11858
- {
11859
- x1: 0,
11860
- y1: topDefaultHeight,
11861
- x2: fullSvgWidth,
11862
- y2: topDefaultHeight,
11863
- className: styles$c.calendarBottomSeparator
11864
- },
11865
- "week-top-border"
11866
- )
11867
- );
11868
11853
  for (let i = endColumnIndex; i >= startColumnIndex; i--) {
11869
11854
  const date = getDate(i);
11870
11855
  const month = date.getMonth();
@@ -11874,19 +11859,6 @@ const Calendar = ({
11874
11859
  topValue = renderTopHeaderByDate(date);
11875
11860
  }
11876
11861
  const bottomValue = renderBottomHeaderByDate(date, i);
11877
- bottomValues2.push(
11878
- /* @__PURE__ */ jsx(
11879
- "line",
11880
- {
11881
- x1: additionalLeftSpace + columnWidth * i,
11882
- y1: topDefaultHeight,
11883
- x2: additionalLeftSpace + columnWidth * i,
11884
- y2: headerHeight,
11885
- className: styles$c.calendarBottomSeparator
11886
- },
11887
- `week-sep-${i}`
11888
- )
11889
- );
11890
11862
  bottomValues2.push(
11891
11863
  renderBottomText(
11892
11864
  additionalLeftSpace + columnWidth * (i + +rtl),
@@ -11922,37 +11894,11 @@ const Calendar = ({
11922
11894
  const bottomValues2 = [];
11923
11895
  const topDefaultHeight = headerHeight * 0.5;
11924
11896
  const renderedMonths = /* @__PURE__ */ new Set();
11925
- bottomValues2.push(
11926
- /* @__PURE__ */ jsx(
11927
- "line",
11928
- {
11929
- x1: 0,
11930
- y1: topDefaultHeight,
11931
- x2: fullSvgWidth,
11932
- y2: topDefaultHeight,
11933
- className: styles$c.calendarBottomSeparator
11934
- },
11935
- "day-top-border"
11936
- )
11937
- );
11938
11897
  for (let i = startColumnIndex; i <= endColumnIndex; i++) {
11939
11898
  const date = getDate(i);
11940
11899
  const bottomValue = renderBottomHeaderByDate(date, i);
11941
11900
  const month = date.getMonth();
11942
11901
  const fullYear = date.getFullYear();
11943
- bottomValues2.push(
11944
- /* @__PURE__ */ jsx(
11945
- "line",
11946
- {
11947
- x1: additionalLeftSpace + columnWidth * i,
11948
- y1: topDefaultHeight,
11949
- x2: additionalLeftSpace + columnWidth * i,
11950
- y2: headerHeight,
11951
- className: styles$c.calendarBottomSeparator
11952
- },
11953
- `day-sep-${i}`
11954
- )
11955
- );
11956
11902
  bottomValues2.push(
11957
11903
  renderBottomText(
11958
11904
  additionalLeftSpace + columnWidth * i + columnWidth * 0.5,
@@ -11573,19 +11573,17 @@
11573
11573
  ] });
11574
11574
  };
11575
11575
  const GanttToday = React.memo(GanttTodayInner);
11576
- const calendarBottomText = "_calendarBottomText_1mt8w_1";
11577
- const calendarTopTick = "_calendarTopTick_1mt8w_31";
11578
- const calendarTopText = "_calendarTopText_1mt8w_41";
11579
- const calendarHeader = "_calendarHeader_1mt8w_67";
11580
- const calendarBottomSeparator = "_calendarBottomSeparator_1mt8w_81";
11581
- const calendar = "_calendar_1mt8w_1";
11582
- const calendarDragging$1 = "_calendarDragging_1mt8w_103";
11576
+ const calendarBottomText = "_calendarBottomText_15t8b_1";
11577
+ const calendarTopTick = "_calendarTopTick_15t8b_25";
11578
+ const calendarTopText = "_calendarTopText_15t8b_35";
11579
+ const calendarHeader = "_calendarHeader_15t8b_61";
11580
+ const calendar = "_calendar_15t8b_1";
11581
+ const calendarDragging$1 = "_calendarDragging_15t8b_85";
11583
11582
  const styles$c = {
11584
11583
  calendarBottomText,
11585
11584
  calendarTopTick,
11586
11585
  calendarTopText,
11587
11586
  calendarHeader,
11588
- calendarBottomSeparator,
11589
11587
  calendar,
11590
11588
  calendarDragging: calendarDragging$1
11591
11589
  };
@@ -11869,19 +11867,6 @@
11869
11867
  const bottomValues2 = [];
11870
11868
  let weeksCount = 1;
11871
11869
  const topDefaultHeight = headerHeight * 0.5;
11872
- bottomValues2.push(
11873
- /* @__PURE__ */ jsxRuntime.jsx(
11874
- "line",
11875
- {
11876
- x1: 0,
11877
- y1: topDefaultHeight,
11878
- x2: fullSvgWidth,
11879
- y2: topDefaultHeight,
11880
- className: styles$c.calendarBottomSeparator
11881
- },
11882
- "week-top-border"
11883
- )
11884
- );
11885
11870
  for (let i = endColumnIndex; i >= startColumnIndex; i--) {
11886
11871
  const date = getDate(i);
11887
11872
  const month = date.getMonth();
@@ -11891,19 +11876,6 @@
11891
11876
  topValue = renderTopHeaderByDate(date);
11892
11877
  }
11893
11878
  const bottomValue = renderBottomHeaderByDate(date, i);
11894
- bottomValues2.push(
11895
- /* @__PURE__ */ jsxRuntime.jsx(
11896
- "line",
11897
- {
11898
- x1: additionalLeftSpace + columnWidth * i,
11899
- y1: topDefaultHeight,
11900
- x2: additionalLeftSpace + columnWidth * i,
11901
- y2: headerHeight,
11902
- className: styles$c.calendarBottomSeparator
11903
- },
11904
- `week-sep-${i}`
11905
- )
11906
- );
11907
11879
  bottomValues2.push(
11908
11880
  renderBottomText(
11909
11881
  additionalLeftSpace + columnWidth * (i + +rtl),
@@ -11939,37 +11911,11 @@
11939
11911
  const bottomValues2 = [];
11940
11912
  const topDefaultHeight = headerHeight * 0.5;
11941
11913
  const renderedMonths = /* @__PURE__ */ new Set();
11942
- bottomValues2.push(
11943
- /* @__PURE__ */ jsxRuntime.jsx(
11944
- "line",
11945
- {
11946
- x1: 0,
11947
- y1: topDefaultHeight,
11948
- x2: fullSvgWidth,
11949
- y2: topDefaultHeight,
11950
- className: styles$c.calendarBottomSeparator
11951
- },
11952
- "day-top-border"
11953
- )
11954
- );
11955
11914
  for (let i = startColumnIndex; i <= endColumnIndex; i++) {
11956
11915
  const date = getDate(i);
11957
11916
  const bottomValue = renderBottomHeaderByDate(date, i);
11958
11917
  const month = date.getMonth();
11959
11918
  const fullYear = date.getFullYear();
11960
- bottomValues2.push(
11961
- /* @__PURE__ */ jsxRuntime.jsx(
11962
- "line",
11963
- {
11964
- x1: additionalLeftSpace + columnWidth * i,
11965
- y1: topDefaultHeight,
11966
- x2: additionalLeftSpace + columnWidth * i,
11967
- y2: headerHeight,
11968
- className: styles$c.calendarBottomSeparator
11969
- },
11970
- `day-sep-${i}`
11971
- )
11972
- );
11973
11919
  bottomValues2.push(
11974
11920
  renderBottomText(
11975
11921
  additionalLeftSpace + columnWidth * i + columnWidth * 0.5,
package/dist/style.css CHANGED
@@ -534,13 +534,10 @@
534
534
  ._ganttTodayCircle_1oyhk_9 {
535
535
 
536
536
  }
537
- ._calendarBottomText_1mt8w_1 {
537
+ ._calendarBottomText_15t8b_1 {
538
538
  text-anchor: middle;
539
539
  /*noinspection CssUnresolvedCustomProperty*/
540
- fill: var(
541
- --gantt-calendar-bottom-text-color,
542
- var(--gantt-secondary-text-color)
543
- );
540
+ fill: var(--gantt-calendar-bottom-text-color, var(--gantt-secondary-text-color));
544
541
  -webkit-touch-callout: none;
545
542
  -webkit-user-select: none;
546
543
  -moz-user-select: none;
@@ -549,12 +546,12 @@
549
546
  pointer-events: none;
550
547
  }
551
548
 
552
- ._calendarTopTick_1mt8w_31 {
549
+ ._calendarTopTick_15t8b_25 {
553
550
  /*noinspection CssUnresolvedCustomProperty*/
554
551
  stroke: var(--gantt-calendar-top-divider-color, var(--gantt-divider-color));
555
552
  }
556
553
 
557
- ._calendarTopText_1mt8w_41 {
554
+ ._calendarTopText_15t8b_35 {
558
555
  text-anchor: middle;
559
556
  /*noinspection CssUnresolvedCustomProperty*/
560
557
  fill: var(--gantt-calendar-top-text-color, var(--gantt-primary-text-color));
@@ -567,25 +564,19 @@
567
564
  font-weight: bold;
568
565
  }
569
566
 
570
- ._calendarHeader_1mt8w_67 {
567
+ ._calendarHeader_15t8b_61 {
571
568
  fill: transparent;
572
569
  /*noinspection CssUnresolvedCustomProperty*/
573
570
  stroke: var(--gantt-calendar-stroke-color);
574
571
  stroke-width: 1.4;
575
572
  }
576
573
 
577
- ._calendarBottomSeparator_1mt8w_81 {
578
- /*noinspection CssUnresolvedCustomProperty*/
579
- stroke: var(--gantt-calendar-stroke-color, #e0e0e0);
580
- stroke-width: 1;
581
- }
582
-
583
- ._calendar_1mt8w_1 {
574
+ ._calendar_15t8b_1 {
584
575
  cursor: auto;
585
576
  user-select: none;
586
577
  }
587
578
 
588
- ._calendarDragging_1mt8w_103 {
579
+ ._calendarDragging_15t8b_85 {
589
580
  cursor: ew-resize;
590
581
  }
591
582
  ._arrow_clickable_3u3q2_1 {
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.2",
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",