gantt-task-react-v 1.0.23 → 1.0.25

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.
@@ -10657,14 +10657,14 @@ const TaskListTableDefaultInner = ({
10657
10657
  );
10658
10658
  };
10659
10659
  const TaskListTable = memo(TaskListTableDefaultInner);
10660
- const taskListRoot = "_taskListRoot_xeaio_1";
10661
- const taskListHorizontalScroll = "_taskListHorizontalScroll_xeaio_21";
10662
- const taskListResizer = "_taskListResizer_xeaio_85";
10663
- const horizontalContainer$1 = "_horizontalContainer_xeaio_149";
10664
- const tableWrapper = "_tableWrapper_xeaio_167";
10665
- const scrollToTop = "_scrollToTop_xeaio_179";
10666
- const scrollToBottom = "_scrollToBottom_xeaio_195";
10667
- const hidden = "_hidden_xeaio_211";
10660
+ const taskListRoot = "_taskListRoot_4jj9x_1";
10661
+ const taskListHorizontalScroll = "_taskListHorizontalScroll_4jj9x_29";
10662
+ const taskListResizer = "_taskListResizer_4jj9x_93";
10663
+ const horizontalContainer$1 = "_horizontalContainer_4jj9x_157";
10664
+ const tableWrapper = "_tableWrapper_4jj9x_175";
10665
+ const scrollToTop = "_scrollToTop_4jj9x_187";
10666
+ const scrollToBottom = "_scrollToBottom_4jj9x_203";
10667
+ const hidden = "_hidden_4jj9x_219";
10668
10668
  const styles$d = {
10669
10669
  taskListRoot,
10670
10670
  taskListHorizontalScroll,
@@ -13147,12 +13147,12 @@ const TaskGanttContentInner = (props) => {
13147
13147
  ] });
13148
13148
  };
13149
13149
  const TaskGanttContent = memo(TaskGanttContentInner);
