Commit Graph

36 Commits

Author SHA1 Message Date
Jason Lee 2a3c297d76 focus_trap: Add to support focus_trap. (#1977)
https://github.com/user-attachments/assets/fc0b992e-4b7b-4315-98de-df21a42029f7
2026-01-28 03:15:46 +00:00
Floyd Wang 46c5cf6dfa root: Implement styled (#1965)
Closes #1964
2026-01-21 06:28:28 +00:00
Floyd Wang a508537f80 chore: Clippy (#1930) 2026-01-13 14:12:05 +00:00
Jason Lee bcdc710d52 example: Remove unsupported GPU part in system_monitor (#1873) 2025-12-30 23:45:44 +08:00
Jason Lee c47cbfc1fd example: Add a system_monitor example. (#1835)
- Fix #1836 TabBar to support use on TitleBar for Windows.


https://github.com/user-attachments/assets/e3e1902c-6b0f-42f7-91bc-9ec56d84aae7
2025-12-20 04:01:46 +00:00
Floyd Wang 6c1e5b7ce7 webview: Update wry dependence to lb-wry (#1769) 2025-12-09 02:32:03 +00:00
Jason Lee 1d8f9bdd1b webview: Split a gpui-wry crate for WebView. (#1759)
## Break Change

- Removed `webview` feature, use `gpui-wry` crate instead.
2025-12-08 07:33:23 +00:00
Jason Lee 55d38cf83b Bump v0.5.0 2025-12-08 10:55:10 +08:00
Floyd Wang e43662190a Bump v0.5.0-preview2 2025-12-02 17:12:49 +08:00
Jason Lee 740d59d280 Bump v0.5.0-preview0 2025-11-27 14:49:36 +08:00
Jason Lee f2cbc16655 chore: Update to use Rust edition 2024. (#1669) 2025-11-24 14:38:43 +08:00
Jason Lee 0a24925a7f Bump v0.4.1 2025-11-20 17:26:14 +08:00
Jason Lee aa4f896b20 Bump v0.4.0 2025-11-17 10:05:08 +08:00
Jason Lee f35d0c5832 Bump v0.4.0-preview3 2025-11-14 18:42:40 +08:00
Jason Lee 37d1678b6f assets: Add gpui-component-assets crate. (#1601) 2025-11-14 15:03:26 +08:00
Jason Lee 993f9b20ae example: Follow up #1594 missed changes. (#1595) 2025-11-14 11:22:55 +08:00
Jason Lee 69b21142dc root: Improve new method argument to use into <AnyView>. (#1594) 2025-11-14 11:02:44 +08:00
Jason Lee a176408d81 Revert "root: Render overlays inside Root element by default. (#1570)" (#1584)
Revert #1573, #1570
2025-11-13 13:37:05 +08:00
Jason Lee cbd4346b87 root: Impl Styled for Root. (#1573) 2025-11-12 17:57:15 +08:00
Jason Lee f26f01909e root: Render overlays inside Root element by default. (#1570)
## Break Change

- The `Root::render_notification_layer`, `Root::render_sheet_layer`,
`Root::render_dialog_layer` has been removed, we don't need it now, the
Root element has default rendered them.
2025-11-12 08:04:54 +00:00
Jason Lee f88b547b70 Bump v0.4.0-preview2 2025-11-12 15:16:49 +08:00
Jason Lee 945db0be56 dialog: Rename Modal to Dialog. (#1538)
## Break Change

- Renamed `Modal` to `Dialog`.

```diff
- window.open_modal(...)
+ window.open_dialog(...)

- window.close_modal(...);
+ window.close_dialog(...);
```

- Renamed `show_close` method to `close_button` in Dialog.
```diff
- .show_close(false)
+ .close_button(true)
```
2025-11-07 17:25:55 +08:00
Jason Lee 34c589d45b Bump v0.4.0-preview1. 2025-11-06 22:27:26 +08:00
Jason Lee 80689264e2 sheet: Rename Drawer to Sheet. (#1527)
## Break Change

- Renamed `Drawer` to `Sheet`, also renamed relative method contains
`drawer` to `sheet`.
- Renamed `ContextModal` to `WindowExt`.

```diff
- use gpui_component::drawer::Drawer
+ use gpui_component::sheet::Sheet

- use gpui_component::ContextModal
+ use gpui_component::WindowExt
```
2025-11-06 07:19:10 +00:00
FlyingYu be460dcbed modal, drawer: Block background interaction when Modal, Drawer is active. (#1483)
Co-authored-by: Jason Lee <huacnlee@gmail.com>
2025-11-03 16:51:38 +08:00