vlite3 1.5.41 → 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.
@@ -25,8 +25,8 @@ import qe from "../IconPicker.vue.js";
25
25
  /* empty css */
26
26
  /* empty css */
27
27
  /* empty css */
28
- /* empty css */
29
- /* empty css */
28
+ /* empty css */
29
+ /* empty css */
30
30
  import "../../core/config.js";
31
31
  /* empty css */
32
32
  /* empty css */
@@ -1,4 +1,4 @@
1
- import o from "./DropdownMenu3.vue.js";
1
+ import o from "./DropdownMenu2.vue.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b2b8e35e"]]);
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as te, ref as v, shallowRef as ne, watch as oe, computed as h, onMounted as le, onUnmounted as ae, openBlock as C, createElementBlock as L, normalizeClass as re, toDisplayString as I, createCommentVNode as U, createElementVNode as w, createVNode as q, unref as a, normalizeStyle as ie } from "vue";
2
2
  /* empty css */
3
- import se from "./RichTextToolbar.vue.js";
4
- /* empty css */
5
- import de from "./RichTextLinkPopover.vue.js";
6
- /* empty css */
3
+ import se from "./RichTextToolbar2.vue.js";
4
+ /* empty css */
5
+ import de from "./RichTextLinkPopover2.vue.js";
6
+ /* empty css */
7
7
  import { useRichTextImageUpload as ue } from "./composables/useRichTextImageUpload.js";
8
8
  import { useRichTextLinks as ce } from "./composables/useRichTextLinks.js";
