Expand description
The built-in piece keys as plain strings, for the registry and the PieceKind seam.
Constants§
- BUTTON
- CANVAS
- CONTAINER
- A dumb native panel (the column/row/stack backing).
- COVER
- A fullscreen cover (docs/cover.md): a modal surface presented over the whole window,
edge-to-edge, driven by
CoverPatch::{Present,Dismiss}. The handle is the cover’s CONTENT container; its frame is native-owned while presented (the backend sizes it to the safe area and reports it viaEvent::FrameChanged). - DIVIDER
- IMAGE
- LABEL
- LIST
- Native recycling list (docs/list.md): NSTableView / UITableView / RecyclerView / GtkListView / QListView. Owns scrolling + cell reuse; Day binds row content on demand.
- LIST_
CELL - A recycled row’s content anchor inside a
LIST; Day adopts the native cell as its handle. ADOPTED, never realized —Toolkit::adoptwraps the native cell, so backends’realizenever sees this kind. - NAV
- Navigation host (docs/navigation.md): stack on mobile, split panes on desktop.
- NAV_
MENU - Native navigation item list (docs/navigation.md): NSOutlineView source list / GtkListBox navigation-sidebar / QListWidget / UITableView rows with chevrons.
- NAV_
PAGE - One destination’s native container inside a NAV host.
- PICKER
- A native option picker with menu/segmented/inline stylings (docs/picker.md). Built-in
since 2026-07 (previously the satellite
day-piece-picker). - PROGRESS
- Progress indicator: determinate bar (fraction) or indeterminate spinner.
- SCROLL
- SLIDER
- TABS
- Native tabbed container (docs/tabs.md): NSTabView / GtkNotebook / QTabWidget /
UITabBarController / Android tab strip. Holds
TABS_PAGEchildren, one visible. - TABS_
PAGE - One tab’s content container inside a
TABShost; its frame is native-owned. - TEXT_
AREA - A native multi-line text editor (docs/textarea.md). Built-in since 2026-07 (previously
the satellite
day-piece-textarea). - TEXT_
FIELD - TOGGLE