2023-10-23 14:21:30 +00:00
|
|
|
|
//! # UI – Zed UI Primitives & Components
|
|
|
|
|
//!
|
|
|
|
|
//! This crate provides a set of UI primitives and components that are used to build all of the elements in Zed's UI.
|
|
|
|
|
//!
|
|
|
|
|
//! ## Work in Progress
|
|
|
|
|
//!
|
|
|
|
|
//! This crate is still a work in progress. The initial primitives and components are built for getting all the UI on the screen,
|
|
|
|
|
//! much of the state and functionality is mocked or hard codeded, and performance has not been a focus.
|
|
|
|
|
//!
|
|
|
|
|
|
2023-11-03 22:19:54 +00:00
|
|
|
|
#![doc = include_str!("../docs/hello-world.md")]
|
|
|
|
|
#![doc = include_str!("../docs/building-ui.md")]
|
|
|
|
|
#![doc = include_str!("../docs/todo.md")]
|
2023-10-06 20:52:05 +00:00
|
|
|
|
|
2023-11-29 17:23:09 +00:00
|
|
|
|
mod clickable;
|
2023-10-06 21:07:59 +00:00
|
|
|
|
mod components;
|
2023-11-29 18:01:26 +00:00
|
|
|
|
mod disableable;
|
2023-11-29 17:23:09 +00:00
|
|
|
|
mod fixed;
|
2023-10-06 21:07:59 +00:00
|
|
|
|
pub mod prelude;
|
2023-11-29 17:23:09 +00:00
|
|
|
|
mod selectable;
|
2023-11-08 19:29:38 +00:00
|
|
|
|
mod styled_ext;
|
2023-11-21 05:44:51 +00:00
|
|
|
|
mod styles;
|
2023-11-29 19:33:52 +00:00
|
|
|
|
mod toggleable;
|
2023-11-02 14:11:25 +00:00
|
|
|
|
pub mod utils;
|
2023-10-06 20:52:05 +00:00
|
|
|
|
|
2023-11-29 17:23:09 +00:00
|
|
|
|
pub use clickable::*;
|
2023-10-06 21:07:59 +00:00
|
|
|
|
pub use components::*;
|
2023-11-29 18:01:26 +00:00
|
|
|
|
pub use disableable::*;
|
2023-11-29 17:23:09 +00:00
|
|
|
|
pub use fixed::*;
|
2023-10-06 21:07:59 +00:00
|
|
|
|
pub use prelude::*;
|
2023-11-29 17:23:09 +00:00
|
|
|
|
pub use selectable::*;
|
2023-11-08 19:29:38 +00:00
|
|
|
|
pub use styled_ext::*;
|
2023-11-21 05:44:51 +00:00
|
|
|
|
pub use styles::*;
|
2023-11-29 19:33:52 +00:00
|
|
|
|
pub use toggleable::*;
|