Repository navigation
Releases
v1.40.0 — AppToolbar, PaymentCard and popups on top
Two new components, AppToolbar and PaymentCard, and a top bar for every app page. Anchored popups now paint in the browser's top layer, AppSidebar keeps the current page selected while its side panel is open, and Blueprint and Velvet set their action colour per mode. Nothing is removed and no prop has moved, but a few things draw differently, so read Before you upgrade if you style them.
Before you upgrade
- Anchored popups paint in the top layer. Every panel placed by an anchor (menus, popovers, comboboxes, date pickers and the rest) now opens in the browser's top layer, as Tooltip already did, so a parent's mask, overflow or stacking context can no longer cut it off. A
z-indexyou set on a panel to lift it is no longer needed. - AppSidebar keeps the current page selected. While the side panel is open, the current page keeps its selection fill and the row that opened the panel takes the quieter hover fill (
ds-app-sidebar__btn--open). Before, the opening row took the selection and the current page lost it. - Stat's
deltaPlacement="auto"wraps. The body is now a wrapping row: the delta sits beside the value while both fit and drops onto its own line under it when they do not, so a long figure never pushes it out of the tile. Below 180px it still stacks under the label. CSS written against its grid areas no longer applies. - Blueprint and Velvet change colour. Blueprint's action colour is a royal blue in light mode and keeps its electric blue in dark mode, with slightly tighter corners. Velvet is a richer purple in light mode and a brighter one in dark mode, where its button label is white. Both lighten their logo in dark mode.
- NotificationCenter's mark-all default reads "Mark all as read", and its unread count is a Badge. Pass
markAllLabelto keep your own wording. - CommandPaletteTrigger's field never shrinks under 280px, so its prompt and keycaps always show in full, and its icon-only form takes IconButton's glyph size.
New
- AppToolbar, the bar along the top of an app's page, always in one order: the search, space, borderless icon controls, the AI button and the primary action. It comes in a default and a compact size and folds in steps by its own width; an icon control can open a panel or be a link.
searchGlassfrosts the search for a bar over a map or a shader. - PaymentCard, the face of a payment card at a card's aspect ratio: the brand and a tier along the top, the last four digits, the holder, the expiry and the network's mark, with
defaultandneutraltones, afrozenstate and acompactsize. It renders from a Server Component. - AppLayout takes a
toolbarslot that pins a bar over the page in every layout. - CommandPaletteTrigger takes
glass, Button's frost, in both its forms. - NotificationCenter takes rows that open (
onSelect,href) and dismiss (onDismiss), Tabs for its filters, an options menu (Mark all as read, your own items, Clear all) and a See all footer. - RadioGroup options may carry a description.
- The app blocks (
npx rift-ds init block) are rebuilt on AppLayout, AppToolbar and PageHeader, with an Appearance section in the sidebar, a new notifications block, and a settings block of standard pages per section. Blocks are your code once written, so existing ones do not change.
Fixed
- AppSidebar's footer action keeps its own icon colour, so a primary Button there no longer draws its arrow in the rail's text colour.
- NotificationItem titles and text wrap in full on a phone instead of being cut.
- The blocks' shell links its notifications and settings pages relatively.
npm install rift-ds@1.40.0v1.39.0: One rail everywhere
One rail everywhere: the chat's history is now an AppSidebar, with the same shell, sizes, side panel and phone drawer as an app's rail. ThreadHistory is new, PromptSuggestions gains a numbered list, and Composer can go glass. Nothing is removed and no prop has moved, but the built-in chat rail is drawn by different components, so read Before you upgrade if you style it.
Before you upgrade
- The built-in chat rail is AppSidebar. With
threadson, ChatWidget's rail is an AppSidebar around a ThreadHistory, so CSS written againstds-thread-panel__*inside the widget no longer matches: targetds-app-sidebar__*andds-thread-history__*instead. A customthreadsrender prop keeps the old rail and sheet unchanged. - A narrow chat opens its history as a drawer. Below the rail threshold the header's menu button opens AppSidebar's drawer over the widget, focus trapped, with the history as its first level, in place of the glass sheet. Escape closes the drawer and leaves a docked ChatLauncher open.
- Five themes colour the sent bubble. Zest, Getaway, Blueprint, Velvet and Bubblegum fill the sent message bubble from their action colour; the rest keep their neutral bubble. Forest's corners are tighter, closer to Smoke's.
New
- ThreadHistory, the rows of a chat history as a component of their own: labelled groups, a status dot, a description line, the pin, a time, a row menu revealed on hover or focus (always shown on touch) and inline rename. It renders from a Server Component and is fully controlled.
- AppSidebar sections can hold anything. A section takes
content(a node, or a function of the rail's state) drawn under its rows and folding with the rail, anactionbutton in its heading, and anid. Items takekeysfor a shortcut hint, and the sidebar takeskeyLabels. - AppSidebar folding sections.
collapsibleSections, withcollapsedSections,defaultCollapsedSectionsandonCollapsedSectionsChange, lets a reader fold each titled section under a chevron. Off by default. - AppSidebar sized by its host.
responsivepicks the form:viewport(the default),container(measured from its parent), orrailanddrawerwhen the host decides.drawerOpen,defaultDrawerOpenandonDrawerOpenChangeown the drawer,collapsibleturns the collapse off, andfoldForPanelfolds the rail to icons when the side panel would leave too little room. - AppSidebar's profile takes an
avatarnode; the email line and the more button appear only when given. - AppLayout takes
sidebarProps, passed through to its AppSidebar. - ChatThreads (the built-in rail's props, through
threadsProps) takessectionsafter the history (such as an Appearance section that opens in the side panel),drawerTopEntries,drawerBottomEntries,footerAction,railLabel,railLabels, and the folded-sections trio. - ThreadPanel takes
footerAction, and a group takes anid. - DrillMenu sections take
content, drawn after their rows. - PromptSuggestions gains a numbered
listlayout (rows with a label and description, the digits 1 to 9 picking one outside a text field) and atitleline over the set. - Composer takes
glass, a glass fill over a blur for a busy ground; ChatWidget passes it ascomposerGlass.
Fixed
- AppSidebar's top slot never shrinks, so an EntitySwitcher in a crowded collapsed rail is no longer clipped.
- Sidebar and side-panel scrollbars stay hidden until the rail scrolls.
- ShaderScene's sky scene has no land: its horizon sits under the frame.
npm install rift-ds@1.39.0v1.38.0: a phone menu built for thumbs
A phone menu built for thumbs, clearer names for three navigation components, and defaults that match how the site runs its own. One component is removed and three defaults moved, so read Before you upgrade first.
Before you upgrade
-
Nav is removed. It was deprecated in favour of
SiteHeader, which does everything it did and adds section menus, a sticky blur and a drawer for narrow screens. Replace<Nav>with<SiteHeader>; its old docs, markdown, schema and registry URLs redirect to Site header's. -
AppSidebar and AppLayout have new defaults.
subNavnow defaults topanel(an 80px rail naming each destination under its icon, with sub-items in a side panel), andlayouttoinset(the content in a raised surface beside the rail). For the old look, passsubNav="accordion"andlayout="flush". -
SiteHeader's tint arrives sooner.
tintAfternow defaults to0, so the tint behind the stuck bar fades in with the first pixel of scroll, and faster. PasstintAfter={48}for the old timing. -
Two components have clearer names. The old names still import, as deprecated aliases with the same props, so nothing breaks today; move to the new names when you can:
NavListis nowSideNavSidebarPanelis nowSubNavPanel
Each alias keeps its old base class (
ds-nav-list,ds-sidebar-panel) beside the new one, but the old modifier and element classes are gone: a rule written againstds-nav-list__rowmoves tods-side-nav__row. SubNavPanel's width hook keeps working under its old name,--ds-sidebar-panel-width.
New
- DrillMenu, a menu for phones. One level at a time, rows a thumb tall with an optional icon, a second line, a current value or a chosen mark, and a back row naming where it returns to. It opens on the level that holds the current page, so a reader deep in a section reopens it where they are.
drillMenuPathTotells a host where it will open. - SiteHeader's drawer drills in. On a phone it fills the screen as a solid sheet clear of the notch and the home indicator; on a tablet it is a 320px glass panel. Sections drill into their pages,
drawerEntriesadd rows and groups after them,drawerHeadersits above the first level anddrawerFooteris pinned at its foot on the first level only. The close always sits inside the panel.drawerBackLabelanddrawerOverviewLabellocalise the menu's own text. - AppSidebar's phone drawer drills in too, full screen, with
drawerTopEntries,drawerBottomEntriesand a full-widthfooterAction. An item can carry avalue(a setting's current choice), and its sub-items can carry adescription, aniconandselected, so a setting opens its choices in the side panel.drawerBackLabelanddrawerOverviewLabelmatch SiteHeader's. - IconButton takes
glass, as Button does, for a button on a busy ground such as a map or a chart.
Fixed
- AppSidebar's collapsed rail handles a long nav. The rows scroll above the profile with a fade at the end that has more, the last row stops clear of the avatar, and a short divider marks each group break where the expanded rail names it.
- A node given as an AppSidebar item's
icon(a swatch, a mark) sits on the same axis as the glyphs, and a row's value sits level with its label and chevron. - SideNav draws each row as one shape: a row with children no longer has a separate toggle with a hover pill of its own.
npm install rift-ds@1.38.0v1.37.1: shaders that compile without freezing the page
Two fixes, both in published components. Nothing in the API changed, so upgrading needs no code changes.
Fixed
- ShaderField and ShaderScene no longer freeze the page while their shader compiles. Each read the link status straight after linking, which stops the main thread until the graphics driver has finished: about a tenth of a second for a small scene and two seconds or more for a large one such as
horizon, longest on Windows, during which the page answered no press, scroll or key. Both now wait for the compile away from the main thread and start drawing when it is done. - SiteHeader's mega menu stays open while the pointer moves down to it. The strip between a section pill and its menu belonged to neither, so a pointer that crossed it slowly lost the menu, and the press landed on the page behind.
Changed
- A scene reports
pendinguntil its shader has compiled. A heavy scene appears a moment later than it did, and a fallback you paint forpendingshows for that moment, in exchange for a page that stays responsive meanwhile.onStatusChangeandonErrorreport as before, a failed scene's log included. - ShaderField and ShaderScene measure their box when it changes size, where they asked every frame.
npm install rift-ds@1.37.1v1.37.0: a drawer beside a live page, rich option rows, charts that report the cursor
A drawer can now sit beside a live page, select options carry a second line and a trailing value, and charts report the point under the cursor. This release also publishes the markdown mappers as their own subpath and adds two blocks. Nothing published was removed; the visual changes are listed under Changed.
New
- Drawer:
modalandlayout.modal={false}leaves the page live beside the panel, for a detail view that follows a list: no scrim, no focus trap, no scroll lock, and a press outside never closes it. Escape and the close button still do.layout="floating"holds the panel off every edge as a raised card. Both default to what Drawer did before. - Rich option rows in Dropdown and Combobox. A Dropdown option takes
description(a second line) andtrailing(a value at the row's end); a Combobox option takesicon(a Material Symbol name or any element, such as an Avatar) andtrailing. The closed control still shows the label, and typing still matches the label alone. onActiveChangeon AreaChart, LineChart, BarChart, StackedBarChart and ComboChart. It reports the row ofdataunder the pointer or the keyboard cursor and its index, andnull, nullonce neither is on the plot, so a headline outside the chart can follow the cursor.ChartActiveHandleris the callback's type.rift-ds/markdown.MarkdownCode,MarkdownScrollTableandmarkdownComponentsmap a markdown renderer's fenced blocks and tables onto the system's CodeBlock and a scrolling table insideProse. It brings no renderer and no dependencies; the chat's replies use the same two.- Instructions: a step's
descriptiontakes rich content (ReactNode, where it was a string). - NavList: an item takes an
icon, a Material Symbol name or any element. - CommandPalette highlights the typed match in labels and descriptions.
- ShaderScene on a light page. A night scene is now laid on as a deepened ink of its first colour, so it no longer washes out to white.
Changed
- Light mode in Zest, Signal, Forest, Blueprint and Ember. Zest, Signal, Forest and Blueprint put the page and an app's surface on white, with cards and the app shell on the grey. Zest's action is a forest fill under a lime label; Ember and Signal deepen their action fills until a white label holds AA. Ember, Signal and Zest also gain a pressed state one step deeper than hover. Dark mode is unchanged.
- CommandPalette labels step back while you filter, so the highlighted match carries the emphasis. It does not apply under
manualFiltering. - A vertical Instructions step fills the step's width.
Blocks
npx rift-ds init block landingandnpx rift-ds init block pricingscaffold a landing page and a pricing page on a shared marketing shell.
npm install rift-ds@1.37.0v1.36.0: your CSS wins, buttons submit, switches start off
Your own CSS now always beats component styles, in development and production alike. This release also fixes deep imports that type-checked but failed to build, lets buttons submit forms, and starts a ToggleSwitch off. Nothing published was removed; three changes in behaviour are listed under Changed.
Changed
- Component styles sit in a cascade layer. Every component stylesheet now opens with
@layer rift.tokens, rift.preset, rift.components;and keeps its rules inrift.components, after the token layers. Any CSS of yours outside a layer beats them, whatever its selector and whatever order your bundler loads the sheets in, so an override that worked undernext devno longer disappears undernext build.classNameis the supported hook. If you relied on a library rule beating your own CSS, yours now wins. - A reset of your own now outranks the components too. A bare
* { margin: 0; padding: 0 }would strip their spacing. Put a reset inside@layer rift.tokens { … }, or importrift-ds/tokens/base.css, which already sits there (as do the icon sheet's class rules). - ToggleSwitch starts off.
defaultCheckednow defaults tofalse, as every other checkable control does, so a switch left uncontrolled no longer turns its setting on by itself. A switch that relied on starting on needsdefaultChecked.
New
typeon Button, IconButton and SplitButton:'button' | 'submit' | 'reset', defaulting to'button', so a button inside a form still never submits it by accident.type="submit"makes it the form's submit button. A loading button is disabled, so it cannot submit twice. On SplitButton it reaches the primary segment only; the menu chevron never submits.
Fixed
- Deep imports ship every value their types declare.
fieldErrorsFromfromrift-ds/components/ErrorSummary/ErrorSummary,periodColumns,periodsOfandtotalOffrom DataTable,BLOB_COUNTfrom ShaderField, andrevokeAttachmentUrlsanduseAttachmentsfrom AttachmentGroup type-checked but failed a production build with a missing export. The settings block frominit block settingshit it. - Floating panels are opaque in dark mode. FilterBar's option panel, Link's skip link and AppSidebar's phone trigger let the page show through. They now take the opaque menu fill, which in light mode moves FilterBar's panel from white to the page grey, as Dropdown's menu is.
- A ToggleSwitch that is off looks off: a neutral track and thumb, and no tick.
- AppSidebar marks one current page. With a sub-item current, its parent no longer carries
aria-currentas well, and it gives up its fill while the sub-item shows below it. - A bare Chart takes no padding on a phone, and a compact Input with an icon and a prefix, suffix, clear button or action no longer pads its text for the icon.
- A clearable search Input shows one clear button, not the library's and the browser's side by side.
- Table's
totalrow shows its rule. - Stat's arrow sits on a wrapped delta's first line.
- AppSidebar's collapse, profile and phone-trigger buttons show the focus ring.
Blocks
- The settings and sign-in blocks submit through their buttons. If you copied them earlier, give the Save profile and Sign in buttons
type="submit"and drop theironClick.
npm install rift-ds@1.36.0v1.35.0: a schedule view, a docked action bar and a quiet field
Fixes and additions found by building a real app on the package: a calendar that reads like a timetable, a bar that docks under a long list, a quiet field for optional notes, and a status colour per segment. Nothing published was removed.
New
- ActionBar, a new component: a summary and the primary actions docked to the bottom of a long list or form, with the list fading under a progressive blur instead of being cut off.
summaryis announced politely when it changes;stickyandblurare on by default. - Input
variant="quiet": no border or fill at rest, revealed on hover, focus, a value or an error, or when a parent markeddata-quiet-hostis hovered. Made for lists where every row can take an optional entry. - SegmentedControl
statuson a segment (positive,warning,error,info): the selected pill takes that status's colours, so a choice like Present, Late or Absent reads as what it means.
EventCalendar
startandendon an event, as 24-hourHH:mm. The calendar writes them in the reader's locale ("8:50 – 9:50 AM", "08:50–09:50 Uhr") and sorts by them.- The day view is a schedule: start over end, an accent bar and the title, with a "Now" marker when the day is today.
nowpins the marker for demos and tests;nowLabel,allDayLabelandemptyDayLabelset its words. baredrops the calendar's own fill, border and padding, for a calendar inside a Panel or Widget.weekLabelanddayLabelset the week and day headings, asmonthLabelsets the month's.
Other additions
- ContributionGraph
fill={false}keeps cells at their base size instead of stretching to the width, for a graph with only a few weeks of data. - Stat
captionPlacement="label"puts the caption under the label instead of beside the icon. - AppSidebar
fixed={false}lays the rail, its side panel and its phone drawer out in their parent, for a framed preview or a layout that is not the whole page. - Alert
descriptiontakes a node, so it can hold a link or a short list. - FileInput
defaultFilesandonFilesChange: it keeps its own list whenfilesis not passed.
Fixed
- EventCalendar's week heading no longer breaks hydration. Node and browsers write different spaces around a range's dash; every range is now written with plain spaces (ResourceTimeline's too).
- Event times sort by the clock. "8:50" comes before "12:50", and "11:00 AM" before "1:40 PM".
- EventCalendar's today is hydration-safe. Without a
todayprop, a server-rendered calendar marks today once it hydrates, and the mark moves on at midnight. - ContributionGraph places each day on its own weekday. A series with gaps, such as a class that meets twice a week, fills only its weekdays' rows.
- EntitySwitcher's mark sits on a collapsed AppSidebar's axis, in line with the nav icons.
- An expanded AppSidebar row gives its icon room inside the selected pill.
- The app-shell block's top bar now covers the whole content gutter once the page scrolls, at every width.
Deprecated
- EventCalendar event
time: usestart(andend).timestill works as a display override. ariaLabelon ProgressBar, ChatThread, ContextMenu, Popover, PromptSuggestions and ThreadTabs: pass the nativearia-label, which wins when both are set. This finishes the move the rest of the library has made.
Changed
- EventCalendar's day view has no day-number button, so
onDateClickno longer fires from the day itself inview="day".renderSelectedDaystill works. - Event times written with
startfollow the locale, so a pill reads "11:00 AM" inen-USwheretimeshowed the text as given. - A native
aria-labelon ContextMenu, Popover or ThreadTabs now names the menu, the panel or the list, rather than the wrapper around it.
Upgrading
Nothing to change in most apps. If you scaffolded the app-shell block before this release, your copy is yours and was not updated: in AppShell.module.css, set --shell-gutter on .shell (40px, 20px under 1280px, the shell inset on phones), use it for .content's side padding, and set the top bar's fill and blur to inset-inline: calc(-1 * var(--shell-gutter)). Running npx rift-ds init block app-shell in a fresh folder shows the new file.
npm install rift-ds@1.35.0v1.34.0 — Status glyphs, approval waits and a quieter composer
A chat that shows its state more clearly: the status dots draw a tick, a cross or a prompt, every reply keeps its status line, and a card waiting on the reader says so on the line and on the button that opens the chat. Nothing published was removed.
Agent status
- AgentStatus and AgentStatusMark draw a glyph for the three states that ask something of the reader.
doneis a tick,erroris a cross, andwaitingis a prompt whose cursor breathes. They replace the solid fill. A glyph is drawn in dot by dot only when the state is reached on screen; an indicator that mounts already there shows it standing. - AiButton shows the same glyphs in its icon slot for
waiting,doneanderror.
Chat
- Every reply that thought keeps its status line. One AgentStatus owns the line from the first step to the tick beside "Thought for Ns", with or without a trace to open. A failed reply ends on the cross.
useTurnAwaiting(waiting, key), new inrift-ds/chat: a card that waits on the reader, such as a proposed change with Confirm still to press, calls it. The reply's status line then reads "Waiting for approval", anduseChatAgentState()returnswaiting, both from one record, so the line and the button that opens the chat always agree.- ChatWidget
awaitingApprovalLabelsets that line's words. - ChatWidget
logotakes a node as well as an image src, so the header mark can be an inline SVG that reads the theme's tokens. - ChatWidget
composerGlowpasses Composer'saiGlowthrough. createChatHandler'scontextBlockreceives the conversation as a second argument, for a context block that answers what the visitor named as well as where they are.
Composer
aiGlowtakes"streaming", and it is the new default. The gradient ring lights only while a response streams, and a focused composer keeps the plain selected border, so the ring means the agent is at work and nothing else.aiGlowastrueis the earlier look, with the ring on focus too.falsenever lights it.
Chat cards
- The shared card recipe has more room. The edge, the gap under a title block, the gap above the buttons and the fact list's rows and columns each step up, across ActionCard, ActionReadout, InterruptCard, QuestionCard, MessageCard, SourceTrail, ToolCall and UsageCard.
Changed
- Composer's ring no longer shows on focus by default. It used to be off unless you set
aiGlow, and withaiGlowit lit on focus and while streaming. Now every composer lights it whilestreaming, and onlyaiGlow={true}lights it on focus. - Finished and waiting status dots look different.
doneanderrorno longer fill solid and twinkle, andwaitingno longer breathes every dot: each draws its glyph. Apatternpassed by name still runs whilewaiting. - A chat reply's status line stays. A reply with no trace used to drop the line when the answer began.
- Chat cards are a little taller, from the roomier recipe.
Upgrading
Nothing to change in most apps. If you set aiGlow on a Composer and want the ring on focus, it still works as before. If you never set it and do not want a ring while a response streams, pass aiGlow={false}, or composerGlow={false} on ChatWidget.
npm install rift-ds@1.34.0v1.33.0 — Site layout, code highlighting and the docs kit
Everything a documentation or marketing site needs is now in the package: a site frame, a footer, a menubar, a copy button, a back-to-top button, and code blocks with highlighting and install tabs. Nothing published was removed.
New components
- SiteLayout: the frame of a documentation or marketing site, and the site's counterpart to AppLayout. It holds a SiteHeader, a scrollable NavList sidebar, the page and an on-this-page AnchorNav, with SiteFooter below. Its width is
contained(innarrow,defaultorwidesteps) orfull, and the sidebar docks to the content or to the window's edge. It renders on the server. - SiteFooter: a sitemap footer with link columns, a brand block and a copyright row.
- Menubar: a row of menus that open with the arrow keys, built on DropdownMenu's items (groups, checkbox and radio rows, sub-menus, shortcuts).
- CopyButton: puts a value on the clipboard and says so, as a button or an icon-only circle.
- BackToTop: a round button that appears once the reader has scrolled a long way and takes them back to the top. It respects reduced motion.
Code
- CodeBlock takes pre-highlighted
lines, coloured through the new--color-code-*tokens, plusshowLineNumbersandhighlightLines. Withoutlinesit stays monochrome, as before. - CodeBlock
tabsshow grouped snippets, such as install commands, under one header. Blocks that share asyncKeyfollow one pick, remembered across visits. rift-ds/codeexportspackageManagerTabs(pkg).rift-ds/code/highlightexportshighlight(code, lang), behind the new optionalshikipeer, so nothing else pulls it in.
New on existing components
- AnchorNav
fromHeadingsbuilds the on-this-page list from the page's own headings and keeps it current.useHeadingItemsis the same thing as a hook. - Heading and SectionTitle
anchorgive a heading an id and a link that copies its URL. - NavList takes titled
sectionsas well as items, with badges, ascrollableform and acompactsize. - SiteHeader
widthputs the bar on the contained or full width axis.foldBelowfolds it into its menu at a breakpoint. On a full bar, the mega menu hangs from the section pills only past--ds-site-header-menu-hang-from. - Pagination
variant="adjacent"shows previous and next links as two cards. - ArtifactPanel
layout="inline"sits in the page flow as a preview and code example. - Rating
variant="thumbs"asks a thumbs up or down question, for page feedback. - Figure carries a do or don't verdict through
variant. - Link
variant="skip"is a skip link, hidden until focused. - Table columns take
monofor code-set cells. npx rift-ds init block docsscaffolds a documentation page that uses all of the above.
Changed
- AppLayout's
widthnow defaults tocontainedin every mode. Theinsetmode used to force full width. Passwidth="full"to keep an edge-to-edge inset layout. - NavList, single-open: opening a row now closes only its siblings, never the section or the rows around it. Left uncontrolled, the branch holding the current page opens on top of
defaultExpandedIds. - Only one menu is open at a time. A tooltip or hover card showing over an open menu no longer stops a press outside from closing it, so opening a second menu closes the first.
- ShaderScene rebuilds a lost graphics context on a fresh canvas once it comes back near the screen, instead of waiting for the browser.
Upgrading
Nothing to change unless you use AppLayout's inset mode and want it edge to edge: add width="full". If you passed defaultExpandedIds={[]} to NavList to keep every row closed, the current page's branch now opens.
Install
npm install rift-ds@1.33.0v1.32.0 — Anthropic SDK 1.x support, and IconButton
The chat installs beside Anthropic's SDK 1.x, the round icon button takes the name that fits it, and an icon sits closer to the edge of its box. Nothing published was removed: CircularButton and Button's text keep working as deprecated aliases.
Fixed
@anthropic-ai/sdk1.x is accepted. The chat server's optional peer was^0.116.0, which npm reads as 0.116.x only, so an app on SDK 1.x hitERESOLVEunless it passed--legacy-peer-deps. The range is now^0.116.0 || ^1.0.0. Nothing in the chat API changed, and both SDK lines work.- RadioButton: the dot stays concentric with its ring at a fractional page position.
- A node icon in an icon button (an avatar, an SVG) sits on the centre line, where it rode a little high.
Renamed, with the old name kept
CircularButtonis nowIconButton. Its shape is the theme's, so a square theme drew a "circular" button square.CircularButton, its deep import and its props still resolve, marked deprecated.- Button gains
iconOnly, the spelling the button family shares.textstill works, marked deprecated.
New on existing components
- AiButton and CommandPaletteTrigger name their icon-only form with a tooltip, as IconButton does.
tooltiprewords it or switches it off, andtooltipPositionplaces it. rift-ds/chatexportspreloadChatWidget, so your own button that opens the chat can load its panel ahead of the press.rift-ds/behaviors/deferComponent:deferComponentandusePreloadWhenIdle, for a panel that loads on demand and preloads once the page is interactive.
Changed
- The icon side of a box takes one padding step less. In every button, chip, field, menu row and disclosure header, a side holding an icon, chevron, remove glyph, keycap or spinner steps its padding down 4px, never below 8px, so the glyph's edge reads level with the text's. Icon-only forms keep their even box.
- Tooltip keeps an
aria-describedbyits child already set.
Upgrading
Nothing to change. To move off the deprecated names when you choose, rename CircularButton to IconButton and Button's text to iconOnly.
If you move your app to @anthropic-ai/sdk 1.x, two things change in the SDK itself: your key is sent as Authorization: Bearer where 0.x sent X-Api-Key, and requests use API version 2026-10-21. A proxy or gateway that reads X-Api-Key needs updating first.
Install
npm install rift-ds@1.32.0