kerfjs 4.5.0-beta.1 → 5.0.0-beta.100

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.
Files changed (70) hide show
  1. package/CHANGELOG.md +2642 -0
  2. package/README.md +57 -18
  3. package/ai/cursorrules +27 -15
  4. package/ai/manifest.json +15 -7
  5. package/ai/skill.md +24 -11
  6. package/dist/actions.d.ts +1 -1
  7. package/dist/actions.js +9 -5
  8. package/dist/actions.js.map +1 -1
  9. package/dist/array-signal.js +1 -1
  10. package/dist/async.js +4 -4
  11. package/dist/async.js.map +1 -1
  12. package/dist/attach.js +1 -68
  13. package/dist/attach.js.map +1 -1
  14. package/dist/{chunk-QFUNWHKH.js → chunk-2MNLFTTW.js} +117 -70
  15. package/dist/chunk-2MNLFTTW.js.map +1 -0
  16. package/dist/{chunk-CEQMZYLR.js → chunk-3C6F6NM4.js} +1 -1
  17. package/dist/{chunk-CEQMZYLR.js.map → chunk-3C6F6NM4.js.map} +1 -1
  18. package/dist/{chunk-BDX3R4OM.js → chunk-4TX6YJDM.js} +8 -2
  19. package/dist/chunk-4TX6YJDM.js.map +1 -0
  20. package/dist/{chunk-WKIPLNVO.js → chunk-6LXUC4ZY.js} +29 -2
  21. package/dist/chunk-6LXUC4ZY.js.map +1 -0
  22. package/dist/{chunk-ZOIERTUW.js → chunk-BI4HGICV.js} +3 -3
  23. package/dist/{chunk-ZOIERTUW.js.map → chunk-BI4HGICV.js.map} +1 -1
  24. package/dist/chunk-FM6N2B4N.js +70 -0
  25. package/dist/chunk-FM6N2B4N.js.map +1 -0
  26. package/dist/{chunk-ELXVRKY2.js → chunk-H7WTRM6F.js} +2 -2
  27. package/dist/{chunk-ELXVRKY2.js.map → chunk-H7WTRM6F.js.map} +1 -1
  28. package/dist/{chunk-Y2FOYPBV.js → chunk-IHMDBBUJ.js} +2 -2
  29. package/dist/chunk-IHMDBBUJ.js.map +1 -0
  30. package/dist/chunk-JN7EJM3B.js +86 -0
  31. package/dist/chunk-JN7EJM3B.js.map +1 -0
  32. package/dist/{chunk-V757BT6U.js → chunk-ZNQSWFYU.js} +450 -138
  33. package/dist/chunk-ZNQSWFYU.js.map +1 -0
  34. package/dist/{delegate-CL9VTZFb.d.ts → delegate--CrfgYtC.d.ts} +0 -34
  35. package/dist/dev.d.ts +31 -13
  36. package/dist/dev.js +43 -24
  37. package/dist/dev.js.map +1 -1
  38. package/dist/html.js +3 -3
  39. package/dist/index.d.ts +14 -9
  40. package/dist/index.js +11 -11
  41. package/dist/index.js.map +1 -1
  42. package/dist/jsx-runtime.d.ts +16 -6
  43. package/dist/jsx-runtime.js +1 -1
  44. package/dist/list.d.ts +7 -3
  45. package/dist/list.js +125 -47
  46. package/dist/list.js.map +1 -1
  47. package/dist/overlay.d.ts +180 -130
  48. package/dist/overlay.js +827 -382
  49. package/dist/overlay.js.map +1 -1
  50. package/dist/remount.js +2 -2
  51. package/dist/router.d.ts +13 -4
  52. package/dist/router.js +8 -4
  53. package/dist/router.js.map +1 -1
  54. package/dist/scope.d.ts +35 -8
  55. package/dist/scope.js +59 -29
  56. package/dist/scope.js.map +1 -1
  57. package/dist/testing.js +1 -1
  58. package/dist/timing.d.ts +3 -2
  59. package/dist/timing.js +1 -1
  60. package/dist/timing.js.map +1 -1
  61. package/llms.txt +8 -5
  62. package/package.json +11 -5
  63. package/setup/index.mjs +4 -4
  64. package/dist/chunk-BDX3R4OM.js.map +0 -1
  65. package/dist/chunk-E5R5GNKE.js +0 -64
  66. package/dist/chunk-E5R5GNKE.js.map +0 -1
  67. package/dist/chunk-QFUNWHKH.js.map +0 -1
  68. package/dist/chunk-V757BT6U.js.map +0 -1
  69. package/dist/chunk-WKIPLNVO.js.map +0 -1
  70. package/dist/chunk-Y2FOYPBV.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -6,6 +6,2646 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ### Fixed
