# Supply UI changelog

Every release of Supply UI, newest first. Versions follow semver: a **major** version can break what a project uses (a component, an option, a CSS class or a token removed or renamed), a **minor** one adds something, a **patch** only fixes. The list of what a project can use is `/ui/api.json`.

While working, add a line under "Unreleased" in the section it belongs to (Breaking, Added, Changed, Fixed). Do not edit `VERSION` (it was set by hand once, to 1.0.0 for the launch): `node release.mjs` turns "Unreleased" into the next version.

## Unreleased

## 1.1.0 — 2026-11-24

From a pass over the pages on a phone.

### Added

- `SiteMenu title items actions`: a site's phone menu on its own (the two-line button and the floating panel that `SiteHeader` opens), for a bar of your own. Supply UI's own pages use it.
- `Empty solid`: a solid box for an empty state that stands on a picture or a painted pattern, where words on the picture cannot be read.
- The guide's checks catch two more faults: rule 10 lists a zigzag (a piece that wrapped and was pushed to the far side), rule 13 lists words written straight on a painted pattern.

### Changed

- A `Board`'s columns that do not fit go under the others at full width. It no longer scrolls sideways with a column cut off at the edge.
- `Row between` (`ui-row--between`): when the second piece wraps under the first it starts at the same edge, no longer at the far side.
- On a phone the gaps between groups (`gap={6}`, `gap={8}`) stay as large as on a computer: brought down a step, rows of different things sat squeezed together.
- `Menubar` draws its own bar (a quiet fill under its menus), and the links of a `NavigationMenu` on its own have the resting fill of a quiet button. In a `SiteHeader` they stay clear: the header is the bar.
- The browser's own date and time fields (`Input type="time"` and the like) take the width they are given on an iPhone, their value at the start.

### Fixed

- A textarea has four round corners on a touch screen: the square one is for the grip, and there is none there.
- The chosen button of a joined group (`ToggleGroup`) no longer stands a pixel proud of the others.
- The /ui/ page on a phone: the opening-hours example fits (it uses `TimeInput`), "Nobody owes you" can be read (a solid `Empty` on its painting), the page's menu is the kit's `SiteMenu`, and the "Icons file" button is gone.

## 1.0.0 — 2026-11-24

The launch, as **1.0.0**. The 2.x versions before it were previews; a project on one takes 1.0.0 with `update`.

### Breaking

- No see-through glass anywhere: the sticky `SiteHeader`, `Cover`'s panel, menus, popovers, dialogs, drawers, toasts and the floating `TabBar` are solid, and the tokens `--ui-card-blur`, `--ui-float-blur` and `--ui-bar-blur` are gone (remove them from your CSS; `--ui-bar-bg` is now solid). The style check refuses `backdrop-filter`.

### Added

- Page to page is smooth (rule 14): the kit's CSS fades the old page out and the new one in while the app's `Sidebar`, a site's `SiteHeader` and the `TabBar` stay still (`@view-transition` for plain pages), and `PageTransition` does the same in an app with client routing (Next.js: around each page's content).
- A page that arrives on its own fades in (rule 14): on a first visit, a reload, a typed address, a link from somewhere else, or in a browser without view transitions, the page's colour is there at once and everything on it comes up together. The kit's CSS does it for every page that loads it, with no class and no script; it stands aside when the browser shows the move from the page before. A `Pattern` fades in over its gradient when it is painted, and a calendar's mark for today fades in.

