Changelog
Slant / Releases
What changed in each release of Slant.
0.19.1 — 2026-10-31
- Text fields have an edge you can see. Input, Textarea, InputGroup, Select, TagInput, TimeField and ShortcutRecorder drew their border in
--sl-line-strong, which sits at 1.3 to 1.9:1 against the surfaces they sit on. They now use a new token,--sl-line-field, mixed 65% of the way from--sl-line-strongto--sl-muted. It holds 3:1 (WCAG 1.4.11) on bg, surface and surface-2 in every theme, and the token gate checks that. SecretInput takes it through InputGroup; MarkdownEditor's frame, PromptInput's surface and the Command bar's search underline take it too. Every.slantroot mixes it from its own colours, so a custom theme gets one without setting it. - Shimmer with motion reduced paints its text in plain
--sl-muted, as it does in forced colours. Before, it kept painting through the gradient with the band parked off the text. It looks the same.
0.19.0 — 2026-10-31
Agents and charts (P13), from what Nir's other apps build for themselves: five new components, seven extended ones, and two recipes. No new dependencies, and nothing breaks.
- New in Chat (the "People & chat" docs group):
- AgentApproval: an agent's request to use a tool, saying what and why, with the exact request in a scrollable region. Reject, Allow once and Allow always; Enter allows once and Escape rejects. Once answered, it says how, and announces it.
- AgentQuestions: questions an agent asks before it goes on. Each has choices, one or several, with the recommended one marked and chosen to start with, and an optional "Other" answer in the reader's own words. Sending checks every required question, moves focus to the first one missing, and then shows the answers as a summary.
- New in Charts:
- SpanTimeline: nested spans as bars on a time axis, for a trace's waterfall or a read-only Gantt view. One tab stop: Up and Down walk the rows, Right and Left open and fold them, and every step is announced. Drag across the plot to zoom into a range;
+,-and0zoom by key, Shift+Left and Shift+Right pan, and Show all goes back.markersdraw lines such as "now", and for a Gantt view with dates,formatDurationreads a span's length andticksputs the axis on your own times. - ScatterChart: points on two numeric axes, one series or several, with axis titles, a legend that shows and hides series, a walk through the points by x, and a data table.
- SpanTimeline: nested spans as bars on a time axis, for a trace's waterfall or a read-only Gantt view. One tab stop: Up and Down walk the rows, Right and Left open and fold them, and every step is announced. Drag across the plot to zoom into a range;
- New in Data: SegmentBar, one bar split into toned segments, with a legend that lists each value and share, and a total. With
total, the rest of a larger whole stays empty, the header reads "310 of 500 USD", and the legend says what remains. Hovering a segment or its legend row lights both. - Extended:
- AgentTask:
subtasks, the tool calls a task made, nested and folded under "Subtasks, 2 of 5 done". - PromptInput:
triggers. Typing@, or/at the start, opens a menu of choices while the field keeps focus; the arrows move through it, Enter or Tab picks, and Escape closes it before it stops a reply. Picking one inserts an atomic chip, drawn behind the text, which Backspace removes whole (chips,onChipsChange). With triggers or chips,onSubmitgets a second argument,{ chips }. - LineChart (and AreaChart):
xfor a numeric x-axis (formatX), axis titles (xLabel,yLabel), a legend whose buttons show and hide series (hidden,onHiddenChange; the last one showing stays), and acrosshairreadout on both axes. Tooltips with several rows are now only as wide as their widest row. - BarChart:
orientation="horizontal", negative values that grow the other way from zero, interval whiskers (lowandhigh, orintervalson a series), andvalueLabels. - Meter:
thresholds, each with a tone the fill takes once the value reaches it, andestimated, drawn hatched and read as estimated. - Carousel:
autoplay(playing,onPlayingChange). It wraps from the last slide to the first, pauses while hovered, while focus is inside, off screen and in a hidden tab, starts stopped under reduced motion, and always shows a play and pause button first in the tab order. While it rotates, the slides aren't announced. - Avatar:
tone="tint", one of five tints picked from the name, so a person keeps theirs everywhere (tintpicks one yourself).nameis optional: without one, the avatar is a dashed "Unassigned" placeholder.
- AgentTask:
- Recipes: the Assistant now asks for approval before it runs a command and asks questions before it starts, and its composer has
@and/menus. A new Run detail shows one run: its status and freshness, time by phase as a SegmentBar, its budget as a Meter, loss against step as a numeric LineChart, and its trace as a SpanTimeline. Both have SwiftUI twins. - Chart core (internal):
linearScalecan leave zero out or take a fixed domain,useChartWalkcan walk positions with Up and Down, series can carry intervals, the legend can toggle series, and there are parts for numeric x ticks, axis titles and readouts.
0.18.0 — 2026-10-31
App shell and navigation: five components for an app's frame, five extensions, and an "App shell" recipe with a SwiftUI twin. No new dependencies, and nothing breaks.
- New in Navigation:
- Sidebar: an app's main navigation. It has
Sidebar.Sections ofSidebar.Items (an icon, a label, a count,aria-current), plusSidebar.HeaderandSidebar.Footeroutside the<nav>.- A controllable
mode:open,icons(a rail, each label in a tooltip) orhidden. - Below a breakpoint (
collapse: sm, md, lg, always or never) a button opens the same content in a Drawer. The drawer's content mounts on first open and is focused on the current item, and choosing an item closes it. - The current item scrolls into view inside the column, never the page.
- The docs' own contents column now runs on it.
- A controllable
- DocumentTabs: tabs for open documents.
- Arrows move focus and Enter or Space selects. Delete, a middle click or the close control closes a tab, and focus moves to the tab that takes its place.
- Alt+Arrow keys or a drag reorder the tabs, and the move is announced.
- An open-tabs menu reaches the tabs that don't fit, a button adds one, and a dot marks unsaved changes.
- The app owns the tabs:
onClose,onAddandonReorderare requests it carries out, and ⌘W and ⌘T stay with it.
- KeyHints: a bar of the keys that work right now, built from a
Shortcut[]list.- The caps show in each platform's glyphs (⌘ on Apple, Ctrl elsewhere), and screen readers hear the key names.
- Each hint is pressable, in a one-stop toolbar. A secondary tier is muted and steps aside when the bar is narrow.
bindKeysruns the shortcuts from the keyboard too, leaving typed text and open modals alone.
- ShortcutSheet: the same list in a Dialog, grouped by where each shortcut works, with search. The result count is announced.
- Sidebar: an app's main navigation. It has
- New in Layout: PageHeader, a page's eyebrow, title, description and actions, with a breadcrumb above and a heading
levelyou choose. The actions wrap under the title when the header is narrow. It is a plaindiv, so it never adds a second banner landmark. - Extended:
- Tree:
loadChildrenloads a parent's children the first time it opens. While the load is pending the parent hasaria-busy. If it fails, a Retry row appears and the failure is announced. Rows also take astatus(read in the name) andactions(shown on hover and focus, kept out of the tab order). - Table:
layout="stack"turns rows into labelled records below 36rem, with explicit table roles.renderExpandedadds expandable detail rows, which can be controlled.groupBydraws group bands, and rows sort within their band.
- FilterBar: saved views. A view picker, then, while
modified, a "Modified" badge that is announced, plus Reset and Update. - Breadcrumb: a
statussegment after the last crumb, such as "Saved", in a live region. - ListItem:
stackputs the second end under the first when the row is narrower than 20rem.
- Tree:
- Recipe: "App shell". It combines Sidebar, DocumentTabs, a PageHeader with a Breadcrumb and its status, a Splitter, and KeyHints with a ShortcutSheet behind "?". It has a SwiftUI twin.
- Fixes:
useReordernames the item that moved, not the one that used to be in its place.- On the site, the
h1reset sits under Slant's layer, so a Slant heading keeps its own size.