gpui-component/crates/ui/src/button
Jason Lee d0a73011de
tooltip: Add KeyBinding to tooltip and Button. (#783)
- Improve `Kbd::format` method.
- Add `tooltip_with_action` method to Button for display key binding in
tooltip.
- 
## Break change

- The `Tooltip::new` has been changed it argument and return type.
    
    ```diff
- pub fn new(text: impl Into<Text>, _: &mut Window, cx: &mut App) ->
AnyView
    + pub fn new(text: impl Into<Text>) -> Self
    ```
2025-04-14 16:40:40 +08:00
..
button.rs tooltip: Add KeyBinding to tooltip and Button. (#783) 2025-04-14 16:40:40 +08:00
button_group.rs button: Improve Button to support combine outline with other variants. (#714) 2025-03-12 11:57:25 +08:00
dropdown_button.rs dropdown_button: Support outline style (#716) 2025-03-12 17:23:37 +08:00
mod.rs toggle: Add Toggle and ToggleGroup. (#691) 2025-03-06 19:10:28 +08:00
toggle.rs Use normal cursor for buttons. (#760) 2025-04-01 17:59:27 +08:00