Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 14 Mar 03:46
· 149 commits to main since this release

Features

  • Select/Dropdown widget: select() with SelectState β€” collapsible dropdown with keyboard and mouse support
  • Radio buttons: radio() with RadioState β€” mutually exclusive option group with ●/β—‹ markers
  • Multi-select: multi_select() with MultiSelectState β€” checkbox-style [x]/[ ] selection with Space toggle
  • Tree view: tree() with TreeNode/TreeState β€” hierarchical expandable tree with β–Ύ/β–Έ icons
  • Virtual list: virtual_list() β€” renders only visible items for large datasets with ↑/↓ indicators
  • Command palette: command_palette() with CommandPaletteState β€” modal search overlay with fuzzy filtering
  • Markdown rendering: markdown() β€” renders headings (#/##/###), bold, italic, lists, code, and horizontal rules
  • Key sequences: key_seq("gg") β€” matches multi-character key sequences within a single frame
  • Password masking: TextInputState.masked β€” displays input as β€’ characters
  • Percentage-based sizing: w_pct() / h_pct() β€” set container width/height as percentage of parent
  • Per-side borders: border_top(), border_right(), border_bottom(), border_left(), border_sides() β€” show/hide individual border sides with BorderSides type

Improvements

  • 30+ widgets total (up from 20+)
  • New state types exported: SelectState, RadioState, MultiSelectState, TreeNode, TreeState, CommandPaletteState, PaletteCommand