gantt-task-react-v 1.0.22 → 1.0.24
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 +8 -10
- package/dist/gantt-task-react.umd.js +8 -10
- package/dist/style.css +16 -14
- package/package.json +1 -1
|
@@ -13147,12 +13147,12 @@ const TaskGanttContentInner = (props) => {
|
|
|
13147
13147
|
] });
|
|
13148
13148
|
};
|
|
13149
13149
|
const TaskGanttContent = memo(TaskGanttContentInner);
|
|
13150
|
-
const ganttVerticalContainer = "
|
|
13151
|
-
const horizontalContainer = "
|
|
13152
|
-
const ganttHeader = "
|
|
13153
|
-
const ganttBodyScroll = "
|
|
13154
|
-
const wrapper = "
|
|
13155
|
-
const calendarDragging = "
|
|
13150
|
+
const ganttVerticalContainer = "_ganttVerticalContainer_bv09s_1";
|
|
13151
|
+
const horizontalContainer = "_horizontalContainer_bv09s_85";
|
|
13152
|
+
const ganttHeader = "_ganttHeader_bv09s_101";
|
|
13153
|
+
const ganttBodyScroll = "_ganttBodyScroll_bv09s_111";
|
|
13154
|
+
const wrapper = "_wrapper_bv09s_127";
|
|
13155
|
+
const calendarDragging = "_calendarDragging_bv09s_159";
|
|
13156
13156
|
const styles$2 = {
|
|
13157
13157
|
ganttVerticalContainer,
|
|
13158
13158
|
horizontalContainer,
|
|
@@ -13186,16 +13186,14 @@ const TaskGanttInner = (props) => {
|
|
|
13186
13186
|
const containerStyle = useMemo(
|
|
13187
13187
|
() => ({
|
|
13188
13188
|
height: "100%",
|
|
13189
|
-
|
|
13190
|
-
width: "max-content"
|
|
13189
|
+
width: fullSvgWidth
|
|
13191
13190
|
}),
|
|
13192
13191
|
[fullSvgWidth]
|
|
13193
13192
|
);
|
|
13194
13193
|
const gridStyle = useMemo(
|
|
13195
13194
|
() => ({
|
|
13196
13195
|
height: Math.max(ganttFullHeight, minimumRowDisplayed * rowHeight),
|
|
13197
|
-
|
|
13198
|
-
width: "max-content",
|
|
13196
|
+
width: fullSvgWidth,
|
|
13199
13197
|
backgroundSize: `${columnWidth}px ${fullRowHeight * 2}px`,
|
|
13200
13198
|
backgroundPositionX: additionalLeftSpace || void 0,
|
|
13201
13199
|
backgroundImage: [
|
|
@@ -13164,12 +13164,12 @@
|
|
|
13164
13164
|
] });
|
|
13165
13165
|
};
|
|
13166
13166
|
const TaskGanttContent = React.memo(TaskGanttContentInner);
|
|
13167
|
-
const ganttVerticalContainer = "
|
|
13168
|
-
const horizontalContainer = "
|
|
13169
|
-
const ganttHeader = "
|
|
13170
|
-
const ganttBodyScroll = "
|
|
13171
|
-
const wrapper = "
|
|
13172
|
-
const calendarDragging = "
|
|
13167
|
+
const ganttVerticalContainer = "_ganttVerticalContainer_bv09s_1";
|
|
13168
|
+
const horizontalContainer = "_horizontalContainer_bv09s_85";
|
|
13169
|
+
const ganttHeader = "_ganttHeader_bv09s_101";
|
|
13170
|
+
const ganttBodyScroll = "_ganttBodyScroll_bv09s_111";
|
|
13171
|
+
const wrapper = "_wrapper_bv09s_127";
|
|
13172
|
+
const calendarDragging = "_calendarDragging_bv09s_159";
|
|
13173
13173
|
const styles$2 = {
|
|
13174
13174
|
ganttVerticalContainer,
|
|
13175
13175
|
horizontalContainer,
|
|
@@ -13203,16 +13203,14 @@
|
|
|
13203
13203
|
const containerStyle = React.useMemo(
|
|
13204
13204
|
() => ({
|
|
13205
13205
|
height: "100%",
|
|
13206
|
-
|
|
13207
|
-
width: "max-content"
|
|
13206
|
+
width: fullSvgWidth
|
|
13208
13207
|
}),
|
|
13209
13208
|
[fullSvgWidth]
|
|
13210
13209
|
);
|
|
13211
13210
|
const gridStyle = React.useMemo(
|
|
13212
13211
|
() => ({
|
|
13213
13212
|
height: Math.max(ganttFullHeight, minimumRowDisplayed * rowHeight),
|
|
13214
|
-
|
|
13215
|
-
width: "max-content",
|
|
13213
|
+
width: fullSvgWidth,
|
|
13216
13214
|
backgroundSize: `${columnWidth}px ${fullRowHeight * 2}px`,
|
|
13217
13215
|
backgroundPositionX: additionalLeftSpace || void 0,
|
|
13218
13216
|
backgroundImage: [
|
package/dist/style.css
CHANGED
|
@@ -581,10 +581,10 @@
|
|
|
581
581
|
user-select: none;
|
|
582
582
|
stroke-width: 0;
|
|
583
583
|
}
|
|
584
|
-
.
|
|
584
|
+
._ganttVerticalContainer_bv09s_1 {
|
|
585
585
|
display: flex;
|
|
586
586
|
flex-direction: column;
|
|
587
|
-
overflow-x:
|
|
587
|
+
overflow-x: hidden;
|
|
588
588
|
overflow-y: hidden;
|
|
589
589
|
font-size: 0;
|
|
590
590
|
margin: 0;
|
|
@@ -592,21 +592,23 @@
|
|
|
592
592
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
593
593
|
border-right: 1px solid var(--gantt-calendar-divider-color, var(--gantt-divider-color));
|
|
594
594
|
flex-grow: 1;
|
|
595
|
+
flex-shrink: 1;
|
|
596
|
+
flex-basis: 0;
|
|
595
597
|
height: 100%;
|
|
596
598
|
min-height: 0;
|
|
597
|
-
|
|
599
|
+
min-width: 0;
|
|
598
600
|
}
|
|
599
601
|
|
|
600
|
-
.
|
|
602
|
+
._ganttVerticalContainer_bv09s_1::-webkit-scrollbar {
|
|
601
603
|
width: 1rem;
|
|
602
604
|
height: 1rem;
|
|
603
605
|
}
|
|
604
606
|
|
|
605
|
-
.
|
|
607
|
+
._ganttVerticalContainer_bv09s_1::-webkit-scrollbar-corner {
|
|
606
608
|
background: transparent;
|
|
607
609
|
}
|
|
608
610
|
|
|
609
|
-
.
|
|
611
|
+
._ganttVerticalContainer_bv09s_1::-webkit-scrollbar-thumb {
|
|
610
612
|
border: 4px solid transparent;
|
|
611
613
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
612
614
|
background: var(--gantt-scrollbar-thumb-color);
|
|
@@ -614,28 +616,27 @@
|
|
|
614
616
|
background-clip: padding-box;
|
|
615
617
|
}
|
|
616
618
|
|
|
617
|
-
.
|
|
619
|
+
._ganttVerticalContainer_bv09s_1::-webkit-scrollbar-thumb:hover {
|
|
618
620
|
border: 2px solid transparent;
|
|
619
621
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
620
622
|
background: var(--gantt-scrollbar-thumb-color);
|
|
621
623
|
background-clip: padding-box;
|
|
622
624
|
}
|
|
623
625
|
|
|
624
|
-
.
|
|
626
|
+
._horizontalContainer_bv09s_85 {
|
|
625
627
|
margin: 0;
|
|
626
628
|
padding: 0;
|
|
627
629
|
overflow: hidden;
|
|
628
630
|
height: 100%;
|
|
629
631
|
min-height: 0;
|
|
630
|
-
min-width: 0;
|
|
631
632
|
}
|
|
632
633
|
|
|
633
|
-
.
|
|
634
|
+
._ganttHeader_bv09s_101 {
|
|
634
635
|
flex: 0 0 auto;
|
|
635
636
|
z-index: 3;
|
|
636
637
|
}
|
|
637
638
|
|
|
638
|
-
.
|
|
639
|
+
._ganttBodyScroll_bv09s_111 {
|
|
639
640
|
flex: 1 1 auto;
|
|
640
641
|
overflow-y: auto;
|
|
641
642
|
overflow-x: hidden;
|
|
@@ -643,7 +644,7 @@
|
|
|
643
644
|
height: 100%;
|
|
644
645
|
}
|
|
645
646
|
|
|
646
|
-
.
|
|
647
|
+
._wrapper_bv09s_127 {
|
|
647
648
|
display: flex;
|
|
648
649
|
padding: 0;
|
|
649
650
|
margin: 0;
|
|
@@ -654,11 +655,12 @@
|
|
|
654
655
|
border-bottom: 1px solid var(--gantt-divider-color);
|
|
655
656
|
height: 100%;
|
|
656
657
|
min-height: 0;
|
|
657
|
-
|
|
658
|
+
width: 100%;
|
|
658
659
|
overflow: hidden;
|
|
660
|
+
contain: layout;
|
|
659
661
|
}
|
|
660
662
|
|
|
661
|
-
.
|
|
663
|
+
._calendarDragging_bv09s_159 {
|
|
662
664
|
cursor: grabbing;
|
|
663
665
|
}
|
|
664
666
|
/*noinspection CssUnresolvedCustomProperty*/
|
package/package.json
CHANGED