Skip to content

Releases: daviferreira/react-sanfona

v0.2.3

19 Jun 06:56
f1f09d7
Compare
Choose a tag to compare

v0.2.2

17 Jun 14:33
8796024
Compare
Choose a tag to compare
0.2.2

v0.1.0

21 Dec 08:47
Compare
Choose a tag to compare
  • control activeItems via props
  • set uuid prop

custom title components

31 Aug 13:25
Compare
Choose a tag to compare

Allow overriding AccordionTitle by passing a Component as title

v0.0.14

03 Aug 00:38
Compare
Choose a tag to compare

Updates to component props

Accordion

  • openNextAccordionItem - opens the next accordion item when closing the currently expanded one. Here is a demo: https://cl.ly/0K1P0S133K0O

AccordionItem

  • onExpanded - fires a callback when an accordion item has expanded
  • onClosed - fires a callback when accordion item has closed

Updates to README

  • Added markdown tables to identify props, description, type, and defaults values for Accordion and AccordionItem components
  • Added markdown table for styling using classnames. Shows the classname and what it targets

Updates to dist

  • Adding react-dom to webpack externals (alias = ReactDOM)

v0.0.13

10 May 12:49
v0.0.13
Compare
Choose a tag to compare
  • maxHeight: auto if item is expanded initially
  • remove 'undefined' class from item

0.0.12: * Allow strings as keys for Accordion Items

08 May 13:25
0.0.12
8426c27
Compare
Choose a tag to compare
  • Index AccordionItem by either index or slug (a string)
  • Stricter checks for allowMultiple
  • Add onChange event to accordion
  • Change ES6 exports
  • Allow React 14 or 15 in peer deps

0.0.11

30 Apr 05:09
Compare
Choose a tag to compare
  • Upgrade to React 0.15.2
  • Check if this.props.children is an array

0.0.10

31 Mar 06:02
Compare
Choose a tag to compare
  • Update dist files

v0.0.9

05 Mar 17:32
Compare
Choose a tag to compare
  • Unset max-height once animation has finished, to allow content size changes
  • Allow custom class and style props