@eeacms/volto-eea-website-theme 1.6.2 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ ### [1.6.3](https://github.com/eea/volto-eea-website-theme/compare/1.6.2...1.6.3) - 30 January 2023
8
+
9
+ #### :nail_care: Enhancements
10
+
11
+ - change(menu): use nav title if found for menu items otherwise fallback to normal item title [David Ichim - [`77fd15a`](https://github.com/eea/volto-eea-website-theme/commit/77fd15aadec86831f6192ae86b4291fd903e1b1a)]
12
+
7
13
  ### [1.6.2](https://github.com/eea/volto-eea-website-theme/compare/1.6.1...1.6.2) - 27 January 2023
8
14
 
9
15
  #### :bug: Bug Fixes
@@ -14,6 +20,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
14
20
 
15
21
  #### :nail_care: Enhancements
16
22
 
23
+ - change(header): page header import from eea-design-system #89 from eea/develop [ichim-david - [`d168209`](https://github.com/eea/volto-eea-website-theme/commit/d16820910eb9f8cdb32784eb1206bb2cddbb3992)]
17
24
  - refactor(banner): sync storybook and Volto component #76 from eea/sync-page-banner-theme [ichim-david - [`fad29fb`](https://github.com/eea/volto-eea-website-theme/commit/fad29fb4581c640a27e14743803eadb63ff67334)]
18
25
  - change(banner): removed container wrapper since it was moved inside banner component [David Ichim - [`5cf9c3b`](https://github.com/eea/volto-eea-website-theme/commit/5cf9c3bc9f443ee45f234744a1a4c589420e3815)]
19
26
  - refactor(banner): sync storybook and Volto component [nileshgulia1 - [`d2d6a61`](https://github.com/eea/volto-eea-website-theme/commit/d2d6a617f5d270768448bc3f0637c5aea60d70f2)]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-theme",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "description": "@eeacms/volto-eea-website-theme: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -231,14 +231,14 @@ const EEAHeader = ({ pathname, token, items, history, subsite }) => {
231
231
  renderMenuItem={(item, options, props) => (
232
232
  <UniversalLink
233
233
  href={item.url || '/'}
234
- title={item.title}
234
+ title={item.nav_title || item.title}
235
235
  {...(options || {})}
236
236
  className={cx(options?.className, {
237
237
  active: item.url === router_pathname,
238
238
  })}
239
239
  >
240
240
  {props?.iconPosition !== 'right' && props?.children}
241
- <span>{item.title}</span>
241
+ <span>{item.nav_title || item.title}</span>
242
242
  {props?.iconPosition === 'right' && props?.children}
243
243
  </UniversalLink>
244
244
  )}