gpui-component/crates/ui
Jason Lee c0f801dd8c
list: Refactor ListDelegate to easy access delegate. (#1713)
Continue #1712

## Break Changes

- The argument type of `render_item`, `render_section_header`,
`render_section_footer`, `render_empty`, `render_initial`,
`render_loading` in `ListDelegate` has been changed to has `&mut self`
and `&mut Context<ListState<Self>>`.

```diff
- fn render_item(&self, ix: IndexPath, window: &mut Window, cx: &mut App) -> Option<Self::Item>
+ fn render_item(&mut self, ix: IndexPath, window: &mut Window, cx: &mut Context<ListState<Self>>) -> Option<Self::Item>
```
2025-12-01 17:42:44 +08:00
..
locales setting: Add Settings component. (#1632) 2025-11-20 13:51:44 +00:00
src list: Refactor ListDelegate to easy access delegate. (#1713) 2025-12-01 17:42:44 +08:00
tests/fixtures story: Use uniform_list for scroll example. (#1709) 2025-12-01 11:07:29 +08:00
Cargo.toml Bump v0.5.0-preview0 2025-11-27 14:49:36 +08:00
LICENSE-APACHE chore: Hard link crates/ui/LICENSE-APACHE. 2025-11-04 17:54:14 +08:00