Skip to content

v0.4.0

Choose a tag to compare

@phamvanquyit phamvanquyit released this 13 Sep 02:21
· 26 commits to main since this release

Added

  • Pagination: Ant Design-style pager (align, showTotal, showQuickJumper, showSizeChanger, simple, hideOnSinglePage, responsive, size changer, jump ellipses). Types: PaginationAlign, PaginationSemanticSlot, PaginationSizeChangerProps.
  • Table pagination forwards the same Pagination options (showTotal, showQuickJumper, align, …).
  • OverlayScroll autoHeight and a horizontal overlay thumb.
  • ButtonCopy / CodeBlockCopyButton size (ControlSize).
  • Tailwind theme colors --color-well / --color-well-strong; .nonla-chat-tool-result-ok.
  • Public types: DesktopHeaderProps, DesktopWindowProps, WindowHeaderProps.

Changed

  • DesktopHeader slots are left / right (was logo / leading / trailing / profile).
  • DesktopWindow chrome is left · title (double-click expands) · right. WindowHeader fills those slots from a child (left / right, not children).
  • Spin variant="agent" matrix uses brand cells and explicit small / default / large metrics. variant="subAgent" removed (same as agent).
  • CodeBlock body uses OverlayScroll.
  • Chat tool / message UI: lucide icons, Spin variant="agent" for running tools, quieter tool cards.

Fixed

  • Escape on an open Modal no longer closes DesktopWindow.
  • Input number / password / search icons follow control size.

Upgrade notes

  • DesktopHeader: logo + leadingleft; trailing + profileright.
  • WindowHeader: pass left / right instead of children.
  • Replace Spin variant="subAgent" with variant="agent".
  • ButtonCopy / CodeBlockCopyButton size is "small" | "default" | "large", not the native button attribute.
  • Standalone Pagination: showSizeChanger turns on when total > 50 unless simple or you pass false. Table still defaults showSizeChanger={false}.