Skip to content

Releases: StackExchange/Stacks

v0.49.1

06 Apr 19:21
Compare
Choose a tag to compare

Improves

  • We now prevent modals and popovers from disappearing when an element inside it is removed on click
  • Badges now have a __sm modifier.
  • Popper.JS version has been bumped to fix a Firefox issue
  • An outdated SVG icon hack has been removed now that Firefox is doing the right thing

v0.49.0

27 Mar 19:11
Compare
Choose a tag to compare

Adds

  • Guidance on writing preferences and settings
  • .fc-white__forced has been added for when you really just want that text to be white no matter what.
  • Shorthand fc-black is now available.
  • Hyphenation atomic classes
  • Badge / achievements font colors have been added, eg. fc-gold, bg-bronze.
  • We now have the ability to track which element caused a popover/modal to show / hide

Improves

  • Our popovers have been updated to version 2 of Popper.Js
  • Popover borders have been darkened slightly
  • Contrast on dark mode buttons has been increased

v0.48.1

16 Mar 23:46
Compare
Choose a tag to compare

Improves

  • Page title component removes any outside margins and adds s-page-title--header
  • s-avatar now has a white background by default
  • s-navigation now has an s-navigation__sm variant and has less space by default
  • s-link-preview has some naming refinements
  • Clear elements in s-pagination no longer have hover states for some reason

v0.48.0

10 Mar 15:54
Compare
Choose a tag to compare

Adds

  • Modals now have a Stimulus controller
  • s-link-preview also known as link unfurls or oneboxing
  • Responsive m[x] and p[x] classes make modifying margin and padding a bit easier at different breakpoints.
  • We now have 50% positioning classes.

Refines

  • Badges are now a little closer to tags in their presentation
  • Modal headers are now normalized on a lighter font weight to match production and documentation
  • Theming classes are now theme-light, theme-dark, and theme-system.
  • Link buttons are now displayed inline as expected. They also inherit text alignment.
  • Progress bars have a minimum width to improve rendering. Height has also been forced to 100%.
  • Images within tags now display a bit better

Removes

  • Code colors have been removed from Stacks since they were never referenced.

v0.47.4

11 Feb 02:08
Compare
Choose a tag to compare

Improves

  • Scrollbars are now slightly wider for easier targeting
  • Our expandable component now has a smaller minimum height

Adds

  • Vertical truncation

v0.47.3

03 Feb 19:53
Compare
Choose a tag to compare

Improves

  • .s-modal now has a more consistent classname for its danger variation. It's now s-modal s-modal__danger. s-modal has-danger has now been deprecated.

v0.47.0

15 Jan 00:59
Compare
Choose a tag to compare

Adds

  • A dark theme. Dark variations of all our colors are now in Stacks
  • All the d: variations of our colors
  • Popovers now have the tooltip variation that allows you to have way richer hover interactions

Improves

  • Our shadow classes now stack shadows in a more visually-pleasing way.

Removes

  • Internal shadows have been thrown away. No one was using them.
  • Our white border classes have been simplified.

v0.46.3

12 Dec 18:08
Compare
Choose a tag to compare

Improves

  • The gold-bg and gold-border variables have been improved

v0.46.2

12 Dec 16:56
Compare
Choose a tag to compare

Fixes

  • Restores focus states to s-btn

Improves

  • Themed sidebar widget header colors are looking better now

v0.46.1

11 Dec 21:49
Compare
Choose a tag to compare

Fixes

  • @green is actually green now.

Improves

  • s-tag now behaves a bit better when it's a link