Skip to content

v1.0.0-alpha.10

Pre-release
Pre-release
Compare
Choose a tag to compare
@titouanmathis titouanmathis released this 11 Aug 14:47
· 2254 commits to master since this release

Added

  • Add a $parent instance property (6b5088d)
  • Add the ability to set the $options instance property (cf05aa3)
  • Add a jsconfig.json file (e9d1e8b)
  • Add an .nvmrc file (149aebd)

utils/css/transition (f98ba1c)

This PR introduces a new endMode parameter to the transition method:

  • when set to remove (default), it will remove the latest styles or classes applied to the element at the end of the transition
  • when set to keep, the latest styles or classes will be kept at the end of the transition

See the updated doc for more details.

components/AccordionItem (8f4350c)

A new isOpen option has beend added to the AccordionItem component, allowing it to be either open or closed in its initial state.

<div data-component="AccordionItem" data-options='{ "isOpen": true }'>
  ...
</div>

See the updated demo for an example.

Changed

  • Improve the Accordion component's accessibility (a786238)
  • The package components now use the new endMode parameter (551c4ac)
  • Update the NPM dependencies (29b6754)
  • Update tests (3faff4d)
  • Update documentation (b8ef01f)