Skip to content

Releases: SparebankenVest/react-css-collapse

4.0.1

31 Dec 12:24
Compare
Choose a tag to compare

💥 Breaking Upgraded React peerDependencies to >= 16.8
🔩 New Added new hook useCollapse
🔩 New Updated Collapse to use new hook.
🎉 Enhancement Add dynamic content to storybook example
🎉 Enhancement Update prettier and eslint setup

3.6.1

11 Oct 10:43
Compare
Choose a tag to compare
  • 🎉 Enhancement Migrate away from unsafe componentWillReceiveProps

3.6.0

01 Oct 11:56
Compare
Choose a tag to compare

🔩 New Add support for ARIA and data attributes

3.5.0

03 Sep 07:28
Compare
Choose a tag to compare
  • 🔩 New Add transition prop
  • 🎉 Enhancement Use Jest for unit tests
  • 🎉 Enhancement Add knobs to the stories

3.4.0

31 Aug 07:17
Compare
Choose a tag to compare
  • 🎉 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

16 Jul 13:08
Compare
Choose a tag to compare
  • 🐛 Bugfix Check if element target equals content on transition end

v3.1.0

20 Nov 11:13
Compare
Choose a tag to compare
  • 🔩 New Add prettier-eslint 💅
  • 🔩 New Support react 15.x || 16.x 🕺🏼 . Solving #14
  • 🎉 Enhancement Upgrade storybook 🙏

v3.0.1

02 May 11:59
Compare
Choose a tag to compare
  • 🐛 Bugfix When isOpen={true}, set the overflow: visible after the component mounts to prevent cutting off content that may overflow outside the flow of height: auto (i.e. child content with position: relative and grandchildren with position: absolute may get cut off).

v3.0.0

07 Apr 12:36
Compare
Choose a tag to compare
  • 🎉 Feature added onRest callback. The callback is triggered when your transition on height (specified in className) is done.
  • 💥 Breaking Remove onTransitionEnd callback. Please use onRest instead.

v2.1.0

07 Apr 06:56
Compare
Choose a tag to compare
  • 🎉 Feature added onTransitionEnd callback that gets called after the expand/collapse animation has finished