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
348
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

motion - npm Package Versions

2345
35

12.23.6

Diff
p
popmotion
published 12.23.6 •

Changelog

Source

[12.23.6] 2025-07-11

Changed

  • Added explainer for reduced motion warning.
  • Refactored motion component creation to remove indirection.
p
popmotion
published 12.23.5 •

Changelog

Source

[12.23.5] 2025-07-11

Fixed

  • Fix animation timings within dynamically-generated popups.
p
popmotion
published 12.23.3 •

Changelog

Source

[12.23.3] 2025-07-10

Changed

  • useScroll: Re-attempt to initialise scroll animation within a useEffect if refs weren't hydrated during the useLayoutEffect. Throw if refs are still not hydrated during the useEffect.
p
popmotion
published 12.23.2 •

Changelog

Source

[12.23.2] 2025-07-10

Added

  • Added pages for remaining error and warning messages.
p
popmotion
published 12.23.1 •

Changelog

Source

[12.23.1] 2025-07-09

Changed

  • Improved error messages. Some error messages will now link through to detailed documentation and solutions.
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.
2345
35