fix(deps): update dependency motion to v15

RE
3h ago
+6-6

This PR contains the following updates:

PackageChangeAgeConfidence
motion^14.7.1 → ^15.0.0ageconfidence

Release Notes

motiondivision/motion (motion)

v15.0.0

Compare Source

Changed
  • motion: SVG values like cx, r, and strokeWidth etc are written as styles instead of attributes, wherever possible. Up to 20% faster.
  • motion: Default pathSpacing calculation now matches svgEffect behaviour for creating infinitely looping line animations.
Added
  • animateLayout: First 100 projecting nodes receive will-change.
  • animateLayout: Start-up and runtime performance improvements.
  • AnimatePresence: Automatically applies inert attribute to exiting elements.
  • motion: Adaptive acceleration dynamically adjusts how values are animated and rendered for optimal framerates.
  • motion: Renders opacity: 0 on mount as 0.001.
  • motion: On-demand async loading of layout and drag for ~30% smaller initial bundlesize.
Fixed
  • animate: Paused independent transform animations correctly moved to main thread when transform animations are de-opted.
  • animate: Run independent transforms on main thread when onUpdate is defined.
  • animate: Improved timeline editing performance.
  • animate: Skip renders during delay phase.
  • animateLayout: 25% speed improvement for animations with boxShadow correction. At least 7% speed improvement for children of transformed elements.
  • inView: Pooling IntersectionObserver, in line with whileInView.
  • m: drag now 11kb cheaper when imported without layout animations via domDrag import.
  • mixComplex: Ensure numbers in exponent notation are parsed correctly.
  • Further improvements to tree-shakability.
  • motion: 10% faster variant switching.
  • motion: 90% faster re-rendering components with unchanged props.
  • Reorder: Drag missing a pointermove made during a handoff.
  • scroll: Container scroll polling stops when subscribers cleared.

Configuration

šŸ“… Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

ā™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

šŸ”• Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.