gantt-renderer 0.1.1 → 0.2.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.
@@ -20,7 +20,7 @@
20
20
  --gantt-row-height: 44px;
21
21
  --gantt-bar-height: 28px;
22
22
  --gantt-milestone-size: 20px;
23
- --gantt-bg: #ffffff;
23
+ --gantt-bg: #fff;
24
24
  --gantt-header-bg: #f8f9fa;
25
25
  --gantt-stripe: #fafbfc;
26
26
  --gantt-border: #e9ecef;
@@ -50,7 +50,7 @@
50
50
  /* Text */
51
51
  --gantt-text: #212529;
52
52
  --gantt-text-secondary: #868e96;
53
- --gantt-bar-label-color: #ffffff;
53
+ --gantt-bar-label-color: #fff;
54
54
  }
55
55
 
56
56
  /* ─── Root container framing ─────────────────────────────────────────────── */
@@ -204,6 +204,31 @@
204
204
  background: var(--gantt-day-custom);
205
205
  }
206
206
 
207
+ /* ─── Timeline header special-day indicators ────────────────────────────── */
208
+ .gantt-header-cell--weekend::after,
209
+ .gantt-header-cell--holiday::after,
210
+ .gantt-header-cell--custom::after {
211
+ content: "";
212
+ position: absolute;
213
+ top: 4px;
214
+ right: 4px;
215
+ width: 5px;
216
+ height: 5px;
217
+ border-radius: 50%;
218
+ }
219
+
220
+ .gantt-header-cell--weekend::after {
221
+ background: var(--gantt-day-weekend);
222
+ }
223
+
224
+ .gantt-header-cell--holiday::after {
225
+ background: var(--gantt-day-holiday);
226
+ }
227
+
228
+ .gantt-header-cell--custom::after {
229
+ background: var(--gantt-day-custom);
230
+ }
231
+
207
232
  /* ─── Splitter handle ───────────────────────────────────────────────────── */
208
233
  .gantt-splitter-handle {
209
234
  transition: background 0.15s ease;
package/package.json CHANGED
@@ -1,6 +1,24 @@
1
1
  {
2
2
  "name": "gantt-renderer",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
+ "description": "A TypeScript Gantt chart renderer for precalculated project plans",
5
+ "keywords": [
6
+ "chart",
7
+ "gantt",
8
+ "project",
9
+ "renderer",
10
+ "timeline"
11
+ ],
12
+ "homepage": "https://doberkofler.github.io/gantt-renderer/",
13
+ "bugs": {
14
+ "url": "https://github.com/doberkofler/gantt-renderer/issues"
15
+ },
16
+ "license": "MIT",
17
+ "author": "doberkofler",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/doberkofler/gantt-renderer.git"
21
+ },
4
22
  "files": [
5
23
  "dist",
6
24
  "CHANGELOG.md"