euv-ui 0.35.1

Reusable UI component library for the euv framework, providing buttons, cards, modals, inputs, and more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub(crate) const DROPDOWN_ROOT_SELECTOR: &str = "[data-slot=\"dropdown-menu\"]";
pub(crate) const DROPDOWN_TRIGGER_SELECTOR: &str = "[data-slot=\"dropdown-menu-trigger\"]";
pub(crate) const DROPDOWN_ITEM_SELECTOR: &str =
    "[data-slot=\"dropdown-menu-item\"]:not([aria-disabled=\"true\"])";
pub(crate) const DROPDOWN_KEY_ARROW_DOWN: &str = "ArrowDown";
pub(crate) const DROPDOWN_KEY_ARROW_UP: &str = "ArrowUp";
pub(crate) const DROPDOWN_KEY_HOME: &str = "Home";
pub(crate) const DROPDOWN_KEY_END: &str = "End";
pub(crate) const DROPDOWN_KEY_ESCAPE: &str = "Escape";
pub(crate) const DROPDOWN_ATTR_TRUE: &str = "true";
pub(crate) const DROPDOWN_ATTR_FALSE: &str = "false";
pub(crate) const DROPDOWN_STATE_OPEN: &str = "open";
pub(crate) const DROPDOWN_STATE_CLOSED: &str = "closed";
pub(crate) const DROPDOWN_MENU_ARIA_LABEL: &str = "Dropdown menu";