Expand description
Default DateEditStyle impl + date-edit family design tokens.
Design tokens for the date-edit family live as pub consts on this
module. The four widgets (DateEdit, TimeEdit, DateRangeEdit,
DateTimeEdit) read them directly when building the calendar / clock
trigger icon and the segmented-field separators.
In IntUI the trigger sits inside TextInput’s trailing slot, so the
default make_body is a passthrough — the widget pre-assembles the
complete body before handing it to the recipe. Custom recipes can
wrap the body or surround it with siblings.
Structs§
- Date
Edit Recipe - Configurable dimension bundle for
RecipeDateEditStyle. - Recipe
Date Edit Style - Default
DateEditStyleshipped with Teksilo. Currently a passthrough — IntUI’s date-edit chrome lives insideTextInput, which is already themed. Custom styles can wrap the body to add extra siblings (clear button, status icon, etc.).
Constants§
- CALENDAR_
BUTTON_ WIDTH - Width of the trailing calendar / clock trigger button slot.
- CALENDAR_
ICON_ SIZE - Edge length of the calendar / clock trigger glyph.
- SEGMENT_
GAP - Gap between adjacent segments (visual separator characters sit in this gap). Used by the segmented date/time editors.
Functions§
- resolve_
date_ edit_ style - Convenience for callers that need the active style (per-call
override → theme slot →
RecipeDateEditStyle).