@sharadox/scroll-web-library 0.6.0 → 0.6.1-smooth-scroll-style.24
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/CHANGELOG.md +19 -0
- package/llms.txt +1 -4
- package/package.json +4 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
What changed in each version of `@sharadox/scroll-web-library`, newest first.
|
|
4
|
+
|
|
5
|
+
## 0.4.1
|
|
6
|
+
|
|
7
|
+
SectionLink leaves Next.js scrolling on for sections of other pages ("/en#contact"), so they land on the section
|
|
8
|
+
|
|
9
|
+
## 0.4.0
|
|
10
|
+
|
|
11
|
+
SectionLink; SmoothScroll handles "#top" (top of the open page) and anchors whose click a Next.js Link already took; next is a peer dependency
|
|
12
|
+
|
|
13
|
+
## 0.3.1
|
|
14
|
+
|
|
15
|
+
A finger swipe's step glide starts after the touch event, so smooth scrolling (Lenis) no longer stops it on phones
|
|
16
|
+
|
|
17
|
+
## 0.3.0
|
|
18
|
+
|
|
19
|
+
Glide, scroll-steps
|
package/llms.txt
CHANGED
|
@@ -11,8 +11,5 @@
|
|
|
11
11
|
- /glide: glideTo(top, { duration? }) — through the running SmoothScroll (Lenis) or window.scrollTo (smooth, or auto with reduced motion); registerGlider is internal to SmoothScroll
|
|
12
12
|
- /glide-into-view: glideIntoView(element, { offset? = 96, duration? }) — glides the element's top to offset below the window's top, only when it isn't wholly in view (0.5.0)
|
|
13
13
|
- /scroll-steps: useScrollSteps(sectionRef, count, { duration? = 0.9 }) — while the section is pinned, each wheel gesture (a pause of 180 ms starts a new one) or finger swipe (30 px+) glides exactly one step; step i sits at top + (i + 0.5) / count × (height − innerHeight); past the ends the page scrolls on
|
|
14
|
-
- 0.3.0: glide, scroll-steps
|
|
15
|
-
- 0.3.1: a finger swipe's step glide starts after the touch event, so smooth scrolling (Lenis) no longer stops it on phones
|
|
16
14
|
- /section-link: <SectionLink href …LinkProps> — next/link; for "#id" on this page scroll={false} (SmoothScroll glides), for "/path#id" Next.js navigates and scrolls as usual; SmoothScroll glides (or, with reduced motion, jumps) to the anchor even though Link took the click
|
|
17
|
-
-
|
|
18
|
-
- 0.4.1: SectionLink leaves Next.js scrolling on for sections of other pages ("/en#contact"), so they land on the section
|
|
15
|
+
- Changes by version: CHANGELOG.md (in the package)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sharadox/scroll-web-library",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1-smooth-scroll-style.24",
|
|
4
4
|
"description": "Scrolling for React websites: smooth inertial scrolling with anchor jumps (Lenis) and the active section with page progress.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "SEE LICENSE IN LICENCA.md",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"LICENCA.md",
|
|
26
26
|
"LICENSE.md",
|
|
27
27
|
"NOTICE.md",
|
|
28
|
-
"llms.txt"
|
|
28
|
+
"llms.txt",
|
|
29
|
+
"CHANGELOG.md"
|
|
29
30
|
],
|
|
30
31
|
"sideEffects": [
|
|
31
32
|
"**/*.css"
|
|
@@ -74,7 +75,7 @@
|
|
|
74
75
|
"next": "16.4.5"
|
|
75
76
|
},
|
|
76
77
|
"dependencies": {
|
|
77
|
-
"@sharadox/web-library": "^0.
|
|
78
|
+
"@sharadox/web-library": "^0.9.0",
|
|
78
79
|
"lenis": "^1.3.27"
|
|
79
80
|
},
|
|
80
81
|
"peerDependencies": {
|