Releases: UN-OCHA/common_design
v9.5.0
What's Changed
- v7.1.0 - brand colours and fix typo by @left23 in #332
- v7.2.0 - brand colours for CD components by @left23 in #335
- Merging latest work from v7.3.0 by @rupl in #349
- Catch main up with develop by @rupl in #480
- Bring main up-to-date by @lazysoundsystem in #491
- chore: translate string for search by @lazysoundsystem in #494
- chore: Bump actions to avoid breakage. by @cafuego in #495
- chore(deps-dev): bump axios from 1.6.7 to 1.7.9 in /common_design_subtheme by @dependabot in #496
- feat: Use light/dark favicons by @attiks in #497
- chore: remove modernizr and prepare for D11 by @lazysoundsystem in #498
- chore(deps-dev): bump axios from 1.6.5 to 1.7.4 by @dependabot in #499
- D11 compatiblity and minor fixes by @lazysoundsystem in #500
Full Changelog: v9.4.4...v9.5.0
v9.4.4 18-11-2024
What's Changed
Full Changelog: v9.4.3...v9.4.4
v9.2.6 - temporary release for GMS
Refs: OPS-10638
GMS was using 9.2.2 - the move to the current tag involves changes to the header/ footer, which need more testing.
This release fixes the status messages so it works with Drupal 10.3.
Full Changelog: v9.2.3...v9.2.6
v9.4.3 -- 2024-08-08
Overview
The last release was tested on a site using an old version of CD. This updates the component path to libraries
.
Issue summary
- chore: use updated path for component libraries by @lazysoundsystem in #490
Full Changelog: v9.4.2...v9.4.3
v9.4.2 -- 2024-08-08
Overview
Fix for status messages. See https://www.drupal.org/project/drupal/issues/3456176 for more information.
Minor bug fix and dependabot update.
Issue summary
- chore: fix unexpected error by @lazysoundsystem in #485
- chore(deps-dev): bump braces from 3.0.2 to 3.0.3 by @dependabot in #486
- chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /common_design_subtheme by @dependabot in #487
- chore(deps): bump ws and puppeteer in /common_design_subtheme by @dependabot in #488
- chore: style status messages for 10.3 by @lazysoundsystem in #489
Full Changelog: v9.4.1...v9.4.2
v9.4.1 — 2024-05-15
Overview
Minor fixes to various components including CD Footer and the <details>
form element.
Issue Summary
- CD-552: small tweaks based on Strattic implementations #478 #479
- CD-554: style the
<details>
and<summary>
elements when output by the field_group module #483
Steps to Upgrade
composer require unocha/common_design:^9.4.1
No manual steps to upgrade. Changes were CSS only.
v9.4.0 — 2024-03-19
Overview
Another approach to non-blocking font loading, plus some changes to assist with VRT.
Issue Summary
- CD-514: use
<link rel="preload">
for fonts instead of swappingmedia
types. - OPS-9741: allow Backstop to target and ignore Drupal messages during VRT
Steps to Upgrade
composer require unocha/common_design:^9.4.0
No steps to upgrade. If you are implementing outside Drupal, the markup to load fonts has been updated in our README. You should update the markup in your implementation to receive the performance improvement.
v9.3.4 — 2024-02-26
Overview
Minor design/docs tweaks to previous release.
Issue Summary
- CD-537: ensure the bottom border appears under OCHA Services on mobile #468
- CD-514: update our README example font markup for non-Drupal implementations #469
Steps to Upgrade
No impact to existing sub-themes. CSS/docs only.
composer require unocha/common_design:^9
v9.3.3 — 2024-02-22
Overview
Changes placement of OCHA Services from Global Header to the footer.
Issue Summary
Steps to Upgrade
composer require unocha/common_design:^9
There is no impact to existing sub-themes that use our existing templates, even those that override the OCHA Services with custom links. We kept a few legacy classes around with the cd-ocha-dropdown__
prefix to ensure no disruption to current sub-themes. We also created a stub template in the old cd-header
subdirectory to avoid breaking existing sub-themes. The stub will be removed in a future major version. If you would like to be prepared for that removal, see this example commit to our CD Demo site which upgrades an existing sub-theme.
Note: if you had to manually add markup to your cd-global-header.html.twig
during the v9.3.1 upgrade, it can be removed again.
v9.3.2 — 2024-02-12
Overview
Bugfix for main nav.
Issue Summary
- CD-538: when menu items wrap, prevent flex-grow from applying to last item.
Steps to Upgrade
composer require unocha/common_design:^9
This release only contains CSS. There are no steps to upgrade, and there is no impact to existing sub-themes.