@signal9/era-ui 34.12.0 → 34.12.1

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,9 @@
1
+ ## [34.12.1](https://github.com/sig-nine/era-ui/compare/v34.12.0...v34.12.1) (2026-08-31)
2
+
3
+ ### Bug Fixes
4
+
5
+ * **timeline:** fill zero-duration activity rows ([9e1f6d9](https://github.com/sig-nine/era-ui/commit/9e1f6d96630918bbc457f34529fbd0d3ef5f9877))
6
+
1
7
  ## [34.12.0](https://github.com/sig-nine/era-ui/compare/v34.11.3...v34.12.0) (2026-08-31)
2
8
 
3
9
  ### Features
@@ -84,8 +84,11 @@ export declare class TimelineData {
84
84
  * steps stay legible and the survivors keep their true ratios, with no floor
85
85
  * stolen from the pool and no chance of the row overflowing.
86
86
  *
87
- * A pending step returns 0 and collapses to its min-width, which is what you
88
- * want: it has taken no time, so it has earned no width.
87
+ * Once any duration exists, a pending step returns 0 and collapses to its
88
+ * min-width: it has taken no time, so it has earned no proportional width.
89
+ * When the WHOLE row totals zero, however, there is no ratio to encode. Equal
90
+ * growth then consumes the available row instead of marooning one 0ms tool at
91
+ * the minimum floor. As soon as a duration appears, real weights take over.
89
92
  */
90
93
  grow(step: AnyTimelineStep): number;
91
94
  }
@@ -71,11 +71,14 @@ export class TimelineData {
71
71
  * steps stay legible and the survivors keep their true ratios, with no floor
72
72
  * stolen from the pool and no chance of the row overflowing.
73
73
  *
74
- * A pending step returns 0 and collapses to its min-width, which is what you
75
- * want: it has taken no time, so it has earned no width.
74
+ * Once any duration exists, a pending step returns 0 and collapses to its
75
+ * min-width: it has taken no time, so it has earned no proportional width.
76
+ * When the WHOLE row totals zero, however, there is no ratio to encode. Equal
77
+ * growth then consumes the available row instead of marooning one 0ms tool at
78
+ * the minimum floor. As soon as a duration appears, real weights take over.
76
79
  */
77
80
  grow(step) {
78
- return this.elapsed(step);
81
+ return this.total === 0 ? 1 : this.elapsed(step);
79
82
  }
80
83
  }
81
84
  const KEY = Symbol('era.timeline');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signal9/era-ui",
3
- "version": "34.12.0",
3
+ "version": "34.12.1",
4
4
  "packageManager": "npm@11.19.0",
5
5
  "engines": {
6
6
  "node": ">=24 <27",
@@ -1,5 +1,11 @@
1
1
  # Era UI v34 release history
2
2
 
3
+ ## [34.12.1](https://github.com/sig-nine/era-ui/compare/v34.12.0...v34.12.1) (2026-08-31)
4
+
5
+ ### Bug Fixes
6
+
7
+ * **timeline:** fill zero-duration activity rows ([9e1f6d9](https://github.com/sig-nine/era-ui/commit/9e1f6d96630918bbc457f34529fbd0d3ef5f9877))
8
+
3
9
  ## [34.12.0](https://github.com/sig-nine/era-ui/compare/v34.11.3...v34.12.0) (2026-08-31)
4
10
 
5
11
  ### Features
@@ -5,7 +5,7 @@ Load only the major versions crossed by an upgrade; use the package-root `CHANGE
5
5
 
6
6
  | Major | Range | Releases | History |
7
7
  | ---: | --- | ---: | --- |
8
- | 34 | 34.0.0–34.12.0 | 38 | [Read](./34.md) |
8
+ | 34 | 34.0.0–34.12.1 | 39 | [Read](./34.md) |
9
9
  | 33 | 33.0.0–33.0.1 | 2 | [Read](./33.md) |
10
10
  | 32 | 32.0.0–32.0.1 | 2 | [Read](./32.md) |
11
11
  | 31 | 31.0.0–31.0.0 | 1 | [Read](./31.md) |