Skip to content

2.11.2

Compare
Choose a tag to compare
@thisisdano thisisdano released this 28 Apr 18:20
· 4575 commits to main since this release
de44902

What's new in USWDS 2.11.2

Bugfixes

Checked radio buttons remain checked in disabled state. Now the visual checked state of a checked checkbox does not change if that element is later disabled. (#4160)

Fixed incorrect variable usage ($theme-site-max-width). We updated our docs and settings to remove the $theme-site-max-width variable, which was in the docs and in the settings, but not in the code itself. In its place, use $theme-grid-container-max-width. $theme-site-max-width is marked for deprecation. (uswds/uswds-site#1198)

Added missing Summary Box package. Now you can add a Summary Box package to your project with packages/usa-summary-box. (#4162)

Fixed unstyled button styling. We updated and strengthened the styling of unstyled buttons to prevent any unwanted style leakage from conventional buttons, especially is used in conjunction with usa-button--hover and usa-button--active classes. Thanks @aduth! (#4077)

Fixed color of active parents in the side navigation. We fixed a regression where the parent items in the side navigation no longer received the primary color. Thanks @asarazor! (#4163)

⚠️ Fixed the size of some of our icons. The view box on some or our icons was 20px instead of 24px. We updated these icons to use the proper view box. This may result in small changes to the display of icons, but will result in a more consistent placement and appearance across all icons in our icon set. (#4139)

⚠️ Swapped thumb icons in our sprite for consistency. We replaced thumb_down_off_alt with thumb_down_off in our icon sprite for consistency with its thumb_up pair. (#4139)

⚠️ Removed duplicate eye icon. Removes remove_red_eye icon from usa-icons and sprite. Use of visibility instead. (#4139)

Dependencies and security

dependency old new
lodash.debounce 4.0.7 REMOVED
@babel/preset-env 7.12.10 7.13.15
@frctl/fractal 1.5.4 1.5.6
@frctl/nunjucks 2.0.8 2.0.10
@types/node 14.14.13 14.14.43
autoprefixer 10.1.0 10.2.5
axe-core 4.1.1 4.2.0
eslint 7.14.0 7.25.0
eslint-config-prettier 7.0.0 7.2.0
gulp-replace 1.0.0 1.1.1
handlebars 4.7.6 4.7.7
jsdom 16.4.0 16.5.3
mocha 8.2.1. 8.3.2
mq-polyfill 1.1.8
node-notifier 9.0.0 9.0.1
postcss 8.2.1 8.2.13
postcss-csso 5.0.0 5.0.1
sass 1.29.0 1.32.11
sinon 9.2.2 9.2.4
snyk 1.557.0 1.570.0
stylelint-prettier 1.1.2 1.2.0
stylelint-scss 3.18.0 3.19.0
typescript 4.1.3 4.2.4

0 vulnerabilities in regular dependencies (dependencies for USWDS projects installed with npm install uswds)

6 low, 2 high vulnerabilities in devDependencies (development dependencies)

Release ZIP SHA-256 hash: 688ddc5a0807eb202093f435b9949a5b29ebef9a7d6e7d073279d28ffd83e9a8