Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 5, 2026

Bumps @mozilla-protocol/core from 16.1.0 to 22.0.0.

Release notes

Sourced from @​mozilla-protocol/core's releases.

v22.0.0

Features

  • assets: (breaking) Updated @​mozilla-protocol/assets to 7.0.2
  • tokens: (breaking) Updated @​mozilla-protocol/tokens to 7.0.0
  • css: Updated button styles to match Mozilla brand refresh (#1046)
  • component: Added sizing and icon support to CTA link component (#1083)
  • component: Added mzp-u-rich-text utility class to add back list and table styles (#1079)
  • docs: Added a new utility class section to docs.
  • component: Updated breadcrumb styles (#1036)
  • css: Updated line height variables for Mozilla theme to reflect guidance published in the brand portal.
  • css: Removed :hover:visited styles & decreased base link specificity (#1071)

Bug Fixes

  • css: Breadcrumbs are wider than other site content (#933)
  • js: MzpNavigation doesn't check for MzpSupports availability correctly (#1085)

Migration Tips

  • Rich text utility
    • If you have previously created a class to add back list and table styling to rich text fields you may be able to swap it out for the new component.
    • This component currently styles h2-h4, ul, ol, dl, table, and pre. If you need more elements please create an issue.
  • Breadcrumb updates do not require any changes unless you have local customizations.
  • Icon updates
    • Icons used internally with Protocol components have been updated but any icons used in consumer projects will have to consider the following:
    • New and updated icons have intrinsic width of 16x16 instead of 24x24. If you were relying on SVG width and height attributes for sizing, you may need to update by CSS sizing.
    • Updated icons are still square but do not have padding around the icon. This is particularly noticeable with menu and arrows. If you were relying on the icon for spacing, you may need to update to re-add that spacing through CSS.
    • Icons formerly known as "arrow" are now known as "caret" and there are new icon designs for "arrow" name. You will need to update naming to keep the "caret" design.
    • Find and replace $url-image-arrow-down- with $url-image-caret-down-
  • Mozilla brand color updates
    • consumer projects will have to update any use of deprecated Mozilla brand colors to the new palettes
  • Remove :hover:visited styles & decrease base link specificity (#1071)
    • This will decrease the specificity of Protocol's link and button components, hopefully making local overrides easier, no need to change anything you already have in place.
    • Removal of :link pseudo classes in some places will mean that <a> elements which do not have a href value could now have link styles when previously they would not have. But, like, maybe don't do that?
    • Removed :visited styles for .mzp-c-button they should match unvisited styles, if you have :visited styles defined check they are still legible without the expected inherited styles.
    • Removed the text colour change from :focus styles. Rely on the focus ring for a focus indicator instead.

v21.1.0

Features

  • assets: Update @​mozilla-protocol/assets to 6.1.1
  • css: Footer changes: spacing, colour, font size. (#1063)

Bug Fixes

  • css: Button link focus styling doesn't override inherited visited link styling (#842)

Migration Tips

... (truncated)

Changelog

Sourced from @​mozilla-protocol/core's changelog.

22.0.0

Features

  • assets: (breaking) Updated @​mozilla-protocol/assets to 7.0.2
  • tokens: (breaking) Updated @​mozilla-protocol/tokens to 7.0.0
  • css: Updated button styles to match Mozilla brand refresh (#1046)
  • component: Added sizing and icon support to CTA link component (#1083)
  • component: Added mzp-u-rich-text utility class to add back list and table styles (#1079)
  • docs: Added a new utility class section to docs.
  • component: Updated breadcrumb styles (#1036)
  • css: Updated line height variables for Mozilla theme to reflect guidance published in the brand portal.
  • css: Removed :hover:visited styles & decreased base link specificity (#1071)

Bug Fixes

  • css: Breadcrumbs are wider than other site content (#933)
  • js: MzpNavigation doesn't check for MzpSupports availability correctly (#1085)

Migration Tips

  • Rich text utility
    • If you have previously created a class to add back list and table styling to rich text fields you may be able to swap it out for the new component.
    • This component currently styles h2-h4, ul, ol, dl, table, and pre. If you need more elements please create an issue.
  • Breadcrumb updates do not require any changes unless you have local customizations.
  • Icon updates
    • Icons used internally with Protocol components have been updated but any icons used in consumer projects will have to consider the following:
    • New and updated icons have intrinsic width of 16x16 instead of 24x24. If you were relying on SVG width and height attributes for sizing, you may need to update by CSS sizing.
    • Updated icons are still square but do not have padding around the icon. This is particularly noticeable with menu and arrows. If you were relying on the icon for spacing, you may need to update to re-add that spacing through CSS.
    • Icons formerly known as "arrow" are now known as "caret" and there are new icon designs for "arrow" name. You will need to update naming to keep the "caret" design.
    • Find and replace $url-image-arrow-down- with $url-image-caret-down-
  • Mozilla brand color updates
    • consumer projects will have to update any use of deprecated Mozilla brand colors to the new palettes
  • Remove :hover:visited styles & decrease base link specificity (#1071)
    • This will decrease the specificity of Protocol's link and button components, hopefully making local overrides easier, no need to change anything you already have in place.
    • Removal of :link pseudo classes in some places will mean that <a> elements which do not have a href value could now have link styles when previously they would not have. But, like, maybe don't do that?
    • Removed :visited styles for .mzp-c-button they should match unvisited styles, if you have :visited styles defined check they are still legible without the expected inherited styles.
    • Removed the text colour change from :focus styles. Rely on the focus ring for a focus indicator instead.

21.1.0

Features

  • assets: Update @​mozilla-protocol/assets to 6.1.1
  • css: Footer changes: spacing, colour, font size. (#1063)

Bug Fixes

  • css: Button link focus styling doesn't override inherited visited link styling (#842)

... (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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 5, 2026
Bumps [@mozilla-protocol/core](https://github.com/mozilla/protocol) from 16.1.0 to 22.0.0.
- [Release notes](https://github.com/mozilla/protocol/releases)
- [Changelog](https://github.com/mozilla/protocol/blob/main/CHANGELOG.md)
- [Commits](mozilla/protocol@v16.1.0...v22.0.0)

---
updated-dependencies:
- dependency-name: "@mozilla-protocol/core"
  dependency-version: 22.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/mozilla-protocol/core-22.0.0 branch from 85c5348 to 8a89ac6 Compare January 5, 2026 23:50
@escattone escattone closed this Jan 8, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 8, 2026

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/mozilla-protocol/core-22.0.0 branch January 8, 2026 21:19
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.

2 participants