Bump uswds from 2.0.0-beta.5 to 2.0.0-beta.6
Created by: dependabot-preview[bot]
Bumps uswds from 2.0.0-beta.5 to 2.0.0-beta.6.
Release notes
Sourced from uswds's releases.
2.0.0 Beta 6
This release features some significant breaking changes, but it should be the last release of major code changes before the final release of USWDS 2.0.
Bug Fixes
- Added the missing
u-order()
utility mixinImprovements
General
We're now adding the USWDS version number to our settings files to better communicate which version of settings files your project uses. (Thanks @jeremyzilar!)
The layout grid now has its own switch for using
!important
(general >$theme-layout-grid-uses-important
) instead of being connected to the$theme-utilities-use-important
variable.We're now flipping the caret in dropdown menus when the menu is open to consistently indicate that it is closable (#2616)
Typography
We've added two new font-types to typography settings:
lang
andicon
for icon fonts and language-specific fonts (#2683)There's now support for adding custom font stacks and custom font source files in the typography settings file. (#2858)
Adding custom typefaces is now a bit simpler and actually works. (#2858)
We've improved the font rendering speed by adding
font-display: fallback
to our[@​font](https://github.com/font)-face
declarations (#2744)Global styling options and prose scope are simpler and more streamlined. (#2814)
- Removed
$theme-content-styles
and its options (global
,scoped
,none
)- Now
usa-prose
always applies content styles to its direct children- Replaced the
$theme-global-styles-basic
variable with three explicit global styling vars — each set tofalse
by default.
$theme-global-paragraph-styles
applies styling top
elements$theme-global-link-styles
applies styling toa
elements$theme-global-content-styles
applies styling top
,a
,h[1-6]
,ol
,ul
, andtable
elements- Now USWDS will only apply global styling when the user enables it.
There's better, more clear documentation in the typography settings
previous setting Beta 6 equivalent $theme-content-styles: 'scoped'
no explicit setting necessary $theme-content-styles: 'global'
$theme-global-content-styles: true
$theme-content-styles: 'none'
$theme-global-paragraph-styles: false
$theme-global-link-styles: false
$theme-global-content-styles: false
$theme-global-styles-basic: true
$theme-global-paragraph-styles: true
$theme-global-link-styles: true
Breaking typography changes
... (truncated)
old settings new settings $theme-font-path
in settings-general$theme-font-path
in settings-typography$theme-font-definitions
$theme-typeface-tokens
$theme-font-definitions.[token].name
$theme-typeface-tokens.[token].display-name
Commits
-
c231bf1
Merge pull request #2935 from uswds/release-2.0.0-beta.6 -
13881ab
2.0.0-beta.6 -
92e1bf9
Merge pull request #2932 from uswds/fix-external-link -
46f4695
Update beta.5 -> beta.6 in README -
630855c
Merge pull request #2930 from uswds/update-button-background -
ecdc709
Remove stray extra line -
9d4139e
Use BEM for external link; use modular link--alt -
024723d
Merge pull request #2933 from uswds/dw-accordion-button -
4aafd45
Show/hide proper text in banner -
1725956
Remove underline - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot ignore this [patch|minor|major] version
will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.