Calendar · Months: a month view, a year view, event chips and cards

CalendarMonthView lays a month in week rows. An event across days lies
over them as a bar in the first free lane, cut at the week's edge;
the rest sit by the hour as chips, and a crowded day keeps the rest
behind "N more". Arrows move a day, Page keys turn the month, and
Enter or a double press opens the day; the cursor holds through the
owner's echo of a turn. Days sit at sevenths of their row, as the bars
do, so text never widens a column.

YearView shows twelve small months; a day with something on it wears a
dot in its first event's hue. EventChip is an event in a line and
EventCard a block with its hours and place. MiniCalendar points to
forms::Calendar. Palette::hue is now the one home for a chart color by
index, for mail labels and events alike.
This commit is contained in:
ZacharyZhang-NY committed 2026-09-27 02:49:37 -04:00
1 parent 51ade29032
commit cd5ed088c7
22 files changed
+2121 -20

No files matched your search

+1
View File
@@ -16,6 +16,7 @@ use jiff::{
use crate::typography::format::system_zone;
pub use calendar::Calendar;
pub(crate) use calendar::{month_grid, week_start};
pub use cron::CronEditor;
pub use period::{MonthPicker, QuarterPicker, YearPicker};
pub use picker::{DatePicker, DateRangePicker};
+1 -1
View File
@@ -63,7 +63,7 @@ pub use date::{
MonthPicker, QuarterPicker, RelativeDatePicker, RelativeRange, TimePicker, TimezoneSelect,
WeekPicker, YearPicker,
};
pub(crate) use date::{Face, dropdown, picker_field};
pub(crate) use date::{Face, dropdown, month_grid, picker_field, week_start};
pub use expression::{ExpressionInput, evaluate, expression_highlights};
pub use files::{DropZone, FileInput, PICTURES};
pub(crate) use files::{browse, dropped};