Skip to content

Comments

npm: bump @uswds/uswds from 3.4.1 to 3.7.0#522

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/uswds/uswds-3.7.0
Closed

npm: bump @uswds/uswds from 3.4.1 to 3.7.0#522
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/uswds/uswds-3.7.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 10, 2023

Bumps @uswds/uswds from 3.4.1 to 3.7.0.

Release notes

Sourced from @​uswds/uswds's releases.

USWDS 3.7.0

What's new in USWDS 3.7.0

Items we've identified with a Markup change have a non-breaking change in their component markup. Teams should update their implementations and templates to reflect this change.

Features

Package A11y Breaking Markup change Description
usa-banner Updated the banner component so that it initializes without requiring import of the usa-accordion package. (#5551)
usa-banner Optimized the us_flag_small.png icon and added a vector us_flag.svg icon. Update this asset in your project for improved image quality. Thanks @​aduth! (#5542)
usa-data-picker Yes Improved keyboard navigation for screen readers in the date picker component. This change enables table navigation controls in the calendar, which creates more consistent and intuitive navigation across browsers and screen readers. (#5374)
usa-icon Added the X social media icon. We added the X social media icon, but also preserved the legacy Twitter icon to allow teams to make the decision on when to update their social media information. (#5589)
usa-modal Updated modal JavaScript to include fallbacks and error messages when initialization cannot be completed. This update also prevented errors when trying to initialize modal twice. (#5315)

Bug fixes

Package A11y Breaking Markup change Description
usa-card Fixed a bug that prevented $theme-card-padding-y from accepting expected token values. (#5571)
usa-footer Yes Restored underlines to footer links in default states. Now, footer links meet WCAG 2.0 AA requirements. (#5588)
usa-identifier Yes Yes Updated the screen reader readout to say "Official" instead of "An official". When read out on a screen reader, the statement "An official website of [Agency name]" can sound like "UNofficial website of [Agency name]". To minimize confusion, we hid the word "An" from screen readers with aria-hidden. To improve the screen reader experience, update your component markup. (#5491)
usa-range Yes Yes Removed redundant ARIA attributes on the range component to improve the screen reader experience. To incorporate these changes, update your range component markup. (#5413)
usa-range Yes Yes Added optional data-text-unit and data-text-preposition attributes to range slider. When used alongside the max attribute, the optional data-text-unit attribute adds language for the unit type. For example, adding a value of "stars" enables a readout like "3.5 stars of 5". The optional data-text-preposition creates the ability to customize the language of the preposition "of" in that string. (#5472)
usa-site-alert Removed the top margin from the site alert component. Thanks @​lpsinger! (#5550)
uswds-core Fixed a bug that prevented $theme-site-margins-width from accepting expected token values. (#5582)

Dependencies and security

Updated the default node version from 16 to 20. (#5560)

Dependency name Previous version New version
classlist-polyfill 1.0.3 1.2.0
@​babel/core 7.16.7 7.23.2
@​babel/preset-env 7.16.7 7.23.2
@​chanzuckerberg/axe-storybook-testing 6.3.0 6.3.1
@​material-design-icons/svg 0.11.1 0.14.13
@​storybook/addon-a11y 6.5.12 6.5.16
@​storybook/addon-essentials 6.5.12 6.5.16
@​storybook/addon-links 6.5.12 6.5.16
@​storybook/builder-webpack5 6.5.12 6.5.16
@​storybook/html 6.5.12 6.5.16
@​storybook/manager-webpack5 6.5.12 6.5.16
@​types/node 16.11.19 20.8.9
ansi-colors 4.1.1 4.1.3

... (truncated)

Commits

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.4.1 to 3.7.0.
- [Release notes](https://github.com/uswds/uswds/releases)
- [Commits](uswds/uswds@v3.4.1...v3.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependabot This issue or pull request was generated by Dependabot dependencies Pull requests that update a dependency file labels Nov 10, 2023
@dependabot dependabot bot requested a review from a team November 10, 2023 05:47
@vercel
Copy link

vercel bot commented Nov 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ldaf ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 10, 2023 5:53am

@github-actions
Copy link

Coverage after merging dependabot/npm_and_yarn/uswds/uswds-3.7.0 into main will be

95.03%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src/lib/actions
   logout.ts48.78%0%0%51.28%18–37
src/lib/components/Accordion
   Accordion.svelte100%100%100%100%
   AccordionItem.svelte94.12%55.56%100%100%23, 33, 46, 48
   context.ts100%100%100%100%
   index.ts100%100%100%100%
src/lib/components/Alert
   Alert.svelte94.74%57.14%100%100%34, 41, 41
src/lib/components/AnnouncementBanner
   AnnouncementBanner.svelte100%100%100%100%
src/lib/components/Breadcrumbs
   Breadcrumbs.svelte100%100%100%100%
src/lib/components/Button
   Button.svelte96.77%50%100%100%41, 50
   buttonOptions.ts100%100%100%100%
   index.ts100%100%100%100%
src/lib/components/Card
   Card.svelte97.50%0%100%100%7
   CardGroup.svelte100%100%100%100%
   index.ts100%100%100%100%
src/lib/components/ConditionalWrapper
   ConditionalWrapper.svelte100%100%100%100%
   index.ts100%100%100%100%
src/lib/components/ContactCard
   ContactCard.svelte98.91%93.75%100%100%54
   Section.svelte100%100%100%100%
   index.ts100%100%100%100%
src/lib/components/ContentfulRichText
   ContentfulRichText.svelte97.87%0%100%100%25
   context.ts98%80%100%100%8
   headings.ts93.18%50%100%95.12%37–39
   predicates.ts90.76%100%70%94.12%68, 76, 79, 82, 85
src/lib/components/ContentfulRichText/nodes
   AssetHyperlink.svelte100%100%100%100%
   Blockquote.svelte100%100%100%100%
   EmbeddedAssetBlock.svelte87.50%0%100%100%12, 16, 20, 29, 36–38
   EmbeddedEntry.svelte100%100%100%100%
   EmbeddedEntryBlock.svelte100%100%100%100%
   EntryHyperlink.svelte100%100%100%100%
   Heading1.svelte100%100%100%100%
   Heading2.svelte100%100%100%100%
   Heading3.svelte100%100%100%100%
   Heading4.svelte100%100%100%100%
   Heading5.svelte100%100%100%100%
   Heading6.svelte100%100%100%100%
   Hr.svelte100%100%100%100%
   Hyperlink.svelte100%100%100%100%
   ListItem.svelte100%100%100%100%
   Node.svelte92.86%0%100%100%6
   OrderedList.svelte100%100%100%100%
   Paragraph.svelte100%100%100%100%
   Table.svelte100%100%100%100%
   TableCell.svelte100%100%100%100%
   TableHeaderCell.svelte100%100%100%100%
   TableRow.svelte100%100%100%100%
   Text.svelte100%100%100%100%
   UnorderedList.svelte100%100%100%100%
   index.ts100%100%100%100%
src/lib/components/CopyToClipboard
   CopyToClipboard.svelte97.50%60%100%100%71, 71
   index.ts100%100%100%100%
src/lib/components/Footer
   Footer.svelte95.24%55%100%100%105, 105, 108, 108, 38, 63, 69, 69, 75
src/lib/components/Header
   Header.svelte94.44%50%100%100%47, 47–48, 48, 51
src/lib/components/Header/Logo
   Logo.svelte100%100%100%100%
   index.ts100%100%100%100%
src/lib/components/Header/Nav
   Nav.svelte97.06%83.33%100%100%19
   NavItem.svelte100%100%100%100%
   NavLink.svelte100%100%100%100%
   NavMenu.svelte96.40%70.59%100%100%100, 77, 79, 88, 98
   index.ts100%100%100%100%
src/lib/components/Header/Title
   Title.svelte100%100%100%100%
   index.ts100%100%100%100%
src/lib/components/Header/User
   User.svelte93.33%0%100%100%9
   index.ts100%100%100%100%
src/lib/components/Header/__mocks__
   HeaderBackgroundImage.svelte100%100%100%100%
src/lib/components/Icon
   Icon.svelte87.50%20%100%100%19, 19, 24, 24
   index.ts100%100%100%100%
src/lib/components/Image
   BlurhashRenderer.svelte100%100%100%100%
   Image.svelte90.86%67.74%66.67%96.35%115, 149, 165, 167–168, 201, 206, 211–215, 241–245, 245, 267–268, 33, 35, 38, 50, 61, 61–62, 72–74
   index.ts100%100%100%100%
   renderBlurhash.ts100%100%100%100%
src/lib/components/IntersectionObserver
   IntersectionObserver.svelte94.74%75%100%100%36–37, 39
   RootIntersectionObserver.svelte85.19%0%100%92%14–17
   index.ts100%100%100%100%
   key.ts100%100%100%100%
   observe.ts99.03%93.33%100%100%73
src/lib/components/Link
   Link.svelte100%100%100%100%
   index.ts100%100%100%100%
src/lib/components/LogoutLink
   LogoutLink.svelte100%100%100%100%
   index.ts100%100%100%100%
src/lib/components/Search
   Search.svelte91.30%33.33%100%96.77%37–39, 44, 44, 48
   index.ts100%100%100%100%
   options.ts100%100%100%100%
src/lib/components/SideNav
   SideNav.svelte100%100%100%100%
   SideNavItem.svelte100%100%100%100%
src/lib/components/Tag
   Tag.svelte100%100%100%100%
   index.ts100%100%100%100%
src/lib/components/VideoCard
   VideoCard.svelte91.30%0%0%94.23%103–112, 53, 78
   getTrimmedFirstParagraph.ts100%100%100%100%
   index.ts100%100%100%100%
src/lib/components/YoutubeSubscribeLink
   YoutubeSubscribeLink.svelte100%100%100%100%
   index.ts100%100%100%100%
src/lib/constants
   date.ts100%100%100%100%
   images.ts100%100%100%100%
   support.ts43.75%0%100%50%12–14, 4–9
   tokenDuration.ts100%100%100%100%
src/lib/context
   currentUser.ts88.89%100%50%93.33%14
   pageMetadataMap.ts100%100%100%100%
src/lib/imageServices
   contentful.ts97.06%86.67%100%100%21, 48
src/lib/services/blurhashes
   index.ts50%100%0%52.94%22–38, 49–51, 6–9
src/lib/services/server/contentful
   graphqlClient.ts90.22%66.67%100%91.57%66–73, 75
src/lib/services/server/contentfulManagement
   getCurrentUser.ts98.08%66.67%100%100%25
   index.ts100%100%100%100%
src/lib/services/server/kv/__mocks__
   index.ts93.55%100%100%92.86%21, 25
src/lib/services/server/youtube
   getYoutubeVideoData.ts74.63%16.67%50%81.36%33–34, 38, 40, 44, 49–59
src/lib/util
   classNames.ts100%100%100%100%
   dates.ts78.57%100%60%79.41%14–17, 32–34
   getErrorMessage.ts63.16%20%100%76.92%10–11, 2–3, 7–9
   getErrorMessageFromResponse.ts20%25%20%19.72%12–19, 2, 20, 23–29, 3, 30–45, 50–59, 6, 60–69, 7, 70–71, 8–9
   getYoutubeVideoIDFromURL.ts66.67%33.33%100%80%3, 3–4
   slugify.ts100%100%100%100%
   warn.ts100%100%100%100%
src/routes/login
   +page.server.ts89.71%70%100%92.98%32–35, 49, 52–53
src/routes/logout
   +page.server.ts81.82%75%100%82.35%11–14
src/stories
   AccordionView.svelte100%100%100%100%
   CardView.svelte99.10%50%100%100%75

@github-actions
Copy link

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 11, 2023

Superseded by #540.

@dependabot dependabot bot closed this Dec 11, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/uswds/uswds-3.7.0 branch December 11, 2023 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependabot This issue or pull request was generated by Dependabot dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants