Bump uswds from 2.11.2 to 2.12.0
Created by: dependabot-preview[bot]
Bumps uswds from 2.11.2 to 2.12.0.
Release notes
Sourced from uswds's releases.
2.12.0
What's new in USWDS 2.12.0
New component
We have one new component in this release. Learn more about it on our website:
Pagination: Pagination is navigation for paginated content.
New Spanish-language templates
We now have Spanish-language versions of our 404 template and our Authentication page templates
Other improvements and bug fixes
Added more negative margin tokens to margin utilities. Now you can use utilities like
margin-neg-4andmargin-neg-5. Thanks@mahoneycm! (uswds/uswds#4212)Card's body exdent modifier now works as documented. Now adding the
.usa-card__body--exdentmodifier will work as expected. Thanks@btwegmann! (uswds/uswds#4165)Checkbox and radio buttons now include automatic accessible color. Now checkbox and radio buttons will display in the proper accessible color, and adapt to the text, link, and background colors you set in your projects's settings. You can also declare a custom background color for checkbox and radio buttons with
$theme-input-background-color. The selected tile color is now based on the accessible link color, and is not a custom setting. (uswds/uswds#4199)We also added a new mixin to make it easier to scope custom checkbox and radio button colors:
checkbox-and-radio-colors($bg-color, $selected-color)It takes two color token inputs,
$bg-colorand$selected-color. Neither are required and will assume the values in settings if omitted. It returns all the code necessary to set checkbox and radio inputs for the desired scope.For instance, if you wanted to change the color of all checkbox and radio elements within a
.checkbox-testscontainer, you could do something like the following.checkbox-tests { @include set-text-and-bg("green-80"); @include checkbox-and-radio-colors("green-80", "green-warm-10v"); padding: units(2); border-radius: radius("md"); }State color tokens available in default utilities. Now you can use utilities like
text-primary-darkin the default utility set. (uswds/uswds#4198)The
success-darkcolor token now looks better. We updated the value ofsuccess-darkto be more vivid and look more likesuccess. Thanks@maya! (uswds/uswds#4183)Cleaner margins in radio tiles. Now radio tiles have cleaner, more reliable styling for their margin. Thanks
@maya! (uswds/uswds#4181)Settings
Status Item New Old Notes Changed$theme-color-success-darkgreen-cool-50green-cool-50v— Changed$theme-color-success-darkergreen-cool-80green-cool-60v— New$theme-input-background-color2— A value of defaultuses the value of$theme-body-background-color.New$theme-pagination-background-colordefault— A value of defaultuses the value of$theme-body-background-color.New$theme-pagination-breakpointtablet— New$theme-pagination-button-border-radiusmd—
... (truncated)
Commits
-
3633bb1Merge pull request #4236 from uswds/release-2.12.0 -
1e076a9Create uswds-2.12.0-zip-hash.txt -
a91dd102.12.0 -
5f9009cMerge branch 'develop' of https://github.com/uswds/uswds into develop -
3db6662Update package-lock.json -
143432fMerge pull request #4235 from uswds/jm-update-dependencies -
bd5e165Update notifications and move deprecated settings to deprecated file -
be5ecf82.11.2 → 2.12.0 -
b1b56a0Update package-lock.json -
2563258Merge branch 'develop' into jm-update-dependencies - 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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill 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 labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill 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)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)