/** * SvModal - an accessible modal dialog: backdrop, focus trap, Escape / backdrop * close, and a scale-in animation. Optionally draggable (by its header) and * resizable (bottom-right handle). Parity: Smart `smart-window` (modal mode). * Portalled to so it overlays everything. Controlled via `open`. * * ```svelte * *

Body

* {#snippet footer()}{/snippet} *
* ``` */ import type { Snippet } from 'svelte'; type Props = { open?: boolean; onClose?: () => void; title?: string; size?: 'sm' | 'md' | 'lg'; draggable?: boolean; resizable?: boolean; closeOnBackdrop?: boolean; closeOnEsc?: boolean; /** Hide the header close (x) button. */ hideClose?: boolean; children?: Snippet; footer?: Snippet; }; declare const SvModal: import("svelte").Component; type SvModal = ReturnType; export default SvModal;