Skip to content

Version 7

Latest
Compare
Choose a tag to compare
@geotrev geotrev released this 29 Dec 20:13
· 50 commits to master since this release
e231fbe

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 extend Collapse + adds arrow focus trapping on triggers.
  • New feature: Scoped component initialization. Passing a selector string to any start or stop 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.