component
ConfirmationDialog
An accessible, cancel-first confirmation dialog for admin and static-plugin actions.
How it works
The dialog focuses Cancel when opened, prevents dismissal while an asynchronous confirmation is pending, and closes only after onconfirm succeeds. Consumers own localized copy.
Full signature
component ConfirmationDialog(props: $$ComponentProps)Source packages/ui/src/lib/confirmation-dialog/confirmation-dialog.svelte:1