gantt-task-react-v 1.0.31 → 1.0.33
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 -17
- package/dist/gantt-task-react.umd.js +16 -17
- package/dist/style.css +39 -32
- 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_1khem_1";
|
|
13150
|
+
const horizontalContainer = "_horizontalContainer_1khem_81";
|
|
13151
|
+
const ganttHeader = "_ganttHeader_1khem_103";
|
|
13152
|
+
const ganttBodyScroll = "_ganttBodyScroll_1khem_113";
|
|
13153
|
+
const wrapper = "_wrapper_1khem_131";
|
|
13154
|
+
const calendarDragging = "_calendarDragging_1khem_163";
|
|
13155
13155
|
const styles$2 = {
|
|
13156
13156
|
ganttVerticalContainer,
|
|
13157
13157
|
horizontalContainer,
|
|
@@ -13185,10 +13185,9 @@ const TaskGanttInner = (props) => {
|
|
|
13185
13185
|
const containerStyle = useMemo(
|
|
13186
13186
|
() => ({
|
|
13187
13187
|
height: "100%",
|
|
13188
|
-
width:
|
|
13189
|
-
minWidth: "100%"
|
|
13188
|
+
width: "100%"
|
|
13190
13189
|
}),
|
|
13191
|
-
[
|
|
13190
|
+
[]
|
|
13192
13191
|
);
|
|
13193
13192
|
const gridStyle = useMemo(
|
|
13194
13193
|
() => ({
|
|
@@ -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_1khem_1";
|
|
13167
|
+
const horizontalContainer = "_horizontalContainer_1khem_81";
|
|
13168
|
+
const ganttHeader = "_ganttHeader_1khem_103";
|
|
13169
|
+
const ganttBodyScroll = "_ganttBodyScroll_1khem_113";
|
|
13170
|
+
const wrapper = "_wrapper_1khem_131";
|
|
13171
|
+
const calendarDragging = "_calendarDragging_1khem_163";
|
|
13172
13172
|
const styles$2 = {
|
|
13173
13173
|
ganttVerticalContainer,
|
|
13174
13174
|
horizontalContainer,
|
|
@@ -13202,10 +13202,9 @@
|
|
|
13202
13202
|
const containerStyle = React.useMemo(
|
|
13203
13203
|
() => ({
|
|
13204
13204
|
height: "100%",
|
|
13205
|
-
width:
|
|
13206
|
-
minWidth: "100%"
|
|
13205
|
+
width: "100%"
|
|
13207
13206
|
}),
|
|
13208
|
-
[
|
|
13207
|
+
[]
|
|
13209
13208
|
);
|
|
13210
13209
|
const gridStyle = React.useMemo(
|
|
13211
13210
|
() => ({
|
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_1khem_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_1khem_1::-webkit-scrollbar {
|
|
603
604
|
width: 1rem;
|
|
604
605
|
height: 1rem;
|
|
605
606
|
}
|
|
606
607
|
|
|
607
|
-
.
|
|
608
|
+
._ganttVerticalContainer_1khem_1::-webkit-scrollbar-corner {
|
|
608
609
|
background: transparent;
|
|
609
610
|
}
|
|
610
611
|
|
|
611
|
-
.
|
|
612
|
+
._ganttVerticalContainer_1khem_1::-webkit-scrollbar-thumb {
|
|
612
613
|
border: 4px solid transparent;
|
|
613
614
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
614
615
|
background: var(--gantt-scrollbar-thumb-color);
|
|
@@ -616,35 +617,39 @@
|
|
|
616
617
|
background-clip: padding-box;
|
|
617
618
|
}
|
|
618
619
|
|
|
619
|
-
.
|
|
620
|
+
._ganttVerticalContainer_1khem_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_1khem_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
|
-
width: max-content;
|
|
633
636
|
}
|
|
634
637
|
|
|
635
|
-
.
|
|
638
|
+
._ganttHeader_1khem_103 {
|
|
636
639
|
flex: 0 0 auto;
|
|
637
640
|
z-index: 3;
|
|
638
641
|
}
|
|
639
642
|
|
|
640
|
-
.
|
|
643
|
+
._ganttBodyScroll_1khem_113 {
|
|
641
644
|
flex: 1 1 auto;
|
|
642
|
-
|
|
645
|
+
/* allow horizontal scrolling here so the visible scroll area matches the SVG width */
|
|
646
|
+
overflow-y: auto;
|
|
647
|
+
overflow-x: auto;
|
|
643
648
|
min-height: 0;
|
|
644
649
|
height: 100%;
|
|
645
650
|
}
|
|
646
651
|
|
|
647
|
-
.
|
|
652
|
+
._wrapper_1khem_131 {
|
|
648
653
|
display: flex;
|
|
649
654
|
padding: 0;
|
|
650
655
|
margin: 0;
|
|
@@ -655,10 +660,12 @@
|
|
|
655
660
|
border-bottom: 1px solid var(--gantt-divider-color);
|
|
656
661
|
height: 100%;
|
|
657
662
|
min-height: 0;
|
|
658
|
-
|
|
663
|
+
/* allow children (like the gantt svg) to overflow horizontally instead of being clipped */
|
|
664
|
+
max-width: none;
|
|
665
|
+
overflow: visible;
|
|
659
666
|
}
|
|
660
667
|
|
|
661
|
-
.
|
|
668
|
+
._calendarDragging_1khem_163 {
|
|
662
669
|
cursor: grabbing;
|
|
663
670
|
}
|
|
664
671
|
/*noinspection CssUnresolvedCustomProperty*/
|
package/package.json
CHANGED