Visitar URL original
build(deps-dev): Bump @uswds/uswds from 3.7.1 to 3.8.0 by dependabot[bot] · Pull Request #2827 · trussworks/react-uswds · GitHub
Skip to content

build(deps-dev): Bump @uswds/uswds from 3.7.1 to 3.8.0 - #2827

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot-npm_and_yarn-uswds-uswds-3.8.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot-npm_and_yarn-uswds-uswds-3.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 18, 2024 •

Copy link
Copy Markdown
Contributor

Bumps @uswds/uswds from 3.7.1 to 3.8.0.

Release notes

Sourced from @​uswds/uswds's releases.

USWDS 3.8.0

Features

Package A11y Breaking Markup change Description
usa-checkbox, uswds-core - - - Added styles for indeterminate checkboxes. Checkboxes will now display as indeterminate when you set input.indeterminate = true via JavaScript or add the data-indeterminate attribute. This is only a style addition and does not affect checkbox functionality. Thanks @​lpsinger! (#5713)
usa-in-page-nav - - - Added the ability to customize which headings will be pulled into the in-page navigation link list. Use the optional data-heading-selector attribute to designate the heading levels that should be included in the component. By default, the component will pull all H2 and H3 headers. (#5444)
usa-table, uswds-core - - - Added a sticky header variant to the table component. Use the new .usa-table--sticky-header class to enable sticky positioning on table headers. Use the new $theme-table-sticky-top-offset setting to set the value of the top offset for sticky table headers. (#5420) Thanks @​etanb!
usa-table, uswds-core       Added the ability to customize the table background color at a theme level. Use the $theme-table-background-color setting to set your desired table background color. (#5420)
usa-validation - - - Added textarea support to the validation component. (#5233) Thanks @​danbrady!
usa-layout-docs, uswds-core Yes Yes Yes Added $theme-sidenav-reorder for documentation page sidenav. Use $theme-sidenav-reorder to support old CSS order functionality. This setting can introduce usability issues, so we suggest that teams update their sidenav markup instead. (#5807)

Bug fixes

Package A11y Breaking Markup change Description
usa-button, uswds-core - - - Improved the vertical alignment of usa-icon elements inside of usa-button. Use the new $theme-button-icon-gap setting to set the width of the horizontal gap between the button's text and icon. (#5398)
usa-button, usa-checkbox, usa-combo-box, usa-file-input, usa-radio, uswds-core Yes - - Added automated color contrast checks for disabled tokens. On compilation, USWDS will test disabled element color contrast and provide a fallback color if minimum contrast is not met. If the fallback also fails to meet minimum contrast requirements, the system will provide a warning in the terminal. (#5455)
usa-button-group - - - Improved the appearance of button groups when button text wraps to multiple lines. Now, every button in the group will be the same height. (#5657) Thanks @​aduth!
usa-date-picker Yes - - Added focus styles to the calendar button in high contrast mode. Now, the calendar icon changes to the highlight high contrast token on focus. (#5701)
usa-footer - - - Fixed a bug that caused some grid utility classes to be ignored when used inside usa-footer. (#5675)
usa-layout-docs, uswds-core Yes Yes Yes Updated the order of the side navigation markup on the documentation page template. Now, the HTML order of the page matches the visual order at narrow screen widths. (#5794)
usa-table Yes - Yes Simplified the structure of the scrollable table component example. This removes some accessibility errors related to incomplete table markup. (#5783)

Breaking changes

Documentation page template

We're updating the documentation template to better match the HTML order of the side navigation to the visual order at mobile widths. Before USWDS 3.8.0 we used CSS to re-order the sidenav at mobile widths, placing it below the page's main text content. Starting with USWDS 3.8.0, our default styles no longer use CSS to re-order the side navigation. Now, we suggest including a duplicate sidenav after the main text content, using utility classes to hide/show the sidenavs at the proper widths. The example below shows a before/after.

<div class="grid-container">
  <div class="grid-row grid-gap">
-   <div class="usa-layout-docs__sidenav">
+   <!-- One of two sidenav's only shown in desktop breakpoints. --> 
+   <div class="usa-layout-docs__sidenav display-none desktop:display-block desktop:grid-col-3">
      {{ SIDENAV_MARKUP }}
    </div>
-   <main class="usa-layout-docs__main desktop:grid-col-9 usa-prose usa-layout-docs" id="main-content">
+   <main class="desktop:grid-col-9 usa-prose usa-layout-docs" id="main-content">
      {{ MAIN_CONTENT }}
    </main>
  </div>
+ <!-- New duplicate section only shown on mobile. -->
+  <div class="usa-layout-docs__sidenav desktop:display-none">
+    {{ SIDENAV_MARKUP }}
+  </div>
</div>
</tr></table> 

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added type: automerge PR will be merged automatically i.e., by a bot or action type: dependencies Maintaining 3rd-party dependencies labels Mar 18, 2024
kodiakhq[bot]
kodiakhq Bot previously approved these changes Mar 18, 2024
@dependabot
dependabot Bot force-pushed the dependabot-npm_and_yarn-uswds-uswds-3.8.0 branch 5 times, most recently from 2f24cf6 to cbf97db Compare March 18, 2024 06:12
@ruizajtruss

Copy link
Copy Markdown

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github May 28, 2024

Copy link
Copy Markdown
Contributor Author

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@dependabot @github

dependabot Bot commented on behalf of github Jun 3, 2024

Copy link
Copy Markdown
Contributor Author

A newer version of @​uswds/uswds exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@kclowd

kclowd commented Sep 29, 2024

Copy link
Copy Markdown

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Sep 29, 2024

Copy link
Copy Markdown
Contributor Author

Sorry, only users with push access can use that command.

@kodiakhq kodiakhq Bot removed the type: automerge PR will be merged automatically i.e., by a bot or action label Mar 14, 2025
@kodiakhq

kodiakhq Bot commented Mar 14, 2025

Copy link
Copy Markdown
Contributor

This PR currently has a merge conflict. Please resolve this and then re-add the type: automerge label.

@ajfarkas

Copy link
Copy Markdown
Contributor

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Mar 17, 2025

Copy link
Copy Markdown
Contributor Author

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@lea-m-truss lea-m-truss self-assigned this Mar 18, 2025
@lea-m-truss
lea-m-truss force-pushed the dependabot-npm_and_yarn-uswds-uswds-3.8.0 branch from 4864fc7 to 953d694 Compare March 18, 2025 18:13
kodiakhq[bot]
kodiakhq Bot previously approved these changes Mar 18, 2025
@lea-m-truss
lea-m-truss force-pushed the dependabot-npm_and_yarn-uswds-uswds-3.8.0 branch from 953d694 to d8caf27 Compare March 19, 2025 15:36
kodiakhq[bot]
kodiakhq Bot previously approved these changes Mar 19, 2025
@lea-m-truss
lea-m-truss force-pushed the dependabot-npm_and_yarn-uswds-uswds-3.8.0 branch from d8caf27 to a06cafb Compare March 19, 2025 15:48

@ajfarkas ajfarkas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We should update to 3.12.0 as long as we're doing this.

@ajfarkas
ajfarkas force-pushed the dependabot-npm_and_yarn-uswds-uswds-3.8.0 branch from a06cafb to 4b5d5ad Compare March 27, 2025 15:29
kodiakhq[bot]
kodiakhq Bot previously approved these changes Mar 27, 2025
@ajfarkas
ajfarkas self-requested a review March 29, 2025 00:10

@ajfarkas ajfarkas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good. We should aim for 3.12.0, but if we want an incremental update, this works.

@ajfarkas
ajfarkas force-pushed the dependabot-npm_and_yarn-uswds-uswds-3.8.0 branch from 4b5d5ad to 44b46ba Compare March 29, 2025 00:12
@abbyoung abbyoung added the uswds update Update to a new USWDS version label Aug 27, 2025
@lea-m-truss

Copy link
Copy Markdown
Contributor

@dependabot recreate

@lea-m-truss lea-m-truss added the type: automerge PR will be merged automatically i.e., by a bot or action label Sep 3, 2025
@kodiakhq kodiakhq Bot removed the type: automerge PR will be merged automatically i.e., by a bot or action label Sep 3, 2025
@kodiakhq

kodiakhq Bot commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

This PR currently has a merge conflict. Please resolve this and then re-add the type: automerge label.

@dependabot
dependabot Bot force-pushed the dependabot-npm_and_yarn-uswds-uswds-3.8.0 branch from 44b46ba to 888994b Compare September 3, 2025 19:36
@lea-m-truss
lea-m-truss self-requested a review September 3, 2025 19:36
@lea-m-truss

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [@uswds/uswds](https://github.com/uswds/uswds) from 3.7.1 to 3.8.0.
- [Release notes](https://github.com/uswds/uswds/releases)
- [Commits](uswds/uswds@v3.7.1...v3.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot-npm_and_yarn-uswds-uswds-3.8.0 branch from 888994b to 83c93c0 Compare September 5, 2025 15:17
@brandonlenz

Copy link
Copy Markdown
Contributor

Superseded by #3263

@dependabot @github

dependabot Bot commented on behalf of github Nov 12, 2025

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot-npm_and_yarn-uswds-uswds-3.8.0 branch November 12, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: dependencies Maintaining 3rd-party dependencies uswds update Update to a new USWDS version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants