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 typesChoiceListMetaGroupsandChoiceListMetaLine.- 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: noneor 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,keepAnchorOnItemsChangeanchors 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
topis its height times--mi-toolbar-lift: 0.5 on a full row, 1 on a compact row, 0.5 again withdata-straddlewhen 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)
- Why: the description is part of the question; a person approving something has to see what it is before choosing, and the record has to say what was approved.
- Docs: https://raft-design.botiverse.build/components/message-action-card/
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
SidebarItemMetaand insideSidebarItemAside; 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-bodybelowmd); 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)
- Why: a status that named the person left the title about 92px wide on a phone.
- Docs: https://raft-design.botiverse.build/components/message-action-card/#waiting-on-someone
- 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, andauditPage()/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
titlewhen 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: ellipsiswhen the input is not focused or is read-only; while typing, the text scrolls as before and has no title. Atitlethe caller passes wins.useOverflowTitlealso 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 stayPanelNotice, neverBanner. Components: PanelNotice. (#1535)- Why: a clamped reason hid the one thing a person needed to fix the problem.
- Docs: https://raft-design.botiverse.build/components/banner/#inside-a-panel
- 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)
- Why: the list's order was not stated anywhere and could not be changed, and unusable computers sat between usable ones.
- Docs: https://raft-design.botiverse.build/components/choice-list/
- 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)
- Why: moved while the finger was still down, the tap landed on a different chip and opened the wrong menu or none.
- Docs: https://raft-design.botiverse.build/components/fit-toolbar/
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
PortalContainerProvidercontainer, 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
refon a…Portalpart 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.5with widthcalc(100% + 12px), contentpx-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.csssetstext-autospace: normalon:root, so a small gap (1/8 em) is drawn wherever Chinese, Japanese or Korean meets a Latin letter or a digit;code,kbd,sampandprekeepno-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 needno-autospace. - Docs: https://raft-design.botiverse.build/foundations/typography/#mixed-cjk-and-latin
- 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
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)
- Why: the web notice was right before (artin); the strip that looked wrong was the phone app's, which used a Banner with a bordered button where a panel notice with a text action belongs.
- Affects:
PanelNoticeActionsdropsself-center. - Docs: https://raft-design.botiverse.build/components/banner/#inside-a-panel
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:
PanelNoticeActionsaddsself-center; the root keepsitems-startand 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
hiddenattribute or a stylesheet'sdisplay: none(a class such as Tailwind'shidden), on itself or an ancestor, keeps the size it had while hidden and measures again when it shows, as a list hidden with an inlinedisplay: nonealready did. (#1517)- Why: only an inline
display: nonewas 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 withdisplay: noneis 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
- Why: only an inline
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 inMessageRepliesSummary, a mention of you (MessageReferenceText variant="primary"), and theStepsnumber. (#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-width1.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 putstruncateon 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
DialogSheetContentis 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 withease-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:
DialogSheetContenttakesh-(--dialog-sheet-height,auto) max-h-[90dvh]instead ofh-[90dvh]; a ResizeObserver pins the old and new heights so CSS can transitionheight, and unpins it at the end. With the keyboard up it is placed withbottomandmaxHeightinstead of a fixedtopandheight. A body that fills what it is given (aChoiceListwithfill) 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
- Why: the sheet was always 90% tall (
- A footer link in a phone sheet is a full-width outline button (Dialog › The sheet): a
TextLinkwritten first inDialogFootermoves to the end of the sheet's body asButton 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; itsvariantandclassNameare dropped. ADialogFooterNotestays footnote text. Desktop and tablet keep the TextLink.
Fixed
- Meter and Progress tracks show on any surface (Color › Hover overlays):
MeterTrackandProgressTrackdraw their empty track in translucentfill-mediuminstead of opaquefill-muted, so it lays a step darker than whatever the bar sits on. (#1491)- Why: a bar on a
fill-mutedblock lost its track entirely (a stale usage card showed nothing at 0% and a floating pill at 61%), and on an inactivefill-subtlecard it was barely visible. - Affects: light, on white about #ECECEC (was #F3F3F3), on
fill-mutedabout #E1E1E1; dark, on cards and popovers about the oldfill-muted, on the canvas a little lighter. A bar over an image keeps itslayer-cardtrack. - Docs: https://raft-design.botiverse.build/components/meter/
- Why: a bar on a
0.106.3 (2026-11-27)
Changed
- Light warning surfaces are amber, distinct from danger (Color › Meanings of color): in light mode
warning-softandwarning-mutedmove 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 solidwarning,warning-strong,warning-graphicand the Todo chip'stask-status-todo-softare unchanged. (#1478)- Why: a pale wash of the warning orange reads pink, and next to
danger-soft(hue 20) ordanger-muted(hue 23) a warning banner looked like a danger one; the two washes now sit about 50° apart in hue. - Affects: light
warning-softoklch(0.9413 0.0275 40.2)→oklch(0.94 0.045 72); lightwarning-mutedpalette-orange-200(oklch(0.892 0.053 43.23)) →oklch(0.892 0.085 72). Text keeps its contrast:foreground15.7:1 onwarning-softand 13.5:1 onwarning-muted,foreground-hint4.9:1 and 4.7:1,warning-strong9.3:1 and 7.9:1. Painted byBannerandPanelNotice(status="warning"),Badge(appearance="soft" variant="warning"),IconTile(warning),NotificationCenter's error and warning icons and a failed reaction's flash inMessageReaction. - Docs: https://raft-design.botiverse.build/foundations/color/#meanings-of-color
- Why: a pale wash of the warning orange reads pink, and next to
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 aPopoverContentwith aPopoverBodystay 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-listutility instead ofmax-h-(--available-height): five rows on the pass that picks the side, then 4px short of--available-height.SelectContentandComboboxContentare flex columns (flex flex-col), so their list shrinks inside the cap instead of being clipped; so is ComboboxSelect's popup. TheircollisionAvoidancedefaults toLIST_POPUP_COLLISION_AVOIDANCE(fallbackAxisSide: "end"; Base UI's default for menus, selects and comboboxes is"none", never beside); acollisionAvoidanceyou pass replaces it. APopoverContentwith aPopoverBodytakes the cap throughhas-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
DropdownMenuContentinside aDropdownMenuSubmenuopens 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:
DropdownMenuContentdefaultedsideto"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,DropdownMenuContentdefaults toside="inline-end",sideOffset={4},alignOffset={-4},stickyandcollisionAvoidance{ side: "flip", align: "flip", fallbackAxisSide: "none" }; props you pass replace them. It keeps the list popup's height cap. A menu (DropdownMenuContentoutside a submenu) is unchanged.
- Why:
- ContextMenu: a submenu opens beside its item as a DropdownMenu's does (ContextMenu › Behavior): a
ContextMenuContentinside aContextMenuSubmenutakes 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,ContextMenuContentdefaults toside="inline-end",sideOffset={4},alignOffset={-4},stickyandcollisionAvoidance{ side: "flip", align: "flip", fallbackAxisSide: "none" }; props you pass replace them. The menu itself still opens at the point and shifts.
- Why: it opened to the right whatever the writing direction, never flipped (
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 itsmin-w-60; aclassNamemax width still replaces it.DropdownMenuPopupandContextMenuPopup, outside a positioner, have no--available-widthand 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.- Why: the four popups were capped at
--available-heightwithoverflow-hidden, so the end of a long list (Apps in the rail's More, a server's sections, the readers of an Artifact) was cut off and could not be reached by any means (Artea, slock #17004). - Docs: https://raft-design.botiverse.build/components/dropdown-menu/#long-menus
- Why: the four popups were capped at
- 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-inseton every side, the top included, since aFormSectionstarts 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
DropdownMenuPinnedFooterandContextMenuPinnedFooter(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-0and 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.classNamestill 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 withp-1content and the popup'sclassName="p-0", as a localScrollingMenuContentdoes) can be removed, and itsfooterbecomes aDropdownMenuPinnedFooter; until it is removed its items are inset 8px instead of 4px.MessageReactionPickerContentkeeps its one row on the popup.
- Affects: the popup's own padding is now
- PopoverContent, PreviewCardContent: the panel is a flex column (
flex flex-col), andPopoverHeader,PopoverSeparator,PopoverActions,PreviewCardHeader,PreviewCardSeparator,PreviewCardSubtitle,PreviewCardActionsandPreviewCardFooterdon'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:
PopoverBodyandPreviewCardBody'sclassNameis 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]); theirrefand native props (role,aria-label,data-*) are the scroller's, and a newscrollClassNamestyles 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 isoverflow-visibleand never capped, passesscrollClassName="overflow-visible". A popover that already put a ScrollArea inside itsPopoverBody(min-h-0 flex-1, negative margins) can drop it; one of its own parts needsmin-h-0on each box between the panel and its ScrollArea.
- Affects:
Fixed
- Switch: a disabled switch that is on keeps the on look, faded as a whole to
opacity-dimmed: the yellowselectedsticker, 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]onSwitch: trackbg-fill-muted→bg-selected, borderforeground-disabled→sticker-ink, plusopacity-dimmed(0.6) on the whole switch;SwitchThumbbg-fill-mutedwith aforeground-disabledring →sticker-paperwith asticker-inkring. - Docs: https://raft-design.botiverse.build/components/switch/#states
0.105.2 (2026-11-25)
Design System
- Words in a status color take the
-strongtoken (Color › Contrast): text in a status color uses that family's-strongtoken (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 takeswarning-graphic. Changed in this release:Text. (#1455)- Why: the sticker colors are made for fills that carry ink type. As text on white,
successis 1.64:1,warning2.03:1 anddanger2.76:1, below the 4.5:1 that text needs. - Docs: https://raft-design.botiverse.build/foundations/color/#contrast
- Why: the sticker colors are made for fills that carry ink type. As text on white,
Fixed
- Text (
Text.Heading,Text.Sans,Text.Mono): thesuccess,warning,dangerandaccenttones color their words with the family's-strongink, 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
accentusedattention-700, which is 2.15:1 on the dark canvas. - Affects:
successtext-success→text-success-strong(light 10.4:1, dark 11.6:1 on the canvas).warningtext-warning→text-warning-strong(11.1:1, 9.6:1).dangertext-danger→text-danger-strong(6.1:1, 8.9:1).accenttext-attention-700→text-attention-strong(6.1:1, 9.9:1).information,primary,note,mutedanddefaultare 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
- Why: these three tones used the sticker colors (1.64:1 to 2.76:1 on white), and
0.105.1 (2026-11-25)
Fixed
- Panel, PanelHeader, PanelFooter: inside a sheet (
DrawerContent, orDialogSheetContenton a phone) they paint the sheet'slayer-popoverinstead of their column'slayer-canvas, so the sheet is one surface from the grab handle down;PanelHeaderkeeps itsline-seam. ConversationPanelRoot, ConversationPanelFooter, ThreadPanelRoot and ThreadPanelFooter keeplayer-canvasin 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-canvasis darker thanlayer-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 ofPanel,PanelHeader,PanelFooterandThreadPanelHeaderislayer-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 onlayer-card) is unchanged. A class such asin-data-[slot=drawer-content]:bg-transparentpassed to do the same can be removed. - Docs: https://raft-design.botiverse.build/components/panel/#rules
- Why: in dark mode
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)- Why: a row of tabs that scrolls sideways cut its focused tab's ring to two side bars, which doesn't read as a ring.
- Docs: https://raft-design.botiverse.build/foundations/states/#focus
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 outwardfocus-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 inforegroundon a::beforeshape 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).ConversationPanelTabsresets 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. Withp-*/px-*/py-*, addm-0(ormx-0/my-0for the axis you padded) and keep at least 4px of padding (10px at the ends of an underline row). Withw-full, usew-[calc(100%+8px)]instead (w-[calc(100%+20px)]on a sideways underline row), which keeps the tabs' place and the room;m-0only 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 ownp-0.5),BrowserTabStrip(w-full overflow-hidden) and feature-flag-admin'sFlagScreens(w-full px-(--column-margin) py-2, and the underline row'spr-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 ownersContextMenuTrigger,SortableTabsTab,SortableComposerAttachmentandTaskDraggable. (#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 propsopenOnLongPressandopenOnTap. (#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 reorderableSortableTabsTab,SortableComposerAttachmentand an enabledTaskDraggablenow renderdata-long-press-owner="", so the tooltips inside them leave the hold to their menu or drag.openOnLongPress: unset follows that rule,truetakes the hold even inside an owner (the trigger rendersdata-tooltip-long-press=""and stops itstouchstartandcontextmenuthere),falseturns it off.openOnTap(for a button that only explains, an ⓘ) opens on a tap and closes on the next, and makescloseOnClickdefault tofalse. New exportsLONG_PRESS_OWNER_ATTRIBUTEandTOOLTIP_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 showopenOnLongPress, 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 needsfocusableWhenDisabled: a nativelydisabledone 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 readsheader-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-height56px → 48px,bar-button-size44px → 36px; newbar-icon-size(22px on a phone, 20px by touch from 768px, 18px on a desktop);tokens.jsongains thewideTouchextension andtokens.resolved.jsonawideTouchvalue 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-startand--raft-frame-inset-endare 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;ContextMenuTriggerrecords 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 acalc()orenv(titlebar-area-*)expression on an overlay title bar. (#1412)- Why: custom properties keep
calc()andenv(titlebar-area-*)unparsed ingetComputedStyle(document.documentElement), so every collision-boundary read created, measured, and removed a temporary<div>on<html>, flippingbody:last-childandbody:only-childdozens of times per open;env(titlebar-area-*)now resolves directly fromnavigator.windowControlsOverlay, measurements are cached per document, and any remaining non-pxfallback reuses a single contained probe ondocument.body. - Affects:
frameCollisionBoundary,useFrameInsets(which also updates onwindowControlsOverlaygeometrychange), 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
- Why: custom properties keep
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, withreason: "outside-press"(the event is the window'sblur). 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
modalto work around that blocks text selection and scrolling behind it. - Affects: the shared positioner hook (
usePopupAnchorDismiss) listens for its own window'sblurwhile open and closes when focus has moved to an<iframe>outside the popup, also in another window's document underPortalContainerProvider. Each root above passesonOpenChangethrough 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/
- 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
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, andText's hint tone is namednote(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-size28px, written asvar(--bar-button-size)on a desktop (28px);bar-button-sizeno longer lists a row's actions; utilitysize-row-action, known to tailwind-merge. Buttonicon-smreads it. - Docs: https://raft-design.botiverse.build/foundations/spacing/#hit-targets
Breaking Changes
- Button
size="icon-sm": no longer a deprecated alias oficon-md; it is the row action, a 28px square (row-action-size) with a 16px icon atradius-chip, whose transparent::afterreaches 44px on a touch screen and with a mouse. Every variant takes it;ghostis the one to use. Thebutton-sizescodemod no longer renamesicon-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 nameicon-smfits the 28px step between nothing andicon-md. - Affects:
icon-sm32px on a touch screen and 34px with a mouse (18px icon) → 28px everywhere (16px icon).ButtonSizegainsicon-sm;DeprecatedButtonSizeloses it.on-frameaticon-smis no longer the frame item; useicon-mdon the frame. - Migrate: before upgrading, change every
size="icon-sm"that should keep its size toicon-md(the previous codemod did this); keepicon-smonly 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 useicon-smtoday and become 28px:PinnedArtifactRow.tsx(the pinned row's More, intended),ConnectedAppUrlLink.tsx(copy beside a URL, intended) andLastMigration.tsx(the notice's × throughCloseButton, whose-my-1 -me-1may no longer be needed); check each when upgrading. - Docs: https://raft-design.botiverse.build/components/button/#row-actions
- Why: a comment header's More and a list row's trailing action had to be the 34px
- Explanation slots take only a
HelperText:FieldDescription,FormSection'sdescription, aChoiceListitem'sdescription,SelectItemDescription,DialogDescription,AlertDialogDescription,DrawerDescription,PopoverDescription,EmptyStateDescription,CardDescription,CardFooter,BannerDescription,DialogFooterNote(work in progress),MessageActionCardHint,MessageActionCardHeaderDescription,MessageActionCardScopeDescriptionandMessageActionCardActionsNote. AHelperTextis made only byhelperText(content, { why, about }):contentis anyReactNode(a string, a formatted message, aTextLinkinside a sentence),whyis"consequence","audience"or"recovery", andaboutnames the thing the line is about. Each slot renders the content withdata-whyanddata-about, and in development warns once when it is given anything else, which it still renders.ToastDescription,NotificationCenterItemBody,EmptyStateTitle,ListRowDescriptionand 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
childrenof each slot is a requiredHelperText(HelperTextSlotProps<P>);FormSection'sdescriptionisHelperText; a ChoiceList item'sdescriptionisHelperText | readonly (HelperText | null | false | undefined)[].DialogFooterstill finds a note by its content (an emptyhelperText("")draws nothing). Nothing renders differently for a line that is kept, except the twodata-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 aBannerTitle, aToastor a live region; data (a handle, a time, a count, a topic) moves to a data part:CardSubtitle,ListRowSubtitle, a*Metapart, a ChoiceList item'smeta, orText. 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 typeaboutwith the app's own nouns, augmentHelperTextRegister(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 aHelperTextas its children (the props are a union onvariant);variant="placeholder"is renamedvariant="note";Text.Headinghas nomutedtone;size="small"andsize="caption"draw inforegroundandText.Mono size="meta"inforeground-hint, where all three wereforeground-muted. (#1398)- Why: a size that greyed its text made helper-grey lines without a reason, and
placeholderhid that the tone is the notes tier. - Affects:
Text.Sans size="small"andsize="caption"without a variant:foreground-muted→foreground;Text.Mono size="meta"without a variant:foreground-muted→foreground-hint;groupunchanged. 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 srcforplaceholder→note. Wrap a muted line inhelperText()or give it another tone; split a runtime tone into the two cases. Asmallorcaptionline that should stay grey is either aHelperText(variant="muted") or a note (variant="note"). - Docs: https://raft-design.botiverse.build/components/text/
- Why: a size that greyed its text made helper-grey lines without a reason, and
- Data parts named for what they hold:
SearchEntityResultDescription→SearchEntityResultSubtitle,PreviewCardDescription→PreviewCardSubtitle,TaskCardDescription→TaskCardSubtitle,MobileNavServerPopoverRowDescription→MobileNavServerPopoverRowSubtitle(and their…Propstypes), andStep'sdescriptionprop →subtitle. Their look anddata-slotvalues are unchanged. (#1398)- Why: a
…Descriptionname 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
- Why: a
Added
helperText(),isHelperText()and theHelperText,HelperTextWhy,HelperTextMeta,HelperTextAbout,HelperTextRegisterandHelperTextSlotPropstypes. The brand isSymbol.for("raft-ui.helper-text"), so two copies of raft-ui in one app agree. (#1398)- Why: the explanation slots above take only a
HelperText. - Affects: a
whyoutside the three warns once in development and throws under a test runner (NODE_ENV=testor Vitest), so a test that renders one fails. - Docs: https://raft-design.botiverse.build/about/use-raft-ui/#helper-text-in-an-app
- Why: the explanation slots above take only a
CardSubtitle: data about the card's subject under its title, whereCardDescriptionwould go (a handle, a time and place), inforegroundat the description's size (data-slot="card-subtitle"). (#1398)- Why: with
CardDescriptiontaking only helper text, a card's data line needed a part of its own. - Docs: https://raft-design.botiverse.build/components/card/
- Why: with
- Lint rule
raft-ui/no-muted-text, on as an error inrecommended.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 inlinecolor: "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 inlinecolorthat mixesvar(--foreground)or gives it an alpha (color-mix(in oklch, var(--foreground) 60%, transparent),rgb(from var(--foreground) r g b / 0.6)). Anopacity-*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)- Why: the type keeps a bare sentence out of the slots, and the rule keeps it from going around them in a
<p className="text-foreground-muted">. - Affects: an app that extends
recommended.jsongets the rule with the upgrade, as an error. - Docs: https://raft-design.botiverse.build/about/use-raft-ui/#lint-rules
- Why: the type keeps a bare sentence out of the slots, and the rule keeps it from going around them in a
Changed
DialogBodyandAlertDialogBodydraw their text inforeground, notforeground-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
DialogDescriptionorAlertDialogDescription. - Affects: text set directly in either body:
foreground-muted→foreground. ADialogDescriptionorAlertDialogDescriptioninside keeps its muted ink. - Docs: https://raft-design.botiverse.build/components/dialog/
- 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
0.102.24 (2026-11-23)
Added
- Utilities for the component tokens:
h-control-smallandsize-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-columnandsize-avatar-column(35px),gap-avatar-column-gap(12px),min-h-list-toolbar(49px; 44px on a desktop) andpy-list-toolbar-air(8px). tailwind-merge knows each one, so aclassNamesuch ash-10replacesh-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
mdandicon-md, PickerTriggerButton, FilterChip, Tabs, ToggleGroup, InputGroupmd, Combobox, AppLinkCard, ListRowdefault, 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. AclassNamethat sets a height on one of these (h-8,h-10) still replaces it, and now on a desktop too: before, the recipe'smd:pointer-fine:h-controlkept 34px there whatever theclassNamesaid. - 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
- Why: every page of a list has the same toolbar, shared with the apps (
- SegmentedControl and Banner
smreadcontrol-height-smallfor 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
finetoken values: a token's extension can carryfine, 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'sdesktopstill wins from 768px; the token's own value stays the phone's and a touch screen's. (#1390)- Why: a size that follows the input rather than the width, such as a list row's least height, could only be written as a pointer query in each recipe.
- Affects:
list-row-min-heightis the first token with one. - Docs: https://raft-design.botiverse.build/foundations/tokens/#how-foundationcss-is-generated
@botiverse/raft-ui/tokens.resolved.json: every numeric token (dimension, number, font weight, duration) resolved to a plain number for each context,touch,fineanddesktop, with its references,var()andcalc()evaluated; a dimension is in px, a duration in ms. (#1390)- Why: derived sizes in
tokens.jsonare CSS expressions (calc(var(--control-height) + 2 * var(--header-air))) that a reader outside CSS, such as a native app, can't evaluate. - Affects: nothing for a CSS consumer. A reader of
tokens.json's sizes can read this file instead. - Docs: https://raft-design.botiverse.build/foundations/tokens/#resolved-values
- Why: derived sizes in
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
disabledandloadingstill looks disabled. (#1389)- Why: loading makes a button
aria-disabledso it keeps its focus, and the recipe'saria-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 carriesdata-loading="true"only while it is loading and not disabled. AclassNamethat 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/
- Why: loading makes a button
0.102.22 (2026-11-22)
Added
OpenInNewWindowIcon(@botiverse/ricons0.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-linkmeans leaving Raft for the browser. - Affects: nothing until an app uses it. Import it from
@botiverse/ricons; keepexternal-linkfor a link that opens in the browser. - Docs: https://raft-design.botiverse.build/components/icons/#action-icons
- Why: opening a thing in a Raft window or tab of its own had no icon, and Lucide's
0.102.21 (2026-11-22)
Added
- ListRow: an
actionprop (data-action) for a row that is one action, colored or not: its leadingListRowIconis 18px, a labelledlgbutton'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
- Why: the 18px was keyed on
0.102.20 (2026-11-22)
Fixed
- MessageItemToolbarButton: shows its
aria-labelas a tooltip on hover and keyboard focus, with an optionalshortcutafter it;tooltipreplaces the text andtooltip={false}leaves it out. Inside a caller's ownTooltipTriggerit 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
MessageItemToolbarButtonwith anaria-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 × (
ToastCloseholding an icon, or anything but text) ends the row, after the action; text Dismiss stays before it.ToastClosesetsdata-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)
- Why: the last tab's tap area reached past the row's end and counted as overflow (seen in the docs' screenshot cases).
- Affects: top and bottom underline Tabs. Callers need no change.
- Docs: https://raft-design.botiverse.build/foundations/spacing/#edges-fade
- PageLoadingLine: with progress it stops at 95% while the page still loads; only the end fills the line. (#1365)
- Why: a web engine often reports 100 before the load has ended (Lagoon, mobile#5172).
- Affects: pages that pass
value. Callers need no change. - Docs: https://raft-design.botiverse.build/components/page-loading-line/
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;
startandendwere drawn as left and right. (#1362)- Why:
useOverflowEdgesnames the sides logically, so a right-to-left strip faded the side it had already scrolled past (review of the slock strips on the hook). - Affects: right-to-left strips only (Tabs, app strips with
mask-fade-x). Callers need no change. - Docs: https://raft-design.botiverse.build/foundations/spacing/#edges-fade
- Why:
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)
- Why: review notes on #1357 (Jasper); the app copies it replaces already watched each item.
- Affects: Tabs and every strip using the hook. Callers need no change.
- Docs: https://raft-design.botiverse.build/foundations/spacing/#edges-fade
0.102.16 (2026-11-20)
Added
- useOverflowEdges: a hook that keeps
data-overflow(start,end,both) current on a strip that scrolls sideways, formask-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 2pxinfoline, 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)- Why: in-app web pages drew the general Progress bar there, whose track, ink edge and rounded ends read as a pill across the top of the page.
- Affects: nothing until an app uses it. Mobile's
RaftPageLoadingBarfollows the same rule. - Docs: https://raft-design.botiverse.build/components/page-loading-line/
0.102.15 (2026-11-20)
Added
- Avatar: inside a button with the
group/avatar-triggerclass, an avatar laysink-8over its face on hover and press, at once, under its corner light. The avatar is now its own stacking context (isolate), andAvatarBadgesits atz-controlinside it. (#1354)- Why: avatars that open a profile hovered with a
brightnessfilter, which barely moves a dark face, so dark avatars showed no hover; media hovers withink-8(states.md, masks audit #171). - Affects: nothing changes until a button carries
group/avatar-trigger. An app that hovers an avatar button withbrightnessshould switch to the class. - Docs: https://raft-design.botiverse.build/components/avatar/
- Why: avatars that open a profile hovered with a
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-colorsto 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, thetitleof 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 underPortalContainerProviderand 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 optionalwithinnames 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
InboxItemTimestampwithreveal="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:
InboxItemTimestampreveal="hover"in a compact row withInboxItemLine. 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) andusePortalContainer()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 withwindow.open("about:blank")and filled withcreatePortalfrom 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; passingcontainerto every overlay of the subtree doesn't reach the overlays raft-ui's own components open. - Affects: each
…Portalpart and the components that render one (Popover,DropdownMenu,ContextMenu,Tooltip,PreviewCard,Select,Combobox,ComboboxSelect,NotificationCenter,Dialog,AlertDialog,Drawer,Lightbox,ToastProvider's viewport,ComposerSuggestionList,CoachMark), andDragLiftandDragRefusalHint, take their container in this order: the caller'scontainer/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.nullwaits 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 inCoachMark,Lightbox's Mod+W, a drag's pointer, scroll and cancel, and checks that read an element of another window (nodeTypeinstead ofinstanceof). With no provider nothing changes. New exportsPortalContainerProvider,PortalContainerProviderProps,usePortalContainer. - Docs: https://raft-design.botiverse.build/components/popover/#rendering-in-another-window
- Why: Base UI portals to the global
- Toast:
useToast()returns the command API (success,error,action,actionTimeout, …) bound to the nearestToastProvider's manager;toastitself under a provider on the default manager or none. New exportToastCommands. (#1333)- Why: a toast raised in a second window should show in that window. The chosen approach is a second
ToastProviderinside the window's subtree, on a manager of its own, whose viewport renders in the window throughPortalContainerProvider; code there raises toasts withuseToast()(or Base UI'suseToastManager()). Routingtoast.*by the document the press came from was rejected: a toast is often raised after anawait, 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'sactionTimeoutnow also applies touseToast()on its own manager. - Docs: https://raft-design.botiverse.build/components/toast/#toasts-in-another-window
- Why: a toast raised in a second window should show in that window. The chosen approach is a second
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
getBoundingClientRectgave the trigger a size, Base UI marksdata-anchor-hiddenon 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.
- 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
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/
- 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
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-expandedreturns to false and focus goes back to the trigger; one opened while its trigger is already out of view closes at once.TooltipandPreviewCardhide while the anchor is clipped and come back with it, and close when it unmounts.CoachMark, an anchoredToast,ComposerSuggestionListand popups on a virtual anchor with no trigger (the text selection toolbar) only hide;CoachMarknever callsonDismissfor it.ContextMenuis unchanged (point-anchored).ComboboxSelectandToastPositionerdefault topositionMethod="fixed";ComboboxSelectkeeps a caller'spositionerProps.refand handles the phone keyboard whenopenis controlled.createTextSelectionAnchor(selection)finds its scrolling context from the selection, so the one-argument call follows scrolling.CoachMarkfollows 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 propsanchor(default: the nearest positioned ancestor, usuallyComposerRoot) andcontainer. It leaves ahiddenspan where it is rendered, which counts for its siblings':last-childandspace-y-*. Existing callers need no change; aclassName="z-float"on it no longer matters. - Docs: https://raft-design.botiverse.build/components/composer/
- Why: the list was absolutely positioned inside the composer, so a composer in a
- 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-hairlineandbg-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
blockinstead offlex, 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/lintand@botiverse/raft-ui/lint/recommended.jsonstay where they were. The package now declaresengines.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 therenderelement) with the button's behavior:role="button", in the tab order, pressed with Enter or Space, andaria-disabledwith the disabled look whendisabled. 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(defaulttrue);textLinkVariantsgains aninlinevariant (box-decoration-clone, disabled styles keyed offaria-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"ortone="danger"(Leave channel, Archive channel, Delete channel),ListRowIconsizes its svg 18px instead of 20px, also when the row is disabled. (#1296)- Why: a row that does one thing is a labelled
lgbutton, 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
- Why: a row that does one thing is a labelled
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:
MessageItemContentis amessagecontainer (@container/message, inline-size containment);MessageItemHeaderpads 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).CoachMarktakes the stop'sanchor,openandonDismiss;CoachMarkContentis the 300px bubble with an arrow, 8px from its target;CoachMarkAction,CoachMarkActions,CoachMarkCountandCoachMarkNext(the pink Next or Done) lay out its rows, withPopoverBody,PopoverTitleandPopoverDescriptionfor 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 aPopoverClose) callsonDismiss, while Esc anywhere else goes on to what has focus.- Why: the onboarding v3 tour needs these, and each product drawing its own bubble would draw a different one.
- Docs: https://raft-design.botiverse.build/components/coach-mark/
data-located="held"holds the Located wash (States › Located): fullinfo-soft(fill-cell-selectedon 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
PopoverArrowandPreviewCardArrowpoint 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, andinline-startandinline-endfollow the writing direction.- Affects: no raft-ui part or slock screen renders either arrow today.
- On
inline-startandinline-end,PopoverArrowandPreviewCardArrowfollow the direction Base UI placed the panel by (Popover › Anatomy). They setdata-dirfrom Base UI'sDirectionProvider(ltrwithout one) and draw by it, not by the page'sdir: on adir="rtl"page with no provider, Base UI puts aninline-endpanel 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 hasoverflow-visible.
0.101.0 (2026-11-14)
Breaking Changes
MessageMultiSelectToolbar,MessageMultiSelectToolbarActions,ActivityInboxSelectionToolbarandActivityInboxSelectionCountare removed (SelectionToolbar). Their props types (MessageMultiSelectToolbarProps,MessageMultiSelectToolbarActionsProps,ActivityInboxSelectionToolbarProps,ActivityInboxSelectionCountProps) go with them.MessageMultiSelect,MessageMultiSelectCheckboxandActivityInboxControlsstay.- 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-slotvaluesmessage-multi-select-toolbar,message-multi-select-toolbar-actions,activity-inbox-selection-toolbarandactivity-inbox-selection-countare no longer rendered. - Migrate: use
SelectionToolbar(work in progress, from@botiverse/raft-ui/wip) for selected items:SelectionToolbarDock,SelectionToolbar,SelectionToolbarCount,SelectionToolbarActionswith aSelectionToolbarActionper action,SelectionToolbarMoreandSelectionToolbarClose; 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/
- Why: selected messages now use the same toolbar as selected tasks,
Changed
SelectionToolbar's icons take a labelledmdButton's size with a mouse and a head's by touch (SelectionToolbar › Look, Iconography › Sizes). With a mouse,SelectionToolbarActionandSelectionToolbarMoreshow 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
mdButton's, and by touch smaller than the head's bar buttons it is drawn as. - Affects: with a mouse, the icons of
SelectionToolbarActionandSelectionToolbarMore14px → 16px (× stays 18px); by touch, actions and More 14px → 22px and × 18px → 22px. An icon with asize-class of its own keeps it. - Docs: https://raft-design.botiverse.build/components/selection-toolbar/#look
- Why: the toolbar forced its icons to 14px, smaller than every other labelled
FieldLabel'srequiredprop andLabelAsteriskare deprecated: a required field carries no asterisk (Field › Content, Forms › Fields). Both are marked@deprecatedin the types (Label.Asterisktoo), and the API tables of Field and Label say so. Mark an optional field with<FieldLabel optional>(orLabelOptional), leave a required one unmarked, and putrequiredoraria-requiredon 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
FieldLabelstill offered the asterisk and slock's forms drew it. The asterisk is also read as part of the label ("Email*");aria-requiredon the control is what tells a screen reader the field is required. - Affects: nothing renders differently in this release:
<FieldLabel required>andLabelAsteriskstill 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, deleterequiredfromFieldLabel(and anyLabelAsterisk), and keep or addrequiredoraria-requiredon the input, the textarea or the select's trigger. - Docs: https://raft-design.botiverse.build/components/field/#content
- 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
Fixed
- A vertical
Separatorgiven 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'sself-centerlost to the separator'sself-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 theorientationprop now, so a caller'sself-*,h-*andw-*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 noself-*class still takes its row's height. A caller that styled the separator through its owndata-[orientation=…]:variant is unchanged:data-orientationis still set. - Docs: https://raft-design.botiverse.build/components/separator/#variants
- Why: the separator's orientation styles were
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 inPanelHeadingwherePanelTitlewould 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 inPanelTitle's type, truncating, then a 14pxchevron-downinforeground-mutedthat never truncates. It takesfill-mediumon 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 plainPanelTitleputs 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 aPanelSectionHeaderon a phone it takes the frame's text and hover colors, asPanelTitleandPanelActiondo.- Why: slock's Artifact viewer made its title a menu of the Artifacts opened lately, and with no part for it restyled
PanelActionby 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 thePanelMetaonto 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,PanelActionand every head render as before. A consumer that styled aPanelActionas 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 aPanelActionpulled 4px (24) becomes 23. - Docs: https://raft-design.botiverse.build/components/panel/#a-title-that-switches
- Why: slock's Artifact viewer made its title a menu of the Artifacts opened lately, and with no part for it restyled
0.99.0 (2026-11-14)
Added
AppLinkCardBadgetakessurface="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 itsPreviewCardMeta.surfaceonly chooses the surface the hairline ring is decided against (layer-popoverin place oflayer-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
surfaceis passed;AppLinkCardBadgewithout it renders as before. A consumer that draws app hover cards passes the app's color to this badge where it used a neutralBadge. - Docs: https://raft-design.botiverse.build/components/preview-card/#item-card
Fixed
- With
unstable_scrollArea,DialogBodyand a side drawer'sDrawerBodyscroll 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 axisautotoo, 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(containdown while it overflows, nothing set sideways); only its computedoverflow-xis nowauto, 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 atransform) 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-hiddenon the element around it). Sideways the whole body moves, so around a wide table preferTableScroll: 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 classr-scroll-area--vertical-orientationis nowr-scroll-area--both-orientation. - Docs: https://raft-design.botiverse.build/components/dialog/#scrolling-in-a-scrollarea
- Why: the native body is
- 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 hasmin-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 withoutunstable_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
DrawerBodycan 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, asDialogBodydoes with the same prop. The body keepsdata-slot="drawer-body",className,ref, the native props,renderand 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;wrapperClassNameis 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 (atabIndexof 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,
DrawerBodyrenders the same element and classes as before. It becomes the default in a later minor release, together withDialogBody's, and the prop can be deleted then. With it, the frame, not the body, is the child ofDrawerContent: a selector such as[data-slot=drawer-content] > [data-slot=drawer-body]no longer matches, a sizing class on the body moves towrapperClassName, andrenderreplaces 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.DialogBodyrenders 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
DrawerBodyscrolls (Drawer › Behavior). In aDrawerfrom the bottom or the top (swipeDirection="down", the default, or"up"), the body now hasmin-h-0 overflow-y-autoof its own: a body taller than the sheet's 82% of the window scrolls natively betweenDrawerHeaderandDrawerFooter, which stay in the sheet. In a sheet withsnapPointsthe body scrolls only at its full height (the snap point1) 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-autoon 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-scrollcomment 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 ap-0body) 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-0at no specificity, in a sheet and in a side drawer, with or withoutunstable_scrollArea): a row of a fixed height written in the body (h-13with one line of text) used to be squashed to its text before the body scrolled, and now keeps its height. A child withflex-1orshrinkstill shrinks, so an inner scroller withmin-h-0 flex-1scrolls as before; one withmin-h-0alone and noflex-1now 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 withoutunstable_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.cssfiles (every one under the current directory by default, withoutnode_modules,dist,buildand dot folders) and reports each declaration ofoverflow,overflow-x,overflow-y,overflow-inlineoroverflow-blockwhose value hasauto,scrolloroverlayin it (hidden auto,auto !importantandvar(--x, auto)too), in minified CSS and inside@media,@layer,@supportsand nested rules, and each native-scrolling class in an@apply(overflow-y-auto,md:overflow-auto,overflow-[auto],[overflow:overlay]). Each report isfile: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 newchecksfolder of the package.- Why:
raft-ui/prefer-scroll-areareads JS and TSX only, so a scroller made in a stylesheet (a diagram's<pre>, a standalone page's ownstyles.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 aScrollArea(useScrollAreaContainerandScrollAreaGuttersfor 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
- Why:
TableScroll, the area a wide table scrolls sideways in (Table › Wide tables). A part of Table: a horizontal ScrollArea around aTableor a plain<table>, withdata-slot="table-scroll". It takes ScrollArea's props butorientation, 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-writtenoverflow-x-autowrapper and the platform's scrollbar, or widened the page. - Affects: nothing that exists.
MarkdownTableScrollis now aTableScrollunder its own slot name and renders the same DOM and classes as before. Give theTablea 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-areanamesTableScrollin its message for an element that scrolls sideways. - Docs: https://raft-design.botiverse.build/components/table/#wide-tables
- Why: the only such part was Markdown's
textareaScrollAreaVariants, Textarea's look for aScrollAreaTextarea(Textarea › A field that scrolls), from@botiverse/raft-ui/wip.wrapper()goes towrapperClassName(the border, radius, background, least height, and the focus ring, invalid and disabled looks read from the textarea inside) andtextarea()toclassName(the type and padding).- Why:
Textareastays 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.ScrollAreaTextareadraws raft-ui's scrollbar but has no look, so each form re-derived the field's classes for its frame. - Affects: nothing that exists:
Textarearenders the same classes as before. A field whose height is capped or whoserowsare fixed, with text long enough to scroll, can move toScrollAreaTextareawith these classes and keeps the box of aTextarea. Put the cap on the frame (wrapper({ className: "max-h-40" })), and setaria-invalidbesidedata-invalidyourself. - Docs: https://raft-design.botiverse.build/components/textarea/#a-field-that-scrolls
- Why:
DialogBodycan 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 keepsdata-slot="dialog-body",className,ref, the native props and its children, so a layout written on it (className="grid gap-4") is unchanged;wrapperClassNameis 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 (atabIndexof 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 inDialogSheetContentbelow 768px. Abarbody ignores the prop.- Why:
DialogBodywas 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
DialogBodyrenders 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 ofDialogContent(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 towrapperClassName, and ap-0inclassNamealso 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.DrawerBodyis unchanged. - Docs: https://raft-design.botiverse.build/components/dialog/#scrolling-in-a-scrollarea
- Why:
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
DialogSheetContentbelow 768px, in aDrawerand underSheetPopupBoundary, 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. ThePOPUP_ROOM_MIN_PXconstant inlib/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
collisionBoundaryare 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-areafinds 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 aconst([…].join(" ")), in aconstbuilt from anotherconst, 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 asVARIANTS[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,classNamesor…ClassNamesprop; astylekept in aconstobject of the same file (style={styles.pre}) or under astylekey ({...{ style: { overflowY: "auto" } }}), the valueoverlayand two values (overflow: "hidden auto"); and the arbitrary valuesoverflow-[auto],overflow-y-[scroll],overflow-[hidden_auto]and[overflow:overlay]. Aconstis 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…">foroverflow-y-*, withorientation="horizontal"foroverflow-x-*, and withorientation="both"foroverflow-auto,overflow-scrollor x and y classes together, since a vertical area cuts off content wider than itself. On a<textarea>it namesScrollAreaTextarea; on a<pre>,<html>,<body>or<iframe>it gives no replacement, only the exception comment; in aclassNamesobject it namesuseScrollAreaContainerandScrollAreaGutters; on aScrollAreaorPanelScrollViewportelement'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 ownruleswhile the reports are cleared. The message ids arepreferScrollArea,preferScrollAreaHorizontal,preferScrollAreaBoth,preferScrollAreaTextarea,preferScrollAreaContainer,nativeScrollElementandscrollAreaAlreadyScrolls. - 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
DialogSheetContentbelow 768px and in aDrawer, every raft-ui popup with nocollisionBoundaryof 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, propsheadandsurface) 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 inOverlayLayerProvider, 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
collisionBoundaryyou pass still wins ("clipping-ancestors"opts a popup out).OverlayLayerProvidernow resets the sheet's popup boundary, soSheetPopupBoundarymust 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 aroundSelectContentandComboboxContentthat pass it ascollisionBoundary) can delete them: wrap its sheet's body inSheetPopupBoundary, or nothing at all inDialogSheetContentandDrawer. - Docs: https://raft-design.botiverse.build/components/dialog/#popups-in-a-sheet
- A popup given an
anchoris 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 theiranchorto 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. Ananchorthat 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, inDialogSheetContentbelow 768px, aDraweror underSheetPopupBoundary: it now opens over the head or stays under it by where its anchor is. AContextMenuwith ananchoris 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
- Why: the sheet decided by the open trigger it found in the page and ignored
- A popup opened from a
layer={1}dialog is drawn over the dialog (Elevation › Overlays).DialogContent layer={1}lifts its portal toz-dialog-layer, as a stacking context of its own (relative isolate,data-layer="1"), and its scrim and card stay atz-dialoginside it, the scrim under the card whateverlayeritsoverlayprops 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 carryz-dialog-layer, their portal does; the dialog is still above alayer={0}one. Alayerpassed inoverlaybesidelayer={1}is ignored, and can be removed. Acontainerpassed to a popup only to keep it over alayer={1}dialog can be removed.DialogOverlay layer={1}used on its own is unchanged. - Docs: https://raft-design.botiverse.build/foundations/elevation/#overlays
- Why: Base UI portals a select list or a menu opened from a dialog into the dialog's portal, at
- 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
absoluteor portaled into a transformed element.- Why:
@floating-ui/dom1.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.offsetToporoffsetLeftis not 0; elsewhere the rects are as before. A rect an app passes ascollisionBoundaryis 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 owncomputePositionanddetectOverflowon a stubbed visual viewport, not on an iOS device. - Docs: https://raft-design.botiverse.build/components/dialog/#popups-in-a-sheet
- Why:
0.95.4 (2026-11-13)
Added
- AppLinkCardBadge (
@botiverse/raft-ui/wip): the item's state on an AppLinkCard, a soft Badge of itsvariant, withfillfor 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 validfill, and in forced colors, it is the plain soft Badge.- Why: an app may send a color with its state's badge, so a state such as Stamp's Merged reads the same in Raft as on the app's own pages.
- Affects: nothing until a card passes
fill; without it the badge renders as<Badge appearance="soft">did. - Docs: https://raft-design.botiverse.build/components/app-link-card/#the-apps-color
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
DescriptionListandMessageActionCard'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
- Why: the hook observes the list and every value's children; when a value's notification flipped
0.95.2 (2026-11-12)
Added
TextLinkDownloadIcon: the download mark after a TextLink that downloads a file (TextLink › Downloads) (#1226). The sibling ofTextLinkExternalIcon, in the same box: Lucide'sDownloadat 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.labelis read by a screen reader after the text ("(downloads a file)"); the caller supplies the copy. Its part isdata-slot="text-link-download-icon".- Why: a download takes the download icon and doesn't leave the page, so it gets no ↗ (Navigation › Links that leave Raft); raft-ui had a TextLink mark only for leaving Raft.
- Affects: nothing until a link renders it.
- Docs: https://raft-design.botiverse.build/components/text-link/#downloads
Fixed
- An image icon marked
data-iconin a Button is the size of an svg icon there, not the size of the text (Button › Content) (#1226). Inmda non-svg element markeddata-icon(an<img>mark) is 16px, inlgandxl18px, as an svg icon is (Iconography › Sizes); before, it was 1em, the label's size (15px inlg). An element with asize-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-svgdata-iconelement now draws it at 16px or 18px. An svg icon renders as before, except one markeddata-iconthat also carries asize-class, which now keeps that size where it used to be 1em. - Docs: https://raft-design.botiverse.build/components/button/#content
- Why: an App Store or Google Play mark drawn as an
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). Withfit, the trigger is as wide as the longest label in the root'sitemsor its placeholder, at least 11rem and at most 20rem; past 20rem the value ends in an ellipsis.SelectValuelays 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.- Why: a settings row's select sits at the row's end, as wide as its longest option (Forms › A setting's row); a trigger that only lays out its value would shrink to a short one and move the row's end with each choice.
- Affects: nothing until a trigger sets
fit. It needsitemsonSelectand aSelectValuein the trigger; withoutitemsit stays at 11rem. A trigger withoutfitrenders as before. - Docs: https://raft-design.botiverse.build/components/select/#as-wide-as-its-longest-option
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
attachedrow (interactive={false}) right under an interactive row now draws the hairline above it and, as aplainrow, keeps its top inset.ListRowdecides this from the row above (it now setsdata-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/ricons0.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;
FollowArtifactIconandUnfollowArtifactIconuse 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,ReopenTaskIconand the typesActionIconProps,ConversationIconPropsandObjectIconPropsmoved 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-uino longer compiles. Add@botiverse/riconsto 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'sstyles.cssimports, 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/react1.9, which decouples automatic unmounting fromactionsReffor Select, Combobox and Autocomplete. Before, passingactionsRefkept the popup mounted after it closed until you calledactionsRef.current.unmount(). Now it unmounts when closing finishes unlessonOpenChangeopts out.- Why: the dependency update (#1193). raft-ui itself does not use
actionsReforunmount(). - Affects: only an app that passes
actionsReftoSelectorComboboxand relied on the popup staying mounted, for example to run its own closing animation. InonOpenChange, calleventDetails.preventUnmountOnClose()when it closes, thenactionsRef.current.unmount()as before. Nothing else changes.
- Why: the dependency update (#1193). raft-ui itself does not use
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 holdingnode(an overlay opened from another is inside both, and this is the inner one's), ornull.isInsideOverlay(node)is nowclosestOverlay(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]")withclosestOverlay(target). - Docs: https://raft-design.botiverse.build/components/popover/#inside-an-overlay
- 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
0.93.0 (2026-11-11)
Added
isInsideOverlay(node): whether a node is inside a raft-ui overlay (Popover › Inside an overlay). It istruefor 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, andfalsefor a node of the page and fornull; a text node counts by its parent element. Every…Portalpart now marks its container withdata-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. Replaceclosest("[data-base-ui-portal]")withisInsideOverlay(node)from@botiverse/raft-ui. - Docs: https://raft-design.botiverse.build/components/popover/#inside-an-overlay
- Why: slock tested
Changed
raft-ui/no-raw-z-indexis an error in the recommended config (Use raft-ui › Lint rules).recommended.jsonandconfigs.recommendednow 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 ownruleslowers 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 takesvar(--z-index-scrollbar), the top in-page layer. The area's root is stillisolate, 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 toz-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.mjsanddist/wip.mjsare now the drag Escape guard import plusexport * from "./index-exports.mjs"/"./wip-exports.mjs"; the names live in those two modules, which are not listed insideEffects. Exports and types are unchanged, and the guard still installs when raft-ui loads.- Why: both entries are in
sideEffectsso 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
sideEffectscan now leave unused components out of the first chunk.
- Why: both entries are in
0.91.0 (2026-11-10)
Fixed
FitToolbarSearchcuts 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-ellipsisis gone from the input; typed text still ends in an ellipsis.- Why: CSS
text-overflow: ellipsiscuts after the space and showed "Search …", which reads as a typo. - Affects: a FitToolbarSearch whose placeholder is cut; its input's
placeholderattribute is now the cut text. The accessible name is still the wholearia-label. Pages pass the whole placeholder as before. - Docs: https://raft-design.botiverse.build/components/fit-toolbar/
- Why: CSS
0.90.0 (2026-11-10)
Changed
FitToolbarSearch's least width is capped at 120px (FitToolbar › Behavior).FIT_SEARCH_MAX_LEASTis 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
minWidthis unchanged and not capped. - Docs: https://raft-design.botiverse.build/components/fit-toolbar/
0.89.0 (2026-11-10)
Changed
FitToolbarSearchkeeps 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 asFIT_SEARCH_MAX_LEAST. A placeholder that doesn't fit the field is cut with an ellipsis (text-overflow: ellipsison 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
minWidthis 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) areButton's split parts,ButtonSplit,ButtonSplitMainandButtonSplitMenu, each rendered as a toolbar button. The pair takes its steps as a whole: fromplusOrderon the main part is + alone, fromlabelOrderon its icon alone (only with anicon), its label kept as its name and tooltip, and the ▾ stays. It never moves into More.groupLabelnames the pair,menuLabelthe ▾, andmenuTriggeris the menu's trigger (<DropdownMenuTrigger />);disableddisables 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/
- Why: slock's Members toolbar built Create agent from two
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"andtone="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 leadingListRowIconwarning-strong(it interrupts but can be undone) ordanger-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 carriesdata-tone. The newRiskTonetype ("warning" | "danger") is exported besideRowTone;SidebarItemkeepsRowTone.- Why: slock's channel details panel colored these rows by hand (
text-danger-strongon the row,text-currenton 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:
ListRowIconnow readstext-(--list-row-risk-ink,var(--list-row-ink-3))instead oftext-(--list-row-ink-3), andListRowTitlegainstext-(--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 ontotone. 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
- Why: slock's channel details panel colored these rows by hand (
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;minWidthtakes a number instead), so the toolbar's other steps come first. FromcollapseOrderon 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.clearLabeladds a clear button that empties it and keeps focus.FitToolbarGroupmoreOrderandmoreItem: a group of how-to-show controls (sort, grouping, view) moves into More together at that step, each as itsmoreItem(a view switch as a radio choice in the menu).FitToolbarGroupend: an item pinned at the end of a scrolling group (overflow="scroll"), such as a filter line's Clear all ×. Withoutoverflow="scroll"it is not rendered, and development warns.FitToolbarMoreandFitToolbarMoreItems: 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-belowtoz-drag, and the lint ruleraft-ui/no-raw-z-index: every z-index has a name and a place in one order (Layer order). The names are ordinary Tailwindz-*utilities from--z-index-*theme variables instyles.css(@theme static, so CSS can always readvar(--z-index-sticky)): in the pagez-below-1,z-base0,z-raised1,z-control10,z-sticky20,z-float30,z-chrome35,z-cover40,z-app45,z-scrollbar49; overlaysz-popupandz-dialog50,z-dialog-layer60,z-lightbox70,z-toast80,z-drag999. They take every variant (max-md:z-chrome,before:z-below), andcnand the recipes merge them with a number an app passes (z-popupandz-40keepz-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 numericzIndexin a style object, azIndex={n}prop andel.style.zIndex = n; a number kept on purpose takes a// raft-ui: z-index <reason>comment on the line above.z-index-named.test.tsholds 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 ownrules. Map each value with the table in Elevation: a local lift isz-raisedinside anisolateroot (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 ontoPopoverandz-lightboxwhen 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 isz-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'sisolate), 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
isolateinstead ofz-10, and a dragged tab is lifted byvar(--z-index-raised)instead of 20, all inside the tab list'sisolate. TaskDraggable isisolate, so a card's own parts rank only inside the card, and a dragged card atz-raisedis 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, anisolatearound the artifacts dashboard,max-md:z-40beside 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-30beside a PanelHeader (MainLayout, ProfilePanel, ChannelSideArea, LegacyTaskPanel, TaskConversationDialog,index.css) toz-cover, or the header, now 35, is drawn over it; the typing line (z-6) toz-float, so it stays over the end fade and beside the jump pills; a hit target atz-10in a message (MessageItem) toz-raised, so the hover toolbar, now 10, stays above it; ThreadsInbox's day heading (z-15) and "new" pill (z-20) toz-stickyandz-float, which InboxItem's parts at 1 now allow. - Docs: https://raft-design.botiverse.build/foundations/elevation/#in-page-layers
- Raised parts 10 → 1 (
0.84.0 (2026-11-10)
Added
- LightboxBody, the scrolling body of a document-mode lightbox (from
@botiverse/raft-ui/wip): a ScrollArea underLightboxToolbarthat fills the rest of the content (min-h-0 flex-1), takes the pointer back fromLightboxContent(pointer-events-auto), and never passes a scroll on to the page under the scrim (overscroll-contain), onlayer-canvas, the toolbar's surface.classNamesets another surface (bg-layer-sidebar); every other ScrollArea prop,renderincluded, is the area's, exceptoverscroll. It carriesdata-slot="lightbox-body". It is a tab stop even when it has nothing to scroll (tabIndex={0}), with the inset focus ring (a 2pxforegroundoutline inside its edge, after keyboard input only) instead of ScrollArea's ring outside it, which the window's edges hid. Its content is padded byenv(safe-area-inset-left|right|bottom), andcontentClassNameandcontentStylestyle 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,tabIndexand the focus ring, and the safe-area box itscontentClassNamenow 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 neitherinertnor hidden, so find in page reaches it. In document modeLightboxContenttakes Base UI's own focus defaults: focus moves into the lightbox when it opens and back toLightboxTriggerwhen it closes. A lightbox opened from state passesfinalFocus={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";modalkeeps its default,true, and in itinitialFocusandfinalFocusstayfalse. - Docs: https://raft-design.botiverse.build/components/lightbox/#document-mode
attachedon ListRow: a row that belongs to the setting above it: in aListRowGroup, anattachedrow draws no hairline above it, and aplainone 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 carriesdata-attached. Tie it to its setting for assistive technology with the setting's title id: a display-only attached row takesrole="group"andaria-labelledby, an interactive onearia-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.- Why: a hairline says "another setting", so quiet hours' start and end times, or a server's channel overrides under its level, read as settings of their own.
- Affects: nothing until a row passes
attached: without it,ListRowrenders the same DOM and classes as before. slock's quiet hours times, its channel overrides and the message font size preview should take it. - Docs: https://raft-design.botiverse.build/components/list-row/#a-row-that-belongs-to-the-setting-above, https://raft-design.botiverse.build/patterns/forms/#a-settings-row
- FitToolbar's
plusstep: the primary action as + alone (from@botiverse/raft-ui/wip).FitToolbarButtontakesplusOrder: 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 carriesdata-fit-plus, anduseFitItem({ 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 aslabel,more,collapse,wrap,plus). Giveplusa higher number than anywrap, so the primary becomes + only once the groups have wrapped.FitToolbarButton'siconis 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,FitToolbarButtonrenders the same DOM and classes as before. - Docs: https://raft-design.botiverse.build/components/fit-toolbar/#behavior
messageCardandmessageEmbed, 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()givessource(withsourceIcon,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) andpopover;messageEmbed({ size })the frame and its widths, whichMessageEmbed sizeapplies.- Why: the rule for a card in a message is to take its inset, title, details and buttons from these recipes, never classes of its own; slock's Artifact, audio and app message cards can't follow it without them.
- Affects: nothing until an app uses them.
- Docs: https://raft-design.botiverse.build/patterns/cards-in-messages/#one-place-for-the-styles
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 itsPopoverBody,PopoverTitleandPopoverActionstake a card's parts: the 12px inset, thetext-subheadbold title, one row of buttons. The content carriesdata-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).FitToolbarPickeris a picker's trigger as one toolbar item: pass the popup's trigger astrigger(<DropdownMenuTrigger />,<PopoverTrigger />) with anicon, a label and what is chosen (value); it is a PickerTriggerButton, filledinfo-softonce 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. FromlabelOrderon its label gives way and the icon, the value and the chevron stay (👤 1 ⌄), named "Assignee 1".FitToolbarButton'scollapsedIconshows only once its label has given way, in place oficon(Clear filters becomes ×). AFitToolbarButtonwith neither refuses itslabelstep.- 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
FitToolbarButtonwithoutcollapsedIconrenders the same DOM and classes as before, plusdata-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-70toz-80, above the lightbox'sz-70. Elevation now writes the order down (Layer order).- Why: a toast fired from inside a lightbox (Link copied, a failed download from FileViewerShell's toolbar) was drawn under it, and in document mode the lightbox's body is opaque, so it couldn't be seen.
- Affects: every toast; it is drawn as before over the page, the popups and the dialogs. Nothing else sits between
z-70andz-80. - Docs: https://raft-design.botiverse.build/foundations/elevation/#layer-order, https://raft-design.botiverse.build/components/toast/#where-it-appears
-
SaveStatus shows only a failure, and takes no room otherwise: an empty
SaveStatusis hidden (empty:hidden) and has no height, so a setting with it is as tall as one without it. With aSaveStatusErrorin it, the line appears 4px under the control or the description, as before, and the setting grows by it.SaveStatusSavedis 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
SaveStatuswhile it holds no error, and every plainListRowwhose body ends in one (slock'sImmediateSaveStatusandImmediateSwitchRow, 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. DropSaveStatusSavedand its "Saved" copy; renderSaveStatusErrorwhen a change failed and nothing otherwise. A plain row without a SaveStatus is unchanged except that it no longer carries the--list-row-status-spaceclasses. 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-0andmb-[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.tsxfails:assertIdleLinelooks 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_MSis 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) andsize="content"(at most 560px), and themessageCardrecipe 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:
MessageEmbedwithoutsizerenders 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 oftext-headline(17/16px), so the card is shorter. - PreviewCard:
PreviewCardBody,PreviewCardActionsandPreviewCardFootertake the same 12px, and aPreviewCardTitlein 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 inPreviewCardBody, 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.
MessageActionCardActionsNoteis 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.
- AppLinkCard: its header, body and buttons sit 12px from the edges instead of 16px, and its title is
- 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
initialFocusunset, a document lightbox with aLightboxBodyfocuses 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) scrollsLightboxBodyinstead, 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.- Affects: document-mode lightboxes with a
LightboxBody(none in slock yet). AninitialFocusof the caller's still wins. - Docs: https://raft-design.botiverse.build/components/lightbox/#accessibility
- Affects: document-mode lightboxes with a
-
Lightbox document mode focuses as Base UI does when opened by a tap: with
initialFocusunset, 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 atz-70with the lightbox, where the DOM order decided which was on top; elevation.md's Layer order lists it. -
TaskBoard:
TaskBoardColumnChevrondraws aChevronDownwhen 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:
LightboxPortalis a stacking context of its own atz-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 insideLightboxContentin the lightbox's portal; now its ownz-50counts 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 drawslayer-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-70andz-71among the page's layers, so a popup opened inside, atz-50in 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 losesz-70and the contentz-71, and a scrim stacked on another surface carriesdata-nested. A popup given acontaineroutside the lightbox, or an app's own portal to the body, is drawn under the lightbox, as before.LightboxPortalPropstakes a stringclassName, asLightboxContentPropsdoes. - Docs: https://raft-design.botiverse.build/components/lightbox/#popups-inside, https://raft-design.botiverse.build/components/lightbox/#behavior
- Why: the scrim and the content sat at
-
A cover or an excerpt no longer cuts off a card's corners:
MessageEmbedContentthat is the card's first or last part takes the card's inner corner,radius-containerless 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 onMessageQuotedPreviewLoading), 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: absoluteorfixed) or of no size, and looks throughdisplay: contentson 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: absoluteorfixed) or of no size, and look throughdisplay: 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: contentswrapper 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.
- Why: the Range took in an open menu's focus guards and a Select's hidden input, fixed at the window's corner, so the actions seemed as wide as the distance to the window's left edge: they stayed under the text while a menu was open, and for good with a Select in them.
- Affects: a banner whose actions hold a Menu or Popover trigger, a Select or a Combobox. Actions of plain buttons measure the same width as before.
- Docs: https://raft-design.botiverse.build/components/banner/#anatomy, https://raft-design.botiverse.build/patterns/responsive/#switch-on-the-regions-width
-
A sorted board column shows that it is the place while a card is over it:
TaskDropZonetakesdragInto. With it, the zone carriesdata-drag-intoand takesfill-subtlewhile a card it allows is over it, its cards and all; never at rest, and never while it refuses the card (dropStateblocked).- Why: Drag and drop says a column whose order isn't the person's to set (sorted by last update, by due date) is itself the place and takes
fill-subtlewhile the item is over it, with no placeholder between its items. TaskDropZone had no way to: a sorted column with cards showed nothing while a card was over it, only an empty one its placeholder (the channel Tasks panel shares the column). - Affects: nothing until a
TaskDropZonepassesdragInto: without it, every zone renders the same DOM and classes as before, and a column whose cards are drop targets keeps its placeholder as the one signal. - Docs: https://raft-design.botiverse.build/components/task-dnd/#states, https://raft-design.botiverse.build/components/task-board/#states, https://raft-design.botiverse.build/patterns/drag-and-drop/#where-it-will-land
- Why: Drag and drop says a column whose order isn't the person's to set (sorted by last update, by due date) is itself the place and takes
-
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
labelorplusstep at the same number) change form at the same time. A SegmentedControl of text alone, or a FitToolbarButton with no icon, refuses itslabelstep. 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 theirlabelstep; 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
- Why: a wrapped group moves with CSS
-
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
wrapand anoverflow="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
- A setting that applies at once shows no "Saved" and reserves no line: the control showing its new value is the confirmation; only a failure appears under it, saying what failed, while the control goes back to its old value. Where a section's settings are stored ("Saved on this device") is said once for the section, not on every row. This replaces the way chosen on 2026-10-30 ("Saved" for a moment, on a line kept when empty) and the settings row's centering on its title and description above that line (2026-11-09).
- A section of settings may hold more than one group, split by topic: in Appearance, the message font size and its preview are one
ListRowGroupand the display switches another, 12px apart (stack-y-3) under the section's one header, with no hairline joining them.ListRowGroupis unchanged: it sets no space around itself, and the column of groups sets it.
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 atvar(--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 fromsize. The content carriesdata-placement="top". To anchor the card to something, the app measures it and sets--dialog-topin the content'sstyle; 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-heightbelow 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 carriesdata-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
DialogContentbelow 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'snarrow="top") can drop that code. - Docs: https://raft-design.botiverse.build/components/dialog/#the-keyboard
- 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
- SelectionToolbar (from
@botiverse/raft-ui/wip): the floating toolbar for selected items (messages, tasks), in the BatchBar style.SelectionToolbarDockfloats it 12px above the bottom (plus the safe area) and 20px from the sides;SelectionToolbarCount(with the number inSelectionToolbarCountValue, Space Mono),SelectionToolbarHint,SelectionToolbarActionswithSelectionToolbarAction(secondary,menu,moreItem),SelectionToolbarMorewithSelectionToolbarMoreItemsin its menu,SelectionToolbarItemfor another control such as a select-all checkbox, andSelectionToolbarClose. A floating panel's frame (line-seamring,shadow-float) as tall as a head: 44px withmdbuttons 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.- Why: the toolbar for selected items is one bar shared by message multi-select and task bulk actions, in the BatchBar style:
mdghost buttons with a 14px icon and a label, no primary; by touch it aligns with the head, so a phone fits the tasks' Status, Assignee and Nudge at 360px. - Affects: nothing yet. The stable
MessageMultiSelectToolbarandMessageMultiSelectToolbarActionskeep their earlier bar until SelectionToolbar leaves wip; move to it from@botiverse/raft-ui/wipwhen you are ready. - Docs: https://raft-design.botiverse.build/components/selection-toolbar/, https://raft-design.botiverse.build/components/#toolbar-for-selected-items
- Why: the toolbar for selected items is one bar shared by message multi-select and task bulk actions, in the BatchBar style:
- 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) andwrap(a group to a line of its own, withwrap; groups with the samewrapLineshare one, and a wrapped group gets back what its items gave before it wrapped). Items declare their steps and order withuseFitItem, or are aFitToolbarButton; aFitToolbarGroup overflow="scroll"scrolls sideways instead, itsdata-activeitems kept in view; groups areFitToolbarGroup(firstLine,wrapOrder,wrapLine,collapsed,collapseOrder); More takesuseFitMoreand listsFitToolbarMoreItems. It measures its own region's width, never the window's, again when its content changes on its own, and writes each step asdata-fit-<step>. A SegmentedControl inside it follows itslabelstep; its owniconsOnlyBelowis 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/wipno 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/wipfails; import from@botiverse/raft-uiinstead. 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 tooverflow-wrap: anywherebreaks 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:
MobileNavServerPopoverListis never shorter than one two-line row. Where the footer actions and the pages would leave it less inside 60% of the screen,MobileNavServerPopoverContentgrows 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 witharia-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; passinitialFocusto 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 ofmobile-nav-server-popover-contentno longer matches them. Mark the current server's row witharia-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"whoseListRowBodyends with aSaveStatus, 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
SaveStatusis 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
ComposerDropOverlayPrompttakes its text aschildren, 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 usesComposerDropOverlayLabelinstead. - 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 andtext-footnote. It follows the row's tone and disabled state with the title.ListRowDescriptionstays 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), intext-footnoteinforeground-mutedas the description is, after thedescriptionlines. 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 theMessageActionCardHeaderDescriptionline 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'sdescription,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
ListRowSubtitlegets darker and a size smaller than inListRowDescription; data moved into a ChoiceList item'smetalooks as it did indescription; a time moved intoMessageActionCardHeaderMetais 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
ResizeObserverwatches the sizes, the first read of the container'sclientHeightandscrollHeightwaits for the next animation frame, as every later one already did. Without aResizeObserverit 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
onEdgeChangeis first called in it: code that reads them in a layout effect right after mounting finds them unset, and can callactionsRef.measurefor 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 itsz-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 nowDragLiftby 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/
- 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 (
DragLiftrenders the copy indocument.bodyby default: the lifted copy goes through a portal to the body unlesscontainernames another element, ornullkeeps it in place; the portal keeps the theme scope it was rendered in.TaskDragOverlayfollows, asSortableTabsListandSortableComposerAttachmentsalready 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 (
TaskDragOverlaywith nocontainer). - Affects: a
DragLiftorTaskDragOverlaywithoutcontainernow 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. Passcontainer={null}for the old in-place copy. How the copy looks is unchanged. - Docs: https://raft-design.botiverse.build/components/drag/#anatomy
- 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 (
- 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
- Why: in the body, the copy took its direction from
- 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:
PanelHeaderContentputs thePanelMetaafter 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:
MessageImageGalleryRowwith 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:
SidebarItemsetscontent-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 2pxoverflow-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-marginkeeps 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-areaalso reads class lists kept in a const and aclassNameproperty: a native-scrolling class in aconstof the same file is reported when the const is used as a class there (const log = "max-h-64 overflow-auto", thenclassName={log}orcn(log)), wherever in the file it is declared; and so is one in aclassName,classor*ClassNameproperty, 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.jsonsets"plugins": []. (#1076)- Why: an extended config without
pluginscounts as Oxlint's default plugins, so extending it turnedunicornback 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.jsonkeeps exactly thepluginsit 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
- Why: an extended config without
0.77.0 (2026-11-08)
Changed
- Select, Combobox and ComboboxSelect lists scroll in a ScrollArea: each list is a
useScrollAreaContainercontainer 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/ComboboxListrender a frame<div>around the list element;ref,className,styleand the other props still go to the list. CSS or tests that expected the list to be the popup's direct child, or waited ondocument.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
SelectSeparatormeets the popup's edge and stays inside the list, and Select and Combobox lists setoverflow-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, andrefreshListWidth()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'sonResizeor 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,-leftand-right) go on the gutters layer, and withfadethe 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 (useScrollAreaContaineron 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
fadelook 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)
- Why: an agent's Role, Computer and Model stacked in a 370px profile though they fit beside their labels; the switch should follow the content, not a width picked for the longest label.
- Affects: short facts in panels from about 300px to 384px, and on a phone, now stand beside their labels. A list whose values are wide still stacks, at the width they stop fitting.
- Docs: https://raft-design.botiverse.build/components/description-list/#labels-go-above-only-when-a-value-doesnt-fit
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, afterNoto Sans SC, as the Traditional Chinese list already did withNoto 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/lintis 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-scrolland 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-linecn(...), 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.jsonfrom.oxlintrc.json(orconfigs.recommendedin 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
PanelScrollViewportin 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.classNamemake the element scroll in theorientation, as ScrollArea's own container does (vertical:overflow-y: autoandoverflow-x: hidden; horizontal: the other way round; both:auto), so the element needs no overflow class of its own and nothing forraft-ui/prefer-scroll-areato report.ComposerInputandActivityInboxViewportno longer carryoverflow-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
useScrollAreaContainerelement. One they keep still wins (the hook's rule has no specificity), so nothing breaks. A vertical container that had onlyoverflow-y-autonow clips sideways (overflow-x: hidden) instead of scrolling sideways with no scrollbar; passorientation="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)
- Why: a long thread buries the few messages people wrote under agents' work.
- Docs: https://raft-design.botiverse.build/patterns/conversation/#a-threads-timeline
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,MessageActionCardScopeListViewportandDialogNavshow 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
PanelScrollViewportwhose 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'sdata-slot(panel-scroll-viewport) replaces ScrollArea's ownscroll-areaon 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-listanduseScrollbarSizeare 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)
- Why: the tap area grew 10px on every side, across the 6px gap and 4px into the label.
- Affects: touch screens. Keep the next control 16px from the chip (was 12), since the tap area now reaches 10px past the chip's end.
- Docs: https://raft-design.botiverse.build/components/filter-chip/
- ArtifactIcon is pinned to Lucide's
file-codeby 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
- A toast holds its page height while it shows, so content above it moves up only; the keyboard isn't held. (#1051)
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)
- Why: a card opened from an embedded page stayed open after Tab passed its last control, with focus on invisible focus guards, so a keyboard user couldn't see where they were.
- Docs: https://raft-design.botiverse.build/foundations/elevation/#popups
Breaking Changes
- ModeBar removed, with its parts (
ModeBarContent,ModeBarTitle,ModeBarDescription,ModeBarAction) and their 5 types, from@botiverse/raft-uiand@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
optionaltakes the marker's text as well astrue: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
FieldLabelalways put 4px before the marker and wrote it only in English. - Affects: nothing for
optionalandoptional={true}, which render "(optional)" 4px after the label as before. - Docs: https://raft-design.botiverse.build/components/field/#content
- 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
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
mddoes, through a transparent::after6px 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
mdButton and anmdInputGroup 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
- Why: they were the two controls of a toolbar or filter row whose tap area stayed 32px by touch, beside an
0.69.0 (2026-11-06)
Added
- InputGroup
size:mdfor a field in a toolbar or a filter row,lg(the default, unchanged) for a field on its own. Atmdthe field is the row's button height: 32px on a phone and a touch screen, like themdButtons 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 carriesdata-size. A Button in anmdfield'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 aKbdShortcutatmdin 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.recordingmakes it a field the control height, with the focus ring after keyboard input (data-recording), for the held keys, a prompt and a caret;invalidtints the caps and the field's border danger (data-invalid). Name it witharia-labeland passaria-keyshortcuts. (#1030)- Why: a panel where people change keyboard shortcuts had no control to put around each shortcut, and Kbd is never a control; KbdButton is that control.
- Affects: nothing until an app uses it.
- Docs: https://raft-design.botiverse.build/components/kbd-button/
0.66.0 (2026-11-05)
Added
- SidebarSectionEndChevron, and
chevronAtEndon 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.chevronAtEndonly hides the chevron before the title with a mouse; on a touch screen it shows as before.- Why: the Raft web app drew its own end chevron.
- Affects: nothing until a header opts in.
- Docs: https://raft-design.botiverse.build/components/sidebar/
- 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.- Why: the read faces kept a 63-77px column beside every message.
- Docs: https://raft-design.botiverse.build/components/message-item/#trailing
Changed
- Size chain tokens: control, row, option and header heights are now one chain of variables in
tokens.jsonandfoundation.css, built on the existing--control-height,--control-hit-insetand--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'spx-*again. - Migrate: read
--surface-inset/--page-insetinstead ofpx-5for 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.- Why: the sizing audit's touch column.
- Affects: phone widths and touch screens; a desktop with a mouse from 768px is unchanged.
- Docs: https://raft-design.botiverse.build/foundations/spacing/#hit-targets
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): aprimaryordefaultButton with its ▾ menu, one shape in two parts. The parts touch and share oneradius-controloutline, the menu part's start border divides them, and each part hovers, presses, focuses and disables on its own;disabledon the group disables both. (#1009)- Why: Raft Chat's Members header needs Create agent with a ▾ for Take over a local session and Connect an external agent (rule in #1008), and raft-ui only had
PanelSplitAction, the frameless split of a panel header. - Affects: nothing until used.
- Docs: https://raft-design.botiverse.build/components/button/#split-buttons
- Why: Raft Chat's Members header needs Create agent with a ▾ for Take over a local session and Connect an external agent (rule in #1008), and raft-ui only had
- 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: acarditem withplacement: "block"initems). The link is never replaced: it stays a chip when the answer listsinline, and the author's plain link when it doesn't.AppLinkCardHeader(withAppLinkCardIcon,AppLinkCardNameandAppLinkCardHost) is Raft's row naming the app;AppLinkCardBody,AppLinkCardEyebrow,AppLinkCardTitleandAppLinkCardMetaare the item, as on the hover card, and the title holds a link that opens the item;AppLinkCardActionsholds at most two of the app's buttons and ⋯ for the rest, where an Open link goes;AppLinkCardPlaceholderis 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)- Why: a card whose buttons matter, such as a Stamp approval, could be acted on only by hovering its chip on desktop, and not at all on a phone. The app lists every way its link is drawn, a chip, a hover card or a block card (protocol version 3), and Raft always draws the app's name and icon in its own frame.
- Affects: nothing until a product draws one. PreviewCard is untouched.
- Docs: https://raft-design.botiverse.build/components/app-link-card/ and https://raft-design.botiverse.build/patterns/navigation/#what-an-apps-answer-lists
Fixed
- CommentMarginItem: a
CommentMarginrenders its cards where the browser has noResizeObserver(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/
- Why: the same gap #996 closed in
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 withInboxItemTrailingrender 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 withInboxItemLine: 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
lineprop, so a loading row matches a row withInboxItemLine. 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-labelandtitle. A trigger with your ownaria-labelis 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
falsewhere the browser has nomatchMediaorResizeObserver(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
renderprop, 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/
- Why: Kbd draws its border with an inset ring, and the menu shortcuts reset
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,renderand 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 instyles.css. - Migrate: remove
ScrollAreaViewport,ScrollAreaScrollbar,ScrollAreaThumb,ScrollAreaCornerand their props types; put what you passed to the viewport onScrollAreaitself. A container laid out as a grid, a flex row or a flex column withgapputs that layout on a wrapper (contentClassName), or binds the container withuseScrollAreaContainer({ 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,classNameand the native props still go to thetextarea;wrapperClassNamestyles the frame;trigger,size,hideDelayandoverscrollwork as on ScrollArea. - Migrate: drop
render; a style meant for the box around the textarea moves towrapperClassName. - Docs: https://raft-design.botiverse.build/components/composer/
Added
- useScrollAreaContainer and ScrollAreaGutters (+ types
ScrollAreaContainer,ScrollAreaContainerOptions,ScrollAreaGuttersPropsand the option types): ScrollArea's scrollbars for an element you render yourself, such as a list's own scroller. The hook returnscontainerPropsto spread on your element,guttersPropsfor<ScrollAreaGutters>,framePropswith absolute gutters, andmeasure/scrollToElement/scrollable. ScrollAreaTextarea: atextareawith 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
sizeprop,sm(the default, unchanged) ormd, a 24px cap on a muted fill for a key that is the content, as in a list of shortcuts (+ typeKbdSize). (#969)- Why: a shortcuts list drew its keys at the hint size, too small to read as the content of the row.
- Affects:
mdis 24px high, at least 24px wide,rounded-sticker,bg-fill-muted,text-mono-code. Menu and search-trigger shortcuts keepsm(their props omitsize). - 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.
MarkdownTableScrolltakes ScrollArea's props exceptorientation. (#952)- Why: each had its own scroller and scrollbar, so the same list looked different from one place to the next.
- Docs: https://raft-design.botiverse.build/components/scroll-area/
Fixed
- Tooltip: a shortcut written as a
KbdGroupsits 6px after the text like a singleKbd, and its caps are no longer taken for the tooltip's leading icon. (#969)- Why: a multi-key shortcut in a tooltip was spaced differently from a single key.
- Docs: https://raft-design.botiverse.build/components/tooltip/
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 withtruncatetruncates and icons keep their size. (#967)- Why: a Button given
min-w-0 max-w-fullin 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 hasmin-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
- Why: a Button given
0.59.0 (2026-11-03)
Breaking Changes
- TableHead / TableCell:
alignis now a variant,"left"(the default) or"right", instead of the native HTMLalignattribute. 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
alignvalue now aligns a heading, its cells and a sortable heading's label alike. - Affects:
align="right"setstext-rightinstead of rendering thealignattribute;alignno longer takes"center","justify"or"char", and is no longer passed to thethortd. - Migrate: replace
align="center"/"justify"/"char"with a class such astext-center; a column aligned with atext-rightclass can passalign="right"to its heading and cells instead. - Docs: https://raft-design.botiverse.build/components/table/#content
- 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
Added
- TableSortableHead (
@botiverse/raft-ui/wip, experimental, + typesTableSort,TableSortableHeadProps): a column heading that sorts the rows. Its label is a button filling the cell; it setsaria-sorton the heading cell and draws a 12px arrow on the sorted column only, after the label or before it withalign="right". The sort stays in your state: passsortand set it fromonSortChange;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
- Why: the Sorting rule had no part, so each list had to build its heading's button,
0.58.1 (2026-11-03)
Fixed
- Button: a
loadingbutton keeps keyboard focus. It isaria-disabledand stays in the tab order instead of becoming nativelydisabled; click, Enter, Space and form submit are blocked while it runs. Adisabledbutton 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
loadingto 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, inTaskStatusIdandTASK_STATUS_IDS(nowbacklog, todo, in-progress, in-review, done, closed). It has no hue: a hollow pixel edged inline-strong(TaskStatusIcon, newTaskBacklogIcon), an untinted chip with a hairline outline (TaskChip,TaskStatusBadge,TaskCardStatus) and a hollowTimelineItemmarker. (#932)- Affects: anything that iterates
TASK_STATUS_IDSnow also gets a Backlog column or group. - Docs: https://raft-design.botiverse.build/components/tasks/
- Affects: anything that iterates
- 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 withrole="checkbox", 36px hit area with a mouse and 44px on touch, hover previews the check, disabled isaria-disabledonly. (#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
PreviewCardContentsize("profile"300px, the default;"item"400px). For every card with aPreviewCardBody, whether or not it passessize:PreviewCardTitlein the bodyline-clamp-3→line-clamp-2;PreviewCardActionsjustify-end. - Migrate: pass
size="item"on thePreviewCardContentof 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.svgandraft-mark-white.svg. Inside a.lightscope (such as the pixel loader's fixed yellow tile) the ink outline stays in both modes. (#948)- Why: the yellow-on-dark mark is reserved for the website footer; product dark mode uses the white version.
- Docs: https://raft-design.botiverse.build/components/logo/
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 withsnapPoints. (#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-2under the handle); drawers from other edges without snap points are unchanged. The handle staysaria-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
deprecatedgroup oftokens.jsonand theirfoundation.cssdeclarations 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-signaland the other color utilities of the removed names,shadow-raft-*,press-overlay,press-overlay-sticker,row-hover-overlay,row-open-overlay.bg-fill-row-hoverstays for now. - Migrate: run the codemod above; use
bg-fill-subtleforbg-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)- Why: deprecated and unused; a floating control is only for moving through a list, and page actions belong in a header or toolbar.
- Migrate: put the action in the header or a toolbar.
- Docs: https://raft-design.botiverse.build/foundations/elevation/
- LiveAgentActivityBar and its parts (
LiveAgentActivityBarAvatar,LiveAgentActivityBarContent,LiveAgentActivityBarRow,LiveAgentActivityBarStatus,LiveAgentActivityBarText) removed, with SidebarLiveActivity, the sidebar part that held it. (#930)- Why: a live strip at the bottom of the sidebar or above the tab bar showed changing content unrelated to the page; working agents show in the header summary and in their own rows.
- Migrate: show working agents in place.
- Docs: https://raft-design.botiverse.build/people-and-agents/working-agents/
- LegacyTaskPanel* removed: the 17 parts and their types. (#930)
- Why: deprecated and unused.
- Migrate: use the Tasks components.
- Docs: https://raft-design.botiverse.build/components/tasks/
- MessageTextSelectionToolbar, MessageTextSelectionToolbarButton, MessageTextSelectionToolbarSeparator, createMessageTextSelectionAnchor and their 4 types removed. (#930)
- Why: they were message-named aliases of the generic toolbar.
- Migrate: use
TextSelectionToolbar,TextSelectionToolbarButton,TextSelectionToolbarSeparator,createTextSelectionAnchor. - Docs: https://raft-design.botiverse.build/components/text-selection-toolbar/
- CreateTaskIcon removed. (#930)
- Why: unused; Create Task uses Lucide's
plus. - Migrate: use Lucide's
plus. - Docs: https://raft-design.botiverse.build/components/icons/
- Why: unused; Create Task uses Lucide's
- Meter
lowremoved. (#930)- Why:
warnAtreplaced it. - Migrate:
low={20}of 100 iswarnAt={0.8}, the default. - Docs: https://raft-design.botiverse.build/components/meter/
- Why:
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
- Window-control insets bound a popup; they don't pad it (Page Structure › Frame insets). (#927)
- Panel header actions: shown buttons, then ⋯, then Close (#920); Navigation: a listed item opens in the side panel, Raft has no breadcrumbs (#921).
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 onMessageEmbeddon'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-checkat 12px, the success icon and size the icon rules give. (#914)
Design System
- Expand-type actions (Expand, Focus Mode, Open in New Page) are their own header buttons, left of ⋯, never in it. (#917, #918)
- Raft Chat: Drafts after Saved in the sidebar and on phone Home (#904); Mark Thread as Unread in the thread's menus (#853); English fixes and their zh sync (#910, #912).
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
- A setting that applies at once shows its result on a reserved line 4px under the control. (#906)
- Activity thread and task rows lead with their own mark; the channel's icon goes in the corner badge.
InboxItemLeadingBadgeholds any one icon. (#905) - Icon meanings: one meaning per icon on a screen, one Lucide drawing per concept, More is ⋯ in a row of actions and ⋮ for one object's menu, Back is an arrow, success
circle-checkand errortriangle-alert, Reopen is not restart, outline only.CreateTaskIconis deprecated. (#903)
0.53.0 (2026-10-30)
Changed
ChatIconisMessageIcon's plain bubble: the three dots inside are gone, so a message and a chat share one icon.ChatIconstays exported as an alias;DirectMessageIcon,ThreadIcon,CommentIconandFeedbackIconkeep their marks. (#901)
Design System
- A message and a chat share one icon: the plain bubble; the other kinds of conversation keep their own mark. (#901)
- RadioGroup: nothing chosen when the pick is consent: leave the group empty when choosing an option grants something, so nobody consents by default. (#900)
- "Entry points on an edge take a band" is withdrawn until the Assistant's form settles. (#899)
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-4becametext-[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-disabledlike 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-scopekeep 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. TheMessageTextSelectionToolbar*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
- Joined parts hover as one control: the part under the pointer gets
fill-medium, its joined neighbourfill-subtle. (#885) - Descriptive links take sentence case: Title Case is for labels that name an action; "From a message in #general" is a phrase. (#887)
- Entry points on an edge take a band: an always-present entry on a region's edge gets its own full-width band; the content never narrows around it and is never covered. (#887)
0.51.0 (2026-10-29)
Changed
- DropdownMenuRadioItem, ContextMenuRadioItem: choosing a radio item closes the menu (
closeOnClickdefaults totrue): one pick completes the choice, and an open menu covers its result. PasscloseOnClick={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/wipexport 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
warningfrom 80% used, the same point as 20% left before, so the same data keeps its colour; used up is a fullwarningbar 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
usedofmax;aria-valuenowisused.low(amount left) is deprecated but still honoured:low={n}iswarnAt={1 - n / max}. (#879)
Breaking
- Meter
data-levelisnormal/high/full(wasplenty/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
gapand 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-cellrecipe fragments (listCell,listCellStates,listCellFocus) shared by the row components;ListRowtakescellto 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 withgap-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
- Hover and press on an ink sticker: the server tile (rail header, sidebar header) is ink, and ink over ink doesn't show, so it hovers, presses and shows its open list with 6% paper, in light and dark. (#875)
Added
- Token
sticker-ink-medium(6% paper in both modes) and the utilityoverlay-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
- Badge.Experimental: takes its label as children, so an app shows the word in its own language (
<Badge.Experimental>{t("experimental")}</Badge.Experimental>); with no children it still reads Experimental. (#871)
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 keepswarning-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 unlesscloseOnAction. (#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
- Foldable phones: on the outer screen, a top-level page's name is a 56px header line on paper with a seam under it, and the system column keeps a top-level page's actions just above the tab bar, stacked bottom-up; a pushed page keeps Back at the top. (#862, #864)
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
- Frame insets: tooltips flip away from every frame inset (
--raft-frame-inset-top,-start,-end), and popups stay 8px clear of one. Start and end follow the popup's text direction. With no inset set, which is every web page, nothing moves. (#860)
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
collisionPaddingyou 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-endand--raft-frame-inset-top; the web sets none. (#856)
Changed
- Tooltip: one that would open into
--raft-frame-inset-topflips 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/LeaveChannelIconand their private and joint pairs. (#851) CommentIcon,AddCommentIcon,FeedbackIcon,CreateTaskIcon,ReopenTaskIcon,ArtifactIcon,FollowArtifactIcon/UnfollowArtifactIcon. (#854)
Fixed
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
CommentEntryin the card, with no indent or wrapper; put test ids onSearchEntityResultitself, 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 asbrand-soft) and Badgevariant="busy": the Working chip's tint and apresence-busysticker that no theme recolours. (#832)
Changed
- Status
variant="primary"and the MessageActionCardStatus primary pixel usepresence-busy(werebrand-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; usevariant="busy".
- Affects: a "Working" chip built as
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 aninfo-softchip, with an × that resets the filter to its default. (#825) - PanelAction
activateOnTouchEnd: opt-in switch on finger lift for a back or close action;DialogSheetBacksets 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
onClickon these controls still runs exactly once per tap. A touch handler that relied on the browser's click arriving aftertouchendnow sees the click earlier.
- Affects: an
- VirtualList no longer writes
--virtual-list-transform-yor--virtual-list-ios-compensation-yon the rows' element (every scroll used to restyle every row). (#819)- Affects: content that read those variables uses
onTransformChangeinstead.
- Affects: content that read those variables uses
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.
MessageListEndFadeis the one exception. (#816) - Dimmed: deleted, offline and pending items are
opacity-dimmed(60%); a drag origin stays 40%. Media hover is anink-8overlay, 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) andmask-fade-x(24px on the side named bydata-overflow="start|end|both"); tokensfade-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 withcn'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
::aftermust drop it.
- Affects: overrides that targeted the fold's
- Composer upload and failed covers, and the pending MessageImageGallery image, use
layer-veil(werelayer-card/80,layer-card/90andopacity-70); the pending spinner uses its default colour. (#816) - Lightbox thumbnails dim with
layer-backdrop-nested(40%, wasblack/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
- Drag and drop: a panel of live content (a side section) is lifted by its grip only, so its head keeps its clicks (opening a thread, jumping to the channel). The grip shows while the head is hovered or the grip has focus, always on a device that can't hover, and its hit area is at least 24px tall and wider than the bar. (#809)
- Motion: the app's columns change without animation: collapsing or expanding the sidebar, and Focus Mode in or out, by a button or by dragging past the end. (#811)
- Field: an action at the end of a field's label row (Forgot Password) comes after the control in the markup, so Tab and a screen reader reach the field first. (#808)
Fixed
- AppShell: the sidebar collapses and expands at once; the main area no longer slides and the sidebar no longer fades.
data-slidingis gone. (#811)- Why: Focus Mode already switched at once while the sidebar slid; a whole column sliding flickers.
- Affects: no transition on
AppShellMainSlot(left) orAppShellSidebarSlot(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)- Why: the buttons were 8px apart but 6px from the edge, against Shape › Inside a frame.
- Affects: gap in the toolbar, actions and meta 8px → 6px.
- Docs: https://raft-design.botiverse.build/components/composer/
- 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)
- Why: near the window's edge the chip was drawn outside it, or under the copy when flipped.
- Docs: https://raft-design.botiverse.build/components/drag/
- 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)
- Why: Escape cancelled the drag and also closed the panel around it.
- Docs: https://raft-design.botiverse.build/components/drag/
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) andmotion-drag-settle-easing(cubic-bezier(0.25, 1, 0.5, 1)), with the Tailwind easeease-drag-settle. (#804)- Why: drops, cancels and sibling slides each used their own timing (250ms, 160ms or none); one settle motion now serves them all.
- Docs: https://raft-design.botiverse.build/foundations/motion/
- Attributes
data-drag-origin(the item a drag came from, at 40%) anddata-drag-into(a container the dragged item has moved into,fill-subtle). (#804)- Why: each surface faded the origin and marked containers differently; these two attributes give every drag the same look.
- Docs: https://raft-design.botiverse.build/patterns/drag-and-drop/
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
describeonTaskDndProviderannounces cards and places by name; without it nothing is announced (no ids).TaskDragOverlaytakescontainer. (#804)- Why: the overlay snapped, the column reflowed under the hand, and the screen reader read internal ids.
- Affects: activation 5px → 6px; drop and cancel 160ms
motion-drag-settle-*; overlay z-index 999. - Docs: https://raft-design.botiverse.build/components/task-dnd/
- 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(containerto change it), and the tab's slot shows the dashed place. Announcements use the tab's label and position;messagestakes 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 itslabel;messagestakes translations. (#804)- Why: the drag looked and moved differently from every other drag.
- Docs: https://raft-design.botiverse.build/components/composer/
0.35.1 (2026-10-25)
Fixed
- PanelNotice: a leading
Spinneris 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 ayoufill 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
- Search: matched words sit on a yellow fill, no edge, no bold; a leading @ or # is part of the hit. Principle 3 names the inline "you" highlight as the one full-yellow highlight without an edge. (#796)
0.34.0 (2026-10-24)
Added
- Token
read-mark(text-read-mark): the read mark's check,palette-lime-700in light (6.2:1 on white) and the online lime in dark (10.5:1). (#794)
Changed
MessageReferenceReadMarkis a bare 10px Lucide check (stroke 2.5) inread-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
youandselected(bg-you,bg-selected,border-selected): the yellow of a signal addressed to you and of a selected or "on" state. They equalbrand-400in 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, whileprimaryfollows 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) paintyou. 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"usesbrand-strongand 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 touseHoldThenMoveTouchSensor, so a product that tells a hold from a tap uses the same number. (#787)
Design System
- Touch drags: every touch drag, task cards included, waits for a 500ms hold and then a move; the Accessibility page no longer says 200ms. (#787)
0.32.1 (2026-10-23)
Fixed
- ChoiceList (wip): a row's name or description line that is cut off has its whole text as its
titlewhile it is cut off, so a long description can still be read with a mouse. (#783)
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 matchingsearchTextitself; 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
successwith 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)- Why: Activity on a phone moved Mark as Done to the swipe; the swipe must be predictable, reversible, and reachable without swiping.
- Affects: a rule for products.
- Docs: https://raft-design.botiverse.build/patterns/responsive/#touch-screens
Added
- ChoiceList (wip): (#774)
groupswith 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)
- Why: a dropdown hides what people came to compare.
- Affects: a rule for products; raft-ui adds
ChoiceList(wip). - Docs: https://raft-design.botiverse.build/components/choice-list/
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.itemstake a label, search text, up to two description lines, media, a row-end action and disabled;search="auto" | "always";searchLabelandclearSearchLabelare 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)
- Why: the bare gray check was too faint to notice, and the corner light is what people knew from the app; the check keeps it apart from presence.
- Affects: a rule for products;
MessageReferenceReadMarkdraws the new mark; status and color rules list the read light. - Docs: https://raft-design.botiverse.build/components/message-item/#read-receipts-on-a-mention
- 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)
- Why: a list of rows to clear read as a column of buttons; swiping a row away is how people clear lists on a phone.
- Affects: a rule for products.
- Docs: https://raft-design.botiverse.build/patterns/responsive/#touch-screens
Changed
MessageReferenceIndicatorplacement:right: -10px(was-6px) andtop: 0; the mention keeps 10px after its text (was 8px), so the corner mark no longer overlaps the last letter. (#770)MessageReferenceReadMarkis exported from@botiverse/raft-ui(still from/wiptoo) 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)- Why: stacked toasts and a × on each one asked people to manage messages that were only receipts; at the very bottom of a phone a toast sat under the composer and the keyboard.
- Affects: a rule for products; raft-ui's Toast defaults.
- Docs: https://raft-design.botiverse.build/components/toast/#where-it-appears
-
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)
- Why: a pull on Android should look the way it does in every Android app; armed and disarmed now look different.
- Affects:
PullToRefresh(wip) on Android; shape, motion and navigation rules record the exception. - Docs: https://raft-design.botiverse.build/components/pull-to-refresh/#on-android
Changed
- Toast defaults (#675):
limitis 1 (was 3); a newer toast replaces the older and closes it.- The command API shows
ToastCloseonly withdismissible: true. actionTimeout(8s) applies to toasts with an action and to errors;timeoutstays 5s.- Bottom placements sit 16px above
max(var(--toast-viewport-bottom, 0px), env(safe-area-inset-bottom));top-centertakes--toast-viewport-top. A toast swipes away toward the edge it came from. - Migration: an app that passed its own
placementor drew its own close can drop them; set--toast-viewport-bottomon a phone (fromvisualViewportwhile 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.
PullToRefreshis experimental, from@botiverse/raft-ui/wip. (#743)- Why: on a phone there was no way to ask a snapshot page for what is new without leaving it; the numbers match Raft's iOS app so the two feel the same.
- Affects: a rule for products; raft-ui adds
PullToRefresh(wip). - Docs: https://raft-design.botiverse.build/patterns/navigation/#refreshing
- 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)
- Why: a fixed maximum stopped them at about half of a 1280px to 1440px window, though people wanted three quarters while they worked in them.
- Affects: a rule for products.
- Docs: https://raft-design.botiverse.build/foundations/spacing/
- 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)
- Why: the jump is how people know they went past the end; 40px keeps a drag that only reaches it from snapping by accident.
- Affects: a rule for products.
- Docs: https://raft-design.botiverse.build/components/resizable/#dragging-past-the-end
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 takesTextLinkExternalIcon; a button puts it in its trailing icon's place; a menu item where the shortcut goes; a sidebar row in its trailing slot, inforeground-hint. It opens in a new tab withrel="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)- Why: people couldn't tell before pressing whether a control would take them out of Raft, and the product used three different marks (and none on most links) for it.
- Affects: a rule for products; raft-ui adds
TextLinkExternalIcon. - Docs: https://raft-design.botiverse.build/patterns/navigation/#links-that-leave-raft
- An item card's warning line: a line an app marks as a warning (
tone: "warning", such as "2 checks failing") reads inwarning-strong, Raft's color for a warning; the state's Badge stays neutral and nothing else on the card is colored. (#760)- Why: an app's own state colors on a card competed with Raft's; a warning reads the same everywhere when it is Raft's color.
- Affects: a rule for products rendering app item cards.
- Docs: https://raft-design.botiverse.build/components/preview-card/
Added
- TextLinkExternalIcon: the ↗ after a TextLink that leaves Raft. Lucide
ArrowUpRightat 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.labelis 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
brandand its washes are neutral grays andbrand-edgeis 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)
- Why: a frame drawn from a "not known yet" default and corrected a moment later is a flash: a row grows and shrinks back, a panel snaps to another width, and controls move under the pointer.
- Affects: a rule for products; nothing in raft-ui changes. Feedback's skeleton rule now points to it.
- Docs: https://raft-design.botiverse.build/patterns/responsive/#the-first-frame-is-the-settled-one
- 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-metaandtext-caption18px → 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 inline-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.
ResizableHandlestill 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 leadingwww., 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"andunicode-bidi: isolateinside a right-to-left box, so the ellipsis lands at the start. - Docs: https://raft-design.botiverse.build/components/message-item/#app-links
- 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 (
- 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 cappeduntil its preview arrives. It applies to MessageItem. (#753)- Why: until the previews are read, the client can't tell an app's link from any other.
- Affects: pending chip shown while any preview loads → only for links of an app whose previews are allowed, after they are read again.
- Docs: https://raft-design.botiverse.build/components/message-item/#app-links
- 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)
- Why: a gesture for one line of text is more to learn than it tells.
- Affects: a rule for products; the check's own word ("Read") still reaches a screen reader.
- Docs: https://raft-design.botiverse.build/components/message-item/#read-receipts-on-a-mention
- 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-plusbutton 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)- Why: the order lived only in the compositions; it is now a rule, grouped by what each action does to the message.
- Affects: 8 buttons of 36px make the menu 316px wide, wider than its 240px minimum; the actions take the same width.
- Docs: https://raft-design.botiverse.build/components/dropdown-menu/#the-message-menu
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 afterfoundation.cssand putdata-theme="<id>"on the element that carries the mode class (.light/.dark); withoutdata-themethe app is Raft Yellow. Putdata-theme-decor="off"on the same element to turn the sprites off and keep the colors. A top bar you draw yourself takes the newframe-decor-toputility for its sprites;frame-decor-railis 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-activeandlayer-sidebar; in dark mode alsolayer-canvas,layer-cardandlayer-popover; Boring Gray alsobrand,brand-soft,brand-strong,brand-glow,brand-edgeandselection.frame-decor-toppaints--frame-decor-top72px from the right end, from 1024px wide only; both arenonewithout a decorated theme. Themes are generated fromthemes.json(vp run @botiverse/raft-ui#build:themes). - Docs: https://raft-design.botiverse.build/foundations/themes/#using-themes
brand-edgeTailwind color:--color-brand-edgemaps the existing--brand-edgetoken (border-brand-edge,ring-brand-edge). (#754)- Why: the edge of a selected navigation item has to follow the theme: ink by default, transparent in Boring Gray.
- Affects:
var(--brand-edge), which isvar(--sticker-ink)in the foundation andtransparentin Boring Gray. - Docs: https://raft-design.botiverse.build/foundations/themes/#what-a-theme-may-change
Changed
- SidebarItem: the active item's border takes
brand-edgeinstead ofsticker-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)- Why: see Themes: a frame, never a new palette, above.
- Affects:
data-active:border-sticker-ink→data-active:border-brand-edge. - Docs: https://raft-design.botiverse.build/foundations/themes/#the-themes
- AppRail: the nav draws the theme's rail sprites as its last flex item, an
::afterpushed 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)- Why: see Themes: a frame, never a new palette, above.
- Affects: nav gains
after:mt-auto after:h-28 after:min-h-0 after:w-12 after:shrink after:content-[''] after:frame-decor-rail. A nav::afterof your own would replace it. - Docs: https://raft-design.botiverse.build/foundations/themes/#decorations
- Drawer: a bottom or top sheet's grab handle has round ends. (#747)
- Why: see Grab handles have round ends, above.
- Affects: handle
before:rounded-[1px]→before:rounded-full. - Docs: https://raft-design.botiverse.build/components/drawer/#rules
- MessageIcon, ChatIcon and ThreadIcon: their lines are drawn at Lucide's weight. (#751)
- Why: at 1 they drew 0.89px at 16px, thinner than every Lucide icon beside them in a menu or a toolbar.
- Affects:
strokeWidth1 → 1.5 on the 18px grid (1.33px at 16px, as Lucide's 2 on its 24px grid). - Docs: https://raft-design.botiverse.build/components/icons/#anatomy
- 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)
- Why: with no side padding the reactions stood 3px left of the icons below them, so the column the eye follows down the menu stepped out at the top.
- Affects:
p-0→px-0.75 py-0(3px at each side). - Docs: https://raft-design.botiverse.build/components/dropdown-menu/#the-message-menu
- 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)- Why: the room was kept only for an action button, so the ×'s hover fill reached the banner's edge.
- Affects: padding above and below with a × only: 8px → (32px − one line) / 2 + 4px, 9px on a desktop and 10px on a phone.
- Docs: https://raft-design.botiverse.build/components/banner/#sizes
- 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.
onContentResizeis 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
onContentResizeand 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:
onContentResizestill 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
- Why: a chat that follows the end from
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, not100vw. 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-foregroundafter keyboard input. - Docs: https://raft-design.botiverse.build/foundations/states/#located
Breaking Changes
- MessageItem: the row is an
articlenamed by its sender and its time. When it holds aMessageItemSenderorMessageItemSenderButton, aMessageItemTimeor aMessageItemContinuationTime, the row getsrole="article"andaria-labelledbypointing at them, in that order, and those parts get ids raft-ui generates (anidyou 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 noaria-labeloraria-labelledbystays a plaindiv. (#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, witharia-labelledby; the sender and time parts gain anid. Your ownroleoraria-labelledbyonMessageItemor itsrenderelement is left as is; your ownaria-labeldrops the generatedaria-labelledby, and a role that takes no name (none,presentation,generic) gets none. - Migrate: don't render
MessageItemas anlior put rows in alist:role="article"replaceslistitem, and a list may hold only list items. Remove the list role from the timeline, or passrole="listitem"onMessageItemto keep the old semantics. Update tests and selectors that find rows by role or expect noroleon the row. Whenrenderis a function, passrole,aria-labelandaria-labelledbyonMessageItem, since a function's props can't be read. Don't giveMessageItemSenderButtonanaria-labelof 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 inforeground, 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. PasscollisionPaddingto change the inset. On desktop it is unchanged: 380px with Base UI's default collision padding. (#737)- Why: see Phone popups 8px from each screen edge, above.
- Affects: width
min(92vw, 360px)→min(var(--available-width), 480px); collision padding Base UI's default → 8px withviewport="mobile". - Docs: https://raft-design.botiverse.build/components/notification-center/#behavior
0.23.1 (2026-10-22)
Fixed
- MessageItemToolbar: measures its width onto the row (
--mi-toolbar-width) as the toolbar shows, on the row'spointerenterorfocusin, 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 aMessageItemToolbarstill 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
pointerandhover, 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-strongonlayer-card, hover and pressoverlay-medium, asdefault; text sizesxstoxlonly, 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 newselectiontoken and keeps its own text color. In light mode it isbrand-soft, as before; in dark mode it isbrandover the page at 22%, the same wash as a commented passage.brand-softstays the menu highlight. It applies to MessageItem text. (#730)- Why: in dark mode
brand-softleft 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
selectionbrand-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
- Why: in dark mode
Breaking Changes
- MessageItem: the header keeps no room for the hover toolbar, and
--mi-toolbar-reserveis 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.MessageItemToolbarmeasures 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 aMessageItemToolbarmasks 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-reservewherever you set it; it has no effect. Render the toolbar withMessageItemToolbarinside theMessageItemrow, 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 (withoutvertical) 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 (wasmin(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-fitorfit-content, an absolutely positioned box or a floating layer with no width, a flex item withflex-basis: autoand no width) a size container takes no width from what it holds and collapses, its text one word to a line. KeepTasksPanelToolbarandTasksPanelViewportinsideTasksPanelRoot, andMessageActionCardPropertiesinsideMessageActionCardContent: 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.iconsOnlyBelowalso takes any length inpx,remorem("18.5rem","296px"), measured against the nearest@container(the control's parent when there is none), beside the presetsxsto2xl, which stay CSS container queries. Withautoor a length the track carriesdata-icons-onlywhile it shows only icons. The presets' type is exported asSegmentedControlIconsOnlyPreset. (#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;
automeasures 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 itshrink-0). In development raft-ui warns when a segment has no icon, or wheniconsOnlyBelowis neither a preset,autonor apx,remoremlength (the segments then keep their labels). - Docs: https://raft-design.botiverse.build/components/segmented-control/#behavior
- 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;
selectiontoken:--selectioninfoundation.cssandtokens.json, and the Tailwind colorselection(selection:bg-selection). (#730)- Why: see Text selection: its own token, above.
- Affects: light
var(--brand-soft); darkcolor-mix(in oklch, var(--brand-400) 22%, transparent). Paint your own::selectionwith it in place ofbrand-soft. - Docs: https://raft-design.botiverse.build/foundations/color/#text-selection
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
iconsOnlyBelowis set), the segments scroll sideways inside the track, the checked one kept in view, instead of spilling onto the next control; the track setsdata-overflowingwhile 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: autowith no scrollbar. Segments still never shrink. A track you madeshrink-0yourself 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 resultmin-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-wrapat 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)
- Why: the meta never shrank, so a long value overflowed the row.
- Affects:
shrink-0→min-w-0 truncate. - Docs: https://raft-design.botiverse.build/components/list-row/#content
- MessageVideoPreview: at most
min(360px, 100%)of its column. (#721)- Why: its cap was the window less a guess at the message's chrome, which was wrong in a thread beside a conversation.
- Affects:
max-widthmin(360px, 100vw − 112px)→min(360px, 100%). - Docs: https://raft-design.botiverse.build/components/message-attachment/#rules
- Button
variant="ghost", so DialogFooter, AlertDialogFooter (AlertDialogCancel) and DrawerActions: a ghost text button inside an element withdata-stackedtakes the ink frame ofdefault. Dialog and alert dialog footers setdata-stackedonly while their buttons stack;DrawerActionssets it in a bottom or top sheet, where its buttons are always stacked, and not in a drawer from a side. Keep writing Cancel asghost. (#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
selectiontoken, so in dark mode a selection is deeper; light mode is unchanged. (#730)- Why: see Text selection: its own token, above.
- Affects:
selection:bg-brand-soft→selection:bg-selection. - Docs: https://raft-design.botiverse.build/foundations/color/#text-selection
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), marksself-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
preresizes 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)- Why: it measured once when it mounted, so code that changed later kept the first answer.
- Docs: https://raft-design.botiverse.build/components/code-block/#accessibility
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-softat once, holds it 1.2s and fades out withease-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-softcleared at 2s → held 0–1.2s,ease-outfade 1.2s–2s, gone at 2s (LOCATED_MS= 2000); the current match of a search inside a page is a selection and keepsinfo-softwhile the search is open. - Docs: https://raft-design.botiverse.build/foundations/states/#located
- Why: the system had one line for a jumped-to message (
- 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
Statussmstays the attention dot on an icon's corner (the NotificationCenter bell's dot, aStatusat 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 thelead-dotutility. (#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) andStatusxs,smandlgare 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 withforeground-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); darkoklch(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; againstforeground2.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-locatedhighlight instyles.css:useLocated(request)returnstruewhile an item should show the located highlight; setdata-locatedon the item while it does. Pass a newrequest(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 afterLOCATED_MS. (#719)- Why: see Located: one highlight for every jump, above.
- Affects:
[data-located]runs a 2s animation of the registered--located-fillcolour (info-soft→ transparent), painted as abackground-imagelayer 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 hasdata-popup-open. Theanimationshorthand replaces the item's own animation while it is located. Don't setdata-locatedby 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; passuseLocated(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 thefill-subtlehover while the highlight lasts. A row withoutlocatedrenders as before. - Docs: https://raft-design.botiverse.build/components/message-item/#states
Changed
- Status
size="md"(the default) and thelead-dotutility, 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-dot9px → 10px, so Badge and PanelActivity hold aStatusat 10px; the task status pixel svg 9×9 → 10×10;--r-timeline-icon-sizedefault 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-linktoken: light and dark values deepened to the quieter link blue, infoundation.cssandtokens.json; the token name is unchanged. (#725)- Why: see Link blue: a deeper, quieter blue, above.
- Affects: light #1447e6 → #184f95, dark #8ec5ff → #6da7ec (values above). Markdown links take the new blue, and so does their hover colour (the link blue mixed 20% toward
foreground). - Docs: https://raft-design.botiverse.build/foundations/color/#meanings-of-color
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(andOctagonAlertfor adestructivebanner), 16px in a toast and asmbanner, 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-stickercorners. 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, MessageReferenceTextprimaryand TaskChipinline. (#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
Statuslight 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
Statusthat is a direct child no longer gets the 20px (16px atsm) 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
Statuswith the intent's Lucide icon, as listed in Banner's and Toast's Variants (Info,CircleCheck,TriangleAlert, andOctagonAlertfor adestructivebanner). For something still pending, put aSpinnerin astatus="info"banner instead (see Added). AStatusthat 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, aSpinnerplaced 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 astatus="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 atsm). - Docs: https://raft-design.botiverse.build/components/banner/
- MessageReferenceChip and MessageReferencePending
capped: stops the chip atmin(100%, 24em), and a longerMessageReferenceLabeltruncates 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 samecappedas 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.warningandtoast.errorlead with their intent's icon inToastIconinstead of a status pixel. The calls,icon: falseandleadingare unchanged, and aleadingnode 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:
infoInfo,successCircleCheck,warninganderrorTriangleAlert. - Docs: https://raft-design.botiverse.build/components/toast/
- MessageReferenceChip, MessageReferencePending, MessageReferenceUnavailable, MessageReferenceText
variant="primary"and TaskChipvariant="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
Spinnerand before aMessageReferenceSuffix2px → 4px, a chip led by aSpinner(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.5pxring-sticker-edgeremoved (the 1.5px inset ink ring stays). TaskChipinline: 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-heighton a container. The default andsmTaskChip 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, aTextLinkwritten 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. ATextLinkinDialogFootertakestext-footnote. A footer that sets its own layout withclassNamekeeps it while it fits on one line; give text that may give waymin-w-0, so it shrinks before the footer stacks. With a leadingTextLink, styles aimed at the footer's direct button children now need to target thedialog-footer-actionsgroup. - 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), asmdandlg;smtightens only its padding and its icon. (#718)- Why: a
smbanner'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:
smtexttext-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
- Why: a
0.21.2 (2026-10-22)
Fixed
- DescriptionList inline: a default-size TaskChip or TaskStatusBadge that comes first in
DescriptionDetailshangs 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→-7pxandmax-widthcalc(100% + 6px)→calc(100% + 7px)for a leading TaskChip or TaskStatusBadge of any size; the pull fits the default 7px padding, so asize="sm"(5px) orvariant="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)- Why: a setting reads as one unit, and with its controls on the title's first line they belonged to the title instead of the row; settings rows center them on the row again.
- Docs: https://raft-design.botiverse.build/foundations/alignment/#a-control-and-its-label
- 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)
- Why: a message scrolled under the composer was cut off by a hard edge; the edge now fades, as a tab bar fades on the side that hides tabs.
- Affects: fade height
timeline-section24px,layer-canvasto transparent. - Docs: https://raft-design.botiverse.build/foundations/spacing/#timeline-rhythm
Added
- MessageReferenceSuffix: a short note after a reference chip's label, in muted Space Mono, such as
msgon a link to a message. Put it insideMessageReferenceChip, afterMessageReferenceLabel. (#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) inforeground-hint, line height 1; drawn(label size - 1em) / 4higher. - 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 (ConversationPanelBodyis one), like the jump controls; it lies under them, is hidden from assistive technology and takes no pointer events. (#699)- Why: see Timeline rhythm: the edge that messages scroll under fades, above.
- Affects: 24px tall (
h-timeline-section),layer-canvasto transparent upward,z-index5. - Docs: https://raft-design.botiverse.build/components/message-list/
- 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 segmentsforeground-on-frame-muted, withforeground-on-frameon hover andoverlay-frame-mediumon hover and press; the selected segmentlayer-frame-activewith aline-frame-activeedge andforeground-on-frame-activetext (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)- Why: see A control and its label above.
- 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/
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 andvariant="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)- Why: the chip centered only
svgicons on the label's line, and a spinner is not one, so it sat on the baseline, 5–6px below the middle of the label's line. - Docs: https://raft-design.botiverse.build/components/message-item/
- Why: the chip centered only
- 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)
- Why: the icon was centered on the whole name, so it slid between the lines of a wrapped name; it now follows A mark that leads text, like the other components.
- Affects: the icon (14px) is placed
(1lh - 14px) / 2from the top of the name's first line. - Docs: https://raft-design.botiverse.build/foundations/alignment/#a-mark-that-leads-text
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-message16px,timeline-gap-section24px andtimeline-row-inset4px (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
- Why: a box in a
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-endis 20px (the 24px section step less the last row's 4px inset). - Migrate: end your message list with
pb-timeline-endunder 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 withpt-timeline-startover 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-startandpb-timeline-endfor the top and end of a message list you build, andtimeline-message,timeline-section,timeline-row,timeline-turnandtimeline-lead, which the components use. All are registered with thecnhelper, 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-start12px,timeline-end20px,timeline-turn8px,timeline-lead12px,timeline-message16px,timeline-section24px,timeline-row4px. Use onlytimeline-startandtimeline-endin a product. - Docs: https://raft-design.botiverse.build/foundations/spacing/#timeline-rhythm
ButtonSizeandDeprecatedButtonSizetypes, and thebutton-sizescodemod, which renames deprecated Button sizes to the size they render as. (#686)- Why: the deprecated names could only be found by hand, and
smandxsare also sizes of other components; the codemod parses TSX and renamessizeonly on Buttons, the raft-ui parts that passsizeto a Button and wrappers you name, plusicon-sm/icon-xson any element andsizeinbuttonVariants()calls. - Affects: run
node node_modules/@botiverse/raft-ui/codemods/button-sizes.mjs <src> [--dry] [--components=MyButton]; it renamesxs,sm→mdandicon-xs,icon-sm→icon-md, then lists everysm,xs,icon-smandicon-xsit 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
- Why: the deprecated names could only be found by hand, and
Changed
- Button
size:xsandsmare deprecated aliases ofmd, andicon-xsandicon-smoficon-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-mdandicon-lg;sizeis typedButtonSize | 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 anitems-startrow and on the one line in anitems-centerrow, 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 atext-xsrow stays 20px tall. Amargin-topyou added to line it up is no longer needed. Set the label's type on the<label>, useitems-startwhen the text can wrap, and give a wrappingtext-xslabelleading-5. - Docs: https://raft-design.botiverse.build/foundations/alignment/#a-control-and-its-label
- 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
- 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-widthnone →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
titlewhenever 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)
- Why: each component placed its mark with its own fixed offset, which held for one type size and drifted at the next; one rule, the line box center (the cap-height center in Space Grotesk), now places every mark.
- Affects: offset
(1lh - size) / 2on the row's own type; status light 9px with a 1.5px ink edge. - Docs: https://raft-design.botiverse.build/foundations/alignment/#a-mark-that-leads-text
- 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)
- Why: popups stayed where they opened while the page scrolled, pointing at whatever had scrolled into place; the wrappers no longer turn Base UI's anchor tracking off.
- Docs: https://raft-design.botiverse.build/foundations/elevation/#popups
Added
lead-iconandlead-dotutilities: center an icon (lead-icon) or aStatuslight (lead-dot) you place yourself on the first line of the text beside it. (#670, #687)- Why: a mark placed outside the components above had no way to follow the same rule except a hand-tuned margin.
- Affects:
lead-dotsizes the light 9px with a 1.5px edge, so don't pass theStatusasize. Both read1lh, so put the text's type on the row that holds the mark and the text. - Docs: https://raft-design.botiverse.build/foundations/alignment/#a-mark-that-leads-text
Changed
- Status in Banner, PanelNotice, ToastIcon, Badge and PanelActivity: held at 9px and centered on the first line, whatever
sizeor 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
Statuspassedxs(6px),sm(8px) orlg(11px) in these components renders 9px; thexsedge 1px → 1.5px (its 1px corner stays). The defaultmdis 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:
disableAnchorTrackingdefaulttrue→ unset (Base UI's default, tracking on). ContextMenuContent drops itstruedefault too; it is anchored to a point, so it looks the same. PassdisableAnchorTrackingto turn it off for one popup. Select still turns tracking off withalignItemWithTrigger. - 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-subtle4% light / 3% dark; mediumfill-medium7.8% light / 6.5% dark (was 7.8%);sticker-medium10% (was 12.2%);fill-frame-medium10% light (was 12.2%) / 6% dark (was 7.8%); darkbrand-soft16% → 20%; colour-hover/-activepairs 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-inset6px andcontrol-embedded-size20px desktop / 32px phone (utilitiesembedded-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:smis 400px (was 384) andlgis 640px (was 512);md448 andwide896 are unchanged. Sizes are chosen by content:smfor a decision,mdfor a small task,lgfor 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:
smmax-w-sm(384px) → 400px;lgmax-w-lg(512px) → 640px. - Migrate: dialogs with
size="sm"grow 16px andsize="lg"128px; check their content and pick the size by content. Set width withsizeonly, not your ownmax-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; utilitiesrow-hover-overlay,row-open-overlay→overlay-subtle,press-overlay→overlay-medium,press-overlay-sticker→overlay-sticker-medium. Overlays are registered with thecnhelper as background images, so a laterhover:bg-noneor another tier replaces them. - Migrate: run
node node_modules/@botiverse/raft-ui/codemods/token-names.mjs <paths>; it renames classes,var(--…)andvar(--color-…)forms. Then move readable cards that usedpress-overlayfor hover tooverlay-subtle. Tests that assert a token name in a class (for examplevar(--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-reserve6.5rem → 7rem (three buttons). - Migrate: if you set
--mi-toolbar-reserveyourself, compute it as1rem + 2rem × buttons(was1.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; ComboboxSelectsmkeeps 22px chips at 3px,lguses 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)- Why: a scrolling code block could not be reached from the keyboard in Safari.
- Docs: https://raft-design.botiverse.build/components/code-block/
- MessageMultiSelectToolbarActions: the multi-select toolbar's actions at its end, 4px apart, with touch hit areas. (#682)
- Why: see MessageMultiSelectToolbar above.
- Docs: https://raft-design.botiverse.build/components/message-item/
- Press feedback: Badge, the mention sticker, InboxItem, Table rows, the system-message disclosure and the selected SidebarItem now press with the medium tier. (#681)
- Why: anything clickable presses with the medium tier; these gave no feedback on press.
- Affects: solid Badge
sticker-medium; soft and outline Badge, InboxItem, Table row, system-message disclosurefill-medium; selected SidebarItemsticker-medium. - Docs: https://raft-design.botiverse.build/foundations/states/#hover-and-press
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)- Why: selected items and fields don't hover, like selected tabs and the active sidebar item.
- Affects: segment gap 2 → 3px.
- Docs: https://raft-design.botiverse.build/components/segmented-control/
- 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)- Why: see Inside a frame above.
- Affects: highlight inset 6px (quick reactions 8px) → 4px; highlight radius 8 → 6px; separator margins 6 → 4px.
- Docs: https://raft-design.botiverse.build/components/dropdown-menu/
- 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)- Why: on a phone the copy button covered the first line of code.
- Affects: action offset 9px (no header) / 5px (header) → 6px; radius 8 → 6px; a one-line block keeps 6px under the button.
- Docs: https://raft-design.botiverse.build/components/code-block/
- 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)- Why: see Inside a frame above.
- Affects: composer buttons 8 / 13px from the sides and 9px from the bottom → 6px; media and file card actions 9 / 7 / 5px → 6px; lightbox buttons 32 → 28px.
- Docs: https://raft-design.botiverse.build/foundations/shape/#inside-a-frame
Fixed
- ComboboxSelect and FloatButton: hover no longer sticks after a tap on a touch screen; their
:hoverrules are under(hover: hover), and the ghost FloatButton hovers and presses with the overlay instead of a fill swap. (#681)- Why: ungated
:hoverrules stayed applied after a tap. - Docs: https://raft-design.botiverse.build/foundations/states/#hover-and-press
- Why: ungated
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-closewhile the sidebar is shown,panel-left-openwhile 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)- Why: the toggle belongs to the frame rather than to a page, so it needs one fixed place and one behavior whatever the main area shows.
- Docs: https://raft-design.botiverse.build/patterns/navigation/#collapsing-the-sidebar
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.
BannerActionplaces itself; it setsdata-wrapwhen 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 atmd), 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 ascol-span-full,col-start-*,row-start-*ormt-*, which now fight its placement. GiveBannera width (or let it fill its parent); neverw-fit. Usevariant="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 ofBannerActionintoBannerClose, on a banner with no button. - Docs: https://raft-design.botiverse.build/components/banner/
- AppShellSidebarTrigger: the trigger is a disclosure button. It has
aria-expandedandaria-controlsnaming the sidebar slot, instead ofaria-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; newaria-controls;AppShellSidebarSlotgets a generatedidwhen the root issidebarCollapsibleand none is passed; label andtitle"Collapse sidebar" / "Expand sidebar" → "Collapse Sidebar" / "Expand Sidebar". - Migrate: update tests and selectors that read
aria-pressedor the old labels toaria-expandedand the Title Case labels. When you wrap the trigger in a Tooltip, passtitle={undefined}and repeat the label in the tooltip; to translate it, pass your ownaria-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-45always →z-2withdata-slidingonly during the slide, none at rest; the expanded sidebar slot isrelative z-1, so a resize handle past its edge stays grabbable; the collapsed sidebar slot addsinerttoaria-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
BannerActionread 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. WithBannerActionin 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/
- Why: a × put in
Fixed
- BannerTitle and BannerDescription: a long word or URL breaks onto the next line instead of pushing the banner wider. (#672)
- Why: an unbroken string, such as a URL, ran out of the text column and under the actions; the text now wraps inside its column.
- Docs: https://raft-design.botiverse.build/components/banner/
- ResizableHandle: under a coarse pointer, such as a finger on a tablet, the handle is easier to grab. (#667)
- Why: a 12px handle was too narrow to hit with a finger.
- Affects: handle hit area 12px → 24px under
pointer: coarse, still centered on the boundary; mouse and pen keep 12px. - Docs: https://raft-design.botiverse.build/components/resizable/
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-fieldwidth 1px → 1.5px. - Docs: https://raft-design.botiverse.build/foundations/shape/
- Autofill: a field the browser filled in looks like any other field,
layer-cardwith ink text. (#661)- Why: Chrome's pale blue and Safari's yellow made the filled field the one field on the page that matched nothing else, and the colour tells a person nothing.
- Docs: https://raft-design.botiverse.build/foundations/states/#autofill
Fixed
- Input, Textarea, Select and every other field: browser autofill no longer paints a field pale blue or yellow. raft-ui's
styles.csshandles everyinput,textareaandselecton the page; a disabled autofilled field keeps the disabled ink. (#661)- Why: see Autofill above.
- Docs: https://raft-design.botiverse.build/foundations/states/#autofill
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: noneandtouch-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
- SortableTabsList
onDragStart: called when a tab drag starts, so an app that puts its own menu on a tab can close it. (#662)- Why: the component that owns an item's menu closes it when the item's drag starts.
- Docs: https://raft-design.botiverse.build/components/tabs/
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)
- Why: the pointer sensor took every touch before the touch sensor could, and
touch-nonestopped the page from scrolling. - Docs: https://raft-design.botiverse.build/foundations/states/#dragging-on-a-touch-screen
- Why: the pointer sensor took every touch before the touch sensor could, and
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"andWorkspaceButtonName. (#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
sm27px, gaps 8px / 4px, name max 200px then an ellipsis, chevron 16px, on an on-framemdbutton (36px). - Docs: https://raft-design.botiverse.build/patterns/navigation/#servers
Added
- WorkspaceButton and WorkspaceButtonName: the server switcher's button. (#655)
- Why: one component keeps the switcher the same on every surface.
- Affects: on-frame
mdbutton, 36px; name max 200px. - Docs: https://raft-design.botiverse.build/components/workspace-button/
- Avatar
type="server": a server's avatar, an ink fill with its initial in brand yellow. (#655)- Why: each app drew a server's avatar as a person's avatar recoloured to ink.
- Affects: fill
sticker-ink, initialbrand. - Docs: https://raft-design.botiverse.build/components/avatar/
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-1is 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-seambelow it. - Docs: https://raft-design.botiverse.build/components/tabs/#a-tabs-own-controls
Added
- Utilities
py-option-insetandmin-h-option, the constant option padding and the floor for an option with no line of text. (#647)- Why: a product that builds its own option row keeps the same padding as raft-ui's.
- Affects:
py-option-inset= (36px − one line) / 2;min-h-option36px. - Docs: https://raft-design.botiverse.build/patterns/forms/#option-height
Changed
- Select, Combobox, ComboboxSelect, DropdownMenu and ContextMenu options: their padding is
py-option-insetinstead of a fixed 6px. (#647)- Why: see Option height above.
- Affects: padding 6px → 7px (mouse) / 8px (touch); two-line options 2px taller with a mouse, 4px on a touch screen; one-line options unchanged at 36px.
- Docs: https://raft-design.botiverse.build/patterns/forms/#option-height
- 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)
- Why: see The ends of a header above.
- Affects: edge icon boxes at 16px (phone) / 20px (desktop, dialog) from the edge at every button size.
- Docs: https://raft-design.botiverse.build/foundations/alignment/#the-ends-of-a-header
Fixed
- InputGroup: a text addon is centered with flex, so older iOS Safari no longer sets its text at the top; long text still truncates. (#646)
- Why: the previous centering needed Safari 17.4.
- Docs: https://raft-design.botiverse.build/components/input-group/
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-pressed7.8% →fill-row-hover4% (dark 3%), messagesfill-message-hover3% (dark 2.2%), menu-openfill-row-open5% (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-hoverandfill-row-open, with utilitiesrow-hover-overlayandrow-open-overlayfor 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-hover4% / 3%,fill-message-hover3% / 2.2%,fill-row-open5% / 4% (ink, light / dark). - Docs: https://raft-design.botiverse.build/foundations/tokens/
Changed
- Message, SidebarItem, List, Inbox, Search, Table and File rows: hover with
fill-row-hover(messages withfill-message-hover) instead offill-pressed. (#641)- Why: see Row hover above.
- Affects: hover background 7.8% → 4% (messages 3%).
- Docs: https://raft-design.botiverse.build/foundations/states/#hover-and-press
- Rows with a menu open (right-click, ⋯ menu, phone long-press): take
fill-row-openwhile the menu is open; selection still wins. Comment cards hover withfill-row-hover. (#643)- Why: the open menu needs one marker of which row it belongs to, including on a phone where there is no hover.
- Affects: menu-open background
fill-row-open5% / 4%. - Docs: https://raft-design.botiverse.build/foundations/states/#hover-and-press
- Select, Combobox:
collisionPaddingdefaults to 8px. (#642)- Why: popups touched the screen edge on phones.
- Affects: popup inset from the screen edge, 8px.
- Docs: https://raft-design.botiverse.build/patterns/forms/#long-values-in-fields
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 and24rem. - Docs: https://raft-design.botiverse.build/patterns/forms/#long-values-in-fields
0.12.0 (2026-10-21)
Breaking Changes
ComboboxSelectalways takes typing on a phone, as on a desktop: tapping the field focuses it and typing filters;createand remote search work in the field. The phone-only pick-only mode and bottom sheet from 0.10.5 are gone, with their propssheetThreshold,sheetTitleandmessages.search/done/close. A pick-only field usesSelect. The list still picks its side once and doesn't flip while the keyboard opens. (#635)
Added
ComboboxSelecttakeslistMaxHeight(a CSS length or pixels, default16rem, 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 Buttonoutline md),MessageListJumpPillGroupandMessageListJumpPillDismiss. (#637) - A message an assistant sent for its owner, from
@botiverse/raft-ui/wip:MessageItemDelegatedBy,MessageItemDelegatedByName,MessageItemDelegatedByButton,MessageItemDelegatedAvatar(withdeleted) andMessageQuotedPreviewAuthorDelegatedBy. (#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 (scrollTowithalign), 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 asdomRef; 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-commentpaintsbrandover the page, 35% in light mode (as before) and 22% in dark, instead ofbrand-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(withCommentCardTrigger,CommentCardMeta,CommentCardQuote),CommentEntryandCommentMarker. Cards sit level with their passages and keep the document's order; on a narrow viewer aCommentMarkerbeside each passage opens the discussion in a bottom sheet instead.useCommentMarginFits(viewer, { minWidth })picks between the two,setCommentHighlightswithCOMMENT_HIGHLIGHT/COMMENT_HIGHLIGHT_ACTIVEhighlights the passages, andresolveCommentMarginLayoutis the layout for callers that place cards themselves. New pattern: Comments. (#614) AvatarGroupreads--avatar-group-surface(defaultlayer-canvas) for the ring between overlapping avatars, so a stack on another surface can match it. (#614)
0.10.5 (2026-10-20)
Added
ComboboxSelecttakessheetThreshold(default 10) andsheetTitle, and itsmessagestakesearch,doneandclosefor the phone's bottom sheet. (#618)
Fixed
ComboboxSelecton a phone (a touch screen under 48rem) no longer focuses a text input and raises the keyboard when people only pick a value. Up tosheetThresholdoptions open as an anchored list that picks its side once and doesn't flip while the keyboard or the address bar moves; more options,createand 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">, alsozh-HK,zh-MOandzh-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
MessageItemSenderGroupwraps 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
MessageItemTimesits 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 whereverMessageItemTimeis used, also withoutMessageItemSenderGroup; wrap the name, badges and role in it to get the give-way order. (#607)MessageItemTimeandMessageItemContinuationTimerender a<time>element and takedateTime. (#607)
Fixed
- A long name no longer pushes the time out of the header (it was cut to "14:3"):
MessageItemSender/MessageItemSenderButtoncan shrink now. (#607)
0.10.2 (2026-10-20)
Fixed
PanelActionandPanelToggleActionfollow 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 likeja-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-headline16/24;text-body,text-subheadandtext-callout14/22;text-footnote,text-captionandtext-mono-meta12/18;text-mono-code13/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. Buttonlgandicon-lggo from 44px to 32px (icon 22 → 18) and keep a 44px hit area;xlgoes from 52px to 40px. The defaultmdstays 32px; its label goes from 13px to 14px.- Anything hardcoded to
h-11/size-11to line up with a field no longer matches on desktop: useh-control/size-controlinstead. - The desktop type values sit after Tailwind's theme output, so they win over an app's own
@themevalues for these names; an app that changes one sets it inside the same query.
- Field frames (
Input,Textarea,InputGroup,Select,Combobox,ComboboxSelect,Composer, optionCard,SearchTrigger) are drawn at 1px inline-fieldinstead 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 theh-control,size-control,size-control-iconandtext-controlutilities (registered with tailwind-merge). (#601)
Changed
Tooltip,ComboboxSelectoptions,StepsandTimelineuse the type scale instead of fixed sizes, so they follow the desktop values. (#601)
0.9.6 (2026-10-20)
Added
installInputModality()and theInputModalitytype: raft-ui records whether the person last used the keyboard, a pointer, or a screen reader's virtual cursor, on<html data-input-modality>.ThemeProviderinstalls it for you (with the defaultsyncDom); an app withoutThemeProvidercalls it once on the client. (#598)toast.add/info/success/warning/error(title, { leading })puts a node, such as a person's avatar, inToastIconin place of the status pixel. It isaria-hiddenand still shows withicon: false. Calls withoutleadingrender 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-focusfollow this automatically; other indicators take the newkeyboard:variant, and groups ring onhas-focus-visibleinstead offocus-within. (#598)
0.9.5 (2026-10-20)
Fixed
- On a touch screen, a tap no longer leaves a hover highlight on:
TableBodyrows, anInboxItem's pressed toggle action, the Activity inbox sort button and aFileRow(when itsFileRowOpenis 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;strongno 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
MessageItemSenderButtonshows its hover state again when the app wraps it, for example in a tooltip trigger. (#594)- A
SelectItemwith aSelectItemDescriptionis named by itsSelectItemTextalone 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
#general1px high, which also pushed lines apart (26px instead of 24px). Height, colors and padding are unchanged. (#583) InlineCodein a message centres its letters in the fill (they sat about 0.6px low). (#583)
0.9.2 (2026-10-19)
Fixed
- On an
InboxItemcard row,InboxItemTrailing(the timestamp, and on a touch screen the room forreveal="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 andInboxItemMarks(mention, muted, unread count, draft) beside the excerpt. In a compact rowdata-unreadbolds 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.Monono longer hassize="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)SegmentedControltakesiconsOnlyBelow("xs"to"2xl", Tailwind's container sizes; typeSegmentedControlIconsOnlyBelow). 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
SelectItemwith aSelectItemLeading, theSelectItemDescriptionstarts 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-nestedcolor token (bg-layer-backdrop-nested): the lighter scrim of a modal opened from another modal. (#558)
Fixed
- A
SelectItemgrows with its content and keeps 6px above and below its text. A one-line item stays 36px. (#573) - A
DialogorAlertDialogopened 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 amodal={false}parent doesn't count. (#558) - The message hover toolbar and
MessageTextSelectionToolbarhave 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
createMessageTextSelectionAnchorandgetTextSelectionFocusRect(with theMessageTextSelectionAnchortype) 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
MessageTextSelectionToolbarmatches the hover toolbar: 28px buttons with 16px icons in ap-0.5frame. Its labels no longer wrap. (#569)- On a touch screen (
pointer: coarse, at any width), each action inInboxItemActionskeeps 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
TaskDndProvidertakesaccessibility(theTaskDndAccessibilitytype), passed through to dnd-kit, so you can translate the screen-reader announcements and drag instructions. (#561)
Fixed
- Keyboard dragging in
TaskDndProvidermoves a card between drop targets. Before, Space picked the card up but the arrow keys never moved it. (#561) - The
MessageItemhover 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 acompactrow drops it (border-t-0instead ofpt-0). Spacing between messages and row heights are unchanged. (#564) - Below
md, aSidebarItemrow 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
Buttonno longer hasvariant="link"orsize="inline". Underlined text is nowTextLink. 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.TextLinkhas no height, border or padding, so drop the classes that took them off. (#554)AnnouncementDialogSecondaryActionis 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 onlywhitespace-nowrap). Render Show All as aTextLink. (#554) FieldLabelno longer carriesleading-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)SegmentedControlno longer shrinks withmax-w-full; it keeps its width (shrink-0). In a narrow row, give it room or let the row degrade asresponsive.mdsays, or it overflows. (#542)
Added
FieldItemtakessize(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 abutton, or a real link withrender={<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)
SegmentedControlkeeps 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) andrule-y/rule-x/rule-<colour>: space and rules between siblings, written as the owl> * + *at zero specificity. Use them instead of Tailwind'sspace-*/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, andno-unanchored-structural.test.tskeeps any rule from ending in an unanchored structural pseudo-class. Consumers should move their ownspace-*/divide-*tostack-*/rule-*. (#534) codemods/package-name.mjskeeps a deliberateraft-uinpm alias instead of rewriting it. (#522)
Changed
- The design-system pages and component guides describe what the product ships. (#523, #524, #526, #528–#530, #532)
0.7.0 (2026-10-18)
Breaking Changes
- The package is now
@botiverse/raft-ui. Install it under that name and change imports fromraft-ui(andraft-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/@sourcepaths and the dependency, and lists the aliases to check by hand. The unscopedraft-uigets no further releases; this release also carries the changes of 0.6.1, which never reached npm. MessageItemSavedIndicatorno longer takeselevation, and theMessageItemSavedIndicatorElevationtype 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.cssis generated from it. (#482)codemods/token-names.mjsships in the package.node node_modules/@botiverse/raft-ui/codemods/token-names.mjs <src>rewrites Tailwind utilities andvar(--…)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-stickerandshadow-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-hairlineprimary-*→brand-*(yellow),accent-*→attention-*(pink)layer-panel→layer-canvas,layer-inset→fill-muted,layer-canvas-muted→layer-sidebarforeground-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; utilitiesshadow-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)
-
Bannerrendersrole="status", androle="alert"only forstatus="destructive", so a notice that isn't urgent no longer interrupts a screen reader. Passroleto override. (#496) -
Deprecated, to be removed in 1.0:
FloatButton/FloatButtonGroup(not part of the design system),LegacyTaskPanel*(unused), andLiveAgentActivityBar*(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
Skeletonstops pulsing underprefers-reduced-motion. (#496)EmptyStateIconis hidden from assistive technology, andNotificationCenterItemIconis 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. Variantsdefault(64, hairline from the text),plain(setting row, 48) andentry(48, no hairlines);tone(unread/muted/away),selected(cyan-soft),disabled, andinteractive={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), withwarningandinformationnotice washes;aria-hiddenunless given a role. (#470)SearchTrigger(SearchTriggerLabel,SearchTriggerShortcut): the web top bar's search box, a button drawn as a field. (#470)StatusandAvatarBadgetakepresence(online/busy/error/offline/external), from one shared colour map (typePresence). (#471)SidebarItemtakestone(RowTone, shared with ListRow) andinteractive={false}for a display-only row whose own buttons are the targets. (#471)Buttonvariant="on-frame": a frameless button on the yellow frame (rail, web top bar, desktop title bar); on the framemdandicon-mdare 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.
ThemeProvidertakes only the mode (mode,defaultMode,onModeChange,storageKey,syncDom) and sets a.light/.darkclass andcolor-scheme;data-theme,useThemeFamily,Theme,SetTheme,SetThemeOptions,BrutalOnlyandElegantOnlyare gone. Tokens live on:where(:root),.lightand.dark. (#467) - Props that no longer change anything are removed:
Badgeuppercase;Checkboxsize,variant,color;Statuspulse,attention(status never animates);Switch/SwitchThumbsize;SidebarItemvariant;SidebarItemCount/SidebarItemIndicatorvariantandappearance(the count is always the pink sticker, the indicator the yellow @);NotificationCenterActionButtonvariant;DrawerContentwidth(one-go forms use the wideDialog);AppRailItemIndicatorattention;AppRailItemAttentionchildren;Stepssize,track,renderIndicator,renderTraveler;FilePreviewBadgetype,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.OtterIndicatorstays as a standalone illustration. (#467)
Added
CheckboxIndicator: the 20px checkbox box as a visual part for picker rows. (#467)FilePreviewBadgeplacement="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
.darkscope under a light root no longer inherits the lightforeground-active/foreground-hover/line-field/line-field-hoveraliases. (#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
Stepsdraw 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
Buttontransitions are colour-only (notransition-all);xs/smrender asmd,icon-xs/icon-smasicon-md. (#467)FormSection's first section starts flush with its container. (#467)
0.5.64 (2026-10-15)
Changed
SidebarItemThreadCountdraws the package'sThreadIcon(was lucideMessageSquare), 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 insideMessageActionCardHeaderTitle, 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
MessageActionCardHeaderaligns 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)MessageActionCardNoticeis 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)MessageActionCardHintLabelandMessageActionCardScopeListLabelmatch the property label style in Elegant;MessageActionCardActionsNotereads in the foreground colour; the notice icon is centred on the first line. (#461)
0.5.62 (2026-10-15)
Added
AvatarBadgeacceptsoffset?: [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
MessageActionCardis a disclosure:defaultOpen/open/onOpenChange, andMessageActionCardCollapseTrigger(chevron toggle,aria-labelrequired) 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),MessageActionCardHeaderTitleandMessageActionCardStatus(state label: solid and uppercase in Brutal, soft in Elegant). (#454) MessageActionCardHintLabel("Reason") above the agent's italicMessageActionCardHintquote, andMessageActionCardNoticefor Raft's note about what the action does or who may run it: one plain line with a default info icon (iconreplaces it). (#454)MessageActionCardScopeListViewportscrolls a long permission list inside a cap that cuts through the third row (132px Brutal, 172px Elegant).aria-labelis required; it is a Tab stop only while the list overflows. (#454, #457)MessageActionCardActionsNoteholds state text on the left of the actions. (#454)
Changed
MessageActionCardActionsaligns its buttons to the right. (#454)- Brutal
MessageActionCardframe: 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, localizablelabelfor screen readers) andSidebarItemCountSeparator(the dot between counts), so a channel row'sSidebarItemCountcan read5 · [thread] 1. Both also work as quiet text insideSidebarItemMetafor muted channels.SidebarItemCountstays as tight as a plain number when it holds the thread icon. (#455)
0.5.59 (2026-10-14)
Reverted
- The
--layer-framesurface token and ElegantAppRailpainting 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
StepstakesrenderTraveler(state)ontrack="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-durationand the new--r-steps-traveler-rest-duration(0s under reduced motion). The plain river track is unchanged. NewStepTravelerStatetype. (#445)IslandIndicator(an island marker that flies the Raft flag once finished, red shallows on error) andOtterTraveler(an otter forrenderTraveler). (#445)--layer-framesurface token (bg-layer-frame) for the app frame (top bar and rail); ElegantAppRailpaints it. (#449)
Fixed
TaskChip/TaskStatusBadgesize="sm"take thesmBadge'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 forStepsrenderIndicator, taking a stepstatus(waitsleeps on the dry bank,processpaddles on its back,finishhugs its parcel,errorshivers as the parcel floats off). Use withtrack="river"and--r-steps-indicator-size: 48px; its CSS now ships in the published package. (#441)
Fixed
Stepstrack="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
Stepstakestrack="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)StepstakesrenderIndicator(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; returningundefinedornullkeeps the default marker for that step. NewStepsTrackandStepIndicatorStatetypes. (#439)
0.5.55 (2026-10-12)
Fixed
TaskChip/TaskStatusBadgesize="sm"now also match thesmBadge'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
TaskChipandTaskStatusBadgetakesize="sm", which gives the chip thesmBadge'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
MessageListno longer lets wide content (aw-maxtab strip, a long code line) stretch every message past a narrow list on a desktop viewport: itsScrollAreaContentresets Base UI's inlinemin-width: fit-contentto 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-systemis 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 behindrelative); 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(default1.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-autowas 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(elegantpt-[10px]; brutalmt-0with the note's ownpt-0.5on 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) vsdata-[followed-by=group]:pb-1.5(breaks stay 24). (#415) - Message-row avatars read at 32 via
--mi-avatar(default2rem; 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 explicitdata-followed-byon any row another row follows — rows collapse their bottom padding to land 16 inside a group; group-first rows takept-[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/placeholderdarken 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-sansat 11.5px tabular (drops mono), brutal takesfont-monoat 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 onhintin 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 tohintand 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
TaskStatusBadgenow renders throughTaskChipand 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"anddata-statusare kept; no API change. (#398)
0.5.40 (2026-10-10)
Fixed
- Elegant
PanelHeader's icon chip:fill-mutedmeasured 1.04:1 against the canvas-muted header (effectively invisible) and becomesfill-strong; avatar slots declaredata-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
ThreadPanelno 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
TaskStatusBadgedraws a 1px black keyline instead of 2px, matchingTaskChipandBadge;py-pxkeeps it exactly 20px tall, so surrounding layout does not move (Elegant unchanged). (#396)
0.5.38 (2026-10-10)
Fixed
TaskChip'sinlinevariant 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
Comboboxkeeps its shadow when open, asSelectdoes: the control lifts 1px withshadow-raft-mdinstead of dropping the shadow. In Brutal,SelectContentandComboboxContentnow defaultsideOffsetto 8px (was 4px), so the open trigger's shadow stays clear of the popup instead of running into it. Elegant keeps 4px; an explicitsideOffsetstill wins. (#392)
0.5.36 (2026-10-09)
Changed
- Panel alignment: the elegant
PanelHeaderputs its icon box on the 20px line and the title on the 68px line (36px to 20px atmd+, gap 8 to 12);MessageItemrows 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'smx-3, taking the mobile avatar inset from 32 to 20. The thread panel uses the chat panel's figures. (#388) - Elegant
Tabsunderline: 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 tobg-primary-400and 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-tabpl-[22px]; the strip sits at 16 and reads centred, as the agent-details strip. (#389) MessageRepliesstays 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 withvp 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 asdata-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)InputGroupaddon 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)ToastContentmeasures its rendered content and writesdata-has-icon,data-has-descriptionanddata-has-actionson 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
Stepsmarkers take the task-status colours shared withTaskChip(--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 BrutalTaskChip. Elegant: the status's soft wash, strong ink and a 35% hairline, as the ElegantTaskChip; 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
StepsandStep: numbered steps through a process, as an ordered list. Steps beforecurrentare finished, the ones after it waiting, and the current step takesstatus(process,finish,errororwait) andaria-current="step". Supportssm/mdsizes, averticallayout, customfinishIcon/errorIcon/ per-stepicon, screen-readerfinishLabel/errorLabel, and clickable steps throughonUpdateCurrent(withdisabledsteps). Below 640px a horizontal Steps stacks each step's text under its marker. Styled for Brutal and Elegant from semantic tokens;steps.cssships instyles.cssand asdist/components/steps/steps.css. (#378)
0.5.31 (2026-10-08)
Fixed
TaskStatusBadgein Brutal is a square, hard-edged tag again (no radius, 2px black border, bold, 20px tall), matching the BrutalTaskChipandBadge. 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-softand-strong) for the five task states, defined for Brutal, Elegant light and Elegant dark, and exposed to Tailwind astask-status-*. - Added
TaskStatusBadge: a status badge that takes astatusand caller-provided text. - Added the
taskStatusprop onTimelineItem, 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. TaskStatusIconrenders the lucideCircle,Play,Eye,CheckCircleandBanglyphs instead of the previous hand-drawn icons, and forwards SVG props.
0.5.28 (2026-10-07)
Added
- Added the composable
AnnouncementDialogthroughraft-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
ThreadPanelContenton large screens, leaving the header/content seam with a single visual owner. (#213)
0.5.0 (2026-08-10)
Breaking Changes
- Brutal
SidebarItemactive styling is neutral by default. Active items now use a white surface instead of pink. Passvariant="accent"to preserve the previous pink treatment, orvariant="primary"for yellow. (#207) - Elegant
PanelHeaderIconnow 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
ActivityInboxshell, sidebar, selection toolbar, and standaloneInboxItemparts 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
PickerTriggerButtonfor compact Select and Combobox filter triggers. (#208, 0fef4c1) - Added
beam={false}toLiveAgentActivityBarto disable the Elegant animated border and glow while preserving enter and exit transitions. (#211)
Changed
- Icon-only
MessageFooterSavedIndicatorcontrols now receive dedicated compact sizing and theme interaction styling. (#209)
0.4.0 (2026-08-07)
Breaking Changes
- Layer tokens renamed.
--layer-pageand--color-layer-pageare removed in favor of--layer-canvas/--layer-canvas-muted(plus new--color-layer-canvasand--color-layer-canvas-muted). Update any custom CSS or utility classes that referencedlayer-page. (2b9b5b2) - Invalid-state styling now keys off
data-invalidinstead ofaria-invalid.Input,Textarea, and form controls style the error visual fromdata-invalidand mirror it toaria-invalid; passingaria-invalidalone no longer shows the error style. Update callers to passdata-invalid. (b3786da) CopyableCodeActionlabel props removed.ariaLabelandcopiedAriaLabelare gone; use the standardaria-labelprop instead. The default label still swaps between "Copy code" and "Copied code". (b3786da)PanelHeaderIconno 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 asize-*class or thesizeattribute. (0295c2e)
Changed
- AppShell no longer draws column dividers.
AppShellRailSlotandAppShellSidebarSlotdropped their border classes in both themes. The rail|sidebar divider now lives onAppRailRoot(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-smcorner 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 (
--inkis "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-mutedhairline. (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-strongtofill-muted/fill-strong,line-subtletoline-muted, lighter borders toline-hairline,state-<tone>-*to the corresponding semantic tone family,shadow-*toshadow-raft-*, andease-sheettoease-slide. Thesafe-top,safe-bottom,safe-left, andsafe-rightutilities are no longer provided. (#178) - Renamed
PanelHeaderFrametoPanelHeaderRootand updated the corresponding type anddata-slotfrompanel-header-frametopanel-header-root. Panel header parts remain available from the package root and are now owned by the shared Panel vocabulary. (#175) - Renamed
MessageForwardedBundleToggletoMessageForwardedBundleFooterAction, including its props type anddata-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
Cardcomponent withdefaultandinsetvariants and the finalCardHeader,CardLeading,CardTitle,CardDescription,CardTrailing,CardContent, andCardFooterparts. (#184, #202) - Graduated
ProfilePanelandToggleGroupto the stable package entry point. (#197) - Added
AppShellPanelSlotandAppShellOverlaySlot, overlay-aware main slots, attached/inset Panel edges, and the sharedPanelActivityheader 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 toSidebar*. Replace eachChatSidebar-prefixed component and prop type with itsSidebarcounterpart, and update selectors fromchat-sidebar-*tosidebar-*. (#167) - Generalized panel chrome: replace
PanelHeaderwithPanelHeaderFrame, and replaceConversationPanelActions,ConversationPanelHeader*,ConversationPanelHeading,ConversationPanelMeta,ConversationPanelSectionHeader,ConversationPanelStatus, andConversationPanelTitlewith theirPanel*counterparts. Update selectors targeting the renameddata-slotvalues. (#169) - Renamed task status values from
in_progressandin_reviewtoin-progressandin-review. (#159)
Added
- Added stable
CodeBlock*and semanticMarkdown*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, andLiveAgentActivityBarto the stable entry.DescriptionListincludes horizontal layout support. (#120, #131, #168) - Added
TaskChip, named task-status icon exports, andPanelSection. (#159, #169)
Changed
- Added consistent
data-slotattributes to the retained core Panel parts. (#169) - Elegant badges now preserve caller-provided casing when
uppercaseis set; Brutal badges continue to render uppercase. (#156)
Fixed
- Fixed conditional-hook rendering in
AppShellSidebarTriggerandLegacyTaskPanelRoot, 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 andCopyableCode.Codecompound API are removed. ComposeCopyableCodeRoot,CopyableCode, andCopyableCodeAction;CopyableCodeCodePropsis gone and data-slots were renamed. (#76) - Removed public shadow CSS tokens/utilities:
shadow-soft-popover,shadow-brutal-sm,shadow-brutal, andshadow-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), andResizable*to the stable entry. (#55, #68, #88) - Added
ConversationPanel,ThreadPanel,Panel,ScrollArea,FilePreview,RaftLogo/ lockup / wordmark, andMobileNav. - Added the task board / card / dnd / list / panel suite and
LegacyTaskPanel. (#99, #100, #101, #102, #103, #115) - Extended
Lightboxwith thumbnail strip and related chrome parts; addedComboboxTriggerCountandContextMenuPopup. (#73, #89) - Added safe-area utilities:
safe-top,safe-bottom,safe-left, andsafe-right.
Changed
- Unified elegant focus rings across inputs and controls. (#114)
AvatarBadgeis auseRendershell for custom indicators; the default dot still inherits parent size. (#94, #107)- Input invalid styling is driven by
data-invalid(still mirrored fromaria-invalid). (#82, #105) - Banner status surfaces and action layout refined. (#77, #106)
- Elegant menu item presentation tuned. (#90)
cnnow merges classes withtailwind-merge(theme shadow-aware). Package dependencies droppedborder-beamand addedtailwind-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
LiveAgentActivityBarcompound parts (Row,Avatar,Status,Content,Text) for composable live agent activity status. (#38) - Added generic
ResizableGroup,ResizableHandle, andResizablePanelprimitives for resizable panel layouts. (#37)
Changed
- Extracted
AppShell,AppRail, andAppPanelStackout 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
DrawerSwipeHandleand theshowSwipeHandleprop; the swipe handle now renders automatically when snap points are set. (#39) - Removed
AppShellMobileBar,AppPanelResizeHandle, andChatSidebarResizeGroup/ChatSidebarResizeHandle/ChatSidebarResizePanelin favor of the shared resizable primitives. (#37)
0.0.20 (2026-07-14)
Added
- Added
ContextMenuItemLabel,ContextMenuFooter,DropdownMenuItemLabel, andDropdownMenuFooterfor 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)