Expand description
DisplaySourceCard + DisplayPreviewFrame — selected screen card
shown in the tray record popover after capture-mode selection
(M-UI.7 / AUT-127).
Pure presentation. SSR-stable: the preview is rendered as
CSS-positioned divs (the “deterministic non-Wisp fallback” called
out in the spec). A Wisp-backed PNG variant can land later via the
existing wisp-export-stories harness.
Structs§
- Display
Preview Frame Props - Props for the
DisplayPreviewFramecomponent. - Display
Preview View - Visual preview content for the screen.
- Display
Source Card Props - Props for the
DisplaySourceCardcomponent. - Display
Source View - View-model for the card.
- Preview
Window Chip - One mock window chip — drawn as a colored rounded rect at a percentage offset / size inside the preview.
Functions§
- Display
Preview Frame - Required Props
- Display
Source Card - Required Props
- aspect_
ratio_ css - CSS
aspect-ratioproperty value for a(num, den)pair, with1 / 1fallback for zero denominator.