New
v0.4.1
Button
- button: Add
dropdown_caretoption 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
IconNamedtrait 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
newmethod argument to useinto <AnyView>. by @huacnlee in #1594
Select
- select: Add
renderprop 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_familyfor all elements. by @huacnlee in #1618 - theme: Fix
Flexoki Lightfocus 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