@eeacms/volto-eea-website-theme 4.0.1 → 4.0.2

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,12 +4,13 @@ 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
+ ### [4.0.2](https://github.com/eea/volto-eea-website-theme/compare/4.0.1...4.0.2) - 8 April 2026
8
+
7
9
  ### [4.0.1](https://github.com/eea/volto-eea-website-theme/compare/4.0.0...4.0.1) - 8 April 2026
8
10
 
9
11
  #### :hammer_and_wrench: Others
10
12
 
11
13
  - Add eslint-disable [Miu Razvan - [`4566fb4`](https://github.com/eea/volto-eea-website-theme/commit/4566fb419fe531ff1dc077859e217e01164313ae)]
12
- - Import routes from @root instead of @plone/volto [Miu Razvan - [`bc239e7`](https://github.com/eea/volto-eea-website-theme/commit/bc239e7a94b5b66c33ab2f6d1321fb7ebc5348ce)]
13
14
  ## [4.0.0](https://github.com/eea/volto-eea-website-theme/compare/3.19.1...4.0.0) - 7 April 2026
14
15
 
15
16
  #### :rocket: New Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-theme",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
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",
@@ -1,5 +1,5 @@
1
1
  import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';
2
- import { GET_NAVIGATION_SETTINGS } from '../constants/ActionTypes';
2
+ import { GET_NAVIGATION_SETTINGS } from '@eeacms/volto-eea-website-theme/constants/ActionTypes';
3
3
 
4
4
  export const getNavigationSettings = (url = '') => {
5
5
  let cleanedUrl = typeof url === 'string' ? url : '';
@@ -1,5 +1,5 @@
1
1
  import { getNavigationSettings } from './navigation';
2
- import { GET_NAVIGATION_SETTINGS } from '../constants/ActionTypes';
2
+ import { GET_NAVIGATION_SETTINGS } from '@eeacms/volto-eea-website-theme/constants/ActionTypes';
3
3
 
4
4
  jest.mock('@plone/volto/helpers', () => ({
5
5
  flattenToAppURL: jest.fn((url) => {
@@ -13,7 +13,6 @@ import {
13
13
  } from '@plone/volto-slate/editor/render';
14
14
  import { Node } from 'slate';
15
15
 
16
- // TODO: loading LESS files with `volto-slate/...` paths does not work currently
17
16
  import '../../editor/plugins/Table/less/public.less';
18
17
 
19
18
  /**
@@ -21,9 +21,9 @@ import crypto from 'crypto';
21
21
  import routes from '@root/routes';
22
22
  import config from '@plone/volto/registry';
23
23
 
24
- import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';
25
24
  import Html from '@plone/volto/helpers/Html/Html';
26
25
  import Api from '@plone/volto/helpers/Api/Api';
26
+ import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';
27
27
  import { persistAuthToken } from '@plone/volto/helpers/AuthToken/AuthToken';
28
28
  import {
29
29
  toBackendLang,
@@ -1,4 +1,4 @@
1
- import { GET_NAVIGATION_SETTINGS } from '../../constants/ActionTypes';
1
+ import { GET_NAVIGATION_SETTINGS } from '@eeacms/volto-eea-website-theme/constants/ActionTypes';
2
2
 
3
3
  const initialState = {
4
4
  error: null,
@@ -1,5 +1,5 @@
1
1
  import navigationReducer from './navigation';
2
- import { GET_NAVIGATION_SETTINGS } from '../../constants/ActionTypes';
2
+ import { GET_NAVIGATION_SETTINGS } from '@eeacms/volto-eea-website-theme/constants/ActionTypes';
3
3
 
4
4
  describe('navigation reducer', () => {
5
5
  const initialState = {
@@ -3,7 +3,7 @@
3
3
  * @module reducers/navigation
4
4
  */
5
5
 
6
- import { GET_NAVIGATION_SETTINGS } from '../constants/ActionTypes';
6
+ import { GET_NAVIGATION_SETTINGS } from '@eeacms/volto-eea-website-theme/constants/ActionTypes';
7
7
 
8
8
  const initialState = {
9
9
  error: null,