gpui-component/crates/ui/src/button
Jason Lee 93b578294c
list: Update ListItem and DropdownListItem style. (#1095)
## Break Change

- The `Selectable` trait has been removed `element_id` method, this is
necessary.
- The `item` of `List` now must impl `Selectable` trait.

## List

> NOTE: The default ListItem is no rounded and paddings.

<img width="1144" height="762" alt="image"
src="https://github.com/user-attachments/assets/32348682-f89a-487a-af9f-5ed379a7f2d8"
/>

## Dropdown

<img width="537" height="387" alt="image"
src="https://github.com/user-attachments/assets/3cc99d9f-3714-4d10-b467-6c91917bcbf0"
/>
2025-07-28 18:38:39 +08:00
..
button.rs list: Update ListItem and DropdownListItem style. (#1095) 2025-07-28 18:38:39 +08:00
button_group.rs chore: Impl Styled for more elements. (#1007) 2025-06-24 19:36:42 +08:00
dropdown_button.rs list: Update ListItem and DropdownListItem style. (#1095) 2025-07-28 18:38:39 +08:00
mod.rs toggle: Add Toggle and ToggleGroup. (#691) 2025-03-06 19:10:28 +08:00
toggle.rs chore: Move shadow_xs to StyledExt trait. (#1010) 2025-06-25 16:54:48 +08:00