PhoenixKitProjects. Web. Components. DayPopupModal
(PhoenixKitProjects v0.19.0)
Copy Markdown
View Source
<.day_popup_modal> — the whole-day popup both calendars share.
Kept in the DOM (keep_in_dom) so PkDialogTrigger can open it in the
same frame as a day-cell / "+N more" click; the body renders a skeleton
until the server round-trip fills day_popup, then one row per event
scheduled that day (color dot, title, optional subtitle, late badge,
status badge).
The owning LiveView supplies normalized rows
(%{value:, title:, color:, subtitle:, late:, status:}) plus the
row_click event its rows push (phx-value-uuid={row.value}), and must
handle "close_day_popup".