Skip to content

Releases: StackExchange/Stacks

v2.5.2

13 May 13:13
Compare
Choose a tag to compare

What's Changed

Fixes

  • fix(a11y): indicate required form controls using an asterisk #1723

Dependency updates

  • bump stylelint from 16.3.1 to 16.5.0 #1729
  • bump @testing-library/dom from 10.0.0 to 10.1.0 #1728
  • bump @typescript-eslint/eslint-plugin from 7.7.1 to 7.8.0 #1730
  • bump @typescript-eslint/parser from 7.7.1 to 7.8.0 #1731
  • bump @web/test-runner from 0.18.1 to 0.18.2 #1733
  • bump vitest from 1.5.2 to 1.6.0 #1734
  • bump @web/dev-server-rollup from 0.6.1 to 0.6.3 #1732
  • bump cssnano from 6.1.2 to 7.0.1 #1719

Full Changelog: v2.5.1...v2.5.2

v2.5.1

03 May 20:59
Compare
Choose a tag to compare

What's Changed

Fixes

  • a11y: update code highlight colors to meet contrast requirement #1724
  • tag: implement tag fixes for font-weight and required variant theming #1727

Dependency updates

  • bump ejs from 3.1.9 to 3.1.10 in #1725

Full Changelog: v2.5.0...v2.5.1

v2.5.0

01 May 16:41
Compare
Choose a tag to compare

What's Changed

⚠ BREAKING CHANGE

  • tag: updated design #1717

Important

This release includes changes to the tag component design, including the removal of the muted variant and the is-selected modifier styles. Other tag component styles have been updated to ensure they meet the Stacks accessibility requirements for color contrast.

See #1717 for details on all of the changes to tags.

Dependencies Upgrades

  • bump @typescript-eslint/eslint-plugin from 7.6.0 to 7.7.0 #1713
  • bump mini-css-extract-plugin from 2.8.1 to 2.9.0 #1715
  • bump @typescript-eslint/parser from 7.6.0 to 7.7.0 #1714
  • bump @testing-library/dom from 9.3.4 to 10.0.0 #1716
  • bump css-loader from 6.10.0 to 7.1.1 #1707
  • bump @typescript-eslint/parser from 7.7.0 to 7.7.1 #1718
  • bump vitest from 1.5.0 to 1.5.2 #1720
  • bump @stackoverflow/stacks-editor from 0.10.5 to 0.10.6 #1721
  • bump @typescript-eslint/eslint-plugin from 7.7.0 to 7.7.1 #1722

Full Changelog: v2.4.0...v2.5.0

v2.4.0

16 Apr 12:45
Compare
Choose a tag to compare

What's Changed

⚠ BREAKING CHANGES

  • colors: remove v1 color output and references #1664

Important

This release removes all the Stacks Classic v1 colors APIs. With Stacks Classic v2 we have introduced a brand new palette of colors (see migration guide for more details) but we still kept around the old v1 palette to give consumer some time to adjust to the new one. In this release we are removing those old APIs and significantly shrinking the payload of our css bundle. If you are still using the old colors please refer to the migration guide.

Features

  • accessibility: add skip link to bypass blocks of repeated content #1692

Dependencies Upgrades

  • bump typescript from 5.4.3 to 5.4.4 #1704
  • bump cssnano from 6.1.0 to 6.1.2 #1701
  • bump @typescript-eslint/eslint-plugin from 7.4.0 to 7.5.0 #1705
  • bump @typescript-eslint/parser from 7.4.0 to 7.5.0 #1703
  • bump @typescript-eslint/eslint-plugin from 7.5.0 to 7.6.0 in #1708
  • bump vitest from 1.4.0 to 1.5.0 #1710
  • bump typescript from 5.4.4 to 5.4.5 #1709
  • bump @typescript-eslint/parser from 7.5.0 to 7.6.0 #1711

Full Changelog: v2.3.3...v2.4.0

v2.3.3

04 Apr 21:09
Compare
Choose a tag to compare

What's Changed

Fixes

  • Checkbox: checked state forced color contrast #1699

