Skip to content

Releases: smastrom/notivue

v0.9.3

15 May 10:40
Compare
Choose a tag to compare

What's improved

  • Refactor useResizeObserver
  • Add Nuxt installation example in README
  • Improve comments in Receiver.ts
  • Update dev dependencies

v0.9.2

30 Apr 22:14
Compare
Choose a tag to compare

What's new

  • pauseOnTouch
    It is now possible to pause the stream if touching a notification (except the close button) using pauseOnTouch prop. Timeouts will resume if touching outside the stream or if dismissing a notification using the close button.

  • teleportTo
    It is now possible to define the element where the stream is teleported to using teleportTo prop. Defauls to body.

  • Pause/resume on visibility change
    Timeouts will pause once window/tab loses focus and vice versa.

What's improved

  • Timeout fixed increment (when hovering out) has been increased from 350 to 800ms.
  • Changed the flush timing for the incoming notification watcher from pre to sync. This will ensure that any notification is rendered in some extreme cases (e.g. multiple push() called in series in the same function).
  • Internal types

v0.9.0

26 Apr 20:16
Compare
Choose a tag to compare

First release

Notivue has been released on NPM!


Install it now:

pnpm add notivue