@umriss-ui/charts 0.15.0 → 0.16.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.
package/CHANGELOG.md CHANGED
@@ -29,6 +29,27 @@ interface was still expected to move before `0.3.0`.
29
29
 
30
30
  ---
31
31
 
32
+ ## 0.16.0 – A stack's total in the data table (Oct. 2026)
33
+
34
+ ### Added
35
+
36
+ - **The unit tests run against React 18.3.1 and 19 in CI**, and the charts are rendered to a string in a test (`tests-unit/ssr.test.tsx`).
37
+
38
+ - **A stack's total in the data table.** The table of a stacked chart ends each
39
+ stack's members with a "Total" column (German "Summe"): the sum of the
40
+ stack's members at the row's x, written as the tooltip writes it - a
41
+ normalised stack's members show their shares and its total the sum of the
42
+ readings. A hidden member is out of the total. The charts demo shows it on
43
+ the Tooltip page, "Read a stack's total in the table".
44
+
45
+ ### Changed
46
+
47
+ - **Every entry begins with `"use client";`.** The built files `dist/charts.js` and `dist/wording/de.js` start with the directive, then the stylesheet import, so a bundler that splits server from client code takes each as client code. The directive is written to the built entries only; the sources are unchanged.
48
+
49
+ - **Every export is a client component.** A hook called in a Server Component now fails with React's message about a client reference, not one about `useState`.
50
+
51
+ ---
52
+
32
53
  ## 0.15.0 – A chosen hit, a histogram, and zoom keys without a tooltip (Oct. 2026)
33
54
 
34
55
  ### Changed
package/README.md CHANGED
@@ -16,10 +16,15 @@ lint rule over `packages/charts/src/**` holds that fast.
16
16
  pnpm add @umriss-ui/charts
17
17
  ```
18
18
 
19
- React 18 or 19 as a peer, and nothing else. `@umriss-ui/core` is **not** a
19
+ React 18 or 19 as a peer, and nothing else; the unit tests run against 18.3 and
20
+ 19 in CI. `@umriss-ui/core` is **not** a
20
21
  dependency and not a peer dependency — if an application uses both packages, it
21
22
  does so because it chose to, not because this one required it (ADR-0020).
22
23
 
24
+ Every entry, `./wording/de` included, begins with `"use client"`, the directive a framework
25
+ with Server Components reads to treat a module as client code. No test runs
26
+ inside such a framework: the charts are rendered to a string in a test.
27
+
23
28
  ## The smallest chart that runs
24
29
 
25
30
  ```tsx
@@ -130,11 +135,12 @@ loaded: Geist when the application has it, the system fonts otherwise.
130
135
  [`docs/capabilities.md`](docs/capabilities.md) under "Performance" — they are
131
136
  not repeated here, so that a new measurement has one place to go.
132
137
 
133
- What it deliberately cannot do — animations, a log or band scale,
134
- horizontal bars, pie and radar — stands in the same record, with the reason,
138
+ What it deliberately cannot do — animations, a log scale, pie, donut and
139
+ radar — stands in the same record, with the reason,
135
140
  and across all five packages in
136
141
  [ADR-0032](../../docs/adr/0032-what-umriss-is-not.md). Stacking is not among
137
- them: bars and areas stack (`stack`, `normalize`).
142
+ them: bars and areas stack (`stack`, `normalize`). Horizontal bars are the
143
+ next kind to come (ADR-0059).
138
144
 
139
145
  ## More
140
146