@eeacms/volto-cca-policy 0.3.128 → 0.3.131

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,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
- ### [0.3.128](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.3...0.3.128) - 3 June 2026
7
+ ### [0.3.131](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.4...0.3.131) - 8 June 2026
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Update styles.less [iugin - [`d941271`](https://github.com/eea/volto-cca-policy/commit/d9412715525e7905786d7db3a9c14bef4793652a)]
12
+ ### [1.0.0-alpha.4](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.3...1.0.0-alpha.4) - 8 June 2026
8
13
 
9
14
  #### :rocket: Dependency updates
10
15
 
@@ -12,6 +17,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
12
17
 
13
18
  #### :bug: Bug Fixes
14
19
 
20
+ - fix: code cleanup [kreafox - [`7e7dd21`](https://github.com/eea/volto-cca-policy/commit/7e7dd21d8ac6ee3e1faa33bcba92e2ad9d1b6c3a)]
15
21
  - fix: resolve remaining lint warnings in WorkflowLinkIntegrityModal [Tiberiu Ichim - [`f1add88`](https://github.com/eea/volto-cca-policy/commit/f1add881c7240ba12dd223bfccb0c4ac86f83056)]
16
22
  - fix: resolve lint warnings and a11y errors in WorkflowLinkIntegrityModal [Tiberiu Ichim - [`bc60ca6`](https://github.com/eea/volto-cca-policy/commit/bc60ca604f30f62d6fb225bb319f76bab700ff04)]
17
23
  - fix: update warning message in link integrity workflow state change modal [Tiberiu Ichim - [`1244b2e`](https://github.com/eea/volto-cca-policy/commit/1244b2e826590050c6b10506651482cd615b8c92)]
@@ -23,6 +29,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
23
29
 
24
30
  #### :house: Internal changes
25
31
 
32
+ - style: enhance tab block layout for call-to-action links [kreafox - [`e2bbe40`](https://github.com/eea/volto-cca-policy/commit/e2bbe40f62d243a7978d927580a50a4de05d1fb4)]
26
33
  - style: Automated code fix [eea-jenkins - [`8ca0234`](https://github.com/eea/volto-cca-policy/commit/8ca0234d1d429ed5964061989dad13cd6b44b027)]
27
34
  - style: Automated code fix [eea-jenkins - [`1e4caaf`](https://github.com/eea/volto-cca-policy/commit/1e4caafffd7b026c565887d6ace3c7ec87866bfe)]
28
35
 
@@ -33,6 +40,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
33
40
  - docs: reorganize link integrity workflow artifacts, adding README specification and index overview [Tiberiu Ichim - [`1208c96`](https://github.com/eea/volto-cca-policy/commit/1208c9619ff4097a4d954e355895382978b326dc)]
34
41
  - docs: add specification for link integrity check during workflow transitions [Tiberiu Ichim - [`842da3d`](https://github.com/eea/volto-cca-policy/commit/842da3d371f0c5c38a538e3d519bc5eb79705e34)]
35
42
 
43
+ #### :hammer_and_wrench: Others
44
+
45
+ - test: update ASTNavigationView unit tests [kreafox - [`0c09018`](https://github.com/eea/volto-cca-policy/commit/0c09018398cfd886d0107a3ce798b5d035c40f76)]
46
+ - test: add unit tests [kreafox - [`5afd39f`](https://github.com/eea/volto-cca-policy/commit/5afd39f4d67045c58eafd2abae8bd0221ec2c85a)]
36
47
  ### [1.0.0-alpha.3](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.2...1.0.0-alpha.3) - 22 May 2026
37
48
 
38
49
  #### :bug: Bug Fixes
@@ -81,7 +92,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
81
92
  - Refs #296263 - styles and messages [iugin - [`359f2fc`](https://github.com/eea/volto-cca-policy/commit/359f2fcd207a6e58bc9e32d514ca23183ea6ca8e)]
82
93
  - Refs #296263 - jenkins update [iugin - [`b424df5`](https://github.com/eea/volto-cca-policy/commit/b424df51271e975a9721e4c0712c3009b68e53fa)]
83
94
  - Refs #296263 - init [iugin - [`01bff47`](https://github.com/eea/volto-cca-policy/commit/01bff4757de9d2b01b9476f19b61715a7983999b)]
84
- ### [1.0.0-alpha.1](https://github.com/eea/volto-cca-policy/compare/0.3.127...1.0.0-alpha.1) - 20 May 2026
95
+ ### [1.0.0-alpha.1](https://github.com/eea/volto-cca-policy/compare/0.3.130...1.0.0-alpha.1) - 20 May 2026
85
96
 
86
97
  #### :rocket: New Features
87
98
 
@@ -128,6 +139,24 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
128
139
  - test: update snapshots [kreafox - [`420d51d`](https://github.com/eea/volto-cca-policy/commit/420d51d1e88323db7295752dc1a184888d3d504e)]
129
140
  - test: mock withScrollToTarget in Spotlight.test.jsx [kreafox - [`5fe54fb`](https://github.com/eea/volto-cca-policy/commit/5fe54fb44960bacc9ff0fe1d91bbbeec2bc58e83)]
130
141
  - update language import path [iugin - [`1217dcc`](https://github.com/eea/volto-cca-policy/commit/1217dcc9e6aa3971bf30c07bb93203cb73949c23)]
142
+ ### [0.3.130](https://github.com/eea/volto-cca-policy/compare/0.3.129...0.3.130) - 8 June 2026
143
+
144
+ ### [0.3.129](https://github.com/eea/volto-cca-policy/compare/0.3.128...0.3.129) - 8 June 2026
145
+
146
+ #### :house: Internal changes
147
+
148
+ - style: enhance tab block layout for call-to-action links [kreafox - [`e2bbe40`](https://github.com/eea/volto-cca-policy/commit/e2bbe40f62d243a7978d927580a50a4de05d1fb4)]
149
+
150
+ ### [0.3.128](https://github.com/eea/volto-cca-policy/compare/0.3.127...0.3.128) - 3 June 2026
151
+
152
+ #### :rocket: Dependency updates
153
+
154
+ - Release @eeacms/volto-openlayers-map@2.0.1 [EEA Jenkins - [`21f4352`](https://github.com/eea/volto-cca-policy/commit/21f4352bb61fc29edfe4fda1e25cde9117c37884)]
155
+
156
+ #### :nail_care: Enhancements
157
+
158
+ - change: remove info message from AdaptationOptionView - refs #296805 [kreafox - [`b023e1c`](https://github.com/eea/volto-cca-policy/commit/b023e1c3e26bf9ed8f2f962ddee0552525f1f69b)]
159
+
131
160
  ### [0.3.127](https://github.com/eea/volto-cca-policy/compare/0.3.126...0.3.127) - 27 May 2026
132
161
 
133
162
  #### :bug: Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.3.128",
3
+ "version": "0.3.131",
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",
@@ -87,7 +87,7 @@
87
87
  margin-right: 0.5em;
88
88
  }
89
89
 
90
- // Legend color mapping
90
+ // Legend color mapping details
91
91
  .content-available {
92
92
  background-color: #0170b7;
93
93
  }
@@ -11,26 +11,12 @@ const ccaConfig = {
11
11
  ...views,
12
12
  };
13
13
 
14
+ /*
15
+ We define our own runtime_mappings in cca_build_runtime_mappings
16
+ */
14
17
  export const clusters = {
15
18
  name: 'op_cluster',
16
- // field: 'objectProvides',
17
- clusters: [
18
- {
19
- name: 'Climate-ADAPT',
20
- icon: { name: 'file text' },
21
- values: ['climate'],
22
- },
23
- {
24
- name: 'Health Observatory',
25
- icon: { name: 'compass' },
26
- values: ['observatory'],
27
- },
28
- {
29
- name: 'Mission Portal',
30
- icon: { name: 'compass' },
31
- values: ['mission'],
32
- },
33
- ].map((cluster) => ({
19
+ clusters: [].map((cluster) => ({
34
20
  ...cluster,
35
21
  defaultResultView: 'ClusterHorizontalCardItem',
36
22
  })),
@@ -41,9 +27,10 @@ cca_build_runtime_mappings['op_cluster'] = {
41
27
  type: 'keyword',
42
28
  script: {
43
29
  source:
44
- "def objectProvides = ['Adaptation option','Case study','Guidance','Video','Indicator','Information portal','Organisation','Publication reference','Research and knowledge project','Video','Tool'];def vals = doc['objectProvides'];for (defVal in objectProvides) {for (objVal in vals) {if (objVal.contains(defVal)) {emit('Climate-ADAPT')}}}emit('_all_');if (doc['cca_include_in_search_observatory'][0]) {for (defVal in objectProvides) {for (objVal in vals) {if (objVal.contains(defVal)){emit('Health Observatory')}}}} if (doc['cca_include_in_mission.keyword'][0].toString() == 'true') {emit('Mission Portal')} else {if (doc['id.keyword'].length==1) { if(doc['id.keyword'][0].toString().contains('climate-adapt.eea.europa.eu/en/mission')) {emit('Mission Portal')}}}",
30
+ "def objectProvides = ['Adaptation option','Case study','Guidance','Video','Indicator','Information portal','Organisation','Publication reference','Research and knowledge project','Video','Tool'];def vals = doc['objectProvides'];for (defVal in objectProvides) {for (objVal in vals) {if (objVal.contains(defVal)) {emit('Climate-ADAPT')}}}emit('_all_');if (doc['cca_include_in_search_observatory'][0]) {for (defVal in objectProvides) {for (objVal in vals) {if (objVal.contains(defVal)){emit('Health Observatory')}}}}",
45
31
  },
46
32
  };
33
+ // "def objectProvides = ['Adaptation option','Case study','Guidance','Video','Indicator','Information portal','Organisation','Publication reference','Research and knowledge project','Video','Tool'];def vals = doc['objectProvides'];for (defVal in objectProvides) {for (objVal in vals) {if (objVal.contains(defVal)) {emit('Climate-ADAPT')}}}emit('_all_');if (doc['cca_include_in_search_observatory'][0]) {for (defVal in objectProvides) {for (objVal in vals) {if (objVal.contains(defVal)){emit('Health Observatory')}}}} if (doc['cca_include_in_mission.keyword'][0].toString() == 'true') {emit('Mission Portal')} else {if (doc['id.keyword'].length==1) { if(doc['id.keyword'][0].toString().contains('climate-adapt.eea.europa.eu/en/mission')) {emit('Mission Portal')}}}",
47
34
 
48
35
  export default function installMainSearch(config) {
49
36
  const envConfig = ccaConfig;
@@ -386,6 +386,16 @@ hr {
386
386
  width: 100%;
387
387
  }
388
388
 
389
+ .tabs-block .tabs .tab .column-grid .three.wide.computer.column {
390
+ .block.call-to-action a {
391
+ width: 100%;
392
+ height: 100%;
393
+ margin-top: 0 !important;
394
+ min-height: 57px;
395
+ align-content: center;
396
+ }
397
+ }
398
+
389
399
  #page-edit {
390
400
  .eea.banner .image {
391
401
  background-image: none;