ZIm/crates/ui/src
Marshall Bowers ef551cedef
Add CheckboxWithLabel component (#7881)
This PR builds on top of #7878 by adding a general-purpose
`CheckboxWithLabel` component to use for checkboxes that have attached
labels.

This component encompasses the functionality of allowing to click on the
label to toggle the value of the checkbox.

There was only one other occurrence of a checkbox with a label—the
"Public" checkbox in the channel management modal—and this has been
updated to use `CheckboxWithLabel`.

Resolves #7794.

Release Notes:

- Added support for clicking the label of the "Public" checkbox in the
channel management modal to toggle the value
([#7794](https://github.com/zed-industries/zed/issues/7794)).
2024-02-15 21:00:30 -05:00
..
components Add CheckboxWithLabel component (#7881) 2024-02-15 21:00:30 -05:00
styles Store a z-index id per-layer 2024-01-22 10:16:59 -05:00
utils ui: Fix doc tests (#3989) 2024-01-09 16:56:28 -05:00
clickable.rs Document ui crate traits 2024-01-09 14:15:25 -05:00
components.rs Use the already existing styles/typography for Headline 2024-01-05 15:59:34 -05:00
disableable.rs Fix possessive "its" in docs and comments (#3998) 2024-01-10 10:09:48 -05:00
fixed.rs Document ui crate traits 2024-01-09 14:15:25 -05:00
prelude.rs Port the rest of the app 2024-01-21 20:26:33 -08:00
selectable.rs Clean up references in doc comments in ui and theme crates (#3985) 2024-01-09 15:22:36 -05:00
styled_ext.rs Clean up references in doc comments in ui and theme crates (#3985) 2024-01-09 15:22:36 -05:00
styles.rs Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
ui.rs Document UI modules 2024-01-09 12:57:12 -05:00
utils.rs Document UI modules 2024-01-09 12:57:12 -05:00
visible_on_hover.rs Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00