Skip to content

v0.31.1

Compare
Choose a tag to compare
@balpha balpha released this 02 Jan 10:19
· 3782 commits to develop since this release

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 compiled stacks.css file.
  • dist/js contains the complete compiled and bundled stacks.js file, which includes Stimulus. It also contains stacks-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 at dist/ instead of lib/.