Skip to content

Releases: StackExchange/Stacks

v0.60.0

05 Feb 16:10
Compare
Choose a tag to compare

Adds

  • h-auto and h100 are now responsive
  • fl1 and fl0 are now responsive
  • s-user-card now has a container for s-user-card--type

Fixes

  • s-user-card has better text wrapping
  • The dispatching element is now passed to hidden and shown events in s-popover
  • Various documentation fixes, thanks @gkoscky!

v0.59.0

11 Jan 22:45
Compare
Choose a tag to compare

Adds

  • s-navigation now has a vertical variation s-navigation__vertical with optional section titles
  • s-navigation can now be marked up using buttons or links
  • s-navigation now includes a tabbing Stimulus controller
  • s-navigation--item has better focus states for keyboard navigation
  • Font families are now available as CSS variables
  • Basic body font color is available as a CSS variable
  • The content guidelines have a few more examples around "your" and "my".

Refines

  • s-user-card now has consistent markup across sizes
  • Buttons now have a simplified disabled state.
  • Better guidance around aria-pressed
  • Better, more consistent popover arrows and their shadows

Removes

  • Less font color alias are now CSS-only.

v0.58.0

08 Dec 22:03
Compare
Choose a tag to compare

Adds

  • gs6 grid spacing classes

Fixes

  • Cleaned up some edge cases with s-anchors visited state.
  • s-anchors better handles link-like buttons
  • Icon alignment in table headers is improved

v0.57.1

03 Dec 21:32
Compare
Choose a tag to compare

Improves

  • Tables no longer have uppercase headers now that we allow tables within posts

v0.57.0

23 Nov 18:06
Compare
Choose a tag to compare

Adds

  • One pixel position coordinate classes like .t1 for when it just absolutely has to be precise.

Improves

  • Adds display: block to our popover arrows so they aren't as affected by the text styling of its parents
  • Modals now have styled scrollbars
  • code within table headers is no longer uppercase

v0.56.0

22 Sep 21:21
Compare
Choose a tag to compare

Adds

  • We now have the full selection of border colors from our color stops eg. bc-black-100 while deprecating existing ones eg. bc-black-3

Refines

  • Our popover arrows are way smarter, solving a ton of edge cases with a small viewport, or a small originating element.
  • Better, more consistent text selection on buttons and buttons that look like links.
  • Prose code blocks have a better font stack in Chrome.

v0.55.5

16 Sep 15:49
Compare
Choose a tag to compare

Refines

  • Spreads s-prose headers out from paragraphs for better grouping.
  • Tightens up s-prose paragraphs a bit, and made sure spacing under headings are consistent.
  • Replaces all s-prose margins internal to the component with a CSS variable so our users can more easily monkey with it in their browsers and userscripts.
  • Kills trailing margins in s-prose

v0.55.4

01 Sep 02:06
Compare
Choose a tag to compare

Fixes

  • Spoiler labels now have pointer events disabled
  • Link previews now have line numbers
  • Link previews now behave with highlight.js

v0.55.3

28 Aug 22:40
Compare
Choose a tag to compare

Improves

  • s-prose spacing between elements is now the same as its line height
  • s-prose now has a fixed font size that doesn't get smaller at the smallest breakpoint
  • Removes max height from s-code-block

Fixes

  • s-code-block no longer inherits styling from s-prose code blocks.

v0.55.2

27 Aug 19:36
Compare
Choose a tag to compare

Improves

  • Code blocks have tighter line-height independent of s-prose
  • s-prose has general tighter line-height but more spacing between block level elements
  • Spoilers don't toggle, they just get a single click / tap to reveal