Files
Innei 84b089450c ♻️ refactor(ui): move DraggablePanel to the antd-free base-ui build (#19365)
* ♻️ refactor(ui): move DraggablePanel to the antd-free base-ui build

@lobehub/ui@5.41.0 ships a headless DraggablePanel under
`@lobehub/ui/base-ui`, rewritten on motion values so a drag never
re-renders React.

- switch all 10 import sites to `@lobehub/ui/base-ui`
- drop `stableLayout`: the new panel holds the content size while the
  box animates, so the behaviour is unconditional
- drop ChatTerminal's `smoothResize` workaround and align its unmount
  delay with the panel's own 250ms collapse

Claude-Session: https://claude.ai/code/session_016Yc2kk25CBo6DXmeGJo1k9

* ♻️ refactor(share): move the share portal to the antd-free DraggablePanel

The original sweep only covered `src/`, so this render site in the share app
kept importing the antd component.

Claude-Session: https://claude.ai/code/session_016Yc2kk25CBo6DXmeGJo1k9

* ⬆️ chore(deps): bump @lobehub/ui to 5.42.1

5.42.1 carries the fix that makes `collapseThreshold` work again behind
`RightPanel`'s `expandable={false}`, which this migration depends on.

Claude-Session: https://claude.ai/code/session_016Yc2kk25CBo6DXmeGJo1k9

* ⬆️ chore(deps): bump @lobehub/ui to 5.42.2

Picks up the drag-collapse clipping fix (lobehub/ui#651).

Claude-Session: https://claude.ai/code/session_012BkEgtdLyHGbfKsHAL4Z5U

* 🔧 chore: exclude the whole @lobehub scope from minimumReleaseAge

Every release of ours is one we cut ourselves, so the release-age window only
costs a version-pinned exclude entry on each bump.

Claude-Session: https://claude.ai/code/session_012BkEgtdLyHGbfKsHAL4Z5U
2026-09-10 21:33:53 +08:00
..