|
1 | | -# HEAD |
| 1 | +# 22.0.0 |
2 | 2 |
|
3 | 3 | ## Features |
4 | 4 |
|
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) |
6 | 8 | * **component:** Added sizing and icon support to CTA link component (#1083) |
7 | 9 | * **component:** Added `mzp-u-rich-text` utility class to add back list and table styles (#1079) |
8 | 10 | * **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) |
12 | 12 | * **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) |
14 | 14 |
|
15 | 15 | ## Bug Fixes |
16 | 16 |
|
|
19 | 19 |
|
20 | 20 | ## Migration Tips |
21 | 21 |
|
22 | | -* Rich text |
| 22 | +* Rich text utility |
23 | 23 | * 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. |
24 | 24 | * This component currently styles h2-h4, ul, ol, dl, table, and pre. If you need more elements please create an issue. |
25 | | - |
26 | 25 | * Breadcrumb updates do not require any changes unless you have local customizations. |
27 | | - |
28 | 26 | * Icon updates |
29 | 27 | * Icons used internally with Protocol components have been updated but any icons used in consumer projects will have to consider the following: |
30 | 28 | * 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. |
31 | 29 | * 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. |
32 | 30 | * 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. |
33 | 31 | * Find and replace `$url-image-arrow-down-` with `$url-image-caret-down-` |
34 | | - |
35 | 32 | * Mozilla brand color updates |
36 | 33 | * consumer projects will have to update any use of deprecated Mozilla brand colors to the new palettes |
37 | | - |
38 | 34 | * Remove `:hover:visited` styles & decrease base link specificity (#1071) |
39 | 35 | * 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. |
40 | 36 | * 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? |
|
0 commit comments