gantt-lib 0.115.2 → 0.117.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/core/scheduling/index.d.mts +1 -1
- package/dist/core/scheduling/index.d.ts +1 -1
- package/dist/{index-D1s_8MxS.d.mts → index-DpZmO95L.d.mts} +7 -0
- package/dist/{index-D1s_8MxS.d.ts → index-DpZmO95L.d.ts} +7 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +23 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -3
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +87 -11
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -1007,10 +1007,12 @@
|
|
|
1007
1007
|
padding-left: 0;
|
|
1008
1008
|
}
|
|
1009
1009
|
.gantt-tl-row-parent {
|
|
1010
|
-
background-color: var(--gantt-plan-fact-parent-row-background, rgba(148, 163, 184, 0.22));
|
|
1011
1010
|
font-weight: 600;
|
|
1012
1011
|
--gantt-tl-name-actions-bg: inherit;
|
|
1013
1012
|
}
|
|
1013
|
+
.gantt-tl-row-parent-filled {
|
|
1014
|
+
background-color: var(--gantt-plan-fact-parent-row-background, rgba(148, 163, 184, 0.22));
|
|
1015
|
+
}
|
|
1014
1016
|
.gantt-tl-row-closed {
|
|
1015
1017
|
color: var(--gantt-closed-row-color, #6b7280);
|
|
1016
1018
|
}
|
|
@@ -1259,6 +1261,33 @@
|
|
|
1259
1261
|
overflow: visible;
|
|
1260
1262
|
font-variant-numeric: tabular-nums;
|
|
1261
1263
|
}
|
|
1264
|
+
.gantt-tl-duration-display,
|
|
1265
|
+
.gantt-tl-cell-date .gantt-datepicker-trigger {
|
|
1266
|
+
display: inline-flex;
|
|
1267
|
+
align-items: center;
|
|
1268
|
+
justify-content: center;
|
|
1269
|
+
min-height: 22px;
|
|
1270
|
+
padding: 2px 6px;
|
|
1271
|
+
border-radius: 6px;
|
|
1272
|
+
transition: background-color 0.15s ease;
|
|
1273
|
+
}
|
|
1274
|
+
.gantt-tl-duration-display {
|
|
1275
|
+
min-width: 28px;
|
|
1276
|
+
}
|
|
1277
|
+
.gantt-tl-cell-date .gantt-datepicker-trigger {
|
|
1278
|
+
width: auto;
|
|
1279
|
+
height: auto;
|
|
1280
|
+
min-width: 28px;
|
|
1281
|
+
min-height: 22px;
|
|
1282
|
+
max-width: calc(100% - 8px);
|
|
1283
|
+
align-self: center;
|
|
1284
|
+
}
|
|
1285
|
+
.gantt-tl-cell-duration:hover .gantt-tl-duration-display,
|
|
1286
|
+
.gantt-tl-cell-duration:focus-within .gantt-tl-duration-display,
|
|
1287
|
+
.gantt-tl-cell-date:hover .gantt-datepicker-trigger,
|
|
1288
|
+
.gantt-tl-cell-date:focus-within .gantt-datepicker-trigger {
|
|
1289
|
+
background: rgba(107, 114, 128, 0.12);
|
|
1290
|
+
}
|
|
1262
1291
|
.gantt-tl-cell-progress {
|
|
1263
1292
|
width: 56px;
|
|
1264
1293
|
flex-shrink: 0;
|
|
@@ -1269,6 +1298,20 @@
|
|
|
1269
1298
|
overflow: visible;
|
|
1270
1299
|
font-variant-numeric: tabular-nums;
|
|
1271
1300
|
}
|
|
1301
|
+
.gantt-tl-progress-display {
|
|
1302
|
+
display: inline-flex;
|
|
1303
|
+
align-items: center;
|
|
1304
|
+
justify-content: center;
|
|
1305
|
+
min-width: 28px;
|
|
1306
|
+
min-height: 22px;
|
|
1307
|
+
padding: 2px 6px;
|
|
1308
|
+
border-radius: 6px;
|
|
1309
|
+
transition: background-color 0.15s ease;
|
|
1310
|
+
}
|
|
1311
|
+
.gantt-tl-cell-progress:hover .gantt-tl-progress-display,
|
|
1312
|
+
.gantt-tl-cell-progress:focus-within .gantt-tl-progress-display {
|
|
1313
|
+
background: rgba(107, 114, 128, 0.12);
|
|
1314
|
+
}
|
|
1272
1315
|
.gantt-tl-number-editor {
|
|
1273
1316
|
position: absolute;
|
|
1274
1317
|
inset: 0;
|
|
@@ -3127,14 +3170,16 @@
|
|
|
3127
3170
|
cursor: grab;
|
|
3128
3171
|
user-select: none;
|
|
3129
3172
|
}
|
|
3130
|
-
.gantt-resourceTimeline-
|
|
3131
|
-
content: attr(data-resource-item-tooltip);
|
|
3173
|
+
.gantt-resourceTimeline-itemTooltip {
|
|
3132
3174
|
position: absolute;
|
|
3133
|
-
left:
|
|
3175
|
+
left: 6px;
|
|
3134
3176
|
top: -8px;
|
|
3135
3177
|
z-index: 20;
|
|
3178
|
+
display: flex;
|
|
3136
3179
|
max-width: 360px;
|
|
3137
|
-
|
|
3180
|
+
flex-direction: column;
|
|
3181
|
+
gap: 3px;
|
|
3182
|
+
padding: 7px 9px;
|
|
3138
3183
|
border-radius: 6px;
|
|
3139
3184
|
background: rgba(15, 23, 42, 0.96);
|
|
3140
3185
|
color: #ffffff;
|
|
@@ -3144,19 +3189,50 @@
|
|
|
3144
3189
|
opacity: 0;
|
|
3145
3190
|
pointer-events: none;
|
|
3146
3191
|
text-align: left;
|
|
3147
|
-
transform: translate(
|
|
3192
|
+
transform: translate(0, calc(-100% + 2px));
|
|
3148
3193
|
transition: opacity 80ms ease-out, transform 80ms ease-out;
|
|
3149
3194
|
visibility: hidden;
|
|
3150
3195
|
white-space: normal;
|
|
3151
3196
|
width: max-content;
|
|
3152
3197
|
word-break: break-word;
|
|
3153
3198
|
}
|
|
3154
|
-
.gantt-resourceTimeline-item:hover
|
|
3155
|
-
.gantt-resourceTimeline-item:focus-visible
|
|
3199
|
+
.gantt-resourceTimeline-item:hover .gantt-resourceTimeline-itemTooltip,
|
|
3200
|
+
.gantt-resourceTimeline-item:focus-visible .gantt-resourceTimeline-itemTooltip {
|
|
3156
3201
|
opacity: 1;
|
|
3157
|
-
transform: translate(
|
|
3202
|
+
transform: translate(0, -100%);
|
|
3158
3203
|
visibility: visible;
|
|
3159
3204
|
}
|
|
3205
|
+
.gantt-resourceTimeline-itemTooltipLine {
|
|
3206
|
+
display: flex;
|
|
3207
|
+
min-width: 0;
|
|
3208
|
+
align-items: center;
|
|
3209
|
+
}
|
|
3210
|
+
.gantt-resourceTimeline-itemTooltipLinePrimary {
|
|
3211
|
+
font-weight: 700;
|
|
3212
|
+
}
|
|
3213
|
+
.gantt-resourceTimeline-itemTooltipLineSecondary {
|
|
3214
|
+
gap: 5px;
|
|
3215
|
+
color: rgba(255, 255, 255, 0.78);
|
|
3216
|
+
font-size: 11px;
|
|
3217
|
+
font-weight: 500;
|
|
3218
|
+
}
|
|
3219
|
+
.gantt-resourceTimeline-itemTooltipIcon {
|
|
3220
|
+
display: inline-flex;
|
|
3221
|
+
width: 13px;
|
|
3222
|
+
height: 13px;
|
|
3223
|
+
flex: 0 0 auto;
|
|
3224
|
+
align-items: center;
|
|
3225
|
+
justify-content: center;
|
|
3226
|
+
}
|
|
3227
|
+
.gantt-resourceTimeline-itemTooltipIcon svg {
|
|
3228
|
+
width: 13px;
|
|
3229
|
+
height: 13px;
|
|
3230
|
+
}
|
|
3231
|
+
.gantt-resourceTimeline-itemTooltipText {
|
|
3232
|
+
min-width: 0;
|
|
3233
|
+
overflow: hidden;
|
|
3234
|
+
text-overflow: ellipsis;
|
|
3235
|
+
}
|
|
3160
3236
|
.gantt-resourceTimeline-item:hover,
|
|
3161
3237
|
.gantt-resourceTimeline-item:focus-visible {
|
|
3162
3238
|
z-index: 30;
|
|
@@ -3611,12 +3687,12 @@
|
|
|
3611
3687
|
background: var(--gantt-plan-fact-plan-fill, rgb(59 130 246 / 30%));
|
|
3612
3688
|
}
|
|
3613
3689
|
.gantt-pf-cell-fact.gantt-pf-cell-hasValue {
|
|
3614
|
-
background: var(--gantt-plan-fact-fact-fill,
|
|
3690
|
+
background: var(--gantt-plan-fact-fact-fill, rgb(33 196 33 / 25%));
|
|
3615
3691
|
color: #15803d;
|
|
3616
3692
|
}
|
|
3617
3693
|
.gantt-pf-cell-fact.gantt-pf-cell-factWarning,
|
|
3618
3694
|
.gantt-pf-cell-factWarning {
|
|
3619
|
-
background:
|
|
3695
|
+
background: rgb(244 113 143 / 30%);
|
|
3620
3696
|
color: #dc2626;
|
|
3621
3697
|
}
|
|
3622
3698
|
.gantt-pf-cell-active {
|