Version 3.3.2
This version brings about a culmination of changes since 3.0.0.
SCSS:
- Rewrites of SCSS to be a little friendlier in terms of how overrides are handled when scoping is enabled. See
_helpers/scope-overrides.scss
. This applies to the SCSS or NPM/webpack integration options only. - Slight change to utility class names, as a result of SCSS rewrites for smarter class generation. Should also make it clear what a class does as it pertains to a given flex property (e.g., justify-content, align-content, align-items, etc). See flex alignment utilities.
JS:
- Better module support -
package.module
andpackage.browser
fields added topackage.json
to allow use of es6 or the fully bundled/minified JS if desired.package.main
still points tojs/dist/index.js
. window.Undernet
assignment is only applied for bundled JS assets (not for ES modules or forjs/dist/*
).- Better JavaScript component logic - especially for accordions, where content can live within the content blocks. Now, instead of generically searching for the parent and target elements, a smarter CSS selector is constructed to narrow down the possibilities through the various headers that can exist. This should prevent issues like Dropdowns or Modals not working within accordion content.
- Unit tests for JS components. 🎉
Build:
- Under-the-hood toolchain rewrites. Doesn't affect the end-result of assets, moreso just makes dev life easier.
Thanks for using Undernet! Please file an issue or pull request if you find bugs or want to suggest changes. :)