@eeacms/volto-eea-website-theme 1.3.0 → 1.3.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,6 +4,26 @@ 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.3.2](https://github.com/eea/volto-eea-website-theme/compare/1.3.1...1.3.2) - 16 December 2022
|
8
|
+
|
9
|
+
#### :bug: Bug Fixes
|
10
|
+
|
11
|
+
- fix(package): Proper paths if the package is not installed, but in development #71 from eea/better_razzle [ichim-david - [`024c47a`](https://github.com/eea/volto-eea-website-theme/commit/024c47a41d288f9a90a3b6abcba4db596962425f)]
|
12
|
+
|
13
|
+
#### :hammer_and_wrench: Others
|
14
|
+
|
15
|
+
- Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`a43c658`](https://github.com/eea/volto-eea-website-theme/commit/a43c658a7920c8df95e763b9a637f38ce77eba2c)]
|
16
|
+
- Better razzle.config [Tiberiu Ichim - [`81dbf48`](https://github.com/eea/volto-eea-website-theme/commit/81dbf48815fb27facb4f82c9b764540fdf188b2e)]
|
17
|
+
- Better razzle.config [Tiberiu Ichim - [`7bc9da2`](https://github.com/eea/volto-eea-website-theme/commit/7bc9da2cd837ab62a95cd29979cdd9b0055b7d67)]
|
18
|
+
### [1.3.1](https://github.com/eea/volto-eea-website-theme/compare/1.3.0...1.3.1) - 28 November 2022
|
19
|
+
|
20
|
+
#### :rocket: New Features
|
21
|
+
|
22
|
+
- feat(Footer): Bring back footer contacts extra actions - refs #151856 [Alin Voinea - [`6c19413`](https://github.com/eea/volto-eea-website-theme/commit/6c194139420c9fd847692d180db1c1593e2483de)]
|
23
|
+
|
24
|
+
#### :hammer_and_wrench: Others
|
25
|
+
|
26
|
+
- yarn 3 [Alin Voinea - [`ea7a709`](https://github.com/eea/volto-eea-website-theme/commit/ea7a7094945312776e9b6f44e371178603e92139)]
|
7
27
|
### [1.3.0](https://github.com/eea/volto-eea-website-theme/compare/1.2.0...1.3.0) - 22 November 2022
|
8
28
|
|
9
29
|
#### :rocket: New Features
|
@@ -44,6 +64,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
44
64
|
- Add subsite class to body [Tiberiu Ichim - [`74d700f`](https://github.com/eea/volto-eea-website-theme/commit/74d700fbfd6249a8604762a7e4e49cce857db0f3)]
|
45
65
|
- Add subsite info to header [Tiberiu Ichim - [`47daf8b`](https://github.com/eea/volto-eea-website-theme/commit/47daf8bb6374a1222040626b19d4154df7ba1b83)]
|
46
66
|
- fix eslint [Miu Razvan - [`eb8d0a7`](https://github.com/eea/volto-eea-website-theme/commit/eb8d0a790bc70c0aae256c6ff35f63c4885f338e)]
|
67
|
+
- Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`cc578a4`](https://github.com/eea/volto-eea-website-theme/commit/cc578a413b205a8e61e091fab3a88f94cedefc89)]
|
47
68
|
### [1.1.0](https://github.com/eea/volto-eea-website-theme/compare/1.0.0...1.1.0) - 28 October 2022
|
48
69
|
|
49
70
|
#### :nail_care: Enhancements
|
@@ -91,6 +112,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
91
112
|
|
92
113
|
#### :hammer_and_wrench: Others
|
93
114
|
|
115
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`33b56ac`](https://github.com/eea/volto-eea-website-theme/commit/33b56acb13fbaf0c5b79e8fc6e13c4b699c79c90)]
|
94
116
|
### [0.7.3](https://github.com/eea/volto-eea-website-theme/compare/0.7.2...0.7.3) - 22 September 2022
|
95
117
|
|
96
118
|
#### :hammer_and_wrench: Others
|
@@ -358,6 +380,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
358
380
|
- Header refactor, add custom logo #5 [ichim-david - [`4950235`](https://github.com/eea/volto-eea-website-theme/commit/49502358105437cfeac3b144e6d301cb59aa2346)]
|
359
381
|
- Update footer.config with new publication card component [ichim-david - [`2e38e9a`](https://github.com/eea/volto-eea-website-theme/commit/2e38e9a417f835009d60c80d4eb4b30229f55e45)]
|
360
382
|
- feature(breadcrumbs): implement eea-design-system breadcrumb as Volto component #32 #7 [ichim-david - [`181af41`](https://github.com/eea/volto-eea-website-theme/commit/181af4125ce2b9ddac56dab4723cb11c26633221)]
|
383
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`da8ceb6`](https://github.com/eea/volto-eea-website-theme/commit/da8ceb68ea68bfbc9504e48ccd4d68277f11ab9a)]
|
361
384
|
- use breadcrumbs from eea-design-system [nileshgulia1 - [`db2f9e9`](https://github.com/eea/volto-eea-website-theme/commit/db2f9e9a4327420a3cce9a9903cd88549b129eab)]
|
362
385
|
- Update theme.config [ichim-david - [`8eca4f4`](https://github.com/eea/volto-eea-website-theme/commit/8eca4f40397a4aeca6d39029c92db78968d37064)]
|
363
386
|
- Added keyContent component to theme.config [ichim-david - [`d86f202`](https://github.com/eea/volto-eea-website-theme/commit/d86f202d0274d839487a88b51cae9a0e899beb23)]
|
@@ -399,4 +422,5 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
399
422
|
|
400
423
|
#### :hammer_and_wrench: Others
|
401
424
|
|
425
|
+
- yarn bootstrap [Alin Voinea - [`6995e9e`](https://github.com/eea/volto-eea-website-theme/commit/6995e9e091f21fdbbdffa8a44fc0e2c626f6d46a)]
|
402
426
|
- Initial commit [Alin Voinea - [`6a9c03a`](https://github.com/eea/volto-eea-website-theme/commit/6a9c03a7cebe71ca87e82cf58c42904063e9d8d3)]
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@eeacms/volto-eea-website-theme",
|
3
|
-
"version": "1.3.
|
3
|
+
"version": "1.3.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",
|
@@ -26,8 +26,8 @@
|
|
26
26
|
"volto-subsites": "*"
|
27
27
|
},
|
28
28
|
"devDependencies": {
|
29
|
-
"@plone/scripts": "*",
|
30
29
|
"@cypress/code-coverage": "^3.10.0",
|
30
|
+
"@plone/scripts": "*",
|
31
31
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
32
32
|
"md5": "^2.3.0"
|
33
33
|
},
|
package/razzle.extend.js
CHANGED
@@ -4,18 +4,24 @@ const plugins = (defaultPlugins) => {
|
|
4
4
|
};
|
5
5
|
const modify = (config, { target, dev }, webpack) => {
|
6
6
|
const themeConfigPath = `${__dirname}/theme/theme.config`;
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
const themeLessPath = `${projectRootPath}/node_modules/@eeacms/volto-eea-design-system/theme`;
|
7
|
+
const { alias } = config.resolve;
|
8
|
+
alias['../../theme.config$'] = themeConfigPath;
|
9
|
+
alias['../../theme.config'] = themeConfigPath;
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
const designSystem = '@eeacms/volto-eea-design-system';
|
12
|
+
const designSystemPath =
|
13
|
+
config.resolve.alias[designSystem] ||
|
14
|
+
path.dirname(require.resolve(designSystem));
|
15
15
|
|
16
|
-
const
|
17
|
-
|
18
|
-
|
16
|
+
const themeLessPath = path.resolve(`${designSystemPath}/../theme`);
|
17
|
+
|
18
|
+
alias['eea-design-system-theme'] = `${themeLessPath}/themes/eea`;
|
19
|
+
|
20
|
+
const semanticLessPath = path.dirname(
|
21
|
+
require.resolve('semantic-ui-less/package.json'),
|
22
|
+
);
|
23
|
+
|
24
|
+
alias['eea-volto-theme-folder'] = alias['eea-volto-themes']
|
19
25
|
? themeLessPath
|
20
26
|
: semanticLessPath;
|
21
27
|
|
@@ -16,12 +16,14 @@ const Footer = () => {
|
|
16
16
|
copyrightActions = [],
|
17
17
|
socialActions = [],
|
18
18
|
contactActions = [],
|
19
|
+
contactExtraActions = [],
|
19
20
|
} = useSelector(
|
20
21
|
(state) => ({
|
21
22
|
footerActions: state.actions?.actions?.footer_actions,
|
22
23
|
copyrightActions: state.actions?.actions?.copyright_actions,
|
23
24
|
socialActions: state.actions?.actions?.social_actions,
|
24
25
|
contactActions: state.actions?.actions?.contact_actions,
|
26
|
+
contactExtraActions: state.actions?.actions?.contact_extra_actions,
|
25
27
|
}),
|
26
28
|
shallowEqual,
|
27
29
|
);
|
@@ -53,10 +55,18 @@ const Footer = () => {
|
|
53
55
|
|
54
56
|
// ZMI > portal_actions > contact_actions
|
55
57
|
const contacts = contactActions.length
|
56
|
-
? contactActions.map((action) => ({
|
58
|
+
? contactActions.map((action, idx) => ({
|
57
59
|
text: action.title,
|
58
60
|
icon: action.icon,
|
59
61
|
link: flattenToAppURL(action.url),
|
62
|
+
children:
|
63
|
+
idx === 0
|
64
|
+
? contactExtraActions.map((child) => ({
|
65
|
+
text: child.title,
|
66
|
+
icon: child.icon,
|
67
|
+
link: flattenToAppURL(child.url),
|
68
|
+
}))
|
69
|
+
: [],
|
60
70
|
}))
|
61
71
|
: eea.footerOpts.contacts;
|
62
72
|
|