euv-ui 0.37.2

Reusable UI component library for the euv framework, providing buttons, cards, modals, inputs, and more.
Documentation
/// Accessible name for the carousel region.
pub(crate) const CAROUSEL_ARIA_LABEL: &str = "Carousel";
/// Role description announced for the carousel region.
pub(crate) const CAROUSEL_ROLE_DESCRIPTION: &str = "carousel";
/// Announces the active slide after manual navigation.
pub(crate) const CAROUSEL_LIVE_POLITE: &str = "polite";
/// Role description announced for each slide.
pub(crate) const CAROUSEL_SLIDE_ROLE_DESCRIPTION: &str = "slide";
/// Accessible name prefix for each slide.
pub(crate) const CAROUSEL_SLIDE_LABEL: &str = "Slide";
/// Word separating the slide position and slide count.
pub(crate) const CAROUSEL_OF_LABEL: &str = "of";
/// Accessible name prefix for a dot navigation button.
pub(crate) const CAROUSEL_DOT_LABEL_PREFIX: &str = "Go to slide";
/// Accessible label for the dot navigation group.
pub(crate) const CAROUSEL_DOT_GROUP_LABEL: &str = "Choose slide";
/// Accessible name of the previous-slide button.
pub(crate) const CAROUSEL_PREVIOUS_LABEL: &str = "Previous slide";
/// Accessible name of the next-slide button.
pub(crate) const CAROUSEL_NEXT_LABEL: &str = "Next slide";
/// Visible glyph for the previous-slide control.
pub(crate) const CAROUSEL_PREVIOUS_GLYPH: &str = "‹";
/// Visible glyph for the next-slide control.
pub(crate) const CAROUSEL_NEXT_GLYPH: &str = "›";
/// Attribute value for a selected/current item.
pub(crate) const CAROUSEL_ATTR_TRUE: &str = "true";
/// Attribute value for an unselected/non-current item.
pub(crate) const CAROUSEL_ATTR_FALSE: &str = "false";
/// Keyboard key that moves to the previous slide.
pub(crate) const CAROUSEL_KEY_ARROW_LEFT: &str = "ArrowLeft";
/// Keyboard key that moves to the next slide.
pub(crate) const CAROUSEL_KEY_ARROW_RIGHT: &str = "ArrowRight";
/// Keyboard key that moves to the first slide.
pub(crate) const CAROUSEL_KEY_HOME: &str = "Home";
/// Keyboard key that moves to the last slide.
pub(crate) const CAROUSEL_KEY_END: &str = "End";
/// Selector for interactive carousel buttons.
pub(crate) const CAROUSEL_BUTTON_SELECTOR: &str = "button";
/// Minimum horizontal movement, in CSS pixels, that counts as a swipe.
pub(crate) const CAROUSEL_SWIPE_THRESHOLD: i32 = 32;