gantt-renderer 0.12.8 → 0.12.10
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/CHANGELOG.md +11 -26
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/locales/all.mjs +1 -1
- package/dist/locales/all.mjs.map +1 -1
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [0.12.10](https://github.com/doberkofler/gantt-renderer/compare/v0.12.9...v0.12.10) (2026-06-28)
|
|
2
|
+
|
|
3
|
+
## [0.12.9](https://github.com/doberkofler/gantt-renderer/compare/v0.12.8...v0.12.9) (2026-06-27)
|
|
4
|
+
|
|
1
5
|
## [0.12.8](https://github.com/doberkofler/gantt-renderer/compare/v0.12.7...v0.12.8) (2026-06-25)
|
|
2
6
|
|
|
3
7
|
## [0.12.7](https://github.com/doberkofler/gantt-renderer/compare/v0.12.6...v0.12.7) (2026-06-24)
|
|
@@ -16,33 +20,28 @@
|
|
|
16
20
|
|
|
17
21
|
# [0.12.0](https://github.com/doberkofler/gantt-renderer/compare/v0.11.0...v0.12.0) (2026-05-18)
|
|
18
22
|
|
|
19
|
-
|
|
20
23
|
### Bug Fixes
|
|
21
24
|
|
|
22
25
|
* **gantt:** align timeline right edge to full scale bucket ([614cd66](https://github.com/doberkofler/gantt-renderer/commit/614cd66e93ae7c7a7c6a71034feafce19299aad7))
|
|
23
26
|
|
|
24
27
|
# [0.11.0](https://github.com/doberkofler/gantt-renderer/compare/v0.10.0...v0.11.0) (2026-05-13)
|
|
25
28
|
|
|
26
|
-
|
|
27
29
|
### Bug Fixes
|
|
28
30
|
|
|
29
31
|
* **gantt:** default fireCallback to false on select, collapseAll, and expandAll ([2572d4c](https://github.com/doberkofler/gantt-renderer/commit/2572d4c0c75b672b5f2d98d9a1dfde5fb30a421d))
|
|
30
32
|
|
|
31
|
-
|
|
32
33
|
### Features
|
|
33
34
|
|
|
34
35
|
* **gantt:** add getOpenStates instance method ([8c8b09c](https://github.com/doberkofler/gantt-renderer/commit/8c8b09cf323b45cc237e969ea190fb7cd7cb5428))
|
|
35
36
|
|
|
36
37
|
# [0.10.0](https://github.com/doberkofler/gantt-renderer/compare/v0.9.0...v0.10.0) (2026-05-13)
|
|
37
38
|
|
|
38
|
-
|
|
39
39
|
### Features
|
|
40
40
|
|
|
41
41
|
* **gantt:** add onExpandCollapse/onExpandCollapseAll callbacks and header +/− controls ([652d626](https://github.com/doberkofler/gantt-renderer/commit/652d6261b7d6cdfd74c07acebb54b84708a155b1))
|
|
42
42
|
|
|
43
43
|
# [0.9.0](https://github.com/doberkofler/gantt-renderer/compare/v0.8.0...v0.9.0) (2026-05-13)
|
|
44
44
|
|
|
45
|
-
|
|
46
45
|
### Features
|
|
47
46
|
|
|
48
47
|
* **locales:** modular locale system with 43 languages via subpath exports ([4866724](https://github.com/doberkofler/gantt-renderer/commit/48667247005c245fd55b9421012e03ec13d82ba1))
|
|
@@ -50,37 +49,32 @@
|
|
|
50
49
|
|
|
51
50
|
# [0.8.0](https://github.com/doberkofler/gantt-renderer/compare/v0.7.0...v0.8.0) (2026-05-12)
|
|
52
51
|
|
|
53
|
-
|
|
54
52
|
### Bug Fixes
|
|
55
53
|
|
|
56
54
|
* **gantt:** free actions column space when showAddTaskButton is disabled ([464c5cd](https://github.com/doberkofler/gantt-renderer/commit/464c5cda446828c7a0a8ca2b6e5f6a226f37aef4))
|
|
57
55
|
* **interaction:** remove duplicate dblclick handler causing double callback fire ([df6500a](https://github.com/doberkofler/gantt-renderer/commit/df6500a9be31818f8a79cc94a33326a81793e7e3))
|
|
58
56
|
|
|
59
|
-
|
|
60
57
|
### Features
|
|
61
58
|
|
|
62
59
|
* **api:** inline zod validation into update(), remove parseGanttInput ([6136fe9](https://github.com/doberkofler/gantt-renderer/commit/6136fe9c732d4d919bfee592633be68eab0e05ef))
|
|
63
60
|
* **demo:** add HTML tooltip with typed custom data to demo app ([401bebc](https://github.com/doberkofler/gantt-renderer/commit/401bebc190145cf30dd96e6e67e0c76867028114))
|
|
64
61
|
|
|
65
|
-
|
|
66
62
|
### BREAKING CHANGES
|
|
67
63
|
|
|
68
64
|
* **api:** Remove the public parseGanttInput() function and all
|
|
69
|
-
zod schema exports. Pass raw data directly to GanttChart.update() —
|
|
70
|
-
validation, defaults, and duplicate detection now happen internally.
|
|
71
|
-
GanttInputRaw uses readonly arrays so as const data is accepted
|
|
72
|
-
without casts.
|
|
65
|
+
zod schema exports. Pass raw data directly to GanttChart.update() —
|
|
66
|
+
validation, defaults, and duplicate detection now happen internally.
|
|
67
|
+
GanttInputRaw uses readonly arrays so as const data is accepted
|
|
68
|
+
without casts.
|
|
73
69
|
|
|
74
70
|
# [0.7.0](https://github.com/doberkofler/gantt-renderer/compare/v0.6.0...v0.7.0) (2026-05-11)
|
|
75
71
|
|
|
76
|
-
|
|
77
72
|
### Features
|
|
78
73
|
|
|
79
74
|
* **types:** make GanttInputRaw and parseGanttInput generic ([e665221](https://github.com/doberkofler/gantt-renderer/commit/e665221cd13ed58138770365079884cfcc5067fe))
|
|
80
75
|
|
|
81
76
|
# [0.6.0](https://github.com/doberkofler/gantt-renderer/compare/v0.5.0...v0.6.0) (2026-05-11)
|
|
82
77
|
|
|
83
|
-
|
|
84
78
|
### Features
|
|
85
79
|
|
|
86
80
|
* **gantt:** simplify default grid columns and add showAddTaskButton option ([800c3cd](https://github.com/doberkofler/gantt-renderer/commit/800c3cdb02d42dfc266823e1d56c0c6cd0eaf009))
|
|
@@ -89,14 +83,12 @@ without casts.
|
|
|
89
83
|
|
|
90
84
|
# [0.5.0](https://github.com/doberkofler/gantt-renderer/compare/v0.4.0...v0.5.0) (2026-05-09)
|
|
91
85
|
|
|
92
|
-
|
|
93
86
|
### Features
|
|
94
87
|
|
|
95
88
|
* add newEndDate to onTaskMove and newStartDate/newEndDate to onTaskResize callbacks ([e5fc91e](https://github.com/doberkofler/gantt-renderer/commit/e5fc91e6200c76b27db8c09aa1821765105317fa))
|
|
96
89
|
|
|
97
90
|
# [0.4.0](https://github.com/doberkofler/gantt-renderer/compare/v0.2.0...v0.4.0) (2026-05-09)
|
|
98
91
|
|
|
99
|
-
|
|
100
92
|
### Bug Fixes
|
|
101
93
|
|
|
102
94
|
* correct link routing geometry and dependency layer rendering ([d00de8a](https://github.com/doberkofler/gantt-renderer/commit/d00de8a8b51d69b7b50ec4c6bf0ce6dd3657e1a8))
|
|
@@ -105,7 +97,6 @@ without casts.
|
|
|
105
97
|
* prevent spurious onTaskMove callback on double-click in timeline ([14976d0](https://github.com/doberkofler/gantt-renderer/commit/14976d0ca8e17bf0b47b34a91e184513e316e811))
|
|
106
98
|
* **rendering:** offset multi-row link midpoint to avoid bar center slicing ([1fe09fa](https://github.com/doberkofler/gantt-renderer/commit/1fe09fa3d736cf948035c4f1619f398fa374464d))
|
|
107
99
|
|
|
108
|
-
|
|
109
100
|
### Features
|
|
110
101
|
|
|
111
102
|
* add custom tooltip support with onTooltipText callback ([eacc7a8](https://github.com/doberkofler/gantt-renderer/commit/eacc7a845d346f007b4c7ad5a9ed901f9d2e8d60))
|
|
@@ -114,26 +105,22 @@ without casts.
|
|
|
114
105
|
|
|
115
106
|
# [0.2.0](https://github.com/doberkofler/gantt-renderer/compare/v0.1.3...v0.2.0) (2026-05-07)
|
|
116
107
|
|
|
117
|
-
|
|
118
108
|
* refactor(domain)!: rename duration to durationHours (days → hours) ([eb7a554](https://github.com/doberkofler/gantt-renderer/commit/eb7a5549e38ac3e36bb6ee47b66433e67ea9d78f))
|
|
119
109
|
|
|
120
|
-
|
|
121
110
|
### Bug Fixes
|
|
122
111
|
|
|
123
112
|
* **api:** type parseGanttInput parameter as GanttInputRaw instead of unknown ([d12d96b](https://github.com/doberkofler/gantt-renderer/commit/d12d96b838b0670a668d313efc61bd02c55efa36))
|
|
124
113
|
* **rightPane:** offset absoluteLayer below timeline header to align bars with grid rows ([25f2785](https://github.com/doberkofler/gantt-renderer/commit/25f278561b4a789f0daf633436f6c95f4bae5ec9))
|
|
125
114
|
|
|
126
|
-
|
|
127
115
|
### BREAKING CHANGES
|
|
128
116
|
|
|
129
117
|
* Task duration field renamed from `duration` (days) to
|
|
130
|
-
`durationHours` (hours). Durations are now integer hours; `0` = milestone.
|
|
131
|
-
Added addHours/diffHours to dateMath. PixelMapper, layoutEngine, drag
|
|
132
|
-
interactions, demo data, and all test fixtures updated accordingly.
|
|
118
|
+
`durationHours` (hours). Durations are now integer hours; `0` = milestone.
|
|
119
|
+
Added addHours/diffHours to dateMath. PixelMapper, layoutEngine, drag
|
|
120
|
+
interactions, demo data, and all test fixtures updated accordingly.
|
|
133
121
|
|
|
134
122
|
## [0.1.3](https://github.com/doberkofler/gantt-renderer/compare/v0.1.2...v0.1.3) (2026-05-07)
|
|
135
123
|
|
|
136
|
-
|
|
137
124
|
### Features
|
|
138
125
|
|
|
139
126
|
* **demo:** add locale selector to demo control panel ([c45a353](https://github.com/doberkofler/gantt-renderer/commit/c45a353248fea61d9d498eca73ae9088dcb608c5))
|
|
@@ -141,14 +128,12 @@ interactions, demo data, and all test fixtures updated accordingly.
|
|
|
141
128
|
|
|
142
129
|
## [0.1.2](https://github.com/doberkofler/gantt-renderer/compare/v0.1.1...v0.1.2) (2026-05-07)
|
|
143
130
|
|
|
144
|
-
|
|
145
131
|
### Bug Fixes
|
|
146
132
|
|
|
147
133
|
* improve the documentation ([948cbf6](https://github.com/doberkofler/gantt-renderer/commit/948cbf62e25272116eea54ef03bf5d5ef522cfe8))
|
|
148
134
|
|
|
149
135
|
## [0.1.1](https://github.com/doberkofler/gantt-renderer/compare/v0.1.0...v0.1.1) (2026-05-07)
|
|
150
136
|
|
|
151
|
-
|
|
152
137
|
### Bug Fixes
|
|
153
138
|
|
|
154
139
|
* improve the documentation ([98895eb](https://github.com/doberkofler/gantt-renderer/commit/98895eb57259064fe8b2a6022ea03758e3319df0))
|
package/dist/index.mjs
CHANGED
|
@@ -2895,7 +2895,7 @@ function buildSpecialDayIndex(specialDays) {
|
|
|
2895
2895
|
return map;
|
|
2896
2896
|
}
|
|
2897
2897
|
function normalizeWeekendDays(days) {
|
|
2898
|
-
if (days === void 0) return new Set([0, 6]);
|
|
2898
|
+
if (days === void 0) return /* @__PURE__ */ new Set([0, 6]);
|
|
2899
2899
|
const normalized = /* @__PURE__ */ new Set();
|
|
2900
2900
|
for (const day of days) {
|
|
2901
2901
|
if (!Number.isInteger(day) || day < 0 || day > 6) throw new Error("weekendDays must contain integers in range 0..6");
|