Skip to content

0.6.0

Choose a tag to compare

@DorianMazur DorianMazur released this 17 Sep 14:29
· 69 commits to main since this release

Features

  • Add useRevealStyle and scoped declarative Enter/Exit reveals, with safe staggering for dynamic lists, horizontal/vertical translation, scaling, and reduced-motion support. Presentation-scoped reveals follow their retained owner, including its resting endpoint. (6709b4c)
  • Add presentationProgress to useSharedElementPresentation: an owner-specific progress value that remains stable during unrelated transitions. (7ad497e)
  • Add screenFade and keepVisible to ChoreographyScreen for configurable screen crossfades and persistent backdrops. (85514ac, 5c8f64b)
  • Support duration-based springs with duration and dampingRatio, including return and interactive settlement. (84a1ed4)
  • Add useInteractiveGestureLifecycle to buffer movement and early releases during preparation, plus session-bound interactive handles and abortable preparation. (005abe1, a58d5cc)
  • Supply matched session geometry anchors to custom transition renderers. (8de6210)

Fixes

  • Harden transition interruption, interactive gesture cancellation and settlement, and input handoff. (654ffc2, 005abe1, a58d5cc)
  • Let Android transition overlays pass touches through to the underlying screen. (cfc0a80)
  • Retain animation completion callbacks until delivery. (c349f41)

Breaking changes and migration from 0.5.x

  • useStaggeredReveal and its getItemStyle callback have been removed. Use useRevealStyle inside each item component, or declarative Enter/Exit with index and count. (6709b4c)

See the reveal migration guide and interactive-back guide.

Full changelog: v0.5.2...v0.6.0