gantt-lib 0.86.0 → 0.87.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/styles.css CHANGED
@@ -302,7 +302,7 @@
302
302
  sans-serif;
303
303
  --gantt-grid-line-color: #e0e0e0;
304
304
  --gantt-cell-background: #ffffff;
305
- --gantt-row-hover-background: #f6f6f7;
305
+ --gantt-row-hover-background: rgba(59, 130, 246, 0.04);
306
306
  --gantt-row-height: 30px;
307
307
  --gantt-header-height: 40px;
308
308
  --gantt-day-width: 30px;
@@ -432,10 +432,12 @@
432
432
  .gantt-tr-row.gantt-tr-row-filter-match {
433
433
  background-color: rgba(250, 204, 21, 0.24);
434
434
  }
435
- .gantt-tr-row:hover {
436
- background-color: rgba(59, 130, 246, 0.04);
435
+ .gantt-tr-row:hover,
436
+ .gantt-tr-row-hovered {
437
+ background-color: var(--gantt-row-hover-background, rgba(59, 130, 246, 0.04));
437
438
  }
438
- .gantt-tr-row.gantt-tr-row-filter-match:hover {
439
+ .gantt-tr-row.gantt-tr-row-filter-match:hover,
440
+ .gantt-tr-row.gantt-tr-row-filter-match.gantt-tr-row-hovered {
439
441
  background-color: rgba(250, 204, 21, 0.3);
440
442
  }
441
443
  .gantt-tr-taskBar {
@@ -858,11 +860,13 @@
858
860
  --gantt-tl-name-actions-bg: #fef3c7;
859
861
  background-color: rgba(250, 204, 21, 0.24);
860
862
  }
861
- .gantt-tl-row:hover {
862
- --gantt-tl-name-actions-bg: #f5f5f6;
863
- box-shadow: inset 0 0 0 9999px rgba(17, 24, 39, 0.04);
863
+ .gantt-tl-row:hover,
864
+ .gantt-tl-row-hovered {
865
+ --gantt-tl-name-actions-bg: var(--gantt-row-hover-background, rgba(59, 130, 246, 0.04));
866
+ box-shadow: inset 0 0 0 9999px var(--gantt-row-hover-background, rgba(59, 130, 246, 0.04));
864
867
  }
865
- .gantt-tl-row-filter-match:hover {
868
+ .gantt-tl-row-filter-match:hover,
869
+ .gantt-tl-row-filter-match.gantt-tl-row-hovered {
866
870
  --gantt-tl-name-actions-bg: #fde68a;
867
871
  box-shadow: inset 0 0 0 9999px rgba(250, 204, 21, 0.3);
868
872
  }
@@ -935,6 +939,20 @@
935
939
  .gantt-tl-cell:last-child {
936
940
  border-right: none;
937
941
  }
942
+ .gantt-tl-cell-selection {
943
+ width: 36px;
944
+ min-width: 36px;
945
+ flex-shrink: 0;
946
+ justify-content: center;
947
+ padding: 0;
948
+ }
949
+ .gantt-tl-selection-checkbox {
950
+ width: 16px;
951
+ height: 16px;
952
+ margin: 0;
953
+ accent-color: #2563eb;
954
+ cursor: pointer;
955
+ }
938
956
  .gantt-tl-cell-number {
939
957
  width: 32px;
940
958
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gantt-lib",
3
- "version": "0.86.0",
3
+ "version": "0.87.0",
4
4
  "description": "Lightweight React Gantt chart component library",
5
5
  "license": "MIT",
6
6
  "repository": {