vlite3 1.5.44 → 1.5.46
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/components/CategoryManager/CategoryManager2.vue.js +3 -3
- package/components/Dropdown/DropdownMenu.vue.js +1 -1
- package/components/Form/{AccordionView.vue.js → AccordionView2.vue.js} +1 -1
- package/components/Form/index2.vue.js +1 -1
- package/components/RichTextEditor/RichTextEditor.vue.js +4 -4
- package/components/RichTextEditor/RichTextLinkPopover3.vue.js +2 -2
- package/components/RichTextEditor/RichTextToolbar3.vue.js +2 -2
- package/components/Screen/ScreenFilter.vue.js +3 -3
- package/directives/ScrollReveal/ScrollRevealMotion.d.ts +4 -0
- package/directives/ScrollReveal/ScrollRevealMotion.js +68 -56
- package/directives/ScrollReveal/ScrollRevealOptions.d.ts +1 -0
- package/directives/ScrollReveal/ScrollRevealOptions.js +5 -5
- package/docs/ScrollRevealReleaseAudit.md +52 -0
- package/docs/components/scroll-reveal.md +12 -7
- package/docs-manifest.json +4 -4
- package/package.json +1 -1
- /package/components/Dropdown/{DropdownMenu2.vue.js → DropdownMenu3.vue.js} +0 -0
- /package/components/RichTextEditor/{RichTextLinkPopover.vue.js → RichTextLinkPopover2.vue.js} +0 -0
- /package/components/RichTextEditor/{RichTextToolbar.vue.js → RichTextToolbar2.vue.js} +0 -0
|
@@ -22,11 +22,11 @@ import "@vueuse/core";
|
|
|
22
22
|
/* empty css */
|
|
23
23
|
import qe from "../IconPicker.vue.js";
|
|
24
24
|
/* empty css */
|
|
25
|
-
/* empty css
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as g, computed as d, openBlock as n, createElementBlock as R, createElementVNode as x, createBlock as s, withCtx as k, createTextVNode as B, toDisplayString as I, createCommentVNode as y, unref as l } from "vue";
|
|
2
2
|
import T from "./TableView.vue.js";
|
|
3
|
-
import C from "./
|
|
3
|
+
import C from "./AccordionView2.vue.js";
|
|
4
4
|
import U from "../Label.vue.js";
|
|
5
5
|
import z from "../Button.vue.js";
|
|
6
6
|
import { useCustomFieldRows as N } from "./composables/useCustomFieldRows.js";
|
|
@@ -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 "./
|
|
4
|
-
/* empty css
|
|
5
|
-
import de from "./
|
|
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({
|
|
@@ -23,11 +23,11 @@ import "iconify-icon-picker/style.css";
|
|
|
23
23
|
import "../../icons/IconRegistry.js";
|
|
24
24
|
/* empty css */
|
|
25
25
|
/* empty css */
|
|
26
|
-
/* empty css
|
|
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 */
|
|
@@ -4,6 +4,9 @@ import { ScrollRevealOptions } from './ScrollRevealOptions';
|
|
|
4
4
|
export declare class ScrollRevealMotion {
|
|
5
5
|
private records;
|
|
6
6
|
private observer?;
|
|
7
|
+
private lifetime;
|
|
8
|
+
private lastPosition;
|
|
9
|
+
private upward;
|
|
7
10
|
private context;
|
|
8
11
|
constructor(context: ScrollRevealContext);
|
|
9
12
|
register(element: HTMLElement, options: Required<ScrollRevealOptions>): void;
|
|
@@ -11,6 +14,7 @@ export declare class ScrollRevealMotion {
|
|
|
11
14
|
private cancel;
|
|
12
15
|
show(target: Node, descendants?: boolean, only?: HTMLElement): void;
|
|
13
16
|
refresh(): void;
|
|
17
|
+
private onScroll;
|
|
14
18
|
private onEntries;
|
|
15
19
|
destroy(): void;
|
|
16
20
|
}
|
|
@@ -1,92 +1,104 @@
|
|
|
1
|
-
class
|
|
1
|
+
class w {
|
|
2
2
|
records = /* @__PURE__ */ new Map();
|
|
3
3
|
observer;
|
|
4
|
+
lifetime = new AbortController();
|
|
5
|
+
lastPosition;
|
|
6
|
+
upward = !1;
|
|
4
7
|
context;
|
|
5
|
-
constructor(
|
|
6
|
-
this.context =
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
constructor(e) {
|
|
9
|
+
if (this.context = e, this.lastPosition = e.position(), typeof IntersectionObserver > "u" || typeof Element.prototype.animate != "function") return;
|
|
10
|
+
(e.documentRoot ? document : e.container).addEventListener("scroll", this.onScroll, { passive: !0, signal: this.lifetime.signal }), this.observer = new IntersectionObserver(this.onEntries, {
|
|
11
|
+
root: e.documentRoot ? null : e.container,
|
|
12
|
+
threshold: Array.from({ length: 101 }, (t, i) => i / 100)
|
|
13
|
+
});
|
|
10
14
|
}
|
|
11
|
-
register(
|
|
12
|
-
const t = this.records.get(
|
|
15
|
+
register(e, s) {
|
|
16
|
+
const t = this.records.get(e);
|
|
13
17
|
this.cancel(t);
|
|
14
|
-
const
|
|
15
|
-
this.records.set(
|
|
18
|
+
const i = e.getBoundingClientRect(), o = this.context.viewport(), n = t?.seen ?? (i.width > 0 && i.height > 0 && i.top < o.bottom);
|
|
19
|
+
this.records.set(e, {
|
|
20
|
+
options: s,
|
|
21
|
+
seen: n,
|
|
22
|
+
entered: t?.entered ?? !!n,
|
|
23
|
+
intersecting: t?.intersecting ?? !1
|
|
24
|
+
}), this.observer && !n ? this.observer.observe(e) : this.observer?.unobserve(e);
|
|
16
25
|
}
|
|
17
|
-
unregister(
|
|
18
|
-
this.cancel(this.records.get(
|
|
26
|
+
unregister(e) {
|
|
27
|
+
this.cancel(this.records.get(e)), this.records.delete(e), this.observer?.unobserve(e);
|
|
19
28
|
}
|
|
20
|
-
cancel(
|
|
21
|
-
const s =
|
|
22
|
-
s && (s.onfinish = s.oncancel = null, s.cancel(),
|
|
29
|
+
cancel(e) {
|
|
30
|
+
const s = e?.animation;
|
|
31
|
+
s && (s.onfinish = s.oncancel = null, s.cancel(), e.animation = void 0);
|
|
23
32
|
}
|
|
24
|
-
show(
|
|
25
|
-
const
|
|
26
|
-
for (const [
|
|
27
|
-
(
|
|
33
|
+
show(e, s = !1, t) {
|
|
34
|
+
const i = t && this.records.get(t), o = t ? i ? [[t, i]] : [] : this.records;
|
|
35
|
+
for (const [n, c] of o)
|
|
36
|
+
(n.contains(e) || s && e.contains(n)) && (this.cancel(c), c.seen = c.entered = !0, this.observer?.unobserve(n));
|
|
28
37
|
}
|
|
29
38
|
refresh() {
|
|
30
|
-
const
|
|
39
|
+
const e = this.context.viewport();
|
|
31
40
|
for (const [s, t] of this.records) {
|
|
32
41
|
this.cancel(t);
|
|
33
|
-
const
|
|
34
|
-
|
|
42
|
+
const i = s.getBoundingClientRect(), o = i.width > 0 && i.height > 0;
|
|
43
|
+
(o && i.bottom > e.top && i.top < e.bottom || o && i.top < e.bottom) && (t.seen = t.entered = !0, this.observer?.unobserve(s));
|
|
35
44
|
}
|
|
36
45
|
}
|
|
37
|
-
|
|
46
|
+
onScroll = () => {
|
|
47
|
+
const e = this.context.position();
|
|
48
|
+
if (e === this.lastPosition) return;
|
|
49
|
+
const s = this.upward;
|
|
50
|
+
this.upward = e < this.lastPosition, this.lastPosition = e, this.upward && !s && this.records.forEach((t, i) => {
|
|
51
|
+
this.cancel(t), t.intersecting && (t.seen = t.entered = !0, this.observer?.unobserve(i));
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
onEntries = (e) => {
|
|
38
55
|
let s = 0;
|
|
39
|
-
for (const t of
|
|
40
|
-
const
|
|
41
|
-
if (!
|
|
42
|
-
const { options:
|
|
43
|
-
if (!t.isIntersecting)
|
|
44
|
-
|
|
56
|
+
for (const t of e) {
|
|
57
|
+
const i = t.target, o = this.records.get(i);
|
|
58
|
+
if (!o || !i.isConnected) continue;
|
|
59
|
+
const { options: n } = o;
|
|
60
|
+
if (o.intersecting = t.isIntersecting, !t.isIntersecting) continue;
|
|
61
|
+
if (this.onScroll(), this.upward) {
|
|
62
|
+
this.cancel(o), o.seen = o.entered = !0, this.observer?.unobserve(i);
|
|
45
63
|
continue;
|
|
46
64
|
}
|
|
47
|
-
const c = t.rootBounds,
|
|
48
|
-
if (
|
|
49
|
-
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
const
|
|
53
|
-
if (!this.context.canReveal() || !
|
|
54
|
-
const
|
|
55
|
-
|
|
65
|
+
const c = t.rootBounds, f = c && t.boundingClientRect.height > 0 && t.boundingClientRect.width > 0 ? Math.min(1, c.height / t.boundingClientRect.height) * Math.min(1, c.width / t.boundingClientRect.width) : 1;
|
|
66
|
+
if (o.seen || t.intersectionRatio + 0.01 < Math.min(n.viewFactor, f)) continue;
|
|
67
|
+
o.seen = !0;
|
|
68
|
+
const g = o.entered;
|
|
69
|
+
o.entered = !0, this.observer?.unobserve(i);
|
|
70
|
+
const m = this.context.viewport();
|
|
71
|
+
if (!this.context.canReveal() || !n.mobile && !this.context.finePointer.matches || t.boundingClientRect.top < m.top || i.contains(document.activeElement)) continue;
|
|
72
|
+
const l = Array.from(i.querySelectorAll("img"));
|
|
73
|
+
i instanceof HTMLImageElement && l.push(i);
|
|
56
74
|
let h = !0;
|
|
57
|
-
for (const r of
|
|
75
|
+
for (const r of l)
|
|
58
76
|
(!r.complete || r.naturalWidth === 0) && (h = !1, r.loading = "eager", r.decode?.().catch(() => {
|
|
59
77
|
}));
|
|
60
78
|
if (!h) continue;
|
|
61
|
-
const
|
|
79
|
+
const v = n.useDelay === "always" || n.useDelay === "once" && !g || n.useDelay === "onload" && document.readyState !== "complete" ? n.delay : 0, d = n.origin === "left" || n.origin === "top" ? `calc(-1 * ${n.distance})` : n.distance, b = n.origin === "left" || n.origin === "right" ? `translateX(${d})` : `translateY(${d})`, a = getComputedStyle(i), u = a.transform === "none" ? "" : a.transform;
|
|
62
80
|
try {
|
|
63
|
-
this.cancel(
|
|
64
|
-
const r =
|
|
65
|
-
{ opacity:
|
|
81
|
+
this.cancel(o);
|
|
82
|
+
const r = i.animate([
|
|
83
|
+
{ opacity: n.opacity, transform: `${u} ${b} scale(${n.scale === 0 ? 2e-4 : n.scale})` },
|
|
66
84
|
{ opacity: a.opacity, transform: u || "none" }
|
|
67
85
|
], {
|
|
68
|
-
duration:
|
|
69
|
-
delay: Math.min(1e3,
|
|
70
|
-
easing:
|
|
86
|
+
duration: n.duration,
|
|
87
|
+
delay: Math.min(1e3, v + s++ * n.interval),
|
|
88
|
+
easing: n.easing,
|
|
71
89
|
fill: "backwards"
|
|
72
90
|
});
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
if (r.onfinish = r.oncancel = null, i.animation = void 0, e.reset) {
|
|
76
|
-
const m = o.getBoundingClientRect(), g = this.context.viewport();
|
|
77
|
-
(m.bottom <= g.top || m.top >= g.bottom) && (i.seen = !1);
|
|
78
|
-
}
|
|
79
|
-
e.cleanup && r.cancel();
|
|
80
|
-
}
|
|
91
|
+
o.animation = r, r.onfinish = r.oncancel = () => {
|
|
92
|
+
o.animation === r && (r.onfinish = r.oncancel = null, o.animation = void 0, n.cleanup && r.cancel());
|
|
81
93
|
};
|
|
82
94
|
} catch {
|
|
83
95
|
}
|
|
84
96
|
}
|
|
85
97
|
};
|
|
86
98
|
destroy() {
|
|
87
|
-
this.observer?.disconnect(), this.records.forEach((
|
|
99
|
+
this.lifetime.abort(), this.observer?.disconnect(), this.records.forEach((e) => this.cancel(e)), this.records.clear();
|
|
88
100
|
}
|
|
89
101
|
}
|
|
90
102
|
export {
|
|
91
|
-
|
|
103
|
+
w as ScrollRevealMotion
|
|
92
104
|
};
|
|
@@ -7,6 +7,7 @@ export interface ScrollRevealOptions {
|
|
|
7
7
|
origin?: 'top' | 'right' | 'bottom' | 'left';
|
|
8
8
|
opacity?: number;
|
|
9
9
|
scale?: number;
|
|
10
|
+
/** @deprecated Reveals play once per mounted element; repeat is disabled. */
|
|
10
11
|
reset?: boolean;
|
|
11
12
|
viewFactor?: number;
|
|
12
13
|
mobile?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const a = {
|
|
2
|
-
distance: "
|
|
3
|
-
duration:
|
|
4
|
-
delay:
|
|
5
|
-
easing: "cubic-bezier(0.
|
|
2
|
+
distance: "55px",
|
|
3
|
+
duration: 400,
|
|
4
|
+
delay: 0,
|
|
5
|
+
easing: "cubic-bezier(0.4, 0, 0, 1)",
|
|
6
6
|
origin: "bottom",
|
|
7
7
|
opacity: 0,
|
|
8
8
|
scale: 1,
|
|
@@ -20,7 +20,7 @@ function s(i) {
|
|
|
20
20
|
typeof n == "number" && Number.isFinite(n) && n >= 0 && (t[o] = o === "opacity" || o === "viewFactor" ? Math.min(1, n) : n);
|
|
21
21
|
}
|
|
22
22
|
t.viewFactor = Math.round(t.viewFactor * 100) / 100;
|
|
23
|
-
for (const o of ["
|
|
23
|
+
for (const o of ["mobile", "cleanup"])
|
|
24
24
|
typeof e[o] == "boolean" && (t[o] = e[o]);
|
|
25
25
|
return ["top", "right", "bottom", "left"].includes(e.origin) && (t.origin = e.origin), ["always", "once", "onload"].includes(e.useDelay) && (t.useDelay = e.useDelay), typeof e.distance == "string" && typeof CSS < "u" && typeof CSS.supports == "function" && CSS.supports("transform", `translateX(${e.distance})`) && (t.distance = e.distance), typeof e.easing == "string" && typeof CSS < "u" && typeof CSS.supports == "function" && CSS.supports("animation-timing-function", e.easing) && (t.easing = e.easing), t;
|
|
26
26
|
}
|
|
@@ -1,5 +1,57 @@
|
|
|
1
1
|
# VLite3 scroll implementation review — 2026-11-02
|
|
2
2
|
|
|
3
|
+
## Small reveal speed adjustment — 2026-11-04
|
|
4
|
+
|
|
5
|
+
Default reveal duration shortened from 450ms to 400ms. Updated documentation and
|
|
6
|
+
existing default/invalid-input expectations. Final source audit: zero delay,
|
|
7
|
+
explicit duration overrides, one-time downward behavior and paging are unchanged.
|
|
8
|
+
No new state, lifecycle, accessibility or performance paths were introduced.
|
|
9
|
+
`git diff --check` passed. Tests and browser checks were not run under the
|
|
10
|
+
repository's explicit-approval rule; perceived animation speed remains unverified.
|
|
11
|
+
|
|
12
|
+
## Faster one-time downward reveals — 2026-11-03
|
|
13
|
+
|
|
14
|
+
Final review follow-up: fixed a partial-visibility reversal edge case. A target
|
|
15
|
+
below its configured viewFactor could remain unvisited if upward reversal did
|
|
16
|
+
not cross an observer threshold; its next downward threshold crossing could then
|
|
17
|
+
animate. Records now retain the observer's intersection state. Upward reversal
|
|
18
|
+
marks intersecting targets visited and releases observation while cancelling
|
|
19
|
+
effects. This reuses observer data without measuring layout on scroll. Added a
|
|
20
|
+
regression source that reverses below viewFactor without delivering another
|
|
21
|
+
observer callback, then checks that subsequent downward input cannot reveal it.
|
|
22
|
+
|
|
23
|
+
Reviewed defaults/normalization, registration updates, observer delivery,
|
|
24
|
+
up/down reversal, focus/history/resource refresh, nested/document ownership and
|
|
25
|
+
destroy cleanup. No further concrete source findings remain in the latest reveal
|
|
26
|
+
change. `git diff --check` passes. Runtime tests and browser acceptance remain
|
|
27
|
+
unperformed under the explicit-approval rule; this is not runtime certification.
|
|
28
|
+
|
|
29
|
+
Default decorative reveals now take 450ms with no initial delay (previously
|
|
30
|
+
800ms plus 200ms). Explicit duration/delay options still apply. Each mounted
|
|
31
|
+
element is visited once; legacy `reset` input normalizes to false and the motion
|
|
32
|
+
engine never rearms visited records. Upward entries are marked visited and shown
|
|
33
|
+
without animation. A passive listener on the actual scroll owner tracks direction;
|
|
34
|
+
upward reversal cancels delayed and active effects. Observer callbacks also sample
|
|
35
|
+
position so direction does not depend on scroll-event delivery order. Initially
|
|
36
|
+
visible/restored content, focus, navigation and reduced-motion exclusions retain
|
|
37
|
+
their existing behavior. Section paging timing is unchanged.
|
|
38
|
+
|
|
39
|
+
Final source audit: one existing per-container motion controller owns direction
|
|
40
|
+
and reveal history. No per-element listeners, additional observers, timers or
|
|
41
|
+
frame loops were introduced. Direction tracking costs constant work per scroll;
|
|
42
|
+
only upward reversal scans records to cancel active effects. Observer targets
|
|
43
|
+
are released after the first visit. Destruction aborts the listener and cancels
|
|
44
|
+
animations. Registration updates preserve visited history. The once-only scope
|
|
45
|
+
is the mounted lifetime, not persistent history across remounts or reloads.
|
|
46
|
+
The demo and option documentation now describe one-time downward behavior;
|
|
47
|
+
`reset` remains a deprecated accepted option with no repeat behavior.
|
|
48
|
+
|
|
49
|
+
Regression sources cover faster defaults, ignored repeat input, update/focus
|
|
50
|
+
history, upward suppression and cancellation for document and nested owners.
|
|
51
|
+
Validation is source review and `git diff --check`; tests, build, typecheck,
|
|
52
|
+
lint, dev server and browser interaction were not run under the repository's
|
|
53
|
+
explicit-approval rule. Physical animation timing remains unverified.
|
|
54
|
+
|
|
3
55
|
Scope: VLite3 only, starting from local version 1.5.40. Reviewed the public
|
|
4
56
|
`vScrollReveal` directive, options, container coordinator, reveal observer/WAAPI
|
|
5
57
|
lifecycle, section pager, Carousel wheel integration, shared scroll CSS, exports,
|
|
@@ -41,16 +41,16 @@ rotation, timelines and other third-party-specific options are outside this API.
|
|
|
41
41
|
| Option | Default | Native behavior |
|
|
42
42
|
| :--- | :--- | :--- |
|
|
43
43
|
| `distance` | `'50px'` | Valid CSS translation length, including CSS calculations. |
|
|
44
|
-
| `duration` | `
|
|
45
|
-
| `delay` | `
|
|
44
|
+
| `duration` | `400` | Nonnegative finite animation duration, in milliseconds. |
|
|
45
|
+
| `delay` | `0` | Nonnegative finite entrance delay, in milliseconds. |
|
|
46
46
|
| `easing` | `'cubic-bezier(0.5, 0, 0, 1)'` | Valid CSS animation timing function. |
|
|
47
47
|
| `origin` | `'bottom'` | `'top'`, `'right'`, `'bottom'` or `'left'`. |
|
|
48
48
|
| `opacity` | `0` | Starting opacity, clamped to 0–1; finishes at the authored opacity. |
|
|
49
49
|
| `scale` | `1` | Nonnegative starting scale; zero uses a small nonzero scale to keep transforms interpolable. Authored transforms are preserved. |
|
|
50
|
-
| `reset` | `false` |
|
|
50
|
+
| `reset` | `false` | Deprecated; ignored. Reveals play once per mounted element. |
|
|
51
51
|
| `viewFactor` | `0` | Visible fraction, clamped to 0–1 and rounded to a percentage. For oversized elements it is limited to the fraction that fits in the scroll viewport. |
|
|
52
52
|
| `mobile` | `true` | When false, decorative reveal requires a hovering fine pointer. |
|
|
53
|
-
| `cleanup` | `false` | Explicitly cancel the completed browser effect to release it. Both values restore authored styles after completion; neither erases the mounted lifetime's seen state
|
|
53
|
+
| `cleanup` | `false` | Explicitly cancel the completed browser effect to release it. Both values restore authored styles after completion; neither erases the mounted lifetime's seen state. |
|
|
54
54
|
| `useDelay` | `'always'` | `'always'`: every entrance; `'once'`: the first entrance in this mounted lifetime; `'onload'`: only while the document has not finished loading. |
|
|
55
55
|
| `interval` | `0` | Stagger eligible entrances in the same observer delivery, in milliseconds. This is a local batch, not a persistent document-wide sequence. |
|
|
56
56
|
|
|
@@ -61,8 +61,8 @@ entrances during fast scrolling. There is no global animation sequence.
|
|
|
61
61
|
<div v-for="item in items" :key="item.id" v-scroll-reveal="{ interval: 70, delay: 0 }">
|
|
62
62
|
{{ item.label }}
|
|
63
63
|
</div>
|
|
64
|
-
<div v-scroll-reveal="{
|
|
65
|
-
Reveal
|
|
64
|
+
<div v-scroll-reveal="{ distance: '24px' }">
|
|
65
|
+
Reveal once on the first downward visit
|
|
66
66
|
</div>
|
|
67
67
|
```
|
|
68
68
|
|
|
@@ -170,7 +170,7 @@ and anchors retain ownership; there is no router dependency or history mutation.
|
|
|
170
170
|
## Manual reference
|
|
171
171
|
|
|
172
172
|
The [playground demo](../../src/playground/demos/ScrollRevealDemo.vue) includes basic
|
|
173
|
-
and directional reveals, batch stagger,
|
|
173
|
+
and directional reveals, batch stagger, one-time reveals, short stops, tall reading content
|
|
174
174
|
and a contained nested panel at `/components/scroll-reveal`.
|
|
175
175
|
|
|
176
176
|
## SSR and hydration contract
|
|
@@ -198,3 +198,8 @@ browser globals, including concurrent plain and `:snap` bindings. This does not
|
|
|
198
198
|
certify other exports or third-party dependencies imported by the package root.
|
|
199
199
|
Production bundle imports, streamed/async hydration and browser restoration still
|
|
200
200
|
need runtime verification with the consuming application's build.
|
|
201
|
+
|
|
202
|
+
Reveals run only on the first downward visit during an element’s mounted lifetime.
|
|
203
|
+
Upward entries show authored content immediately and count as visited. Changing
|
|
204
|
+
direction upward cancels active or delayed reveals. Explicit duration and delay
|
|
205
|
+
options still override the faster defaults; section paging timing is independent.
|
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-
|
|
5
|
+
"packageVersion": "1.5.46",
|
|
6
|
+
"generatedAt": "2026-11-03T22:56:46.818Z",
|
|
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": "47a76105b55d9cd9869b44dbba64954535de7d6b90f625f33d41dcf79704c3f2"
|
|
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": "5489aa503546c27a3201929470465c274092e1986661c9b2cfcd0bae9b5a22dd"
|
|
343
343
|
},
|
|
344
344
|
"utilities/search.md": {
|
|
345
345
|
"sha256": "a3e597b3d0a8da8e4ab3a8537231b19149cda48f204ad5cce36860988341e281"
|
package/package.json
CHANGED
|
File without changes
|
/package/components/RichTextEditor/{RichTextLinkPopover.vue.js → RichTextLinkPopover2.vue.js}
RENAMED
|
File without changes
|
|
File without changes
|