Releases: StackExchange/Stacks
Releases · StackExchange/Stacks
v0.74.0
Adds
- Post summary now has various length options for excerpts
- Post summaries can have emphasized stats
- Tags now have
s-tag__watched
ands-tag__ignored
variations
Refines
- Gaps between elements in user cards are more consistent, bulletproof
- Better "required" label contrast in dark mode
- Various post summary refinements after community feedback
- Highlighted state on user cards is darkened a bit
Fixes
- Multiple toggle option switches now have focus states
- We weren't importing all the mixins correctly when using Stacks externally
v0.73.1
Refines
- Better states for article drafts in our post summary component
v0.73.0
Adds
- Post summary now has states like watched, ignored, deleted, draft, etc.
- A more bulletproof
.break-word
utility class .g1
for tinier, native gaps- List resets now live in Stacks
Refines
- Tag theming no longer requires
.s-tag__themed
. That was a bit of an anti-pattern we've ironed out. - Textarea padding is a bit more consistent and predictable across the various sizes.
- Post summary post titles are now a bit smaller
- Better white space in popovers by default
- Badge and privilege progress bars wrap better
Removes
.flex__fl0
and.flex__fl1
are nowflex__fl-shrink0
andflex__fl-grow1
.ww-break-word
has been removed
v0.72.0
Adds
.s-topbar
is now a first-class Stacks component for building navigation chrome on Stack Overflow and beyond..s-post-summary
now includes styling for answer previews..s-activity-indicator
can now include text, e.g.New
or2
. There are also modifiers for success, warning, and danger.- Atomic classes for the
table-layout
property - Links can now have a dropdown caret with
.s-link__dropdown
Refines
- Various improvements for high contrast themes, but links are now underlined.
- Focus states on buttons appearing links should be more consistent with true links
- Branded buttons now have better focus states
Fixes
.s-block-link
now inherits the font from the parent when it's a button.s-btn__link
also inherits the right font- The
code
element now looks better when it's a link - The hover state of danger buttons was showing a focus ring.
0.71.0
Adds
- High contrast accessibility mode is now available
.g0
gutter- Disabled fieldsets are now styled appropriately
- Tooltips have focus/blur events
Fixes
- Print conditional classes are working again
Refines
- Staff badge borders look a bit better
v0.70.0
Adds
.d-flex
and.d-inline-flex
are now responsive. This is good for when you want to switch from.d-grid
to a flex layout at certain breakpoints..s-navigation
items can now have a dropdown caret- Buttons and links can now be styled independently of global themes for better Stacks-native network theming.
Refines
- Better text wrapping on
.s-navigation
. - Additional Staff and Moderator badge aesthetic tweaks
v0.69.1
Fixes
- A typo in the flex classes
v0.69.0
Adds
- CSS Grid
- Object-fit and Object-position
- An uploader component
- Border color, background color, and font color inherit atomic classes
Refines
- Moderator, staff, and admin badges have been improved
Removes
grid
andgrid--cell
classes are removed. A shim for these legacy classes is available.
v0.68.0
Adds
s-badge__moderator
now renders a diamond- Themed dark mode colors have some refinements at each end of the curve.
v0.67.0
Adds
- A brand new API for theming, e.g.
.fc-theme-primary-400
- Additional brand guidelines
Fixes
.flex__fl1
and.flex__fl0
that were left off on accident. Oops!- Email signature examples are now at full width
Dependencies
- Stimulus is now at
2.0.0