A DatePicker view with the consumer toView seam @foldkit/ui/datePicker
does not expose. State, Messages, update, Commands, and helpers stay
upstream; only markup assembly is transcribed, from @foldkit/ui@0.165.0
(packages/ui/src/datePicker/index.ts, MIT (c) 2025 Devin Jameson) at tag
@foldkit/ui@0.165.0, with the popover-level bundles named
(DatePickerRenderInfo) and handed to toView.
The fork keeps upstream's composition: the calendar grid still renders
through the consumer's toCalendarView, and the trigger face through
triggerContent. Only the popover assembly (trigger button, backdrop,
panel around the calendar) gains the seam. The default toView
reproduces upstream's markup; the parity battery draws both views over the
same models, so drift fails loudly. If upstream gains a seam, delete this
module; on a bump, re-transcribe and re-run the battery.
The date picker's popover-level bundles. panel and backdrop are
present only while the popover shows them; calendar is the embedded
calendar submodel's content and triggerContent the trigger face, both
drawn by their consumer callbacks, passed through for the draw to place.
Upstream view inputs plus the seam. Omit toView for upstream markup. It
is handed the date picker's own builder, since its bundles speak the date
picker's Message.