feat(calendar): add DateStrip context menu with display settings

- Add context menu for DateStrip with toggle switches for:
  - Moon phases visibility
  - Event indicators visibility
  - Weekday names visibility
  - Weekend highlighting (subtle background color)
  - Month divider lines (spacing always present, line toggleable)
  - Compact mode
- Add glass effect to "Today" button matching PillNav styling
- Add toggle switch support to shared ContextMenu component
- Persist all settings to localStorage with cloud sync support

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2025-12-13 15:06:41 +01:00
parent 2777447ae8
commit c710f43391
4 changed files with 226 additions and 18 deletions

View file

@ -20,6 +20,10 @@ export interface ContextMenuItem {
action?: () => void;
/** Additional data attached to the item */
data?: unknown;
/** Show a toggle switch (for boolean settings) */
toggle?: boolean;
/** Current toggle state (only used when toggle is true) */
checked?: boolean;
}
export interface ContextMenuState<T = unknown> {