Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @uswds/uswds from 3.5.0 to 3.6.0 #3700

Merged
merged 3 commits into from
Sep 7, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 28, 2023

Bumps @uswds/uswds from 3.5.0 to 3.6.0.

Release notes

Sourced from @​uswds/uswds's releases.

USWDS 3.6.0

What's new in USWDS 3.6.0

Features

Package A11y Breaking Description
usa-in-page-navigation No No Updated JavaScript to exclude hidden headers from the in-page navigation link list. Any header with a style of display:none or visibility:hidden will now be excluded from the list of links in the component. (uswds/uswds#5393)
usa-in-page-navigation No No Added the optional data-main-content-selector attribute to the in-page navigation component. This attribute allows users to designate which element they want the component to pull headers from. If the attribute is not defined, the component will pull headers from the <main> element. (uswds/uswds#5387)
usa-select No No Added ellipses to overflow text in the multiple variant of the select component. This provides a clear indication to users that there is text that extends beyond the select width. (uswds/uswds#5268)

Bug fixes

Package A11y Breaking Description
usa-button, usa-checkbox, usa-combo-box, usa-file-input, usa-input, uswds-core Yes Yes Updated default disabled color settings values. This change also fixed configuration errors with disabled color settings, added $theme-color-disabled-lighter and $theme-color-disabled-darker settings, and added disabled-lighter and disabled-darker tokens. ⚠️ The names and values of disabled settings and tokens have changed and will need to be updated if they are customized in your project. See the "Breaking changes" section below for more details. (uswds/uswds#5402)
usa-pagination Yes Potentially Updated the ellipsis color to meet color contrast requirements. Additionally, this change updated styles to respect the value added to $theme-pagination-background-color. Users should confirm that project pagination colors display as expected. (uswds/uswds#5358)
usa-card, uswds-core No No Fixed a bug that prevented $theme-card-border-width from accepting 0 or string tokens. (uswds/uswds#5325)
usa-combo-box, usa-input, usa-input-prefix-suffix, usa-range, usa-select, usa-textarea, uswds-core Yes No Fixed a bug that caused standard text input variants to show disabled styles in forced colors mode. Now the disabled border color only shows when the element is disabled. (uswds/uswds#5397)
usa-icon-list No No Updated icon list styles to allow $theme-body-font-size to accept 2xs and 3xs size tokens. (uswds/uswds#5363)
usa-input-mask Yes No Fixed a bug in input mask that caused the hover state to show disabled styling. This change also improved the legibility of the component in forced colors mode. (uswds/uswds#5378)
usa-memorable-date Yes No Updated memorable date styles to allow elements to wrap to multiple lines at narrow browser widths. (uswds/uswds#5372)
uswds-utilities No No Fixed a bug that caused font-[family]-[size] utility classes to not generate font-family rules. (uswds/uswds#5388)

Breaking changes

[!WARNING] Disabled theme settings. This release updates USWDS disabled color settings and tokens to conform to our standard naming convention. If your project configures disabled color settings or uses disabled color tokens, you probably need to update your code. Here is a table showing how we reassigned disabled color values:

Default value Previously assigned to: Now assigned to:
"gray-20" $theme-color-disabled $theme-color-disabled-lighter
"gray-40" $theme-color-disabled-text-reverse $theme-color-disabled-light
"gray-50" $theme-color-disabled-text $theme-color-disabled
"gray-70" $theme-color-text-on-disabled $theme-color-disabled-dark

All references to the previous settings have been replaced with references to their corresponding new settings. This means that if you previously customized $theme-color-disabled, you should now instead assign that custom value to $theme-color-disabled-lighter. Additionally, all references to the “disabled” color token in your Sass should now be replaced with “disabled-lighter”.

Please note that all disabled states are now expected to meet minimum color contrast requirements for text (4.5:1). If you have customized any of the disabled color values, please confirm that your disabled elements meet these contrast standards.

Dependencies and security

Dependency name Previous version New version
@​18f/identity-stylelint-config 1.0.0 2.0.0
postcss 8.4.0 8.4.19
stylelint 14.13.0 15.10.1

... (truncated)

Commits
  • eb8e4d4 Merge pull request #5454 from uswds/release-3.6.0
  • 3ba78ce Update uswds-3.6.0-zip-hash.txt
  • 7da86dc Clarify settings and tokens language
  • fd231f1 Update uswds-3.6.0-zip-hash.txt
  • d64bed0 Update version reference
  • 7f2ca9f Add 3.6.0 notifications
  • f4ef3dc Create uswds-3.6.0-zip-hash.txt
  • b040cf9 3.6.0
  • 5e53b48 Merge pull request #5388 from danbrady/db-fix-font-family-utility
  • 4fe8dda Merge pull request #5387 from uswds/al-in-page-nav-parent
  • Additional commits viewable in compare view

Dependabot compatibility score

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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@uswds/uswds](https://github.com/uswds/uswds) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/uswds/uswds/releases)
- [Commits](uswds/uswds@v3.5.0...v3.6.0)

---
updated-dependencies:
- dependency-name: "@uswds/uswds"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner August 28, 2023 15:17
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 28, 2023
Copy link
Contributor

@jskinne3 jskinne3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Starts and runs. I'm not merging because I don't know if this USWDS update makes CSS or a11y changes that aren't obvious to me, so I'll leave that to someone more knowledgable.

@jskinne3 jskinne3 merged commit 4b3ac74 into main Sep 7, 2023
7 checks passed
@jskinne3 jskinne3 deleted the dependabot/npm_and_yarn/uswds/uswds-3.6.0 branch September 7, 2023 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant