Skip to content

Commit

Permalink
@studio-freight/[email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
clementroche committed Dec 27, 2023
1 parent 1916add commit 68abeee
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion packages/lenis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import Lenis from '@studio-freight/lenis'
using scripts:

```html
<script src="https://unpkg.com/@studio-freight/[email protected].30/dist/lenis.min.js"></script>
<script src="https://unpkg.com/@studio-freight/[email protected].31/dist/lenis.min.js"></script>
```

<br>
Expand Down
2 changes: 1 addition & 1 deletion packages/lenis/dist/lenis.cjs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/lenis/dist/lenis.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/lenis/dist/lenis.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/lenis/dist/lenis.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/lenis/dist/lenis.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/lenis/dist/lenis.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/lenis/dist/lenis.umd.js.map

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions packages/lenis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@studio-freight/lenis",
"version": "1.0.30",
"version": "1.0.31",
"description": "Lenis is a smooth scroll library to normalize and smooth the scrolling experience across devices",
"repository": {
"type": "git",
Expand All @@ -22,9 +22,10 @@
"watch:types": "tsc --allowJs -d --emitDeclarationOnly --declarationDir ./dist/types --removeComments --watch ./src/index.js",
"watch": "npm-run-all --parallel watch:dist watch:types",
"readme": "node update-readme.js",
"git:push": "git add -A && cross-var git commit -m \"$npm_package_name@$npm_package_version\" && git push && git push --tags",
"git:commit": "git add -A && cross-var git commit -m \"$npm_package_name@$npm_package_version\"",
"git:tag": "cross-var git tag -a v$npm_package_version -m \"$npm_package_name@$npm_package_version\"",
"postversion": "npm-run-all build readme git:tag git:push",
"git:push": "git push && git push --tags",
"postversion": "npm-run-all build readme git:commit git:tag git:push",
"test": "git add -A && cross-var echo $npm_package_name@$npm_package_version"
},
"sideEffects": false,
Expand Down
4 changes: 2 additions & 2 deletions packages/lenis/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default class Lenis {
* @property {GestureOrientation} [gestureOrientation]
* @property {number} [touchMultiplier]
* @property {number} [wheelMultiplier]
* @property {boolean} [normalizeWheel]
* @property {boolean} [normalizeWheel]
* @property {boolean} [autoResize]
*
* @param {LenisOptions}
Expand All @@ -67,7 +67,7 @@ export default class Lenis {
gestureOrientation = 'vertical', // vertical, horizontal, both
touchMultiplier = 1,
wheelMultiplier = 1,
normalizeWheel = false,
normalizeWheel = false, // deprecated
autoResize = true,
} = {}) {
window.lenisVersion = version
Expand Down

2 comments on commit 68abeee

@vercel
Copy link

@vercel vercel bot commented on 68abeee Dec 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"⚡️ Lighthouse report for the changes in this commit:

🔴 Performance: 32
🟠 Accessibility: 88
🟢 Best practices: 100
🟠 SEO: 67
🔴 PWA: 0

Lighthouse ran on https://gsap.com/requires-membership/?plugin=SplitText&source=trial"

Please sign in to comment.