v0.31.1
Added
- JavaScript. This is the very first release that provides JS-based component functionality
- JS:
s-table
controller allows client-side sorting of tables via click on a column header
Fixed
- some email documentation tweaks
Other notes
In order to support the release of JavaScript components, the directory structure had to be modified as follows:
lib/css
contains the LESS sources for the CSS component library.lib/js
contains the JavaScript sources.dist/css
contains the complete compiledstacks.css
file.dist/js
contains the complete compiled and bundledstacks.js
file, which includes Stimulus. It also containsstacks-polyfills.js
which needs to be included to make things work in IE11.
If you were using the Unpkg CDN to serve Stacks CSS before this release:
- If you used the default URL,
https://unpkg.com/@stackoverflow/stacks
, this will continue to work. - If you used a direct link with an explicit version tag, like
https://unpkg.com/@stackoverflow/[email protected]/lib/css/stacks.min.css
, this will continue to work as well, because it refers to a version before this release. - If you used a direct link but without a version tag, like
https://unpkg.com/@stackoverflow/stacks/lib/css/stacks.min.css
, this will have to be updated to point atdist/
instead oflib/
.