v0.4.1

x402-foundation/x402v0.4.1Nov 20, 2025by huacnlee

AI Summary

This release introduces UI enhancements such as dropdown carets for buttons, customizable chart stroke colors, and improved tab management in the dock, along with various stability fixes.

Key Highlights

  • Added `dropdown_caret` option to buttons
  • Added support for setting stroke color on LineChart
  • Improved dock tab closing behavior
  • Fixed editor crash on render indent guides

New Features

  • Added button option methods to DropdownButton
  • Fixed notification close animation
  • Improved number input styling
  • Added support for auto-snap support for tiles panel

Full Release Notes

## Button
- button: Add `dropdown_caret` option to show a caret icon to end of button. by @huacnlee in #1637

## Chart
- chart: Add support to set stroke color on LineChart by @madcodelife in #1629

## Dock
- dock: Don't close tab via action when it can't be closed via context menu by @CherryWorm in #1581
- dock: Add a way for Panels to track the tab bar they belong to by @CherryWorm in #1580

## DropdownButton

- dropdown_button: Add more button option methods to DropdownButton. by @huacnlee in #1633

## Editor
- editor: Fix may crash on render indent guides. by @huacnlee in #1619

## Icon
- icon: Rework icons to make use of the `IconNamed` trait by @andreaskrath in #1640

## Input
- input: Avoid blocking vertical scroll events in single-line mode (#1562) by @chulingera2025 in #1572
- input: Fix x offset resetting for single line inputs by @zanmato in #1591

## List
- list: Fix incorrect selected item background color by @madcodelife in #1648

## Menu
- menu: Fix icon width to tidy indent in `PopupMenuItem`. by @madcodelife in #1620

## Notification
- notification: Fix close animation not working when closed from content by @Moulberry in #1578

## NumberInput
- number_input: Improve style details by @madcodelife in #1606
- number_input: Use input border on the buttons by @madcodelife in #1634

## Resizable
- resizable: Improve to avoid panels from improperly resizing on container resizing. by @CherryWorm in #1560

## Resizable & Dock
- resizable, dock: Improve Panel adjust size logic on layout changed. by @CherryWorm in #1588

## Root
- root: Improve `new` method argument to use `into <AnyView>`. by @huacnlee in #1594

## Select
- select: Add `render` prop to customize item title display. by @obito-t in #1638

## Sidebar
- sidebar: Improve Sidebar to allows caret icon to expand submenu. by @huacnlee in #1642
- sidebar: Add to support disable state to sidebar item. by @adriano-tumino in #1645

## Slider
- slider: Remove thumb tooltip by @CherryWorm in #1582

## Table
- table: Split TableState to state.rs by @huacnlee in #1599
- table: Use click event instead of mouse down event by @madcodelife in #1622

## Theme
- theme: Use `font_family` for all elements. by @huacnlee in #1618
- theme: Fix `Flexoki Light` focus color. by @huacnlee in #1647

## Tiles
- tiles: Add auto-snap support for tiles panel to top and left edges by @ihavecoke in #1577

## New Contributors 

* @chulingera2025 made their first contribution in https://github.com/longbridge/gpui-component/pull/1572 
* @zanmato made their first contribution in https://github.com/longbridge/gpui-component/pull/1591 
* @adriano-tumino made their first contribution in https://github.com/longbridge/gpui-component/pull/1645 
* @andreaskrath made their first contribution in https://github.com/longbridge/gpui-component/pull/1640 

**Full Changelog**: https://github.com/longbridge/gpui-component/compare/v0.4.0...v0.4.1