gantt-task-react-v 1.0.30 → 1.0.31

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.
@@ -13146,12 +13146,12 @@ const TaskGanttContentInner = (props) => {
13146
13146
  ] });
13147
13147
  };
13148
13148
  const TaskGanttContent = memo(TaskGanttContentInner);
13149
- const ganttVerticalContainer = "_ganttVerticalContainer_1mwac_1";
13150
- const horizontalContainer = "_horizontalContainer_1mwac_81";
13151
- const ganttHeader = "_ganttHeader_1mwac_97";
13152
- const ganttBodyScroll = "_ganttBodyScroll_1mwac_107";
13153
- const wrapper = "_wrapper_1mwac_121";
13154
- const calendarDragging = "_calendarDragging_1mwac_149";
13149
+ const ganttVerticalContainer = "_ganttVerticalContainer_qvqak_1";
13150
+ const horizontalContainer = "_horizontalContainer_qvqak_81";
13151
+ const ganttHeader = "_ganttHeader_qvqak_99";
13152
+ const ganttBodyScroll = "_ganttBodyScroll_qvqak_109";
13153
+ const wrapper = "_wrapper_qvqak_123";
13154
+ const calendarDragging = "_calendarDragging_qvqak_151";
13155
13155
  const styles$2 = {
13156
13156
  ganttVerticalContainer,
13157
13157
  horizontalContainer,
@@ -13185,9 +13185,10 @@ const TaskGanttInner = (props) => {
13185
13185
  const containerStyle = useMemo(
13186
13186
  () => ({
13187
13187
  height: "100%",
13188
- width: "100%"
13188
+ width: fullSvgWidth,
13189
+ minWidth: "100%"
13189
13190
  }),
13190
- []
13191
+ [fullSvgWidth]
13191
13192
  );
13192
13193
  const gridStyle = useMemo(
13193
13194
  () => ({
@@ -13163,12 +13163,12 @@
13163
13163
  ] });
13164
13164
  };
13165
13165
  const TaskGanttContent = React.memo(TaskGanttContentInner);
13166
- const ganttVerticalContainer = "_ganttVerticalContainer_1mwac_1";
13167
- const horizontalContainer = "_horizontalContainer_1mwac_81";
13168
- const ganttHeader = "_ganttHeader_1mwac_97";
13169
- const ganttBodyScroll = "_ganttBodyScroll_1mwac_107";
13170
- const wrapper = "_wrapper_1mwac_121";
13171
- const calendarDragging = "_calendarDragging_1mwac_149";
13166
+ const ganttVerticalContainer = "_ganttVerticalContainer_qvqak_1";
13167
+ const horizontalContainer = "_horizontalContainer_qvqak_81";
13168
+ const ganttHeader = "_ganttHeader_qvqak_99";
13169
+ const ganttBodyScroll = "_ganttBodyScroll_qvqak_109";
13170
+ const wrapper = "_wrapper_qvqak_123";
13171
+ const calendarDragging = "_calendarDragging_qvqak_151";
13172
13172
  const styles$2 = {
13173
13173
  ganttVerticalContainer,
13174
13174
  horizontalContainer,
@@ -13202,9 +13202,10 @@
13202
13202
  const containerStyle = React.useMemo(
13203
13203
  () => ({
13204
13204
  height: "100%",
13205
- width: "100%"
13205
+ width: fullSvgWidth,
13206
+ minWidth: "100%"
13206
13207
  }),
13207
- []
13208
+ [fullSvgWidth]
13208
13209
  );
13209
13210
  const gridStyle = React.useMemo(
13210
13211
  () => ({
package/dist/style.css CHANGED
@@ -583,7 +583,7 @@
583
583
  user-select: none;
584
584
  stroke-width: 0;
585
585
  }
586
- ._ganttVerticalContainer_1mwac_1 {
586
+ ._ganttVerticalContainer_qvqak_1 {
587
587
  display: flex;
588
588
  flex-direction: column;
589
589
  overflow-x: auto;
@@ -599,16 +599,16 @@
599
599
  width: 100%;
600
600
  }
601
601
 
602
- ._ganttVerticalContainer_1mwac_1::-webkit-scrollbar {
602
+ ._ganttVerticalContainer_qvqak_1::-webkit-scrollbar {
603
603
  width: 1rem;
604
604
  height: 1rem;
605
605
  }
606
606
 
607
- ._ganttVerticalContainer_1mwac_1::-webkit-scrollbar-corner {
607
+ ._ganttVerticalContainer_qvqak_1::-webkit-scrollbar-corner {
608
608
  background: transparent;
609
609
  }
610
610
 
611
- ._ganttVerticalContainer_1mwac_1::-webkit-scrollbar-thumb {
611
+ ._ganttVerticalContainer_qvqak_1::-webkit-scrollbar-thumb {
612
612
  border: 4px solid transparent;
613
613
  /*noinspection CssUnresolvedCustomProperty*/
614
614
  background: var(--gantt-scrollbar-thumb-color);
@@ -616,34 +616,35 @@
616
616
  background-clip: padding-box;
617
617
  }
618
618
 
619
- ._ganttVerticalContainer_1mwac_1::-webkit-scrollbar-thumb:hover {
619
+ ._ganttVerticalContainer_qvqak_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_1mwac_81 {
626
+ ._horizontalContainer_qvqak_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
+ width: max-content;
632
633
  }
633
634
 
634
- ._ganttHeader_1mwac_97 {
635
+ ._ganttHeader_qvqak_99 {
635
636
  flex: 0 0 auto;
636
637
  z-index: 3;
637
638
  }
638
639
 
639
- ._ganttBodyScroll_1mwac_107 {
640
+ ._ganttBodyScroll_qvqak_109 {
640
641
  flex: 1 1 auto;
641
642
  overflow: hidden;
642
643
  min-height: 0;
643
644
  height: 100%;
644
645
  }
645
646
 
646
- ._wrapper_1mwac_121 {
647
+ ._wrapper_qvqak_123 {
647
648
  display: flex;
648
649
  padding: 0;
649
650
  margin: 0;
@@ -657,7 +658,7 @@
657
658
  width: 100%;
658
659
  }
659
660
 
660
- ._calendarDragging_1mwac_149 {
661
+ ._calendarDragging_qvqak_151 {
661
662
  cursor: grabbing;
662
663
  }
663
664
  /*noinspection CssUnresolvedCustomProperty*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gantt-task-react-v",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
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",