9
9
  const fe = ["aria-labelledby", "aria-describedby"], me = ["id", "for"], ve = { class: "rte-wrapper" }, ye = { class: "rte-body-wrap" }, ge = ["id", "contenteditable", "aria-label", "aria-readonly", "aria-disabled", "aria-invalid"], be = ["id"], Se = /* @__PURE__ */ te({
@@ -1,5 +1,5 @@
1
- import o from "./RichTextLinkPopover.vue.js";
2
- /* empty css */
1
+ import o from "./RichTextLinkPopover2.vue.js";
2
+ /* empty css */
3
3
  export {
4
4
  o as default
5
5
  };
@@ -1,5 +1,5 @@
1
- import o from "./RichTextToolbar.vue.js";
2
- /* empty css */
1
+ import o from "./RichTextToolbar2.vue.js";
2
+ /* empty css */
3
3
  export {
4
4
  o as default
5
5
  };
@@ -26,8 +26,8 @@ import "../../icons/IconRegistry.js";
26
26
  /* empty css */
27
27
  /* empty css */
28
28
  /* empty css */
29
- /* empty css */
30
- /* empty css */
29
+ /* empty css */
30
+ /* empty css */
31
31
  import "../../core/config.js";
32
32
  /* empty css */
33
33
  /* empty css */
@@ -5,11 +5,10 @@ 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?;
11
+ private readingEdge?;
13
12
  private context;
14
13
  constructor(context: ScrollRevealContext);
15
14
  register(element: HTMLElement): void;
@@ -17,6 +16,7 @@ export declare class ScrollRevealPager {
17
16
  private configure;
18
17
  reset: () => void;
19
18
  private cancel;
19
+ private wheelGesture;
20
20
  private geometry;
21
21
  private measureSection;
22
22
  private measure;
@@ -25,6 +25,7 @@ export declare class ScrollRevealPager {
25
25
  /** Child scroll owners win, including at a contained overscroll boundary. */
26
26
  private nestedOwns;
27
27
  private enabled;
28
+ private readingStep;
28
29
  private destination;
29
30
  private move;
30
31
  private onWheel;
@@ -1,4 +1,4 @@
1
- const w = "(min-width: 1024px) and (hover: hover) and (pointer: fine)", g = [
1
+ const p = "(min-width: 1024px) and (hover: hover) and (pointer: fine)", g = [
2
2
  "input",
3
3
  "textarea",
4
4
  "select",
@@ -38,18 +38,17 @@ const w = "(min-width: 1024px) and (hover: hover) and (pointer: fine)", g = [
38
38
  "searchbox",
39
39
  "scrollbar",
40
40
  "application"
41
- ].map((p) => `[role~="${p}"]`)
42
- ].join(", "), o = 2, x = 12, f = 220;
43
- class b {
41
+ ].map((u) => `[role~="${u}"]`)
42
+ ].join(", "), o = 2, f = 12, x = 220;
43
+ class w {
44
44
  sections = /* @__PURE__ */ new Set();
45
- desktop = window.matchMedia(w);
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;
51
+ readingEdge;
53
52
  context;
54
53
  constructor(t) {
55
54
  this.context = t, this.desktop.addEventListener("change", this.configure);
@@ -65,15 +64,28 @@ class b {
65
64
  const t = this.sections.size >= 2 && this.desktop.matches;
66
65
  if (!!this.listeners === t || (this.listeners?.abort(), this.listeners = void 0, !t)) return;
67
66
  this.listeners = new AbortController();
68
- const e = this.context.documentRoot ? window : this.context.container, i = { capture: !0, signal: this.listeners.signal };
69
- 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);
70
69
  };
71
70
  reset = () => {
72
- this.cancel(), this.lastWheel = -1 / 0, this.direction = this.distance = 0, this.wheelHoldUntil = 0, this.readingElement = void 0;
71
+ this.cancel(), this.wheel = void 0, this.distance = 0, this.readingElement = void 0, this.readingEdge = void 0;
73
72
  };
74
73
  cancel() {
75
74
  this.movement && (cancelAnimationFrame(this.movement.frame), this.movement = void 0);
76
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
+ }
77
89
  geometry() {
78
90
  const t = this.context.viewport();
79
91
  return {
@@ -84,158 +96,167 @@ class b {
84
96
  limit: this.context.limit()
85
97
  };
86
98
  }
87
- measureSection(t, e = this.geometry()) {
99
+ measureSection(t, i = this.geometry()) {
88
100
  if (!t.isConnected) return;
89
- const i = t.getBoundingClientRect();
90
- if (!i.height || !i.width) return;
91
- const s = (a) => Math.max(0, Math.min(a, e.limit)), n = s(i.top - e.top + e.from - e.padding);
92
- 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)) };
93
105
  }
94
106
  measure() {
95
107
  const t = this.geometry();
96
- 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);
97
109
  }
98
110
  hasPagingStops() {
99
111
  const t = this.geometry();
100
112
  if (t.limit <= o) return !1;
101
- let e = 0;
102
- for (const i of this.sections)
103
- 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;
104
116
  return !1;
105
117
  }
106
- readWheel(t, e, i, s, n = !1) {
107
- const a = this.context.position();
108
- if (a < t.start - o || a > t.end + o || (e > 0 ? a >= t.end - o : a <= t.start + o)) return !1;
109
- this.readingElement = t.element, this.wheelHoldUntil = 0, this.direction = e, this.distance = 0;
110
- const r = a + i, l = r >= t.end || r <= t.start;
111
- return (l || n) && (s.preventDefault(), this.context.write(Math.max(t.start, Math.min(r, t.end))), l && (this.wheelHoldUntil = performance.now() + f)), !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;
112
124
  }
113
125
  /** Child scroll owners win, including at a contained overscroll boundary. */
114
- nestedOwns(t, e) {
115
- for (const i of t.composedPath()) {
116
- if (i === this.context.container || i === document.body || i === document.documentElement) break;
117
- if (!(i instanceof HTMLElement)) continue;
118
- if (t.type === "wheel" && i.getAttribute("data-vlite-wheel-directions")?.split(" ").includes(e > 0 ? "down" : "up")) return !0;
119
- const s = getComputedStyle(i);
120
- if (!/^(auto|scroll|overlay)$/.test(s.overflowY)) continue;
121
- const n = e > 0 ? i.scrollTop + i.clientHeight < i.scrollHeight - 1 : i.scrollTop > 0;
122
- 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;
123
135
  }
124
136
  return !1;
125
137
  }
126
138
  enabled() {
127
139
  if (document.hidden || !this.desktop.matches) return !1;
128
- const { container: t, documentRoot: e } = this.context;
129
- return ![t, ...e ? [document.body] : []].some((i) => /^(hidden|clip)$/.test(getComputedStyle(i).overflowY));
130
- }
131
- destination(t, e, i) {
132
- const s = this.context.position();
133
- let n, a, r;
134
- for (const m of i)
135
- if (m.start <= s + o && (n = m), m.start < s - o && (a = m), m.start > s + o) {
136
- r = m;
140
+ const { container: t, documentRoot: i } = this.context;
141
+ return ![t, ...i ? [document.body] : []].some((s) => /^(hidden|clip)$/.test(getComputedStyle(s).overflowY));
142
+ }
143
+ readingStep() {
144
+ const t = this.context.viewport();
145
+ return Math.max(48, t.bottom - t.top - this.context.padding() - 48);
146
+ }
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;
137
153
  break;
138
154
  }
139
- const l = n && n.end > n.start + o && s <= n.end + o, h = this.context.viewport(), d = Math.max(48, h.bottom - h.top - this.context.padding() - 48);
140
- let u, c;
141
- if (e && l && (t > 0 ? s < n.end - o : s > n.start + o) ? (c = n, u = Math.min(n.end, Math.max(n.start, s + t * d))) : (c = t > 0 ? r : a, u = c?.start ?? (t > 0 ? this.context.limit() : 0)), !(Math.abs(u - 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))
142
158
  return {
143
- position: u,
144
- element: c?.element,
145
- progress: c && c.end > c.start ? (u - c.start) / (c.end - c.start) : 0,
146
- 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
147
163
  };
148
164
  }
149
- move(t, e) {
165
+ move(t, i) {
150
166
  this.cancel(), this.readingElement = void 0;
151
- const i = this.context.position(), s = { frame: 0, direction: e };
152
- this.movement = s;
153
- const n = () => {
154
- if (this.movement !== s) return;
155
- const h = t.element && this.sections.has(t.element) ? this.measureSection(t.element) : void 0, d = h ? h.start + (h.end - h.start) * t.progress : t.atEnd ? this.context.limit() : Math.min(t.position, this.context.limit());
156
- (!t.element || h) && Math.abs(d - this.context.position()) > o && this.context.write(d), this.movement = void 0, 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);
157
173
  };
158
174
  if (this.context.reducedMotion.matches) {
159
- this.context.write(t.position), n();
175
+ this.context.write(t.position), e();
160
176
  return;
161
177
  }
162
- const a = window.location.href, r = performance.now(), l = (h) => {
163
- if (this.movement !== s) return;
164
- if (document.hidden || window.location.href !== a || 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) {
165
181
  this.reset();
166
182
  return;
167
183
  }
168
- const d = Math.min(1, (h - r) / 850);
169
- this.context.write(i + (t.position - i) * (1 - (1 - d) ** 3)), d < 1 ? s.frame = requestAnimationFrame(l) : 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();
170
186
  };
171
- s.frame = requestAnimationFrame(l);
187
+ n.frame = requestAnimationFrame(c);
172
188
  }
173
189
  onWheel = (t) => {
174
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)) {
175
191
  this.movement && this.reset();
176
192
  return;
177
193
  }
178
- const e = Math.sign(t.deltaY), i = performance.now();
179
- if (i - this.lastWheel >= f && (this.distance = 0, this.wheelHoldUntil = 0), this.lastWheel = i, this.nestedOwns(t, e)) {
180
- 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;
181
199
  return;
182
200
  }
183
201
  if (!this.hasPagingStops()) {
184
202
  this.reset();
185
203
  return;
186
204
  }
187
- const s = t.deltaMode === 1 ? 16 : t.deltaMode === 2 ? Math.max(1, this.context.viewport().bottom - this.context.viewport().top - this.context.padding()) : 1;
188
- if (e === this.direction && i < this.wheelHoldUntil) {
205
+ if (this.readingEdge) {
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);
208
+ }
209
+ if (e.consumed) {
189
210
  t.preventDefault();
190
211
  return;
191
212
  }
192
- if (this.wheelHoldUntil = 0, this.movement?.direction === e) {
193
- 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;
194
215
  return;
195
216
  }
196
217
  if (!this.movement && this.readingElement) {
197
- const r = this.measureSection(this.readingElement);
198
- if (r && this.readWheel(r, e, t.deltaY * s, t)) return;
218
+ const c = this.measureSection(this.readingElement);
219
+ if (c && this.readWheel(c, i, n, t)) return;
199
220
  this.readingElement = void 0;
200
221
  }
201
- if (Math.sign(this.distance) !== e && (this.distance = 0), this.distance += t.deltaY * s, Math.abs(this.distance) < x) {
222
+ if (Math.sign(this.distance) !== i && (this.distance = 0), this.distance += n, Math.abs(this.distance) < f) {
202
223
  t.preventDefault();
203
224
  return;
204
225
  }
205
- const n = this.measure();
206
- if (n.length < 2) return;
226
+ const h = this.measure();
227
+ if (h.length < 2) return;
207
228
  if (!this.movement) {
208
- const r = this.context.position(), l = n.find((h) => r >= h.start - o && r <= h.end + o && (e > 0 ? r < h.end - o : r > h.start + o));
209
- if (l && this.readWheel(l, e, this.distance, t, this.distance !== t.deltaY * s)) 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;
210
231
  }
211
- const a = this.destination(e, !1, n);
212
- if (!a) {
232
+ const d = this.destination(i, !1, h);
233
+ if (!d) {
213
234
  this.distance = 0;
214
235
  return;
215
236
  }
216
- t.preventDefault(), this.direction = e, this.distance = 0, this.wheelHoldUntil = i + f, this.move(a, e);
237
+ t.preventDefault(), this.distance = 0, e.consumed = !0, this.move(d, i);
217
238
  };
218
239
  onKeydown = (t) => {
219
240
  if (this.context.syncNavigation(), !this.enabled() || t.defaultPrevented || t.ctrlKey || t.metaKey || t.altKey) return;
220
- const e = t.key === "PageDown" || t.key === " " && !t.shiftKey ? 1 : t.key === "PageUp" || t.key === " " && t.shiftKey ? -1 : 0;
221
- 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) {
222
243
  ["ArrowUp", "ArrowDown", "Home", "End", "Tab", "Escape"].includes(t.key) && this.reset();
223
244
  return;
224
245
  }
225
- for (const n of t.composedPath()) {
226
- if (n === this.context.container) break;
227
- 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;
228
249
  }
229
- if (this.nestedOwns(t, e) || this.context.limit() <= o) return;
230
- const i = this.measure();
231
- if (i.length < 2) return;
232
- const s = this.destination(e, !0, i);
233
- 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)));
234
255
  };
