Releases: StackExchange/Stacks
Releases · StackExchange/Stacks
v0.35.3
Adds
bg-transparent
also removes any background image
v0.35.2
Fixes
s-avatar
now has a fixed font sizes-btn__google
now has a border
v0.35.1
Fixes
.s-modal
had some rendering issues in IE11.
v0.35.0
Adds
s-breadcrumbs
has been added and documented.s-sidebarwidget
is now theme-aware. Its highlights will take the theme's primary color.- Our email section now has columns documented as a pattern.
user-select
anduser-drag
atomic classes have been added and consolidated withpointer-events
in an "interactivity" section
Fixes
s-sidebarwidget
now has margin overrides since some production CSS was interfering.
v0.34.0
Adds
.s-expandable
has been added for showing and hiding elements with a sliding transition.
v0.33.0
Adds
.s-popover
's markup has been released. JavaScript controllers will follow..c-help
has been added to our selection of available cursor atomic classes.- Visibility atomic classes have landed including
.v-visible-sr
, a way to make content visible only to screen readers. - Links now have
.s-link__underlined
modifier. This was required for links to appear properly in.s-notice
. Stacks.addController
is now an officially supported helper..s-input__search
and.s-input-icon__search
have been added as helpers to create a search field.
Fixes
- We've changed the way our form markup is documented to allow for clicking on the description as well as the label to select the radio button, input, or checkbox it's next to.
.s-description
is now a bit darker for accessibility contrast ratios.- Spinners are now a bit more accessible with guidance on how to show screenreader-only loading text.
@Svg.Slack
now has Slack's new logo.- Adds
margin: 0
tobutton
in our reset to account for Safari adding margins.
Removes
.wb-break-word
has been removed and should be replaced by.ow-break-word
.- 8px border classes were removed since no one was using them and what the heck do you need them for?
.bas
border none classes have been removed
v0.32.2
Fixed
- Something in production was adding a margin to our
button
elements, sos-btn
now hasmargin: 0
applied to it.
v0.32.1
Fixed
- Descenders in
.s-select
should no longer be cut off .s-spinner
now looks better in Safari
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/
.