Skip to content

USWDS 3.0.2

Compare
Choose a tag to compare
@thisisdano thisisdano released this 17 Jun 22:33
· 2766 commits to main since this release
4b22066

What's new in USWDS 3.0.2

Improvements and bug fixes

  • uswds-init is better at suppressing FOUC. We updated the uswds-init script's event listener to target window from document. This assures that the page's JavaScript is fully loaded before we remove the loadingClass that suppresses the open banner. The banner should no longer flash open. (#4676)
  • Improved Date Picker display at very narrow widths. We improved the display of the date picker at very narrow widths so there are no UX inconsistencies when the date picker is in a form at less than 320px width. This assures that Date Picker conforms to WCAG 2.1. (#4770)
  • Custom background colors no longer can cause compile failures. We updated some of our custom icons so setting a custom $theme-body-background-color value no longer throw an error with some colors. (#4686)
  • More accurate automatic contrast checking for custom colors. We made our contrast checker more sophisticated so it can more accurately assess the luminance of custom colors, particularly those approximately grade 45. (#4694)
  • Improved form group error state display. We improved the styling of form groups so that the margin is the same whether or not the form group is in an error state. (#4751)
  • High resolution flag for the Banner. We updated the flag icon in the banner so it appears at a high resolution. (#4792)
  • Megamenu always stays within the viewport. We improved the styling of the header megamenu so it resizes properly when trying to capture screenshots. (#4757)
  • Improved display of dropdown menus in an error state. Text descenders in a dropdown menu are no longer cut off in the error state. (#4709)
  • Improved target area for header dropdown links. Links in dropdown menus are now formatted as block elements to provide a larger selectable surface. (#4708)
  • Table border setting works as expected. Theme table settings are now consistently applied to table styles. (#4712)
  • Added a Fax icon to the default set. (#4797)
  • Added a Remove Circle icon to the default set. (#4791)
  • Fixed precedence of normalize. When either the $theme-global-content-styles or $theme-global-paragraph-styles settings are set to true, styles from normalize.css no longer take precedence over some USWDS global typography styles. (#4726)
  • Navigate_far icons now accept custom color. We fixed the navigate_far_before and navigate_far_next icons to allow a customColor fill. (#4780)

Thanks @mahoneycm for your time on USWDS Core! 👏

Dependency updates

dependency old new
chanzuckerberg/axe-storybook-testing 5.0.0 5.0.1
@material-design-icons/svg 0.11.1
@storybook/addon-a11y 6.4.18 6.5.5
@storybook/addon-essentials 6.5.5
@storybook/addon-links 6.4.18 6.5.5
@storybook/builder-webpack5 6.5.5
@storybook/html 6.4.18 6.5.5
@storybook/manager-webpack5 6.4.18 6.5.5
svgo 2.8.0

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

Internal only: 3 moderate, 31 high vulnerabilities in devDependencies (development dependencies)

Release TGZ SHA-256 hash: c760b8287f4fdc15652df6eb9cc8790eb1f931bac53a5141a5a3ac328980dee0