gantt-task-react-v 1.0.26 → 1.0.28

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.
@@ -4674,7 +4674,6 @@ const styles$k = {
4674
4674
  scroll
4675
4675
  };
4676
4676
  const VerticalScroll = ({
4677
- ganttHeight,
4678
4677
  ganttFullHeight,
4679
4678
  headerHeight,
4680
4679
  isChangeInProgress,
@@ -4686,7 +4685,7 @@ const VerticalScroll = ({
4686
4685
  "div",
4687
4686
  {
4688
4687
  style: {
4689
- height: ganttHeight,
4688
+ height: `calc(100% - ${headerHeight}px)`,
4690
4689
  marginTop: headerHeight,
4691
4690
  marginLeft: rtl ? void 0 : "-1rem",
4692
4691
  pointerEvents: isChangeInProgress ? "none" : void 0
@@ -13147,12 +13146,12 @@ const TaskGanttContentInner = (props) => {
13147
13146
  ] });
13148
13147
  };
13149
13148
  const TaskGanttContent = memo(TaskGanttContentInner);
13150
- const ganttVerticalContainer = "_ganttVerticalContainer_1xboz_1";
13151
- const horizontalContainer = "_horizontalContainer_1xboz_81";
13152
- const ganttHeader = "_ganttHeader_1xboz_97";
13153
- const ganttBodyScroll = "_ganttBodyScroll_1xboz_107";
13154
- const wrapper = "_wrapper_1xboz_123";
13155
- const calendarDragging = "_calendarDragging_1xboz_153";
13149
+ const ganttVerticalContainer = "_ganttVerticalContainer_1r06d_1";
13150
+ const horizontalContainer = "_horizontalContainer_1r06d_81";
13151
+ const ganttHeader = "_ganttHeader_1r06d_97";
13152
+ const ganttBodyScroll = "_ganttBodyScroll_1r06d_107";
13153
+ const wrapper = "_wrapper_1r06d_123";
13154
+ const calendarDragging = "_calendarDragging_1r06d_153";
13156
13155
  const styles$2 = {
13157
13156
  ganttVerticalContainer,
13158
13157
  horizontalContainer,
@@ -4691,7 +4691,6 @@
4691
4691
  scroll
4692
4692
  };
4693
4693
  const VerticalScroll = ({
4694
- ganttHeight,
4695
4694
  ganttFullHeight,
4696
4695
  headerHeight,
4697
4696
  isChangeInProgress,
@@ -4703,7 +4702,7 @@
4703
4702
  "div",
4704
4703
  {
4705
4704
  style: {
4706
- height: ganttHeight,
4705
+ height: `calc(100% - ${headerHeight}px)`,
4707
4706
  marginTop: headerHeight,
4708
4707
  marginLeft: rtl ? void 0 : "-1rem",
4709
4708
  pointerEvents: isChangeInProgress ? "none" : void 0
@@ -13164,12 +13163,12 @@
13164
13163
  ] });
13165
13164
  };
13166
13165
  const TaskGanttContent = React.memo(TaskGanttContentInner);
13167
- const ganttVerticalContainer = "_ganttVerticalContainer_1xboz_1";
13168
- const horizontalContainer = "_horizontalContainer_1xboz_81";
13169
- const ganttHeader = "_ganttHeader_1xboz_97";
13170
- const ganttBodyScroll = "_ganttBodyScroll_1xboz_107";
13171
- const wrapper = "_wrapper_1xboz_123";
13172
- const calendarDragging = "_calendarDragging_1xboz_153";
13166
+ const ganttVerticalContainer = "_ganttVerticalContainer_1r06d_1";
13167
+ const horizontalContainer = "_horizontalContainer_1r06d_81";
13168
+ const ganttHeader = "_ganttHeader_1r06d_97";
13169
+ const ganttBodyScroll = "_ganttBodyScroll_1r06d_107";
13170
+ const wrapper = "_wrapper_1r06d_123";
13171
+ const calendarDragging = "_calendarDragging_1r06d_153";
13173
13172
  const styles$2 = {
13174
13173
  ganttVerticalContainer,
13175
13174
  horizontalContainer,
package/dist/style.css CHANGED
@@ -583,7 +583,7 @@
583
583
  user-select: none;
584
584
  stroke-width: 0;
585
585
  }
586
- ._ganttVerticalContainer_1xboz_1 {
586
+ ._ganttVerticalContainer_1r06d_1 {
587
587
  display: flex;
588
588
  flex-direction: column;
589
589
  overflow-x: auto;
@@ -599,16 +599,16 @@
599
599
  max-width: 100%;
600
600
  }
601
601
 
602
- ._ganttVerticalContainer_1xboz_1::-webkit-scrollbar {
602
+ ._ganttVerticalContainer_1r06d_1::-webkit-scrollbar {
603
603
  width: 1rem;
604
604
  height: 1rem;
605
605
  }
606
606
 
607
- ._ganttVerticalContainer_1xboz_1::-webkit-scrollbar-corner {
607
+ ._ganttVerticalContainer_1r06d_1::-webkit-scrollbar-corner {
608
608
  background: transparent;
609
609
  }
610
610
 
611
- ._ganttVerticalContainer_1xboz_1::-webkit-scrollbar-thumb {
611
+ ._ganttVerticalContainer_1r06d_1::-webkit-scrollbar-thumb {
612
612
  border: 4px solid transparent;
613
613
  /*noinspection CssUnresolvedCustomProperty*/
614
614
  background: var(--gantt-scrollbar-thumb-color);
@@ -616,35 +616,35 @@
616
616
  background-clip: padding-box;
617
617
  }
618
618
 
619
- ._ganttVerticalContainer_1xboz_1::-webkit-scrollbar-thumb:hover {
619
+ ._ganttVerticalContainer_1r06d_1::-webkit-scrollbar-thumb:hover {
620
620
  border: 2px solid transparent;
621
621
  /*noinspection CssUnresolvedCustomProperty*/
622
622
  background: var(--gantt-scrollbar-thumb-color);
623
623
  background-clip: padding-box;
624
624
  }
625
625
 
626
- ._horizontalContainer_1xboz_81 {
626
+ ._horizontalContainer_1r06d_81 {
627
627
  margin: 0;
628
628
  padding: 0;
629
- overflow: hidden;
629
+ overflow: visible;
630
630
  height: 100%;
631
631
  min-height: 0;
632
632
  }
633
633
 
634
- ._ganttHeader_1xboz_97 {
634
+ ._ganttHeader_1r06d_97 {
635
635
  flex: 0 0 auto;
636
636
  z-index: 3;
637
637
  }
638
638
 
639
- ._ganttBodyScroll_1xboz_107 {
639
+ ._ganttBodyScroll_1r06d_107 {
640
640
  flex: 1 1 auto;
641
641
  overflow-y: auto;
642
- overflow-x: hidden;
642
+ overflow-x: auto;
643
643
  min-height: 0;
644
644
  height: 100%;
645
645
  }
646
646
 
647
- ._wrapper_1xboz_123 {
647
+ ._wrapper_1r06d_123 {
648
648
  display: flex;
649
649
  padding: 0;
650
650
  margin: 0;
@@ -659,7 +659,7 @@
659
659
  overflow: hidden;
660
660
  }
661
661
 
662
- ._calendarDragging_1xboz_153 {
662
+ ._calendarDragging_1r06d_153 {
663
663
  cursor: grabbing;
664
664
  }
665
665
  /*noinspection CssUnresolvedCustomProperty*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gantt-task-react-v",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
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",