- [BREAKING] Remove deprecated findDOMNode; now requires functional child components to use
forwardRef
(#101) - [BUGFIX] Avoid an occasional flicker when the exiting node is removed (#114)
- [UPGRADE] Add React 17 to peer dependencies.
- [UPGRADE] Upgrade
dom-helpers@5
.
- [CHORE] Remove deprecated
React.createFactory
.
- [BUGFIX] Fix child ref function called a second time with CSSTransitionGroupChild. (#61)
- [UPGRADE] Minor and patch dependency upgrades.
- [BUGFIX] revert
dom-helpers
tov3
. (#65,#66)
BROKEN RELEASE
- [BREAKING] Rename to
UNSAFE_componentWillReceiveProps
; requiresreact@>=16.3.0
. - [UPGRADE] Remove the use of
componentWillMount
which is unsafe. - [UPGRADE] Update dependencies; switch to Babel v7.
- [ENHANCEMENT] Add ESM build output.
- [DEPENDENCY] Remove the
warning
dependency since function refs are now standard practice. - [CHORE] Switch to a monorepo for the lib and demo and use CRA for the demo app.
- [CHORE] Use Prettier.
- [UPGRADE] Update dependencies to latest stable versions.
- [ENHANCEMENT] Remove the
react-transition-group
dependency. (#56)
- [BUGFIX] Fix updating children when the current child re-renders itself. (#53)
- [UPGRADE] Support React 16 in v2. (#55 thanks @GeKrom)
- [BUGFIX] Prevent animating child selection with CSS rather than clearing with JS so form inputs don't lose focus on each update. (#50)
- [BUGFIX] Switch the container to relative positioning on the render before the transitions start to avoid the glitch in Edge without using permanent relative positioning which is not an option. (#52)
- [DOCS] Add an example where the height transition is delayed until after the leave transition. (#43)
- [FEATURE] The
isLeaving
prop is only added to children if opted in withnotifyLeaving={true}
since it's a departure fromreact-transition-group
features.
- [ENHANCEMENT] Treat a child rendering
null
as if there is no child; specifically helps avoid errors with RR4. - [ENHANCEMENT] Maintain component callback refs by not overwriting with string refs similar to
react-transition-group
. - [ENHANCEMENT] Use
requestAnimationFrame
to queue the height transition rather than a timeout. - [ENHANCEMENT] Handle the enter and leave animation of changes due to successive child updates before the current transition ends.
- [ENHANCEMENT] Clear the selection after transitions to avoid the child being selected after multiple clicks.
- [ENHANCEMENT] Entering child renders with absolute positioning since switching from relative to abs on a premature leave cancels the active enter animation.
- [ENHANCEMENT] Fix enter animation of absolutely positioned elements in Chrome not working by skipping one animation frame in the Child component.
- [ENHANCEMENT] Fix Edge glitch when render starts by always applying container
position
,display
(use adiv
) andoverflow
styles.
- [UPGRADE] Add a
yarn
lock file. - [UPGRADE] Use
prop-types
instead ofReact.PropTypes
for React15.5.0
. - [UPGRADE] Use
react-transition-group/CSSTransitionGroup
instead ofreact-addons...
(thanks @ali) (#45)
- [FEATURE] Remove element at once when transitionLeave is false. (thanks @wifilinker) (#34)
- [FEATURE] Use next component sizes when current does not exist. (thanks @wifilinker) (#34)
- [BUGFIX] Avoid silencing transition when this.state.nextChild exists. (thanks @wifilinker) (#34)
- [FEATURE] Add class with
-height-active
suffix when transitioning. (thanks @wifilinker) (#34) - [BUGFIX] Exclude
gh-pages
from the npm package. (#37) - [BUGFIX] Remove comma dangle after rest property. (#39)
- [FEATURE] Add the
changeWidth
prop to have the container width animated along with the height. (thanks @wifilinker) (#31) - [UPGRADE] Upgrade dev dependencies to latest versions;
[email protected]
fixes the demo unknown props warnings.
- [DOCUMENTATION] Minor grammar improvement in the README.
- [ENHANCEMENT] Add support for IE<=11 (thanks @le0nik) (#22, #23)
- [ENHANCEMENT] Provide an
isLeaving
prop on the current child component while it is leaving. (thanks @le0nik) - [ENHANCEMENT] Add ability to provide custom
height
className (useful forcss-modules
) (thanks @le0nik) (#20, #21) - [BUGFIX] Fix multiple remounts of children (thanks @le0nik) (#24)
- [BUGFIX] Allow the child, that is leaving, to be
null
(thanks @le0nik)
- [ENHANCEMENT] When removing an element just added to an empty container transitions are reset to avoid getting stuck.
- [ENHANCEMENT] When starting a height transition and the entering element hasn't rendered wait another tick. (#6,#10)
- [ENHANCEMENT] Don't pass non-standard DOM props to the component as required by
react 15.2.0
. (#17) - [UPGRADE] Use
[email protected]
and upgraded dev dependencies. (Should still work with[email protected]
withnpm
warnings) - [ENHANCEMENT] Use the spread operator rather than
object-assign
. (#16)
- [UPGRADE] Add peer dependency
[email protected]
. - [ENHANCEMENT] Add a
displayName
field.
- [UPGRADE] Use the
object-assign
lib, as React 15 does, rather thanreact/lib/Object.assign
which has been removed. (#14)
- [BUGFIX] Corrected the file name in the
main
field of package.json. (#13) - [BUGFIX] Allow prop
transitionName
to be of typeobject
. (#9,#12) - [DOCUMENTATION] Added a Hardware Acceleration example to the README. (#8)
- [DOCUMENTATION] Add a note that
transitionAppear
is also supported. (#7)
- [ENHANCEMENT] The entering component, which is absolutely positioned, is not only positioned with
top:0
andleft:0
styles, but alsoright:0
andbottom:0
so smaller content fills the entire container.
- [ENHANCEMENT] Support no children so the child component can be removed / added. (#4)
- [ENHANCEMENT] Added an add/remove content section to the demo and docs.
- [ENHANCEMENT] Publish the demo page on
gh-pages
. - [ENHANCEMENT] Added a demo page; to view run
npm install
andgulp demo
. - [ENHANCEMENT] Allow in place transitions fully configurable in CSS.
- [ENHANCEMENT] Use
ReactCSSTransitionGroupChild
rather than defining yet another child wrapper. - [ENHANCEMENT] More stable implementation which does not call
setState
incomponentDidUpdate
among other improvements.
- [UPGRADE] Upgrade React.js to v0.14.0.
- [DEPENDENCY] Removed the
classnames
dependency. - [ENHANCEMENT] The
${transitionName}-height
class is only added while the height transition is active. - [ENHANCEMENT] The
ReactCSSTransitionReplace
component requiretransitionEnterTimeout
etc. props likeReactCSSTransitionGroup
. - [UPGRADE] Upgrade React.js to v0.14.0-rc1.
- [BUGFIX] Using React's
object.assign
method to be ES5 compatible which was the intent. (#2)
- [BUGFIX] Added the
classnames
dependency topackage.json
. (#1) - [ENHANCEMENT] The
style
prop rules are maintained while animating, only overriding the necessary style rules. - [ENHANCEMENT] Stricter and fully configured linting rules.
- [DOCUMENTATION] Fixed a typo.
Initial release.