@eeacms/volto-cca-policy 0.3.94 → 0.3.96

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,162 +4,34 @@ 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.94](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.1...0.3.94) - 18 December 2025
8
-
9
- #### :rocket: Dependency updates
10
-
11
- - Release @eeacms/volto-searchlib@2.1.10 [EEA Jenkins - [`ec1bf82`](https://github.com/eea/volto-cca-policy/commit/ec1bf82df7258b9df4e2496b98aa7a8eccdbeb17)]
12
- - Release @eeacms/volto-searchlib@2.1.8 [EEA Jenkins - [`4518eba`](https://github.com/eea/volto-cca-policy/commit/4518ebac718c205eac0fd80583efc564ecf8ae69)]
13
- - Release @eeacms/volto-searchlib@2.1.7 [EEA Jenkins - [`ef5499d`](https://github.com/eea/volto-cca-policy/commit/ef5499dfc12182ac38af1283bbc87fd154891a6c)]
7
+ ### [0.3.96](https://github.com/eea/volto-cca-policy/compare/0.3.95...0.3.96) - 19 December 2025
14
8
 
15
9
  #### :bug: Bug Fixes
16
10
 
17
- - fix: update comments [kreafox - [`1219fcc`](https://github.com/eea/volto-cca-policy/commit/1219fccab92e59428eccf6b05e600df5878dfe48)]
18
- - fix: test [kreafox - [`9d687b6`](https://github.com/eea/volto-cca-policy/commit/9d687b68e7a461ad41c48258ba63651de8a0a2fb)]
19
- - fix: url instead of link in footer config - refs #293707 [kreafox - [`00e3489`](https://github.com/eea/volto-cca-policy/commit/00e3489e6855024ab8186e042d250b5529bea0e4)]
20
- - fix(tests): increase code coverage [kreafox - [`66cd2b3`](https://github.com/eea/volto-cca-policy/commit/66cd2b39a9b7b026c171d99e2bf3b8a47b7cddd2)]
21
- - fix(tests): update hyperlink text in PlanningTab [kreafox - [`05080e0`](https://github.com/eea/volto-cca-policy/commit/05080e0727730a5fe7c67d884ad6453eaf82081a)]
22
- - fix(mission): adjust margins for nested lists and accordion padding [kreafox - [`1abf18f`](https://github.com/eea/volto-cca-policy/commit/1abf18fabe9efffa552ed2e6a8b57f9b1d59f7a6)]
23
- - fix(mission): improve URL extraction logic - refs #291190 [kreafox - [`8e4c6e4`](https://github.com/eea/volto-cca-policy/commit/8e4c6e42dc35b4c940c39f9f25d587f66d0b242d)]
24
- - fix(mission): fix assessment risk numbering to match sorted order [kreafox - [`9ecea88`](https://github.com/eea/volto-cca-policy/commit/9ecea885394f1ae6ad63ffb03d8a10cd706caffb)]
25
- - fix: duplicated code - make ItemsSection reusable [kreafox - [`52e2625`](https://github.com/eea/volto-cca-policy/commit/52e2625914f699c194f75d561f97959ab6c21fbf)]
26
- - fix: add missing props for title block [kreafox - [`1d8efa0`](https://github.com/eea/volto-cca-policy/commit/1d8efa0136960261196e7585f89f4ff7db75ae17)]
27
- - fix: trailing space issue in HtmlSlateWidget - refs #290137 [kreafox - [`34c1ff6`](https://github.com/eea/volto-cca-policy/commit/34c1ff6896a0fe3fae40527f31ea34220e945163)]
11
+ - fix: render of reference info [kreafox - [`8d339d5`](https://github.com/eea/volto-cca-policy/commit/8d339d504c3c9871841d8585e9bfd7b2eacd4118)]
12
+ - fix: add missing reference info in DatabaseItemView [kreafox - [`7493d25`](https://github.com/eea/volto-cca-policy/commit/7493d256385f9209c87dca845d4acffcb5cfbe13)]
28
13
 
29
14
  #### :nail_care: Enhancements
30
15
 
31
- - change(mission): code cleanup [kreafox - [`dfa082b`](https://github.com/eea/volto-cca-policy/commit/dfa082b1dbb3480532a6787bf08f96b2af91e265)]
32
- - change: code cleanup, add customization comments [kreafox - [`4418a01`](https://github.com/eea/volto-cca-policy/commit/4418a0157df75b4588956b15e1a0950bbd1f504c)]
33
- - change: add 301/302 redirect handling [kreafox - [`1125c61`](https://github.com/eea/volto-cca-policy/commit/1125c61f8b963a1f49bb6f7672b68bed03e559f9)]
34
- - change: update volto customizations [kreafox - [`a712c5d`](https://github.com/eea/volto-cca-policy/commit/a712c5da2f949262dc82b0526d3623c31a1ee105)]
35
- - change: update menu layout - refs #294274 [kreafox - [`984cbdf`](https://github.com/eea/volto-cca-policy/commit/984cbdfd8694f52416199a1bfef064fc22ad7ea9)]
36
- - change: cleanup, css fix [kreafox - [`cd1f97f`](https://github.com/eea/volto-cca-policy/commit/cd1f97f65b0549188ec336820c517e45ea728f47)]
37
- - 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)]
38
- - 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)]
39
- - change(mission): add third level for sectors and hazards - refs #291189 [kreafox - [`5cf352c`](https://github.com/eea/volto-cca-policy/commit/5cf352ce46284b3cbd106276b60a1d4fea89235d)]
40
- - refactor(mission): simplify sector rendering logic in Action tab [kreafox - [`8413ccc`](https://github.com/eea/volto-cca-policy/commit/8413cccfd67e9a598f88474b8a034e7998063d23)]
41
- - change(mission): improve AccordionList [kreafox - [`cf1497f`](https://github.com/eea/volto-cca-policy/commit/cf1497ff50ff45cdb0bb8e995683969bb3e3c065)]
42
- - refactor(mission): remove unnecessary line breaks and simplify message rendering - refs #291190 [kreafox - [`430a123`](https://github.com/eea/volto-cca-policy/commit/430a12371b6e1c6a77ea65b6a434eda883568c64)]
43
- - refactor(mission): use ItemsSection in PlanningTab - refs #291190 [kreafox - [`9e96aaa`](https://github.com/eea/volto-cca-policy/commit/9e96aaac0686f6688b3406aca578b598882a9c29)]
44
- - change: update sectors with icons for Planning tab - refs #291190 [kreafox - [`8b82168`](https://github.com/eea/volto-cca-policy/commit/8b821686fc6b9d98c542d9f0315734b446070a17)]
45
- - change: update factors with icons for Assessment tab - refs #291189 [kreafox - [`d8b7afc`](https://github.com/eea/volto-cca-policy/commit/d8b7afc36b2129b60ef81d9a057c4c9be35cbb03)]
46
- - change: update sectors with icons for Action tab - refs #291188 [kreafox - [`a9f15c7`](https://github.com/eea/volto-cca-policy/commit/a9f15c70fa261c9da5b0f01d0bf07ede0136085f)]
47
- - change(mission): use result_beta in sandbox for signatory reporting - refs #292508 [kreafox - [`b425801`](https://github.com/eea/volto-cca-policy/commit/b42580100bdd2b4d79be53bbfa05098856deb4be)]
48
- - change: update signatory profile action tab with icons [kreafox - [`0e72902`](https://github.com/eea/volto-cca-policy/commit/0e7290259b966ff72d2a4d77efca8fbeec8655f8)]
16
+ - refactor: code improvement [kreafox - [`a0fd02e`](https://github.com/eea/volto-cca-policy/commit/a0fd02e2abb9054818dd4b6f6760c88e2e5897a2)]
17
+ - change: update DatabaseItemView for full-width visualization - refs #295722 [kreafox - [`0be2939`](https://github.com/eea/volto-cca-policy/commit/0be2939ee02cafca9d2bf32a6fa49888d7cbcad6)]
49
18
 
50
19
  #### :house: Internal changes
51
20
 
52
- - style: small css update [kreafox - [`160de16`](https://github.com/eea/volto-cca-policy/commit/160de1685a55ac0fe41f97d0886d2356f412104f)]
53
- - style: add green theme on blocks - refs #295162 [kreafox - [`27747fd`](https://github.com/eea/volto-cca-policy/commit/27747fd3e67800dd5553d3b9366a79b457cfdd18)]
54
- - style: add EEA green color as theme color - refs #295162 [kreafox - [`0073837`](https://github.com/eea/volto-cca-policy/commit/00738375afe1d0047b6ef2009a45d46fb37a8be6)]
55
- - style: improve organisation cards [kreafox - [`6ddd344`](https://github.com/eea/volto-cca-policy/commit/6ddd344ec2486355c15866e51fd33fc4e00c3ba9)]
56
- - style: Automated code fix [eea-jenkins - [`ef718da`](https://github.com/eea/volto-cca-policy/commit/ef718da674d72d1f3614593f7381fb422792eece)]
57
- - style: cleanup [kreafox - [`142f706`](https://github.com/eea/volto-cca-policy/commit/142f7069f84d1b8460cc6b133e0864f85ad6bc41)]
58
- - style: Automated code fix [eea-jenkins - [`654e225`](https://github.com/eea/volto-cca-policy/commit/654e2256d7b0e96d14ae48ae2e7fbe22ab5c9098)]
59
- - style(mission): mobile fixes on signatory reporting pages [kreafox - [`cbeb584`](https://github.com/eea/volto-cca-policy/commit/cbeb5846c8047c164c29635bd30491b4f810246a)]
60
- - chore: better component naming [kreafox - [`d61e462`](https://github.com/eea/volto-cca-policy/commit/d61e4629da184ec14d6ad0d056ac29751223e2f9)]
61
- - style: Automated code fix [eea-jenkins - [`f8934ba`](https://github.com/eea/volto-cca-policy/commit/f8934baf29317bb81cb5a816bfe66ee1724e040f)]
62
- - style: Automated code fix [eea-jenkins - [`0e75a69`](https://github.com/eea/volto-cca-policy/commit/0e75a6978a2b43e8ad4545ea5fb41191354fd9d0)]
63
- - style: fix item spacing [kreafox - [`7d4535d`](https://github.com/eea/volto-cca-policy/commit/7d4535dbc486e6cb80fc55d6ac8c7c01d9cf48af)]
21
+ - style: CSS cleanup [kreafox - [`f183f72`](https://github.com/eea/volto-cca-policy/commit/f183f720afa0291c5ff4f3d3f879e32b5d04b896)]
64
22
 
65
- #### :hammer_and_wrench: Others
23
+ ### [0.3.95](https://github.com/eea/volto-cca-policy/compare/0.3.94...0.3.95) - 18 December 2025
66
24
 
67
- - resolve conflicts [Teodor - [`28f6d21`](https://github.com/eea/volto-cca-policy/commit/28f6d2127a1d2fa8c38d4a5d1f235916892774c8)]
68
- - code cleanup [kreafox - [`5eb537f`](https://github.com/eea/volto-cca-policy/commit/5eb537f30bfc867e460fd46a145e0f7069b2c6f7)]
69
- - Refs #290863 - update message key [iugin - [`871b61c`](https://github.com/eea/volto-cca-policy/commit/871b61cea7070ff5ca6d303dcf5ecaf2fdd4e965)]
70
- - Refs #290863 - add translations [iugin - [`63dfc08`](https://github.com/eea/volto-cca-policy/commit/63dfc08243aa19dec5c92d800b22ed739f2f0f75)]
71
- - code cleanup [Teodor - [`74dea17`](https://github.com/eea/volto-cca-policy/commit/74dea17652897c2f9e5524ea473e9250953ec614)]
72
- - test: try to use specific version for plone-backend [kreafox - [`79c542e`](https://github.com/eea/volto-cca-policy/commit/79c542e8d55d2f1663b768c555880599634ae527)]
73
- - test(mission): add unit tests for NoDataReported and StatisticSection components [kreafox - [`36c6e36`](https://github.com/eea/volto-cca-policy/commit/36c6e36278124759240c896786f2ac0c20674730)]
74
- - test: resolve Jest errors in component tests [kreafox - [`6dbb735`](https://github.com/eea/volto-cca-policy/commit/6dbb73540e8301fcb42a4d52db7004f5a42db4d8)]
75
- - test: fix PlanningTab mock data to match component structure [kreafox - [`48e76e1`](https://github.com/eea/volto-cca-policy/commit/48e76e1e50e0c6d8a6a500fec3d1831419faeee9)]
76
- - test: resolve Jest errors in component tests [kreafox - [`f309b96`](https://github.com/eea/volto-cca-policy/commit/f309b96b0767358530d969e21102887a9db76b5a)]
77
- - Add customization for server.jsx [Tiberiu Ichim - [`c625d39`](https://github.com/eea/volto-cca-policy/commit/c625d397493ca9c1bcbd4083dd0b93969d89ef97)]
78
- - Remove customizations for server, to benefit from CSP headers implemented in eea-website-theme [Tiberiu Ichim - [`0c9ce15`](https://github.com/eea/volto-cca-policy/commit/0c9ce154c68a589ad6a0c553b36ea6e4f155ed09)]
79
- - Refs #290787 - sum of countries [Tripon Eugen - [`f1033cf`](https://github.com/eea/volto-cca-policy/commit/f1033cf0beca2d7cace3d1ee2bc93d03cbf7b3c8)]
80
- - Refs #290787 - contry map update flat/round earth and diffrent countries list [Tripon Eugen - [`6009e9f`](https://github.com/eea/volto-cca-policy/commit/6009e9f2ef28aeacd8f27d2735e0270822a13a5e)]
81
- ### [1.0.0-alpha.1](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.0...1.0.0-alpha.1) - 28 July 2025
82
-
83
- #### :rocket: Dependency updates
84
-
85
- - Release @eeacms/volto-searchlib@2.1.6 [EEA Jenkins - [`ae34652`](https://github.com/eea/volto-cca-policy/commit/ae346528ed8e2fb302edb7457310107a733c575c)]
86
- - Release @eeacms/volto-searchlib@2.1.5 [EEA Jenkins - [`fc16006`](https://github.com/eea/volto-cca-policy/commit/fc16006f2f26b14da82ceffcb976dd8fa68e1214)]
87
- - Release @eeacms/volto-searchlib@2.1.4 [EEA Jenkins - [`eb7c538`](https://github.com/eea/volto-cca-policy/commit/eb7c5386eaa7a3d8cd24fec847c656b87848d6f7)]
88
- - Release @eeacms/volto-searchlib@2.1.3 [EEA Jenkins - [`67e8a0d`](https://github.com/eea/volto-cca-policy/commit/67e8a0d9759fa44694615f695ebe651509797840)]
89
- - Release @eeacms/volto-searchlib@2.1.1 [EEA Jenkins - [`a625e3d`](https://github.com/eea/volto-cca-policy/commit/a625e3d4cf3de11644db824b8ddf46fcd56ea7e9)]
90
- - Release @eeacms/volto-searchlib@2.1.0 [EEA Jenkins - [`e5fc813`](https://github.com/eea/volto-cca-policy/commit/e5fc813f97922df335be28673d6303cb81b3c888)]
91
-
92
- #### :bug: Bug Fixes
25
+ #### :house: Internal changes
93
26
 
94
- - fix: prettier [kreafox - [`3a7a76a`](https://github.com/eea/volto-cca-policy/commit/3a7a76adbcf42782e48fa9eb4653c3daba212884)]
95
- - fix: fix missing content in edit mode by unwrapping <div> tags [kreafox - [`9317793`](https://github.com/eea/volto-cca-policy/commit/9317793b93569ed3e53872b413c6e5047ec66b6e)]
96
- - fix: prevent Dropdown error when value is null [kreafox - [`6a34c03`](https://github.com/eea/volto-cca-policy/commit/6a34c03d90afe141f6c9ac62a8588585b376f968)]
97
- - fix: CMSare video URL with query string - #refs 290068 [kreafox - [`d637581`](https://github.com/eea/volto-cca-policy/commit/d637581b12b70f1438576d800d9a7d710c734c11)]
98
- - fix: remove unused import [kreafox - [`72e419d`](https://github.com/eea/volto-cca-policy/commit/72e419d8d46a05c1fc2c2314f625bf9c4a08a64d)]
99
- - fix: eslint [kreafox - [`7887ef4`](https://github.com/eea/volto-cca-policy/commit/7887ef453f9099f1606a54b2ae06bfcad03ca5f8)]
100
- - fix: issues reported by sonarqube [kreafox - [`ccf5bcd`](https://github.com/eea/volto-cca-policy/commit/ccf5bcde698444d9bed9b138edb54841f78e27af)]
101
- - fix: resolve sonarqube code quality issues - refs #289841 [kreafox - [`f9e2bd0`](https://github.com/eea/volto-cca-policy/commit/f9e2bd07bc4db00cc452dd4a2837b28dae7c3d64)]
102
- - fix: resolve sonarqube code quality issues (WIP) - refs #289841 [kreafox - [`8253492`](https://github.com/eea/volto-cca-policy/commit/82534921494f8b0c5ba6c12cf6af834e4cc3f7e5)]
27
+ - style: fix tabs-block font size on the homepage [kreafox - [`d41aae9`](https://github.com/eea/volto-cca-policy/commit/d41aae9d78493204cba0e61271f7db3977ae66dc)]
103
28
 
104
- #### :nail_care: Enhancements
105
-
106
- - change: update customization readme [kreafox - [`77338c5`](https://github.com/eea/volto-cca-policy/commit/77338c5fba63527f726d74c8fca758a69609d738)]
107
- - change: update customization readme [kreafox - [`3ce75ac`](https://github.com/eea/volto-cca-policy/commit/3ce75ace40f27403582f9997fd4bd368ef66a399)]
108
- - change: update customization readme [kreafox - [`27e8903`](https://github.com/eea/volto-cca-policy/commit/27e890308aae6f5a785cc4ff765c6729041848fb)]
109
- - change: remove sitemap from header, add sitemap link to the <head> - refs #288920 [kreafox - [`cf2da0a`](https://github.com/eea/volto-cca-policy/commit/cf2da0af294ec97b36d2b711ff7d05a937512a02)]
110
- - change(header): add sitemap link - refs #288920 [kreafox - [`0b51b76`](https://github.com/eea/volto-cca-policy/commit/0b51b7649a13f250390cc78e88f6946d370c4c59)]
29
+ ### [0.3.94](https://github.com/eea/volto-cca-policy/compare/0.3.93...0.3.94) - 18 December 2025
111
30
 
112
31
  #### :house: Internal changes
113
32
 
114
- - style: Automated code fix [eea-jenkins - [`4094d3a`](https://github.com/eea/volto-cca-policy/commit/4094d3af0d9967ab6173ae9d088fd9f2ffcc2921)]
115
- - style: Automated code fix [eea-jenkins - [`5f0b23b`](https://github.com/eea/volto-cca-policy/commit/5f0b23b56b2e261748f3cdaf1d288ed5b0df0adb)]
116
- - style: Automated code fix [eea-jenkins - [`5774f11`](https://github.com/eea/volto-cca-policy/commit/5774f11b505788e71d0810555e28f306f4170ea4)]
117
- - style: Automated code fix [eea-jenkins - [`88386b8`](https://github.com/eea/volto-cca-policy/commit/88386b8d31edcf5aec1b2591840af3d5a6f0357a)]
118
- - style: Automated code fix [eea-jenkins - [`1f11a31`](https://github.com/eea/volto-cca-policy/commit/1f11a31a8ccf6fd74840f3d205992068c7427512)]
119
- - style: Automated code fix [eea-jenkins - [`4c5b5f3`](https://github.com/eea/volto-cca-policy/commit/4c5b5f3f4e0474a7fc2ba1f634229f8fc99c3fb0)]
120
-
121
- #### :hammer_and_wrench: Others
122
-
123
- - Bump version for volto-plotlycharts [Tiberiu Ichim - [`6ba369b`](https://github.com/eea/volto-cca-policy/commit/6ba369baabfa16e463b4c351f7ff65643047ebbe)]
124
- - Set volto-embed version to star [Tiberiu Ichim - [`f390ac4`](https://github.com/eea/volto-cca-policy/commit/f390ac41afe77b48502df5ff19ae7b89111498aa)]
125
- - Set plotlycharts to latest 13.0.0 version [Tiberiu Ichim - [`6ce598a`](https://github.com/eea/volto-cca-policy/commit/6ce598a5187f877ac42bb5b3c966235fb1eaa461)]
126
- - add translations [Tripon Eugen - [`8f9a56c`](https://github.com/eea/volto-cca-policy/commit/8f9a56c78de23f96bafd1b381e5894c41a7180cb)]
127
- - country map profile open popup in new page [Tripon Eugen - [`dede096`](https://github.com/eea/volto-cca-policy/commit/dede0965b844c85fde9f35f1262fb54bf127623c)]
128
- - Define some messages; upgrade searchlib [Tiberiu Ichim - [`e150c65`](https://github.com/eea/volto-cca-policy/commit/e150c654b0eea096a7c6a1b3f80be7f9f0f046a2)]
129
- - pin @eeacms/volto-plotlycharts [kreafox - [`c3ed94b`](https://github.com/eea/volto-cca-policy/commit/c3ed94b3a3914d38feb1bc72625d619ae467e96f)]
130
- - Add dependency for plotly [Tiberiu Ichim - [`b9a3a48`](https://github.com/eea/volto-cca-policy/commit/b9a3a4888043fe1352a2cdcf88d15eeb1154eccf)]
131
- - Refs #289437 - wip [Tripon Eugen - [`2073e24`](https://github.com/eea/volto-cca-policy/commit/2073e2404274cbacccbc303d4493860f8c938de8)]
132
- - Refs #289437 - wip typo [Tripon Eugen - [`62c79a3`](https://github.com/eea/volto-cca-policy/commit/62c79a3c914f1c49d42ea96953a903af9e6e3a21)]
133
- - Refs #289437 - map popup country name updtes [Tripon Eugen - [`f6b265d`](https://github.com/eea/volto-cca-policy/commit/f6b265dfa6d7710cdfac10fcdcac9de646f8d868)]
134
- - Refs #289437 - no data Switzerland message [Tripon Eugen - [`b7d6251`](https://github.com/eea/volto-cca-policy/commit/b7d6251dfe136c1631ff112ecccfa8e5eda74101)]
135
- - Refs #289437 - update legend map [Tripon Eugen - [`80f8f9b`](https://github.com/eea/volto-cca-policy/commit/80f8f9bbc590fc0c10c65514bdba0c67db6de441)]
136
- - Refs #289437 - update label for some countries [Tripon Eugen - [`1be52e3`](https://github.com/eea/volto-cca-policy/commit/1be52e3f388e2378b9dfec8496eb083fb7d589c9)]
137
- - Refs #289437 - update map colors [Tripon Eugen - [`47f3112`](https://github.com/eea/volto-cca-policy/commit/47f3112038f89945741abbb4fafde13d150af79c)]
138
- - Bump version for volto-datablocks [Tiberiu Ichim - [`e6267e0`](https://github.com/eea/volto-cca-policy/commit/e6267e03882362471e60ad150df49c5c2843884e)]
139
- - Refs #289437 - blue map updates [Tripon Eugen - [`a734405`](https://github.com/eea/volto-cca-policy/commit/a734405cc3907b7fdcdc169421713c3b61405641)]
140
- - Refs #289437 - blue map update data link no profiles [Tripon Eugen - [`5df8797`](https://github.com/eea/volto-cca-policy/commit/5df8797b8b600850516e0f6ce480b052c1e35bdd)]
141
- - Refs #289437 - blue map update [Tripon Eugen - [`36de33e`](https://github.com/eea/volto-cca-policy/commit/36de33e41e4d862d201db7cf470d902c67560f71)]
142
- - No console.log [Tiberiu Ichim - [`fef7eea`](https://github.com/eea/volto-cca-policy/commit/fef7eea74480a455ccbd04f8dc39170ca538cb17)]
143
- - No need for schema enhancer [Tiberiu Ichim - [`ec71401`](https://github.com/eea/volto-cca-policy/commit/ec7140102081db6bf86940ff7f06c8ff7233565f)]
144
- - Add extension for DataConnectedEmbed [Tiberiu Ichim - [`2a14949`](https://github.com/eea/volto-cca-policy/commit/2a149490e2ad001a3efc4106de6207c508762675)]
145
- - test: fix security hotspots on sonarqube - refs #289841 [kreafox - [`ed2ae6f`](https://github.com/eea/volto-cca-policy/commit/ed2ae6f3d41062740df5dd31c749b25316321776)]
146
- - Undo [Tiberiu Ichim - [`d90fe59`](https://github.com/eea/volto-cca-policy/commit/d90fe596d97753a63796feaa42451b010cd80aec)]
147
- - Depend on latest volto-matomo [Tiberiu Ichim - [`2ec3d30`](https://github.com/eea/volto-cca-policy/commit/2ec3d3099a8ba0f6823125209439631a2db18bac)]
148
- - test: fix security hotspots on sonarqube - refs #289841 [kreafox - [`2e86b28`](https://github.com/eea/volto-cca-policy/commit/2e86b285de2d43919248d53988a1f97eb44793d8)]
149
- - test: add tests to increase code coverage [kreafox - [`29ee566`](https://github.com/eea/volto-cca-policy/commit/29ee56661f1e349177f91237b6e548e1036d8b57)]
150
- - test: add tests to increase code coverage [kreafox - [`75e95bf`](https://github.com/eea/volto-cca-policy/commit/75e95bf109369b637eecfbd649cb07280c27c9fe)]
151
- - Use secondary site id [Tiberiu Ichim - [`461a204`](https://github.com/eea/volto-cca-policy/commit/461a20409ccf8e3b1baea17ee7727378dbb38e23)]
152
- - Add suport for custom site id for mission [Tiberiu Ichim - [`3a32dfc`](https://github.com/eea/volto-cca-policy/commit/3a32dfc40127a060ea86651a71f043ef7137876b)]
153
- - Refs #289562 - blue country map change projection [Tripon Eugen - [`8979a20`](https://github.com/eea/volto-cca-policy/commit/8979a20f91a160d5f70f747aa01d0e04a6d6a30d)]
154
- - add nn missing translations [Tripon Eugen - [`62511df`](https://github.com/eea/volto-cca-policy/commit/62511df2351b231b3973a9a748f307e78ff7f993)]
155
- - Refs #289437 - country map profile label translation [Tripon Eugen - [`59bc0c7`](https://github.com/eea/volto-cca-policy/commit/59bc0c7135290cd4edb7faa53dee8a5e31376c57)]
156
- - Refs #289437 - Filter test update after remove filters [Tripon Eugen - [`bd6a0c3`](https://github.com/eea/volto-cca-policy/commit/bd6a0c3d6fe4568072cdc741410ab5c19da7433f)]
157
- - Refs #289437 - eslint, center and zoom map [Tripon Eugen - [`4c1bd3e`](https://github.com/eea/volto-cca-policy/commit/4c1bd3e10b151cb935b10fa136006056c61d28c4)]
158
- - Refs #289437 - update map colorse and labels [Tripon Eugen - [`6577fc6`](https://github.com/eea/volto-cca-policy/commit/6577fc640755e394d696932413ddd10b541d193e)]
159
- - Add some loadable for components [Tiberiu Ichim - [`1793962`](https://github.com/eea/volto-cca-policy/commit/179396211c66a6a2465b2d1b6c0f2afc40fc7189)]
160
- - Refs #284961 - test [Tripon Eugen - [`c989f1f`](https://github.com/eea/volto-cca-policy/commit/c989f1f8638c0c5233c5c49f8673c9a2cdc7937e)]
161
- - Refs #284961 - add translations [Tripon Eugen - [`04ee988`](https://github.com/eea/volto-cca-policy/commit/04ee988c086d393b9b37ce1ea8d24f5e84f266aa)]
162
- ### [1.0.0-alpha.0](https://github.com/eea/volto-cca-policy/compare/0.3.93...1.0.0-alpha.0) - 15 July 2025
33
+ - style: small css update [kreafox - [`160de16`](https://github.com/eea/volto-cca-policy/commit/160de1685a55ac0fe41f97d0886d2356f412104f)]
34
+ - style: add green theme on blocks - refs #295162 [kreafox - [`27747fd`](https://github.com/eea/volto-cca-policy/commit/27747fd3e67800dd5553d3b9366a79b457cfdd18)]
163
35
 
164
36
  ### [0.3.93](https://github.com/eea/volto-cca-policy/compare/0.3.92...0.3.93) - 17 December 2025
165
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.3.94",
3
+ "version": "0.3.96",
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",
@@ -33,7 +33,17 @@ import {
33
33
  BannerTitle,
34
34
  } from '@eeacms/volto-cca-policy/helpers';
35
35
 
36
- const share_eea = ['https://cmshare.eea.eu', 'shareit.eea.europa.eu'];
36
+ const SHARE_EEA = ['https://cmshare.eea.eu', 'shareit.eea.europa.eu'];
37
+
38
+ const SUBTITLES = {
39
+ [TOOL]: 'Tools',
40
+ [PUBLICATION_REPORT]: 'Publications and Report',
41
+ [GUIDANCE]: 'Guidance Document',
42
+ [INDICATOR]: 'Indicator',
43
+ [INFORMATION_PORTAL]: 'Information Portal',
44
+ [ORGANISATION]: 'Organisation',
45
+ [VIDEO]: 'Video',
46
+ };
37
47
 
38
48
  const MaybeFlourishVisualization = ({ content }) => {
39
49
  const { map_graphs } = content;
@@ -63,7 +73,6 @@ const MaybeFlourishVisualization = ({ content }) => {
63
73
 
64
74
  function getFirstIframeSrc(htmlString) {
65
75
  const iframeRegex = /<iframe[^>]+src=["']([^"']+)["']/;
66
-
67
76
  const iframeMatch = htmlString.match(iframeRegex);
68
77
  if (iframeMatch) {
69
78
  return iframeMatch[1];
@@ -79,10 +88,8 @@ function getFirstIframeSrc(htmlString) {
79
88
 
80
89
  const MaybeIframeVisualization = ({ content }) => {
81
90
  const { map_graphs, map_graphs_height } = content;
82
-
83
91
  const url = getFirstIframeSrc(map_graphs || '');
84
92
  const height = map_graphs_height || 800;
85
-
86
93
  const [isClient, setIsClient] = React.useState();
87
94
 
88
95
  React.useEffect(() => setIsClient(true), []);
@@ -108,6 +115,47 @@ const MaybeIframeVisualization = ({ content }) => {
108
115
  );
109
116
  };
110
117
 
118
+ const BottomInfo = (props) => {
119
+ const { content } = props;
120
+ const { organisational_websites, organisational_contact_information } =
121
+ content;
122
+
123
+ return (
124
+ <>
125
+ <Divider />
126
+ <ReferenceInfo content={content} />
127
+
128
+ {organisational_websites && (
129
+ <>
130
+ <h5>
131
+ <FormattedMessage
132
+ id="Links to further information"
133
+ defaultMessage="Links to further information"
134
+ />
135
+ </h5>
136
+ <HTMLField value={organisational_websites} />
137
+ </>
138
+ )}
139
+
140
+ {organisational_contact_information && (
141
+ <>
142
+ <h5>
143
+ <FormattedMessage
144
+ id="Contact information for the Observatory"
145
+ defaultMessage="Contact information for the Observatory"
146
+ />
147
+ </h5>
148
+ <HTMLField value={organisational_contact_information} />
149
+ </>
150
+ )}
151
+
152
+ <ContentRelatedItems {...props} />
153
+ <PublishedModifiedInfo {...props} />
154
+ <ShareInfoButton {...props} />
155
+ </>
156
+ );
157
+ };
158
+
111
159
  const DatabaseItemView = (props) => {
112
160
  const { content } = props;
113
161
  const type = content['@type'];
@@ -116,41 +164,16 @@ const DatabaseItemView = (props) => {
116
164
  acronym,
117
165
  embed_url,
118
166
  long_description,
119
- organisational_websites,
120
167
  organisational_key_activities,
121
- organisational_contact_information,
122
168
  related_documents_presentations,
123
169
  } = content;
124
170
  const item_title = acronym ? title + ' (' + acronym + ')' : title;
171
+ const subtitle = SUBTITLES[type] ?? '';
172
+ const hasVisualization = !!content?.map_graphs?.length;
173
+ const isFullWidthVisualization =
174
+ hasVisualization && content?.map_graphs_full_width;
125
175
 
126
- let subtitle;
127
- switch (type) {
128
- case TOOL:
129
- subtitle = 'Tools';
130
- break;
131
- case PUBLICATION_REPORT:
132
- subtitle = 'Publications and Report';
133
- break;
134
- case GUIDANCE:
135
- subtitle = 'Guidance Document';
136
- break;
137
- case INDICATOR:
138
- subtitle = 'Indicator';
139
- break;
140
- case INFORMATION_PORTAL:
141
- subtitle = 'Information Portal';
142
- break;
143
- case ORGANISATION:
144
- subtitle = 'Organisation';
145
- break;
146
- case VIDEO:
147
- subtitle = 'Video';
148
- break;
149
- default:
150
- subtitle = '';
151
- }
152
-
153
- const is_cmshare_video = share_eea.some((domain) =>
176
+ const is_cmshare_video = SHARE_EEA.some((domain) =>
154
177
  content?.embed_url?.includes(domain),
155
178
  );
156
179
 
@@ -173,54 +196,46 @@ const DatabaseItemView = (props) => {
173
196
  <Container>
174
197
  <PortalMessage content={content} />
175
198
  <Grid columns="12">
176
- <div className="row">
199
+ <Grid.Row>
177
200
  <Grid.Column
178
201
  mobile={12}
179
202
  tablet={12}
180
203
  computer={8}
181
204
  className="col-left"
182
205
  >
183
- <ItemLogo {...props}></ItemLogo>
206
+ <ItemLogo {...props} />
184
207
 
185
- {type === VIDEO && (
186
- <>
187
- {is_cmshare_video && (
188
- <div className="video-wrapper">
189
- <center>
190
- <video
191
- controls="controls"
192
- preload="metadata"
193
- width="100%"
194
- height="480"
195
- src={fixEmbedURL(embed_url, is_cmshare_video)}
196
- type="video/mp4"
197
- >
198
- <track default kind="captions" srcLang="en" src="" />
199
- </video>
200
- </center>
201
- </div>
202
- )}
203
- </>
208
+ {type === VIDEO && is_cmshare_video && (
209
+ <div className="video-wrapper">
210
+ <center>
211
+ <video
212
+ controls="controls"
213
+ preload="metadata"
214
+ width="100%"
215
+ height="480"
216
+ src={fixEmbedURL(embed_url, is_cmshare_video)}
217
+ type="video/mp4"
218
+ >
219
+ <track default kind="captions" srcLang="en" src="" />
220
+ </video>
221
+ </center>
222
+ </div>
204
223
  )}
205
224
 
206
225
  <HTMLField value={long_description} />
207
226
 
208
- {type === VIDEO && (
209
- <>
210
- {!is_cmshare_video && (
211
- <div className="external-video">
212
- <ExternalLink
213
- url={embed_url}
214
- text={
215
- <FormattedMessage
216
- id="See video outside Climate-ADAPT"
217
- defaultMessage="See video outside Climate-ADAPT"
218
- />
219
- }
227
+ {type === VIDEO && !is_cmshare_video && (
228
+ <div className="external-video">
229
+ <ExternalLink
230
+ url={embed_url}
231
+ text={
232
+ <FormattedMessage
233
+ id="See video outside Climate-ADAPT"
234
+ defaultMessage="See video outside Climate-ADAPT"
220
235
  />
221
- </div>
222
- )}
223
- </>
236
+ }
237
+ />
238
+ </div>
224
239
  )}
225
240
 
226
241
  {related_documents_presentations && (
@@ -248,40 +263,14 @@ const DatabaseItemView = (props) => {
248
263
  </>
249
264
  )}
250
265
 
251
- <MaybeFlourishVisualization {...props} />
252
- <MaybeIframeVisualization {...props} />
253
-
254
- <Divider />
255
-
256
- <ReferenceInfo content={content} />
257
-
258
- {organisational_websites && (
259
- <>
260
- <h5>
261
- <FormattedMessage
262
- id="Links to further information"
263
- defaultMessage="Links to further information"
264
- />
265
- </h5>
266
- <HTMLField value={organisational_websites} />
267
- </>
268
- )}
269
-
270
- {organisational_contact_information && (
266
+ {hasVisualization && !isFullWidthVisualization && (
271
267
  <>
272
- <h5>
273
- <FormattedMessage
274
- id="Contact information for the Observatory"
275
- defaultMessage="Contact information for the Observatory"
276
- />
277
- </h5>
278
- <HTMLField value={organisational_contact_information} />
268
+ <MaybeFlourishVisualization {...props} />
269
+ <MaybeIframeVisualization {...props} />
279
270
  </>
280
271
  )}
281
272
 
282
- <ContentRelatedItems {...props} />
283
- <PublishedModifiedInfo {...props} />
284
- <ShareInfoButton {...props} />
273
+ {!isFullWidthVisualization && <BottomInfo {...props} />}
285
274
  </Grid.Column>
286
275
 
287
276
  <Grid.Column
@@ -293,7 +282,28 @@ const DatabaseItemView = (props) => {
293
282
  <ContentMetadata {...props} />
294
283
  <DocumentsList {...props} />
295
284
  </Grid.Column>
296
- </div>
285
+ </Grid.Row>
286
+
287
+ {isFullWidthVisualization && (
288
+ <>
289
+ <Grid.Row>
290
+ <Grid.Column mobile={12} tablet={12} computer={12}>
291
+ <MaybeFlourishVisualization {...props} />
292
+ <MaybeIframeVisualization {...props} />
293
+ </Grid.Column>
294
+ </Grid.Row>
295
+ <Grid.Row>
296
+ <Grid.Column
297
+ mobile={12}
298
+ tablet={12}
299
+ computer={12}
300
+ className="col-left"
301
+ >
302
+ <BottomInfo {...props} />
303
+ </Grid.Column>
304
+ </Grid.Row>
305
+ </>
306
+ )}
297
307
  </Grid>
298
308
  </Container>
299
309
  </div>
@@ -94,6 +94,14 @@
94
94
  padding-left: 1rem;
95
95
  }
96
96
 
97
+ /* Tabs block */
98
+ .cca-main-homepage .tabs-block {
99
+ .ui.menu.vertical .item,
100
+ .ui.menu[class*='ary'] .item {
101
+ font-size: 19px;
102
+ }
103
+ }
104
+
97
105
  /* Mobile responsive fixes for tabs block */
98
106
  @media only screen and (max-width: 480px) {
99
107
  .tabs-block .ui.vertical.menu .item .menu-item-text {
@@ -115,7 +115,6 @@ hr {
115
115
 
116
116
  .privacy-protection-wrapper {
117
117
  margin-top: 1.5em;
118
- margin-bottom: 1.5em;
119
118
  }
120
119
 
121
120
  .col-left {