Releases: StackExchange/Stacks
Releases · StackExchange/Stacks
v0.32.0
Added
.s-btn--badge
can now be added tos-btn
to show a nicely-styled count.s-spinner
has been abstracted into a single component that can be added anywhere you need to show a loading state..s-btn__facebook
and.s-btn__google
have been in the codebase, but we forgot to document them. Oops!- We now document our sortable table’s available javascript data attributes.
Fixed
- Our email templates turn off automatic link detection so on mobile devices we don't have automatically linked phone numbers showing up as false positives
- Removed an invisible inner shadow from our buttons
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/
.
v0.30.0
Fixes
- Tons of little presentation bugs have been fixed on our docs.
- Inner shadows now look better against all background colors.
- You can now build Stacks locally on Windows using our updated docs.
Adds
.s-card
has been refined and its documentation is improved.- A limited set of hover states have been added to our colors. For example, you can now add
h:bg-black-600
. - Transition utility classes have been added. If you want to transition between background states, you can apply
t t-bg h:bg-orange-600
and it'll be smooth as butter.
v0.29.1
Fixes
- A hotfix to replace a mixin that was conflicting with production
v0.29.0
Fixes
- Our documentation site had some content overflow issues that we've resolved.
- Color HEX values are now accurate
.s-btn-group
is now a bit more bulletproof.
Adds
- Additional
s-btn
classes:.s-btn__unset
and.s-btn__link
. - Fonts now respond by getting smaller at the smallest breakpoint.
- Initial hover
.h:xxx
classes. - Email
code
andblockquote
styling
v0.28.0
Adds
.s-pagination
.print:d-none
for hiding things that don't need to be printed.strokeCurrent
for applyingstroke: currentColor
to SVG elements
Fixes
- The width of our bulk table actions column
- Clarifies team identities in Email
- Color stop accuracy
- Various Documentation site improvements
v0.27.2
v0.27.1
Fixed
- Header presentation on our documentation
- Improper nesting of
.s-table
header anchors
v0.27.0
Fixed
- A
.s-table
column toggling issue - Adds margin overrides for
.s-checkbox
fw-none
>.fw-nowrap
Added
- Adds additional styling for
.s-table--bulk
actions.
v0.26.0
Fixed
s-table
border presentation refinements- Various documentation improvements
Added
s-empty-state
has been added