Dependency updates

  • bump @typescript-eslint/parser from 7.3.1 to 7.4.0 #1695
  • bump @stackoverflow/stacks-editor from 0.10.3 to 0.10.5 #1694
  • bump stylelint from 16.3.0 to 16.3.1 #1698
  • bump @typescript-eslint/eslint-plugin from 7.3.1 to 7.4.0 #1696
  • bump typescript from 5.4.2 to 5.4.3 #1697
  • bump vite from 5.1.6 to 5.2.8 #1700

Full Changelog: v2.3.2...v2.3.3

v2.3.2

26 Mar 18:09
Compare
Choose a tag to compare

What's Changed

Fixes

  • topbar: ensure search renders correctly at small widths #1693

Dependency updates

  • bump markdown-it from 14.0.0 to 14.1.0 #1688
  • bump stylelint from 16.2.1 to 16.3.0 #1689
  • bump @typescript-eslint/parser from @dependabot in #1687
  • bump webpack from @dependabot in #1690
  • bump @typescript-eslint/eslint-plugin from 7.2.0 to 7.3.1 #1691

Full Changelog: v2.3.1...v2.3.2

v2.3.1

22 Mar 16:50
Compare
Choose a tag to compare

What's Changed

Fixes

  • Button: ensure button gains bg color when focused #1671
  • Button group: make minor styling adjustments #1686
  • Focus: apply per-component focus styles on focus classes #1680
  • Notice: improve contrast of inline code #1677

Dependency Upgrades

  • bump @typescript-eslint/parser from 7.1.0 to 7.2.0 #1679
  • bump typescript from 5.3.3 to 5.4.2 #1676
  • bump @stackoverflow/stacks-icons from 6.0.1 to 6.0.2 #1674
  • bump cssnano from 6.0.5 to 6.1.0 #1673
  • bump @stackoverflow/stacks-editor from 0.10.2 to 0.10.3 #1672
  • bump @typescript-eslint/eslint-plugin from 7.1.0 to 7.2.0 #1681
  • bump vitest from 1.3.1 to 1.4.0 #1682
  • bump @web/test-runner from 0.18.0 to 0.18.1 #1683

Full Changelog: v2.3.0...v2.3.1

v2.3.0

06 Mar 18:53
Compare
Choose a tag to compare

What's Changed

⚠ BREAKING CHANGES

  • button-group: update design #1630

Important

This release includes a redesign of the button group. We recommend you update your markup to match what's recommended in the button group documentation by updating the following:

  • Remove the .s-btn__outlined class from any .s-btn elements within button groups
  • To prevent layout shifts when a button is selected, wrap button text (excluding any child badges) in a span element
    • Add the .s-btn--text class on the span
    • Add a data-text attribute to the span with a value set to the text within the button
      • Set the value of the data-text attribute to the text within the button

This design change may also result in the button group component taking up more horizontal space than previously. See the related PR for more context.


Fixes

  • input: add focus-within focus styling #1646
  • spacing: generate spacing atomic classes programatically #1654
    • This change includes both a refactor of the generation of atomic spacing classes and fixes the omission of some atomic spacing classes including responsive versions of these classes

Refactors

  • topbar: use pseudo-private custom properties #1622
  • spacing: generate spacing atomic classes programatically #1654

Tests

  • button: abstract test args to setup file #1663
  • button-group: add a11y, visual tests #1346
  • post-summary: add a11y, visual test #1499
  • spacing: add less tests #1657

Full Changelog: v2.2.0...v2.3.0

v2.2.0

21 Feb 19:58
Compare
Choose a tag to compare

What's Changed

  • focus: add atomic focus classes #1637
  • badge: add NEW badge #1647

Full Changelog: v2.1.1...v2.2.0

v2.1.1

12 Feb 20:23
Compare
Choose a tag to compare

What's Changed

Fixes

  • button: ensure visited link button renders legibly #1640

Internal fixes

  • test: ensure includeNullModifier value is honored #1638

Added component tests

  • input-icon: add a11y; visual tests #1521
  • select: add a11y, visual tests #1498

Full Changelog: v2.1.0...v2.1.1