@umriss-ui/core 0.33.0 → 0.34.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
@@ -1,12 +1,7 @@
1
1
  # Changes to `@umriss-ui/core`
2
2
 
3
3
  This document describes what changes for **callers** of the package: exports,
4
- props, behaviour. The journal of the repository (`docs/journal.md`) describes
5
- something else — what was worked on here, including
6
- rebuilds, tests and decisions that are invisible from outside. The two therefore
7
- do not run in parallel: an entry there can be missing here because it changed
8
- nothing about the contract; and one sentence here can summarise three entries
9
- there.
4
+ props, behaviour.
10
5
 
11
6
  **The numbers.** The middle digit rises when something is added; the last one
12
7
  when something is repaired. As long as the first digit is `0`, no number
@@ -15,6 +10,8 @@ well: **whatever changes existing behaviour stands under a heading "Changed" of
15
10
  its own**, no matter which digit rose. Whoever reads only one section before an
16
11
  upgrade reads that one.
17
12
 
13
+ From 0.34.0 all five packages share one number: they are released together, and a package without a change of its own still gets a heading for it.
14
+
18
15
  **Names read forwards.** Where an entry below describes a name that has since
19
16
  been renamed, it is named here as it is called today; string literals, and
20
17
  names of things that were removed rather than renamed, stand as they stood.
@@ -29,6 +26,31 @@ package stood at `0.1.0` the whole time, because it had exactly one caller and t
29
26
  caller lay in the same repository — and are grouped by unit of delivery, not by
30
27
  commit.
31
28
 
29
+ ## 0.34.0 – The Dock and the alarm list's words leave (Oct. 2026)
30
+
31
+ From this version all five packages carry one number and are released
32
+ together.
33
+
34
+ ### Changed
35
+
36
+ - **`--u-color-accent-active` and the wording `asOfUnknown` are removed.** No stylesheet read the token and no component read the wording; setting either did nothing. A theme or a wording that still carries them loses nothing (the type checker reports the wording key as unknown).
37
+
38
+ - **The alarm list's wording keys are removed**: the alarm, priority, lifecycle, snooze, flood, chatter, availability and alarm-column keys. A wording that still carries them is ignored at runtime and reported by the type checker as an unknown key. `verdictAlarm` and the limit model are unchanged.
39
+
40
+ - **`Dock` is removed**, with `DockProps`, `DockTool` and `DockPlace`, the eight `--u-dock-*` tokens and the wording keys `dockTools`, `dockGrip`, `dockPlace`, `dockPlaced` and `dockNoPlace` (a wording that still carries them is ignored at runtime and reported by the type checker as an unknown key). Nothing in the workspace used it. A caller that needs a strip of tools over a surface builds it from `Button`, `Tooltip` and the glyphs; `GripGlyph`, `GridGlyph` and `MeasureGlyph` stay. ADR-0013 and ADR-0014 are marked withdrawn.
41
+
42
+ - **The tree's transition functions are no longer exported from the entry**: `move`, `toggleCheck`, `expand`, `collapse`, `keysBetween`, `toggleAll`, `setChecked`, `setActive`, `setAnchor`, `typeaheadTarget`, `pathTo` and `revealPath`. `treeModel`, `allBranches` and `duplicateKey` stay, and `useTree` is what a caller drives a tree with. The same holds for `remainingChars` and `clampedHeight` of `Textarea`. No type changed.
43
+
44
+ ### Fixed
45
+
46
+ - **An announcement that waits past its page no longer throws.** The library's
47
+ voice speaks after a rest of 150 ms; where the document was gone by then - a
48
+ test's environment torn down right after a combobox, a multi-select, the
49
+ command palette or a copy spoke - the timer ran into `document is not
50
+ defined` and a test run ended with an unhandled error. It says nothing now.
51
+
52
+ ---
53
+
32
54
  ## 0.33.0 – The library's one voice, and React 18 proved (Oct. 2026)
