Massive release. Rewrites almost every aspect of the framework, and reorganizes framework with better documentation, coding patterns, and a new component (Collapsible).
Full changes below.
Site:
- Revised and updated documentation.
- Update Download page to be a simple resource
- Update JavaScript page to outline conventions and API more clearly.
- Renames Branding page to CSS, and outline conventions more clearly.
Sass (Framework):
- Adds right-to-left support for all framework CSS.
- Complete renaming of framework classes + sass variables/mixins/functions to follow consistent naming strategy.
- Adds Sass tests using sass true for class generators (e.g., grid) + computation-heavy mixins.
JavaScript (Framework):
- Adds
Collapse
component. - Refactors
Accordion
component to extendCollapse
+ adds arrow focus trapping on triggers. - New feature: Scoped component initialization. Passing a selector string to any
start
orstop
method will now query the selector string, then scope all actions + data to the DOM fragment specified. - Rewrites all component teardowns (
stop
public method) to end lingering event listeners. In addition, all active component instances that cause an overlay (tooltip, dropdown, modal) will close if currently opened. - Rewrites focus trapping and focus ring utilities as factory functions. Previously was a class helper.
- Adds full test coverage on utility functions.
- Adds basic JSDom test helpers for the framework including fixtures, DOM querying, and event handling. 👏
In a future release, Sass mixin documentation will be added to enable developers the power to use them. In addition, a "Tabs" component will be built for better viewing of the doc pages.