Skip to content

Comments

[pull] main from motiondivision:main#197

Merged
pull[bot] merged 26 commits intocode:mainfrom
motiondivision:main
Jan 18, 2026
Merged

[pull] main from motiondivision:main#197
pull[bot] merged 26 commits intocode:mainfrom
motiondivision:main

Conversation

@pull
Copy link

@pull pull bot commented Jan 18, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

mattgperry and others added 26 commits January 13, 2026 15:32
Introduces a new `animateLayout` function that enables FLIP-style layout animations
without React. Key features:

- Automatic before/after snapshot detection
- Enter/exit animations with `.enter()` and `.exit()` builder methods
- Shared element transitions via `data-layout-id` attribute
- Crossfade support for elements with matching layout IDs
- Scale correction for border-radius and box-shadow

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Refactored animateLayout to leverage the projection system's existing
snapshot mechanism rather than using raw getBoundingClientRect. This
eliminates duplicate measurements and ensures proper transform-aware
measurements via willUpdate().

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Documents bug where subsequent animateLayout calls on the same element
result in instant changes instead of animated transitions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove detectMutations, use simple before/after element comparison
- Remove unnecessary context checks with early return
- Simplify shared element handling (remove isPresent assignments)
- Clean up shared() method signature

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@pull pull bot locked and limited conversation to collaborators Jan 18, 2026
@pull pull bot added the ⤵️ pull label Jan 18, 2026
@pull pull bot merged commit eab3b0e into code:main Jan 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant