Skip to content

Commit 054482e

Browse files
Publish V22
1 parent 571aa4a commit 054482e

5 files changed

Lines changed: 12 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# HEAD
1+
# 22.0.0
22

33
## Features
44

5-
* **css:** Update button styles to match Mozilla brand refresh (#1046)
5+
* **assets:** (breaking) Updated @mozilla-protocol/assets to 7.0.2
6+
* **tokens:** (breaking) Updated @mozilla-protocol/tokens to 7.0.0
7+
* **css:** Updated button styles to match Mozilla brand refresh (#1046)
68
* **component:** Added sizing and icon support to CTA link component (#1083)
79
* **component:** Added `mzp-u-rich-text` utility class to add back list and table styles (#1079)
810
* **docs:** Added a new utility class section to docs.
9-
* **component:** Update breadcrumb styles (#1036)
10-
* **assets:** (breaking) Update @mozilla-protocol/assets to 7.0.2
11-
* **tokens:** (breaking) Update @mozilla-protocol/tokens to 7.0.0
11+
* **component:** Updated breadcrumb styles (#1036)
1212
* **css:** Updated line height variables for Mozilla theme to reflect guidance published in the brand portal.
13-
* **css:** * Remove `:hover:visited` styles & decrease base link specificity (#1071)
13+
* **css:** Removed `:hover:visited` styles & decreased base link specificity (#1071)
1414

1515
## Bug Fixes
1616

@@ -19,22 +19,18 @@
1919

2020
## Migration Tips
2121

22-
* Rich text
22+
* Rich text utility
2323
* 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.
2424
* This component currently styles h2-h4, ul, ol, dl, table, and pre. If you need more elements please create an issue.
25-
2625
* Breadcrumb updates do not require any changes unless you have local customizations.
27-
2826
* Icon updates
2927
* Icons used internally with Protocol components have been updated but any icons used in consumer projects will have to consider the following:
3028
* 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.
3129
* 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.
3230
* 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.
3331
* Find and replace `$url-image-arrow-down-` with `$url-image-caret-down-`
34-
3532
* Mozilla brand color updates
3633
* consumer projects will have to update any use of deprecated Mozilla brand colors to the new palettes
37-
3834
* Remove `:hover:visited` styles & decrease base link specificity (#1071)
3935
* 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.
4036
* 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?

assets/package/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Install package with NPM and add it to your dependencies:
2020
</tr>
2121
<tr>
2222
<td>Version</td>
23-
<td><a href="https://github.com/mozilla/protocol/blob/main/CHANGELOG.md">21.1.0</a></td>
23+
<td><a href="https://github.com/mozilla/protocol/blob/main/CHANGELOG.md">22.0.0</a></td>
2424
</tr>
2525
<tr>
2626
<td>Releases</td>

assets/package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mozilla-protocol/core",
3-
"version": "21.1.0",
3+
"version": "22.0.0",
44
"description": "A design system for Mozilla's websites.",
55
"repository": {
66
"type": "git",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "protocol",
3-
"version": "21.1.0",
3+
"version": "22.0.0",
44
"private": true,
55
"author": "Mozilla",
66
"description": "A design system for Mozilla's websites.",

0 commit comments

Comments
 (0)