Skip to content

Commit

Permalink
release 1.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
smastrom committed Nov 2, 2023
1 parent 9c0f803 commit 1caf016
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions demo/middleware/push.global.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default defineNuxtRouteMiddleware(() => {
const push = usePush()

push.info('Welcome to Notivue! Use the controls below to test it out.')
})
6 changes: 3 additions & 3 deletions packages/notivue/core/createStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,6 @@ export function createAnimationsSlice(
const isReduced = this.isReducedMotion.value || type === TType.IMMEDIATE
const leaveClass = config.animations.value.leave

const { duration: transitionDuration, easing: transitionTimingFunction } =
this.getTransitionData()

let accPrevHeights = 0

for (const el of elements.getSortedItems()) {
Expand All @@ -205,6 +202,9 @@ export function createAnimationsSlice(

if (!el || !item || item.animationAttrs.class === leaveClass) continue

const { duration: transitionDuration, easing: transitionTimingFunction } =
this.getTransitionData()

items.update(id, {
positionStyles: {
willChange: 'transform',
Expand Down
2 changes: 1 addition & 1 deletion packages/notivue/nuxt/module.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "notivue/nuxt",
"configKey": "notivue",
"version": "1.4.3"
"version": "1.4.4"
}
2 changes: 1 addition & 1 deletion packages/notivue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "notivue",
"version": "1.4.3",
"version": "1.4.4",
"private": false,
"description": "Fully-featured toast notification system for Vue and Nuxt",
"keywords": [
Expand Down

0 comments on commit 1caf016

Please sign in to comment.