euv-ui 0.35.93

Reusable UI component library for the euv framework, providing buttons, cards, modals, inputs, and more.
Documentation
/// Keyboard key that moves a calendar focus to the previous day.
pub(crate) const CALENDAR_KEY_ARROW_LEFT: &str = "ArrowLeft";
/// Keyboard key that moves a calendar focus to the next day.
pub(crate) const CALENDAR_KEY_ARROW_RIGHT: &str = "ArrowRight";
/// Keyboard key that moves a calendar focus to the previous week.
pub(crate) const CALENDAR_KEY_ARROW_UP: &str = "ArrowUp";
/// Keyboard key that moves a calendar focus to the next week.
pub(crate) const CALENDAR_KEY_ARROW_DOWN: &str = "ArrowDown";
/// Keyboard key that moves a calendar focus to the beginning of its week.
pub(crate) const CALENDAR_KEY_HOME: &str = "Home";
/// Keyboard key that moves a calendar focus to the end of its week.
pub(crate) const CALENDAR_KEY_END: &str = "End";
/// Selector for the accessible calendar grid.
pub(crate) const CALENDAR_GRID_SELECTOR: &str = "[data-slot=\"calendar-grid\"]";
/// Selector for the focusable day controls in the grid.
pub(crate) const CALENDAR_DAY_BUTTON_SELECTOR: &str = "[data-slot=\"calendar-day-button\"]";
/// Generic accessible name used when the caller omits a month title.
pub(crate) const CALENDAR_ARIA_LABEL: &str = "Calendar";
/// Accessible name for the previous-month navigation button.
pub(crate) const CALENDAR_PREVIOUS_MONTH_LABEL: &str = "Previous month";
/// Accessible name for the next-month navigation button.
pub(crate) const CALENDAR_NEXT_MONTH_LABEL: &str = "Next month";
/// Attribute value that represents a true state.
pub(crate) const CALENDAR_ATTR_TRUE: &str = "true";
/// Attribute value that represents a false state.
pub(crate) const CALENDAR_ATTR_FALSE: &str = "false";
/// The current-day value for `aria-current`.
pub(crate) const CALENDAR_CURRENT_DATE: &str = "date";