gantt-lib 0.112.0 → 0.113.0
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/index.css.map +1 -1
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +629 -337
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +629 -337
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +71 -14
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -3494,6 +3494,10 @@
|
|
|
3494
3494
|
position: relative;
|
|
3495
3495
|
background: var(--gantt-cell-background, #ffffff);
|
|
3496
3496
|
--gantt-pf-day-width: 40px;
|
|
3497
|
+
--gantt-pf-day-line-width: 0.5px;
|
|
3498
|
+
--gantt-pf-day-line-color: rgb(226, 226, 226);
|
|
3499
|
+
--gantt-pf-row-line-width: 0.5px;
|
|
3500
|
+
--gantt-pf-row-line-color: var(--gantt-plan-fact-row-line-color, rgb(146, 153, 160));
|
|
3497
3501
|
}
|
|
3498
3502
|
.gantt-pf-header {
|
|
3499
3503
|
position: sticky;
|
|
@@ -3504,6 +3508,14 @@
|
|
|
3504
3508
|
border-bottom: 1px solid var(--gantt-grid-line-color, #e0e0e0);
|
|
3505
3509
|
box-sizing: border-box;
|
|
3506
3510
|
}
|
|
3511
|
+
.gantt-pf-headerTodayLine {
|
|
3512
|
+
position: absolute;
|
|
3513
|
+
bottom: 0;
|
|
3514
|
+
z-index: 11;
|
|
3515
|
+
width: var(--gantt-today-indicator-width);
|
|
3516
|
+
background: var(--gantt-today-indicator-color);
|
|
3517
|
+
pointer-events: none;
|
|
3518
|
+
}
|
|
3507
3519
|
.gantt-pf-body {
|
|
3508
3520
|
position: relative;
|
|
3509
3521
|
z-index: 0;
|
|
@@ -3515,19 +3527,64 @@
|
|
|
3515
3527
|
grid-template-rows: 1fr 1fr;
|
|
3516
3528
|
box-sizing: border-box;
|
|
3517
3529
|
overflow: hidden;
|
|
3518
|
-
|
|
3530
|
+
background-image:
|
|
3531
|
+
linear-gradient(
|
|
3532
|
+
to right,
|
|
3533
|
+
transparent 0,
|
|
3534
|
+
transparent var(--gantt-pf-today-left, -10000px),
|
|
3535
|
+
var(--gantt-today-indicator-color) var(--gantt-pf-today-left, -10000px),
|
|
3536
|
+
var(--gantt-today-indicator-color) calc(var(--gantt-pf-today-left, -10000px) + var(--gantt-today-indicator-width)),
|
|
3537
|
+
transparent calc(var(--gantt-pf-today-left, -10000px) + var(--gantt-today-indicator-width))),
|
|
3538
|
+
repeating-linear-gradient(
|
|
3539
|
+
to right,
|
|
3540
|
+
transparent 0,
|
|
3541
|
+
transparent calc(var(--gantt-pf-day-width) - var(--gantt-pf-day-line-width)),
|
|
3542
|
+
var(--gantt-pf-day-line-color, rgba(148, 163, 184, 0.55)) calc(var(--gantt-pf-day-width) - var(--gantt-pf-day-line-width)),
|
|
3543
|
+
var(--gantt-pf-day-line-color, rgba(148, 163, 184, 0.55)) var(--gantt-pf-day-width));
|
|
3544
|
+
box-shadow: inset 0 calc(-1 * var(--gantt-pf-row-line-width)) 0 var(--gantt-pf-row-line-color);
|
|
3519
3545
|
}
|
|
3520
3546
|
.gantt-pf-row-parent {
|
|
3547
|
+
background-image:
|
|
3548
|
+
linear-gradient(
|
|
3549
|
+
to right,
|
|
3550
|
+
transparent 0,
|
|
3551
|
+
transparent var(--gantt-pf-today-left, -10000px),
|
|
3552
|
+
var(--gantt-today-indicator-color) var(--gantt-pf-today-left, -10000px),
|
|
3553
|
+
var(--gantt-today-indicator-color) calc(var(--gantt-pf-today-left, -10000px) + var(--gantt-today-indicator-width)),
|
|
3554
|
+
transparent calc(var(--gantt-pf-today-left, -10000px) + var(--gantt-today-indicator-width)));
|
|
3521
3555
|
font-weight: 600;
|
|
3522
3556
|
}
|
|
3557
|
+
.gantt-pf-row-parent .gantt-pf-cell,
|
|
3558
|
+
.gantt-pf-row-parent .gantt-pf-cell-active,
|
|
3559
|
+
.gantt-pf-row-parent .gantt-pf-cell-editing:hover,
|
|
3560
|
+
.gantt-pf-row-parent .gantt-pf-cell-selected,
|
|
3561
|
+
.gantt-pf-row-parent .gantt-pf-cell-selected.gantt-pf-cell-active:hover,
|
|
3562
|
+
.gantt-pf-row-parent .gantt-pf-cell-selected.gantt-pf-cell-rangeAnchor,
|
|
3563
|
+
.gantt-pf-row-parent .gantt-pf-cell-selected.gantt-pf-cell-rangeAnchor.gantt-pf-cell-active:hover,
|
|
3564
|
+
.gantt-pf-row-parent .gantt-pf-cell:not(.gantt-pf-cell-readonly):hover,
|
|
3565
|
+
.gantt-pf-row-parent .gantt-pf-cell-active:not(.gantt-pf-cell-selected):hover {
|
|
3566
|
+
box-shadow: none;
|
|
3567
|
+
}
|
|
3523
3568
|
.gantt-pf-row-highlighted {
|
|
3524
3569
|
background-color: rgba(250, 204, 21, 0.24);
|
|
3525
3570
|
}
|
|
3526
3571
|
.gantt-pf-row.gantt-pf-row-hovered {
|
|
3527
|
-
box-shadow: inset 0 -
|
|
3572
|
+
box-shadow: inset 0 calc(-1 * var(--gantt-pf-row-line-width)) 0 var(--gantt-pf-row-line-color), inset 0 0 0 9999px var(--gantt-row-hover-background, rgba(59, 130, 246, 0.04));
|
|
3528
3573
|
}
|
|
3529
3574
|
.gantt-pf-row-highlighted.gantt-pf-row-hovered {
|
|
3530
|
-
box-shadow: inset 0 -
|
|
3575
|
+
box-shadow: inset 0 calc(-1 * var(--gantt-pf-row-line-width)) 0 var(--gantt-pf-row-line-color), inset 0 0 0 9999px rgba(250, 204, 21, 0.3);
|
|
3576
|
+
}
|
|
3577
|
+
.gantt-pf-monthSeparatorLayer {
|
|
3578
|
+
position: absolute;
|
|
3579
|
+
inset: 0;
|
|
3580
|
+
z-index: 12;
|
|
3581
|
+
pointer-events: none;
|
|
3582
|
+
}
|
|
3583
|
+
.gantt-pf-monthSeparator {
|
|
3584
|
+
position: absolute;
|
|
3585
|
+
bottom: 0;
|
|
3586
|
+
width: var(--gantt-month-separator-width, 2px);
|
|
3587
|
+
background: var(--gantt-month-separator-color, #374151);
|
|
3531
3588
|
}
|
|
3532
3589
|
.gantt-pf-cell {
|
|
3533
3590
|
position: relative;
|
|
@@ -3542,8 +3599,8 @@
|
|
|
3542
3599
|
line-height: 1;
|
|
3543
3600
|
font-variant-numeric: tabular-nums;
|
|
3544
3601
|
outline: none;
|
|
3545
|
-
background:
|
|
3546
|
-
box-shadow:
|
|
3602
|
+
background: transparent;
|
|
3603
|
+
box-shadow: none;
|
|
3547
3604
|
}
|
|
3548
3605
|
.gantt-pf-cell-plan {
|
|
3549
3606
|
font-weight: 600;
|
|
@@ -3564,13 +3621,13 @@
|
|
|
3564
3621
|
}
|
|
3565
3622
|
.gantt-pf-cell-active {
|
|
3566
3623
|
z-index: 1;
|
|
3567
|
-
box-shadow:
|
|
3624
|
+
box-shadow: none;
|
|
3568
3625
|
}
|
|
3569
3626
|
.gantt-pf-cell-selected {
|
|
3570
|
-
box-shadow: inset 0 0 0 9999px rgba(37, 99, 235, 0.12)
|
|
3627
|
+
box-shadow: inset 0 0 0 9999px rgba(37, 99, 235, 0.12);
|
|
3571
3628
|
}
|
|
3572
3629
|
.gantt-pf-cell-selected.gantt-pf-cell-rangeAnchor {
|
|
3573
|
-
box-shadow:
|
|
3630
|
+
box-shadow: none;
|
|
3574
3631
|
}
|
|
3575
3632
|
.gantt-pf-cell-active:not(.gantt-pf-cell-selected)::after {
|
|
3576
3633
|
position: absolute;
|
|
@@ -3592,20 +3649,20 @@
|
|
|
3592
3649
|
cursor: cell;
|
|
3593
3650
|
}
|
|
3594
3651
|
.gantt-pf-cell:not(.gantt-pf-cell-readonly):hover {
|
|
3595
|
-
box-shadow: inset
|
|
3652
|
+
box-shadow: inset 0 0 0 9999px rgba(15, 23, 42, 0.06);
|
|
3596
3653
|
}
|
|
3597
3654
|
.gantt-pf-cell-selected:not(.gantt-pf-cell-active):hover {
|
|
3598
|
-
box-shadow: inset 0 0 0 9999px rgba(37, 99, 235, 0.16)
|
|
3655
|
+
box-shadow: inset 0 0 0 9999px rgba(37, 99, 235, 0.16);
|
|
3599
3656
|
}
|
|
3600
3657
|
.gantt-pf-cell-selected.gantt-pf-cell-active:hover {
|
|
3601
|
-
box-shadow: inset 0 0 0 9999px rgba(37, 99, 235, 0.12)
|
|
3658
|
+
box-shadow: inset 0 0 0 9999px rgba(37, 99, 235, 0.12);
|
|
3602
3659
|
}
|
|
3603
3660
|
.gantt-pf-cell-selected.gantt-pf-cell-rangeAnchor:hover,
|
|
3604
3661
|
.gantt-pf-cell-selected.gantt-pf-cell-rangeAnchor.gantt-pf-cell-active:hover {
|
|
3605
|
-
box-shadow:
|
|
3662
|
+
box-shadow: none;
|
|
3606
3663
|
}
|
|
3607
3664
|
.gantt-pf-cell-active:not(.gantt-pf-cell-selected):hover {
|
|
3608
|
-
box-shadow:
|
|
3665
|
+
box-shadow: none;
|
|
3609
3666
|
}
|
|
3610
3667
|
.gantt-pf-cell-active:not(.gantt-pf-cell-selected):hover::after {
|
|
3611
3668
|
border-color: #1d4ed8;
|
|
@@ -3654,7 +3711,7 @@
|
|
|
3654
3711
|
cursor: crosshair;
|
|
3655
3712
|
}
|
|
3656
3713
|
.gantt-pf-cell-editing:hover {
|
|
3657
|
-
box-shadow:
|
|
3714
|
+
box-shadow: none;
|
|
3658
3715
|
}
|
|
3659
3716
|
.gantt-pf-cellValue {
|
|
3660
3717
|
overflow: hidden;
|