// home/CreateSheet.jsx — the ✛ Create bottom sheet. // Tabs go places; sheets act on things. The center tab is a primary action, // not a destination: it presents this sheet (event / task / note) over the // current tab and dismisses back to wherever it was invoked. // // Two presentations: // CreateSheet — standalone artboard (sheet over a dimmed Today) // TodayWithCreate — interactive: ✛ toggles the sheet over a live Today function CreateSheetPanel({ dark = false, onClose }) { return ( <>
Create
One place for everything you add. Pick what this is.
); } window.CreateSheetPanel = CreateSheetPanel; // Standalone artboard: sheet presented over a dimmed Today. function CreateSheet({ dark = false, palette, timeOfDay = 'Auto' }) { const grad = gradientFor(palette, timeOfDay); return ( {/* dimmed Today underneath (static) */}
{}}/>
); } window.CreateSheet = CreateSheet; // Interactive: a live Today whose ✛ toggles the Create sheet, in-frame. function TodayInteractive({ dark = false, tint = 'blue', heroMetric = 'bedtime', palette, timeOfDay = 'Auto' }) { return ; } window.TodayInteractive = TodayInteractive;