ProfileCard shows someone at a glance; ProfileEditor edits a profile seeded by its owner and saves once it changed, has a name and an email that reads, with a way to put it back. AccountSwitcher and WorkspaceSwitcher show the one in use in a row that opens a menu of the others and a way to add one; UserMenu opens from an avatar with who is signed in, the owner's rows and Sign out, through the new menus::menu_under. SessionList puts this device first, signs others out one by one or all after a second press. ApiKeyManager lists keys by their ends, makes one by name and shows its secret once.
15 lines
325 B
Rust
15 lines
325 B
Rust
mod bar;
|
|
mod draw;
|
|
mod hosts;
|
|
mod menu;
|
|
mod model;
|
|
mod pie;
|
|
#[cfg(all(test, feature = "test-support"))]
|
|
mod tests;
|
|
|
|
pub use bar::MenuBar;
|
|
pub(crate) use hosts::menu_under;
|
|
pub use hosts::{ContextMenu, DropdownMenu, OverflowMenu, SearchableMenu, SplitButton};
|
|
pub use model::{Menu, MenuItem};
|
|
pub use pie::{PieItem, PieMenu};
|