gantt-renderer 0.12.9 → 0.12.11

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