@eeacms/volto-cca-policy 0.3.88 → 0.3.90

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,7 +4,7 @@ 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
- ### [0.3.88](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.1...0.3.88) - 10 November 2025
7
+ ### [0.3.90](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.1...0.3.90) - 20 November 2025
8
8
 
9
9
  #### :rocket: Dependency updates
10
10
 
@@ -26,6 +26,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
26
26
 
27
27
  #### :nail_care: Enhancements
28
28
 
29
+ - change: update menu layout - refs #294274 [kreafox - [`984cbdf`](https://github.com/eea/volto-cca-policy/commit/984cbdfd8694f52416199a1bfef064fc22ad7ea9)]
30
+ - change: cleanup, css fix [kreafox - [`cd1f97f`](https://github.com/eea/volto-cca-policy/commit/cd1f97f65b0549188ec336820c517e45ea728f47)]
31
+ - change: remove website and contribution links from organisation cards, use semantic cards - refs #294273 [kreafox - [`7cffbca`](https://github.com/eea/volto-cca-policy/commit/7cffbca5cc2d422120b08fd683d5235f368256ce)]
29
32
  - change(mission): update download fields for CSV export for mission funding search - refs #293691 [kreafox - [`7451c66`](https://github.com/eea/volto-cca-policy/commit/7451c6698a4160e580e39cb4b38a87cf38dd49d8)]
30
33
  - change(mission): add third level for sectors and hazards - refs #291189 [kreafox - [`5cf352c`](https://github.com/eea/volto-cca-policy/commit/5cf352ce46284b3cbd106276b60a1d4fea89235d)]
31
34
  - refactor(mission): simplify sector rendering logic in Action tab [kreafox - [`8413ccc`](https://github.com/eea/volto-cca-policy/commit/8413cccfd67e9a598f88474b8a034e7998063d23)]
@@ -40,6 +43,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
40
43
 
41
44
  #### :house: Internal changes
42
45
 
46
+ - style: improve organisation cards [kreafox - [`6ddd344`](https://github.com/eea/volto-cca-policy/commit/6ddd344ec2486355c15866e51fd33fc4e00c3ba9)]
47
+ - style: Automated code fix [eea-jenkins - [`ef718da`](https://github.com/eea/volto-cca-policy/commit/ef718da674d72d1f3614593f7381fb422792eece)]
48
+ - style: cleanup [kreafox - [`142f706`](https://github.com/eea/volto-cca-policy/commit/142f7069f84d1b8460cc6b133e0864f85ad6bc41)]
49
+ - style: Automated code fix [eea-jenkins - [`654e225`](https://github.com/eea/volto-cca-policy/commit/654e2256d7b0e96d14ae48ae2e7fbe22ab5c9098)]
43
50
  - style(mission): mobile fixes on signatory reporting pages [kreafox - [`cbeb584`](https://github.com/eea/volto-cca-policy/commit/cbeb5846c8047c164c29635bd30491b4f810246a)]
44
51
  - chore: better component naming [kreafox - [`d61e462`](https://github.com/eea/volto-cca-policy/commit/d61e4629da184ec14d6ad0d056ac29751223e2f9)]
45
52
  - style: Automated code fix [eea-jenkins - [`f8934ba`](https://github.com/eea/volto-cca-policy/commit/f8934baf29317bb81cb5a816bfe66ee1724e040f)]
@@ -138,7 +145,26 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
138
145
  - Add some loadable for components [Tiberiu Ichim - [`1793962`](https://github.com/eea/volto-cca-policy/commit/179396211c66a6a2465b2d1b6c0f2afc40fc7189)]
139
146
  - Refs #284961 - test [Tripon Eugen - [`c989f1f`](https://github.com/eea/volto-cca-policy/commit/c989f1f8638c0c5233c5c49f8673c9a2cdc7937e)]
140
147
  - Refs #284961 - add translations [Tripon Eugen - [`04ee988`](https://github.com/eea/volto-cca-policy/commit/04ee988c086d393b9b37ce1ea8d24f5e84f266aa)]
141
- ### [1.0.0-alpha.0](https://github.com/eea/volto-cca-policy/compare/0.3.87...1.0.0-alpha.0) - 15 July 2025
148
+ ### [1.0.0-alpha.0](https://github.com/eea/volto-cca-policy/compare/0.3.89...1.0.0-alpha.0) - 15 July 2025
149
+
150
+ ### [0.3.89](https://github.com/eea/volto-cca-policy/compare/0.3.88...0.3.89) - 19 November 2025
151
+
152
+ #### :nail_care: Enhancements
153
+
154
+ - change: cleanup, css fix [kreafox - [`cd1f97f`](https://github.com/eea/volto-cca-policy/commit/cd1f97f65b0549188ec336820c517e45ea728f47)]
155
+ - change: remove website and contribution links from organisation cards, use semantic cards - refs #294273 [kreafox - [`7cffbca`](https://github.com/eea/volto-cca-policy/commit/7cffbca5cc2d422120b08fd683d5235f368256ce)]
156
+
157
+ #### :house: Internal changes
158
+
159
+ - style: Automated code fix [eea-jenkins - [`ef718da`](https://github.com/eea/volto-cca-policy/commit/ef718da674d72d1f3614593f7381fb422792eece)]
160
+ - style: cleanup [kreafox - [`142f706`](https://github.com/eea/volto-cca-policy/commit/142f7069f84d1b8460cc6b133e0864f85ad6bc41)]
161
+ - style: Automated code fix [eea-jenkins - [`654e225`](https://github.com/eea/volto-cca-policy/commit/654e2256d7b0e96d14ae48ae2e7fbe22ab5c9098)]
162
+
163
+ ### [0.3.88](https://github.com/eea/volto-cca-policy/compare/0.3.87...0.3.88) - 10 November 2025
164
+
165
+ #### :bug: Bug Fixes
166
+
167
+ - fix: url instead of link in footer config - refs #293707 [kreafox - [`00e3489`](https://github.com/eea/volto-cca-policy/commit/00e3489e6855024ab8186e042d250b5529bea0e4)]
142
168
 
143
169
  ### [0.3.87](https://github.com/eea/volto-cca-policy/compare/0.3.86...0.3.87) - 10 November 2025
144
170
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.3.88",
3
+ "version": "0.3.90",
4
4
  "description": "@eeacms/volto-cca-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -1,62 +1,38 @@
1
- import React from 'react';
2
1
  import PropTypes from 'prop-types';
3
- import { UniversalLink } from '@plone/volto/components';
4
- import { useIntl, defineMessages, FormattedMessage } from 'react-intl';
5
- import { makeContributionsSearchQuery } from '@eeacms/volto-cca-policy/helpers';
2
+ import {
3
+ CardGroup,
4
+ CardHeader,
5
+ CardContent,
6
+ CardDescription,
7
+ Card,
8
+ } from 'semantic-ui-react';
6
9
 
7
10
  import './styles.less';
8
11
 
9
- const messages = defineMessages({
10
- website: {
11
- id: 'Web site',
12
- defaultMessage: 'Web site',
13
- },
14
- });
15
-
16
12
  const OrganisationCardsListingView = ({ items }) => {
17
- const intl = useIntl();
18
-
19
13
  return (
20
- <div className="ui fluid four cards">
14
+ <CardGroup itemsPerRow={4} stackable>
21
15
  {items.map((item, index) => (
22
- <div className="ui fluid card u-card" key={index}>
23
- <div className="content">
24
- <div className="header">
25
- <UniversalLink className="image" href={item['@id']}>
16
+ <Card fluid className="u-card" key={index} href={item['@id']}>
17
+ <CardContent>
18
+ <CardHeader>
19
+ <div className="image">
26
20
  <div className="img-container">
27
21
  <img
28
22
  src={item['@id'] + '/@@images/logo/preview'}
29
23
  alt={item.title}
30
24
  className="ui image"
31
- ></img>
25
+ />
32
26
  </div>
33
- </UniversalLink>
34
- <UniversalLink
35
- className="header-link org-name"
36
- href={item['@id']}
37
- >
38
- {item.title}
39
- </UniversalLink>
40
- <UniversalLink
41
- className="header-link org-site"
42
- href={item.websites?.[0] ?? '#'}
43
- >
44
- {intl.formatMessage(messages.website)}
45
- </UniversalLink>
46
- <UniversalLink
47
- className="header-link org-site"
48
- href={makeContributionsSearchQuery(item)}
49
- >
50
- <FormattedMessage
51
- id="Observatory contributions"
52
- defaultMessage="Observatory contributions"
53
- />
54
- </UniversalLink>
55
- </div>
56
- </div>
57
- </div>
27
+ </div>
28
+ </CardHeader>
29
+ <CardDescription>
30
+ <h5 className="card-title">{item.title}</h5>
31
+ </CardDescription>
32
+ </CardContent>
33
+ </Card>
58
34
  ))}
59
- </div>
35
+ </CardGroup>
60
36
  );
61
37
  };
62
38
 
@@ -4,29 +4,29 @@
4
4
  @import (multiple, reference, optional) '../../theme.config';
5
5
 
6
6
  // Organisation Cards Listing
7
- div.organisationCards {
8
- div.card.u-card {
9
- border: 1px solid #ccc;
10
- margin: 10px;
11
-
12
- div.img-container {
13
- min-height: 120px;
14
- text-align: center;
15
-
16
- img {
17
- width: auto;
18
- max-height: 100px;
7
+ .organisationCards {
8
+ .ui.cards {
9
+ .card.u-card {
10
+ border: 1px solid #ccc;
11
+ margin: 0.75em;
12
+
13
+ &:hover .card-title {
14
+ text-decoration: underline;
19
15
  }
20
- }
21
16
 
22
- a.org-name {
23
- margin-top: 0.5em;
24
- margin-bottom: 0.5em;
25
- font-size: 1em;
26
- }
17
+ .image {
18
+ width: 100%;
19
+ }
27
20
 
28
- a.org-site {
29
- font-size: 0.7em;
21
+ .img-container {
22
+ min-height: 120px;
23
+ text-align: center;
24
+
25
+ img {
26
+ width: auto;
27
+ max-height: 100px;
28
+ }
29
+ }
30
30
  }
31
31
  }
32
32
  }
package/src/index.js CHANGED
@@ -472,6 +472,10 @@ const applyConfig = (config) => {
472
472
  ],
473
473
  menuItemChildrenListColumns: [2, 1, 1, 1],
474
474
  },
475
+ '/en/observatory/topics': {
476
+ menuItemColumns: ['six wide column', 'six wide column'],
477
+ menuItemChildrenListColumns: [3, 1],
478
+ },
475
479
  };
476
480
 
477
481
  // we won't need the listing for Folders