Releases: codewithkyle/notifyjs
Releases · codewithkyle/notifyjs
v4.1.0
v4.0.0
Added
- new Toaster functionality
- ES Module exports:
@codewithkyle/notifyjs/toaster
@codewithkyle/notifyjs/snackbar
@codewithkyle/notifyjs/notifications
Removed
- common JS support
- custom
Notifier
support
Refactored
- Toast notifications functionality has been moved to new Notifications export
- Each notification type must be explicitly imported
v3.1.0
Fixed
- improved snackbar rendering performance
- improved toast rendering performance
- reduced package size
v3.0.0
Added
- type declaration files
- new
append()
function - alternate CDN version
Fixed
⚠️ Breaking Changes ⚠️
This update includes two minor breaking changes:
- snackbar notifications now default to
force: true
- closeable snackbar and toaster notifications now default
autofocus: true
v2.1.1
Fixed
- snackbar undefined element when forced bug
v2.1.0
Added
- ability to autofocus buttons (#14)
- CDN compatible version (ES Module)
- role attributes to snackbar and toast notifications
- toast notifications can contain buttons (#15)
- toast notification timers (#13)
- updated readme
Fixed
- toast notifications now stack with newest notifications appearing at the bottom (better UX/expected notification behavior)
v2.0.3
Fixed
- snackbar button without class string/array bug
Notify.js v2.0.1
Fixed
- typescript declaration files
- toast injection
Notify.js v2.0.0
Added
- refactored elements into web components
- renamed
NotificationManager()
toNotifier()
Fixed
- toast components use
node.inserBefore()
instead of forcing thecolumn-reverse
CSS property to render in the correct order
Removed
- deprecated
position
value notify()
export -- replaced withsnackbar()
Notifyjs v1.2.0
Added
- toaster notification
toast()
creation #5 - renames existing notification function to
snackbar()