nuxt-toastflow 1.0.2-beta.0 → 1.0.2-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.js +1 -0
- package/dist/module.mjs +1 -0
- package/dist/styles.css +20 -0
- package/package.json +3 -3
package/dist/module.js
CHANGED
package/dist/module.mjs
CHANGED
package/dist/styles.css
CHANGED
|
@@ -248,6 +248,7 @@
|
|
|
248
248
|
.tf-toast-motion {
|
|
249
249
|
width: 100%;
|
|
250
250
|
transform-origin: center;
|
|
251
|
+
backface-visibility: hidden;
|
|
251
252
|
}
|
|
252
253
|
|
|
253
254
|
/* MOVE */
|
|
@@ -295,6 +296,25 @@
|
|
|
295
296
|
transform: translate3d(0, var(--tf-toast-motion-offset), 0) scale(0.96);
|
|
296
297
|
}
|
|
297
298
|
|
|
299
|
+
@media (max-width: 640px) {
|
|
300
|
+
.tf-toast-item[data-position^="top-"] {
|
|
301
|
+
--tf-toast-motion-offset: -18px;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.tf-toast-item[data-position^="bottom-"] {
|
|
305
|
+
--tf-toast-motion-offset: 18px;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.Toastflow__animation-enter-from > .tf-toast-motion,
|
|
309
|
+
.Toastflow__animation-appear-from > .tf-toast-motion {
|
|
310
|
+
transform: translate3d(0, var(--tf-toast-motion-offset), 0) scale(0.98);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.Toastflow__animation-leave-to > .tf-toast-motion {
|
|
314
|
+
transform: translate3d(0, var(--tf-toast-motion-offset), 0) scale(0.98);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
298
318
|
/* CLEAR ALL */
|
|
299
319
|
.Toastflow__animation-clearAll .tf-toast-motion {
|
|
300
320
|
animation: Toastflow__clearAll-kf var(--tf-toast-animation-in-duration)
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "https://github.com/adrianjanocko/toastflow.git",
|
|
22
22
|
"directory": "packages/nuxt"
|
|
23
23
|
},
|
|
24
|
-
"version": "1.0.2-beta.
|
|
24
|
+
"version": "1.0.2-beta.2",
|
|
25
25
|
"main": "./dist/module.js",
|
|
26
26
|
"module": "./dist/module.mjs",
|
|
27
27
|
"types": "./dist/module.d.ts",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"nuxt": "^3.0.0 || ^4.0.0"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@nuxt/kit": "^4.4.
|
|
60
|
-
"vue-toastflow": "^1.2.0-beta.
|
|
59
|
+
"@nuxt/kit": "^4.4.6",
|
|
60
|
+
"vue-toastflow": "^1.2.0-beta.5"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"tsup": "^8.5.1",
|