@livx.cc/bare-v3 0.1.0-alpha.110 → 0.1.0-alpha.112
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/dist/manifest.json +1 -1
- package/dist/references/motion.md +1 -1
- package/package.json +1 -1
package/dist/manifest.json
CHANGED
|
@@ -39,7 +39,7 @@ The playground's motion studio shows shared geometry, real DOM reordering, direc
|
|
|
39
39
|
|
|
40
40
|
For scroll entrances, default to once per page visit. Observe a stationary section wrapper, animate its children, remember entered sections and unobserve them after entry. Do not reset them when scrolling away, returning to the tab or restoring the page. Repeat only a specifically chosen interaction or an explicit Replay action. Prepare the starting visual state before the first paint; waiting for fonts or starting a hidden frame only after intersection causes visible content to disappear and reappear. Keep content visible if setup cannot run. Reduced motion and keyboard focus must expose waiting content immediately. For the complete once-only lifecycle recipe, read scroll-entry.md on demand. The landing-studio composition demonstrates the policy.
|
|
41
41
|
|
|
42
|
-
For an expanding card beside text: exit the neighboring copy before moving into its space; reveal the copy only after the return layout completes. Guard each completion against newer input. FLIP preserves geometry but does not prevent sibling intersections.
|
|
42
|
+
For an expanding card beside text: exit the neighboring copy before moving into its space; reveal the copy only after the return layout completes. Guard each completion against newer input. FLIP preserves geometry but does not prevent sibling intersections. The layout helper scales changed boxes: when an aspect ratio changes, that also distorts text and artwork during the transition. Prefer layout for stable-size reordering. The studio story card instead owns a bounded dimension animation so its text reflows and artwork stays undistorted; it cancels on interruption/reduced motion and removes temporary constraints at completion. This authored flex-card technique is not a general shared resize API.
|
|
43
43
|
|
|
44
44
|
For view replacement: start an exit; guard its completion with a monotonically increasing request id; if it still owns the transition, update content and enter. Rapid navigation must not commit an obsolete view. Do not await a confirmation animation before enabling the next action.
|
|
45
45
|
|