235
256
  destroy() {
236
257
  this.reset(), this.listeners?.abort(), this.desktop.removeEventListener("change", this.configure), this.sections.clear();
237
258
  }
238
259
  }
239
260
  export {
240
- b as ScrollRevealPager
261
+ w as ScrollRevealPager
241
262
  };
@@ -87,3 +87,85 @@ again requires actual vertical overflow. The regression suite checks that an
87
87
  auto-overflow wrapper without vertical range resolves to the document, and
88
88
  becomes eligible after vertical growth. Async growth requires a Vue update to
89
89
  transfer existing registrations. This supersedes the earlier ownership finding.
90
+
91
+
92
+ ## Tall-section content preservation — 2026-11-02
93
+
94
+ The player section's lower feature cards are inside its registered stop. The
95
+ pager previously delegated middle-of-section wheel events to the browser,
96
+ leaving asynchronous/accelerated native scrolling able to pass the reading
97
+ boundary; the fixed hold also released long momentum after 220ms. Reverse
98
+ entry selected the previous heading, skipping its lower reading content.
99
+
100
+ Accepted wheel events now move progressively within the current section's
101
+ measured start/end. Every reading tick is prevented and written once, bounded
102
+ to one viewport step with overlap. Arrival retains the measured section as
103
+ the reading owner. Reverse entry targets the previous section's bottom. At
104
+ a reading edge, further same-direction input is absorbed until 220ms of idle
105
+ separates a fresh gesture. Reversal, keyboard input, lifecycle resets and a
106
+ changed reading range release this edge state. Short-section paging keeps its
107
+ existing bounded hold. No timers, extra listeners or animation loop added.
108
+
109
+ All 30 focused tests pass, including full down/up reading sequences, oversized
110
+ deltas, long momentum tails, idle restart, reversal, late content growth,
111
+ keyboard and reduced motion. `git diff --check` passes. The earlier continuous
112
+ tiny-hero test now requires the 10px remainder to be shown and a fresh gesture
113
+ to leave it, matching the requested boundary contract.
114
+
115
+ No build or physical-browser/trackpad check was performed for this change.
116
+ Non-cancelable/native-owned gestures, touch and narrow layouts still follow
117
+ the existing native fallback; JavaScript cannot cancel a non-cancelable event.
118
+ Gesture separation is based on wheel-event idle, not a hardware momentum flag.
119
+ This supersedes earlier descriptions of native middle-of-section reading and
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.
@@ -105,17 +105,23 @@ scrolling is native. Touch input is always native; no touchmove listener is used
105
105
 
