// TODO:
// keyboard focus
// focus tracking
// tabindex
// close on selection
// react to viewport bounds
// radio
// checkbox
// submenus

mod content;
mod group;
mod item;
mod label;
mod menu;
mod separator;
mod shortcut;
mod trigger;

pub use content::*;
pub use group::*;
pub use item::*;
pub use label::*;
pub use menu::*;
pub use separator::*;
pub use shortcut::*;
pub use trigger::*;

use leptos::prelude::*;

#[derive(Clone)]
pub struct DropdownMenuContext {
    menu_id: RwSignal<String>,
    trigger_id: RwSignal<String>,
}

#[derive(Clone)]
pub struct DropdownMenuGroupContext {
    heading_id: RwSignal<String>,
}
