mirror of
https://github.com/withastro/astro.git
synced 2025-03-10 23:01:26 -05:00
* Add new levels of notification * feat: proper support * chore: changeset * fix: remove unrelated change * test: add test * feat: implement new icons * fix: go back to previous layout * fix: custom app number --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
337 B
337 B
astro |
---|
minor |
Adds support for emitting warning and info notifications from dev toolbar apps.
When using the toggle-notification
event, the severity can be specified through detail.level
:
eventTarget.dispatchEvent(
new CustomEvent("toggle-notification", {
detail: {
level: "warning",
},
})
);