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

[Snyk] Upgrade @uswds/uswds from 3.4.1 to 3.5.0 #143

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

jbrown-xentity
Copy link
Contributor

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade @uswds/uswds from 3.4.1 to 3.5.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 23 days ago, on 2023-06-09.
Release notes
Package name: @uswds/uswds
  • 3.5.0 - 2023-06-09

    What's new in USWDS 3.5.0

    Features

    Package A11y Breaking Description
    usa-button, usa-dark-background, uswds-core —  Stopped using font smoothing. No longer use font smoothing for dark backgrounds and disabled buttons. (#5250)
    usa-button, usa-checkbox, usa-date-picker, usa-pagination, usa-radio, usa-range, usa-search, uswds-core Yes  Improved legibility of buttons in forced colors mode. Added a consistent border in forced colors mode. (#5147)
    usa-button, usa-checkbox, usa-combo-box, usa-date-picker, usa-date-range-picker, usa-file-input, usa-input, usa-input-mask, usa-input-prefix-suffix, usa-radio, usa-range, usa-select, usa-textarea, uswds-core Yes  Improved consistency of disabled styles in forced colors mode. (#5295)
    usa-button, usa-checkbox, usa-combo-box, usa-date-picker, usa-date-range-picker, usa-file-input, usa-input, usa-input-prefix-suffix, usa-radio, usa-range, usa-select, usa-textarea, usa-time-picker, uswds-core Yes  Improved consistency and visibility of disabled styles. Disabled form inputs now use a consistent gray background. (#5063)

    ⚠️ We don't consider this a breaking change, but teams should check disabled form elements to assure that the new styles are working in their layouts.
    usa-link, uswds-core Yes  Labeled external links for screen readers. Added a label for screen readers that identifies external links and if they open in a new tab. (#5166)
    uswds-core Yes  Added settings for announcing external links. Added $theme-external-link-sr-label-tab-same and $theme-external-link-sr-label-tab-new to control how screen readers announce external links. (#5166)
    usa-content, usa-paragraph, usa-prose, uswds-core —  Yes Removed usa-prose- mixins and placeholders from Sass. Users should instead use typeset- mixins in their place. This is a breaking change only if your project Sass uses usa-prose- mixins and placeholders. It does not affect the look of any usa-prose–styled element.(#5158)
    uswds-core —  Added $theme-heading-margin-top and $theme-paragraph-margin-top system variables. (#5158)
    uswds-core —  Yes Updated individual Sass map settings without affecting defaults. Now adjusting a single Sass map setting will no longer set all other values in the map to false. Users can now update only the map values they wish to change. This is a breaking change only if your project deactivated mapped settings by not declaring them. (#5216)
    usa-accordion, usa-banner, usa-nav, uswds-core —  Added two new settings to customize accordion background colors. You can now customize accordion button and content background colors with $theme-accordion-button-background-color and $theme-accordion-background-color. (#5269)

    Bug fixes

    Package A11y Breaking Description
    usa-header —  Removed the id attribute from the usa-logo element. (#5319)
    usa-header —  Fixed a bug that caused inaccurate megamenu template markup. The markup in megamenu code examples now accurately includes the usa-megamenu class. (#5311)
    usa-table Yes  Fixed a typo in the sortable table JavaScript that caused the aria-label in table headers to have an unnecessary single quote. (#5280)
    uswds-core, uswds-utilities —  Removed unused utility builder comments from compiled CSS. This update significantly reduces the compiled file size. (#5209)
    usa-tooltip —  Fixed a bug that removed default positioning. If the data-position attribute is not specified, the tooltip position will now default to "top". (#5228)
    usa-in-page-navigation —  Fixed a bug that prevented links that start with a number from scrolling when clicked. (#5200)
    usa-alert —  Removed redundant and invalid height declaration. (#5187)
    usa-button Yes  Fixed a bug that caused button type attribute to render empty. (#5247)
    usa-button Yes  Added spacebar trigger to links styled as buttons. Now any item that looks like a button will trigger with the spacebar, even if the element is a link. (#4385)
    usa-card Yes  Yes Replaced button elements with links styled as buttons.

    ⚠️ This is marked as a breaking change because it changes the recommended card component markup to include <a href="#" class="usa-button"></a> for the call to action instead of a button element. (#4385)
    usa-pagination Yes Yes Improved accessible markup of overflow ellipses. We replaced the role="presentation" with aria-label="ellipsis indicating non-visible pages" for usa-pagination__overflow items to better conform to WCAG 2.0 and 2.1.

    ⚠️ This is marked as a breaking change because it changes the recommended component markup. In the usa-pagination__overflow element, use aria-label="ellipsis indicating non-visible pages" instead of role="presentation". (#5197)
    usa-file-input —  Fixed an issue with large file previews. Now adding large files no longer results in an infinite spinner. Adding large files should now result in an accurate preview. (#5114)
    usa-file-input Yes  Improved the file input experience for voice command and screen reader users. Voice command users can now interact with the component by speaking the visible instructions text. Additionally, screen reader users now have access to both the instructions text and the file selection status. (#5213)
    usa-combo-box Yes  Improved consistency of keyboard actions. Users can now to use Tab to escape the Combo box selection without making a choice, and Space to select the current highlighted option when within the dropdown menu. (#5160)
    usa-accordion, usa-banner, usa-nav Yes  Adjusted forced colors mode styles to ensure visibility and increase consistency. Forced colors mode styles will now override the background color and display the button outline. The open/close icons now dynamically adjust to ButtonText colors. (#5286)
    usa-identifier —  Yes Updated Accessibility statement link text. Updated the identifier to use the text "Accessibility statement" (EN) / "Declaración de accesibilidad" (ES) for the required link to an accessibility statement.

    ⚠️ This is a breaking change because it changes the content of the identifier. Earlier versions of the identifier will continue to work as expected. (#5278)
    Guidance Yes  Updated guidance to suggest identifying required and optional fields. We added a new section on identifying required fields and now suggest labeling required fields with a red asterisk and optional fields with the word optional. (uswds/uswds-site#1834)

    Dependencies and security

    Dependency name Previous version New version
    @ chanzuckerberg/axe-storybook-testing 5.0.1 6.3.0
    axe-core 4.3.4 4.6.3
    extract-loader 5.1.0
    webpack 5.58.1 5.76.0

    0 vulnerabilities in regular dependencies (dependencies for USWDS projects installed with npm install @ uswds/uswds)

    1 moderate 29 high vulnerabilities in devDependencies (development dependencies)


    Release TGZ SHA-256 hash: e0dbab25bffaaf02b3b7317690939d9e0e63bc5c824046e778de8f4c15227a9c

  • 3.4.1 - 2023-03-13

    What's new in USWDS 3.4.1

    There were a couple features and bug fixes that we intended to include in USWDS 3.4.0, but inadvertently omitted from that release.

    Features and bug fixes

    Type Package A11y Breaking Description
    Feature usa-in-page-navigation —  Update the URL in the address bar when navigating from the In-Page Navigation. Now users can see the proper anchor link in the address bar when navigating. Thanks @ aduth! (#5068)
    Bug usa-form Fixed invisible link text for links styled as buttons within forms. Now link text does not match the primary button color when nested inside of a form and the usa-button class is present. (#5112)
    Bug usa-header —  Logo text width setting now works as expected. Now the design system respects the value passed to $theme-header-logo-text-width. Thanks @ RSD-accessboard! (#5008)

    Dependencies and security

    No dependency changes


    0 vulnerabilities in regular dependencies (dependencies for USWDS projects installed with npm install uswds)

    1 moderate 33 high vulnerabilities in devDependencies (development dependencies)

    Release TGZ SHA-256 hash: af1cd42c60b73fbbfa9c27b8ee52fb735b1a2234c6b3aa17de5bbf8a9190ca62

from @uswds/uswds GitHub release notes
Commit messages
Package name: @uswds/uswds
  • 603df3c Merge pull request #5323 from uswds/release-3.5.0
  • 6ab68c3 Create uswds-3.5.0-zip-hash.txt
  • ef8eae4 3.5.0
  • a80896b Add form controls notification
  • b3af16a Update guidance items
  • c1e8251 Improve readability
  • cfb5c31 Add accessibility markup updates
  • dceec3d Add notification about noreferrer guidance
  • e7a679f Merge branch 'develop' into release-3.5.0
  • c302e88 Add breaking notifications
  • db2e130 Merge branch 'release-3.5.0' of https://github.com/uswds/uswds into release-3.5.0
  • 2599ea6 Update docs references to 3.5.0
  • b73089a Merge pull request #5327 from uswds/jm-update-3.5.0-with-develop
  • cf8c634 Merge pull request #5319 from uswds/al-extended-megamenu-bug-5305
  • 8736f93 Merge pull request #5326 from uswds/jm-revert-banner-init
  • dd0c518 Revert "Merge pull request #5242 from uswds/jm-banner-init"
  • da0989b Add .tool-versions for general version managers
  • b599fdd Merge pull request #5311 from uswds/jm-extended-megamenu-bug-5305
  • 54175f5 Restore accordion id_prefix
  • dbf4d51 Remove id_prefix from header~megamenu.json
  • f5e45ac Remove site title logo id and id_prefix
  • 33f2526 Move site_title declaration from _header.twig to usa-navbar.twig
  • 2fb86e9 Merge pull request #5286 from uswds/cm-accordion-high-contrast-fix
  • 100e162 Merge pull request #5269 from uswds/jm-accordion-background

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@btylerburton btylerburton merged commit af5d06b into main Jul 12, 2023
2 checks passed
@btylerburton btylerburton deleted the snyk-upgrade-5bd101b54fd50ee6cd70f516bdcebaf9 branch July 12, 2023 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants