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 lastWheel;
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, w = 12, f = 220;
43
- class x {
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
- lastWheel = -1 / 0;
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 e = this.context.documentRoot ? window : this.context.container, i = { capture: !0, signal: this.listeners.signal };
70
- e.addEventListener("wheel", this.onWheel, { ...i, passive: !1 }), e.addEventListener("keydown", this.onKeydown, i);
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.lastWheel = -1 / 0, this.direction = this.distance = 0, this.wheelHoldUntil = 0, this.readingElement = void 0, this.readingEdge = void 0;
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, e = this.geometry()) {
99
+ measureSection(t, i = this.geometry()) {
89
100
  if (!t.isConnected) return;
90
- const i = t.getBoundingClientRect();
91
- if (!i.height || !i.width) return;
92
- const s = (l) => Math.max(0, Math.min(l, e.limit)), n = s(i.top - e.top + e.from - e.padding);
93
- return { element: t, start: n, end: s(Math.max(n, i.bottom - e.bottom + e.from)) };
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((e) => this.measureSection(e, t)).filter((e) => !!e).sort((e, i) => e.start - i.start);
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 e = 0;
103
- for (const i of this.sections)
104
- if (this.measureSection(i, t) && ++e === 2) return !0;
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, e, i, s) {
108
- const n = this.context.position();
109
- if (n < t.start - o || n > t.end + o || (e > 0 ? n >= t.end - o : n <= t.start + o)) return !1;
110
- this.readingElement = t.element, this.wheelHoldUntil = 0, this.direction = e, this.distance = 0;
111
- const l = this.readingStep(), a = n + Math.max(-l, Math.min(i, l)), h = a >= t.end || a <= t.start;
112
- return s.preventDefault(), this.context.write(Math.max(t.start, Math.min(a, t.end))), h && (this.readingEdge = { element: t.element, direction: e }), !0;
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, e) {
116
- for (const i of t.composedPath()) {
117
- if (i === this.context.container || i === document.body || i === document.documentElement) break;
118
- if (!(i instanceof HTMLElement)) continue;
119
- if (t.type === "wheel" && i.getAttribute("data-vlite-wheel-directions")?.split(" ").includes(e > 0 ? "down" : "up")) return !0;
120
- const s = getComputedStyle(i);
121
- if (!/^(auto|scroll|overlay)$/.test(s.overflowY)) continue;
122
- const n = e > 0 ? i.scrollTop + i.clientHeight < i.scrollHeight - 1 : i.scrollTop > 0;
123
- if (i.scrollHeight > i.clientHeight && n || /^(contain|none)$/.test(s.overscrollBehaviorY)) return !0;
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: e } = this.context;
130
- return ![t, ...e ? [document.body] : []].some((i) => /^(hidden|clip)$/.test(getComputedStyle(i).overflowY));
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, e, i) {
137
- const s = this.context.position();
138
- let n, l, a;
139
- for (const m of i)
140
- if (m.start <= s + o && (n = m), m.start < s - o && (l = m), m.start > s + o) {
141
- a = m;
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 h = n && n.end > n.start + o && s <= n.end + o, r = this.readingStep();
145
- let d, c;
146
- if (e && h && (t > 0 ? s < n.end - o : s > n.start + o) ? (c = n, d = Math.min(n.end, Math.max(n.start, s + t * r))) : (c = t > 0 ? a : l, d = c ? t > 0 ? c.start : c.end : t > 0 ? this.context.limit() : 0), !(Math.abs(d - s) <= o))
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: d,
149
- element: c?.element,
150
- progress: c && c.end > c.start ? (d - c.start) / (c.end - c.start) : 0,
151
- atEnd: !c && t > 0
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, e) {
165
+ move(t, i) {
155
166
  this.cancel(), this.readingElement = void 0;
156
- const i = this.context.position(), s = { frame: 0, direction: e };
157
- this.movement = s;
158
- const n = () => {
159
- if (this.movement !== s) return;
160
- const r = t.element && this.sections.has(t.element) ? this.measureSection(t.element) : void 0, d = r ? r.start + (r.end - r.start) * t.progress : t.atEnd ? this.context.limit() : Math.min(t.position, this.context.limit());
161
- (!t.element || r) && Math.abs(d - this.context.position()) > o && this.context.write(d), this.movement = void 0, r && r.end > r.start + o && (this.readingElement = r.element), this.wheelHoldUntil && (this.wheelHoldUntil = performance.now() + f);
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), n();
175
+ this.context.write(t.position), e();
165
176
  return;
166
177
  }
167
- const l = window.location.href, a = performance.now(), h = (r) => {
168
- if (this.movement !== s) return;
169
- if (document.hidden || window.location.href !== l || t.element && !t.element.isConnected) {
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 d = Math.min(1, (r - a) / 850);
174
- this.context.write(i + (t.position - i) * (1 - (1 - d) ** 3)), d < 1 ? s.frame = requestAnimationFrame(h) : n();
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
- s.frame = requestAnimationFrame(h);
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 e = Math.sign(t.deltaY), i = performance.now();
184
- if (i - this.lastWheel >= f && (this.distance = 0, this.wheelHoldUntil = 0, this.readingEdge = void 0), this.lastWheel = i, this.nestedOwns(t, e)) {
185
- this.cancel(), this.wheelHoldUntil = i + f, this.direction = e, this.distance = 0;
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 a = this.readingEdge, h = this.measureSection(a.element), r = this.context.position(), d = h && (a.direction > 0 ? Math.abs(r - h.end) <= o : Math.abs(r - h.start) <= o);
194
- if (e === a.direction && d) {
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
- const s = t.deltaMode === 1 ? 16 : t.deltaMode === 2 ? Math.max(1, this.context.viewport().bottom - this.context.viewport().top - this.context.padding()) : 1;
201
- if (e === this.direction && i < this.wheelHoldUntil) {
209
+ if (e.consumed) {
202
210
  t.preventDefault();
203
211
  return;
204
212
  }
205
- if (this.wheelHoldUntil = 0, this.movement?.direction === e) {
206
- t.preventDefault(), this.wheelHoldUntil = i + f, this.direction = e, this.distance = 0;
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 a = this.measureSection(this.readingElement);
211
- if (a && this.readWheel(a, e, t.deltaY * s, t)) return;
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) !== e && (this.distance = 0), this.distance += t.deltaY * s, Math.abs(this.distance) < w) {
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 n = this.measure();
219
- if (n.length < 2) return;
226
+ const h = this.measure();
227
+ if (h.length < 2) return;
220
228
  if (!this.movement) {
221
- const a = this.context.position(), h = n.find((r) => a >= r.start - o && a <= r.end + o && (e > 0 ? a < r.end - o : a > r.start + o));
222
- if (h && this.readWheel(h, e, this.distance, t)) return;
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 l = this.destination(e, !1, n);
225
- if (!l) {
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.direction = e, this.distance = 0, this.wheelHoldUntil = i + f, this.move(l, e);
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 e = t.key === "PageDown" || t.key === " " && !t.shiftKey ? 1 : t.key === "PageUp" || t.key === " " && t.shiftKey ? -1 : 0;
234
- if (!e) {
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 n of t.composedPath()) {
239
- if (n === this.context.container) break;
240
- if (n instanceof Element && (n.matches(g) || n.hasAttribute("tabindex") && Number(n.getAttribute("tabindex")) >= 0)) return;
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, e) || this.context.limit() <= o) return;
243
- const i = this.measure();
244
- if (i.length < 2) return;
245
- const s = this.destination(e, !0, i);
246
- s && (t.preventDefault(), !(t.repeat || this.movement?.direction === e) && (this.reset(), this.move(s, e)));
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
- x as ScrollRevealPager
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 (at least 220ms without wheel input). Reversal and keyboard navigation
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
- After a section transition, same-direction wheel input is held for at most
117
- 220ms. Tall-section reading boundaries use the fresh-gesture rule above. Events during this pause do not extend it. Then
118
- small, fractional and varying deltas accumulate toward the normal 12px intent
119
- threshold. A 220ms idle gap also clears the hold; deliberate opposite input
120
- can reverse immediately. No cursor movement is required to resume.
121
- A short momentum tail is absorbed by the pause. Wheel events cannot reliably
122
- distinguish continued finger input from long momentum: a long tail may advance
123
- again after the pause, which avoids indefinitely trapping genuine input.
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
@@ -2,8 +2,8 @@
2
2
  "managedBy": "vlite3",
3
3
  "manifestVersion": 1,
4
4
  "packageName": "vlite3",
5
- "packageVersion": "1.5.42",
6
- "generatedAt": "2026-11-02T14:15:26.241Z",
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": "99b9ec74ee3fe5da50b0603e97d53da48c3759ce42c7814e7fdeaba5833274c0"
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": "5417f062679d541bbd3148f85eb31d2c4c1bbfc0328a8ce5e41e6b9f0ba1ec1d"
342
+ "sha256": "a2e9b8a9b479f13e094c04dee7405d534cc039155c62195e9662650113ccc9ce"
343
343
  },
344
344
  "utilities/search.md": {
345
345
  "sha256": "a3e597b3d0a8da8e4ab3a8537231b19149cda48f204ad5cce36860988341e281"
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "private": false,
4
4
  "description": "A Vue 3 UI component library built with Tailwind CSS.",
5
5
  "license": "MIT",
6
- "version": "1.5.42",
6
+ "version": "1.5.43",
7
7
  "type": "module",
8
8
  "main": "index.js",
9
9
  "module": "index.js",