mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-27 02:57:42 +02:00
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:
parent
2777447ae8
commit
c710f43391
4 changed files with 226 additions and 18 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue