chore(deps): update all minor updates #275
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^14.6.1
->^14.7.0
^2.2.1
->^2.3.0
Release Notes
capricorn86/happy-dom (happy-dom)
v14.7.0
Compare Source
v14.6.2
Compare Source
👷♂️ Patch fixes
Storage.prototype
methods - By @capricorn86 in task #1377smastrom/notivue (notivue)
v2.3.0
Compare Source
Release notes
The next minor release of Notivue introduces a couple of cool features plus some improvements:
avoidDuplicates
config optionisStreamPaused
internal signalNotificationProgress
drop-in componentfocus/blur
events instead ofvisibilityChange
--nv-accent
CSS variableThe above new features can be summarized in this short video:
preview-2.3.0.mov
avoidDuplicates
config optionIt is now possible to prevent the creation of notifications already displayed in the stream or already awaiting in the queue (duplicates).
I've found this feature extremely useful in scenarios where the same notification might be repeatedly created (external services errors, frequently updated settings), creating unnecessary noise in the UI.
Since the whole implementation required just a few lines of code, I believed it was a good trade-off implementing it.
While this option is disabled by default, it can be enabled by setting
avoidDuplicates
totrue
in Notivue's config:Once enabled, if a notification like the following is pushed to the stream:
...and a notification with the same
title
,message
andtype
is already displayed, Notivue will immediately make screen readers announce it again without rendering a new one.Then, it will replace the remaining duration of the visible notification with the duration of the duplicate one (like "restarting" it).
If using Custom Components, it is possible to "detect" when a duplicate is pushed by watching the
duplicates
property of the notification item (in your custom component setup function):For example, the above property could be used as component key to play/restart an animation everytime a duplicate of that notification is pushed (and its duration is updated).
Expose
isStreamPaused
internal signalNotivue now exposes a readonly reactive proxy of its internal
isStreamPaused
signal, enabling consumers using Custom Components to create progress bars and advanced side-effects.Check the docs website on how to implement a progress bar in your custom notification.
Wrapping up:
<NotificationProgress />
drop-in componentNotivue's built-in Notifications now accept a default slot which can be used to add a new drop-in component named
NotificationProgress
(and anything else you'd like to) which fully leverages the new APIs introduced above.All you have to do is to import it and pass the notification item to the
item
prop:Configuration
📅 Schedule: Branch creation - "every 1 month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.