New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

animate-presence

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

animate-presence - npm Package Versions

2

0.0.0-e90c470

Diff

natemoo-re
published 0.0.0-223174c •

natemoo-re
published 0.0.0-fa24a00 •

natemoo-re
published 0.0.0-b119969 •

natemoo-re
published 0.0.0-2062c4d •

natemoo-re
published 0.0.0-b1992ae •

natemoo-re
published 0.0.0-4adf64f •

natemoo-re
published 0.0.0-5a2454a •

natemoo-re
published 0.0.0-379153f •

natemoo-re
published 0.2.1 •

Changelog

Source

0.2.1 (2020-02-29)

Bug Fixes

  • Support for polyfilled WAAPI is now fixed (3ea4ef4)

Features

  • add createPresenceHandler to allow fine-grained imperative animation control (45adcb9)

Bug Fixes

  • inline @stencil/router deps (51cbe57)
  • fix enter delay off-by-one (8dad71b)

Code Refactoring

  • rename exitComplete event to animatePresenceExitComplete (e968688)

Features

  • automatically set children to initial state (37b1bed)
  • default animation-fill-mode to both. (5101fbd)
  • waapi: add support for enter/exit events using Web Animations API (f22743e)

Performance Improvements

  • prefer WAAPI element.getAnimations() method to custom implementation (cbd9cca)

BREAKING CHANGES

  • exitComplete has been renamed animatePresenceExitComplete in order to match new animatePresenceEnter and animatePresenceExit events
  • animation-fill-mode now defaults to both for children of animate-presence. This eliminates the need for style resets using [data-initial], but the rule has a high specificity (021) in order to allow users to use the animation shorthand syntax without specifying an animation-fill-mode.

Note: The animation shorthand defaults animation-fill-mode to none if not specified. If you need to override the animation-fill-mode, you will need to increase the specicity of your selector to be higher than 021.

2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc