pub(crate) const STYLE_KEY_DIRECTION: &str = "direction";
pub(crate) const STYLE_VAL_ROW: &str = "row";
pub(crate) const STYLE_VAL_COLUMN: &str = "column";
pub(crate) const STYLE_KEY_DISPLAY: &str = "display";
pub(crate) const STYLE_KEY_POSITION: &str = "position";
pub(crate) const STYLE_KEY_INSET: &str = "inset";
pub(crate) const STYLE_KEY_WIDTH: &str = "width";
pub(crate) const STYLE_KEY_HEIGHT: &str = "height";
pub(crate) const STYLE_KEY_MIN_WIDTH: &str = "min_width";
pub(crate) const STYLE_KEY_MIN_HEIGHT: &str = "min_height";
pub(crate) const STYLE_KEY_MAX_WIDTH: &str = "max_width";
pub(crate) const STYLE_KEY_MAX_HEIGHT: &str = "max_height";
pub(crate) const STYLE_KEY_ASPECT_RATIO: &str = "aspect_ratio";
pub(crate) const STYLE_KEY_PADDING: &str = "padding";
pub(crate) const STYLE_KEY_MARGIN: &str = "margin";
pub(crate) const STYLE_KEY_GAP: &str = "gap";
pub(crate) const STYLE_KEY_BACKGROUND: &str = "background";
pub(crate) const STYLE_KEY_GRADIENT: &str = "gradient";
pub(crate) const STYLE_KEY_SHADOW: &str = "shadow";
pub(crate) const STYLE_KEY_FOCUS_RING: &str = "focus_ring";
pub(crate) const STYLE_KEY_CURSOR: &str = "cursor";
pub(crate) const STYLE_KEY_POINTER_EVENTS: &str = "pointer_events";
pub(crate) const STYLE_KEY_STOP_SCROLL_PROPAGATION: &str = "stop_scroll_propagation";
pub(crate) const STYLE_KEY_STOP_EVENT_PROPAGATION: &str = "stop_event_propagation";
pub(crate) const STYLE_KEY_COLOR: &str = "color";
pub(crate) const STYLE_KEY_RADIUS: &str = "radius";
pub(crate) const STYLE_KEY_ALIGN: &str = "align";
pub(crate) const STYLE_KEY_JUSTIFY: &str = "justify";
pub(crate) const STYLE_KEY_FLEX_GROW: &str = "flex_grow";
pub(crate) const STYLE_KEY_FLEX_SHRINK: &str = "flex_shrink";
pub(crate) const STYLE_KEY_FLEX_WRAP: &str = "flex_wrap";
pub(crate) const STYLE_KEY_OVERFLOW: &str = "overflow";
pub(crate) const STYLE_KEY_FONT_SIZE: &str = "font_size";
pub(crate) const STYLE_KEY_FONT_WEIGHT: &str = "font_weight";
pub(crate) const STYLE_KEY_FONT_FAMILY: &str = "font_family";
pub(crate) const STYLE_KEY_ITALIC: &str = "italic";
pub(crate) const STYLE_KEY_TEXT_ALIGN: &str = "text_align";
pub(crate) const STYLE_KEY_TEXT_OVERFLOW: &str = "text_overflow";
pub(crate) const STYLE_KEY_SELECTABLE: &str = "selectable";
pub(crate) const STYLE_KEY_SELECTION_COLOR: &str = "selection_color";
pub(crate) const STYLE_KEY_OPACITY: &str = "opacity";
pub(crate) const STYLE_KEY_Z_INDEX: &str = "z_index";
pub(crate) const STYLE_KEY_BORDER: &str = "border";
pub(crate) const STYLE_KEY_GRID: &str = "grid";
pub(crate) const STYLE_KEY_COLUMNS: &str = "columns";
pub(crate) const ERR_STYLE_DUPLICATE_KEY: &str = "duplicate style property";
pub(crate) const ERR_STYLE_UNEXPECTED_SEMI: &str =
"unexpected `;` in `style!` — place each style rule on its own line without semicolons";
pub(crate) const ERR_STYLE_NEWLINE_REQUIRED: &str =
"each style rule in `style!` must start on a new line";
pub(crate) const KNOWN_STYLE_PROPS: &[&str] = &[
STYLE_KEY_DIRECTION,
STYLE_KEY_DISPLAY,
STYLE_KEY_POSITION,
STYLE_KEY_INSET,
STYLE_KEY_WIDTH,
STYLE_KEY_HEIGHT,
STYLE_KEY_MIN_WIDTH,
STYLE_KEY_MIN_HEIGHT,
STYLE_KEY_MAX_WIDTH,
STYLE_KEY_MAX_HEIGHT,
STYLE_KEY_ASPECT_RATIO,
STYLE_KEY_PADDING,
STYLE_KEY_MARGIN,
STYLE_KEY_GAP,
STYLE_KEY_BACKGROUND,
STYLE_KEY_GRADIENT,
STYLE_KEY_SHADOW,
STYLE_KEY_FOCUS_RING,
STYLE_KEY_CURSOR,
STYLE_KEY_POINTER_EVENTS,
STYLE_KEY_STOP_SCROLL_PROPAGATION,
STYLE_KEY_STOP_EVENT_PROPAGATION,
STYLE_KEY_COLOR,
STYLE_KEY_RADIUS,
STYLE_KEY_ALIGN,
STYLE_KEY_JUSTIFY,
STYLE_KEY_FLEX_GROW,
STYLE_KEY_FLEX_SHRINK,
STYLE_KEY_FLEX_WRAP,
STYLE_KEY_OVERFLOW,
STYLE_KEY_FONT_SIZE,
STYLE_KEY_FONT_WEIGHT,
STYLE_KEY_FONT_FAMILY,
STYLE_KEY_ITALIC,
STYLE_KEY_TEXT_ALIGN,
STYLE_KEY_TEXT_OVERFLOW,
STYLE_KEY_SELECTABLE,
STYLE_KEY_SELECTION_COLOR,
STYLE_KEY_OPACITY,
STYLE_KEY_Z_INDEX,
STYLE_KEY_BORDER,
STYLE_KEY_GRID,
STYLE_KEY_COLUMNS,
];