1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Chevron — general-purpose directional caret atomic.
//!
//! Subsumes the older `scroll_chevron`, dropdown-trigger triangles, submenu
//! markers, expand/collapse carets, panel-hide toggles, breadcrumb back arrows
//! and "this is a dropdown button" affordance dots. One atomic, five
//! orthogonal axes (use case, direction, visibility, placement, hit area)
//! plus a small `VisualKind` enum (Stroked / Filled / Glyph / Icon).
//!
//! # File layout
//! - `types.rs` — `ChevronDirection`, `ChevronUseCase`, `VisibilityPolicy`,
//! `PlacementPolicy`, `HitAreaPolicy`, `ChevronVisualKind`,
//! `ChevronView`.
//! - `state.rs` — interaction flags (mostly empty — chevron is stateless).
//! - `theme.rs` — colours (normal/hover/disabled/bg-hover).
//! - `tokens.rs` — `ChevronTokens`: the token-contract implementation of
//! `ChevronTheme`, one pre-rendered value per method, built
//! from `SemanticRoles` + optional `component.chevron.*`
//! overrides (H1 token contract design §3). `TokenTheme`
//! (`crate::tokens::theme`) implements `ChevronTheme` by
//! reading these fields.
//! - `style.rs` — sizes, stroke thickness, hover-bg radius.
//! - `settings.rs`— theme + style bundle.
//! - `render.rs` — `draw_chevron(ctx, rect, view, settings)`.
//! - `input.rs` — `register_*_chevron` for the three composition layers.
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;