v1.7.0 28/03/2020
Feature:
- Added vue router support to the
url
setting. getSettings()
can now return a single setting's value, given the key.
Fix:
changeToast
now returnsfalse
as expected when the toast isn't found.
v1.6.1 11/03/2020
Fix:
- Drag behavior fixed to the toast not only the parent element.
- Added will change optimisation to dragging.
v1.6.0 10/03/2020
Feature:
- Added one type at a time option.
- Added max number of notifications on screen option.
- Added
getSettings()
function. (This is more verbose thansetSettings({})
)
Fix:
- Concatenated queue with toasts on
getToast
and added return value on not found. - Fixed positioning of the toast on singular dismiss
- Fixed
stopLoader
when passed an array of ids
v1.5.2 20/01/2020
Fix:
- Fixed width issue with long content on leave transition.
v1.5.1 20/01/2020
Fix:
- Added extra check for icon selection.
v1.5.0 19/01/2020
Fix:
- Added the return statement to the custom notification methods
- Fixed the setSettings when using with falsy value.
- Added logic to delay the notification move on removal
- Fixed transition positions
- Added more style namespaces and a whitelist pattern
Feature:
- Added draggable option to dismiss toast by dragging.
- Added function to listen for events emitted by the notifications.
v1.4.0 03/01/2020
Fix:
- Removed bodyMaxWidth from props and added to the styles
- Updated adding feature to return id instead of currently showing toasts if it is in singular mode.
- Removed prototype builtins.
- Added missing checks for notification coming from server.
- Added packages for testing.
- Styling adjustment for the notification content
Feature:
- Added sass functions for easier theme creation
- Added option for accepting icons in object format
v1.3.1 27/12/2019
Fix:
- Removed polyfills from bundle
v1.3.0 27/12/2019
Fix:
- Container now ignores clicks thanks to
pointer-events: none;
- Better responsiveness added to the toasts
- Fixed notification timeout close logic
- General refactor for maintainability
- The status' title attribute will no longer get capitalised (Sorry I didn't see major bump version justified)
Feature:
- Moved transition into group transition for using the FLIP technique
- Added notification display ordering option
- Plugin now accepts custom transitions