Repository navigation
v1.32.0 — Anthropic SDK 1.x support, and IconButton
·
219 commits
to main
since this release
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