106
106
  - Deliberate vertical wheel intent accumulates before advancing to the next stop.
107
107
  Short sections align their top after the scroller's effective `scroll-padding-top`.
108
- - Tall sections retain native progressive wheel scrolling between their start and
109
- end. A gesture reaching an edge is held there; fresh intent advances onward.
108
+ - Tall sections retain progressive reading between their start and end. The pager
109
+ consumes accepted vertical wheel ticks and clamps each movement to that range,
110
+ with at most one viewport-sized step (48px overlap). Downward entry aligns the
111
+ top; upward entry aligns the bottom, then reads toward the top.
112
+ At a reading boundary, same-direction momentum remains held until a fresh
113
+ gesture. Reversal and keyboard navigation
114
+ remain available immediately. Late content growth extends the reading range.
110
115
  - A transition owns one destination; input during movement cannot queue pages.
111
- After arriving (or reaching a tall-section edge), same-direction wheel input
112
- is held for at most 220ms. Events during this pause do not extend it. Then
113
- small, fractional and varying deltas accumulate toward the normal 12px intent
114
- threshold. A 220ms idle gap also clears the hold; deliberate opposite input
115
- can reverse immediately. No cursor movement is required to resume.
116
- A short momentum tail is absorbed by the pause. Wheel events cannot reliably
117
- distinguish continued finger input from long momentum: a long tail may advance
118
- 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.
119
125
  - PageDown, PageUp, Space and Shift+Space page between stops, using viewport-sized
