What's Changed
New features
This new major version migrates JavaScript from jQuery to vanilla, CSS sources from Less to Dart Sass and updates Fontawesome from version 6 to the latest major version7.
The legacy icon classes from older Fontawesome versions (4 and 5) are still supported, so Shariff-Plus continues to work on sites loading older Fontawesome versions when using the shariff.min.css style.
The shariff.min.js has been dropped as the shariff.complete.js does not use jQuery anymore.
The shariff.complete.css, shariff.min.css and shariff.complete.js are not minified anymore, which makes them more useful for debugging, and new files shariff.complete.min.css, shariff.min.min.css and shariff.complete.min.js contain the minified versions.
Backward compatibility breaks
- CSS classes
share_countandshare_texthave been changed toshare-countandshare-text(i.e. so-called kebap-case) to match CSS code style. - Fontawesome 7 does not ship
* .ttfwebfonts anymore.
All changes
- [3.0] Port to vanilla Javacript, without jQuery or other dependencies by @onli in #22
- [3.0] Minify CSS and JS, update dependencies & documentation, fix issues from PR 22 by @richard67 in #26
- [3.0] Add Fontawesome v6/v7 classes by @richard67 in #27
- [3.0] Clean up package lock and update indirect development dependencies by @richard67 in #28
- [3.0] Migrate styles from less to dart sass and update fontawesome to v7 by @richard67 in #29
- Create GitHub action for CI by @richard67 in #30
- [3.0] Merge 3.0-dev into develop branch to prepare the 3.0.0 release by @richard67 in #31
New Contributors
Full Changelog: 2.3.2...3.0.0