Skip to content

Releases: szhsin/react-accordion

v0.5.0

08 Aug 12:53
938aef2
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

useAccordionState hook for accessing and controlling state from subtree beneath accordion (#60)

v0.4.0

06 Aug 09:16
91976b8
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release
  • AccordionItem - support render prop for header and children (#57)

v0.3.0

23 Jul 06:26
4dacb72
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
  • Ref forwarding for all components (#41)
  • Forwarding and merging refs in AccordionItem element props (#41)

v0.2.0

22 Jul 12:50
781f607
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release
  • Add ControlledAccordion and useAccordionProvider: allow accordion to be controlled from the consuming component (#38)

v0.1.0

11 Jul 13:34
9c76c5f
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

🚀 Initial release of Accordion and AccordionItem components.

Feature implemented:

  • Single and multiple accordion mode
  • Expanding and collapsing transition
  • Keyborad navigation
  • WAI-ARIA roles, states, and properties as per accordion pattern
  • Element class names as per bem pattern
  • Rest props forwarding to DOM nodes