All 25 packages share one version (cssints and every @cssints/*). cssints is in alpha: on 0.x a minor version can break, and each breaking change here says how to migrate. The entries come from the changesets of each release (scripts/changelog.mjs, run by bun run version-packages).
createRadioGroup takes intents and answers with a snapshot: act({ type: "next" | "previous" | "first" | "last" }),
act({ type: "focus" | "check", index }) drive the same paths the keys and the pointer drive (request/commit, callbacks and
ARIA included), and snapshot() is the group's observable state as JSON — the checked and focused radios by index, the
disabled ones, the flavor and aria-orientation. A test, a demo script or an agent can move the widget without dispatching
DOM events; read the snapshot after a flush.
createListbox carries the same pair: act({ type: "next" | "previous" | "first" | "last" | "activate" }),
act({ type: "type", text }), act({ type: "focus" | "click", index }) and snapshot() with the selection, the active
option, focus, the count, the disabled options and the selection mode. A list moves by DOM focus, so its act focuses the
option's element. Its two controlled props are memos now, not signals written by effects (the same relay a controlled value
is not allowed to be).
createToast takes a clock (systemClock from @cssints/machine by default). The countdown reads it for the deadline
and both timers, so a test passes createFakeClock() and advances the countdown deterministically: hovering 800 ms into a
1200 ms toast, holding it past the deadline, and leaving is proven to resume with the 400 ms that were left rather than
restart, with no wall clock and no sleep. The toast suite (headless and the kit's) now runs on the fake clock.
createPanZoom leaves a wheel with no vertical delta to the page: a horizontal swipe with ctrl / meta held (a Magic
Mouse pan, a deltaX-only event) used to read as "zoom out" and be preventDefaulted. createKnob already guarded
deltaY === 0; the primitive now does too, and so does every wheel handler in the starters.
createRadioGroup mounts under Solid 2.0.3: the group's cleanup and its effects are created in the
primitive's body and the ref only names the element it landed on. They used to be created inside the
ref callback through runWithOwner, which 2.0.3 rejects — onCleanup in a ref callback is
CLEANUP_IN_FORBIDDEN_SCOPE, and it threw on mount, halting the whole reactive graph of the host.
Found by the dev console in effects-of-atmosphere, which goes blank on 2.0.3 because its mode and
pane controls are radio groups. The behaviour is unchanged: the roving group still attaches,
reconciles and detaches on the same transitions, and the primitive's own suite (37 tests) is green.
css.picker(styles) is ::picker(select) — a functional pseudo-element whose only
argument is the element it belongs to, so the wrapper takes none — and the grammar accepts appearance: base-select
(css-ui-4: Chrome 135, Safari 27, Firefox 149), which mdn-data 2.27.1 leaves out of <compat-auto>. The value carries
BCD's support warning for the targets that lack it, and ::checkmark / ::picker-icon were already wrappers.createRadioGroup and createMenu snapshot the host's value / open
in a memo instead of a signal written by an effect: the effect's write was derived state one flush late (Solid's
EFFECT_RELAY_TEAR), so anything derived from the checked value or the open state — a skin's class, a projection — could
paint a frame behind the prop that moved.createWorkspace's panels actually hide: the inner tab list's controlled value now reads the workspace's own version signal, so tabpanelProps(...).hidden changes with the active tab — in 0.46.0 it never did, and every panel of a tabset stayed visible (a host had to derive hidden from active() itself).
Two options the first real host asked for:
initial: where each tab starts. The dealt layout puts ceil(n / 2) tabs in the left tabset, which is a guess; a host that knows its layout (both tabs in the right one, a tab detached) says so instead of replaying pick/drop after mount — which also announced a move and asked for focus at load.labels: the spoken name of a tabset. The defaults name the position in the row ("Left tabset"), which is wrong for a pane whose only tabset is not on the left.workspace: tabs in tabsets, tabsets in a row with a floating and an edge group. The tabset half is APG Tabs (one tab list per tabset, roving focus, arrows inside a list, automatic activation); the workspace adds the delta specs/patterns/workspace.qnt models — a tab lives in exactly one home, a drop names its target as data (tabset0 | tabset1 | tabsetF | float | edge-*), an emptied tabset disappears unless keepWhenEmpty, a move is destructive, a copy names its destination (copy(id, target)) and keeps its source, and a refused drop changes nothing and keeps the tab in hand (reason = "none").
A tab leaves the window as a serialisable value (detach → { id, data }) and comes back (attach); the transport is the host's. Tear-off is deliberately absent — the platform reports no release position for a drag that ends outside the window — so "open in a window" is a button, not a gesture.
The keyboard move is not a drag: Ctrl+Alt+ArrowLeft/Right moves the focused tab along the row, Ctrl+Alt+ArrowUp floats it, Ctrl+Alt+ArrowDown docks the floating tabset, Delete closes a focused tab (VS Code's Move Editor to Next/Previous Group; Ctrl+Cmd on macOS). Plain arrows stay the tab list's.
canDrop(change) is the host's veto, the onBeforeModelChange seam: a change it refuses lands nowhere, keeps the tab in hand and says so in the live region. Every landed change is announced in words ("Logs moved to the right tabset", "Runs closed", "Files detached").
Verified by a differential walk over workspaceSteps against the generated model through the bridge, and by the ported scenarios in scenarios/patterns/workspace.spec.json on the real DOM.
tabs: the focusgroup item collection now drops elements that are no longer connected, so a host that removes an item from the start of its list leaves no detached entry for the provider to focus.
specs/patterns/workspace.qnt: a copy names its destination, like a drop does. copyTab was pinned to tab1, which made "duplicate" mean "put the duplicate in the right tabset" for every host; it now takes one nondet dest over the drop targets, records it in copyTo, and refuses (reason "none", nothing changed) when there is no tab in hand, the tab is out of the window, or the destination is the container the tab is already in. CopyKeepsSource still holds for every target, and CopyNamesItsTarget says a landed copy recorded where it was asked to go. The copy's duplicate and the existence of a container it alone would create stay the host's (see NOT MODELLED).
The bridge's copy step carries the target, and onCopy's payload is the recorded destination in the host's vocabulary (tabset0, tabsetF, edge-left, …) instead of the literal "tabset1". The scenario set gains a copy into an edge target (and a refused copy onto the tab's own container).
specs/patterns/workspace.qnt: tabs and tabsets in one window — a tab lives in exactly one home (docked, floating, an edge tabset, out of the window, or closed), a drop names its target as data and the model never sees a pixel, an emptied tabset disappears unless keepWhenEmpty, a copy keeps its source, and a refused drop changes nothing and says reason = "none". The vocabulary is specs/apg/tabs.qnt's; this spec models only the delta. Its bridge marks the per-tab payload (tabs) as a sink key, so IGNORED_CONFIG_KEYS grows by the one entry that made no other bridge change.Structure block lists
the data-part tree under it, with a repeat counted (landing-card ×3 → landing-card-title, landing-card-badge ×2) —
the picture a reader draws by hand to explain a screen, read from the only vocabulary the markup states for itself. An
element with no part is a wrapper and is walked through, so its labelled children stay at their structural level; the walk
stops at four levels and 24 lines and says that it did. createModifiers-style spreads are not needed: any host that marks
its parts gets the tree for free.createCanvas leaves the machine idle on a press that began on a control inside a node — a button, a link, a field, a form-control role, editable content, or anything marked data-canvas-ignore — so a card that carries its own controls works: the press is the control's, the node is not selected and no drag starts. The same class as a non-primary button, and the rule react-resizable-panels arrived at for its tabs in 4.22.1.@cssints/mcp's vite dependency goes from ^1.4.0 to ^8.3.0: the Vite+ core package dropped its own versioning and now
follows Vite's majors (@voidzero-dev/vite-plus-core@8.3.8000), so the old range no longer matched any published core.createModifiers' itemProps no longer carries aria-haspopup="menu". What activating a unit opens is the host's: a menu
says aria-haspopup="menu", and a panel of its own — the kit's starter, with the span as checkboxes and the input column as
radios — is a disclosure, which says aria-expanded and aria-controls. A disclosure that claims to be a menu is a
promise it cannot keep, and the primitive cannot know which one the host builds.feedback on the primitives with physical semantics — knob, slider, slider-multithumb, spinbutton, switch,
checkbox and checkbox-group — a callback pair taking named intents ("detent", "latch", "release",
"limit"), never milliseconds: knob/slider/slider-multithumb/spinbutton report a step as detent and a bound as
limit, switch/checkbox report latch on and release off. Output only, so nothing about the widget changes with it
attached: a programmatic change, the host writing value and a focus are silent, one held key or a pointer held against
the end ticks once instead of once per frame, and the platform stays out of the primitive (navigator.vibrate is absent
on iOS Safari) — the host decides what an intent becomes. The kit's wrappers pass it through. The four intents and the
emission rules are in the README's "Feedback" section.createDiagramFocus makes edges from the keyboard: c starts a link from the active node, the arrows pick the node it
should join, Enter fires onConnect(from, to) and Escape forgets it, with canConnect(from, to) refusing a pair and the
live region announcing the link. startConnect(id), connectTo(id) and connectFrom() are the same pending state for a
host's pointer drag, so both halves draw one line and say one sentence.
createModifiers: table transformations reified as a persistent stack of units over columns (MuTable,
UIST '26), with the accessibility a pointer-only version would lose. One encoding has one owner — the
topmost unit covering the column — so the order means what it means; a unit's parts carry its coverage
by position, so a joined unit is a reusable sequence and retargeting it moves every step. locked says
which column is the input, as a table's sort is a descriptor the host computes with.
The rail is a toolbar of menu buttons: arrows move focus, Alt+arrow reorders (the drag's keyboard
route, where dragging is the pointer's), Enter/Space/Shift+F10 opens the unit's menu (its span as
checkboxes, the lock as radios, join with above, split, remove), and Delete removes. A unit's
aria-label is its span and its lock; every structural change is announced through a createStatus
region, and only once the host's stack says it happened — a controlled host that refuses a request gets
no message. Encodings stay decoration: the values remain text, mark being a smaller rendering of them.
The panel has a Motion section: what the page is running, read from document.getAnimations() (CSS transitions included) —
the properties each keyframe sets, the duration and easing, the animation-name or transitioned property, the
pseudo-element and the play state. Two controls beside it: slow motion ×0.25, which puts every running animation at a
quarter speed and back, and reduced motion preview, which finishes them all — what a reader with
prefers-reduced-motion: reduce sees. The list is read on the panel's 600 ms timer, so it costs no frame loop and is not a
live region.
createModifiers' two props objects name their parts (data-part="toolbar" and data-part="item"), like every other primitive since 0.41.0 — the primitive landed after that pass and the source-shape guard in test/parts.test.ts caught it, which is what the guard is for.ui.yml regenerates apps/ui/public/r before the starter smoke instead of failing on a diff, and master commits the items together with the conformance records — a generated file is not something a person should have to keep in step by hand, and the gate was red three times on a race between a merge and the regeneration. The items the smoke installs are still the ones the sources produce, because the regeneration happens before it.createMenu's polyfill path owns the block-axis movement and the roving tab stop: ArrowUp / ArrowDown / Home / End change the primitive's own focus by the transitions the spec models, and the row carrying tabindex="0" follows that state instead of the DOM focus. The provider used to move focus with focus() and report it back through onFocus, which a page that is not the focused one delivers a task late — late enough to rewind the menu to a row from an earlier step, and the differential walk saw it as a real divergence. The native engine is untouched: there the provider still owns both.The workspace's typecheck now checks the types it claims to. scripts/typecheck.mjs runs effect-tsrs diagnostics with --type-check, so ordinary TypeScript diagnostics are reported instead of only the Effect rules — no package passed the flag, so none of them was ever type-checked.
The fallout was one interface and two assertions: DialogModalOptions' optional members accept undefined explicitly (a host forwarding a value now compiles under exactOptionalPropertyTypes), and two tooltip assertions compare hidden to true instead of handing string | boolean to waitFor.
Every props object a primitive returns now carries data-part, the name that part goes by in the primitive's own
vocabulary (trigger, panel, option, menuitem, thumb, track, cell, row, header, …). It is additive: no
behaviour, no new option, no ARIA, no id or focus change — the value is a styling hook, typed string rather than a
literal so a host or a render may still replace it.
The values are the de-facto vocabulary the fixtures already used (test/*.fixture.tsx), so a skin can attach to
[data-part="option"] without the host inventing class names; the fixtures' own literals are now redundant and are
gone, except where a fixture addresses one instance (node${id}, cell:r,c) and renames the part after the spread.
TabRenameProps is the one props object without the marker: it is the rename controller, not a set of element
attributes. test/parts.test.ts fails a primitive whose props type omits it, and data-part is documented per
primitive in packages/headless/README.md.
createConfirm can host its alert dialog on a native <dialog>: it exposes the dialog modal's nativeProps (the
alertdialog role, the title/description ids, closedby="any") and attachDialog. The platform then owns the modal
layer, the focus containment and return, Escape, the light dismiss and the scroll lock; the promise, the Cancel-first
focus and the request/answer split stay the primitive's, and a platform close answers false. dialogProps and
backdropProps remain the element-free shell.
createDrawer gains the native <dialog> host path: nativeProps (role, aria-modal, aria-labelledby, and
closedby — any or closerequest from dismissable, none for a non-modal rail) and attachDialog, which is
showModal() for a modal drawer and show() for a non-modal one. A modal drawer hands the top layer, the focus
containment and return, Escape, the outside press and the scroll lock to the platform; a non-modal one keeps the shell's
Escape and outside press (a non-modal dialog has neither) and takes only the top layer.
On the native path the primitive keeps two contracts the platform does not give: the focus showModal() misses when the
panel's controls are not laid out yet (a microtask after the flush, with autofocus on the least destructive control in
the kit), and the APG's Tab wrap at the panel's ends — a native modal makes the rest of the page inert but lets Tab leave
to the browser's chrome. attachDialog sets tabIndex = -1 on the panel for the focus fallback (Solid's JSX forbids tabindex on a dialog), and no aria-modal (showModal()
is the modal state).
createMenu gains overlay: "popover" (the default stays "inline"): the list is a popover in the top layer, placed
by the host's CSS anchor positioning (position-anchor, top: anchor(bottom)), and the platform's light dismiss and
Escape arrive as a toggle — the primitive treats that as the same close a pointer outside the widget asks for, so a
controlled host still holds or refuses it. menuProps gains popover, and its hidden is undefined under the API.
createMenubar takes the same overlay: "popover" for every level, with popover="manual": the menubar moves the focus
between the bar, a menu and a submenu itself, and a UA close's focus restore would fight it, so the platform keeps the top
layer there and the primitive keeps Escape and the host's outside press. The lists are synced with the state at the moment
it changes (bump), not in an effect: the kit focuses a row from the same change, and a focus into a popover that is
still closed does nothing. The kit's Menu and Menubar use the mode where CSS.supports("anchor-name", "--a") and
keep the inline absolute lists elsewhere.
attachDialog listens for close and cancel on the element it is given, instead of relying on the host spreading
nativeProps.onClose/onCancel. A host whose <dialog> is created by a component (a <Show>, a render prop) still gets
a platform Escape or close() back into the open state; the props stay for hosts that prefer them, and the two requests
are idempotent.createDialogModal gains the native <dialog> host path: nativeProps (role, aria-labelledby/aria-describedby,
closedby from dismissable / keyboardDismissDisabled, onCancel and onClose) and attachDialog(element), which
follows the open state with showModal(), show() (modal: false) and close(). The platform then owns the top layer,
the backdrop, focus containment and return, Escape and the scroll lock; dialogProps remains the element-agnostic
fallback for hosts without <dialog>.createPopover hosts its panel on the Popover API where the engine has it: the panel becomes a popover in the top
layer, so no ancestor's overflow or transform clips it and no z-index decides its stack. contentProps gains
popover: "auto" and its hidden is undefined under the API (the UA hides a closed popover); the fallback keeps
hidden. The placement is written in client coordinates with position: fixed there, and cancels the UA's
inset: 0; margin: auto, which otherwise re-centres the panel. PopoverStyle.position is "absolute" | "fixed"; a
host that styled the closed panel through [hidden] should use :not(:popover-open) where the API exists.createResizablePanels keeps the snap marks as its state: onSnapMark(index, marks) hands a release's list to the host and
snapMarks takes it back, so the preferred width survives a reload. The hills are rebuilt from the marks, and a separator
keeps 24 of them — the whole history the decay can still see.pointer() in @cssints/reveal: the element's own scale, scrubbed by the pointer's position across (or down) it —
axis("x" | "y"). No engine ships pointer-timeline (a draft with no BCD key), so the runtime is the feature and it is
delivered to every target; it measures the layout box, so the scrub survives its own shrink.packagesOnCssints
read only the app's own dependencies, so a transitive one — @cssints/reveal importing
@cssints/motion, the shape of every starter that installs from npm — was externalized in the
evaluation server, and Node loaded its module itself: the with { type: "cssints" } attribute that
marks a published package as build-time code is not an attribute Node knows, so the run died with
Import attribute "type" with value "cssints" is not supported. The walk now follows the installed
graph (dependencies and peers, from each package's own manifest), so every package on cssints is kept
out of the optimizer and inlined where the engine evaluates it.createResizablePanels takes snap: a divider learns the width it is dropped at — a mark per
release, weighted by recency on a half-percent grid — and sticks to it once about three drags agree,
inside a 10 px zone. The point is sticky, Alt asks for the exact width, the keys never snap, and
snapPoint(index) is the learned width for a skin that marks it.progress() in @cssints/reveal: a bar whose fill is the scroll's position — the element's own scale, scrubbed by
animation-timeline: scroll() over animation-range, with .axis("x" | "y"), .timeline(...) and .range(...). No
CSS fallback for a scrub, so a browser without scroll-driven animations draws no bar.
createScrollProgress in @cssints/headless: the container's scroll as 0..1 with progressbar props (aria-valuenow),
one passive scroll listener and one ResizeObserver; 1 when there is nothing to scroll. It is the JS half of
progress() — one element takes both, since a running animation beats an inline style.
shape() and border-shape are in the grammar (webref's border-shape, and shape() in <basic-shape>, so
clip-path, shape-outside and offset-path take it too), with the commands checked by the build rather than the call
grammar, and a support warning for the two Chrome-only keys. shapePath() (@cssints/css-grammar/shape) turns the same
value into SVG path data, the fallback for the browsers without the property; the board's line: "shape" edge is one
string drawn both ways.
createViewTransition: the runner around document.startViewTransition. run(update) applies the update exactly once, starts a transition when the API exists and motion is not reduced, and resolves even when the platform skips it (a duplicate name, a supersede). persist() is the default case (view-transition-name: match-element, the browser names the element), name(id) is the morph pair with a deterministic prefixed name, and state() reports supported / active. Reduced motion and a browser without the API are one inert path. Its behaviour is packages/apg-specs/specs/patterns/view-transition.qnt; the DOM is checked against it by the differential walk.
x, or the xray button): the picked element, its subtree, or the whole page as boxes, each with
its border-box size, padding, border, corner radii, a flex/grid gap, the spaces between siblings and a 4 px grid inside
the root. Every number is read from the page (getBoundingClientRect, getComputedStyle), so it follows a hover, a
scroll or a query; no extension and no CDP. The panel repeats the measurements as text under X-RAY, and the button
cycles element → subtree → page → off.createControllable: a controlled host that commits without a flush — one whose value reads other controls, as a
"select all" checkbox reads its children — now takes the same request again once the value has moved. The
duplicate-intent guard only holds while the value the request was made from still stands, so two gestures in one task
(the native frame loop, which runs a whole click without yielding to a microtask) are two intents, not one. A DOM host
is unaffected: a microtask clears the guard between events anyway.@cssints/devtools/vitals: the page's report in the console — the five web vitals from web-vitals (with the LCP element,
the INP interaction and its input / processing / presentation, and the library's own ratings), long animation frames with
their style and layout time, errors, heap, the frame timeline (p50/p95/max, a sparkline and a heatmap), and the
stylesheets' own numbers read off the CSSOM: bytes, rules, declarations, layer bars, the worst specificity, colours, fonts,
!important, custom properties declared / used / orphaned, keyframes in use, and coverage (the classes no element
carries). On a dev server, the sheet's growth across HMR edits (its size, the file that changed, the bytes a class costs)
comes over the HMR channel: cssints:edits. Long animation frames name their scripts, invokers and forced layout; the
last twenty loads of a path are kept in sessionStorage with deltas; the CSS files' arrival (and render blocking) comes
from the resource timeline; and with the devtools table the sheet's cost is attributed to the calls that made it. No dev server and no overlay: a plain browser module, so a page that draws to a canvas (the native browser
target) has a report too.@cssints/data: data(), statistics over runtime values computed by the browser's layout — the largest, the total and the
count of a list's --values, read back with round(100cqw / 1px) in a container query and printed by a counter. No
runtime and no state: the values stay the host's, and changing one updates the answer in the same frame. The DOM contract
and its accessibility note (the printed number is not text a screen reader sees) are in the README.
The V2 half of the platform's focusgroup contract is now ours, because nothing publishes it: no engine reports
focusGroup.supports("grid"), npm's @microsoft/focusgroup-polyfill 1.6.0 has no grid token at all, and the
polyfill's main (grid merged 2026-09-29) has no built dist.
focusGrid(owner, { definition, items }) renders focusgroup="grid" / "grid manual" (plus the per-axis
rowwrap / rowflow / colwrap / colflow and nomemory) and provides the movement where the engine does not:
one tab stop over the authors' tabindex, arrows on both axes, Home / End per row, Ctrl+Home / Ctrl+End for the
grid, hard edges by default with per-axis wrap and flow, focusgroupstart as the entry target, the last-focused
memory, the focusgrouprow markers of a manual topology, the native key-conflict guard, and an inert body when the
coordinates are not a rectangle. destroy() restores the authors' tabindex and removes the markers it added.
focusgridAttribute and supportsFocusGrid are exported too; no new dependency.
@cssints/apg-specs gains specs/patterns/focusgrid.qnt (the contract: one tab stop, both axes, the per-axis
edges, entry / memory / focusgroupstart, grid vs grid manual, and what a grid does not do — spans, ragged
rows, virtualisation, edit, selection, itemcontrols), its bridge and scenario set, and the spec-only test.
specs/apg/grid.qnt is untouched and does not import it yet; adopting the runtime in grid.ts is a follow-up.
@cssints/gamut: gamut and contrast colour maths at build time — fit() brings a colour into sRGB or Display P3,
readable() gives a text colour that reaches a WCAG 2 ratio on a background, and tones() a lightness scale as DTCG data
for createTokens. The decisions are gamutant's, made once with culori instead
of per element in CSS.
The platform's focusgroup contract is now one adapter: focusGroup(owner, { definition, items }) sets the
owner's focusgroup attribute where the engine has it (Chromium 150+) and otherwise drives
@microsoft/focusgroup-polyfill's low-level FocusGroup over an array-backed item collection, with
update() and the measured teardown (update({ definition: {} }) before disconnect()).
focusGroupPolyfill, focusGroupAttribute and supportsFocusGroup are exported too; the polyfill is a new
dependency (MIT, 5.5 KB gz).
createToolbar is the first widget on it: the platform now moves focus (arrows, Home / End, wrap, memory) and
owns the item tabindex.
Breaking: ToolbarItemProps no longer carries tabindex — the platform owns it — and Toolbar.keyDown is
gone. toolbarProps gained focusgroup and ref and lost onKeyDown. To migrate, spread toolbarProps on
the owner, itemProps(i) on each item, and delete any tabindex you bound on an item.
createGrid hands the body's movement and its roving tab stop to the V2 focusgroup="grid" runtime
(packages/headless/src/focusgrid.ts): gridProps carries the focusgroup attribute rendered from the
same definition and a ref that builds the provider, the owner's focusin maps the focused cell back to
row / col, and arrows on both axes, Home/End, Ctrl+Home/End, the edges and the last-focused memory are
no longer the primitive's. The definition maps APG's linear wrapping to the platform's flow, not wrap:
{ rowEdge: wrapCols ? "flow" : "none", colEdge: wrapRows ? "flow" : "none", memory: true }, re-applied
through update(definition) by setWrapCols / setWrapRows / setGridKind (setFocusTarget only
re-collects). The library keeps edit mode, selection, sort, PageUp/PageDown, the mount window, the aria-*
indices and the header row's own one-dimensional roving — the headers are focusgroup="none", so neither
provider pulls them into the body's group. date-picker now finds the current day by the grid's
currentCellId() instead of [tabindex="0"], and its gridProps no longer carries the runtime (the picker
owns its keyboard and stop). Breaking: gridProps gained focusgroup and ref; cellProps / widgetProps
gained ref and focusgroupstart and lost onFocus / onKeyDown; their tabindex is the constant
focusability value of the item set (0 for the cells, -1 when the widget is the target, and the reverse),
not the roving stop. To migrate, spread gridProps on the role="grid" element, spread
cellProps / widgetProps, delete any tabindex your host bound, and find the current cell by
currentCellId() rather than by [tabindex="0"]. grid.qnt now imports shared/focusgroup.qnt, adds the
platform's tabStop and derives tabindex from fgTabIndex, and pins the difference from the tablist:
grids have memory, so the stop is the last focused cell after focus leaves.
createListbox is the second widget on the focusgroup adapter: the platform (Chromium 150+) or
@microsoft/focusgroup-polyfill now owns the roving tab stop, the arrows along the block axis (no wrap),
Home / End and the last-focused memory, and the primitive never computes them. focus / active are
readings of the DOM — an option's focus is the move — so a platform arrow, a click and a host's own
element.focus() land in the same state. The library keeps its delta: the selection model, aria-selected,
range selection (Shift+Arrow, Shift+Space, Ctrl+Shift+Home/End), type-ahead, aria-disabled options (an
option the arrows must not reach is out of the item collection and wears focusgroup="none"), and the
aria-activedescendant listbox a host keeps DOM focus on is unchanged — a focusgroup is a roving model,
so that mode keeps its own arrow handling, as createRearrangeableListbox does.
Breaking: listboxProps gained focusgroup and ref and lost onKeyDown (the listener is registered by
the ref, before the provider's), and optionProps gained focusgroup and ref. The option tabindex is
no longer the roving one — it is the constant focusability value (0, -1 when disabled), because the
platform owns WHICH option is the tab stop and the item only has to be focusable for it to own one. keyDown
still drives the selection keys, but no longer moves the active option. To migrate, spread listboxProps on
the owner (its ref is required — without it nothing moves), optionProps(i) on each option, delete any
tabindex you bound after them and any code that reads [tabindex="0"] to find the active option: use
active() or aria-activedescendant. A host that moved DOM focus to the active option must keep doing so
for programmatic moves (type-ahead, a click, a controlled activeValue); the platform's own moves need no
mirror.
createMenu and createMenubar now take the item tabindex and the movement along every level's axis from the
platform's focusgroup contract instead of computing them: the menu list is one focusgroup="menu" segment
(block axis, wrap), the menubar is one focusgroup="menubar" segment (the declared axis and wrap) and each
submenu is its own menu segment, because the contract is per segment and a popup's list is a segment only
while the popup is shown (a closed one is suspended with focusgroup="none", which also keeps the native engine
out of a hidden list). The arrows along each axis, Home / End, the wrap and the tab stop are the browser's
(Chromium 150+) or @microsoft/focusgroup-polyfill's, behind the same provider: "auto" | "polyfill" seam
createToolbar has.
The library keeps what the platform never infers: activation (Enter / Space), Escape and Tab, typeahead, the
cross-axis keys (a submenu, the next / previous bar item, the open keys of the bar), the checkable state, the
aria-haspopup / aria-expanded sync and the light dismiss. Its keydown listener is registered by the owner's
ref before the provider's, so a key it consumes is preventDefaulted by the time the polyfill (also on the
owner) reads it — a delegated Solid onKeyDown would run at the document, after focus had moved.
Breaking: MenuItemProps no longer carries tabindex and menuProps / menubarProps no longer carry
onKeyDown; the list, the bar, each menu and each submenu gained focusgroup and ref, and the item props
gained ref. keyDown(key) now takes only the keys the library owns — the arrows, Home and End are the
platform's and are no-ops there. To migrate, spread menuProps on the list (and menubarProps on the bar,
menuProps(i) / submenuProps(i, j) on each popup), spread itemProps(i) on each row, delete any tabindex
you bound, and render rows that are focusable by nature (<button>, <a href>): the native engine writes no
tabindex, so it can only move focus to an item that is tabbable already. A minor, since @cssints/headless
is 0.x.
createRadioGroup's roving flavor is now the platform's focusgroup="radiogroup" contract: the group
builds its provider from the owner's ref, and the browser (Chromium 150+) or
@microsoft/focusgroup-polyfill moves focus on both axes, wraps, and owns the item tabindex. Two things
stay the library's, as shared/focusgroup.qnt leaves them to the pattern: selection follows focus (the
owner's focusin handler checks the radio the platform landed on — a Tab entry or a click only moves the
focus state) and the entry point: the definition is nomemory with focusgroupstart on the checked
radio (else the first enabled one), which is where the next Tab entry lands. While focus is inside the group
the tab stop is the platform's — the focused radio — and the primitive does not re-seat it; that is what a
native engine keeps (in its focus controller) and what the polyfill renders as tabindex=0. A disabled radio
is opted out of the group (focusgroup="none") and keeps tabindex="-1", as before. The
aria-activedescendant flavor is unchanged: it moves a virtual focus on the group, which focusgroup does
not model.
Breaking: the group props gained focusgroup, ref and dir, and RadioGroup.keyDown is gone — the
platform moves focus. RadioProps no longer carries a roving tabindex (the platform writes 0 / -1);
what it carries is the author value the platform needs: focusgroupstart on the entry radio,
focusgroup="none" plus tabindex="-1" on a disabled one, and — only where the native engine is used —
tabindex="0", because that engine navigates only items with tabIndex > -1 and a <div role=radio> is
not focusable otherwise. To migrate, spread radiogroupProps on the owner (keeping its ref), radioProps(i)
on each radio, and delete any roving tabindex you bound on an item.
radio.qnt now models that stop instead of pinning it to the check (radioTabindex is fgTabIndex, the
entry and leave transitions are fgEntry / fgStopOnLeave), so the differential walk checks the stop the
engine keeps rather than one the widget could only fake by scripting the tabindex.
createTabs is now on the focusgroup adapter: the platform (Chromium 150+, or @microsoft/focusgroup-polyfill)
owns the tablist's single tab stop, the arrows along the axis, Home / End and wrap, and the library keeps only
its delta — selection, automatic vs manual activation, aria-selected / aria-controls, panel visibility,
close and rename. The definition is tablist nomemory wrap (the vertical axis as block), with
focusgroupstart on the selected tab, so the tablist is entered on the selection; the library selects on the
focusin a move causes (automatic) or on Enter / Space (manual). A disabled tab is not an item of the group
and carries a static tabindex="-1" instead of being arrow-reachable. provider?: "auto" | "polyfill" forces
the polyfill (a test, or a host that needs the fallback).
tabs.qnt now imports shared/focusgroup.qnt and models tabStop beside selected: the stop follows focus
while focus is inside the tablist and returns to the selected tab on entry and leave, so manual activation and
a controlled host that rejected a request are modelled the way the platform renders them.
Breaking: TabProps no longer carries the roving tabindex (the provider writes it), and Tabs.keyDown is
gone. TablistProps gained focusgroup, ref and dir; TabProps gained focusgroupstart, ref, and a
static tabindex: -1 on a disabled tab only. To migrate, spread tablistProps on the owner and tabProps(i)
on each tab, delete any tabindex you bound on a tab, and — if a tab is not a natively focusable element (a
<div role="tab">) — give that element its own tabindex="0"; the platform still keeps one stop among them.
state().landing, the origin the release will commit, snapped, clamped and null when no drag runs), and when the commit has to move the node — a world-bound clamp — state().drop gives the correction as from/to, so a host can draw the landing and animate the move.css.before(...), css.after(...), css.placeholder(...), css.selection(...), css.markerElement(...) and the rest of the standard set without arguments, from mdn-data. They join the element itself, so they are the innermost condition — hover(before(...)) is .k:hover::before, and the other order is a build error at its call. ::marker is also the marker property, so its wrapper is markerElement, as a function named like a pseudo-class takes Fn. A pseudo-element that paints still needs its content, as in CSS.screenToWorld, worldToScreen), so a host can draw a remote cursor or hit-test outside the pointer pipeline.argTypes, over the meta's: a file whose stories have different args gives each of them the
controls it uses (Story.argTypes, merged per arg as CSF 3 merges it).TableProps declares the role: "table" it has always returned.
The object tableProps has carried the role since 0.30.0 — that is what makes a display: contents
skin keep the table's place in the accessibility tree — but the interface left it out, so a skin
written in TypeScript could spread it and still not read it. No behaviour changes.
A table states its roles, and a column may name its track.
createTable used to add no role, because a native <table> said it itself. A skin that lays the
rows out as a CSS grid cannot: display: contents on <thead>/<tbody>/<tr> leaves those
elements without a box, and an element without a box keeps its place in the accessibility tree only
when it carries its own role. Every part now states one (table, rowgroup, row,
columnheader, cell), a grid skin can be built without losing the semantics, and
TableColumn.width carries the CSS track a grid-template-columns needs.
The body row's aria-rowindex stays the skin's job: under a window only the host knows a row's
place in the whole set (the primitive is given the window), so renderRow(row, index) is where it
goes.
createPanZoom gains panBy(dx, dy): a relative pan through the same bounded move as a drag, for a host that moves the picture without a pointer (an inertial glide after a flick). The clamp and onPanChange apply exactly as they do to a pointer.@cssints/stories: the CSF 3 loader of a cssints storybook, published — entries(), storyOfId(), parseHash() and the Meta/Story/ArgTypes types, with the ids Storybook builds. It was the loader of apps/ui and apps/lab; a native storybook is the third reader, so it is a package instead of two copies.@cssints/machine's settle machine: one definition for the target, the
landings, the manual scroll, the count shrink and the stale completion. No behaviour change.createTreegrid: the Right arrow decides before the expansion is written, so a collapsed parent always expands and keeps the row focused instead of depending on read-after-write timing. Removed the options that were never read — SwitchOptions.id, TooltipTriggerInput.label and PaginationLabels.gap — and corrected the textbox's onValueChange note (it is the input event).createResizablePanels: a pane's defaultSize is kept, and the panes that name none share the rest equally instead of the first pane taking the residual.specs/patterns/animation.qnt) and its bridge, scenarios and spec-only test: the protocol a signal cannot hold — two intents in one frame ending at the last one with one live effect, a superseded effect cancelled and its late completion ignored, a reversal continuing from the box's own progress, one effect handle per transition, and the debounce window whose last intent always wins — plus the optimistic split between the state the host exposes (aria-expanded) and the state the machine has committed. Fifteen invariants, Atomic among them as the mapping note to reactive.qnt's one-flush property, and 15 scenarios through the spec driver. There is no APG pattern and no CSS specification to cite, so it lives in specs/patterns/ beside resizable-panels and dropzone, and the header says the protocol itself is the source of truth.createVirtualizer: a DOM virtualiser ported from the native renderer's window (fixedWindow / measuredWindow). The host renders only the visible rows plus an overscan and two gap-compensated spacers stand in for the rest, so the content height, the scroll's clamp and its thumb are the whole list's. A fixed itemSize is arithmetic; a per-row estimate (or no itemSize at all) measures the rendered rows through a ResizeObserver, declares the whole column while any height is unknown, and then virtualises at exact heights. Every declared row carries aria-setsize / aria-posinset, attach wires the scrollport without creating a computation (the createPopover ref lesson), and scrollToIndex is the host's focus hook. A measured jump keeps its target and lands again as the heights arrive (the first offset is an estimate), and a hand scroll cancels it.@cssints/machine: a minimal, dependency-free state machine for UI protocols — defineMachine with typed events and
an inferred context, effects as data with handles (a stale completion is dropped), debounce with flush and cancel,
an injectable clock, a selector store, a ./solid bridge (createStore/createProjection/createOptimisticStore)
and a harness that proves five properties in plain node.createControllable: an intent the host has not answered yet is one request. A controlled host's value is applied on
Solid's flush, so two dismissals in the same frame (an Escape and a backdrop click, or a second Escape during a
transition) used to ask onValueChange twice for the same state; the request path now remembers the intent it is
waiting on for one microtask. A separate, later intent is asked again, so a host that refuses a close is still asked
when the reader asks again.createPagination's previous and next controls follow the current page: previousProps and nextProps are getters over an offset, and their onClick resolves the page when it runs. A host that spreads the object onto an anchor once can now step past the first move, which it could not before — the second click on Next targeted the page it was already on. packages/headless/test/pagination.browser.test.tsx covers it (next twice, then previous).createToast: the countdown asks before it removes. onDismissRequest(handler) is the expiry's channel, so a renderer
can animate a row's departure and call dismiss(id) when it is gone; requestDismiss(id) is the same ask for a host's
own imperative call, and it removes at once when no handler is subscribed, as dismiss, dismissAll and the ceiling
always do.createTreegrid takes the tree it renders: parents is the parent of each row in document order (-1 for a root), and defaultExpanded opens rows at mount. The spec's Email Inbox tree stays the default, so treegrid.qnt and every existing test are unchanged; a host with its own data no longer has to fit it into the seven spec rows.createDatePicker hands the host the popup's placement: contentStyle() is the same page-space position: absolute box createPopover gives. Without it the picker measured and flipped the popup but exposed nothing to put on the element, so a host that portalled the panel had to re-implement the placement or leave the panel at the page's top-left. date-picker.browser.test.tsx now asserts the panel starts one gap under the trigger's bottom edge.
createPopover.attach and createDatePicker.attach no longer create a computation. A host calls attach from a ref,
Solid 2 runs refs in the effect phase, and a primitive created there belongs to nobody: the dev build throws
PRIMITIVE_IN_EFFECT_CALLBACK while the production one stays silent — so the packaged tanstack of this repo's tests passed
and the starter smoke (a real vite dev build) failed on every popover and date-picker case. The measurement, the focus
handover and the roving-day focus now live in effects created at setup, and attach only records the elements and adds
listeners.
A Quint machine for the drop zone (specs/patterns/dropzone.qnt) and its bridge, scenarios and spec-only test: the drag depth (0 none, 1 the zone, 2 a child), disabled and the last delivery, with the five invariants DraggingIffDepth, DepthClearsOnDrop, DepthClearsOnExit, DisabledNeverDelivers, OneDropOneBatch and DepthNeverNegative. There is no APG pattern for file dropping, so it lives in specs/patterns/ beside resizable-panels, and @cssints/headless's dropzone-spec.browser.test.tsx replays it in Chromium.
Probe gained value, off by default: a pattern whose observable state has no attribute of its own (the drop zone's dragging() and message()) can now have it compared by the differential walk.
emit() and listen(): the one hand-off to JavaScript. on({ submit: emit("save") }) writes no state and dispatches a bubbling reactive:save CustomEvent from the element the native event fired on, its detail { event, owner } (the native event and the nearest reactive owner); listen(target, name, handler) from @cssints/reactive/runtime hears it and returns a disposer.
createTabs takes dir: "ltr" | "rtl" (default ltr). A horizontal tablist swaps ArrowLeft / ArrowRight in a right-to-left page, as radio.ts does; a vertical tablist keeps Up / Down, and ltr is unchanged. tabs.qnt still models ltr only, so the ported direction scenarios stay skipped in the differential walk and test/tabs-requirements.browser.test.tsx holds the arrow swap.
The same file closes four other requirement gaps in packages/headless/docs/requirements/tabs.md: roles and names (G3), focus leaving the component with hidden panels out of the tab order (G6), activation on the up event (G8), and RTL (G11). G5 (icons) is documented as a host obligation; the other seven gaps stay open.
@cssints/headless: the second composition, a date picker. createDatePicker is createPopover + createGrid + createStatus, not a new primitive: a trigger with aria-haspopup="dialog" opens a non-modal popup (Tab leaves it, nothing behind it is inert) holding a role="grid" month of six rows, with aria-selected on the chosen day, aria-current="date" on today and aria-disabled outside min/max. The calendar maths is integer day numbers — a UTC day index, no locale arithmetic and no @internationalized/date — so leap years and month lengths are one Date read. monthDays() paints the neighbouring days rather than blanks so every cell can hold the roving focus; arrows move a day or a week, Home/End the week, PageUp/PageDown the month, Shift+PageUp/PageDown the year, Enter/Space selects and closes, Escape closes without changing the value. firstDayOfWeek, an injectable today, localised labels (including a day formatter for the polite announcement) and the controlled value/open pair are part of the API; a segmented date field stays a host composition of createField + createSpinbutton.createFilterableMenu: the filterable menu as a composition of createDialogModal, createTextInput and createStatus — a dialog whose trigger says aria-haspopup="dialog", a searchbox field with no combobox affordances, and a filtered role=menu with groups, an empty state, one polite count, submenu levels, the arrow loop back to the field, the Home/End rule, the IME guard, and Tab/Escape leaving in Base UI's order. The host renders the groups, the submenu geometry and mounts the dialog only while open.bind() takes a comparison (equals()), a choice of two literals (either()) or a literal beside a source: the runtime derives aria-selected, roving tabindex and literal attributes like aria-controls from the nearest owner in the same flush, through three new kinds of --reactive-binding.@cssints/reactive's owners, programs and flush (specs/patterns/reactive.qnt, src/patterns/reactive.bridge.ts and two scenario sets in scenarios/patterns/), replayed on a page in packages/reactive/test/scenarios.mjs with the scenario engine and two seeded differential walks. The model states that inside() is a CSS ancestor match, not nearest-scoped, for a nested owner that declares the same state as an outer one.createDiagramFocus: a diagram read from the keyboard — one roving tab stop over the nodes, arrows that follow the layout (nearest centre in that direction, wrapping at the edge), e for a cursor over the active node's outgoing edges, and a polite live region that says where the user is.append(prop, value) in cssints/plugin joins two declarations of one property in one cn() instead of the later replacing the earlier, and a list beside a plain value is a build error.createSliderMultiThumb takes a press on the rail and drags. trackProps reads the
pointer's position on the rail in all four orientation/direction combinations,
names the nearer thumb (a tie goes to the lower) and moves it there; a press that
starts on a thumb drags it from the value it already has, without a jump. Every
pointermove asks for that thumb's value again, rounded to step and clamped at
the neighbour, until pointerup, pointercancel or a lost capture. The rail owns
the gesture with pointer capture, so the moves sit on trackProps and the thumb
only marks its own press. focused() now reads synchronously, so a host can move
the DOM focus to the thumb a press named. disabled announces aria-disabled on
both thumbs, keeps their tab stops, and drops every key, rail press and drag.
pointerDown(index, 0..1) stays for a programmatic press and the differential
walk. slider-multithumb.qnt records the nearest-thumb press and the drag as
deliberate extensions and names the invariants the model does not carry
(NearestThumbTakesPress, DragFollowsPointer), with
slider-multithumb.browser.test.tsx as their oracle. The kit's two-thumb slider
drops its own press arithmetic and focuses the thumb the primitive announces.value() and checked() read the field's value in set(), and calls of on(), bind() or state() on one element append their programs and lists instead of the later replacing the earlier.persist(value, key) keeps a state in localStorage across a reload: the runtime restores it when the owner is initialised (a stored value wins over the declared one) and stores it on every write, with the keys in a new non-inheriting --reactive-persist protocol property.createSlider drags: a pointerdown on the rail jumps to the pointer and starts a
drag, a press on the thumb starts it where the value is, and pointermove follows the
pointer's position on the rail (rounded to step, clamped to min/max, in all four
orientation/direction combinations) until pointerup, pointercancel or a lost capture.
The rail owns the gesture with pointer capture, so trackProps carries the moves and the
release and the thumb only marks its own press; a drag is still one request per distinct
value, so a controlled host that ignores it keeps its value, and disabled captures
nothing and changes nothing. slider.qnt records the drag as a deliberate extension and
names the invariant the model does not carry (DragFollowsPointer), with
slider.browser.test.tsx as its oracle.The feedback that adopting 0.20.0 produced, in one release.
Lists that arrive later. createListbox's items, createTable's rows, createRadioGroup's values and createTimeline's rows now take a getter (() => list()) and read it at attribute-read time, so an async fetch no longer forces the host to rebuild the widget and lose the active option, the selection and the roving tab stop. listbox.items is a getter over the live list; a defaultValue chosen before the items arrived now survives them.
Host-owned values. createRadioGroup takes value: () => checked(), so undefined can be a real controlled state ("nothing checked") instead of meaning "uncontrolled"; its radioProps carries type="button", so a radio rendered as a <button> no longer submits the form. createStatus and createAlert take from: () => text, and read the host's signal directly instead of asking for an effect that mirrors it into show().
Host-named ids. createTabs takes tabId(index) and panelId(index), and aria-controls / aria-labelledby follow them: a console whose panels are #traces, #logs, #metrics no longer re-implements the two attributes.
Drop zone. maxFiles caps one batch (a new "count" reject reason), labels.labelledby names the zone by the host's own visible heading, and formatMessage returns the announcement in the host's language from the same counts.
Timeline. Rows mode reports focusedId(), the row that holds the roving tab stop.
test/props-later.browser.test.tsx is the regression net for all of it.
createMenu takes the checked state as a readable pair as well as the packed number: checked (the checked checkbox item indices) and choice (the chosen radio index, -1 for none) with onCheckedValuesChange(checked, choice). The readable pair is the store and the packed value / onCheckedValueChange (unchanged for existing callers and menu-checkable.qnt) is its derived view, so a controlled menu can check any checkbox item, not only item 0; value() joins checked() / choice() as the packed accessor.
The evaluation server compiles a dependency's .jsx inertly too.
A package that ships .jsx sources (@solidjs/router does, behind its solid condition) reached the private Vite server of a build and the app server's ssr environment untransformed, where Vite's generic transform asked for react/jsx-runtime — which an app on another framework does not install, so the build failed on the first module importing it. A .jsx the runner follows into has the same job as the app's own components: its top level must run, its elements are irrelevant.
state() gives an owner element and one source per state, toggle()/set() write only inside on() (click, input, change, submit, key, pointer and focus events), bind() writes attributes from the nearest owner, and when()/inside() are plain CSS conditions on its data-reactive-* attributes. The DOM runtime ships to every target (1.75 kB minified, 0.87 kB gzipped).createCombobox takes disabled: the combobox and its trigger announce aria-disabled, the combobox keeps its tab
stop, and a key, a click, a typeahead character, a filter input and an option click change nothing, so no popup opens;
setOpen / setValue stay host requests. The spec records it as a deliberate extension (no model var), so
combobox.browser.test.tsx is its oracle. createCheckboxGroup's children take <base>-0..-2 instead of "0",
"1", "2", so two groups on one page no longer share ids.script (or css) and no polyfills is delivered for every target, not only where a target lacks a feature: a plugin whose own script is the feature (@cssints/reactive) ships it in every build. ship({ owner, open }) (from cssints/plugin) is a site that returns more than a class string: each style becomes its class string and the rest its JSON, so state()'s owner and its sources reach the browser as an object.@cssints/headless: the first composition, a command palette. createCommandPalette is createDialogModal + createTextInput + createStatus, not a new primitive: the container is a modal dialog (announced as one), the field is input[type=text][role=searchbox] rather than a combobox because choosing a row runs a command instead of completing the field, and the list is a listbox filtered by a plain case-insensitive match on label and keywords. Focus stays in the field with aria-activedescendant on the highlight; ↓ on the last option and ↑ on the first return the highlight to the field; Home/End move the caret while there is text and are list keys while the field is empty; Enter closes and runs the command, Escape closes through the dialog. Groups, an empty state and one polite result count are part of the API, the query resets on close, and attach() binds the hotkey through createHotkeys. Rendering, grouping CSS, async command handling and the strings are the host's; the filterable menu and the date picker follow in later changes.@cssints/headless: two ARIA gaps the styled kit hit. createMenu takes a controlled open state — open, defaultOpen and onOpenChange on top of createControllable — and every intent that opens or closes (the trigger's click and keys, Escape, an item's activation, Tab, openMenu / closeMenu) is a request the host may ignore; a rejected request leaves the focus where it was, as menu-button.qnt models it. createCheckboxGroup takes the name, the description and the error createField gives a control: label (aria-label) or labelledby, describedby, invalid / error (aria-invalid, the error id in aria-describedby, and an errorProps element that is role="alert" while it is shown), plus the group element's id. menu-button.qnt changed minimally: a host write of the open value it already has moves no focus, because no widget can observe it; regenerated, nothing else moved.@cssints/headless: createKnob, a virtual knob after GarageBand's (spin around the centre, vertical or horizontal slide, one gesture locked per drag). It is a role=slider (no ARIA role exists for a dial) with aria-valuenow / aria-valuetext, keyboard steps, PageUp/PageDown, Home/End and a wheel, plus percentOf for the skin's rotation and a continuous wrap mode. There is no APG pattern, so no Quint spec: the contract is documented in the package README and test/knob.browser.test.tsx is its oracle.createDropZone: a file drop target on a hidden native <input type="file">, with a browse button as the accessible path
(the zone is never drag-only), accept / multiple / maxSize validated once per file into onFiles and
onReject({ file, reason }), a depth-counted dragging() that a child's dragleave does not clear, and a
role="status" line the host fills with message() ("2 files, 1 rejected: too large"). A dropped folder or an empty
DataTransfer is a no-op. No APG pattern and no Quint spec: test/dropzone.browser.test.tsx is its oracle.createSlider and createSpinbutton take disabled: a disabled slider announces aria-disabled on its thumb, keeps
the thumb as its tab stop and drops every key and rail press; a disabled spinbutton's field announces aria-disabled
and carries the native disabled, takes no typing or spin key, and offers neither stepper. The APG specs record it as a
deliberate extension of the patterns (no model var), so the browser tests are its oracle.createTabs takes closable and renamable (both off by default, so the plain tablist is unchanged), label, and
the requests onClose / onRename; it gains closeProps, renameProps, editing, and focusAfterClose. A close
button stays out of the tablist's tab order (tabindex=-1) and Delete closes the focused tab; focus lands on the tab
that slid into its place, or the previous one when the last tab closed, and the last remaining tab is never asked to
close. A double click starts an inline rename: Enter commits, Escape reverts, blur commits, and the arrows are the
input's while it runs. The primitive owns no list: it asks, the host removes or renames.createTimeline takes real span data: createTimeline({ rows, axis, selected, onSelect }) lays a trace waterfall out over the rows' own extent (extent, barProps with left/width percentages and a --depth custom property, labelProps, depthOf, derived ruler ticks), with click, Enter and Space selection and a roving tab stop. The rows are role="list" / role="listitem" with aria-level and aria-current (no APG pattern exists for a waterfall), and a zero-length span keeps a 0.5% width floor so it stays visible. createTimeline() with no rows keeps the demo tree and its API.createHotkeys: one registry for the chords every app hand-rolls — /, Cmd/Ctrl+K, Cmd/Ctrl+S — with exact modifiers, mod as Cmd on macOS, a text-field guard, when, scopes and last-bound-wins precedence.@cssints/headless: createPanZoom, pan and zoom for one image in a viewport. There is no APG pattern for pan-zoom, so the contract is the module's own and test/panzoom.browser.test.tsx is its oracle: a focusable viewport (role=group, tabindex=0, aria-roledescription="zoomable image", aria-describedby the value), keyboard operations that stand in for every gesture (+ / = / - zoom by step, arrows pan by 24 px, Shift x4, 0 resets), and a polite live value ("150%"). The pointer adds drag-to-pan, a two-pointer pinch and a double-click reset; the wheel zooms only with ctrl / meta (the browser's pinch) and a bare wheel is left to the page. bounds: "clamp" keeps the scaled image covering the viewport, "free" lets it be dragged out. Not createCanvas: that is a camera over an infinite world, this is one image fitted to a box.@cssints/headless: createScrollspy, a table of contents whose current entry is the last heading to reach the top of the scrollport, with aria-current="location" on that link (exactly one at a time) and role="list" items. One passive scroll listener on the root (the document by default; offset is px below its top edge, so a sticky header passes its height), no IntersectionObserver: a total order over the headings is what the reader sees, and a band observer has to rebuild it from enter/leave state. Smooth scrolling stays the host's CSS. No APG pattern exists for a scrollspy, so test/scrollspy.browser.test.tsx is its oracle.@cssints/headless: createTable, a data table on a native <table>: sortable column headers with aria-sort on the sorted column only, a header button that cycles ascending -> descending -> unsorted by default (sortCycle: "toggle" for ascending <-> descending), and optional single or multiple row selection over ids with aria-selected, a mixed aria-checked="mixed" select-all, and aria-rowcount / aria-colcount / aria-colindex only while the host windows rows or columns. Sorting is the host's data: the primitive carries the descriptor and never reorders a row. It composes grid-sort.qnt and grid-selection.qnt without the grid's navigation, so test/table.browser.test.tsx is its oracle.@cssints/headless: createDrawer, the drawer / bottom-sheet shell over Dialog (Modal): side ("left" | "right" | "bottom") and modal are the whole presentation API, so a sheet below a breakpoint and a side rail above it are one drawer; modal is read at attribute-read time, so the host's breakpoint may flip it while the drawer is open. A modal drawer has a backdrop, focus into the panel and back to the trigger, a Tab cycle, a counted page-wide scroll lock (shared with createConfirm, so a confirm over a drawer nests) and Escape from the document; a non-modal one keeps the page's scroll, focus and clicks. No drag-to-dismiss: a drag is the host's native scroll snap (docs/bottom-sheet.md), so handleProps is a decorative grab handle and swipe-to-dismiss stays a separate decision. No attach: the panel is edge-anchored and nothing is measured.@cssints/headless: createToast, a toast queue (one live region per toast, role=alert for the error tone and role=status otherwise, a 5000 ms timeout that pauses on hover and focus and resumes with the time left, max that drops the oldest, dismiss/dismissAll, and a role=region landmark), and createStatus, one polite role=status region whose text is replaced. No APG pattern exists for either, so the browser test is the oracle; the toast's own text is the announcement (the host renders the title and description given to show), and F6 into the region stays the host's handler (hotkeys are a separate bean).@cssints/headless: createPopover, the non-modal overlay: an anchored content a trigger opens, dismissed by a click on the trigger, an outside pointerdown or Escape, with focus moving into the content and back to the trigger, a placement that flips at the viewport edge, and attach(trigger, content) for the measure, the focus and the light dismiss. There is no APG pattern for a popover, so it follows Base UI's Popover and React Aria's usePopover and its oracle is the browser test; the page behind stays interactive (no inert, no scroll lock — that is createDialogModal).@cssints/headless: every optional createTextInput / createTextArea option is typed T | undefined, like the field's, so a host that passes a getter over an optional prop compiles under exactOptionalPropertyTypes.@cssints/headless: createPagination (a navigation landmark over a page list: one aria-current="page", ends kept and disabled at the boundary, one gap per elided run, the count announced once in a role="status", and hrefFor so the links work without JS), and createTextInput / createTextArea (the field contract plus autocomplete tokens, inputmode, spellcheck, maxlength, readOnly/disabled, and rows/wrap/resize for the area). Both are TetraLogical's last two components; neither has an APG pattern, so their oracles are the browser tests.cssints/eval is in the published manifest: publishConfig.exports shadows the top-level one at publish time, and the subpath
was only in the latter (a consumer resolved it through the ./* wildcard, without its own types).cssints/eval), and a runner whose ssr
environment is not one (vitest's browser mode puts browser in its conditions) gets an evaluation server of the plugin's own,
with the app's aliases, dedupe, conditions and noExternal; cssints({ evaluation: { inline: [...] } }) names what a framework
needs inlined when that environment inlines everything. A styled component — cv(), tokens, attr()/within() and render —
now runs its browser test in vitest, which it could not before.--motion-* in reveal's kernel), so motion() and reveal() can sit in one app; two kernels of one scope still may not share one of its names, nor may two scopes share a name neither of them ownscreateTokens takes a leaf as its value when the group's $type is in scope: color: { $type: "color", bg: "#fff", link: "{color.accent}" }, the form a theme's overrides already take. A string is a value of the group's type and a number one for number and fontWeight; a DTCG object value, or a token with its own $type, $description or $extensions, keeps { $value }. A value with no $type in scope is an error in the types and at build time.parseScenarioFile takes unknown rather than Schema.Json: a scenario file arrives as a JSON import, whose type has no index signature, so a copy of a test could not pass tsc without a cast. The schema was already the check that matters.@cssints/headless: createField and createConfirm, found in two apps. errorProps is role="alert" while the error is shown (the hint is not); createField({ describedby }) takes an id or a list of ids the host owns and appends them to aria-describedby after the hint and the error, for one form-level error that belongs to two controls; id, required and the other options accept undefined, so a getter over an optional prop typechecks under exactOptionalPropertyTypes. createConfirm gets the dialog shell it needed: Tab and Shift+Tab cycle inside the dialog, overflow: hidden on the document element while open (counted, restored on close), Escape from the document so it works with the focus outside, and the last confirm opened takes Escape and Tab when several are open. The default labels stay English: a translating host passes confirmLabel and cancelLabel.@cssints/headless: createField, the ARIA contract of a form field (controlProps, labelProps, hintProps, errorProps: ids that are stable, aria-describedby listing the hint and then the error while they are shown, aria-invalid only when invalid, required with aria-required, nothing that points at a hidden id), and createConfirm, a promise-based confirm({ title, description?, confirmLabel?, cancelLabel?, destructive? }) over createDialogModal({ role: "alertdialog" }): true on confirm, false on cancel, Escape or the backdrop, focus on the cancel button and back to the invoker, one request at a time (a second one rejects with ConfirmPendingError). Neither has an APG pattern, so neither has a Quint spec.scv(): slot variants. scv({ slots: { base, label, icon }, variants, defaultVariants, compoundVariants }) is one
function whose result is the class string of every slot ({ base, label, icon }). A variant value that is a style styles
the base slot, a record by slot styles the slots it names; in a compoundVariants entry, class is the base slot and
a slot's own name styles that slot. The rules are cv()'s, computed per slot (a variant wins over the slot's base, a
compound over both, and an overlap without containment is a build error that names the slot). Props are typed from
variants, and the result is { [K in keyof slots]: string }.sx(): one style built by chaining properties, with no cn(). Every property is a method, .flex() and .grid() with no argument set display, and a chain sets each property once — a second bg is a type error (a shorthand and its longhand stay legal, as in cn()). cn() is still the tool for runtime values and cv() variants.cssints/clay: backdrop({ blur }) is glass over our own content — a renderer effect beside the declaration, since Clay 1.0 has no such field: the literal carries it as a sibling backdrop key, header() prints nothing for it, and the desktop renderer draws everything before the element, blurs the element's box in its own buffer, then draws the element over the blurred pixels, so a translucent fill shows the page behind it and the element's own text and border stay crisp. It is the frame's content, not the window behind the window, and the element needs an id.cssints/clay: backgroundImage("linear-gradient(...)") fills an element's box with a linear gradient — CSS's own grammar as one string: an optional direction (<number>deg, or to top | to right | to bottom | to left, 180deg by default) and two or more colour stops with an optional <number>%. A renderer effect beside the declaration, since Clay 1.0 has no gradient field: the literal carries it as a sibling backgroundImage key ({ kind: "linear", angle, stops: [{ offset, color }] }), header() prints nothing for it, the C targets keep their solid fill, and the desktop renderer fills the element's box instead of backgroundColor. A state may override the whole gradient, so css.hover(css.backgroundImage(...)) lightens a card. Only linear gradients are drawn; radial, conic, repeating and url() are build errors.cssints/clay: shadow({ x, y, blur, color }) is a shadow for an element — a renderer effect beside the declaration, since Clay 1.0 has no shadow field: the literal carries it as a sibling shadow key, header() prints nothing for it, and the desktop renderer draws it before the element's own command, keyed by Clay's element id. A state's overlay merges the fields it names, so css.hover(css.shadow({ blur: 20 })) keeps the base's offset and colour.dist/ is no longer tracked in the repository, the release builds it.@cssints/headless: createResizablePanels, a group of N panes and N-1 separators — percent sizes that always sum to 100, per-pane min/max, collapsible panes, arrows and Home/End as pair moves, Enter to collapse and restore, a pointer drag that re-solves from the pointerdown snapshot, controlled sizes + onSizesChange, and a storageKey. @cssints/apg-specs: specs/patterns/resizable-panels.qnt (not an APG pattern: a group of window splitters), its generated model, the bridge with the drag vocabulary, 11 scenarios under scenarios/patterns/, and the patterns/ exports.@cssints/apg-specs, first release: the 43 APG and canvas Quint specs, their generated models, the scenario bridges and replay runner, and the ported scenario sets, the test oracle of @cssints/headless, as subpath exports (/scenario, /apg/<pattern>.bridge, /apg/<pattern>.model.json, /scenarios/apg/*.json, /specs/apg/*.qnt).@cssints/headless, first release: headless APG widgets on Solid 2 (state and DOM attribute objects, no styling), each conformance-checked in Chromium against its Quint spec and the ported scenarios.cssints/clay: image(src, { width, height, fit }) fills Clay's image — the path in imageData for the renderer to load, the image's size as the element's box, and fit: "contain" as Clay's aspectRatio.terminal/ target of cssints-native: cssints/clay styles laid out by Clay and drawn into character cells on termbox2, with the focus layer in C. The package keeps working; importing it warns once, and the README says what carries over (packages/tui/README.md).cssints/clay: styles for a Clay layout, compiled to object literals shaped as Clay_ElementDeclaration and Clay_TextElementConfig, and header() to print a module of them as C initializers for a firmware that runs no JS. Pixels for lengths, stretch for Clay's GROW, colours by the web's color grammar; a property Clay cannot draw is no member. States (hover, focus, active) print as declarations of their own, colour tokens and named themes as a declaration per theme, fonts() sets fontId from the app's font list, and float({ attach, parent, root, offset, expand, zIndex, capture, clip }) fills Clay's floating for menus, popovers and dialogs.@cssints/color-names: the Color Name List (31,939 names) as typed colour values. named("tangerine") is its hex (#ff9300) as a <color> for color(), bg() and the rest; an unknown name is a type error and a build error with the nearest key. colorNames.<sector>(name) is the same name in one of ten sectors (red, orange, yellow, green, cyan, blue, purple, pink, brown, neutral), so an editor's completion is a few thousand names and not 31,939: a colour word in the name decides the sector (ferrari-red is in red), else the oklch hue (a dark orange or yellow is brown, low chroma is neutral). named() resolves list names, so named("green") is #00ff00; a CSS keyword stays a string (color("green")). @cssints/color-names/nearest is the CIEDE2000 reverse lookup, build time only, in its own subpath. No runtime: the sheet holds the hex.freeformGradient("red top left, gold 4 60% 40%, yellow bottom right"): the spec's freeform-gradient() where the
browser has it, else a stack of radial gradients for the first paint (a layer per point, so freeform has a fallback without
JS where mesh has only its average colour) and a canvas the runtime redraws (inverse-distance weighting, the weight of a
point spread / d², in oklab or srgb — this package's rule, not the spec's, which is not public and may be named
diffusion-gradient()). Points only: a point is <color> <number>? <position>; a line, a shape, a length and a second
point at one position are build errors. Mesh is unchanged; the runtime now carries both rules (3.9 kB minified, 1.9 kB
gzipped, against 2.9/1.6 for mesh alone).@cssints/gradient-2d: meshGradient("red, blue; green, yellow") is the spec's mesh-gradient() where the browser has it (the @supports switch), else a canvas that a runtime draws, bicubic in oklab, as the background. No browser has the function yet. Positions and the by/with control points are build errors for now. css-grammar gives css.types.gradient.mesh-gradient and freeform-gradient own BCD entries (version_added: false for the tracked browsers), read only where BCD has no key, so the runtime ships to the builds whose targets lack them.@cssints/tokens/madoromi: the eight madoromi flavours (the-moonwitch/madoromi, MPL-2.0 in that one file) as DTCG data: neutrals, inks, roles and ANSI, one flavour a theme of another.named() and colorNames and the README link the Color Name List's site, https://names.color.pizza/, where a colour has its own page at /color/<name>/.createGlobalTheme take a DTCG override with digit keys ("500" for the token _500), as the run time does, and check its values."plugins": ["@cssints/devtools"] in opencode.jsonc (checked on OpenCode 2.0.27, which said "Plugin entrypoint not found" for a package with no . export). The @cssints/devtools/opencode subpath stays.CSSINTS_EVAL_TIMEOUT (milliseconds) changes the limit for tests.devtools, each cn(...) and cv(...) gets a readable class such as cs-Landing-logo (the enclosing component or file, and the variable, property or JSX attribute it is assigned to), shown first in the panel; a build is unchanged./cssints-devtools (plugin @cssints/devtools/opencode) attached to a dev server, instead of starting a session each time; files in node_modules/.cache/cssints-devtools/ are the rendezvous (new export cssints/devtools-link), and the link probe tells the attached session.cssints/widely-available/with-downstream and cssints/newly-available/with-downstream (also checked against Opera, Opera Mobile, Samsung Internet, Android WebView, UC and QQ at the minimum versions of baseline-browser-mapping), cssints/baseline-2015 to cssints/baseline-2026 (what was Baseline by the end of the year) and cssints/baseline-YYYY/with-downstream.inGroup(group, property, value) in cssints/plugin: whether a declaration is in an export group (widely-available, baseline-2022/with-downstream, ...), by the same scan cssints/<group> runs on a call. A plugin with a variant per group emits only what passes.@cssints/reset/widely-available, /newly-available, /baseline-2015 to /baseline-2026 and each /with-downstream (and /limited-availability, the whole reset). A variant keeps only the declarations whose property and value are in the group, and drops a rule left with none; @cssints/reset stays the full reset.button and input of type button, submit and reset) in a :where() rule of the reset layer, so a button no longer shows the bevel of the browser; text fields, text areas and selects keep their borders.opencode option) is always shown and pinned to the panel's edge (bottom in a left or right dock, right in a top or bottom dock), with a title, whether a service is found (a new cssints:devtools:link probe, no session created), and the last session; with no element picked the prompt is the instruction and the page.App: (the Vite root in the repository, added by the dev server), Page:, Title: and Display: (viewport, <html> attributes, colour scheme, the element's box and state) in both variants, and for an element its id, role, aria-label, href, src, alt, type, name, placeholder, title and data-* (never a value).list_plugins reads the plugin table of docs/API.md also when the formatter pads its cells.forget drops the @property and the value of the tokens of a file, and a deleted file is forgotten and leaves the sheet, so the name can be declared in another file (it failed with "is already declared with another @property").cx is folded into cncx is no longer exported, and importing it is a build error. cn(...) takes runtime values now: the arguments known at build time merge into one class string as before, and the others (on && p(4), cond ? a : b, props.class, a signal) go into a few lines of runtime the plugin adds. The styles inside them are still class strings made at build time, and a conditional style replaces the classes it overrides while it is active: cn(p(2), on && p(4)) gives p(4) when on, p(2) otherwise (cx kept both and left it to the order of the sheet).
Migrate:
// 0.1
import { cx } from "cssints";
import { p, bg } from "cssints" with { type: "cssints" };
const box = (on: boolean) => cx(bg("white"), on && p(4));
// 0.2
import { cn, p, bg } from "cssints" with { type: "cssints" };
const box = (on: boolean) => cn(bg("white"), on && p(4));The SVG property cx is written css.cx(...).
cssints/widely-available, cssints/newly-available, cssints/not-discouraged (cssints/limited-availability is cssints). A group exports the members whose CSS feature is in it, and a keyword, function, unit or media feature outside it is an error in the types and in the build.cssints/mediaqueries-4, cssints/css-grid-2, cssints/css-color-5 and 89 more. A level includes the earlier levels of its series.latest: npm install cssints (0.1.0 was published under next).The first release on npm: cssints (the Vite plugin, the build-time library, cx and the runtime of cv), @cssints/css-grammar, @cssints/devtools, @cssints/mcp, @cssints/tokens, @cssints/tui and the plugin packages (balance, fluid, fonts, gradient, icons, layout, masonry, mise-en-mode, motion, placeholder, ramp, reset, reveal, rybitten, skeleton, squircle, stuck).