10
+
11
+ - `kerf-ui-doctor --full` and `kerf-ui-analyze` no longer report findings in gitignored, generated output. A local Playwright run's `playwright-report/` (its trace viewer ships CSS) produced about a hundred `KUI-L006` review findings in one app, so running the tests changed the doctor result. Inside a Git work tree, full traversal now skips every path the project's ignore rules ignore, across TypeScript, the isolated ESLint pass, analyzer discovery, and cache inputs; Playwright's `playwright-report`, `test-results`, and `blob-report` directories are also skipped by name, which covers projects outside Git.
12
+ - A dark-tone `AnchoredSurface` (`tone: 'dark'`) now follows a live color-scheme switch while it is open. It picked its inverse scheme once, on open, so an OS preference change or an app theme toggled on an ancestor left the popup on the old side until it was reopened. It now flips with the page. `openAnchoredSurfaceAt` also reads the dark tone's scheme from `point.context`, the element under the pointer, instead of from the body or dialog that holds its temporary anchor, so a region with its own forced `color-scheme` is honored.
13
+ - A keyboard move made as a long `PopupMenu` submenu (or menu) opens now leaves the chosen item in view, not just focused. When Web Awesome's late first-item focus landed after the move (say `End` pressed right after `ArrowRight`), it scrolled the menu back to the top, and kerf's restore refocused the chosen item without scrolling, so the focused last choice sat out of view below the clip. The restore now scrolls the item into view within its own menu, leaving the page alone.
14
+ - A default-tone `ToolbarControlGroup` in an overlay `Pane` header (`headerPresentation="overlay"`) or in a `DialogSurface` floating header's `header-actions` (`headerPresentation="floating"`) now keeps its controls at WCAG AA over content passing beneath the translucent chrome material. Its quiet control color over its own translucent fill measured about 3.0:1 (light) and 3.5:1 (dark) over the worst case; its controls now take the normal text color there, as they already did in overlay `NavStack` chrome.
15
+ - A dark `ToolbarControlGroup` (`tone="dark"`) holding one control no longer hides its icon on hover over a light page. A lone control's hover replaces the whole group's fill, and the dark tone's hover was a translucent surface wash meant to lie over that fill, so the white icon sat on a near-white circle (about 1.3:1). The wash now paints over the group's loud fill, as it does on one control of a multi-control dark group, and it is 14% instead of 28%: at 28% even that layered paint measured about 2.7:1. Hovered dark controls now keep about 3.4:1 over a light page and about 5.8:1 in dark.
16
+ - An unframed scrollable `List` now stops a row focused or scrolled into view with its whole focus ring inside the scroll clip. Only a framed List carried ring-room scroll padding, so in an unframed one the ring of a row brought into view ended flush against the clip and was cut off. Every `scrollable` List now has 6px of block scroll padding (the ring's 4px reach plus 2px of slack), which moves nothing at rest. An unframed List's first and last rows still meet the clip at the scroll extremes; `frame`'s 4px inset is the answer when they must show a whole ring.
17
+ - An overlay `Pane` header (`headerPresentation="overlay"`) now clears its forced-colors edge. In forced colors the header gains a 1px `CanvasText` bottom border, but `wireScrollDividers` observed the header's content box, so the border alone reported no resize and `--kui-scroll-clearance-block-start` stayed 1px short: the content's first item rested under the edge. The wiring now observes each overlay header's border box, the same box it publishes.
18
+ - `positionAnchored({ fitHeight: true })` (and so `autoReposition()`, `popover()`, `tooltip()`, and `@kerfjs/ui`'s `openAnchoredSurface()`) now keeps an element placed above its anchor growing upward. It set `top` from the height the element had at the reposition, so an element still growing afterwards — say an expand-from-0 `max-height` entrance placed above mid-expand — slid its bottom edge down over the anchor until the next scroll or resize. An above placement now pins the element's bottom edge at the gap above the anchor (`bottom`, with `top: auto`), so it grows and shrinks upward, away from the anchor, whatever height it goes on to lay out; a below placement sets `top` with `bottom: auto`. Placement without `fitHeight` is unchanged (`KF-MZ03RG`).
19
+ - An overlay `Pane` header (`headerPresentation="overlay"`) no longer covers the top of a classic, space-taking scrollbar (Windows and Linux, or macOS with "always show scrollbars"). Its thumb and arrow buttons ran beneath the translucent header. `wireScrollDividers` now also measures the content's vertical scrollbar and publishes a classic one's inline size on the Pane as `--kui-pane-scrollbar-inline-size`, and the header ends where the scrollbar's track begins. Overlay scrollbars take no space and still pass beneath the header like the content.
20
+ - A `ToolbarText` in an overlay `Pane` header (`headerPresentation="overlay"`) now keeps WCAG AA over the translucent chrome material. Over worst-case content passing beneath, its quiet `description` measured about 3.2:1 (light) and 4.1:1 (dark), and a default-size title about 3.8:1 (light). In that header an untoned `ToolbarText` now takes the normal text color for its title at every size and mixes its description halfway toward it (about 5.9:1 in both themes), so the description stays readable and still reads as secondary.
21
+ - A framed `List` (`frame`) now keeps a focused middle row's ring inside its scroll clip in Chromium. The frame's scroll padding equaled the ring's 4px reach, but Chromium's focus scroll stops 1px short of the padded target and a row's fractional position can cost another fraction of a pixel, so about 1px of the ring was cut. The scroll padding is now the ring reach plus 2px; the frame's 4px visual inset and its first- and last-row resting positions are unchanged.
22
+ - `positionAnchored({ fitHeight: true })` now measures an element whose `max-height` is mid-animation at the cap it is headed to. An app transition already running on `max-height` (say an expand-from-0 entrance to `max-height: 300px`) or a `@keyframes` animation of `max-height` made the cap read report the current frame, so a reposition mid-expand judged the element by a height it was about to outgrow and could open it on a side its settled cap does not fit. kerf now reads the cap from the running effect instead — its last `max-height` keyframe, or its first while the current iteration plays in reverse — and, for that case, never touches the element's style, so the app's animation keeps running uninterrupted. A finished animation that still fills is read from computed style as before, and a keyframe `var()` kerf cannot resolve outside the element counts as no cap (`KF-YW3PRD`).
23
+ - `eslint-plugin-kerfjs`'s `ui-css-values` rule now recognizes CSS-value helpers imported from any `@kerfjs/ui` subpath, including the documented `@kerfjs/ui/css-values`. It only knew helpers imported from the package root, so `iconTile={{ color: foregroundColor('#000') }}` with `foregroundColor` from `@kerfjs/ui/css-values` passed lint while `kerf-ui-analyze` reported `KUI-L014` (and likewise `KUI-L015` for a bare `plus()`). Lint now resolves a helper exactly as the analyzer does: by its imported name, from the component's package or any subpath of it, through a named, aliased, or namespace import. A same-named helper from another package is still ignored (`KF-HKGK2C`).
24
+ - `positionAnchored({ fitHeight: true })` now honors a relative `max-height` cap and is no longer fooled by a `max-height` transition. A cap that stays relative after computing — `max-height: 60%`, `calc(50% - 2rem)`, `min(300px, 60%)`, `clamp()` — was treated as no cap, so an element that fit the preferred side at that cap still opened on the roomier side. kerf now resolves it against the element's fixed-position containing block (normally the viewport) with an unpainted probe beside the element, so the element's scroll position and layout are untouched. And an app `transition` on `max-height` made the cap read report the transition's running value (the room kerf last published) and fire `transitionrun` / `transitionstart` events, so the cap was ignored again; kerf now holds off only the `max-height` transition for that read, and every other transition keeps running (`KF-53GEGN`).
25
+ - A `StateBanner`'s side action no longer squeezes or covers its copy on a narrow banner. The banner laid out as a three-track grid whose action track took the action's full width, so on a phone a pair of buttons (say Retry Save and Discard Changes in a wrapping `Row`) left the title about 65px, and a word wider than that ran underneath the buttons. The banner is now a wrapping row: the default `actionPlacement="trailing"` keeps the action beside the copy while the copy has at least 12rem, and otherwise moves it to its own end-aligned trailing row. The choice follows the banner's own width rather than a breakpoint, so it also works in a narrow sidebar on a wide screen and inside an intrinsically sized `CornerStatus`. `actionPlacement="below"` still always uses the trailing row (`KF-PXCKVZ`).
26
+ - `positionAnchored({ fitHeight: true })` (and so `autoReposition()`, `popover()`, `tooltip()`, and `@kerfjs/ui`'s `openAnchoredSurface()`) now honors the element's own `max-height` when choosing a side. It measured a scrolling element at its full content height, so an element the app caps below that height — say `max-height: min(300px, var(--kerf-anchor-available-height))` with 500px of content — fit neither side and opened on the roomier one, even when its 300px capped height fit the preferred side. kerf now reads that cap with its own published room swapped for an unbounded one, so it never mistakes its last cap for the app's, and the read is style-only, so the element's scroll position is kept (`KF-878W6T`).
27
+ - A keyboard move made just as a `PopupMenu` submenu finishes opening is no longer undone. Web Awesome hands focus to the submenu's first item from a timer it queues when the show animation settles, and a browser may dispatch a keypress before that timer runs. So pressing `End` (or an arrow key) at that moment focused the chosen item, and the late handoff then snapped focus back to the first item. PopupMenu now keeps the keyboard or pointer choice through that handoff; a deliberate `Home` to the first item still stands (`KF-XMDR2Q`).
28
+ - An open `PopupMenu` is now announced with a name. Web Awesome renders the `role="menu"` panel in a shadow root, and the trigger's name never reached it: a `context` menu's `label` sat only on its `aria-hidden` anchor, and no ID reference can cross into or out of the shadow roots involved. So a screen reader announced an unnamed menu, and `getByRole('menu', { name })` found nothing. The panel now takes the trigger's name (the `context` or icon-only `label`, or the visible `text`), and each submenu is named by its parent item's label (`KF-AB4ZVD`).
29
+ - A `TabBar` with `snapTabs` no longer grows its tab strip past its allocation. The snap mode reserves end scroll room so the last tab can settle at the strip's start, and it reserved that room as end padding on the strip. A flex item can't shrink below its own padding, so room measured at one width held the strip open after the bar narrowed. This happened, for example, when a drawer opened or lost space to a neighboring panel. The strip then pushed an adjacent `trailing` action and the `end` zone out of the bar, where they could not be clicked; a twelve-tab drawer strip measured 1584px against a 1088px edge. The room is now scrollable content after the last tab, inside the strip. It lengthens only the scroll range, so the strip shrinks to its allocation and the last tab can still snap to the start. Writing the room no longer resizes the strip, so `wireTabBars` now re-measures it on the next frame until the value holds. This replaces the follow-up measurement that a resize used to trigger (`KF-3Q98FJ`).
30
+ - In Safari, closing a `Select` inside a scrolling dialog body no longer leaves blank scroll space below the content. WebKit kept the closed listbox's last box in the body's scrollable overflow, so the body scrolled into an empty band the height of the listbox. The Select now relayouts its popup once after it closes, which keeps focus and the keyboard on the Select (`KF-C3523R`).
31
+ - In a divided list, `ListItem`, `ListItemLink`, and `ListActionRow` corners now follow the row's position. A corner is flat wherever a divider line meets it, whether the row draws that line or its neighbor does, so with lines between rows the first row rounds only its top, middle rows are flat, and the last row rounds only its bottom. Previously each row squared only the edges it drew itself, so in a `divider="after"` list every hovered or selected row was rounded on top and flat on the bottom, including the last. A single divided row is unchanged (`KF-AQN4H7`).
32
+
33
+ - A collapsible `TokenSearchField` in a `ToolbarControlGroup` with `content="search"` and `sizing="grow"` now opens and closes as one surface. The group snapped straight to its grown width (its `width: auto` cannot transition) while the field animated its own width inside it, so for about 250ms the pill showed an empty band and the query wrapped onto several lines. The group now animates its flex size, and the field fills it on every frame, laid out at least basis-wide while the group clips it. In a toolbar 480px wide or narrower, where the grown group takes its own row, and under reduced motion, both open in one frame (`KF-50K0JM`). A plain collapsible search group (no `sizing="grow"`) had the same defect in a milder form: its field ran a second width transition that lagged the group's by up to 90px, and the query wrapped onto as many as 19 lines for about 100ms. The group now owns that motion too. The field follows it on every frame and keeps the query on one line until the opening ends, then wraps normally again (`KF-CXQB30`).
34
+
35
+ - A tooltip or popover outside a Web Awesome `wa-dialog` / `wa-drawer` is no longer painted beneath it. Those elements keep their modal `<dialog>` in a shadow root, which kerf's modal checks never saw: a surface opened while one was open was not lifted into the top layer, and surfaces already showing were not re-hosted above one that opened later (its `toggle` event stays inside the shadow root). kerf now also checks the open shadow roots when a surface opens, and watches them for `toggle` while any surface is open; a surface hosted inside the dialog stays where it is. A closed shadow root remains invisible (`KF-1FGTX1`).
36
+
37
+ - A `ToolbarControlGroup` now dims a native button marked `aria-disabled="true"` (one kept focusable while unavailable) exactly as it dims a `disabled` one: half opacity, a `not-allowed` cursor, and no hover surface, including a lone group's whole-group hover. It used to look and hover like an enabled control. A disabled raw `wa-button` in a group also no longer paints the group's hover surface (`KF-Y3ZZ10`).
38
+
39
+ - A focused `scrollable` `List` now draws the theme focus ring inset by the ring width and rounded with the standard control radius. Chromium makes a scroller without focusable rows keyboard-focusable, and a dialog may focus it first. It used to show the UA's square outline outside its box, which a rounded or `overflow: hidden` parent clipped (`KF-AJNFTT`).
40
+
41
+ - Typing quickly into a `TokenSearchField` whose app commits typed grammar to chips from `onEdit` (or removes a chip from `keyboard.onRemoveToken`) no longer loses keys. The token change re-keys the editor, so the controlled render replaced the focused element, and keys typed before the app refocused it went nowhere: `site:north site:annex` became `[site:north] ite:annex`. `wireTokenSearchFields` now hands focus and caret to the replacement at the same mutation checkpoint, as it already did for Clear and native deletion. A caret at the end stays at the end, and any other caret keeps its place in the remaining text (`KF-96TEF4`).
42
+
43
+ - `DialogSurface` no longer names a `wa-dialog`'s native panel when the host is itself an explicit, named dialog (`role="dialog"` or `"alertdialog"`). Both used to carry the same name, so the accessibility tree had two dialogs with one name and role queries such as Playwright's `getByRole('dialog', { name })` failed in strict mode. Removing or changing the host role restores the panel name (`KF-A0NF2S`).
44
+
45
+ - A nested `PopupMenu` submenu's pointer "safe triangle" now spans the gap to the placed submenu. Web Awesome measured the submenu for that triangle before its asynchronous placement landed, so the triangle kept the submenu's pre-placement edge (often the viewport origin): its fixed, viewport-sized hit region fanned away from the submenu and could cover the parent menu's rows, swallowing their hover and clicks. PopupMenu now re-measures once the placement lands and again when the submenu's show animation settles, so applications need no `::part(submenu)::before` override (`KF-YAHAZK`).
46
+
47
+ - A `scrollable` `List` bounded by a `max-height` ancestor now scrolls its rows instead of compressing them. Its children kept the default `flex-shrink: 1`, and a `ListItem` clips its own overflow, so multiline rows shrank into one another and their descriptions overlapped the next row. A scrollable List's direct children no longer shrink, and `docs/layout.md` documents bounding one with `flex` inside a max-height flex column (`KF-93GZC1`).
48
+
49
+ - A `popover()`, `tooltip()`, or `openAnchoredSurface()` opened from inside a Web Awesome `wa-dialog` or `wa-drawer` is now interactive. Those elements keep their modal `<dialog>` in a shadow root, so kerf found no dialog above the slotted trigger and appended the surface to `document.body`, where the modal made it inert: it painted above the dialog, but its controls took no focus or input. kerf now resolves the modal context across shadow boundaries: a shadow host whose slot renders the trigger inside an open modal `<dialog>` counts as that dialog, and kerf creates the overlay host slot in the host's light DOM, so the surface is slotted inside the dialog. A surface inside a modal context, through its host slot or an explicit `container`, now also closes when that dialog closes. Escape still closes only the surface. `openAnchoredSurface()` accepts a `container` for any other modal context, and `openAnchoredSurfaceAt()`'s `context` resolves a `wa-dialog` / `wa-drawer` too (`KF-F52T5D`).
50
+
51
+ - Re-renders of a large page whose rows come from a memoized `each()` now scale with the change instead of the row count. The change-scoped morph now also runs on renders that contain `each()` lists: a change beside the list, such as a details pane that follows the selection, is re-parsed and morphed without visiting the rows, and kerf falls back to the full diff when the change sits in the element that holds the rows. After such a render, the scan for list markers skips the bound rows. `SafeHtml` also builds its HTML string on first read instead of at construction, so each element above a list no longer copies every row's markup. A one-row selection on a 300-row memoized keyed page drops from about 3.7 ms to 0.3 ms per render in Chromium (about 29 ms to 3 ms in happy-dom). An attribute set imperatively on an element outside the changed markup now survives such a render, as it already did on list-free pages (`KF-03KWNV`).
52
+
53
+ - On the same kind of page, a mount that also has a fine-grained binding outside the list (for example `class={signal}` on a page wrapper) no longer searches every row for binding markers after a render that changed the page. Rows carry only their own row-scoped markers, so kerf now skips them. A selection flip on the 300-row keyed fixture with one such binding drops from about 3.7 ms to 0.4 ms in Chromium (about 66 ms to 6 ms in happy-dom) (`KF-5S9XPH`).
54
+
55
+ - `wireTabBars` no longer re-measures every tab strip after every DOM mutation in the root it watches. It used to read computed style and layout for each strip whenever anything under the root changed, such as terminal output or a list update. In Hot Sheet's terminal profile that work was the single hottest function. Now only the bars a mutation touches are re-measured: a change inside a bar, a newly inserted bar, or a `dir` change on an element above one. A strip with a pinned tab also re-measures when its own size changes (`KF-8H2MH2`).
56
+
57
+ - `resource().run()` can be called inside an `effect()`. `run()` read the resource's own state through a tracking read, so an effect that re-ran a resource from an input signal subscribed to that state, wrote it, and threw `Cycle detected`. `run()` and its progress and failure paths now read the state untracked; `resource.value` stays a tracking read (`KF-H5PNHK`).
58
+
59
+ - Re-renders of a large list-free page now scale with the change instead of the page. When a `mount()` render has no `each()` list and no fine-grained bindings, kerf compares the previous and next static HTML, finds the innermost element around the change whose markup parses on its own, and re-parses and morphs only that element's changed children; anything it cannot prove identical to a full diff still takes the full diff. A one-row selection on a 300-row, ~1.4 MB page drops from about 23 ms to 13.5 ms per render in Chromium. One documented behavior narrows: an attribute set imperatively on an element whose markup did not change now survives a render that changed something else, as it already did on a no-op render. The core grows by about 2 KB min+gzip (~13 KB to ~15 KB) (`KF-HA8R27`).
60
+
61
+ - The morph no longer strips the defaults a custom element reflects onto its host. Web Awesome reflects `variant`, `appearance`, `size`, `attention`, and similar defaults onto `wa-button`, `wa-tag`, `wa-badge`, `wa-textarea`, and others; a template that omitted them lost them on every re-render that reached the element, and Lit put them straight back with a full update (one row selection on a 300-row page flipped 1,200 attributes). On custom elements the morph now removes an attribute the template omits only when the previous template rendered it; a template that stops rendering an attribute still removes it, and plain elements are unchanged. An attribute set imperatively on a custom element now survives re-renders (`KF-K8S4RX`). Elements kerf creates (a mount's first render, a morph insertion, a new `each()` row) start with their template's record, taken before they connect, so even the first re-render leaves their reflected defaults alone; only an element kerf did not create uses the ordinary rule on its first attribute sync (`KF-G7N4PK`).
62
+
63
+ - `KUI-L017` (exceptional spacing shorthand, such as `<List gap="s" />`) now has one severity everywhere: a review finding. `eslint-plugin-kerfjs` reported it from the `error`-level `ui-css-values` rule, so a deliberate off-scale choice failed lint while `kerf-ui-analyze` queued it for review, and `kerf-ui-doctor` counted every occurrence twice (error plus review) with a `KUI-D003` conflict warning. The finding moves to a new `ui-exceptional-shorthands` rule, `warn` in both `recommended-ui` and `strict-ui`; `ui-css-values` keeps `KUI-L013`–`KUI-L016` at `error`. The doctor reads an ESLint warning for an analyzer review code as that review finding, and the analyzer's `KUI-L014`–`KUI-L017` messages now match ESLint's word for word, so the doctor merges each CSS-value finding into one diagnostic. A new `@kerfjs/ui` contract test fails if any ESLint UI rule's preset severity disagrees with the analyzer's classification of the codes it reports (`KF-P3945Y`).
64
+
65
+ - `mount()` no longer walks the whole live tree for `each()` list markers after a re-render that changed the page when the render has no `each()` lists and no list is bound. A large list-free page (one `mount()` with plain `.map()`) paid a full DOM traversal per render for markers kerf never emitted (`KF-VBQJAX`).
66
+
67
+ - Faster JSX attribute serialization on large pages: the runtime remembers, per attribute name, that the name passed the `on*` / malformed-name check and whether it is URL-bearing, instead of re-running those regexes for every attribute of every render, and the URL screen returns early for values without a `:` (no scheme to screen). Rejected names still throw their exact message on every render, and every URL value is still screened. Building a 300-row, ~1.4 MB list-free page drops from about 13.7 ms to 10.8 ms of CPU (`KF-VBQJAX`).
68
+
69
+ - `wireScrollDividers` no longer forces a synchronous layout after a render. A content mutation used to re-measure the scrollers in the next animation frame, and a structural one at once in the mutation callback, both before the browser had laid out the new tree. Both now re-measure once the frame has laid out and before it paints: the wiring toggles an inert, zero-size probe outside the app tree, and its `ResizeObserver` reports the probe after layout. Without `ResizeObserver` the previous timing remains. In a 300-row work area, `measure` self time drops from about 408 ms to under 1 ms over 16 segment switches and 8 row selections; the layout itself now runs once, in the browser's frame (`KF-4XYQ95`).
70
+
71
+ - `wireWorkbench` no longer forces a document-wide style recalculation after ordinary renders and presses. It caches each responsive panel's computed overlay state until a Workbench resize, a root font-size change, or a presentation attribute change on that panel, and its observer re-syncs only for a new Workbench, an added or removed panel, or an attribute change on a panel rather than any `data-collapsed` or `data-presentation` change below the root. In a 300-row work area with Web Awesome menus, the overlay check's forced style time drops from about 150 ms to 0 over 16 segment switches and 8 row selections (`KF-CRRD70`).
72
+
73
+ - Faster `PopupMenu` and `LucideIcon` re-renders in large lists. `LucideIcon` returns the same `SafeHtml` for the same icon and props instead of rebuilding its `<svg>` every render (up to 64 prop variants per icon), and builds its child markup as a Fragment instead of wrapping joined strings in `raw()` (`KF-XW15D6`). `PopupMenu` hashes icon and details markup of 64 or more characters as a memoized digest of the whole string instead of reading every character every render. A 300-row list with a nine-entry menu per row drops from about 12.7 ms to 2.1 ms per render when the icons are rebuilt each render, and from 3.9 ms to 1.3 ms when they are prebuilt. A menu with such a part now has a different `data-key` value than before; the key is still stable across renders, and every other byte of the rendered HTML is unchanged (`KF-V2ZBHT`).
74
+
75
+ - `PopupMenu` hashes its content key with a streaming `charCodeAt` loop instead of joining every field (including icon markup) into one string and iterating its code points, and caches each menu's trigger and entry markup in a bounded least-recently-used cache keyed by that hash and an independent check hash. An unchanged menu now costs one hash pass instead of rendering every entry again for the morph to skip. Rendered HTML, including the `data-key` digest, is byte-identical (`KF-GVCMC7`).
76
+
77
+ - Faster attribute serialization for large static values: `LucideIcon` caches each icon node's rendered child markup by node identity, and the JSX runtime's HTML/attribute escaping skips its replace passes when a value has nothing to escape. A 138-icon render pass drops from about 0.80 ms to 0.45 ms (`KF-JPP0Z5`). `jsx()` also iterates props without the rest-spread and `Object.entries` allocations, and the URL screen checks lowercase attribute names without allocating a lowercased copy, about 25% faster for an attribute-heavy list row (`KF-YHNV84`).
78
+
79
+ - `wireTokenSearchFields` collapses an empty field blurred by a pointer press in the click's own task, after the click reaches the window, instead of a separate task, so the click's render and the collapse share one style recalculation; a click that stops propagating still falls back to the next task (`KF-AS24QP`).
80
+
81
+ - `wireScrollDividers` no longer re-collects pairings and re-measures every scroller for mutations that cannot change a pairing, such as a row's selection class or a list morph inside scrolled content; it still refreshes when structural elements or target ids are added, removed, re-classed, or renamed (`KF-50PA0Y`). Those content mutations instead re-measure the known scrollers once in the next animation frame, so an absolutely positioned descendant that extends the scroll area still updates its dividers (`KF-E29N3W`).
82
+
83
+ - The UX Catalog filter keeps its placeholder hidden when a controlled state change rerenders the sidebar while filter text remains (`KF-4EA9R6`).
84
+
85
+ - Inspector TabBars use the shared rounded rectangle radius on the strip and inset tabs while ordinary segmented TabBars retain their pill geometry (`KF-K3RDN1`).
86
+
87
+ - **`KUI-L103` no longer flags a component's classes inside its own source.** `ui-public-boundaries` treats a catalog entry's `source` file as the owner of that entry's public classes, so an app component writing its own root class is not reported as recreating itself. Apps no longer need to mark those classes `placeableClasses` to silence it. Any other file, including another component's source, is still checked (`KF-G6FR6V`).
88
+
89
+ ### Documentation
90
+
91
+ - New recipe in the `kerfjs/async` API reference: move heavy app compute (fuzzy search, CSV or markdown parsing, aggregation) into a Worker by having a `resource()` fetcher post a message to the worker and resolve with its reply. It covers request/reply ids, dropping superseded results, worker errors, transferring `ArrayBuffer`s, and keeping the render on the main thread (`KF-04KHT9`).
92
+
93
+ - Clarify for AI consumers that sunken/lowered token names resolve to a translucent tint, and explain intentional nested layers versus duplicate surface paint (`KF-9CM6D8`).
94
+
95
+ - **`layout.roles` vocabulary for app components.** The component-packages guide documents the eleven roles `@kerfjs/ui` uses, what each covers, and how to map application dialogs, rows, status indicators, and composed views onto them. The `kerf.components.json` schema description lists them, and the `create-kerf-component` template now uses `controls` instead of a one-off `counter` role (`KF-4E04HF`).
96
+
97
+ ### Removed
98
+
99
+ - **Breaking (`@kerfjs/ui`, 5.0 beta):** remove the Catalog geometry highlight overlay, its `geometryOverlay` prop, `wireCatalogGeometryOverlay` helper, and specimen skip marker. Catalog previews retain their component borders, outlines, and focus states (`KF-E3WKA5`).
100
+
101
+ - **Breaking (`@kerfjs/ui`, 5.0 beta):** remove the deprecated `TabScaffold` component and type aliases, `wireTabScaffold` and `WireTabScaffoldOptions`, and the `tab-scaffold`, `wire-tab-scaffold`, and `tab-scaffold.css` package subpaths. Use `TabNavigator`, `TabNavigatorTab`, `TabNavigatorProps`, `wireTabNavigator`, and their corresponding subpaths. The rendered DOM classes and data attributes remain stable. See `ui/docs/tab-navigator.md` for migration steps (`KF-CMK0W8`).
102
+
103
+ ### Added
104
+
105
+ - `TabNavigator` takes `barPresentation: 'docked' | 'overlay'` (default `docked`). With `overlay`, the tab bar lies over the active scene on the translucent chrome material, so content scrolls visibly beneath it, as under an iOS tab bar. `wireTabNavigator` measures the live bar (bottom safe area included), and the scenes hand its height to their content as the block-end edge inset: a plain scene, a sole `Pane`, or a `NavStack` (whose own overlay bottom toolbar then sits just above the bar) rests its last item clear of it. Unselected and selected labels lift to keep AA over the material. The bar is opaque under reduced transparency, increased contrast, or without `backdrop-filter`, and paints `Canvas` with a `CanvasText` edge in forced colors. Unwired, the bar stays docked. Like the NavStack overlay bars, the tab bar ends where the active scene's classic (space-taking) scrollbar begins, so the thumb and buttons stay visible.
106
+ - `@kerfjs/ui/wire-list-focus-scroll`'s `wireListFocusScroll(root)` brings a keyboard-focused row of a `scrollable` List fully into view, focus ring included, in every engine. Firefox's `focus()` leaves a partly hidden row alone until about half of it is hidden and then centers it, and Safari's never scrolls it, so arrow-key or Tab navigation could rest on a row that was mostly clipped. The wiring calls `scrollIntoView({ block: 'nearest' })` only when a `:focus-visible` element's ring crosses the List's clip, honoring its ring-room scroll padding; pointer focus is left alone, so a click never scrolls its row from under the pointer.
107
+ - **`AnchoredSurface` dark tone for popups anchored to media chrome.** `openAnchoredSurface` and `openAnchoredSurfaceAt` take `tone: 'dark'`, the same loud, inverse tone as a `ToolbarControlGroup` or `ToolbarText` `tone="dark"`. A volume popup anchored to a dark media control group over a video preview is dark beside a light page and light beside a dark one, matching the group that opened it. The surface takes the opposite of its anchor's color scheme when it opens and is marked `data-tone="dark"`. Every semantic token is a `light-dark()` pair, so the content inherits the inverse text, border, and focus colors without tone props or overrides: a `ListItem` mute row and a `wa-slider` included. Measured on the catalog demo in Chromium, Firefox, and WebKit, the row label reads 12.8:1 and its focus ring 8.1:1 on a light page, and 16.8:1 and 4.0:1 on a dark one. The default tone is unchanged.
108
+ - A floating `DialogSurface` title bar (`headerPresentation="floating"`) now draws its divider as scroll state, like an overlay `Pane` header: a 1px line along its bottom edge while the body, or a filling child that reaches beneath it (a transcript `List` or `Pane` with block-start `scrollClearance`), is scrolled away from its top, and none at rest. In light mode the title bar over white bubbles had little separation. `@kerfjs/ui/surface-scaffold/register` follows those scrollers; a nested scroller that starts below the title bar never counts.
109
+ - **Analyzer and lint check row icon-tile colors.** Catalog `cssValueProps` paths now reach a member of an object-valued prop (`iconTile.color`) as well as each array item's member (`choices[].swatch`); a prop given a non-object value, such as a tone string `iconTile="brand"`, is skipped. `ListItem`, `ListItemLink`, and `ListActionRow` record `iconTile.color` as a color fill (`fillColor()`, `uiColor()`, `colorVar()`) and `iconTile.foreground` as a foreground (`uiColor()`, `foregroundColorVar()`, `foregroundColor()`), so the Kerf UI analyzer, `kerf-ui-doctor`, and the `kerfjs/ui-css-values` ESLint rule report `foregroundColor()` on a tile fill (`KUI-L014`) and keep accepting it as the glyph color. The catalog and composition schemas' `path` pattern accepts the same grammar, so consumer catalogs can publish object-member paths (`KF-R02RDK`).
110
+ - **Catalog frames can be a named anchor with a centered content column.** `CatalogExample`'s `viewport` takes `anchorName`, a CSS dashed-ident (`"--app-shell-main"`) that becomes the frame's `anchor-name`, so a top-layer specimen (a `popover="manual"` request popup, say) whose own CSS sets `position-anchor` to that name positions against the frame exactly as it does against its production anchor. An invalid name throws a `TypeError`. `minHeight` adds `"app"` (592px, a floor the frame can grow past), and `contentWidth` (`"compact"` 440px, `"medium"` 640px, or `"wide"` 864px, capped at the frame) with `contentAlign` (`"start"` or `"center"`) gives each in-flow child a centered or start-aligned reading column; `[popover]` children keep their own geometry. An app no longer needs a wrapper stage element to name the anchor and center the column. The catalog's Application Layout page shows a request popup docked to the bottom of its frame (`KF-D532S2`).
111
+ - **`fillColor()` for application fill colors.** `@kerfjs/ui/css-values` adds `fillColor(value)`, the fill twin of `foregroundColor()`: it accepts one application-chosen CSS color (`#3b82f6`, `rgb(20 40 60 / 0.8)`, `rebeccapurple`) with the same single-declaration check, but returns a plain `CssColor` rather than a `CssForegroundColor`, so a fill literal is rejected by props that paint text or an icon (`SelectChoice.color`, `LucideIcon.color`, `Text.color`, an `iconTile` `foreground`). Use it for a `ChoiceChips` `swatch` and a list row's `iconTile` `color`; every example, demo, and design template now does. A `CssForegroundColor` is still a `CssColor`, so an existing `foregroundColor()` fill keeps compiling, and the `ChoiceChips` catalog entry now records `choices[].swatch` as a color fill so the Kerf UI analyzer reports `foregroundColor()` there (`KUI-L014`) with `fillColor()` as the fix (`KF-7JA25S`).
112
+ - **Framed result pickers without app CSS.** `List` takes `frame`, `maxHeight`, and `minHeight` (typed `CssLength`s from `@kerfjs/ui/css-values`). `frame` draws a 1px neutral border with the `--kui-radius-m` control radius and a 4px inset on every side, replacing `inset`, `textInsets`, and `controlInsets`. That inset is exactly a row's focus-ring reach, and the frame adds it to its scroll padding, so the first and last rows' rings stay inside the clip. With `scrollable`, the height bounds work without a flex-column ancestor. `<List scrollable frame gap="2xs" minHeight={rem(4.25)} maxHeight={rem(14)}>` is a bounded list of `ListItem` candidates, such as Hot Sheet's duplicate-ticket picker. The catalog's List page shows it as "Result Picker" (`KF-SHW2J9`).
113
+ - **Transcripts scroll beneath a floating composer.** A `scrollable` `List` and a `Pane` take `scrollClearance` (`"block-start"`, `"block-end"`, or `"both"`; the `ScrollClearance` type). It clears chrome laid over the scroller's block edge inside its own scroll area: the scroller adds the inherited `--kui-scroll-clearance-block-start` / `--kui-scroll-clearance-block-end` context that the chrome publishes to its block padding and `scroll-padding`. Content then passes visibly beneath the chrome, while the first and last items, and anything focused or scrolled into view, still rest clear of it. A `DialogSurface` with `footerPresentation="floating"` publishes block-end clearance for a `fill` or `fill-last` child that opts in. That clearance is the footer's measured height plus its offset. The body stops reserving the footer below that child, so a chat transcript reaches the panel's end and scrolls beneath the transparent composer. Without the opt-in, the transcript still ends at the composer's top. Every dialog body clears clearance inherited from the page. An app that overlays its own translucent chrome on a scrolling region publishes the same context, so header clearance works today. The catalog's chat dialog now scrolls its transcript beneath the composer (`KF-ET0EX8`). `PaneConfig` carries `scrollClearance` too, so a composed Pane opts in through a Workbench `mainPane` or panel `pane`, a `CollapsiblePanel` `pane`, or a `NavStack` view's `pane`; the composites now forward every `PaneConfig` field through one exhaustively typed helper, so a new field can no longer be silently dropped (`KF-574HQV`).
114
+ - **Translucent overlay Pane headers.** `Pane` takes `headerPresentation` (`"docked"`, the default, or `"overlay"`; the `PaneHeaderPresentation` type, also in `PaneConfig`). An overlay header is laid over the top of the scrolling content on the new chrome material. The material is `--kui-chrome-material`, the surface at 80% opacity, behind `--kui-chrome-material-filter`, a blur and saturation backdrop filter, so content scrolls visibly beneath the header. `wireScrollDividers` measures each overlay header with a `ResizeObserver` and publishes its height on the Pane as `--kui-scroll-clearance-block-start`. The Pane's content clears that automatically, so the first item rests just below the header and anything scrolled into view stays clear of it. The clearance follows the header as its title wraps or its text grows. Until the wiring runs, and with `chromePlacement="auto"`, the header stays docked. The material turns opaque under `prefers-reduced-transparency: reduce` or `prefers-contrast: more`, and without `backdrop-filter`. In forced colors the header paints `Canvas` with a `CanvasText` edge. Normal text keeps WCAG AA over any content beneath the material. Quiet text does not, so overlay-header text uses the normal text color (`ui/docs/accessibility.md` "Chrome material"). The catalog's Pane page shows an inbox scrolling beneath its header (`KF-DT6C3F`).
115
+ - **Translucent dialog title bars.** `DialogSurface` takes `headerPresentation` (`"docked"`, the default, or `"floating"`; the `DialogSurfaceHeaderPresentation` type). A floating header lies over the body's block start on `--kui-chrome-material-raised`, a new token for chrome on a raised surface: the raised panel color at 80% opacity behind `--kui-chrome-material-filter`. The `surface-scaffold/register` import now measures the header as well as the footer, and the body reserves the header's height before its own inset, with matching scroll padding, so flowing content starts below the title bar and scrolls beneath it. Without the register, the header stays docked. When the body's only child fills it and opts into block-start `scrollClearance`, the body publishes the header's height as `--kui-scroll-clearance-block-start` instead. With a floating composer and `scrollClearance="both"`, a transcript then scrolls beneath both the title bar and the composer while its first and last messages rest clear of them. The material has the same opaque fallbacks as the Pane overlay header, and normal text keeps WCAG AA over any content beneath it. An untoned `ToolbarText` slotted as the dialog's label (or into its header actions) takes the same AA lift it gets in an overlay Pane header: a normal-color title and a description mixed halfway toward it. The catalog's surface scaffold page adds a "Floating Title Bar" thread dialog (`KF-REH2T2`).
116
+ - **Translucent NavStack top bar.** `NavStack` takes `chromePresentation` (`"docked"`, the default, or `"overlay"`; the `NavStackChromePresentation` type). An overlay top chrome lies over the active view on the same chrome material as an overlay Pane header, so content scrolls visibly beneath it, as under an iOS navigation bar. `wireNavStack` measures the live chrome (never a cross-fading copy) with a `ResizeObserver`, publishes its height on the stack root with a `data-chrome-overlay="measured"` gate, and restores both before paint if a re-render strips them. The measured height, top safe area included, becomes the viewport's block-start edge inset, so a plain view, a sole `Pane`, or a nested layout clears the bar automatically: the first item rests just below it, and focused or scrolled-to content stops clear of it. A classic, space-taking scrollbar in the active view stays uncovered: the chrome ends where its track begins. Unwired, or with `hideToolbar`, the chrome stays docked. The material keeps its opaque fallbacks (reduced transparency, increased contrast, no `backdrop-filter`) and its forced-colors edge, and an untoned `ToolbarText` in the chrome lifts its title and description to AA exactly as in an overlay Pane header. `SplitView` forwards the option through `compactStack`, and a Workbench navigation panel through `navStack`. The catalog's NavStack page adds an **Overlay Chrome** example; `ui/tests/browser/overlay-nav-stack.spec.ts` covers it in Chromium, Firefox, and WebKit.
117
+ - **Translucent NavStack bottom toolbar.** `NavStack` takes `bottomToolbarPresentation` (`"docked"`, the default, or `"overlay"`; the `NavStackBottomToolbarPresentation` type), a separate prop from `chromePresentation`, which keeps governing only the top chrome. An overlay bottom toolbar lies over the active view's bottom edge on the same chrome material, as an iOS toolbar does. `wireNavStack` measures the live toolbar (never a cross-fading copy), publishes its height with a `data-bottom-toolbar-overlay="measured"` gate, and the measured height, bottom safe area included, becomes the views' block-end edge inset: a plain view's or a sole `Pane`'s last item (or the Pane's footer) rests just above the toolbar while content scrolls visibly beneath it, and the toolbar's scroll divider keeps working. Unwired, or while no bottom toolbar is shown, it stays docked; inside a `TabNavigator` scene it sits just above the tab bar. It keeps the material's opaque fallbacks, and in forced colors its top border becomes a `CanvasText` edge. A default-tone `ToolbarControlGroup` in either overlaid bar now lifts its controls to the normal text color, so they keep AA over the content beneath (the top chrome's back control measured about 3.0:1 before). A non-scrolling `List` directly in a `Pane`'s content no longer shrinks below its rows, so the content's block-end padding (a bottom safe area or the toolbar's clearance) follows the last row. `SplitView` forwards the option through `compactStack`, and a Workbench navigation panel through `navStack`. The catalog's **Overlay Chrome** example now overlays both bars; `ui/tests/browser/overlay-nav-stack-bottom.spec.ts` covers it in Chromium, Firefox, and WebKit.
118
+
119
+ - **Anchored surfaces fit beside their anchor.** `positionAnchored()` / `autoReposition()` (and so `popover()` and `tooltip()`) take `viewportMargin`, a gutter in px that the horizontal clamp and the vertical fit test keep from the viewport edges (default `0`, the bare edge as before), and `fitHeight` for an element that scrolls its overflow: when neither side has room for its full height it opens on the roomier side, and every placement publishes that room as the `--kerf-anchor-available-height` custom property on the element, so CSS can cap it (`max-height: var(--kerf-anchor-available-height); overflow: auto`). Scrolling inside the element keeps its scroll position. Without the new options placement is unchanged. `@kerfjs/ui`'s `openAnchoredSurface()` uses both: the surface stays 8px inside the viewport (`viewportMargin` overrides it), caps its height to the room beside its anchor, scrolls its content, and exposes that room to its content as `--kui-anchored-surface-available-height`, refreshed on scroll and resize, so a tall help surface fits beside a field on a phone with no application media queries (`KF-K4GE6K`).
120
+
121
+ - **Stateful `TokenSearchField` trailing action.** `trailingAction` now takes `expanded` (a disclosure such as a help toggle; renders `aria-expanded`) or `pressed` (a toggle; renders `aria-pressed`), which are mutually exclusive at compile time, plus `controls` (`aria-controls`), `haspopup` (`aria-haspopup`), and `attributes` for domain `data-*` metadata (the field keeps `data-action`). An open or pressed button keeps its hover fill and reads at full text strength. In the `toolbar-group` presentation it now takes the clear button's control-highlight radius, so the compact 24px help glyph beside the clear button matches it in every presentation with no application CSS. The catalog's Structured Ticket Search help toggle opens syntax help in an `openAnchoredSurface` (`KF-R056AJ`).
122
+
123
+ - **Link `Chip` for downloadable files.** `Chip` takes an `href`, with an optional `download` (`true` or a suggested file name) and `external` (new tab, `rel="noopener noreferrer"`, and an "(opens in new tab)" accessible-name suffix, as on `ListItemLink`). It then renders a native `<a>` with the chip's geometry, icon slot, truncation, focus ring, and hover feedback, so an app no longer styles its own file-link chips. A link chip cannot also carry a remove button, and a disabled one drops its destination and leaves the tab order. The new `inherit` tone (`ChipTone`) follows the surrounding foreground, for a chip inside a `brand-loud` or `neutral` `ContentItem` bubble. It draws a currentColor border and no fill, so the label keeps the bubble's text contrast, and its focus ring follows the foreground too. The Chip catalog shows file chips in both bubble kinds (`KF-H658D6`).
124
+
125
+ - **Multi-select `ChoiceChips`.** Set `multiple` with a `readonly Value[]` `value` and the same wrapping pills, swatches, and icons become native checkboxes in a named `role="group"`: each pill is its own Tab stop, Space toggles it, assistive technology reads its native checked state, and every checked value submits under `name` (`FormData.getAll(name)`). The props are a discriminated union, so a multiple group rejects a single value (and a single group an array), and a multiple group takes no `required`. Every chip color is a theme token, so on dark inverse chrome, such as a media viewer's annotation intents, place the chips in a dark appearance scope (`.wa-dark`) rather than restyling them. The UX catalog adds Multiple Selection and On Dark Chrome examples, and the design templates add a Multiple Selection variant.
126
+ - `ListItem`, `ListItemLink`, and `ListActionRow` take an `iconTile` prop that presents the leading icon in a filled 32px rounded tile holding an 18px glyph, for settings and command rows identified by color. Pass a tone (`neutral`, `brand`, `success`, `warning`, or `danger`, the same quiet palette as `ToolbarControlGroup.tileTone`) or `{ color, foreground? }` with a typed `CssColor` fill (`uiColor()`, `colorVar()`, or `foregroundColor('#e5484d')`) and an optional `CssForegroundColor` glyph; without a foreground, the glyph is black or white, whichever contrasts with the fill. The tile keeps 6px clear of a standard 44px row, a compact row is at least 42px tall, the label moves to the tile's edge, and hover and selection leave the tile's colors alone.
127
+
128
+ - **A chat composer without app chrome.** The new `Composer` (`@kerfjs/ui/composer`) is a raised frame (the standard border, large radius, and `shadow-l`) whose border turns brand while focus is within. It holds a borderless textarea that grows with `field-sizing: content` between `minRows` (default 1) and `maxRows` (default 8) lines and then scrolls. Below the textarea sits an action row with an optional quiet `hint`, which describes the field when you pass an `id`, and the trailing `actions` (a Send button). Engines without `field-sizing` show a fixed three-line field that scrolls. Slot it into a `DialogSurface` floating footer to float it over a transcript; the catalog's chat dialog now does (`KF-S5EG5K`).
129
+ - **Enter-to-send for `Composer`.** Set `submitOnEnter` and call `wireComposers(root)` (`@kerfjs/ui/wire-composers`) once: Enter, or Cmd/Ctrl+Enter, in the field clicks the composer's first trailing action, so a keyboard send runs the same delegated `data-action` handler as a click. Shift+Enter still inserts a newline. An Enter that commits an IME composition (`isComposing`, keyCode 229, or between `compositionstart` and `compositionend`) is left to the input method, and an empty or whitespace-only message, an auto-repeating key, a disabled field, or a disabled or loading action sends nothing. The field announces the shortcut with `aria-keyshortcuts="Enter"`. The catalog's Composer and chat dialog examples use it (`KF-DGD5QS`).
130
+ - `PopoverDialogSurface` takes an optional `describedBy` id, rendered as `aria-describedby` on its `role="dialog"` root. Pair it with a title `ToolbarText`'s `descriptionId` so a non-modal dialog keeps its accessible description; `rootAttributes` accepts only `data-*` attributes, so there was no way to set it before. `DialogSurface` is unchanged, because it wraps a `wa-dialog` that the app authors and does not render the dialog root itself (`KF-SKVEQW`).
131
+ - A compact `ListActionRow` is 36px tall, as documented, instead of 44px. Its label kept the standard row's minimum height and its primary button kept the standard 8px block padding, so `density="compact"` had no effect on a single-line row. Compact rows now use 4px block padding like a compact `ListItem`, so the two row kinds stay level in a dense list; a compact row with an `iconTile` is exactly 42px. The ListActionRow catalog adds a Compact Rows example (`KF-4Q5MJ5`).
132
+ - `ListActionRow` leading icons default to 18px (they were 24px), the same size as `ListItem` icons, so a `List` that mixes the two row kinds starts their labels on one edge, not 6px apart. Both read a new shared `--kui-list-row-icon-size`: set it on a containing `List` to resize both row kinds' untiled icons together. `--kui-list-item-icon-size` still wins for `ListItem` rows that set it, and an `iconTile` keeps its 32px tile and 18px glyph. An app that wants the old 24px `ListActionRow` glyphs sets `--kui-list-row-icon-size: 24px` on the list (`KF-KWFMM1`).
133
+ - `ListItem` and `ListActionRow` share one leading inline inset. Set `--kui-list-row-padding-inline` on a containing `List` and both row kinds move their content and reorder insertion lines together; a `ListActionRow` adds the 1px a `ListItem` border takes, so their leading icons stay on one edge at any value. It defaults to `--kui-layout-item-padding`, so unset lists render as before. Previously only `ListItem` had an inline padding token, and overriding it moved `ListItem` icons away from `ListActionRow` icons in the same list. `--kui-list-item-padding-inline` still wins for `ListItem` rows that set it. The List catalog's new Shared Row Inset example shows mixed rows on a customized inset (`KF-N3TDV3`).
134
+ - `@kerfjs/ui` now has one capitalization rule for interface copy, taken from Apple's guidance and documented in the new `ui/docs/writing.md`. Text that names a command, control, view, or field is title style ("Save Draft", "Back to Inbox", "Workspace Settings"): buttons, menu items, segments, `Select` choices, tabs, titles, `ListHeader` labels, and field labels. Text that describes, explains, or reports is sentence style: descriptions, messages, tooltips, placeholders, option text, and status lines. The AI skill, `llms.txt`, and the design docs carry the rule. `kerf-ui-doctor` reports a lowercase word in a known title-style label as the warning `KUI-D040`, with the repaired label. The catalog demos, recipes, and design templates now follow the rule (`KF-6VWSV4`).
135
+ - **Chat-style dialogs without `::part()` rules.** `DialogSurface` gains `footerPresentation="floating"`, which lays the footer over the body's block end, a typed `footerOffset` from the panel's inline and block-end edges (default the 16px container inset), on a transparent background. The `surface-scaffold/register` import measures the footer, and the body reserves that height plus the offset, so a growing composer never hides the transcript's last message. `bodyLayout="fill-last"` (also on `PopoverDialogSurface`) keeps the body's leading children at their natural height and gives the last child the remaining height and its own scrolling: a notice above a scrolling transcript. The catalog's new chat dialog example composes both (`KF-913AT2`).
136
+ - `@kerfjs/ui`'s title-style rule now reaches the names the doctor could not see. `TokenSearchField`'s default `clearLabel` is `Clear Search` (it was `Clear search`); a test or app that addresses the clear control by its default accessible name needs the new spelling, and `clearLabel` still overrides it. The catalog shell (`Filter Catalog`, `Clear Filter`, `Reduce Motion`, `Vertical Stripes`, `Layout Guide`, `Related Entries`, `Capture Region`, the `Demo Source` / `Component Source` / `Design Template` / `Integration Guidance` resource links, and the `Used By` related group), the catalog entry names that render as page titles (`Foundation Tokens`, `Surface Scaffolds`, `List Workspace States`, …), and the demos' and recipes' accessible region, control, field, dialog, tab, and list-item names are title style. `kerf-ui-doctor`'s `KUI-D040` now also reads the accessible names of icon-only controls: `IconButton` / `IconToggleButton` / `PopupMenu` `label`, `SplitButton` `optionsLabel`, `TokenSearchField` `clearLabel`, and the `aria-label` of a `button` or `wa-button` whose only content is an icon (`KF-ZAD6EJ`).
137
+ - `@kerfjs/ui` catalog example and stack labels are headings, so they now use title style across every UX-demo page ("Heading Identity Stays Whole", "Icon Trigger in a Toolbar Group"); their notes stay sentence style. Demo content item titles ("Build Output", "Work Area") follow, with mirrored `ariaLabel`s. `kerf-ui-doctor`'s `KUI-D040` now reads `CatalogExample` and `CatalogExampleStack` `label`, and keeps a minor word inside a longer hyphenated compound lowercase ("Edge-to-Edge"). A test that addresses a demo specimen by its region name needs the new spelling (`KF-4TXTVV`).
138
+ - A labelled `CatalogExample` now names its `section` with its label, so each specimen is a named region that assistive technology and `getByRole('region', { name })` can address. An unlabeled example stays an ordinary grouping (`KF-ZQMXK1`).
139
+ - `CatalogExampleStack` takes a `width` option: `reading` (default) keeps the 736px reading measure, and `full` lets the stack span the stage so a catalog can show application-width compositions such as boards, app shells, drawers, and split views without clipping them (`KF-HKVT5S`).
140
+ - `CatalogExample` `viewport.width` takes `sidebar`: a 272px production-rail width, capped at the stage, so sidebar-pane specimens render at their real width without a wrapper (`KF-DH5MH8`).
141
+ - In a `PopupMenu` level (the top menu or one submenu) that holds a checkbox choice, plain commands now reserve the check column too, so check, icon, and label columns line up across checked, unchecked, and plain rows; a level without a choice keeps the compact start. Submenu checkbox rows drop an extra 1em label inset, so their icon-to-label gap matches the top level (`KF-31QHPE`).
142
+ - Hovering a selected (`aria-current`) or pressed `ListItem` likewise keeps its selected tint instead of the neutral hover colors (`KF-84AGE5`).
143
+ - Hovering a selected or pressed `ListActionRow` keeps its selected tint instead of switching to the neutral hover colors, so a freshly selected row no longer looks unselected while the pointer stays on it (`KF-Z737D0`).
144
+ - A `width="full"` `CatalogExampleStack` now spans the whole catalog stage on wide screens; the stage's 1120px canvas cap no longer stops it short of the right edge (`KF-WDSFWH`).
145
+ - **Chat-bubble `ContentItem`s.** `bubble="start" | "end"` lays a `ContentItem` out as a transcript bubble: it fits its message up to 80% of the row, sits at the start (other participants) or end (the person's own messages), and wraps long unbroken text. The new `appearance="brand-loud"` paints the solid brand fill with its on-loud foreground for the person's own messages (`KF-M3HJK8`).
146
+
147
+ - **`DialogSurface rootAttributes`.** `DialogSurface` takes safe `data-*` `rootAttributes`, such as a `data-key`, on its root; its own configuration attributes stay protected. Sibling dialogs that render conditionally then morph by identity rather than by position. Before, a re-render could reuse one open dialog's element for another, swapping its accessible name and suppressing `wa-after-hide`. Apps no longer wrap each dialog in a keyed `div` (`KF-D7H0WN`).
148
+
149
+ - **Heading supporting text.** A read-only `ToolbarText` takes `description`: quiet, single-line, truncating copy under the title ("Changes save automatically."). It starts at the title's text whether or not a leading icon group is present, and shares the control band so trailing actions stay aligned. `descriptionId` gives it an id for `aria-describedby`. With a description, `id` and `headingLevel` apply to the title span alone, so `aria-labelledby` names only the title. Apps no longer recompute the title inset from toolbar tokens (`KF-DXVMBN`).
150
+
151
+ - **Drag-to-reorder list rows in `@kerfjs/ui`.** `ListItem`, `ListItemLink`, and `ListActionRow` take `draggable`, `dragging`, and `dropPosition: 'before' | 'after'`: a draggable row is a native HTML drag source (never while it is a loading placeholder), a dragging row dims, and a drop position draws a 2px brand insertion line on that edge of the row (`--kui-list-item-drop-indicator` / `--kui-list-action-row-drop-indicator` and matching width and dragging-opacity tokens; system `Highlight` in forced colors). The new `@kerfjs/ui/wire-list-reorder` subpath adds `wireListReorder(root, { onReorder })`, which paints those states during a pointer drag, moves rows with Alt+Shift+ArrowUp/ArrowDown and restores focus after the re-render, and reports `{ listId, sourceIds, target: { id, position }, source }`; dragging a selected or pressed row moves every selected row of its `List`. `reorderListItems` applies the change to an array. Apps no longer hand-style dragged rows and insertion lines (`KF-HWYE11`).
152
+
153
+ - **Compact `Toolbar` density.** `Toolbar density="compact"` makes a 40px header for a panel embedded in a card or inspector: a 34px control band (the compact `ToolbarControlGroup` size) with 3px block insets, keeping the 8px inline insets and zone gap. Fill it with `size="compact"` groups. `--kui-toolbar-inset` still overrides the block inset Composite toolbars forward `density` from their `ToolbarConfig` (Workbench panel, main, and bottom toolbars, CollapsiblePanel, NavStack, SplitView) and size the groups they compose (panel and relocated toggles, the back button) to match; `CollapsiblePanelRelocated` takes `density` for its destination toolbar (`KF-0QDF0V`, `KF-QPSTTA`).
154
+
155
+ - **`ChoiceChips` for a wrapping exclusive choice.** `@kerfjs/ui/choice-chips` renders one choice from a visible set too large for a `SegmentedControl` track, such as a nine-color palette in a 560px dialog, as separate pills that wrap with the standard 8px gap at any width. Each pill is backed by a native radio in a named `role="radiogroup"`, so the group is one Tab stop, arrow keys move the selection, and the checked radio submits under `name`. A choice may lead with a `swatch` (a `CssColor`, or `'transparent'` for an outlined dot struck through diagonally) or a decorative `icon`; the group takes `label` or `labelledBy`, a controlled `value`, a delegated `action` for `change`, `size="compact"`, `required`, and group or per-choice `disabled`. Use it instead of wrapping a segmented control or button-appearance `wa-radio` set, whose joined borders turn ragged across rows (`KF-EJPYWD`).
156
+
157
+ - **Viewport-locked app root.** In the opt-in `@kerfjs/ui/document.css` baseline, `data-viewport="locked"` on a body-child `.kui-app-root` gives `html`, `body`, and the root `height: 100dvh` and `overflow: clip`. Mobile browser toolbars can then never leave the root taller than the visible area, and the document itself never scrolls; only the shell's panes do. `docs/document-baseline.md` covers the on-screen keyboard (`KF-1XNQYP`).
158
+
159
+ - **Semantic cursors in `document.css`.** The opt-in `@kerfjs/ui/document.css` baseline now gives native controls semantic cursors with zero specificity: `pointer` on enabled buttons, links, `role="button"`, `summary`, selects, checkbox/radio/button-type inputs, and labels around checkboxes or radios; `not-allowed` on disabled controls, `aria-disabled` role buttons, and a disabled `wa-button`'s `base` part (Web Awesome 3.12 leaves a pointer there); and `text` on text-like inputs and textareas. Components and applications keep their own cursors (`KF-C336VV`).
160
+
161
+ - **`Badge maxWidth`.** A text `Badge` takes `maxWidth` (a `CssLength`). Longer text truncates with an ellipsis inside a new `kui-badge__label`, the badge may shrink below the cap in a tight row, and string or number content becomes the native `title` tooltip unless `title` is supplied (`KF-0WKZY2`).
162
+
163
+ - **`Text align`.** `Text` takes `align="start" | "center" | "end"` (default `start`), so centered status copy that wraps in a narrow surface, or an end-aligned value, uses `Text` directly instead of an app rule on `.kui-text`. Start and middle truncation align their single line to match (`KF-MMAWEG`).
164
+
165
+ - **`SummaryRow`.** `@kerfjs/ui/summary-row` is a selectable, focusable summary of one item (`role="option"`) as a list `row` (bottom divider, `listEdge` rounding for rounded sections) or a board `card`. It has a leading glyph, a semantic `rail`, an identity `title` clamped to `titleLines` (two for rows, four for cards) with `trailingMeta` floated at its end, and a wrapping `metadata` line. Kerf owns hover, focus, `selected`, `dimmed`, narrow compaction, and optional `deferRendering` for long lists (`KF-XCFMX8`).
166
+ - **`Combobox`.** `@kerfjs/ui/combobox` is a free-text field with filtered suggestions that can also create a new value (tags, labels): a native input with the themed field chrome and a 16px font floor on touch devices, on the ARIA combobox pattern (`role="combobox"`, `aria-activedescendant`, a listbox of options). `wireComboboxes(root, { onCommit })` from `@kerfjs/ui/wire-comboboxes` filters as people type, moves the active option with the arrow keys, and reports `{ id, value, created, input }` on Enter, a comma, or a click; `createLabel={false}` allows only suggestions (`KF-XDVAMR`).
167
+ - **File picking and dropping.** `@kerfjs/ui/file-picker` adds `FilePickerTrigger` (a compact, link-toned browse control) and `FileDropZone` (a dashed target that also opens the chooser), both around visually hidden native file inputs with visible focus rings. `wireFilePickers(root, { onFiles })` from `@kerfjs/ui/wire-file-pickers` reports browsed and dropped files, filters drops by `accept` (exported as `fileMatchesAccept`), marks a zone `data-dragging` while files are over it, and resets the input so the same file can be chosen again (`KF-RDV6V9`).
168
+ - **`ContentSwap`.** `@kerfjs/ui/content-swap` swaps two contents in one shared cell (a dialog's two steps, a footer's changing actions) with a `push` (forward or backward, mirrored in right-to-left documents), a `crossfade`, or no motion. Kerf owns the keyframes, the reduced-motion fade, and the inactive side's `inert` and `aria-hidden`; `label` makes it a named region and `slot`/`fill` place it in a dialog label or footer (`KF-V7MZY9`).
169
+ - **`ColumnTrack` for boards.** `@kerfjs/ui/column-track` is a horizontal scroll owner for columns that share the width equally but never narrow below `minColumnWidth` (250px), so a narrow board scrolls instead of crushing them. `layout="paged"` shows one near-full-width column per page with a `peek` of the next, mandatory start snapping, a hidden scrollbar, and smooth scrolling unless reduced motion is preferred (`KF-9WEWRF`).
170
+ - **`EdgeActivityIndicator`.** `@kerfjs/ui/edge-activity-indicator` is a layout-free, pointer-inert activity strip pinned below the top safe area (or flush). While `busy` its thin bars ripple in a traveling wave, drawn by one gradient and an animated mask with no per-bar elements or resize script, and an optional `message` hangs from the edge as a polite status pill. It takes a semantic `tone`, scales in from the edge, and only fades under reduced motion (`KF-CS729Y`).
171
+ - **`ValueTable` layout props.** `labelWidth` (a typed length) gives labels a minimum column and the value the rest of the row; `presentation="stacked"` puts each value under its label, starting at the label's text; and `stackBelow="compact" | "narrow"` stacks only while the table itself is narrower than 512px or 576px (a stacking table fills its container's width). Apps no longer override `--kui-value-table-row-columns` and the row gap/padding tokens for this (`KF-BTMDH5`).
172
+ - **`SplitButton`.** `@kerfjs/ui/split-button` renders a primary action and an attached options trigger on one loud semantic fill (`tone`: brand, neutral, success, warning, danger) with `fill` for full width, `busy` (a spinner and `aria-busy`), and separate `disabled`/`optionsDisabled`. Both halves are native buttons, so the options trigger's `aria-expanded`, `aria-haspopup`, and name reach assistive technology, which a `wa-button-group` could not (`KF-KFC7C2`).
173
+ - **`IconToggleButton` for standalone icon toggles.** `@kerfjs/ui/icon-toggle-button` renders a native `aria-pressed` button with a single contained `ToolbarControlGroup`'s 44px geometry and raised pressed face (pill or rounded), for content and pane footers where a `Toolbar` does not belong and `ToolbarControlGroup`'s toolbar-parent rule (`KUI-L201`) applies. Its required `label` names it and, with help tags registered, shows on hover and focus (`KF-HBWDHE`).
174
+ - **Selected-chrome opt-out for icon-state toggles.** `ToolbarControlGroup` `selectedChrome="none"` keeps pressed controls looking like their neighbors, and `data-selected-chrome="none"` on one button opts out just that control, for a toggle whose glyph already shows its state (an empty or filled star). Hover and focus treatment are unchanged (`KF-GGDABA`).
175
+ - **`FramedList` for inset-grouped rows.** `@kerfjs/ui/framed-list` draws `ValueTable`'s rounded, bordered frame (lowered or base surface) around `FramedListRow`s of arbitrary content, with each row owning its 8px inset, a 44px minimum height, the inset divider above it, and an optional `highlighted` tint. Settings, account, and shortcut lists no longer need a hand-rolled `ul` stylesheet (`KF-2HB7RT`).
176
+ - **ARIA root attributes and a document inset for `List`/`Row`.** `rootAttributes` on a `List` or `Row` now also accepts `aria-*` attributes and a structural `role` (`region`, `group`, `list`, `status`, landmarks, …), so a labeled drop-target region or an `aria-busy` stack needs no wrapper; widget roles are dropped, and a multi-select List keeps owning its grid role and name. `List` `inset="document"` adds a reading inset (24px block, 32px inline, 16px inline below 576px) for reader views (`KF-DNZJCG`).
177
+ - **`Badge` icon, title, and identity.** A text `Badge` takes a decorative leading `icon` (4px before its text, like `Chip`), and every Badge takes a `title` tooltip and safe `data-*` `rootAttributes`, so apps no longer wrap a Badge for status identity or nest a `Row` inside it for icon spacing. A text Badge with a `label` is now a labeled image (`role="img"`), so that name is actually exposed in place of its abbreviated visible text (`KF-2YKKK5`).
178
+ - **`IconButton` for icon-only Lucide buttons.** Web Awesome gives a `wa-button` its square icon-button geometry only when its label holds a lone `wa-icon`, so a button whose only child was a `LucideIcon` kept text-button padding and did not match an adjacent field. `IconButton` (`@kerfjs/ui/icon-button`) renders a `wa-button` with a `LucideIcon` as a square one form-control height on each side, takes a required `label` that names it, and keeps that square beside a field in a `ListInsetControl` (`KF-1315VN`).
179
+ - **`List` surface.** `surface="base"` or `"raised"` paints `--kui-color-surface` or `--kui-color-surface-raised` behind a List and its insets, so a banner strip above a sunken work area no longer needs an app wrapper whose only CSS is a background. A lowered region remains a `SunkenPanel` (`KF-ZKYYH1`).
180
+ - **`CornerStatus` for non-dismissible app-level progress.** The new `@kerfjs/ui/corner-status` component hosts one or more `StateBanner`s at a viewport corner (`placement`: `bottom-end` by default, `bottom-start`, `top-end`, or `top-start`, RTL-aware) with a 16px gutter plus device safe-area insets. It is a native `popover="manual"` in the top layer, so it sits above fixed and z-indexed page chrome, and it has no close button, light dismiss, Escape handling, or focus change. `wireCornerStatus` (`@kerfjs/ui/wire-corner-status`) opens each host as renders insert it; the app removes the host when the work ends. Inside it, a banner drops its inline margin, gains elevation, and paints its tone fill over the opaque surface. `presentation="embedded"` renders the same stack in flow. This replaces fixed-position app CSS around a `StateBanner` and hiding a toast's close button (`KF-PZCPHQ`).
181
+ - **`StateBanner` strip presentation.** `presentation="strip"` renders a full-width status band for a layout edge, such as above a workspace: flush (no inline margin), square, with its copy on the shared content-text column and only tone-colored `dividerSides` edges (bottom by default; `''` draws none). Apps no longer zero the card's margin, radius, padding, and border tokens and draw their own per-tone rule. The default `card` presentation is unchanged (`KF-JQ8FB0`).
182
+ - **Dialogs that fill, and a non-modal dialog surface.**
183
+ - `DialogSurface` gains `height`: a definite modal height bounded by the dynamic viewport minus both gutters, like `maxHeight`. It also gains `bodyLayout="fill"`, which gives the body's whole height to one child (a `SplitView` or `Pane`) that owns its scrolling.
184
+ - The new `PopoverDialogSurface` in `@kerfjs/ui/surface-scaffold` is the non-modal counterpart. It is a native `popover="auto"` `role="dialog"` section that light-dismisses on Escape or an outside press and leaves the page interactive.
185
+ - It owns Kerf's dialog chrome and takes the same `size` / `preferredWidth` / `viewportGutter` / `height` / `maxHeight` / `bodyLayout` props, and it centers in the top layer whatever alignment its host sets. `presentation="embedded"` renders it in flow for catalogs and inline previews.
186
+ - Apps no longer hand-build popovers with their own chrome, viewport math, `:popover-open` grid, and embedded resets (`KF-XHECB9`).
187
+
188
+ - **Sunken surfaces have a fine grain texture.** Every sunken surface paints the new `--kui-sunken-surface`: a seeded 100px monochrome Gaussian grain tile at 4% maximum opacity, over the lowered color. That covers `SunkenPanel`, sunken `Pane`, Workbench regions, TabNavigator scenes, Web Awesome `appearance="sunken"`, and the catalog's lowered specimen viewport. The tile is generated once per page at runtime by the first sunken surface that renders, so no asset ships. `ensureSunkenTexture()` (exported from `@kerfjs/ui` and `@kerfjs/ui/sunken-panel`) covers pages with only Web Awesome sunken surfaces. Set `--kui-sunken-texture: none` at `:root` for the previous flat surface. An app's `--kui-sunken-panel-background` / `--kui-wa-sunken-background` override still wins (`KF-GMAK3H`).
189
+
190
+ - **Required wiring can be root-delegated actions.** Composition catalogs and `kerf.components.json` accept `wiring.actions`, the `data-action` values the app must handle with its own root `delegate()` / `delegateActions()` listener. Required wiring now names at least one helper _or_ action, so an app no longer has to mark such wiring `required: false` and weaken the check. `eslint-plugin-kerfjs`'s `ui-wiring` reports each unhandled action as `KUI-L401`. An action counts as handled when a reachable module imports a Kerf delegation API and names it as a string, selector, or table key. Comments and the component's own source do not count (`KF-AF5KD5`).
191
+
192
+ - **`kerf.components.json` declares where app-owned wiring helpers live.** `composition.wiring.sources` lists each application helper's `{ export, source }`. The generator verifies that the helper is in `helpers`, that the file exists, and that the file exports it. `ui-wiring` then resolves the app's relative imports of that helper, so page-root wiring with helpers such as `wireTicketSearchFields` no longer raises `KUI-L401`. `composition.wiring.scope` (`application` or `module`) is now authorable too. Both fields were previously expressible only in a hand-written catalog (`KF-YZE3DP`).
193
+
194
+ - **`kerf.components.json` zones can name their JSX prop.** A zone may declare `jsx: { prop }` (`children` for the default slot). The prop must be unique per component, and the generated composition catalog keeps it, so `ui-composition` maps a prop's value to its zone exactly as it does for `@kerfjs/ui`'s own catalog (`KF-99Z95S`).
195
+
196
+ - **Context `PopupMenu` owns its anchor.** A context-mode menu takes an `anchor: { x, y }` prop in viewport pixels and renders the point into its own template, so the point survives re-renders and a menu rebuilt with changed items. Open it with the new `openPopupMenu(menu)`; `openPopupMenuAt` still works for menus without `anchor`. The menu's root is now out of flow (`position: fixed`, 0×0). Previously its 0×0 `inline-block` added a line box in block layout and an extra gap slot in a flex row. Apps no longer need a fixed, 1px, z-indexed wrapper, and no z-index is needed because the open menu is in the top layer (`KF-FXGW0C`).
197
+
198
+ - **`SplitView` `listWidth`.** Size the fixed list column with a prop instead of a raw token: a number of CSS pixels, or `{ size, maxFraction }` to cap it at that share of the split's own width (`{ size: 432, maxFraction: 0.5 }` is 432px until the split is narrower than 864px). A narrow dialog then always leaves the detail in view. It is validated, and it throws when combined with `resizable`, which already sizes the list. The guide now states, and browser tests pin, that a SplitView fills any container with a definite height: a block box, a fixed-size popover, a flex column below a header, or a grid. Apps do not need a `display: grid` / `minmax(0, 1fr)` wrapper (`KF-7R5NWM`).
199
+
200
+ - **`Text` truncates at the start or in the middle.** With `wrap="truncate"`, the new `truncate` prop places the ellipsis at the `end` (default), the `start` (keeping the tail, for branch names), or the `middle` (keeping a suffix, for file paths). `truncateKeep` chooses that suffix: the last path segment (default) or a number of trailing characters. Start truncation uses an isolated left-to-right run instead of a bare `direction: rtl`, so punctuation stays in place. Both positions keep the whole value in the DOM and show it as the `title` unless the app sets one. Apps no longer need split spans or rtl CSS for this (`KF-XYA6VR`).
201
+
202
+ - **A trailing overflow menu for `ListActionRow`.** Pass `trailingMenu: { label, icon, items, placement?, disabled? }` instead of the `trailingAction*` props and the row renders a real `PopupMenu` (icon-only, no caret, opening `bottom-end` by default) as its sibling trailing control, so a command row with a "…" menu of Edit and Delete no longer needs a control inside dormant content or an override. The types accept exactly one trailing control. `trailingActionVisibility="interaction"` reveals the menu trigger on hover or focus and keeps it visible while the menu is open; a placeholder row disables it. `openPopupMenuAt` now also opens a button-triggered `PopupMenu` at a pointer position: for that opening the menu anchors at the point and opens `bottom-start`, then returns to its trigger and placement once it closes. A row can therefore open its trailing menu from its own `contextmenu` handler (`KF-VWTCYB`).
203
+
204
+ - **UX Review capture for catalogs served without Vite.** `@kerfjs/ui/vite-ux-review` now also exports the endpoint behind the catalog's **Capture region** link in server-neutral forms: `resolveUxReviewProject({ root?, projectDirectory? })`, `uxReviewProjectResponse(request, projectDirectory)` for Fetch API servers (Hono, Bun, Deno), and `uxReviewMiddleware(projectDirectory)` for Node/connect servers (Express, `node:http`). An app that serves its UX catalog from its own backend mounts one on its development server instead of hand-rolling the route. `uxReviewPlugin()` is now built on the same middleware, with unchanged behavior (`KF-PFF721`).
205
+
206
+ - **A per-entry settings pane in `@kerfjs/ui/catalog`.** Pass an entry's variant and state controls as `Catalog`'s new `settings` prop and the Catalog renders a **Settings** pane beside the stage, with the standard collapse toggle: in the pane's header while open, at the end of the entry toolbar while collapsed. Entries without settings render neither the pane nor the toggle. The app owns `settingsCollapsed`; hand the same signal to `wireCatalog`'s new `settingsCollapsed` option and it flips the signal from the toggle (`onToggleSettings` reports it) and wires the pane as a Workbench rail, so below the `narrow` breakpoint it starts collapsed and opens as an overlay that Escape or an outside press closes, exclusive with the sidebar overlay. `settingsPanel` sets the title, width, resizing, and overlay options (`settingsSize` / `settingsStorageKey` remember a resized width). The UX catalog's Badge entry demonstrates it with a playground. Consumers no longer build their own settings aside and toggle (`KF-0AY6AE`).
207
+
208
+ - **`kerf-component-catalog` generates the selection catalog too.** Packages and apps that keep `kerf.components.json` no longer hand-maintain a second selection JSON (`useWhen`, `avoidWhen`, `publicClasses`, `publicTokens`, …) for `@kerfjs/ui`'s component-catalog extension. Set `package.json#kerfComponentCatalog.selectionOutput`, add a top-level `description` and a per-component `selection` block (`useWhen`, `avoidWhen`, optional `uses`, `styleSources`, `demoSource`, `documentation`, and a `geometry` override), and `--write` / `--check` emit and verify the selection catalog beside the composition catalog. `name`, `kind`, `purpose`, `source`, `publicClasses`, `publicTokens`, and `geometry` come from the existing metadata; the composition catalog's `compatibility.componentCatalog` points at the selection file. The output is validated against the canonical selection schema, which `create-kerf-component` now ships. Recipes are not selection entries, `composed` geometry needs an explicit override, and `uses` must name this package's components or installed `@kerfjs/ui` catalog ids (`KF-K1SY5X`).
209
+
210
+ - **UX Review capture in any `@kerfjs/ui/catalog` app.** The catalog's **Capture region** header link, which starts a UX Review region screenshot preset with the project and the active entry, now ships in the package instead of living in Kerf's own demo. Add `uxReviewPlugin()` from the new Node-only `@kerfjs/ui/vite-ux-review` subpath to the Vite config. Report the project with `wireCatalog`'s new `onUxReviewProject` callback, and pass it to `Catalog`'s new `uxReview` prop. The link appears on local dev and preview servers and stays hidden on static hosting. `uxReviewCaptureUrl` and `loadUxReviewProject` are exported from `@kerfjs/ui/catalog` for custom placements (`KF-XB1G3S`).
211
+
212
+ - Deep-inset Pane content supports `--kui-pane-scrollbar-gutter: stable` for opaque edge-to-edge content, and Pane/Workbench focus rings paint above such scrollers without blocking their controls (`KF-9NVNGT`).
213
+
214
+ - NavStack now has `separator="auto" | "hidden"`. Automatic separators frame a sunken active Pane at the top chrome and optional bottom toolbar; hidden suppresses stack-owned lines (`KF-1XRSRW`).
215
+
216
+ - The UX catalog remembers its background, light or dark theme, contrast, and reduced-motion choices across reloads.
217
+
218
+ - The UX catalog can show a layout guide background with three one-pixel vertical rules at 15px, 23px, and 32px.
219
+
220
+ - `Row`, `Grid`, and `List` accept `gap={{ column, row }}` with independent typed spacing values, while their existing single-value gaps continue to apply to both axes (`KF-8HJFWC`).
221
+
222
+ - `ListHeader` accepts `badge` and `status` together, including explicit `undefined` for either when app state changes; a semantic `count` remains separate.
223
+
224
+ - `Pane`, `SunkenPanel`, plain `TabNavigator` scenes, `Workbench` regions, and static `ContentItem` surfaces can opt into keyboard or programmatic focus; `outlined` holds the standard focus ring for application states such as drop targets. Inactive scenes and collapsed panels suppress their focus stop and outline.
225
+
226
+ - `TabNavigator`, `TabNavigatorTab`, `TabNavigatorProps`, and `wireTabNavigator` name the complete persistent bottom-tab layout. The matching module, wiring, and CSS subpaths are available; former `TabScaffold` names and paths were deprecated aliases in earlier 5.0 betas.
227
+
228
+ - `Pane` exposes its resolved logical inline content insets to child CSS, so a table can paint edge to edge while its cell text stays aligned, with or without `deepInset`.
229
+
230
+ - `Pane` and plain `TabNavigator` scenes accept `deepInset` for a 16px outer content gutter while nested Row, List, and Grid spacing remains at its normal 8px.
231
+
232
+ - The TabNavigator catalog now demonstrates a NavStack with a view-owned top toolbar and Pane above the persistent tab bar, including push, tab switch, and return.
233
+
234
+ - UI Doctor now checks component root class names, stylesheet names, and CSS selectors that reach into another local component.
235
+
236
+ - Configure modal `DialogSurface` viewport gutters and typed maximum heights, including a dynamic viewport cap, without application shadow-part overrides.
237
+
238
+ ### Changed
239
+
240
+ - A resizable `@kerfjs/ui` `Workbench` panel without a `label` now names its resize handle in title style, as `ui/docs/writing.md` asks for region names: "Resize Left Rail", "Resize Right Rail", and "Resize Bottom Drawer" (previously "Resize left rail" and so on). A test or locator that matched the old accessible name needs the new one (`KF-NWS9GB`).
241
+
242
+ - `kerf-ui-doctor`'s `KUI-D040` now also checks template literals passed to title-style props, judging only their static words: ``label={`Edit ${name} shortcut`}`` is reported with the suggestion `` `Edit ${name} Shortcut` ``. Interpolated values and words joined to an interpolation are never judged. The UX demos' dynamic control names follow it ("Edit … Shortcut", "Open Ticket …", "New Tab …"), and the NavStack demo's detail item is named by its visible title alone (`KF-8B6JES`).
243
+
244
+ - `kerf-ui-doctor`'s `KUI-D040` now also reads region and landmark names, which `ui/docs/writing.md` makes title style, and raw Web Awesome field labels. The new region names are:
245
+ - the `label` of `Pane`, `Workbench`, `Toolbar`, `ToolbarControlGroup`, `TabBar`, `NavStack`, `CollapsiblePanel`, `FloatingToolbar`, and `ResizableRegion`;
246
+ - the `ariaLabel` of `SunkenPanel` and `List`;
247
+ - a `Pane`'s `contentLabel`;
248
+ - the panel, toolbar, and pane labels in Workbench, CollapsiblePanel, and NavStack configuration;
249
+ - the `aria-label` of `section`, `nav`, `aside`, `main`, `header`, `footer`, `form`, `search`, or an element with a landmark role.
250
+
251
+ The field labels it reads are the `label` of a raw `wa-input`, `wa-select`, `wa-textarea`, or `wa-radio-group`. `wa-checkbox`, `wa-switch`, and `wa-radio` option text, and `LoadingSpinner` and `Skeleton` labels, stay unread. Expect new warnings on lowercase names such as `<Pane label="Workspace pages">` ("Workspace Pages"). The package's own fixtures and examples are fixed. The catalog shell's sidebar navigation is now named "Kerf Components" (it was "Kerf components") (`KF-8JR7EC`).
252
+
253
+ - A panel toolbar's `toggle: { action, name }` (Workbench panels, `CollapsiblePanel`) now documents `name` as the panel's title-style name. Pass `name: "Navigator"`, not `"navigator"`: `name` labels the toggle group and completes the default "Show …" / "Hide …" label, which kerf never recapitalizes. The docs, demos, and recipes passed lowercase names, which produced sentence-style accessible names such as "Show output". They now pass title-style names. The catalog shell names its sidebar "Kerf Catalog" and its settings rail toggle reads "Hide Settings" (they read "Kerf catalog" and "Hide settings"). `KUI-D040` now reports a lowercase `name` in a `toggle` object literal that also has an `action` (`KF-EJ32ZH`).
254
+ - A `NavStack` root view's title now defaults to the `xlarge` page-heading size, and steps down to `large` once a back control shares the bar. An explicit `titleSize` still wins. A Workbench panel's stack keeps `large` at every depth, so narrow rails stay quieter than the work-area title (`KF-2XWXFR`).
255
+ - The built-in close control of a `wa-dialog` or `wa-drawer` now matches a borderless single `ToolbarControlGroup` button, the close a toolbar-composed dialog uses: a 40px circle with no border and the neutral hover fill, instead of Web Awesome's 35px rounded square (`KF-5B5C4W`).
256
+ - A capped, scrolling `Select` listbox, `PopupMenu` menu, or phone-width `PopupMenu` submenu now shows that it scrolls: a soft shadow lines each edge with more choices beyond it. With overlay scrollbars (macOS, iOS, Android), a capped submenu whose bottom edge fell between rows looked like a complete short list. The cue is CSS only, the same on every popup in the shared popup contract, and absent when every choice fits (`KF-B6BTHW`).
257
+ - A centered `NavStack` title (and any lone `ToolbarText` in a `centerAlign="balanced"` center) now keeps the full-strength text color the root title has, instead of dimming to the quieter `large`-size color as it centers (`KF-DX3739`).
258
+ - Once a `NavStack` shows a back control, the view title centers on the toolbar like a platform navigation bar. It stays on the midpoint while the sides leave room, moves away from a wider side when they do not, and truncates with an ellipsis before it reaches the back control or a trailing group. At the root, and on a view that supplies `toolbar.center`, the title stays left-aligned. A lone `ToolbarText` in a `centerAlign="balanced"` toolbar gets this navigation-bar layout in any `Toolbar` (`KF-9YD9KV`).
259
+ - The `NavStack` back control is now a contained, bordered `ToolbarControlGroup` (the default pill), so it reads as a real control instead of a bare chevron beside the title (`KF-TBRP2P`).
260
+ - HTML and attribute escaping in the JSX runtime now runs one pass over a value instead of one `replace` pass per special character, about 2x faster on values that need escaping. Output is unchanged (`KF-3SHRTR`).
261
+
262
+ - Rename the internal TabNavigator implementation folder, files, and focused test files from `tab-scaffold` to `tab-navigator`; public imports and rendered DOM hooks stay stable.
263
+
264
+ - `deepInset` now adds the same 8px to the top and bottom of Pane and plain TabNavigator scroll content, including scroll padding; Pane header and footer still own their safe-area edges.
265
+
266
+ - Toolbar composition guidance and catalog metadata now allow direct `KerfUiContent` in every zone; `ToolbarControlGroup` remains the recommended shared chrome for related controls.
267
+
268
+ - The UI composition lint rule checks component parent requirements for direct content passed through a named zone prop.
269
+
270
+ - Toolbar zones center direct content by default while keeping ToolbarText, control groups, and standalone primary actions on their established control-band axis.
271
+
272
+ ### Fixed
273
+
274
+ - Catalog Pane's documented `--kui-pane-scrollbar-gutter` token so downstream doctor and ESLint checks accept the supported setting (`KF-W5VXQF`).
275
+
276
+ - The actionable ToolbarText catalog example uses the standard TokenSearchField toolbar presentation for its search control, and an empty TokenSearchField shows its placeholder.
277
+
278
+ - Preserve toolbar visibility and measurement state across app renders to prevent geometry-driven render loops and repeated observer/layout work (`KF-58HBRR`).
279
+
280
+ - Restore accessible native dialog names through `@kerfjs/ui/surface-scaffold/register`, preserving live title slots and headerless labels.
281
+
282
+ - Validate remote CI freshness through newer-run searches and exact-run details before warning about a failed main build (`KF-X4PTHF`).
283
+
284
+ - Select menus now shift their complete visible surface inside narrow viewport edges while preserving `fitMenu` trigger width (`KF-H4JBQP`).
285
+
286
+ - Toolbar visibility probes stop rewriting unchanged styles, allowing catalog geometry overlays and responsive controls to settle after updates (`KF-JVWC92`).
287
+
288
+ - Busy toolbar groups preserve their relocation annotation, so the inert action and live status remain available when a panel closes.
289
+
290
+ - Navigation stacks now visibly slide pushed views over the previous screen and cross-fade both header and footer across repeated or interrupted push/pop transitions.
291
+
292
+ ### Added
293
+
294
+ - Add typed toolbar item `hideBelow`/`showBelow` lengths and `wireToolbarVisibility`, including complementary container-width overflow and dynamic font/token updates (`KF-MXE9YV`).
295
+
296
+ - Expanded grouped search supports `expandedOverflow="visible"` for application-owned surfaces below its positioning anchor.
297
+
298
+ - `@kerfjs/ui` ToolbarControlGroup adds `tileTone` quiet semantic palettes for non-interactive heading icon tiles.
299
+
300
+ - ToolbarText supports `tone="dark"` for filenames, headings, and actionable titles on loud toolbar surfaces.
301
+ - `@kerfjs/ui` Text accepts `controlMargins` for selected exterior control gutters, avoiding a Row wrapper around isolated text.
302
+
303
+ - Make lowered surfaces and decorative neutral fills/borders translucent, and replace the SunkenPanel prototype with direct component compositions.
304
+
305
+ - **UI components share `SemanticTone`.** Badge, Chip, StateBanner, and ContentItem
306
+ use `neutral`, `info`, `pop`, `success`, `warning`, and `danger`. Replace
307
+ Badge/Chip `tone="brand"` with `tone="info"`; the existing brand color tokens
308
+ still supply its palette. `BadgeTone` and `StateBannerTone` are deprecated aliases.
309
+
310
+ - **Catalog sidebars filter by item or heading name.** The shared catalog
311
+ shell now searches primary and ecosystem sections as you type, including
312
+ collapsed groups, and keeps the query when the active preview changes.
313
+
314
+ - **ListHeader has five label sizes.** `size="xs|sm|m|l|xl"` controls visual
315
+ scale separately from the semantic heading level; `sm` preserves the existing
316
+ uppercase treatment and `FieldLabel` remains unchanged.
317
+
318
+ - **The pinned TabBar catalog example scrolls with native momentum.** It no
319
+ longer reserves a long blank strip after the final tab; applications can
320
+ still opt into whole-tab settling with `snapTabs`.
321
+
322
+ - **Doctor reports foreign CSS restyles of co-owned classes.** A stylesheet
323
+ outside every co-owner now receives one `KUI-L019` per subject rule, including
324
+ inferred BEM modifiers, with the co-owner set in the diagnostic evidence.
325
+
326
+ - **Doctor respects explicit ownership groups with implicit ownership enabled.**
327
+ A group's stylesheet remains owned by the group even when one of its source
328
+ modules, or an unrelated module, imports that CSS directly.
329
+
330
+ - **LucideIcon supports filled glyphs.** Pass `appearance="solid"` to use the
331
+ icon's current text color as its fill; outline remains the default.
332
+
333
+ - **Doctor detects borrowed component markup.** Source modules that place a
334
+ foreign public class in JSX, raw HTML, or DOM class writes now receive
335
+ `KUI-L023`; documented placeable classes remain allowed.
336
+
337
+ - **Doctor offers strict same-package selector context checks.**
338
+ `ownershipContext: "any"` reports a sibling component's class even when it is
339
+ only used as selector context; cross-package composition stays available.
340
+
341
+ - **Doctor catches classless descendants of composed components.** Component
342
+ mode uses JSX evidence to identify element selectors below component hooks,
343
+ sibling roots, and direct composed child roots.
344
+
345
+ - **Doctor component ownership recognizes source evidence.** Selection-only
346
+ components and literal BEM classes rendered by a component are protected
347
+ when its stylesheet styles their block. CSS imports can supply the owned
348
+ stylesheet, and uncataloged modules can opt into the same inference.
349
+
350
+ - **`createScope().dispose` is typed as a bound function property.** Consumers
351
+ can store or return it as a teardown without a wrapper or an unbound-method
352
+ lint suppression.
353
+
354
+ - **ToolbarControlGroup grow sizing keeps its basis in wide toolbars.** An
355
+ expanded grow search now contributes its minimum width to the trailing zone's
356
+ intrinsic size, keeping sibling groups beside it instead of wrapping early.
357
+
358
+ - **TabBar can settle overflowing peers at whole-tab starts.** Opt into
359
+ `snapTabs` beside a pinned leading AppTab; selection and scroll gestures
360
+ align peers after the pin in LTR and RTL, with enough end room for the final
361
+ tab instead of leaving a clipped sliver at rest.
362
+
363
+ - **The pre-push check no longer adds timing metadata to Hot Sheet tickets.**
364
+ It still runs the repository gate or skips an identical verified clean tree;
365
+ historical timing notes remain readable through `ticket:timing summary`.
366
+
367
+ - **Wrapping catalog resource groups align with the toolbar control band.** A
368
+ single row centers in the band, while multiple rows start at its top.
369
+
370
+ - **UI browser checks cover the current catalog specimens.** Select, toolbar,
371
+ tab, and control group browser assertions now address the expanded demos;
372
+ a focused toolbar search field restores its default surface color when no
373
+ background override is set.
374
+
375
+ - **Pinned tabs cover the full leading edge of their scroll strip.** The
376
+ backing now includes the strip border as well as its padding, preventing a
377
+ sliver of a scrolling tab label from showing beside the pinned tab.
378
+
379
+ - **Catalog resource links remain readable at phone widths.** The resource
380
+ group wraps whole actions onto another row instead of clipping the Guidance
381
+ label at the right edge; `ToolbarControlGroup overflow="wrap"` is available
382
+ for the same independent-link pattern.
383
+
384
+ - **The UI analyzer resolves application component imports through TypeScript
385
+ path aliases.** `KUI-L022` now catches a styled hook class when an imported
386
+ cataloged component uses an exact or wildcard `paths` mapping; Doctor uses
387
+ the same resolution.
388
+
389
+ - **TabBar accepts standalone Web Awesome actions in `trailing` and `end`.**
390
+ A single `wa-button` can sit beside the scrolling tabs or at the far edge
391
+ without ToolbarControlGroup chrome; the composition rule recognizes the
392
+ cataloged custom element in these zones.
393
+
394
+ - **FieldLabel matches form-control labels over field previews.** The
395
+ `@kerfjs/ui/text` export gives a read-only field the same label typography
396
+ and inset as a themed Web Awesome input, with an id for accessible grouping.
397
+
398
+ - **TokenSearchField form fields match adjacent Web Awesome inputs.** The
399
+ control uses the form-control radius, and its required marker uses the
400
+ same neutral color and offset tokens as `wa-input`.
401
+
402
+ - **Grid supports labeled multi-select ContentItem tiles.** Opt into
403
+ `selectionMode="multiple"` with `ariaLabel`; `wireContentItems` follows the
404
+ rendered columns with four arrow keys and keeps nested controls independent.
405
+
406
+ - **Collapsible TokenSearchField can fill a stretched Toolbar center.** The
407
+ `fill` prop expands the field and its search group to the available width
408
+ while preserving the compact collapsed action.
409
+
410
+ - **TokenSearchField has a typed trailing icon action.** `trailingAction`
411
+ renders an accessible button with Kerf owned chrome and a full 24px wide hit
412
+ target; the existing `trailing` content slot remains for passive content.
413
+
414
+ - **PopupMenu and registered PopupSurface dropdowns preserve fast keyboard
415
+ navigation during opening.** Item focus gained while Web Awesome animates
416
+ the menu is restored after its initial focus handoff, so Enter acts on the
417
+ item the user reached.
418
+
419
+ - **PopupMenu submenu checkmarks stay inside the menu surface.** Checked
420
+ submenu rows align their checkmark beside the label instead of letting the
421
+ Web Awesome negative check margin paint beyond the submenu border.
422
+
423
+ - **Filled SegmentedControl labels keep contrast while switching themes.**
424
+ Web Awesome's native button color transition no longer interpolates the
425
+ label against the already-switched track fill.
426
+
427
+ - **Workbench numeric overlays no longer restyle the full work area on unrelated changes.**
428
+ The overlay wiring mirrors active presentation and open state onto the Workbench
429
+ root for CSS, and avoids layout measurements when no wired panel uses a numeric
430
+ breakpoint.
431
+
432
+ ## [5.0.0] - 2026-09-29
433
+
434
+ - **`ui-public-boundaries` inspects `kerfjs/html` tagged templates.** The
435
+ no-build `html` template writes the same markup as JSX, so its static
436
+ `class` attributes now carry `KUI-L101` (private `kui-*` anatomy) and
437
+ `KUI-L103` (a component's anatomy on your own element):
438
+ ``html`<aside class="kui-pane">` `` is reported with `Pane` to render, and a
439
+ plain ``html`<div class="kui-content-item">` `` with `ContentItem`, while a
440
+ `<ul>` carrier keeps the placeable class. The template's static parts are
441
+ read by the runtime's own rules; a class a hole supplies (`class=${cls}`)
442
+ is unknown and skipped.
443
+
444
+ - **`KUI-L103`'s "render X instead" answer has one implementation.**
445
+ `@kerfjs/ui` ships `ai/component-class-owners.cjs`, the rule that decides
446
+ which cataloged classes are a component's anatomy and which export renders
447
+ each. `eslint-plugin-kerfjs`'s `ui-public-boundaries` loads it beside
448
+ `application-ui-profile-sync.cjs`, and the generated `ai/components/*.md`
449
+ pages use it too, so the lint message and the component reference can no
450
+ longer name different components (a test pins their agreement over the whole
451
+ shipped catalog). A vendored `profileContractPath` directory must now also
452
+ hold `component-class-owners.cjs`; an `@kerfjs/ui` without it reports
453
+ `KUI-L090`.
454
+
455
+ - **A delegated click no longer re-fires on a target the re-render recycled.**
456
+ A delegated handler that writes a signal makes `mount()` re-render
457
+ synchronously, inside the same event dispatch; when the morph recycled the
458
+ clicked element in place into a control with a different `data-action`,
459
+ delegates registered later for the same event matched the recycled element
460
+ and fired too (a `request` click immediately ran `cancel` and undid itself).
461
+ `delegate()`, `delegateCapture()`, and `kerfjs/actions`' `delegateActions()`
462
+ now resolve every delegate's match against the DOM as it stood when the
463
+ event reached the first kerf delegate listener, like per-element listeners:
464
+ a delegate that matched at dispatch start still fires (unless an earlier
465
+ handler removed its element), one that matches only after a re-render does
466
+ not, and `delegateActions()` dispatches by the action value the element
467
+ carried at dispatch start. `mount()` stays synchronous. The
468
+ wrap-it-in-a-distinct-element workaround is no longer needed. Cost: about
469
+ 0.11 KB min+gzip, which moves the advertised core size from ~12 KB to
470
+ ~13 KB.
471
+
472
+ - **Component packages declare `placeableClasses`, and `KUI-L103` covers
473
+ their anatomy classes.** `create-kerf-component`'s `kerf.components.json`
474
+ accepts optional `boundaries.placeableClasses` (a subset of
475
+ `publicClasses`) and `boundaries.rootElement`, validates them, and copies
476
+ them into the generated `component-composition.json`.
477
+ `eslint-plugin-kerfjs`'s `ui-public-boundaries` now checks every class the
478
+ application or third-party catalogs in `.kerf-ui-profile.json` declare, not
479
+ only `kui-*` names: `<div class="acme-meter">` is reported with the
480
+ package's component to render (`Meter`), while its placeable classes stay
481
+ allowed. The scaffold template's README explains the field, and
482
+ `@kerfjs/ui/ai/skill.md` (1.50.0) applies the rule to package entries.
483
+
484
+ - **`eslint-plugin-kerfjs` `ui-public-boundaries` reports a plain
485
+ `<div class="kui-content-item">` as `ContentItem` recreated (`KUI-L103`).**
486
+ The `kui-content-item` classes stay placeable on another carrier (a `<ul>`, a
487
+ `Text`, a control-cluster `<footer>`), but a plain `<div>` carrying them is
488
+ exactly what `ContentItem` renders; the diagnostic now says to render
489
+ `ContentItem`. The `@kerfjs/ui` catalogs gain an additive `rootElement`
490
+ field (selection entry and composition `boundaries.rootElement`) naming the
491
+ element a component renders around its own placeable classes, and
492
+ `check:guidance` derives its repository check from the same fields, so the
493
+ package check and the downstream diagnostic cannot drift. The rule also
494
+ inspects the static class names of a template-literal `class` /
495
+ `className` value.
496
+
497
+ - **`eslint-plugin-kerfjs` `ui-public-boundaries` reports a component's
498
+ anatomy class written onto an application-owned element (`KUI-L103`).**
499
+ `<div class="kui-toolbar">`, `<aside class="kui-pane">`, or
500
+ `<wa-dropdown class="kui-popup-menu">` recreates a component by class and
501
+ inherits (and invites restyling of) its CSS; the diagnostic names the
502
+ component to render instead (`Toolbar`, `Pane`, `PopupMenu`). The
503
+ `@kerfjs/ui` catalogs gain `placeableClasses` (selection entry field and
504
+ composition `boundaries.placeableClasses`) naming the public classes an
505
+ application may place itself — the layout utilities, `kui-app-root`, the
506
+ `kui-content-item` geometry on a non-div carrier, and Web Awesome
507
+ `hide-actions` — and `check:catalog` requires every class-only entry to list
508
+ its classes there. A component's own element (`<Toolbar className="kui-toolbar">`)
509
+ is not reported. The README pane example and `@kerfjs/ui/ai/skill.md`
510
+ (1.47.0) now render `Pane` instead of writing its classes, and each generated
511
+ `ai/components/*.md` page states which classes are placeable and which
512
+ component renders the rest.
513
+
514
+ - **`kerf-ui-analyze` retires `KUI-L005` ("forced component dimension").**
515
+ `KUI-L019` already reports any application rule whose subject is a cataloged
516
+ component, dimensions included, so `.kui-pane { width: 300px }` was reported
517
+ twice (an error and a review finding). L005's only other shape, a public
518
+ class as an ancestor (`.kui-pane .app-sidebar { width: 240px }`), sizes the
519
+ application's own element and is allowed. The analyzer no longer emits it;
520
+ the id stays in the diagnostic registry (now listing it under `retired`) so
521
+ existing profile exceptions that name it still load.
522
+
523
+ - **`KUI-L301` now reports every `Discouraged` Web Awesome element rendered
524
+ directly.** The `@kerfjs/ui` package-default application profile avoids all
525
+ fifteen Discouraged entries (Dropdown/Dropdown Item → `PopupMenu`,
526
+ Select/Option → `Select`, Tab Group/Tab/Tab Panel → `TabBar`, Icon →
527
+ `LucideIcon`, Split Panel → `ResizableRegion`, Button Group →
528
+ `SegmentedControl`, Tree/Tree Item → `List`, and Animated Image, Comparison,
529
+ and Zoomable Frame → `ContentItem`), each with a rationale, and
530
+ `eslint-plugin-kerfjs` `ui-preferences` (and `kerf-ui-doctor`, which runs it)
531
+ now resolves a custom-element JSX tag such as `<wa-dropdown>` to its catalog
532
+ entry, not only an imported component. A declared component's own source
533
+ stays exempt because it is the wrapper that owns the element. A test keeps
534
+ the profile's avoid set equal to the catalog's Discouraged set in both
535
+ directions and lints the UX demo, recipes, and catalog shell clean;
536
+ `@kerfjs/ui/ai/skill.md` (1.46.0) names the diagnostic.
537
+
538
+ - **New (`@kerfjs/ui`): `NavStack` and `TabScaffold` take `chromeDividers`
539
+ (`'scroll' | 'always' | 'none'`), like `Pane`.** `scroll` (the default) keeps
540
+ today's behavior: the stack's top-chrome and bottom-toolbar lines and the
541
+ scaffold's bar line follow the scroll once `wireScrollDividers` is installed.
542
+ `always` draws them permanently without the wiring; `none` never draws them,
543
+ even when wired. The top `Toolbar`'s own `toolbarConfig.dividerSides` is
544
+ unaffected. `SplitView` forwards it to its compact stack through
545
+ `compactStack.chromeDividers`.
546
+
547
+ - **Fix (`@kerfjs/ui`): a `Pane` that is the only content of a `NavStack` view
548
+ or a `TabScaffold` scene fills it.** It used to size to its content, so the
549
+ view scrolled the whole Pane and its header scrolled away. Now the Pane's own
550
+ content scrolls under its pinned header and footer, the Pane's slots take the
551
+ safe-area edges the view or scene still reaches, and scroll dividers key on
552
+ the Pane's content. The rule lives in `pane.css`, as the Workbench-region fill
553
+ does.
554
+
555
+ - **The `@kerfjs/ui` suite-v3 AI-regression protocol test runs in every gate
556
+ again.** `ui/tests/integration/ai-regressions-v3.test.ts` was selected by no
557
+ package script, so neither `npm --prefix ui run check` nor CI executed it. It
558
+ now runs as `test:ai-regressions` inside the package's `npm test`, and a new
559
+ unit guard fails when any file under `ui/tests` is selected by no script
560
+ reachable from `check` or `test:e2e`.
561
+
562
+ - **Importing `@kerfjs/ui/catalog` or `@kerfjs/ui/workbench` now ships every
563
+ stylesheet those composites render.** `catalog`, `workbench`, `nav-stack`,
564
+ `split-view`, `tab-scaffold`, and `collapsible-panel` gain a CSS-aware
565
+ `browser` export condition whose generated wrapper imports the foundation, the
566
+ CSS of each internally rendered component (Pane, Toolbar, ToolbarText, List,
567
+ ListItem, ListInsetText, Row, PopupMenu, …) in dependency order, and the
568
+ composite's own CSS. Apps no longer hand-import `pane.css`, and a Catalog
569
+ sidebar's styling no longer depends on whether the app happens to import
570
+ `ListInsetText` elsewhere. The list is derived from the source import graph
571
+ (now following parent-relative imports), the `import` condition stays
572
+ CSS-free, and the companion `.css` subpaths remain for pipelines without the
573
+ `browser` condition. `@kerfjs/ui/ai/skill.md` is 1.46.0.
574
+
575
+ - **The `@kerfjs/ui` AI guidance now states every maintainer design rule
576
+ explicitly.** An audit of the package's tickets folded the missing rules into
577
+ `@kerfjs/ui/ai/skill.md` (1.45.0), `llms.txt`, and the design docs: prefer a
578
+ Kerf UI component over a Web Awesome component over a raw tag and never render
579
+ a `Discouraged` Web Awesome element directly (only through the Kerf component
580
+ that wraps it); nothing wraps inside a `ToolbarControlGroup` and a
581
+ `ToolbarText` is one ellipsized line unless `wrap`/`maxLines` is set; a
582
+ `Select` or `PopupMenu` trigger drops its focus ring while its popup is open
583
+ and the ring follows the control's shape (never add ring CSS); dividers earn
584
+ their place (`dividerSides=""` over self-spacing content or between a pane's
585
+ header and its list, never padded around); a control sits near where its
586
+ effect appears; and text aligns to text and icons to icons — a border is
587
+ never the alignment anchor. The ToolbarControlGroup catalog entry no longer
588
+ points at a hand-written `wa-dropdown` trigger, and the bundled kerf app
589
+ configs (`ai/skill.md` 1.25.0, `ai/cursorrules` 1.23.0) name the List family
590
+ and carry the "components own their styles; configure, never override" rule.
591
+
592
+ - **Applications and component packages are held to the component-ownership
593
+ rules `@kerfjs/ui` enforces internally: components own their styles and are
594
+ configured, never overridden.** `kerf-ui-analyze` and `kerf-ui-doctor` add
595
+ four error diagnostics (review findings under `--adoption`):
596
+ - `KUI-L019` — a CSS rule whose subject is another package's cataloged
597
+ component: a public class (`.kui-toolbar`, `.acme-meter`), its
598
+ `[data-component]` root, or a Web Awesome tag the package themes
599
+ (`wa-button`). Your own element in a component's context
600
+ (`.kui-toolbar > .my-widget`), keying on its state inside `:has()`, and
601
+ setting its public tokens stay allowed.
602
+ - `KUI-L020` — reading or writing another component's private `--_*`
603
+ variable (`--_kui-list-gap`).
604
+ - `KUI-L021` — overriding a token a typed prop sets (`--kui-list-gap` is
605
+ `<List gap>`); the message quotes the prop's example.
606
+ - `KUI-L022` — a class placed on a component's root (`<Toolbar
607
+ className="header" />`) that the application then styles.
608
+
609
+ Each message names the component's configuration (typed props, public
610
+ tokens, variants) and ends by routing a need with no prop to a component-gap
611
+ report instead of an override. Ownership is per package, from the nearest
612
+ `package.json`, so a component package styling its own components — including
613
+ in a Kerf UI parent's context — passes, and third-party catalogs declared in
614
+ `.kerf-ui-profile.json` get the same protection. `eslint-plugin-kerfjs` adds
615
+ `ui-component-ownership` (in `recommended-ui` and `strict-ui`, `error`),
616
+ reporting `KUI-L020` / `KUI-L021` in style strings, style objects, and
617
+ `style.setProperty()`. The `create-kerf-component` scaffold now ships a
618
+ `counter.css` that styles only Counter (configured by a typed `size` prop and
619
+ a `--kerf-counter-gap` token, with context named after Counter and a
620
+ Toolbar-context rule in its own stylesheet), plus `npm run check:styles`
621
+ (`kerf-ui-analyze`, from a new `@kerfjs/ui` dev dependency) in
622
+ `prepublishOnly`.
623
+
624
+ - **Behavior change (`@kerfjs/ui`): `NavStack` and `TabScaffold` chrome
625
+ dividers follow the scroll.** The `NavStack` bottom toolbar's and the
626
+ `TabScaffold` bar's top borders are no longer permanent. With `wireScrollDividers`
627
+ installed, a `NavStack`'s top chrome draws a line along its bottom edge only
628
+ while the active view's content is scrolled beneath it, its bottom toolbar a
629
+ line along its top edge only while more content lies below, and a
630
+ `TabScaffold` bar a line along its top edge only while the active scene's
631
+ content continues below it — none when the content fits. The line follows
632
+ the active view across a push or pop and the active scene across a tab
633
+ switch, and keys on whichever element actually scrolls: the view or scene
634
+ itself, or, through a sole child with no chrome of its own on that edge, a
635
+ `Pane`'s content or a nested `NavStack`'s active view (a sole `Pane`'s own
636
+ header or footer draws that boundary instead). Each layout draws the line
637
+ from its own stylesheet (an overlaid pseudo-element on the stack's chrome; the
638
+ bottom toolbar and bar keep their 1px top border, transparent until shown),
639
+ so nothing moves; the wiring
640
+ writes only its `data-scroll-overflow` / `data-scroll-divider` state. Without
641
+ the wiring those edges draw no line.
642
+
643
+ - **Behavior change (`@kerfjs/ui`): toolbars no longer draw a divider by
644
+ default; dividers between pinned chrome and scrolling content follow the
645
+ scroll.** `Toolbar`'s `dividerSides` now defaults to `''` (was `'b'`), and
646
+ the `Workbench` (`mainToolbar`, `mainBottomToolbar`, panel toolbars, and the
647
+ `mainHeader` / `mainFooter` lists), `CollapsiblePanel`, and `Catalog`
648
+ toolbars no longer place dividers of their own. Instead a `Pane` draws one
649
+ line under its header and one over its footer, wherever that chrome ends:
650
+ the header's only while content is scrolled beneath it, the footer's only
651
+ while more content lies below, and neither when the content fits. The new
652
+ `@kerfjs/ui/wire-scroll-dividers` subpath's `wireScrollDividers(root, {
653
+ targets? })` reports that state — call it once at the app root and keep its
654
+ disposer (`wireCatalog` installs it for its own root). It also marks each
655
+ side of a `TabBar` strip with tabs scrolled out of view, and lets a
656
+ `Toolbar` or `List` named as chrome in `targets` draw the divider facing an
657
+ app-owned scroller. The wiring only writes the `data-scroll-overflow` /
658
+ `data-scroll-divider` state attributes; each component draws its own line,
659
+ and no state moves the chrome, the content, or a tab. `Pane` gains
660
+ `chromeDividers` (`scroll` default, `always`, `none`; also in `PaneConfig`,
661
+ so `mainPane` and a panel's `pane` forward it) and TabBar the
662
+ `--kui-tab-bar-divider-color` token. To keep a permanent line, set
663
+ `chromeDividers: "always"` on the pane or an explicit `dividerSides`.
664
+
665
+ - **`@kerfjs/ui`: `Pane`, `NavStack`, `SplitView`, and `TabScaffold` fill a
666
+ Workbench region from their own stylesheets.** As a Workbench main area's
667
+ or panel's only child, each sets its own `height: 100%` in that context,
668
+ which the Workbench marks on its regions (`data-workbench-main`, and the new
669
+ `data-workbench-panel-content` on each panel's content); `workbench.css` no
670
+ longer sizes another component's root (it still fills a nested Workbench).
671
+ Rendering is unchanged.
672
+
673
+ - **`@kerfjs/ui`: layouts name the covered-floating-controls context after
674
+ themselves, and no longer write `FloatingToolbar`'s inset token.** Workbench,
675
+ CollapsiblePanel, and ResizableRegion each provide their own private
676
+ `--_kui-<layout>-covered` context in place of the shared
677
+ `--_kui-floating-covered` flag; `FloatingToolbar` and every restore corner
678
+ read all three. A restore corner no longer sets
679
+ `--kui-floating-toolbar-inset: 0px`; `FloatingToolbar` zeroes its own inset
680
+ inside a restore corner (a toolbar's own `inset` still wins). Rendering is
681
+ unchanged. One edge case changes: a floating control inside an open overlay
682
+ of one layout type that is itself covered by another layout type's open
683
+ overlay (for example, a ResizableRegion overlay in a Workbench work area
684
+ under an open rail overlay) now stays hidden.
685
+
686
+ - **`@kerfjs/ui`: `ListHeader`, `NavStack`, `Select`, and `StateBanner` no
687
+ longer restyle a composed child through a class on its root.** Each child
688
+ now styles itself: `Text` sets a `ListHeader` label from `text.css`, `Badge`
689
+ spaces a `Select` count and a `StateBanner` badge from `badge.css`, and a
690
+ `NavStack` title uses `ToolbarText`'s new `fill` option. Rendering is
691
+ unchanged. `ToolbarText` gains `fill` (grow into the free space of its
692
+ toolbar zone and truncate there). The `kui-list-header__label`,
693
+ `kui-nav-stack__title`, `kui-select__count`, and `kui-state-banner__badge`
694
+ classes are removed; select a ListHeader label with
695
+ `.kui-list-header__title > .kui-text` and a NavStack title with
696
+ `.kui-toolbar-text[data-fill="true"]` if a test needs to find them.
697
+
698
+ - **`@kerfjs/ui` ships a markdown component reference for AI assistants.**
699
+ `@kerfjs/ui/ai/components/README.md` indexes every catalog entry in one line,
700
+ and `@kerfjs/ui/ai/components/<id>.md` gives each entry a short page: when to
701
+ use and avoid it, imports and CSS/registration side effects, a link to its
702
+ exact props, legal parents and zones (JSX prop and child count), app- and
703
+ wiring-owned state, geometry, accessibility obligations, its styling boundary
704
+ (configure through props; do not override internals), and its diagnostics.
705
+ `llms.txt` and the shipped skill now send assistants there instead of to the
706
+ 263 KB `component-catalog.json` and 221 KB `component-composition.json`,
707
+ which remain the canonical sources for tools. The pages are generated from
708
+ those two files and a package check fails when they drift.
709
+
710
+ - **Breaking (`@kerfjs/ui` and `create-kerf-component`): the composition
711
+ catalog files are renamed so they no longer read as a "v2" of the component
712
+ catalog.** The composition catalog is a generated composition layer beside
713
+ `component-catalog.json`, not a newer version of it. Update any import,
714
+ `$schema`, `$ref`, or `.kerf-ui-profile.json` catalog location that names an
715
+ old path:
716
+
717
+ | Old path | New path |
718
+ | -------------------------------------------------------------- | --------------------------------------------------------------- |
719
+ | `@kerfjs/ui/ai/component-catalog-v2.json` | `@kerfjs/ui/ai/component-composition.json` |
720
+ | `@kerfjs/ui/ai/component-catalog-v2.schema.json` | `@kerfjs/ui/ai/component-composition.schema.json` |
721
+ | `@kerfjs/ui/ai/component-catalog-v2.d.ts` | `@kerfjs/ui/ai/component-composition.d.ts` |
722
+ | `@kerfjs/ui/ai/component-catalog-v2-overrides.json` | `@kerfjs/ui/ai/component-composition-rules.json` |
723
+ | `@kerfjs/ui/ai/component-catalog-extension-v2.schema.json` | `@kerfjs/ui/ai/component-composition-extension.schema.json` |
724
+ | `@kerfjs/ui/ai/component-catalog-extension-v2.d.ts` | `@kerfjs/ui/ai/component-composition-extension.d.ts` |
725
+ | `@kerfjs/ui/docs/examples/component-catalog-extension-v2.json` | `@kerfjs/ui/docs/examples/component-composition-extension.json` |
726
+ | scaffolded package `component-catalog-v2.json` | scaffolded package `component-composition.json` |
727
+
728
+ The exported types follow: `ComponentCatalogV2` → `ComponentComposition`,
729
+ `CatalogCompositionEntryV2` → `CatalogCompositionEntry`,
730
+ `ConsumerComponentCatalogV2` → `ConsumerComponentComposition`, and
731
+ `ConsumerCatalogEntryV2` → `ConsumerCompositionEntry`. In the repository,
732
+ `npm run catalog:v2:sync` is now `npm run composition:sync`
733
+ (`catalog:sync` still runs both generators). The file contents and their
734
+ `schemaVersion` are unchanged.
735
+
736
+ - **Breaking (`@kerfjs/ui`, `create-kerf-component`, and `kerfjs setup`): the
737
+ composition catalog's own fields no longer read as a "v2" of the component
738
+ catalog.** In `component-composition.json` (and any consumer composition
739
+ catalog), `"schemaVersion": 2` is now `"schemaVersion": 1` — the composition
740
+ format's own first version, independent of `component-catalog.json`'s — and
741
+ `compatibility.v1Catalog` is now `compatibility.componentCatalog`. A
742
+ scaffolded package's `kerf.components.json` renames its `v1Catalog` field to
743
+ `componentCatalog` the same way. Regenerate scaffolded catalogs
744
+ (`npm run catalog:generate`), and change any `.kerf-ui-profile.json` `composition`
745
+ location from `"schemaVersion": 2` to `"schemaVersion": 1`; a catalog still
746
+ carrying the old fields fails validation with a message naming the rename.
747
+ The `ComponentComposition` type follows (`schemaVersion: 1`,
748
+ `compatibility.componentCatalog`).
749
+
750
+ - **`@kerfjs/ui` `NavStack` bars use the standard `Toolbar` padding.** The
751
+ navigation bar dropped its toolbar's block padding to stay 44px tall, so its
752
+ title and controls touched the bar's edges. It now keeps the 8px above and
753
+ below that every other toolbar has (60px plus any top safe-area inset).
754
+
755
+ - **`@kerfjs/ui` multiline list rows break long camelCase names at word
756
+ boundaries.** A string label in a `multiline` `ListItem` or `ListActionRow`
757
+ (such as a Catalog sidebar entry) gets `<wbr>` break opportunities at its
758
+ camelCase and acronym boundaries, so `QuickTicketComposer` wraps as
759
+ `QuickTicket` / `Composer` instead of `QuickTicketComp` / `oser`. Breaking
760
+ mid-word remains the fallback for a single word that is still too wide.
761
+ - **`wbr` is a typed JSX intrinsic element.** The runtime already rendered it
762
+ as a void element; `JSX.IntrinsicElements` now declares it.
763
+
764
+ - **`@kerfjs/ui` `Badge` has a text-free dot, and `TabScaffold` tabs can show
765
+ it.** `Badge` takes `size="dot"`: an 8px solid circle in the badge's tone,
766
+ with no children, appearance, or shape. Because a dot has no text, its props
767
+ require either a `label` (announced as an image, for example
768
+ `label="New activity"`) or `ariaHidden` when the owning component already
769
+ announces it. `TabScaffoldTab` accepts `badge: true` for the iOS tab-bar dot
770
+ (new content without a count), centered on the icon's top-trailing corner;
771
+ its `badgeLabel` is required and joins the tab's accessible name
772
+ ("Settings, Update available"). `BadgeTextProps` and `BadgeDotProps` are
773
+ exported from the root barrel.
774
+
775
+ - **`@kerfjs/ui` `Toolbar` truncates the leading title instead of letting the
776
+ center zone cover it.** When a leading identity, a `center` group, and
777
+ trailing actions no longer fit one row, the center zone keeps its whole
778
+ content width and the leading title ends in an ellipsis. Previously the
779
+ center track could shrink below its group, which then painted over the
780
+ title — a pushed `NavStack` view with a center group did this at 390px. The
781
+ fix holds under every `responsive` policy and both `centerAlign` values, and
782
+ a toolbar that fits lays out exactly as before.
783
+
784
+ - **`@kerfjs/ui` `ValueTableRow` keeps its value readable beside a long
785
+ label.** A long single-word label (such as `ConnectionStateBanner` in a
786
+ 390px-wide table) no longer squeezes the value to 0px wide, where it wrapped
787
+ one character per line while the label ran underneath it. The label and value
788
+ now share the row as two content-sized columns: a short value stays whole on
789
+ one line, the label wraps at its spaces and ends an over-long word in an
790
+ ellipsis before the value, and when both are long they split the row.
791
+
792
+ - **`@kerfjs/ui` pinned chrome can give way in a short pane.** `Pane` takes
793
+ `chromePlacement="auto"`: its header and footer stay pinned while the pane is
794
+ at least 480px (30rem) tall, and below that the whole pane scrolls as one
795
+ column so tall chrome never squeezes the content to nothing.
796
+ `WorkbenchChromePlacement` gains `"auto"` for `mainHeaderPlacement` /
797
+ `mainFooterPlacement`, and `Catalog` now defaults `headerPlacement` /
798
+ `footerPlacement` to `"auto"`. Its entry description is pinned under the
799
+ toolbar, which at 200% text size on a short window had left the preview 0px
800
+ tall.
801
+
802
+ - **`@kerfjs/ui` `TabScaffold` tabs can show a badge.** Give a
803
+ `TabScaffoldTab` a `badge` (a count or short string) to show the iOS tab-bar
804
+ badge — a compact, solid danger `Badge` at the top-trailing corner of the
805
+ tab's icon. The badge is hidden from assistive technology; the tab's
806
+ accessible name becomes `"<label>, <badgeLabel>"` (for example
807
+ "Inbox, 3 unread"), with `badgeLabel` defaulting to the badge text. Tabs
808
+ without a badge are unchanged.
809
+
810
+ - **`@kerfjs/ui` `ListItem` and `ListActionRow` labels stay out of the
811
+ trailing slot.** A long single-word primary label (such as a Catalog sidebar
812
+ entry named `ConnectionStateBanner` in a narrow rail) no longer runs
813
+ underneath trailing status text. Single-line rows now end the primary label
814
+ and description with a real ellipsis (previously the text was cut mid-glyph
815
+ with no "…"), and `multiline` rows break a word wider than the label column
816
+ onto the next line.
817
+
818
+ - **Custom elements keep the `role` and `aria-*` they set on themselves across
819
+ re-renders.** Web components conventionally own their host's ARIA (Web
820
+ Awesome's `wa-option` sets `role="option"` / `aria-selected`, `wa-divider`
821
+ sets `role="separator"`; Shoelace and FAST do the same), but a template never
822
+ mentions them, so the morph and the keyed-list attribute fast path stripped
823
+ them on the next re-render. On any custom element (hyphenated tag), `role`
824
+ and `aria-*` are now element-owned like `open`: never removed just because
825
+ the template omits them. The template can still set or change them, a signal
826
+ binding set to `null` / `false` still removes them, and plain elements are
827
+ unchanged. Trade-off: omitting one from a static template no longer removes
828
+ it from a custom element — render an explicit value (`aria-pressed="false"`)
829
+ instead.
830
+
831
+ - **`@kerfjs/ui` layout regions no longer slow edits to long lists inside
832
+ them.** The rule that clears the safe-area context for the children of a
833
+ Workbench main area or panel, SplitView list or detail, NavStack view,
834
+ TabScaffold scene, or CollapsiblePanel content made each child re-check the
835
+ region in Chromium on every DOM change. A 1000-row list placed directly in
836
+ one of these regions took about 46ms per style recalculation (2ms with the
837
+ list one level down), and now takes about 0.2ms. Layout and insets are
838
+ unchanged.
839
+
840
+ - **`@kerfjs/ui` `CollapsiblePanel` no longer slows insertions into long
841
+ lists.** An expanded inline panel clears its screen edge for its siblings;
842
+ the rules that did so selected the siblings themselves
843
+ (`:has(~ panel)` and `panel ~ *`), which in Chromium made each row inserted
844
+ into or removed from a long list restyle the list's other rows — about
845
+ 14.6ms instead of 0.2ms per insertion beside a 1000-row list. The panel's
846
+ container now carries a flag that a CSS style query reads, so a list pays
847
+ nothing. The edge still clears for the panel's siblings and returns when it
848
+ collapses; the one difference is that a sibling placed before a left panel
849
+ or after a right or bottom panel now loses the edge too.
850
+
851
+ - **`@kerfjs/ui` restore corners and covered floating controls no longer slow
852
+ every style recalculation.** The `CollapsiblePanel` / `ResizableRegion`
853
+ restore-corner anchor scope (`:has(> restore) > * > * > *`) and the static
854
+ side-overlay covered flag (`:has(> open overlay) > :not(overlay)`) put a
855
+ universal selector after a `:has()` container, which in Chromium restyled
856
+ the children of every ancestor of each DOM change — about 85ms instead of
857
+ 1ms per edit beside a 1000-row list. The drawer now publishes its anchor
858
+ only beside a restore control's container (or its work-area column), and
859
+ the covered flag is set on the overlay's container and cleared on its
860
+ overlay children. Restore-corner placement and covered-control hiding are
861
+ unchanged; a new CSS unit test rejects the costly `:has()` shapes.
862
+
863
+ - **`@kerfjs/ui` adds `ContentItem`.** Import it from
864
+ `@kerfjs/ui/content-item` to render one self-contained pane child with the
865
+ shared 8px margin, 1px border, and 8px padding. Framing and shape are typed
866
+ props instead of hand-written modifier classes:
867
+ - `frame="framed"` paints the neutral border in the 1px the item always
868
+ reserves, so its geometry does not change (replacing
869
+ `class="kui-content-item kui-content-item--framed"`);
870
+ - `shape="pill"` selects the 22px radius.
871
+ - `ariaLabel` names a distinct region, and `focusTarget` makes the item a
872
+ programmatic focus target (`tabindex="-1"`), such as a NavStack view's
873
+ `data-nav-focus` target.
874
+
875
+ The `.kui-content-item` classes stay public for elements that must carry the
876
+ geometry themselves; their CSS now lives in `content-item.css`, which
877
+ `layout.css` still imports. There is no filled variant — use `SunkenPanel`
878
+ for a lowered surface. The catalog, demos, and recipes use the component.
879
+
880
+ - **`@kerfjs/ui` icon-only toolbar buttons show the same help tag.** An
881
+ icon-only `<button>` or link inside a `ToolbarControlGroup`, named by
882
+ `aria-label` with no visible text, now shows the help tag icon-only Selects
883
+ and PopupMenus show, with the same 500ms hover delay, keyboard-focus-only
884
+ display, press/Escape dismissal, and quick scanning along a toolbar. The tag
885
+ is `aria-hidden` and never renames the button. A button with a native
886
+ `title`, or with its own Web Awesome tooltip, keeps that and gets no second
887
+ tag. The `select/register` and `popup-menu/register` imports install it; a
888
+ toolbar with icon-only buttons but neither control imports the new
889
+ `@kerfjs/ui/help-tags/register` subpath, which registers only the tooltip.
890
+
891
+ - **`@kerfjs/ui` icon-only Select and PopupMenu triggers show a help tag.**
892
+ An icon-only `Select` (single or `multiple` with `triggerIcon`) and an
893
+ icon-only `PopupMenu` now show a Web Awesome tooltip naming the control on
894
+ hover (after 500ms) and on keyboard focus: a filter reads "Filter by label:
895
+ Bug, Docs", a single Select its name and current choice, a menu its `label`.
896
+ It hides while the popup is open, on a press, and on Escape. The tag repeats
897
+ the accessible name, so it is `aria-hidden` and never joins
898
+ `aria-labelledby`; screen readers still hear the name once. It is installed
899
+ by the existing `select/register` and `popup-menu/register` imports, needs no
900
+ props, and never appears for labeled Selects or text menu triggers.
901
+
902
+ - **`@kerfjs/ui` toolbar groups drop their focus ring while a popup is open.**
903
+ A `ToolbarControlGroup` that owns the ring (`focusRing="outline"` or
904
+ `"halo"`) no longer paints it while a Select listbox or `PopupMenu` inside it
905
+ is open; the open popup shows focus, and the ring returns when the popup
906
+ closes with focus still in the group. This matches the per-control Select
907
+ and PopupMenu triggers.
908
+
909
+ - **`@kerfjs/ui` multiple `Select` can be an icon-only toolbar filter menu.**
910
+ Set `selectedPresentation: 'icon-only'` on a `multiple` Select together with
911
+ a fixed `triggerIcon` (for example a funnel `LucideIcon`); the types require
912
+ `triggerIcon` there and reject it everywhere else. The trigger keeps the
913
+ icon-only caret pill used in a `ToolbarControlGroup`, and:
914
+ - shows the fixed icon whatever is chosen;
915
+ - adds a compact count `Badge` while any choice is chosen;
916
+ - ends the combobox's accessible name with the chosen labels in choice order
917
+ ("Filter by label: Bug, Docs"), leaving the hidden value text empty so the
918
+ list is not announced twice.
919
+
920
+ The popup still stays open while choices toggle.
921
+
922
+ - **`@kerfjs/ui` `Select` options keep their accessibility semantics across
923
+ re-renders.** Re-rendering a Select (for example after its `change` handler
924
+ updates the controlling signal) removed the `role="option"` and
925
+ `aria-selected` Web Awesome sets on each option, so screen readers lost every
926
+ option's role and selected state. They now survive in single and `multiple`
927
+ Selects through the core rule below (custom elements own their `role` /
928
+ `aria-*`), with no Select-specific restore.
929
+
930
+ - **`@kerfjs/ui` `Select` dividers keep their separator role across
931
+ re-renders.** The `wa-divider` a `separatorBefore` choice adds lost the
932
+ `role="separator"` and `aria-orientation` Web Awesome sets on it the first
933
+ time the enclosing mount re-rendered, and never got them back, so assistive
934
+ technology stopped announcing the break between option runs. The Select now
935
+ renders both attributes itself.
936
+
937
+ - **`@kerfjs/ui` `Select` and `PopupMenu` re-renders no longer force Web
938
+ Awesome updates.** Web Awesome reflects its default `size`, `appearance`,
939
+ `placement`, and `orientation` onto `wa-select`, `wa-dropdown`, and
940
+ `wa-divider`; the templates omitted them, so every re-render of the enclosing
941
+ mount stripped them and each host ran a full Lit update to put them back. The
942
+ templates now render those defaults (`wa-select size="m"
943
+ appearance="outlined" placement="bottom"`, `wa-dropdown size="m"`, divider
944
+ `orientation="horizontal"`), so an unchanged re-render leaves the hosts
945
+ alone. No visual change. The `@kerfjs/ui/webawesome` JSX declarations type
946
+ these attributes.
947
+
948
+ - **`@kerfjs/ui` Workbench and CollapsiblePanel panes and chrome lists are
949
+ configurable.** The `Pane`s these layouts compose around app content now
950
+ take the new `PaneConfig` type (`contentElement`, `contentLabel`,
951
+ `separators`, `safeAreaEdges`): a Workbench panel's or `CollapsiblePanel`'s
952
+ `pane`, and the Workbench's `mainPane`. The `List`s holding `mainHeader` /
953
+ `mainFooter` take the new `ListConfig` type (`gap`, `hAlign`, `vAlign`,
954
+ `dividerSides`, `textInsets`, `controlInsets`) through `mainHeaderList` /
955
+ `mainFooterList`. Previously this configuration was hard-coded, so, for
956
+ example, a navigator rail could not render its content as a `nav` landmark
957
+ without restyling. Omitted or `undefined` fields keep today's defaults, and
958
+ the default markup is unchanged.
959
+
960
+ - **`@kerfjs/ui` `SplitView` forwards its `ResizableRegion` and compact
961
+ `NavStack` configuration.** `resizable` now also takes the list region's
962
+ `separator`, `handleIcon`, `contentOverflow`, and collapse options
963
+ (`collapsed`, `transitioning`, `collapseMotion`, `restoreControl`,
964
+ `restorePosition`), so an app can hide the list and float a restore control
965
+ without leaving `SplitView`. The new `compactStack` prop forwards the compact
966
+ stack's `toolbarConfig`, `backIcon`, `backText`, `hideToolbar`, and
967
+ persistent `bottomToolbar`, and gives the list and detail views their own
968
+ toolbar groups (`list` / `detail`: `leading`, `center`, `toolbar`,
969
+ `bottomToolbar`). Omitted options keep today's defaults.
970
+
971
+ - **`@kerfjs/ui` `NavStack` renders its top chrome as a real `Toolbar`.** The
972
+ back control is a borderless `ToolbarControlGroup` and the title a
973
+ `ToolbarText` in the leading zone, and the stack now forwards:
974
+ - `toolbarConfig` — the `Toolbar` configuration (`dividerSides`,
975
+ `centerAlign`, `responsive`, `responsiveAt`, `safeAreaEdges`) plus `label`,
976
+ `titleSize` (default `large`), and `headingLevel`;
977
+ - per-view `leading` and `center` groups beside the existing trailing
978
+ `toolbar`;
979
+ - `backIcon` and visible `backText` for the back control.
980
+
981
+ The defaults keep today's bar: no divider, one 44px band, and the top and
982
+ side safe-area edges claimed. The hand-rolled `kui-nav-stack__lead` and
983
+ `kui-nav-stack__actions` wrappers are gone (their content now sits in the
984
+ toolbar's zones), and `kui-nav-stack__back` / `kui-nav-stack__back-icon`
985
+ are no longer styled by the stack.
986
+
987
+ - **`@kerfjs/ui` configures with props instead of token overrides.** Five
988
+ settings apps previously reached through raw `--kui-*` overrides now have a
989
+ typed prop or modifier; each defaults to today's rendering, and the
990
+ underlying tokens keep working:
991
+ - `FloatingToolbar` `inset` (a `CssLength`, default `--kui-space-m`) moves
992
+ it from the container edges. Omit it inside a restore corner, which owns
993
+ the inset.
994
+ - `DisclosureArrow` `size` (a `CssLength`, default 18px root-scaled).
995
+ - `ListHeader` `headingLevel` (1–6, default 2) sets the label's native
996
+ heading element for passive and trailing-action headers; a toggle header
997
+ has no heading and rejects it at compile time.
998
+ - `TokenSearchField` `clearIcon` replaces the clear action's glyph.
999
+ - `.kui-content-item--framed` paints the standard neutral border on a
1000
+ content item that marks a real distinction, with no geometry change.
1001
+
1002
+ The docs and AI guidance also stop recommending `--kui-edge-inset-*`
1003
+ overrides: an app-owned arrangement passes `safeAreaEdges` to its panes and
1004
+ edge-claiming toolbars (including the layout toolbar configurations, which
1005
+ forward it).
1006
+
1007
+ - **`@kerfjs/ui` hides a work area's floating controls under an open side
1008
+ overlay.** While a side overlay is open — a Workbench rail (static
1009
+ `presentation: "overlay"`, or a responsive overlay whose breakpoint applies),
1010
+ a `wireSidebar` compact overlay or `presentation="overlay"`
1011
+ `CollapsiblePanel`, or a horizontal `presentation="overlay"`
1012
+ `ResizableRegion` — the covered work area's `FloatingToolbar`s and the
1013
+ layouts' restore corners are now hidden (`visibility: hidden`, so they also
1014
+ leave the tab order and the accessibility tree) instead of relying on
1015
+ stacking order alone. A phone-width app could otherwise paint the main
1016
+ column's floating drawer toggle over its open inspector. They come back as
1017
+ the overlay closes; the overlay's own floating controls and a bottom
1018
+ drawer's overlay are unaffected.
1019
+
1020
+ - **`@kerfjs/ui` `Select` supports multiple selection.** Set `multiple: true`
1021
+ and pass the chosen values as an array `value`; the props are typed so an
1022
+ array value requires `multiple`. Behavior:
1023
+ - The popup stays open while the person toggles choices with the pointer,
1024
+ Enter, or Space, and closes only on an outside press, Escape, or focus
1025
+ leaving.
1026
+ - Each chosen option shows a check.
1027
+ - The closed control summarizes the chosen labels in choice order as a short
1028
+ localized list, or shows `placeholderText` when none are chosen.
1029
+ - `change` / `input` report the value array, and a form submits every chosen
1030
+ value under `name`.
1031
+ - Re-rendering with a different `value` updates the selection even after the
1032
+ person has interacted.
1033
+
1034
+ `renderSelected` and `selectedPresentation="icon-only"` stay single-value
1035
+ only.
1036
+
1037
+ - **`@kerfjs/ui` `PopupMenu` now looks exactly like `Select`.** Both read one
1038
+ shared popup contract, so a command menu beside a value list in a toolbar
1039
+ draws the same popup. `PopupMenu` changes:
1040
+ - its caret turns to face the open menu;
1041
+ - its menu fades in without scaling;
1042
+ - it takes the Select listbox's 4px inset (also under the default
1043
+ `menuInset="standard"`);
1044
+ - its rows use the Select option's height, padding, and reserved check
1045
+ column, and its icons use the same 16px size and 8px gap;
1046
+ - a keyboard-focused item takes the Select's current-option fill instead of
1047
+ a focus ring;
1048
+ - headings render as the Select's uppercase group titles rather than slotted
1049
+ `h3` elements.
1050
+
1051
+ An open `Select` also no longer paints its trigger focus ring. The open
1052
+ listbox shows focus, and the ring returns when it closes.
1053
+
1054
+ - **`@kerfjs/ui` `Catalog` exposes its sidebar and toolbar configuration.** New
1055
+ `sidebar` prop (size, `resizable`, `separator`, `collapseMotion`,
1056
+ `presentation`, `responsiveOverlayAt`, `compactOverlay`, and the header
1057
+ `toolbar`'s `ToolbarConfig`) forwarded to its Workbench rail, plus
1058
+ `mainToolbar` / `footerToolbar` `ToolbarConfig` props. `wireCatalog` takes
1059
+ `sidebarSize` / `sidebarStorageKey` to wire a resizable sidebar. Today's
1060
+ 288px fixed sidebar and toolbar policies remain the defaults.
1061
+
1062
+ - **`@kerfjs/ui` composed toolbars are configurable.** `WorkbenchMainToolbar`,
1063
+ `WorkbenchMainBottomToolbar`, and the panel `toolbar` of a Workbench panel or
1064
+ `CollapsiblePanel` now take the `Toolbar`'s configuration: the new
1065
+ `ToolbarConfig` type, covering `dividerSides`, `centerAlign`, `responsive`,
1066
+ `responsiveAt`, and `safeAreaEdges`. Previously their dividers were
1067
+ hard-coded, so for example dropping the line between a toolbar and its
1068
+ content took CSS. Today's dividers remain the defaults. Also:
1069
+ - `mainBottomToolbar` and panel toolbars take a `center`;
1070
+ - panel toggles take localized `showLabel` / `hideLabel`;
1071
+ - a Workbench panel's floating restore controls follow its
1072
+ `restorePosition`.
1073
+
1074
+ - **Breaking (`@kerfjs/ui`): removed the pre-release compatibility surface.**
1075
+ - The `DividerSides` type is gone; use `Sides`, from the renamed `sides`
1076
+ module.
1077
+ - `ListInsetText.horizontalOnly` and its `kui-list-inset-text--horizontal`
1078
+ class are gone; pass `sides="rl"` instead.
1079
+ - The legacy color tokens are gone, both as `--kui-color-*` properties and
1080
+ as `uiColor()` names. Replace them with their canonical tokens:
1081
+
1082
+ | Removed | Use instead |
1083
+ | --------------------------------------------- | ----------------------- |
1084
+ | `border` | `neutral-border-normal` |
1085
+ | `border-quiet` | `neutral-border-quiet` |
1086
+ | `accent` | `brand-fill-normal` |
1087
+ | `accent-text` | `brand-on-quiet` |
1088
+ | `pop` | `pop-fill-quiet` |
1089
+ | `pop-text` | `pop-on-fill` |
1090
+ | `success`, `warning`, `danger` | `*-fill-quiet` |
1091
+ | `success-text`, `warning-text`, `danger-text` | `*-on-quiet` |
1092
+
1093
+ - **New `@kerfjs/ui` `PopupMenu` (`@kerfjs/ui/popup-menu`).** It renders a
1094
+ trigger and typed commands, headings, and dividers over the Web Awesome
1095
+ dropdown. Put it in a `single` `ToolbarControlGroup` with `nestedDropdown`, or
1096
+ wrap it in a `PopupSurface`. Register it once with
1097
+ `@kerfjs/ui/popup-menu/register`. It replaces hand-written `wa-dropdown`
1098
+ markup, which the catalog discourages: the guidance, the toolbar demos, and
1099
+ the Catalog's "Components" menu now use it. It also fixes two defects that
1100
+ hand-written menus had:
1101
+ - Icon-only triggers were unnamed, because a Web Awesome button ignores an
1102
+ `aria-label` on its host. PopupMenu renders `label` as visually hidden text
1103
+ inside the button.
1104
+ - A keyboard choice (Enter or Space) never reached click-delegated
1105
+ `data-action` handlers. PopupMenu's registration routes it through the
1106
+ item's click.
1107
+ - The UX catalog's application-layout demo no longer uses the discouraged
1108
+ `wa-button-group`.
1109
+
1110
+ - **`@kerfjs/ui`'s `TokenSearchField` takes a `revision` prop for programmatic
1111
+ text replacement.** The editor's text is DOM-owned, so a new `query` with the
1112
+ same tokens was silently ignored, for example when reseeding a persistent
1113
+ dialog's field on reopen. Changing `revision` rebuilds the editor from `query`
1114
+ and `tokens`, so consumers no longer need to re-key a wrapper element.
1115
+
1116
+ - **`@kerfjs/ui`'s `TabBar` strip no longer scrolls vertically.** The strip set
1117
+ only `overflow-x: auto`, so any vertical excess (consumer padding, focus-ring
1118
+ insets, taller tabs under larger text) let it scroll up and down on touch. It
1119
+ now scrolls only horizontally, and it takes a `min-height` so it grows to fit
1120
+ taller tabs instead of clipping them.
1121
+
1122
+ - **The `@kerfjs/ui` desktop app-shell recipe is a `Workbench`.** The old
1123
+ pane switcher that showed one pane at a time below desktop sizes is gone. The
1124
+ navigation and inspector are now resizable Workbench rails with their own
1125
+ toolbars, and their show toggles relocate into the work-area toolbar. On a
1126
+ narrow container the rails overlay the task list one at a time. The
1127
+ collapsible-sidebar recipe composes each panel's `toolbar` and uses
1128
+ `CollapsiblePanelRelocated` for its restore controls.
1129
+
1130
+ - **`@kerfjs/ui`'s `CollapsiblePanel` composes a panel toolbar and relocates its
1131
+ controls.** A panel takes the same `toolbar` roles as a `Workbench` panel
1132
+ (`title`, `panelOnly`, `constant`, and a standard `toggle`) plus a `footer`,
1133
+ and the new `CollapsiblePanelRelocated` renders a collapsed panel's constant
1134
+ groups and toggle wherever the app's work-area toolbar holds them.
1135
+ `wireSidebar` hands focus to that relocated toggle when the panel closes, even
1136
+ when the app renders it a frame late. `collapsiblePanelToggleIcon` is
1137
+ unchanged.
1138
+
1139
+ - **`@kerfjs/ui`'s `Catalog` is built on `Workbench` and dogfoods the package's
1140
+ components.** The sidebar is a Workbench left rail with the standard toggle
1141
+ (labels "Show/Hide {brand} catalog"), which moves into the entry toolbar while
1142
+ collapsed; on a small screen the sidebar overlays the stage instead of the
1143
+ former stacked two-column navigation, which is gone. The sidebar, sections,
1144
+ footer, and example notes are `List` / `ListHeader` / `ListInsetText` / `Text`
1145
+ compositions, and most catalog CSS (and every viewport media query in the
1146
+ shell) is removed. New: `Catalog`'s `id`, `headerPlacement`, and
1147
+ `footerPlacement`; `wireCatalog`'s `collapsed` and `id` options (the sidebar is
1148
+ wired like a Workbench rail and an open overlay closes on a selection);
1149
+ `Workbench`'s `mainHeader`, `mainFooter`, `mainHeaderPlacement`,
1150
+ `mainFooterPlacement`, and `mainToolbar.responsive` / `responsiveAt`;
1151
+ `ListInsetText`'s `rootAttributes`. `wireWorkbench` now also re-checks panel
1152
+ breakpoints when the root font size changes, and hands focus to a panel's
1153
+ relocated toggle when an unfocused click on its own toggle closes it (WebKit).
1154
+
1155
+ - **`@kerfjs/ui`'s `Workbench` rails overlay the work area on small screens by
1156
+ default.** A rail's `responsiveOverlayAt` now defaults to `"narrow"` (704px
1157
+ of Workbench width; the new `"never"` keeps it inline), so a sidebar covers
1158
+ the work area and any open drawer instead of squeezing it, one at a time
1159
+ with `wireWorkbench`. On a compact (448px) Workbench an open overlay rail
1160
+ fills the width less a 44px dismiss strip
1161
+ (`--kui-workbench-overlay-dismiss-margin`) on the side away from its edge;
1162
+ the new per-rail `compactOverlay: "full"` fills it. The bottom drawer's
1163
+ behavior is unchanged. `WorkbenchPanelToolbar` and the other panel-toolbar
1164
+ types are now exported from `@kerfjs/ui/workbench`.
1165
+
1166
+ - **`@kerfjs/ui`'s `Workbench` composes panel toolbars and moves a closed
1167
+ panel's controls into the work area.** A panel takes an optional `toolbar`
1168
+ (`title`, `panelOnly`, `constant`, and a standard `toggle: { action, name }`
1169
+ the Workbench renders) and `footer`; the Workbench takes `mainToolbar` and
1170
+ `mainBottomToolbar`. While a panel is closed its constant groups and toggle
1171
+ move to the work area — a left rail's lead the main toolbar, a right rail's
1172
+ end it, a drawer's trail the bottom toolbar or float in a corner
1173
+ `FloatingToolbar` — and its panel-only groups stay behind. `wireWorkbench`
1174
+ keeps focus with the toggle as it moves. Panels without a `toolbar` render
1175
+ exactly as before, and a region's only-child `Pane` or layout now fills it.
1176
+
1177
+ - **`@kerfjs/ui`'s list-detail dialog guidance is Workbench-shaped.** On roomy
1178
+ devices the list is a full-height sidebar and the detail a full-height main
1179
+ column, each a `Pane` with its own top `Toolbar`; the main column carries
1180
+ the primary title, the close control (`data-dialog="close"` in a
1181
+ `without-header` Web Awesome dialog), and the record actions, instead of a
1182
+ dialog header spanning both columns. The recipe, `docs/recipes.md`, and the
1183
+ shipped AI skill say so; compact devices keep the full-screen drill-down
1184
+ sheet.
1185
+
1186
+ - **`@kerfjs/ui`'s `ToolbarControlGroup` centers a direct icon tile.** A
1187
+ non-interactive icon placed directly in a group — a heading's identity
1188
+ glyph — now takes an icon button's 40px slot and 16px visual, so it centers
1189
+ in the group. It previously sat at the group's start edge, which pushed
1190
+ apps to wrap it in a focusable `<button>` that did nothing.
1191
+
1192
+ - **`@kerfjs/ui`'s `Toolbar` keeps its controls in a top control band.** A
1193
+ toolbar now reserves one 44px band at its top: each zone item no taller than
1194
+ the band is centered in it by its own size, and a taller item — a wrapped
1195
+ `ToolbarText` title, a multi-line search, a second trailing row — starts at
1196
+ the band's top and grows down without moving the others. A wrapped title
1197
+ centers its first line in the band, so trailing controls stay beside that
1198
+ line instead of dropping to the middle of the whole title.
1199
+
1200
+ - **`@kerfjs/ui`'s segmented `TabBar` ends its strip concentric with the pill
1201
+ track.** The first tab's leading corners, and with `allocation="fill"` the
1202
+ last tab's trailing corners, now follow the track's curve instead of keeping
1203
+ the small segment radius, and compact tabs are inset from the track's ends
1204
+ by the same distance as from its top and bottom. Corners between tabs are
1205
+ unchanged.
1206
+
1207
+ - **`@kerfjs/ui`'s `StateBanner` keeps its title, badge, and detail on one
1208
+ baseline in Safari.** The truncating detail was a clipped `inline-block`,
1209
+ which WebKit baselines at its bottom edge: the detail rose about 2px above
1210
+ the title and pushed the title and badge down, so the banner's contents
1211
+ looked vertically misaligned. The detail is now an inline flex wrapper
1212
+ around a clipped inner `<span>`, which takes its text baseline in every
1213
+ engine; truncation and the narrow-width detail line are unchanged.
1214
+
1215
+ - **`@kerfjs/ui`'s `wireTabBars` reveals a tab the application selects.** A
1216
+ tab added and selected by the app in an overflowing `TabBar` stayed
1217
+ off-screen, because the wiring revealed a selection only at wire-up, on
1218
+ focus, and after its own keyboard/drag changes. A change of a bar's selected
1219
+ tab now scrolls that bar's strip (never the page) to show it; re-renders that
1220
+ keep the selection leave a user-scrolled strip alone.
1221
+
1222
+ - **`eslint-plugin-kerfjs`'s `ui-composition` rule resolves application
1223
+ wrappers imported through a barrel.** A cataloged wrapper registered only by
1224
+ its defining source file, so `import { DemandSegmentsControl } from
1225
+ './components/index.js'` (where `index.ts` re-exports it) was an unknown
1226
+ element and reported `KUI-L202` in a toolbar zone despite its `rendersAs`.
1227
+ Relative re-exports — `export { X } from`, `export { X as Y } from`,
1228
+ `export * from`, and chains of them — are now followed to the cataloged
1229
+ source file. Type-only and namespace re-exports and non-cataloged components
1230
+ stay unresolved.
1231
+
1232
+ - **A collapsed `@kerfjs/ui` `Workbench` panel or `ResizableRegion` leaves
1233
+ the accessibility tree.** Only its content was `inert`, so the labeled
1234
+ `aside` / `section` stayed behind as an empty complementary or region
1235
+ landmark that a screen-reader user could still land on. The collapsed
1236
+ region itself now renders `inert` and `aria-hidden="true"`, like a
1237
+ collapsed `CollapsiblePanel`; its separator was already hidden, and each
1238
+ `restoreControl` renders outside it and stays reachable.
1239
+
1240
+ - **An expanded `@kerfjs/ui` `CollapsiblePanel` holds its size in a flex
1241
+ layout.** The panel shrank like any flex item beside a work area with wide
1242
+ content, while its content kept the panel's fixed size for the slide-out, so
1243
+ the panel's edge clipped the content — in the collapsible-sidebar recipe at
1244
+ 1280px, the rail showed 211 of its 232px and cut off the selected Inbox
1245
+ row's count. The panel is now `flex-shrink: 0`; the sibling work area gives
1246
+ way instead.
1247
+
1248
+ - **`@kerfjs/ui` overlay panels span their host on the fixed axis.** The
1249
+ 85vw / 85vh overlay maximums (`--kui-resizable-region-overlay-max-*`,
1250
+ `--kui-workbench-overlay-max-*`) applied to both axes, so an overlay bottom
1251
+ drawer stopped about 15% short of its host's width and an overlay side rail
1252
+ in a full-height layout stopped short of the bottom. Each maximum now caps
1253
+ only the panel's resizable axis: side overlays cap their width, drawers
1254
+ their height.
1255
+
1256
+ - **An overlay `@kerfjs/ui` `ResizableRegion` paints the surface.** With
1257
+ `presentation="overlay"` the region floated over the work area with a
1258
+ shadow but no background, so the content beneath — and a collapsed rail's
1259
+ restore control stacked under it — showed through. It now paints
1260
+ `--kui-color-surface`, like an overlay `CollapsiblePanel`; an inline region
1261
+ stays transparent over its host.
1262
+
1263
+ - **A pinned `@kerfjs/ui` resize separator no longer overwrites the
1264
+ remembered size.** When a container squeezes a `Workbench` rail, drawer, or
1265
+ `ResizableRegion` below its `min` (or its reachable range collapses to one
1266
+ size), the separator cannot move it, yet an arrow/Home/End key or a drag
1267
+ still committed the configured `min` to the app's size signal and storage:
1268
+ a rail remembered at 280px silently became 180px and came back at 180px
1269
+ when the window widened. A pinned separator now commits nothing, so the
1270
+ track returns at its remembered size once there is room.
1271
+
1272
+ - **A `pending` `@kerfjs/ui` `AppTab` is selectable and no longer dimmed.**
1273
+ A known tab that is still opening now keeps its select button enabled and
1274
+ in the roving tab order, so a user can switch to it and the application can
1275
+ show placeholder content in its panel until loading completes. With
1276
+ `webawesome.css` loaded, Web Awesome's native `button:disabled` no longer
1277
+ dims the pending pill to 50%; it shows only its quiet name color and
1278
+ trailing spinner, as documented. Close and dragging stay disabled while
1279
+ pending, and it stays `aria-busy`. An unknown `placeholder` tab is
1280
+ unchanged: disabled and out of the tab order.
1281
+
1282
+ - **Closing a `@kerfjs/ui` `Workbench` panel from its own control by mouse
1283
+ returns focus in Safari.** Safari never focuses a clicked button, so
1284
+ pressing an open panel's Hide control blurred the focused control to the
1285
+ page before the click collapsed the panel, and `wireWorkbench` — which
1286
+ returns focus only when it is inside the closing panel — left focus on the
1287
+ page body instead of the toggle that opened it. A press that starts inside
1288
+ the panel while focus is there now counts as focus inside, so the close
1289
+ returns it; focus the user has moved to another element since is left
1290
+ alone.
1291
+ - **A collapsed `@kerfjs/ui` `CollapsiblePanel` or `ResizableRegion` leaves
1292
+ the Tab order.** Both kept collapsed content in the DOM, only slid out and
1293
+ clipped, so Tab still reached its controls; focusing one scrolled the clipped
1294
+ panel, and a `CollapsiblePanel`'s `aria-hidden` put those focusable controls
1295
+ inside a hidden subtree. A collapsed `CollapsiblePanel` now renders `inert`
1296
+ beside its `aria-hidden`, and a collapsed `ResizableRegion` renders its
1297
+ content wrapper `inert`, with no wiring needed. The slide-out still animates,
1298
+ each `restoreControl` stays outside the inert subtree and reachable, and
1299
+ `wireSidebar` still hands focus to the panel's toggle when it collapses from
1300
+ inside.
1301
+
1302
+ - **A collapsed `@kerfjs/ui` `Workbench` rail's restore control no longer
1303
+ covers an expanded bottom drawer.** A `leftRail` / `rightRail`
1304
+ `restoreControl` floats in the Workbench's bottom corner, which the bottom
1305
+ drawer's column reaches once the rail collapses, so with the drawer expanded
1306
+ the control sat on the drawer's content. An expanded inline drawer now
1307
+ publishes its top edge as a CSS anchor scoped to its Workbench, and the
1308
+ rail's control floats the restore inset above it, returning to the corner
1309
+ when the drawer collapses. An overlay drawer (static or `responsiveOverlayAt`)
1310
+ still covers the control as every open overlay does, a nested Workbench's
1311
+ drawer moves only its own rails' controls, and engines without anchor
1312
+ positioning keep the corner.
1313
+
1314
+ - **A collapsed `@kerfjs/ui` `Workbench` panel's content leaves the Tab order.**
1315
+ A collapsed rail or bottom drawer kept its content in the DOM, only slid out
1316
+ and clipped, so Tab still reached its controls; focusing one (at a narrow
1317
+ width, the collapsed inspector's or output drawer's own Hide control)
1318
+ scrolled the clipped panel and slid its hidden content back over the work
1319
+ area. The panel's content wrapper now renders `inert` while `collapsed`, with
1320
+ no wiring needed, so neither Tab nor assistive technology reaches it; the
1321
+ slide-out still animates and the `restoreControl`, which lives outside the
1322
+ content, stays reachable.
1323
+
1324
+ - **A `kerfjs/overlay` popover or tooltip in a transformed or filtered modal
1325
+ `<dialog>` now lands against its anchor.** A surface rendered into a
1326
+ dialog's `[data-kerf-overlay-host][data-morph-skip]` slot is
1327
+ `position: fixed`, and a dialog styled with `transform`, `filter`,
1328
+ `perspective`, `contain`, or `will-change` becomes the containing block for
1329
+ fixed descendants, so the surface used to land offset by the dialog's
1330
+ position (and scale). `positionAnchored` (and so `autoReposition`,
1331
+ `popover()`, and `tooltip()`) now measures the element's fixed-position
1332
+ containing block with a transient 1px probe and maps its viewport
1333
+ coordinates into it, compensating translation and scale. Rotated or skewed
1334
+ containing blocks are not compensated.
1335
+ - **The `@kerfjs/ui` UX catalog demonstrates a standalone restore control.**
1336
+ The CollapsiblePanel route gains a "Restore control" example: a bottom
1337
+ drawer that collapses to a `FloatingToolbar` `restoreControl` in its frame's
1338
+ corner, wired with `wireSidebar` so the control restores the drawer and
1339
+ focus moves between it and the drawer's own hide toggle.
1340
+
1341
+ - **A `@kerfjs/ui` collapsed rail's restore control no longer covers an open
1342
+ bottom drawer beside it.** When a `CollapsiblePanel` or `ResizableRegion`
1343
+ with a `restoreControl` shared its container with an expanded bottom
1344
+ drawer — a bottom `CollapsiblePanel` or bottom `ResizableRegion` — as a
1345
+ sibling or inside the app's work-area column, the control floated in the
1346
+ container's bottom corner, on top of the drawer. It now floats the same
1347
+ inset above the drawer's top edge, follows the drawer as it resizes, and
1348
+ returns to the corner when the drawer collapses. A drawer nested deeper,
1349
+ inside the work area's own content, does not move it. This uses CSS anchor
1350
+ positioning; engines without it keep the container corner.
1351
+
1352
+ - **An open `@kerfjs/ui` `CollapsiblePanel` or `ResizableRegion` overlay now
1353
+ covers other panels' restore controls, as a `Workbench` overlay does.** A
1354
+ collapsed panel's `restoreControl` stacked at z-index 42, above
1355
+ `wireSidebar`'s compact overlay and its backdrop and above an overlay
1356
+ `ResizableRegion`, so it floated over an open overlay and stayed clickable
1357
+ behind the overlay's focus trap. `--kui-collapsible-panel-restore-z` now
1358
+ defaults to two less than `--kui-collapsible-panel-overlay-z` (38),
1359
+ `--kui-resizable-region-restore-z` to two less than
1360
+ `--kui-resizable-region-overlay-z` (39), and the compact backdrop's
1361
+ `--kui-collapsible-panel-backdrop-z` to one less than the overlay (still
1362
+ 39), so an app that moves the overlay z-index keeps the order. When the
1363
+ overlay closes, the control shows and works again.
1364
+ - **An open `@kerfjs/ui` `Workbench` overlay now covers other panels'
1365
+ restore controls.** Restore controls stacked above every overlay, so a
1366
+ collapsed drawer's corner restore control floated over an open right-rail
1367
+ overlay's content. An open overlay is now the top layer, like a sheet over
1368
+ the view beneath it: `--kui-workbench-restore-z` defaults to two less than
1369
+ `--kui-workbench-overlay-z` (39 by default, previously 42), below the
1370
+ drawer and rail overlays. When the overlay closes, the control shows and
1371
+ works again; a collapsed overlay passes pointer events through to it.
1372
+ - **`@kerfjs/ui` `wireWorkbench` overlay panels now take focus and keep Tab
1373
+ inside them,** like `wireSidebar`'s compact overlay (the ARIA dialog
1374
+ pattern). An open overlay covers the work area, yet focus stayed on the
1375
+ control that opened it and Tab walked through the covered editor. A wired
1376
+ panel that opens while it presents as an overlay now focuses its first
1377
+ focusable control (usually the close control in its header); while it is
1378
+ open, Tab and Shift+Tab cycle through its controls, and Escape, its own
1379
+ close control, or an outside press leaves it, returning focus to the
1380
+ opener. Panels opening inline never move focus. Focus returned on close
1381
+ also skips an opener inside another panel that has closed since.
1382
+ `dismissOverlays: false` leaves all of this to the app.
1383
+ - **`@kerfjs/ui` `Workbench` keeps its work-area minimum beside fixed rails
1384
+ and above the bottom drawer.** `mainMinSize` used to apply only beside a
1385
+ resizable rail, so two fixed 280px rails on a ~730px Workbench left the
1386
+ editor 174px; now every inline rail, fixed or resizable, shrinks in
1387
+ proportion (its content following the shown width) to keep the work area
1388
+ `mainMinSize` px wide. A new `mainMinHeight` prop (default 120, `0` turns it
1389
+ off) is the drawer's counterpart: an inline drawer, fixed or resizable,
1390
+ shrinks when the Workbench gets shorter, and `wireWorkbench` stops a
1391
+ resizable drawer where the work area would drop below that height (reported
1392
+ in `aria-valuemax`) instead of only at the drawer's own `max`.
1393
+ - **A `@kerfjs/ui` Workbench rail squeezed below its minimum now reports the
1394
+ width it shows.** When the Workbench was too narrow for a rail's `min`
1395
+ beside the work-area minimum, the rail showed about 172px while its
1396
+ separator still announced `aria-valuenow="180"`. The separator now reports
1397
+ the shown width, with `aria-valuemin` and `aria-valuemax` pinned to it: the
1398
+ WAI-ARIA window splitter's value is the separator's actual position and must
1399
+ sit inside its range, and the separator cannot move a rail the container
1400
+ holds there. Resizing still commits no less than `min`, and the configured
1401
+ range returns once there is room. A `ResizableRegion` a parent clamps below
1402
+ its `min` reports the same way.
1403
+ - **`KUI-L018` (`kerf-ui-analyze` / `kerf-ui-doctor`) now measures contrast and
1404
+ follows the cascade.** When a `--wa-color-{tone}-fill-loud` override and its
1405
+ `on-loud` are both literal colors (including `light-dark()`), a pair below
1406
+ 4.5:1 in either color scheme is reported with its ratio, and an unpaired
1407
+ literal fill that still clears 4.5:1 against the theme's default `on-loud`
1408
+ is no longer reported. An `on-loud` set in an ancestor scope (`:root`, or the
1409
+ leading selector of a descendant chain) or in another stylesheet the same
1410
+ entry loads now counts as the pair.
1411
+ - **`kerf-component-catalog` lets a private application declare components
1412
+ without a fake `exports` map.** In a private package
1413
+ (`"private": true`), a component's `publicExports` items may omit `subpath`; the generator
1414
+ verifies each name against the component's `source` file instead of
1415
+ requiring a `./dist/<path>.js` export the bundled app never emits. Publishable
1416
+ packages still need every subpath in `exports`. The v2 catalog schema makes
1417
+ `subpath` optional to match, and the `kerfjs/ui-composition` rule resolves a
1418
+ subpath-less export only by its source file.
1419
+ - **`kerf-ui-doctor` and the `kerfjs/ui-public-boundaries` ESLint rule no
1420
+ longer flag the documented `class="kui-app-root"` as KUI-L101 private
1421
+ anatomy.** The `@kerfjs/ui` component catalog now has a `document-baseline`
1422
+ composition entry for `@kerfjs/ui/document.css` that lists `kui-app-root`
1423
+ as its public class, with a catalog demo route showing a `SplitView` filling
1424
+ the root's definite height.
1425
+ - The `@kerfjs/ui` heading guidance (`ai/skill.md`, `llms.txt`,
1426
+ `docs/component-selection.md`, `docs/layout.md`) now sizes a panel title to
1427
+ its track: extra-large `ToolbarText` stays the title size for a page, view,
1428
+ dialog, or pane that holds it, while a narrow peripheral rail or drawer
1429
+ names itself with the default size, since extra-large truncated "Inspector"
1430
+ to "Ins…" in a 160px Workbench rail.
1431
+ - **A `@kerfjs/ui` `Workbench` panel open when `wireWorkbench` wired up no
1432
+ longer drops focus to the page when it closes from inside.** Such a panel
1433
+ had no recorded opener, so without a restore control closing it from its
1434
+ own header left focus on `<body>`. Focus now falls back to a control
1435
+ outside the panel whose `aria-controls` names it (or an element inside it).
1436
+ Each panel renders a stable `id` for that — `<id>-left-rail`,
1437
+ `<id>-right-rail`, and `<id>-bottom-drawer` — so a toggle can name the
1438
+ panel it controls.
1439
+ - **`@kerfjs/ui` `wireWorkbench` keeps overlay panels exclusive.** At a narrow
1440
+ width two overlay rails could both be open and, together wider than the
1441
+ Workbench, the right rail covered the left rail's own close control. Opening
1442
+ a panel while it presents as an overlay now closes every other open overlay
1443
+ panel, the bottom drawer included, like `wireSidebar`'s compact overlays;
1444
+ panels presenting inline are never closed by it. New option
1445
+ `exclusiveOverlays` (default `true`); pass `false` to let overlays stay open
1446
+ together.
1447
+ - **A `@kerfjs/ui` `CollapsiblePanel` or `ResizableRegion` restore control
1448
+ stays inside its container.** `restoreControl` was `position: fixed` to the
1449
+ viewport, so a panel or region embedded in a page floated it over unrelated
1450
+ page content. It now floats in the `restorePosition` corner of the element
1451
+ that holds the panel (or region), scrolls with it, and is inset by the
1452
+ component's restore inset plus the unsafe area of the edges that container
1453
+ reaches, so a full-viewport shell still places it clear of them. While the
1454
+ control is shown, that container isolates its stacking and becomes its
1455
+ containing block; an app that positions the container itself keeps its own
1456
+ `position`. As in `Workbench`, the corner owns the inset, so a
1457
+ `FloatingToolbar` hosting the control no longer doubles it.
1458
+ - The `@kerfjs/ui` UX catalog's Workbench page gains a responsive overlay
1459
+ drawer example: an output drawer with `responsiveOverlayAt: "narrow"` that
1460
+ takes its own track beside a wide editor and becomes a transient overlay
1461
+ over the editor's bottom once the Workbench is 704px or narrower, starting
1462
+ hidden there and closing from its own header, on Escape, or on a press
1463
+ outside it. The Workbench guide shows the pattern.
1464
+ - A `@kerfjs/ui` `Workbench` now stacks overlay rails above an overlay bottom
1465
+ drawer. With the drawer and a rail both presented as overlays, their order
1466
+ followed the markup, so the drawer covered the left rail while the right
1467
+ rail covered the drawer. Both rails now stack above the drawer, mirroring
1468
+ the inline layout where rails span the full height beside the drawer's
1469
+ column, and the right rail stacks above the left; restore controls stay
1470
+ above every overlay. The drawer's overlay z-index is now one less than
1471
+ `--kui-workbench-overlay-z`.
1472
+ - **A `@kerfjs/ui` `Workbench` overlay rail can always be closed from inside
1473
+ itself.** At a narrow width, the UX catalog's inspector overlay covered the
1474
+ editor toolbar's "Hide inspector" toggle, leaving only Escape or an outside
1475
+ press to close it. The catalog's resizable rails now carry their own close
1476
+ control in their `Pane` header, and the Workbench guide recommends the same
1477
+ for any panel that may present as an overlay. `wireWorkbench` now returns
1478
+ focus stranded in a panel however the panel closed — including through the
1479
+ app's own control inside it, and for inline panels — to the control that
1480
+ opened it, else to its restore control; before, only an Escape, an outside
1481
+ press, or a breakpoint collapse returned it.
1482
+ - **A `@kerfjs/ui` `Workbench` restore control stays inside its Workbench.**
1483
+ `restoreControl` was `position: fixed` to the viewport, so an embedded
1484
+ Workbench (the UX catalog's, for one) floated it over the page footer. It is
1485
+ now anchored to a corner of the Workbench itself — the drawer's in the
1486
+ corner of the work-area column, so it never covers an expanded rail — inset
1487
+ by `--kui-workbench-restore-inset` plus the unsafe area of the edges that
1488
+ corner reaches, and it scrolls with the Workbench. The Workbench now
1489
+ isolates its own stacking, so its overlays and restore controls never stack
1490
+ against the page around it. A `FloatingToolbar` can host the control
1491
+ without doubling the inset: the corner owns it, and `FloatingToolbar` now
1492
+ honors `--kui-floating-toolbar-inset` set on an ancestor as well as on
1493
+ itself. The catalog's collapsed console restores from such a toolbar.
1494
+ - **`@kerfjs/ui` `wireWorkbench` makes overlay panels transient.** A rail
1495
+ whose `responsiveOverlayAt` breakpoint applied stayed expanded over the
1496
+ editor until the user found its toggle. Pass a panel's app-owned
1497
+ `collapsed` signal (`panels: { leftRail: { collapsed } }`; `size` is now
1498
+ optional, so a panel need not be resizable) and, like `wireSidebar`'s
1499
+ compact overlay, the wiring collapses it when the breakpoint begins to
1500
+ apply (without the collapse motion) and gives back its inline state when
1501
+ the breakpoint stops applying or the wiring is disposed. An open overlay
1502
+ panel, responsive or `presentation: "overlay"`, closes on Escape or on a
1503
+ press that starts and ends outside it, and focus stranded inside returns to
1504
+ the control that opened it, else to its restore control. It is on by
1505
+ default for panels given `collapsed`; `dismissOverlays: false` turns it
1506
+ off. The UX catalog's resizable example wires its rails this way.
1507
+ - A `@kerfjs/ui` `Workbench` rail with `presentation: "overlay"` now renders
1508
+ exactly its size. Out of flow, it sized to its content plus its 1px
1509
+ separator border, so a 280px rail measured 281px; it now takes its size
1510
+ explicitly, as the responsive overlays do. Rails and the drawer are also
1511
+ `border-box` now, so a panel's `size` is its whole track, border included,
1512
+ even in an app without a global `box-sizing` reset, and overlay content
1513
+ fills the panel inside its separator instead of painting over it.
1514
+ - **A `@kerfjs/ui` `Workbench` bottom drawer with `presentation: "overlay"`
1515
+ is visible again.** Its content is positioned against the drawer's bottom
1516
+ edge, so the out-of-flow overlay box had no height of its own and collapsed
1517
+ to its 1px border. An overlay drawer now takes its configured height (220px
1518
+ by default, or its `size`), covers the bottom of the work-area column, and
1519
+ clamps its content to the overlay maximum height. The drawer also accepts
1520
+ `responsiveOverlayAt: "narrow" | "compact"` like the rails: below that
1521
+ Workbench width it presents as the same overlay, without a separator and
1522
+ never resizable, while the work area takes the full height and keeps its
1523
+ bottom safe-area inset beneath it.
1524
+ - The bundled AI assistant configs (`ai/skill.md`, `ai/cursorrules`) now
1525
+ explain the `data-kerf-overlay-host` opt-in next to the one-`mount()`-per-root
1526
+ rule: a modal `<dialog>` of your own that anchors kerf popovers or tooltips
1527
+ needs `<div data-kerf-overlay-host data-morph-skip></div>`, the one allowed
1528
+ nested-mount boundary. The `kerfjs/ai-assistant-configs` lint rule reports
1529
+ installed copies as stale until they are refreshed.
1530
+ - The opt-in `rebuiltListeners` dev warning no longer reports a popover or
1531
+ tooltip closing inside a modal dialog's host slot. Removals inside a
1532
+ `[data-kerf-overlay-host][data-morph-skip]` slot belong to the surface's own
1533
+ mount, so the enclosing mount now ignores them, as its re-renders already
1534
+ did. A listener lost to a re-render inside the surface is still reported,
1535
+ once.
1536
+ - **A popover or tooltip in a modal `<dialog>` no longer lingers after the
1537
+ dialog is removed when its anchor was moved out first.** A surface rendered
1538
+ into a dialog's host slot left with the dialog, but because its anchor was
1539
+ still in the document, kerf kept it registered as open, and a tooltip on
1540
+ that anchor never showed again. A slot-hosted surface now closes itself
1541
+ (without calling `onDismiss`) when it leaves the document, and the tooltip
1542
+ shows again on the next hover or focus.
1543
+ - **A popover inside a modal `<dialog>` is reachable by Tab in Safari on
1544
+ macOS.** A popover or tooltip rendered into a dialog's host slot follows the
1545
+ dialog's own Tab order, and WebKit on macOS skips buttons and links there
1546
+ unless the system keyboard-navigation setting is on. kerf now gives each
1547
+ implicitly tabbable control in a slot-hosted surface an explicit
1548
+ `tabindex="0"` when it opens and again before each Tab keypress, the same
1549
+ way its focus trap already did. Authored tabindexes, disabled controls, and
1550
+ surfaces outside a slot are left alone.
1551
+ - `@kerfjs/ui` `Workbench` rails gain `responsiveOverlayAt: "narrow" |
1552
+ "compact"`, mirroring `ResizableRegion`'s `responsiveFillAt`: below the
1553
+ Workbench's own 704px (`narrow`) or 448px (`compact`) width the rail
1554
+ presents as an overlay over the work area, without a separator and never
1555
+ resizable, and inline above it — the CSS decides, so apps no longer derive
1556
+ `presentation` from a `deviceClass()` check. The bottom drawer ignores it.
1557
+ A collapsed overlay rail (with `presentation: "overlay"` too) now drops its
1558
+ surface and shadow instead of leaving an empty panel-sized box over the work
1559
+ area. The UX catalog's resizable example uses it and now renders at phone
1560
+ widths, and its collapsed console's restore control is a `ToolbarControlGroup`
1561
+ toggle that actually restores the console.
1562
+ - `@kerfjs/ui` `Workbench` keeps a minimum work area beside resizable rails.
1563
+ Two rails dragged near their 480px maximum on a ~1024px Workbench used to
1564
+ leave the editor a sliver; now the work area keeps at least `mainMinSize`
1565
+ px (a new `Workbench` prop, default 320, `0` turns it off). `wireWorkbench`
1566
+ stops drag and keyboard resizing where the work area would drop below it
1567
+ (and reports that reachable maximum in `aria-valuemax`), and when the
1568
+ Workbench narrows, resizable rails shrink in proportion to their sizes, with
1569
+ their content following the shown width, instead of squeezing the work
1570
+ area. Workbenches without a resizable rail render exactly as before. The UX
1571
+ catalog's resizable example adds a resizable inspector to show it.
1572
+ - `@kerfjs/ui`'s static analyzer (`kerf-ui-analyze`, and the analyzer stage of
1573
+ `kerf-ui-doctor`) reports a new review finding, `KUI-L018`, when a
1574
+ stylesheet overrides a loud tone fill (`--wa-color-{tone}-fill-loud` for
1575
+ neutral, brand, success, warning, danger, or pop) without setting the
1576
+ matching `--wa-color-{tone}-on-loud` in the same scope. The theme pairs each
1577
+ loud fill with a foreground that clears WCAG AA, and an unpaired override
1578
+ keeps that foreground on a fill it was never checked against. The pair must
1579
+ share a selector (after resolving nesting and splitting selector lists) and
1580
+ at-rule scope in the same stylesheet, in one rule or separate ones; another
1581
+ tone's `on-loud` does not count. It is a review finding because it checks
1582
+ the pairing, not the contrast; pass `--fail-on-review` to gate it. The
1583
+ `webawesome-theme.md` customization example now sets both halves of each
1584
+ pair.
1585
+ - **Tooltips and popovers also stay visible when your own code opens a modal
1586
+ `<dialog>`.** `kerfjs/overlay` already moved every open tooltip and popover
1587
+ above a modal dialog it opened itself, but a dialog opened with a bare
1588
+ `dialog.showModal()` went unnoticed and left them inert beneath it. While
1589
+ any kerf surface is open, one capture-phase listener on the document now
1590
+ catches the dialog's `toggle` event and re-hosts them the same way, one task
1591
+ after the `showModal()` call. The listener is removed once nothing is open.
1592
+ An engine that fires no `toggle` event for `<dialog>` still misses such a
1593
+ dialog; open it through `overlay()` there.
1594
+ - **A popover inside a modal `<dialog>` is clickable.** Browsers make
1595
+ everything outside an open modal dialog inert, so a popover lifted above the
1596
+ dialog was visible but its buttons could not be clicked or focused, and
1597
+ kerf's one-mount-per-tree rule kept it from rendering inside a kerf-mounted
1598
+ dialog. `popover()` and `tooltip()` whose anchor sits inside an open modal
1599
+ `<dialog>` now render into the dialog's host slot, an element marked
1600
+ `data-kerf-overlay-host data-morph-skip`, so they are part of the modal and
1601
+ fully interactive: Tab reaches them, and Escape closes the popover before the
1602
+ dialog. A dialog `kerfjs/overlay` opened gets the slot automatically (an
1603
+ empty `display: contents` element added on first use). For your own
1604
+ `<dialog>`, add `<div data-kerf-overlay-host data-morph-skip></div>` to its
1605
+ markup, or pass `container`. The slot is the one place a second `mount()`
1606
+ may live inside a mounted tree: the enclosing mount's morph, nesting guard,
1607
+ and binding and `each()` marker scans all stop there. The `kerfjs/dev`
1608
+ `inert` warning now fires only when no slot was used.
1609
+ - `@kerfjs/ui` `Workbench` rails and the bottom drawer can be drag-resized,
1610
+ as an opt-in per panel. `WorkbenchPanel` gains `resizable: true | { min, max }`
1611
+ (off by default, so existing Workbenches render unchanged); a resizable panel
1612
+ gets a separator on its inner edge with the same focusable
1613
+ `role="separator"` contract, grip, and 20px hit target as a
1614
+ `ResizableRegion` handle. The new `@kerfjs/ui/wire-workbench` subpath's
1615
+ `wireWorkbench(root, { id, panels, deviceClass?, storage?, onResize? })`
1616
+ drives it: live pointer drags, arrow / Shift+arrow / Home / End keys,
1617
+ clamping to the limits, and commits to the app-owned size signals, with
1618
+ optional `storageKey` persistence. Collapsing keeps a panel's size, so it
1619
+ expands back to the size it had, and resizing is suspended on compact device
1620
+ classes and for overlay or hidden panels. The UX catalog's Workbench page
1621
+ adds a resizable example. `wireResizableRegions` now drives only handles that
1622
+ are direct children of a `ResizableRegion`, so it never double-drives a
1623
+ Workbench separator under the same root.
1624
+ - `@kerfjs/ui` elevation shadows follow the color scheme, with or without the
1625
+ optional `@kerfjs/ui/webawesome.css` theme. Kerf's theme layer set
1626
+ `--wa-shadow-s` / `-m` / `-l` to fixed light-mode shadows (14%, 11%, and 9%
1627
+ black), which all but vanished against the dark page, and the
1628
+ `--kui-shadow-s` / `--kui-shadow-l` foundation fallbacks copied those fixed
1629
+ values. The theme now pairs each light alpha with a stronger dark one (50%,
1630
+ 40%, 32%) through `light-dark()`, and the foundation fallbacks mirror them, so
1631
+ selected segments and app tabs, compact overlay panels, and Web Awesome
1632
+ surfaces that read `--wa-shadow-*` keep their elevation in dark mode. Light mode is unchanged. The browser parity test
1633
+ now compares every `--kui-shadow-*` token with and without the theme in both
1634
+ schemes.
1635
+ - `@kerfjs/ui` text on loud tone fills clears WCAG AA in both color schemes,
1636
+ with or without the optional `@kerfjs/ui/webawesome.css` theme. White
1637
+ `on-loud` text reached about 2.2:1 on the success fill, 3.5:1 on the light
1638
+ brand fill (`#0088ff`), and 3.6:1 on the danger fill (`#ff383c`) in both
1639
+ schemes. Kerf's theme layer and the foundation fallbacks now pair each
1640
+ fill with a foreground chosen to keep the tone's look: success keeps its
1641
+ bright green with dark text (`#1d1d1f`, 7.6:1), as warning already did; light
1642
+ brand and danger keep white text on a slightly deeper fill of the same hue
1643
+ (`#0075db`, 4.6:1; `#eb0005`, 4.6:1); dark danger keeps its fill with dark
1644
+ text (`#111113`, 5.3:1), as dark brand already did. Web Awesome accent
1645
+ buttons, badges, and checked controls pick this up, and accent `wa-badge`s now
1646
+ use their variant's `on-loud` foreground by default instead of a fixed dark
1647
+ color (`--kui-wa-badge-accent-foreground` still overrides it). The browser
1648
+ contrast test asserts every tone's `on-loud` over `fill-loud` pair, including
1649
+ pop and neutral, in both schemes with and without the theme.
1650
+ - `@kerfjs/ui` brand, success, and warning text clears WCAG AA on the lowered
1651
+ page background in light mode, with or without the optional
1652
+ `@kerfjs/ui/webawesome.css` theme. Their light `on-quiet` values (`#1e6ef4`,
1653
+ `#008932`, `#a16a00`) passed on the white surface but reached only about
1654
+ 4.1:1 on `#f2f2f7`. Kerf's theme layer and the foundation fallbacks now use
1655
+ the same hues a step darker: `#0c62f3` (4.64:1), `#007f2e` (4.62:1), and
1656
+ `#966200` (4.65:1) on the page, about 5.2:1 on white. Links, selected tabs,
1657
+ segmented and toolbar selections, and token-search accents that read
1658
+ `brand-on-quiet` darken with it. Dark mode is unchanged. The browser contrast
1659
+ test no longer skips light text over the page background.
1660
+ - `@kerfjs/ui` surfaces, links, and focus rings match the optional
1661
+ `@kerfjs/ui/webawesome.css` theme without it. Three foundation fallbacks
1662
+ pointed at a different token than the theme: `--kui-color-surface-raised`
1663
+ fell back to the surface color (the theme's dark raised surface is
1664
+ `#2c2c2e`), `--kui-color-text-link` fell back to the brand fill (`#0088ff`,
1665
+ about 3.5:1 on white) instead of the brand on-quiet text color, and the focus
1666
+ ring used the brand fill instead of the theme's focus color (`#007aff`). Each
1667
+ now falls back to the theme's value. The browser parity test now covers every
1668
+ `--kui-color-*` token the foundation declares, plus the focus ring, instead of
1669
+ only the tone tokens.
1670
+ - The `@kerfjs/ui` UX catalog's `StateBanner` route adds a placeholder with a
1671
+ badge for every tone, next to the existing badge-less placeholder, so visual
1672
+ review and captures show the solid badge's loading skeleton on each tone's
1673
+ fill. A browser test checks that each tone's badged placeholder is present.
1674
+ - `@kerfjs/ui` toned text stays readable in dark mode without the optional
1675
+ `@kerfjs/ui/webawesome.css` theme. The foundation's fallbacks for the
1676
+ success, warning, and danger `on-quiet` and `on-normal` tokens were single
1677
+ light-mode colors, so dark danger `Text` rendered dark red on a dark surface
1678
+ (under 3:1). Every tone token now falls back to the same light and dark
1679
+ pair the theme assigns, including `brand-on-loud` (dark text on the pale dark
1680
+ brand fill instead of white) and `neutral-border-quiet`. Light-mode colors
1681
+ are unchanged. A browser test bundles the package with and without the theme
1682
+ and asserts that every tone token resolves identically in both color schemes
1683
+ and that toned text clears WCAG AA in dark mode.
1684
+ - `@kerfjs/ui` danger text and badges are readable in dark mode, and every
1685
+ tone's `StateBanner` detail and quiet or outline `Badge` text now clears
1686
+ WCAG AA. The danger tone was the only one without an on-fill foreground: its
1687
+ solid badge fill and `StateBanner` text reused `danger-on-quiet`, a mid red
1688
+ in dark mode (banner detail 4.0:1, badge placeholder skeleton 2.25:1). A new
1689
+ `--kui-color-danger-on-fill` token (also accepted by `uiColor()`) matches the
1690
+ other tones' pale dark values, lifting the dark danger banner text to 8.2:1.
1691
+ The banner detail no longer dims to 78% opacity, which left the light info,
1692
+ success, warning, and danger details at 3.4 to 4.3:1; it reads as secondary
1693
+ through its smaller type, and the neutral detail uses the quiet text color.
1694
+ Quiet and outline badges use their tone's on-fill text, lifting light brand,
1695
+ success, and warning from about 4.1:1 to at least 5:1.
1696
+
1697
+ - A `@kerfjs/ui` placeholder skeleton inside a solid `Badge`, such as the
1698
+ badge of a `StateBanner` placeholder, is now clearly visible. The generic
1699
+ skeleton tint, 12% of the text color, almost disappeared on the badge's
1700
+ saturated fill in every tone. A solid badge now tints its skeleton from its
1701
+ own foreground color, which contrasts with the fill in every tone in light
1702
+ and dark mode. Quiet and outline badges keep the generic tint, which already
1703
+ reads on their pale fills. Geometry is unchanged.
1704
+ - The `@kerfjs/ui` SVG design templates render badges as filled pills: the
1705
+ `StateBanner` badge and the `ListHeader` and `List` count pills used to show
1706
+ as plain text, because the template build loaded only a hand-written list of
1707
+ stylesheets that omitted `badge.css`. The build now loads each component's
1708
+ full stylesheet set from its generated browser entry, the same set a
1709
+ consumer's browser import loads, so a nested component's CSS can no longer be
1710
+ missed. The `ListHeader` and `List` templates also pick up the label inset
1711
+ from `text.css`, so a header label now lines up with the list items below it,
1712
+ as it does in the live component.
1713
+ - A `@kerfjs/ui` `StateBanner` placeholder's badge sits at the live badge's
1714
+ height on every platform. With a skeleton instead of text, the badge took a
1715
+ baseline from the skeleton's bottom edge and sat about a pixel higher, by an
1716
+ amount that depended on the platform's font metrics.
1717
+ - A `@kerfjs/ui` `StateBanner` with a long, wrapping title keeps its badge
1718
+ one item gap after the title's last word, and its detail uses the full copy
1719
+ width. The wide flex layout shrank the title and detail together, which left
1720
+ a large gap before the badge and truncated the detail early. The title,
1721
+ badge, and detail now flow as inline text: the detail stays beside the title
1722
+ while it fits whole, and otherwise moves to its own line, truncating only at
1723
+ the full width. A wrapped title's lines stay evenly spaced.
1724
+ - A `@kerfjs/ui` `ListHeader` disclosure toggle disabled with `actionDisabled`
1725
+ is dimmed by the component itself, at the same tone as a disabled action
1726
+ button, and shows the `not-allowed` cursor. It used to rely on Web Awesome's
1727
+ native `button:disabled` dimming, so without `webawesome.css` it looked
1728
+ enabled. Disabled toggles and action buttons also no longer show hover
1729
+ feedback without `webawesome.css`.
1730
+ - A `@kerfjs/ui` `ListActionRow` placeholder keeps its `busy` spinner. The
1731
+ whole status line used to collapse into one skeleton, dropping the spinner
1732
+ the component draws from a known prop. Now only the `status` text becomes a
1733
+ skeleton, matching `ListItem`.
1734
+ - **A tooltip or popover already showing stays visible when a modal opens.**
1735
+ Lifting a surface above an open modal `<dialog>` was decided only when the
1736
+ surface opened, so a tooltip or popover already on screen when a modal
1737
+ dialog opened was left inert beneath it. Whenever `kerfjs/overlay` opens a
1738
+ modal `<dialog>` (a `native: true` modal, or one it lifted), it now moves
1739
+ every open tooltip and popover into the top layer above the new dialog. One
1740
+ that is already a `[popover]` is re-shown so it stacks on top. The existing
1741
+ `kerfjs/dev` warnings still report an engine without the Popover API, and a
1742
+ surface with controls the modal keeps inert. A modal `<dialog>` the app
1743
+ opens itself, outside kerf, is not observed.
1744
+ - Moved `mount()`'s list-binding lifecycle (turning list markers into
1745
+ bindings, first-render row-contract validation, orphan pruning) into its own
1746
+ internal module, so `mount.ts` holds only the render orchestration. No
1747
+ behavior or public API change.
1748
+ - A narrow (576px and below) `@kerfjs/ui` `StateBanner` keeps its badge
1749
+ sized to its content, one item gap after the title and on the title's
1750
+ baseline, as in the wide layout. The narrow grid stretched the badge across
1751
+ the free column into a wide pill that sat less than 1px from the title.
1752
+ - Hovering a `@kerfjs/ui` `ListActionRow` placeholder with
1753
+ `trailingActionVisibility="interaction"` no longer reveals its disabled
1754
+ trailing button. A placeholder is inert, so it keeps the live row's resting
1755
+ state, with the trailing action hidden until an interaction it cannot take.
1756
+ - A `@kerfjs/ui` `ListItem` placeholder keeps its `busy` spinner. The whole
1757
+ trailing slot used to collapse into one skeleton, dropping the spinner the
1758
+ component draws from a known prop and shifting the label's width. Now only
1759
+ the values in that slot become skeletons: `status` text in its status line
1760
+ and author-supplied `trailing` content (always a value, since the component
1761
+ cannot tell a chevron from a count) each get their own.
1762
+ - `@kerfjs/ui` placeholders keep the live disabled tone of a control the
1763
+ author disabled. A disabled `ListItem` or `ListActionRow`, a
1764
+ `trailingActionDisabled` button, a disabled `SegmentedControl` choice, or a
1765
+ `ListHeader` with `actionDisabled` rendered at full opacity as a
1766
+ placeholder, because the placeholder reset could not tell its own
1767
+ `disabled` attribute from the author's. Those controls now carry a
1768
+ component-owned `data-kui-disabled="true"` marker whenever their disabled
1769
+ prop is set; the disabled tone keys on it and the placeholder reset skips
1770
+ it. The marker is reserved: the extension-attribute props cannot set it.
1771
+ - `@kerfjs/ui` adds a browser test that renders every placeholder-capable
1772
+ component live and as a placeholder from identical props and diffs each
1773
+ element's geometry and computed chrome, so any future drift outside a value
1774
+ slot fails. It caught one more: a `ListActionRow` placeholder's `status`
1775
+ line was 3.5px shorter than the live line; the status line now always
1776
+ keeps a full line height.
1777
+ - `@kerfjs/ui`'s `Select` placeholder hint now matches the live hint: 14px
1778
+ text at a 1.6 line height, 7px below the box. It was 12px / 1.4 with a 4px
1779
+ gap, so a placeholder with a `hint` was 8.6px shorter than the loaded
1780
+ control and the content below it jumped when loading finished.
1781
+ - `@kerfjs/ui`'s `StateBanner` placeholder adds a detail skeleton only when
1782
+ `detail` is set, matching the live banner. Previously every placeholder
1783
+ showed a detail line, so a banner without one changed shape when loading
1784
+ finished. Pass the banner's real `title` and `detail` with `placeholder`;
1785
+ an empty `detail` now means no detail line.
1786
+ - `@kerfjs/ui`'s `AppTab` placeholder pill is no longer dimmed to 50% with a
1787
+ `not-allowed` cursor when `webawesome.css` is loaded; it keeps the live
1788
+ tab's tone, and only its name is a skeleton.
1789
+ - `@kerfjs/ui`'s `ListHeader` placeholder no longer dims its action button
1790
+ (48%) or, in `toggle` mode, the whole title and label (Web Awesome's native
1791
+ 50%), and its inert action and toggle give no hover feedback. A live
1792
+ `actionDisabled` header still dims its action.
1793
+ - `@kerfjs/ui`'s `SegmentedControl` placeholder now keeps its choices. The
1794
+ choices are known; only the selection is unknown, so a placeholder renders
1795
+ every choice's live label or icon at its live size, selects none, and stays
1796
+ inert. Previously every segment became a 4em text skeleton (widening icon
1797
+ segments from 40px to 60px) and was dimmed to 45%.
1798
+ - `@kerfjs/ui`'s `ListItem` and `ListActionRow` placeholders now match the
1799
+ live row. They are no longer dimmed (the rows' own `:disabled` tone and
1800
+ hover highlight skip placeholders), and a row with a `description` (or a
1801
+ `ListActionRow` `status`) keeps that line as a second, smaller skeleton, so
1802
+ the row keeps its live height instead of collapsing to one line. The
1803
+ `ListActionRow` icon placeholder is an 18px block centered in its icon slot,
1804
+ like `ListItem`'s.
1805
+ - `@kerfjs/ui` placeholders no longer look disabled. A component's
1806
+ `placeholder` keeps its controls `disabled` (inert and out of the keyboard
1807
+ order), but `skeleton.css` now neutralizes generic disabled chrome under
1808
+ `[data-placeholder="true"]`: full opacity and the default cursor instead of
1809
+ Web Awesome's native `button:disabled` dimming to 50% with a `not-allowed`
1810
+ cursor. A component's own opacity (a control hidden until interaction) still
1811
+ applies.
1812
+ - `toElement('<image href="…" />')` now returns an SVG `<image>`. The HTML
1813
+ parser rewrites an orphan `<image>` to an HTML `<img>` before kerf sees the
1814
+ tag, so it previously came back as an XHTML `img` that no `<svg>` would
1815
+ render. kerf now recognizes a leading `<image` tag in the raw input
1816
+ (case-insensitive, after leading whitespace) and parses it through the SVG
1817
+ wrapper. A genuine `<img>` is unchanged.
1818
+ - `delegateActions()` (`kerfjs/actions`) dispatches only the table's own
1819
+ entries. It used to look the action up with a plain property read, so a
1820
+ `data-action` naming an inherited `Object.prototype` member resolved:
1821
+ `"__proto__"` or `"hasOwnProperty"` threw a `TypeError` from the listener,
1822
+ and `"toString"` or `"constructor"` silently ran the inherited function.
1823
+ Those values are now ignored like any other action absent from the table.
1824
+ An own entry with such a name (`{ toString: … }`) still dispatches.
1825
+ - `toElement()` now puts orphan camelCase SVG fragments in the SVG namespace.
1826
+ `toElement('<linearGradient>…</linearGradient>')`, and likewise `clipPath`,
1827
+ `radialGradient`, and `foreignObject`, previously returned an XHTML
1828
+ `LINEARGRADIENT` element that no `<svg>` would render, because the lookup
1829
+ compared the HTML parser's lowercased tag against camelCase names. The
1830
+ fragment is now wrapped in `<svg>` and XML-parsed like `<path>` or `<g>`,
1831
+ and the returned element keeps its camelCase `localName`.
1832
+ - **A tooltip or popover no longer outlives its anchor.** When the anchor left
1833
+ the document, most commonly because the modal containing it closed, the
1834
+ `tooltip()` or `popover()` stayed on screen: a removed element fires no
1835
+ `pointerleave` or `blur`. Both now watch their anchor with the same removal
1836
+ tracking as `kerfjs/attach`. The tooltip hides, and the popover closes
1837
+ without calling `onDismiss`, as soon as the anchor leaves the document.
1838
+ Moving the anchor within the document keeps them open. A tooltip show still
1839
+ pending when its anchor is removed never appears.
1840
+ - **Overlays opened over a modal `<dialog>` are visible and usable.** A browser
1841
+ makes everything outside an open modal dialog inert and paints a plain
1842
+ element beneath it, so a `tooltip()`, `popover()`, or `confirm()` opened
1843
+ from inside a `native: true` dialog without `native` itself was invisible and
1844
+ could not be used. While a modal `<dialog>` is open, `kerfjs/overlay` now
1845
+ hosts such a surface in the top layer anyway: a tooltip or popover becomes a
1846
+ `[popover]`, and a nested modal becomes its own `<dialog>`. The browser's
1847
+ default `[popover]` / `<dialog>` styles then apply, as they do with `native:
1848
+ true`. Browsers keep a popover outside the modal dialog inert even in the top
1849
+ layer, so a lifted popover with buttons is visible but not clickable. A new
1850
+ always-on `kerfjs/dev` warning reports that case, and an engine without the
1851
+ needed API.
1852
+ - **A tooltip shown inside a modal no longer disables the modal.** `kerfjs/overlay`
1853
+ used to treat the most recently opened overlay as the only one that could
1854
+ react to input, so a `tooltip()` (which handles no input) inside an open
1855
+ modal left Escape doing nothing and let Tab leave the dialog. Every overlay,
1856
+ native or fallback, now joins one open-order stack, and each Escape, backdrop
1857
+ click, outside click, or trapped Tab goes to the topmost surface that handles
1858
+ it. A modal still blocks everything beneath it, and a surface that handles
1859
+ nothing never intercepts. A popover that dismisses on Escape gets it before
1860
+ the modal beneath. One click that is both outside a popover and on a modal's
1861
+ backdrop now closes only the popover. A native `<dialog>` is arbitrated with
1862
+ the fallback surfaces: one Escape closes one surface, and a fallback modal
1863
+ beneath an open dialog no longer takes the dialog's Tab. Closing a lower
1864
+ overlay first leaves focus in the overlay that holds it. An overlay opened
1865
+ from inside it then restores focus to the closed overlay's opener, not a
1866
+ detached node.
1867
+ - `kerfjs` now exports the `EachOptions<T>` type (`{ cacheKey?, key? }`), the
1868
+ options-object form of `each()`'s third argument, so a helper that builds or
1869
+ forwards those options can import the shape instead of restating it:
1870
+ `import { type EachOptions } from "kerfjs"`. Type-only; no runtime or bundle
1871
+ change.
1872
+ - Documentation: the companion-utility reference now matches the code. The
1873
+ router's `match()` / `activeClass()` compare a literal path prefix, so
1874
+ `match('/users/:id')` is never true. Link interception still applies to
1875
+ `target="_self"`, the no-match `outlet()` is `null` with `params` `{}`,
1876
+ components receive `(params, route)`, and hash mode keeps `route.hash` at
1877
+ `''`. Invalid `bindList` configuration throws only `RangeError`. `popover()`
1878
+ defaults `className` to `'kerf-popover'`, and the toast region is a reused
1879
+ `.kerf-toasts` element when one exists. A `resource()` `cacheKey` applies
1880
+ only to `run(input, fetcher)`, and throttle's `flush()` leaves the cooldown
1881
+ running. `delegate()` / `delegateCapture()` throw on an invalid selector at
1882
+ registration. The reference also now lists the `kerfjs/jsx-dev-runtime`
1883
+ alias, the `DEV_HOOKS` export of `kerfjs/dev`, and `Signal#peek()`.
1884
+ - Documentation: `morph(liveRoot, template)` is now described as it behaves.
1885
+ It reconciles only the root's children and never touches the root's own
1886
+ attributes, so `template` describes the content inside the root (an
1887
+ `Element` template contributes its child nodes). The examples no longer
1888
+ nest a duplicate `<article>` inside the live one. An `each()` list parent is
1889
+ not a children-only short-circuit: the diff still walks it and skips only
1890
+ the owned rows. The user-agent-owned `open` exception covers custom elements
1891
+ as well as `<details>` / `<dialog>`, and a content-only row change inside an
1892
+ `each()` list keeps its DOM node (and focus) unless the row's top-level tag
1893
+ changes or the same render also inserts, removes, or moves rows.
1894
+ - Every opt-in `kerfjs/dev` warning now ends with a silence hint that leads
1895
+ with the browser-reachable switch, for example "Silence it with
1896
+ enableWarnings({ narrowSet: false }) from kerfjs/dev, or set
1897
+ KERF_DEV_WARN_NARROW_SET=0 (or unset it) under Node." Previously the
1898
+ messages named only the environment variable, which a browser cannot reach.
1899
+ The docs now teach `enableWarnings()` wherever they showed an env-only
1900
+ switch, and name all three creation-time boundaries: `signal()`
1901
+ (`untrackedSignals`), `effect()` (`delegateInEffect`), and `mount()`
1902
+ (`rebuiltListeners`) decide once when created, so anything created before
1903
+ the install or the opt-in stays uncovered.
1904
+ - The `kerfjs/dev` rebuilt-listeners warning (`rebuiltListeners` /
1905
+ `KERF_DEV_WARN_REBUILT_LISTENERS`) now dedups once per `mount()`, as
1906
+ documented. Previously the first warning silenced every other mount for
1907
+ the life of the process, so a second mount with the same bug stayed quiet.
1908
+ - `kerfjs/router`: a second router on the same document no longer diverges
1909
+ from the URL after a link click. The first router's interceptor navigates
1910
+ with `pushState`, which fires no `popstate`, so the second router ignored
1911
+ the already-handled click and kept the old route. An already-handled click
1912
+ now re-syncs the route from the URL; when nothing navigated, it is a no-op.
1913
+ One router per document remains the supported shape: a second router does
1914
+ not follow another router's programmatic `navigate()` (no `popstate` fires
1915
+ and routers do not broadcast to each other) until the next `popstate` or
1916
+ link click. This is now documented and pinned by a test.
1917
+ - `kerfjs/scope`: a disposed `Scope` handle no longer leaks registrations.
1918
+ Previously `add` / `mount` / `effect` / `delegate` on a handle after its
1919
+ `dispose()` (or from a disposer while `dispose()` ran) pushed into a list
1920
+ nothing would ever run, leaving the effect subscribed or the listener
1921
+ attached. Such a registration now tears down at once: `add(fn)` calls `fn`
1922
+ immediately, and the wrappers create and immediately dispose.
1923
+ - `bindList` measured-height virtualization no longer applies a stale
1924
+ scroll-anchor correction. A `setHeight()` report for a row above the viewport
1925
+ is now resolved when the animation frame runs: if the source removed the key,
1926
+ moved it below the fold, or the user scrolled the row into view first,
1927
+ `scrollTop` is left alone, and several reports for one key in a frame net
1928
+ out. Fixed-height windows also clamp to the source length, so a list that
1929
+ shrinks while scrolled deep no longer pads far past its content.
1930
+ - `create-kerf-component` accepts an explicit `boundaries.rootClass: null` as
1931
+ an author decision, as its schema always allowed. A wrapper whose root
1932
+ element belongs to another catalog (a `rendersAs` wrapper) no longer has to
1933
+ invent a class to satisfy the generator. An absent `rootClass` still fails
1934
+ as undecided.
1935
+ - `@kerfjs/ui`'s `Select` placeholder now matches the live control. The label
1936
+ uses the field-label style (uppercase, extra-small, quiet, inset to line up
1937
+ with the value), and the chevron is the same glyph at the same size.
1938
+ Previously the placeholder drew a larger, regular-weight label at a
1939
+ different inset and a different, smaller chevron. Only the value is a
1940
+ skeleton; the chrome no longer changes when loading finishes.
1941
+ - **Wrapper components can declare the cataloged root they render.** A
1942
+ `kerf.components.json` component may set `composition.rendersAs`, for
1943
+ example `["@kerfjs/ui:toolbar-control-group"]`: a list of the roots it
1944
+ renders, any one of them, or nothing. `kerf-component-catalog` copies it
1945
+ into the generated v2 entry and fails unless every key resolves to a
1946
+ cataloged entry. `eslint-plugin-kerfjs`'s `ui-composition` rule, and so
1947
+ `kerf-ui-doctor`, now loads the application and third-party catalogs a
1948
+ `.kerf-ui-profile.json` declares. It resolves their components by package
1949
+ subpath or source file and checks a wrapper as each declared root: a zone
1950
+ must accept every root, each root's parent contract applies where the
1951
+ wrapper is placed, and a wrapper counts as zero or one child. Undeclared
1952
+ wrappers keep reporting `KUI-L202`.
1953
+ - `@kerfjs/ui`'s `AppTab` adds `pending` for a known tab that is still
1954
+ opening. It keeps the name visible in the quiet text color and uses it as
1955
+ the tab's accessible name, so a trailing spinner's label is not folded in.
1956
+ Like `placeholder`, it disables select and close, turns off dragging, and
1957
+ sets `aria-busy`, and it shows the consumer's `trailing` spinner. It keeps
1958
+ the live tab's pill geometry, so it swaps in place without shifting the bar.
1959
+ Dormant tabs (placeholder or pending) no longer reveal their disabled close
1960
+ button on hover.
1961
+ - `@kerfjs/ui`'s `wireSidebar` moves focus into an opening panel without
1962
+ scrolling it. A plain `focus()` scrolled the panel's clipped content to the
1963
+ target while it was still sliding in, then the slide unwound that scroll:
1964
+ a bottom drawer's content jumped up past its top and drifted back. The
1965
+ collapsible-sidebar recipe also floats the drawer's expand toggle in a
1966
+ `FloatingToolbar` at the bottom edge the drawer opens from, and drops the
1967
+ divider under the drawer's toolbar.
1968
+ - `@kerfjs/ui`'s `Skeleton` takes `block` (default `false`). It lays the
1969
+ placeholder out as `display: block` instead of `inline-block`, for a
1970
+ skeleton that stands in for a box rather than text: no text line and no
1971
+ baseline gap of its own. `ListItem`'s placeholder icon uses it.
1972
+ - `@kerfjs/ui/css-values` adds `remify(px)`, the runtime twin of source
1973
+ CSS's `remify(<px>)`. It turns a pixel count into a rem `CssLength` against
1974
+ the fixed 16px baseline, so `remify(18)` is `1.125rem`. `ListItem`'s
1975
+ placeholder icon now uses it at 18px, and `Skeleton` no longer forces a
1976
+ 24px minimum width, so small placeholders keep the size they ask for.
1977
+ - `@kerfjs/ui/catalog`'s application-sized (`height: "app"`) example frame
1978
+ no longer loses taps in Safari/WebKit. The frame became the containing block
1979
+ for screen-fixed chrome through `contain: layout`. Combined with its clip,
1980
+ that made WebKit mis-hit-test any transformed element inside an open compact
1981
+ overlay. Every pressed `ListItem` scales, so taps on an overlay rail's items
1982
+ went to their section instead. The frame now uses an identity transform,
1983
+ which docks the same chrome without the bug and renders identically.
1984
+ - **Breaking (`@kerfjs/ui/catalog`):** `CatalogExample`'s viewport drops
1985
+ `height: "fill"` and `fillChildren`. The catalog lays examples out at their
1986
+ content height, so neither could give a specimen a definite height, and a
1987
+ child sized with `height: 100%` (a horizontal `ResizableRegion`, say)
1988
+ collapsed to its content. Use a fixed `height` (`short` through `app`) when
1989
+ a specimen must fill its frame. `minHeight` remains, documented as a minimum
1990
+ rather than a fill.
1991
+ - `create-kerf-component`'s `kerf.components.json` now accepts an optional
1992
+ `composition.wiring.stateAttributes` declaration (the wiring-owned state
1993
+ attributes `@kerfjs/ui`'s catalog now carries), so third-party
1994
+ component authors can list the `data-*` attributes their wiring helpers write
1995
+ (`{ name, on, helper, meaning }`). `kerf-component-catalog` passes them
1996
+ through to the generated `component-catalog-v2.json` and reports a non-`data-*`
1997
+ name, a duplicate name, an empty `on` or `meaning`, or a helper missing from
1998
+ `wiring.helpers` at its exact path.
1999
+ - `@kerfjs/ui`'s component catalog now declares **wiring-owned state
2000
+ attributes**. A new optional `wiring.stateAttributes` in
2001
+ `component-catalog-v2` (and per wiring item in v1) lists each `data-*`
2002
+ attribute a wiring helper writes at runtime, such as `data-handle-inset` and
2003
+ `data-resizing` from `wireResizableRegions`. For each one it records the
2004
+ element, the helper, and the meaning, so AI consumers and tools can tell
2005
+ them apart from attributes the app writes. Every first-party wiring helper
2006
+ is declared. `check:catalog` fails when a helper's declarations differ from
2007
+ what its source writes.
2008
+ - `@kerfjs/ui`'s `wireSidebar` no longer leaves focus inside a panel it just
2009
+ collapsed. When the collapse was triggered from a toggle inside the panel
2010
+ (the documented placement), focus now moves to that panel's toggle outside
2011
+ it, including one the app renders only once the panel is collapsed. The
2012
+ collapsible-sidebar recipe now shows one control per action: each panel's
2013
+ own collapse toggle while it is open, and the main header's expand toggle
2014
+ only while it is collapsed. Wide widths no longer show two rail toggles.
2015
+ - `@kerfjs/ui`'s `wireSidebar` keeps a compact overlay intact when the app
2016
+ re-renders the wired root without changing a panel. Previously, selecting a
2017
+ destination in an open compact rail morphed the root, which removed the
2018
+ overlay attributes and the backdrop, and the "overlay" rail fell back into
2019
+ the layout. The wire now re-applies its host attributes and backdrop after
2020
+ any such re-render, and the backdrop carries `data-morph-preserve`.
2021
+ - `@kerfjs/ui`'s `wireSidebar` now opens a compact overlay only on a user
2022
+ action. Wiring on a compact device, or crossing from a wide device class to
2023
+ a compact one, collapses every panel. The page is no longer covered by a
2024
+ backdrop and focus trap until dismissed. Crossing back to a wide class, or
2025
+ disposing the wire, restores each panel's remembered inline state.
2026
+ Persistence now stores only that inline choice, never an overlay's
2027
+ open/closed state. A new optional `WireSidebarPanel.inlineCollapsed`
2028
+ declares the inline default when an app seeds its signal from the device
2029
+ class, which avoids an open first frame on a compact device. The
2030
+ collapsible-sidebar recipe no longer opens its rail as a blocking overlay
2031
+ on load at compact widths.
2032
+ - `@kerfjs/ui`'s `ResizableRegion` handle keeps its hit target and focus ring
2033
+ whole at a clipping edge. When a parent clamps the region to its own edge
2034
+ (the catalog's 390px stage, an app shell with a `max-width` container),
2035
+ `wireResizableRegions` marks the region `data-handle-inset` and the handle
2036
+ moves inside it instead of overhanging the edge by 10px, where the frame cut
2037
+ its focus ring in half. The ring is now drawn inside the handle's box
2038
+ (`outline-offset: -3px`), so it is also no longer shaved where the region's
2039
+ ends meet a clipping edge.
2040
+ - `@kerfjs/ui`'s `wireResizableRegions` keeps a clamped separator's
2041
+ `aria-valuenow`/`aria-valuemax` current at rest. Previously, after a size was
2042
+ saved at a wider width, narrowing the parent or any unrelated re-render left
2043
+ the handle reporting the unclamped rendered size until it was next focused or
2044
+ resized. A `ResizeObserver` on each region and its parent and a
2045
+ `MutationObserver` for re-renders now re-clamp the report; the disposer
2046
+ disconnects both.
2047
+ - The `@kerfjs/ui` catalog's `height: "app"` example frame is now the
2048
+ containing block for screen-fixed chrome, so a compact `CollapsiblePanel`
2049
+ overlay, its backdrop, and restore controls dock to the frame's edges. The
2050
+ collapsible-sidebar recipe's compact rail was fixed to the page's left edge,
2051
+ 24px outside the inset frame, so its leading edge looked cut off at 390px.
2052
+ - The `CollapsiblePanel` compact-overlay backdrop now covers its whole
2053
+ containing block. As a `<button>`, it did not stretch between its insets and
2054
+ scrimmed only a 35px strip.
2055
+ - `@kerfjs/ui`'s `wireResizableRegions` now bounds a resize to the space the
2056
+ region's parent actually leaves. When a parent clamps the track (a
2057
+ `max-width` stage, a narrow container), pointer and keyboard resizing stop at
2058
+ the visible size, and the separator reports that size in `aria-valuenow` and
2059
+ its visible maximum in `aria-valuemax`. Previously a region resized to 420
2060
+ inside a 340px stage announced 420 and needed several key presses before the
2061
+ separator moved. Focusing the handle reports a stale larger committed size as
2062
+ the shown size without committing it.
2063
+ - The UI evaluator's `KUI-B050` target-size rule now accepts a 44×36 target
2064
+ inside compact density (`[data-density="compact"]`), matching the 36px
2065
+ compact row height; standard density still requires 44×44, and the width
2066
+ floor is unchanged.
2067
+ - Fixed `kerf-ui-analyze` and the `eslint-plugin-kerfjs` UI rules treating
2068
+ every name in a catalog entry's `publicExports` as that entry's component,
2069
+ so a helper such as `uiColor` or `flex` called with an object whose keys
2070
+ matched a contract path (`uiColor({ choices: [...] })`) was checked as a
2071
+ `Select` or `List` call. Only component exports, whose names start with an
2072
+ uppercase letter as JSX component tags do, now resolve to an entry; the
2073
+ `@kerfjs/ui` catalog check fails if a cataloged `SafeHtml` render function
2074
+ is lowercase or any other runtime export is uppercase.
2075
+ - The `@kerfjs/ui` component catalog's `ToolbarText` entry now lists every
2076
+ token its `xlarge` size reads (`--kui-color-text`, `--kui-font-l`,
2077
+ `--kui-font-2xl`) in `publicTokens`; previously it named only the tokens of
2078
+ the smaller sizes.
2079
+ - The `@kerfjs/ui` browser evaluator's target-size check (`KUI-B050`) now
2080
+ measures the pointer-reachable area instead of only the border box: an
2081
+ undersized control is hit-tested outward from its center, so a transparent
2082
+ `::before`/`::after` hit layer (such as the `ListHeader` action's) counts,
2083
+ while `pointer-events: none` decoration, clipping, and overlapping
2084
+ neighbors do not. Diagnostic evidence now carries the measured size plus
2085
+ the border `box`.
2086
+ - Fixed the `eslint-plugin-kerfjs` `ui-css-values` messages (`KUI-L013`,
2087
+ `KUI-L014`, `KUI-L017`) listing suggested helpers with unbalanced backticks
2088
+ (``use `uiColor() or `foregroundColorVar().``); each helper is now wrapped
2089
+ as `` `uiColor()` ``.
2090
+ - Fixed `kerf-ui-analyze` skipping the CSS-value contracts of `@kerfjs/ui`
2091
+ `Select` and `Skeleton`. Its component lookup was keyed by display name, so
2092
+ the same-named Web Awesome catalog entries (`wa-select`, `wa-skeleton`) —
2093
+ which carry no CSS-value props — shadowed them, and a wrong-grammar helper
2094
+ such as `colorVar()` for `SelectChoice.color` went unreported although the
2095
+ ESLint rule caught it. Entries now resolve by `package:id`, using the
2096
+ selection catalog's public exports and import subpaths.
2097
+ - Fixed `@kerfjs/ui` monospace text rendering in the generic face (Courier on
2098
+ macOS Chromium) whenever Web Awesome was loaded: `--kui-font-mono` deferred to
2099
+ Web Awesome's `ui-monospace, monospace`, which Chromium does not resolve, and
2100
+ the trailing generic `monospace` kept Kerf's named fallbacks from ever
2101
+ applying. `--kui-font-mono` is now Kerf's own stack (`ui-monospace,
2102
+ SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace`),
2103
+ and the Web Awesome theme points `--wa-font-family-code` at it so Kerf `Text
2104
+ font="monospace"` and Web Awesome code text match.
2105
+ - The `@kerfjs/ui` Web Awesome theme now gives default-size single-line
2106
+ controls Kerf's 44px control height, so a plain `wa-input` or `wa-button`
2107
+ sits flush beside a Kerf `Select` instead of about 9px shorter. It sets
2108
+ `--wa-form-control-height` to `2.75em` (44px at the default size) on Button,
2109
+ Color Picker, Input, Known Date, Number Input, Radio Group, Select, Textarea,
2110
+ and Time Input; `size="large"` scales proportionally, `size="small"` keeps Web
2111
+ Awesome's compact height, and buttons inside a `ToolbarControlGroup` keep the
2112
+ group's 40px (32px compact) height. Tags, copy buttons, and toasts are
2113
+ unchanged.
2114
+ - Fixed an `@kerfjs/ui` `Select` menu drawing two separators when a choice with
2115
+ `separatorBefore` opened a separated group: the group's border plus a
2116
+ `wa-divider` left an empty band between the group title and its first
2117
+ choice. `separatorBefore` now only divides a choice from the previous choice
2118
+ in the same list; a group boundary is already the single separator.
2119
+ - Fixed `@kerfjs/ui` compact `ToolbarControlGroup` end highlights not being
2120
+ concentric with the group: controls sat 2px from the sides but 1px from the
2121
+ top and bottom. A compact group now has no padding, so its 32px controls sit
2122
+ on a 1px inset on every side with a radius of the group radius minus 1px
2123
+ (pill and rounded). In compact mixed groups the raised selection still paints
2124
+ over the border with the group's radius, neighboring controls still abut, and
2125
+ the trailing dropdown trigger keeps the 1px end inset instead of running onto
2126
+ the border. Compact groups are 2px narrower as a result.
2127
+ - Added `Toolbar.safeAreaEdges` to `@kerfjs/ui` so an app bar or bottom bar
2128
+ that sits at a screen edge, outside any `Pane` header or footer, can claim
2129
+ those edges for device safe areas. A toolbar there used to take only the
2130
+ inline edges an owner handed it, so the app-shell recipe's top bar never
2131
+ cleared the status area. Each claimed side pads by the routed
2132
+ `--kui-edge-inset-*` context, or the full device inset when nothing routes
2133
+ it, while the bar's surface and divider still paint through; the minimum
2134
+ height grows with the claimed block insets so a shrinking flex column keeps a
2135
+ whole control row clear. A claim inside a `Pane` header or footer adds
2136
+ nothing, since the pane already owns those edges. The app-shell recipe's app
2137
+ bar now claims the top edge and both sides.
2138
+ - Fixed `@kerfjs/ui` slide-motion `ResizableRegion` content overflowing its
2139
+ separator when a parent clamps the region. The expanded content kept the
2140
+ committed size even when a `max-width` or narrow container held the track
2141
+ smaller, so in the catalog at 390px a region resized to 420px showed text
2142
+ running past its handle. Expanded content now follows the region's actual
2143
+ track on both axes; the fixed expanded size still applies while collapsing, so
2144
+ the collapse keeps reading as a slide.
2145
+ - Fixed `@kerfjs/ui` `ResizableRegion` panes stopping at their content's
2146
+ height. The region's content now spans the whole region, like its separator,
2147
+ and a lone child (normally a `Pane`) fills it, so the app-shell recipe's
2148
+ navigation and inspector panes reach the bottom edge and scroll long content
2149
+ inside their own content slot instead of ending partway down the region.
2150
+ Several children still stack at their natural height.
2151
+ - Fixed `@kerfjs/ui` `Toolbar responsive="center-priority"` leaving an
2152
+ expanded center control at roughly half the row on narrow toolbars. The
2153
+ policy set the toolbar's own grid template inside a container query on the
2154
+ toolbar itself, which can never match, so the center kept only the first
2155
+ column track once the leading and trailing zones left. The dead rule is gone
2156
+ and the expanded center now spans every column track, filling the toolbar's
2157
+ content width at phone widths.
2158
+ - Fixed a nested `@kerfjs/ui` `List`, `Row`, or `Grid` inheriting its
2159
+ ancestor's `gap` and `flex`. Those props travel through private custom
2160
+ properties, which inherit, so a nested `List` without its own `gap` took the
2161
+ enclosing `List`'s gap (a heading unit inside a form got a 24px gap between
2162
+ its title and supporting line) and any nested instance without `flex` took the
2163
+ ancestor's flex growth. Every instance now resets its private values, so an
2164
+ omitted prop means that component's own default. The workspace-header recipe's
2165
+ breadcrumb now sits directly above its title and the List demo's section rows
2166
+ sit flush under their header, as intended.
2167
+ - Fixed `@kerfjs/ui` slide-motion `ResizableRegion` content staying at its
2168
+ previous width during a live resize until the app re-rendered the committed
2169
+ size. `wireResizableRegions` now applies the live size to the sliding content
2170
+ as well as the track, for pointer drags and key presses, so the content fills
2171
+ the region (including a safe-area edge extent) throughout the drag and a later
2172
+ collapse still slides it out at the resized width.
2173
+ - Fixed the `@kerfjs/ui` `ListHeader` action's pointer target being only its
2174
+ fitted 36px square although the guidance promises 44px. A transparent hit
2175
+ layer now extends the target to at least 44 × 44 around the square without
2176
+ moving layout or enlarging the painted hover surface. Compact headers are
2177
+ 36px tall like the rest of the compact List family, so their action target is
2178
+ 44px wide and clamped to the header height, never reaching into a neighboring
2179
+ row.
2180
+ - Fixed re-renders closing open Web Awesome popups: the morph (and the keyed-list
2181
+ attribute fast path) no longer removes a live `open` attribute from custom
2182
+ elements (`wa-select`, `wa-dropdown`, `wa-dialog`, …) when the template omits
2183
+ it — the same user-agent-owned treatment `<details>` / `<dialog>` already
2184
+ had. A template can still set `open`; closing stays imperative.
2185
+ - The `@kerfjs/ui` composer-form recipe's supporting line now sits directly
2186
+ under its toolbar title instead of 24px lower, because a nested `List` no
2187
+ longer inherits the form's section gap (see the nested `List`/`Row`/`Grid`
2188
+ fix above). The guidance now
2189
+ also states that `ToolbarText` below `xlarge` is intentionally quiet identity
2190
+ text with no tone option. A normal-color subsection title is `Text` with an
2191
+ `h2`–`h6` variant, or `ListHeader` for a list or menu section.
2192
+ - Fixed `@kerfjs/ui` `ToolbarText size="small"` labels rendering in a
2193
+ monospace fallback face in Chromium. The small size used the code-font token,
2194
+ which resolves through Web Awesome's `ui-monospace, monospace` stack; Chromium
2195
+ does not recognize `ui-monospace`, so labels such as a pane's "Workspace" or
2196
+ "Ready" fell back to the generic monospace font. Every `ToolbarText` size now
2197
+ keeps the inherited UI sans stack.
2198
+ - Fixed `@kerfjs/ui` `ListInsetControl` not stretching its control as
2199
+ documented. Its `justify-content: stretch` is a no-op on a flex row, so a
2200
+ `Select`, `wa-input`, or `wa-button` inside stayed at its natural width. Each
2201
+ direct child now grows to fill the inset row (several children share it with
2202
+ the 8px gap) and may shrink below its intrinsic width instead of overflowing.
2203
+ - `@kerfjs/ui` `List`, `Row`, and `Grid` can now be the layout root of a
2204
+ fixed-height parent. New `fill` takes the parent's full height (use `flex`
2205
+ inside a flex layout as before), and new `rootAttributes` carries safe
2206
+ `data-*` metadata while the component's structural attributes stay
2207
+ protected. The app-shell and collapsible-sidebar recipes now use a filling
2208
+ List or Row root instead of a frame `Pane` whose scroll owner never scrolled;
2209
+ the collapsible sidebar's rail and drawer now reach the real frame edges, so
2210
+ they paint through safe areas as the layout model intends. The UX catalog
2211
+ adds an application-sized `height: "app"` (592px) specimen frame, and both
2212
+ recipes use it instead of the cramped 360px `tall` frame.
2213
+ - Fixed a `@kerfjs/ui` stacked `Toolbar` clipping its last trailing action at
2214
+ phone widths (the compact-toolbar recipe's "More" button at 390px). A
2215
+ toolbar's trailing zone now wraps whole control groups onto another
2216
+ trailing-aligned row under every `responsive` policy, and a
2217
+ `responsive="stack"` toolbar wraps its stacked center and trailing groups the
2218
+ same way, so no action is ever clipped or shrunk. Stacked zones also span the
2219
+ full toolbar width; they previously lost 16px to empty column tracks. New:
2220
+ `responsive="wrap"` keeps a heading on one row while everything fits and
2221
+ otherwise moves the trailing zone below a whole title instead of truncating
2222
+ it. The loading-inspector recipe uses it, so its narrow heading shows the
2223
+ whole record title instead of an ellipsis.
2224
+ - `@kerfjs/ui` layouts and `Pane` now handle device safe areas as one model.
2225
+ Pane and panel backgrounds, separators, and dividers paint through unsafe
2226
+ areas; content is padded only on the edges a region actually reaches, and
2227
+ block insets become scroll padding so content can scroll under the status bar
2228
+ or home indicator but always scroll clear. `Workbench` rails and drawer,
2229
+ `CollapsiblePanel`, and the `SplitView` list grow by the inset they dock to.
2230
+ A center pane picks up the inset when an adjacent rail collapses, and
2231
+ interior or nested edges are never double-inset. A header or footer `Toolbar`
2232
+ keeps its dividers edge to edge. New: `Pane.safeAreaEdges` (default all
2233
+ sides; `[]` opts out), the `--kui-safe-area-*` device-inset tokens (default
2234
+ `env(safe-area-inset-*)`), the inherited `--kui-edge-inset-*` edge context for
2235
+ app-owned layouts, and `--kui-resizable-region-edge-extent`. Nothing changes
2236
+ on devices or pages without safe-area insets.
2237
+ - Fixed a `@kerfjs/ui` `ListHeader` action sitting about 4px outside the
2238
+ trailing toolbar action of the Pane header above it. Its fitted action now
2239
+ centers in the same 44px slot a toolbar control occupies at the 8px inline
2240
+ margin, so trailing icon actions share one axis. The action's size, 18px
2241
+ visual, and hover square are unchanged.
2242
+ - **Breaking (`@kerfjs/ui`, 5.0 beta):** `SelectChoice.color` now accepts only
2243
+ a foreground color, the new `CssForegroundColor` brand from
2244
+ `@kerfjs/ui/css-values`. `uiColor()` returns it for foreground token names
2245
+ (the new `UiForegroundColorName`: the `*-on-*` roles, `text`, `text-quiet`,
2246
+ `text-link`, and the `*-text` aliases), and the new
2247
+ `foregroundColorVar('--app-icon-color', fallback?)` returns it for an
2248
+ application-owned property. The `--kui-color-success` / `warning` / `danger`
2249
+ / `pop` / `accent` compatibility aliases are quiet fills that read like
2250
+ foreground colors; colored with one, an icon rendered at about 1.2:1
2251
+ contrast. `uiColor('success')` and the other fill, border, and surface tokens
2252
+ still return a plain `CssColor` and no longer type-check as an icon color,
2253
+ and neither does a plain `colorVar()` value. Migrate
2254
+ `color: uiColor('success')` to `uiColor('success-on-quiet')` and
2255
+ `color: colorVar('--app-color')` to `foregroundColorVar('--app-color')`;
2256
+ `uiColor('…-on-…')` calls keep compiling unchanged. The catalog's CSS-value
2257
+ contract for `choices[].color` lists `uiColor` and `foregroundColorVar`, so
2258
+ `eslint-plugin-kerfjs` also reports `colorVar()` there (`KUI-L014`), and
2259
+ the source and packed consumer type contracts pin the rejected fills.
2260
+
2261
+ - Fixed an `@kerfjs/ui` icon-only `Select` beside other controls in one
2262
+ `ToolbarControlGroup`. A compact Select no longer eats 1px of the group's
2263
+ 4px gap on each side (the lone-trigger padding overlap now applies only when
2264
+ it is the group's only child), a compact rounded Select uses its siblings'
2265
+ item radius instead of the lone-slot radius, and the Select now shows the
2266
+ same hover pill as its sibling buttons (a lone Select lifts the whole group,
2267
+ like a popup-menu dropdown). In a group with per-control focus rings
2268
+ (`focusRing="control"`, the default) the Select paints the same ring as its
2269
+ siblings even when `focusRingOwner="group"` was set, which previously left it
2270
+ with no visible focus. A compact icon-only `<button>` is now a 32px circle,
2271
+ so a selected compact segment is no longer a 34x32 oval. The
2272
+ ToolbarControlGroup catalog adds a "Select beside actions" example.
2273
+
2274
+ - Changed the `@kerfjs/ui` icon-only `Select`
2275
+ (`selectedPresentation="icon-only"`) to keep its disclosure caret. The
2276
+ selected icon and caret now form one pill with the same geometry as a
2277
+ `ToolbarControlGroup` popup-menu `wa-dropdown` trigger: 8px inline padding on
2278
+ both sides, 12px from the icon to the caret, the same caret glyph size, and a
2279
+ 40px default or 32px compact control height, so the icon sits left of center
2280
+ to balance the caret. In a single `ToolbarControlGroup` the group now sizes to
2281
+ the trigger (a 70x44 default or 68x34 compact pill, wider than it is tall)
2282
+ with an even inset on every side and a concentric radius, for pill and
2283
+ rounded shapes, so the group-owned outline or halo ring follows the pill while
2284
+ focused and while the listbox is open. Before, a default-size trigger was a
2285
+ 32px square left-aligned in its 44px group, and the caret was hidden. The
2286
+ Select catalog adds a default-size "Toolbar icon" example beside the compact
2287
+ one.
2288
+
2289
+ - Fixed the `@kerfjs/ui` icon-only `Select` focus ring in a
2290
+ `ToolbarControlGroup` not matching the control: the compact trigger grew its
2291
+ group into a 36x34 oval and its disclosure caret overflowed the trailing edge.
2292
+ The group-owned ring now stays concentric with the trigger while focused and
2293
+ while the listbox is open. The Select demo's "Quiet" option icon also used the success fill alias
2294
+ as its color and was nearly invisible; it now uses `success-on-quiet`, and the
2295
+ `SelectChoice.color` guidance names foreground tokens.
2296
+
2297
+ - `@kerfjs/ui` UX catalog: the ten production recipes now compose Kerf
2298
+ components, layouts, and Web Awesome surfaces through their public
2299
+ configuration alone, with no route stylesheets, inline styles, or
2300
+ styling-only classes. The list-detail dialog is rebuilt from `DialogSurface`,
2301
+ the dialog's own labeled header and close control, `SplitView` (a full-screen
2302
+ list-to-detail drill-down on compact devices), aligned `ListHeader`s, a
2303
+ `ValueTable`, and footer actions. The desktop application shell switches to one
2304
+ pane at a time below desktop sizes through `deviceClass()`. Page and pane
2305
+ headings stack instead of hiding their titles at narrow widths, and supporting
2306
+ copy, content-item text, and loading skeletons sit on the shared 17px text
2307
+ inset. The catalog frames each recipe in a `CatalogExample` viewport that the
2308
+ recipe declares through an exported `presentation`, and recipe ownership notes
2309
+ render as that example's note. `npm run check:recipes` now fails on a recipe
2310
+ stylesheet, an inline style, a class outside the published layout and Web
2311
+ Awesome vocabulary, a non-public stylesheet import, or recipe-specific rules in
2312
+ the catalog shell stylesheet.
2313
+ - Fixed `@kerfjs/ui/webawesome.css` `wa-dialog` titles given as a plain-string
2314
+ `label` sitting at the bare surface inset; they now inset by one bordered
2315
+ item step (`--kui-layout-item-padding` + 1px) so the header label lines up
2316
+ with body text and icons. Slotted label elements are unaffected.
2317
+ - Fixed icon + label `wa-button`s inside `ToolbarControlGroup` stacking the
2318
+ icon above the label; their label part now lays out as a single nowrap row,
2319
+ matching native mixed buttons.
2320
+ - `prompt()` / `form()` now reject with a `TypeError` when a validator returns
2321
+ a promise (validators are synchronous), instead of resolving the value and
2322
+ leaving an unhandled rejection. `prompt()` also re-reads its input on every
2323
+ OK, so a reactive `render` that replaces the input no longer submits the
2324
+ detached original's stale value, and a removed input rejects the promise.
2325
+ - A local `npm run check` run with `KERF_SKIP_PACKAGE_GATES=1` no longer
2326
+ records a verified tree, so the pre-push hook cannot skip the sibling-package
2327
+ gates that run left out.
2328
+ - `kerfjs/overlay`: a `prompt()` `validate` or `form()` `field.validate` that
2329
+ throws now closes the dialog (full teardown, focus restored) and rejects the
2330
+ returned promise with the original error. Previously the error escaped the
2331
+ OK click or Enter handler, and the dialog stayed open with an OK button that
2332
+ could never succeed. Validators are synchronous; this is the error channel
2333
+ for a validator bug.
2334
+ - `kerfjs/overlay`: when a `form()` field input disappears after the dialog
2335
+ opens (for example a reactive `render` re-render drops it), OK and Enter now
2336
+ close the dialog and reject the promise with an error naming the missing
2337
+ field. Previously `form()` resolved `null`, which
2338
+ reads as a Cancel, and threw from the click handler.
2339
+ - `@kerfjs/ui`: a multiline `ListItem` whose label fits on one line now
2340
+ centers its icon on that line. The row's 44px minimum used to stretch the
2341
+ grid track, which centered the label but left the start-aligned icon about
2342
+ 1.4px above it.
2343
+ - `@kerfjs/ui`: a `ToolbarControlGroup` with `focusRing="outline"` or
2344
+ `"halo"` keeps its group focus ring while a `Select` inside it has its
2345
+ listbox open. Chromium and WebKit did not carry `:focus-within` from the
2346
+ focused option to the group, so the ring disappeared.
2347
+ - UX catalog: the foundation palette's Brand swatch uses the brand on-fill
2348
+ color again, the Spacer demo gives its flexible spacer room to grow again,
2349
+ and the TokenSearchField adoption demo again wires its chip keyboard and
2350
+ `onEdit` readout. The catalog demo rework had broken all three.
2351
+ - Documented and pinned how `tooltip()` surfaces a failed show from its delay
2352
+ timer: the half-built tooltip is rolled back, the original error escapes the
2353
+ timer for the host to report (a window `error` event in browsers, matching
2354
+ kerf's other deferred callbacks), and the tooltip stays armed so the next
2355
+ hover or focus tries again.
2356
+ - Fixed the dialog helpers (`confirm` / `prompt` / `form` / `choice`) leaving
2357
+ wiring behind when a step after the overlay opened failed. Their post-open
2358
+ wiring (required-slot checks, the click-table `delegate()`, the Enter-key
2359
+ listener) is now part of construction: a failure removes the listeners
2360
+ already wired, closes the overlay (including a `native` `<dialog>`), restores
2361
+ focus, and rethrows the original error, so no pending promise is left
2362
+ attached to an on-screen dialog.
2363
+ - Added `ticket:timing summary --all`, a read-only cross-ticket timing report
2364
+ (median/p90 per phase, gate, and check step) that counts one push shared by
2365
+ a batch of tickets once and detects and excludes fan-out backfill, such as
2366
+ the first timed push that attached one check interval to 374 historical
2367
+ tickets.
2368
+ - Ticket timing now records per-step durations of the root `npm run check`
2369
+ chain (printed at the end of every run), interrupted gate attempts, active
2370
+ time through `ticket:timing claim`/`release` wrappers around `hotsheet-cli`,
2371
+ and CI/publication intervals imported idempotently from GitHub Actions with
2372
+ `ticket:timing import-ci`.
2373
+ - The pre-push hook no longer reruns `npm run check` when a local run already
2374
+ passed on the exact clean tree being pushed; the skip is recorded in ticket
2375
+ timing, and any dirty worktree, different tree, Node.js change,
2376
+ failed/interrupted rerun, or `KERF_FORCE_CHECK=1` runs the full gate.
2377
+ - The pre-push hook no longer fans its timing record out to every ticket in a
2378
+ push that names more than 25 of them (a first push of a long history, a
2379
+ force-push). It prints a notice and records only the explicit
2380
+ `KERF_TICKET_TIMING_TICKETS` list, or nothing, so it can no longer write the
2381
+ backfill shape the cross-ticket summary has to exclude.
2382
+ - The pre-push hook's "already verified" skip now also requires the same
2383
+ platform, architecture, and installed dependencies as the passing run: a
2384
+ fingerprint of every `package-lock.json` and `node_modules/.package-lock.json`
2385
+ across the root, `ui/`, `eslint-plugin/`, `create-kerf-component/`, and
2386
+ `site/`. A reinstall, a lockfile change, or a missing `node_modules` now runs
2387
+ the full gate.
2388
+ - `ticket:timing record` accepts `--run-id <n>`, and `import-ci` no longer
2389
+ imports a GitHub run a second time when it was already recorded by hand:
2390
+ an interval with that run id, or one with no run id for the same phase and
2391
+ gate whose span overlaps the run's (within 60 seconds), counts as imported.
2392
+ - `bindList()` now rolls back when its first render throws: rows that pass
2393
+ already created are disposed (content mounts and element-mode `dispose`
2394
+ callbacks) and removed before the original error is rethrown, instead of
2395
+ leaking live row effects with no handle to release them.
2396
+ - `bindList()` virtualization now validates its dimensions: heights (fixed,
2397
+ estimated, callback-returned, and `setHeight` reports) must be finite and
2398
+ non-negative, a fixed window-mode `rowHeight` must be positive, and
2399
+ `overscan` / `minRows` must be non-negative integers. Invalid values throw a
2400
+ descriptive error instead of producing blank windows or a corrupted scroll
2401
+ anchor.
2402
+ - `bindList()` now rejects a source that carries the `arraySignal` brand but
2403
+ has no patch queue with a descriptive error at bind time, instead of failing
2404
+ with a generic `TypeError` on its first render.
2405
+ - Added `wa-dialog.hide-actions` support to `@kerfjs/ui/webawesome.css`, hiding
2406
+ Web Awesome's directly exported `header-actions` shadow part for dialogs that
2407
+ provide their own dismissal affordance.
2408
+ - Fixed `mount()` leaving an element permanently "already mounted" when its
2409
+ first render throws. The first render is now transactional: the original
2410
+ error is rethrown, every binding effect and the dev listener observer
2411
+ acquired so far are released, the element's pre-mount child nodes are
2412
+ restored, and a retry on the same element succeeds.
2413
+ - Fixed `overlay()` construction leaking a live wrapper, mount, dismissal
2414
+ listeners, and concurrent-overlay stack entry when setup failed partway. A
2415
+ malformed `initialFocus` selector now throws a descriptive `overlay()` error
2416
+ before anything is touched, and a throwing first render or `native`
2417
+ `showModal()` / `showPopover()` call rolls back everything already installed
2418
+ (restoring focus) before rethrowing. `popover()` and `tooltip()` roll back the
2419
+ same way when positioning fails; the dialog helpers inherit the guarantee.
2420
+ - Added an opt-in `@kerfjs/ui/document.css` baseline for border-box sizing,
2421
+ token-backed body and link presentation, and a `.kui-app-root` full-height
2422
+ chain for application shells.
2423
+ - Added an inline `Text` span variant for secondary copy inside rows, labels,
2424
+ and table cells, preserving tone, size, and font roles without box geometry.
2425
+ - Reworked every focused UX catalog demo to dogfood Kerf components, Web
2426
+ Awesome surfaces, and semantic HTML without route-local stylesheets, inline
2427
+ styles, styling-only classes, or shared icon/button render helpers. Added
2428
+ catalog-owned specimen viewport constraints and a nonwaivable conformance
2429
+ gate that prevents those styling shortcuts from returning.
2430
+ - Fixed `ToolbarControlGroup` dropdown triggers that were sized to fixed 48px/66px boxes,
2431
+ which clipped popup icons and let compact mixed-control carets overflow in
2432
+ Safari while distorting longer catalog controls.
2433
+ - Added a `TabBar.end` action zone for layouts that need a tab-local adjacent
2434
+ `trailing` action and a separate far-edge action; the tab strip now owns the
2435
+ shrink/scroll geometry while all action regions remain visible.
2436
+ - Moved the UX catalog checkerboard to the preview scroll owner and replaced
2437
+ its four gradients with one repeated SVG tile, so the pattern continues
2438
+ through below-fold content.
2439
+ - Added explicit native `slot` support to every stable single-root
2440
+ `@kerfjs/ui` visual component, including alternate render branches, while
2441
+ keeping multi-root `ResizableRegion` and `CollapsiblePanel` excluded.
2442
+ - Fixed the UX catalog's desktop grid sizing so both the sidebar and component
2443
+ detail can scroll all the way to their final content while narrow layouts
2444
+ retain normal document scrolling.
2445
+ - Fixed single-line `ToolbarText` clipping glyph descenders while retaining its
2446
+ horizontal ellipsis behavior.
2447
+ - Formalized UX catalog demos as components, compositions, or recipes; catalogs
2448
+ now group and order those kinds consistently and label compositions with a
2449
+ visible tag instead of title suffixes.
2450
+ - Removed stale Web Awesome guidance that still advertised the deleted
2451
+ aggregate theme route; focused component routes remain the supported catalog
2452
+ surface.
2453
+ - Aligned Web Awesome Accordion and Details disclosure geometry: plain Details
2454
+ keep a flush body, plain Accordion items use the 8px surface inset throughout,
2455
+ framed Details use 16px on the trigger and 8px on the body, and framed
2456
+ Accordion items use 16px throughout.
2457
+ - Added a first-class `@kerfjs/ui/grid` layout primitive for any positive
2458
+ equal-width column count, with typed gap and flex values and zero-minimum
2459
+ fractional tracks that stay equal when child content has different intrinsic
2460
+ widths.
2461
+ - Made accent and filled-outlined Web Awesome badge variants meet WCAG AA at
2462
+ their compact text size while preserving loud accent fills and outlined
2463
+ borders.
2464
+ - Added independent typed `tone`, `size`, and `font` presentation roles to
2465
+ `@kerfjs/ui/text`, covering quiet/danger copy, compact metadata, and monospace
2466
+ identifiers without global utility classes or appearance-only heading levels.
2467
+ - Made filled Web Awesome badges use a quiet semantic fill with normal text by
2468
+ default, preserving variant tint while meeting WCAG AA for their compact text.
2469
+ - Fixed nested Rows and Lists inheriting inset values for sides that were not
2470
+ selected on the inner layout component.
2471
+ - Fixed migrated `Text` instances in Catalog and passive `ListHeader` labels
2472
+ retaining nested padding or border geometry that offset their visible content.
2473
+ - Added `Row.vAlign="baseline"` for native flex cross-axis baseline alignment;
2474
+ `List.vAlign` remains limited to values supported by vertical main-axis
2475
+ distribution.
2476
+ - Added a first-class `@kerfjs/ui/text` component for native `h1`–`h6` and
2477
+ paragraph semantics with standard transparent-border and content-padding
2478
+ geometry and margin-neutral defaults; it renders `p` when `variant` is omitted,
2479
+ and Kerf UI's headings and prose now use it.
2480
+ - Added the shared physical `Sides` contract to `List` and `Row` text/control
2481
+ insets and to `ListInsetText` / `ListInsetControl`; inset wrappers now default
2482
+ to all four sides, while `ListInsetText.horizontalOnly` remains a deprecated
2483
+ compatibility alias for `sides="rl"`.
2484
+ - Added `ListHeader.inline` for shrink-wrapped section labels that remove the
2485
+ component root's outer margin, border, and padding while preserving title,
2486
+ count, action, and disclosure behavior.
2487
+ - Added a catalog-driven public-component integration validator for
2488
+ `@kerfjs/ui`, including an all-at-once dry-run report across package, build,
2489
+ barrel, CSS, demo, route, signature, and compatibility surfaces.
2490
+ - Added one change-local `@kerfjs/ui` verification command that synchronizes
2491
+ generated projections, runs component/bundle/type coverage, builds the demo,
2492
+ reports exact gzip deltas, and records reviewed budget updates with reasons.
2493
+ - Made every `@kerfjs/ui` Playwright invocation build current catalog source
2494
+ after fast preflights, with a served source digest that rejects stale preview
2495
+ output during focused browser runs.
2496
+ - Added durable Hot Sheet phase timing for active work, local verification,
2497
+ push hooks, CI, and publication, including safe failure aggregation and
2498
+ per-ticket summaries.
2499
+ - Added typed flex participation to `Row`, matching `List`'s boolean, finite
2500
+ keyword, and branded `CssFlex` contract.
2501
+ - Added a first-class horizontal `Row` with typed spacing, physical-axis
2502
+ alignment, and opt-in wrapping; `List` now supports the same alignment
2503
+ vocabulary while retaining its existing defaults.
2504
+ - Refined compact mixed `ToolbarControlGroup` selections to retain standard
2505
+ horizontal padding, remove the internal separator, and raise the selected
2506
+ surface over the outer border; avatar group hover now preserves image fitting.
2507
+ - Moved the comprehensive local `npm run check` gate from pre-commit to
2508
+ pre-push so coherent commit batches pay its cost once; pre-commit now performs
2509
+ only Git's staged whitespace check, and multi-source AI guidance files are
2510
+ excluded from repository-wide Prettier enforcement.
2511
+ - Fixed `create-kerf-component` releases carrying a stale composition-catalog
2512
+ schema by generating the bundled copy from `@kerfjs/ui`'s canonical schema
2513
+ and gating both the root check and interactive release flow against drift.
2514
+ - Added catalog-driven CSS value diagnostics across `eslint-plugin-kerfjs`,
2515
+ `kerf-ui-analyze`, and `kerf-ui-doctor`. Stable `KUI-L013`–`KUI-L017`
2516
+ findings now identify raw or unknown values, wrong-dimension helpers,
2517
+ incomplete expressions, declaration-list escapes, and review-worthy
2518
+ off-scale spacing from first- or third-party component catalogs.
2519
+ - Extended the property-specific `@kerfjs/ui/css-values` contracts: `List.flex`
2520
+ now uses finite keywords or `flex()`, `Skeleton` dimensions use `CssSize` and
2521
+ `CssLength`, and `SelectChoice.color` uses `uiColor()` or `colorVar()`.
2522
+ Removed the unrestricted `style` escape hatches from `ListItem` and
2523
+ `ListActionRow` before the 5.0 stable release; use `className`, public tokens,
2524
+ and cataloged props instead.
2525
+ - Added typed, CSS-free `@kerfjs/ui/css-values` builders and branded complete
2526
+ versus expression length types. `List.gap` now accepts direct spacing-token
2527
+ shorthands or complete `CssLength` values and rejects unrestricted CSS strings.
2528
+ - Added the public recursive `JSXChildren` type from both `kerfjs` and
2529
+ `kerfjs/jsx-runtime`, giving third-party function components a canonical
2530
+ declaration for nullable, signal-backed, and arbitrarily nested readonly
2531
+ child content that matches the runtime.
2532
+ - Added the public recursive `KerfUiContent` type across semantic UI content
2533
+ zones, so nullable conditionals and mutable or readonly nested component
2534
+ arrays compose directly without a `Fragment` while raw strings, numbers, and
2535
+ signals remain rejected outside explicit text positions.
2536
+ - Fixed bottom `Workbench` drawers overshooting and snapping during collapse
2537
+ transitions by anchoring fixed-height content to the shell's stable bottom
2538
+ edge.
2539
+ - Fixed bottom `CollapsiblePanel` drawers overshooting their open position and
2540
+ snapping back by anchoring fixed-height content to the panel's stable bottom
2541
+ edge throughout the transform transition.
2542
+ - Formalized named `SafeHtml` prop slots as explicit `zone.jsx.prop` bindings
2543
+ in the UI composition catalog and generalized `ui-composition` linting beyond
2544
+ Toolbar, including statically visible `children`, cardinality, aliases,
2545
+ namespaces, arrays, fragments, and branches.
2546
+ - Added `ToolbarControlGroup.avatarImage`, painting contained avatar imagery on
2547
+ a lone group or on the pressed highlight when the group has multiple buttons.
2548
+ - Split the AppTab and TabBar catalog routes into focused component specimens,
2549
+ and moved their controlled selection, tabpanel, overflow, add/close, and
2550
+ reorder lifecycle into a separate application-tabs composition demo.
2551
+ - Fixed `wireNavStack` focus ownership across controlled navigation: pushes
2552
+ focus the new top view, pops restore its remembered descendant, and removed
2553
+ targets fall back through `data-nav-focus`, the first enabled control, and
2554
+ the view container.
2555
+ - Fixed compact mixed-content `ToolbarControlGroup` dropdown triggers being
2556
+ forced into an icon-only width, which painted the label across its separator
2557
+ and the Web Awesome caret outside the group.
2558
+ - Made `ListItem` clip label, status, and dormant trailing painting to its
2559
+ rounded row boundary so compact and constrained rows cannot visibly overflow;
2560
+ described rows now grow enough to keep their owned two-line label readable.
2561
+ - Fixed compact toolbar `Select` focus to follow its owning group's pill or
2562
+ rounded geometry and restored consistent spacing between popup icons and labels.
2563
+ - Fixed the compact-toolbar recipe's independent overflow action to use the
2564
+ same full-height pill geometry as its adjacent toolbar controls.
2565
+ - Fixed the catalog footer's `Components` relationship selector to fit its icon
2566
+ and plural label and give popup headings/items consistent border clearance.
2567
+ - Fixed a collapsible `TokenSearchField` inside a rounded
2568
+ `ToolbarControlGroup` retaining its independent pill radius instead of using
2569
+ the group's shared concentric highlight radius.
2570
+ - Updated the header-composition catalog demo's supporting copy to use the
2571
+ horizontal `ListInsetText` geometry, aligning it with the value-table content
2572
+ edge across responsive, RTL, and zoomed layouts.
2573
+ - Updated the `Pane` catalog demo's secondary header copy to use
2574
+ `ListInsetText`, aligning it with the standard pane content gutter at wide and
2575
+ narrow sizes instead of maintaining demo-only padding.
2576
+ - Completed `NavStack` navigation transitions by cross-fading top and bottom
2577
+ chrome alongside content slides, added per-view bottom toolbars with a
2578
+ persistent fallback, and replaced the static focused demo with a working
2579
+ push/pop flow.
2580
+ - Replaced the static compact `SplitView` detail specimen with a controlled,
2581
+ interactive list-to-detail drill-down whose Back action restores the list;
2582
+ the roomy example now demonstrates controlled selection as well.
2583
+ - Documented and demonstrated list-first dialog bodies: use `List` with
2584
+ `bodyInset="none"`, and wrap bare dialog copy in `ListInsetText` so content
2585
+ shares the standard list gutter without double-insetting.
2586
+ - Fixed `@kerfjs/ui`'s collapsible `TokenSearchField` keep-open ownership in
2587
+ WebKit: when `focusout.relatedTarget` is missing during pointer activation of
2588
+ an external `data-token-search-keep-open` surface, the helper now uses the
2589
+ actual pointer target instead of collapsing and removing the target before
2590
+ its click handler runs.
2591
+ - Added a first-class vibrant `pop` semantic color for attractive non-status
2592
+ emphasis, with complete light/dark/increased-contrast token roles and typed
2593
+ StateBanner, ListHeader indicator, and ToolbarControlGroup selected tones.
2594
+ - Fixed canonical `Select` popup animation reversals so an earlier close cannot
2595
+ hide a reopened menu after resizing. Canceled transitions retain the accepted
2596
+ state, and removed controls cannot receive stale completion or deferred focus.
2597
+ - Fixed managed `TokenSearchField` Clear focus before the next input task, so
2598
+ immediate typing stays in the replacement editor instead of triggering page
2599
+ shortcuts; genuine later focus handoffs and selections remain untouched.
2600
+ - Fixed `@kerfjs/ui/tab-scaffold` bottom-tab labels being vertically clipped by
2601
+ flex shrinkage while retaining horizontal ellipsis for long labels.
2602
+ - Made inset selection and hover highlights follow their owning control's pill
2603
+ or rounded shape, with concentric inner radii derived from the full inset.
2604
+ - Fixed animated `ResizableRegion` overlays so remembered desktop dimensions
2605
+ cannot make their content overflow the responsive panel cap on narrow screens.
2606
+ - Added configuration-first application-panel policies across `ResizableRegion`,
2607
+ `Workbench`, and `CollapsiblePanel`: separator visibility, instant-track
2608
+ collapse with optional composited content motion, popup-safe overflow,
2609
+ inline/overlay/hidden responsive presentations, and safe-area restore-control
2610
+ placement. `wireResizableRegions` now suppresses motion during pointer drags
2611
+ and ignores unavailable regions; `wireSidebar` supports hidden compact
2612
+ replacements and exclusive overlays.
2613
+ - Added typed `TabBar` allocation/presentation/action-placement and `AppTab`
2614
+ presentation/size/label-width variants for segmented inspector strips,
2615
+ compact drawer tabs, icon-only accessible tabs, and truncating labels.
2616
+ - Added typed `ToolbarControlGroup` size, density, content anatomy, selected
2617
+ chrome/tone, nested-dropdown, and avatar scrim variants.
2618
+ - Added typed `Select` form, borderless-toolbar, intrinsic-navigation, compact,
2619
+ icon-only-selected, truncation, and composed focus-ring variants.
2620
+ - Added `DialogSurface` and `PopupSurface` composition APIs for standard dialog
2621
+ sizes/presentations, independent body/footer insets, and list-compatible popup
2622
+ menu insets without consumer `::part()` overrides.
2623
+ - **Breaking (`@kerfjs/ui`):** removed `PanelHeader` and its subpath/CSS export.
2624
+ Compose page, panel, and dialog headings directly with `Toolbar`, a direct
2625
+ extra-large `ToolbarText`, and optional `ToolbarControlGroup` icon/action zones;
2626
+ keep supporting copy as app-owned content below the toolbar.
2627
+ - Fixed controlled TokenSearchField Select All + Backspace/Delete collapsing the
2628
+ editor: managed deletion keeps the adopted open signal and restores replacement
2629
+ focus before another keystroke, without a stale animation-frame caret reset.
2630
+ The adoption demo now persists both edited text and remaining tokens.
2631
+ - Fixed `Select` controls using only `ariaLabel` being unnamed to assistive
2632
+ technology. Ordinary and custom selected content retain their geometry while
2633
+ the actual shadow combobox receives its accessible name.
2634
+ - Added first-class `Select` hint text below interactive and loading-placeholder
2635
+ controls while keeping empty-value `placeholderText` semantically distinct.
2636
+
2637
+ - Changed the Web Awesome Dialog theme to use 8px body padding and 16px footer
2638
+ padding, independently of the component's shared `--spacing` value.
2639
+
2640
+ - Fixed `kerf-ui-doctor` so its isolated Kerf ESLint pass preserves applicable
2641
+ consumer core rules and suppression reporting options. Playwright's required
2642
+ `no-empty-pattern` fixture suppression no longer becomes a false unused
2643
+ directive while consumer plugin rules remain outside the doctor boundary.
2644
+
2645
+ - Cataloged `SplitView` and its documented
2646
+ `--kui-split-view-list-width` override so `kerf-ui-doctor --full` accepts the
2647
+ public token in downstream application stylesheets.
2648
+
9
2649
  - Added the first-class `List` vertical-layout component with gap, flex, scroll,
10
2650
  and multi-edge divider options; `Toolbar` now uses the same typed
11
2651
  `dividerSides` contract instead of a boolean divider.
@@ -250,6 +2890,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
250
2890
  - Added the lockstep `@kerfjs/ui` package: accessible toolbar, menu, tab, header, resize, select, and feedback primitives; semantic CSS tokens and browser component subpaths that automatically include only reachable component styles; CSS-free root/SSR entries and an optional complete stylesheet; opt-in Web Awesome registration; AI-oriented docs; a production-backed UX catalog; bundle/unit/three-engine browser gates; and a least-privilege release workflow.
251
2891
  - The virtual-list demo animation opens on the full app again (header, the "N in the DOM" badge, and the list) before the scroll; the list now scrolls inside its own box while the header stays put (previously the whole frame was a full-bleed list strip), holds at row 0 before gliding instead of starting a few rows down, and the loop stays in phase on every pass. Captured with domotion-svg 0.28.2.
252
2892
 
2893
+ - @kerfjs/ui panel toolbars now place groups in leading, center, and trailing zones; relocateOnCollapse keeps chosen groups available when a panel closes.
2894
+
253
2895
  ## [4.4.1] - 2026-08-26
254
2896
 
255
2897
  - Overhauled the README landing page: new one-line tagline, npm/size/license/TypeScript-types badges, a hoisted "Quick start" (install + `tsconfig`) right under the hook, and a jump nav (Quick start · Why kerf · Quick tour · Docs). The counter example now shows `delegate()` wiring the click handler.