gantt-task-react-v 1.0.0 → 1.0.1

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.
@@ -5181,8 +5181,8 @@ const DEFAULT_THEME = {
5181
5181
  expandIconWidth: 20,
5182
5182
  handleWidth: 8,
5183
5183
  headerHeight: 50,
5184
- ganttHeight: 0,
5185
- // Flexible height - will use container or screen height
5184
+ ganttHeight: 500,
5185
+ // Flexible height - reasonable default that allows scrolling
5186
5186
  minimumRowDisplayed: 4,
5187
5187
  nestedTaskNameOffset: 20,
5188
5188
  relationCircleOffset: 10,
@@ -10658,14 +10658,14 @@ const TaskListTableDefaultInner = ({
10658
10658
  );
10659
10659
  };
10660
10660
  const TaskListTable = memo(TaskListTableDefaultInner);
10661
- const taskListRoot = "_taskListRoot_3y2l5_1";
10662
- const taskListHorizontalScroll = "_taskListHorizontalScroll_3y2l5_13";
10663
- const taskListResizer = "_taskListResizer_3y2l5_69";
10664
- const horizontalContainer$1 = "_horizontalContainer_3y2l5_133";
10665
- const tableWrapper = "_tableWrapper_3y2l5_145";
10666
- const scrollToTop = "_scrollToTop_3y2l5_153";
10667
- const scrollToBottom = "_scrollToBottom_3y2l5_169";
10668
- const hidden = "_hidden_3y2l5_185";
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";
10669
10669
  const styles$d = {
10670
10670
  taskListRoot,
10671
10671
  taskListHorizontalScroll,
@@ -13156,10 +13156,10 @@ const TaskGanttContentInner = (props) => {
13156
13156
  ] });
13157
13157
  };
13158
13158
  const TaskGanttContent = memo(TaskGanttContentInner);
13159
- const ganttVerticalContainer = "_ganttVerticalContainer_1unzl_1";
13160
- const horizontalContainer = "_horizontalContainer_1unzl_71";
13161
- const wrapper = "_wrapper_1unzl_83";
13162
- const calendarDragging = "_calendarDragging_1unzl_105";
13159
+ const ganttVerticalContainer = "_ganttVerticalContainer_1rgpy_1";
13160
+ const horizontalContainer = "_horizontalContainer_1rgpy_71";
13161
+ const wrapper = "_wrapper_1rgpy_85";
13162
+ const calendarDragging = "_calendarDragging_1rgpy_107";
13163
13163
  const styles$2 = {
13164
13164
  ganttVerticalContainer,
13165
13165
  horizontalContainer,
@@ -5198,8 +5198,8 @@
5198
5198
  expandIconWidth: 20,
5199
5199
  handleWidth: 8,
5200
5200
  headerHeight: 50,
5201
- ganttHeight: 0,
5202
- // Flexible height - will use container or screen height
5201
+ ganttHeight: 500,
5202
+ // Flexible height - reasonable default that allows scrolling
5203
5203
  minimumRowDisplayed: 4,
5204
5204
  nestedTaskNameOffset: 20,
5205
5205
  relationCircleOffset: 10,
@@ -10675,14 +10675,14 @@
10675
10675
  );
10676
10676
  };
10677
10677
  const TaskListTable = React.memo(TaskListTableDefaultInner);
10678
- const taskListRoot = "_taskListRoot_3y2l5_1";
10679
- const taskListHorizontalScroll = "_taskListHorizontalScroll_3y2l5_13";
10680
- const taskListResizer = "_taskListResizer_3y2l5_69";
10681
- const horizontalContainer$1 = "_horizontalContainer_3y2l5_133";
10682
- const tableWrapper = "_tableWrapper_3y2l5_145";
10683
- const scrollToTop = "_scrollToTop_3y2l5_153";
10684
- const scrollToBottom = "_scrollToBottom_3y2l5_169";
10685
- const hidden = "_hidden_3y2l5_185";
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";
10686
10686
  const styles$d = {
10687
10687
  taskListRoot,
10688
10688
  taskListHorizontalScroll,
@@ -13173,10 +13173,10 @@
13173
13173
  ] });
13174
13174
  };
13175
13175
  const TaskGanttContent = React.memo(TaskGanttContentInner);
