Skip to content

1.6.2

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Dec 08:50
· 225 commits to refs/heads/develop since this release

🧩 UI Kit

New features

None

Fixes

  • Fixed UI Kit version in package.json.
  • Fixed Group filter rendering incorrectly on mobile. Filters now will stack vertically.
  • Added slots prop for Group Filter Storybook story.
  • Fixed Item Grid calculating columns classes incorrectly for when the number of items is greater than the number of columns.
  • Removed incorrect, CMS-only Editor content component. This functionality is implementation-specific and is now handled in CMS.
  • [CIVIC-1244] Added a11y fixes for mobile menu. (#1149)

💧 Drupal theme

New features

  • Issue #3409009 by alex.skrypnyk: Add summary settings for Snippet component. This allows to set the number of characters for the Snippet's component Sunmary field.
  • [CIVIC-1295] Added content components support for CKEditor. (#1156) 🚨 See update notes below.

Fixes

  • Fixed double inclusion of assets during compilation. This was resulting if CSS styles applying in the incorrect order. 🚨 See update notes below.
  • Fixed Navigation card override example.
  • Removed CKEditor4 as a require dependency.
  • Updated CivicTheme dependencies versions to use the latest ones.
  • Added optional limit for the update helper. This allows to re-use the update helper with a set limit to avoid running of all updates in "lower" environments.
  • Issue #3404794 by Toby Wild, alex.skrypnyk: Documentation suggestions
  • [CIVIC-1521] Fixed issue #1147: catch InvalidArgumentException in civictheme_url_is_external() (#1167)
  • [CIVIC-1449] Fixed Automated list filters not being hidden when selected in UI. (#1157)

Other

  • Updated copyright year in the example demo content.
  • Updated demo generated content list to use Snippet component.
  • Updated containers to 23.12.0.
  • Updated Drush 12 and Search API 1.31

🚨 Update notes:

Follow the update process described at https://docs.civictheme.io/update

Additionally, if using a sub-theme:

  1. Copy file civictheme_starter_kit/assets/sass/theme.editor.scss to <yourtheme>/assets/sass/theme.editor.scss.
  2. Remove <yourtheme>/assets/sass/editor directory.
  3. Remove @import 'editor'; line from <yourtheme>/assets/sass/theme.scss.
  4. Replace in your sub-theme info file:
ckeditor_stylesheets:
  - dist/styles.editor.css

with

ckeditor5-stylesheets:
  - dist/styles.editor.css
  - dist/styles.variables.css
  1. Copy file (overwrite) civictheme_starter_kit/webpack/editor_css.js to webpack/editor_css.js.
  2. Copy file (overwrite) civictheme_starter_kit/webpack/assets.js to webpack/assets.js.
  3. npm run build
  4. drush cr

Full Changelog: 1.6.1...1.6.2