You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support was indirectly dropped in v7.0.0 via the upgrade to USWDS v3.0.0, which similarly ended explicit support for Internet Explorer. This package had continued to include Internet Explorer in its Browserslist configuration, but this has now been removed.
Remove utility classes for raw color tokens. (#405)
These colors were usually incorrect because they were using U.S. Web Design System defaults instead of the Login.gov Design System color set.
In most common cases, these should be replaced with stateful equivalents ("success" instead of "green") or theme colors ("base" instead of "gray-50").
Applies to the following utilities:
Background color (bg-*)
Border color (border-*)
Text color (text-*)
Outline color (outline-*)
Text underline color (underline-*)
The following colors are removed:
red (use error instead)
orange
gold
yellow (use warning instead)
green (use success instead)
mint
cyan
blue (use primary instead)
indigo
violet
magenta
gray-10 (use base-lighter instead)
gray-30 (use base-light instead)
gray-50 (use base instead)
gray-70 (use base-darker instead)
gray-90 (use base-darkest instead)
Remove images not integral to the design system. (#410)
Browser-ready JavaScript bundles are now minified. (#421)
New Features
Add TypeScript types for JavaScript components. (#413)
Include init.js as both a package entrypoint and precompiled asset within dist/assets/js, which provides the functionality of U.S. Web Design System's uswds-init.js script to reduce the appearance of flashing content during page load. See README Browser-Ready JavaScript Bundles for usage instructions. (#421)
Bug Fixes
Add missing JavaScript exports for button, inPageNavigation, inputMask, languageSelector, and range. (#407)
Fix dist/assets/js/main.js compilation to properly consider browser support. (#421)
Fix strict ES Module import errors due to lack of fully-qualified file path when importing auto entrypoint. (#422)
Fix background color when hovering an expanded navigation section on large viewport sizes. (#418)