Releases: StackExchange/Stacks
Releases · StackExchange/Stacks
v0.49.1
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
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
Improves
- Page title component removes any outside margins and adds
s-page-title--header
s-avatar
now has a white background by defaults-navigation
now has ans-navigation__sm
variant and has less space by defaults-link-preview
has some naming refinements- Clear elements in
s-pagination
no longer have hover states for some reason
v0.48.0
Adds
- Modals now have a Stimulus controller
s-link-preview
also known as link unfurls or oneboxing- Responsive
m[x]
andp[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
, andtheme-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
Improves
- Scrollbars are now slightly wider for easier targeting
- Our expandable component now has a smaller minimum height
Adds
- Vertical truncation
v0.47.3
Improves
.s-modal
now has a more consistent classname for its danger variation. It's nows-modal s-modal__danger
.s-modal has-danger
has now been deprecated.
v0.47.0
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
Improves
- The gold-bg and gold-border variables have been improved
v0.46.2
Fixes
- Restores focus states to
s-btn
Improves
- Themed sidebar widget header colors are looking better now
v0.46.1
Fixes
@green
is actually green now.
Improves
s-tag
now behaves a bit better when it's a link