vlite3 1.5.42 → 1.5.43
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.
|
@@ -5,10 +5,8 @@ export declare class ScrollRevealPager {
|
|
|
5
5
|
private desktop;
|
|
6
6
|
private listeners?;
|
|
7
7
|
private movement?;
|
|
8
|
-
private
|
|
9
|
-
private direction;
|
|
8
|
+
private wheel?;
|
|
10
9
|
private distance;
|
|
11
|
-
private wheelHoldUntil;
|
|
12
10
|
private readingElement?;
|
|
13
11
|
private readingEdge?;
|
|
14
12
|
private context;
|
|
@@ -18,6 +16,7 @@ export declare class ScrollRevealPager {
|
|
|
18
16
|
private configure;
|
|
19
17
|
reset: () => void;
|
|
20
18
|
private cancel;
|
|
19
|
+
private wheelGesture;
|
|
21
20
|
private geometry;
|
|
22
21
|
private measureSection;
|
|
23
22
|
private measure;
|
|
@@ -39,16 +39,14 @@ const p = "(min-width: 1024px) and (hover: hover) and (pointer: fine)", g = [
|
|
|
39
39
|
"scrollbar",
|
|
40
40
|
"application"
|
|
41
41
|
].map((u) => `[role~="${u}"]`)
|
|
42
|
-
].join(", "), o = 2,
|
|
43
|
-
class
|
|
42
|
+
].join(", "), o = 2, f = 12, x = 220;
|
|
43
|
+
class w {
|
|
44
44
|
sections = /* @__PURE__ */ new Set();
|
|
45
45
|
desktop = window.matchMedia(p);
|
|
46
46
|
listeners;
|
|
47
47
|
movement;
|
|
48
|
-
|
|
49
|
-
direction = 0;
|
|
48
|
+
wheel;
|
|
50
49
|
distance = 0;
|
|
51
|
-
wheelHoldUntil = 0;
|
|
52
50
|
readingElement;
|
|
53
51
|
readingEdge;
|
|
54
52
|
context;
|
|
@@ -66,15 +64,28 @@ class x {
|
|
|
66
64
|
const t = this.sections.size >= 2 && this.desktop.matches;
|
|
67
65
|
if (!!this.listeners === t || (this.listeners?.abort(), this.listeners = void 0, !t)) return;
|
|
68
66
|
this.listeners = new AbortController();
|
|
69
|
-
const
|
|
70
|
-
|
|
67
|
+
const i = this.context.documentRoot ? window : this.context.container, s = { capture: !0, signal: this.listeners.signal };
|
|
68
|
+
i.addEventListener("wheel", this.onWheel, { ...s, passive: !1 }), i.addEventListener("keydown", this.onKeydown, s);
|
|
71
69
|
};
|
|
72
70
|
reset = () => {
|
|
73
|
-
this.cancel(), this.
|
|
71
|
+
this.cancel(), this.wheel = void 0, this.distance = 0, this.readingElement = void 0, this.readingEdge = void 0;
|
|
74
72
|
};
|
|
75
73
|
cancel() {
|
|
76
74
|
this.movement && (cancelAnimationFrame(this.movement.frame), this.movement = void 0);
|
|
77
75
|
}
|
|
76
|
+
wheelGesture(t, i) {
|
|
77
|
+
const s = Math.sign(t), n = Math.abs(t), e = this.wheel;
|
|
78
|
+
let h = 0, d = !e || s !== e.direction || i - e.lastAt >= x;
|
|
79
|
+
return e && !d && (e.decayTicks = n <= e.magnitude && n < e.peak ? e.decayTicks + 1 : 0, e.decayTicks >= 3 && n <= e.peak / 2 && (e.floor = Math.min(e.floor ?? n, n)), e.floor !== void 0 && (e.floor = Math.min(e.floor, n), e.renewed = n > e.magnitude && n >= e.floor * 2 ? e.renewed + n - e.floor : 0, d = e.renewed >= f, d && (h = s * Math.max(0, e.renewed - n))), e.lastAt = i, e.magnitude = n, e.peak = Math.max(e.peak, n)), !e || d ? (this.distance = h, this.readingEdge = void 0, this.wheel = {
|
|
80
|
+
lastAt: i,
|
|
81
|
+
direction: s,
|
|
82
|
+
magnitude: n,
|
|
83
|
+
peak: n,
|
|
84
|
+
decayTicks: 0,
|
|
85
|
+
renewed: 0,
|
|
86
|
+
consumed: !1
|
|
87
|
+
}, this.wheel) : e;
|
|
88
|
+
}
|
|
78
89
|
geometry() {
|
|
79
90
|
const t = this.context.viewport();
|
|
80
91
|
return {
|
|
@@ -85,104 +96,106 @@ class x {
|
|
|
85
96
|
limit: this.context.limit()
|
|
86
97
|
};
|
|
87
98
|
}
|
|
88
|
-
measureSection(t,
|
|
99
|
+
measureSection(t, i = this.geometry()) {
|
|
89
100
|
if (!t.isConnected) return;
|
|
90
|
-
const
|
|
91
|
-
if (!
|
|
92
|
-
const
|
|
93
|
-
return { element: t, start:
|
|
101
|
+
const s = t.getBoundingClientRect();
|
|
102
|
+
if (!s.height || !s.width) return;
|
|
103
|
+
const n = (h) => Math.max(0, Math.min(h, i.limit)), e = n(s.top - i.top + i.from - i.padding);
|
|
104
|
+
return { element: t, start: e, end: n(Math.max(e, s.bottom - i.bottom + i.from)) };
|
|
94
105
|
}
|
|
95
106
|
measure() {
|
|
96
107
|
const t = this.geometry();
|
|
97
|
-
return Array.from(this.sections).map((
|
|
108
|
+
return Array.from(this.sections).map((i) => this.measureSection(i, t)).filter((i) => !!i).sort((i, s) => i.start - s.start);
|
|
98
109
|
}
|
|
99
110
|
hasPagingStops() {
|
|
100
111
|
const t = this.geometry();
|
|
101
112
|
if (t.limit <= o) return !1;
|
|
102
|
-
let
|
|
103
|
-
for (const
|
|
104
|
-
if (this.measureSection(
|
|
113
|
+
let i = 0;
|
|
114
|
+
for (const s of this.sections)
|
|
115
|
+
if (this.measureSection(s, t) && ++i === 2) return !0;
|
|
105
116
|
return !1;
|
|
106
117
|
}
|
|
107
|
-
readWheel(t,
|
|
108
|
-
const
|
|
109
|
-
if (
|
|
110
|
-
this.readingElement = t.element, this.
|
|
111
|
-
const
|
|
112
|
-
return
|
|
118
|
+
readWheel(t, i, s, n) {
|
|
119
|
+
const e = this.context.position();
|
|
120
|
+
if (e < t.start - o || e > t.end + o || (i > 0 ? e >= t.end - o : e <= t.start + o)) return !1;
|
|
121
|
+
this.readingElement = t.element, this.distance = 0;
|
|
122
|
+
const h = this.readingStep(), d = e + Math.max(-h, Math.min(s, h)), c = d >= t.end || d <= t.start;
|
|
123
|
+
return n.preventDefault(), this.context.write(Math.max(t.start, Math.min(d, t.end))), c && (this.readingEdge = { element: t.element, direction: i }, this.wheel && (this.wheel.consumed = !0)), !0;
|
|
113
124
|
}
|
|
114
125
|
/** Child scroll owners win, including at a contained overscroll boundary. */
|
|
115
|
-
nestedOwns(t,
|
|
116
|
-
for (const
|
|
117
|
-
if (
|
|
118
|
-
if (!(
|
|
119
|
-
if (t.type === "wheel" &&
|
|
120
|
-
const
|
|
121
|
-
if (!/^(auto|scroll|overlay)$/.test(
|
|
122
|
-
const
|
|
123
|
-
if (
|
|
126
|
+
nestedOwns(t, i) {
|
|
127
|
+
for (const s of t.composedPath()) {
|
|
128
|
+
if (s === this.context.container || s === document.body || s === document.documentElement) break;
|
|
129
|
+
if (!(s instanceof HTMLElement)) continue;
|
|
130
|
+
if (t.type === "wheel" && s.getAttribute("data-vlite-wheel-directions")?.split(" ").includes(i > 0 ? "down" : "up")) return !0;
|
|
131
|
+
const n = getComputedStyle(s);
|
|
132
|
+
if (!/^(auto|scroll|overlay)$/.test(n.overflowY)) continue;
|
|
133
|
+
const e = i > 0 ? s.scrollTop + s.clientHeight < s.scrollHeight - 1 : s.scrollTop > 0;
|
|
134
|
+
if (s.scrollHeight > s.clientHeight && e || /^(contain|none)$/.test(n.overscrollBehaviorY)) return !0;
|
|
124
135
|
}
|
|
125
136
|
return !1;
|
|
126
137
|
}
|
|
127
138
|
enabled() {
|
|
128
139
|
if (document.hidden || !this.desktop.matches) return !1;
|
|
129
|
-
const { container: t, documentRoot:
|
|
130
|
-
return ![t, ...
|
|
140
|
+
const { container: t, documentRoot: i } = this.context;
|
|
141
|
+
return ![t, ...i ? [document.body] : []].some((s) => /^(hidden|clip)$/.test(getComputedStyle(s).overflowY));
|
|
131
142
|
}
|
|
132
143
|
readingStep() {
|
|
133
144
|
const t = this.context.viewport();
|
|
134
145
|
return Math.max(48, t.bottom - t.top - this.context.padding() - 48);
|
|
135
146
|
}
|
|
136
|
-
destination(t,
|
|
137
|
-
const
|
|
138
|
-
let
|
|
139
|
-
for (const m of
|
|
140
|
-
if (m.start <=
|
|
141
|
-
|
|
147
|
+
destination(t, i, s) {
|
|
148
|
+
const n = this.context.position();
|
|
149
|
+
let e, h, d;
|
|
150
|
+
for (const m of s)
|
|
151
|
+
if (m.start <= n + o && (e = m), m.start < n - o && (h = m), m.start > n + o) {
|
|
152
|
+
d = m;
|
|
142
153
|
break;
|
|
143
154
|
}
|
|
144
|
-
const
|
|
145
|
-
let
|
|
146
|
-
if (
|
|
155
|
+
const c = e && e.end > e.start + o && n <= e.end + o, r = this.readingStep();
|
|
156
|
+
let a, l;
|
|
157
|
+
if (i && c && (t > 0 ? n < e.end - o : n > e.start + o) ? (l = e, a = Math.min(e.end, Math.max(e.start, n + t * r))) : (l = t > 0 ? d : h, a = l ? t > 0 ? l.start : l.end : t > 0 ? this.context.limit() : 0), !(Math.abs(a - n) <= o))
|
|
147
158
|
return {
|
|
148
|
-
position:
|
|
149
|
-
element:
|
|
150
|
-
progress:
|
|
151
|
-
atEnd: !
|
|
159
|
+
position: a,
|
|
160
|
+
element: l?.element,
|
|
161
|
+
progress: l && l.end > l.start ? (a - l.start) / (l.end - l.start) : 0,
|
|
162
|
+
atEnd: !l && t > 0
|
|
152
163
|
};
|
|
153
164
|
}
|
|
154
|
-
move(t,
|
|
165
|
+
move(t, i) {
|
|
155
166
|
this.cancel(), this.readingElement = void 0;
|
|
156
|
-
const
|
|
157
|
-
this.movement =
|
|
158
|
-
const
|
|
159
|
-
if (this.movement !==
|
|
160
|
-
const r = t.element && this.sections.has(t.element) ? this.measureSection(t.element) : void 0,
|
|
161
|
-
(!t.element || r) && Math.abs(
|
|
167
|
+
const s = this.context.position(), n = { frame: 0, direction: i };
|
|
168
|
+
this.movement = n;
|
|
169
|
+
const e = () => {
|
|
170
|
+
if (this.movement !== n) return;
|
|
171
|
+
const r = t.element && this.sections.has(t.element) ? this.measureSection(t.element) : void 0, a = r ? r.start + (r.end - r.start) * t.progress : t.atEnd ? this.context.limit() : Math.min(t.position, this.context.limit());
|
|
172
|
+
(!t.element || r) && Math.abs(a - this.context.position()) > o && this.context.write(a), this.movement = void 0, this.distance = 0, r && r.end > r.start + o && (this.readingElement = r.element);
|
|
162
173
|
};
|
|
163
174
|
if (this.context.reducedMotion.matches) {
|
|
164
|
-
this.context.write(t.position),
|
|
175
|
+
this.context.write(t.position), e();
|
|
165
176
|
return;
|
|
166
177
|
}
|
|
167
|
-
const
|
|
168
|
-
if (this.movement !==
|
|
169
|
-
if (document.hidden || window.location.href !==
|
|
178
|
+
const h = window.location.href, d = performance.now(), c = (r) => {
|
|
179
|
+
if (this.movement !== n) return;
|
|
180
|
+
if (document.hidden || window.location.href !== h || t.element && !t.element.isConnected) {
|
|
170
181
|
this.reset();
|
|
171
182
|
return;
|
|
172
183
|
}
|
|
173
|
-
const
|
|
174
|
-
this.context.write(
|
|
184
|
+
const a = Math.min(1, (r - d) / 850);
|
|
185
|
+
this.context.write(s + (t.position - s) * (1 - (1 - a) ** 3)), a < 1 ? n.frame = requestAnimationFrame(c) : e();
|
|
175
186
|
};
|
|
176
|
-
|
|
187
|
+
n.frame = requestAnimationFrame(c);
|
|
177
188
|
}
|
|
178
189
|
onWheel = (t) => {
|
|
179
190
|
if (this.context.syncNavigation(), !this.enabled() || !t.cancelable || t.defaultPrevented || t.ctrlKey || t.metaKey || t.altKey || t.shiftKey || !Number.isFinite(t.deltaY) || !Number.isFinite(t.deltaX) || !t.deltaY || Math.abs(t.deltaX) > Math.abs(t.deltaY)) {
|
|
180
191
|
this.movement && this.reset();
|
|
181
192
|
return;
|
|
182
193
|
}
|
|
183
|
-
const
|
|
184
|
-
if (
|
|
185
|
-
|
|
194
|
+
const i = Math.sign(t.deltaY), s = t.deltaMode === 1 ? 16 : t.deltaMode === 2 ? Math.max(1, this.context.viewport().bottom - this.context.viewport().top - this.context.padding()) : 1, n = t.deltaY * s;
|
|
195
|
+
if (!Number.isFinite(n)) return;
|
|
196
|
+
const e = this.wheelGesture(n, performance.now());
|
|
197
|
+
if (this.nestedOwns(t, i)) {
|
|
198
|
+
this.cancel(), e.consumed = !0, this.distance = 0;
|
|
186
199
|
return;
|
|
187
200
|
}
|
|
188
201
|
if (!this.hasPagingStops()) {
|
|
@@ -190,65 +203,60 @@ class x {
|
|
|
190
203
|
return;
|
|
191
204
|
}
|
|
192
205
|
if (this.readingEdge) {
|
|
193
|
-
const
|
|
194
|
-
|
|
195
|
-
t.preventDefault();
|
|
196
|
-
return;
|
|
197
|
-
}
|
|
198
|
-
this.readingEdge = void 0;
|
|
206
|
+
const c = this.readingEdge, r = this.measureSection(c.element), a = this.context.position();
|
|
207
|
+
r && (c.direction > 0 ? Math.abs(a - r.end) <= o : Math.abs(a - r.start) <= o) || (e.consumed = !1, this.readingEdge = void 0);
|
|
199
208
|
}
|
|
200
|
-
|
|
201
|
-
if (e === this.direction && i < this.wheelHoldUntil) {
|
|
209
|
+
if (e.consumed) {
|
|
202
210
|
t.preventDefault();
|
|
203
211
|
return;
|
|
204
212
|
}
|
|
205
|
-
if (this.
|
|
206
|
-
t.preventDefault(),
|
|
213
|
+
if (this.movement?.direction === i) {
|
|
214
|
+
t.preventDefault(), e.consumed = !0, this.distance = 0;
|
|
207
215
|
return;
|
|
208
216
|
}
|
|
209
217
|
if (!this.movement && this.readingElement) {
|
|
210
|
-
const
|
|
211
|
-
if (
|
|
218
|
+
const c = this.measureSection(this.readingElement);
|
|
219
|
+
if (c && this.readWheel(c, i, n, t)) return;
|
|
212
220
|
this.readingElement = void 0;
|
|
213
221
|
}
|
|
214
|
-
if (Math.sign(this.distance) !==
|
|
222
|
+
if (Math.sign(this.distance) !== i && (this.distance = 0), this.distance += n, Math.abs(this.distance) < f) {
|
|
215
223
|
t.preventDefault();
|
|
216
224
|
return;
|
|
217
225
|
}
|
|
218
|
-
const
|
|
219
|
-
if (
|
|
226
|
+
const h = this.measure();
|
|
227
|
+
if (h.length < 2) return;
|
|
220
228
|
if (!this.movement) {
|
|
221
|
-
const
|
|
222
|
-
if (
|
|
229
|
+
const c = this.context.position(), r = h.find((a) => c >= a.start - o && c <= a.end + o && (i > 0 ? c < a.end - o : c > a.start + o));
|
|
230
|
+
if (r && this.readWheel(r, i, this.distance, t)) return;
|
|
223
231
|
}
|
|
224
|
-
const
|
|
225
|
-
if (!
|
|
232
|
+
const d = this.destination(i, !1, h);
|
|
233
|
+
if (!d) {
|
|
226
234
|
this.distance = 0;
|
|
227
235
|
return;
|
|
228
236
|
}
|
|
229
|
-
t.preventDefault(), this.
|
|
237
|
+
t.preventDefault(), this.distance = 0, e.consumed = !0, this.move(d, i);
|
|
230
238
|
};
|
|
231
239
|
onKeydown = (t) => {
|
|
232
240
|
if (this.context.syncNavigation(), !this.enabled() || t.defaultPrevented || t.ctrlKey || t.metaKey || t.altKey) return;
|
|
233
|
-
const
|
|
234
|
-
if (!
|
|
241
|
+
const i = t.key === "PageDown" || t.key === " " && !t.shiftKey ? 1 : t.key === "PageUp" || t.key === " " && t.shiftKey ? -1 : 0;
|
|
242
|
+
if (!i) {
|
|
235
243
|
["ArrowUp", "ArrowDown", "Home", "End", "Tab", "Escape"].includes(t.key) && this.reset();
|
|
236
244
|
return;
|
|
237
245
|
}
|
|
238
|
-
for (const
|
|
239
|
-
if (
|
|
240
|
-
if (
|
|
246
|
+
for (const e of t.composedPath()) {
|
|
247
|
+
if (e === this.context.container) break;
|
|
248
|
+
if (e instanceof Element && (e.matches(g) || e.hasAttribute("tabindex") && Number(e.getAttribute("tabindex")) >= 0)) return;
|
|
241
249
|
}
|
|
242
|
-
if (this.nestedOwns(t,
|
|
243
|
-
const
|
|
244
|
-
if (
|
|
245
|
-
const
|
|
246
|
-
|
|
250
|
+
if (this.nestedOwns(t, i) || this.context.limit() <= o) return;
|
|
251
|
+
const s = this.measure();
|
|
252
|
+
if (s.length < 2) return;
|
|
253
|
+
const n = this.destination(i, !0, s);
|
|
254
|
+
n && (t.preventDefault(), !(t.repeat || this.movement?.direction === i) && (this.reset(), this.move(n, i)));
|
|
247
255
|
};
|
|
248
256
|
destroy() {
|
|
249
257
|
this.reset(), this.listeners?.abort(), this.desktop.removeEventListener("change", this.configure), this.sections.clear();
|
|
250
258
|
}
|
|
251
259
|
}
|
|
252
260
|
export {
|
|
253
|
-
|
|
261
|
+
w as ScrollRevealPager
|
|
254
262
|
};
|
|
@@ -118,3 +118,54 @@ the existing native fallback; JavaScript cannot cancel a non-cancelable event.
|
|
|
118
118
|
Gesture separation is based on wheel-event idle, not a hardware momentum flag.
|
|
119
119
|
This supersedes earlier descriptions of native middle-of-section reading and
|
|
120
120
|
bounded momentum release specifically at tall-section reading edges.
|
|
121
|
+
|
|
122
|
+
## Wheel re-arming correction — 2026-11-02
|
|
123
|
+
|
|
124
|
+
Source review found two different release policies: animation completion started
|
|
125
|
+
a new 220ms hold, while a tall-section edge required a full 220ms wheel-event gap.
|
|
126
|
+
Every momentum tick updated the timestamp used by the edge's idle check. A new
|
|
127
|
+
same-direction impulse embedded in that tail could therefore remain trapped.
|
|
128
|
+
Conversely, the short-section deadline eventually let an uninterrupted tail page
|
|
129
|
+
again. There is no pointer-move listener in the pager or its coordinator; this
|
|
130
|
+
review does not establish why pointer movement changed the observed browser input.
|
|
131
|
+
|
|
132
|
+
The pager now owns one wheel-gesture record with a consumed flag for section
|
|
133
|
+
movement, nested ownership and tall-section boundaries. Completion clears active
|
|
134
|
+
movement and buffered distance without starting a cooldown. Idle remains measured
|
|
135
|
+
from the last eligible wheel event, including time during animation. Reversal or
|
|
136
|
+
idle starts a fresh gesture. Without idle, three non-increasing samples reaching
|
|
137
|
+
half the gesture peak establish a tail baseline; renewed accelerating input at
|
|
138
|
+
least twice that baseline accumulates 12 normalized pixels of excess intent to
|
|
139
|
+
start a fresh gesture. The earned intent is reused by the existing paging threshold.
|
|
140
|
+
Constant/decreasing tails and elevated plateaus do not accumulate new intent.
|
|
141
|
+
|
|
142
|
+
Source audit:
|
|
143
|
+
|
|
144
|
+
- Correctness: fresh gesture detection precedes consumption checks; both tall
|
|
145
|
+
boundaries and short stops share it. In-flight same-direction input is consumed
|
|
146
|
+
without a queue. Reverse input still uses the existing cancellation path.
|
|
147
|
+
- Lifecycle: reset drops the entire gesture record, reading state and animation.
|
|
148
|
+
Existing navigation, visibility, resize, registration and teardown resets remain
|
|
149
|
+
connected. No timer, pointer listener or asynchronous unlock was added.
|
|
150
|
+
- Content and accessibility: progressive reading, live range-growth recovery,
|
|
151
|
+
keyboard navigation, focus ownership, reduced motion and native input exclusions
|
|
152
|
+
retain their existing paths. Nested scrollers retain first refusal.
|
|
153
|
+
- Performance: gesture recognition uses constant space and constant work per tick;
|
|
154
|
+
no sample history, new geometry scan or additional animation loop was introduced.
|
|
155
|
+
This is per-container client state, with no server, persistence or cross-user data.
|
|
156
|
+
- Validation: finite wheel input is retained, with an additional finite check after
|
|
157
|
+
line/page normalization. No new external input or security surface was added.
|
|
158
|
+
|
|
159
|
+
Regression sources now cover immediate renewed pressure after completion, idle
|
|
160
|
+
that elapsed during animation, gentle acceleration, extended tails/plateaus,
|
|
161
|
+
variable uninterrupted streams, consumed input during movement, reduced motion,
|
|
162
|
+
and immediate renewed input at both tall-section edges. Prior expectations that
|
|
163
|
+
continuous input must eventually advance were replaced with one-gesture protection.
|
|
164
|
+
|
|
165
|
+
Validation for this correction is source review and `git diff --check` only.
|
|
166
|
+
Tests were authored but not executed. No build, typecheck, lint, codegen, dev server
|
|
167
|
+
or computer use was run, following the repository's explicit-approval rule. Earlier
|
|
168
|
+
test-pass statements in this audit describe earlier revisions, not this correction.
|
|
169
|
+
Gesture classification remains a delta-based heuristic: indistinguishable wheel
|
|
170
|
+
streams cannot be separated by physical intent, and a strong irregular momentum
|
|
171
|
+
spike can resemble renewed input. Device/browser trackpad acceptance remains open.
|
|
@@ -110,17 +110,18 @@ scrolling is native. Touch input is always native; no touchmove listener is used
|
|
|
110
110
|
with at most one viewport-sized step (48px overlap). Downward entry aligns the
|
|
111
111
|
top; upward entry aligns the bottom, then reads toward the top.
|
|
112
112
|
At a reading boundary, same-direction momentum remains held until a fresh
|
|
113
|
-
gesture
|
|
113
|
+
gesture. Reversal and keyboard navigation
|
|
114
114
|
remain available immediately. Late content growth extends the reading range.
|
|
115
115
|
- A transition owns one destination; input during movement cannot queue pages.
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
116
|
+
Completion adds no wheel cooldown. Section transitions and tall-section edges
|
|
117
|
+
share one gesture guard: an idle gap of 220ms, reversal, or renewed pressure
|
|
118
|
+
after a decaying tail starts a fresh gesture. Idle is measured from the last
|
|
119
|
+
wheel event, including time spent animating, rather than from completion.
|
|
120
|
+
Renewed pressure accumulates above the tail baseline toward 12px of intent;
|
|
121
|
+
constant or decreasing tails cannot advance another section just because time
|
|
122
|
+
passed. No cursor movement or pointer event is required to resume.
|
|
123
|
+
Tail recognition uses normalized wheel deltas and is heuristic; physical
|
|
124
|
+
trackpad behavior still needs verification on the target browser/device.
|
|
124
125
|
- PageDown, PageUp, Space and Shift+Space page between stops, using viewport-sized
|
|
125
126
|
reading steps inside tall sections. Held-key repeats do not chain transitions.
|
|
126
127
|
Form controls, links, contenteditable, ARIA widgets and focusable controls retain
|
package/docs-manifest.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"managedBy": "vlite3",
|
|
3
3
|
"manifestVersion": 1,
|
|
4
4
|
"packageName": "vlite3",
|
|
5
|
-
"packageVersion": "1.5.
|
|
6
|
-
"generatedAt": "2026-11-02T14:
|
|
5
|
+
"packageVersion": "1.5.43",
|
|
6
|
+
"generatedAt": "2026-11-02T14:30:05.209Z",
|
|
7
7
|
"files": {
|
|
8
8
|
"component-index.md": {
|
|
9
9
|
"sha256": "2a8a3c18e4b9158ff62eaf23c3aae82b2aee7e10fca9b78f9a6d573ff9b13c61"
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
"sha256": "d6f355061d35552dbfcebde53088bafdaaafbe9934ed3fc9286d39e60348b64b"
|
|
244
244
|
},
|
|
245
245
|
"components/scroll-reveal.md": {
|
|
246
|
-
"sha256": "
|
|
246
|
+
"sha256": "bf89131d27bd215ad23e0b7837e95fef789973341074d730a1968fa5e2869d89"
|
|
247
247
|
},
|
|
248
248
|
"components/seo-provider.md": {
|
|
249
249
|
"sha256": "ee4ef9991f025ddc6e6a11180d9acce6bbe87d86d5e746da70164260734b983e"
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
"sha256": "115099e4c2fd179fef86430f5c376b8a58f1f0dab5d7c493a6e0c77485845268"
|
|
340
340
|
},
|
|
341
341
|
"ScrollRevealReleaseAudit.md": {
|
|
342
|
-
"sha256": "
|
|
342
|
+
"sha256": "a2e9b8a9b479f13e094c04dee7405d534cc039155c62195e9662650113ccc9ce"
|
|
343
343
|
},
|
|
344
344
|
"utilities/search.md": {
|
|
345
345
|
"sha256": "a3e597b3d0a8da8e4ab3a8537231b19149cda48f204ad5cce36860988341e281"
|