Skip to content

Latest commit

 

History

History
344 lines (235 loc) · 24.1 KB

CHANGELOG.md

File metadata and controls

344 lines (235 loc) · 24.1 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

8.1.0 (2023-05-04)

Features

  • CD-462: add modern mustard cut to content layouts (dcb3d43)

Bug Fixes

  • add BEM element class to facets sidebar (6f6342a)
  • adjust clearfix pseudo (4b1d4f5)
  • adopt BEM for all sidebar markup/styles (6c35c88)
  • adopt brand colors for filters/facets (1eab45e)
  • adopt new BEM classnames in CD Block Title (e7c8404)
  • apply bgcolor to sidebars (c2e5760)
  • apply compact treatment to any heading in a sidebar (c3be34d)
  • BEN classname for CD Layout content area (aa2801f)
  • CD Layout content should grow to fill available space (59778c5)
  • clean up code, consolidate MQs, run linter (dc97159)
  • define CD Layout content flex-item after container (8bc49fd)
  • enforce proper flex order for second sidebar (420be92)
  • further simplify universal layout by removing CSS Vars (e8c71d2)
  • lock sidebars to 285px by default and add option for wider ones (3751da9)
  • prevent overflow on viewports 320 > 420 (ea3be48)
  • reapply sidebar styles using new BEM classes (ea9781e)
  • remove cd-block-title compact styles (7267212)
  • rename CD Page Layout container class (799248a)
  • shorter, proper BEM class for cd-layout (aaf24bc)
  • simplify flex layout for sidebars (84fb4e4)
  • split layouts into page/content and refactor page to flex (6c84806)
  • update cd-article Twig/HTML with new BEM classnames (716bd47)
  • use new layout CSS for faux node columns as well (1ebe1c1)

8.0.2 (2023-04-12)

Bug Fixes

  • adjust appearance of active trail on mobile/desktop (4296eb7)
  • adopt focus-visible state and restyle cosmetically (48f4f25)
  • alignment issues for footer copyright (1c98d48)
  • CD Footer mandate adjustments (2aa69a1)
  • clean up the footer focus styles (d5002c0)
  • logical properties for text-align in footer (7fbec82)
  • padding/position issues with various GH dropdowns (bffca47)
  • remove carets from Global Header dropdowns (24c98d1)
  • remove most RTL selectors from Global Header (9b808b0)
  • restore positioning of last-child nav dropdown (24acf71)
  • RTL cleanup for inline search (0229a3d)
  • show focus styles when Search is expanded (8251666)
  • update HR.info to be RWR (179c86d)
  • use logical properties for CD Nav (3e67b9e)
  • use the intended color for focus styles in base-theme (728fbe2)
  • z-index issue with Site Logo and OCHA Services dropdown (0c26b0e)

8.0.1 (2023-03-22)

Bug Fixes

  • cd-tabs: exclude tabs and styled lists from typography defaults (61cb937)
  • cd-typography: revert the disruptive display:block on img tags (04d768d)

8.0.0 (2023-02-16)

⚠ BREAKING CHANGES

  • sass: Remove Sass from base/sub-themes (27ada38)
  • fonts: removed system-ui font-family declarations and CSS Var --cd-font--system (6837729)
  • drupal: Drupal 9.5 is new minimum supported version. Drupal 8 no longer supported. (10b520e)
  • ie: remove IE10-specific fixes (3bdf787)
  • security: upgrade to node.js LTS 16.19.0 / npm 8.19.3 (97cf22c)

Bug Fixes

  • dir-agnostic positioning of Search button chevron (6356a46)
  • implement Google Fonts Roboto in HTML (64c7078)
  • layout bug in mandate (bf12306)
  • remove float variant from ToC and increase columns (2525297)
  • reset for lists we know will be styles (d52c8c2)
  • tests: remove sass-specific stylelint config from sub-theme (a320c2b)
  • simplify the component styling the Main Nav (4be4d65)
  • use flexbox for Search form layout (749fe8a)

7.4.1 (2023-01-10)

Bug Fixes

  • User menu works automatically now (compare to upgrade instructions for v7.4.0) (7272ab0)

7.4.0 (2022-12-21)

Features

  • Language Switcher conforms to UN Multilingual guidelines (bd4a2e1)

Bug Fixes

  • clean up User menu inside new Global Header (fbfcd5b)

