Socket
Socket
Sign inDemoInstall

react-motion

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-motion - npm Package Versions

13

0.4.1

Diff

Changelog

Source

0.4.1 (January 26th 2016)

  • [F] Made a mistake while publishing the bower package; fixed.
chenglou
published 0.4.0 •

Changelog

Source

0.4.0 (January 26th 2016)

  • [B] spring helper's format has changed from spring(10, [120, 12]) to spring(10, {stiffness: 120, damping: 12}).
  • [B] style, styles and styles of the three respective components now only accept either a number to interpolate, or a spring configuration to interpolate. Previously, it accepted (and ignored) random key/value pairs mixed in, such as {x: spring(0), y: 'helloWorld'}. y Doesn't belong there and should be placed elsewhere, e.g. directly on the (actual react) style of the component you're assigning the interpolating values on.
  • [B] TransitionMotion got an all-around clearer API. See the upgrade guide and README section for more.
  • [B] Motion's' defaultStyle, informally accepted the format {x: spring(0)}. This is now officially unsupported. The correct format has always been {x: 0}. Setting a default style of {x: spring(whatever)} did not make sense; the configuration only applies for a style, aka destination value. Same modification applies to StaggeredMotion and TransitionMotion's defaultStyles & willEnter.
  • [B] TransitionMotion's willEnter/willLeave's signature has changed.
  • [B] The reorderKeys helper is no longer needed thanks to the changes to TransitionMotion. It's now removed.
  • [B] React-Native specific build gone. RN 0.18+ uses the vanilla Npm React package, so there's no more need for us to export a wrapper.
  • [F] Bunch of bugs gone: #225, #212, #179, #157, #90, #88.
  • [I] spring has acquired a new field as part of the new signature: precision tuning!
  • [I] Fully typed via Flow types.
  • [I] Performance improvements.
chenglou
published 0.3.1 •

Changelog

Source

0.3.1 (October 14th 2015)

  • [F] Handle null and undefined in style/styles. #181
  • [I] Library's now partially annotated with Flow.
  • [I] Related to above, the src/ folder is now exposed on npm so that you can take advantage of Flow by using: import {Motion} from 'react-motion/src/react-motion' directly, instead of the old, prebuilt import {Motion} from 'react-motion'. This is experimental and intentionally undocumented. You'll have to adjust your webpack/browserify configurations to require these original source files correctly. No harm trying of course. It's just some type annotations =).
chenglou
published 0.3.0 •

Changelog

Source

0.3.0 (September 30th 2015)

chenglou
published 0.2.7 •

Changelog

Source

0.2.7 (August 6th 2015)

  • [F] Small bug where nested springs don't animate. #123
  • [I] Support for all React 0.14.0 betas.
chenglou
published 0.2.6 •

Changelog

Source

0.2.6 (July 31th 2015)

  • [F] React-native warning's now gone, but also put into a separate file path. To require react-motion on react-native, do require('react-motion/native').
  • [I] Support for React 0.14.0-beta1.
chenglou
published 0.2.5 •

chenglou
published 0.2.4 •

Changelog

Source

0.2.4 (July 29th 2015)

  • [I] React-native support!
  • [I] Allow returning null from children function. #101
  • [I] defaultValue for specifying a... default value, upon mounting.
  • [I] TransitionSpring's willLeave API got simplified and now asks for an object as a return value instead of null. null is still supported, but is deprecated and will be removed in the next version. See the new docs on it here.
  • [I] Exposed a few tasteful default spring configurations under the new exported presets.
chenglou
published 0.2.3 •

chenglou
published 0.2.2 •

Changelog

Source

0.2.2 (July 24th 2015)

  • [F] Import some internal modules correctly for Ubuntu/Linux node (case-sensitive for them).
  • [F] Nested springs work again.
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