Raft Design System

raft-ui 0.114.2

Changelog

What changed in each release of raft-ui, newest first.

Unreleased

Added

  • ChoiceList: a meta line can be given in groups, { groups: [marks, ["4 agents", "RAM 69% used", "Disk 22% used"]] }, for a row where people compare every fact. The groups share one line while they fit; when the next one doesn't, the whole group moves to the next line, with no " · " at that line's start and no ellipsis. A group is a node or an array of facts, drawn with " · " between them; a group wider than the row on its own breaks only between facts. A plain line still stays on one line, cut at its end with its text as its title. New types ChoiceListMetaGroups and ChoiceListMetaLine.
    • Why: a meta line is cut at its end on a narrow row, and rows that are chosen by comparing every fact (a computer's runtimes, agents, memory and disk) lost the facts people compare to the cut; apps worked around it with their own wrapping layout.
    • Affects: a line in groups counts as one of a row's two lines and adds one line's height (text-footnote's) for each extra line it wraps to; the " · " before each group is 0.65em wide, as wide as the text " · " between facts.
    • Docs: https://raft-design.botiverse.build/components/choice-list/

Fixed

  • VirtualList: a list with no layout, hidden with display: none or out of the document (a body detached until it shows again), measures nothing and keeps no row in place: its rows' 0 sizes are not written, keepAnchorOnItemsChange anchors no row for items that change meanwhile, and shown again the list mounts the rows for where the view is, even at the same size. Shown again with its offset put back, the row at the view's top is where it was.
    • Why: the list took its rows' 0 sizes for theirs, so shown again it scrolled the regrown rows away and the view landed hundreds of pixels off; items that changed meanwhile were anchored to its offset as read then (0), which undid the offset put back on the way in.
    • Docs: https://raft-design.botiverse.build/components/virtual-list/#heights

0.109.3 (2026-12-01)

Fixed

  • MessageItem: on a continuation row (no sender line), the hover toolbar sits wholly above the row, its bottom edge on the row's top edge, instead of over the first line of text; where there is no room above (the first row shown in a scroll area or the window) it rides the top edge as on a full row. A full row is unchanged. (#1552, #1553)
    • Why: a continuation row has no header for the toolbar's lower half to cover, so it covered the end of the first line, and a link there could not be clicked while the row was hovered.
    • Affects: the toolbar's top is its height times --mi-toolbar-lift: 0.5 on a full row, 1 on a compact row, 0.5 again with data-straddle when it would be clipped.
    • Docs: https://raft-design.botiverse.build/components/message-item/

Design System

  • A question's description shows on the card before anyone answers, and stays with the answer: on a card answered in place and on the buttons row alike, the description sits under the question, before the options; once answered, the record keeps it next to the answer, and an answered card's time line says when. Components: MessageActionCard. (#1548, #1549, #1550, #1551)

0.109.2 (2026-11-30)

Fixed

  • Sidebar: a row's meta (a count, a time, "12 · 2") stands on the name's baseline, in SidebarItemMeta and inside SidebarItemAside; the icon, avatar, count and @ sticker stay centered on the row, and a wrapping row is unchanged. The meta's own line ("12 · 2") is no longer 2px too tall. (#1545, #1546)
    • Why: centered with the row, the 12px meta stood 1px above a phone's 16px name (0.3px beside a desktop's 14px); the alignment audit flagged it in the docs and on slock's pages.
    • Affects: the meta moves down by the difference between the two fonts' baselines, computed from the name's size (text-subhead, text-body below md); a row that gives its name another size changes the drop with it.
    • Docs: https://raft-design.botiverse.build/components/sidebar/

Design System

  • A card waiting on someone says Waiting; whom it waits on goes in the action row: for a reader who can't act, the header's status is the one word Waiting, and the action row holds only a note, "Waiting on {name} to answer", the name opening the person; every card uses "to answer". Components: MessageActionCard. (#1542, #1543)
  • New tab: what the page shows (the field, This channel, Recently seen with closed tabs, at most 6, then Apps), how a result opens (↩ in place; ⌥↩, ⌘ click or middle click beside), a person opening their profile card, and Escape as in a browser. (#1540, #1541, #1543)
    • Docs: design/patterns/tabs-and-panes.md
  • An answer whose next step the server decides at the press goes at once, with no undo bar. (#1538)
  • ChoiceList's search row keeps the field at least 8rem and wraps its buttons; a filter shows two marks, then +N. Components: ChoiceList. (#1539)
  • The alignment audit measures other apps' pages (--pages, and auditPage() / routePinnedFonts() for an app's own Playwright run), so hand-built rows are flagged too. (#1544)
    • Docs: design/foundations/alignment.md#checking-alignment

0.109.1 (2026-11-30)

Fixed

  • Combobox and ComboboxSelect: a value too long for the input ends in an ellipsis while the input isn't being typed in, and while it isn't focused its whole text is the input's title when it overflows. (#1536)
    • Why: a long chosen value was cut off hard, with no ellipsis and no way to read the rest; Select already truncated its value with an overflow title.
    • Affects: text-overflow: ellipsis when the input is not focused or is read-only; while typing, the text scrolls as before and has no title. A title the caller passes wins. useOverflowTitle also measures <input> elements.
    • Docs: https://raft-design.botiverse.build/components/combobox/

Design System

  • A notice under a panel header shows a reason from the system in full: the sentence written for it stays at most two lines, and a reason the system gives (why something failed) wraps under it in the same PanelNoticeContent, unclamped. Such notices stay PanelNotice, never Banner. Components: PanelNotice. (#1535)
  • A sort and a filter go in the search field's row of a long ChoiceList, as icon-only PickerTriggerButtons as tall as the field; ChoiceList has no slot for them yet, so the caller lays them out beside it. When choosing a computer to move an agent to, computers that can't be chosen are grouped last, dimmed, with the reason on their line; when creating an agent they stay in place, dimmed. Components: ChoiceList, PickerTriggerButton. (#1534)
  • A press that closes a filter menu reorders the filters once it ends: a tap on another chip closes the open menu, and the applied filters move first only after that tap is released; a close by Escape moves them at once. Components: FitToolbar. (#1533)

0.109.0 (2026-11-30)

Added

  • useOverlayPortalNode: returns the node an overlay opened here would portal into, decided from React context as Base UI decides it: the raft-ui overlay this is inside (every one but Tooltip, PreviewCard and Toast), else the PortalContainerProvider container, else the body. A layer of the app's own that must stack with raft-ui's overlays, such as a click-outside backdrop, portals there. (#1531)
    • Why: an app's click-outside backdrop portalled to the body covered a menu nested in a Dialog, and finding the overlay by walking the DOM can disagree with Base UI, which decides from React context.
    • Affects: the internal nesting context now carries the overlay's portal element instead of a boolean; overlays nest exactly as before, and a caller's ref on a …Portal part still reaches the element.
    • Docs: https://raft-design.botiverse.build/components/popover/#a-layer-of-your-own

Fixed

  • FitToolbar: in a scrolling group (the filters line) a focused chip's ring shows whole at the group's ends instead of losing its outer 4px on the left. (#1530)
    • Why: the group's scroller clips sideways and its content had no inline padding, so the first chip's ring started 4px outside the clip.
    • Affects: scroll variant only: scroller -mx-1.5 with width calc(100% + 12px), content px-1.5. Chips stay where they were.

Design System

  • Applied filters move first when their menu closes, not while it is open; Clear all appears at the same time. (#1529)
  • No resting Mark as Done on an Activity row on any touch screen: swipe and the press-and-hold menu at every width. (#1528)

0.108.0 (2026-11-30)

Added

  • Mixed CJK and Latin text is spaced by the browser: styles.css sets text-autospace: normal on :root, so a small gap (1/8 em) is drawn wherever Chinese, Japanese or Korean meets a Latin letter or a digit; code, kbd, samp and pre keep no-autospace. (#1526)
    • Why: much of what Raft shows is written by people and agents without spaces between scripts; only the browser can space it at render time (stdrc). Chromium's initial value is no-autospace, so it has to be set.
    • Affects: inherited by every element, fields and editors included. The gap is drawn, not inserted: copied text is unchanged and a typed space is not doubled. Browsers without text-autospace (before Chrome 140, Safari 18.4) show text as written. Overlays that position themselves by measuring an input's text may need no-autospace.
    • Docs: https://raft-design.botiverse.build/foundations/typography/#mixed-cjk-and-latin

0.107.7 (2026-11-30)

Reverted

  • PanelNotice: the trailing actions sit on the message's first line again, as before 0.107.6, on a message of two lines too. (#1524)

0.107.6 (2026-11-30)

Fixed

  • PanelNotice: on a message of two lines, the trailing actions are centered on the whole message instead of sitting on its first line; the lead icon stays on the first line, and a one-line notice is unchanged. (#1514)
    • Why: a 32px button pinned to the first line of a two-line notice left a gap under it, so it read as detached from the message; the actions now center themselves on the message while the icon keeps its first-line alignment.
    • Affects: PanelNoticeActions adds self-center; the root keeps items-start and the actions keep -my-1.5, so a one-line strip stays the same height.
    • Docs: https://raft-design.botiverse.build/components/banner/#inside-a-panel
  • VirtualList: a list hidden with the hidden attribute or a stylesheet's display: none (a class such as Tailwind's hidden), on itself or an ancestor, keeps the size it had while hidden and measures again when it shows, as a list hidden with an inline display: none already did. (#1517)
    • Why: only an inline display: none was detected, so a list hidden any other way measured 0 tall and recomputed its rows for an empty view, and did not come back as it was when shown again; every way of hiding with display: none is now detected.
    • Affects: the computed style is read only when the list has no box, so a list on screen does no extra style lookup.
    • Docs: https://raft-design.botiverse.build/components/virtual-list/#heights

0.107.3 (2026-11-28)

Design System

  • A sticker's ink edge follows its size (Shape › Stroke widths): a sticker that carries a label (a number, a word, or an icon that stands for one) and is under 24px tall takes a 1px ink edge, and in dark mode a 1px die-cut edge outside it. A larger sticker, or one with no label that relies on its edge for its shape, keeps 1.5px: buttons, the selected row, tab and segment, avatars and their corner marks (and an avatar stack's +N count), status pixels and attention dots. Changed in this release: Badge (appearance="solid"), SidebarItemCount, SidebarItemIndicator, AppRailItemBadge, the new count in MessageRepliesSummary, a mention of you (MessageReferenceText variant="primary"), and the Steps number. (#1500)
    • Why: at 19 to 20px tall a 1.5px edge took 3px of the height, and its ink outweighed the 12px label inside it, so the edge read before the label did; 1px still holds the color's shape against paper.
    • Affects: inset-ring-[1.5px] / ring-[1.5px] → inset-ring / ring (1px) on those parts; --r-steps-indicator-border-width 1.5px → 1px for the current, finished and error steps. A sidebar row's count and @ sticker now leave 11px to the row's shape (was 10.5px). Heights and boxes are unchanged.
    • Docs: https://raft-design.botiverse.build/foundations/shape/#stroke-widths

0.107.1 (2026-11-28)

Added

  • messageCard().metaLine(): a recipe part for a card with a preview, its details on one small muted line at its foot (author · time · comments, then any news badges and an older version), which never wraps. (#1493)
    • Why: a card that showed a preview, such as a document card, said its title twice and spread its details over several wrapping lines, so on a phone one card took close to half the screen; a card with a preview now puts its title once at the top and its details in this one line.
    • Affects: flex min-w-0 items-center gap-1.5 whitespace-nowrap, text-caption, text-foreground-muted. messageCard().meta() is unchanged and still wraps. The caller writes the dots between the parts and puts truncate on the part that should give way first.
    • Docs: https://raft-design.botiverse.build/patterns/cards-in-messages/#a-card-with-a-preview

0.107.0 (2026-11-28)

Changed

  • A phone sheet fits its content, up to 90% of the screen (Dialog › The sheet): below 768px DialogSheetContent is as tall as its content, capped at 90%, and a longer body scrolls inside. When the content changes height (the next step, a growing text box) the sheet animates to the new height over 200ms with ease-slide; with reduced motion it changes at once. With the on-screen keyboard up, the sheet sits on the keyboard and is at most the space above it; a short sheet keeps its height. (#1482)
    • Why: the sheet was always 90% tall (h-[90dvh]), so a step with one field left the lower half empty. Apple's HIG and Material 3 both size a sheet to its content first.
    • Affects: DialogSheetContent takes h-(--dialog-sheet-height,auto) max-h-[90dvh] instead of h-[90dvh]; a ResizeObserver pins the old and new heights so CSS can transition height, and unpins it at the end. With the keyboard up it is placed with bottom and maxHeight instead of a fixed top and height. A body that fills what it is given (a ChoiceList with fill) no longer forces 90%. A width or cap change (window resize, keyboard) is not animated. Desktop and tablet dialogs are unchanged.
    • Docs: https://raft-design.botiverse.build/components/dialog/#the-sheet
  • A footer link in a phone sheet is a full-width outline button (Dialog › The sheet): a TextLink written first in DialogFooter moves to the end of the sheet's body as Button variant="default" size="md", full width (32px tall, 44px hit area), instead of muted footnote text. (#1482)
    • Why: at the end of a sheet it is the only thing a finger must hit, which needs a Button (TextLink), and with no hover on touch it read as plain text.
    • Affects: the button keeps the link's children, render (an <a href> stays an <a>) and handlers; its variant and className are dropped. A DialogFooterNote stays footnote text. Desktop and tablet keep the TextLink.

Fixed

  • Meter and Progress tracks show on any surface (Color › Hover overlays): MeterTrack and ProgressTrack draw their empty track in translucent fill-medium instead of opaque fill-muted, so it lays a step darker than whatever the bar sits on. (#1491)
    • Why: a bar on a fill-muted block lost its track entirely (a stale usage card showed nothing at 0% and a floating pill at 61%), and on an inactive fill-subtle card it was barely visible.
    • Affects: light, on white about #ECECEC (was #F3F3F3), on fill-muted about #E1E1E1; dark, on cards and popovers about the old fill-muted, on the canvas a little lighter. A bar over an image keeps its layer-card track.
    • Docs: https://raft-design.botiverse.build/components/meter/

0.106.3 (2026-11-27)

Changed

  • Light warning surfaces are amber, distinct from danger (Color › Meanings of color): in light mode warning-soft and warning-muted move from a pale orange to amber, so a warning banner, notice, badge or icon tile beside a danger one reads as a different color at a glance, not only by its icon. Dark mode, the solid warning, warning-strong, warning-graphic and the Todo chip's task-status-todo-soft are unchanged. (#1478)
    • Why: a pale wash of the warning orange reads pink, and next to danger-soft (hue 20) or danger-muted (hue 23) a warning banner looked like a danger one; the two washes now sit about 50° apart in hue.
    • Affects: light warning-soft oklch(0.9413 0.0275 40.2) → oklch(0.94 0.045 72); light warning-muted palette-orange-200 (oklch(0.892 0.053 43.23)) → oklch(0.892 0.085 72). Text keeps its contrast: foreground 15.7:1 on warning-soft and 13.5:1 on warning-muted, foreground-hint 4.9:1 and 4.7:1, warning-strong 9.3:1 and 7.9:1. Painted by Banner and PanelNotice (status="warning"), Badge (appearance="soft" variant="warning"), IconTile (warning), NotificationCenter's error and warning icons and a failed reaction's flash in MessageReaction.
    • Docs: https://raft-design.botiverse.build/foundations/color/#meanings-of-color

0.106.2 (2026-11-26)

Changed

  • List popups shrink and scroll on their side before flipping; the side axis is the last resort (Elevation › Popups, DropdownMenu › Long menus, Popover › A long popover): DropdownMenuContent, SelectContent, ComboboxContent, ComboboxSelect on a desktop and a PopoverContent with a PopoverBody stay on the side they open on and shrink to the room there, scrolling their list, as long as it holds five rows (--popup-list-min-height: 178px with a mouse, 188px on a touch screen). With less they flip to the other side, and they open beside the trigger only when neither side holds five rows.
    • Why: Base UI's flip measured the whole list, so a list taller than the room on either side opened beside its trigger at full height (the 30 readers under an Artifact's "4 viewing" in a 900px window), and a menu with 300px under its trigger flipped above it.
    • Affects: the menus, Select and Combobox lists are capped by the new max-h-popup-list utility instead of max-h-(--available-height): five rows on the pass that picks the side, then 4px short of --available-height. SelectContent and ComboboxContent are flex columns (flex flex-col), so their list shrinks inside the cap instead of being clipped; so is ComboboxSelect's popup. Their collisionAvoidance defaults to LIST_POPUP_COLLISION_AVOIDANCE (fallbackAxisSide: "end"; Base UI's default for menus, selects and comboboxes is "none", never beside); a collisionAvoidance you pass replaces it. A PopoverContent with a PopoverBody takes the cap through has-data-[slot=popover-body]:max-h-popup-list; one without a body flips whole, as before. ContextMenuContent, tooltips and preview cards are unchanged.

Fixed

  • A submenu opens beside its item (DropdownMenu › Behavior): a DropdownMenuContent inside a DropdownMenuSubmenu opens to the end side of its item, its first item level with it. Where it doesn't fit it flips to the other side, and where it fits on neither side it slides along the window's edge, still level with its item; it never drops above or below it.
    • Why: DropdownMenuContent defaulted side to "bottom" for submenus too, so a submenu opened below its item, over the menu's next items, and did not read as coming out of it.
    • Affects: inside a DropdownMenuSubmenu, DropdownMenuContent defaults to side="inline-end", sideOffset={4}, alignOffset={-4}, sticky and collisionAvoidance { side: "flip", align: "flip", fallbackAxisSide: "none" }; props you pass replace them. It keeps the list popup's height cap. A menu (DropdownMenuContent outside a submenu) is unchanged.
  • ContextMenu: a submenu opens beside its item as a DropdownMenu's does (ContextMenu › Behavior): a ContextMenuContent inside a ContextMenuSubmenu takes the same position as a DropdownMenu submenu: the end side of its item (inline-end, so it follows the writing direction), its first item level with it, flipped to the other side where only that side has room, slid along the window's edge where neither has.
    • Why: it opened to the right whatever the writing direction, never flipped (side: "shift"), so at the window's right edge it slid over the menu even where the left had room, and its first item sat 4px below its item's.
    • Affects: inside a ContextMenuSubmenu, ContextMenuContent defaults to side="inline-end", sideOffset={4}, alignOffset={-4}, sticky and collisionAvoidance { side: "flip", align: "flip", fallbackAxisSide: "none" }; props you pass replace them. The menu itself still opens at the point and shifts.

0.106.1 (2026-11-26)

Fixed

  • DropdownMenuContent, ContextMenuContent: a menu is never wider than the window. It is as wide as its longest item, at least 240px, and capped at the room the positioner leaves it across the window; an item longer than that wraps (a plain label) or is cut with an ellipsis (a label in …ItemLabel) inside the menu. Submenus are capped the same way. (#1470)
    • Why: the menu had a minimum width and no maximum, so an item longer than the window made the menu as wide as the item and it ran past the window's right edge (in a 320px window, a 320px menu at x=5 with 310px of room).
    • Affects: the popup gets max-w-(--available-width) beside its min-w-60; a className max width still replaces it. DropdownMenuPopup and ContextMenuPopup, outside a positioner, have no --available-width and are unchanged.
    • Docs: https://raft-design.botiverse.build/components/dropdown-menu/#width

0.106.0 (2026-11-26)

Design System

  • Long menus and popovers scroll inside the room they have (DropdownMenu › Long menus, Popover › A long popover, Elevation › Popups): a popup is capped at the space left between its trigger and the window's edge, and what doesn't fit scrolls inside it, never clipped. The highlighted item of a menu stays in view and clear of the fade; the cut edges fade over up to 24px; an action on the whole list stays below the items (DropdownMenuPinnedFooter); a popover keeps its header and buttons and scrolls its body. Changed in this release: DropdownMenuContent, ContextMenuContent, PopoverContent, PopoverBody, PreviewCardContent, PreviewCardBody.
  • A large form dialog's sections pane supplies their inset (Forms › The large form dialog, FormSection): the pane the sections scroll in pads its content by --surface-inset on every side, the top included, since a FormSection starts flush with its container.
    • Why: with only a side inset, the first section's heading and status chip met the header's seam and ran under the scrollbar's end (slock #17004).

Added

  • DropdownMenuPinnedFooter and ContextMenuPinnedFooter (work in progress, from @botiverse/raft-ui/wip): items kept below a long menu's scrolling items, after a separator, at any scroll. Write it as the menu's last child; the arrow keys reach it after the last item.

Changed

  • DropdownMenuContent, ContextMenuContent: the items scroll inside the popup's height cap, in a ScrollArea with the popup's 4px padding on its content and its edges faded; Base UI's keyboard highlight scrolls the item into view, 24px clear of the cut edge. A menu that fits renders as before: no scrollbar, no fade, the same 4px around the items and separators to the popup's edge.
    • Affects: the popup's own padding is now p-0 and its children sit in [data-slot=dropdown-menu-scroll] / [data-slot=context-menu-scroll] (a ScrollArea) instead of directly on the popup, followed by an empty …-pinned-footer-host. className still sizes the popup; a layout class meant for the items (flex-row, a grid, a [&>…] selector) now applies to the popup, not to them: wrap the items in an element of your own for that. A scroller of your own inside a menu (a ScrollArea with p-1 content and the popup's className="p-0", as a local ScrollingMenuContent does) can be removed, and its footer becomes a DropdownMenuPinnedFooter; until it is removed its items are inset 8px instead of 4px. MessageReactionPickerContent keeps its one row on the popup.
  • PopoverContent, PreviewCardContent: the panel is a flex column (flex flex-col), and PopoverHeader, PopoverSeparator, PopoverActions, PreviewCardHeader, PreviewCardSeparator, PreviewCardSubtitle, PreviewCardActions and PreviewCardFooter don't shrink. PopoverBody and PreviewCardBody are a ScrollArea (min-h-0, faded edges, overscroll="contain"): they scroll when the panel is capped, and are a tab stop while they overflow.
    • Affects: PopoverBody and PreviewCardBody's className is still the content's (its inset, its gap: className="flex flex-col gap-3" or "p-0" keeps working), now inside a scroller ([data-slot=popover-body] / [data-slot=preview-card-body], the content being its [data-slot=scroll-area-content]); their ref and native props (role, aria-label, data-*) are the scroller's, and a new scrollClassName styles it. The scroller clips what its content draws past its box (a ring, a marker that overhangs the panel): a body that must not clip, in a popup that is overflow-visible and never capped, passes scrollClassName="overflow-visible". A popover that already put a ScrollArea inside its PopoverBody (min-h-0 flex-1, negative margins) can drop it; one of its own parts needs min-h-0 on each box between the panel and its ScrollArea.

Fixed

  • Switch: a disabled switch that is on keeps the on look, faded as a whole to opacity-dimmed: the yellow selected sticker, its ink edge (and the die-cut edge in dark mode) and the white knob at 60%. A disabled switch that is off is unchanged.
    • Why: a disabled switch took the shared gray disabled look whether it was on or off, so the two differed only by where the knob sat; in dark mode both tracks were the same dark gray, and a read-only settings list couldn't be read at a glance.
    • Affects: [data-checked][data-disabled] on Switch: track bg-fill-muted → bg-selected, border foreground-disabled → sticker-ink, plus opacity-dimmed (0.6) on the whole switch; SwitchThumb bg-fill-muted with a foreground-disabled ring → sticker-paper with a sticker-ink ring.
    • Docs: https://raft-design.botiverse.build/components/switch/#states

0.105.2 (2026-11-25)

Design System

  • Words in a status color take the -strong token (Color › Contrast): text in a status color uses that family's -strong token (success-strong, warning-strong, danger-strong, info-strong, attention-strong), never the sticker color, and an icon that goes with the words takes the same ink. Fills keep the sticker color, and a bare chart mark takes warning-graphic. Changed in this release: Text. (#1455)

Fixed

  • Text (Text.Heading, Text.Sans, Text.Mono): the success, warning, danger and accent tones color their words with the family's -strong ink, so every tone is at least 4.5:1 on the canvas, the sidebar, a card and a popover, in both modes and every theme. (#1455)
    • Why: these three tones used the sticker colors (1.64:1 to 2.76:1 on white), and accent used attention-700, which is 2.15:1 on the dark canvas.
    • Affects: success text-success → text-success-strong (light 10.4:1, dark 11.6:1 on the canvas). warning text-warning → text-warning-strong (11.1:1, 9.6:1). danger text-danger → text-danger-strong (6.1:1, 8.9:1). accent text-attention-700 → text-attention-strong (6.1:1, 9.9:1). information, primary, note, muted and default are unchanged. A class of your own that colored a tone's words -strong (className="text-warning-strong") can be removed.
    • Docs: https://raft-design.botiverse.build/components/text/#variants

0.105.1 (2026-11-25)

Fixed

  • Panel, PanelHeader, PanelFooter: inside a sheet (DrawerContent, or DialogSheetContent on a phone) they paint the sheet's layer-popover instead of their column's layer-canvas, so the sheet is one surface from the grab handle down; PanelHeader keeps its line-seam. ConversationPanelRoot, ConversationPanelFooter, ThreadPanelRoot and ThreadPanelFooter keep layer-canvas in a sheet, so a conversation or a thread in a sheet changes only in its head (PanelHeader, ThreadPanelHeader). Beside the page they are unchanged. (#1451, #1453)
    • Why: in dark mode layer-canvas is darker than layer-popover, so a panel opened as a bottom sheet showed its head as a band between the handle and the list, against Drawer's rule that the sheet is one surface; callers had to pass a class of their own to undo it.
    • Affects: inside [data-slot=drawer-content] or a phone sheet's [data-slot=dialog-content][data-sheet], the background of Panel, PanelHeader, PanelFooter and ThreadPanelHeader is layer-popover (dark: oklch(0.2213 …) → oklch(0.2802 …); light: white either way). A background class of your own on them is overridden inside a sheet, unless it is written with the same variant (in-data-[slot=drawer-content]:bg-*); a surface of your own inside the panel (a list on layer-card) is unchanged. A class such as in-data-[slot=drawer-content]:bg-transparent passed to do the same can be removed.
    • Docs: https://raft-design.botiverse.build/components/panel/#rules

0.105.0 (2026-11-25)

Design System

  • A focus ring where its container clips (States › Focus, Elevation › Focus ring): where something around an element clips what is past its box (a row or a list that scrolls, an edge fade, overflow-hidden), the ring is kept whole. First the container makes room: it keeps the ring's reach inside its box as padding and gives it back with a negative margin, so the ring stays outside the element. Only where the container can't make room is the ring drawn inside the element (inset-ring-2). An element whose content runs to its sides draws the ring on a shape of its own. Changed in this release: TabsList, TabsTab, ConversationPanelTabs. (#1448)

Breaking Changes

  • TabsList keeps room inside its box for what its tabs draw past theirs, and gives it back with a negative margin. TabsTab's keyboard focus ring is now whole in a row that scrolls, in both variants. (#1448)
    • Why: the row clips whatever is drawn past its box (it scrolls, and its edge fade is a mask). In a sideways row the focus ring lost its top and bottom, a selected underline tab showed no ring at all, and in dark mode the selected sticker's light outer edge was cut too.
    • Affects: a sticker row (variant="default") keeps 4px on every side (p-1 -m-1, max-w-[calc(100%+8px)]). Its tabs keep the outward focus-ring, outside the ink edge too, and the focused tab is raised (z-raised) over the 2px gap. A sideways underline row keeps 10px at each end (px-2.5 -mx-2.5, max-w-[calc(100%+20px)]). An underline tab draws a 2px inset ring in foreground on a ::before shape the control's height, 10px past the text on each side, apart from the selected line. A tab reached with the arrow keys scrolls clear of the 24px edge fade plus the ring's reach (scroll-padding-inline). ConversationPanelTabs resets the row's margin (m-0), since its padding is the room. A row with no classes of its own lays out as before: tabs in the same place, the same height.
    • Migrate: if you set a TabsList's own padding or width, set its margin too. With p-*/px-*/py-*, add m-0 (or mx-0/my-0 for the axis you padded) and keep at least 4px of padding (10px at the ends of an underline row). With w-full, use w-[calc(100%+8px)] instead (w-[calc(100%+20px)] on a sideways underline row), which keeps the tabs' place and the room; m-0 only on a row that sets its own padding. Otherwise the row's tabs move by the margin and the ring is clipped again. In slock: HumanAvatarBuilderDialog (drop its own p-0.5), BrowserTabStrip (w-full overflow-hidden) and feature-flag-admin's FlagScreens (w-full px-(--column-margin) py-2, and the underline row's pr-3).
    • Docs: https://raft-design.botiverse.build/components/tabs/#focus

0.104.0 (2026-11-25)

Design System

  • Tooltips on a touch screen, and who owns a long press (Tooltip › Touch screens, States › Dragging on a touch screen): on a touch screen a tooltip opens on a press and hold, on a disabled button too (focusableWhenDisabled); a long press belongs to the layer that owns it (a long-press menu, a touch drag, a link), and the tooltip takes it only when nothing else wants it. Changed in this release: TooltipTrigger, and the long-press owners ContextMenuTrigger, SortableTabsTab, SortableComposerAttachment and TaskDraggable. (#1443)
    • Why: a touch screen has no hover, so a tooltip never opened there and a disabled button's reason, which the design system allows in its tooltip, was out of reach on a phone; the native apps' tooltip already opens on a long press, and the web now does the same.
    • Affects: the hold is the design system's long press, 500ms, with the same 10px slop as a touch drag; the tooltip closes 1.5s after the finger lifts, or at a tap elsewhere.
    • Docs: https://raft-design.botiverse.build/components/tooltip/#touch-screens

Breaking Changes

  • TooltipTrigger opens its tooltip on a 500ms press and hold on a touch screen, except on a link or inside an element marked data-long-press-owner; new props openOnLongPress and openOnTap. (#1443)
    • Why: a disabled button's reason in a tooltip couldn't be read by touch, and a long press that both a tooltip and its row's menu answered would open both at once.
    • Affects: a hold doesn't press the trigger (its click is swallowed); moving more than 10px first, or the browser scrolling, opens nothing. A link keeps its own long press (the system's link menu). ContextMenuTrigger, a reorderable SortableTabsTab, SortableComposerAttachment and an enabled TaskDraggable now render data-long-press-owner="", so the tooltips inside them leave the hold to their menu or drag. openOnLongPress: unset follows that rule, true takes the hold even inside an owner (the trigger renders data-tooltip-long-press="" and stops its touchstart and contextmenu there), false turns it off. openOnTap (for a button that only explains, an ⓘ) opens on a tap and closes on the next, and makes closeOnClick default to false. New exports LONG_PRESS_OWNER_ATTRIBUTE and TOOLTIP_LONG_PRESS_ATTRIBUTE. Mouse, pen and keyboard are unchanged.
    • Migrate: mark every element that runs its own touch long press outside raft-ui's (a row with a touch menu, a drag handle or a sortable item of the app's own) with data-long-press-owner; otherwise the tooltips inside it open together with its menu or its drag. Inside one, give a disabled button whose reason must still show openOnLongPress, and make the owner's own DOM touch listener skip a touch that starts inside [data-tooltip-long-press]. A disabled button with a reason needs focusableWhenDisabled: a natively disabled one takes no touch, so its tooltip never opens. In slock: the message row (its touch menu), the side section's drag grip, the rail's sortable places and the workspace strip's sortable avatars.
    • Docs: https://raft-design.botiverse.build/components/tooltip/#touch-screens

0.103.4 (2026-11-25)

Design System

  • Wide touch heads (Spacing › Heights): by touch from 768px (a tablet, an unfolded foldable, a phone held sideways that wide) a head is 48px, not the phone's 56px, and its bar buttons are 36px with a 20px icon; their hit area still reaches 44px. New token bar-icon-size, and a fourth token context, wideTouch. Changed in this release: PanelAction, PanelSplitAction, PanelTitleTrigger, SelectionToolbar, Drawer's close button, and every head that reads header-height. (#1416)
    • Why: a wide touch screen has room for more of the content, not for taller heads, and a 44px button with 2px above and below crowded the head; the web now draws the wide touch layout the native apps draw.
    • Affects: by touch from 768px, header-height 56px → 48px, bar-button-size 44px → 36px; new bar-icon-size (22px on a phone, 20px by touch from 768px, 18px on a desktop); tokens.json gains the wideTouch extension and tokens.resolved.json a wideTouch value on every numeric token (the phone's value where a token has none). Phones and desktops are unchanged.
    • Docs: https://raft-design.botiverse.build/foundations/spacing/#heights

Fixed

  • Frame insets (Popover, DropdownMenu, ContextMenu, Select, Combobox, ComboboxSelect, Tooltip, PreviewCard, CoachMark, NotificationCenter, MobileNavServerPopover, ToastPositioner, ComposerSuggestionList): --raft-frame-inset-start and --raft-frame-inset-end are the corners of the window's top band (--raft-frame-inset-top), not columns down its sides. A popup anchored under the band keeps its own padding from the window's edge; only one anchored in the band (a title-bar control, or a context menu opened in the bar) keeps 8px clear of a corner. (#1441)
    • Why: the corners bounded every popup for the window's whole height, so under a desktop title bar every popup opened near the left edge (the macOS traffic lights) moved about 100px in, and near the right edge (the Windows and Linux caption buttons) about 146px in.
    • Affects: the collision boundary's left and right edges are decided each time a popup is placed, from its anchor, and a popup's left and right collision padding is its own again (8px, or Base UI's 5px); a popup portaled into a container of its own, or given a collisionBoundary, takes the top band in its padding but not the corners; ContextMenuTrigger records the point the menu opens at, so a menu opened in the bar still clears the corner. A full-height column, such as a foldable phone's system column, is reported as --raft-frame-column-start / --raft-frame-column-end, which raft-ui doesn't read yet.
    • Docs: https://raft-design.botiverse.build/patterns/page-structure/#frame-insets

0.103.3 (2026-11-24)

Fixed

  • Frame insets (useFrameInsets, frameCollisionBoundary): opening a positioned popup (Popover, DropdownMenu, Select, Combobox, ComboboxSelect, ContextMenu, Tooltip, PreviewCard, NotificationCenter, MobileNavServerPopover, ComposerSuggestionList) no longer stalls the main thread when --raft-frame-inset-* holds a calc() or env(titlebar-area-*) expression on an overlay title bar. (#1412)
    • Why: custom properties keep calc() and env(titlebar-area-*) unparsed in getComputedStyle(document.documentElement), so every collision-boundary read created, measured, and removed a temporary <div> on <html>, flipping body:last-child and body:only-child dozens of times per open; env(titlebar-area-*) now resolves directly from navigator.windowControlsOverlay, measurements are cached per document, and any remaining non-px fallback reuses a single contained probe on document.body.
    • Affects: frameCollisionBoundary, useFrameInsets (which also updates on windowControlsOverlay geometrychange), and every popup positioner reading --raft-frame-inset-top, --raft-frame-inset-bottom, --raft-frame-inset-start, and --raft-frame-inset-end; popup placement and the 8px frame margin are unchanged.
    • Docs: https://raft-design.botiverse.build/patterns/page-structure/#frame-insets

0.103.2 (2026-11-23)

v0.103.1 was tagged but not published; this release carries its fix, with @botiverse/ricons 0.2.0.

Fixed

  • Popover, DropdownMenu, Select, Combobox, ComboboxSelect, NotificationCenter, MobileNavServerPopover: a click into an <iframe> outside the popup now closes it, as a click outside does, with reason: "outside-press" (the event is the window's blur). A click into a frame inside the popup, and the window losing focus to another app, leave it open; a CoachMark stays open as before. (#1405)
    • Why: a press in a frame, a cross-origin one above all, reaches the frame's document and never the page's, so Base UI's outside-press dismissal never saw it and a non-modal popover stayed open, against popover.md's "closes on a click outside". Making it modal to work around that blocks text selection and scrolling behind it.
    • Affects: the shared positioner hook (usePopupAnchorDismiss) listens for its own window's blur while open and closes when focus has moved to an <iframe> outside the popup, also in another window's document under PortalContainerProvider. Each root above passes onOpenChange through a wrapper that reports that close as an outside press. Tooltip, PreviewCard, ContextMenu and submenus are unchanged.
    • Docs: https://raft-design.botiverse.build/components/popover/

0.103.0 (2026-11-23)

Design System

  • Helper text (Writing › Helper text): an explanatory line exists only if, without it, the reader would miss a consequence (something lost: consequence), not know who will see it or whom it affects (audience), or not know how to recover from a failure (recovery). Everything else is cut or done by the layout; numbered setup steps are not explanations and stay as body text. The muted tier is for helper text, and Text's hint tone is named note (Typography › Color tiers). (#1398)
    • Why: grey explanatory lines had become the default way to fill space (taglines, restated labels, statuses), so readers learned to skip the few that mattered; the rule is now a type, checked where the line is written.
    • Affects: every explanation slot listed under Breaking Changes, DialogBody, AlertDialogBody, Text, and the docs app's examples, whose lines were each wrapped with their reason, cut, or moved to a data part.
    • Docs: https://raft-design.botiverse.build/content/writing/#helper-text
  • Row actions: an icon-only action on a line of a row or a card (a comment header's More, a list row's trailing action) is 28px with every pointer, with a 44px hit area; it was a bar button by rule, with no Button size to draw it, so it shipped at 34px. New component token row-action-size. (#1397)
    • Why: the rule gave a row's actions 28px while Button's smallest icon size was 34px with a mouse, so the rule and the component disagreed and row actions outweighed the line they sit on.
    • Affects: row-action-size 28px, written as var(--bar-button-size) on a desktop (28px); bar-button-size no longer lists a row's actions; utility size-row-action, known to tailwind-merge. Button icon-sm reads it.
    • Docs: https://raft-design.botiverse.build/foundations/spacing/#hit-targets

Breaking Changes

  • Button size="icon-sm": no longer a deprecated alias of icon-md; it is the row action, a 28px square (row-action-size) with a 16px icon at radius-chip, whose transparent ::after reaches 44px on a touch screen and with a mouse. Every variant takes it; ghost is the one to use. The button-sizes codemod no longer renames icon-sm. (#1397)
    • Why: a comment header's More and a list row's trailing action had to be the 34px icon-md, which looked too big beside a line of text; the name icon-sm fits the 28px step between nothing and icon-md.
    • Affects: icon-sm 32px on a touch screen and 34px with a mouse (18px icon) → 28px everywhere (16px icon). ButtonSize gains icon-sm; DeprecatedButtonSize loses it. on-frame at icon-sm is no longer the frame item; use icon-md on the frame.
    • Migrate: before upgrading, change every size="icon-sm" that should keep its size to icon-md (the previous codemod did this); keep icon-sm only on an action on a row's or a card's line. A line takes at most one row action; a second goes in its More (⋮). In slock three places use icon-sm today and become 28px: PinnedArtifactRow.tsx (the pinned row's More, intended), ConnectedAppUrlLink.tsx (copy beside a URL, intended) and LastMigration.tsx (the notice's × through CloseButton, whose -my-1 -me-1 may no longer be needed); check each when upgrading.
    • Docs: https://raft-design.botiverse.build/components/button/#row-actions
  • Explanation slots take only a HelperText: FieldDescription, FormSection's description, a ChoiceList item's description, SelectItemDescription, DialogDescription, AlertDialogDescription, DrawerDescription, PopoverDescription, EmptyStateDescription, CardDescription, CardFooter, BannerDescription, DialogFooterNote (work in progress), MessageActionCardHint, MessageActionCardHeaderDescription, MessageActionCardScopeDescription and MessageActionCardActionsNote. A HelperText is made only by helperText(content, { why, about }): content is any ReactNode (a string, a formatted message, a TextLink inside a sentence), why is "consequence", "audience" or "recovery", and about names the thing the line is about. Each slot renders the content with data-why and data-about, and in development warns once when it is given anything else, which it still renders. ToastDescription, NotificationCenterItemBody, EmptyStateTitle, ListRowDescription and the status and data parts are unchanged. (#1398)
    • Why: a sentence that names no consequence, audience or way out is noise; making each slot take an object that says why it is there puts the reason next to the sentence, where a reviewer can delete it, and a bare string can't be passed by accident.
    • Affects: the children of each slot is a required HelperText (HelperTextSlotProps<P>); FormSection's description is HelperText; a ChoiceList item's description is HelperText | readonly (HelperText | null | false | undefined)[]. DialogFooter still finds a note by its content (an empty helperText("") draws nothing). Nothing renders differently for a line that is kept, except the two data- attributes.
    • Migrate: wrap each explanatory line: <FieldDescription>{helperText("Anyone with this link can join.", { why: "audience", about: "invite link" })}</FieldDescription>. A line that names none of the three reasons is deleted. A status (waiting, saved, signed out) becomes a BannerTitle, a Toast or a live region; data (a handle, a time, a count, a topic) moves to a data part: CardSubtitle, ListRowSubtitle, a *Meta part, a ChoiceList item's meta, or Text. A rich line keeps its parts inside the content: helperText(<>Older messages come back on Pro. <TextLink>View usage</TextLink></>, { why: "recovery", about: "message history" }). To type about with the app's own nouns, augment HelperTextRegister (declare module "@botiverse/raft-ui" { interface HelperTextRegister { about: "channel" | "agent" } }). The type check lists every site; there is no codemod for this part.
    • Docs: https://raft-design.botiverse.build/about/use-raft-ui/#helper-text-in-an-app
  • Text: variant="muted" takes only a HelperText as its children (the props are a union on variant); variant="placeholder" is renamed variant="note"; Text.Heading has no muted tone; size="small" and size="caption" draw in foreground and Text.Mono size="meta" in foreground-hint, where all three were foreground-muted. (#1398)
    • Why: a size that greyed its text made helper-grey lines without a reason, and placeholder hid that the tone is the notes tier.
    • Affects: Text.Sans size="small" and size="caption" without a variant: foreground-muted → foreground; Text.Mono size="meta" without a variant: foreground-muted → foreground-hint; group unchanged. A tone chosen at runtime (variant={quiet ? "muted" : "default"}) no longer type-checks.
    • Migrate: run node node_modules/@botiverse/raft-ui/codemods/helper-text-renames.mjs src for placeholder → note. Wrap a muted line in helperText() or give it another tone; split a runtime tone into the two cases. A small or caption line that should stay grey is either a HelperText (variant="muted") or a note (variant="note").
    • Docs: https://raft-design.botiverse.build/components/text/
  • Data parts named for what they hold: SearchEntityResultDescription → SearchEntityResultSubtitle, PreviewCardDescription → PreviewCardSubtitle, TaskCardDescription → TaskCardSubtitle, MobileNavServerPopoverRowDescription → MobileNavServerPopoverRowSubtitle (and their …Props types), and Step's description prop → subtitle. Their look and data-slot values are unchanged. (#1398)
    • Why: a …Description name belongs to the explanation slots, so a data line under it read as one.
    • Affects: names only; nothing renders differently.
    • Migrate: node node_modules/@botiverse/raft-ui/codemods/helper-text-renames.mjs src (needs @babel/parser).
    • Docs: https://raft-design.botiverse.build/about/use-raft-ui/#codemods

Added

  • helperText(), isHelperText() and the HelperText, HelperTextWhy, HelperTextMeta, HelperTextAbout, HelperTextRegister and HelperTextSlotProps types. The brand is Symbol.for("raft-ui.helper-text"), so two copies of raft-ui in one app agree. (#1398)
  • CardSubtitle: data about the card's subject under its title, where CardDescription would go (a handle, a time and place), in foreground at the description's size (data-slot="card-subtitle"). (#1398)
  • Lint rule raft-ui/no-muted-text, on as an error in recommended.json: a muted or hint text colour written by hand (text-foreground-muted, text-foreground-hint, text-foreground-on-frame-muted, text-foreground-on-hud-muted, as arbitrary values too, and an inline color: "var(--foreground-muted)") in any string of the file, and body ink made see-through, which draws the same grey: text-foreground/60 (any modifier, /[0.6] too), text-(--foreground)/50, text-[var(--foreground)]/50, [color:var(--foreground)]/50, an arbitrary colour or inline color that mixes var(--foreground) or gives it an alpha (color-mix(in oklch, var(--foreground) 60%, transparent), rgb(from var(--foreground) r g b / 0.6)). An opacity-* class is not a colour and is not reported. A colour behind a state variant (hover:, aria-*: …) and a class on a self-closing element (an icon) are not reported; a kept one takes // raft-ui: muted <reason> on the line above. (#1398)

Changed

  • DialogBody and AlertDialogBody draw their text in foreground, not foreground-muted. (#1398)
    • Why: the whole body was helper grey and took any content, so prose put there skipped the helper-text rule; a sentence that explains goes in DialogDescription or AlertDialogDescription.
    • Affects: text set directly in either body: foreground-muted → foreground. A DialogDescription or AlertDialogDescription inside keeps its muted ink.
    • Docs: https://raft-design.botiverse.build/components/dialog/

0.102.24 (2026-11-23)

Added

  • Utilities for the component tokens: h-control-small and size-control-small (32px; 34px on a desktop), min-h-list-row (56px on a touch screen, none with a mouse), py-list-row-inset (8px), w-avatar-column and size-avatar-column (35px), gap-avatar-column-gap (12px), min-h-list-toolbar (49px; 44px on a desktop) and py-list-toolbar-air (8px). tailwind-merge knows each one, so a className such as h-10 replaces h-control-small. (#1393)
    • Why: the recipes that draw these sizes now read the tokens, so a size the apps share switches once, in the token layer.
    • Affects: Button md and icon-md, PickerTriggerButton, FilterChip, Tabs, ToggleGroup, InputGroup md, Combobox, AppLinkCard, ListRow default, InboxItem, SearchEntity, MessageItem, MobileNav's least height, the TaskBoard column head and the TaskList section head, and the ListRow and InboxItem skeletons read them; they render as before except as listed under Changed. A className that sets a height on one of these (h-8, h-10) still replaces it, and now on a desktop too: before, the recipe's md:pointer-fine:h-control kept 34px there whatever the className said.
    • Docs: https://raft-design.botiverse.build/foundations/tokens/#component-tokens

Changed

  • InboxItem, SearchEntity and SearchMessage: 8px above and below the content with a mouse in a window narrower than 768px too (list-row-inset), as on a desktop; it was 12px, a breakpoint's accident. SearchMessage takes the same 8px on a touch screen too, where it had 12px: a search result is the same row as an Activity item. InboxItem's leading slot is the 35px avatar column (avatar-column-size), not 36px. (#1393, #1394)
    • Why: the rich row is one decision, shared with the apps: 8px above and below with every pointer.
    • Affects: in a narrow window with a mouse, a two-line item 64 → 56px and a message result 8px shorter; on a touch screen a message result 8px shorter; the text of an item with a leading avatar or tile starts 1px earlier.
    • Docs: https://raft-design.botiverse.build/components/inbox-item/
  • The toolbar over a list on a phone: TasksPanel's toolbar and Activity's controls read list-toolbar: 8px above and below their controls on a phone and a touch screen, 49px with the seam (it was 12px, 57px); on a desktop unchanged, a 44px header. ConversationPanel's tab row reads the same air, unchanged. (#1394)
    • Why: every page of a list has the same toolbar, shared with the apps (list-toolbar-height, Jasper, 2026-11-10).
    • Affects: on a phone and a touch screen, the Tasks toolbar 8px shorter (55px with the Board / List track, which is 6px taller than a control) and Activity's controls 8px shorter; a narrow window with a mouse too. A desktop and a wide window are unchanged.
    • Docs: https://raft-design.botiverse.build/foundations/tokens/#component-tokens
  • SegmentedControl and Banner sm read control-height-small for their 32px (34px on a desktop) instead of their own copy of it; they render as before. (#1394)
    • Why: the same switch written by hand drifts from the token; the size check now finds it.
    • Affects: nothing renders differently.

0.102.23 (2026-11-22)

Design System

  • Component tokens: sizes the web and the iOS and Android apps both draw now live in tokens.json, with a rule for what goes in (only a decision both must follow; a web-only pixel stays in its recipe), how they are named, and the // web-only: <reason> comment a recipe line carries when it adds a breakpoint for a property a token owns. (#1390)
    • Why: the apps copied these sizes by hand from web recipes, where a phone, a narrow window with a mouse and a desktop each had their own breakpoints, and the copies drifted.
    • Affects: new tokens control-height-small (32px; the control height, 34px, on a desktop), list-row-min-height (56px; 0px with a mouse), list-row-inset (8px), list-toolbar-air (8px), list-toolbar-height (49px; the header height, 44px, on a desktop), avatar-column-size (35px), avatar-column-gap (12px), mobile-nav-height (52px), mobile-nav-inset-bottom-min (8px). No component reads them yet, so nothing renders differently.
    • Docs: https://raft-design.botiverse.build/foundations/tokens/#component-tokens

Added

  • fine token values: a token's extension can carry fine, its value with a mouse or a trackpad at any width. foundation.css declares it under @media (pointer: fine), before the desktop block, so a token's desktop still wins from 768px; the token's own value stays the phone's and a touch screen's. (#1390)
  • @botiverse/raft-ui/tokens.resolved.json: every numeric token (dimension, number, font weight, duration) resolved to a plain number for each context, touch, fine and desktop, with its references, var() and calc() evaluated; a dimension is in px, a duration in ms. (#1390)

Fixed

  • Button: a loading button no longer looks disabled. It keeps its border, fill, ink and ring, as button.md › Loading says (a primary keeps its pink, an outline its ink edge, a ghost draws no box), and its hover overlay stays off. A button that is disabled and loading still looks disabled. (#1389)
    • Why: loading makes a button aria-disabled so it keeps its focus, and the recipe's aria-disabled: grey applied to it too. Loading means the action is under way, not unavailable.
    • Affects: every loading Button, including those in DialogCommit, AlertDialog and Banner. The aria-disabled grey classes are now aria-disabled:not-data-[loading=true]:…, and a Button's root carries data-loading="true" only while it is loading and not disabled. A className that overrides the disabled grey on the aria-disabled path (aria-disabled:bg-…) has to use the same prefix to replace it; Composer now does.
    • Docs: https://raft-design.botiverse.build/components/button/

0.102.22 (2026-11-22)

Added

  • OpenInNewWindowIcon (@botiverse/ricons 0.1.2): Open in new window (#1387). Two stacked windows, the back one with a title bar, and a ↗ inside the front one. raft-ui 0.102.22 depends on ricons 0.1.2.
    • Why: opening a thing in a Raft window or tab of its own had no icon, and Lucide's external-link means leaving Raft for the browser.
    • Affects: nothing until an app uses it. Import it from @botiverse/ricons; keep external-link for a link that opens in the browser.
    • Docs: https://raft-design.botiverse.build/components/icons/#action-icons

0.102.21 (2026-11-22)

Added

  • ListRow: an action prop (data-action) for a row that is one action, colored or not: its leading ListRowIcon is 18px, a labelled lg button's icon. A risk tone still implies it. (#1381)
    • Why: the 18px was keyed on tone="warning" | "danger"; once only Delete kept a tone, Stop agent, Restart / Reset, Archive and Leave channel went back to 20px beside an 18px Delete in the same card.
    • Affects: rows that pass action. Nothing changes until a caller adds it; a danger zone's rows should all pass it.
    • Docs: https://raft-design.botiverse.build/components/list-row/#an-actions-risk

0.102.20 (2026-11-22)

Fixed

  • MessageItemToolbarButton: shows its aria-label as a tooltip on hover and keyboard focus, with an optional shortcut after it; tooltip replaces the text and tooltip={false} leaves it out. Inside a caller's own TooltipTrigger it adds none, and an open tooltip doesn't keep the toolbar shown. (#1378)
    • Why: the hover toolbar's icon-only buttons (Reply in thread, Quote, Forward, Save, More actions) showed no name on hover, while every icon-only button needs one on a device with a pointer.
    • Affects: every MessageItemToolbarButton with an aria-label. A tap shows no tooltip. Callers need no change; one that wraps the button in its own Tooltip keeps exactly that one.
    • Docs: https://raft-design.botiverse.build/components/message-item/#accessibility

0.102.19 (2026-11-21)

Fixed

  • Toast: a × (ToastClose holding an icon, or anything but text) ends the row, after the action; text Dismiss stays before it. ToastClose sets data-content="icon" or "text" and places itself by it. (#1374)
    • Why: the × sat left of the action on the desktop app's "Updated to … · What's new" toast; a × is always the last thing, where a dialog's and a banner's sit (Artea).
    • Affects: dismissible toasts with an action and an icon close, such as the Raft web app's. Callers need no change.
    • Docs: https://raft-design.botiverse.build/components/toast/#anatomy
  • Tabs: an underline row whose tabs all fit no longer fades its last tab or scrolls 10px sideways; the end tabs' tap areas stop at the row's edges. (#1370)
  • PageLoadingLine: with progress it stops at 95% while the page still loads; only the end fills the line. (#1365)

0.102.18 (2026-11-20)

Fixed

  • Dialog, AlertDialog, Drawer, Lightbox: a modal surface that opens while another is open draws the nested scrim (layer-backdrop-nested) even when it is opened from another React tree, such as a confirm an app's dialog host renders beside the dialog it covers. Stacking now follows the order surfaces open in; when the one below closes first, the one left goes back to the plain scrim. (#1363)
    • Why: the nested scrim read only React context, so the Raft web app kept a CSS selector to dim confirms its dialog host opens over the task dialog (masks audit #171, Jasper).
    • Affects: overlays opened over another modal surface from outside its tree get the lighter scrim. An app that patched this with its own CSS can remove it.
    • Docs: https://raft-design.botiverse.build/foundations/elevation/#stacked-overlays
  • mask-fade-x: in right-to-left, the fade lands on the side that hides content; start and end were drawn as left and right. (#1362)

0.102.17 (2026-11-20)

Fixed

  • useOverflowEdges (and Tabs): a vertical wheel over a right-to-left strip now moves it toward its end (it moved the wrong way), and the fade updates when an item in the strip grows without the strip itself resizing (a label swapped, a font loaded). (#1360)

0.102.16 (2026-11-20)

Added

  • useOverflowEdges: a hook that keeps data-overflow (start, end, both) current on a strip that scrolls sideways, for mask-fade-x: on scroll, resize and content change, logical in right-to-left, and optionally turning a vertical wheel into sideways scrolling. readOverflowEdge(el) reads it once. Tabs now uses it in place of its private copy. (#1357)
    • Why: the measurement existed four times, in Tabs and in three app strips, one with a hard-coded 24px black fade and none handling right-to-left (masks audit).
    • Affects: Tabs renders the same; its row now also reads right-to-left correctly. An app strip that measures its own overflow should use the hook and mask-fade-x.
    • Docs: https://raft-design.botiverse.build/foundations/spacing/#edges-fade
  • PageLoadingLine (experimental, @botiverse/raft-ui/wip): the line along the bottom edge of a page's top bar while the page under it loads, as a browser draws it. A 2px info line, square ends, the full width, no track. It shows only after 200ms, only moves forward, rests still at 8% while the page reports no progress, and fills and fades when the load ends; it goes at once on failure. (#1358)

0.102.15 (2026-11-20)

Added

  • Avatar: inside a button with the group/avatar-trigger class, an avatar lays ink-8 over its face on hover and press, at once, under its corner light. The avatar is now its own stacking context (isolate), and AvatarBadge sits at z-control inside it. (#1354)
    • Why: avatars that open a profile hovered with a brightness filter, which barely moves a dark face, so dark avatars showed no hover; media hovers with ink-8 (states.md, masks audit #171).
    • Affects: nothing changes until a button carries group/avatar-trigger. An app that hovers an avatar button with brightness should switch to the class.
    • Docs: https://raft-design.botiverse.build/components/avatar/

0.102.14 (2026-11-20)

Changed

  • ChoiceList: a disabled row's media (an avatar, a logo) fades to opacity-dimmed (0.6) along with its text. (#1351)
    • Why: a full-color avatar beside grayed text made a row that can't be chosen look live, as a server at its limit did in the "Connect your servers" picker (stdrc).
    • Affects: every ChoiceList with a disabled item, or a disabled list. Callers need no change.
    • Docs: https://raft-design.botiverse.build/components/choice-list/

0.102.13 (2026-11-20)

Changed

  • Hover and press, every component: change at once, with no fade (was 75 to 150ms on buttons, rows, menu items, tabs, reactions, the replies bar, media and more; messages already changed at once). Actions a hover reveals (InboxItem's, a composer attachment's remove) appear at once too. (#1347)
    • Why: hover says where the pointer is, so it keeps up with it; a fade trailed half-tinted rows behind a mouse crossing a list, and parts of a message faded while the message didn't (stdrc).
    • Affects: every hover and press. Callers need no change; an app that adds its own transition-colors to a hover should remove it.
    • Docs: https://raft-design.botiverse.build/foundations/motion/

0.102.12 (2026-11-20)

Changed

  • SelectionToolbar: a toolbar that starts with a select-all checkbox (SelectionToolbarItem) insets the checkbox so it sits as far from the frame as ×'s icon does at the other end: 13px with a mouse, 17px on a touch screen (was 5px and 6px). (#1344)
    • Why: the checkbox has no button around it, so it sat almost on the frame's rounded corner while × on the right had a button's air; the two ends looked uneven (stdrc).
    • Affects: thread message selection and the Computers page's agent list. A toolbar without a checkbox (task selection) is unchanged. Callers need no change.
    • Docs: https://raft-design.botiverse.build/components/selection-toolbar/

0.102.11 (2026-11-20)

Fixed

  • Measuring components in another window: ScrollArea, VirtualList, CommentMargin, setCommentHighlights, Ellipsis, useTruncated, the title of a cut field value, Dialog and AlertDialog footers, DescriptionList, MessageActionCard, SegmentedControl, ComboboxSelect, FitToolbar and BannerAction now take their animation frames, timers, resize observers, focus, selection, fonts, highlights and key listeners from the element's own window, so they work in a second window under PortalContainerProvider and keep running while the main window is hidden. (#1336)
    • Why: they used the main window's globals, so in a second window they read focus, selection and keys from the wrong document and registered comment highlights where they don't paint, and when the main window was hidden (its frames stop, its timers are throttled to once a second, its observers stop reporting) scroll bars, list rows, truncation and toolbar fitting stalled.
    • Affects: setCommentHighlights(name, ranges, within?) registers in the window of the first range's node; the new optional within names the window when clearing with no ranges. In the main window nothing changes. Callers need no change.
    • Docs: https://raft-design.botiverse.build/components/popover/#rendering-in-another-window

0.102.10 (2026-11-19)

Changed

  • InboxItem: on a touch screen, an InboxItemTimestamp with reveal="hover" (an older row's clock time in a list grouped by day) shows at rest; with a mouse it still shows only on hover or keyboard focus. (#1332)
    • Why: nothing hovers on a touch screen, so rows from before today had no time at all there, and just after midnight no row in Activity did; it read as a bug.
    • Affects: InboxItemTimestamp reveal="hover" in a compact row with InboxItemLine. It sits at the end of the first line, 12px from Done, which already shows at rest on a touch screen. Callers need no change.

0.102.9 (2026-11-19)

Added

  • Overlays: PortalContainerProvider (container: HTMLElement | null) and usePortalContainer() set where every raft-ui overlay under the provider renders, so a part of the app drawn in a second window (Raft Desktop's auxiliary window, opened with window.open("about:blank") and filled with createPortal from the main window's tree) opens its overlays in that window. (#1333)
    • Why: Base UI portals to the global document.body, the main window's, and the context that would redirect it is private to Base UI; passing container to every overlay of the subtree doesn't reach the overlays raft-ui's own components open.
    • Affects: each …Portal part and the components that render one (Popover, DropdownMenu, ContextMenu, Tooltip, PreviewCard, Select, Combobox, ComboboxSelect, NotificationCenter, Dialog, AlertDialog, Drawer, Lightbox, ToastProvider's viewport, ComposerSuggestionList, CoachMark), and DragLift and DragRefusalHint, take their container in this order: the caller's container / portalProps.container / portalContainer, then the portal of an overlay they are opened inside (Base UI's own nesting, unchanged), then the provider's, then the body. null waits for the element. What they measure and listen to follows the container's document: frame insets and the collision boundary (usePopupCollision), the visual viewport, the phone media queries, the on-screen keyboard, outside presses and focus in CoachMark, Lightbox's Mod+W, a drag's pointer, scroll and cancel, and checks that read an element of another window (nodeType instead of instanceof). With no provider nothing changes. New exports PortalContainerProvider, PortalContainerProviderProps, usePortalContainer.
    • Docs: https://raft-design.botiverse.build/components/popover/#rendering-in-another-window
  • Toast: useToast() returns the command API (success, error, action, actionTimeout, …) bound to the nearest ToastProvider's manager; toast itself under a provider on the default manager or none. New export ToastCommands. (#1333)
    • Why: a toast raised in a second window should show in that window. The chosen approach is a second ToastProvider inside the window's subtree, on a manager of its own, whose viewport renders in the window through PortalContainerProvider; code there raises toasts with useToast() (or Base UI's useToastManager()). Routing toast.* by the document the press came from was rejected: a toast is often raised after an await, from a store or a request's callback, where the press and its document are gone and focus may be in the other window, while the provider the code renders under is always known.
    • Affects: toast.* stays bound to the default manager (the main window), and its timing is unchanged. A provider's actionTimeout now also applies to useToast() on its own manager.
    • Docs: https://raft-design.botiverse.build/components/toast/#toasts-in-another-window

0.102.8 (2026-11-19)

Fixed

  • Popups: where there is no layout (jsdom), an opened Menu, Popover, Select or Combobox is no longer closed as "its trigger left view" when a test stubs element sizes. (#1330)
    • Why: the anchor-dismiss guard from 0.102.6 skipped only when neither the viewport nor the anchor had a size. A test that stubbed getBoundingClientRect gave the trigger a size, Base UI marks data-anchor-hidden on mount in jsdom, and the menu closed as it opened, so its items could not be chosen (slock's conversation header tests). It now acts only where the viewport has a size, which a real browser always has.
    • Affects: usePopupAnchorDismiss. Nothing changes in a browser. Callers need no change.

0.102.7 (2026-11-19)

Fixed

  • FitToolbar: when the item holding the toolbar's one Tab stop gives way after the first layout (a scope that collapses into its Select once the region narrows or its counts arrive, an item that moves into More), the stop moves to the first control shown, and the next Tab into the toolbar lands on the first control in reading order.
    • Why: Base UI's toolbar checks that its stop is on a shown item only when its items change, so the stop stayed on the hidden scope's segment; every shown control had tabIndex -1 and Tab passed over the whole toolbar (slock's Apps toolbar at 375px). A toolbar collapsed from its first layout, or one whose change added or removed an item, was not affected.
    • Affects: FitToolbar. Expanding back moves the stop to the first shown item again, so the toolbar always keeps exactly one stop. A shown control holding the stop keeps it. Callers need no change. (#1328)
    • Docs: https://raft-design.botiverse.build/components/fit-toolbar/

0.102.6 (2026-11-19)

Fixed

  • Popups: anchored popups follow their anchor on scroll and resize, and close or hide when the anchor leaves its scrolling region. (#1318, #1325)
    • Why: once a trigger was scrolled out of its panel, popups kept floating over unrelated content (or jumped to the top-left corner when the anchor unmounted), and a focused one kept focus while unseen; several popups also froze in place or ignored the frame insets.
    • Affects: a non-modal popup that takes focus (Popover, DropdownMenu, Select, Combobox, ComboboxSelect, NotificationCenter, MobileNavServerPopoverContent) closes the way Esc does when its trigger is clipped out or unmounted: aria-expanded returns to false and focus goes back to the trigger; one opened while its trigger is already out of view closes at once. Tooltip and PreviewCard hide while the anchor is clipped and come back with it, and close when it unmounts. CoachMark, an anchored Toast, ComposerSuggestionList and popups on a virtual anchor with no trigger (the text selection toolbar) only hide; CoachMark never calls onDismiss for it. ContextMenu is unchanged (point-anchored). ComboboxSelect and ToastPositioner default to positionMethod="fixed"; ComboboxSelect keeps a caller's positionerProps.ref and handles the phone keyboard when open is controlled. createTextSelectionAnchor(selection) finds its scrolling context from the selection, so the one-argument call follows scrolling. CoachMark follows a ref anchor whose element remounts. Frame insets are read when the popup is placed, so a desktop window entering fullscreen is honored. Callers need no change; an input in a non-modal popup is lost if its trigger is scrolled away (the rule in elevation).
    • Docs: https://raft-design.botiverse.build/foundations/elevation/

0.102.5 (2026-11-19)

Fixed

  • ComposerSuggestionList: the @ and # suggestion list renders in a portal and is placed like other popups, so a scrolling region around the composer no longer cuts it off. (#1322)
    • Why: the list was absolutely positioned inside the composer, so a composer in a ScrollArea (a comments sidebar, a comment card) had its list clipped by the scrolling region.
    • Affects: still as wide as its anchor and 8px above it; it now goes below when there isn't room above, follows the composer as the page scrolls, hides while the composer is scrolled out of its region, and is at most 15rem or the room available. Positioner z-popup, position: fixed. New optional props anchor (default: the nearest positioned ancestor, usually ComposerRoot) and container. It leaves a hidden span where it is rendered, which counts for its siblings' :last-child and space-y-*. Existing callers need no change; a className="z-float" on it no longer matters.
    • Docs: https://raft-design.botiverse.build/components/composer/
  • SelectionToolbar: a disabled action that shows its icon alone greys its icon with no sunken box; with its label it keeps a disabled button's fill. (#1315)
    • Why: the sunken fill on an icon-only disabled action read as pressed.
    • Affects: a disabled icon-alone action has a transparent border and background; a disabled action showing its label keeps line-hairline and bg-fill-muted. Enabled actions are unchanged.
    • Docs: https://raft-design.botiverse.build/components/selection-toolbar/

0.102.4 (2026-11-18)

Fixed

  • InputGroup: a Button in the start addon is embedded like one in the end addon: 22px, radius-chip, a 16px icon, 6px from the field's edge. (#1311)
    • Why: a start-addon button (the site settings button in the desktop browser's address bar) kept its full button size and left too much empty space around it.
    • Affects: buttons in InputGroupAddon align="inline-start". Start addons without a button, and end addons, are unchanged.
    • Docs: https://raft-design.botiverse.build/components/input-group/
  • Select: a selected value too long for the trigger ends in an ellipsis instead of being cut off mid-letter. The value slot is block instead of flex, as select.md already said. (#1312)
    • Why: browsers draw no ellipsis inside a flex container; it showed in the desktop sign-in sheet's Server picker at 390px.
    • Affects: SelectValue. Inline content placed in it (a badge span) still sits on the same line.

Changed

  • Lint: the rules behind @botiverse/raft-ui/lint (no-raw-z-index, prefer-scroll-area) and the CSS scroller check are built on @botiverse/lint, a new dependency. The entry points @botiverse/raft-ui/lint and @botiverse/raft-ui/lint/recommended.json stay where they were. The package now declares engines.node >=22.12.0. (#1313)

0.102.3 (2026-11-17)

Added

  • TextLink: an in-sentence form, nativeButton={false}, that wraps with the words around it. It renders a <span> (or the render element) with the button's behavior: role="button", in the tab order, pressed with Enter or Space, and aria-disabled with the disabled look when disabled. Each line it wraps onto gets its own focus ring, rounded corners and hover underline. The default stays a native <button type="button">. (#1306)
    • Why: a button is one box in the line and can't break, so a link at the end of a sentence ("Don't have an account? Create one") jumped whole to the next line and left the line before it short, depending on language and screen width; a link with words before it now uses the inline form.
    • Affects: new prop nativeButton (default true); textLinkVariants gains an inline variant (box-decoration-clone, disabled styles keyed off aria-disabled). Existing TextLinks render unchanged.
    • Docs: https://raft-design.botiverse.build/components/text-link/#in-a-sentence

0.102.2 (2026-11-16)

Changed

  • ListRow: an action row's leading icon is 18px. On an interactive row with tone="warning" or tone="danger" (Leave channel, Archive channel, Delete channel), ListRowIcon sizes its svg 18px instead of 20px, also when the row is disabled. (#1296)
    • Why: a row that does one thing is a labelled lg button, whose icon is 18px; at 20px it was a size larger than every other icon beside a label.
    • Affects: interactive rows with a risk tone. A product that sized these icons itself can drop that class. Other rows, and display-only rows, keep 20px.
    • Docs: https://raft-design.botiverse.build/components/list-row/#an-actions-risk

0.102.1 (2026-11-15)

Changed

  • MessageItem: in a message column at least 48rem wide, the sender line keeps the right fifth of the row empty, so a long description truncates at 80%. (#1291)
    • Why: the sender line is a label for the message, and a long description running to the far edge read as a sentence across the page; the room is now part of the component instead of each product's call site.
    • Affects: MessageItemContent is a message container (@container/message, inline-size containment); MessageItemHeader pads its end by 20% from 48rem (@3xl/message:pe-[20%]). Narrower columns, threads and phones are unchanged; the hover fade still sits under the toolbar. A product that added the same two classes itself can remove them. Because of the containment, a MessageItem inside a container sized by its content (w-fit, w-max, inline-flex, an auto-width grid column) squeezes its text; give such a container a width.
    • Docs: https://raft-design.botiverse.build/components/message-item/#behavior

0.102.0 (2026-11-14)

Added

  • CoachMark, one stop of a tour (work in progress, from @botiverse/raft-ui/wip; CoachMark, Coach marks). CoachMark takes the stop's anchor, open and onDismiss; CoachMarkContent is the 300px bubble with an arrow, 8px from its target; CoachMarkAction, CoachMarkActions, CoachMarkCount and CoachMarkNext (the pink Next or Done) lay out its rows, with PopoverBody, PopoverTitle and PopoverDescription for the text. While a stop is open its target holds the Located wash (data-located="held"). The bubble is non-modal: a press outside and focus leaving don't close it, focus goes to Next when a stop opens unless the person is typing in a field, its buttons come right after its target in the Tab order, and Esc in the bubble (or a PopoverClose) calls onDismiss, while Esc anywhere else goes on to what has focus.
  • data-located="held" holds the Located wash (States › Located): full info-soft (fill-cell-selected on a list cell) with no fade and no timeout, for as long as the attribute is there. CoachMark sets it on its target; don't set it by hand.

Fixed

  • PopoverArrow and PreviewCardArrow point at their trigger on every side (Popover › Anatomy). They sat at the panel's top whichever side it opened on, so they pointed the right way only for a panel below its trigger; they now sit on the edge facing the trigger, with the seam on their two outer edges, and inline-start and inline-end follow the writing direction.
    • Affects: no raft-ui part or slock screen renders either arrow today.
  • On inline-start and inline-end, PopoverArrow and PreviewCardArrow follow the direction Base UI placed the panel by (Popover › Anatomy). They set data-dir from Base UI's DirectionProvider (ltr without one) and draw by it, not by the page's dir: on a dir="rtl" page with no provider, Base UI puts an inline-end panel on the right, and the arrow drawn by the page's direction faced away from the trigger. A panel with an arrow still clips it unless the panel has overflow-visible.

0.101.0 (2026-11-14)

Breaking Changes

  • MessageMultiSelectToolbar, MessageMultiSelectToolbarActions, ActivityInboxSelectionToolbar and ActivityInboxSelectionCount are removed (SelectionToolbar). Their props types (MessageMultiSelectToolbarProps, MessageMultiSelectToolbarActionsProps, ActivityInboxSelectionToolbarProps, ActivityInboxSelectionCountProps) go with them. MessageMultiSelect, MessageMultiSelectCheckbox and ActivityInboxControls stay.
    • Why: selected messages now use the same toolbar as selected tasks, SelectionToolbar, so the message bar had no consumer left, and Activity has no multi-select, so its inline selection bar had none either; two bars for selected items kept two looks for one thing.
    • Affects: the data-slot values message-multi-select-toolbar, message-multi-select-toolbar-actions, activity-inbox-selection-toolbar and activity-inbox-selection-count are no longer rendered.
    • Migrate: use SelectionToolbar (work in progress, from @botiverse/raft-ui/wip) for selected items: SelectionToolbarDock, SelectionToolbar, SelectionToolbarCount, SelectionToolbarActions with a SelectionToolbarAction per action, SelectionToolbarMore and SelectionToolbarClose; slock migrated its message select mode in slock #14936. An Activity list drops its selection bar and its row checkboxes, and acts on each item from its row.
    • Docs: https://raft-design.botiverse.build/components/selection-toolbar/

Changed

  • SelectionToolbar's icons take a labelled md Button's size with a mouse and a head's by touch (SelectionToolbar › Look, Iconography › Sizes). With a mouse, SelectionToolbarAction and SelectionToolbarMore show a 16px icon, and keep it when an action's label gives way, so the icon never changes size as the row narrows. On a phone and a touch screen, where the buttons are a head's 44px bar buttons, every icon, SelectionToolbarClose's included, is a head's bar-button icon (control-icon-size, 22px).
    • Why: the toolbar forced its icons to 14px, smaller than every other labelled md Button's, and by touch smaller than the head's bar buttons it is drawn as.
    • Affects: with a mouse, the icons of SelectionToolbarAction and SelectionToolbarMore 14px → 16px (× stays 18px); by touch, actions and More 14px → 22px and × 18px → 22px. An icon with a size- class of its own keeps it.
    • Docs: https://raft-design.botiverse.build/components/selection-toolbar/#look
  • FieldLabel's required prop and LabelAsterisk are deprecated: a required field carries no asterisk (Field › Content, Forms › Fields). Both are marked @deprecated in the types (Label.Asterisk too), and the API tables of Field and Label say so. Mark an optional field with <FieldLabel optional> (or LabelOptional), leave a required one unmarked, and put required or aria-required on the control.
    • Why: the design system marks optional fields and not required ones, since marking the optional ones is enough and a form with both marks says the same thing twice, but FieldLabel still offered the asterisk and slock's forms drew it. The asterisk is also read as part of the label ("Email*"); aria-required on the control is what tells a screen reader the field is required.
    • Affects: nothing renders differently in this release: <FieldLabel required> and LabelAsterisk still draw the asterisk, and are removed in a later one. An editor or a lint rule that reports deprecated APIs now flags them. To migrate, delete required from FieldLabel (and any LabelAsterisk), and keep or add required or aria-required on the input, the textarea or the select's trigger.
    • Docs: https://raft-design.botiverse.build/components/field/#content

Fixed

  • A vertical Separator given its own height can be centred (Separator › Variants). <Separator orientation="vertical" className="h-5 self-center" /> is now centred on its row; before, it sat at the row's top.
    • Why: the separator's orientation styles were data-[orientation=vertical]: variants, which outrank a plain class, so a caller's self-center lost to the separator's self-stretch, and a stretched item with a fixed height is placed at the start of the row (4px above and 18px below in slock's Artifact comment toolbar). They are plain classes chosen by the orientation prop now, so a caller's self-*, h-* and w-* replace them.
    • Affects: every vertical Separator with a self-* class, which now takes effect (slock: the Artifact comment toolbar, the runtime usage line, the Computers list header). One with no self-* class still takes its row's height. A caller that styled the separator through its own data-[orientation=…]: variant is unchanged: data-orientation is still set.
    • Docs: https://raft-design.botiverse.build/components/separator/#variants

0.100.0 (2026-11-14)

Added

  • PanelTitleTrigger, a panel title that opens a menu of what the panel can show (Panel › A title that switches). Work in progress, from @botiverse/raft-ui/wip. Put it in PanelHeading where PanelTitle would be, as the trigger of a DropdownMenu: <DropdownMenuTrigger render={<PanelTitleTrigger />}>Q3 launch plan</DropdownMenuTrigger>. It is a Base UI Button (data-slot="panel-title-trigger") that draws its children in PanelTitle's type, truncating, then a 14px chevron-down in foreground-muted that never truncates. It takes fill-medium on hover, on press and while its menu is open, and pulls its start back by its own inset, so the title's first letter is where a plain PanelTitle puts it and the caller writes no margin and no wrapper. On a desktop it is the 28px bar button with a 44px hit area; on a touch screen from 768px the 44px bar button; on a phone it is as tall as the title's line and its hit area reaches 44px above and below, so the two-line head stays 56px. PANEL_TITLE_TRIGGER_EXTRA_WIDTH (23) is how much more room it takes than a plain title on a desktop, for a head that measures its title to decide what folds. In a PanelSectionHeader on a phone it takes the frame's text and hover colors, as PanelTitle and PanelAction do.
    • Why: slock's Artifact viewer made its title a menu of the Artifacts opened lately, and with no part for it restyled PanelAction by class: a negative margin per breakpoint, a hand-written hit area and a width constant of its own. A 44px trigger on a phone pushed the PanelMeta onto the head's bottom edge, which is why the phone's trigger is the title's line with an overhanging hit area.
    • Affects: nothing until it is used; PanelTitle, PanelAction and every head render as before. A consumer that styled a PanelAction as its title replaces it, its wrapper and its negative margins with this part. On a desktop the part pulls back by its whole 5px inset and has no border, so a head-fit figure worked out for a PanelAction pulled 4px (24) becomes 23.
    • Docs: https://raft-design.botiverse.build/components/panel/#a-title-that-switches

0.99.0 (2026-11-14)

Added

  • AppLinkCardBadge takes surface="popover" for the hover card an app link opens (AppLinkCard › The app's color, PreviewCard › Item card). The app's color for an item's state is now drawn on the hover card too: put <AppLinkCardBadge fill={color} surface="popover"> in its PreviewCardMeta. surface only chooses the surface the hairline ring is decided against (layer-popover in place of layer-card, which differ in dark mode); the default, card, is the card in a message.
    • Why: the design system kept the hover card's state neutral and gave the color only to the card in a message. Stamp sends only hover cards for a pull request, so its colors (merged in green) showed nowhere on production. The rule existed so an app's color stays on a card that names the app, and the hover card names it in its footer.
    • Affects: nothing until surface is passed; AppLinkCardBadge without it renders as before. A consumer that draws app hover cards passes the app's color to this badge where it used a neutral Badge.
    • Docs: https://raft-design.botiverse.build/components/preview-card/#item-card

Fixed

  • With unstable_scrollArea, DialogBody and a side drawer's DrawerBody scroll sideways to what is wider than they are (Dialog › Scrolling in a ScrollArea, Drawer › Scrolling in a ScrollArea). The body is now a ScrollArea in both directions (orientation="both"): a child wider than the body (a wide table, a line that doesn't wrap, a <pre>, an image) is reached with a sideways wheel, a trackpad, a finger or the arrow keys, under a horizontal scrollbar along the body's bottom edge, over the footer. Where the two scrollbars meet each stops short of the corner.
    • Why: the native body is overflow-y-auto, which makes the other axis auto too, so it has always scrolled sideways to such a child. With the prop the body scrolled down only and cut the child off at its right edge, with nothing to bring the rest into view: in a dialog's form, the end of an 800px line and the far end of every field a grid body had stretched to it. The prop is to become the default, and must not take away something the native body does.
    • Affects: only a body with the prop that holds something wider than itself. A body with nothing wider is the same to the pixel: the same boxes for the dialog or drawer, the header, the footer, the frame, the body and its rows, no horizontal scrollbar and no room kept for one, the same Tab stop, and the same overscroll-behavior (contain down while it overflows, nothing set sideways); only its computed overflow-x is now auto, as the native body's. A body that only overflows sideways and holds nothing that takes focus is now a Tab stop, so the arrow keys can scroll it. Something that reaches past the body's right padding edge (a row with a negative right margin beyond the inset, a child moved by a transform) now makes the body scroll sideways, as it does in the native body, where it was cut before. To keep it cut, clip it on a wrapper of its own inside the body (overflow-hidden on the element around it). Sideways the whole body moves, so around a wide table prefer TableScroll: then only the table scrolls. In a side drawer on a touch screen, a sideways drag on a body that holds something wider scrolls the body first: away from the edge it scrolls, toward the edge it dismisses the drawer only while the body is at its start. A body with nothing wider is swiped away as before. The frame's class r-scroll-area--vertical-orientation is now r-scroll-area--both-orientation.
    • Docs: https://raft-design.botiverse.build/components/dialog/#scrolling-in-a-scrollarea
  • A side drawer keeps its width when its body holds something wider than itself (Drawer › Scrolling in a ScrollArea). DrawerContent's content element (data-slot="drawer-content") now has min-w-0, so in a drawer from the right or the left the header, the body and the footer stay as wide as the drawer, and the body scrolls sideways to the wide child: natively without unstable_scrollArea, in the ScrollArea with it.
    • Why: a side drawer is a row whose one flexible item is the content, and a flex item is by default no narrower than its content. One 800px line in the body of a 420px drawer made the header, the body and the footer 832px wide: 412px of each lay past the window's edge, the close button and the footer's buttons with them, and nothing scrolled to them, with the prop or without it.
    • Affects: only a side drawer whose body holds something wider than the drawer; it now scrolls sideways in place of growing past the window. A drawer with nothing wider has the same boxes as before, and so has a bottom or top sheet, whose content was already as wide as the sheet.
    • Docs: https://raft-design.botiverse.build/components/drawer/#scrolling-in-a-scrollarea

0.98.0 (2026-11-13)

Added

  • A side drawer's DrawerBody can scroll in a ScrollArea, with raft-ui's scrollbar in place of the platform's (Drawer › Scrolling in a ScrollArea). In a drawer from the right or the left, <DrawerBody unstable_scrollArea> renders a frame (data-slot="drawer-body-frame") around the body and binds the body as a ScrollArea with absolute gutters, as DialogBody does with the same prop. The body keeps data-slot="drawer-body", className, ref, the native props, render and its children, and is still the flex column they are laid out in, so a layout written on it (className="gap-4") is unchanged and its padding still scrolls with the content; wrapperClassName is the frame's class, for the classes that size the body in the drawer (max-h-*, h-*, flex-*). The body is a Tab stop only while it overflows and holds nothing that takes focus (a tabIndex of your own wins), so a form gains no stop and a long text that is only read can be scrolled with the keyboard, and a scroll stops at its end (overscroll="contain"). A bottom or top sheet ignores both props and renders the body as before.
    • Why: a side drawer's body was one of the few regions that still scrolled natively, because the body is a flex column callers lay out themselves and ScrollArea's sticky gutters would add a gap before its first item. On Windows, and on a Mac set to always show scrollbars, a long drawer drew the platform's scrollbar, which takes room from the content when it appears. Absolute gutters put nothing inside the body, at the price of one element around it. A bottom sheet stays native: it is a phone surface, where the platform's scrollbar lies over the content and takes no room.
    • Affects: nothing unless the prop is passed: without it, and in a bottom or top sheet with it, DrawerBody renders the same element and classes as before. It becomes the default in a later minor release, together with DialogBody's, and the prop can be deleted then. With it, the frame, not the body, is the child of DrawerContent: a selector such as [data-slot=drawer-content] > [data-slot=drawer-body] no longer matches, a sizing class on the body moves to wrapperClassName, and render replaces the body inside the frame, not the drawer's flex child. The frame is a stacking context of its own, so a popup portaled into the body is drawn under the drawer's header; leave popups where raft-ui portals them. Swiping toward the drawer's edge still dismisses it, and a vertical drag on the body scrolls it. DialogBody renders the same DOM as before; its Tab-stop check now lives in a file both bodies share.
    • Docs: https://raft-design.botiverse.build/components/drawer/#scrolling-in-a-scrollarea

Fixed

  • A bottom sheet's DrawerBody scrolls (Drawer › Behavior). In a Drawer from the bottom or the top (swipeDirection="down", the default, or "up"), the body now has min-h-0 overflow-y-auto of its own: a body taller than the sheet's 82% of the window scrolls natively between DrawerHeader and DrawerFooter, which stay in the sheet. In a sheet with snapPoints the body scrolls only at its full height (the snap point 1) and is cut at the sheet's bottom edge below it (overflow-y-hidden), so a drag up on the body still raises the sheet.
    • Why: only a side drawer's body scrolled by itself. A sheet's body grew with its content past the sheet's bottom edge, so the footer and the end of a long list were under the window's edge and nothing scrolled to them, unless the caller added the two classes or rendered a scroller as the body. It is native, not a ScrollArea: a bottom sheet is a phone surface, where the platform's scrollbar lies over the content and takes no room, and a drag down at the top of the body has to start closing the sheet.
    • Affects: a sheet whose body is taller than the sheet now keeps its footer in view and scrolls; a sheet with less content has the same box as before and no scrollbar, and its body is no Tab stop. A caller with its own min-h-0 overflow-y-auto on the body, or its own ScrollArea as the body (render), sees nothing: the classes are now redundant and can be removed, and so can a // raft-ui: native-scroll comment written for them. Swiping is unchanged where it worked: a drag down on the header or the grab handle closes the sheet, and so does one on the body while it is at its top; with the body scrolled down, a drag down scrolls it back first. A body that counted on painting past its own box (a shadow or a focus ring drawn outside a p-0 body) is now clipped at the body's edge, as in any scroller; className="min-h-auto overflow-visible" restores the old box. The body is still a flex column, and its children no longer shrink (shrink-0 at no specificity, in a sheet and in a side drawer, with or without unstable_scrollArea): a row of a fixed height written in the body (h-13 with one line of text) used to be squashed to its text before the body scrolled, and now keeps its height. A child with flex-1 or shrink still shrinks, so an inner scroller with min-h-0 flex-1 scrolls as before; one with min-h-0 alone and no flex-1 now keeps its content's height and the body scrolls instead. The body's class list gains [:where(&)>*]:shrink-0. A side drawer scrolls as before, with and without unstable_scrollArea; its children keep their height in the same way.
    • Docs: https://raft-design.botiverse.build/components/drawer/#behavior

0.97.0 (2026-11-13)

Added

  • A check for native scrollers written in CSS files, which the lint rule can't see (Use raft-ui › CSS files). node node_modules/@botiverse/raft-ui/checks/native-scroll-css.mjs [<dir, file or glob>...] [--json] reads .css files (every one under the current directory by default, without node_modules, dist, build and dot folders) and reports each declaration of overflow, overflow-x, overflow-y, overflow-inline or overflow-block whose value has auto, scroll or overlay in it (hidden auto, auto !important and var(--x, auto) too), in minified CSS and inside @media, @layer, @supports and nested rules, and each native-scrolling class in an @apply (overflow-y-auto, md:overflow-auto, overflow-[auto], [overflow:overlay]). Each report is file:line:column selector { declaration }, followed by one message that says what to write instead and ends with the address of ScrollArea's page as Markdown. It exits 1 when it reports anything, 0 when it reports nothing and 2 for a path that doesn't exist or can't be read, a glob that matches no file, or an unknown option. A comment allows one declaration: above a line that holds several, only the first. A plain Node script with no dependencies, shipped in a new checks folder of the package.
    • Why: raft-ui/prefer-scroll-area reads JS and TSX only, so a scroller made in a stylesheet (a diagram's <pre>, a standalone page's own styles.css) passed the lint and kept the platform's scrollbar.
    • Affects: nothing until an app runs it. Chain it into the app's lint script, such as "lint": "oxlint && node node_modules/@botiverse/raft-ui/checks/native-scroll-css.mjs src", then make the element each reported rule styles a ScrollArea (useScrollAreaContainer and ScrollAreaGutters for an element another component renders) and remove the declaration, or, for an allowed native case, put /* raft-ui: native-scroll <reason> */ on a line of its own right above the declaration, or after it at the end of its line. A comment without a reason doesn't count. It doesn't read Sass or Less, a <style> block in HTML or CSS in a JS string.
    • Docs: https://raft-design.botiverse.build/about/use-raft-ui/#css-files
  • TableScroll, the area a wide table scrolls sideways in (Table › Wide tables). A part of Table: a horizontal ScrollArea around a Table or a plain <table>, with data-slot="table-scroll". It takes ScrollArea's props but orientation, and has no frame or size of its own.
    • Why: the only such part was Markdown's MarkdownTableScroll, so everywhere else a table wider than its column got a hand-written overflow-x-auto wrapper and the platform's scrollbar, or widened the page.
    • Affects: nothing that exists. MarkdownTableScroll is now a TableScroll under its own slot name and renders the same DOM and classes as before. Give the Table a least width (min-w-*): without one its columns are first squeezed to their headers' width, long cells wrapping at any character, and it scrolls only once the headers don't fit. The area scrolls sideways only, so a vertical wheel over the table still scrolls the page, and it is a tab stop while the table is wider than it. raft-ui/prefer-scroll-area names TableScroll in its message for an element that scrolls sideways.
    • Docs: https://raft-design.botiverse.build/components/table/#wide-tables
  • textareaScrollAreaVariants, Textarea's look for a ScrollAreaTextarea (Textarea › A field that scrolls), from @botiverse/raft-ui/wip. wrapper() goes to wrapperClassName (the border, radius, background, least height, and the focus ring, invalid and disabled looks read from the textarea inside) and textarea() to className (the type and padding).
    • Why: Textarea stays a native <textarea>, which shows the platform's scrollbar when it scrolls, and nothing said what to use for a field that is meant to scroll. ScrollAreaTextarea draws raft-ui's scrollbar but has no look, so each form re-derived the field's classes for its frame.
    • Affects: nothing that exists: Textarea renders the same classes as before. A field whose height is capped or whose rows are fixed, with text long enough to scroll, can move to ScrollAreaTextarea with these classes and keeps the box of a Textarea. Put the cap on the frame (wrapper({ className: "max-h-40" })), and set aria-invalid beside data-invalid yourself.
    • Docs: https://raft-design.botiverse.build/components/textarea/#a-field-that-scrolls
  • DialogBody can scroll in a ScrollArea, with raft-ui's scrollbar in place of the platform's (Dialog › Scrolling in a ScrollArea). <DialogBody unstable_scrollArea> renders a frame (data-slot="dialog-body-frame") around the body and binds the body as a ScrollArea with absolute gutters. The body keeps data-slot="dialog-body", className, ref, the native props and its children, so a layout written on it (className="grid gap-4") is unchanged; wrapperClassName is the frame's class, for the classes that size the body in the dialog (max-h-*, h-*, flex-*). The body is a Tab stop only while it overflows and holds nothing that takes focus (a tabIndex of your own wins), so a form gains no stop and a long text that is only read can be scrolled with the keyboard, and a scroll stops at its end with the bounce kept (overscroll="contain"). It works the same in DialogSheetContent below 768px. A bar body ignores the prop.
    • Why: DialogBody was one of the few regions that still scrolled natively, because callers lay the body out themselves and ScrollArea's sticky gutters would take the grid's first cell. On Windows, and on a Mac set to always show scrollbars, a long dialog drew the platform's scrollbar, which takes room from the form when it appears. Absolute gutters put nothing inside the body, at the price of one element around it.
    • Affects: nothing unless the prop is passed: without it DialogBody renders the same element and classes as before. It becomes the default in the next minor release, and the prop can be deleted then. With it, the frame, not the body, is the child of DialogContent (or of a <form className="contents"> in it): a selector such as [data-slot=dialog-content] > [data-slot=dialog-body] no longer matches, a sizing class on the body moves to wrapperClassName, and a p-0 in className also removes the top inset of a body with no header above it. The frame is a stacking context of its own, so a popup portaled into the body is drawn under the dialog's head; leave popups where raft-ui portals them. DrawerBody is unchanged.
    • Docs: https://raft-design.botiverse.build/components/dialog/#scrolling-in-a-scrollarea

0.96.1 (2026-11-13)

Fixed

  • A popup anchored in a sheet's body is always kept under the sheet's head, however little room its field has (Dialog › Popups in a sheet, Drawer › Behavior). In DialogSheetContent below 768px, in a Drawer and under SheetPopupBoundary, the sheet no longer stops bounding a list whose field has little of the sheet's area on both sides: the list flips to the larger side, shrinks to it and scrolls. The POPUP_ROOM_MIN_PX constant in lib/popup-boundary, which no entry point exported, is removed.
    • Why: the exception let the list open over the head in the commonest real case, a field in the middle of a sheet on a small phone with the keyboard up (about 130px on each side). There the list covered the head, or, when an app portaled it into the sheet's scrolling body, was drawn under the head, where its first rows could be neither seen nor pressed. A short list that scrolls can be used; one hidden under the head can't.
    • Affects: a Select or Combobox list, a menu or a popover opened from a field with little room on both sides, which used to open over the head at its full height, now stays under the head at the height of the larger side less 12px: 128px with 140px of room, 88px with 100px, 48px with 60px. No popup sets a least height, so in a very short sheet a list can show one row or less. A popup anchored in the head, a sheet with no head, a centered dialog and a popup with its own collisionBoundary are unchanged ("clipping-ancestors" still opts one out).
    • Docs: https://raft-design.botiverse.build/components/dialog/#popups-in-a-sheet

0.96.0 (2026-11-13)

Changed

  • raft-ui/prefer-scroll-area finds native scrollers it used to miss, and its message says what to write for the direction and the element (Use raft-ui › Lint rules). It now reads a native-scrolling class in a list joined into a const ([…].join(" ")), in a const built from another const, in a member of an object or variant map of the same file that is read as a class (cls.body; every member when read as VARIANTS[kind]), in an argument of one call that isn't a class helper inside a class attribute (className={wrap("overflow-y-auto")}) or of the call a JSX spread spreads ({...guard("overflow-x-auto")}), in a function that returns the class (className={(state) => …}), in the default of a parameter with a class name ({ className = "overflow-y-auto" }), and in a …Class, classNames or …ClassNames prop; a style kept in a const object of the same file (style={styles.pre}) or under a style key ({...{ style: { overflowY: "auto" } }}), the value overlay and two values (overflow: "hidden auto"); and the arbitrary values overflow-[auto], overflow-y-[scroll], overflow-[hidden_auto] and [overflow:overlay]. A const is resolved by scope, so a parameter of the same name is not the const. The message gives the replacement: <ScrollArea className="…sizing…" contentClassName="…layout, gap, padding…"> for overflow-y-*, with orientation="horizontal" for overflow-x-*, and with orientation="both" for overflow-auto, overflow-scroll or x and y classes together, since a vertical area cuts off content wider than itself. On a <textarea> it names ScrollAreaTextarea; on a <pre>, <html>, <body> or <iframe> it gives no replacement, only the exception comment; in a classNames object it names useScrollAreaContainer and ScrollAreaGutters; on a ScrollArea or PanelScrollViewport element's own class it says to remove the class, and names no exception. Each message ends with the address of ScrollArea's page as Markdown. The exception comment at the end of a line of code now covers that line only: it also covered the line after it, so a comment after one string of a class list silenced the next string.
    • Why: apps that had the rule on kept shipping native scrollers in the shapes it didn't read, and the old message named ScrollArea without saying where the element's sizing and layout classes go, so a fix often left grid or gap classes on the area, where the gutters layer takes the first cell.
    • Affects: an end-of-line // raft-ui: native-scroll … comment no longer also exempts the next line, so upgrading may surface reports that were hidden by accident. An app that extends the recommended config can see new reports after the upgrade, as errors. Replace each element as its message says (Replacing a native scroller), or, for a region that must scroll natively, put // raft-ui: native-scroll <reason> on a line of its own right above the reported string or style property. A native scroller that was silenced only by a comment at the end of the line above is reported now: move the comment to its own line. Set "raft-ui/prefer-scroll-area": "warn" in the app's own rules while the reports are cleared. The message ids are preferScrollArea, preferScrollAreaHorizontal, preferScrollAreaBoth, preferScrollAreaTextarea, preferScrollAreaContainer, nativeScrollElement and scrollAreaAlreadyScrolls.
    • Docs: https://raft-design.botiverse.build/about/use-raft-ui/#lint-rules

Fixed

  • A popup opened in a sheet stays in the sheet, under its head (Dialog › Popups in a sheet, Drawer › Behavior). In DialogSheetContent below 768px and in a Drawer, every raft-ui popup with no collisionBoundary of its own (Select, Combobox, ComboboxSelect, DropdownMenu, ContextMenu, Popover, PreviewCard, Tooltip, NotificationCenter) flips and sizes between the bottom of the sheet's head and the bottom of what is visible of the sheet (its bottom edge, or the top of the on-screen keyboard), instead of the window. It is decided for each popup as it is placed, and two are left to the window: one anchored in the head (a tooltip, a menu or a popover on a head button), and a list with less than 150px, about four rows, of that area on both sides of its field. SheetPopupBoundary (@botiverse/raft-ui/wip, props head and surface) does the same for a sheet an app draws itself. A Dialog, AlertDialog, Drawer or Lightbox opened from the sheet, and an app's own surface in OverlayLayerProvider, start without it.
    • Why: on a phone with the keyboard up the sheet is all the screen there is, and a select list that flipped upward covered the head, or, portaled into the sheet's scrolling body, was drawn under it, where its first rows could be neither seen nor pressed.
    • Affects: a list, a menu or a popover opened from a field in a phone sheet or a drawer that used to open over the head now flips or shrinks under it, when one side of the field has 150px of room; a popup on a head button, a centered dialog and everything outside a sheet are unchanged, and a collisionBoundary you pass still wins ("clipping-ancestors" opts a popup out). OverlayLayerProvider now resets the sheet's popup boundary, so SheetPopupBoundary must sit inside it: a boundary put around the provider no longer reaches the popups in it. An app that kept its own boundary for lists in a sheet (a context, a rect under the head, wrappers around SelectContent and ComboboxContent that pass it as collisionBoundary) can delete them: wrap its sheet's body in SheetPopupBoundary, or nothing at all in DialogSheetContent and Drawer.
    • Docs: https://raft-design.botiverse.build/components/dialog/#popups-in-a-sheet
  • A popup given an anchor is bounded by a sheet according to that anchor, not its trigger (Dialog › Popups in a sheet). Select, Combobox, ComboboxSelect, DropdownMenu, ContextMenu, Popover, PreviewCard, Tooltip and NotificationCenter pass their anchor to the sheet's boundary: an element, a ref, a virtual element or a function. A virtual element is in the sheet's head when the middle of its rect is. An anchor that is empty when the popup is placed falls back to the trigger found in the page.
    • Why: the sheet decided by the open trigger it found in the page and ignored anchor, so a popup with no trigger, anchored to a button in the sheet's head, was held under the head, and one anchored in the body from a head trigger opened over the head.
    • Affects: only a popup with an anchor, in DialogSheetContent below 768px, a Drawer or under SheetPopupBoundary: it now opens over the head or stays under it by where its anchor is. A ContextMenu with an anchor is decided by it as well; one opened at the pointer stays bounded as before. The trigger a sheet finds in the page is now found once a frame for each popup, not twice for each overflow check; the sheet is still measured at each check.
    • Docs: https://raft-design.botiverse.build/components/dialog/#popups-in-a-sheet
  • A popup opened from a layer={1} dialog is drawn over the dialog (Elevation › Overlays). DialogContent layer={1} lifts its portal to z-dialog-layer, as a stacking context of its own (relative isolate, data-layer="1"), and its scrim and card stay at z-dialog inside it, the scrim under the card whatever layer its overlay props carry.
    • Why: Base UI portals a select list or a menu opened from a dialog into the dialog's portal, at z-popup (50). With the card and the scrim themselves at 60 the list was drawn under both, and apps portaled each list into the dialog's scrolling body instead, where a ScrollArea's stacking context kept it under the sticky head.
    • Affects: DialogContent layer={1}: the card and its scrim no longer carry z-dialog-layer, their portal does; the dialog is still above a layer={0} one. A layer passed in overlay beside layer={1} is ignored, and can be removed. A container passed to a popup only to keep it over a layer={1} dialog can be removed. DialogOverlay layer={1} used on its own is unchanged.
    • Docs: https://raft-design.botiverse.build/foundations/elevation/#overlays
  • Popup boundaries stay in place in Safari on iOS while the keyboard has panned the page (Dialog › Popups in a sheet). The boundary rects raft-ui builds, a sheet's and the frame insets' (Page structure › Frame insets), are moved by the visual viewport's offset in WebKit: twice for a popup fixed to the window, once for a sheet's popup that is positioned absolute or portaled into a transformed element.
    • Why: @floating-ui/dom 1.8 subtracts the visual viewport's offset from a boundary given as a rect, and for a fixed popup whose offset parent is the window it also adds it to the trigger's rect, so the boundary sat up to twice the offset above where it was drawn and a list could run under a sheet's head again.
    • Affects: WebKit only, and only while visualViewport.offsetTop or offsetLeft is not 0; elsewhere the rects are as before. A rect an app passes as collisionBoundary is not corrected; an app that added the offset to its own sheet boundary can drop that with the boundary. Checked by running the library's own computePosition and detectOverflow on a stubbed visual viewport, not on an iOS device.
    • Docs: https://raft-design.botiverse.build/components/dialog/#popups-in-a-sheet

0.95.4 (2026-11-13)

Added

  • AppLinkCardBadge (@botiverse/raft-ui/wip): the item's state on an AppLinkCard, a soft Badge of its variant, with fill for the app's color (#RRGGBB) (AppLinkCard › The app's color) (#1024). Only the fill changes: the type is black or white, whichever has the higher WCAG 2 contrast with it, the fill is the same in both modes, and a hairline ring (line-hairline) is added in the mode where the fill is below 1.5:1 against the card (layer-card). Without a valid fill, and in forced colors, it is the plain soft Badge.

0.95.3 (2026-11-12)

Fixed

  • A label/value list that switches layout on a resize no longer raises a ResizeObserver loop error (DescriptionList › Labels go above only when a value doesn't fit). A horizontal DescriptionList and MessageActionCard's properties decide whether their labels go above their values (useLabelValueFit) in the next animation frame after a resize, instead of inside the ResizeObserver's callback; several resizes before that frame share one decision. The first frame, a label or value changing and a web font arriving are still decided before the paint.
    • Why: the hook observes the list and every value's children; when a value's notification flipped data-stacked, the list's height changed while the observer was still delivering, and the browser fired "ResizeObserver loop completed with undelivered notifications" as a window error. Hosts that surface window errors, such as the Artifact viewer, showed it as a failure (a horizontal DescriptionList in an Artifact page at 1781px).
    • Affects: a resize that crosses the boundary stacks or unstacks the labels one frame later; nothing else changes.
    • Docs: https://raft-design.botiverse.build/components/description-list/#labels-go-above-only-when-a-value-doesnt-fit

0.95.2 (2026-11-12)

Added

  • TextLinkDownloadIcon: the download mark after a TextLink that downloads a file (TextLink › Downloads) (#1226). The sibling of TextLinkExternalIcon, in the same box: Lucide's Download at 0.857em of the text, 2px after it, centered on the letters' cap height, in an inline-flex box so the hover underline stops at the text. label is read by a screen reader after the text ("(downloads a file)"); the caller supplies the copy. Its part is data-slot="text-link-download-icon".

Fixed

  • An image icon marked data-icon in a Button is the size of an svg icon there, not the size of the text (Button › Content) (#1226). In md a non-svg element marked data-icon (an <img> mark) is 16px, in lg and xl 18px, as an svg icon is (Iconography › Sizes); before, it was 1em, the label's size (15px in lg). An element with a size- class of its own keeps it.
    • Why: an App Store or Google Play mark drawn as an <img> came out smaller than the ↗ svg beside it in the same button.
    • Affects: a text-size Button with an <img> or other non-svg data-icon element now draws it at 16px or 18px. An svg icon renders as before, except one marked data-icon that also carries a size- class, which now keeps that size where it used to be 1em.
    • Docs: https://raft-design.botiverse.build/components/button/#content

0.95.1 (2026-11-12)

Added

  • SelectTrigger fit: a select as wide as its longest option (Select › As wide as its longest option) (#1206, #1207). With fit, the trigger is as wide as the longest label in the root's items or its placeholder, at least 11rem and at most 20rem; past 20rem the value ends in an ellipsis. SelectValue lays every label out in its own place, invisible, 0px high and hidden from screen readers, so the width needs no script and stays the same whichever value is chosen.

Changed

  • An attached row under a row that is a target keeps its hairline and top inset (ListRow › A row that belongs to the setting above) (#1201). A display-only attached row (interactive={false}) right under an interactive row now draws the hairline above it and, as a plain row, keeps its top inset. ListRow decides this from the row above (it now sets data-interactive), so callers change nothing.
    • Why: under a target, dropping them left the target's hover and press fill ending on an edge you couldn't see, right against the attached row's own buttons (a pinned item with Remove and Replace under it).
    • Affects: only that pair. An attached row under a display-only setting (quiet hours' times), and attached rows that are targets themselves (a level's per-channel rows), look as before.
    • Docs: https://raft-design.botiverse.build/components/list-row/#a-row-that-belongs-to-the-setting-above
  • ArtifactIcon (@botiverse/ricons 0.1.1): its page is drawn 2 wider (#1210). raft-ui 0.95.1 depends on ricons 0.1.1.
    • Why: Lucide's portrait page is 16 wide where the icons beside it in a rail or a menu are 20, so at the same size it read one size smaller.
    • Affects: the page spans x 3 to 21 of the 24 grid (was 4 to 20), same height; FollowArtifactIcon and UnfollowArtifactIcon use the same page. The < > is unchanged.
    • Docs: https://raft-design.botiverse.build/components/icons/

0.95.0 (2026-11-11)

Breaking

  • raft-ui no longer exports its own icons: import them from @botiverse/ricons (Icons). MessageIcon, ChatIcon, DirectMessageIcon, ThreadIcon, CommentIcon, FeedbackIcon, ArtifactIcon, FollowThreadIcon, UnfollowThreadIcon, JoinChannelIcon, LeaveChannelIcon, JoinPrivateChannelIcon, LeavePrivateChannelIcon, JoinJointChannelIcon, LeaveJointChannelIcon, FollowArtifactIcon, UnfollowArtifactIcon, AddCommentIcon, ReopenTaskIcon and the types ActionIconProps, ConversationIconProps and ObjectIconProps moved to the new package @botiverse/ricons (packages/icons), with the same names, types and drawings. raft-ui depends on it for its own components and doesn't export them: the icons have one import path.
    • Why: the icons are their own package, kept in this repository, so an app can use them without raft-ui; a second path through raft-ui would leave two ways to import the same icon.
    • Affects: an import of any of these names from @botiverse/raft-ui no longer compiles. Add @botiverse/ricons to the app's dependencies and import them from it: import { FollowThreadIcon, UnfollowThreadIcon, ThreadIcon } from "@botiverse/ricons";. The [data-icon-sizes] rule (UnfollowArtifactIcon's minus at 16px) moved to @botiverse/ricons/styles.css, which raft-ui's styles.css imports, so an app that loads raft-ui's stylesheet needs no other CSS.
    • Docs: https://raft-design.botiverse.build/components/icons/

Changed

  • Base UI 1.9: a closed Select or Combobox popup unmounts on its own, even with actionsRef (Select, Combobox). raft-ui now depends on @base-ui/react 1.9, which decouples automatic unmounting from actionsRef for Select, Combobox and Autocomplete. Before, passing actionsRef kept the popup mounted after it closed until you called actionsRef.current.unmount(). Now it unmounts when closing finishes unless onOpenChange opts out.
    • Why: the dependency update (#1193). raft-ui itself does not use actionsRef or unmount().
    • Affects: only an app that passes actionsRef to Select or Combobox and relied on the popup staying mounted, for example to run its own closing animation. In onOpenChange, call eventDetails.preventUnmountOnClose() when it closes, then actionsRef.current.unmount() as before. Nothing else changes.

0.94.0 (2026-11-11)

Added

  • closestOverlay(node): the raft-ui overlay a node is inside (Popover › Inside an overlay). It returns the portal container of the innermost overlay holding node (an overlay opened from another is inside both, and this is the inner one's), or null. isInsideOverlay(node) is now closestOverlay(node) !== null.
    • Why: a handler that needs the overlay itself, not only whether there is one, such as whether a press in an overlay is in the same overlay as a region the page draws there, still had to read [data-base-ui-portal].
    • Affects: nothing renders differently. Replace target.closest("[data-base-ui-portal]") with closestOverlay(target).
    • Docs: https://raft-design.botiverse.build/components/popover/#inside-an-overlay

0.93.0 (2026-11-11)

Added

  • isInsideOverlay(node): whether a node is inside a raft-ui overlay (Popover › Inside an overlay). It is true for a node inside a popover, menu, select list, combobox, tooltip, preview card, the notification center, a dialog, an alert dialog, a drawer, a lightbox or a toast, rendered through its portal, and false for a node of the page and for null; a text node counts by its parent element. Every …Portal part now marks its container with data-raft-ui-overlay, and the helper reads that attribute.
    • Why: slock tested element.closest("[data-base-ui-portal]") to leave events from an overlay alone; that attribute is internal to Base UI, not part of raft-ui's API, and can change with any Base UI release.
    • Affects: each overlay's portal container gains data-raft-ui-overlay=""; nothing else renders differently. Replace closest("[data-base-ui-portal]") with isInsideOverlay(node) from @botiverse/raft-ui.
    • Docs: https://raft-design.botiverse.build/components/popover/#inside-an-overlay

Changed

  • raft-ui/no-raw-z-index is an error in the recommended config (Use raft-ui › Lint rules). recommended.json and configs.recommended now turn it on as "error" (it was "off" since 0.85.0); every rule of the plugin is now an error in it.
    • Why: slock has moved its z-index values to the layer names and turned the rule on as an error in its own config, and Stamp is doing the same.
    • Affects: an app that extends the recommended config and still writes a z-index number gets an error for each one on the upgrade. Use a layer name (Layer order), or keep a number with a // raft-ui: z-index <reason> comment on the line above; "raft-ui/no-raw-z-index": "warn" in the app's own rules lowers it while the reports are cleared.
    • Docs: https://raft-design.botiverse.build/about/use-raft-ui/#lint-rules
  • ScrollArea's scrollbars are at z-scrollbar (49), not 2147483647 (ScrollArea › Rules). The gutters layer takes var(--z-index-scrollbar), the top in-page layer. The area's root is still isolate, so the value ranks the scrollbars only among the area's own content: they stay over every named layer inside it, sticky headings (z-sticky), raised parts, floating controls and chrome up to z-app (45). It was the last z-index number raft-ui kept for want of a name.
    • Why: the large number was kept only until the apps' layers inside their ScrollAreas had names, which slock has now done; a sticky heading at z-15 had covered the thumb, and every named in-page layer is below 49.
    • Affects: nothing for content inside an area that uses the layer names. A part inside a ScrollArea with a z-index of 50 or more (an overlay's number, a raw value such as 100 or 1000) is now drawn over the scrollbar, where it used to be drawn under it; name it, or portal it if it is a popup. Nothing changes outside the area.
    • Docs: https://raft-design.botiverse.build/components/scroll-area/#rules, https://raft-design.botiverse.build/foundations/elevation/#layer-order

0.92.0 (2026-11-11)

Fixed

  • Components used only on an app's lazy pages stay out of the chunk that loads raft-ui first. dist/index.mjs and dist/wip.mjs are now the drag Escape guard import plus export * from "./index-exports.mjs" / "./wip-exports.mjs"; the names live in those two modules, which are not listed in sideEffects. Exports and types are unchanged, and the guard still installs when raft-ui loads.
    • Why: both entries are in sideEffects so a bundler keeps the guard import, but a module with side effects keeps every import it has, so Rolldown put every raft-ui component an app used anywhere (the task board, InboxItem, SelectionToolbar, Meter, Search…) into that first chunk. Raft Desktop's first screen grew past its size gate; with this and slock's startup closure reading the barrel, it is about 10.7 KiB gzip smaller.
    • Affects: nothing in an app's code. A bundler that follows sideEffects can now leave unused components out of the first chunk.

0.91.0 (2026-11-10)

Fixed

  • FitToolbarSearch cuts a placeholder that doesn't fit at a word: "Search…", not "Search …" (FitToolbar › Behavior). It measures the placeholder in the input's own font against the field's room, again when the field changes size, a font arrives or the placeholder changes, and shows the longest prefix that ends at a word (between any two characters in Chinese or Japanese) and fits with "…" after it, trailing spaces trimmed. A placeholder that fits is shown whole. placeholder:text-ellipsis is gone from the input; typed text still ends in an ellipsis.
    • Why: CSS text-overflow: ellipsis cuts after the space and showed "Search …", which reads as a typo.
    • Affects: a FitToolbarSearch whose placeholder is cut; its input's placeholder attribute is now the cut text. The accessible name is still the whole aria-label. Pages pass the whole placeholder as before.
    • Docs: https://raft-design.botiverse.build/components/fit-toolbar/

0.90.0 (2026-11-10)

Changed

  • FitToolbarSearch's least width is capped at 120px (FitToolbar › Behavior). FIT_SEARCH_MAX_LEAST is now 120 (was 160): the search icon, the field's side padding and "Search…", the same cap at every width. The measured least width is still the icon and the whole placeholder when that is smaller; a longer placeholder ends in an ellipsis.
    • Why: slock's Members › Agents at 375px left "Agents ▾" under 160px and the search collapsed to its icon.
    • Affects: a search whose placeholder takes more than 120px ("Search tasks" takes about 140px) now keeps its field down to 120px with the placeholder cut, and the toolbar's earlier steps stop sooner. An explicit minWidth is unchanged and not capped.
    • Docs: https://raft-design.botiverse.build/components/fit-toolbar/

0.89.0 (2026-11-10)

Changed

  • FitToolbarSearch keeps at most 160px by default; a longer placeholder ends in an ellipsis (FitToolbar › Behavior). Its measured least width is now its icon and its whole placeholder, or 160px, whichever is smaller; the cap is exported as FIT_SEARCH_MAX_LEAST. A placeholder that doesn't fit the field is cut with an ellipsis (text-overflow: ellipsis on the input and its ::placeholder) and the field stays shown instead of collapsing to its button.
    • Why: on a 375px phone the Members toolbar's "Search members" (16px on a touch screen, so iOS doesn't zoom) needed about 180px where about 165px was free, so the search collapsed to its icon; the placeholder is only a hint and goes once the person types.
    • Affects: a search whose placeholder takes more than 160px now keeps its field down to 160px, and the toolbar's earlier steps stop sooner. A placeholder that fits is measured as before. An explicit minWidth is unchanged and not capped.
    • Docs: https://raft-design.botiverse.build/components/fit-toolbar/

0.88.0 (2026-11-10)

Added

  • FitToolbarSplitButton: a split button as one FitToolbar item (FitToolbar › Anatomy). The primary action and its ▾ (Create agent and the other ways to add an agent) are Button's split parts, ButtonSplit, ButtonSplitMain and ButtonSplitMenu, each rendered as a toolbar button. The pair takes its steps as a whole: from plusOrder on the main part is + alone, from labelOrder on its icon alone (only with an icon), its label kept as its name and tooltip, and the ▾ stays. It never moves into More. groupLabel names the pair, menuLabel the ▾, and menuTrigger is the menu's trigger (<DropdownMenuTrigger />); disabled disables both parts, and other props go on the main part. In the toolbar the arrow keys reach the main part, then the ▾; the toolbar stays one Tab stop.
    • Why: slock's Members toolbar built Create agent from two FitToolbarButtons with the split's classes copied onto them: no die-cut edge in dark mode, and the parts gave way one by one.
    • Affects: nothing existing. Move a hand-built split in a FitToolbar onto it.
    • Docs: https://raft-design.botiverse.build/components/fit-toolbar/

Fixed

  • A FitToolbar or SegmentedControl rendered before it is in the document gets its Tab stop once attached (FitToolbar › Accessibility). Base UI's composite lists number only the items connected when they register, and attaching a subtree later registers nothing again, so every toolbar item and segment kept tabIndex -1 and Tab passed over the toolbar. Each now watches the document while it is detached and, once attached, makes its items register again, without remounting them.
    • Why: slock's channel Tasks section renders into a host attached after its first commit, and remounted its toolbar to get a Tab stop back (#14149).
    • Affects: nothing for a toolbar or control mounted in the document. Another Base UI composite inside a detached toolbar (a ToggleGroup, Tabs) is not covered: render into a host that is already attached where you can.

0.87.0 (2026-11-10)

Added

  • ListRow tone="warning" and tone="danger": an action's risk (An action's risk). An action row in a danger zone, such as Archive, Leave or Delete at the end of a channel's details, colors its title and its leading ListRowIcon warning-strong (it interrupts but can be undone) or danger-strong (it cannot be undone), with Button's names and meanings. Nothing else changes: the description, the value, the chevron and the hover and press fills stay as on any row. Only an interactive row takes it (a display-only row ignores it: only an action has a risk), and a disabled row greys everything as for every tone. The row still carries data-tone. The new RiskTone type ("warning" | "danger") is exported beside RowTone; SidebarItem keeps RowTone.
    • Why: slock's channel details panel colored these rows by hand (text-danger-strong on the row, text-current on the title and icon), so the color, its contrast and the disabled state were each product's to get right (slock channel details). The strong inks keep at least 4.5:1 on every surface, hovered or pressed, in both modes and every theme (list-row.risk-contrast.test.ts).
    • Affects: ListRowIcon now reads text-(--list-row-risk-ink,var(--list-row-ink-3)) instead of text-(--list-row-ink-3), and ListRowTitle gains text-(--list-row-risk-ink); both render as before on a row without a risk tone (the title inherits the row's ink, as it did). A row colored with a class of its own keeps working; move it onto tone. Feedback, Forms and Color now name the danger zone's colored rows as the one place an action is colored before its confirmation; a menu item still isn't.
    • Docs: https://raft-design.botiverse.build/components/list-row/#an-actions-risk

0.86.0 (2026-11-10)

Added

  • FitToolbar follows the list-toolbar rule: one thing fills each line, at most two lines (The toolbar over a list). New, all optional:
    • FitToolbarSearch: the search field of a list's toolbar. It fills the rest of its line and keeps at least what its icon and its whole placeholder take (measured in the field's own font, again when fonts load or the placeholder changes; minWidth takes a number instead), so the toolbar's other steps come first. From collapseOrder on it is a search icon button at the line's start that opens the field in the scope's place, More and the primary action kept at the line's end. A search with text never collapses. Esc empties it, then closes an open field; Esc that ends an input method's composition is the IME's. clearLabel adds a clear button that empties it and keeps focus.
    • FitToolbarGroup moreOrder and moreItem: a group of how-to-show controls (sort, grouping, view) moves into More together at that step, each as its moreItem (a view switch as a radio choice in the menu).
    • FitToolbarGroup end: an item pinned at the end of a scrolling group (overflow="scroll"), such as a filter line's Clear all ×. Without overflow="scroll" it is not rendered, and development warns.
    • FitToolbarMore and FitToolbarMoreItems: the More (⋯) button, shown only while something is in it, and the items it holds. Its label comes from the page, in the page's language ("More" by default, in English).
    • Why: a list toolbar with nothing at the start of a line left its buttons hanging, and the search was the first thing squeezed out when a page narrowed (rule in #1158).
    • Affects: nothing for an existing toolbar. Step names (label, more, collapse, wrap, plus) and their order are unchanged, and toolbars that use none of the new parts lay out as before. slock's Tasks, Members, Computers, Search and Apps move onto the new parts in their own PR.
    • Docs: https://raft-design.botiverse.build/components/fit-toolbar/

0.85.0 (2026-11-10)

Added

  • Named layers, z-below to z-drag, and the lint rule raft-ui/no-raw-z-index: every z-index has a name and a place in one order (Layer order). The names are ordinary Tailwind z-* utilities from --z-index-* theme variables in styles.css (@theme static, so CSS can always read var(--z-index-sticky)): in the page z-below -1, z-base 0, z-raised 1, z-control 10, z-sticky 20, z-float 30, z-chrome 35, z-cover 40, z-app 45, z-scrollbar 49; overlays z-popup and z-dialog 50, z-dialog-layer 60, z-lightbox 70, z-toast 80, z-drag 999. They take every variant (max-md:z-chrome, before:z-below), and cn and the recipes merge them with a number an app passes (z-popup and z-40 keep z-40). raft-ui's own components use them. The new rule reports a z class with a number or an arbitrary value (z-10, -z-1, z-[60]), a numeric zIndex in a style object, a zIndex={n} prop and el.style.zIndex = n; a number kept on purpose takes a // raft-ui: z-index <reason> comment on the line above. z-index-named.test.ts holds raft-ui's own code to the same rule, CSS included, with its kept exceptions listed.
    • Why: slock alone writes 186 z-index values, and the same role has up to five numbers (sticky headers at 2, 10, 15, 20 and 30) while one number has up to seven roles; a share lightbox at 100 hides its own toast, and a badge menu at 1000 sits above the drag lift.
    • Affects: nothing on the upgrade for an app that extends recommended.json: the rule is "off" in it for now, so an app that lints with --max-warnings=0 (slock) stays green. It turns on there as "error" once slock has moved to the names. An app can opt in early with "raft-ui/no-raw-z-index": "warn" or "error" in its own rules. Map each value with the table in Elevation: a local lift is z-raised inside an isolate root (there is no third local level: order a third part by DOM order); a popup, menu, dialog, lightbox, toast or drag copy takes raft-ui's component and no z-index of its own. Nothing may sit above the toasts (80) or the drag lift (999). slock's InlineBadgeEditor (1000) and SelectShareLightbox (100) are not exceptions: they move onto Popover and z-lightbox when slock moves to the names.
    • Docs: https://raft-design.botiverse.build/foundations/elevation/#layer-order, https://raft-design.botiverse.build/about/use-raft-ui/#lint-rules

Changed

  • raft-ui's in-page layers take the scale's values: where a component's z-index moved to a name with another number, it renders the same inside the component, but its number against an app's own layers changes. Overlays keep theirs (50, 60, 70, 80, 999).
    • Raised parts 10 → 1 (z-raised): Button's and Toast's label and loading indicator, Avatar's badge, InboxItem's lead, badge, selection, text, trail and corner (its trigger is z-base, 0), ChoiceList's control column, Comment's cover and active comment, CodeBlock's actions, ComposerAttachment's veils, FilePreview's corner badge, MessageImageGallery's "+N" veil, MessageItem's trailing meta, MobileNav's icons, Select's scroll arrows, Tabs' tab content and drop placeholder, Tooltip's kbd, Lightbox's arrows, info dock and counter, ConversationPanelEmptyState's illustration. 20 → 1: CodeBlock's corners, ComposerAttachment's progress bar (over the veil by DOM order), ComposerDropOverlay's second icon (and its first, 10 → 1), Lightbox's close, a dragged TaskDraggable. MessageList's end fade 5 → 1.
    • Up: MessageList's jump controls and SelectionToolbar 10 → 30 (z-float), the pull-to-refresh indicator 10 → 20 (z-sticky), PanelHeader's sticky phone header 30 → 35 (z-chrome), ThreadPanel's header 20 → 35 (inside the panel's isolate), AppShellOverlaySlot 20 → 40 (z-cover).
    • Down: MessageItem's hover toolbar 20 → 10 and ComposerAttachment's remove button 20 → 10 (z-control), the composer attachment row's arrows 30 → 10 (outside the row's ScrollArea, so still over it). The sidebar header mask -10 → -1 (z-below).
    • Isolation: a tab is now isolate instead of z-10, and a dragged tab is lifted by var(--z-index-raised) instead of 20, all inside the tab list's isolate. TaskDraggable is isolate, so a card's own parts rank only inside the card, and a dragged card at z-raised is above every other card.
    • Why: the scale has one number per role; the old numbers made the same role differ between components and forced slock to workarounds (a day heading at z-15, an isolate around the artifacts dashboard, max-md:z-40 beside the phone header).
    • Affects: an app layer that sat between the old and the new number of a raft-ui layer it overlaps. In slock, move these in the same upgrade: a cover at z-30 beside a PanelHeader (MainLayout, ProfilePanel, ChannelSideArea, LegacyTaskPanel, TaskConversationDialog, index.css) to z-cover, or the header, now 35, is drawn over it; the typing line (z-6) to z-float, so it stays over the end fade and beside the jump pills; a hit target at z-10 in a message (MessageItem) to z-raised, so the hover toolbar, now 10, stays above it; ThreadsInbox's day heading (z-15) and "new" pill (z-20) to z-sticky and z-float, which InboxItem's parts at 1 now allow.
    • Docs: https://raft-design.botiverse.build/foundations/elevation/#in-page-layers

0.84.0 (2026-11-10)

Added

  • LightboxBody, the scrolling body of a document-mode lightbox (from @botiverse/raft-ui/wip): a ScrollArea under LightboxToolbar that fills the rest of the content (min-h-0 flex-1), takes the pointer back from LightboxContent (pointer-events-auto), and never passes a scroll on to the page under the scrim (overscroll-contain), on layer-canvas, the toolbar's surface. className sets another surface (bg-layer-sidebar); every other ScrollArea prop, render included, is the area's, except overscroll. It carries data-slot="lightbox-body". It is a tab stop even when it has nothing to scroll (tabIndex={0}), with the inset focus ring (a 2px foreground outline inside its edge, after keyboard input only) instead of ScrollArea's ring outside it, which the window's edges hid. Its content is padded by env(safe-area-inset-left|right|bottom), and contentClassName and contentStyle style a box of the caller's inside that (data-slot="lightbox-body-content"), so a phone held sideways doesn't put a wide file under the notch or its end under the home bar, and the scrollbar stays at the window's edge.
    • Why: slock's FileViewerShell and SelectShareLightbox each write a lightbox's scrolling body of their own. A ScrollArea stops a scroll only while it has something to scroll, so a body too short to scroll passed the wheel on to the page under the scrim, which document mode doesn't lock.
    • Affects: nothing until a lightbox uses it. The document-mode example on the Lightbox page now does, with the same DOM and classes as before apart from data-slot, overscroll-contain, tabIndex and the focus ring, and the safe-area box its contentClassName now sits in.
    • Docs: https://raft-design.botiverse.build/components/lightbox/#document-mode
  • Lightbox document mode. <Lightbox modal="trap-focus"> traps focus without locking the page's scroll, for a file read top to bottom whose own body scrolls (a PDF, Markdown, a diagram); the content stays neither inert nor hidden, so find in page reaches it. In document mode LightboxContent takes Base UI's own focus defaults: focus moves into the lightbox when it opens and back to LightboxTrigger when it closes. A lightbox opened from state passes finalFocus={openerRef} to send focus back to what opened it.
    • Why: slock's FileViewerShell (images and attachment previews: PDF, documents, Mermaid) and SelectShareLightbox move onto raft-ui's Lightbox, and they kept their own body-scroll switch and focus return.
    • Affects: nothing changes for a lightbox until it passes modal="trap-focus"; modal keeps its default, true, and in it initialFocus and finalFocus stay false.
    • Docs: https://raft-design.botiverse.build/components/lightbox/#document-mode
  • attached on ListRow: a row that belongs to the setting above it: in a ListRowGroup, an attached row draws no hairline above it, and a plain one has no top padding, so it follows the row it belongs to with only that row's 12px bottom inset between them. An interactive one (a chevron, a menu) keeps the control height as its least, so it stays a 44px target on a phone and a touch screen (34px with a mouse on a desktop, which it already is). The row carries data-attached. Tie it to its setting for assistive technology with the setting's title id: a display-only attached row takes role="group" and aria-labelledby, an interactive one aria-describedby; ListRow can't know which title it belongs to. The row above keeps its height, and its switch stays centered on its own title and description; the row after draws its hairline as usual.
  • FitToolbar's plus step: the primary action as + alone (from @botiverse/raft-ui/wip). FitToolbarButton takes plusOrder: from that step on it is a + square, its icon and label gone, the label kept as its accessible name and shown as its tooltip; it carries data-fit-plus, and useFitItem({ plus }) gives any item the step. Every item's steps share one order for the toolbar, by their numbers (lower first; at the same number the last item first, and one item's steps as label, more, collapse, wrap, plus). Give plus a higher number than any wrap, so the primary becomes + only once the groups have wrapped. FitToolbarButton's icon is optional now, for a primary that has none until it is +.
    • Why: Tasks at 375px and 420px: once the filters have wrapped to their own scrolling line, the first line (Mine and All with their counts, sort, list or board, Create task) fits only with Create task as +. The step was left out of 0.83.0 for want of a test.
    • Affects: nothing until a button passes plusOrder: without it, FitToolbarButton renders the same DOM and classes as before.
    • Docs: https://raft-design.botiverse.build/components/fit-toolbar/#behavior
  • messageCard and messageEmbed, from @botiverse/raft-ui: the recipes every card in a message is drawn from, so an app's own card takes the same parts. messageCard() gives source (with sourceIcon, sourceName, sourceHost, sourceHostText), sourceFooter, body, eyebrow, title, heading, meta, actions, actionRow, inset, actionGroup (the buttons as one item of a row that also holds a status line) and popover; messageEmbed({ size }) the frame and its widths, which MessageEmbed size applies.
  • size="item" on PopoverContent: a popover about an app's item is 400px wide (never wider than the room the positioner leaves it, so on a phone the screen less its padding), and its PopoverBody, PopoverTitle and PopoverActions take a card's parts: the 12px inset, the text-subhead bold title, one row of buttons. The content carries data-size="item".
    • Why: the question an app's link asks before it shows previews stands in for the item card it leads to, so it looks like that card; a popover belongs to the family of what it is about.
    • Affects: nothing until a popover passes size="item"; the default renders the same DOM and classes as before. slock's link-preview question should take it.
    • Docs: https://raft-design.botiverse.build/components/popover/#about-an-item
  • FitToolbarPicker and FitToolbarButton's collapsedIcon, for the Tasks filters (from @botiverse/raft-ui/wip). FitToolbarPicker is a picker's trigger as one toolbar item: pass the popup's trigger as trigger (<DropdownMenuTrigger />, <PopoverTrigger />) with an icon, a label and what is chosen (value); it is a PickerTriggerButton, filled info-soft once a value is chosen (an applied filter, Select › Filters); a count is set in Space Mono and any other value in the label's font. From labelOrder on its label gives way and the icon, the value and the chevron stay (👤 1 ⌄), named "Assignee 1". FitToolbarButton's collapsedIcon shows only once its label has given way, in place of icon (Clear filters becomes ×). A FitToolbarButton with neither refuses its label step.
    • Why: the Tasks filters are pickers that must keep what is chosen in view once they narrow, and Clear filters reads as text while it has room.
    • Affects: nothing until a page uses them. A FitToolbarButton without collapsedIcon renders the same DOM and classes as before, plus data-fit-needs-icon.
    • Docs: https://raft-design.botiverse.build/components/fit-toolbar/#anatomy

Changed

  • Toasts are drawn above a lightbox: the toast viewport and an anchored toast's positioner move from z-70 to z-80, above the lightbox's z-70. Elevation now writes the order down (Layer order).

  • SaveStatus shows only a failure, and takes no room otherwise: an empty SaveStatus is hidden (empty:hidden) and has no height, so a setting with it is as tall as one without it. With a SaveStatusError in it, the line appears 4px under the control or the description, as before, and the setting grows by it. SaveStatusSaved is deprecated: it renders nothing, whatever its children (no check, no "Saved", no live region). ListRow variant="plain" no longer leaves a SaveStatus line out of what its ends center on: its ends center on the whole row, with an error shown too.

    • Why: a setting that applies at once needs no "Saved": the control showing its new value is the confirmation, as in macOS's and iOS's settings. The reserved, usually empty line made those rows taller than their neighbors. This replaces the reserved "Saved" line chosen on 2026-10-30.
    • Affects: every SaveStatus while it holds no error, and every plain ListRow whose body ends in one (slock's ImmediateSaveStatus and ImmediateSwitchRow, its Language & region, onboarding, member permissions, server translation and system channels settings, the composer's send key and the channel's thread sort): the row or field is shorter by the line and its 4px, and a switch at a row's end moves up by half of that. A failure now grows the setting by its line, and a row's ends move down by half of it. Drop SaveStatusSaved and its "Saved" copy; render SaveStatusError when a change failed and nothing otherwise. A plain row without a SaveStatus is unchanged except that it no longer carries the --list-row-status-space classes. slock, on upgrading:
      • SETTINGS_STACK_CARD_DESKTOP (settingsCardClasses.ts:12) still draws a stacked card's last SaveStatus inside the 16px below it ([&_[data-slot=save-status]:last-child]:mt-0 and mb-[calc(-1lh)], the 2026-11-04 rule this replaces). With an error shown, its 18px line overlaps the next setting by 2px, or runs into the card's padding, and the setting doesn't grow. On staging only PublicVisibilitySection takes the class, with no SaveStatus, so nothing shows it yet; drop the two classes.
      • settingsImmediateApply.behavior.test.tsx fails: assertIdleLine looks for the "Saved" live region (getByRole("status"), data-slot=save-status-saved), and "Saved shows the check inside the same line" waits for "Saved". Assert the idle line is hidden and empty instead, and drop the Saved test. The "saved" state in ImmediateSetting.tsx becomes dead; SETTING_SAVED_MS is also used by AppNotificationsControls.tsx, so keep it while that does.
    • Docs: https://raft-design.botiverse.build/components/save-status/, https://raft-design.botiverse.build/patterns/forms/#settings-that-apply-at-once
  • Cards in messages take their styles from one place: MessageEmbed's recipe now holds the card frame and its two widths, size="item" (at most 400px, the message's width below 768px) and size="content" (at most 560px), and the messageCard recipe beside it holds the parts every card and item popover shares: the source row, the body and its 12px inset, the id line, the title (text-subhead, 2 lines), the state and details row and the buttons row (at most two buttons; a third action goes in a More menu the card supplies; a status line or note wraps onto its own line before the buttons do, and they go under each other, whole, only in a column narrower than both). AppLinkCard, PreviewCard's body parts, MessageActionCard, MessageForwardedBundle and MessageReplies are drawn from them, and a test (card-styles.test.ts) fails, naming the file, line and class, on a card or popover component that writes its own radius, width, inset or title size.

    • Why: the same frame had widths from 176 to 576px, insets of 16, 12 and 10px and titles of 17 and 15px; a card's style changed alone and drifted from the others (change one card and the others follow).
    • Affects: MessageEmbed without size renders as before.
      • AppLinkCard: its header, body and buttons sit 12px from the edges instead of 16px, and its title is text-subhead (15px on a phone, 14px on a desktop) instead of text-headline (17/16px), so the card is shorter.
      • PreviewCard: PreviewCardBody, PreviewCardActions and PreviewCardFooter take the same 12px, and a PreviewCardTitle in a body the same title and its link styles. This is every card that uses them, the item card (size="item") and a default-size card that puts its sentence in PreviewCardBody, such as slock's 300px connect-account card. A profile card (PreviewCardHeader, PreviewCardDescription) is unchanged.
      • MessageActionCard: at most 400px instead of 440px, and the message's width on a phone; its properties stack at the narrower width sooner. MessageActionCardActionsNote is now a line of its own above the buttons, not beside them.
      • MessageForwardedBundle: at most 560px instead of 544px. MessageReplies: at most 560px instead of 480px; it stays a filled, borderless block, 10px x 8px.
    • Docs: https://raft-design.botiverse.build/patterns/cards-in-messages/

Fixed

  • Lightbox document mode: the keys scroll the document, never the page under the scrim: with initialFocus unset, a document lightbox with a LightboxBody focuses the body when opened by a click or a key, so Page Down, the arrow keys and Space scroll the file at once; before, focus landed on the first toolbar control (Close), and those keys scrolled the page under the scrim while the file stayed put. A tap still focuses the lightbox itself, and a lightbox without a body still focuses its first control. A key that would scroll the page from elsewhere in the lightbox (a toolbar button, the lightbox itself after a tap) scrolls LightboxBody instead, by the browser's own steps, and does nothing with a body of the caller's own; keys a control uses (a text field's, a button's Space, a menu's arrows) are left to it.

  • Lightbox document mode focuses as Base UI does when opened by a tap: with initialFocus unset, a document lightbox opened by a tap focuses itself, not its first toolbar control, so a phone shows no ring and opens no keyboard; a click or a key still focuses the first control.

  • The drag hint is drawn with the lifted copy, at 999: it sat at z-70 with the lightbox, where the DOM order decided which was on top; elevation.md's Layer order lists it.

  • TaskBoard: TaskBoardColumnChevron draws a ChevronDown when given no children, so a column heading always shows whether the column is open. slock passed it empty, so no column had the arrow and a collapsed Closed column read as "Closed 2" over nothing.

  • What opens inside a lightbox is drawn above it, and a lightbox opened from a dialog has its scrim: LightboxPortal is a stacking context of its own at z-70 (relative isolate z-70), with the scrim and the content inside it in document order. Base UI already put a Tooltip, Popover, menu and its submenus, Select, Combobox, PreviewCard, Dialog, AlertDialog or Drawer opened inside LightboxContent in the lightbox's portal; now its own z-50 counts inside the lightbox, above the content. The lightbox's scrim is always rendered (forceRender), and the lightbox joins the stack of modal surfaces: opened from a dialog it draws layer-backdrop-nested (data-nested), and a Dialog, AlertDialog or Drawer opened inside it draws the nested scrim over it.

    • Why: the scrim and the content sat at z-70 and z-71 among the page's layers, so a popup opened inside, at z-50 in the lightbox's portal, was drawn under the scrim, and a press on it landed on the scrim and closed the lightbox. And Base UI renders no backdrop for a dialog opened under another, so a lightbox opened from a dialog had no scrim: the dialog showed through undimmed, and a press beside the file went to the dialog.
    • Affects: every lightbox. The DOM is the same; the portal element gains relative isolate z-70, the scrim loses z-70 and the content z-71, and a scrim stacked on another surface carries data-nested. A popup given a container outside the lightbox, or an app's own portal to the body, is drawn under the lightbox, as before. LightboxPortalProps takes a string className, as LightboxContentProps does.
    • Docs: https://raft-design.botiverse.build/components/lightbox/#popups-inside, https://raft-design.botiverse.build/components/lightbox/#behavior
  • A cover or an excerpt no longer cuts off a card's corners: MessageEmbedContent that is the card's first or last part takes the card's inner corner, radius-container less the 1px border, on the two corners it shares with the card, and clips what it holds to them (overflow: clip). A cover at the top is round at the top and square at its foot. The card itself still clips nothing, so a title link's focus ring around the whole card (its ::after) still shows.

    • Why: an Artifact card's cover or excerpt ran square to the card's edges and covered the border's arc, so its top corners looked cut off, in light and dark. The docs' link card had the same fault.
    • Affects: every card on MessageEmbed whose first or last part is MessageEmbedContent: slock's Artifact card, the docs' link card, and MessageForwardedBundle's items when the bundle has no footer (they now clip at the card's bottom corners). Content between two rows is unchanged, and so is MessageQuotedPreview: its frame is a square bar (data-frame="bar" on its root and on MessageQuotedPreviewLoading), so its content stays square and clips nothing.
    • Docs: https://raft-design.botiverse.build/components/message-embed/#anatomy
  • FitToolbar measures only what is laid out in its rows: it leaves out what is hidden, out of flow (position: absolute or fixed) or of no size, and looks through display: contents on its lines too. A line has broken only where an item sits wholly below or above the first on it, so items of different heights on one line (a primary Button beside 32px filters) no longer read as a broken line.

    • Why: a popover or menu opened from a toolbar item puts Base UI focus guards beside its trigger, fixed at the window's corner, and the toolbar counted them: opening it made labels give way. And a wrapping toolbar whose first line mixed heights wrapped or gave way where it fit.
    • Affects: every FitToolbar and SelectionToolbar. Opening a popup from one no longer changes it; a wrapping toolbar with items of different heights on a line gives way less, only where it doesn't fit.
    • Docs: https://raft-design.botiverse.build/components/fit-toolbar/#behavior
  • DialogFooter and AlertDialogFooter decide whether to stack from the buttons laid out in their row only: they leave out what is hidden, out of flow (position: absolute or fixed) or of no size, and look through display: contents, as FitToolbar does (one shared measure). There is no new prop.

    • Why: an open Menu or Popover puts Base UI focus guards beside its trigger, and a Select or Combobox always adds a hidden input, each fixed at the window's corner. The footer counted them as the row's start, so the row reached to the window's left edge: a menu opened from the footer stacked the buttons at any width, and a Select in the footer stacked them for good, nothing open.
    • Affects: a footer holding a Menu or Popover trigger, a Select or a Combobox now stacks only when its buttons don't fit. A button inside a display: contents wrapper now counts toward the row; before, the wrapper read as no size and its button was left out. Every other footer is unchanged.
    • Docs: https://raft-design.botiverse.build/components/dialog/#the-footer, https://raft-design.botiverse.build/patterns/responsive/#switch-on-the-regions-width
  • BannerAction comes back beside the text with a menu open from it, or a Select in it: once the actions had taken a line of their own, they measured their width with a Range over all their contents. They now measure from their first laid-out item's left to the last one's right, with the same shared measure. There is no new prop.

  • A sorted board column shows that it is the place while a card is over it: TaskDropZone takes dragInto. With it, the zone carries data-drag-into and takes fill-subtle while a card it allows is over it, its cards and all; never at rest, and never while it refuses the card (dropState blocked).

  • FitToolbar's focus follows the reading order, and a SegmentedControl in it is one toolbar item: the arrow keys go through its controls line by line as they show, and Tab first enters at the first control on screen. A SegmentedControl inside registers as one item of the toolbar, so the toolbar stays one Tab stop and its arrow keys reach the segments without choosing one (Space chooses; Up and Down choose nothing). When the focused item moves into More, focus goes to More instead of the page. Items of the same kind in one group (the same label or plus step at the same number) change form at the same time. A SegmentedControl of text alone, or a FitToolbarButton with no icon, refuses its label step. There is no new prop.

    • Why: a wrapped group moves with CSS order, later on screen than in the DOM, and the browser's Tab order and Base UI's toolbar followed the DOM: focus jumped to the second line and back (WCAG 2.4.3). The SegmentedControl was a second Tab stop whose arrow keys chose as they moved, and Mine and All, with no icons, emptied to nothing at their label step; at 780px three filters became icons while Assignee kept its label.
    • Affects: every FitToolbar and SelectionToolbar: arrow-key order is the screen's, which is the DOM's unless a group has wrapped. A SegmentedControl in a FitToolbar is no longer a Tab stop of its own. Outside a FitToolbar nothing changes.
    • Docs: https://raft-design.botiverse.build/components/fit-toolbar/#accessibility, https://raft-design.botiverse.build/components/segmented-control/#accessibility
  • A FitToolbar's scrolling group scrolls only as its last state, and stays where the person scrolled it: while it can still wrap, it counts as not fitting whenever its items overflow, so its labels give way and it wraps before it scrolls. Each measure keeps its scroll position, only the item that just became active comes into view (on mount the first active one), not every active one with the first winning, and a resize after the person has scrolled leaves it there. There is no new prop.

    • Why: at 780px the filters scrolled on the first line, the last ones hidden past the fade, where giving their labels fit them all; and a count changing or a measure pulled the group back to the active filter under the person's finger.
    • Affects: a FitToolbar with wrap and an overflow="scroll" group that can wrap now gives its labels and wraps sooner. Every scrolling group keeps its scroll position across a measure.
    • Docs: https://raft-design.botiverse.build/components/fit-toolbar/#behavior

Design System

0.83.0 (2026-11-10)

Added

  • placement="top" on DialogContent, on a desktop and a tablet (and on DialogSheetContent there): the dialog stays centered across, its top edge at var(--dialog-top, 8vh), and it is never taller than the window less that top and 16px, so it never runs past the window's bottom. Its width still comes from size. The content carries data-placement="top". To anchor the card to something, the app measures it and sets --dialog-top in the content's style; raft-ui measures nothing. Below 768px it does nothing.
    • Why: search opens from the top bar's field, and its panel's top edge belongs on the field, which a centered dialog can't do (slock drew it on DialogSurface with its own positioning).
    • Affects: nothing until a dialog passes placement="top": "center", the default, renders the same DOM and classes as before.
    • Docs: https://raft-design.botiverse.build/components/dialog/#at-the-top
  • On a phone every centered dialog moves up while the on-screen keyboard is open, whatever its placement: its top edge goes where the phone's top bar ends (--header-height below the top of what is visible, under the status bar), it ends at least 16px above the keyboard, and it goes back to the middle when the keyboard closes. While lifted the content carries data-soft-keyboard. A phone sheet doesn't move; it keeps its own keyboard box.
    • Why: a centered dialog covered by the keyboard is always wrong, its field or its buttons out of sight, so this is platform behavior and no app opts in (centered unless the keyboard is open). slock did it with its own narrow="top"; that maps to the default now.
    • Affects: every centered DialogContent below 768px, only while a text field in it has focus and the visible area is over 100px shorter than the window; at rest nothing changes. A DialogSheetContent's keyboard box now reads the keyboard through the same check, once a frame: a focused checkbox, radio or button no longer counts as typing. An app that lifted its dialogs itself (slock's narrow="top") can drop that code.
    • Docs: https://raft-design.botiverse.build/components/dialog/#the-keyboard
  • SelectionToolbar (from @botiverse/raft-ui/wip): the floating toolbar for selected items (messages, tasks), in the BatchBar style. SelectionToolbarDock floats it 12px above the bottom (plus the safe area) and 20px from the sides; SelectionToolbarCount (with the number in SelectionToolbarCountValue, Space Mono), SelectionToolbarHint, SelectionToolbarActions with SelectionToolbarAction (secondary, menu, moreItem), SelectionToolbarMore with SelectionToolbarMoreItems in its menu, SelectionToolbarItem for another control such as a select-all checkbox, and SelectionToolbarClose. A floating panel's frame (line-seam ring, shadow-float) as tall as a head: 44px with md buttons 4px apart with a mouse, 56px with 44px bar buttons side by side showing their icons alone by touch. It is a Base UI Toolbar (one Tab stop, arrow keys inside) and never wraps: when its row doesn't fit the width it floats in, measured, the hint, the secondary actions, the labels (the first action's last) and then the other actions give way, the last first; the count and × stay.
  • FitToolbar (from @botiverse/raft-ui/wip): a Base UI Toolbar whose items give way in named steps as the region it sits in narrows: label (to an icon), more (into More), collapse (a group to one button) and wrap (a group to a line of its own, with wrap; groups with the same wrapLine share one, and a wrapped group gets back what its items gave before it wrapped). Items declare their steps and order with useFitItem, or are a FitToolbarButton; a FitToolbarGroup overflow="scroll" scrolls sideways instead, its data-active items kept in view; groups are FitToolbarGroup (firstLine, wrapOrder, wrapLine, collapsed, collapseOrder); More takes useFitMore and lists FitToolbarMoreItems. It measures its own region's width, never the window's, again when its content changes on its own, and writes each step as data-fit-<step>. A SegmentedControl inside it follows its label step; its own iconsOnlyBelow is off there.
    • Why: one measured engine for every toolbar that has to give way (responsive.md "measure the content rather than guess a width"), used by SelectionToolbar now and meant for the list toolbars (Tasks, Members and the like), instead of a breakpoint guess or a hook per app. Its step names and API stay in wip until those toolbars have confirmed them.
    • Docs: https://raft-design.botiverse.build/components/fit-toolbar/

Changed

  • DialogSheetContent, DialogCommit and DialogSheetBack are stable: import them, and their props types, from @botiverse/raft-ui. @botiverse/raft-ui/wip no longer exports them.
    • Why: slock is moving its own dialogs, its phone sheets among them, onto raft-ui, and a product builds on the stable entry.
    • Affects: an import from @botiverse/raft-ui/wip fails; import from @botiverse/raft-ui instead. No app imported them from /wip (slock draws its sheets itself today), and the docs' examples have moved.
    • Docs: https://raft-design.botiverse.build/components/dialog/#making-a-dialog-a-sheet

Fixed

  • A label/value list puts its labels above when a chip or a long word of a wrapping value can't fit beside its label: DescriptionList direction="horizontal" and MessageActionCard's properties now also stack when one chip of a value that wraps either way (a row of chips wider than the list) is wider than the value column but no wider than the list, and likewise when a long word in such a value (an ID, a commit SHA, a URL) is: beside the label the chip was cut and the word ran past the value column. A word set to overflow-wrap: anywhere breaks where it must, and doesn't decide. There is no new prop.
    • Why: the one-line rule let a row of chips wider than the list stay beside its labels, where one long chip was cut off with no way to read it (the Computer page's Detected Runtimes chip).
    • Affects: lists whose value wraps either way and holds a chip or a long word wider than the value column now stack instead of staying beside their labels (slock's Computer page among them). Such a word used to run past the value column in DescriptionList and break mid-word in MessageActionCard properties; it now reads whole on its own line. Every other list lays out as before; the extra measurement runs only for values wider than the list.
    • Docs: https://raft-design.botiverse.build/components/description-list/#labels-go-above-only-when-a-value-doesnt-fit
  • The server tab's popover keeps one whole server row and opens on the current server: MobileNavServerPopoverList is never shorter than one two-line row. Where the footer actions and the pages would leave it less inside 60% of the screen, MobileNavServerPopoverContent grows past 60% as far as that row needs; where the screen is too short even for that, the whole popover scrolls, the footer and the pages with it, in a ScrollArea. On open the list scrolls, with no animation, to the row with aria-current="true", and focus goes to that row (a touch still focuses the popover itself), so focus no longer scrolls the list back to the top.
    • Why: with 5 pages in the grid, a 360dp phone squeezed the list until the current server was half hidden, and the list always opened at the top.
    • Affects: every MobileNavServerPopoverContent. A popover that fit before is unchanged except that it opens scrolled to the current server; one whose list was squeezed below a row is now taller than 60%, or scrolls as a whole. Opening from a mouse or keyboard focuses the current server's row instead of the first row; pass initialFocus to choose otherwise. The popover's parts now sit in a ScrollArea (data-slot="mobile-nav-server-popover-scroll") inside the popup, so a selector for a direct child of mobile-nav-server-popover-content no longer matches them. Mark the current server's row with aria-current="true" for the scroll and the focus to find it.
    • Docs: https://raft-design.botiverse.build/components/mobile-nav/#the-server-tab
  • A settings row's switch centers on its text, not on the SaveStatus line under it: in a ListRow variant="plain" whose ListRowBody ends with a SaveStatus, both ends (the switch, value, chevron, checkbox, radio or button, and a leading icon, avatar or tile) center on the title and description. The row moves the line's reserved space (4px and one footnote line) into its bottom padding, so its height is unchanged and nothing moves when "Saved" or a one-line error appears. There is no new prop.
    • Why: the ends centered on the whole body, the empty reserved line included, so the switch sat visibly below the text (slock's Administration › Hide #all channel).
    • Affects: in such rows the ends move up by half the reserved line (11px). A row without a SaveStatus is unchanged. An error that wraps still grows the row, and the ends move down by half of each extra line. Beside a title alone on a phone, the 30px switch keeps 12px above it, so that row is 76px instead of 70px. A local wrapper that put an invisible line under the switch to compensate (slock's) now lifts it too far: remove it.
    • Docs: https://raft-design.botiverse.build/components/list-row/#anatomy, https://raft-design.botiverse.build/components/save-status/#behavior

0.82.0 (2026-11-09)

Changed

  • OtterIndicator uses Ottie's approved four poses: relaxed side-lying, quiet typing, a puzzled head tilt with a question mark, and one celebratory hop. The SVG props and ref remain supported. It pauses outside the viewport and in hidden documents; reduced motion shows a still. The HTML art layer sizes from the SVG box so Safari/WebKit scales it correctly at 40px and larger.
    • Why: the previous unrelated otter drawing and sleeping wait pose did not match Ottie or the recent-activity card.
    • Affects: consumers of OtterIndicator, including Raft's recent-activity card. Artwork loads as separate transparent WebP files only for a displayed status; there is no frame timer or per-frame React update.
    • Docs: https://raft-design.botiverse.build/components/steps/#ottie-illustration

Breaking

  • ComposerDropOverlayPrompt takes its text as children, which is required: the icon cluster stays, and the text under it is what you pass. It no longer falls back to the built-in "Drop files to attach", and children no longer replace the icons.
    • Why: the component library carried product copy in English that no app could translate.
    • Affects: <ComposerDropOverlayPrompt /> no longer type-checks; pass the text, e.g. <ComposerDropOverlayPrompt>{t("dropToAttach")}</ComposerDropOverlayPrompt>. A caller that passed children for a label without icons uses ComposerDropOverlayLabel instead.
    • Docs: https://raft-design.botiverse.build/components/composer/

Added

  • Data parts beside the explanation parts: three additive parts, so data no longer has to sit in a slot meant for a sentence that explains. Nothing existing changes: no prop, part or style is renamed or restyled.
    • ListRowSubtitle: data about a row's subject under its title (an agent's description, a channel's topic, an app's byline), in the title's ink at 400 and text-footnote. It follows the row's tone and disabled state with the title. ListRowDescription stays the place for a setting's consequence.
    • ChoiceList items take meta: lines of data people compare across rows (a quota, free disk, a count, a status), in text-footnote in foreground-muted as the description is, after the description lines. A row still draws at most two lines in all, the description's first; a meta line has a description line's height, so moving a line from one to the other doesn't move the rows. Radios and checkboxes are described by the description lines, then the meta lines.
    • MessageActionCardHeaderMeta: the time on a resolved card, in Space Mono at the hint tier: a line of its own under the title, or the end of the MessageActionCardHeaderDescription line it is placed in ("Approved by Martin · 10:51").
    • Why: grey text is to mean one of two things, a sentence written to explain or a component's own notes on its data (times, counts, IDs), and data people read as the content uses the body ink. Apps had put data in the explanation parts (ListRowDescription, a ChoiceList item's description, MessageActionCardHeaderDescription) because there was nowhere else for it; these parts give it a place before those parts are kept for explanations.
    • Affects: nothing until an app uses them. Data moved into ListRowSubtitle gets darker and a size smaller than in ListRowDescription; data moved into a ChoiceList item's meta looks as it did in description; a time moved into MessageActionCardHeaderMeta is set in Space Mono at the hint tier.
    • Docs: https://raft-design.botiverse.build/components/list-row/#data-and-explanation, https://raft-design.botiverse.build/components/choice-list/#content, https://raft-design.botiverse.build/components/message-action-card/#anatomy

Fixed

  • A Resizable seam's handle no longer covers the scrollbar beside it: the 12px handle (24px under a coarse pointer) lies over the start of the panel after the boundary instead of straddling it; its hover and focus line stays on the seam.

    • Why: a panel's scrollbar runs along its end edge, the seam's other side, and the centered handle covered its last 6px, where the thumb is, so dragging the thumb resized the panel instead (Raft app's Activity list).
    • Affects: the handle now takes the pointer over the first 12px of the next panel (24px by touch) instead of 6px on each side. Nothing else moves.
    • Docs: https://raft-design.botiverse.build/components/resizable/#behavior
  • ScrollArea measures in the frame after mounting, not while React commits: where a ResizeObserver watches the sizes, the first read of the container's clientHeight and scrollHeight waits for the next animation frame, as every later one already did. Without a ResizeObserver it still measures at once.

    • Why: the read in the commit forced a layout of the whole page each time an area mounted. Entering a server in the Raft app mounts the sidebar, the message list and the panels at once, and those reads took about 120ms of layout.
    • Affects: the frame runs before the paint that first shows the area, so nothing on screen changes. Until it runs, an overflowing area has no thumb length and no overflow classes, and onEdgeChange is first called in it: code that reads them in a layout effect right after mounting finds them unset, and can call actionsRef.measure for a measure at once.
    • Docs: https://raft-design.botiverse.build/components/scroll-area/

0.81.0 (2026-11-09)

Fixed

  • ScrollArea's scrollbars paint over everything inside the area: the gutters layer is at the highest z-index, and the area's root is a stacking context of its own (isolation: isolate), so a sticky heading or any other positioned content inside the area, whatever its z-index, no longer covers the thumb, with sticky and absolute gutters alike, and the scrollbars still never paint over anything outside the area.
    • Why: in the Raft app's activity list each day's sticky heading (an opaque background at z-15) painted over the thumb as it slid by, cutting it into pieces, while the gutters were at z-1. Starting the scrollbar below the stuck heading (railInset) fixed only the heading at the top, not the ones scrolling past.
    • Affects: content inside a ScrollArea can no longer cover anything outside it, whatever its z-index: a popup, a menu or a dragged copy rendered in place inside an area stacks with the area. Render those through a portal (raft-ui's overlays do, and now DragLift by default, below). The scrollbars' strip at the edge now takes the pointer over positioned content there too, as it already did over the rest. How the scrollbars look is unchanged.
    • Docs: https://raft-design.botiverse.build/components/scroll-area/
  • DragLift renders the copy in document.body by default: the lifted copy goes through a portal to the body unless container names another element, or null keeps it in place; the portal keeps the theme scope it was rendered in. TaskDragOverlay follows, as SortableTabsList and SortableComposerAttachments already did.
    • Why: in place inside a ScrollArea, now a stacking context, the copy couldn't rise above anything outside the area. On the Raft app's Tasks board a dragged card was cut off by the left rail and covered by the top bar (TaskDragOverlay with no container).
    • Affects: a DragLift or TaskDragOverlay without container now renders its copy in the body: CSS that styles the copy through an ancestor of the item (.board [data-slot=drag-lift]) no longer reaches it, and neither do CSS variables set on that ancestor; style the copy through its own children. The writing direction (dir) is carried over, below. Pass container={null} for the old in-place copy. How the copy looks is unchanged.
    • Docs: https://raft-design.botiverse.build/components/drag/#anatomy
  • In a right-to-left layout the dragged copy keeps its direction: DragLift's portal carries the item's computed writing direction (dir) to the body, as it carries the theme scope.
    • Why: in the body, the copy took its direction from <html>, so an item dragged out of a right-to-left container came out left-to-right.
    • Affects: a copy of an item in a dir="rtl" container now lays out right-to-left. Nothing else around the item reaches the copy (font, colour, a container's custom properties); the docs now say so.
    • Docs: https://raft-design.botiverse.build/components/drag/#anatomy
  • ChoiceList's row actions keep clear of the scrollbar: in a list that scrolls (search on, or fill), a row's action sits 12px from the end instead of 4px, and rows with an action keep their text 52px from the end instead of 44px.
    • Why: the scrollbar's 16px strip at the end of a ScrollArea now paints over and takes the pointer from everything in the area; the last 8px of each 32px action lay under it, so a click there paged the list instead.
    • Affects: in a scrolling ChoiceList, each action moves 8px toward the start, and a long name or description cuts off 8px sooner. A list that doesn't scroll is unchanged.
    • Docs: https://raft-design.botiverse.build/components/choice-list/#behavior

0.80.0 (2026-11-09)

Changed

  • A panel head is one line from 768px by touch too: PanelHeaderContent puts the PanelMeta after the title on its line from 768px at any pointer, where it used to do so only with a mouse; a phone still puts it under the title.
    • Why: a touch tablet stacked the title and its count while a laptop showed them on one line, so the same page looked different on the two, and the Raft app had started overriding the layout page by page.
    • Affects: on a touch screen 768px or wider, every panel head (Tasks, Artifacts, a thread, a profile, a channel) shows its subtitle on the title's line, and the subtitle truncates first. Head heights don't change (56px by touch). An app that stacked them itself can drop its override.
    • Docs: https://raft-design.botiverse.build/components/panel/#anatomy

Fixed

  • A gallery row of three images sits three across: MessageImageGalleryRow with three images (count: 3) lays them out three across at every width, on the shorter rows already sized for three, where it used to put two over one.
    • Why: six images showed as rows of 2, 1, 2, 1 and read as an F.
    • Affects: three, six and nine images in a message now show three to a row; each image is narrower (about 117px instead of 178px in a 360px gallery), so a wide screenshot is cropped more in the thumbnail. Opening an image still shows all of it.
    • Docs: https://raft-design.botiverse.build/components/message-attachment/#rules

0.79.0 (2026-11-09)

Changed

  • A sidebar row out of view isn't laid out or painted: SidebarItem sets content-visibility: auto, with one line (1lh) as its content height until it has been laid out (the last laid-out height after that, for a row that wraps) and a 2px overflow-clip-margin.
    • Why: a server with hundreds of channels relaid every row whenever the window's width changed, about 115ms per relayout at 300 channels. On a 300-row sidebar, a width sweep's layout time drops from 95–122ms to 29–33ms (70 width changes, 3 runs each).
    • Affects: nothing visible. The selected row's outer sticker edge, which reaches 1.5px past the row, still paints. A browser without overflow-clip-margin keeps laying every row out. Something an app draws past a row's box by more than 2px gets clipped.
    • Docs: https://raft-design.botiverse.build/components/sidebar/#behavior

0.78.0 (2026-11-08)

Changed

  • raft-ui/prefer-scroll-area also reads class lists kept in a const and a className property: a native-scrolling class in a const of the same file is reported when the const is used as a class there (const log = "max-h-64 overflow-auto", then className={log} or cn(log)), wherever in the file it is declared; and so is one in a className, class or *ClassName property, such as a recipe slot's option (content({ className: "overflow-y-auto" })). The escape comment works on them as before. (#1078)
    • Why: apps keep many class lists in consts; Stamp's port of the rule found four native scrollers this way that the rule missed.
    • Affects: upgrading can report scrollers the rule didn't see before; fix them, or mark an allowed exception. The Raft app gets one, the onboarding form panel (ONBOARDING_CREATE_FORM_PANEL_CLASS); its desktop app none. A string in a const that is never used as a class is still not reported.
    • Docs: https://raft-design.botiverse.build/about/use-raft-ui/#lint-rules

0.77.1 (2026-11-08)

Fixed

  • The lint plugin's recommended config keeps the app's own Oxlint plugins: recommended.json sets "plugins": []. (#1076)
    • Why: an extended config without plugins counts as Oxlint's default plugins, so extending it turned unicorn back on in an app that lists its plugins without it (36 new warnings in slock). Same on Oxlint 1.85, 1.87 and 1.91.
    • Affects: an app that extends recommended.json keeps exactly the plugins it lists; an app that lists none keeps Oxlint's defaults, as before. The ESLint config is unchanged.
    • Docs: https://raft-design.botiverse.build/about/use-raft-ui/#lint-rules

0.77.0 (2026-11-08)

Changed

  • Select, Combobox and ComboboxSelect lists scroll in a ScrollArea: each list is a useScrollAreaContainer container with absolute gutters, inside a frame (data-slot="select-list-frame", combobox-list-frame) that holds the overlay scrollbar. The list is never a Tab stop: focus stays in the input or on the options. (#1074)
    • Why: they were the last native-scrolling exception for Base UI lists; on Windows they drew a classic scrollbar with arrows that took width from the options.
    • Affects: the scrollbar is the thin overlay thumb on every platform. SelectList / ComboboxList render a frame <div> around the list element; ref, className, style and the other props still go to the list. CSS or tests that expected the list to be the popup's direct child, or waited on document.getAnimations() to finish (the thumb runs on a scroll timeline), need updating.
    • Docs: https://raft-design.botiverse.build/components/scroll-area/

0.76.1 (2026-11-08)

Fixed

  • Select and Combobox lists never scroll sideways: a Select list reaches into the popup's 4px inset and pads it back, so a SelectSeparator meets the popup's edge and stays inside the list, and Select and Combobox lists set overflow-x-hidden. (#1070)
    • Why: the separator reached 4px past each side of the list, which is the scroller, so the list scrolled sideways by 8px, and a classic scrollbar (Windows) drew a horizontal bar under the runtimes list. The list also clipped the line 4px short of the popup's edge.
    • Affects: every Select with a separator, such as the runtime picker's Show installed only row: no sideways scroll, and the line now runs to the popup's border. Options keep their inset. A list action keeps its highlight after it adds items above it, as before.
    • Docs: https://raft-design.botiverse.build/components/scroll-area/

0.76.0 (2026-11-08)

Changed

  • VirtualList writes no --virtual-list-width: the list no longer writes its width as a CSS variable on its scroller, and refreshListWidth() on its imperative API does nothing (deprecated; it will be removed). (#1068)
    • Why: the variable inherits, so a write on the scroller restyled every row under it, on every frame of a window resize, and nothing read it.
    • Affects: CSS that read var(--virtual-list-width) gets nothing; read the width with the list's onResize or a ResizeObserver. Neither raft-ui nor the Raft app read it.
    • Docs: https://raft-design.botiverse.build/components/virtual-list/

Fixed

  • Resizing a window no longer restyles everything inside a ScrollArea: the sizes ScrollArea measures are no longer written on the root. With sticky gutters, the viewport's height (--r-scroll-area-viewport-height) and the container's padding (--r-scroll-area-padding-top, -left and -right) go on the gutters layer, and with fade the viewport's height and width (--r-scroll-area-viewport-width) on the content its mask is on; with absolute gutters, which read none of them, nothing is written. They are registered not to inherit (@property). A message timeline (useScrollAreaContainer on a VirtualList) restyled every message on every frame of a window drag. (#1068)
    • Why: in the app, dragging the window's edge took 61-73ms a frame, 75-85% of it restyling, because the viewport's size changed on the root of each column's message list.
    • Affects: dragging the window's edge in the Raft app (a channel with a thread open, 1600 to 900 to 1600px wide): style recalculation 2.7s to 1.5s and the median step 52 to 27ms with this release, 0.3s and 17ms together with the app's own fix. CSS that read those variables inside an area now sees their initial values (100% and 0px); they were internal, and neither raft-ui nor the Raft app read them. How the scrollbars and fade look is unchanged.
    • Docs: https://raft-design.botiverse.build/components/scroll-area/

0.75.0 (2026-11-08)

Changed

  • A horizontal DescriptionList puts its labels above their values only when a value doesn't fit: the list measures its labels and values and keeps each label beside its value while every value fits on one line there; once one doesn't (but would on a line of its own), or the value column would be narrower than 160px, the whole list stacks. It no longer stacks below a fixed 24rem (384px), and is no longer a size container. MessageActionCard's properties follow the same rule. (#1065)

Fixed

  • Chinese text on Linux uses Noto Sans CJK: the Simplified Chinese fallback lists Noto Sans CJK SC, the name Linux distributions install it under, after Noto Sans SC, as the Traditional Chinese list already did with Noto Sans CJK TC. (#1063)
    • Why: on a Linux machine with only the distribution's CJK font, Chinese and its full-width punctuation fell to the system's last-resort face, whose colon sits centered with space around it (seen in the read line's screenshots from CI).
    • Affects: Linux desktops and CI screenshots; Mac and Windows already matched PingFang SC or Microsoft YaHei first.
    • Docs: https://raft-design.botiverse.build/foundations/typography/

0.74.0 (2026-11-08)

Added

  • Lint rules for apps: @botiverse/raft-ui/lint is a lint plugin with the design system's rules for app code, in the ESLint plugin format, which Oxlint loads as a JS plugin. Its first rule, raft-ui/prefer-scroll-area, reports a class or an inline style that makes an element scroll natively (overflow-auto, overflow-scroll and their -x- and -y- forms, with any variant) where an app writes it, unless a // raft-ui: native-scroll <reason> comment on the line above says which exception it is. The comment covers the string on the next line only, not the rest of a multi-line cn(...), so a class added to the list later is still checked. Turn on every rule at once by extending ./node_modules/@botiverse/raft-ui/dist/lint/recommended.json from .oxlintrc.json (or configs.recommended in an ESLint flat config); a rule added later reaches the app with the upgrade. (#1058, #1059)
    • Why: the design system's rules should reach the apps, and the agents working in them, with raft-ui itself rather than through each repository's instructions; every region that scrolls is a ScrollArea, and nothing outside raft-ui checked it.
    • Affects: nothing until an app turns the plugin on. Then each native scroller in its code is reported: make it a ScrollArea (or PanelScrollViewport in a Panel), or add the comment with its reason.
    • Docs: https://raft-design.botiverse.build/about/use-raft-ui/#lint-rules

Changed

  • useScrollAreaContainer gives its container the overflow: the classes in containerProps.className make the element scroll in the orientation, as ScrollArea's own container does (vertical: overflow-y: auto and overflow-x: hidden; horizontal: the other way round; both: auto), so the element needs no overflow class of its own and nothing for raft-ui/prefer-scroll-area to report. ComposerInput and ActivityInboxViewport no longer carry overflow-y-auto. (#1059)
    • Why: the hook asked the app to add a native overflow class, which the new lint rule reports.
    • Affects: apps can drop the overflow class from a useScrollAreaContainer element. One they keep still wins (the hook's rule has no specificity), so nothing breaks. A vertical container that had only overflow-y-auto now clips sideways (overflow-x: hidden) instead of scrolling sideways with no scrollbar; pass orientation="both" for content that scrolls both ways.
    • Docs: https://raft-design.botiverse.build/components/scroll-area/#your-own-container

Design System

  • A thread's timeline: conversation.md lists what a thread's timeline shows (the message it started from and every message a person wrote), when it appears, the rail for a mouse, the Timeline entry in the thread's More menu on every device, a half-height sheet on a phone and a popover wider, and how its items are marked. No raft-ui component changed. (#1057)

0.73.0 (2026-11-08)

Changed

  • Every region that scrolls is a ScrollArea: PanelScrollViewport, ActivityInboxViewport, SearchShellViewport, NotificationCenterScroller, FilesViewport, TasksPanelViewport, ChoiceList's scroller, MobileNavServerPopoverList, ComposerSuggestionList, AnnouncementDialogBody, MessageActionCardScopeListViewport and DialogNav show ScrollArea's overlay scrollbar instead of the platform's. Native scrolling stays only in the places scroll-area.md lists, each with its reason, and a test fails on any other. (#1055)
    • Why: one look for scrollbars on every platform and theme, and a scrollbar that takes no room from a list's 8px inset.
    • Affects: keyboard order: a PanelScrollViewport whose content overflows is now a Tab stop of its own, before the controls inside it (a scrolling region must be reachable by keyboard). Check tests that depend on Tab order when upgrading. PanelScrollViewport's data-slot (panel-scroll-viewport) replaces ScrollArea's own scroll-area on that element, so a selector for [data-slot=scroll-area] doesn't match it. On a phone MessageList keeps its native scroller. ChoiceList, DialogNav, the mobile server list and the composer suggestions keep their scroller out of the Tab order (tabIndex={-1}), since their rows take focus. scrollbar-list and useScrollbarSize are now only for a native scroller that can't be a ScrollArea.
    • Docs: https://raft-design.botiverse.build/components/scroll-area/

Fixed

  • FilterChipRemove: on a touch screen its 44px tap area no longer reaches over the chip's label. It grows 10px up and down, 6px toward the label (exactly to its edge) and 14px outward, so a tap on the label's end no longer clears the filter. (#1054)
  • ArtifactIcon is pinned to Lucide's file-code by a test, so a Lucide upgrade that changes that icon fails instead of letting the rail drift from the Artifact chip. (#1054)

0.72.0 (2026-11-07)

Changed

  • ArtifactIcon is Lucide's file-code, a page with a folded corner and < >: the same icon as an HTML Artifact's link chip in messages, so the rail and the chips use one icon. FollowArtifactIcon and UnfollowArtifactIcon draw that page with the plus or minus at the bottom-right, at least 1.6 units clear of the page. (#1052)
    • Why: the old page-with-lines icon was plain and hard to tell apart, and after several rounds of proposals the chip's icon was chosen.
    • Affects: every place that shows these three icons (the Artifacts rail item, Artifact menus, the mobile server popover). Names, props and the small heavier minus are unchanged.
    • Docs: https://raft-design.botiverse.build/components/icons/

Design System

0.71.0 (2026-11-06)

Design System

  • Popups that don't hold focus close when focus tabs out of them, and focus continues from the element that opened them, never left on an invisible element or the page's start while the popup stays open. It applies to popups an app draws itself too. No raft-ui component changed in this release. (#1044)

Breaking Changes

  • ModeBar removed, with its parts (ModeBarContent, ModeBarTitle, ModeBarDescription, ModeBarAction) and their 5 types, from @botiverse/raft-ui and @botiverse/raft-ui/wip. (#1047)
    • Why: no product uses it any more. The Raft web app dropped it, and its one named use, commenting on an Artifact, moved to the viewer's bottom bar (#991, #1045).
    • Migrate: while people comment on an Artifact, show the bottom bar along the bottom of the viewer, with Pick elements, Undo and Redo, Discard and Send N.
    • Docs: https://raft-design.botiverse.build/patterns/comments/#commenting-on-an-artifact

Added

  • FieldLabel optional takes the marker's text as well as true: optional="(选填)" writes it in Chinese. A marker that opens with a full-width bracket, such as (, 【 or 「, gets no margin before it; "(optional)" and any other marker keep the 4px. (#1045)
    • Why: field.md and forms.md (#991) say a full-width (选填) follows the label with no margin, because its bracket already carries its space, but FieldLabel always put 4px before the marker and wrote it only in English.
    • Affects: nothing for optional and optional={true}, which render "(optional)" 4px after the label as before.
    • Docs: https://raft-design.botiverse.build/components/field/#content

0.70.0 (2026-11-06)

Fixed

  • PickerTriggerButton and SegmentedControlItem: on a phone and a touch screen they still look 32px but take a 44px tap area, as a Button at md does, through a transparent ::after 6px past the box above and below. A segment's reaches up and down only (3px past its track), so the tap areas of segments 3px apart don't overlap; while the segments scroll inside the track (data-overflowing), the track scrolls sideways only and the tap area stops at its edge. (#1041)
    • Why: they were the two controls of a toolbar or filter row whose tap area stayed 32px by touch, beside an md Button and an md InputGroup that reach 44px.
    • Affects: touch screens, and windows narrower than 768px; with a mouse on a desktop they are the control height, 34px, and take no taps past the box, as before. Keep 6px between them and the controls above and below, as with a Button at md.
    • Docs: https://raft-design.botiverse.build/foundations/spacing/#heights

0.69.0 (2026-11-06)

Added

  • InputGroup size: md for a field in a toolbar or a filter row, lg (the default, unchanged) for a field on its own. At md the field is the row's button height: 32px on a phone and a touch screen, like the md Buttons and PickerTriggerButtons beside it, with its input taking a 44px tap area, 6px past the box above and below; with a mouse it stays the control height, 34px. The root carries data-size. A Button in an md field's end addon is 20px by touch (22px with a mouse), 6px inside the box. (#1039)
    • Why: on a tablet held landscape, a 44px search field beside 32px filter triggers and a view switch read taller and heavier than the rest of the filter row; a field in a row now takes the row's button height.
    • Affects: nothing until a field opts in with size="md"; every InputGroup without it renders as before.
    • Docs: https://raft-design.botiverse.build/components/input-group/#sizes

0.68.0 (2026-11-06)

Changed

  • MobileNavServerPopoverDestinations (@botiverse/raft-ui/wip): more than 4 destinations take 3 columns, rows of 3 with the last row from the left (data-layout="grid"); each button keeps its height, icon, label size and hit area. 4 or fewer stay in one row (data-layout="row"). The count is of the element children, looking inside fragments. (#1037)
    • Why: a server tab that holds Artifacts, Members, Computers, Apps and Settings put five in a row, which truncated labels such as "Computadoras" at 360px; a third of the popover keeps them whole in every language.
    • Affects: a server tab popover with more than 4 destinations; up to 4 are unchanged.
    • Docs: https://raft-design.botiverse.build/components/mobile-nav/#the-server-tab

0.67.0 (2026-11-06)

Added

  • KbdButton, KbdButtonPlaceholder and KbdButtonCaret (@botiverse/raft-ui/wip): the button around a shortcut people can change, with a KbdShortcut at md in it. At rest it is the caps alone, its 32px box 4px around them and taken back by its margin, so the caps sit where a read-only shortcut sits; hover lays the medium tier and a hairline, keyboard focus the ring. recording makes it a field the control height, with the focus ring after keyboard input (data-recording), for the held keys, a prompt and a caret; invalid tints the caps and the field's border danger (data-invalid). Name it with aria-label and pass aria-keyshortcuts. (#1030)

0.66.0 (2026-11-05)

Added

  • SidebarSectionEndChevron, and chevronAtEnd on SidebarSectionHeader: the section's chevron as the last of its controls with a mouse on a desktop, as sidebar.md has described since 0.65.0. It is a second trigger of the section (it toggles it and turns with it), out of the tab order and the accessibility tree, and a press leaves focus where it was; the title stays the one toggle for the keyboard and a screen reader. chevronAtEnd only hides the chevron before the title with a mouse; on a touch screen it shows as before.
  • WebTopBarRoot, WebTopBarStart, WebTopBarCenter and WebTopBarEnd (@botiverse/raft-ui/wip): the web top bar (page-structure.md, "The web top bar") as a component: 44px with a mouse and 48px on touch (--frame-item-height + 2 × --header-air), the frame surface with its seam inside that height, its start on the rail's items, its center on the window and its end on the column margin. (#1021)
    • Why: the bar was hand-built in the app-shell composition.
    • Affects: nothing until an app moves its bar onto it.

0.65.0 (2026-11-05)

Added

  • MessageItemTrailing (@botiverse/raft-ui/wip): a slot that ends a message's last line, the body's last child, such as the faces of the agents that read it. It takes no column: the last line keeps room for it and the text wraps under it only when that line is full; under a code block, a table or an image it has a line of its own.

Changed

  • Size chain tokens: control, row, option and header heights are now one chain of variables in tokens.json and foundation.css, built on the existing --control-height, --control-hit-inset and --control-embedded-size; components read them instead of fixed sizes. New: --row-height, --option-height, --control-air, --field-gap, --header-air, --header-height, --header-height-short, --bar-button-size, --bar-button-radius, --frame-item-height, --switch-width, --switch-height, --settings-row-inset, --section-gap, --page-inset, --rail-width, --rail-item.
    • Why: the desktop sizing review (sizing option A) set one size per role; a component that hard-coded 32 or 56 drifted from the rest.
    • Affects: nothing visible on its own; #973 and #974 set the desktop and touch values.
    • Docs: https://raft-design.botiverse.build/foundations/spacing/
  • Desktop density (with a mouse from 768px; touch is unchanged): one 34px control height for buttons, fields, selects, tabs, menu items and rows; 44px heads (34 + 2 × 5); 28px bar buttons with a 44px hit area; content 16px from a surface's edges (--page-inset, --surface-inset), 12px under a head (--page-top); settings cards 20 inside, 16 apart; sidebar rows and titles on two axes (glyphs at 16, text at 40) with a section's chevron at the end of its header; quick reactions a control high; empty states 16 from their sides. Also visible with a mouse: the rail is 49px wide with 36px items (was 57 and 40; --rail-width-short, --rail-item-short); a Switch is 38 × 22 (was 50 × 30); an IconTile takes its corner by size (27 chip, 35 control, 51 container) and an interactive badge is 20px high with the sticker corner; the hover toolbar is 42px (34px buttons) and floats half its height above the row; the Lightbox head is the header height.
    • Why: the desktop sizing review; the rules are in design/foundations/desktop-density.md.
    • Affects: every desktop surface with a mouse. Apps that pad inside a raft-ui dialog, drawer or panel section with their own md: classes should drop them: the surface inset now replaces a caller's px-* again.
    • Migrate: read --surface-inset / --page-inset instead of px-5 for a surface's own padding; browser tests that measured 32px controls or 36px toolbars on a desktop now see 34 and 42.
    • New variables: --page-top, --rail-width-short, --rail-item-short (tokens); --surface-inset, --sidebar-glyph-axis, --sidebar-text-axis (styles.css, next to --column-margin).
    • Docs: https://raft-design.botiverse.build/foundations/desktop-density/
  • Touch density (a phone width, and a touch screen at any width): 44px controls with a 10px radius (--control-radius; below 768px a mouse gets it too), denser rich rows (56px Activity, Inbox and person rows), a small ComboboxSelect keeps 8; icon tiles by size on touch.

Fixed

  • ScrollArea and InboxItem: hover rules apply only with a pointer that can hover. On a touch screen the last thing tapped stays :hover, which left scrollbars shown, the thumb thick, a hidden gutter catching taps, and an Inbox row's action room open. (#1017)
    • Affects: touch screens only; mouse behavior is unchanged.
  • MessageActionCard: the agent's reason is an upright quote (Space Grotesk has no italic), and a long permission list caps at 136px so the cut runs through a line of text at either description length. (#1018)

0.64.0 (2026-11-05)

Added

  • ButtonSplit, ButtonSplitMain and ButtonSplitMenu (from @botiverse/raft-ui/wip): a primary or default Button with its ▾ menu, one shape in two parts. The parts touch and share one radius-control outline, the menu part's start border divides them, and each part hovers, presses, focuses and disables on its own; disabled on the group disables both. (#1009)
  • AppLinkCard and its parts (from @botiverse/raft-ui/wip): an app link's card drawn in the message itself, after the link's paragraph, where the app's answer lists one (protocol version 3: a card item with placement: "block" in items). The link is never replaced: it stays a chip when the answer lists inline, and the author's plain link when it doesn't. AppLinkCardHeader (with AppLinkCardIcon, AppLinkCardName and AppLinkCardHost) is Raft's row naming the app; AppLinkCardBody, AppLinkCardEyebrow, AppLinkCardTitle and AppLinkCardMeta are the item, as on the hover card, and the title holds a link that opens the item; AppLinkCardActions holds at most two of the app's buttons and ⋯ for the rest, where an Open link goes; AppLinkCardPlaceholder is the card's size while a cached answer loads. 400px wide, the message's width in the phone layout. Navigation's App links now say what each item of an answer draws, in the list's order, with nothing inferred. (#1010)

Fixed

  • CommentMarginItem: a CommentMargin renders its cards where the browser has no ResizeObserver (jsdom, some embedded webviews) instead of throwing. Each card keeps the height it had when placed. (#1007)
    • Why: the same gap #996 closed in useCommentMarginFits; slock's Artifact viewer works around it today by not drawing the margin there.
    • Affects: only environments without ResizeObserver; there a card that grows after it is placed doesn't push the cards below it.
    • Docs: https://raft-design.botiverse.build/components/comment/

0.63.1 (2026-11-05)

Fixed

  • Fonts: Cyrillic text no longer shows with its letters spaced apart. The sans and heading stacks try Arial and Helvetica Neue before the CJK faces. (#994)
    • Why: Space Grotesk has no Cyrillic, so Russian and Ukrainian fell through to the CJK faces, whose Cyrillic glyphs are fullwidth.
    • Affects: only characters Space Grotesk lacks (Cyrillic, Greek and a few symbols such as arrows), on every page language. Latin and CJK text keeps its faces.
    • Docs: https://raft-design.botiverse.build/foundations/typography/

0.63.0 (2026-11-05)

Added

  • InboxItemLine, InboxItemStatus, InboxItemListGroup and InboxItemListHeading (from @botiverse/raft-ui/wip): a compact InboxItem row with no trailing column, and a list of rows grouped by day. (#999, rules in #998)
    • Why: the trailing column held the time and task number on their own, wasting the row's width; the time now sits at the end of the first line and the preview takes the full width.
    • Affects: nothing until a row uses InboxItemLine. Rows built with InboxItemTrailing render the same DOM and classes as 0.62.0 (a parity test compares them).
    • Docs: https://raft-design.botiverse.build/components/inbox-item/
  • InboxItemTimestamp: reveal="hover", for an older row in a list with InboxItemLine: the time is hidden at rest and shows while the row is hovered or holds keyboard focus; never on touch. In a compact row's heading the time can carry a tooltip, and a click on it opens the item.
  • InboxItemSkeleton and its list: a line prop, so a loading row matches a row with InboxItemLine. Off by default.

0.62.0 (2026-11-05)

Changed

  • AppShellSidebarTrigger: its built-in labels are in sentence case: "Collapse sidebar" and "Expand sidebar", instead of "Collapse Sidebar" and "Expand Sidebar". (#995)
    • Why: every clickable label in the Raft Design System now uses sentence case, with capitals only for the first word and for names (decision 0044). The docs' rules and examples (buttons, menu items, tabs, links, tooltips, accessible names and the task status In progress) change with it.
    • Affects: the trigger's aria-label and title. A trigger with your own aria-label is unchanged.
    • Migrate: update tests and selectors that find the trigger by "Collapse Sidebar" or "Expand Sidebar" to the new names.
    • Docs: https://raft-design.botiverse.build/components/app-shell/

Fixed

  • useCommentMarginFits: answers false where the browser has no matchMedia or ResizeObserver (jsdom, some embedded webviews) instead of throwing during render. (#996)
    • Why: a viewer that used the hook crashed on its first render in jsdom, which failed every DOM test of slock's Artifact viewer.
    • Affects: only environments without those APIs; there the margin never fits and the viewer keeps its CommentMarkers.
    • Docs: https://raft-design.botiverse.build/components/comment/

0.61.0 (2026-11-04)

Changed

  • AvatarGroup and AvatarGroupButton: faces overlap directly, with no ring of the surface color between them; the seam sits on a face's straight edge, never in its corner. The "+N" chip has the faces' ink edge. (#988)
    • Why: the ring read as a gap between faces, and the app's own stacks (Working now, typing, thread followers) had none, so the same stack looked two ways.
    • Affects: every AvatarGroup, AvatarGroupButton and CommentMarker stack. Geometry is unchanged: 19px and 14px faces, 5px overlap (the smallest that clears the 4px corner), so fixed widths built on it still hold. Hover on AvatarGroupButton now fills only around the stack.
    • Docs: https://raft-design.botiverse.build/components/avatar/

Added

  • AvatarGroup: a render prop, so a stack can render inside a <p> or a button.

Removed

  • --avatar-group-surface: the variable that colored the ring. Setting it no longer has any effect; remove it.

0.60.3 (2026-11-04)

Fixed

  • Tooltip: a tooltip whose only child is a component (the reaction tooltip's names) no longer gets an empty text slot and 6px of extra space on the right. (#986)
    • Why: TooltipContent treats any component child as a possible leading icon, since lucide icons are components. With nothing after it, the names went into the icon slot, followed by an empty text slot and the 6px gap, so the padding read 10px on the left and 16px on the right.
    • Affects: a tooltip with a single component child now renders it as plain content. An icon followed by text, and a leading Kbd, are unchanged.
    • Docs: https://raft-design.botiverse.build/components/tooltip/

0.60.2 (2026-11-04)

Fixed

  • ScrollArea: no "ResizeObserver loop completed with undelivered notifications" error over a VirtualList. (#980)
    • Why: ScrollArea watched every child of its container, including VirtualList's items element, whose min-height VirtualList sets inside its own ResizeObserver callback. When a row in view grew (an image loaded, a reaction was added), that element resized inside the frame's deepest callback and Chromium logged the loop error.
    • Affects: over a VirtualList, ScrollArea now watches the rows' box inside the items element. A resize or child change is measured on the next animation frame, coalesced with a pending scroll frame; mounting and measure() / actionsRef.measure() still measure at once.
    • Docs: https://raft-design.botiverse.build/components/scroll-area/

0.60.1 (2026-11-04)

Fixed

  • DropdownMenuShortcut and ContextMenuShortcut: a menu shortcut draws no cap line. (#976)
    • Why: Kbd draws its border with an inset ring, and the menu shortcuts reset ring, which left a 1px inset box around every menu shortcut, light and dark.
    • Affects: only the two menu shortcut parts; Kbd, KbdShortcut, tooltips and the search trigger keep their caps.
    • Docs: https://raft-design.botiverse.build/components/kbd/

0.60.0 (2026-11-03)

Breaking Changes

  • ScrollArea: rebuilt on native scrolling. ScrollArea is now one element, the container that scrolls, with thin overlay scrollbars drawn over it the same way on every platform; wheel, trackpad, touch and keyboard scrolling stay the browser's own, the thumb can be dragged, and a press on the rail pages. (#952, #971)
    • Why: the Base UI parts split one scroller across a root, a viewport and scrollbar elements, so a list that owned its own scroller (a virtual list, a textarea) could not have the same scrollbar; the scrollbars are now a layer any scroller can bind.
    • Affects: ref, className, style, onScroll, render and the native props go on the element that scrolls. Options: orientation, trigger (hover / scroll / none), size, fade, overscroll, railInset, hideDelay, onEdgeChange, actionsRef (scrollToElement, measure), contentRef, contentClassName / contentStyle. Thumb thickness, colour, minimum length and the gap to the edge are --r-scroll-area-* variables. The styles ship in styles.css.
    • Migrate: remove ScrollAreaViewport, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaCorner and their props types; put what you passed to the viewport on ScrollArea itself. A container laid out as a grid, a flex row or a flex column with gap puts that layout on a wrapper (contentClassName), or binds the container with useScrollAreaContainer({ guttersPosition: "absolute" }).
    • Docs: https://raft-design.botiverse.build/components/scroll-area/
  • ComposerInput: the textarea gets ScrollArea's overlay scrollbar and is wrapped in a frame that holds it; it no longer takes render. (#952)
    • Why: past its maximum height the composer showed the platform's own scrollbar, unlike every other scroller.
    • Affects: ref, className and the native props still go to the textarea; wrapperClassName styles the frame; trigger, size, hideDelay and overscroll work as on ScrollArea.
    • Migrate: drop render; a style meant for the box around the textarea moves to wrapperClassName.
    • Docs: https://raft-design.botiverse.build/components/composer/

Added

  • useScrollAreaContainer and ScrollAreaGutters (+ types ScrollAreaContainer, ScrollAreaContainerOptions, ScrollAreaGuttersProps and the option types): ScrollArea's scrollbars for an element you render yourself, such as a list's own scroller. The hook returns containerProps to spread on your element, guttersProps for <ScrollAreaGutters>, frameProps with absolute gutters, and measure / scrollToElement / scrollable. ScrollAreaTextarea: a textarea with the same scrollbar. (#952)
    • Why: a virtual list or a textarea scrolls an element it renders itself, which a wrapping component can't replace.
    • Affects: sticky gutters (the default) are a zero-height first child of the container; absolute gutters lie over a frame you render around it.
    • Docs: https://raft-design.botiverse.build/components/scroll-area/
  • Kbd: a size prop, sm (the default, unchanged) or md, a 24px cap on a muted fill for a key that is the content, as in a list of shortcuts (+ type KbdSize). (#969)
    • Why: a shortcuts list drew its keys at the hint size, too small to read as the content of the row.
    • Affects: md is 24px high, at least 24px wide, rounded-sticker, bg-fill-muted, text-mono-code. Menu and search-trigger shortcuts keep sm (their props omit size).
    • Docs: https://raft-design.botiverse.build/components/kbd/

Changed

  • MessageList, SidebarContent, MarkdownTableScroll and the composer's attachment row: built on the new ScrollArea, so they show the same thin overlay scrollbar. MarkdownTableScroll takes ScrollArea's props except orientation. (#952)

Fixed

  • Tooltip: a shortcut written as a KbdGroup sits 6px after the text like a single Kbd, and its caps are no longer taken for the tooltip's leading icon. (#969)

0.59.2 (2026-11-03)

Fixed

  • Button: a Button narrower than its content truncates the content instead of overflowing its border. Its content wrapper (data-slot="button-content") can now shrink to the Button, so a label with truncate truncates and icons keep their size. (#967)
    • Why: a Button given min-w-0 max-w-full in a card or a row, holding a long label and an end icon, spilled its content out of its border on both sides, because the content wrapper kept its full width; the wrapper now has min-w-0 max-w-full.
    • Affects: only Buttons whose width is constrained below their content; a Button that sizes to its content renders as before.
    • Docs: https://raft-design.botiverse.build/components/button/#content

0.59.0 (2026-11-03)

Breaking Changes

  • TableHead / TableCell: align is now a variant, "left" (the default) or "right", instead of the native HTML align attribute. Pass the same value to a column's heading and its cells. (#959)
    • Why: a right-aligned column was set with a class on each cell, which can't move a sortable heading's label (a button filling the cell); one align value now aligns a heading, its cells and a sortable heading's label alike.
    • Affects: align="right" sets text-right instead of rendering the align attribute; align no longer takes "center", "justify" or "char", and is no longer passed to the th or td.
    • Migrate: replace align="center" / "justify" / "char" with a class such as text-center; a column aligned with a text-right class can pass align="right" to its heading and cells instead.
    • Docs: https://raft-design.botiverse.build/components/table/#content

Added

  • TableSortableHead (@botiverse/raft-ui/wip, experimental, + types TableSort, TableSortableHeadProps): a column heading that sorts the rows. Its label is a button filling the cell; it sets aria-sort on the heading cell and draws a 12px arrow on the sorted column only, after the label or before it with align="right". The sort stays in your state: pass sort and set it from onSortChange; firstSort (default "ascending") is the direction of a first click. (#959)
    • Why: the Sorting rule had no part, so each list had to build its heading's button, aria-sort, arrow and touch hit area itself.
    • Affects: every sortable heading keeps the 12px arrow's room, empty when unsorted, so columns don't move when the sort changes; on a touch screen the button's hit area is 44px high.
    • Docs: https://raft-design.botiverse.build/components/table/#sorting

0.58.1 (2026-11-03)

Fixed

  • Button: a loading button keeps keyboard focus. It is aria-disabled and stays in the tab order instead of becoming natively disabled; click, Enter, Space and form submit are blocked while it runs. A disabled button stays natively disabled. (#956)
    • Why: pressing a button that then turned busy dropped focus to the page, and it didn't come back when the request failed.
    • Affects: every component that passes loading to Button (DialogCommit, AlertDialog, Dialog, Drawer, Banner, SidebarSectionControl and others). A busy button now receives pointer events: the wait cursor shows, and a wrapping Tooltip opens on hover. Its look is unchanged.
    • Docs: https://raft-design.botiverse.build/components/button/

Docs

  • Table: a Sorting section on sorting rows from a column heading. (#954)

0.58.0 (2026-11-03)

Added

  • Tasks: a sixth status, backlog, in TaskStatusId and TASK_STATUS_IDS (now backlog, todo, in-progress, in-review, done, closed). It has no hue: a hollow pixel edged in line-strong (TaskStatusIcon, new TaskBacklogIcon), an untinted chip with a hairline outline (TaskChip, TaskStatusBadge, TaskCardStatus) and a hollow TimelineItem marker. (#932)
  • TaskCompletionControl (@botiverse/raft-ui/wip, experimental): the round control that leads a task row or card; marks a task Done, or reopens a done task to Todo. A native button with role="checkbox", 36px hit area with a mouse and 44px on touch, hover previews the check, disabled is aria-disabled only. (#932)

Changed

  • PreviewCard (item card): an item card (size="item") is 400px wide, its title up to 2 lines, and its buttons sit at the card's end; a profile card stays 300px. (#939)
    • Why: an app's item title, its state and two buttons didn't fit in 300px; titles broke over three lines and the buttons sat apart from where a Popover puts them.
    • Affects: new PreviewCardContent size ("profile" 300px, the default; "item" 400px). For every card with a PreviewCardBody, whether or not it passes size: PreviewCardTitle in the body line-clamp-3 → line-clamp-2; PreviewCardActions justify-end.
    • Migrate: pass size="item" on the PreviewCardContent of an item card; profile cards need nothing.
    • Docs: https://raft-design.botiverse.build/components/preview-card/
  • RaftLogo / RaftWordmark / RaftLogoLockup: in dark mode the outline is white and the insides ink, so the mark reads on dark surfaces. New raft-logo-white.svg and raft-mark-white.svg. Inside a .light scope (such as the pixel loader's fixed yellow tile) the ink outline stays in both modes. (#948)

Docs

  • One rule for round shapes (switches, radios and grab handles, plus the task completion control and the Android pull-to-refresh disc), and other consistency fixes from the zh sync. (#951)

0.57.2 (2026-11-02)

Fixed

  • DrawerContent: every bottom sheet (swipeDirection="down", the default) draws the grab handle, not only one with snapPoints. (#944)
    • Why: the rule is a grab handle on every bottom sheet; a content-sized sheet had none.
    • Affects: content-sized bottom sheets gain the handle and are 8px taller (the header's pt-2 under the handle); drawers from other edges without snap points are unchanged. The handle stays aria-hidden.
    • Docs: https://raft-design.botiverse.build/components/drawer/

0.57.1 (2026-11-02)

Fixed

  • SidebarSectionControls: a section's controls are always shown, with a mouse as on a touch screen. (#942)
    • Why: shown only on hover, they hid what the header can do, and a long title's room changed as the pointer passed.
    • Affects: the controls are no longer hidden at rest with a mouse; a collapsed section's attention mark sits before them in the row and hides only while the section is open.
    • Docs: https://raft-design.botiverse.build/components/sidebar/
  • Edge pull of a header's first and last control (sidebar section controls, panel and dialog heads, Lightbox actions): it holds while that control's menu is open. (#942)
    • Why: an open menu puts Base UI focus guards and a hidden portal span beside its trigger, so the trigger stopped being the last child, lost its 5px pull and moved left.
    • Affects: the pull now skips [data-base-ui-focus-guard] and [aria-owns] siblings.
    • Docs: https://raft-design.botiverse.build/foundations/alignment/

0.57.0 (2026-11-01)

Breaking Changes

  • Deprecated tokens removed: the 165 tokens of the deprecated group of tokens.json and their foundation.css declarations are gone. (#930)
    • Why: the aliases doubled the token list and let old names keep spreading; nothing in Raft's apps used them any more.
    • Affects: primary-*, accent-*, secondary-*, color-brutal-*-{n}, theme-shadow-*, theme-focus-ring, layer-panel, layer-inset, layer-canvas-muted, layer-hud-foreground, foreground-strong, foreground-icon, foreground-placeholder, line, line-muted, fill-pressed, fill-frame-pressed, fill-row-hover, fill-row-open, fill-message-hover, sticker-pressed.
    • Migrate: run node node_modules/@botiverse/raft-ui/codemods/token-names.mjs <dir> before upgrading; it rewrites each former name to the token it pointed at.
    • Docs: https://raft-design.botiverse.build/foundations/tokens/#former-names
  • Deprecated utilities removed: the color, shadow and overlay utilities built on those tokens. (#930)
    • Why: same as above; they only existed as aliases.
    • Affects: bg-primary-*, bg-accent-*, bg-secondary-*, bg-brutal-*, bg-soft-signal and the other color utilities of the removed names, shadow-raft-*, press-overlay, press-overlay-sticker, row-hover-overlay, row-open-overlay. bg-fill-row-hover stays for now.
    • Migrate: run the codemod above; use bg-fill-subtle for bg-fill-row-hover.
    • Docs: https://raft-design.botiverse.build/foundations/tokens/#former-names
  • FloatButton, FloatButtonGroup removed, with their types and components/float-button/float-button.css. (#930)
  • LiveAgentActivityBar and its parts (LiveAgentActivityBarAvatar, LiveAgentActivityBarContent, LiveAgentActivityBarRow, LiveAgentActivityBarStatus, LiveAgentActivityBarText) removed, with SidebarLiveActivity, the sidebar part that held it. (#930)
  • LegacyTaskPanel* removed: the 17 parts and their types. (#930)
  • MessageTextSelectionToolbar, MessageTextSelectionToolbarButton, MessageTextSelectionToolbarSeparator, createMessageTextSelectionAnchor and their 4 types removed. (#930)
  • CreateTaskIcon removed. (#930)
  • Meter low removed. (#930)

Fixed

  • SidebarSectionControl: on a touch screen the section controls stay 4px apart, as with a mouse. (#935)
    • Why: a 20px gap made the two controls read as separate buttons; their 44px-high hit areas now meet in the middle of the 4px gap instead, with no overlap and no dead strip.
    • Affects: touch gap 20px → 4px (gap-1); each hit area reaches 2px into the gap.
    • Docs: https://raft-design.botiverse.build/components/sidebar/

0.56.1 (2026-10-31)

Fixed

  • Sidebar section controls hold their place in the row while hidden, so a long section title truncates before them at rest and its count stays visible; with a mouse they only fade in on hover, focus or with their menu open, and nothing in the row moves. The attention mark sits over that reserved place and hides when the controls show; on a touch screen both show at rest, side by side. (#931)

0.56.0 (2026-10-31)

Changed

  • Sidebar section header: its controls rest in the title's hint color and turn body color only on hover, focus or with their menu open; the controls end on the header's line, and the title starts where the rows' content starts. (#922)

Fixed

  • Popups under window controls stay on their trigger. The frame insets (macOS traffic lights, caption buttons) are now a collision boundary instead of collision padding, so Base UI's shift limiter no longer pushes a popup with an arrow off its trigger: a top-bar tooltip in the installed web app on macOS sat about 69px right of its icon, 38px on Windows and Linux desktop. Popups portaled into a container of their own keep their padding and their clipping ancestors. Tooltip, Popover, PreviewCard, Select, menus, Combobox and NotificationCenter share one hook. (#927)
  • MessageItem's Saved marker is 24px with footnote text, like the reactions and badges beside it, so it no longer reads as a lighter grey. (#923)

Design System

0.55.0 (2026-10-31)

Added

  • MessageEmbed interactive: a card that opens something as a whole (an Artifact card whose title link covers it) hovers with the subtle tier and presses with the medium tier, like a file card. Off by default, so action cards, forwarded bundles and quoted previews built on MessageEmbed don't change. (#915)

Fixed

  • Sidebar section controls are 24px with a 14px icon again (they had grown to 28px with an 18px icon on 2026-10-18), and reach a 44px hit area on a touch screen through a transparent ::after. (#916)
  • SaveStatus draws its tick as circle-check at 12px, the success icon and size the icon rules give. (#914)

Design System

0.54.0 (2026-10-30)

Added

  • SaveStatus (wip, + SaveStatusSaved, SaveStatusError): the result line under a setting that applies at once. It always keeps one footnote line of height, so "Saved" appearing or going never resizes the card or moves a switch, and it sits 4px under a select, a segmented control or a settings row's description alike. (#906)

Design System

0.53.0 (2026-10-30)

Changed

  • ChatIcon is MessageIcon's plain bubble: the three dots inside are gone, so a message and a chat share one icon. ChatIcon stays exported as an alias; DirectMessageIcon, ThreadIcon, CommentIcon and FeedbackIcon keep their marks. (#901)

Design System

0.52.4 (2026-10-30)

Fixed

  • 0.52.3 carried unrelated class rewrites by accident; they are undone: 33 components had their classes rewritten into canonical Tailwind forms along with the disabled Select fix (for example the task chip's text-[12px] leading-4 became text-[12px]/4). Those files are back to 0.52.2 exactly; only the disabled Select fix from 0.52.3 remains. Skip 0.52.3 and upgrade to 0.52.4. (#897)

0.52.3 (2026-10-30)

Fixed

  • A disabled Select greys its placeholder and chevron: they now take foreground-disabled like the rest of a disabled field, whether the Select, its trigger, a Field or a native <fieldset> disables it, and also when the trigger is a PickerTriggerButton. Before, they kept the darker hint ink. (#895)

0.52.2 (2026-10-29)

Fixed

  • A Badge rendered as a button keeps a 44px touch target: on a touch screen its transparent hit area reaches 44px (and at least the badge's width) through CSS anchor positioning, so the badge's own clip doesn't cut it. The look, long-label truncation and desktop are unchanged; browsers without anchor-scope keep today's behaviour. A badge the consumer positions (relative) gets no extension. (#892)

0.52.1 (2026-10-29)

Fixed

  • PanelAction hit area reaches 44px: the ::after target is placed from inside the 1.5px border, so it was 41–42px tall; it now reaches past the border, as Button's does. This also fixes PanelSplitActionMenu's touch extension (42px). (#889)

0.52.0 (2026-10-29)

Added

  • PanelSplitAction (wip): an action and its menu drawn as one control (PanelSplitActionMain, PanelSplitActionToggle, PanelSplitActionMenu), e.g. Comment and its ▾. The menu part is narrow and gets a 44×44 target on touch. (#885)
  • TextSelectionToolbar (+ TextSelectionToolbarButton, TextSelectionToolbarSeparator, createTextSelectionAnchor): the generic name for the toolbar on selected text. The MessageTextSelectionToolbar* names stay as deprecated aliases. (#885)

Changed

  • Tree-shakable build: raft-ui ships one ESM module per source file and declares sideEffects (CSS, the entries, and the drag Escape guard, which now installs when raft-ui loads). Unused components drop out of consumers' bundles: a Button-only app went from 131.6 KB to 91.0 KB gzip. Entry points and exports are unchanged. (#886)

Design System

0.51.0 (2026-10-29)

Changed

  • DropdownMenuRadioItem, ContextMenuRadioItem: choosing a radio item closes the menu (closeOnClick defaults to true): one pick completes the choice, and an open menu covers its result. Pass closeOnClick={false} only for a menu that shows the result itself. Checkbox items still keep it open. (#883)
  • ModeBar is stable: export it from @botiverse/raft-ui. The /wip export stays until apps switch. (#882)

Design System

  • When a change takes effect: a standalone choice applies at once, text and grouped values on Save, an irreversible side effect through a button that names it; how far a change reaches decides confirm or Undo, never Save. (#881)

0.50.0 (2026-10-29)

Design System

  • Usage shows what is used: a Meter fills with what is used, not what is left, and its text always says it ("62% used · resets in 3h", never a bare "62%"). It turns warning from 80% used, the same point as 20% left before, so the same data keeps its colour; used up is a full warning bar with "Used up". A remaining amount can go in a tooltip ("378 GB free of 994 GB"). Decided on 2026-10-29. (#879)

Added

  • Meter warnAt: the share used (0–1, default 0.8) from which it warns. (#879)

Changed

  • Meter draws used of max; aria-valuenow is used. low (amount left) is deprecated but still honoured: low={n} is warnAt={1 - n / max}. (#879)

Breaking

  • Meter data-level is normal / high / full (was plenty / low / empty). Update selectors and tests that read it. (#879)

0.49.0 (2026-10-29)

Design System

  • List cells: a list's rows draw no line between them. Every state (hover, press, menu open, selected, located, keyboard focus) is one rounded shape inset 8px from the list's sides, with the row's content 12px inside it. The list spaces its rows 2px apart with gap and pads 8px at its ends. A column of list cells starts its title, toolbar and content on one 20px edge, on a phone too (--column-margin). Settings cards keep their hairlines. (#815)

Added

  • lib/list-cell recipe fragments (listCell, listCellStates, listCellFocus) shared by the row components; ListRow takes cell to become a list cell (off by default).
  • Tokens fill-cell-hover, fill-cell-press, fill-cell-selected; the variable --column-margin. (#815)

Changed

  • SidebarItem, InboxItem, SearchEntity/SearchHit rows: list cells, no dividers; their lists (SidebarList, SearchResultsList, ActivityInboxViewport, InboxItemSkeletonList, DialogNav) space rows with gap-0.5 py-2. An app that drew its own row padding or right inset on these rows should remove it. (#815)

0.48.0 (2026-10-28)

Design System

Added

  • Token sticker-ink-medium (6% paper in both modes) and the utility overlay-sticker-ink-medium. (#875)

0.47.1 (2026-10-28)

Fixed

  • SelectActionItem: when its action adds items above the row and the list stays open, the row keeps the highlight, so the next arrow key goes on from the row instead of from whatever item now sits at its old position. (#873)
  • SelectActionItem: the docs no longer ask for aria-expanded, which ARIA does not allow on an option; remove it where you added it. (#873)

0.47.0 (2026-10-28)

Changed

0.46.0 (2026-10-28)

Design System

  • Task head pull-down: once a task's head scrolls away, the top bar collapses to the task's number, status and assignee; tapping it pulls the head down over the conversation (shadow only), and it closes on a tap outside, Back, Esc, or an upward swipe once its content is at its end; it doesn't follow the finger. (#869)
  • Warnings in charts: a warning mark in a chart (fill, stroke, marker, legend swatch) uses warning-graphic, at least 3:1 on every surface; text keeps warning-strong. (#869)

Added

  • SelectActionItem: an action row at the end of a Select's list ("Show All Runtimes"). It joins arrow keys and typeahead, runs onAction, and never becomes the value; the list stays open unless closeOnAction. (#869)
  • Token warning-graphic (light and dark). (#869)

Changed

  • UnfollowArtifactIcon: below 18px its minus is heavier and longer, so it reads at 16px; 20px and 24px are unchanged. (#869)

0.45.0 (2026-10-28)

Added

  • ModeBar (experimental, from @botiverse/raft-ui/wip): the dark strip under a panel header while the panel is in a mode the person turned on, such as commenting in batch: a title and a description in a status region, and one text action (Done). It mirrors in right-to-left. (#867)

0.44.0 (2026-10-28)

Design System

Fixed

  • Tap activation: a control focused by a tap (MobileNavItem and every control using tap activation) no longer shows the keyboard focus ring; keyboard focus is unchanged. (#865)

0.43.0 (2026-10-28)

Design System

Changed

  • Tooltip: keeps at least 5px, or the inset, from the top, left and right. (#860)
  • Popover, DropdownMenu, PreviewCard: keep the inset plus 8px from each side that has an inset. (#860)
  • ContextMenu, Select, Combobox, ComboboxSelect, NotificationCenter: keep the larger of their default and the inset plus 8px. A collisionPadding you pass still wins. (#860)

0.42.0 (2026-10-28)

Design System

  • Frame insets: a host shell that draws native window controls over the page (the desktop app's macOS traffic lights, Windows' caption buttons) publishes them on the root element as --raft-frame-inset-start, --raft-frame-inset-end and --raft-frame-inset-top; the web sets none. (#856)

Changed

  • Tooltip: one that would open into --raft-frame-inset-top flips below its trigger; one beside its trigger moves down out of it. (#856)
  • frame-decor-top (the top bar's theme strip) is placed from the bar's end plus --raft-frame-inset-end, and a bar drops it when the whole strip can't fit clear of its trailing actions. (#856)

0.41.0 (2026-10-28)

Design System

  • Icons: Raft draws its own icons where Lucide has none, on Lucide's grid. A plus means add, create, follow or join this kind of thing, and a minus remove, unfollow or leave it: inside the thing for following, in the bottom-right corner for the rest; never another meaning. (#851, #854)
  • Swipeable rows: unfollow waits for its undo toast, like Done; the right swipe's armed cue, and the rows without one; swipeable rows own sideways drags. (#848, #849, #850)
  • Banner: the open-in-app offer on a phone browser. (#848)
  • Card versus seam, and DropPlaceholder in a layout's gap. (#842)

Added

  • Action icons: FollowThreadIcon / UnfollowThreadIcon, JoinChannelIcon / LeaveChannelIcon and their private and joint pairs. (#851)
  • CommentIcon, AddCommentIcon, FeedbackIcon, CreateTaskIcon, ReopenTaskIcon, ArtifactIcon, FollowArtifactIcon / UnfollowArtifactIcon. (#854)

Fixed

  • DropPlaceholder is opaque in a layout's gap. (#842)
  • FilterChip: its × reaches 44px on touch. (#842)

0.40.0 (2026-10-28)

Design System

  • MessageActionCard: an Expired state: folded, saying no one acted in time and nothing changed. The 0.39.0 rule that a Done card stays open while it holds a next step is withdrawn. (#836, #837)
  • Combobox: an inline list (inline open), in a page or dialog, where choosing a row starts work: unlike ChoiceList, the arrow keys only move a highlight; Enter or a click chooses, Esc reaches the dialog. (#838)
  • Comments and search: a reply is one more CommentEntry in the card, with no indent or wrapper; put test ids on SearchEntityResult itself, since a wrapper hides the hairlines between results. (#838)

Added

  • AvatarGroupButton (wip): an avatar stack that is a button, opening the list of who is in it (who is viewing, a channel's members). (#838)
  • CommentCardMeta (wip) styles itself as clickable text when rendered as a <button> (the anchor line that jumps to the commented spot). (#838)

Fixed

  • Tap activation (TabsTab, SegmentedControlItem, ToggleGroupItem, MobileNavItem, PanelAction activateOnTouchEnd): a tap no longer moves focus out of a text field that already has it. (#835)

0.39.0 (2026-10-27)

Design System

  • Themes: status lights, the Working chip and task status keep their colour in every theme, Boring Gray included. A theme is chosen per member per server (the docs said it followed the account). (#832)
  • MessageActionCard: a Done card that leaves the viewer a next step stays open, with that step in its actions row. (#831)

Added

  • Token presence-busy-soft (same values as brand-soft) and Badge variant="busy": the Working chip's tint and a presence-busy sticker that no theme recolours. (#832)

Changed

  • Status variant="primary" and the MessageActionCardStatus primary pixel use presence-busy (were brand-400 / brand). Same colour in Raft Yellow; stays yellow in Boring Gray. (#832)
    • Affects: a "Working" chip built as Badge variant="primary" appearance="soft" still follows the theme; use variant="busy".

Fixed

  • Tap activation (TabsTab, SegmentedControlItem, ToggleGroupItem, MobileNavItem, PanelAction activateOnTouchEnd): when the click moves focus (a tab that focuses a search field), the control no longer takes focus back. (#833)

0.38.0 (2026-10-27)

Design System

  • Navigation: tabs, segmented controls, toggle groups and the mobile tab bar switch on finger lift, so a tap while a list is still momentum-scrolling switches on the first try. Rows, list items and menu items stay on click. (#829)
  • Filters: a filter people set by habit uses a Filter button that always says Filter, plus a FilterChip naming the filter in effect. (#825)
  • Responsive: the side area's columns, and a Thread that covers the conversation when the window is narrow. Columns that don't fit beside it become tabs. (#821, #827)
  • Spacing and page structure: these docs now describe the channel's side columns; Tasks and Files are sections, not cards. (#822, #824)
  • Drag and drop: in a layout, the target column makes room and the origin stays uncovered. (#820)
  • Public page: the sign-up prompt. (#823)
  • Dialog: the showcase frame also holds Pro's Add seats dialog. (#818)

Added

  • FilterChip (experimental, from wip): the filter in effect as an info-soft chip, with an × that resets the filter to its default. (#825)
  • PanelAction activateOnTouchEnd: opt-in switch on finger lift for a back or close action; DialogSheetBack sets it. (#829)

Changed

  • TabsTab, SegmentedControlItem, ToggleGroupItem and MobileNavItem activate on a tap's touchend (one finger, moved ≤10px, lifted inside, under 500ms), and the click that follows is dropped. Mouse, pen and keyboard are unchanged. (#829)
    • Affects: an onClick on these controls still runs exactly once per tap. A touch handler that relied on the browser's click arriving after touchend now sees the click earlier.
  • VirtualList no longer writes --virtual-list-transform-y or --virtual-list-ios-compensation-y on the rows' element (every scroll used to restyle every row). (#819)
    • Affects: content that read those variables uses onTransformChange instead.

0.37.0 (2026-10-26)

Design System

  • Edges fade: content that goes on past an edge fades with a mask, not a colour gradient, so the fade works on any surface (a hovered, selected or located row, a card). Two lengths: 24px at the edge of a scrolling strip, 48px over cut-off content. MessageListEndFade is the one exception. (#816)
  • Dimmed: deleted, offline and pending items are opacity-dimmed (60%); a drag origin stays 40%. Media hover is an ink-8 overlay, not a brightness filter. (#816)
  • Tooltip: a disabled control's reason under its name is a second line in foreground-on-hud-muted, 4px below. (#813)
  • Drag and drop: a panel grip's hit area stays clear of a neighbouring resize seam, with its bar inside it. (#814)
  • Raft Chat: the history paywall where a plan cuts a conversation's history. (#757)

Added

  • Utilities mask-fade-t, mask-fade-b (48px), mask-fade-t-edge, mask-fade-b-edge (24px) and mask-fade-x (24px on the side named by data-overflow="start|end|both"); tokens fade-edge, fade-content. (#816)
  • Token layer-veil (the page at 80%) for busy and loading covers, bg-layer-veil; opacity-dimmed (0.6). Both registered with cn's tailwind-merge. (#816)

Changed

  • Tabs: the overflow fade is mask-fade-x, 24px (was 32px). (#816)
  • MessageForwardedBundle: the fold fades with mask-fade-b (48px, was a 40px card-colour gradient; a tight fold 24px, was 20px). (#816)
    • Affects: overrides that targeted the fold's ::after must drop it.
  • Composer upload and failed covers, and the pending MessageImageGallery image, use layer-veil (were layer-card/80, layer-card/90 and opacity-70); the pending spinner uses its default colour. (#816)
  • Lightbox thumbnails dim with layer-backdrop-nested (40%, was black/45); hover 28% unchanged. (#816)
  • Task chip and task-card busy states, and the deleted delegated avatar, use opacity-dimmed (same 60%). (#816)

0.36.1 (2026-10-26)

Design System

Fixed

  • AppShell: the sidebar collapses and expands at once; the main area no longer slides and the sidebar no longer fades. data-sliding is gone. (#811)
    • Why: Focus Mode already switched at once while the sidebar slid; a whole column sliding flickers.
    • Affects: no transition on AppShellMainSlot (left) or AppShellSidebarSlot (opacity); no z-index on the main slot while collapsing.
    • Docs: https://raft-design.botiverse.build/components/app-shell/
  • Composer: its buttons sit 6px apart (gap-embedded-inset), the same as their distance from the frame. (#810)
  • DragRefusalHint: the chip stays inside the window and off the lifted copy: left of the pointer and the copy at the right edge, above the pointer at the bottom edge, 8px inside on every side. (#807)
  • useDragSensors: Escape during a drag, however it started, only cancels the drag; the keydown is stopped in the capture phase, so no app Escape handler (closing a panel, a dialog, a popover) hears it. (#807)

0.36.0 (2026-10-26)

Design System

  • Drag and drop: one model for every drag: a mouse drag starts after 6px, a touch drag after a 500ms hold then 10px, the keyboard picks up with Space (never Enter), moves with the arrows, drops with Space and cancels with Escape. A lifted copy follows the pointer 1:1 (opaque popover surface, shadow-float, a hairline ring), the item it came from stays in place at 40%, every landing place is one dashed placeholder, and a drop or a cancel glides in 160ms. Screen readers hear names and positions, never ids. (#804)

Added

  • Tokens motion-drag-settle-duration (160ms) and motion-drag-settle-easing (cubic-bezier(0.25, 1, 0.5, 1)), with the Tailwind ease ease-drag-settle. (#804)
  • Attributes data-drag-origin (the item a drag came from, at 40%) and data-drag-into (a container the dragged item has moved into, fill-subtle). (#804)

Changed

  • TaskDnd: the lifted card is a copy that glides into place on a drop and back on a cancel; the card stays in its column at 40% instead of collapsing, and a drop on its own place moves nothing. A mouse drag starts after 6px (was 5px) and Enter no longer starts a keyboard drag. New describe on TaskDndProvider announces cards and places by name; without it nothing is announced (no ids). TaskDragOverlay takes container. (#804)
  • SortableTabsList: tabs can be reordered by keyboard (Space picks up, arrows move, Space drops, Escape cancels; Enter selects); a lifted copy follows the pointer and renders in document.body (container to change it), and the tab's slot shows the dashed place. Announcements use the tab's label and position; messages takes translations. (#804)
    • Why: reordering had no keyboard path, and inside a drawer or dialog the moving tab was offset by the ancestor's transform.
    • Affects: Space on a focused sortable tab picks it up instead of selecting it.
    • Docs: https://raft-design.botiverse.build/components/tabs/
  • SortableComposerAttachments: the lifted thumbnail moves on both axes, renders in document.body (container), glides on drop and cancel, and is announced by its label; messages takes translations. (#804)

0.35.1 (2026-10-25)

Fixed

  • PanelNotice: a leading Spinner is centred on the first line of text, in the 16px icon's column. (#801)
    • Why: a pending notice that led with a Spinner showed it 3–4px above the text's first line, because only an icon was centred; the Spinner now takes the icon's place the way it does in Banner.
    • Affects: Spinner column 16px (any Spinner size); text starts where it does after a 16px icon.
    • Docs: https://raft-design.botiverse.build/components/panel/

0.35.0 (2026-10-24)

Changed

  • A search hit (searchHit: MessageItemSearchMatch, MarkdownMark, SearchMessageResultMatch) is a you fill with ink type, in the surrounding weight, with no ink ring, and 1px of fill above and below so descenders stay inside it. A mention of you keeps its sticker. (#796)

Design System

0.34.0 (2026-10-24)

Added

  • Token read-mark (text-read-mark): the read mark's check, palette-lime-700 in light (6.2:1 on white) and the online lime in dark (10.5:1). (#794)

Changed

  • MessageReferenceReadMark is a bare 10px Lucide check (stroke 2.5) in read-mark, with no light and no box, 2px after the name; the mention reserves 10px after its text, as for the indicator. The API is unchanged. (#794)

Design System

  • Read mark: a bare check, since the light with an ink check read as a black frame. It is no longer a status light. (#794)
  • Touch screens: a right swipe on an Activity row marks it read or unread, one button with the menu's icon and word, no toast; under Unread or Mentions the row stays until the person leaves the list or changes the filter. (#793)

0.33.0 (2026-10-24)

Added

  • Tokens you and selected (bg-you, bg-selected, border-selected): the yellow of a signal addressed to you and of a selected or "on" state. They equal brand-400 in Raft Yellow, and no theme overrides them. (#791)
  • Badge variant="you": the @ marker for something addressed to you outside the sidebar. It stays yellow in every theme, while primary follows the theme. (#791)

Changed

  • Selected and "on" states (segmented control, sidebar row, tabs, toggle group, mobile nav, pressed panel action, switch, current step) paint selected, and signals addressed to you (mention-of-you chip, sidebar @ marker, search hit, active comment) paint you. Raft Yellow looks the same; Boring Gray now keeps them yellow. (#791)
  • The selected sidebar row's edge is sticker-ink, so it keeps its ink edge in Boring Gray. (#791)
  • Text variant="primary" uses brand-strong and follows the theme (deeper in light, yellow in dark; 8.9:1 and 12.5:1). (#791)

Design System

  • Themes: a theme quiets the environment, never information. Signals addressed to you and selected states keep their color in every theme; the rail and anything on the frame follow the theme's frame. (#791)
  • ChoiceList: a description line is cut at its end, so it leads with what people compare. (#789)
  • Touch screens: the swipe buttons' type, and what a tap does while a row is open. (#790)

0.32.2 (2026-10-23)

Added

  • TOUCH_DRAG_HOLD_MS (wip), the 500ms hold before a touch drag, exported next to useHoldThenMoveTouchSensor, so a product that tells a hold from a tap uses the same number. (#787)

Design System

0.32.1 (2026-10-23)

Fixed

0.32.0 (2026-10-23)

Added

  • ChoiceList (wip): matchedValues, for a product with its own search (a ranked people search shared with mentions). With it ChoiceList shows the values the caller's search found, in the caller's order, instead of matching searchText itself; the chosen rows still come first and "No match" still shows. A value given twice shows once. Pass matches for the current text, and keep the previous ones while a slower search works. (#780)

0.31.0 (2026-10-23)

Design System

  • A row swipe on a phone: a swipe starts once the finger has gone 10px on the web (twice as far across as up or down), and swipes that start within 24px of the screen edge stay with the browser. A release applies the action past 40% of the row's width, or past 20% with a quick flick. The uncovered layer is soft until a release would apply, then solid success with ink, and ticks once on Android as it turns solid. It says "Done"; the menu keeps "Mark as Done". The row leaves at once, with an 8-second Undo. On a phone, Activity's Mark as Done stays in the row as a button only screen readers see. (#775, #776)

Added

  • ChoiceList (wip): (#774)
    • groups with headings. Each group is named by its heading, and the arrow keys cross groups.
    • searchValue / onSearchValueChange, so the app can read and set the search text. It hears "" when the box hides.
    • footer, which stays in view while the rows scroll.
    • fill, which fills its container's height.
    • The frame now wraps a choice-list-scroller.
    • Docs: https://raft-design.botiverse.build/components/choice-list/

0.30.0 (2026-10-23)

Design System

  • A dialog whose job is to choose keeps an open list: when choosing is the dialog's main content (a computer to move an agent to, people to add), the choices stay open as a list at any count, not a select: a radio circle for one choice, a checkbox for several. A search field shows always when people look for something they know by name, and from 6 choices when they choose by comparing. Filtering never clears the choice; the chosen rows stay first. A row may have two description lines, and a details button at its end outside the row's label. (#767, #772)

Added

  • ChoiceList (wip, @botiverse/raft-ui/wip): an always-open list to choose one (value: string | null) or several (multiple, string[]), built on Base UI RadioGroup / CheckboxGroup. items take a label, search text, up to two description lines, media, a row-end action and disabled; search="auto" | "always"; searchLabel and clearSearchLabel are required. Rows are 36px with a mouse and 44px on a touch screen. (#772)

0.29.0 (2026-10-23)

Design System

  • A mention's read mark is the online light with an ink check: once an agent has read a message that mentions it, the online light (the 8px lime square with its ink edge) shows at the mention's top right with an ink check in it. A light with no check means presence; a light with a check means read. It never covers the name: the mention keeps 10px after it. Nothing shows until the agent has read the message, the hover card still says Read or Not read yet, and on a touch screen the read light alone says it. Colored fills carry ink, never white. (#770)
  • On a phone, Activity's Mark as Done is the left swipe and the press-and-hold menu: no button at rest on a phone; a tablet or a desktop keeps it. A swipe starts only when the finger moves clearly sideways. (#769)

Changed

  • MessageReferenceIndicator placement: right: -10px (was -6px) and top: 0; the mention keeps 10px after its text (was 8px), so the corner mark no longer overlaps the last letter. (#770)
  • MessageReferenceReadMark is exported from @botiverse/raft-ui (still from /wip too) and draws the online light with a check; its API is unchanged (children are what a screen reader says). (#770)

0.28.0 (2026-10-23)

Design System

  • Toasts: one at a time, no Dismiss, above the composer on a phone: a toast shows alone; a new one replaces it at once and the replaced one is closed, not queued. It has no Dismiss: it closes by itself after 5 seconds, or 8 with an action or as an error, and can be swiped away or closed with Esc. It stays at the bottom center: at the bottom of the window on a desktop, and on a phone just above the composer, the tab bar or the keyboard, which the app sets with --toast-viewport-bottom. (#675)

  • Pull to refresh looks like Android's own on Android: on Android web the indicator is Material 3's: a small disc with a shadow slides down over the list, which stays still; inside, a progress arc with an arrowhead grows with the pull, faint until the pull is armed and faint again when it is pulled back (disarmed); while refreshing the arc turns; at the end the disc scales away. iOS and everything else keep the Spinner. The disc is the one round surface besides switches, radios and grab handles, and its turning arc the one other looping animation. (#765)

Changed

  • Toast defaults (#675):
    • limit is 1 (was 3); a newer toast replaces the older and closes it.
    • The command API shows ToastClose only with dismissible: true.
    • actionTimeout (8s) applies to toasts with an action and to errors; timeout stays 5s.
    • Bottom placements sit 16px above max(var(--toast-viewport-bottom, 0px), env(safe-area-inset-bottom)); top-center takes --toast-viewport-top. A toast swipes away toward the edge it came from.
    • Migration: an app that passed its own placement or drew its own close can drop them; set --toast-viewport-bottom on a phone (from visualViewport while the keyboard is up on iOS).

0.27.0 (2026-10-23)

Design System

  • Refreshing a snapshot page by pulling: on a phone, a page that shows a snapshot and doesn't update itself (Saved, search results, a conversation's files, the lists in Settings) refreshes when pulled down past 100px; while it refreshes the indicator holds at 60px, and it snaps back in 300ms without overshoot. Pages fed by realtime updates (conversations, Home, Activity, Tasks, Members, Computers) are never pulled: they stay current on their own. On iOS a pull that passed the trigger stays armed; on Android, as in Material 3, pulling back above it takes it back, and crossing it gives a short vibration. The indicator is the Spinner on every platform. Every such page also reloads when it is opened, so the gesture is never the only way. PullToRefresh is experimental, from @botiverse/raft-ui/wip. (#743)
  • A right panel grows until the area left of it is 360px: a thread, a profile or task side panel and the side cards have no fixed maximum width (640px, 720px before); they grow until the area beside them is down to its 360px minimum. (#759)
  • Dragging past the end snaps: dragging the sidebar 40px past its minimum collapses it, and dragging a thread 40px past where the conversation is down to 360px puts it in focus mode, during the drag; dragging back undoes it, and the width before the snap comes back. (#761)

0.26.0 (2026-10-23)

Design System

  • Links that leave Raft end in ↗: a control that takes someone to another site (docs, pricing, terms and privacy, an app's homepage, TestFlight, Stripe, GitHub) ends in Lucide's ArrowUpRight, the only mark for it, never the box with an arrow. A TextLink takes TextLinkExternalIcon; a button puts it in its trailing icon's place; a menu item where the shortcut goes; a sidebar row in its trailing slot, in foreground-hint. It opens in a new tab with rel="noopener noreferrer" and a screen reader hears "(opens in a new tab)"; Stripe checkout and the billing portal stay in the same tab and still end in ↗. Sign-in round trips, downloads, links people write in messages and anything inside Raft get no mark. (#758)
  • An item card's warning line: a line an app marks as a warning (tone: "warning", such as "2 checks failing") reads in warning-strong, Raft's color for a warning; the state's Badge stays neutral and nothing else on the card is colored. (#760)

Added

  • TextLinkExternalIcon: the ↗ after a TextLink that leaves Raft. Lucide ArrowUpRight at 0.857em of the text, 2px after it, centered on the letters' cap height at every size, in an inline-flex box so the hover underline stops at the text. label is read by a screen reader after the text ("(opens in a new tab)"); the caller supplies the copy. (#758)

0.25.0 (2026-10-23)

Design System

  • Themes: a frame, never a new palette: a person can pick a theme for themselves, and it follows their account to every server. Raft Yellow, the foundation itself, stays the default; beside it are Boring Gray and nine avatar-series themes (Bots, Critters, Space, Desk, Food, Quest, Weather, Plants, Spooky). A theme may recolor only the frame (rail, web top bar, phone top bar), the sidebar and, in dark mode, the canvas, cards and popups, tinted to its hue. The pink primary button, unread and @ counts, status lights, warnings and errors look the same in every theme. Every theme has a light and a dark version. An avatar-series theme can draw its series' pixel sprites on the empty parts of the frame, and the person can turn them off. Boring Gray is the one theme that also changes the brand: where you are is a gray fill with ink type, not yellow. It applies to AppRail and SidebarItem. (#754)
    • Why: the frame is on every screen but nobody reads it, so it can carry a person's choice of look; keeping every meaning fixed means someone who switches themes doesn't have to learn the product again. In dark mode the surfaces take the theme's hue because a neutral black panel inside a colored frame looked pasted on.
    • Affects: Navigation and States: "where you are is always yellow" now has one exception, Boring Gray, where brand and its washes are neutral grays and brand-edge is transparent. Sprites go only on the web top bar right of the search field (from 1024px) and on the desktop rail under its items, never where they could be taken for a control, an avatar or a status, and never behind text.
    • Docs: https://raft-design.botiverse.build/foundations/themes/#principles
  • The first frame is the settled one: draw the first frame the way it will stay. Read what decides a layout (a remembered width, a collapsed section, a view mode, the viewport, the pointer, the platform) before the first paint, not in an effect after mount. Measure and decide in a layout effect, not in the next animation frame. While data reloads, keep a part's presence and size, such as counts and the controls that depend on them, at their last values until the new answer arrives. A placeholder, such as the fallback of a lazily loaded panel, takes the size and place of what it stands for. (#748)
  • A row with a fill: one line height, no mark taller than the line: in a row whose items share the first baseline, such as a task row, every text takes the main text's line height, and a taller hit area hangs into the padding instead of making the row taller. A row that centers its items (items-center), as every raft-ui list row does, needs neither. (#750)
    • Why: a smaller text has a shorter line box, so a Space Mono group sat 3px lower than the title and a mark centered in it sat 1.5px below the row's center; a 32px button made the row taller and the text sat 2.5px above the center of the hover fill.
    • Affects: give the row leading-(--text-callout--line-height) (and set it on sizes that set their own); text-mono-meta and text-caption 18px → 22px line on such a row.
    • Docs: https://raft-design.botiverse.build/foundations/alignment/#text-of-different-sizes-on-one-line
  • Grab handles have round ends: round is now for switches, radios and grab handles: the bar at a bottom sheet's top edge and the bar in a gap between side cards. It applies to Drawer. (#747)
    • Why: every platform draws a grab handle with round ends (the iOS sheet grabber, Material's drag handle), and square ends on a 4px bar read as a cut edge, not something to take hold of.
    • Affects: rounded-full: switches and radios only → switches, radios and grab handles. A bottom sheet's grab handle is a 36 × 4px bar in line-seam.
    • Docs: https://raft-design.botiverse.build/foundations/shape/#principles
  • The gap handle's bar follows the pointer: on hover, the 56 × 4px bar in a gap between side cards is centered on the pointer along the gap, kept half a bar inside each end, with round ends; while dragging it stays where the drag started, and with keyboard focus it sits in the middle. Where two gaps cross, the crossing gap's bar lights at the pointer and the other at its end against the corner. ResizableHandle still draws only the seam handle; products draw the gap handle themselves. (#746)
    • Why: a gap has no line, so the bar is the only thing that shows where the hand is, and a bar fixed in the middle of a long edge looked unrelated to the pointer.
    • Affects: hover bar: middle of the gap, rounded-[1px] → at the pointer, rounded-full. Touch has no hover, so there the bar stays in the middle.
    • Docs: https://raft-design.botiverse.build/components/resizable/#the-gap-handle
  • An app link shows its host wherever a touch can open it: a chip for a link that an app previews shows the link's host after its title (MessageReferenceSuffix) on any device with touch input, including a laptop with a touch screen. Write the full host, dropping only a leading www., never shortened to the registered domain, and an internationalized host in its ASCII form (xn--…). The title truncates first; if the host alone still doesn't fit, it loses its start, never its end. It applies to MessageItem and MessageReference. (#749, #753, #755)
    • Why: the title is the app's own words and may say anything, and a tap opens the link without the hover card that shows where it goes on a desktop. A link someone can open without seeing where it goes is a safety problem, and the end of a host (…review.attacker.example) is the part that says where.
    • Affects: suffix hidden any-pointer-coarse:inline (any touch input, not only the main pointer). A host that overflows is truncated at its start: dir="ltr" and unicode-bidi: isolate inside a right-to-left box, so the ellipsis lands at the start.
    • Docs: https://raft-design.botiverse.build/components/message-item/#app-links
  • An app link is a plain link until Raft knows an app previews it: before a message's previews are first read, an app's link is an ordinary link. Once someone allows an app's previews and Raft reads them again, each of that app's links is MessageReferencePending capped until its preview arrives. It applies to MessageItem. (#753)
  • Read receipts on a mention: on a touch screen the check alone says it: there is no hover card on a touch screen, and tapping a mention opens the agent's profile, so the check is the whole answer there: no mark means not read yet. Don't add a long press or a popup only for this line. It applies to MessageItem. (#745)
  • The message menu: its order written down: the menu opens with the message's full date and time as a label that can't be chosen, then the 7 quick reactions and a smile-plus button that opens every emoji, then the actions in three sections by what they do to the message: keep going on it (Reply in Thread, Follow or Unfollow Thread, the task action), take it elsewhere (Copy Link, Copy Markdown, Forward, Select Message), and just for me (Save or Remove from Saved, Translate). A section with nothing in it is left out with its separator. It applies to DropdownMenu, ContextMenu and MessageReactionQuickRow. (#751)

Added

  • Themes: a new export, @botiverse/raft-ui/themes.css, with Boring Gray (boring) and the nine avatar-series themes (bots, critters, space, desk, food, quest, weather, plants, spooky), each with a light and a dark version. Import it after foundation.css and put data-theme="<id>" on the element that carries the mode class (.light / .dark); without data-theme the app is Raft Yellow. Put data-theme-decor="off" on the same element to turn the sprites off and keep the colors. A top bar you draw yourself takes the new frame-decor-top utility for its sprites; frame-decor-rail is the rail's, which AppRail already draws. (#754)
    • Why: see Themes: a frame, never a new palette, above.
    • Affects: a theme overrides only layer-frame, layer-frame-active, foreground-on-frame (and -muted, -active), fill-frame-medium, line-frame-active and layer-sidebar; in dark mode also layer-canvas, layer-card and layer-popover; Boring Gray also brand, brand-soft, brand-strong, brand-glow, brand-edge and selection. frame-decor-top paints --frame-decor-top 72px from the right end, from 1024px wide only; both are none without a decorated theme. Themes are generated from themes.json (vp run @botiverse/raft-ui#build:themes).
    • Docs: https://raft-design.botiverse.build/foundations/themes/#using-themes
  • brand-edge Tailwind color: --color-brand-edge maps the existing --brand-edge token (border-brand-edge, ring-brand-edge). (#754)

Changed

  • SidebarItem: the active item's border takes brand-edge instead of sticker-ink, so in Boring Gray the selected row is a plain gray fill. It renders the same in Raft Yellow and the avatar-series themes. (#754)
  • AppRail: the nav draws the theme's rail sprites as its last flex item, an ::after pushed to the bottom under the items, up to 48 × 112px, which shrinks when the rail has less room so it never sits behind an item. Without a decorated theme it is empty. (#754)
  • Drawer: a bottom or top sheet's grab handle has round ends. (#747)
  • MessageIcon, ChatIcon and ThreadIcon: their lines are drawn at Lucide's weight. (#751)
  • ThreadIcon: both bubbles are outlined; the back one stops a stroke's width short of the front one on both sides, and both stay inside the 18px box with their stroke. (#752)
    • Why: every icon in Raft is a line drawing at one weight, and a filled bubble read heavier than the Lucide icons beside it.
    • Affects: front bubble fill="currentColor" → outline; the paths are redrawn, so the icon's shape changes slightly.
    • Docs: https://raft-design.botiverse.build/components/icons/#anatomy

Fixed

  • MessageReactionQuickRow: the quick reactions line up with the menu's items: the first drawing starts 10px in, where the items' icons do. (#751)
  • Banner size="sm": with a × (and no action button), the banner keeps the same room above and below as with a button, so the ×'s 32px hover fill stays 4px inside the banner's edges. (#677)
  • VirtualList: scrolling up near the end of a list no longer snaps back, and on iOS the rows stay painted when older rows land at the top while the finger is still down. onContentResize is no longer called for rows above the view that the list measures and scrolls away exactly as you scroll up, since nothing in view moves and neither does the distance to the end. (#683)
    • Why: a chat that follows the end from onContentResize and still counted the person as at the bottom scrolled back to the end, taking back the scroll that had mounted those rows; and when rows above the view shrank near the end, the browser's clamp and the list's own compensation both moved the view, so the rows in view jumped down. On iOS, at the top with the finger down, the pending compensation wasn't applied as a transform, so the rows were drawn below the view and a newly loaded older page showed blank.
    • Affects: onContentResize still runs when content in view or below it changes, and when a pending scroll is replayed. The clamp is subtracted from the scroll compensation instead of being applied twice.
    • Docs: https://raft-design.botiverse.build/components/virtual-list/#following-the-end

0.24.0 (2026-10-23)

Design System

  • Phone popups 8px from each screen edge: on a phone, a popup about as wide as the screen is the screen's width less 8px on each side, at most 480px, and stops 8px from the edge it is pushed against, measured from the screen's edge, not the safe area. Its width comes from the positioner's --available-width, not 100vw. It applies to NotificationCenter. (#737)
    • Why: popups that open from the same phone top bar sat at different insets and widths, so they didn't line up with each other or sit evenly between the screen's edges; every popup that wide now takes the server list's 8px inset.
    • Affects: inset 8px from both screen edges; width min(var(--available-width), 480px). The 480px cap only reaches a phone on its side.
    • Docs: https://raft-design.botiverse.build/foundations/elevation/#popups
  • Located: focus on the item is the inset ring, and a message is an article: an item that a keyboard jump focuses draws the 2px inset ring in foreground, inside the item and with its corners, only after keyboard input, never the browser's outline. A message is announced as an article named by its sender and its time. It applies to MessageItem. (#740)
    • Why: the browser's outline is drawn outside the item with its own rounded corners, so on a message it framed the transparent gap above the row and a scroller cut it off, and a screen reader landing on a message heard its text with no sender or time; the ring now sits inside the item and the row carries its own name.
    • Affects: focus on a jumped-to item: browser outline → inset-ring-2 inset-ring-foreground after keyboard input.
    • Docs: https://raft-design.botiverse.build/foundations/states/#located

Breaking Changes

  • MessageItem: the row is an article named by its sender and its time. When it holds a MessageItemSender or MessageItemSenderButton, a MessageItemTime or a MessageItemContinuationTime, the row gets role="article" and aria-labelledby pointing at them, in that order, and those parts get ids raft-ui generates (an id you pass is kept and is the one the row points at). A screen reader announces, for example, "Atlas 2:20 PM" before the text; a continuation row is named by its time. A row with none of these parts and no aria-label or aria-labelledby stays a plain div. (#740)
    • Why: a screen reader landing on a message, after a jump or with its reading keys, read the text with no sender or time; the row now carries its own role and name.
    • Affects: every row with a sender or time part, role none (div) → article, with aria-labelledby; the sender and time parts gain an id. Your own role or aria-labelledby on MessageItem or its render element is left as is; your own aria-label drops the generated aria-labelledby, and a role that takes no name (none, presentation, generic) gets none.
    • Migrate: don't render MessageItem as an li or put rows in a list: role="article" replaces listitem, and a list may hold only list items. Remove the list role from the timeline, or pass role="listitem" on MessageItem to keep the old semantics. Update tests and selectors that find rows by role or expect no role on the row. When render is a function, pass role, aria-label and aria-labelledby on MessageItem, since a function's props can't be read. Don't give MessageItemSenderButton an aria-label of its own: the row would read that instead of the visible name.
    • Docs: https://raft-design.botiverse.build/components/message-item/#accessibility

Changed

  • MessageItem: a focused row (tabIndex={-1}, set by the caller when a keyboard jump lands on it) shows the 2px inset ring in foreground, square like its hover, after keyboard input, and shows its toolbar; it never shows the browser's outline. After a click, nothing shows. raft-ui still doesn't make the row focusable. (#740)
    • Why: see Located: focus on the item is the inset ring, above.
    • Affects: focused row: browser outline → outline-none focus-visible:keyboard:inset-ring-2 focus-visible:keyboard:inset-ring-foreground. While the toolbar shows, its card covers part of the ring's top edge at the right.
    • Docs: https://raft-design.botiverse.build/components/message-item/#states

Fixed

  • NotificationCenterPopup viewport="mobile": the popup is the screen's width less 8px on each side, at most 480px, and sits 8px from both screen edges, though it hangs from a bell at the right, lined up with the server list under the same top bar. Pass collisionPadding to change the inset. On desktop it is unchanged: 380px with Base UI's default collision padding. (#737)

0.23.1 (2026-10-22)

Fixed

  • MessageItemToolbar: measures its width onto the row (--mi-toolbar-width) as the toolbar shows, on the row's pointerenter or focusin, instead of when the row mounts, so a message row mounts in one commit again and keeps no ResizeObserver of its own. The fade under the toolbar looks the same. (#738)
    • Why: 0.23.0 kept the toolbar's element in React state and gave every toolbar its own ResizeObserver, and every message row renders a toolbar, so each row committed twice on mount and a long channel held one observer per message; only the toolbar that shows needs its width, so it is now measured then.
    • Affects: per row on mount, 2 commits → 1 and 1 ResizeObserver → 0; while a toolbar shows (hover, focus inside the row, an open popup), one ResizeObserver shared by the page watches it; it lets go of a toolbar once the pointer and focus have left its row with no popup open (after a popup closed elsewhere, the next time any toolbar shows) and is disconnected when it watches none. On mount the row gets --mi-toolbar-width: 164px (five buttons' width), replaced by the measured width as the toolbar shows, so a toolbar that ever shows without a pointer or focus event on its row fades five buttons' width until it measures itself: too much for a smaller toolbar rather than too little. A row without a MessageItemToolbar still gets no width and masks nothing.
    • Docs: https://raft-design.botiverse.build/components/message-item/#behavior

0.23.0 (2026-10-22)

Design System

  • Switch on the region's width: a layout switches on the width of the region it sits in (a panel, a column, a card), not on the window's. A component that switches its own layout makes itself a container, so it lays out the same in a 360px panel on a wide window as on a phone; it then fills its row and needs a parent with a definite width. Only what the window itself sizes reads the window (the page shell, dialogs, sheets, toasts), and mouse or touch is read with pointer and hover, never with the width. Every row needs a way to give way: a row of controls that still doesn't fit wraps onto a second line, and a value such as an email truncates last. Whether a part's content fits is measured, not guessed from a width. It applies to DescriptionList, MessageActionCard, MessageImageGallery, MessageVideoPreview, MessageForwardedBundleGallery, Steps, the TasksPanel toolbar, ActivityInboxSelectionToolbar, ListRowMeta, SegmentedControl, SidebarSectionControls, SearchEntityResult and CodeBlockPre. (#721, #733)
    • Why: the same component sits in a narrow panel on a wide window and fills a phone, so a layout that asked the window laid itself out for a screen it didn't have (a two-column list in a 360px panel, a step row that wrapped where it should stack); every layout that switched on the window was moved to its own region, or to the input where the switch is about touch.
    • Affects: the switch points listed under Breaking Changes and Changed below.
    • Docs: https://raft-design.botiverse.build/patterns/responsive/#switch-on-the-regions-width
  • Stacked buttons each take a frame: when buttons stack full width (a dialog footer whose row doesn't fit, a bottom or top sheet's actions), a ghost button there takes the ink border of default, with its hover and press; it goes back to frameless when the row fits again. It applies to Button, DialogFooter, AlertDialogFooter and DrawerActions. (#727)
    • Why: stretched to the full width, a frameless Cancel read as a line of text under the commit button, not as a button; once buttons stack, each needs its own box.
    • Affects: a stacked ghost button: border transparent → line-strong on layer-card, hover and press overlay-medium, as default; text sizes xs to xl only, ghost icon buttons stay frameless.
    • Docs: https://raft-design.botiverse.build/components/dialog/#the-footer
  • Text selection: its own token: selected text (::selection) is painted with the new selection token and keeps its own text color. In light mode it is brand-soft, as before; in dark mode it is brand over the page at 22%, the same wash as a commented passage. brand-soft stays the menu highlight. It applies to MessageItem text. (#730)
    • Why: in dark mode brand-soft left a selection at 1.23:1 against the canvas, so it was hard to see what was selected; a menu row's highlight and a selection need different values in dark mode, so they no longer share one.
    • Affects: dark selection brand-soft (oklch(0.5501 0.0999 91.5 / 0.2)) → color-mix(in oklch, var(--brand-400) 22%, transparent): 1.23:1 → 1.77:1 against the canvas, the selected text 7.7:1 (APCA Lc 80). Light mode is unchanged (1.14:1 against the canvas, the text 16.5:1, Lc 96).
    • Docs: https://raft-design.botiverse.build/foundations/color/#text-selection

Breaking Changes

  • MessageItem: the header keeps no room for the hover toolbar, and --mi-toolbar-reserve is no longer read. At rest the sender line has the full width; while the toolbar shows (hover, focus inside the row, an open menu), the end of a sender line long enough to reach the corner fades out under it. MessageItemToolbar measures its own width onto the row as --mi-toolbar-width, so a toolbar with more or fewer buttons masks exactly its width. (#726)
    • Why: keeping room for the toolbar cut the name to a few letters in a narrow column all the time, to protect a corner that is covered only while the pointer is on that message; the line now keeps its full width and nothing reflows on hover.
    • Affects: with a mouse, header end padding --mi-toolbar-reserve (default 7rem) → 0. While the toolbar shows, the header is masked from 4px left of the toolbar's left edge to its end, after a 12px fade (--mi-header-mask); a row without a MessageItemToolbar masks nothing. The time's tooltip, when it fades out under the toolbar, can be pointed at once the pointer leaves the toolbar, and stays in the keyboard order.
    • Migrate: remove --mi-toolbar-reserve wherever you set it; it has no effect. Render the toolbar with MessageItemToolbar inside the MessageItem row, which writes --mi-toolbar-width; a hover toolbar of your own gets no fade unless it sets --mi-toolbar-width (its width in px) on the row ([data-message-item]).
    • Docs: https://raft-design.botiverse.build/components/message-item/#behavior
  • DescriptionList direction="horizontal", MessageActionCardContent, MessageImageGallery, MessageForwardedBundleGallery, Steps (without vertical) and TasksPanelRoot are size containers (container-type: inline-size) and switch their layout on their own width instead of the window's; the list, the galleries and the step row fill their row (width: 100%). (#721)
    • Why: see Switch on the region's width, above.
    • Affects: DescriptionList stacks below 24rem (384px) of its own width (was below a 640px window), the value right under its label (its 32px minimum row height dropped) and 10px between pairs (the 2px row gap plus 8px; was 2px). MessageActionCard properties stack below 24rem of the card's content (was below a 640px window) with the same spacing, the value's 6px padding above and below dropped; a card at its 440px cap keeps two columns. MessageImageGallery: at most min(360px, 100%) of its column (was min(360px, 100vw − 112px) below a 768px window); rows 8rem (7rem with three images) below 360px of the gallery's own width and 9rem (8rem) at it (was by a 640px window); three images stay two across and one under them. MessageForwardedBundleGallery: a row of three is three across from 360px of the gallery's own width (was from a 768px window) and two across below; its rows grow as above from 360px (was from a 640px window). Steps: below 40rem (640px) of the row's own width each step stacks its text under its marker (was below a 640px window), and from 40rem a row too long for its width wraps. TasksPanelToolbar: New Task and the view switch on one line and the filters on the next below 28rem (448px) of the panel's width (was below a 768px window), one wrapping row from 28rem; toolbar and viewport sides 16px below 28rem, 20px from it (was by a 768px window). The same window can now show a different layout: a narrow panel on a desktop takes the narrow layout, and a wide region on a small window keeps the wide one.
    • Migrate: put each of these in a parent with a definite width: a block, a stretched flex or grid item, or anything with a width set. In a parent that shrinks to fit its content (inline-block, w-fit or fit-content, an absolutely positioned box or a floating layer with no width, a flex item with flex-basis: auto and no width) a size container takes no width from what it holds and collapses, its text one word to a line. Keep TasksPanelToolbar and TasksPanelViewport inside TasksPanelRoot, and MessageActionCardProperties inside MessageActionCardContent: outside them there is no container, so the tasks toolbar keeps its two-line layout with 20px sides and the properties stay in two columns at every width. Remove window breakpoint overrides (sm:, md:, max-sm:) you added to adjust these layouts, and check them in your narrowest panels.
    • Docs: https://raft-design.botiverse.build/patterns/responsive/#switch-on-the-regions-width

Added

  • SegmentedControl iconsOnlyBelow="auto": the segments show only their icons exactly when their labelled segments don't fit the width the control is given, and their labels again once they fit. It decides before the first frame paints, and again when the room, a label, a count, the selection or a web font changes, always against the labelled layout, so it doesn't flicker at the boundary. iconsOnlyBelow also takes any length in px, rem or em ("18.5rem", "296px"), measured against the nearest @container (the control's parent when there is none), beside the presets xs to 2xl, which stay CSS container queries. With auto or a length the track carries data-icons-only while it shows only icons. The presets' type is exported as SegmentedControlIconsOnlyPreset. (#733)
    • Why: a width picked for one language, one count or one font was wrong for the others, and the room a control is given changes with what sits beside it; auto measures the labels against that room instead.
    • Affects: with auto, the control is a shrinkable flex item (min-w-0); leave it free to shrink in its row (don't make it shrink-0). In development raft-ui warns when a segment has no icon, or when iconsOnlyBelow is neither a preset, auto nor a px, rem or em length (the segments then keep their labels).
    • Docs: https://raft-design.botiverse.build/components/segmented-control/#behavior
  • selection token: --selection in foundation.css and tokens.json, and the Tailwind color selection (selection:bg-selection). (#730)

Changed

  • SegmentedControl: the track may shrink to its row. When the row is narrower than the track, its neighbors have given way and the segments can't show only their icons (or no iconsOnlyBelow is set), the segments scroll sideways inside the track, the checked one kept in view, instead of spilling onto the next control; the track sets data-overflowing while they do. (#721)
    • Why: the track never shrank below its segments, so in a narrow row it ran over its neighbor; scrolling inside it is the last way it gives way.
    • Affects: track shrink-0 → min-w-0 max-w-full; while overflowing, overflow-x: auto with no scrollbar. Segments still never shrink. A track you made shrink-0 yourself still never shrinks.
    • Docs: https://raft-design.botiverse.build/components/segmented-control/#behavior
  • SidebarSectionControls and SearchEntityResult: decided by the input, not the window's width. The section controls show at rest wherever there is no fine pointer (a touch screen, a tablet at any width) and on hover, focus or an open menu with a mouse; a search result row is at least 64px tall on a touch screen at any width. (#721)
    • Why: a tablet is touch at 1024px and a narrow desktop window still has a mouse, so the width was the wrong question.
    • Affects: section controls at rest: shown below a 768px window → shown without pointer: fine; a narrow desktop window with a mouse now shows them on hover only. Search result min-height: 64px: below a 768px window → pointer: coarse.
    • Docs: https://raft-design.botiverse.build/patterns/responsive/#touch-screens
  • ActivityInboxSelectionToolbar: one 44px row while its controls fit, and they wrap onto a second line in a narrow column, whatever the window. (#721)
    • Why: it wrapped only below a 768px window, so in a narrow column on a wide window its controls overflowed.
    • Affects: flex-wrap at every width (was below a 768px window only); padding 6px above and 5px below (was 8px below a 768px window, 0 with a fixed 44px height from it).
    • Docs: https://raft-design.botiverse.build/components/activity-inbox/
  • ListRowMeta: stays whole while the title gives way first, then truncates when there is still no room, so a long value (an email beside a button in a 320px row) is cut instead of running under the button. (#721)
  • MessageVideoPreview: at most min(360px, 100%) of its column. (#721)
  • Button variant="ghost", so DialogFooter, AlertDialogFooter (AlertDialogCancel) and DrawerActions: a ghost text button inside an element with data-stacked takes the ink frame of default. Dialog and alert dialog footers set data-stacked only while their buttons stack; DrawerActions sets it in a bottom or top sheet, where its buttons are always stacked, and not in a drawer from a side. Keep writing Cancel as ghost. (#727)
    • Why: see Stacked buttons each take a frame, above.
    • Affects: as above; a disabled ghost button keeps the disabled fill, and ghost icon buttons stay frameless. A stacked footer's buttons have no transition until the row has been measured and painted once (data-measured), so the frame doesn't fade in as a dialog opens.
    • Docs: https://raft-design.botiverse.build/components/button/#which-color
  • MessageItem text: selected text uses the selection token, so in dark mode a selection is deeper; light mode is unchanged. (#730)

Fixed

  • TaskChip (default and size="sm"): the chip's baseline is its text's, so its words sit on the line of the text beside it, such as a DescriptionList label; the status pixel and icons stay centered in the chip. (#732)
    • Why: a centered flex box takes its baseline from its first item, so a chip that led with its status pixel sat on the pixel's bottom edge and its words stood a pixel off the label beside them.
    • Affects: text laid out on the baseline inside the chip with 3px above and below (default, 22px) and 2px (sm, 20px), marks self-center; heights unchanged. variant="inline" is unchanged.
    • Docs: https://raft-design.botiverse.build/foundations/alignment/#text-of-different-sizes-on-one-line
  • CodeBlockPre: measures again whenever the pre resizes or its code changes (highlighting that arrives late, code that streams in), so a line that grows too long becomes the keyboard-reachable region (tabindex="0", role="region") it should be. (#721)

0.22.1 (2026-10-22)

Design System

  • Located: one highlight for every jump: the item a jump took someone to, such as a link to a message, a search result or Activity item that opens a message, Back to the list a result was opened from, a file comment's passage or the rows a bulk change touched, shows info-soft at once, holds it 1.2s and fades out with ease-out, gone at 2s. It is layered over the item's own fill and takes the item's corners; a stronger mark (selected, current, a search match, checked, an open menu) wins and the item isn't painted; a located item doesn't answer hover while it lasts, but a press still shows. With reduced motion it is held still for 2s and then goes off without a fade. It is only a look: a jump started from the keyboard also moves focus to the item. It applies to MessageItem. (#719)
    • Why: the system had one line for a jumped-to message (info-soft, cleared after 2 seconds, listed under selection) and nothing shared to apply it, so each jump drew its own flash with its own timing and colour; every jump now shows one highlight that goes away by itself.
    • Affects: info-soft cleared at 2s → held 0–1.2s, ease-out fade 1.2s–2s, gone at 2s (LOCATED_MS = 2000); the current match of a search inside a page is a selection and keeps info-soft while the search is open.
    • Docs: https://raft-design.botiverse.build/foundations/states/#located
  • A status light beside text is 10px: every status light and attention dot that sits beside text, in a chip, a badge, a panel header, a sidebar row or a list row, is 10px with a 1.5px ink edge and a 2px radius; none of them is 9px. A light on an avatar's corner still follows the avatar, and the 8px Status sm stays the attention dot on an icon's corner (the NotificationCenter bell's dot, a Status at the default size, is 10px). It applies to Status, Badge, PanelActivity, SidebarSectionAttention, LiveAgentActivityBarStatus, NotificationCenter and its trigger's dot, the task status icons (TaskStatusIcon, TaskChip, TaskCardStatus, TaskStatusBadge, TaskList, TaskBoard), InboxItem, MessageActionCard, Timeline and the lead-dot utility. (#722)
    • Why: every line, chip and row a light sits in is an even number of pixels, so a 9px light had half a pixel left over and was drawn with one more device pixel above it than below (0.5px off center on a 1x screen, 0.17px on a 3x one); a 10px light centers on a whole pixel.
    • Affects: light 9px → 10px, its colour 6px → 7px; the 1.5px ink edge and 2px radius are unchanged. Avatar corner badges (AvatarBadge) and Status xs, sm and lg are unchanged.
    • Docs: https://raft-design.botiverse.build/foundations/alignment/#a-mark-that-leads-text
  • Link blue: a deeper, quieter blue: foreground-link, the blue used only for links in running text, is a deep, quiet blue: in light mode about half the chroma of a bright link blue, so it sits beside black ink and yellow without being the loudest thing on a page full of links, and still reads as a link at a glance; dark mode uses the same blue, lightened to read on the dark canvas. It applies to Markdown links and anything colored with foreground-link. (#725)
    • Why: with the bright blue, a page full of links looked loud against the black-and-yellow brand; links keep their blue and their underline, in a deeper, quieter shade.
    • Affects: light oklch(0.4878 0.2432 264.4) (#1447e6) → oklch(0.4327 0.1282 256.54) (#184f95); dark oklch(0.8071 0.1007 250.45) (#8ec5ff) → oklch(0.717 0.1183 253.58) (#6da7ec). Against the canvas 6.83:1 → 8.11:1 in light mode and 9.51:1 → 6.89:1 in dark mode; against foreground 2.75:1 → 2.32:1 and 1.44:1 → 1.98:1, still under 3:1, so the underline at rest still marks the link.
    • Docs: https://raft-design.botiverse.build/foundations/color/#meanings-of-color

Added

  • useLocated, LOCATED_MS and LocatedRequest, with the data-located highlight in styles.css: useLocated(request) returns true while an item should show the located highlight; set data-located on the item while it does. Pass a new request (a counter or token, a string or number, not the item's id) for each jump once the item is on screen. The hook turns the highlight on two frames later, so a second jump to the same item restarts it, and off after LOCATED_MS. (#719)
    • Why: see Located: one highlight for every jump, above.
    • Affects: [data-located] runs a 2s animation of the registered --located-fill colour (info-soft → transparent), painted as a background-image layer over the item's own fill; not painted while the item is :active, selected (data-selected, data-active="true", aria-selected="true"), current (aria-current) or has data-popup-open. The animation shorthand replaces the item's own animation while it is located. Don't set data-located by hand: left on, it keeps hiding hover.
    • Docs: https://raft-design.botiverse.build/foundations/states/#located
  • MessageItem located: shows the located highlight on the message row; pass useLocated(request). (#719)
    • Why: see Located: one highlight for every jump, above.
    • Affects: the row's resting fill is --located-fill (transparent unless located), so a search match, a checked row or an open menu keeps its own fill, and the ring around a delegated face matches the row; a located row doesn't take the fill-subtle hover while the highlight lasts. A row without located renders as before.
    • Docs: https://raft-design.botiverse.build/components/message-item/#states

Changed

  • Status size="md" (the default) and the lead-dot utility, so also SidebarSectionAttention, LiveAgentActivityBarStatus and the NotificationCenterTrigger dot; TaskStatusIcon and the per-status task icons, so the status pixel in TaskChip, TaskCardStatus, TaskStatusBadge, TaskList and TaskBoard; the unread dots of InboxItem and NotificationCenter, the MessageActionCard status dot and the Timeline default marker: 9px → 10px; props and markup are unchanged. (#722)
    • Why: see A status light beside text is 10px, above.
    • Affects: --lead-dot 9px → 10px, so Badge and PanelActivity hold a Status at 10px; the task status pixel svg 9×9 → 10×10; --r-timeline-icon-size default 9px → 10px. A chip that holds a status pixel is 1px wider, its height unchanged. The Timeline axis column is 1px wider and a horizontal Timeline 1px taller. The NotificationCenter unread dot sits centered on the title line: top 17.5px → 17px on a phone, 18px on a desktop. The NotificationCenterTrigger dot keeps its top-right anchor and grows 1px down and left. The InboxItem unread dot takes its extra pixel out of the gap below it, so rows keep their height.
    • Docs: https://raft-design.botiverse.build/components/status/#sizes
  • foreground-link token: light and dark values deepened to the quieter link blue, in foundation.css and tokens.json; the token name is unchanged. (#725)

0.22.0 (2026-10-22)

Design System

  • A mark that leads text: a notice leads with its intent's icon: a toast, a banner or a panel notice never uses a status light to say what kind of notice it is (success, info, warning, error); it leads with its intent's Lucide icon, or the avatar of whoever it is about. A status light keeps its own meanings: whether an agent, a person or a computer is working or online, a task's status, and the square attention dot that marks something waiting or unread. A notice about one of those things may still show that thing's light inside it. It applies to Toast, Banner and PanelNotice. (#709)
    • Why: the same square light said both what kind of notice it was and whether someone was online or a task was done, so one mark carried several meanings; notices now lead with their intent's icon and the light keeps its own meanings.
    • Affects: a notice's leading mark, a 9px status light → the intent's icon: Info, CircleCheck, TriangleAlert (and OctagonAlert for a destructive banner), 16px in a toast and a sm banner, 20px in a banner.
    • Docs: https://raft-design.botiverse.build/foundations/alignment/#a-mark-that-leads-text
  • Chips in running text: one box: every chip with a fill in a message's text, a reference chip, the yellow sticker of a mention of the person reading and an inline task chip, shares one box: 0.875em semibold type on a line 2px shorter than the body line, its words on the sentence's baseline, a leading mark centered on the chip, 6px at each end (4.5px with a leading mark, the mark 4px from the text) and radius-sticker corners. A chip never makes its line taller. In dark mode the sticker keeps its ink edge, drawn inside, and has no die-cut edge outside. Text marks without a fill, a mention of someone else and a web link, are unchanged. It applies to MessageReferenceChip, MessageReferencePending, MessageReferenceUnavailable, MessageReferenceText primary and TaskChip inline. (#706)
    • Why: chips in one sentence had two sizes: a reference chip was 22px tall and made a desktop line 1px taller, while a task chip and the sticker took the sentence's own type on a shorter line, about 5px shorter than a reference chip with letters 2px larger; every filled chip in message text now takes the same box.
    • Affects: chip height = body line − 2px: 20px on a desktop (body 14/22), 22px on a phone (body 16/24); type 12.25px on a desktop, 14px on a phone.
    • Docs: https://raft-design.botiverse.build/foundations/alignment/#marks-in-running-text

Breaking Changes

  • Banner, PanelNotice and ToastIcon: a Status light placed as the leading mark is no longer laid out as one. (#709)
    • Why: see A mark that leads text: a notice leads with its intent's icon, above.
    • Affects: in a Banner, a Status that is a direct child no longer gets the 20px (16px at sm) icon column, so it drops to a row of its own under the text; in a PanelNotice it is no longer centered on the first line; in a ToastIcon it is no longer held at 9px whatever size it was given. An icon in any of them is unchanged.
    • Migrate: replace the leading Status with the intent's Lucide icon, as listed in Banner's and Toast's Variants (Info, CircleCheck, TriangleAlert, and OctagonAlert for a destructive banner). For something still pending, put a Spinner in a status="info" banner instead (see Added). A Status that shows a person's, an agent's or a task's own state may stay inside the notice's text.
    • Docs: https://raft-design.botiverse.build/components/banner/

Added

  • Banner with a Spinner: while something is still pending, such as a computer that hasn't connected yet, a Spinner placed as a direct child takes the icon's place. Banner puts it in the icon's column and centers it on the first line, so the text starts where it does after an icon. Use it in a status="info" banner. (#709)
    • Why: a pending state had no leading mark but a warning light, and waiting is not a problem; a spinner in an info banner says it is still going without the warning tint or its icon.
    • Affects: the spinner's column is 20px (16px at sm), one line tall, with the icon's gap before the text (10px, 8px at sm).
    • Docs: https://raft-design.botiverse.build/components/banner/
  • MessageReferenceChip and MessageReferencePending capped: stops the chip at min(100%, 24em), and a longer MessageReferenceLabel truncates at the end. For words Raft doesn't write, such as the title an app gives a link it previews. Give the pending chip the same capped as the chip that replaces it, so the line keeps its width when it loads. (#696)
    • Why: an app's link is shown as a reference chip with the app's own title, and a long title could take the whole line; a capped chip keeps each link to at most one line.
    • Affects: cap 24em of the chip's text: 294px on a desktop, 336px on a phone, or the line when it is narrower.
    • Docs: https://raft-design.botiverse.build/components/message-item/#app-links

Changed

  • toast command API: toast.info, toast.success, toast.warning and toast.error lead with their intent's icon in ToastIcon instead of a status pixel. The calls, icon: false and leading are unchanged, and a leading node still takes the icon's place. (#709)
    • Why: see A mark that leads text: a notice leads with its intent's icon, above.
    • Affects: 9px status pixel → 16px Lucide icon in the same 20px column, hidden from assistive technology as before: info Info, success CircleCheck, warning and error TriangleAlert.
    • Docs: https://raft-design.botiverse.build/components/toast/
  • MessageReferenceChip, MessageReferencePending, MessageReferenceUnavailable, MessageReferenceText variant="primary" and TaskChip variant="inline" take the shared chip box in running text; props, variants and markup are unchanged. (#706)
    • Why: see Chips in running text: one box, above.
    • Affects: reference chips: 1px padding above and below → 0, height 22px → body line − 2px (20px desktop, 22px phone), gap after a leading icon or Spinner and before a MessageReferenceSuffix 2px → 4px, a chip led by a Spinner (a pending reference) 6px → 4.5px at each end, as a chip led by an icon. The sticker (primary): sentence-size type on a 1.2em line → 0.875em on the chip line, sides 3px → 6px, the outer 1.5px ring-sticker-edge removed (the 1.5px inset ink ring stays). TaskChip inline: sentence-size type on a 1.2em line → 0.875em on the chip line, status pixel to text 6px → 4px, a leading icon 12px → 14px, its −2px side margins removed. Text set on a line other than the body's can give its chips their own line height with --chip-line-height on a container. The default and sm TaskChip are unchanged.
    • Docs: https://raft-design.botiverse.build/components/message-item/#chips-in-running-text
  • DialogFooter and AlertDialogFooter: the buttons stay in one row at the end, Cancel then the commit button, at every width, and stack full width, the commit button on top, only when they don't fit on one line. In DialogFooter, a TextLink written first sits at the start in footnote text, and the buttons after it form one group (data-slot="dialog-footer-actions") that stays beside the link when both fit and wraps under it, still at the end, when they don't. Props are unchanged. (#673)
    • Why: a commit button with a long label pushed the row past the dialog's padding; the footer now measures its row and stacks only then, never because the window is narrow, so Cancel and the commit button sit in the same place on every screen.
    • Affects: a row that doesn't fit gets data-stacked, a full-width column with the commit button on top; Tab order stays the markup's, Cancel then commit. A TextLink in DialogFooter takes text-footnote. A footer that sets its own layout with className keeps it while it fits on one line; give text that may give way min-w-0, so it shrinks before the footer stacks. With a leading TextLink, styles aimed at the footer's direct button children now need to target the dialog-footer-actions group.
    • Docs: https://raft-design.botiverse.build/components/dialog/#the-footer
  • Banner size="sm": the title and description keep the banner's 14px text (text-callout), as md and lg; sm tightens only its padding and its icon. (#718)
    • Why: a sm banner's text was smaller than the label of its 32px button, which made the button look too big for the banner; a banner's text is now never smaller than its button's label.
    • Affects: sm text text-footnote → text-callout: 12/18 → 14/22 on a desktop, 13/18 → 14/20 on a phone. The 16px icon and the 8px × 12px padding are unchanged. With a button, the button stays centered on the last line, 4px from the top and bottom edges, so the space above and below the text, (32px − one line) / 2 + 4px, goes 11px → 9px on a desktop and 11px → 10px on a phone; a one-line banner stays 40px tall.
    • Docs: https://raft-design.botiverse.build/components/banner/#sizes

0.21.2 (2026-10-22)

Fixed

  • DescriptionList inline: a default-size TaskChip or TaskStatusBadge that comes first in DescriptionDetails hangs by its 7px left padding, so its icon or text starts where the other values' text does. (#710)
    • Why: 0.21.1 gave these chips 7px of left padding, but the list still pulled them 6px, so they started 1px to the right of the plain values beside them; the pull now matches the default chip's padding.
    • Affects: left margin -6px → -7px and max-width calc(100% + 6px) → calc(100% + 7px) for a leading TaskChip or TaskStatusBadge of any size; the pull fits the default 7px padding, so a size="sm" (5px) or variant="inline" (4.5px) chip in that place is pulled 7px too. A Badge (6px) and a Button are unchanged.
    • Docs: https://raft-design.botiverse.build/components/description-list/

0.21.1 (2026-10-22)

Design System

  • Chips: the ink at a chip's two ends sits the same distance from its fill's edges. A chip keeps its total padding and its width, and splits the padding between its ends so each end makes up for the empty space its own content brings. A smaller note after a chip's label centers on the label's letters, and the label stays on the sentence's baseline. It applies to MessageReferenceChip, MessageReferencePending, MessageReferenceUnavailable, MessageReactionChip, MessageItemSavedIndicator, MessageForwardedBundleAttachment, TaskChip and TaskCardStatus, and to the new MessageReferenceSuffix. (#700)
    • Why: the chips split their padding as if every end were the same, so an icon or a status pixel sat closer to its edge than the last letter did to the other (3.6px against 7px in a reference chip), and the end after the text looked empty; each chip's padding is now set from where its ink is drawn.
    • Affects: the padding at each end, left / right, totals unchanged; see Fixed below.
    • Docs: https://raft-design.botiverse.build/foundations/alignment/#chips
  • A control and its label: a settings row is the exception to the first-line rule. The leading icon, avatar or tile and the trailing switch, checkbox, radio, value or chevron of a ListRow variant="plain" center on the whole row, with or without a description, as they did in 0.20. A checkbox or radio beside wrapping text in a <label> row still sits on that text's first line. It applies to ListRow. (#703)
  • Timeline rhythm: the edge that messages scroll under fades: the bottom edge of a message list, over the composer, fades from the panel's color to transparent over the section step, at all times, instead of cutting the message under it. The line of who is about to post sits on the same fade and has none of its own. It applies to the new MessageListEndFade. (#699)

Added

  • MessageReferenceSuffix: a short note after a reference chip's label, in muted Space Mono, such as msg on a link to a message. Put it inside MessageReferenceChip, after MessageReferenceLabel. (#700)
    • Why: a note in a span of the caller's own sat on the label's baseline, 0.3px low beside a 12.25px label and 0.75px low beside a 14px one, and its descenders made it look lower still; the part keeps the label's baseline in the layout and draws the note a quarter of the size difference higher, so the middles of the two x-heights meet.
    • Affects: text-label (11px) in foreground-hint, line height 1; drawn (label size - 1em) / 4 higher.
    • Docs: https://raft-design.botiverse.build/components/message-item/
  • MessageListEndFade: the fade over a message list's bottom edge. Put it beside MessageList, in the same positioned parent (ConversationPanelBody is one), like the jump controls; it lies under them, is hidden from assistive technology and takes no pointer events. (#699)
  • SegmentedControl variant="on-frame", for a control in the frame (a top bar). variant="default" is unchanged and stays the default. (#693)
    • Why: a yellow sticker on the yellow frame did not read as selected, and a white segment beside it looked chosen instead; in the frame the selected segment takes the frame's active colors, as a selected rail item does.
    • Affects: track fill-frame-medium; other segments foreground-on-frame-muted, with foreground-on-frame on hover and overlay-frame-medium on hover and press; the selected segment layer-frame-active with a line-frame-active edge and foreground-on-frame-active text (white on the yellow frame, yellow on the dark one).
    • Docs: https://raft-design.botiverse.build/components/segmented-control/

Changed

  • ListRow variant="plain" with a description: the leading icon, avatar or tile and the trailing switch, checkbox, radio, value or chevron center on the whole row again, as in 0.20, instead of on the title's first line. With a title alone, nothing changes. This reverts the 0.21.0 change to ListRow. (#703)

Fixed

  • MessageReferenceChip, MessageReferencePending, MessageReferenceUnavailable, MessageReactionChip, MessageItemSavedIndicator, MessageForwardedBundleAttachment, TaskChip and TaskCardStatus: the ink at both ends sits the same distance from the edges; each chip keeps its total padding and its width. (#700)
    • Why: see Chips above.
    • Affects: padding left / right: MessageReferenceChip, MessageReferencePending and MessageReferenceUnavailable with an icon 3px / 6px → 4.5px / 4.5px (without an icon unchanged, 6px / 6px); MessageReactionChip 6px / 8px → 7px / 7px; MessageItemSavedIndicator and MessageForwardedBundleAttachment 6px / 6px → 5.5px / 6.5px (their bookmark and file icons are drawn inside their boxes); TaskChip 6px / 8px → 7px / 7px, size="sm" 4px / 6px → 5px / 5px and variant="inline" 3px / 6px → 4.5px / 4.5px; TaskCardStatus 6px / 8px → 7px / 7px.
    • Docs: https://raft-design.botiverse.build/foundations/alignment/#chips
  • MessageReferencePending, and any reference chip, holding a Spinner: the spinner centers on the middle of the label's line, as an icon does. (#700)
  • MessageQuotedPreviewChannel and MessageQuotedPreviewThread: the icon sits on the first line of the name when a long name wraps, instead of in the middle of both lines. (#700)

0.21.0 (2026-10-22)

0.20.1 was not published to npm. This release includes its changes, listed under 0.20.1 in the changelog.

Design System

  • Timeline rhythm: a conversation uses three distances between its lines, measured from text to text: 8px between the rows of one turn, the message step (16px) between turns, and the section step (24px) at a boundary: either side of a date line, from the top of the list to its first line, and from the last line to the composer's frame. It applies to MessageItem, SystemMessage, SystemMessageGroupHeader, MessageListDateDivider, MessageListNotice, ThreadPanelOriginalMessage, ThreadPanelReplySummary, ThreadPanelReplyCount, ConversationPanelFooter and ThreadPanelFooter. (#694)
    • Why: each part kept its own spacing, so a date line sat closer to the message above it than to the one below and looked attached to it, an event line had more space under it than over it, and the composer's frame read as touching the last message; the parts now read one rhythm from tokens, one step wider for each kind of break.
    • Affects: new tokens timeline-gap-message 16px, timeline-gap-section 24px and timeline-row-inset 4px (the reach of a row's highlight above and below its text).
    • Docs: https://raft-design.botiverse.build/foundations/spacing/#timeline-rhythm
  • A control and its label: a checkbox, radio or switch sits 8px before its label, centered on the label's first line, and keeps its size wherever it sits. In a settings row with a description, both ends center on the title's first line. A tap between two options lands on the nearer one. It applies to Checkbox, RadioGroupItem and ListRow; FieldItem already followed it. (#686)
    • Why: a box in a <label> row followed the row instead of the text's line, so callers nudged it with a margin, and a settings row's ends centered on the title and description together, level with neither; the components now place the control themselves.
    • Affects: switch 50 × 30px and checkbox and radio 20px, unchanged; 8px from control to label.
    • Docs: https://raft-design.botiverse.build/foundations/alignment/#a-control-and-its-label

Breaking Changes

  • ConversationPanelFooter and ThreadPanelFooter: no space of their own above the composer; the end of the list sets it. (#694)
    • Why: the footer's 12px stacked on whatever space the list left under its last message, so the gap to the composer differed from list to list; now the list ends with one token and the composer's frame sits a section step, 24px, under the last line.
    • Affects: footer top padding 12px → 0; pb-timeline-end is 20px (the 24px section step less the last row's 4px inset).
    • Migrate: end your message list with pb-timeline-end under its last row, in place of any spacer you had there; without it the composer moves 12px closer to the last message. You can also start the list with pt-timeline-start over its first row, so its top follows the same step.
    • Docs: https://raft-design.botiverse.build/components/conversation-panel/

Added

  • Timeline spacing utilities: pt-timeline-start and pb-timeline-end for the top and end of a message list you build, and timeline-message, timeline-section, timeline-row, timeline-turn and timeline-lead, which the components use. All are registered with the cn helper, so they merge with other padding and margin classes. (#694)
    • Why: a list's top and end were written by hand in each product, which is how the gaps drifted; two utilities now give the section step with the rows' own insets taken out.
    • Affects: timeline-start 12px, timeline-end 20px, timeline-turn 8px, timeline-lead 12px, timeline-message 16px, timeline-section 24px, timeline-row 4px. Use only timeline-start and timeline-end in a product.
    • Docs: https://raft-design.botiverse.build/foundations/spacing/#timeline-rhythm
  • ButtonSize and DeprecatedButtonSize types, and the button-sizes codemod, which renames deprecated Button sizes to the size they render as. (#686)
    • Why: the deprecated names could only be found by hand, and sm and xs are also sizes of other components; the codemod parses TSX and renames size only on Buttons, the raft-ui parts that pass size to a Button and wrappers you name, plus icon-sm / icon-xs on any element and size in buttonVariants() calls.
    • Affects: run node node_modules/@botiverse/raft-ui/codemods/button-sizes.mjs <src> [--dry] [--components=MyButton]; it renames xs, sm → md and icon-xs, icon-sm → icon-md, then lists every sm, xs, icon-sm and icon-xs it left for review. It needs @babel/parser, a new optional peer dependency (pnpm add -D @babel/parser); nothing else uses it.
    • Docs: https://raft-design.botiverse.build/components/button/#sizes

Changed

  • Button size: xs and sm are deprecated aliases of md, and icon-xs and icon-sm of icon-md, kept until raft-ui 1.0. They already rendered as those sizes, so nothing on screen changes. (#686)
    • Why: nine names for five sizes made a smaller button look available where there is none; a new Size by place table says which size each place takes.
    • Affects: sizes md (32px), lg, xl, icon-md and icon-lg; size is typed ButtonSize | DeprecatedButtonSize, so every existing size name still type-checks. No runtime warning.
    • Docs: https://raft-design.botiverse.build/components/button/#size-by-place
  • Checkbox and RadioGroupItem directly in a <label>: the box takes one line of the label's height and centers on it, so it sits on the first line in an items-start row and on the one line in an items-center row, at any min-height. (#686)
    • Why: the box followed the row rather than the text's line, so it sat above the center of a line taller than 20px and callers added a margin-top; see A control and its label above.
    • Affects: vertical margin max(0, (1lh - 20px) / 2) from the <label>'s type (2px on a 24px line); the box stays 20px and a text-xs row stays 20px tall. A margin-top you added to line it up is no longer needed. Set the label's type on the <label>, use items-start when the text can wrap, and give a wrapping text-xs label leading-5.
    • Docs: https://raft-design.botiverse.build/foundations/alignment/#a-control-and-its-label
  • DescriptionList direction="inline": every fact is at most 24rem wide, or the row's width if that is narrower, and keeps the same 24px between facts and 8px between lines as the others. (#697)
    • Why: a long value, such as a message, made its fact as wide as the row on a line of its own, so one line of facts no longer read as one flow; every fact now wraps the same way, and a long value wraps at the cap, or is cut there when the caller truncates it.
    • Affects: fact max-width none → min(100%, 24rem) (384px); plain text longer than that wraps inside the 24rem. To cut a long value on one line instead, truncate it with an ellipsis and make the whole value available elsewhere, such as a tooltip.
    • Docs: https://raft-design.botiverse.build/components/description-list/
  • ListRow variant="plain" with a description: the leading icon, avatar or tile and the trailing switch, checkbox, radio, value or chevron center on the title's first line instead of the middle of the title and description. With a title alone, nothing changes. (#686)
    • Why: with a description the ends sat between the title and the description, level with neither and with no line of text.
    • Affects: the ends move without changing size, so row heights are unchanged (54px on a phone for a one-line row with a switch).
    • Docs: https://raft-design.botiverse.build/components/list-row/
  • MessageListDateDivider, SystemMessage, SystemMessageGroupHeader, MessageListNotice, ThreadPanelOriginalMessage, ThreadPanelReplySummary and ThreadPanelReplyCount: spaced on the timeline rhythm. (#694)
    • Why: see Timeline rhythm above.
    • Affects: a date line's rule sits 24px from the text above and below it (was 24px / 32px on a phone, 25px / 33px on a desktop); SystemMessage padding 12px / 12px → 12px / 4px, 16px from the text on both sides; a closed SystemMessageGroupHeader keeps the same 12px / 4px around its disclosure's text (padding 6px / 6px → 6px top and −2px bottom on a phone, 7px and −1px on a desktop), and an open one keeps its 6px under the header; MessageListNotice padding 0 / 8px → 12px / 4px; ThreadPanelOriginalMessage bottom padding 8px → 20px and ThreadPanelReplySummary top padding 8px → 12px, so the thread's rule sits 24px from the text on both sides; ThreadPanelReplyCount gains 4px above it (margin 0 / 4px → 4px / 4px). MessageItem keeps its 4px / 8px, now read from the tokens.
    • Docs: https://raft-design.botiverse.build/foundations/spacing/#timeline-rhythm

Fixed

  • Select, Combobox, ComboboxSelect and InputGroup: a value cut with an ellipsis gets its full text as a title whenever it is cut. (#695)
    • Why: the check compared whole pixels with 1px to spare, so it missed cuts of about 0.6–1.3px that still showed an ellipsis, and it did not measure again when a web font finished loading; it now compares fractional sizes and measures again after fonts load.
    • Affects: tolerance 1px (whole pixels) → 0.5px (fractional).
    • Docs: https://raft-design.botiverse.build/components/select/
  • Checkbox and RadioGroupItem hit areas: in a <label> row the box or circle reaches 4px past its line, half the 8px gap to the next option, so a tap between two options lands on the nearer one; the label is the target for the rest. On its own, its hit area is 44px tall on a touch screen. (#686)
    • Why: each option's hit area reached across the gap and the next option's covered it, so a tap just under one option could select the next one.
    • Affects: standalone touch hit area 44px tall (was 36px for a checkbox, 33px for a radio); standalone mouse hit area unchanged; in a <label> row the hit area is the line plus 4px above and below, for every pointer.
    • Docs: https://raft-design.botiverse.build/foundations/alignment/#a-control-and-its-label

0.20.1 (2026-10-22)

Design System

  • A mark that leads text: an icon or status light that starts a line of text is centered on the first line of that text and stays there when the text wraps or a description follows. Only the place is shared; each component keeps its own icon size and gap. A status light beside text is always 9px. It applies to Banner, PanelNotice, ToastIcon, MessageActionCardNotice, Badge and PanelActivity. (#670, #687)
  • Popups stay on their trigger: when the window or a pane scrolls under an open popup, the popup moves with the element that opened it. A context menu stays with the point where it was opened. It applies to SelectContent, ComboboxContent, PopoverContent, PreviewCardContent and NotificationCenterPopup. (#669)

Added

  • lead-icon and lead-dot utilities: center an icon (lead-icon) or a Status light (lead-dot) you place yourself on the first line of the text beside it. (#670, #687)

Changed

  • Status in Banner, PanelNotice, ToastIcon, Badge and PanelActivity: held at 9px and centered on the first line, whatever size or vertical margin it was given. (#670, #687)
    • Why: the same light showed at different sizes in a toast, a banner and a chip; a light beside text has one size, 9px, the least color that tells green from yellow from orange, plus its ink edges.
    • Affects: a Status passed xs (6px), sm (8px) or lg (11px) in these components renders 9px; the xs edge 1px → 1.5px (its 1px corner stays). The default md is unchanged, as are icon sizes and gaps.
    • Docs: https://raft-design.botiverse.build/components/status/#sizes

Fixed

  • PanelNotice: a leading status light or icon is centered on the first line of the notice's text. (#670, #687)
    • Why: the mark sat at the top of the first line, a light 6.5px above the line's center on a desktop (5.5px on a phone) and a 16px icon 3px (2px); the notice now follows A mark that leads text.
    • Affects: icon size and gap are unchanged (your icon's size, 10px before the text).
    • Docs: https://raft-design.botiverse.build/components/panel/
  • Popups: SelectContent, ComboboxContent, PopoverContent, PreviewCardContent and NotificationCenterPopup follow their trigger while the window or a scrolling pane moves. (#669)
    • Why: these wrappers turned anchor tracking off by default, so an open popup kept its opening position and drifted off its trigger as soon as anything scrolled; they now leave it to Base UI's default.
    • Affects: disableAnchorTracking default true → unset (Base UI's default, tracking on). ContextMenuContent drops its true default too; it is anchored to a point, so it looks the same. Pass disableAnchorTracking to turn it off for one popup. Select still turns tracking off with alignItemWithTrigger.
    • Docs: https://raft-design.botiverse.build/foundations/elevation/#popups

0.20.0 (2026-10-22)

Design System

  • Hover and press: hover and press are one translucent ink layer over the resting colour, never a fill swap, in two tiers sized by what is under the pointer. Subtle for rows, messages, readable cards and a row whose menu is open; medium for small controls and for pressing anything clickable. A colour sticker and the frame get their own medium alphas. Selected items and fields don't hover, a message has no press, and every hover sits under (hover: hover). It applies to every row, card, button, badge, tab, segment, sidebar and rail item, table row, inbox item and menu. (#681)
    • Why: the same hover looked different on paper, the sidebar and a card, rows and messages used three different steps, and some clickable parts gave no feedback on press; one layer in two tiers reads the same everywhere.
    • Affects: subtle fill-subtle 4% light / 3% dark; medium fill-medium 7.8% light / 6.5% dark (was 7.8%); sticker-medium 10% (was 12.2%); fill-frame-medium 10% light (was 12.2%) / 6% dark (was 7.8%); dark brand-soft 16% → 20%; colour -hover / -active pairs mix 10% ink (was 12%).
    • Docs: https://raft-design.botiverse.build/foundations/states/#hover-and-press
  • Inside a frame: a control embedded in another component's frame (a field, the composer, a toolbar, a card or media corner) wears radius-chip (6px) and sits the same distance from every side of the frame and from its siblings; frames themselves don't change. It applies to ComboboxSelect, Combobox, InputGroup, the composer, the message hover and text-selection toolbars, the lightbox and multi-select bars, CodeBlock, media and file card actions, popover close, menus and SegmentedControl / ToggleGroup. (#682)
    • Why: embedded buttons at the free-standing 8px corner read nearly round at 20px, and their offsets differed per component; one corner and one even inset make them read as one kind of thing.
    • Affects: new tokens control-embedded-inset 6px and control-embedded-size 20px desktop / 32px phone (utilities embedded-inset, control-embedded); insets 6px in a field, the composer and a corner, 4px in a floating toolbar and for a popup's highlight, 3px between segments.
    • Docs: https://raft-design.botiverse.build/foundations/shape/#inside-a-frame

Breaking Changes

  • Dialog size: sm is 400px (was 384) and lg is 640px (was 512); md 448 and wide 896 are unchanged. Sizes are chosen by content: sm for a decision, md for a small task, lg for content that needs width. (#676)
    • Why: the steps between sizes were too small to mean anything, and a confirmation could be 384 or 400 wide depending on the component; now every confirmation is 400, the same as AlertDialog.
    • Affects: sm max-w-sm (384px) → 400px; lg max-w-lg (512px) → 640px.
    • Migrate: dialogs with size="sm" grow 16px and size="lg" 128px; check their content and pick the size by content. Set width with size only, not your own max-w-*.
    • Docs: https://raft-design.botiverse.build/components/dialog/#variants
  • Hover tokens: renamed to their tier. The old names stay as deprecated aliases until 1.0, but they now resolve to the tier values, so some hovers change. (#681)
    • Why: names that said where a fill was used (row hover, message hover, row open, pressed) could not describe two tiers that apply everywhere.
    • Affects: fill-row-hover, fill-row-open, fill-message-hover → fill-subtle (row open 5% → 4%, message hover 3% → 4%); fill-pressed → fill-medium; fill-frame-pressed → fill-frame-medium; sticker-pressed → sticker-medium; utilities row-hover-overlay, row-open-overlay → overlay-subtle, press-overlay → overlay-medium, press-overlay-sticker → overlay-sticker-medium. Overlays are registered with the cn helper as background images, so a later hover:bg-none or another tier replaces them.
    • Migrate: run node node_modules/@botiverse/raft-ui/codemods/token-names.mjs <paths>; it renames classes, var(--…) and var(--color-…) forms. Then move readable cards that used press-overlay for hover to overlay-subtle. Tests that assert a token name in a class (for example var(--fill-row-open) on a message) look for the new name.
    • Docs: https://raft-design.botiverse.build/foundations/color/#hover-overlays
  • MessageItemToolbar and MessageTextSelectionToolbar: 36px tall (was 32), buttons 4px from the frame and 4px apart (was 2px), at radius-chip. The hover toolbar rides 18px above the row (was 16). (#682)
    • Why: at a 2px inset the buttons' hover fill nearly touched the frame; see Inside a frame above.
    • Affects: toolbar height 32 → 36px; inset and gap 2 → 4px; the message header's default reserve --mi-toolbar-reserve 6.5rem → 7rem (three buttons).
    • Migrate: if you set --mi-toolbar-reserve yourself, compute it as 1rem + 2rem × buttons (was 1.25rem + 1.75rem × buttons). Leave at least 18px above the first message of a scroll area and above a thread's root message.
    • Docs: https://raft-design.botiverse.build/components/message-item/
  • MessageMultiSelectToolbar: 36px tall (was 48) with 28px buttons (was 32) 4px from the frame; on a touch screen each button takes a 44px tap. The buttons go in the new MessageMultiSelectToolbarActions. (#682)
    • Why: every floating toolbar is now 36px with 28px buttons; the touch hit area keeps the smaller buttons easy to tap.
    • Affects: height 48 → 36px; buttons 32 → 28px; inset 8 / 10 → 4px; gap 6 → 4px.
    • Migrate: wrap the toolbar's buttons in MessageMultiSelectToolbarActions, which owns their 4px gap and the touch hit areas; remove your own gap or padding there.
    • Docs: https://raft-design.botiverse.build/components/message-item/
  • ComboboxSelect, Combobox and InputGroup chips and end buttons: chips and embedded buttons in a field are 20px on a desktop and 32px on a phone (chips were 28px, end buttons 32px), 6px from the field's edge and from each other, at radius-chip, so a field with chips stays 32 / 44px tall (it grew to 42). (#682)
    • Why: 28px chips made a field with chips taller than one without, and the embedded buttons sat at different offsets per component.
    • Affects: chips 28 → 20px desktop / 32px phone; chip remove 16 / 28px at radius-sticker; InputGroup end-addon Button 32 → 20 / 32px with a 16px icon; ComboboxSelect sm keeps 22px chips at 3px, lg uses 40px chips in a 52px field.
    • Migrate: remove size, offset or radius overrides on chips and end-addon buttons in fields. In an InputGroup end addon, put a Kbd before the Button, so on a phone (Kbd hidden) the button is the last child and ends 6px from the edge.
    • Docs: https://raft-design.botiverse.build/components/combobox-select/

Added

  • CodeBlockPre: renders the code's pre. While the code overflows it is a keyboard-reachable named region (tabindex=0, role=region, aria-label "Code" by default), so it can be scrolled from the keyboard; code that fits adds no Tab stop. (#682)
  • MessageMultiSelectToolbarActions: the multi-select toolbar's actions at its end, 4px apart, with touch hit areas. (#682)
  • Press feedback: Badge, the mention sticker, InboxItem, Table rows, the system-message disclosure and the selected SidebarItem now press with the medium tier. (#681)

Changed

  • MessageItem, MessageAttachmentCard, MessageReplies, TaskCard and menu-open rows: hover with the subtle tier. (#681)
    • Why: a message, a readable card and a row whose menu is open are large things people read; one subtle step keeps text contrast and never stacks with the menu-open fill.
    • Affects: message hover 3% / 2.2% → 4% / 3%; menu-open row 5% / 4% → 4% / 3%; attachment card, replies bar and task card 7.8% → 4% / 3%. Press stays medium.
    • Docs: https://raft-design.botiverse.build/foundations/states/#hover-and-press
  • SegmentedControl, ToggleGroup and Select: a selected segment or toggle no longer darkens on hover and presses with sticker-medium; the Select trigger and the top-bar SearchTrigger don't hover, only press. SegmentedControl and ToggleGroup items are 3px apart (was 2). (#681, #682)
  • DropdownMenu, ContextMenu, Select, Combobox, ComboboxSelect, the suggestion list and quick reactions: the highlighted item sits 4px inside the popup at radius-chip, and separators take 4px. (#682)
  • CodeBlock: the copy and other actions sit 6px from the corner at radius-chip, and without a header they take a column of their own instead of covering the first line; the code scrolls beside them. With a header, the actions sit 6px from its end, centred in it, 4px apart. (#682)
  • Composer, MessageActionCard, Popover header close, Lightbox info bar, video preview, gallery and file card actions: embedded buttons at radius-chip, 6px from the frame's sides (4px in the lightbox bar, whose buttons are 28px with a 44px touch target). (#682)

Fixed

0.19.0 (2026-10-21)

Design System

  • Collapsing the sidebar: on desktop the sidebar toggle is the first item of the rail's footer, above Help and Settings. Its icon shows what pressing it does (panel-left-close while the sidebar is shown, panel-left-open while it is hidden), its tooltip says Collapse Sidebar or Expand Sidebar with the shortcut (⌘\ on macOS, Ctrl+\ elsewhere), and the state is remembered on the device. It applies to AppShellSidebarTrigger. (#674)

Breaking Changes

  • BannerAction: the buttons sit at the bottom right, at the end of the last line of text and centered on it, while the text fits beside them on one line. When the text would wrap beside them, or the banner is narrower than 480px, they take a line of their own under the text, aligned to the end. BannerAction places itself; it sets data-wrap when it takes its own line. (#672)
    • Why: the button sat in a start-aligned row under the text, away from where the eye ends; it now comes after what it acts on and ends where reading ends, as a dialog's commit button does.
    • Affects: action placement from a row under the text (start-aligned, mt-2) → the end of the last line from 452px of banner content (a 480px banner at md), otherwise its own line under the text, end-aligned; size="sm" banners with an action get vertical padding that centers a 32px button on the line.
    • Migrate: remove layout overrides on BannerAction, such as col-span-full, col-start-*, row-start-* or mt-*, which now fight its placement. Give Banner a width (or let it fill its parent); never w-fit. Use variant="default" size="sm" for the button, and put a ghost Dismiss (variant="ghost" size="sm") before it when the banner can be dismissed; move a × out of BannerAction into BannerClose, on a banner with no button.
    • Docs: https://raft-design.botiverse.build/components/banner/
  • AppShellSidebarTrigger: the trigger is a disclosure button. It has aria-expanded and aria-controls naming the sidebar slot, instead of aria-pressed, and its labels are Title Case: "Collapse Sidebar" and "Expand Sidebar". (#674)
    • Why: the trigger shows and hides a region, which assistive technology announces as expanded or collapsed, not as a pressed toggle.
    • Affects: aria-pressed → aria-expanded; new aria-controls; AppShellSidebarSlot gets a generated id when the root is sidebarCollapsible and none is passed; label and title "Collapse sidebar" / "Expand sidebar" → "Collapse Sidebar" / "Expand Sidebar".
    • Migrate: update tests and selectors that read aria-pressed or the old labels to aria-expanded and the Title Case labels. When you wrap the trigger in a Tooltip, pass title={undefined} and repeat the label in the tooltip; to translate it, pass your own aria-label.
    • Docs: https://raft-design.botiverse.build/components/app-shell/
  • AppShellMainSlot and AppShellSidebarSlot: in a collapsible shell, the main area has a z-index only while it slides over the sidebar, and the collapsed sidebar is inert. (#674)
    • Why: the main area sat at z-index 45 at rest and covered the app's own fixed layers, such as a bar at z-40, and a collapsed sidebar's controls stayed in the tab order while hidden.
    • Affects: main slot z-45 always → z-2 with data-sliding only during the slide, none at rest; the expanded sidebar slot is relative z-1, so a resize handle past its edge stays grabbable; the collapsed sidebar slot adds inert to aria-hidden.
    • Migrate: remove workarounds that lowered the app's own layers below z-45 or raised them over the main slot, and any code or test that reads an inline or computed z-index on the main slot at rest. Don't make the collapsed sidebar focusable yourself; a shortcut that collapses it while focus is inside should move focus to the trigger first.
    • Docs: https://raft-design.botiverse.build/components/app-shell/

Added

  • BannerClose: the × of a banner that has no button, a frameless icon button at the end of the first line whose icon box ends on the banner's padding. Its label defaults to "Dismiss". (#672)
    • Why: a × put in BannerAction read as one of the actions and sat on the wrong line; the close control now has a place of its own.
    • Affects: variant="ghost", size="icon-sm" (32px), centered on the first line. With BannerAction in the same banner, raft-ui warns in development and moves the actions to a line of their own.
    • Docs: https://raft-design.botiverse.build/components/banner/

Fixed

  • BannerTitle and BannerDescription: a long word or URL breaks onto the next line instead of pushing the banner wider. (#672)
  • ResizableHandle: under a coarse pointer, such as a finger on a tablet, the handle is easier to grab. (#667)

0.18.0 (2026-10-21)

Design System

  • Field frames: a field's ink frame is 1.5px, the same weight as a button's. It applies to Input, Textarea, InputGroup, Select, Combobox, ComboboxSelect, SearchTrigger, the composer and an option card. Read-only fields keep their light, thin edge. (#661)
    • Why: a field sits next to its send button, its submit button and the selected row, all 1.5px ink; at 1px it was the one thin control among them and read as a lighter style rather than the same system.
    • Affects: line-field width 1px → 1.5px.
    • Docs: https://raft-design.botiverse.build/foundations/shape/
  • Autofill: a field the browser filled in looks like any other field, layer-card with ink text. (#661)

Fixed

  • Input, Textarea, Select and every other field: browser autofill no longer paints a field pale blue or yellow. raft-ui's styles.css handles every input, textarea and select on the page; a disabled autofilled field keeps the disabled ink. (#661)

0.17.0 (2026-10-21)

Design System

  • Dragging on a touch screen: on an item that can be moved, holding still opens its menu and holding then moving drags it. The item arms after 500ms, the same moment raft-ui's long-press menu opens, and the drag starts on the first 10px of movement; moving earlier is a scroll, and a second finger cancels. The component that owns the item's menu closes it when the drag starts. (#662)
    • Why: on a phone, a long press on a draggable item opened its context menu first, and a scroll that started on a tab, task card or attachment picked the item up instead.
    • Affects: touch drag hold 0ms (tabs, cards and attachments picked up at once) → 500ms, then 10px; held items get select-none, -webkit-touch-callout: none and touch-manipulation. Mouse and pen still start a drag after 5–6px, with no hold.
    • Docs: https://raft-design.botiverse.build/foundations/states/#dragging-on-a-touch-screen

Added

Fixed

  • SortableTabsList, task drag-and-drop and SortableComposerAttachments: on a touch screen a finger no longer starts a drag at once; it has to hold still for 500ms and then move. Scrolling that starts on a card or an attachment scrolls again. (#662)

0.16.0 (2026-10-21)

Breaking Changes

  • VirtualList items: compared by reference. A row renders again only when its item, its index or one of the list's render props changes, so replace an item to change it instead of editing it in place. (#658)
    • Why: keeping rows across range updates is what removes the per-frame re-render.
    • Migrate: if your code edits an item object in place, or a render function reads mutable state outside the props, replace the item (a new object) when it changes.
    • Docs: https://raft-design.botiverse.build/components/virtual-list/

Changed

  • VirtualList: scrolling no longer restyles or re-renders every mounted row. Rows that stay in range keep their elements; rows are mounted ahead of the view in batches and passed rows stay mounted for a while; only the rows that fill the view below are mounted; rows above the view are planned at the average measured height; resize passes where nothing changed size write nothing. (#658)
    • Why: in a long chat timeline the list dropped more frames than a plain list while scrolling, most with a slow CPU: every row was restyled on almost every frame, and each range change re-rendered every row.
    • Affects: with a 4x slower CPU, frames over 33ms scrolling 320 messages 9 → 0 down and 24 → 0 up, p95 33ms → 16.7ms; main-thread time per frame 10–17ms → 2–5ms. Up to 2.5 viewports of passed rows stay mounted; after a jump only the rows in view mount, as before.
    • Docs: https://raft-design.botiverse.build/components/virtual-list/

0.15.0 (2026-10-21)

Design System

  • Server switcher: on every surface (the web top bar, the phone web's Home and the mobile app) the server switcher is one button: the server's avatar, its name and a chevron, whatever sits beside it. The tilted ink pill on the phone web's Home is retired; build the switcher from WorkspaceButton, Avatar type="server" size="sm" and WorkspaceButtonName. (#655)
    • Why: the switcher had three different shapes across the web top bar, the phone web and the mobile app, and the desktop button changed shape with the window width.
    • Affects: avatar sm 27px, gaps 8px / 4px, name max 200px then an ellipsis, chevron 16px, on an on-frame md button (36px).
    • Docs: https://raft-design.botiverse.build/patterns/navigation/#servers

Added

0.14.0 (2026-10-21)

Design System

  • Option height: an option in any popup list is as tall as its content, and the space above and below its text is constant. (#647)

    • Why: options had a fixed 6px above and below whatever their content, which is less than a one-line 36px row leaves around its text, so a two-line option (a wrapped label, or a name with an id under it) looked more cramped than its one-line neighbors.
    • Affects: space above and below an option 6px → 7px with a mouse (22px line), 8px on a touch screen (20px line); one line stays 36px; a second line adds only its own height. On short windows (600px tall or less) the menus' extra py-1 is removed.
    • Docs: https://raft-design.botiverse.build/patterns/forms/#option-height
  • The ends of a header: the icon buttons at both ends of every header (panels, threads, phone top bars, drawers, sheets, a dialog's ×, the sidebar) put their icon box on the content margin, and their empty hit area hangs outward. (#650)

    • Why: a 44px button on a touch screen was placed by its own edge, so Back sat 11px inside the content line while the ⋮ at the other end stayed on it, and the two ends stopped mirroring.
    • Affects: icon box on the margin, 16px on a phone and 20px on a desktop and in a dialog, at every button size (32px or 44px); a phone's top bar moves its icon boxes from 14px to 16px from the edge.
    • Docs: https://raft-design.botiverse.build/foundations/alignment/#the-ends-of-a-header
  • A tab's own controls: when a tab's content has controls (a view switch, filters, search, a sort), they go in one pinned toolbar row under the tabs, the same row the Tasks tab draws: filters and search on the left, a view switch on the right; a tab with no controls has no row. (#652)

    • Why: a view switch sat directly on the divider under the tabs, and each tab placed its controls differently, so a switch under the selected tab read as a second row of tabs.
    • Affects: the row has the content margin at its sides (20px desktop, 16px phone) and a line-seam below it.
    • Docs: https://raft-design.botiverse.build/components/tabs/#a-tabs-own-controls

Added

  • Utilities py-option-inset and min-h-option, the constant option padding and the floor for an option with no line of text. (#647)

Changed

  • Select, Combobox, ComboboxSelect, DropdownMenu and ContextMenu options: their padding is py-option-inset instead of a fixed 6px. (#647)
  • PanelHeader, ThreadPanel, Drawer, Dialog, AlertDialog, Lightbox, NotificationCenter and Sidebar headers: frameless icon buttons at the ends align by their icon box on the content margin. (#650)

Fixed

0.13.0 (2026-10-21)

Design System

  • Row hover: rows hover with their own lightest visible step, not the press overlay; a row whose menu is open is marked with one slightly stronger step. (#641, #643)
    • Why: the press fill made hovered messages and list rows read as grey and heavy, and on a phone a long-press menu left no mark of which row it belonged to.
    • Affects: hover fill-pressed 7.8% → fill-row-hover 4% (dark 3%), messages fill-message-hover 3% (dark 2.2%), menu-open fill-row-open 5% (dark 4%). Press and selection are unchanged; hover stays lighter than selection.
    • Docs: https://raft-design.botiverse.build/foundations/states/#hover-and-press

Added

  • Tokens fill-row-hover, fill-message-hover and fill-row-open, with utilities row-hover-overlay and row-open-overlay for rows on a card or a tinted surface. (#641, #643)
    • Why: rows need a hover step lighter than press, and rows on a non-transparent surface need it as an overlay so the surface shows through.
    • Affects: fill-row-hover 4% / 3%, fill-message-hover 3% / 2.2%, fill-row-open 5% / 4% (ink, light / dark).
    • Docs: https://raft-design.botiverse.build/foundations/tokens/

Changed

Fixed

  • Field, FieldItem, InputGroup, SelectValue, ComboboxSelect, chips and options: long values stay inside form fields on narrow screens. Labels, descriptions and errors wrap. A FieldItem label next to a checkbox, radio or switch shrinks. An InputGroup text prefix takes at most half the field and truncates. Values and chips truncate, with the full value as title. Options wrap to 2 lines, then clamp. Select and Combobox popups are never wider than the screen less 8px on each side. (#642)
    • Why: long names and values could push fields and popups past the screen edge on phones, so every form field, picker and option list was checked and fixed together.
    • Affects: InputGroup prefix max-w-1/2; options clamp at 2 lines; popups are never wider than the screen less 8px on each side, and on a desktop at most the wider of the trigger and 24rem.
    • Docs: https://raft-design.botiverse.build/patterns/forms/#long-values-in-fields

0.12.0 (2026-10-21)

Breaking Changes

  • ComboboxSelect always takes typing on a phone, as on a desktop: tapping the field focuses it and typing filters; create and remote search work in the field. The phone-only pick-only mode and bottom sheet from 0.10.5 are gone, with their props sheetThreshold, sheetTitle and messages.search / done / close. A pick-only field uses Select. The list still picks its side once and doesn't flip while the keyboard opens. (#635)

Added

  • ComboboxSelect takes listMaxHeight (a CSS length or pixels, default 16rem, the whole list's height); the side the list opens on follows it. (#635)
  • Jump controls that float over a conversation, from @botiverse/raft-ui/wip: MessageListJumpControls, MessageListJumpPill (a Button outline md), MessageListJumpPillGroup and MessageListJumpPillDismiss. (#637)
  • A message an assistant sent for its owner, from @botiverse/raft-ui/wip: MessageItemDelegatedBy, MessageItemDelegatedByName, MessageItemDelegatedByButton, MessageItemDelegatedAvatar (with deleted) and MessageQuotedPreviewAuthorDelegatedBy. (#633)

Fixed

  • The 32px and 36px buttons' hit area reaches 44px; the overhang now counts the 1.5px border. (#637)
  • Toast title and description use text-callout (desktop line height 20 to 22px). (#637)
  • In a message header the name, notes (model, role, badge text) and time stand on one baseline. (#639)
  • MessageItemSenderGroup: the gap before a role squeezed to nothing collapses with it. (#633)
  • VirtualList: a jump holds its target row by key, so rows prepended while it settles don't move it; the focused row stays mounted across a window switch. (#636)

0.11.0 (2026-10-21)

Added

  • VirtualList: a virtualized list for long, variable-height content such as a conversation, exported from the main entry. Rows are measured in block flow, so their margins collapse as in a plain list; it holds its anchor through items added above or below, jumps exactly to an item (scrollTo with align), lays out multi-column rows, and keeps mounted the row that holds focus (so End, Home, paging and wheel scrolling don't lose it) and the rows a text selection reaches into. The scroller takes native HTML attributes and its ref as domRef; styles are in .r-virtual-list. The implementation borrows from DeepSeek web's virtual list. (#627)

0.10.7 (2026-10-21)

Fixed

  • A passage with comments now shows in dark mode: raft-comment paints brand over the page, 35% in light mode (as before) and 22% in dark, instead of brand-soft, which in dark mode barely differed from the page. The text on it stays at body-text contrast (APCA Lc 75 or more). (#626, #629)
  • In MessageActionCardProperties, a label lines up with the first line of its value instead of the middle of a value that wraps. (#631)

0.10.6 (2026-10-21)

Added

  • Comments beside a document, as in Google Docs, through @botiverse/raft-ui/wip: CommentMargin, CommentCard (with CommentCardTrigger, CommentCardMeta, CommentCardQuote), CommentEntry and CommentMarker. Cards sit level with their passages and keep the document's order; on a narrow viewer a CommentMarker beside each passage opens the discussion in a bottom sheet instead. useCommentMarginFits(viewer, { minWidth }) picks between the two, setCommentHighlights with COMMENT_HIGHLIGHT / COMMENT_HIGHLIGHT_ACTIVE highlights the passages, and resolveCommentMarginLayout is the layout for callers that place cards themselves. New pattern: Comments. (#614)
  • AvatarGroup reads --avatar-group-surface (default layer-canvas) for the ring between overlapping avatars, so a stack on another surface can match it. (#614)

0.10.5 (2026-10-20)

Added

  • ComboboxSelect takes sheetThreshold (default 10) and sheetTitle, and its messages take search, done and close for the phone's bottom sheet. (#618)

Fixed

  • ComboboxSelect on a phone (a touch screen under 48rem) no longer focuses a text input and raises the keyboard when people only pick a value. Up to sheetThreshold options open as an anchored list that picks its side once and doesn't flip while the keyboard or the address bar moves; more options, create and remote search open a bottom sheet with the search input at its top. Desktop and touch tablets are unchanged. (#618)

0.10.4 (2026-10-20)

Fixed

  • A page in Traditional Chinese (<html lang="zh-TW">, also zh-HK, zh-MO and zh-Hant) falls back to Traditional Chinese faces (PingFang TC, Microsoft JhengHei, Noto Sans TC) before the Simplified ones, so characters keep their Traditional glyph shapes. Simplified Chinese and default pages are unchanged. (#610)

0.10.3 (2026-10-20)

Added

  • MessageItemSenderGroup wraps the name, badges and role and sets the order they give way in when the header is too narrow: the role truncates first, then the name; badges keep their width and the time never truncates. Existing headers without it keep working. (#607)
  • MessageItemEdited: an inline "(edited)" marker at the end of the message text, on every row. (#607)

Changed

  • MessageItemTime sits right after the sender (name, badges, role) instead of at the far right, and no longer fades out under the hover toolbar: hover only adds, it never hides who said it or when. With a mouse the header keeps the toolbar's width free (--mi-toolbar-reserve, default 6.5rem for three buttons; set it on the list when the toolbar has more). This is visible wherever MessageItemTime is used, also without MessageItemSenderGroup; wrap the name, badges and role in it to get the give-way order. (#607)
  • MessageItemTime and MessageItemContinuationTime render a <time> element and take dateTime. (#607)

Fixed

  • A long name no longer pushes the time out of the header (it was cut to "14:3"): MessageItemSender / MessageItemSenderButton can shrink now. (#607)

0.10.2 (2026-10-20)

Fixed

  • PanelAction and PanelToggleAction follow the same desktop condition as every other control ((width >= 48rem) and (pointer: fine)). On a touch tablet they were 32px while the rest stayed 44px; they now keep 44px with 22px icons there. Phone and desktop sizes are unchanged. (#605)

0.10.1 (2026-10-20)

Fixed

  • A page in Japanese or Korean (<html lang="ja"> / "ko", including regional tags like ja-JP) falls back to its own system faces (Hiragino Sans, Yu Gothic UI, Meiryo, Noto Sans JP; Apple SD Gothic Neo, Malgun Gothic, Noto Sans KR) before the Chinese ones, so kanji keep Japanese glyph shapes and Hangul gets a Korean face. Chinese and default pages are unchanged. (#603)

0.10.0 (2026-10-20)

Breaking Changes

  • On a desktop ((width >= 48rem) and (pointer: fine): a wide screen used with a mouse or trackpad) type and controls follow Feishu PC's density. Touch devices keep the phone sizes at any width. Existing names keep working, but their sizes change there, so check any layout that matched them by hand (#601):
    • text-headline 16/24; text-body, text-subhead and text-callout 14/22; text-footnote, text-caption and text-mono-meta 12/18; text-mono-code 13/20. Hero, display, title and label are unchanged.
    • Fields (Input, Select, Combobox, ComboboxSelect, InputGroup) go from 44px to 32px, with 14/22 field text; card titles are 14/22.
    • Button lg and icon-lg go from 44px to 32px (icon 22 → 18) and keep a 44px hit area; xl goes from 52px to 40px. The default md stays 32px; its label goes from 13px to 14px.
    • Anything hardcoded to h-11 / size-11 to line up with a field no longer matches on desktop: use h-control / size-control instead.
    • The desktop type values sit after Tailwind's theme output, so they win over an app's own @theme values for these names; an app that changes one sets it inside the same query.
  • Field frames (Input, Textarea, InputGroup, Select, Combobox, ComboboxSelect, Composer, option Card, SearchTrigger) are drawn at 1px in line-field instead of 1.5px, on the phone too. (#601)

Added

  • Control tokens that switch with the desktop query: --control-height, --control-height-cta, --control-icon-size, --control-hit-inset, and the h-control, size-control, size-control-icon and text-control utilities (registered with tailwind-merge). (#601)

Changed

  • Tooltip, ComboboxSelect options, Steps and Timeline use the type scale instead of fixed sizes, so they follow the desktop values. (#601)

0.9.6 (2026-10-20)

Added

  • installInputModality() and the InputModality type: raft-ui records whether the person last used the keyboard, a pointer, or a screen reader's virtual cursor, on <html data-input-modality>. ThemeProvider installs it for you (with the default syncDom); an app without ThemeProvider calls it once on the client. (#598)
  • toast.add/info/success/warning/error(title, { leading }) puts a node, such as a person's avatar, in ToastIcon in place of the status pixel. It is aria-hidden and still shows with icon: false. Calls without leading render exactly as before. (#599)

Changed

  • Focus rings show only after keyboard navigation. A click, a tap, typing, or focus moved by a click no longer draws the ring, including on text fields (the caret marks them). Tab, F6, arrow keys outside a text field, and keys that move focus out of a text field (Esc closing a dialog, Enter submitting) still do, and so does focus a screen reader moves or that arrives with no input before it. Without the tracker installed every ring shows as before. Rings drawn with shadow-focus follow this automatically; other indicators take the new keyboard: variant, and groups ring on has-focus-visible instead of focus-within. (#598)

0.9.5 (2026-10-20)

Fixed

  • On a touch screen, a tap no longer leaves a hover highlight on: TableBody rows, an InboxItem's pressed toggle action, the Activity inbox sort button and a FileRow (when its FileRowOpen is hovered) now only show their hover on devices that can hover. With a mouse they look and behave as before. (#596)

0.9.4 (2026-10-20)

Changed

  • Clickable text no longer sits underlined at rest: it underlines on hover in its own colour and never turns pink. This covers TextLink (both emphases; strong no longer turns its underline pink on hover), MessageItemSenderButton, @ mentions, the forwarded-bundle and translation text actions, empty-state description links (now semibold so they stand apart from the hint text), the video-preview failure action and toast actions. Disabled ones do not underline. Rendered Markdown links are the one exception: they keep a faint underline at rest (link blue at 40%), because colour alone is below 3:1 against body text, and on hover the underline goes full strength and the text darkens. (#594)

Fixed

  • MessageItemSenderButton shows its hover state again when the app wraps it, for example in a tooltip trigger. (#594)
  • A SelectItem with a SelectItemDescription is named by its SelectItemText alone and described by the description, so screen readers no longer read the two run together as the option's name. Items without a description are unchanged. (#575)

0.9.3 (2026-10-20)

Fixed

  • Message reference chips sit on the sentence's baseline. Chips with a leading icon (task, joint channel, thread, link) sat 3px high and text-only chips like #general 1px high, which also pushed lines apart (26px instead of 24px). Height, colors and padding are unchanged. (#583)
  • InlineCode in a message centres its letters in the fill (they sat about 0.6px low). (#583)

0.9.2 (2026-10-19)

Fixed

  • On an InboxItem card row, InboxItemTrailing (the timestamp, and on a touch screen the room for reveal="hover" actions) takes width only beside the first two content lines; the body, message and chips below run the full width. Before, every line was narrowed, so phone cards wrapped more and grew taller. Compact rows and rows without a trailing column are unchanged. (#586)

0.9.1 (2026-10-19)

Added

  • InboxItemActions reveal="hover": with a mouse, the actions stay hidden (still reachable by Tab) until the row is hovered, focused, active or has a menu open, and the timestamp, marks and dot step aside while they show. On a touch screen they show at rest and the trailing column makes room. (#584)
  • InboxItemLeading: a 36px leading visual (an avatar or channel tile); the divider starts after it. (#584)
  • InboxItem density="compact": a one-line title and excerpt for a conversation list, with the timestamp beside the title and InboxItemMarks (mention, muted, unread count, draft) beside the excerpt. In a compact row data-unread bolds the title without the pink dot. (#584)
  • InboxItemHoverTarget: lets a badge inside the row take the pointer so its tooltip opens; a click on it still opens the row. (#584)

0.9.0 (2026-10-19)

Breaking Changes

  • Text.Mono no longer has size="eyebrow" (10px all-caps mono). Head a section with <Text.Sans size="group"> in sentence case instead; nothing in the product is in all caps. (#576)

Added

  • Text.Sans size="group": the heading of a group of rows or a section in a panel (13px at 700, foreground-hint). (#576)
  • SegmentedControl takes iconsOnlyBelow ("xs" to "2xl", Tailwind's container sizes; type SegmentedControlIconsOnlyBelow). Mark the row @container; below that width each segment shows only its icon as a 32px square, its label and count stay the accessible name, and a tooltip shows the label. Use it only when every segment has an icon. (#578)
  • DescriptionList direction="inline": facts in a wrapping row on one text baseline, 12px from term to value and 24px between facts, with no stacked-list gap. A first-child Badge, TaskChip, TaskStatusBadge or Button in a value hangs its padding outward, so its text starts where plain text does. (#579)

Fixed

  • In a SelectItem with a SelectItemLeading, the SelectItemDescription starts under the label instead of under the icon. (#577)

0.8.3 (2026-10-19)

Added

  • SelectItemDescription: an optional second line under an option's label, for what the value means. The trigger still shows only the label. (#573)
  • The layer-backdrop-nested color token (bg-layer-backdrop-nested): the lighter scrim of a modal opened from another modal. (#558)

Fixed

  • A SelectItem grows with its content and keeps 6px above and below its text. A one-line item stays 36px. (#573)
  • A Dialog or AlertDialog opened from a sheet or another dialog draws its own, lighter scrim, so it no longer sits undimmed on the surface below. A sheet opened from a dialog does the same; a sheet over a sheet is unchanged. Nesting follows the modal roots, as in Base UI, and a modal={false} parent doesn't count. (#558)
  • The message hover toolbar and MessageTextSelectionToolbar have a 10px corner (radius-container) around their 8px buttons, so a hovered button's corner keeps an even 2px gap from the frame instead of pinching it. (#572)

0.8.2 (2026-10-19)

Added

  • createMessageTextSelectionAnchor and getTextSelectionFocusRect (with the MessageTextSelectionAnchor type) give a selected-text toolbar a virtual anchor on the line that holds the selection's focus end, measured from text rects only. Pass the anchor to your popover so a full-line selection no longer anchors at the row's right edge. (#569)

Fixed

  • MessageTextSelectionToolbar matches the hover toolbar: 28px buttons with 16px icons in a p-0.5 frame. Its labels no longer wrap. (#569)
  • On a touch screen (pointer: coarse, at any width), each action in InboxItemActions keeps a 44px target and the actions sit 12px apart, so their targets don't overlap. With a mouse they stay 32px. (#567)

0.8.1 (2026-10-19)

Added

  • TaskDndProvider takes accessibility (the TaskDndAccessibility type), passed through to dnd-kit, so you can translate the screen-reader announcements and drag instructions. (#561)

Fixed

  • Keyboard dragging in TaskDndProvider moves a card between drop targets. Before, Space picked the card up but the arrow keys never moved it. (#561)
  • The MessageItem hover highlight sits 4px above and below the text on every row, including a merged message, instead of touching the first line. The 8px between groups is now a transparent top border (border-t-8 bg-clip-padding) and a compact row drops it (border-t-0 instead of pt-0). Spacing between messages and row heights are unchanged. (#564)
  • Below md, a SidebarItem row is at least 44px high in the 16px title type, so a phone sidebar row can be tapped without help from the app. (#557)
  • The codemods run when called through a pnpm symlink. (#565)

0.8.0 (2026-10-19)

Breaking Changes

  • Button no longer has variant="link" or size="inline". Underlined text is now TextLink. A link inside a sentence (a banner's "View Billing") becomes <TextLink variant="strong">; a link on its own (Forgot Password, See All) becomes <TextLink>, which is muted. TextLink has no height, border or padding, so drop the classes that took them off. (#554)
  • AnnouncementDialogSecondaryAction is a ghost button instead of an underlined link. Its API is unchanged, and it now looks like the frameless minor action of a dialog. (#554)
  • The activity inbox sidebar no longer styles [data-activity-inbox-show-all] as a link (it keeps only whitespace-nowrap). Render Show All as a TextLink. (#554)
  • FieldLabel no longer carries leading-none. tailwind-merge already dropped it beside the type class, so most labels don't change, but a label whose class list kept it is now a full line high. (#541)
  • SegmentedControl no longer shrinks with max-w-full; it keeps its width (shrink-0). In a narrow row, give it room or let the row degrade as responsive.md says, or it overflows. (#542)

Added

  • FieldItem takes size (sm, md), to match the size of its label. (#541)
  • TextLink: the bottom step of the button ladder, underlined text that takes the size of the text around it. It renders a button, or a real link with render={<a href="…" />}. variant="muted" (default) is for a link on its own; variant="strong" (ink, 600) is for a link inside a sentence. (#554)

Fixed

  • A checkbox, radio or switch is centered on the first line of its label, whether or not the label wraps or has a description. (#541)
  • Timeline content runs the full width under its title, instead of staying in the column beside the time. (#547)
  • SegmentedControl keeps its width and no longer gets squeezed by a neighbor in the same row. (#542)
  • The time beside a merged message no longer wraps onto two lines, and it takes the person's 12-hour or 24-hour time. (#544)
  • The presence light on a 19px avatar (xs, 2xs) is 7px with a 1px edge, so it no longer covers the face. (#549)
  • The message hover toolbar is 32px high with 28px buttons and 16px icons. It reaches 16px above the row, so leave 16px above the first message of a scroll area and above a thread's root message. (#553)

Changed

  • The design-system pages explain the rules behind button emphasis, empty-state titles, times, message text size and row degradation. (#542), (#543), (#544), (#545), (#548)

0.7.1 (2026-10-19)

Added

  • stack-y-* / stack-x-* (including negative and arbitrary values) and rule-y / rule-x / rule-<colour>: space and rules between siblings, written as the owl > * + * at zero specificity. Use them instead of Tailwind's space-* / divide-*. (#534)

Fixed

  • iOS scroll and open/close jank from structural selectors. Tailwind v4 compiles space-* / divide-* to :where(.x > :not(:last-child)), which WebKit tests against every element; appending or removing a last child anywhere then restyled the previous last child's whole subtree (180–430ms under a long chat timeline). The package and its docs no longer use them, and no-unanchored-structural.test.ts keeps any rule from ending in an unanchored structural pseudo-class. Consumers should move their own space-* / divide-* to stack-* / rule-*. (#534)
  • codemods/package-name.mjs keeps a deliberate raft-ui npm alias instead of rewriting it. (#522)

Changed

0.7.0 (2026-10-18)

Breaking Changes

  • The package is now @botiverse/raft-ui. Install it under that name and change imports from raft-ui (and raft-ui/styles.css, raft-ui/cn, …) to @botiverse/raft-ui: node node_modules/@botiverse/raft-ui/codemods/package-name.mjs <src> rewrites imports, CSS @import/@source paths and the dependency, and lists the aliases to check by hand. The unscoped raft-ui gets no further releases; this release also carries the changes of 0.6.1, which never reached npm.
  • MessageItemSavedIndicator no longer takes elevation, and the MessageItemSavedIndicatorElevation type is removed. Its "xs" and "sm" values pointed at empty shadows, so the prop never drew one: delete it at call sites. (#488)

Added

  • @botiverse/raft-ui/tokens.json: every color, elevation and metric token in the Design Tokens Community Group format, with light and dark values, for design tools and code generators. foundation.css is generated from it. (#482)
  • codemods/token-names.mjs ships in the package. node node_modules/@botiverse/raft-ui/codemods/token-names.mjs <src> rewrites Tailwind utilities and var(--…) references from the former token names to the current ones (see Changed). (#476)
  • foreground-on-hud-muted (text-foreground-on-hud-muted): secondary text on a tooltip or toast. (#496)
  • Shadow utilities shadow-float, shadow-sticker and shadow-focus, registered with tailwind-merge in @botiverse/raft-ui/cn. (#476)

Changed

  • Token names follow the Raft Design System. Every former name keeps working as a deprecated alias (CSS variable and utility) until 1.0, and the values are unchanged; run the codemod to move:

    • line → line-seam, line-muted → line-hairline
    • primary-* → brand-* (yellow), accent-* → attention-* (pink)
    • layer-panel → layer-canvas, layer-inset → fill-muted, layer-canvas-muted → layer-sidebar
    • foreground-strong → foreground, foreground-icon → foreground-muted, foreground-placeholder → foreground-hint, layer-hud-foreground → foreground-on-hud
    • --color-brutal-<color>-<step> → --palette-<color>-<step> (purple is lavender), bg-brutal-<color> / bg-soft-signal → bg-palette-<color>
    • --theme-shadow-float / -lg / -xl → --elevation-float, --theme-shadow-sticker → --elevation-sticker, --theme-focus-ring → --focus-ring; utilities shadow-raft-* → shadow-float / shadow-sticker / shadow-focus

    Components render the current utility names, so tests that assert class names may need the new names. (#476, #479)

  • Banner renders role="status", and role="alert" only for status="destructive", so a notice that isn't urgent no longer interrupts a screen reader. Pass role to override. (#496)

  • Deprecated, to be removed in 1.0: FloatButton / FloatButtonGroup (not part of the design system), LegacyTaskPanel* (unused), and LiveAgentActivityBar* (the design system shows working agents where they appear). (#488)

  • The package includes its MIT LICENSE, and its metadata points to raft-design.botiverse.build. (#487)

Fixed

  • Skeleton stops pulsing under prefers-reduced-motion. (#496)
  • EmptyStateIcon is hidden from assistive technology, and NotificationCenterItemIcon is announced as an image named by its status. (#496)

0.6.1 (2026-10-18)

Added

  • ListRow, the Design System list row (rf-row): ListRowGroup (the inset card), ListRowIcon, ListRowBody / ListRowTop / ListRowBottom, ListRowTitle, ListRowDescription, ListRowMeta, ListRowValue, ListRowChevron. Variants default (64, hairline from the text), plain (setting row, 48) and entry (48, no hairlines); tone (unread / muted / away), selected (cyan-soft), disabled, and interactive={false} for a display-only row. (#469)
  • IconTile, the neutral tile (rf-tile) for things with no face, on the avatar size ladder (19 / 27 / 35 / 51), with warning and information notice washes; aria-hidden unless given a role. (#470)
  • SearchTrigger (SearchTriggerLabel, SearchTriggerShortcut): the web top bar's search box, a button drawn as a field. (#470)
  • Status and AvatarBadge take presence (online / busy / error / offline / external), from one shared colour map (type Presence). (#471)
  • SidebarItem takes tone (RowTone, shared with ListRow) and interactive={false} for a display-only row whose own buttons are the targets. (#471)
  • Button variant="on-frame": a frameless button on the yellow frame (rail, web top bar, desktop title bar); on the frame md and icon-md are the DS 36px frame item. (#471)

Changed

  • A disabled frameless (ghost) icon button only greys its icon; it no longer draws the sunken box. Disabled ghost text buttons and outline icon buttons keep it. (#471)
  • The repository and its docs are now Raft Design; the npm package is still raft-ui. (#472, #473)

0.6.0 (2026-10-18)

Breaking Changes

  • Raft is the only look. The brutal and elegant theme families are removed. ThemeProvider takes only the mode (mode, defaultMode, onModeChange, storageKey, syncDom) and sets a .light / .dark class and color-scheme; data-theme, useThemeFamily, Theme, SetTheme, SetThemeOptions, BrutalOnly and ElegantOnly are gone. Tokens live on :where(:root), .light and .dark. (#467)
  • Props that no longer change anything are removed: Badge uppercase; Checkbox size, variant, color; Status pulse, attention (status never animates); Switch / SwitchThumb size; SidebarItem variant; SidebarItemCount / SidebarItemIndicator variant and appearance (the count is always the pink sticker, the indicator the yellow @); NotificationCenterActionButton variant; DrawerContent width (one-go forms use the wide Dialog); AppRailItemIndicator attention; AppRailItemAttention children; Steps size, track, renderIndicator, renderTraveler; FilePreviewBadge type, color. Remove them at call sites. (#467)
  • Parts and exports removed: TabsBackground, TabsIndicator, MessageReferenceBadge, AppRailItemAttentionMask, IslandIndicator, OtterTraveler, tabsRecipe, taskStatus, taskStatusBorder, SidebarItemVariant, FilePreviewBadgeColor, FilePreviewBadgeType, StepIndicatorState, StepsSize, StepsTrack, StepTravelerState. OtterIndicator stays as a standalone illustration. (#467)

Added

  • CheckboxIndicator: the 20px checkbox box as a visual part for picker rows. (#467)
  • FilePreviewBadge placement="inline": the file-type chip before a name ("corner" stays the default). (#467)
  • The Raft Design System lives in the repository's design/ folder: pages, component guides with reference previews, tokens, fonts and assets. (#467)

Fixed

  • A focused mention, filter trigger or active sidebar row keeps its ink edge: inset sticker edges are inset-ring, so the focus ring no longer replaces them. (#467)
  • A .dark scope under a light root no longer inherits the light foreground-active / foreground-hover / line-field / line-field-hover aliases. (#467)
  • Disabled outline, ghost and danger-outline buttons no longer change on hover. (#467)
  • The thread panel head's actions end on the 20px edge like every other head; panel, section, drawer and thread heads share one edge rule. (#467)
  • Horizontal Steps draw their connector (the column was 0px wide). (#467)
  • dark: classes that restated a token no longer override a caller's class in dark mode. (#467)

Changed

  • Button transitions are colour-only (no transition-all); xs / sm render as md, icon-xs / icon-sm as icon-md. (#467)
  • FormSection's first section starts flush with its container. (#467)

0.5.64 (2026-10-15)

Changed

  • SidebarItemThreadCount draws the package's ThreadIcon (was lucide MessageSquare), at 12px with a 1.75 stroke; badge height is unchanged. (#463)

0.5.63 (2026-10-15)

Added

  • MessageActionCardHeaderDescription: a line under the title, placed inside MessageActionCardHeaderTitle, for what happened on a Done or Declined card or why you cannot act on a View only one. It stays visible while the card is folded. (#461)

Changed

  • MessageActionCardHeader aligns to the top: icon, status and collapse toggle line up with the title's first line when the title wraps or carries a description. (#461)
  • MessageActionCardNotice is a tinted block (Elegant: soft fill, rounded; Brutal: inset fill, hairline border) meant to open the content, above the properties; it now carries a bottom margin instead of a top one. (#461)
  • MessageActionCardHintLabel and MessageActionCardScopeListLabel match the property label style in Elegant; MessageActionCardActionsNote reads in the foreground colour; the notice icon is centred on the first line. (#461)

0.5.62 (2026-10-15)

Added

  • AvatarBadge accepts offset?: [x, y] — the badge centre measured from the avatar's top-left: numbers are px, strings are CSS lengths, percentages are of the avatar's size (["100%", 0] = top-right at every size and theme). Omitted, the theme's default corner and the recipe class are untouched. (#459)

0.5.61 (2026-10-14)

Added

  • MessageActionCard is a disclosure: defaultOpen / open / onOpenChange, and MessageActionCardCollapseTrigger (chevron toggle, aria-label required) folds the content with a 200ms height animation (off under reduced motion). (#454)
  • Header parts MessageActionCardHeaderIcon (type icon; a generic action icon when given no children), MessageActionCardHeaderTitle and MessageActionCardStatus (state label: solid and uppercase in Brutal, soft in Elegant). (#454)
  • MessageActionCardHintLabel ("Reason") above the agent's italic MessageActionCardHint quote, and MessageActionCardNotice for Raft's note about what the action does or who may run it: one plain line with a default info icon (icon replaces it). (#454)
  • MessageActionCardScopeListViewport scrolls a long permission list inside a cap that cuts through the third row (132px Brutal, 172px Elegant). aria-label is required; it is a Tab stop only while the list overflows. (#454, #457)
  • MessageActionCardActionsNote holds state text on the left of the actions. (#454)

Changed

  • MessageActionCardActions aligns its buttons to the right. (#454)
  • Brutal MessageActionCard frame: 2px border, 2px hard shadow, tinted title band ruled off at 2px (the rule goes away when folded). (#454)

0.5.60 (2026-10-14)

Added

  • SidebarItemThreadCount (thread icon + number of followed threads with new replies, with a visually hidden, localizable label for screen readers) and SidebarItemCountSeparator (the dot between counts), so a channel row's SidebarItemCount can read 5 · [thread] 1. Both also work as quiet text inside SidebarItemMeta for muted channels. SidebarItemCount stays as tight as a plain number when it holds the thread icon. (#455)

0.5.59 (2026-10-14)

Reverted

  • The --layer-frame surface token and Elegant AppRail painting it, released in 0.5.58, are taken back out until the app-frame colour is confirmed. Consumers should skip 0.5.58 and take 0.5.59. (#452, reverts #449)

0.5.58 (2026-10-14)

Added

  • Steps takes renderTraveler(state) on track="river": one traveler (drawn from { index, status }) swims upstream from marker to marker. With a traveler each step after the first is the reach that leads into its marker, the river is full all along and runs back toward the first step, and the markers look as the traveler has got to them: it lands at each finished marker in turn (never skipping one), rests and sets off again, so a marker never shows finished ahead of it. Leg timing comes from --r-steps-traveler-arrive-duration and the new --r-steps-traveler-rest-duration (0s under reduced motion). The plain river track is unchanged. New StepTravelerState type. (#445)
  • IslandIndicator (an island marker that flies the Raft flag once finished, red shallows on error) and OtterTraveler (an otter for renderTraveler). (#445)
  • --layer-frame surface token (bg-layer-frame) for the app frame (top bar and rail); Elegant AppRail paints it. (#449)

Fixed

  • TaskChip / TaskStatusBadge size="sm" take the sm Badge's own box (padding, border, line height), so it no longer drifts from the Badge beside it. (#450)

0.5.57 (2026-10-14)

Added

  • OtterIndicator: an otter step marker for Steps renderIndicator, taking a step status (wait sleeps on the dry bank, process paddles on its back, finish hugs its parcel, error shivers as the parcel floats off). Use with track="river" and --r-steps-indicator-size: 48px; its CSS now ships in the published package. (#441)

Fixed

  • Steps track="river" in a wide row sizes each step to its own content and shares the remaining space evenly, so every river reach is the same length even when titles differ in length. The plain connector and the narrow layout are unchanged. (#442)

0.5.56 (2026-10-13)

Added

  • Steps takes track="river": the connector becomes a channel that is full of water behind finished steps, has water flowing in behind the step in progress, stalls red half way after a failed step and is a dry bed ahead. Brutal and Elegant recipes, horizontal and vertical, RTL; under reduced motion the water stands still. In a column, --r-steps-river-overlap-start / --r-steps-river-overlap-end (default 0) reach the channel into a custom marker above / below. (#439)
  • Steps takes renderIndicator(state), which draws a step's marker from { index, status, current, marker }. The slot keeps the marker size (--r-steps-indicator-size) and drops the default box; returning undefined or null keeps the default marker for that step. New StepsTrack and StepIndicatorState types. (#439)

0.5.55 (2026-10-12)

Fixed

  • TaskChip / TaskStatusBadge size="sm" now also match the sm Badge's font weight and letter spacing (Elegant 500 / 0.22px, Brutal 700), so the chip no longer reads as a different font beside the Badges in slock's Activity card row. The default size and the inline variant are unchanged. (#437)

0.5.54 (2026-10-12)

Added

  • TaskChip and TaskStatusBadge take size="sm", which gives the chip the sm Badge's text size and height (Elegant 11px / 18px, Brutal 10px / 20px; icon 10px) for a chip that shares a row with Badges, such as slock's Activity card metadata row. The default size and the inline variant are unchanged. (#435)

0.5.53 (2026-10-12)

Fixed

  • MessageList no longer lets wide content (a w-max tab strip, a long code line) stretch every message past a narrow list on a desktop viewport: its ScrollAreaContent resets Base UI's inline min-width: fit-content to 0, so the content keeps the list width and wide children scroll inside their own box. (#431)

0.5.52 (2026-10-12)

Fixed

  • The collapsed system-note toggle's box is its real clickable height: no element overlaps (the historic negative margin is gone), both themes read pb-0, one seam value serves every note kind (data-follows-system is a plain marker again), and the 12/6/12 rhythm is unchanged. (#425 → #426 → #427, consolidated pre-release)

0.5.51 (2026-10-11)

Fixed

  • The system note's seams read 12 after the marker fix: the follower's top lands pt-[12px] (elegant) / mt-[5px] (brutal); the single-note lead reads 3 / 0; the group layer flattens (title top 1 / 0, disclosure keeps its padding for the tap area behind relative); in-group note leads re-hang app-side. (#423)

0.5.50 (2026-10-11)

Changed

  • The narrow tier joins the rhythm: the mobile group break lands 20 via the group-first pt-[13px], and the narrow avatar image reads 28 through --mi-avatar-narrow (default 1.75rem) in both themes; brutal's narrow shift keeps its default 3. (#421)

0.5.49 (2026-10-11)

Fixed

  • The message-row avatar centers the box that occupies its slot (the image-level mx-auto was inert — the slot now flex-centers its child, putting the image's left edge back at 22). (#419)
  • Brutal's +3 image shift becomes --mi-avatar-shift (default 3px) so the small font tier can set 0 — removing the tier's row-propping and the 1.4px overshoot. (#419)

0.5.48 (2026-10-11)

Changed

  • The system note keeps a net 12/12 rhythm: the note owns a 4px lead-in and no trailing margin, and the message that follows cancels the rest of the seam via data-follows-system (elegant pt-[10px]; brutal mt-0 with the note's own pt-0.5 on its different row rhythm). Expanded note groups read 6 apart. (#417)

0.5.47 (2026-10-11)

Changed

  • Group interiors tighten to 12: the followed-by collapse splits by follower kind — data-[followed-by=compact]:pb-0.5 (interiors) vs data-[followed-by=group]:pb-1.5 (breaks stay 24). (#415)
  • Message-row avatars read at 32 via --mi-avatar (default 2rem; the app raises it to 34px on the large font tier), horizontally centered in the unchanged 36 slot — the text line and header icon keep the 68 line, and the shorter avatar column stops propping the small-tier first row. (#415)
  • Per-theme avatar alignment: elegant keeps top alignment; brutal shifts the image 3px down to meet its name line's optical position (provisional — Josh's post-merge capture decides 2 vs 3). (#415)

0.5.46 (2026-10-11)

Changed

  • Message rhythm becomes marker-driven: the dead sibling collapse (has(+[data-compact=true]), blinded by per-message wrappers) is replaced by an explicit data-followed-by on any row another row follows — rows collapse their bottom padding to land 16 inside a group; group-first rows take pt-[17px] so every group break measures 24; the reply-card row collapses identically. Brutal's own rhythm is untouched. (#412)
  • Docs: packages/ui/TYPOGRAPHY.md (Typography & Colour Foundations v2) with the review fixes and the corrected brutal clause. (#410, #411, #413)

0.5.45 (2026-10-11)

Changed

  • Dark elegant hint/placeholder darken to 0.68/0.64 (explicit dark block + the pre-hydration mirror) so the note tiers separate the way they do in light; both stay above the 4.5 readability line. (#408)
  • The reply-preview time aligns to its own theme's header time: elegant reads font-sans at 11.5px tabular (drops mono), brutal takes font-mono at 11.5px tabular (it was the odd sans one out). (#408)

0.5.44 (2026-10-11)

Changed

  • The message header's right-side reserve (kept clear of the hover toolbar) becomes variable-driven: pr-(--mi-hdr-pr,6rem) with the 6rem default unchanged, so narrow hosts — the Thread panel inside a wide window — lower it locally instead of relying on viewport breakpoints. Contract test pins the variable and the default in both themes. (#406)

0.5.43 (2026-10-10)

Changed

  • Elegant colour ladder lands as decided: panel titles move to foreground (base) under the 17/600 line; unselected tabs rest on hint in both elegant tab compounds (operable 13px text clears 4.5:1; the segmented variant's own selected token is untouched); message notes (meta / time / inline status) move to hint and the sender name goes 500→600 in the same content ink; --foreground-placeholder (elegant light) rises 0.58→0.55 for 4.85:1 on white and 4.56:1 on the header tint. Brutal unchanged this round. (#404)

0.5.42 (2026-10-10)

Changed

  • Elegant panel titles sit at semibold: one title size (17) with weight and colour carrying the hierarchy (sidebar 700, panel 600). Brutal keeps its own bold 16. (#402)

0.5.41 (2026-10-10)

Changed

  • TaskStatusBadge now renders through TaskChip and has no look of its own: a status badge in a task panel and the task chip under a message share one shape, size, border and colour and differ only in content (status icon + the caller's label). Visible change: in Elegant the badge goes from 12px to the chip's 13px with a hairline border and a 19px height; in Brutal from bold 12px at 20px tall to the chip's medium 13px at about 18px tall, so rows that carry it are about 2px shorter. data-slot="task-status-badge" and data-status are kept; no API change. (#398)

0.5.40 (2026-10-10)

Fixed

  • Elegant PanelHeader's icon chip: fill-muted measured 1.04:1 against the canvas-muted header (effectively invisible) and becomes fill-strong; avatar slots declare data-icon-kind="avatar" and drop the chip entirely, so a round avatar no longer sits on a square. Brutal's black-bordered chip is unchanged. (#399)
  • Elegant ThreadPanel no longer casts a dark drop-shadow over the chat divider: the leftward gradient (and its paired vertical ambient shadow) is removed. (#399)

0.5.39 (2026-10-10)

Fixed

  • Brutal TaskStatusBadge draws a 1px black keyline instead of 2px, matching TaskChip and Badge; py-px keeps it exactly 20px tall, so surrounding layout does not move (Elegant unchanged). (#396)

0.5.38 (2026-10-10)

Fixed

  • TaskChip's inline variant no longer paints its own neutral fill and transparent border over the status styling: task references inside message bodies take the same per-status fill, border, text and icon colours as the task chip under a message (Elegant; Brutal unchanged; font size and baseline rules untouched). (#394)

0.5.37 (2026-10-10)

Fixed

  • Brutal Combobox keeps its shadow when open, as Select does: the control lifts 1px with shadow-raft-md instead of dropping the shadow. In Brutal, SelectContent and ComboboxContent now default sideOffset to 8px (was 4px), so the open trigger's shadow stays clear of the popup instead of running into it. Elegant keeps 4px; an explicit sideOffset still wins. (#392)

0.5.36 (2026-10-09)

Changed

  • Panel alignment: the elegant PanelHeader puts its icon box on the 20px line and the title on the 68px line (36px to 20px at md+, gap 8 to 12); MessageItem rows in both themes carry the 8px inset (7px padding + 1px border, 6px + 2px in Brutal) that lands the avatar on 20 and the text on 68 next to the 12px the app shell keeps. Brutal also drops the row's mx-3, taking the mobile avatar inset from 32 to 20. The thread panel uses the chat panel's figures. (#388)
  • Elegant Tabs underline: the bar starts on the 20px line at every width (the first icon lands at 32), and the strip has one source now — the indicator defaults to bg-primary-400 and the placement blocks no longer draw a static hairline, so the conversation panel, the agent-details strip and the docs read the same look. Brutal underline: the conversation panel drops its asymmetric first-tab pl-[22px]; the strip sits at 16 and reads centred, as the agent-details strip. (#389)
  • MessageReplies stays on the message text line: the dead right margin is gone (a 100%-wide block drops an over-constrained -mr-2) and a browser spec now pins the rendered right edge, so a class-only assertion can no longer regress it silently. Run it with vp test --browser.enabled. (#389)

0.5.35 (2026-10-09)

Changed

  • Layout rules across the library no longer style descendants from an ancestor :has(). Selectors of that shape make Chromium fall back to recalculating the whole page's style on unrelated mutations — measured in the app, one such rule costs over 5ms per text-node change in a 300-message channel (~13.8k elements); this release removes the 28 in this library. Rendering is otherwise unchanged; the caller-visible points follow. (#386)
  • SidebarSection's attention badge no longer hides on its own while a section menu is open. The section's own open state and header hover still hide it; to also hide it while a menu is open, the header must mirror the menu's open state onto itself as data-popup-open (the docs composition shows the wiring). (#386)
  • Banner's action spans two rows only when it comes after both the title and the description; an action placed before them no longer spans. The status column now always spans two rows. (#386)
  • InputGroup addon and text colours are driven by variables on the group root. A caller-provided text-colour class on those parts replaces their colour in every state, focus and disabled included. (#386)
  • ToastContent measures its rendered content and writes data-has-icon, data-has-description and data-has-actions on itself; the content layout keys off these attributes instead of descendant selectors. (#386)

0.5.34 (2026-10-09)

Fixed

  • In a horizontal Steps, the connector follows the title on its line and runs on to the next step's marker, as in naive-ui; the description goes on the line below, under the title and the connector. A description wider than its title no longer shortens the connector to a stub. Below 640px the stacked layout (text under the marker) is unchanged. CSS only; the DOM is the same. (#384)

0.5.33 (2026-10-09)

Changed

  • Steps markers take the task-status colours shared with TaskChip (--task-status-*), so each status has its own colour: finished = Done (green), in progress = In Progress (blue), failed = danger (red), and waiting is neutral grey (the Closed ink). Brutal: solid status fill, ink outline and ink text, as the Brutal TaskChip. Elegant: the status's soft wash, strong ink and a 35% hairline, as the Elegant TaskChip; waiting steps follow naive-ui with no fill and the ring, number and title in the disabled grey. (#381)

0.5.32 (2026-10-09)

Added

  • Added Steps and Step: numbered steps through a process, as an ordered list. Steps before current are finished, the ones after it waiting, and the current step takes status (process, finish, error or wait) and aria-current="step". Supports sm / md sizes, a vertical layout, custom finishIcon / errorIcon / per-step icon, screen-reader finishLabel / errorLabel, and clickable steps through onUpdateCurrent (with disabled steps). Below 640px a horizontal Steps stacks each step's text under its marker. Styled for Brutal and Elegant from semantic tokens; steps.css ships in styles.css and as dist/components/steps/steps.css. (#378)

0.5.31 (2026-10-08)

Fixed

  • TaskStatusBadge in Brutal is a square, hard-edged tag again (no radius, 2px black border, bold, 20px tall), matching the Brutal TaskChip and Badge. 0.5.30 rendered it as a rounded pill. Elegant is unchanged.

0.5.30 (2026-10-08)

Added

  • Added the --task-status-<status> colour tokens (with -soft and -strong) for the five task states, defined for Brutal, Elegant light and Elegant dark, and exposed to Tailwind as task-status-*.
  • Added TaskStatusBadge: a status badge that takes a status and caller-provided text.
  • Added the taskStatus prop on TimelineItem, which paints the marker from the status colour. Omitting it leaves the item unchanged.

Changed

  • Task status colours now come from the tokens above everywhere (TaskStatusIcon, TaskChip, task card, board and list). In Elegant this changes three states so each status keeps one hue family across themes: Todo grey → orange, In Progress yellow → blue, In Review orange → purple. Closed uses the disabled foreground colour. Brutal colours are unchanged.
  • TaskStatusIcon renders the lucide Circle, Play, Eye, CheckCircle and Ban glyphs instead of the previous hand-drawn icons, and forwards SVG props.

0.5.28 (2026-10-07)

Added

  • Added the composable AnnouncementDialog through raft-ui/wip, built on existing Dialog and Button primitives, with a label, picture, scrolling body and fixed footer. Narrow dialogs stack both actions at full width. (#363)
  • Updated the canonical announcement example to use the new component. Existing Dialog, Button and theme behavior remain unchanged.

0.5.1 (2026-08-12)

Fixed

  • Removed the duplicate inset outline from Elegant dark ThreadPanelContent on large screens, leaving the header/content seam with a single visual owner. (#213)

0.5.0 (2026-08-10)

Breaking Changes

  • Brutal SidebarItem active styling is neutral by default. Active items now use a white surface instead of pink. Pass variant="accent" to preserve the previous pink treatment, or variant="primary" for yellow. (#207)
  • Elegant PanelHeaderIcon now owns its container treatment. It renders as a 36px rounded muted surface instead of a bare auto-sized slot. Remove redundant consumer wrappers and update layouts that relied on the previous intrinsic size. (#208)

Added

  • Graduated the composable ActivityInbox shell, sidebar, selection toolbar, and standalone InboxItem parts to the stable package entry point. (#209)
  • Graduated the Search shell and entity, message, and thread result primitives to the stable package entry point. (#210)
  • Graduated PickerTriggerButton for compact Select and Combobox filter triggers. (#208, 0fef4c1)
  • Added beam={false} to LiveAgentActivityBar to disable the Elegant animated border and glow while preserving enter and exit transitions. (#211)

Changed

  • Icon-only MessageFooterSavedIndicator controls now receive dedicated compact sizing and theme interaction styling. (#209)

0.4.0 (2026-08-07)

Breaking Changes

  • Layer tokens renamed. --layer-page and --color-layer-page are removed in favor of --layer-canvas / --layer-canvas-muted (plus new --color-layer-canvas and --color-layer-canvas-muted). Update any custom CSS or utility classes that referenced layer-page. (2b9b5b2)
  • Invalid-state styling now keys off data-invalid instead of aria-invalid. Input, Textarea, and form controls style the error visual from data-invalid and mirror it to aria-invalid; passing aria-invalid alone no longer shows the error style. Update callers to pass data-invalid. (b3786da)
  • CopyableCodeAction label props removed. ariaLabel and copiedAriaLabel are gone; use the standard aria-label prop instead. The default label still swaps between "Copy code" and "Copied code". (b3786da)
  • PanelHeaderIcon no longer sizes its icon. The slot dropped the [&_svg] sizing (brutal 18px / elegant 14px stroke 2.5); consumers must now size icons themselves, e.g. with a size-* class or the size attribute. (0295c2e)

Changed

  • AppShell no longer draws column dividers. AppShellRailSlot and AppShellSidebarSlot dropped their border classes in both themes. The rail|sidebar divider now lives on AppRailRoot (brutal); seam borders the shell used to own (e.g. sidebar|main with an inset main panel) must be added by the caller. (e219fd8)
  • Button press feedback unified. Buttons now always apply the active press scale, including when they act as popup triggers; size variants use a consistent rounded-sm corner radius. Select, Combobox, and DropdownMenu share the same press model. (7295b34)
  • Brutal polish: the active AppRail item received its hard shadow (eedc270) and the inline thread replies surface was aligned with the source app's wash style (4974cfc).

Fixed

  • Switch dark mode. The unchecked thumb resolved to near-white in dark scope (--ink is "white ink" there) and is now a mid-dark warm gray; disabled thumbs are desaturated versions of their normal-state colors in both light and dark; the dark disabled track uses a black ring instead of the bright --line-muted hairline. (7c81bd3)

0.3.0 (2026-08-06)

Breaking Changes

  • Replaced the previous surface, line, state, shadow, and motion CSS names with the semantic token contract used by the completed Elegant dark theme. Migrate layer-muted/layer-strong to fill-muted/fill-strong, line-subtle to line-muted, lighter borders to line-hairline, state-<tone>-* to the corresponding semantic tone family, shadow-* to shadow-raft-*, and ease-sheet to ease-slide. The safe-top, safe-bottom, safe-left, and safe-right utilities are no longer provided. (#178)
  • Renamed PanelHeaderFrame to PanelHeaderRoot and updated the corresponding type and data-slot from panel-header-frame to panel-header-root. Panel header parts remain available from the package root and are now owned by the shared Panel vocabulary. (#175)
  • Renamed MessageForwardedBundleToggle to MessageForwardedBundleFooterAction, including its props type and data-slot. (#189)

Added

  • Completed Elegant dark mode across the component library, with dark-aware page, panel, inset, card, popover, backdrop, and HUD surfaces; semantic text, border, state, and interaction colors; elevated shadows; native color-scheme integration; and correct nested theme-scope behavior. Dialogs, menus, form controls, messages, task surfaces, navigation, search, activity, and multi-panel layouts now adapt consistently when rendered in dark mode. (#178, #180, #181, #195, #196, #204)
  • Added the composable Card component with default and inset variants and the final CardHeader, CardLeading, CardTitle, CardDescription, CardTrailing, CardContent, and CardFooter parts. (#184, #202)
  • Graduated ProfilePanel and ToggleGroup to the stable package entry point. (#197)
  • Added AppShellPanelSlot and AppShellOverlaySlot, overlay-aware main slots, attached/inset Panel edges, and the shared PanelActivity header part for composable multi-panel layouts. (#175, #198, #199)
  • Included the raft-ui guide and critique agent skills in the published package. (#127, #193)

Changed

  • Aligned existing components with the new semantic theme contract so surfaces, text hierarchy, borders, focus treatments, state colors, and elevation remain consistent across Brutal, Elegant light, and Elegant dark themes. (#178)
  • Upgraded the Base UI runtime dependency from 1.6 to 1.7. (3a76bec)

Fixed

  • Normalized Button sizing and focus treatments and restored the Brutal danger-outline lift interaction. (#174, #183)
  • Restored component-owned Combobox input styling and corrected Select, Combobox, Input, Textarea, RadioGroup, and Switch interaction states across light and dark themes. (679de8a, ef814f9, #179, #186)
  • Preserved message attachment order and spacing and improved reference and avatar alignment in message rows. (c9118b7, #194)
  • Restored App Rail state contrast, opaque Avatar group rings, panel resizing behavior, and Toast dismiss styling. (#180, #188, #196, fcf0d14)

0.2.1 (2026-08-01)

Fixed

  • Restored the Brutal Toast action and close button treatment. (#173)

0.2.0 (2026-07-31)

Breaking Changes

  • Renamed the stable ChatSidebar* compound API to Sidebar*. Replace each ChatSidebar-prefixed component and prop type with its Sidebar counterpart, and update selectors from chat-sidebar-* to sidebar-*. (#167)
  • Generalized panel chrome: replace PanelHeader with PanelHeaderFrame, and replace ConversationPanelActions, ConversationPanelHeader*, ConversationPanelHeading, ConversationPanelMeta, ConversationPanelSectionHeader, ConversationPanelStatus, and ConversationPanelTitle with their Panel* counterparts. Update selectors targeting the renamed data-slot values. (#169)
  • Renamed task status values from in_progress and in_review to in-progress and in-review. (#159)

Added

  • Added stable CodeBlock* and semantic Markdown* compound primitives. (#132, #133)
  • Added the stable message core: MessageItem*, reactions, references, selection toolbars, quoted previews, reply previews, and system messages. (#143, #150, #156, #160, #161, #163)
  • Graduated the remaining message surfaces to the stable entry: action cards, attachments and media previews, embeds, forwarded bundles, translation parts, and message lists. (3bf4790)
  • Graduated DescriptionList, Files panel primitives, and LiveAgentActivityBar to the stable entry. DescriptionList includes horizontal layout support. (#120, #131, #168)
  • Added TaskChip, named task-status icon exports, and PanelSection. (#159, #169)

Changed

  • Added consistent data-slot attributes to the retained core Panel parts. (#169)
  • Elegant badges now preserve caller-provided casing when uppercase is set; Brutal badges continue to render uppercase. (#156)

Fixed

  • Fixed conditional-hook rendering in AppShellSidebarTrigger and LegacyTaskPanelRoot, and corrected sortable Composer drag-overlay mapping. (#128)
  • Aligned the AppRail attention indicator. (#165)

0.1.0 (2026-07-24)

Breaking Changes

  • Flattened CopyableCode: the preset and CopyableCode.Code compound API are removed. Compose CopyableCodeRoot, CopyableCode, and CopyableCodeAction; CopyableCodeCodeProps is gone and data-slots were renamed. (#76)
  • Removed public shadow CSS tokens/utilities: shadow-soft-popover, shadow-brutal-sm, shadow-brutal, and shadow-brutal-lg. Use theme shadows (shadow-sm…shadow-xl) or inline values. (#98, #104)

Added

  • Graduated AppRail, AppShell (with sidebar collapse trigger), ChatSidebar, Composer (including sortable attachments), and Resizable* to the stable entry. (#55, #68, #88)
  • Added ConversationPanel, ThreadPanel, Panel, ScrollArea, FilePreview, RaftLogo / lockup / wordmark, and MobileNav.
  • Added the task board / card / dnd / list / panel suite and LegacyTaskPanel. (#99, #100, #101, #102, #103, #115)
  • Extended Lightbox with thumbnail strip and related chrome parts; added ComboboxTriggerCount and ContextMenuPopup. (#73, #89)
  • Added safe-area utilities: safe-top, safe-bottom, safe-left, and safe-right.

Changed

  • Unified elegant focus rings across inputs and controls. (#114)
  • AvatarBadge is a useRender shell for custom indicators; the default dot still inherits parent size. (#94, #107)
  • Input invalid styling is driven by data-invalid (still mirrored from aria-invalid). (#82, #105)
  • Banner status surfaces and action layout refined. (#77, #106)
  • Elegant menu item presentation tuned. (#90)
  • cn now merges classes with tailwind-merge (theme shadow-aware). Package dependencies dropped border-beam and added tailwind-merge.

Fixed

  • Tooltip leading icon aligns with content. (#109)
  • Avatar badge inherits size from the parent avatar. (#107)
  • Banner action height follows content. (#106)
  • Thread panel search chrome alignment. (#71)

0.0.22 (2026-07-14)

Changed

  • Let elegant dropdown menu triggers inherit hover and focus styling from their rendered button instead of applying menu-specific overrides. (#44)

Fixed

  • Fixed stacked toasts losing hover state while the pointer crosses gaps between visible toasts. (#43)

0.0.21 (2026-07-14)

Added

  • Added LiveAgentActivityBar compound parts (Row, Avatar, Status, Content, Text) for composable live agent activity status. (#38)
  • Added generic ResizableGroup, ResizableHandle, and ResizablePanel primitives for resizable panel layouts. (#37)

Changed

  • Extracted AppShell, AppRail, and AppPanelStack out of chat-shell into standalone components, with sidebar resizing now built on the generic resizable primitives. (#37)
  • Refined drawer snap point interactions and drove drawer styling through recipe variants. (#39, #40)

Removed

  • Removed DrawerSwipeHandle and the showSwipeHandle prop; the swipe handle now renders automatically when snap points are set. (#39)
  • Removed AppShellMobileBar, AppPanelResizeHandle, and ChatSidebarResizeGroup/ChatSidebarResizeHandle/ChatSidebarResizePanel in favor of the shared resizable primitives. (#37)

0.0.20 (2026-07-14)

Added

  • Added ContextMenuItemLabel, ContextMenuFooter, DropdownMenuItemLabel, and DropdownMenuFooter for truncatable menu labels and structured footer content. (#30)
  • Added opt-in selected, emphasized, and signal/accent interaction styling for brutal dropdown menu items. (#30)

Changed

  • Improved elegant combobox, context-menu, dropdown-menu, and select presentation with roomier variable-height items and consistent label spacing, and removed visible focus rings from combobox, dropdown-menu, and select triggers. (#26)
  • Enhanced drawers with directional nested stacking and faster, swipe-aware motion while preserving the existing component API. (#32)
  • Refined sortable-tab cursor feedback and elegant underline-tab spacing, and simplified elegant attention-status styling. (#30)

Fixed

  • Fixed stacked toasts so top placements animate and swipe from the correct edge and right placements stay right-aligned. (#31)
  • Fixed theme-family and explicit light/dark propagation across portaled dialogs, drawers, menus, comboboxes, selects, lightboxes, notifications, popovers, preview cards, toasts, and tooltips. (#36)

0.0.19 (2026-07-13)

Features

  • chat-shell: make elegant panel header title inline (d941a18)
  • chat-shell: polish elegant chat sidebar and playground (e8150cb)
  • chat-shell: polish elegant dm demos and notif trigger (6a272c4)
  • chat-shell: refine elegant workspace experience (bd358d0)
  • drawer: add responsive placement and mobile full width (dedfa89)
  • status: add elegant attention prop with pulse compose (8d3769e)
  • status: polish attention and document trigger glow (cc7dba8)
  • theme: add theme-only rendering helpers (#3) (0363ae0)
  • ui: add chat main and thread panel parts (db63532)
  • ui: add chat page secondary surfaces (08459d1)
  • ui: add chat shell app shell parts (eb597a3)
  • ui: add message timeline and thread parent parts (cce48c6)
  • ui: add resizable chat sidebar (1324892)
  • ui: add sortable chat sidebar list primitives (929186e)
  • ui: align playground chat, tasks, and files with source (#11) (0b8c9ee)
  • ui: refine chat app shell docs parity (a3f808a)

Bug Fixes

  • badge: tune soft badge colors (00db53e)
  • chat-shell: remove elegant sidebar badge outline (7a15242)
  • chat-shell: stabilize elegant sidebar item height (2dc935e)
  • doc: scope preview themes and fix source css collisions (55d5f02)
  • docs: unblock rsc deploy (d3cb663)
  • doc: tighten inline code and lead line height (20dc9ba)
  • ui: align message item states with source (ff88cc6)
  • ui: align tooltip icons and tidy doc previews (61dfeb9)
  • ui: brutal sidebar selected item keeps medium weight to match source (ec0fbe4)
  • ui: close 1px seam at resizable sidebar/main divider (01d90f6)
  • ui: handle empty tv recipes (#7) (3ee3307)
  • ui: import composer data attributes correctly (7f591b7)
  • ui: move body↔composer separator from footer to body slot so the composer is self-contained (brutal, visual-identical) (685b3bc)
  • ui: refine elegant focus rings (c5b8733)
  • ui: restore input focus rings (4c57774)
  • ui: scope dark: variant to elegant theme context (a5070b4)
  • ui: share composer and align thread footer (8e5d758)
  • ui: stable useId dnd context id for SortableTabsList to fix SSR hydration mismatch (9673b22)