Repository navigation
Releases
Releases · seekbuddy/dsh-ui
v0.2.0-beta.1
DSH layer synchronized with dsh-v0.2.2-rc.1 (from dsh-v0.2.0-rc.2). Prerelease, published under the next dist-tag.
npm install @seekbuddy/dsh-ui@nextPreview: every component, including the new ones, in Storybook.
Breaking
projectUserTextandUserTextReferencesare removed upstream. Split the text yourself and render the pieces with the newUserTextRunandReferenceChip.TerminalBlockLabelsrequirescommandLine: (line: number) => string, the accessible name of a command line that overflows horizontally.MarkdownDelegate.fileImagesrequiresfileDrag: FileDragActions.Tooltipnow injectsonPointerEnter/onPointerLeave/onPointerDowninto its trigger child instead ofonMouseEnter/onMouseLeave.- The token
--dsw-specific-sidebar-nav-item-hoveris removed.
Migrating
// Before
projectUserText(text, sessionLabels)
// After: split the text in your app, then render each piece
<>
<UserTextRun text="Please review " />
<ReferenceChip appearance="file" label="design.md" title="docs/design.md" />
</>const terminalLabels: TerminalBlockLabels = {
commandLine: (line) => `Command line ${line}`,
// …the existing labels
}Added
New components from upstream:
| Component | Entry | What it is |
|---|---|---|
UserMessageBubble |
root | Surface of a user message |
UserTextRun, ReferenceChip |
root | Plain-text run and reference chip inside a user message |
QuotePreview |
root | Inline preview of a quoted selection, optionally removable |
InlineEditor |
root | In-place multi-line editor: Enter saves, Esc cancels |
AnimatedRows |
root | Glide and fade for keyed rows that reorder, enter or leave |
HoverCardGroup |
root | Shares hover-card dwell across a list |
ZoomControls |
root | Zoom toolbar for document previews |
DraggableImage |
root | Image that can be dragged out of the page as a file |
CommandText |
/blocks |
Full command on one line, scrollable when it overflows |
DetailDocument |
/markdown |
A Markdown document with loading and retry states |
Also new:
- Root entry:
useClipboardCopy,useRowDragPreview,isMobileDevice,DOCUMENT_ZOOM,MENU_TRANSITION_MSand theFileDragActionstypes. /markdown:detailDocumentState,useDetailDocumentLabels,useMarkdownDelegate,MarkdownMenuTarget,formatQuoteText./icons:ICON_SYMBOLS,IconAppsAdd*,IconDragHandle*,IconSave*,PermissionIconAutoReview*.- Optional props: new ones on
Menu,HoverCard,SegmentedTabs,TerminalBlock,Tooltip,MarkdownText,DisclosureRow,ImageLightboxandMarkdownDelegateProvider; see UPSTREAM.md. - Tokens:
--dsw-alias-illustration-*(six) and--dsw-alias-state-done-primary. - Storybook: a page for every new export.
Changed
@deepseek-ai/dsh-util-code-languageis pinned to0.2.2-rc.1.
Full changelog: CHANGELOG.md · compare