You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

motion

Package Overview
Dependencies
Maintainers
2
Versions
353
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

motion - npm Package Versions

1345
36

12.23.0

Diff
p
popmotion
published 12.23.0 •

Changelog

Source

[12.23.0] 2025-07-02

Added

  • Add .stop() and .cancel() methods to useDragControls().
p
popmotion
published 12.22.0 •

Changelog

Source

[12.22.0] 2025-07-01

Added

  • Allow delayChildren to accept stagger(). This enables from and ease options when staggering variant children.

Deprecated

  • staggerChildren and staggerDirection options.
p
popmotion
published 12.20.5 •

Changelog

Source

[12.20.5] 2025-07-01

Fixed

  • Improve performance of projection styles by writing directly to element.style.
  • Only block layout animations when window has changed width.
p
popmotion
published 12.20.4 •

Changelog

Source

[12.20.4] 2025-07-01

Fixed

  • Improve performance of render loop.
  • Improve performance of types.
p
popmotion
published 12.20.3 •

Changelog

Source

[12.20.3] 2025-07-01

Fixed

  • Always skip layout animation check on tree mount.
p
popmotion
published 12.20.2 •

Changelog

Source

[12.20.2] 2025-07-01

Fixed

  • Updated Transition type to be more permissive.
p
popmotion
published 12.20.1 •

Changelog

Source

[12.20.1] 2025-06-30

Fixed

  • Updated Target type to match previous definition.
p
popmotion
published 12.20.0 •

Changelog

Source

[12.20.0] 2025-06-30

Added

  • Pass a shadow DOM root element via AnimatePresence root prop to attach "popLayout" styles to a different root element.
p
popmotion
published 12.19.4 •

Changelog

Source

[12.19.4] 2025-06-30

Fixed

  • Ensure animations are removed from scope when finished.
p
popmotion
published 12.19.3 •

Changelog

Source

[12.19.3] 2025-06-27

Fixed

  • Restore some deprecated types.
  • Add transformPerspective to TargetAndTransition.
  • Filter number-indexed and function props from CSSStyleDeclaration.