gantt-task-react-v 1.0.1 → 1.0.5

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.
package/README.md CHANGED
@@ -1,26 +1,20 @@
1
- # gantt-task-react-v
1
+ # kvandake-gantt-task-react
2
2
 
3
- ## Interactive Gantt Chart for React with TypeScript - Enhanced with Flexible Height
3
+ ## Interactive Gantt Chart for React with TypeScript.
4
4
 
5
- A fork of webagility-gantt-task-react with improvements including flexible height that adapts to content instead of fixed 600px height.
6
-
7
- ## Key Features
8
-
9
- - **Flexible Height**: No more fixed 600px height limitation - automatically adapts to content
10
- - **Responsive Design**: Works better with different screen sizes and containers
11
- - **All Original Features**: Maintains all functionality from the original package
5
+ ## [Live Demo In Storybook](https://661071b076b50cb537c16c19-yrsukdfefs.chromatic.com/)
12
6
 
13
7
  ## Install
14
8
 
15
9
  ```
16
- npm install gantt-task-react-v
10
+ npm install webagility-gantt-task-react
17
11
  ```
18
12
 
19
13
  ## How to use it
20
14
 
21
15
  ```ts
22
- import { Gantt, Task, EventOption, StylingOption, ViewMode, DisplayOption } from 'gantt-task-react-v';
23
- import "gantt-task-react-v/dist/style.css";
16
+ import { Gantt, Task, EventOption, StylingOption, ViewMode, DisplayOption } from 'gantt-task-react';
17
+ import "gantt-task-react/dist/index.css";
24
18
 
25
19
  let tasks: Task[] = [
26
20
  {
@@ -10,7 +10,6 @@ export interface TaskGanttProps extends GanttTaskBarActions {
10
10
  fullRowHeight: number;
11
11
  fullSvgWidth: number;
12
12
  ganttFullHeight: number;
13
- ganttHeight: number;
14
13
  ganttSVGRef: RefObject<SVGSVGElement>;
15
14
  ganttTodayProps: GanttTodayProps;
16
15
  horizontalContainerRef: RefObject<HTMLDivElement>;
@@ -14,7 +14,6 @@ export type TaskListProps = {
14
14
  distances: Distances;
15
15
  fullRowHeight: number;
16
16
  ganttFullHeight: number;
17
- ganttHeight: number;
18
17
  getTaskCurrentState: (task: Task) => Task;
19
18
  handleAddTask: (task: Task | null) => void;
20
19
  handleDeleteTasks: (task: RenderTask[]) => void;
@@ -5181,8 +5181,7 @@ const DEFAULT_THEME = {
5181
5181
  expandIconWidth: 20,
5182
5182
  handleWidth: 8,
5183
5183
  headerHeight: 50,
5184
- ganttHeight: 500,
5185
- // Flexible height - reasonable default that allows scrolling
5184
+ ganttHeight: 600,
5186
5185
  minimumRowDisplayed: 4,
5187
5186
  nestedTaskNameOffset: 20,
5188
5187
  relationCircleOffset: 10,
@@ -10658,14 +10657,14 @@ const TaskListTableDefaultInner = ({
10658
10657
  );
10659
10658
  };
10660
10659
  const TaskListTable = memo(TaskListTableDefaultInner);
10661
- const taskListRoot = "_taskListRoot_51pue_1";
10662
- const taskListHorizontalScroll = "_taskListHorizontalScroll_51pue_13";
10663
- const taskListResizer = "_taskListResizer_51pue_69";
10664
- const horizontalContainer$1 = "_horizontalContainer_51pue_133";
10665
- const tableWrapper = "_tableWrapper_51pue_147";
10666
- const scrollToTop = "_scrollToTop_51pue_155";
10667
- const scrollToBottom = "_scrollToBottom_51pue_171";
10668
- const hidden = "_hidden_51pue_187";
10660
+ const taskListRoot = "_taskListRoot_3y2l5_1";
10661
+ const taskListHorizontalScroll = "_taskListHorizontalScroll_3y2l5_13";
10662
+ const taskListResizer = "_taskListResizer_3y2l5_69";
10663
+ const horizontalContainer$1 = "_horizontalContainer_3y2l5_133";
10664
+ const tableWrapper = "_tableWrapper_3y2l5_145";
10665
+ const scrollToTop = "_scrollToTop_3y2l5_153";
10666
+ const scrollToBottom = "_scrollToBottom_3y2l5_169";
10667
+ const hidden = "_hidden_3y2l5_185";
10669
10668
  const styles$d = {
10670
10669
  taskListRoot,
10671
10670
  taskListHorizontalScroll,
@@ -10699,7 +10698,6 @@ const TaskListInner = ({
10699
10698
  distances,
10700
10699
  fullRowHeight,
10701
10700
  ganttFullHeight,
10702
- ganttHeight,
10703
10701
  getTaskCurrentState,
10704
10702
  handleAddTask,
10705
10703
  handleDeleteTasks,
@@ -10830,8 +10828,8 @@ const TaskListInner = ({
10830
10828
  ref: taskListContainerRef,
10831
10829
  className: styles$d.horizontalContainer,
10832
10830
  style: {
10833
- height: Math.max(
10834
- ganttHeight - ((tableBottom == null ? void 0 : tableBottom.height) || 0),
10831
+ height: Math.min(
10832
+ ganttFullHeight,
10835
10833
  distances.minimumRowDisplayed * distances.rowHeight
10836
10834
  ),
10837
10835
  width: taskListWidth
@@ -13156,10 +13154,10 @@ const TaskGanttContentInner = (props) => {
13156
13154
  ] });
13157
13155
  };
13158
13156
  const TaskGanttContent = memo(TaskGanttContentInner);
13159
- const ganttVerticalContainer = "_ganttVerticalContainer_1rgpy_1";
13160
- const horizontalContainer = "_horizontalContainer_1rgpy_71";
13161
- const wrapper = "_wrapper_1rgpy_85";
13162
- const calendarDragging = "_calendarDragging_1rgpy_107";
13157
+ const ganttVerticalContainer = "_ganttVerticalContainer_1unzl_1";
13158
+ const horizontalContainer = "_horizontalContainer_1unzl_71";
13159
+ const wrapper = "_wrapper_1unzl_83";
13160
+ const calendarDragging = "_calendarDragging_1unzl_105";
13163
13161
  const styles$2 = {
13164
13162
  ganttVerticalContainer,
13165
13163
  horizontalContainer,
@@ -13174,7 +13172,6 @@ const TaskGanttInner = (props) => {
13174
13172
  fullRowHeight,
13175
13173
  fullSvgWidth,
13176
13174
  ganttFullHeight,
13177
- ganttHeight,
13178
13175
  ganttSVGRef,
13179
13176
  ganttTodayProps,
13180
13177
  ganttTodayProps: {
@@ -13191,10 +13188,10 @@ const TaskGanttInner = (props) => {
13191
13188
  const moveStateScrollRef = useRef(null);
13192
13189
  const containerStyle = useMemo(
13193
13190
  () => ({
13194
- height: Math.max(ganttHeight, minimumRowDisplayed * rowHeight),
13191
+ height: Math.min(ganttFullHeight, minimumRowDisplayed * rowHeight),
13195
13192
  width: fullSvgWidth
13196
13193
  }),
13197
- [ganttHeight, minimumRowDisplayed, rowHeight, fullSvgWidth]
13194
+ [ganttFullHeight, minimumRowDisplayed, rowHeight, fullSvgWidth]
13198
13195
  );
13199
13196
  const gridStyle = useMemo(
13200
13197
  () => ({
@@ -13324,7 +13321,15 @@ const TaskGanttInner = (props) => {
13324
13321
  ref: ganttSVGRef,
13325
13322
  children: [
13326
13323
  /* @__PURE__ */ jsx(GanttToday, { ...ganttTodayProps }),
13327
- /* @__PURE__ */ jsx("rect", { ref: contentRef, width: "100%", height: "100%", fill: "transparent" }),
13324
+ /* @__PURE__ */ jsx(
13325
+ "rect",
13326
+ {
13327
+ ref: contentRef,
13328
+ width: "100%",
13329
+ height: "100%",
13330
+ fill: "transparent"
13331
+ }
13332
+ ),
13328
13333
  /* @__PURE__ */ jsx(TaskGanttContent, { ...barProps })
13329
13334
  ]
13330
13335
  }
@@ -18689,10 +18694,13 @@ const Gantt = (props) => {
18689
18694
  },
18690
18695
  [maxLevelLength, fullRowHeight, (_a = taskList == null ? void 0 : taskList.tableBottom) == null ? void 0 : _a.height]
18691
18696
  );
18692
- const ganttHeight = useMemo(
18693
- () => distances.ganttHeight ? Math.min(distances.ganttHeight, ganttFullHeight) : ganttFullHeight,
18694
- [distances, ganttFullHeight]
18695
- );
18697
+ const ganttHeight = useMemo(() => {
18698
+ const minRowsHeight = distances.minimumRowDisplayed * distances.rowHeight;
18699
+ if (typeof distances.ganttHeight === "number") {
18700
+ return Math.min(distances.ganttHeight, ganttFullHeight, minRowsHeight);
18701
+ }
18702
+ return Math.min(ganttFullHeight, minRowsHeight);
18703
+ }, [distances, ganttFullHeight]);
18696
18704
  const [taskToRowIndexMap, rowIndexToTaskMap, mapGlobalRowIndexToTask] = useMemo(
18697
18705
  () => getMapTaskToRowIndex(visibleTasks, comparisonLevels),
18698
18706
  [visibleTasks, comparisonLevels]
@@ -19334,7 +19342,13 @@ const Gantt = (props) => {
19334
19342
  }
19335
19343
  });
19336
19344
  },
19337
- [getMetadata, handleCommitInternal, mapTaskToGlobalIndex, onChangeTooltipTask, prepareSuggestions]
19345
+ [
19346
+ getMetadata,
19347
+ handleCommitInternal,
19348
+ mapTaskToGlobalIndex,
19349
+ onChangeTooltipTask,
19350
+ prepareSuggestions
19351
+ ]
19338
19352
  );
19339
19353
  const handleMoveTaskBefore = useCallback(
19340
19354
  (target, taskForMove) => {
@@ -19664,7 +19678,20 @@ const Gantt = (props) => {
19664
19678
  startColumnIndex,
19665
19679
  language
19666
19680
  }),
19667
- [additionalLeftSpace, dateSetup, distances, endColumnIndex, fullSvgWidth, getDate, isUnknownDates, taskBar.renderBottomHeader, taskBar.renderTopHeader, rtl, startColumnIndex, language]
19681
+ [
19682
+ additionalLeftSpace,
19683
+ dateSetup,
19684
+ distances,
19685
+ endColumnIndex,
19686
+ fullSvgWidth,
19687
+ getDate,
19688
+ isUnknownDates,
19689
+ taskBar.renderBottomHeader,
19690
+ taskBar.renderTopHeader,
19691
+ rtl,
19692
+ startColumnIndex,
19693
+ language
19694
+ ]
19668
19695
  );
19669
19696
  const renderTaskBarProps = useMemo(
19670
19697
  () => ({
@@ -19755,7 +19782,6 @@ const Gantt = (props) => {
19755
19782
  distances,
19756
19783
  fullRowHeight,
19757
19784
  ganttFullHeight,
19758
- ganttHeight,
19759
19785
  getTaskCurrentState,
19760
19786
  handleAddTask,
19761
19787
  handleDeleteTasks,
@@ -19785,7 +19811,6 @@ const Gantt = (props) => {
19785
19811
  distances,
19786
19812
  fullRowHeight,
19787
19813
  ganttFullHeight,
19788
- ganttHeight,
19789
19814
  getTaskCurrentState,
19790
19815
  handleAddTask,
19791
19816
  handleDeleteTasks,
@@ -19826,7 +19851,6 @@ const Gantt = (props) => {
19826
19851
  fullRowHeight,
19827
19852
  fullSvgWidth,
19828
19853
  ganttFullHeight,
19829
- ganttHeight,
19830
19854
  ganttSVGRef,
19831
19855
  ganttTodayProps: gridProps,
19832
19856
  horizontalContainerRef,
@@ -5198,8 +5198,7 @@
5198
5198
  expandIconWidth: 20,
5199
5199
  handleWidth: 8,
5200
5200
  headerHeight: 50,
5201
- ganttHeight: 500,
5202
- // Flexible height - reasonable default that allows scrolling
5201
+ ganttHeight: 600,
5203
5202
  minimumRowDisplayed: 4,
5204
5203
  nestedTaskNameOffset: 20,
5205
5204
  relationCircleOffset: 10,
@@ -10675,14 +10674,14 @@
10675
10674
  );
10676
10675
  };
10677
10676
  const TaskListTable = React.memo(TaskListTableDefaultInner);
10678
- const taskListRoot = "_taskListRoot_51pue_1";
10679
- const taskListHorizontalScroll = "_taskListHorizontalScroll_51pue_13";
10680
- const taskListResizer = "_taskListResizer_51pue_69";
10681
- const horizontalContainer$1 = "_horizontalContainer_51pue_133";
10682
- const tableWrapper = "_tableWrapper_51pue_147";
10683
- const scrollToTop = "_scrollToTop_51pue_155";
10684
- const scrollToBottom = "_scrollToBottom_51pue_171";
10685
- const hidden = "_hidden_51pue_187";
10677
+ const taskListRoot = "_taskListRoot_3y2l5_1";
10678
+ const taskListHorizontalScroll = "_taskListHorizontalScroll_3y2l5_13";
10679
+ const taskListResizer = "_taskListResizer_3y2l5_69";
10680
+ const horizontalContainer$1 = "_horizontalContainer_3y2l5_133";
10681
+ const tableWrapper = "_tableWrapper_3y2l5_145";
10682
+ const scrollToTop = "_scrollToTop_3y2l5_153";
10683
+ const scrollToBottom = "_scrollToBottom_3y2l5_169";
10684
+ const hidden = "_hidden_3y2l5_185";
10686
10685
  const styles$d = {
10687
10686
  taskListRoot,
10688
10687
  taskListHorizontalScroll,
@@ -10716,7 +10715,6 @@
10716
10715
  distances,
10717
10716
  fullRowHeight,
10718
10717
  ganttFullHeight,
10719
- ganttHeight,
10720
10718
  getTaskCurrentState,
10721
10719
  handleAddTask,
10722
10720
  handleDeleteTasks,
@@ -10847,8 +10845,8 @@
10847
10845
  ref: taskListContainerRef,
10848
10846
  className: styles$d.horizontalContainer,
10849
10847
  style: {
10850
- height: Math.max(
10851
- ganttHeight - ((tableBottom == null ? void 0 : tableBottom.height) || 0),
10848
+ height: Math.min(
10849
+ ganttFullHeight,
10852
10850
  distances.minimumRowDisplayed * distances.rowHeight
10853
10851
  ),
10854
10852
  width: taskListWidth
@@ -13173,10 +13171,10 @@
13173
13171
  ] });
13174
13172
  };
13175
13173
  const TaskGanttContent = React.memo(TaskGanttContentInner);
13176
- const ganttVerticalContainer = "_ganttVerticalContainer_1rgpy_1";
13177
- const horizontalContainer = "_horizontalContainer_1rgpy_71";
13178
- const wrapper = "_wrapper_1rgpy_85";
13179
- const calendarDragging = "_calendarDragging_1rgpy_107";
13174
+ const ganttVerticalContainer = "_ganttVerticalContainer_1unzl_1";
13175
+ const horizontalContainer = "_horizontalContainer_1unzl_71";
13176
+ const wrapper = "_wrapper_1unzl_83";
13177
+ const calendarDragging = "_calendarDragging_1unzl_105";
13180
13178
  const styles$2 = {
13181
13179
  ganttVerticalContainer,
13182
13180
  horizontalContainer,
@@ -13191,7 +13189,6 @@
13191
13189
  fullRowHeight,
13192
13190
  fullSvgWidth,
13193
13191
  ganttFullHeight,
13194
- ganttHeight,
13195
13192
  ganttSVGRef,
13196
13193
  ganttTodayProps,
13197
13194
  ganttTodayProps: {
@@ -13208,10 +13205,10 @@
13208
13205
  const moveStateScrollRef = React.useRef(null);
13209
13206
  const containerStyle = React.useMemo(
13210
13207
  () => ({
13211
- height: Math.max(ganttHeight, minimumRowDisplayed * rowHeight),
13208
+ height: Math.min(ganttFullHeight, minimumRowDisplayed * rowHeight),
13212
13209
  width: fullSvgWidth
13213
13210
  }),
13214
- [ganttHeight, minimumRowDisplayed, rowHeight, fullSvgWidth]
13211
+ [ganttFullHeight, minimumRowDisplayed, rowHeight, fullSvgWidth]
13215
13212
  );
13216
13213
  const gridStyle = React.useMemo(
13217
13214
  () => ({
@@ -13341,7 +13338,15 @@
13341
13338
  ref: ganttSVGRef,
13342
13339
  children: [
13343
13340
  /* @__PURE__ */ jsxRuntime.jsx(GanttToday, { ...ganttTodayProps }),
13344
- /* @__PURE__ */ jsxRuntime.jsx("rect", { ref: contentRef, width: "100%", height: "100%", fill: "transparent" }),
13341
+ /* @__PURE__ */ jsxRuntime.jsx(
13342
+ "rect",
13343
+ {
13344
+ ref: contentRef,
13345
+ width: "100%",
13346
+ height: "100%",
13347
+ fill: "transparent"
13348
+ }
13349
+ ),
13345
13350
  /* @__PURE__ */ jsxRuntime.jsx(TaskGanttContent, { ...barProps })
13346
13351
  ]
13347
13352
  }
@@ -18706,10 +18711,13 @@
18706
18711
  },
18707
18712
  [maxLevelLength, fullRowHeight, (_a = taskList == null ? void 0 : taskList.tableBottom) == null ? void 0 : _a.height]
18708
18713
  );
18709
- const ganttHeight = React.useMemo(
18710
- () => distances.ganttHeight ? Math.min(distances.ganttHeight, ganttFullHeight) : ganttFullHeight,
18711
- [distances, ganttFullHeight]
18712
- );
18714
+ const ganttHeight = React.useMemo(() => {
18715
+ const minRowsHeight = distances.minimumRowDisplayed * distances.rowHeight;
18716
+ if (typeof distances.ganttHeight === "number") {
18717
+ return Math.min(distances.ganttHeight, ganttFullHeight, minRowsHeight);
18718
+ }
18719
+ return Math.min(ganttFullHeight, minRowsHeight);
18720
+ }, [distances, ganttFullHeight]);
18713
18721
  const [taskToRowIndexMap, rowIndexToTaskMap, mapGlobalRowIndexToTask] = React.useMemo(
18714
18722
  () => getMapTaskToRowIndex(visibleTasks, comparisonLevels),
18715
18723
  [visibleTasks, comparisonLevels]
@@ -19351,7 +19359,13 @@
19351
19359
  }
19352
19360
  });
19353
19361
  },
19354
- [getMetadata, handleCommitInternal, mapTaskToGlobalIndex, onChangeTooltipTask, prepareSuggestions]
19362
+ [
19363
+ getMetadata,
19364
+ handleCommitInternal,
19365
+ mapTaskToGlobalIndex,
19366
+ onChangeTooltipTask,
19367
+ prepareSuggestions
19368
+ ]
19355
19369
  );
19356
19370
  const handleMoveTaskBefore = React.useCallback(
19357
19371
  (target, taskForMove) => {
@@ -19681,7 +19695,20 @@
19681
19695
  startColumnIndex,
19682
19696
  language
19683
19697
  }),
19684
- [additionalLeftSpace, dateSetup, distances, endColumnIndex, fullSvgWidth, getDate, isUnknownDates, taskBar.renderBottomHeader, taskBar.renderTopHeader, rtl, startColumnIndex, language]
19698
+ [
19699
+ additionalLeftSpace,
19700
+ dateSetup,
19701
+ distances,
19702
+ endColumnIndex,
19703
+ fullSvgWidth,
19704
+ getDate,
19705
+ isUnknownDates,
19706
+ taskBar.renderBottomHeader,
19707
+ taskBar.renderTopHeader,
19708
+ rtl,
19709
+ startColumnIndex,
19710
+ language
19711
+ ]
19685
19712
  );
19686
19713
  const renderTaskBarProps = React.useMemo(
19687
19714
  () => ({
@@ -19772,7 +19799,6 @@
19772
19799
  distances,
19773
19800
  fullRowHeight,
19774
19801
  ganttFullHeight,
19775
- ganttHeight,
19776
19802
  getTaskCurrentState,
19777
19803
  handleAddTask,
19778
19804
  handleDeleteTasks,
@@ -19802,7 +19828,6 @@
19802
19828
  distances,
19803
19829
  fullRowHeight,
19804
19830
  ganttFullHeight,
19805
- ganttHeight,
19806
19831
  getTaskCurrentState,
19807
19832
  handleAddTask,
19808
19833
  handleDeleteTasks,
@@ -19843,7 +19868,6 @@
19843
19868
  fullRowHeight,
19844
19869
  fullSvgWidth,
19845
19870
  ganttFullHeight,
19846
- ganttHeight,
19847
19871
  ganttSVGRef,
19848
19872
  ganttTodayProps: gridProps,
19849
19873
  horizontalContainerRef,
package/dist/style.css CHANGED
@@ -282,26 +282,26 @@
282
282
  border-bottom: 1px solid var(--gantt-divider-color);
283
283
  table-layout: fixed;
284
284
  }
285
- ._taskListRoot_51pue_1 {
285
+ ._taskListRoot_3y2l5_1 {
286
286
  position: relative;
287
287
  /*noinspection CssUnresolvedCustomProperty*/
288
288
  border-left: 1px solid var(--gantt-table-divider-color, var(--gantt-divider-color));
289
289
  }
290
290
 
291
- ._taskListHorizontalScroll_51pue_13 {
291
+ ._taskListHorizontalScroll_3y2l5_13 {
292
292
  overflow-x: scroll;
293
293
  }
294
294
 
295
- ._taskListHorizontalScroll_51pue_13::-webkit-scrollbar {
295
+ ._taskListHorizontalScroll_3y2l5_13::-webkit-scrollbar {
296
296
  width: 1rem;
297
297
  height: 1rem;
298
298
  }
299
299
 
300
- ._taskListHorizontalScroll_51pue_13::-webkit-scrollbar-corner {
300
+ ._taskListHorizontalScroll_3y2l5_13::-webkit-scrollbar-corner {
301
301
  background: transparent;
302
302
  }
303
303
 
304
- ._taskListHorizontalScroll_51pue_13::-webkit-scrollbar-thumb {
304
+ ._taskListHorizontalScroll_3y2l5_13::-webkit-scrollbar-thumb {
305
305
  border: 4px solid transparent;
306
306
  /*noinspection CssUnresolvedCustomProperty*/
307
307
  background: var(--gantt-scrollbar-thumb-color);
@@ -309,14 +309,14 @@
309
309
  background-clip: padding-box;
310
310
  }
311
311
 
312
- ._taskListHorizontalScroll_51pue_13::-webkit-scrollbar-thumb:hover {
312
+ ._taskListHorizontalScroll_3y2l5_13::-webkit-scrollbar-thumb:hover {
313
313
  border: 2px solid transparent;
314
314
  /*noinspection CssUnresolvedCustomProperty*/
315
315
  background: var(--gantt-scrollbar-thumb-color);
316
316
  background-clip: padding-box;
317
317
  }
318
318
 
319
- ._taskListResizer_51pue_69 {
319
+ ._taskListResizer_3y2l5_69 {
320
320
  position: absolute;
321
321
  top: 0;
322
322
  right: -3px;
@@ -328,16 +328,16 @@
328
328
  }
329
329
 
330
330
  /*noinspection CssUnresolvedCustomProperty*/
331
- ._taskListResizer_51pue_69:hover {
331
+ ._taskListResizer_3y2l5_69:hover {
332
332
  background-color: var(--gantt-table-hover-action-color);
333
333
  filter: var(--gantt-hover-filter);
334
334
  }
335
335
 
336
- ._taskListResizer_51pue_69:hover::before {
336
+ ._taskListResizer_3y2l5_69:hover::before {
337
337
  display: none;
338
338
  }
339
339
 
340
- ._taskListResizer_51pue_69::before {
340
+ ._taskListResizer_3y2l5_69::before {
341
341
  content: "";
342
342
  position: absolute;
343
343
  top: 0;
@@ -348,18 +348,17 @@
348
348
  background-color: var(--gantt-table-resize-color, var(--gantt-divider-color));
349
349
  }
350
350
 
351
- ._horizontalContainer_51pue_133 {
351
+ ._horizontalContainer_3y2l5_133 {
352
352
  margin: 0;
353
353
  padding: 0;
354
- overflow-y: auto;
355
- overflow-x: hidden;
354
+ overflow: hidden;
356
355
  }
357
356
 
358
- ._tableWrapper_51pue_147 {
357
+ ._tableWrapper_3y2l5_145 {
359
358
  position: relative;
360
359
  }
361
360
 
362
- ._scrollToTop_51pue_155 {
361
+ ._scrollToTop_3y2l5_153 {
363
362
  position: absolute;
364
363
  top: 0;
365
364
  left: 0;
@@ -367,7 +366,7 @@
367
366
  height: 20px;
368
367
  }
369
368
 
370
- ._scrollToBottom_51pue_171 {
369
+ ._scrollToBottom_3y2l5_169 {
371
370
  position: absolute;
372
371
  bottom: 0;
373
372
  left: 0;
@@ -375,7 +374,7 @@
375
374
  height: 20px;
376
375
  }
377
376
 
378
- ._hidden_51pue_187 {
377
+ ._hidden_3y2l5_185 {
379
378
  display: none;
380
379
  }
381
380
  ._ganttToday_1oyhk_1 {
@@ -569,7 +568,7 @@
569
568
  user-select: none;
570
569
  stroke-width: 0;
571
570
  }
572
- ._ganttVerticalContainer_1rgpy_1 {
571
+ ._ganttVerticalContainer_1unzl_1 {
573
572
  overflow-x: scroll;
574
573
  overflow-y: hidden;
575
574
  font-size: 0;
@@ -580,16 +579,16 @@
580
579
  flex-grow: 1;
581
580
  }
582
581
 
583
- ._ganttVerticalContainer_1rgpy_1::-webkit-scrollbar {
582
+ ._ganttVerticalContainer_1unzl_1::-webkit-scrollbar {
584
583
  width: 1rem;
585
584
  height: 1rem;
586
585
  }
587
586
 
588
- ._ganttVerticalContainer_1rgpy_1::-webkit-scrollbar-corner {
587
+ ._ganttVerticalContainer_1unzl_1::-webkit-scrollbar-corner {
589
588
  background: transparent;
590
589
  }
591
590
 
592
- ._ganttVerticalContainer_1rgpy_1::-webkit-scrollbar-thumb {
591
+ ._ganttVerticalContainer_1unzl_1::-webkit-scrollbar-thumb {
593
592
  border: 4px solid transparent;
594
593
  /*noinspection CssUnresolvedCustomProperty*/
595
594
  background: var(--gantt-scrollbar-thumb-color);
@@ -597,21 +596,20 @@
597
596
  background-clip: padding-box;
598
597
  }
599
598
 
600
- ._ganttVerticalContainer_1rgpy_1::-webkit-scrollbar-thumb:hover {
599
+ ._ganttVerticalContainer_1unzl_1::-webkit-scrollbar-thumb:hover {
601
600
  border: 2px solid transparent;
602
601
  /*noinspection CssUnresolvedCustomProperty*/
603
602
  background: var(--gantt-scrollbar-thumb-color);
604
603
  background-clip: padding-box;
605
604
  }
606
605
 
607
- ._horizontalContainer_1rgpy_71 {
606
+ ._horizontalContainer_1unzl_71 {
608
607
  margin: 0;
609
608
  padding: 0;
610
- overflow-y: auto;
611
- overflow-x: hidden;
609
+ overflow: hidden;
612
610
  }
613
611
 
614
- ._wrapper_1rgpy_85 {
612
+ ._wrapper_1unzl_83 {
615
613
  display: flex;
616
614
  padding: 0;
617
615
  margin: 0;
@@ -622,7 +620,7 @@
622
620
  border-bottom: 1px solid var(--gantt-divider-color);
623
621
  }
624
622
 
625
- ._calendarDragging_1rgpy_107 {
623
+ ._calendarDragging_1unzl_105 {
626
624
  cursor: grabbing;
627
625
  }
628
626
  /*noinspection CssUnresolvedCustomProperty*/
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "gantt-task-react-v",
3
- "version": "1.0.1",
3
+ "version": "1.0.5",
4
4
  "description": "Interactive Gantt Chart for React with TypeScript.",
5
- "author": "aguilanbon@gmail.com",
5
+ "author": "aguilanbon",
6
6
  "homepage": "https://github.com/aguilanbon/gantt-task-react-v",
7
7
  "license": "MIT",
8
8
  "repository": "https://github.com/aguilanbon/gantt-task-react-v",