gpui-component/crates/ui/src
Jason Lee 4ded78ed30
dock: Refactor Panel trait to has &mut self and &mut Context<Self>. (#1716)
Continue #1712, #1713

## Description

Also change the `Panel` trait to has `&mut self` and `&mut
Context<Self>`.

## Break Changes

The methods `title`, `title_prefix`, `set_zoomed`, `set_active`,
`dropdown_menu`, `toolbar_buttons`, `on_added_to`, `on_removed` has
changed `&self` to `&mut self`, and `cx: &App` to `cx: &mut
Context<Self>`.

```diff
- fn title(&self, window: &Window, cx: &App) -> AnyElement
+ fn title(&mut self, window: &Window, cx: &mut Context<Self>) -> AnyElement
```
2025-12-01 17:57:18 +08:00
..
avatar chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
button input: Change to input text size to smaller. (#1703) 2025-11-28 09:37:43 +00:00
chart plot: Add support for stacked chart (#1681) 2025-11-26 10:24:57 +00:00
dock dock: Refactor Panel trait to has &mut self and &mut Context<Self>. (#1716) 2025-12-01 17:57:18 +08:00
form form(field): Fix label line break not working (#1558) 2025-11-11 10:36:10 +00:00
highlighter highlighter: Make SyntaxHighlighter::styles method public for external use (#1415) 2025-10-23 10:34:13 +08:00
input list: Refactor ListDelegate to easy access delegate. (#1713) 2025-12-01 17:42:44 +08:00
list list: Refactor ListDelegate to easy access delegate. (#1713) 2025-12-01 17:42:44 +08:00
menu title_bar: Fix TitleBar drag area on macOS, and only handle show window menu when it supports. (#1710) 2025-12-01 16:07:18 +08:00
plot plot: Add support for stacked chart (#1681) 2025-11-26 10:24:57 +00:00
resizable resizable, dock: Improve Panel adjust size logic on layout changed. (#1588) 2025-11-14 16:12:59 +08:00
scroll scrollbar: Introduce overflow_scrollbar to adds Scrollbars to elements. (#1694) 2025-11-27 11:29:50 +00:00
setting scrollbar: Introduce overflow_scrollbar to adds Scrollbars to elements. (#1694) 2025-11-27 11:29:50 +00:00
sidebar sidebar: Fix Sidebar group and items gap. (#1705) 2025-11-28 09:56:39 +00:00
tab tab: Allow tab item to fill remaining space. (#1654) 2025-11-21 11:49:30 +08:00
table table: Refactor TableDelegate to easy to access delegate. (#1712) 2025-12-01 17:20:52 +08:00
text theme: Fix some dropdown to use popover for bg, and improve macos-cla… (#1702) 2025-11-28 08:57:13 +00:00
theme theme: Fix some dropdown to use popover for bg, and improve macos-cla… (#1702) 2025-11-28 08:57:13 +00:00
time theme: Fix some dropdown to use popover for bg, and improve macos-cla… (#1702) 2025-11-28 08:57:13 +00:00
accordion.rs chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
actions.rs tree: Add Tree. (#1373) 2025-10-15 18:39:47 +08:00
alert.rs chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
animation.rs
badge.rs
breadcrumb.rs breadcrumb: Rename item to child and add children method. (#1519) 2025-11-05 15:13:29 +08:00
checkbox.rs icon: Rework icons to make use of the IconNamed trait (#1640) 2025-11-20 02:30:08 +00:00
clipboard.rs chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
collapsible.rs collapsible: Add Collapsible. (#1525) 2025-11-06 10:57:18 +08:00
color_picker.rs theme: Fix some dropdown to use popover for bg, and improve macos-cla… (#1702) 2025-11-28 08:57:13 +00:00
description_list.rs description_list: Renamed child to item, and add child to add DescriptionItem. (#1521) 2025-11-05 07:26:17 +00:00
dialog.rs chore: Fix dialog scroll by #1694 change. (#1695) 2025-11-27 21:11:20 +08:00
divider.rs divider: Remove the horizontal divider full width style (#1278) 2025-09-23 13:46:35 +08:00
event.rs chore: Update GPUI to fix click_count API changes. (#1123) 2025-08-08 11:53:45 +08:00
geometry.rs chore: Split some feature into geometry.rs (#1676) 2025-11-25 02:07:31 +00:00
global_state.rs text_view: Add to support selection. (#1169) 2025-08-28 18:09:30 +08:00
group_box.rs setting: Add Settings component. (#1632) 2025-11-20 13:51:44 +00:00
history.rs chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
icon.rs setting: Add Settings component. (#1632) 2025-11-20 13:51:44 +00:00
index_path.rs
inspector.rs theme: Use font_family for all elements. (#1618) 2025-11-17 03:18:17 +00:00
kbd.rs chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
label.rs label: Fix Label highlight may crash of not a char boundary. (#1574) 2025-11-12 10:19:43 +00:00
lib.rs chore: Split some feature into geometry.rs (#1676) 2025-11-25 02:07:31 +00:00
link.rs chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
notification.rs Revert "root: Render overlays inside Root element by default. (#1570)" (#1584) 2025-11-13 13:37:05 +08:00
popover.rs menu: Add check_side to PopupMenu to support display check at right side. (#1677) 2025-11-25 15:30:36 +08:00
progress.rs menu: Add check_side to PopupMenu to support display check at right side. (#1677) 2025-11-25 15:30:36 +08:00
radio.rs chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
root.rs chore: Update to use Rust edition 2024. (#1669) 2025-11-24 14:38:43 +08:00
select.rs list: Refactor ListDelegate to easy access delegate. (#1713) 2025-12-01 17:42:44 +08:00
sheet.rs scrollbar: Introduce overflow_scrollbar to adds Scrollbars to elements. (#1694) 2025-11-27 11:29:50 +00:00
skeleton.rs chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
slider.rs slider: Remove thumb tooltip (#1582) 2025-11-13 08:33:37 +08:00
spinner.rs spinner: Rename Indicator to Spinner. (#1526) 2025-11-06 11:36:39 +08:00
styled.rs input: Fix wrong font being used in Input. (#1706) 2025-12-01 09:05:34 +00:00
switch.rs theme: Add switch.thumb.background theme config support (#1685) 2025-11-26 10:25:35 +08:00
tag.rs chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
title_bar.rs title_bar: Fix TitleBar drag area on macOS, and only handle show window menu when it supports. (#1710) 2025-12-01 16:07:18 +08:00
tooltip.rs theme: Use font_family for all elements. (#1618) 2025-11-17 03:18:17 +00:00
tree.rs scrollbar: Introduce overflow_scrollbar to adds Scrollbars to elements. (#1694) 2025-11-27 11:29:50 +00:00
virtual_list.rs scrollbar: Manage ScrollbarState in Scrollbar internal. (#1690) 2025-11-27 11:39:58 +08:00
webview.rs chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
window_border.rs Bump gpui (#1324) 2025-10-03 14:32:29 +08:00