gantt-task-react-v 1.0.32 → 1.0.34
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/dist/gantt-task-react.es.js +16 -15
- package/dist/gantt-task-react.umd.js +16 -15
- package/dist/style.css +40 -31
- package/package.json +1 -1
|
@@ -10656,14 +10656,14 @@ const TaskListTableDefaultInner = ({
|
|
|
10656
10656
|
);
|
|
10657
10657
|
};
|
|
10658
10658
|
const TaskListTable = memo(TaskListTableDefaultInner);
|
|
10659
|
-
const taskListRoot = "
|
|
10660
|
-
const taskListHorizontalScroll = "
|
|
10661
|
-
const taskListResizer = "
|
|
10662
|
-
const horizontalContainer$1 = "
|
|
10663
|
-
const tableWrapper = "
|
|
10664
|
-
const scrollToTop = "
|
|
10665
|
-
const scrollToBottom = "
|
|
10666
|
-
const hidden = "
|
|
10659
|
+
const taskListRoot = "_taskListRoot_ycl6i_1";
|
|
10660
|
+
const taskListHorizontalScroll = "_taskListHorizontalScroll_ycl6i_27";
|
|
10661
|
+
const taskListResizer = "_taskListResizer_ycl6i_91";
|
|
10662
|
+
const horizontalContainer$1 = "_horizontalContainer_ycl6i_155";
|
|
10663
|
+
const tableWrapper = "_tableWrapper_ycl6i_173";
|
|
10664
|
+
const scrollToTop = "_scrollToTop_ycl6i_185";
|
|
10665
|
+
const scrollToBottom = "_scrollToBottom_ycl6i_201";
|
|
10666
|
+
const hidden = "_hidden_ycl6i_217";
|
|
10667
10667
|
const styles$d = {
|
|
10668
10668
|
taskListRoot,
|
|
10669
10669
|
taskListHorizontalScroll,
|
|
@@ -13146,12 +13146,12 @@ const TaskGanttContentInner = (props) => {
|
|
|
13146
13146
|
] });
|
|
13147
13147
|
};
|
|
13148
13148
|
const TaskGanttContent = memo(TaskGanttContentInner);
|
|
13149
|
-
const ganttVerticalContainer = "
|
|
13150
|
-
const horizontalContainer = "
|
|
13151
|
-
const ganttHeader = "
|
|
13152
|
-
const ganttBodyScroll = "
|
|
13153
|
-
const wrapper = "
|
|
13154
|
-
const calendarDragging = "
|
|
13149
|
+
const ganttVerticalContainer = "_ganttVerticalContainer_ht10f_1";
|
|
13150
|
+
const horizontalContainer = "_horizontalContainer_ht10f_81";
|
|
13151
|
+
const ganttHeader = "_ganttHeader_ht10f_103";
|
|
13152
|
+
const ganttBodyScroll = "_ganttBodyScroll_ht10f_113";
|
|
13153
|
+
const wrapper = "_wrapper_ht10f_131";
|
|
13154
|
+
const calendarDragging = "_calendarDragging_ht10f_165";
|
|
13155
13155
|
const styles$2 = {
|
|
13156
13156
|
ganttVerticalContainer,
|
|
13157
13157
|
horizontalContainer,
|
|
@@ -13184,7 +13184,8 @@ const TaskGanttInner = (props) => {
|
|
|
13184
13184
|
const moveStateScrollRef = useRef(null);
|
|
13185
13185
|
const containerStyle = useMemo(
|
|
13186
13186
|
() => ({
|
|
13187
|
-
height: "100%"
|
|
13187
|
+
height: "100%",
|
|
13188
|
+
width: "100%"
|
|
13188
13189
|
}),
|
|
13189
13190
|
[]
|
|
13190
13191
|
);
|
|
@@ -10673,14 +10673,14 @@
|
|
|
10673
10673
|
);
|
|
10674
10674
|
};
|
|
10675
10675
|
const TaskListTable = React.memo(TaskListTableDefaultInner);
|
|
10676
|
-
const taskListRoot = "
|
|
10677
|
-
const taskListHorizontalScroll = "
|
|
10678
|
-
const taskListResizer = "
|
|
10679
|
-
const horizontalContainer$1 = "
|
|
10680
|
-
const tableWrapper = "
|
|
10681
|
-
const scrollToTop = "
|
|
10682
|
-
const scrollToBottom = "
|
|
10683
|
-
const hidden = "
|
|
10676
|
+
const taskListRoot = "_taskListRoot_ycl6i_1";
|
|
10677
|
+
const taskListHorizontalScroll = "_taskListHorizontalScroll_ycl6i_27";
|
|
10678
|
+
const taskListResizer = "_taskListResizer_ycl6i_91";
|
|
10679
|
+
const horizontalContainer$1 = "_horizontalContainer_ycl6i_155";
|
|
10680
|
+
const tableWrapper = "_tableWrapper_ycl6i_173";
|
|
10681
|
+
const scrollToTop = "_scrollToTop_ycl6i_185";
|
|
10682
|
+
const scrollToBottom = "_scrollToBottom_ycl6i_201";
|
|
10683
|
+
const hidden = "_hidden_ycl6i_217";
|
|
10684
10684
|
const styles$d = {
|
|
10685
10685
|
taskListRoot,
|
|
10686
10686
|
taskListHorizontalScroll,
|
|
@@ -13163,12 +13163,12 @@
|
|
|
13163
13163
|
] });
|
|
13164
13164
|
};
|
|
13165
13165
|
const TaskGanttContent = React.memo(TaskGanttContentInner);
|
|
13166
|
-
const ganttVerticalContainer = "
|
|
13167
|
-
const horizontalContainer = "
|
|
13168
|
-
const ganttHeader = "
|
|
13169
|
-
const ganttBodyScroll = "
|
|
13170
|
-
const wrapper = "
|
|
13171
|
-
const calendarDragging = "
|
|
13166
|
+
const ganttVerticalContainer = "_ganttVerticalContainer_ht10f_1";
|
|
13167
|
+
const horizontalContainer = "_horizontalContainer_ht10f_81";
|
|
13168
|
+
const ganttHeader = "_ganttHeader_ht10f_103";
|
|
13169
|
+
const ganttBodyScroll = "_ganttBodyScroll_ht10f_113";
|
|
13170
|
+
const wrapper = "_wrapper_ht10f_131";
|
|
13171
|
+
const calendarDragging = "_calendarDragging_ht10f_165";
|
|
13172
13172
|
const styles$2 = {
|
|
13173
13173
|
ganttVerticalContainer,
|
|
13174
13174
|
horizontalContainer,
|
|
@@ -13201,7 +13201,8 @@
|
|
|
13201
13201
|
const moveStateScrollRef = React.useRef(null);
|
|
13202
13202
|
const containerStyle = React.useMemo(
|
|
13203
13203
|
() => ({
|
|
13204
|
-
height: "100%"
|
|
13204
|
+
height: "100%",
|
|
13205
|
+
width: "100%"
|
|
13205
13206
|
}),
|
|
13206
13207
|
[]
|
|
13207
13208
|
);
|
package/dist/style.css
CHANGED
|
@@ -282,19 +282,20 @@
|
|
|
282
282
|
border-bottom: 1px solid var(--gantt-divider-color);
|
|
283
283
|
table-layout: fixed;
|
|
284
284
|
}
|
|
285
|
-
.
|
|
285
|
+
._taskListRoot_ycl6i_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
|
height: 100%;
|
|
290
290
|
display: flex;
|
|
291
291
|
flex-direction: column;
|
|
292
|
-
|
|
293
|
-
|
|
292
|
+
/* allow the gantt area to control horizontal scrolling rather than clipping here */
|
|
293
|
+
overflow: visible;
|
|
294
|
+
max-width: none;
|
|
294
295
|
flex-shrink: 0;
|
|
295
296
|
}
|
|
296
297
|
|
|
297
|
-
.
|
|
298
|
+
._taskListHorizontalScroll_ycl6i_27 {
|
|
298
299
|
overflow-x: auto;
|
|
299
300
|
overflow-y: hidden;
|
|
300
301
|
flex: 1;
|
|
@@ -302,16 +303,16 @@
|
|
|
302
303
|
flex-direction: column;
|
|
303
304
|
}
|
|
304
305
|
|
|
305
|
-
.
|
|
306
|
+
._taskListHorizontalScroll_ycl6i_27::-webkit-scrollbar {
|
|
306
307
|
width: 1rem;
|
|
307
308
|
height: 1rem;
|
|
308
309
|
}
|
|
309
310
|
|
|
310
|
-
.
|
|
311
|
+
._taskListHorizontalScroll_ycl6i_27::-webkit-scrollbar-corner {
|
|
311
312
|
background: transparent;
|
|
312
313
|
}
|
|
313
314
|
|
|
314
|
-
.
|
|
315
|
+
._taskListHorizontalScroll_ycl6i_27::-webkit-scrollbar-thumb {
|
|
315
316
|
border: 4px solid transparent;
|
|
316
317
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
317
318
|
background: var(--gantt-scrollbar-thumb-color);
|
|
@@ -319,14 +320,14 @@
|
|
|
319
320
|
background-clip: padding-box;
|
|
320
321
|
}
|
|
321
322
|
|
|
322
|
-
.
|
|
323
|
+
._taskListHorizontalScroll_ycl6i_27::-webkit-scrollbar-thumb:hover {
|
|
323
324
|
border: 2px solid transparent;
|
|
324
325
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
325
326
|
background: var(--gantt-scrollbar-thumb-color);
|
|
326
327
|
background-clip: padding-box;
|
|
327
328
|
}
|
|
328
329
|
|
|
329
|
-
.
|
|
330
|
+
._taskListResizer_ycl6i_91 {
|
|
330
331
|
position: absolute;
|
|
331
332
|
top: 0;
|
|
332
333
|
right: -3px;
|
|
@@ -338,16 +339,16 @@
|
|
|
338
339
|
}
|
|
339
340
|
|
|
340
341
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
341
|
-
.
|
|
342
|
+
._taskListResizer_ycl6i_91:hover {
|
|
342
343
|
background-color: var(--gantt-table-hover-action-color);
|
|
343
344
|
filter: var(--gantt-hover-filter);
|
|
344
345
|
}
|
|
345
346
|
|
|
346
|
-
.
|
|
347
|
+
._taskListResizer_ycl6i_91:hover::before {
|
|
347
348
|
display: none;
|
|
348
349
|
}
|
|
349
350
|
|
|
350
|
-
.
|
|
351
|
+
._taskListResizer_ycl6i_91::before {
|
|
351
352
|
content: "";
|
|
352
353
|
position: absolute;
|
|
353
354
|
top: 0;
|
|
@@ -358,7 +359,7 @@
|
|
|
358
359
|
background-color: var(--gantt-table-resize-color, var(--gantt-divider-color));
|
|
359
360
|
}
|
|
360
361
|
|
|
361
|
-
.
|
|
362
|
+
._horizontalContainer_ycl6i_155 {
|
|
362
363
|
margin: 0;
|
|
363
364
|
padding: 0;
|
|
364
365
|
overflow-y: auto;
|
|
@@ -367,13 +368,13 @@
|
|
|
367
368
|
min-height: 0;
|
|
368
369
|
}
|
|
369
370
|
|
|
370
|
-
.
|
|
371
|
+
._tableWrapper_ycl6i_173 {
|
|
371
372
|
position: relative;
|
|
372
373
|
flex: 1;
|
|
373
374
|
min-height: 0;
|
|
374
375
|
}
|
|
375
376
|
|
|
376
|
-
.
|
|
377
|
+
._scrollToTop_ycl6i_185 {
|
|
377
378
|
position: absolute;
|
|
378
379
|
top: 0;
|
|
379
380
|
left: 0;
|
|
@@ -381,7 +382,7 @@
|
|
|
381
382
|
height: 20px;
|
|
382
383
|
}
|
|
383
384
|
|
|
384
|
-
.
|
|
385
|
+
._scrollToBottom_ycl6i_201 {
|
|
385
386
|
position: absolute;
|
|
386
387
|
bottom: 0;
|
|
387
388
|
left: 0;
|
|
@@ -389,7 +390,7 @@
|
|
|
389
390
|
height: 20px;
|
|
390
391
|
}
|
|
391
392
|
|
|
392
|
-
.
|
|
393
|
+
._hidden_ycl6i_217 {
|
|
393
394
|
display: none;
|
|
394
395
|
}
|
|
395
396
|
._ganttToday_1oyhk_1 {
|
|
@@ -583,7 +584,7 @@
|
|
|
583
584
|
user-select: none;
|
|
584
585
|
stroke-width: 0;
|
|
585
586
|
}
|
|
586
|
-
.
|
|
587
|
+
._ganttVerticalContainer_ht10f_1 {
|
|
587
588
|
display: flex;
|
|
588
589
|
flex-direction: column;
|
|
589
590
|
overflow-x: auto;
|
|
@@ -596,19 +597,19 @@
|
|
|
596
597
|
flex-grow: 1;
|
|
597
598
|
height: 100%;
|
|
598
599
|
min-height: 0;
|
|
599
|
-
width: 100%;
|
|
600
|
+
max-width: 100%;
|
|
600
601
|
}
|
|
601
602
|
|
|
602
|
-
.
|
|
603
|
+
._ganttVerticalContainer_ht10f_1::-webkit-scrollbar {
|
|
603
604
|
width: 1rem;
|
|
604
605
|
height: 1rem;
|
|
605
606
|
}
|
|
606
607
|
|
|
607
|
-
.
|
|
608
|
+
._ganttVerticalContainer_ht10f_1::-webkit-scrollbar-corner {
|
|
608
609
|
background: transparent;
|
|
609
610
|
}
|
|
610
611
|
|
|
611
|
-
.
|
|
612
|
+
._ganttVerticalContainer_ht10f_1::-webkit-scrollbar-thumb {
|
|
612
613
|
border: 4px solid transparent;
|
|
613
614
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
614
615
|
background: var(--gantt-scrollbar-thumb-color);
|
|
@@ -616,34 +617,39 @@
|
|
|
616
617
|
background-clip: padding-box;
|
|
617
618
|
}
|
|
618
619
|
|
|
619
|
-
.
|
|
620
|
+
._ganttVerticalContainer_ht10f_1::-webkit-scrollbar-thumb:hover {
|
|
620
621
|
border: 2px solid transparent;
|
|
621
622
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
622
623
|
background: var(--gantt-scrollbar-thumb-color);
|
|
623
624
|
background-clip: padding-box;
|
|
624
625
|
}
|
|
625
626
|
|
|
626
|
-
.
|
|
627
|
+
._horizontalContainer_ht10f_81 {
|
|
627
628
|
margin: 0;
|
|
628
629
|
padding: 0;
|
|
629
|
-
overflow
|
|
630
|
+
/* allow the inner grid/svg to overflow horizontally so the outer container can scroll
|
|
631
|
+
(was clipping the svg when its width exceeded the container) */
|
|
632
|
+
overflow-x: auto;
|
|
633
|
+
overflow-y: hidden;
|
|
630
634
|
height: 100%;
|
|
631
635
|
min-height: 0;
|
|
632
636
|
}
|
|
633
637
|
|
|
634
|
-
.
|
|
638
|
+
._ganttHeader_ht10f_103 {
|
|
635
639
|
flex: 0 0 auto;
|
|
636
640
|
z-index: 3;
|
|
637
641
|
}
|
|
638
642
|
|
|
639
|
-
.
|
|
643
|
+
._ganttBodyScroll_ht10f_113 {
|
|
640
644
|
flex: 1 1 auto;
|
|
641
|
-
|
|
645
|
+
/* allow horizontal scrolling here so the visible scroll area matches the SVG width */
|
|
646
|
+
overflow-y: auto;
|
|
647
|
+
overflow-x: auto;
|
|
642
648
|
min-height: 0;
|
|
643
649
|
height: 100%;
|
|
644
650
|
}
|
|
645
651
|
|
|
646
|
-
.
|
|
652
|
+
._wrapper_ht10f_131 {
|
|
647
653
|
display: flex;
|
|
648
654
|
padding: 0;
|
|
649
655
|
margin: 0;
|
|
@@ -654,10 +660,13 @@
|
|
|
654
660
|
border-bottom: 1px solid var(--gantt-divider-color);
|
|
655
661
|
height: 100%;
|
|
656
662
|
min-height: 0;
|
|
657
|
-
|
|
663
|
+
/* allow horizontal scrolling on the wrapper so users can navigate the wide gantt */
|
|
664
|
+
max-width: 100%;
|
|
665
|
+
overflow-x: auto;
|
|
666
|
+
overflow-y: hidden;
|
|
658
667
|
}
|
|
659
668
|
|
|
660
|
-
.
|
|
669
|
+
._calendarDragging_ht10f_165 {
|
|
661
670
|
cursor: grabbing;
|
|
662
671
|
}
|
|
663
672
|
/*noinspection CssUnresolvedCustomProperty*/
|
package/package.json
CHANGED