@umriss-ui/core 0.32.0 → 0.33.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,30 @@ package stood at `0.1.0` the whole time, because it had exactly one caller and t
29
29
  caller lay in the same repository — and are grouped by unit of delivery, not by
30
30
  commit.
31
31
 
32
+ ## 0.33.0 – The library's one voice, and React 18 proved (Oct. 2026)
33
+
34
+ ### Added
35
+
36
+ - **`announce(text, at?)`**: the library's one voice - the polite live region the combobox, the multi-select and the command palette speak through - for another package or an application that has something to say without a visible change. A later call within 150 ms replaces an earlier one; the same words again are heard again; `at` is the element that speaks, so that inside a modal `<dialog>` it is the dialog's own region.
37
+
38
+ - **The unit tests run against React 18.3.1 and 19 in CI**, and the fields' widths are rendered to a string on a server in a test (`fieldWidth.test.tsx`).
39
+
40
+ - **`availabilitySnoozed(until, by, reason?)`**: a third, optional argument; the English and German sentences append `: ${reason}` for a non-empty reason ("Snoozed until 14:00 by M. Weber: valve being replaced" / "Zurückgestellt bis 14:00 von M. Weber: Ventil wird getauscht"). A wording of two parameters still fits the type and keeps working, with no reason in its sentence.
41
+
42
+ - **`copiedRows(count, formatted)`, `copiedCell` and `copyFailed`**: what the table says to a screen reader after Ctrl/Cmd+C ("3 rows copied", "Cell copied", "Could not copy"), in English and German. A wording that leaves them out fails its type, as with any new key.
43
+
44
+ ### Changed
45
+
46
+ - **Every entry begins with `"use client";`.** The built files `dist/core.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.
47
+
48
+ - **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`.
49
+
50
+ ### Fixed
51
+
52
+ - **`inert` works on React 18.** The folded panel of `Accordion` and `Card`, a `Popover` leaving and a `Splitter` pane folded to nothing wrote no `inert` attribute under 18, which drops a boolean on an attribute it does not know, so their content stayed in the tab order. The attribute is now written in the form each major reads.
53
+
54
+ ---
55
+
32
56
  ## 0.32.0 – Words for a snooze's reason and a plan's milestones (Oct. 2026)
33
57
 
34
58
  ### Added
package/README.md CHANGED
@@ -30,7 +30,13 @@ In an application:
30
30
  import { Button, Card } from "@umriss-ui/core";
31
31
  ```
32
32
 
33
- Nothing else is required.
33
+ Nothing else is required. React 18 or 19 as a peer; the unit tests run against
34
+ 18.3 and 19 in CI.
35
+
36
+ Every entry, `./wording/de` included, begins with `"use client"`, the directive a framework
37
+ with Server Components reads to treat a module as client code. No test runs
38
+ inside such a framework: the package is rendered to a string in a test,
39
+ and the fields' widths a server writes into the markup are checked there.
34
40
 
35
41
  ## Styles
36
42
 
@@ -225,8 +231,10 @@ danger text tone, the pass-through of rules 1 and 2 above, the six basic
225
231
  components and the layout extras, forced colours, the listbox
226
232
  announcements, and the fields' widths and sizes (ADR-0041). What is still open is one check a person makes: the listbox
227
233
  announcements heard through VoiceOver (`.scratch/listbox-announcements/`,
228
- ticket 02).
234
+ ticket 02) - put aside by the maintainer on 11 Oct 2026, not closed.
229
235
 
230
236
  Collapsing the dock onto its grip stays out of scope, because it doubles the
231
237
  state space. What core will not build at all stands in
232
- [ADR-0032](../../docs/adr/0032-what-umriss-is-not.md).
238
+ [ADR-0032](../../docs/adr/0032-what-umriss-is-not.md). Validation is the
239
+ caller's, and a dashboard a user arranges is never built; umriss shows the
240
+ reader's time ([ADR-0060](../../docs/adr/0060-validation-and-a-layout-editor-are-never-time-zones-not-yet.md)).