v0.3.0

longbridge/gpui-kitv0.3.0Oct 24, 2025by huacnlee

AI Summary

A minor release introducing new AppMenuBar and Tree components, along with significant improvements to Editor, Input, Plot, and VirtualList components, plus documentation updates.

Key Highlights

  • New AppMenuBar component for menu bars
  • New Tree component for tree views
  • Editor: Add code actions display and hover popover with delay
  • Input: Group input history to avoid IME placeholder, fix masked input with non-ASCII
  • Plot: Add StepAfter stroke kind and per-Y-series stroke styles
  • VirtualList: Fix scroll direction and content size measurement
  • Documentation website launched

New Features

  • AppMenuBar component
  • Tree component
  • SyntaxHighlighter::styles method made public for external use
  • Plot StepAfter stroke kind
  • Per-Y-series stroke styles in line charts

Full Release Notes

## New features

- menu: Add AppMenuBar. by @huacnlee in #1338

    <img width="935" height="694" alt="image" src="https://github.com/user-attachments/assets/295fa84e-f1d8-4f6f-8a77-601a45f8ad6d" />

- tree: Add Tree by @huacnlee in #1373

    <img width="937" height="872" alt="image" src="https://github.com/user-attachments/assets/cc8e283d-4659-4926-ab5b-380718807796" />

## Button
- button: Add support for `on_hover` event by @madcodelife in #1341
- button: Fix the `on_hover` does not respond by @madcodelife in #1346
- button: Support specified anchor to dropdown button by @madcodelife in #1367

## Checkbox
- checkbox: Do not stop propagation when click by @madcodelife in #1385

## Dropdown
- dropdown: Use `display_title` for item title if present by @stippi in #1410

## Editor
- editor: Fix code actions not display by @huacnlee in #1347
- editor: Add delay to trigger hover popover by @huacnlee in #1361
- editor: Improve hover popover delay by @huacnlee in #1389

## Highlighter
- highlighter: Make `SyntaxHighlighter::styles` method public for external use by @huacnlee in #1415

## Input
- input: impl Selectable for TextInput that allow it as trigger for popover by @richerfu in #1353
- input: Fix `set_value` when Input is disabled by @huacnlee in #1362
- input: Grouping input history to avoid IME placeholder by @huacnlee in #1375
- input: Fix Input panics when masked have non-ASCII characters by @huacnlee in #1382
- input: Stop propagation on scroll wheel by @huacnlee in #1406
- input: Hide scrollbar when not overflow in auto grow mode by @huacnlee in #1407
- input: Fix Input to prepare text wrapper by @huacnlee in #1417

## Markdown
- markdown: Use `list` for Markdown render and add scrollbar by @huacnlee in #1357

## Menu

- menu: Fix submenu item selection when multiple submenus exist by @ihavecoke in #1342
- menu: Fix trigger action with context by @huacnlee in #1372

## Plot
- plot: Add StepAfter kind to StokeStrike by @itsmgo in #1356
- plot: Add stroke style per each Y series by @itsmgo in #1364
- plot(line_chart): Add missing natural stroke style by @madcodelife in #1366

## Scrollbar

- scrollbar: Fix scroll to show mode by @huacnlee in #1381
- scrollbar: Update scrollbar background color to transparent for all themes by @huacnlee #1421

## VirtualList

- virtual_list: Fix VirtualList to limit only allow 1 direction scrollable by @huacnlee in #1386
- virtual_list: Fix VirtualList by measure item to get correct content_size to avoid scroll overflow by @huacnlee in #1388

## Docs

Documentation website is online: https://longbridge.github.io/gpui-component

## Others

- chore: Update GPUI v0.2.2 by @huacnlee in #1416

## New Contributors
- @richerfu made their first contribution in #1353
- @itsmgo made their first contribution in #1356
- @han1548772930 made their first contribution in #1370
- @YougLin-dev made their first contribution in #1398
- @vincenthz made their first contribution in #1404
- @stippi made their first contribution in #1410