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