@umriss-ui/charts 0.47.1 → 0.49.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 +15 -0
- package/README.md +16 -4
- package/dist/charts.js +1579 -1564
- package/dist/index.d.ts +12 -0
- package/docs/llms-full.md +32 -13
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,21 @@ interface was still expected to move before `0.3.0`.
|
|
|
30
30
|
|
|
31
31
|
---
|
|
32
32
|
|
|
33
|
+
## 0.49.0 – The second shakedown: lists that shrink, a flood that scrolls, five things the table lacked (Oct. 2026)
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
|
|
37
|
+
- **`ChartsWordingProvider`** takes a partial `ChartsWording` and sets it for every chart below it, one inside a dashboard widget included; a chart's own `wording` still wins. Charts still depend on nothing: an application with core and charts sets both providers (ADR-0031 amended).
|
|
38
|
+
|
|
39
|
+
### Fixed
|
|
40
|
+
|
|
41
|
+
- **A bar chart's value axis** ends one step above a largest bar that sits exactly on a tick, in the step the data gave, so the bar no longer touches the top; a normalised stack keeps its axis at 100 %.
|
|
42
|
+
- **README links resolve on npm**: links to files the package does not ship point to the repository on GitHub.
|
|
43
|
+
|
|
44
|
+
## 0.48.0 – Released in step with core (Oct. 2026)
|
|
45
|
+
|
|
46
|
+
No change of its own; the number moves with core's touch scale, now an opt-in (ADR-0079): a `md` control of core stays 32 px under a finger unless the application imports `@umriss-ui/core/touch-scale.css`.
|
|
47
|
+
|
|
33
48
|
## 0.47.1 – Released in step with the table (Oct. 2026)
|
|
34
49
|
|
|
35
50
|
No change of its own; the number moves with the table's repaired exports.
|
package/README.md
CHANGED
|
@@ -95,6 +95,18 @@ import { GERMAN_CHARTS_WORDING } from "@umriss-ui/charts/wording/de";
|
|
|
95
95
|
<Chart aria-label="Verlauf" wording={GERMAN_CHARTS_WORDING}>…</Chart>
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
+
To set it once, wrap the app (or a page) in `ChartsWordingProvider`; every chart below it, also one inside a
|
|
99
|
+
dashboard widget, speaks that wording. A chart's own `wording` is merged over the provider's, so one chart can
|
|
100
|
+
still differ. An app that uses `@umriss-ui/core` as well sets both providers - the charts depend on nothing:
|
|
101
|
+
|
|
102
|
+
```tsx
|
|
103
|
+
import { ChartsWordingProvider } from "@umriss-ui/charts";
|
|
104
|
+
|
|
105
|
+
<ChartsWordingProvider wording={GERMAN_CHARTS_WORDING}>
|
|
106
|
+
<App />
|
|
107
|
+
</ChartsWordingProvider>
|
|
108
|
+
```
|
|
109
|
+
|
|
98
110
|
## Styles
|
|
99
111
|
|
|
100
112
|
Nothing to import. `dist/charts.js` loads its own stylesheet; the axes, ticks,
|
|
@@ -151,7 +163,7 @@ loaded: Geist when the application has it, the system fonts otherwise.
|
|
|
151
163
|
* **Performance, measured rather than claimed**, up to three series of a
|
|
152
164
|
million points, with the hover at 60 FPS throughout. The figures, the
|
|
153
165
|
measuring run and its conditions stand once, in
|
|
154
|
-
[`docs/capabilities.md`](docs/capabilities.md) under "Performance" — they are
|
|
166
|
+
[`docs/capabilities.md`](https://github.com/romanhaendler/umriss-ui/blob/main/packages/charts/docs/capabilities.md) under "Performance" — they are
|
|
155
167
|
not repeated here, so that a new measurement has one place to go.
|
|
156
168
|
|
|
157
169
|
### The picture
|
|
@@ -181,7 +193,7 @@ const copy = async () =>
|
|
|
181
193
|
What it deliberately cannot do — animations, a log scale, pie, donut and
|
|
182
194
|
radar — stands in the same record, with the reason,
|
|
183
195
|
and across all five packages in
|
|
184
|
-
[ADR-0032](
|
|
196
|
+
[ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0032-what-umriss-is-not.md). Stacking is not among
|
|
185
197
|
them: bars and areas stack (`stack`, `normalize`). Horizontal bars are the
|
|
186
198
|
next kind to come (ADR-0059).
|
|
187
199
|
|
|
@@ -222,9 +234,9 @@ passes `useFormats().timeZone` to the chart; see core's README on formats.
|
|
|
222
234
|
the demo as one Markdown file, pinned to the installed version: every page
|
|
223
235
|
with its examples' source, its props tables and why it is built as it is,
|
|
224
236
|
and an index of every export with its comment and its declaration. The running documentation of a version is opened as [the repository README describes](https://github.com/romanhaendler/umriss-ui#see-it-running): check out the tag `<package>-v<version>`, then `pnpm start`.
|
|
225
|
-
* [`docs/capabilities.md`](docs/capabilities.md) — every capability with the
|
|
237
|
+
* [`docs/capabilities.md`](https://github.com/romanhaendler/umriss-ui/blob/main/packages/charts/docs/capabilities.md) — every capability with the
|
|
226
238
|
level at which it is proved.
|
|
227
|
-
* [`../../docs/design-language.md`](
|
|
239
|
+
* [`../../docs/design-language.md`](https://github.com/romanhaendler/umriss-ui/blob/main/docs/design-language.md) — the design
|
|
228
240
|
language all five packages share.
|
|
229
241
|
|
|
230
242
|
## Testing
|