120
126
  reading steps inside tall sections. Held-key repeats do not chain transitions.
121
127
  Form controls, links, contenteditable, ARIA widgets and focusable controls retain
@@ -140,7 +146,7 @@ reassign the owner.
140
146
 
141
147
  Wheel input first checks that two rendered stops remain available, stopping the eligibility scan
142
148
  as soon as two are found. Full section geometry is measured after deliberate intent for navigation decisions, never across every RAF
143
- frame. Native tall-section reading remeasures only its current section on wheel input. Movement writes only scroll position and corrects its original target once
149
+ frame. Tall-section reading remeasures its current section on wheel input. Movement writes only scroll position and corrects its original target once
144
150
  after settlement if layout shifted. Reveal and paging state are separate inside
145
151
  the shared coordinator.
146
152
 
@@ -2,8 +2,8 @@
2
2
  "managedBy": "vlite3",
3
3
  "manifestVersion": 1,
4
4
  "packageName": "vlite3",
5
- "packageVersion": "1.5.41",
6
- "generatedAt": "2026-11-02T14:04:14.594Z",
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": "05f1139759cf4ba38f5b941660bb1f15eef51a73bc8e9651176e59944a7fda03"
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": "9be54d6a3158d90f44adc075eb327b0fe7e9c4b537c937ce414bfee9745dcece"
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.41",
6
+ "version": "1.5.43",
7
7
  "type": "module",
8
8
  "main": "index.js",
9
9
  "module": "index.js",