Releases: SparebankenVest/react-css-collapse
Releases · SparebankenVest/react-css-collapse
4.0.1
3.6.1
- 🎉 Enhancement Migrate away from unsafe
componentWillReceiveProps
3.6.0
🔩 New Add support for ARIA and data attributes
3.5.0
- 🔩 New Add transition prop
- 🎉 Enhancement Use Jest for unit tests
- 🎉 Enhancement Add knobs to the stories
3.4.0
- 🎉 Enhancement Handle the style changes manually when React can just do this as part of its rendering. Moved the style properties to the state and just uses setState to update them. Changed the test so the actual component styles are checked when they are updated.
- 🎉 Enhancement PureComponent is more efficient than Component so changed it to that
- 🎉 Enhancement Added a default className — would be nice not to have to pass one if you just want to use the default
- 🐛 Bugfix All Component constructors should pass the props through to the super
3.3.1
- 🐛 Bugfix Check if element target equals content on transition end
v3.1.0
v3.0.1
- 🐛 Bugfix When
isOpen={true}
, set theoverflow: visible
after the component mounts to prevent cutting off content that may overflow outside the flow ofheight: auto
(i.e. child content withposition: relative
and grandchildren withposition: absolute
may get cut off).
v3.0.0
- 🎉 Feature added
onRest
callback. The callback is triggered when your transition onheight
(specified inclassName
) is done. - 💥 Breaking Remove
onTransitionEnd
callback. Please useonRest
instead.
v2.1.0
- 🎉 Feature added
onTransitionEnd
callback that gets called after the expand/collapse animation has finished