gantt-lib 0.0.6 → 0.0.7

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/styles.css CHANGED
@@ -21,8 +21,8 @@
21
21
  --gantt-day-line-width: 1px;
22
22
  --gantt-day-line-color: #f3f4f6;
23
23
  --gantt-progress-color: rgba(0, 0, 0, 0.2);
24
- --gantt-progress-completed: #fbbf24;
25
- --gantt-progress-accepted: #22c55e;
24
+ --gantt-progress-completed: #ffb800;
25
+ --gantt-progress-accepted: #17c964;
26
26
  --gantt-dependency-line-color: rgba(0, 0, 55, 0.8);
27
27
  --gantt-dependency-cycle-color: #ef4444;
28
28
  }
@@ -459,6 +459,23 @@
459
459
  .gantt-tr-taskBar.gantt-tr-dragging .gantt-tr-progressBar {
460
460
  transition: none !important;
461
461
  }
462
+ .gantt-tr-progressText {
463
+ color: var(--gantt-task-bar-text-color);
464
+ font-size: 0.875rem;
465
+ font-weight: 500;
466
+ white-space: nowrap;
467
+ margin-left: 4px;
468
+ position: relative;
469
+ z-index: 2;
470
+ }
471
+ .gantt-tr-externalProgress {
472
+ font-size: 0.85rem;
473
+ font-weight: 500;
474
+ color: #666666;
475
+ white-space: nowrap;
476
+ margin-right: 4px;
477
+ margin-left: 4px;
478
+ }
462
479
 
463
480
  /* src/components/TodayIndicator/TodayIndicator.css */
464
481
  .gantt-ti-indicator {
@@ -538,6 +555,13 @@
538
555
  .gantt-dependency-arrow-cycle polygon {
539
556
  fill: var(--gantt-dependency-cycle-color, #ef4444);
540
557
  }
558
+ .gantt-dependency-lag-label {
559
+ font-size: 10px;
560
+ font-weight: 500;
561
+ pointer-events: none;
562
+ user-select: none;
563
+ opacity: 0.85;
564
+ }
541
565
 
542
566
  /* src/components/GanttChart/GanttChart.css */
543
567
  .gantt-container {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gantt-lib",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Lightweight React Gantt chart component library",
5
5
  "license": "MIT",
6
6
  "repository": {