gantt-task-react-v 1.0.19 → 1.0.21
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 +70 -21
- package/dist/gantt-task-react.umd.js +70 -21
- package/dist/style.css +42 -77
- package/package.json +1 -1
|
@@ -10657,14 +10657,14 @@ const TaskListTableDefaultInner = ({
|
|
|
10657
10657
|
);
|
|
10658
10658
|
};
|
|
10659
10659
|
const TaskListTable = memo(TaskListTableDefaultInner);
|
|
10660
|
-
const taskListRoot = "
|
|
10661
|
-
const taskListHorizontalScroll = "
|
|
10662
|
-
const taskListResizer = "
|
|
10663
|
-
const horizontalContainer$1 = "
|
|
10664
|
-
const tableWrapper = "
|
|
10665
|
-
const scrollToTop = "
|
|
10666
|
-
const scrollToBottom = "
|
|
10667
|
-
const hidden = "
|
|
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";
|
|
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 = "
|
|
13151
|
-
const horizontalContainer = "
|
|
13152
|
-
const ganttHeader = "
|
|
13153
|
-
const ganttBodyScroll = "
|
|
13154
|
-
const wrapper = "
|
|
13155
|
-
const calendarDragging = "
|
|
13150
|
+
const ganttVerticalContainer = "_ganttVerticalContainer_1nwo1_1";
|
|
13151
|
+
const horizontalContainer = "_horizontalContainer_1nwo1_85";
|
|
13152
|
+
const ganttHeader = "_ganttHeader_1nwo1_107";
|
|
13153
|
+
const ganttBodyScroll = "_ganttBodyScroll_1nwo1_117";
|
|
13154
|
+
const wrapper = "_wrapper_1nwo1_139";
|
|
13155
|
+
const calendarDragging = "_calendarDragging_1nwo1_173";
|
|
13156
13156
|
const styles$2 = {
|
|
13157
13157
|
ganttVerticalContainer,
|
|
13158
13158
|
horizontalContainer,
|
|
@@ -13186,10 +13186,35 @@ const TaskGanttInner = (props) => {
|
|
|
13186
13186
|
const containerStyle = useMemo(
|
|
13187
13187
|
() => ({
|
|
13188
13188
|
height: "100%",
|
|
13189
|
+
// width will be set dynamically below based on measured container width
|
|
13189
13190
|
width: fullSvgWidth
|
|
13190
13191
|
}),
|
|
13191
13192
|
[fullSvgWidth]
|
|
13192
13193
|
);
|
|
13194
|
+
const [parentClientWidth, setParentClientWidth] = useState(
|
|
13195
|
+
null
|
|
13196
|
+
);
|
|
13197
|
+
useEffect(() => {
|
|
13198
|
+
const el = verticalGanttContainerRef.current;
|
|
13199
|
+
if (!el) {
|
|
13200
|
+
return () => {
|
|
13201
|
+
};
|
|
13202
|
+
}
|
|
13203
|
+
const update = () => setParentClientWidth(el.clientWidth);
|
|
13204
|
+
update();
|
|
13205
|
+
let ro = null;
|
|
13206
|
+
if (typeof ResizeObserver !== "undefined") {
|
|
13207
|
+
ro = new ResizeObserver(() => update());
|
|
13208
|
+
ro.observe(el);
|
|
13209
|
+
}
|
|
13210
|
+
window.addEventListener("resize", update);
|
|
13211
|
+
return () => {
|
|
13212
|
+
if (ro) {
|
|
13213
|
+
ro.disconnect();
|
|
13214
|
+
}
|
|
13215
|
+
window.removeEventListener("resize", update);
|
|
13216
|
+
};
|
|
13217
|
+
}, [verticalGanttContainerRef]);
|
|
13193
13218
|
const gridStyle = useMemo(
|
|
13194
13219
|
() => ({
|
|
13195
13220
|
height: Math.max(ganttFullHeight, minimumRowDisplayed * rowHeight),
|
|
@@ -13273,15 +13298,33 @@ const TaskGanttInner = (props) => {
|
|
|
13273
13298
|
moveStateHorRef.current = null;
|
|
13274
13299
|
contentContainer.classList.remove(styles$2.calendarDragging);
|
|
13275
13300
|
};
|
|
13276
|
-
contentContainer.addEventListener(
|
|
13277
|
-
|
|
13301
|
+
contentContainer.addEventListener(
|
|
13302
|
+
"mousemove",
|
|
13303
|
+
onScrollMove
|
|
13304
|
+
);
|
|
13305
|
+
contentContainer.addEventListener(
|
|
13306
|
+
"mousedown",
|
|
13307
|
+
onScrollStart
|
|
13308
|
+
);
|
|
13278
13309
|
contentContainer.addEventListener("mouseup", onScrollEnd);
|
|
13279
13310
|
contentContainer.addEventListener("mouseout", onScrollEnd);
|
|
13280
13311
|
return () => {
|
|
13281
|
-
contentContainer.removeEventListener(
|
|
13282
|
-
|
|
13283
|
-
|
|
13284
|
-
|
|
13312
|
+
contentContainer.removeEventListener(
|
|
13313
|
+
"mousemove",
|
|
13314
|
+
onScrollMove
|
|
13315
|
+
);
|
|
13316
|
+
contentContainer.removeEventListener(
|
|
13317
|
+
"mousedown",
|
|
13318
|
+
onScrollStart
|
|
13319
|
+
);
|
|
13320
|
+
contentContainer.removeEventListener(
|
|
13321
|
+
"mouseup",
|
|
13322
|
+
onScrollEnd
|
|
13323
|
+
);
|
|
13324
|
+
contentContainer.removeEventListener(
|
|
13325
|
+
"mouseout",
|
|
13326
|
+
onScrollEnd
|
|
13327
|
+
);
|
|
13285
13328
|
};
|
|
13286
13329
|
}, [verticalScrollbarRef, horizontalContainerRef, verticalGanttContainerRef]);
|
|
13287
13330
|
return /* @__PURE__ */ jsxs(
|
|
@@ -13307,7 +13350,13 @@ const TaskGanttInner = (props) => {
|
|
|
13307
13350
|
{
|
|
13308
13351
|
ref: horizontalContainerRef,
|
|
13309
13352
|
className: styles$2.horizontalContainer,
|
|
13310
|
-
style:
|
|
13353
|
+
style: {
|
|
13354
|
+
...containerStyle,
|
|
13355
|
+
// ensure the horizontal container occupies at least the parent view width
|
|
13356
|
+
// so it's flexible when fullSvgWidth is smaller than the current viewport,
|
|
13357
|
+
// and it overflows when fullSvgWidth is larger.
|
|
13358
|
+
width: parentClientWidth && parentClientWidth > fullSvgWidth ? parentClientWidth : fullSvgWidth
|
|
13359
|
+
},
|
|
13311
13360
|
children: /* @__PURE__ */ jsx("div", { style: gridStyle, children: /* @__PURE__ */ jsxs(
|
|
13312
13361
|
"svg",
|
|
13313
13362
|
{
|
|
@@ -10674,14 +10674,14 @@
|
|
|
10674
10674
|
);
|
|
10675
10675
|
};
|
|
10676
10676
|
const TaskListTable = React.memo(TaskListTableDefaultInner);
|
|
10677
|
-
const taskListRoot = "
|
|
10678
|
-
const taskListHorizontalScroll = "
|
|
10679
|
-
const taskListResizer = "
|
|
10680
|
-
const horizontalContainer$1 = "
|
|
10681
|
-
const tableWrapper = "
|
|
10682
|
-
const scrollToTop = "
|
|
10683
|
-
const scrollToBottom = "
|
|
10684
|
-
const hidden = "
|
|
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";
|
|
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 = "
|
|
13168
|
-
const horizontalContainer = "
|
|
13169
|
-
const ganttHeader = "
|
|
13170
|
-
const ganttBodyScroll = "
|
|
13171
|
-
const wrapper = "
|
|
13172
|
-
const calendarDragging = "
|
|
13167
|
+
const ganttVerticalContainer = "_ganttVerticalContainer_1nwo1_1";
|
|
13168
|
+
const horizontalContainer = "_horizontalContainer_1nwo1_85";
|
|
13169
|
+
const ganttHeader = "_ganttHeader_1nwo1_107";
|
|
13170
|
+
const ganttBodyScroll = "_ganttBodyScroll_1nwo1_117";
|
|
13171
|
+
const wrapper = "_wrapper_1nwo1_139";
|
|
13172
|
+
const calendarDragging = "_calendarDragging_1nwo1_173";
|
|
13173
13173
|
const styles$2 = {
|
|
13174
13174
|
ganttVerticalContainer,
|
|
13175
13175
|
horizontalContainer,
|
|
@@ -13203,10 +13203,35 @@
|
|
|
13203
13203
|
const containerStyle = React.useMemo(
|
|
13204
13204
|
() => ({
|
|
13205
13205
|
height: "100%",
|
|
13206
|
+
// width will be set dynamically below based on measured container width
|
|
13206
13207
|
width: fullSvgWidth
|
|
13207
13208
|
}),
|
|
13208
13209
|
[fullSvgWidth]
|
|
13209
13210
|
);
|
|
13211
|
+
const [parentClientWidth, setParentClientWidth] = React.useState(
|
|
13212
|
+
null
|
|
13213
|
+
);
|
|
13214
|
+
React.useEffect(() => {
|
|
13215
|
+
const el = verticalGanttContainerRef.current;
|
|
13216
|
+
if (!el) {
|
|
13217
|
+
return () => {
|
|
13218
|
+
};
|
|
13219
|
+
}
|
|
13220
|
+
const update = () => setParentClientWidth(el.clientWidth);
|
|
13221
|
+
update();
|
|
13222
|
+
let ro = null;
|
|
13223
|
+
if (typeof ResizeObserver !== "undefined") {
|
|
13224
|
+
ro = new ResizeObserver(() => update());
|
|
13225
|
+
ro.observe(el);
|
|
13226
|
+
}
|
|
13227
|
+
window.addEventListener("resize", update);
|
|
13228
|
+
return () => {
|
|
13229
|
+
if (ro) {
|
|
13230
|
+
ro.disconnect();
|
|
13231
|
+
}
|
|
13232
|
+
window.removeEventListener("resize", update);
|
|
13233
|
+
};
|
|
13234
|
+
}, [verticalGanttContainerRef]);
|
|
13210
13235
|
const gridStyle = React.useMemo(
|
|
13211
13236
|
() => ({
|
|
13212
13237
|
height: Math.max(ganttFullHeight, minimumRowDisplayed * rowHeight),
|
|
@@ -13290,15 +13315,33 @@
|
|
|
13290
13315
|
moveStateHorRef.current = null;
|
|
13291
13316
|
contentContainer.classList.remove(styles$2.calendarDragging);
|
|
13292
13317
|
};
|
|
13293
|
-
contentContainer.addEventListener(
|
|
13294
|
-
|
|
13318
|
+
contentContainer.addEventListener(
|
|
13319
|
+
"mousemove",
|
|
13320
|
+
onScrollMove
|
|
13321
|
+
);
|
|
13322
|
+
contentContainer.addEventListener(
|
|
13323
|
+
"mousedown",
|
|
13324
|
+
onScrollStart
|
|
13325
|
+
);
|
|
13295
13326
|
contentContainer.addEventListener("mouseup", onScrollEnd);
|
|
13296
13327
|
contentContainer.addEventListener("mouseout", onScrollEnd);
|
|
13297
13328
|
return () => {
|
|
13298
|
-
contentContainer.removeEventListener(
|
|
13299
|
-
|
|
13300
|
-
|
|
13301
|
-
|
|
13329
|
+
contentContainer.removeEventListener(
|
|
13330
|
+
"mousemove",
|
|
13331
|
+
onScrollMove
|
|
13332
|
+
);
|
|
13333
|
+
contentContainer.removeEventListener(
|
|
13334
|
+
"mousedown",
|
|
13335
|
+
onScrollStart
|
|
13336
|
+
);
|
|
13337
|
+
contentContainer.removeEventListener(
|
|
13338
|
+
"mouseup",
|
|
13339
|
+
onScrollEnd
|
|
13340
|
+
);
|
|
13341
|
+
contentContainer.removeEventListener(
|
|
13342
|
+
"mouseout",
|
|
13343
|
+
onScrollEnd
|
|
13344
|
+
);
|
|
13302
13345
|
};
|
|
13303
13346
|
}, [verticalScrollbarRef, horizontalContainerRef, verticalGanttContainerRef]);
|
|
13304
13347
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -13324,7 +13367,13 @@
|
|
|
13324
13367
|
{
|
|
13325
13368
|
ref: horizontalContainerRef,
|
|
13326
13369
|
className: styles$2.horizontalContainer,
|
|
13327
|
-
style:
|
|
13370
|
+
style: {
|
|
13371
|
+
...containerStyle,
|
|
13372
|
+
// ensure the horizontal container occupies at least the parent view width
|
|
13373
|
+
// so it's flexible when fullSvgWidth is smaller than the current viewport,
|
|
13374
|
+
// and it overflows when fullSvgWidth is larger.
|
|
13375
|
+
width: parentClientWidth && parentClientWidth > fullSvgWidth ? parentClientWidth : fullSvgWidth
|
|
13376
|
+
},
|
|
13328
13377
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { style: gridStyle, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13329
13378
|
"svg",
|
|
13330
13379
|
{
|
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
|
-
.
|
|
285
|
+
._taskListRoot_xeaio_1 {
|
|
286
286
|
position: relative;
|
|
287
287
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
288
288
|
border-left: 1px solid var(--gantt-table-divider-color, var(--gantt-divider-color));
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
overflow: hidden;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
.
|
|
295
|
+
._taskListHorizontalScroll_xeaio_21 {
|
|
296
296
|
overflow-x: auto;
|
|
297
297
|
overflow-y: hidden;
|
|
298
298
|
flex: 1;
|
|
@@ -300,16 +300,16 @@
|
|
|
300
300
|
flex-direction: column;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
.
|
|
304
|
-
width:
|
|
303
|
+
._taskListHorizontalScroll_xeaio_21::-webkit-scrollbar {
|
|
304
|
+
width: 1rem;
|
|
305
305
|
height: 1rem;
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
-
.
|
|
308
|
+
._taskListHorizontalScroll_xeaio_21::-webkit-scrollbar-corner {
|
|
309
309
|
background: transparent;
|
|
310
310
|
}
|
|
311
311
|
|
|
312
|
-
.
|
|
312
|
+
._taskListHorizontalScroll_xeaio_21::-webkit-scrollbar-thumb {
|
|
313
313
|
border: 4px solid transparent;
|
|
314
314
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
315
315
|
background: var(--gantt-scrollbar-thumb-color);
|
|
@@ -317,14 +317,14 @@
|
|
|
317
317
|
background-clip: padding-box;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
.
|
|
320
|
+
._taskListHorizontalScroll_xeaio_21::-webkit-scrollbar-thumb:hover {
|
|
321
321
|
border: 2px solid transparent;
|
|
322
322
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
323
323
|
background: var(--gantt-scrollbar-thumb-color);
|
|
324
324
|
background-clip: padding-box;
|
|
325
325
|
}
|
|
326
326
|
|
|
327
|
-
.
|
|
327
|
+
._taskListResizer_xeaio_85 {
|
|
328
328
|
position: absolute;
|
|
329
329
|
top: 0;
|
|
330
330
|
right: -3px;
|
|
@@ -336,16 +336,16 @@
|
|
|
336
336
|
}
|
|
337
337
|
|
|
338
338
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
339
|
-
.
|
|
339
|
+
._taskListResizer_xeaio_85:hover {
|
|
340
340
|
background-color: var(--gantt-table-hover-action-color);
|
|
341
341
|
filter: var(--gantt-hover-filter);
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
-
.
|
|
344
|
+
._taskListResizer_xeaio_85:hover::before {
|
|
345
345
|
display: none;
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
.
|
|
348
|
+
._taskListResizer_xeaio_85::before {
|
|
349
349
|
content: "";
|
|
350
350
|
position: absolute;
|
|
351
351
|
top: 0;
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
background-color: var(--gantt-table-resize-color, var(--gantt-divider-color));
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
-
.
|
|
359
|
+
._horizontalContainer_xeaio_149 {
|
|
360
360
|
margin: 0;
|
|
361
361
|
padding: 0;
|
|
362
362
|
overflow-y: auto;
|
|
@@ -365,37 +365,13 @@
|
|
|
365
365
|
min-height: 0;
|
|
366
366
|
}
|
|
367
367
|
|
|
368
|
-
.
|
|
369
|
-
width: 1rem;
|
|
370
|
-
height: 1rem;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
._horizontalContainer_1jqtj_149::-webkit-scrollbar-corner {
|
|
374
|
-
background: transparent;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
._horizontalContainer_1jqtj_149::-webkit-scrollbar-thumb {
|
|
378
|
-
border: 4px solid transparent;
|
|
379
|
-
/*noinspection CssUnresolvedCustomProperty*/
|
|
380
|
-
background: var(--gantt-scrollbar-thumb-color);
|
|
381
|
-
border-radius: 12px;
|
|
382
|
-
background-clip: padding-box;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
._horizontalContainer_1jqtj_149::-webkit-scrollbar-thumb:hover {
|
|
386
|
-
border: 2px solid transparent;
|
|
387
|
-
/*noinspection CssUnresolvedCustomProperty*/
|
|
388
|
-
background: var(--gantt-scrollbar-thumb-color);
|
|
389
|
-
background-clip: padding-box;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
._tableWrapper_1jqtj_215 {
|
|
368
|
+
._tableWrapper_xeaio_167 {
|
|
393
369
|
position: relative;
|
|
394
370
|
flex: 1;
|
|
395
371
|
min-height: 0;
|
|
396
372
|
}
|
|
397
373
|
|
|
398
|
-
.
|
|
374
|
+
._scrollToTop_xeaio_179 {
|
|
399
375
|
position: absolute;
|
|
400
376
|
top: 0;
|
|
401
377
|
left: 0;
|
|
@@ -403,7 +379,7 @@
|
|
|
403
379
|
height: 20px;
|
|
404
380
|
}
|
|
405
381
|
|
|
406
|
-
.
|
|
382
|
+
._scrollToBottom_xeaio_195 {
|
|
407
383
|
position: absolute;
|
|
408
384
|
bottom: 0;
|
|
409
385
|
left: 0;
|
|
@@ -411,7 +387,7 @@
|
|
|
411
387
|
height: 20px;
|
|
412
388
|
}
|
|
413
389
|
|
|
414
|
-
.
|
|
390
|
+
._hidden_xeaio_211 {
|
|
415
391
|
display: none;
|
|
416
392
|
}
|
|
417
393
|
._ganttToday_1oyhk_1 {
|
|
@@ -605,11 +581,14 @@
|
|
|
605
581
|
user-select: none;
|
|
606
582
|
stroke-width: 0;
|
|
607
583
|
}
|
|
608
|
-
.
|
|
584
|
+
._ganttVerticalContainer_1nwo1_1 {
|
|
609
585
|
display: flex;
|
|
610
586
|
flex-direction: column;
|
|
611
|
-
|
|
587
|
+
/* inner container should not create a page-wide scroll; let wrapper handle horizontal overflow */
|
|
588
|
+
overflow-x: visible;
|
|
612
589
|
overflow-y: hidden;
|
|
590
|
+
/* allow this flex child to shrink when its child is wider than available space */
|
|
591
|
+
min-width: 0;
|
|
613
592
|
font-size: 0;
|
|
614
593
|
margin: 0;
|
|
615
594
|
padding: 0;
|
|
@@ -620,16 +599,16 @@
|
|
|
620
599
|
min-height: 0;
|
|
621
600
|
}
|
|
622
601
|
|
|
623
|
-
.
|
|
602
|
+
._ganttVerticalContainer_1nwo1_1::-webkit-scrollbar {
|
|
624
603
|
width: 1rem;
|
|
625
604
|
height: 1rem;
|
|
626
605
|
}
|
|
627
606
|
|
|
628
|
-
.
|
|
607
|
+
._ganttVerticalContainer_1nwo1_1::-webkit-scrollbar-corner {
|
|
629
608
|
background: transparent;
|
|
630
609
|
}
|
|
631
610
|
|
|
632
|
-
.
|
|
611
|
+
._ganttVerticalContainer_1nwo1_1::-webkit-scrollbar-thumb {
|
|
633
612
|
border: 4px solid transparent;
|
|
634
613
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
635
614
|
background: var(--gantt-scrollbar-thumb-color);
|
|
@@ -637,72 +616,58 @@
|
|
|
637
616
|
background-clip: padding-box;
|
|
638
617
|
}
|
|
639
618
|
|
|
640
|
-
.
|
|
619
|
+
._ganttVerticalContainer_1nwo1_1::-webkit-scrollbar-thumb:hover {
|
|
641
620
|
border: 2px solid transparent;
|
|
642
621
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
643
622
|
background: var(--gantt-scrollbar-thumb-color);
|
|
644
623
|
background-clip: padding-box;
|
|
645
624
|
}
|
|
646
625
|
|
|
647
|
-
.
|
|
626
|
+
._horizontalContainer_1nwo1_85 {
|
|
648
627
|
margin: 0;
|
|
649
628
|
padding: 0;
|
|
650
|
-
overflow
|
|
629
|
+
/* keep inner container hidden overflow so content width is controlled by outer container */
|
|
630
|
+
overflow: hidden;
|
|
631
|
+
/* allow inner container to be clipped instead of forcing parent width */
|
|
632
|
+
min-width: 0;
|
|
651
633
|
height: 100%;
|
|
652
634
|
min-height: 0;
|
|
653
635
|
}
|
|
654
636
|
|
|
655
|
-
.
|
|
637
|
+
._ganttHeader_1nwo1_107 {
|
|
656
638
|
flex: 0 0 auto;
|
|
657
639
|
z-index: 3;
|
|
658
640
|
}
|
|
659
641
|
|
|
660
|
-
.
|
|
642
|
+
._ganttBodyScroll_1nwo1_117 {
|
|
661
643
|
flex: 1 1 auto;
|
|
644
|
+
/* vertical scrolling only here; horizontal controlled by the parent container */
|
|
662
645
|
overflow-y: auto;
|
|
663
|
-
overflow
|
|
646
|
+
/* allow horizontal overflow to be visible so the outer container's horizontal
|
|
647
|
+
scrollbar can control the full width of the gantt */
|
|
648
|
+
overflow-x: visible;
|
|
664
649
|
min-height: 0;
|
|
665
650
|
height: 100%;
|
|
666
651
|
}
|
|
667
652
|
|
|
668
|
-
.
|
|
669
|
-
width: 1rem;
|
|
670
|
-
height: 1rem;
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
._ganttBodyScroll_1benq_105::-webkit-scrollbar-corner {
|
|
674
|
-
background: transparent;
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
._ganttBodyScroll_1benq_105::-webkit-scrollbar-thumb {
|
|
678
|
-
border: 4px solid transparent;
|
|
679
|
-
/*noinspection CssUnresolvedCustomProperty*/
|
|
680
|
-
background: var(--gantt-scrollbar-thumb-color);
|
|
681
|
-
border-radius: 12px;
|
|
682
|
-
background-clip: padding-box;
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
._ganttBodyScroll_1benq_105::-webkit-scrollbar-thumb:hover {
|
|
686
|
-
border: 2px solid transparent;
|
|
687
|
-
/*noinspection CssUnresolvedCustomProperty*/
|
|
688
|
-
background: var(--gantt-scrollbar-thumb-color);
|
|
689
|
-
background-clip: padding-box;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
._wrapper_1benq_169 {
|
|
653
|
+
._wrapper_1nwo1_139 {
|
|
693
654
|
display: flex;
|
|
694
655
|
padding: 0;
|
|
695
656
|
margin: 0;
|
|
696
657
|
list-style: none;
|
|
697
658
|
outline: none;
|
|
698
659
|
position: relative;
|
|
660
|
+
/* allow children to shrink; prevents child content from expanding the wrapper width */
|
|
661
|
+
min-width: 0;
|
|
662
|
+
/* let wrapper provide horizontal scrolling when children are wider than the view */
|
|
663
|
+
overflow-x: auto;
|
|
699
664
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
700
665
|
border-bottom: 1px solid var(--gantt-divider-color);
|
|
701
666
|
height: 100%;
|
|
702
667
|
min-height: 0;
|
|
703
668
|
}
|
|
704
669
|
|
|
705
|
-
.
|
|
670
|
+
._calendarDragging_1nwo1_173 {
|
|
706
671
|
cursor: grabbing;
|
|
707
672
|
}
|
|
708
673
|
/*noinspection CssUnresolvedCustomProperty*/
|
package/package.json
CHANGED