33
55
 
34
56
  ### Added
package/README.md CHANGED
@@ -115,10 +115,10 @@ import { GERMAN_FORMATS, GERMAN_WORDING } from "@umriss-ui/core/wording/de";
115
115
 
116
116
  ## Components
117
117
 
118
- The table and the alarm list are not part of this package. They live in
118
+ The table is not part of this package. It lives in
119
119
  **`@umriss-ui/table`**:
120
120
  `useTable` with columns as elements, `Toolbar`, `Search`, `ColumnMenu`, `Export`,
121
- `Pagination`, `VerdictColumn`, `AlarmList` and `alarmModel`. That package takes
121
+ `Pagination` and `VerdictColumn`. That package takes
122
122
  `@umriss-ui/core` as a peer and reads its provider, formats and wording.
123
123
 
124
124
  | Component | Purpose |
@@ -157,7 +157,6 @@ The table and the alarm list are not part of this package. They live in
157
157
  | `ControlSizeProvider` | one size for the controls in a place - a toolbar, a dense form: every control with `size` inside takes it unless it says its own. A popover, dialog or tooltip opened from there starts without it |
158
158
  | `UmrissProvider` | one place to set things: density, portal target, toasts, language. **Optional** – without it everything behaves as it does unconfigured. It holds no theme (light and dark are the application's `color-scheme`) and writes nothing onto the document |
159
159
  | `LanguageProvider` / `useFormats` / `useWording` | formatting and wording as an overridable seam; the wording is a directory of entries, not a translation call. English is the default, German ships as `@umriss-ui/core/wording/de` |
160
- | `Dock` | a tool strip over *one* surface: four named resting places at the edges of the host, moved by the grip (dragging snaps, the four arrow keys are the four places), orientation follows the edge; translucent material like the palette; a place without room refuses visibly; `mode` marks at most one tool and belongs to the caller |
161
160
  | `DateRangePicker` | a period in two clicks across two chained months: backwards is allowed (the ends swap silently), a preview band on hovering, quick choices from the wording; on a phone the months stand one below the other |
162
161
  | `DateTimeRangePicker` | a period with a time at both ends: "all day" as the default, time fields that advance, Enter accepts; the clock change is handled per end |
163
162
  | `Popover` | the one closable, anchored surface underneath Menu, Combobox and the pickers: portal (nearest `<dialog>`, then the portal target, then the body), position with flipping above and below and across its trigger's edges, a panel that fits nowhere cut to the larger side instead of laid over its trigger, clamping as the last resort, never larger than the window (it scrolls in itself beyond that), outside click, Escape with focus returned |
@@ -226,15 +225,12 @@ The table and the alarm list are not part of this package. They live in
226
225
 
227
226
  ## Roadmap
228
227
 
229
- The core scope is complete, and so are the command palette, `Dock`, the
228
+ The core scope is complete, and so are the command palette, the
230
229
  danger text tone, the pass-through of rules 1 and 2 above, the six basic
231
230
  components and the layout extras, forced colours, the listbox
232
- announcements, and the fields' widths and sizes (ADR-0041). What is still open is one check a person makes: the listbox
233
- announcements heard through VoiceOver (`.scratch/listbox-announcements/`,
234
- ticket 02) - put aside by the maintainer on 11 Oct 2026, not closed.
231
+ announcements, and the fields' widths and sizes (ADR-0041).
235
232
 
236
- Collapsing the dock onto its grip stays out of scope, because it doubles the
237
- state space. What core will not build at all stands in
233
+ What core will not build at all stands in
238
234
  [ADR-0032](../../docs/adr/0032-what-umriss-is-not.md). Validation is the
239
235
  caller's, and a dashboard a user arranges is never built; umriss shows the
240
236
  reader's time ([ADR-0060](../../docs/adr/0060-validation-and-a-layout-editor-are-never-time-zones-not-yet.md)).