diff --git a/.changeset/pre.json b/.changeset/pre.json index 8f16fb8..8564bb1 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -69,6 +69,7 @@ "tidy-planes-repair", "tidy-timers-listen", "timepicker-input-name-doc", + "toast-v1", "toggle-group-item", "toggle-group-owns-its-value", "tooltip-v1", diff --git a/docs/src/lib/docs/releases-data.json b/docs/src/lib/docs/releases-data.json index 23e87b9..4883920 100644 --- a/docs/src/lib/docs/releases-data.json +++ b/docs/src/lib/docs/releases-data.json @@ -1,7 +1,23 @@ [ + { + "version": "1.0.0-beta.9", + "date": "2026-09-23T23:32:53.743Z", + "sections": [ + { + "type": "Minor", + "entries": [ + { + "pr": 99, + "prUrl": "https://github.com/human-kit/ui/pull/99", + "html": "

Add the Toast primitive with Provider, Viewport, Positioner, Root, Content, Title, Description, Action and Close. The manager on useToastManager() or bind:manager has add, update, close and promise. The viewport is a role="region" landmark named with the count of toasts, with F6 in and out, and two live regions beside it announce each toast without its buttons. Each toast is a dialog that is not modal, or an alertdialog for a high priority, with Escape to close, a swipe that follows the finger, and an exit animation from its CSS. Toast.Positioner puts a toast with an anchor against that element. The timers stop on hover, on keyboard focus and in a hidden tab, the newest toasts stay up to a limit, and the viewport stays reachable behind a modal dialog. The ariaHideOutside primitive learned data-hk-hide-outside-exempt, and the focus trap leaves Tab to a surface with that attribute while the focus is in it.

" + } + ] + } + ] + }, { "version": "1.0.0-beta.8", - "date": "2026-09-20T14:55:55.147Z", + "date": "2026-09-20T13:21:59-03:00", "sections": [ { "type": "Minor", diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index eb59847..200cd3d 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,11 @@ # @human-kit/ui +## 1.0.0-beta.9 + +### Minor Changes + +- [#99](https://github.com/human-kit/ui/pull/99) [`2fd296f`](https://github.com/human-kit/ui/commit/2fd296f95fac9448b195febd692f9bec490b9aec) Thanks [@Agustin-Delgado](https://github.com/Agustin-Delgado)! - Add the Toast primitive with `Provider`, `Viewport`, `Positioner`, `Root`, `Content`, `Title`, `Description`, `Action` and `Close`. The manager on `useToastManager()` or `bind:manager` has `add`, `update`, `close` and `promise`. The viewport is a `role="region"` landmark named with the count of toasts, with `F6` in and out, and two live regions beside it announce each toast without its buttons. Each toast is a `dialog` that is not modal, or an `alertdialog` for a high priority, with `Escape` to close, a swipe that follows the finger, and an exit animation from its CSS. `Toast.Positioner` puts a toast with an `anchor` against that element. The timers stop on hover, on keyboard focus and in a hidden tab, the newest toasts stay up to a limit, and the viewport stays reachable behind a modal dialog. The `ariaHideOutside` primitive learned `data-hk-hide-outside-exempt`, and the focus trap leaves `Tab` to a surface with that attribute while the focus is in it. + ## 1.0.0-beta.8 ### Minor Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index 001c564..3625d9d 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@human-kit/ui", - "version": "1.0.0-beta.8", + "version": "1.0.0-beta.9", "description": "Accessible, typed UI components for Svelte 5 — shipped as native ESM with per-component subpath exports so bundlers only include what you import.", "license": "MIT", "author": "Agustin Delgado ",