@umriss-ui/core 0.9.2 → 0.11.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,277 @@ 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.11.0 – Data-dense applications (Sep. 2026)
33
+
34
+ ### Added
35
+
36
+ - **Wording for the schedule's blocked time:** `scheduleBlockedTime` ("Blocked
37
+ time", German "Sperrzeit") on the ghost of a drag held back from it, and
38
+ `scheduleInBlockedTime(label)` ("In blocked time (Leave)", German "In der
39
+ Sperrzeit (Urlaub)") in the tooltip and the readout. `scheduleSummary` gets
40
+ the field `blocked`, the subtasks in blocked time, and says it only where it
41
+ is not zero. An application that implements the whole `Wording` type adds
42
+ the two keys.
43
+
44
+ ### Changed
45
+
46
+ - **The alarm wording keys follow `@umriss-ui/table`'s new names** (ADR-0035),
47
+ with no deprecated aliases. A partial wording passed to the provider names
48
+ the new keys; an application that implements the whole `Wording` type
49
+ renames them.
50
+
51
+ | Before | Now |
52
+ |---|---|
53
+ | `lifecycleStandingUnacknowledged`, `lifecycleStandingAcknowledged` | `lifecycleActiveUnacknowledged`, `lifecycleActiveAcknowledged` |
54
+ | `lifecycleClearedUnacknowledged`, `lifecycleClearedAcknowledged` | `lifecycleResolvedUnacknowledged`, `lifecycleResolvedAcknowledged` |
55
+ | `standingUnacknowledged(count)` | `activeUnacknowledged(count)` |
56
+ | `availabilityShelved(until, by)`, `availabilityShelvedShort` | `availabilitySnoozed(until, by)`, `availabilitySnoozedShort` |
57
+ | `availabilitySuppressedByDesign` | `availabilitySuppressed` |
58
+ | `availabilityOutOfService` | `availabilityDisabled` |
59
+ | `hiddenFromOperation(count)` | `hiddenAlarms(count)` |
60
+
61
+ The default texts change with them. English: "Active, unacknowledged",
62
+ "Resolved, acknowledged", "3 active alarms, unacknowledged", "Snoozed until
63
+ 12:00 by M. Keller", "Suppressed", "Disabled", "Hidden: 3". German
64
+ (`@umriss-ui/core/wording/de`): "Aktiv, unquittiert", "Behoben, quittiert",
65
+ "3 aktive Meldungen, unquittiert", "Unterdrückt", "Deaktiviert",
66
+ "Ausgeblendet: 3"; "Zurückgestellt" stays.
67
+
68
+ - **The schedule's wording keys follow its renamed terms** (ADR-0035): a
69
+ transport is a dependency, setup and teardown are lead-in and lead-out, and a
70
+ late transport is a violated dependency. The keys are renamed in one cut, with
71
+ no alias; an application that hands in a whole `Wording` object of its own
72
+ renames its entries. The English texts read "Lead-in", "Lead-out",
73
+ "Dependency" and "Violated dependency", the German ones "Vorlauf", "Nachlauf",
74
+ "Abhängigkeit" and "Abhängigkeit verletzt"; the key help follows a dependency
75
+ instead of a transport.
76
+
77
+ | Before | Now |
78
+ |---|---|
79
+ | `scheduleSetup` | `scheduleLeadIn` |
80
+ | `scheduleTeardown` | `scheduleLeadOut` |
81
+ | `scheduleTransport` | `scheduleDependency` |
82
+ | `scheduleLateTransport` | `scheduleViolatedDependency` |
83
+ | `scheduleLateBy` | `scheduleViolatedBy` |
84
+ | `scheduleSummary`'s field `late` | `violated` |
85
+
86
+ ---
87
+
88
+ ### Fixed
89
+
90
+ - **`useVirtual` adopts a row height half a pixel off the expected one.** It
91
+ ignored anything up to 0.5 px, so rows of 37.5 px under a `rowHeight` of 37
92
+ left the scrollbar of twenty thousand rows ten thousand pixels short.
93
+ - **A disabled `FileInput`'s zone says it is disabled** (`aria-disabled`): its
94
+ hint and key text belong to the inactive control, and a screen reader and a
95
+ contrast check now read them as such.
96
+
97
+ ## 0.10.0 – Everything the comparison asked for (Sep. 2026)
98
+
99
+ ### Added
100
+
101
+ - **`--u-shadow-sticky`**: the colour a sticking part's shadow starts from -
102
+ `@umriss-ui/table`'s pinned blocks and its stuck group header. Light as
103
+ before; dark is black at 50 % instead of the text colour at 9 %, which read
104
+ as a glow on the dark ground.
105
+ - **The Windows contrast mode** (`forced-colors: active`, forced-colors 01,
106
+ 02). Forced colours drop every box-shadow and repaint every ground, and the
107
+ library draws its rings, edges and depth as box-shadows: a focused control
108
+ lost its ring, a button became a word, a field a line of text, a menu text
109
+ floating over the page. Every ring now carries `outline: 2px solid
110
+ transparent` and every edge or depth `outline: 1px solid transparent` - both
111
+ invisible until forced colours paint them in a system colour - and the states
112
+ that were a ground alone take a system colour: the tab's underline, the
113
+ switch that is on, the progress bar's and the meter's fill, the checkbox's
114
+ mixed dash, the radio's dot and the divider's line; the list cursor of
115
+ `Combobox` and `CommandPalette`, the active `TreeView` node and the chosen
116
+ days, range and preset of the date pickers an outline in the selection
117
+ colour. Buttons, badges, tags and `MultiSelect`'s chips keep an edge. Nothing
118
+ changes outside forced colours.
119
+ - **`docs/llms-full.md`**, the package's documentation as one Markdown file for
120
+ a coding agent, in the npm package and pinned to its version: every demo page
121
+ with its import line, its examples' source, its props tables and why it is
122
+ built as it is, and the declaration of every other export. The same text
123
+ stands online as <https://romanhaendler.github.io/umriss-ui/core/llms-full.txt>,
124
+ with an index of the pages beside it (`llms.txt`).
125
+ - **Every component takes a `ref`, a `className`, a `style` and the rest of
126
+ the DOM props** at the element a caller lays out - a tooltip on a `Stat`, a
127
+ measured `Card`, a `data-testid` anywhere. New for `Badge`, `Card`,
128
+ `CardHeader`, `CardBody`, `Combobox`, `CommandPalette`, `ConfirmDialog`,
129
+ `EmptyState`, `FormField`, `Meter`, `Modal`, `ModalHeader`, `ModalBody`,
130
+ `ModalFooter`, `MenuItem`, `MenuSeparator`, `MultiSelect`, `Skeleton`,
131
+ `Sparkline`, `Spinner`, `Stat`, `Tabs`, `TabList`, `Tab`, `TabPanel`,
132
+ `TreeView`, `TreeSearch` and the four pickers. The `<dialog>` takes it for
133
+ `Modal`, `ConfirmDialog` and `CommandPalette`; the field's wrapper for the
134
+ pickers, `Combobox` and `MultiSelect` (the id from `FormField` stays on the
135
+ control inside); the `role="tree"` list for `TreeView`. All of them are
136
+ `forwardRef` components, so the ref also arrives under React 18.
137
+ - **`Tabs` work uncontrolled**: `defaultValue` names the first tab, and the
138
+ tabs switch on their own; `value` and `onChange` are both optional now.
139
+ Without either, every tab is a tab stop until one is chosen.
140
+ - **`Card` can be controlled**: `collapsed` folds it from outside, and
141
+ `onCollapsedChange` reports the header's button - controlled, the card
142
+ folds once `collapsed` follows; beside `defaultCollapsed` it is a message.
143
+ - **`Switch`**: on or off, taking effect at once - a native checkbox under
144
+ `role="switch"` with its label beside it, `checked`/`defaultChecked`, sizes
145
+ `sm` and `md`, `invalid` (set by `FormField` with an error). The class goes
146
+ to the label, ref and rest to the input, as for `Checkbox`.
147
+ - **`Slider`**: one value on the native range input, drawn with tokens -
148
+ `value`/`defaultValue` with `onChange(value)`, `min`, `max`, `step`, `marks`
149
+ (a number, or `{ value, label }`), `format` for the mono readout
150
+ (`showValue`) and `aria-valuetext`. Arrows by a step, PageUp/PageDown by a
151
+ tenth of the range, Home/End to the bounds, the same on every engine.
152
+ - **`Drawer`**: the `Modal`'s dialog entering from an edge, `side="right" |
153
+ "left"`, with `ModalHeader`, `ModalBody` and `ModalFooter` inside; its width
154
+ is the new token `--u-drawer-width` (400px).
155
+ - **`ProgressBar`**: how far a task has come, `role="progressbar"` -
156
+ determinate with `value` from 0 to 1, indeterminate without; `valueText`
157
+ for a count, `showLabel` for the percentage. No tone: progress is no
158
+ verdict. New token `--u-duration-sweep` for the indeterminate bar.
159
+ - **`Accordion` / `AccordionItem`**: sections behind headers that are buttons
160
+ with `aria-expanded` inside a heading (`headingLevel`), `type="single" |
161
+ "multiple"`, `value`/`defaultValue` as a list with `onChange`, arrow keys,
162
+ Home and End between the headers, `disabled` items.
163
+ - **`Breadcrumb`**: `items` from the root to the current page, the last
164
+ `aria-current="page"`, each a link (`href`), a button (`onSelect`) or both -
165
+ with `onSelect` the caller routes. Where the trail does not fit, its middle
166
+ levels fold into a menu, measured from the trail's own widths.
167
+ - **`Combobox`, `MultiSelect` and `CommandPalette` say what VoiceOver leaves
168
+ out of a list**, through one polite live region the library shares: the
169
+ number of options on opening and on every letter of the search ("4
170
+ options", the empty text where none is left), the option the arrow keys
171
+ moved onto with its state ("Gamma, selected", "Beta, unavailable"; the
172
+ palette's find with its group), and in the multi-select what Enter in the
173
+ search, a chip or Backspace added or removed. It speaks once the keys rest
174
+ for 150 ms, the charts' readout pause, and inside a `<dialog>` from the
175
+ dialog's own region.
176
+ - **`Splitter`**: two panes and the line between them, the APG window
177
+ splitter - `orientation="horizontal"` side by side or `"vertical"` stacked,
178
+ `value`/`defaultValue` as the first pane's share in per cent with
179
+ `onChange(value)`, `min`, `max` and `step`. The line is a focusable
180
+ `role="separator"` (`separatorLabel` names it after the first pane): the
181
+ pointer drags it, the arrows of its axis move it, Home and End take it to
182
+ the bounds, Enter collapses the first pane to `min` and restores it.
183
+ - **`Stepper`**: where a procedure stands - `steps` (`label`, `description`,
184
+ `failed`) and the index `current`, as an ordered list in a row or a column
185
+ (`orientation`). The current step is `aria-current="step"`; every other
186
+ step's state - done, upcoming, failed - is a word beside its label for a
187
+ screen reader and a tick, number or cross in its marker. It has no keys:
188
+ moving on is the caller's.
189
+ - **`FileInput`**: the native file input behind a key, inside a zone that
190
+ takes a drop. `accept` and `multiple` hold for a drop as they hold in the
191
+ dialog (a refused file is named beneath the list), the chosen files stand
192
+ listed with their size and a cross each, `value` with `onChange(files)` or
193
+ uncontrolled, `invalid` from `FormField`. What a drop or a removal leaves
194
+ is written back into the input, so a form sends what the list shows. The
195
+ class goes to the zone, ref and rest to the input. Nothing is uploaded.
196
+
197
+ ### Changed
198
+
199
+ - **`scheduleKeyHelp` names T beside the brackets**, in English and German:
200
+ `@umriss-ui/schedule` takes `t` and Shift+T as equals of `]` and `[`, since
201
+ a German keyboard reaches the brackets only with AltGr. A wording of one's
202
+ own keeps its text until it says so too.
203
+
204
+ - **The final polish of the new components and of forced colours**
205
+ (core-foundations 07, core-layout-extras 04, forced-colors 04). The
206
+ indeterminate `ProgressBar` rests with its segment in the middle of the
207
+ track, its ends fading, and sweeps from there - with animations off it no
208
+ longer reads as a share done. The key of a `Breadcrumb`'s folded levels is
209
+ as tall and as wide as a small key and underlines its dots; the trail
210
+ grows to that height when it folds. An invalid `Slider` draws its track
211
+ with the fields' danger edge. The `Splitter`'s line carries the grip glyph
212
+ in its middle, quiet at rest and darker under the pointer. Under forced
213
+ colours the primary `Button` has an edge of two pixels (the second
214
+ inside, so it stands as large as its neighbours) and a `Badge` keeps its
215
+ dot in the text colour.
216
+
217
+ - **A new key in `Wording`: a shelf as one word** (for `@umriss-ui/table`'s
218
+ alarm list, whose availability is now a badge), in English and German:
219
+ `availabilitySnoozedShort` ("Shelved", "Zurückgestellt"). The sentence
220
+ `availabilitySnoozed` stays - in the badge's tooltip and in what is
221
+ spoken. An application that implements the whole `Wording` type itself no
222
+ longer compiles until it adds it.
223
+
224
+ - **Two new keys in `Wording`: a table over a server** (for
225
+ `@umriss-ui/table`'s manual mode), in English and German:
226
+ `selectAllOnPage` ("Select all on this page") and `exportPageLabel`
227
+ ("Export page"). A partial wording passed to the provider is merged as
228
+ before; an application that implements the whole `Wording` type itself no
229
+ longer compiles until it adds these two.
230
+ - **`pageOfPages` takes the numbers formatted as well**: a third, optional
231
+ argument `{ page, total }` carries them in the provider's formats, and the
232
+ English and German wording write those - "Page 1 of 100,000", "Seite 1 von
233
+ 100.000", since a table over a server has that many pages. Below a thousand
234
+ pages nothing changes, and a wording of one's own that reads two arguments
235
+ still compiles.
236
+ - **Eleven new keys in `Wording`, for `Splitter`, `Stepper` and
237
+ `FileInput`**, in English and German: `splitter` (the separator's name
238
+ where the caller gives none), `stepDone`, `stepUpcoming` and `stepFailed`
239
+ (a step's state beside its label), `chooseFile` and `chooseFiles` (the
240
+ key), `dropFile` and `dropFiles` (the words beside it), `removeFile(name)`
241
+ and `fileNotAccepted(name)`. A partial wording passed to the provider is
242
+ merged as before; an application that implements the whole `Wording` type
243
+ itself no longer compiles until it adds these eleven.
244
+ - **Four new keys in `Wording`: what the lists announce**, in English and
245
+ German: `optionCount(count)`, `optionActive(label, { selected, disabled,
246
+ group })`, `optionAdded(label)` and `optionRemoved(label)`. A partial
247
+ wording passed to the provider is merged as before; an application that
248
+ implements the whole `Wording` type itself no longer compiles until it adds
249
+ these four.
250
+ - **`CommandPalette` no longer renders a `role="status"` element of its own.**
251
+ The count of finds is spoken through the shared region, which the palette's
252
+ `<dialog>` now holds as its last child once something was said; it is also
253
+ said on opening when `restingItems` stand, and for a query that finds
254
+ nothing (`paletteNoFinds`).
255
+ - **A new key in `Wording`: `editCell(column, row)`**, the name of a cell's
256
+ editor in `@umriss-ui/table`'s grid mode ("Edit Setpoint: TIC-101"), in
257
+ English and German. A partial wording passed to the provider is merged as
258
+ before; an application that implements the whole `Wording` type itself no
259
+ longer compiles until it adds it.
260
+ - **Three new keys in `Wording`: the column menu's pin keys** (for
261
+ `@umriss-ui/table`'s pinned columns), in English and German:
262
+ `pinColumnToStart(column)`, `pinColumnToEnd(column)` and
263
+ `unpinColumn(column)`. A partial wording passed to the provider is merged as
264
+ before; an application that implements the whole `Wording` type itself no
265
+ longer compiles until it adds these three.
266
+ - **Five new keys in `Wording`: the wording of an alarm's availability** (for
267
+ `@umriss-ui/table`'s alarm model and list), in English and German:
268
+ `availabilitySnoozed(until, by)`, `availabilitySuppressed`,
269
+ `availabilityDisabled`, `hiddenAlarms(count)` and
270
+ `columnAvailability`. A partial wording passed to the provider is merged as
271
+ before; an application that implements the whole `Wording` type itself no
272
+ longer compiles until it adds these five.
273
+ - **Three more keys in `Wording`, for the new components**, in English and
274
+ German: `progress` (a `ProgressBar`'s name where the caller gives none),
275
+ `breadcrumb` (the landmark's name) and `breadcrumbFolded` (the key of the
276
+ folded levels). The same holds as above: a partial wording merges, a whole
277
+ `Wording` of an application's own needs the three.
278
+ - **What `...rest` may not override.** `Stat` keeps its role and the name it
279
+ has read, `Meter` its role and `aria-value*`, `Spinner`, `TreeView`,
280
+ `TabList`, `TabPanel` and `MenuItem` their role, `Tab` its role, ids and
281
+ tab stop, even where a caller passes the same attribute. A caller's
282
+ `aria-label` still names a `Meter`, a `Spinner`, a `Modal` or the
283
+ `CommandPalette`.
284
+ - **A caller's handler runs first and can prevent the component's own**:
285
+ `onCancel` and `onMouseDown` of `Modal` and `CommandPalette` (a
286
+ `preventDefault` keeps the window standing), `onKeyDown` of `Combobox` and
287
+ `CommandPalette` (heard in the capture phase, before the field inside),
288
+ `onClick` and `onKeyDown` of `MultiSelect`'s field, and `onClick` of `Tab`
289
+ and `MenuItem`, which ran first before but could not prevent.
290
+
291
+ ### Fixed
292
+
293
+ - **A drawer from the right no longer shoots in too far and jumps back.**
294
+ The browser gives a modal dialog `overflow: auto`; the focus landing in the
295
+ sheet while it still stood off-screen scrolled the dialog towards it. The
296
+ drawer's dialog is clipped now.
297
+ - **A drawer from the left fades as it leaves**; its entrance rule outweighed
298
+ the exit and it vanished at once.
299
+ - **"1 hr"**, not "1 hrs", in the English `hoursShort`.
300
+
301
+ ---
302
+
32
303
  ## 0.9.2 – Today's dot, one chevron (Sep. 2026)
33
304
 
34
305
  ### Changed
@@ -427,10 +698,10 @@ From `.scratch/schedule/spec.md`, ticket 01, and
427
698
  `onOpenChange`, `position` in client coordinates, `ariaLabel`), built on
428
699
  `Popover`, with `MenuItem`, `MenuSeparator` and the menu's keyboard. The focus
429
700
  returns to where it stood when the menu opened.
430
- - **Wording:** `scheduleLaneRefused`, `scheduleOverlap`, `scheduleLateTransport`,
431
- `scheduleGhostTimes`, `scheduleSetup`, `scheduleTeardown`,
432
- `scheduleTransport`, `scheduleRoute`, `scheduleOverlapWith` and
433
- `scheduleLateBy`, for `@umriss-ui/schedule`, in both shipped wordings. An
701
+ - **Wording:** `scheduleLaneRefused`, `scheduleOverlap`, `scheduleViolatedDependency`,
702
+ `scheduleGhostTimes`, `scheduleLeadIn`, `scheduleLeadOut`,
703
+ `scheduleDependency`, `scheduleRoute`, `scheduleOverlapWith` and
704
+ `scheduleViolatedBy`, for `@umriss-ui/schedule`, in both shipped wordings. An
434
705
  application that hands in a whole `Wording` object of its own adds the nine.
435
706
 
436
707
  ---
@@ -708,7 +979,7 @@ unpublished until now.
708
979
  are unchanged. The export is `t.asCsv()` and the part `Export`.
709
980
  - **`AlarmList` and `alarmModel`** with `acknowledge`, `countAcknowledgeable`,
710
981
  `countInWindow`, `frequencyByType`, `detectFlood`, `nextLifecycleState`,
711
- `isStanding`, `isAcknowledged`, `isDone`, `hasReturned`, `priorityRank`,
982
+ `isActive`, `isAcknowledged`, `isDone`, `hasReturned`, `priorityRank`,
712
983
  `PRIORITIES`, `ALARM_COLUMNS`, `alarmColumns`, `DEFAULT_ORDER` and their types.
713
984
  **Instead** the same names out of `@umriss-ui/table`; the props of the alarm
714
985
  list are called `view`, `selection`, `onAcknowledge`, `asOf` and `freshness`
package/README.md CHANGED
@@ -14,6 +14,11 @@ pnpm add @umriss-ui/core
14
14
  ```
15
15
 
16
16
  The demo is the documentation: <https://romanhaendler.github.io/umriss-ui/core/>.
17
+ For a coding agent the same material stands as one Markdown file inside the
18
+ installed package, `docs/llms-full.md`, pinned to that version — every page
19
+ with its examples' source, its props tables and why it is built as it is, and
20
+ the declaration of every other export; online, for the latest version,
21
+ <https://romanhaendler.github.io/umriss-ui/core/llms.txt>.
17
22
  In an application:
18
23
 
19
24
  ```tsx
@@ -146,23 +151,36 @@ The table and the alarm list are not part of this package. They live in
146
151
  | `CrossGlyph` / `PlusGlyph` / `MinusGlyph` / `AngleGlyph` / `CalendarGlyph` / `ClockGlyph` / `GripGlyph` / `GridGlyph` / `MeasureGlyph` | the shared character set, one stroke width at one nominal size; specification in `docs/glyphs.md` |
147
152
  | `Sparkline` | a miniature history line with an area gradient and an accent end point – for trends in cells |
148
153
  | `Spinner` | a functional loading indicator |
154
+ | `Switch` | on or off, taking effect at once: a native checkbox under `role="switch"`, the label beside it, two sizes, invalid through `FormField`; the thumb travels on the path transition |
155
+ | `Slider` | one value between two bounds on the native range input, drawn with tokens: `min`/`max`/`step`, marks with optional words, `format` for the mono readout and `aria-valuetext`; arrows, PageUp/PageDown by a tenth, Home/End - the same on every engine |
156
+ | `Drawer` | the `Modal`'s dialog entering from an edge (`side="right" \| "left"`): focus trap, Escape and focus return from the browser, `ModalHeader`/`ModalBody`/`ModalFooter` inside, its width the token `--u-drawer-width`; modal only |
157
+ | `ProgressBar` | how far a task has come (`role="progressbar"`), determinate from 0 to 1 or indeterminate without a value; `valueText` for a count; no tone, because progress is no verdict - that is the `Meter` |
158
+ | `Accordion` / `AccordionItem` | sections behind headers that are buttons with `aria-expanded`: `type="single" \| "multiple"`, controlled or uncontrolled, arrow keys between the headers; the height animates as the card's collapse does |
159
+ | `Breadcrumb` | where a page stands: `<nav>` with an ordered list, the last item `aria-current="page"`, items as links or buttons (routing is the caller's); when narrow the middle levels fold into a `Menu`, measured rather than guessed |
160
+ | `Splitter` | two panes and the line between them (the APG window splitter): side by side or stacked, the first pane's share in per cent, controlled or uncontrolled, `min`/`max`; drag, the arrows of its axis, Home/End, Enter collapses and restores |
161
+ | `Stepper` | where a procedure stands: an ordered list of steps, done, current (`aria-current="step"`), upcoming or failed - each said as a word beside its label and drawn as a number, tick or cross; in a row or a column; moving on is the caller's |
162
+ | `FileInput` | the native file input behind a key, inside a zone that takes a drop: `accept` and `multiple` hold for the drop as for the dialog, the chosen files listed with their size and a cross each, controlled or uncontrolled, invalid through `FormField`; no upload |
149
163
 
150
164
  ## Principles for new components
151
165
 
152
166
  1. Pass `forwardRef`, `className` and `...rest` through to the root element –
153
167
  every component that renders a root element. Excepted are the wrappers that
154
168
  have none: `Popover` renders into a portal, `Tooltip` around the caller's
155
- child, `Menu` and `ToastProvider` are composed of other parts. **Not yet met**
156
- (library-audit, ticket 09): `Badge`, `Card`, `Combobox`, `CommandPalette`,
157
- `EmptyState`, `FormField`, `Modal`, `MultiSelect`, `Skeleton`, `Spinner`,
158
- `Stat`, `Tabs`, `TreeView`, `TreeSearch`, `ConfirmDialog`, `Sparkline`,
159
- `Meter` and the four pickers.
169
+ child, `Menu`, `ContextMenu` and `ToastProvider` are composed of other
170
+ parts, and the providers render no element at all. The ref goes
171
+ to the element a caller lays out: the `<dialog>` of `Modal`, `Drawer`,
172
+ `ConfirmDialog` and `CommandPalette`, the field's wrapper of the pickers
173
+ and the combobox family, the `role="tree"` list of `TreeView`. The native
174
+ fields that wear a wrapper (`Checkbox`, `Switch`, `Slider`, `NumberInput`,
175
+ `Select`, `FileInput`, a clearable `Input`) put the class on the wrapper and
176
+ ref and rest on the control. The component's own
177
+ `role`, the `aria-*` it computes and its handlers are not replaced by
178
+ `rest`: a caller's handler runs first and can `preventDefault`. Held by
179
+ `tests-unit/passthrough.test.tsx`, which renders every export.
160
180
  2. Support controlled **and** uncontrolled use (`value`/`defaultValue`).
161
181
  Deliberately controlled only: `Combobox` and `MultiSelect` – the field keeps
162
- no second state beside the caller's – as well as `Modal` and `CommandPalette`,
163
- because opening is the caller's decision. **Not yet met** (ticket 09): `Tabs`
164
- is controlled only and is to get `defaultValue`, `Card` is uncontrolled only
165
- and is to get `collapsed`/`onCollapsedChange`.
182
+ no second state beside the caller's – as well as `Modal`, `Drawer` and
183
+ `CommandPalette`, because opening is the caller's decision.
166
184
  3. Keyboard operation and `aria` attributes are part of the definition of done.
167
185
  4. No business logic: a mapping such as "status X is green" is the application's
168
186
  to make.
@@ -176,9 +194,13 @@ The table and the alarm list are not part of this package. They live in
176
194
 
177
195
  ## Roadmap
178
196
 
179
- The core scope is complete, and so are the command palette and `Dock`. What is
180
- open: a text tone of its own for danger and warning
181
- (`.scratch/tone-contrast/spec.md`), the `forwardRef`/`className`/`rest` and
182
- controlled/uncontrolled renames of `library-audit` ticket 09, and — if it ever
183
- earns it — collapsing the dock onto its grip, which is out of scope today
184
- because it doubles the state space.
197
+ The core scope is complete, and so are the command palette, `Dock`, the
198
+ danger text tone, the pass-through of rules 1 and 2 above, the six basic
199
+ components and the layout extras, forced colours and the listbox
200
+ announcements. What is still open is one check a person makes: the listbox
201
+ announcements heard through VoiceOver (`.scratch/listbox-announcements/`,
202
+ ticket 02).
203
+
204
+ Collapsing the dock onto its grip stays out of scope, because it doubles the
205
+ state space. What core will not build at all stands in
206
+ [ADR-0032](../../docs/adr/0032-what-umriss-is-not.md).