15.07.2020.
Added
- Added "engines" to
package.json
- #91
18.04.2020.
Updated
- Updated the readme with the specific flex box usecase - #89
23.12.2019. and 17.01.2020.
Fixed
- Fixed TS types - #88
09.11.2019.
Fixed
- Fixed TS types to include
HTMLAttributes<HTMLDivElement>
#86
08.10.2019.
Fixed
- Request animation frame is now cleared on unmount
18.06.2019.
Fixed
- Reverted back changes, which led to a broken build.
17.06.2019.
Fixed
- Package now works as a ESM module #73.
16.05.2019.
Fixed
- Improved prop types for
height
prop.
16.03.2019.
Fixed
- Fixed type definitions #68.
12.11.2018.
Added
- Added param to
onAnimationStart
andonAnimationEnd
callbacks, it is a object containingnewHeight
value in pixels.
03.10.2018.
Changed
- Removed
@types/react
fromoptionalDependencies
#62.
26.09.2018.
Fixed
- Fixed #61 - omitted
onAnimationStart
andonAnimationEnd
from being passed to the DOM element directly.
15.08.2018.
Refactored
- Added
isPercentage
helper function.
12.07.2018.
Fixed
- Fixed small bug introduced with 2.0.0 - In
componentDidMount
,this.state
was used instead ofprevState
- Content is not being hidden if set height is
auto
11.07.2018.
Fixed
- Fixed type script definitions file
20.05.2018.
Changed
- Replaced
componentWillReceiveProps
bycomponentDidUpdate
to address changes introduces with React v16.3
20.05.2018.
Changed
- Enabled react v16.3+ in peer dependencies until react-animate-height v2 is out
20.05.2018.
Changed
- Moved helpers outside of component to make component lighter
- Updated few dependencies
21.04.2018.
Added
- Added
delay
prop, kudos to @quagliero #51 - Changelog
30.03.2018.
Fixed
animateOpacity
prop was passed directly to thediv
element, omitted it
30.03.2018.
Added
animateOpacity
prop which fades content in or out depending on animation direction
Changed
- Removed unused vendor prefixes for
translate
For changes prior version 1.0.0 please check the commit list.