- Sites: `SitePage` (a site's page: header, main, footer, spaced by the kit), `Bleed` (a band the width of the window), `Cover` (a picture band with a frosted panel for the words), `Logo` (a logo drawn from a name), and a page width in the theme (`width`: narrow, regular, wide, full; `--ui-page-max`).
- `Table scroll`: a table that keeps its columns and scrolls sideways; it can then be scrolled with the keyboard.
- `Main as="div"` and `Sidebar as="div"`, for a screen shown inside a page that has its own main.
- `--ui-control-edge`: the edge of a control that is only an edge (a checkbox, a radio, a switch that is off, an empty star, a carousel dot), 3:1 on every surface.
- `UIProvider locale messages` and `useMessages()`: every word the kit writes by itself comes from one `messages` object, in any language; calendars and date pickers follow the locale. `Spinner` moved to a file of its own to read it.
- Right to left: every side in the kit is logical; arrows along the line turn round (`ui-icon--flip` for your own); a switch's knob moves the other way; codes and amounts keep their order. The style check refuses a physical side.
- High contrast: in forced colours (Windows high contrast) fields, cards and controls keep an edge, what is chosen shows in the system highlight, focus is an outline, progress keeps its fill; `prefers-contrast: more` strengthens lines and quiet text.
- The checks also run the page right to left, in Windows high contrast, with more contrast, and in German.
- The component reference is made of the kit itself (React, drawn at build time and live in the browser): a bar with ⌘K search, the families in a sticky sidebar with a filter (a drawer on a phone), "On this page" that follows the reading, parts grouped under their component, a copyable import, and the previous and next component of the family.
- A page for every component at `/ui/components/` (and as text for AIs, `/ui/components/<name>.md`), made from the code: what it is for, its options with types and defaults, its classes, its CSS parts, the examples that use it, and its family's states, do and don't.
- `npx https://www.supply.family/ui/cli.tgz init | update | diff | add`: installs the kit, takes newer versions without losing your edits (an edited file gets the new one beside it), and gathers the CSS parts some components need.
- The CSS in parts: one file per component at `/ui/css/`, listed in order in `/ui/css/index.json` with the parts each React file needs. `supply-ui.css` stays the whole kit in one file.
- The release notes (`/ui/CHANGELOG.md`) and the list of what a project can use (`/ui/api.json`); `version.json` carries the latest release's changes.
- `CommandPalette` items take `keywords`: more words an item is found by, never shown (another name for it).
- The guide and the release notes are pages, `/ui/guide/` and `/ui/changelog/`, in the same frame as the component reference: chapters to jump to, the rules with their numbers, tables, and code with a copy button. Every link in the menus now opens a page; the text files (`DESIGN.md`, `CHANGELOG.md`) are offered on those pages, for an AI.
- `runAgentTool(name, input, { signal })`: stopping the assistant (a chat's stop button) ends a step that is waiting for the person's answer and closes the question.
- The component reference opens with a first page that says what the kit is: a board of working components, the kit's numbers, what you get, how to start, then every component by family, with "On this page" and an "Overview" link on top of the sidebar.
- Automatic checks (`node build.mjs --check`): the guide's rules 10, 13 and 15, accessibility (axe-core), the keyboard, no sideways scroll while the window narrows, and screenshots compared with the last accepted run, in two looks and at four widths.

### Changed

- `Slider`, `RangeSlider` and `.ui-range`: the thumb grows smoothly while the slider is hovered or dragged (`--ui-knob-grow`, 1.3).
- The pages of Supply UI: the version is in the footer, not the top bar, and every page (the component reference too) ends with the same footer: Components, Guide, Changelog and the credits.
- Writing: a text on screen that is one sentence ends without a full stop (rule 16, "One sentence, no full stop"); two sentences or more keep theirs, and quotes keep their own marks. The kit's own words ("Nothing found", "Caps Lock is on") and every example follow it.
- UI SDK `0.1.0-beta.16` (was `0.1.0-beta.2`): with this version of the kit install exactly `@ui-sdk/react@0.1.0-beta.16 @ui-sdk/core@0.1.0-beta.16`. It brings two weeks of UI SDK's fixes: focus goes back to the right place when a dialog or menu closes, popups sit on whole pixels and stay on screen, Escape closes only the top layer, a drawer opens faster on a phone, dates are read in more languages, and an AI assistant names and presses controls more reliably.
- `ImageCropper`: the corners to pull sit beside the frame, not inside it, so screen readers reach them (UI SDK's new structure, which places each corner itself). CSS of your own that placed `.ui-cropper-handle--nw` and the others must go.
- The component reference names components in words ("Menu checkbox item", not `MenuCheckboxItem`) in its menu, lists, headings, search and "next"; a page shows the code's name under its heading, and the search still finds it.
- Icons are as heavy as the text beside them: their line is the theme's `stroke` (now the weight beside regular text, default 1.75, measured on Inter's stems) times the text's weight (`--ui-icon-weight`: 1.2 beside medium, 1.4 beside bold), set by every rule that sets a font weight; the style check refuses a font weight without it.
- The guide tells an AI how to choose the page `width` when nobody has said: from what the pages are for.

- The default corners are 12px (were 20px): calmer, and controls are no longer pills unless a theme asks for 20px or more.
- The soft grey page is lighter (lightness 0.982, was 0.9685), so it reads as a quiet backdrop for white cards; white and grey pages are unchanged.
- The /ui/ page remembers a look only once you change something (or open a shared look's link); before, it saved the default on every visit, which held visitors on an old default after it changed. Looks saved before this are forgotten once.
- The component pages always show the default look; a look tried on /ui/ no longer follows you there.
- /ui/ example "A dock that floats": only the dock sits on the painted canvas; the title and label were written straight on the painting and could not be read.
- Component pages: the examples work on the page (docs-scenes.js) instead of linking to /ui/; the sidebar is a full-height column at the window's left edge.
- `.ui-code` in running text (paragraphs, list items, captions; not table cells, where a name must stay whole) wraps when it is longer than its line, instead of running out of a narrow screen.
- The checks run in Firefox and in WebKit (Safari's engine) too: `ENGINE=firefox|webkit node test/run.mjs` (and `test/keys.mjs`), each with its own baseline and report.
- The component reference: every page opens with a live preview of its component, and "Use" shows that preview's own code (src/docs/demos, read by demo-code.mjs). Every component says what it is and every option what it does; the build stops when one does not.
- An `AppShell` whose `Main` is `as="div"` (a screen shown inside a page) keeps its own height and its sidebar does not stick to the window.
- `ToastMark` shows its kind's colours anywhere, not only inside a toast.
- `.ui-ratio` sizes a `Pattern` inside it like a picture.
- The kit's last English words go through `messages`: the AI assistant parts, FileDrop's reasons, and screen-reader words of `Checklist` and `Notification`.

- All of the kit's CSS is in one cascade layer, `supply-ui`, after UI SDK's: a project's own CSS wins over it without `!important`.
- Narrow screens: a `Table` whose columns do not fit turns each row into a block; `ResizablePanels` stack below 560px; `Pagination` shows fewer numbers in a narrow box; `Steps` keep only the current step's name below 36rem; `Cells` and wrapping button groups share their rows evenly; list rows wrap instead of letting a word run out; a `Segmented` option keeps its word; a field in a `Toolbar` keeps a usable width; `Waterfall` names take a second line; joined button groups never widen the page.
- Contrast: `--ui-fg-subtle` is 4.5:1 on every surface; a brand fill between 0.55 and 0.6 of lightness moves to the nearer edge of that band, so its text always reaches 4.5:1; checkboxes, radios, switches, empty stars and carousel dots use `--ui-control-edge`. `check-contrast.mjs` now fails below the minimums.
- A read-only `Rating` is a picture of the score, without hidden buttons.
- A `ContextMenuTrigger` takes focus, and the menu key or Shift+F10 opens its menu.
- Board columns on the bare page take the deeper fill, so they can be seen; a `Waterfall` has the card fill.
- Rule 10 of the guide gives a narrow check to run at 320, 375 and 768 px; rule 13's edge check skips text inside a box that scrolls; rule 15's card check counts a card that is itself a link, and right-click menus.

### Fixed

- `MenuSubTrigger`: an icon and its word keep the row's gap (they were wrapped together and touched).
- The edge check (rule 13) also lists any icon that touches the text beside it; the kit's tests run it on every page.
- Component pages: a tag named in a description (`<Select>`) shows as code, and a description that holds a piece of code stops the build (the code goes under `@example`).
- An AI assistant sees toasts and can press their buttons: the toast region was hidden from it.
- The guide's checks: rule 10's "squeezed into short lines" measures a table cell by its own text (a cell is as tall as its row, so a short text beside a long one was reported) and counts the words in code, links and bold; rule 13's edge check leaves bold, code and links inside one line of text alone (a code word that wrapped under bold text was reported as two boxes touching).
- Safari: a box with an `aspect-ratio` (the colour picker's square, calendar days, pictures, patterns, pick tiles, the cropper) could not narrow below a size taken from its height, so a narrow screen scrolled sideways. Each now has `min-width: 0`, and the style check refuses an `aspect-ratio` without a `min-width`.
- Firefox and Safari: links in a sidebar that is a strip on a phone no longer shrink under their words.
- Inline code that wraps in running text no longer touches the line under it in Firefox.
- The guide's checks work in Firefox and Safari: the card check no longer reads an `oklch` colour it cannot parse as black, and the narrow check no longer counts plain inline words as cut short.

- A date range in a narrow box keeps room for both whole dates (`DatePicker`'s inputs never go below a date's length).

- `Slider`, `CodeInput` and `TriggerInput` are named by the label of the `Field` they are in (before, a screen reader heard no name, or "Code").

- The `/ui/` page no longer scrolls sideways on a phone (the pattern maker's picture, joined button groups).
- The page's own examples follow rule 15 (no card round a table, a list or an empty state; pictures without cards; a quote without a card in a card).
- The page's landmarks, headings and names: one main, a named dock, unique names for each navigation.

## 2.13.7 — 2026-11-20

A preview, before the launch.

First release at supply.family/ui/: tokens, base, components and React components on UI SDK, the guide (`DESIGN.md`), the pattern painter, icons, the theme code, and the page with its examples.
