Commit Graph

31 Commits

Author SHA1 Message Date
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
Floyd Wang 123934237a Bump v0.4.0-preview0 2025-10-30 15:50:45 +08:00
Jason Lee 34ef0ff6d0 chore: Rename Dropdown to Select, TextInput to Input. (#1449)
## Break Change

- The `Dropdown` has been renamed to `Select`.
- The `TextInput` has been renamed to `Input`.

| Before | After |
| --- | --- |
| TextInput | Input |
| Dropdown | Select |
| DropdownItem | SelectItem |
| DropdownItemGroup | SelectGroup |
| DropdownState | SelectState |
| DropdownEvent | SelectEvent |
| DropdownDelegate | SelectDelegate |
| dropdown::ListEvent | ~~Removed~~ |

- Renamed `PopupMenuExt` to `DropdownMenu`.
- Removed pub mod `menu::popup_menu`, `menu::context_menu`, they are
moved into `menu` mod.
- Renamed `popup_menu` method to `dropdown_menu` for `DropdownMenu`,
`Panel`, `PanelView` and `DropdownButton`.

| Before | After |
| --- | --- |
| popup_menu::PopupMenuExt | menu::DropdownMenu |
| popup_menu | dropdown_menu |
| popup_menu_with_anchor | dropdown_menu_with_anchor |
2025-10-28 21:22:31 +08:00
Floyd Wang 183d17731d Bump v0.3.1 2025-10-27 13:52:29 +08:00
Jason Lee 5f63ddb822 example: Fix title bar paddings for window_title example. (#1429) 2025-10-24 13:54:52 +00:00
Iain b740123d4b example: Add missed control icon assets (#1424) 2025-10-24 13:30:27 +08:00