This release introduces SideNavPanel, a component that wraps SideNav and other app chrome in a container that can collapse into a compact icon rail.
It also adds async loading and virtualization support to Menu, and updates the TableView column menu icon.
AI Components
This release introduces the new AttachmentGrid component for displaying collections of attachments, adds disabled state support to Attachment, and enables attachment-only submissions in PromptField. It also improves accessibility with updated PromptField ARIA labels, fine-tunes the visual layout of UserMessage with updated padding, and includes several bug fixes!
Chat/Thread API Updates
The Chat and Thread APIs have been simplified, with more styling now handled by the components rather than requiring custom styles. Components like ThreadScrollButton are now automatically included in the Thread and must be removed from your implementation. See the updated documentation for usage examples.
Changelog
General Changes
- Add
scrollbarGutterto style macro theme - @yihuiliao - PR - Update links to the new Spectrum documentation - @misterbrownlee - PR
AI Components
- Add
AttachmentGridcomponent - @DPandyan - PR - Add
AttachmentBadge- @DPandyan - PR - Add disabled-state support to
AttachmentPreview- @DPandyan - PR - Export
scrollFade- @DPandyan - PR - Refine Chat API - @devongovett - PR
- Improve accessibility labels in PromptField - @devongovett - PR
- Update UserMessage padding - @devongovett - PR
- Prevent PromptFieldVoiceButton from overwriting the prompt after submission while dictating- @yihuiliao - PR
- Add
onExpandedChangeto ResponseStatus - @LFDanLu - PR - Prevent Autocomplete key events from triggering PromptTokenField’s onKeyDownhandler - @LFDanLu - PR
- Allow users to submit only attachments in PromptField - @LFDanLu - PR
Icons
- Upgrade open-source workflow icons package - @yihuiliao - PR
Menu
SideNavPanel
- Add
SideNavPanelcomponent - @snowystinger - PR, PR
TableView
- Update column menu icon - @yihuiliao - PR
