Forráskód Böngészése

autoanimate update

Stefan Racic 2 éve
szülő
commit
a1ec7240a2
2 módosított fájl, 9 hozzáadás és 6 törlés
  1. 4 1
      README.md
  2. 5 5
      package.json

+ 4 - 1
README.md

@@ -37,7 +37,10 @@ Default settings are (if not provided):
     // Animation duration in milliseconds (default: 250)
   duration: 250,
   // Easing for motion (default: 'ease-in-out')
-  easing: 'ease-in-out'
+  easing: 'ease-in-out',
+  // When true, this will enable animations even if the user has indicated
+  // they don’t want them via prefers-reduced-motion.
+  disrespectUserMotionPreference: false
 }
 ```
 

+ 5 - 5
package.json

@@ -1,6 +1,6 @@
 {
   "name": "alpinejs-autoanimate",
-  "version": "1.0.11",
+  "version": "1.0.12",
   "description": "AlpineJS AutoAnimate",
   "type": "module",
   "keywords": [
@@ -32,10 +32,10 @@
     "build": "node scripts/build.js"
   },
   "devDependencies": {
-    "@babel/core": "^7.17.7",
-    "@babel/preset-env": "^7.16.11",
-    "@formkit/auto-animate": "^1.0.0-beta.1",
-    "esbuild": "^0.14.27",
+    "@babel/core": "^7.18.13",
+    "@babel/preset-env": "^7.18.10",
+    "@formkit/auto-animate": "^1.0.0-beta.3",
+    "esbuild": "^0.15.7",
     "esbuild-plugin-babel": "^0.2.3"
   }
 }