gantt-task-react-v 1.0.8 → 1.0.9

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.
@@ -13155,12 +13155,12 @@ const TaskGanttContentInner = (props) => {
13155
13155
  ] });
13156
13156
  };
13157
13157
  const TaskGanttContent = memo(TaskGanttContentInner);
13158
- const ganttVerticalContainer = "_ganttVerticalContainer_1044x_1";
13159
- const horizontalContainer = "_horizontalContainer_1044x_75";
13160
- const ganttHeader = "_ganttHeader_1044x_87";
13161
- const ganttBodyScroll = "_ganttBodyScroll_1044x_97";
13162
- const wrapper = "_wrapper_1044x_109";
13163
- const calendarDragging = "_calendarDragging_1044x_131";
13158
+ const ganttVerticalContainer = "_ganttVerticalContainer_1hrwo_1";
13159
+ const horizontalContainer = "_horizontalContainer_1hrwo_75";
13160
+ const ganttHeader = "_ganttHeader_1hrwo_87";
13161
+ const ganttBodyScroll = "_ganttBodyScroll_1hrwo_97";
13162
+ const wrapper = "_wrapper_1hrwo_109";
13163
+ const calendarDragging = "_calendarDragging_1hrwo_131";
13164
13164
  const styles$2 = {
13165
13165
  ganttVerticalContainer,
13166
13166
  horizontalContainer,
@@ -19888,7 +19888,7 @@ const Gantt = (props) => {
19888
19888
  return /* @__PURE__ */ jsx(GanttThemeProvider, { theme, children: (cssVars) => /* @__PURE__ */ jsx(GanttLocaleProvider, { locale, children: /* @__PURE__ */ jsxs(
19889
19889
  "div",
19890
19890
  {
19891
- style: cssVars,
19891
+ style: typeof clientHeight === "string" ? { ...cssVars, height: clientHeight } : cssVars,
19892
19892
  className: `${styles$2.wrapper} gantt`,
19893
19893
  onKeyDown: handleKeyDown,
19894
19894
  tabIndex: 0,
@@ -13172,12 +13172,12 @@
13172
13172
  ] });
13173
13173
  };
13174
13174
  const TaskGanttContent = React.memo(TaskGanttContentInner);
13175
- const ganttVerticalContainer = "_ganttVerticalContainer_1044x_1";
13176
- const horizontalContainer = "_horizontalContainer_1044x_75";
13177
- const ganttHeader = "_ganttHeader_1044x_87";
13178
- const ganttBodyScroll = "_ganttBodyScroll_1044x_97";
13179
- const wrapper = "_wrapper_1044x_109";
13180
- const calendarDragging = "_calendarDragging_1044x_131";
13175
+ const ganttVerticalContainer = "_ganttVerticalContainer_1hrwo_1";
13176
+ const horizontalContainer = "_horizontalContainer_1hrwo_75";
13177
+ const ganttHeader = "_ganttHeader_1hrwo_87";
13178
+ const ganttBodyScroll = "_ganttBodyScroll_1hrwo_97";
13179
+ const wrapper = "_wrapper_1hrwo_109";
13180
+ const calendarDragging = "_calendarDragging_1hrwo_131";
13181
13181
  const styles$2 = {
13182
13182
  ganttVerticalContainer,
13183
13183
  horizontalContainer,
@@ -19905,7 +19905,7 @@
19905
19905
  return /* @__PURE__ */ jsxRuntime.jsx(GanttThemeProvider, { theme, children: (cssVars) => /* @__PURE__ */ jsxRuntime.jsx(GanttLocaleProvider, { locale, children: /* @__PURE__ */ jsxRuntime.jsxs(
19906
19906
  "div",
19907
19907
  {
19908
- style: cssVars,
19908
+ style: typeof clientHeight === "string" ? { ...cssVars, height: clientHeight } : cssVars,
19909
19909
  className: `${styles$2.wrapper} gantt`,
19910
19910
  onKeyDown: handleKeyDown,
19911
19911
  tabIndex: 0,
package/dist/style.css CHANGED
@@ -568,11 +568,11 @@
568
568
  user-select: none;
569
569
  stroke-width: 0;
570
570
  }
571
- ._ganttVerticalContainer_1044x_1 {
571
+ ._ganttVerticalContainer_1hrwo_1 {
572
572
  display: flex;
573
573
  flex-direction: column;
574
- overflow-x: hidden;
575
- overflow-y: hidden;
574
+ overflow-x: scroll;
575
+ overflow-y: scroll;
576
576
  font-size: 0;
577
577
  margin: 0;
578
578
  padding: 0;
@@ -581,16 +581,16 @@
581
581
  flex-grow: 1;
582
582
  }
583
583
 
584
- ._ganttVerticalContainer_1044x_1::-webkit-scrollbar {
584
+ ._ganttVerticalContainer_1hrwo_1::-webkit-scrollbar {
585
585
  width: 1rem;
586
586
  height: 1rem;
587
587
  }
588
588
 
589
- ._ganttVerticalContainer_1044x_1::-webkit-scrollbar-corner {
589
+ ._ganttVerticalContainer_1hrwo_1::-webkit-scrollbar-corner {
590
590
  background: transparent;
591
591
  }
592
592
 
593
- ._ganttVerticalContainer_1044x_1::-webkit-scrollbar-thumb {
593
+ ._ganttVerticalContainer_1hrwo_1::-webkit-scrollbar-thumb {
594
594
  border: 4px solid transparent;
595
595
  /*noinspection CssUnresolvedCustomProperty*/
596
596
  background: var(--gantt-scrollbar-thumb-color);
@@ -598,31 +598,31 @@
598
598
  background-clip: padding-box;
599
599
  }
600
600
 
601
- ._ganttVerticalContainer_1044x_1::-webkit-scrollbar-thumb:hover {
601
+ ._ganttVerticalContainer_1hrwo_1::-webkit-scrollbar-thumb:hover {
602
602
  border: 2px solid transparent;
603
603
  /*noinspection CssUnresolvedCustomProperty*/
604
604
  background: var(--gantt-scrollbar-thumb-color);
605
605
  background-clip: padding-box;
606
606
  }
607
607
 
608
- ._horizontalContainer_1044x_75 {
608
+ ._horizontalContainer_1hrwo_75 {
609
609
  margin: 0;
610
610
  padding: 0;
611
611
  overflow: hidden;
612
612
  }
613
613
 
614
- ._ganttHeader_1044x_87 {
614
+ ._ganttHeader_1hrwo_87 {
615
615
  flex: 0 0 auto;
616
616
  z-index: 3;
617
617
  }
618
618
 
619
- ._ganttBodyScroll_1044x_97 {
619
+ ._ganttBodyScroll_1hrwo_97 {
620
620
  flex: 1 1 auto;
621
621
  overflow-y: auto;
622
622
  overflow-x: hidden;
623
623
  }
624
624
 
625
- ._wrapper_1044x_109 {
625
+ ._wrapper_1hrwo_109 {
626
626
  display: flex;
627
627
  padding: 0;
628
628
  margin: 0;
@@ -633,7 +633,7 @@
633
633
  border-bottom: 1px solid var(--gantt-divider-color);
634
634
  }
635
635
 
636
- ._calendarDragging_1044x_131 {
636
+ ._calendarDragging_1hrwo_131 {
637
637
  cursor: grabbing;
638
638
  }
639
639
  /*noinspection CssUnresolvedCustomProperty*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gantt-task-react-v",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
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",