7.3.0 (2022-11-16)

Features

Bug Fixes

  • avoid abbreviations in visually-hidden logo text (8bb19fc)
  • update typography based on coordination with SCB and RW (1fdf272), #341 #342

7.2.1 (2022-08-01)

Bug Fixes

  • comment out no-js rule with min-width on search form (ce41fdf)
  • comments and use transparent border (d50dd0e)
  • refine first and second level active menu item styles when javascript is disabled. (959f31c)
  • remove min-width from search form, in favour of element size (360878c)
  • remove separators from menu items for better visual cohesion when js is disabled (7e7ebdf)

7.2.0 (2022-07-04)

Features

  • cd-article: adopt --brand colors (456b401)
  • cd-bleed: adopt --brand colors (bc9dcf1)
  • cd-byline: adopt --brand colors (be9a448)
  • cd-card: adopt --brand colors (94265de)
  • cd-date: adopt --brand colors (3b6e1be)
  • cd-dropbutton: adopt --brand colors (204a3de)
  • cd-facets: adopt --brand colors (3b4a1b2)
  • cd-figure-list: adopt --brand colors (393115e)
  • cd-filter: adopt --brand colors (b744f94)
  • cd-footer: adopt --brand colors (6bfb536)
  • cd-form: adopt --brand colors (d3d0cd5)
  • cd-header: adopt --brand colors (3fea3aa)
  • cd-layout: adopt --brand colors (fdc5e54)
  • cd-link-list: adopt --brand colors (c0a16ce)
  • cd-page-title: adopt --brand colors (a53a8c8)
  • cd-pagination: adopt --brand colors (2dbc069)
  • cd-read-more: adopt --brand colors (26a5729)
  • cd-social-links: adopt --brand colors (5950744)
  • cd-styled-list: adopt --brand colors (2725ec2)
  • cd-table: adopt --brand colors (f2e5e35)
  • cd-teaser: adopt --brand colors (4ddd405)
  • cd-title-list: adopt --brand colors (f7a6fcf)
  • cd-toc: adopt --brand colors (ea9d241)
  • styleguide: adopt --brand colors (94a9489)

Bug Fixes

  • cd-form: adopt --brand colors (78a94c5)
  • namespace the embeds so they do not conflict with sub theme overrides (b79fc99)
  • remove --cd-primary and --cd-primary--dark CSS Vars (6476881)

7.1.0 (2022-06-29)

Features

  • Add theme settings to enable multilingual fonts via Drupal Libraries (9080e25)
  • visual indicator for unpublished nodes (9329a2f)

Bug Fixes

  • CD Button applies --brand colors as default (c91bb03)
  • remove pesky dash that was causing errors (d5742c4)
  • remove the new variable that was created in this branch (478253b)
  • update default --brand color in base-theme (84021df)

7.0.1 (2022-04-26)

Bug Fixes

  • a11y: add focusable and aria-hidden attributes to search submit button svg to remove from accessibility tree (cbc8782)
  • a11y: replace display none with max-width mixin for search button label to visually hide on mobile (df79789)
  • a11y: set text colour for visually hidden block headings to pass contrast (94da5fa)
  • add accurate unocha social media links to replace placeholder hashes (52cfb58)
  • add id to menu item anchors only if they have children to prevent duplicate ids on children (cc1cc81)
  • ensure proper ID hierarchy in help menu template (1565cdc)
  • ensure proper ID hierarchy in main menu template (6b33790)
  • ensure proper ID hierarchy in user menu template (e45b493)

7.0.0 (2022-04-21)

⚠ BREAKING CHANGES

  • sass: The sub-theme no longer uses Sass by default. All properties that were being overridden by sub-theme Sass are now folded into the base-theme, and instead you can use the css/brand.css file in the sub-theme to control your website branding.
  • icons: The icon SVG sprite is included via a template rather than a hook. If you've customized your icon sprite, you'll need to reconfigure the sub-theme to take advantage of the template instead of hook_preprocess_html().

Features

  • branding: Created a CSS file dedicated to site branding. You can control all site branding using five CSS Vars. (2224bf8)
  • icons: include icon svg sprite via a template rather than a hook (96cf1f7)

6.0.0 (2022-03-04)

