@umriss-ui/charts 0.3.0-rc.1 → 0.3.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 +29 -5
- package/README.md +1 -5
- package/dist/charts.js +279 -261
- package/dist/index.d.ts +29 -0
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -21,11 +21,35 @@ specs; the document itself came into being only with
|
|
|
21
21
|
`library-audit` 08. They are grouped by unit of delivery, not by commit, and were
|
|
22
22
|
never published.
|
|
23
23
|
|
|
24
|
-
**Release candidates.** `0.3.0-rc.0`
|
|
25
|
-
`0.3.0
|
|
26
|
-
`pnpm add @umriss-ui/charts
|
|
27
|
-
|
|
28
|
-
interface
|
|
24
|
+
**Release candidates.** `0.3.0-rc.0` and `0.3.0-rc.1` were the two versions on
|
|
25
|
+
the registry, under the tag `next`. With `0.3.0` that is over: the tag is gone
|
|
26
|
+
and `pnpm add @umriss-ui/charts` is the whole install line. A release candidate
|
|
27
|
+
promised nothing a `0.x` does not already fail to promise; it said the
|
|
28
|
+
interface was still expected to move before `0.3.0`.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## 0.3.0 – Arithmetic with a second consumer (Sep. 2026)
|
|
33
|
+
|
|
34
|
+
From `.scratch/schedule/spec.md` (ADR-0022): `@umriss-ui/schedule` takes its
|
|
35
|
+
time arithmetic from here, so what it uses is public now.
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
|
|
39
|
+
- **`resolveColours(root, colours)`** — any CSS colours, tokens and
|
|
40
|
+
`light-dark()` included, resolved to values a canvas can draw in the scheme
|
|
41
|
+
that applies at `root`. **`subscribeTheme(notify)`** tells a canvas when to
|
|
42
|
+
resolve again.
|
|
43
|
+
- **`toOperatingTimeClamped`** — wall clock to operating time without `NaN`: a
|
|
44
|
+
time in removed time lands on its seam.
|
|
45
|
+
|
|
46
|
+
### No longer a release candidate
|
|
47
|
+
|
|
48
|
+
The tag `next` is gone: `0.3.0` publishes to `latest`, and
|
|
49
|
+
`pnpm add @umriss-ui/charts` is the whole install line. Nothing in the package
|
|
50
|
+
changed for that — the candidates 0.3.0-rc.0 and 0.3.0-rc.1 are what this is,
|
|
51
|
+
with the arithmetic above added for `@umriss-ui/schedule`, which now stands on
|
|
52
|
+
it in a released version of its own.
|
|
29
53
|
|
|
30
54
|
---
|
|
31
55
|
|
package/README.md
CHANGED
|
@@ -13,13 +13,9 @@ lint rule over `packages/charts/src/**` holds that fast.
|
|
|
13
13
|
## Install
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
pnpm add @umriss-ui/charts
|
|
16
|
+
pnpm add @umriss-ui/charts
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
The package is a **release candidate**, published under the tag `next`. As long
|
|
20
|
-
as no released version exists, npm points `latest` at the candidate too — a plain
|
|
21
|
-
`pnpm add @umriss-ui/charts` installs it as well.
|
|
22
|
-
|
|
23
19
|
React 18 or 19 as a peer, and nothing else. `@umriss-ui/core` is **not** a
|
|
24
20
|
dependency and not a peer dependency — if an application uses both packages, it
|
|
25
21
|
does so because it chose to, not because this one required it (ADR-0020).
|