euv-ui 0.35.92

Reusable UI component library for the euv framework, providing buttons, cards, modals, inputs, and more.
Documentation
/// The text shown in the panel when the typed text matches no suggestion.
pub(crate) const NO_MATCHES_TEXT: &str = "No matches";

/// The role for the editable input.
pub(crate) const AUTO_COMPLETE_ROLE_COMBOBOX: &str = "combobox";

/// The role for the suggestion panel.
pub(crate) const AUTO_COMPLETE_ROLE_LISTBOX: &str = "listbox";

/// The role for one suggestion.
pub(crate) const AUTO_COMPLETE_ROLE_OPTION: &str = "option";

/// The role for the polite no-results announcement.
pub(crate) const AUTO_COMPLETE_ROLE_STATUS: &str = "status";

/// The autocomplete mode for a suggestion list.
pub(crate) const AUTO_COMPLETE_ARIA_AUTOCOMPLETE_LIST: &str = "list";

/// The polite live-region mode for no-results announcements.
pub(crate) const AUTO_COMPLETE_ARIA_LIVE_POLITE: &str = "polite";

/// The ARIA true value.
pub(crate) const AUTO_COMPLETE_ARIA_TRUE: &str = "true";

/// The ARIA false value.
pub(crate) const AUTO_COMPLETE_ARIA_FALSE: &str = "false";

/// The empty value that removes a native boolean attribute.
pub(crate) const AUTO_COMPLETE_ATTRIBUTE_EMPTY: &str = "";

/// The browser default autocomplete hint used when no hint is provided.
pub(crate) const AUTO_COMPLETE_AUTOCOMPLETE_DEFAULT: &str = "on";

/// The keyboard key values used by the combobox input.
pub(crate) const AUTO_COMPLETE_KEY_ARROW_DOWN: &str = "ArrowDown";
pub(crate) const AUTO_COMPLETE_KEY_ARROW_UP: &str = "ArrowUp";
pub(crate) const AUTO_COMPLETE_KEY_ENTER: &str = "Enter";
pub(crate) const AUTO_COMPLETE_KEY_ESCAPE: &str = "Escape";
pub(crate) const AUTO_COMPLETE_KEY_TAB: &str = "Tab";

/// The suffix for the suggestion listbox id.
pub(crate) const AUTO_COMPLETE_LISTBOX_ID_SUFFIX: &str = "-listbox";

/// The separator between the input id and suggestion index.
pub(crate) const AUTO_COMPLETE_OPTION_ID_SUFFIX: &str = "-option-";