⚠ BREAKING CHANGES

  • deps: All implementations that receive updates after this commit will need to support node.js 16.13.2 LTS or higher.
  • deps: stylelint@14 was adopted to keep up with Drupal 9 core, and the release had several major changes. It's possible that CD implementations which previously passed the linter will suddenly contain warnings or errors.

Features

  • forms: provide styling for common form elements (#254)
  • team: CD-000 add conventional commits package (#283)

Bug Fixes

  • on largest breakpoint, make room for potentially long site names (86d071c)
  • security: upgrade to node.js LTS 16.13.2 (3925e3d)

5.1.0 (2021-11-18)

Features

  • Add conventional commits package to automate CHANGELOG #283
  • Add theme functions and template overrides for Node, Taxonomy term and user edit forms
  • Add template overrides for the date field, dataset table, media library item, radio element, and the generic form element, to add classes and attach CD libraries
  • Expand form and field visual styles in cd-form component and add some basic layout rules for some elements like the Image and File fields.
  • Add cd-dropbutton component that extends core library, for Drupal actions like reverting and deleting revisions

Bug Fixes

  • Expand README section about testing
  • Expand form alter function to add CD button variant classes for Cancel and Delete buttons
  • Expand cd-form README to explain the use of CubeCSS and cd-flow component to adjust vertical rhythm for forms
  • security: Dependency updates for json-schema
  • security: Update xmldom package published to npm instead of github
  • security: Upgrade core-js

5.0.2 (2021-12-06)

Added

  • Add ch unit to unit-allowed-list stylelint configuration

Changed

  • Mention D9 in README
  • Fix some links in CONTRIBUTING.md

Removed

  • Remove unit-whitelist from stylelint configuration as it is deprecated
  • Remove plugin/no-browser-hacks from sub theme stylelint configuration. See issues #265. The base theme and sub theme are now tailored for >= Drupal 9.2

Security

  • Dependency updates for nth-check

5.0.1 (2021-09-16)

Security

  • Dependency update for set-value

5.0.0 (2021-09-13)

Added

  • Add admin and external link SVG icons to SVG icon sprite
  • Add and develop Pull Request template
  • Add Release Notes template to CONTRIBUTING.md
  • Add Arabic, French, and Spanish translation files for CD Header and Footer user interface strings
  • Add corejs version to babel config to prevent warnings during npm run e2e

Changed

  • Replace external js file with local file for CSS custom property ponyfill
  • Add missing accessibility-related attributes on SVG icons in the sub theme social media partial
  • node package dependencies and devDependencies reshuffle to speed up builds and ensure sass:build works when NODE_ENV=production

Removed

  • stylelint-no-browser-hacks plugin, also removed from D9. See #265

Fixed

  • Fix page title logic to limit the use of the page title to node canonical and preview pages
  • Use form_id in theme_suggestions_form_alter hook to provide proper theme suggestions

Security

  • Dependency updates for xmldom
  • Dependency updates for axios

4.1.1 (2021-07-23)

Fixed

  • Fix cd-filter component display for IE11 by reinstating previously removed rule to force display when CSS custom properties are not supported.

4.1.0 (2021-07-22)

Changed

  • Adjust image path in manifest file
  • Add details about Manifest and PWA to README
  • Add libraries for advanced and multilanguage fonts and README updates to describe usage.
  • Add CSS custom property to set the grid size for cd-image-grid component
  • Move browserconfig.xml into sub theme, and adjust image path.

Fixed

  • Fix Views views-view-grid.html.twig template override so it adds the cd-grid component only when the alignment setting from Views UI is set to "horizontal".

Removed

  • Remove Roboto Condensed and Slab fonts and Noto Sans for multilingual from being included by default in styles.css.
  • Remove grid partial previously included in styles.scss as it is not in use.

4.0.6 (2021-06-16)

Added

  • Theme hook suggestions for Views Display

Changed

  • Improve e2e tests to run in TravisCI
  • Move sample.sql for e2e tests in TravisCI outside of theme repo
  • Update URL for HID Services in OCHA Services menu and in tests
  • Component's Review continued, see components/README.md for status

Fixed

  • Focus link colour in cd-tags component
  • Cursor for cd-button component

Security

  • Dependabot Bump ws from 7.4.4 to 7.4.6
  • css-what as dev dependency for svg-sprite
  • trim-newlines for stylelint-no-browser-hacks