All notable changes to this project will be documented in this file. We follow the Semantic Versioning 2.0.0 format.
- Added capability to throttle expand / collapse function calls.
- Re-factored code to provide general life-cycle (
create
,init
,destroy
).
- Replaces all CFPB color variables with non-CFPB colors. To add the CFPB theme to your project you will need to include the CFPB color palette and the Capital Framework theme overrides file. Both files can be found in the generator-cf repo here: https://github.com/cfpb/generator-cf/tree/master/app/templates/src/static/css Background info on the new Capital Framework color variables can be found at cfpb/capital-framework#115.
- Dependencies.
- Update cf-component-demo dev dependency to 0.9.0
- Animated cues.
- Infinite nesting.
- Programmatic access to expand and collapse functions.
- Toggle cues now work when outside of
.expandable_header
.
- Improved focus states on
.expandable_target
.
- Tweaked JS and CSS to correctly handle nested expandables.
- Expandable group patterns, including an accordion-style option (only one open at a time)
- Tests for the new accordion-related JS