Skip to content

Releases: chrisjcodes/react-animation-components

v3.0.0

03 Apr 23:49
561ba33
Compare
Choose a tag to compare

3.0.0 (2018-04-03)

BREAKING CHANGES

  • the duration prop now must be passed to Stagger so it can calculate the correct
    timing for onComplete. Any duration in child animations will be overwritten when wrapped in
    Stagger

  • feat(Random): Add onComplete callback

Allow users to pass an onComplete function that will be called after the last transition completes

  • Users must pass duration into Random now rather than directly into the child
    animation component. This is so it can properly calculate when to fire the onComplete callback

  • refactor(Storybook): Update stories to use map

Create one array of Example text and map through it in each Wrapper example

  • feat(Stagger): Add in prop for conditionally starting Stagger

Users can pass an in prop to Stagger which will mount or unmount the children and cause them to
Stagger in and out

  • Stagger is no longer set to appear by default. You must pass in as true to
    initiate

  • feat(Random): Add in prop for conditionally starting Random

Users can pass in to Random to mount and unmount the child animations similayly to Stagger

  • Random is no longer set to appear. Must pass in as true to initiate the
    Animation

  • Feature/animation updates (#3)

  • feat(Animations): Allow classNames

Allow a user to pass a className to the inner wrapping div on each animation.

  • test(Snapshots): Update snapshots for className

Rendered element snapshot no includes className={undefined}

  • feat(FadeInOut): Add enterOpacity and exitOpacity props

All a user to set what the enter and exit values for opacity are on FadeInOut. Defaults to enter
as 1 and exit as 0

  • fix(TweenTransform): Fix collision with prop names

enter and exit are Transition props. Change to enterTransform and exitTransform

  • enter and exit will now be passed to the transition as a prop and will not
    control the values for transforms

  • refactor(FadeTransform): Make FadeTransform a composed component

Rather than a separate API for FadeTransform, use both existing animation components to create a
composed version. Allows a user to pass shared props for transition values an individual prop
objects for each animation

  • The API changed to accept shared props at the parent level and props for individual
    inner animation components in fadeProps and transformProps

  • refactor(Animations): Rename animations

Rename animation files and references to be shorter and more concise names

  • Old imports will no longer work as the components are exported with their new names

  • test(Snapshots): Update snapshots for renamed components

  • feat(Storybook): Add more controls

Add chunk option in Stagger and minDelay and maxDelay in Random

  • chore(Eslint): Add eslintrc

  • refactor(Storybook): Split stories into separate files. Add createCommonKnobs to utilities

  • chore(Linting): Code clean up

Satisfy eslint rules

  • feat(Wrappers): Implement Reverse (#4)

Allow users to pass reverse to reverse the way the delays are applied in Stagger and Random.
Also includes a bug fix where onComplete was not called onExited and was being called multiple
times

  • docs(Readme): Update readme for new features

  • docs(Readme): Fix section links

  • docs(Readme): Fix typo

  • docs(Readme): Fix typo

  • test(Unit Tests): Clean up unneeded imports. Add test globals to eslintrc

  • test(Snapshot): Add snapshot tests for passing className

  • test(Snapshot): Fix snapshots for updates

  • docs(Readme): Fix subtitle

  • docs(Readme): More concise subtitle

v2.1.1

19 Oct 23:59
Compare
Choose a tag to compare

2.1.1 (2017-10-19)

Bug Fixes

  • proptypes: Fix prop-types import typo (80c250c)

v2.1.0

18 Oct 23:06
Compare
Choose a tag to compare

2.1.0 (2017-10-18)

Features

  • wrappers: Create Loop wrapper (27e4b2d)

v2.0.5

18 Oct 04:58
Compare
Choose a tag to compare

2.0.5 (2017-10-18)

Fix CI issues with package not building properly before deploying to NPM.

v2.0.4

17 Oct 19:04
Compare
Choose a tag to compare

2.0.4 (2017-10-17)

Bug Fixes

  • transitions: Update phases based on issue feed back from react-transition-group (c1d9957)

v2.0.3

17 Oct 17:55
Compare
Choose a tag to compare

2.0.3 (2017-10-17)

Bug Fixes

  • transition phases: Fix TweenTransform (4feb718)
  • transitions: Change phases back (5ea86c4)

v2.0.2

17 Oct 17:52
Compare
Choose a tag to compare

2.0.2 (2017-10-17)

Bug Fixes

  • transitions: Change phases back (5ea86c4)

v2.0.1

17 Oct 06:20
Compare
Choose a tag to compare

2.0.1 (2017-10-17)

Bug Fixes

  • FadeInOut: Fix regression caused by changing status values (7363b98)
  • transform components: Refactor FadeTransform and allow entering and exiting for finer control (149803e)
  • utilities: Make sure getInlineStyles returns the correct defaults (56a8c2c)

v2.0.0

17 Oct 05:04
Compare
Choose a tag to compare

2.0.0 (2017-10-17)

Features

  • animation components: Switch timeout values to be calculated by delay + duration (9b571b1)

BREAKING CHANGES

  • animation components: delay and duration props are now numbers. Strings are no longer valid and will
    cause errors

v1.1.0

16 Oct 23:15
Compare
Choose a tag to compare

1.1.0 (2017-10-16)

Features

  • storybook: Add storybook and basic stories (114ec58)