13176
- const ganttVerticalContainer = "_ganttVerticalContainer_1unzl_1";
13177
- const horizontalContainer = "_horizontalContainer_1unzl_71";
13178
- const wrapper = "_wrapper_1unzl_83";
13179
- const calendarDragging = "_calendarDragging_1unzl_105";
13176
+ const ganttVerticalContainer = "_ganttVerticalContainer_1rgpy_1";
13177
+ const horizontalContainer = "_horizontalContainer_1rgpy_71";
13178
+ const wrapper = "_wrapper_1rgpy_85";
13179
+ const calendarDragging = "_calendarDragging_1rgpy_107";
13180
13180
  const styles$2 = {
13181
13181
  ganttVerticalContainer,
13182
13182
  horizontalContainer,
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_3y2l5_1 {
285
+ ._taskListRoot_51pue_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_3y2l5_13 {
291
+ ._taskListHorizontalScroll_51pue_13 {
292
292
  overflow-x: scroll;
293
293
  }
294
294
 
295
- ._taskListHorizontalScroll_3y2l5_13::-webkit-scrollbar {
295
+ ._taskListHorizontalScroll_51pue_13::-webkit-scrollbar {
296
296
  width: 1rem;
297
297
  height: 1rem;
298
298
  }
299
299
 
300
- ._taskListHorizontalScroll_3y2l5_13::-webkit-scrollbar-corner {
300
+ ._taskListHorizontalScroll_51pue_13::-webkit-scrollbar-corner {
301
301
  background: transparent;
302
302
  }
303
303
 
304
- ._taskListHorizontalScroll_3y2l5_13::-webkit-scrollbar-thumb {
304
+ ._taskListHorizontalScroll_51pue_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_3y2l5_13::-webkit-scrollbar-thumb:hover {
312
+ ._taskListHorizontalScroll_51pue_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_3y2l5_69 {
319
+ ._taskListResizer_51pue_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_3y2l5_69:hover {
331
+ ._taskListResizer_51pue_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_3y2l5_69:hover::before {
336
+ ._taskListResizer_51pue_69:hover::before {
337
337
  display: none;
338
338
  }
339
339
 
340
- ._taskListResizer_3y2l5_69::before {
340
+ ._taskListResizer_51pue_69::before {
341
341
  content: "";
342
342
  position: absolute;
343
343
  top: 0;
@@ -348,17 +348,18 @@
348
348
  background-color: var(--gantt-table-resize-color, var(--gantt-divider-color));
349
349
  }
350
350
 
351
- ._horizontalContainer_3y2l5_133 {
351
+ ._horizontalContainer_51pue_133 {
352
352
  margin: 0;
353
353
  padding: 0;
354
- overflow: hidden;
354
+ overflow-y: auto;
355
+ overflow-x: hidden;
355
356
  }
356
357
 
357
- ._tableWrapper_3y2l5_145 {
358
+ ._tableWrapper_51pue_147 {
358
359
  position: relative;
359
360
  }
360
361
 
361
- ._scrollToTop_3y2l5_153 {
362
+ ._scrollToTop_51pue_155 {
362
363
  position: absolute;
363
364
  top: 0;
364
365
  left: 0;
@@ -366,7 +367,7 @@
366
367
  height: 20px;
367
368
  }
368
369
 
369
- ._scrollToBottom_3y2l5_169 {
370
+ ._scrollToBottom_51pue_171 {
370
371
  position: absolute;
371
372
  bottom: 0;
372
373
  left: 0;
@@ -374,7 +375,7 @@
374
375
  height: 20px;
375
376
  }
376
377
 
377
- ._hidden_3y2l5_185 {
378
+ ._hidden_51pue_187 {
378
379
  display: none;
379
380
  }
380
381
  ._ganttToday_1oyhk_1 {
@@ -568,7 +569,7 @@
568
569
  user-select: none;
569
570
  stroke-width: 0;
570
571
  }
571
- ._ganttVerticalContainer_1unzl_1 {
572
+ ._ganttVerticalContainer_1rgpy_1 {
572
573
  overflow-x: scroll;
573
574
  overflow-y: hidden;
574
575
  font-size: 0;
@@ -579,16 +580,16 @@
579
580
  flex-grow: 1;
580
581
  }
581
582
 
582
- ._ganttVerticalContainer_1unzl_1::-webkit-scrollbar {
583
+ ._ganttVerticalContainer_1rgpy_1::-webkit-scrollbar {
583
584
  width: 1rem;
584
585
  height: 1rem;
585
586
  }
586
587
 
587
- ._ganttVerticalContainer_1unzl_1::-webkit-scrollbar-corner {
588
+ ._ganttVerticalContainer_1rgpy_1::-webkit-scrollbar-corner {
588
589
  background: transparent;
589
590
  }
590
591
 
591
- ._ganttVerticalContainer_1unzl_1::-webkit-scrollbar-thumb {
592
+ ._ganttVerticalContainer_1rgpy_1::-webkit-scrollbar-thumb {
592
593
  border: 4px solid transparent;
593
594
  /*noinspection CssUnresolvedCustomProperty*/
594
595
  background: var(--gantt-scrollbar-thumb-color);
@@ -596,20 +597,21 @@
596
597
  background-clip: padding-box;
597
598
  }
598
599
 
599
- ._ganttVerticalContainer_1unzl_1::-webkit-scrollbar-thumb:hover {
600
+ ._ganttVerticalContainer_1rgpy_1::-webkit-scrollbar-thumb:hover {
600
601
  border: 2px solid transparent;
601
602
  /*noinspection CssUnresolvedCustomProperty*/
602
603
  background: var(--gantt-scrollbar-thumb-color);
603
604
  background-clip: padding-box;
604
605
  }
605
606
 
606
- ._horizontalContainer_1unzl_71 {
607
+ ._horizontalContainer_1rgpy_71 {
607
608
  margin: 0;
608
609
  padding: 0;
609
- overflow: hidden;
610
+ overflow-y: auto;
611
+ overflow-x: hidden;
610
612
  }
611
613
 
612
- ._wrapper_1unzl_83 {
614
+ ._wrapper_1rgpy_85 {
613
615
  display: flex;
614
616
  padding: 0;
615
617
  margin: 0;
@@ -620,7 +622,7 @@
620
622
  border-bottom: 1px solid var(--gantt-divider-color);
621
623
  }
622
624
 
623
- ._calendarDragging_1unzl_105 {
625
+ ._calendarDragging_1rgpy_107 {
624
626
  cursor: grabbing;
625
627
  }
626
628
  /*noinspection CssUnresolvedCustomProperty*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gantt-task-react-v",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Interactive Gantt Chart for React with TypeScript.",
5
5
  "author": "aguilanbon@gmail.com",
6
6
  "homepage": "https://github.com/aguilanbon/gantt-task-react-v",