Skip to content

Releases: StackExchange/Stacks

v0.35.3

25 Feb 22:08
Compare
Choose a tag to compare

Adds

  • bg-transparent also removes any background image

v0.35.2

19 Feb 18:37
Compare
Choose a tag to compare

Fixes

  • s-avatar now has a fixed font size
  • s-btn__google now has a border

v0.35.1

12 Feb 22:08
Compare
Choose a tag to compare

Fixes

  • .s-modal had some rendering issues in IE11.

v0.35.0

08 Feb 20:07
Compare
Choose a tag to compare

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 and user-drag atomic classes have been added and consolidated with pointer-events in an "interactivity" section

Fixes

  • s-sidebarwidget now has margin overrides since some production CSS was interfering.

v0.34.0

31 Jan 18:56
Compare
Choose a tag to compare

Adds

  • .s-expandable has been added for showing and hiding elements with a sliding transition.

v0.33.0

28 Jan 16:56
Compare
Choose a tag to compare

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 to button 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

23 Jan 21:19
Compare
Choose a tag to compare

Fixed

  • Something in production was adding a margin to our button elements, so s-btn now has margin: 0 applied to it.

v0.32.1

22 Jan 18:56
Compare
Choose a tag to compare

Fixed

  • Descenders in .s-select should no longer be cut off
  • .s-spinner now looks better in Safari

v0.32.0

16 Jan 18:39
Compare
Choose a tag to compare

Added

  • .s-btn--badge can now be added to s-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

02 Jan 10:19
Compare
Choose a tag to compare

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/.