Module date_picker
Expand description
DatePicker widget — month-grid calendar picker.
Renders a header (prev-month chevron, “Month YYYY” label, next-month
chevron) above a 7-column day grid. The first column is Monday —
this is the locale assumption pinned by
date_picker_first_day_of_week_is_monday so a future locale change
must touch both the test and first_visible_col.
The visible month remains presentation state. The selected date can stay
widget-local, bind directly to typed process-local state with
DatePicker::from_state, or be observed with on_change for an
app-owned durable mutation.
Structs§
- Date
Feed - The app’s side of a
DatePickerthat stands outside the app’s own surface (a calendar’s month navigator in the shell’s sidebar): the app shows its day withSelf::showand takes the days the person chose withSelf::take_chosen. The app’s day stays the one truth; the picker reads the feed at every sync and update (DatePicker::fed_by). - Date
Picker - Date
Picker Props - A month’s calendar: the day chosen is ringed, today marked, and the arrows go between months. Days that hold something carry a dot.
- Date
Shown - What the app shows in a
DatePickerit feeds: the chosen day, the day it calls today and the days that hold something.
Enums§
- External
Date Picker Hit - A host-side hit from an externally laid-out
DatePicker.