Skip to content
Devix Open Source

Changelog

Every release of Confirm Dialog, newest first. Breaking changes are flagged.

v1.0.0

12 Sep 2026

First release.

Added

  • confirm, confirmDanger, alert, prompt and the dialog() they are built on, all returning promises.
  • A native <dialog> with showModal(): the browser's focus trap, Escape handling, top layer and inert background, with focus returning to whatever opened it.
  • danger dialogs are alertdialogs, focus Cancel, and ignore backdrop clicks.
  • requireText — type-to-confirm — which keeps the confirm button disabled until the words match.
  • fields for text, textarea, password, number, email, url and checkbox, with per-field validate, required checks, typed values in the result and the first invalid field focused.
  • onConfirm may be async: the dialog stays open and busy while it runs, and shows a thrown error inline instead of closing.
  • Enter in a field confirms; a stray form submission can no longer close the dialog without answering.
  • actions for your own set of buttons, each with its own value and tone.
  • Theming: CSS variables for everything, classNames on every part, icons, strings, theme: 'auto' that follows the page, and a @layer devix stylesheet.
  • React, Vue and Svelte entries, plus useDialogs() for people who prefer a hook.