7.0.0-beta.1
Pre-release
Pre-release
Breaking Changes
- NPM package is renamed from
identity-style-guide
to@18f/identity-design-system
. (#331) - Update USWDS from 2.13.3 to 3.4.1
- Polyfills have been removed, consistent with current Login.gov browser support
- The following JavaScript named exports have been renamed or removed:
navigation
is renamed toheader
validator
is renamed tovalidation
- Sass artifacts now require Dart Sass. The Ruby Sass and LibSass (C) compilers are no longer supported.
- To improve performance of the default CSS bundle, responsive utility breakpoints other than
tablet:
have been disabled by default. Previously,mobile-lg:
anddesktop:
utilities were also enabled. You can restore the original settings by overriding the$theme-utility-breakpoints
Sass variable.- Component styling which previously responded to now-disabled breakpoints have been updated to standardize on the
tablet
breakpoint. This affectsusa-button--wide
,usa-search--big
, andusa-intro
CSS classes.
- Component styling which previously responded to now-disabled breakpoints have been updated to standardize on the
- Image URLs in stylesheets are no longer processed by
asset-path-if-exists
. For Rails integrations, consider using the$theme-image-path
Sass variable in combination with Sprocketsresolve_assets_in_css_urls
option. - The deprecated
$image-path
Sass variable setting has been removed. Use$theme-image-path
instead. - The deprecated
alerts/success-badge.svg
image has been removed. Usealerts/success.svg
instead. - The deprecated
.usa-form-hint
CSS class has been removed. Use.usa-hint
instead. - Removed
usa-alert__paragraph
alert helper class. Usemeasure-3
measure utility instead.