v1.0.0
12 Sep 2026First release.
Added
confirm,confirmDanger,alert,promptand thedialog()they are built on, all returning promises.- A native
<dialog>withshowModal(): the browser's focus trap, Escape handling, top layer and inert background, with focus returning to whatever opened it. dangerdialogs arealertdialogs, focus Cancel, and ignore backdrop clicks.requireText— type-to-confirm — which keeps the confirm button disabled until the words match.fieldsfor text, textarea, password, number, email, url and checkbox, with per-fieldvalidate, required checks, typed values in the result and the first invalid field focused.onConfirmmay 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.
actionsfor your own set of buttons, each with its own value and tone.- Theming: CSS variables for everything,
classNameson every part,icons,strings,theme: 'auto'that follows the page, and a@layer devixstylesheet. - React, Vue and Svelte entries, plus
useDialogs()for people who prefer a hook.