Minor Changes
-
8d58479Thanks
@segunadebayo! - Add functional updates totoaster.update(id, updater)so updates
can derive new properties from the toast's current properties, including queued toasts.Fix removing queued toasts by ID so they cannot be updated or promoted after removal.
Patch Changes
-
#3423
545fa96Thanks
@jsabutis! - - Fixed issue where toasts referenced missing title or description
elements. -
e6336edThanks
@segunadebayo! - - Fixed issue where queued toast updates and dismissal were not
applied correctly.- Fixed issue where dismissed toasts could reappear after a promise settled.
- Fixed issue where newly created or updated toasts could lose paused timers.
- Fixed issue where subscription callbacks could cause lost toast updates.
-
Updated dependencies [
656f677]:- @zag-js/dismissable@1.46.0
- @zag-js/anatomy@1.46.0
- @zag-js/core@1.46.0
- @zag-js/types@1.46.0
- @zag-js/utils@1.46.0
- @zag-js/dom-query@1.46.0