# Changelog
All notable changes to this project are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.1.0] - 2026-06-07
Initial public release.
### Added
- `ModalStack` struct holding a single stack of modal names in `socket.assigns.modal_stack`.
- `ModalStack.attach/1` — seeds state and installs the close-event hook (call in `mount/3`).
- Mutation API: `push/2` (dedups), `pop/1`, and `clear/1`.
- `ModalStack.modal_stack/1` function component with vendored Tailwind modal chrome and a built-in close button.
- Automatic close on the close button, `Escape`, and click-away via the attached hook — no close handler required.
- Optional per-modal `on_cancel` slot attribute for an extra side-effect alongside the pop.