13150
- const ganttVerticalContainer = "_ganttVerticalContainer_z1ydk_1";
13151
- const horizontalContainer = "_horizontalContainer_z1ydk_81";
13152
- const ganttHeader = "_ganttHeader_z1ydk_99";
13153
- const ganttBodyScroll = "_ganttBodyScroll_z1ydk_109";
13154
- const wrapper = "_wrapper_z1ydk_125";
13155
- const calendarDragging = "_calendarDragging_z1ydk_155";
13150
+ const ganttVerticalContainer = "_ganttVerticalContainer_7oj2l_1";
13151
+ const horizontalContainer = "_horizontalContainer_7oj2l_87";
13152
+ const ganttHeader = "_ganttHeader_7oj2l_103";
13153
+ const ganttBodyScroll = "_ganttBodyScroll_7oj2l_113";
13154
+ const wrapper = "_wrapper_7oj2l_131";
13155
+ const calendarDragging = "_calendarDragging_7oj2l_165";
13156
13156
  const styles$2 = {
13157
13157
  ganttVerticalContainer,
13158
13158
  horizontalContainer,
@@ -13186,14 +13186,17 @@ const TaskGanttInner = (props) => {
13186
13186
  const containerStyle = useMemo(
13187
13187
  () => ({
13188
13188
  height: "100%",
13189
- width: fullSvgWidth
13189
+ width: "100%",
13190
+ maxWidth: "100%",
13191
+ minWidth: 0
13190
13192
  }),
13191
- [fullSvgWidth]
13193
+ []
13192
13194
  );
13193
13195
  const gridStyle = useMemo(
13194
13196
  () => ({
13195
13197
  height: Math.max(ganttFullHeight, minimumRowDisplayed * rowHeight),
13196
13198
  width: fullSvgWidth,
13199
+ minWidth: "100%",
13197
13200
  backgroundSize: `${columnWidth}px ${fullRowHeight * 2}px`,
13198
13201
  backgroundPositionX: additionalLeftSpace || void 0,
13199
13202
  backgroundImage: [
@@ -10674,14 +10674,14 @@
10674
10674
  );
10675
10675
  };
10676
10676
  const TaskListTable = React.memo(TaskListTableDefaultInner);
10677
- const taskListRoot = "_taskListRoot_xeaio_1";
10678
- const taskListHorizontalScroll = "_taskListHorizontalScroll_xeaio_21";
10679
- const taskListResizer = "_taskListResizer_xeaio_85";
10680
- const horizontalContainer$1 = "_horizontalContainer_xeaio_149";
10681
- const tableWrapper = "_tableWrapper_xeaio_167";
10682
- const scrollToTop = "_scrollToTop_xeaio_179";
10683
- const scrollToBottom = "_scrollToBottom_xeaio_195";
10684
- const hidden = "_hidden_xeaio_211";
10677
+ const taskListRoot = "_taskListRoot_4jj9x_1";
10678
+ const taskListHorizontalScroll = "_taskListHorizontalScroll_4jj9x_29";
10679
+ const taskListResizer = "_taskListResizer_4jj9x_93";
10680
+ const horizontalContainer$1 = "_horizontalContainer_4jj9x_157";
10681
+ const tableWrapper = "_tableWrapper_4jj9x_175";
10682
+ const scrollToTop = "_scrollToTop_4jj9x_187";
10683
+ const scrollToBottom = "_scrollToBottom_4jj9x_203";
10684
+ const hidden = "_hidden_4jj9x_219";
10685
10685
  const styles$d = {
10686
10686
  taskListRoot,
10687
10687
  taskListHorizontalScroll,
@@ -13164,12 +13164,12 @@
13164
13164
  ] });
13165
13165
  };
13166
13166
  const TaskGanttContent = React.memo(TaskGanttContentInner);
13167
- const ganttVerticalContainer = "_ganttVerticalContainer_z1ydk_1";
13168
- const horizontalContainer = "_horizontalContainer_z1ydk_81";
13169
- const ganttHeader = "_ganttHeader_z1ydk_99";
13170
- const ganttBodyScroll = "_ganttBodyScroll_z1ydk_109";
13171
- const wrapper = "_wrapper_z1ydk_125";
13172
- const calendarDragging = "_calendarDragging_z1ydk_155";
13167
+ const ganttVerticalContainer = "_ganttVerticalContainer_7oj2l_1";
13168
+ const horizontalContainer = "_horizontalContainer_7oj2l_87";
13169
+ const ganttHeader = "_ganttHeader_7oj2l_103";
13170
+ const ganttBodyScroll = "_ganttBodyScroll_7oj2l_113";
13171
+ const wrapper = "_wrapper_7oj2l_131";
13172
+ const calendarDragging = "_calendarDragging_7oj2l_165";
13173
13173
  const styles$2 = {
13174
13174
  ganttVerticalContainer,
13175
13175
  horizontalContainer,
@@ -13203,14 +13203,17 @@
13203
13203
  const containerStyle = React.useMemo(
13204
13204
  () => ({
13205
13205
  height: "100%",
13206
- width: fullSvgWidth
13206
+ width: "100%",
13207
+ maxWidth: "100%",
13208
+ minWidth: 0
13207
13209
  }),
13208
- [fullSvgWidth]
13210
+ []
13209
13211
  );
13210
13212
  const gridStyle = React.useMemo(
13211
13213
  () => ({
13212
13214
  height: Math.max(ganttFullHeight, minimumRowDisplayed * rowHeight),
13213
13215
  width: fullSvgWidth,
13216
+ minWidth: "100%",
13214
13217
  backgroundSize: `${columnWidth}px ${fullRowHeight * 2}px`,
13215
13218
  backgroundPositionX: additionalLeftSpace || void 0,
13216
13219
  backgroundImage: [
package/dist/style.css CHANGED
@@ -282,7 +282,7 @@
282
282
  border-bottom: 1px solid var(--gantt-divider-color);
283
283
  table-layout: fixed;
284
284
  }
285
- ._taskListRoot_xeaio_1 {
285
+ ._taskListRoot_4jj9x_1 {
286
286
  position: relative;
287
287
  /*noinspection CssUnresolvedCustomProperty*/
288
288
  border-left: 1px solid var(--gantt-table-divider-color, var(--gantt-divider-color));
@@ -290,9 +290,13 @@
290
290
  display: flex;
291
291
  flex-direction: column;
292
292
  overflow: hidden;
293
+ width: 50%;
294
+ flex-shrink: 0;
295
+ min-width: 200px;
296
+ max-width: 80%;
293
297
  }
294
298
 
295
- ._taskListHorizontalScroll_xeaio_21 {
299
+ ._taskListHorizontalScroll_4jj9x_29 {
296
300
  overflow-x: auto;
297
301
  overflow-y: hidden;
298
302
  flex: 1;
@@ -300,16 +304,16 @@
300
304
  flex-direction: column;
301
305
  }
302
306
 
303
- ._taskListHorizontalScroll_xeaio_21::-webkit-scrollbar {
307
+ ._taskListHorizontalScroll_4jj9x_29::-webkit-scrollbar {
304
308
  width: 1rem;
305
309
  height: 1rem;
306
310
  }
307
311
 
308
- ._taskListHorizontalScroll_xeaio_21::-webkit-scrollbar-corner {
312
+ ._taskListHorizontalScroll_4jj9x_29::-webkit-scrollbar-corner {
309
313
  background: transparent;
310
314
  }
311
315
 
312
- ._taskListHorizontalScroll_xeaio_21::-webkit-scrollbar-thumb {
316
+ ._taskListHorizontalScroll_4jj9x_29::-webkit-scrollbar-thumb {
313
317
  border: 4px solid transparent;
314
318
  /*noinspection CssUnresolvedCustomProperty*/
315
319
  background: var(--gantt-scrollbar-thumb-color);
@@ -317,14 +321,14 @@
317
321
  background-clip: padding-box;
318
322
  }
319
323
 
320
- ._taskListHorizontalScroll_xeaio_21::-webkit-scrollbar-thumb:hover {
324
+ ._taskListHorizontalScroll_4jj9x_29::-webkit-scrollbar-thumb:hover {
321
325
  border: 2px solid transparent;
322
326
  /*noinspection CssUnresolvedCustomProperty*/
323
327
  background: var(--gantt-scrollbar-thumb-color);
324
328
  background-clip: padding-box;
325
329
  }
326
330
 
327
- ._taskListResizer_xeaio_85 {
331
+ ._taskListResizer_4jj9x_93 {
328
332
  position: absolute;
329
333
  top: 0;
330
334
  right: -3px;
@@ -336,16 +340,16 @@
336
340
  }
337
341
 
338
342
  /*noinspection CssUnresolvedCustomProperty*/
339
- ._taskListResizer_xeaio_85:hover {
343
+ ._taskListResizer_4jj9x_93:hover {
340
344
  background-color: var(--gantt-table-hover-action-color);
341
345
  filter: var(--gantt-hover-filter);
342
346
  }
343
347
 
344
- ._taskListResizer_xeaio_85:hover::before {
348
+ ._taskListResizer_4jj9x_93:hover::before {
345
349
  display: none;
346
350
  }
347
351
 
348
- ._taskListResizer_xeaio_85::before {
352
+ ._taskListResizer_4jj9x_93::before {
349
353
  content: "";
350
354
  position: absolute;
351
355
  top: 0;
@@ -356,7 +360,7 @@
356
360
  background-color: var(--gantt-table-resize-color, var(--gantt-divider-color));
357
361
  }
358
362
 
359
- ._horizontalContainer_xeaio_149 {
363
+ ._horizontalContainer_4jj9x_157 {
360
364
  margin: 0;
361
365
  padding: 0;
362
366
  overflow-y: auto;
@@ -365,13 +369,13 @@
365
369
  min-height: 0;
366
370
  }
367
371
 
368
- ._tableWrapper_xeaio_167 {
372
+ ._tableWrapper_4jj9x_175 {
369
373
  position: relative;
370
374
  flex: 1;
371
375
  min-height: 0;
372
376
  }
373
377
 
374
- ._scrollToTop_xeaio_179 {
378
+ ._scrollToTop_4jj9x_187 {
375
379
  position: absolute;
376
380
  top: 0;
377
381
  left: 0;
@@ -379,7 +383,7 @@
379
383
  height: 20px;
380
384
  }
381
385
 
382
- ._scrollToBottom_xeaio_195 {
386
+ ._scrollToBottom_4jj9x_203 {
383
387
  position: absolute;
384
388
  bottom: 0;
385
389
  left: 0;
@@ -387,7 +391,7 @@
387
391
  height: 20px;
388
392
  }
389
393
 
390
- ._hidden_xeaio_211 {
394
+ ._hidden_4jj9x_219 {
391
395
  display: none;
392
396
  }
393
397
  ._ganttToday_1oyhk_1 {
@@ -581,7 +585,7 @@
581
585
  user-select: none;
582
586
  stroke-width: 0;
583
587
  }
584
- ._ganttVerticalContainer_z1ydk_1 {
588
+ ._ganttVerticalContainer_7oj2l_1 {
585
589
  display: flex;
586
590
  flex-direction: column;
587
591
  overflow-x: auto;
@@ -592,21 +596,24 @@
592
596
  /*noinspection CssUnresolvedCustomProperty*/
593
597
  border-right: 1px solid var(--gantt-calendar-divider-color, var(--gantt-divider-color));
594
598
  flex-grow: 1;
599
+ flex-shrink: 1;
600
+ flex-basis: 0;
595
601
  height: 100%;
596
602
  min-height: 0;
597
- max-width: 100%;
603
+ min-width: 0;
604
+ width: 50%;
598
605
  }
599
606
 
600
- ._ganttVerticalContainer_z1ydk_1::-webkit-scrollbar {
607
+ ._ganttVerticalContainer_7oj2l_1::-webkit-scrollbar {
601
608
  width: 1rem;
602
609
  height: 1rem;
603
610
  }
604
611
 
605
- ._ganttVerticalContainer_z1ydk_1::-webkit-scrollbar-corner {
612
+ ._ganttVerticalContainer_7oj2l_1::-webkit-scrollbar-corner {
606
613
  background: transparent;
607
614
  }
608
615
 
609
- ._ganttVerticalContainer_z1ydk_1::-webkit-scrollbar-thumb {
616
+ ._ganttVerticalContainer_7oj2l_1::-webkit-scrollbar-thumb {
610
617
  border: 4px solid transparent;
611
618
  /*noinspection CssUnresolvedCustomProperty*/
612
619
  background: var(--gantt-scrollbar-thumb-color);
@@ -614,36 +621,36 @@
614
621
  background-clip: padding-box;
615
622
  }
616
623
 
617
- ._ganttVerticalContainer_z1ydk_1::-webkit-scrollbar-thumb:hover {
624
+ ._ganttVerticalContainer_7oj2l_1::-webkit-scrollbar-thumb:hover {
618
625
  border: 2px solid transparent;
619
626
  /*noinspection CssUnresolvedCustomProperty*/
620
627
  background: var(--gantt-scrollbar-thumb-color);
621
628
  background-clip: padding-box;
622
629
  }
623
630
 
624
- ._horizontalContainer_z1ydk_81 {
631
+ ._horizontalContainer_7oj2l_87 {
625
632
  margin: 0;
626
633
  padding: 0;
627
634
  overflow: hidden;
628
635
  height: 100%;
629
636
  min-height: 0;
630
- min-width: 0;
631
637
  }
632
638
 
633
- ._ganttHeader_z1ydk_99 {
639
+ ._ganttHeader_7oj2l_103 {
634
640
  flex: 0 0 auto;
635
641
  z-index: 3;
636
642
  }
637
643
 
638
- ._ganttBodyScroll_z1ydk_109 {
644
+ ._ganttBodyScroll_7oj2l_113 {
639
645
  flex: 1 1 auto;
640
646
  overflow-y: auto;
641
647
  overflow-x: hidden;
642
648
  min-height: 0;
643
649
  height: 100%;
650
+ max-height: 100%;
644
651
  }
645
652
 
646
- ._wrapper_z1ydk_125 {
653
+ ._wrapper_7oj2l_131 {
647
654
  display: flex;
648
655
  padding: 0;
649
656
  margin: 0;
@@ -654,11 +661,13 @@
654
661
  border-bottom: 1px solid var(--gantt-divider-color);
655
662
  height: 100%;
656
663
  min-height: 0;
664
+ width: 100%;
657
665
  max-width: 100%;
658
666
  overflow: hidden;
667
+ contain: layout;
659
668
  }
660
669
 
661
- ._calendarDragging_z1ydk_155 {
670
+ ._calendarDragging_7oj2l_165 {
662
671
  cursor: grabbing;
663
672
  }
664
673
  /*noinspection CssUnresolvedCustomProperty*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gantt-task-react-v",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
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",