This repository has been archived by the owner on Jan 31, 2018. It is now read-only.
Releases: cfpb/cf-expandables
Releases · cfpb/cf-expandables
Start using cf-core, and other enhancements
Updates:
- Now uses cf-core which bundles some basic dependencies into one like Normalize, typography and utilities.
- Uses
.u-clearfix
instead of other weird tricks like padding 1px and overlfow hidden to clear floats. - Reformats JS to use jQuery plugin syntax.
- Adds dynamic animation durations for expanding and collapsing.
- Converts anchor elements to button elements for accessibility.
- Reworks the documentation to make it easier to read and easier to find the recommended pattern.
Updates and pins some deps, cleans up some old files
Merge pull request #28 from himedlooff/gh-pages Updates npm modules.
Easing
Adds the easeOutExpo
easing function for the expand/collapse animation.
Miscellaneous updates
Updates some behind-the-scenes stuff. No user-facing changes.
Removes overflow hidden
Replaces overlfow hidden with padding 1px to stop margin collapses. This is safer than overflow hidden.
Adds new elements and aria attributes
- Adds
.expandable_label
.expandable_link
- Adds
aria-controls
to associate the trigger with the content. - Adds
aria-expandable
to the content div. - Updates docs
Major refactoring
- Refactored to use a BEM syntax
- Breaks the pattern down into a super simplified expandable pattern that can be the base for alternate custom expandable patterns
- Updates the default padded example pieces so that they can be rearranged if necessary
Browser testing
- Chrome (31)
- Safari (6,7)
- FF (28)
- IE11
- IE10
- IE9
- IE8
- IE7
- Icons not working (this issue is already noted)
- Opera (12)
- iOS (6,7)
- Android (4.4,4.3)
- Blackberry Bold