@eeacms/volto-cca-policy 0.3.73 → 0.3.74

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.
Files changed (65) hide show
  1. package/.eslintrc.js +8 -4
  2. package/CHANGELOG.md +51 -2
  3. package/package.json +11 -10
  4. package/src/components/manage/Blocks/ASTNavigation/schema.js +3 -1
  5. package/src/components/manage/Blocks/C3SIndicatorsGlossaryBlock/schema.js +3 -1
  6. package/src/components/manage/Blocks/C3SIndicatorsListingBlock/schema.js +3 -1
  7. package/src/components/manage/Blocks/C3SIndicatorsOverviewBlock/schema.js +3 -1
  8. package/src/components/manage/Blocks/CaseStudyExplorer/FeatureDisplay.jsx +6 -1
  9. package/src/components/manage/Blocks/CaseStudyExplorer/styles.less +1 -1
  10. package/src/components/manage/Blocks/CollectionStatistics/styles.less +1 -1
  11. package/src/components/manage/Blocks/ContentLinks/schema.js +3 -1
  12. package/src/components/manage/Blocks/CountryMapHeatIndex/euro-countries-simplified.js +46197 -0
  13. package/src/components/manage/Blocks/CountryMapHeatIndex/styles.less +1 -1
  14. package/src/components/manage/Blocks/CountryMapObservatory/mapstyle.js +28 -26
  15. package/src/components/manage/Blocks/CountryMapObservatory/styles.less +1 -1
  16. package/src/components/manage/Blocks/CountryMapProfile/OLView.jsx +5 -5
  17. package/src/components/manage/Blocks/CountryMapProfile/euro-countries-simplified.js +46197 -0
  18. package/src/components/manage/Blocks/CountryMapProfile/styles.less +1 -1
  19. package/src/components/manage/Blocks/CountryProfileDetail/View.test.jsx +1 -2
  20. package/src/components/manage/Blocks/FlourishEmbedBlock/schema.js +3 -1
  21. package/src/components/manage/Blocks/RASTBlock/schema.js +3 -1
  22. package/src/components/manage/Blocks/ReadMore/schema.js +3 -1
  23. package/src/components/manage/Blocks/RelevantAceContent/schema.js +3 -1
  24. package/src/components/manage/Blocks/SearchAceContent/schema.js +3 -1
  25. package/src/components/manage/Blocks/TransRegionSelect/schema.js +3 -1
  26. package/src/components/manage/Blocks/index.js +0 -1
  27. package/src/components/theme/ASTNavigation/ASTNavigation.jsx +2 -3
  28. package/src/components/theme/BannerTitle/BannerTitle.jsx +2 -0
  29. package/src/components/theme/Header/Header.jsx +32 -22
  30. package/src/components/theme/Header/LanguageSwitch.jsx +2 -2
  31. package/src/components/theme/Views/BrokenLinks.jsx +0 -2
  32. package/src/components/theme/Views/CcaEventView.jsx +2 -4
  33. package/src/components/theme/Views/DatabaseItemView.test.jsx +1 -2
  34. package/src/components/theme/Widgets/GeolocationWidget.jsx +0 -2
  35. package/src/customizations/@plone/volto-slate/utils/volto-blocks.js +2 -5
  36. package/src/customizations/@plone/volto-slate/widgets/HtmlSlateWidget.jsx +1 -2
  37. package/src/customizations/volto/components/manage/Blocks/Grid/grid-1.svg +6 -0
  38. package/src/customizations/volto/components/manage/Blocks/Grid/grid-2.svg +9 -0
  39. package/src/customizations/volto/components/manage/Blocks/Grid/grid-3.svg +10 -0
  40. package/src/customizations/volto/components/manage/Blocks/Grid/grid-4.svg +11 -0
  41. package/src/customizations/volto/components/manage/Blocks/Grid/grid-5.svg +13 -0
  42. package/src/customizations/volto/components/manage/Blocks/Grid/grid-6.svg +14 -0
  43. package/src/customizations/volto/components/manage/Blocks/Grid/templates.js +61 -0
  44. package/src/customizations/volto/components/theme/App/App.jsx +3 -1
  45. package/src/customizations/volto/helpers/Html/Html.jsx +2 -9
  46. package/src/customizations/volto/middleware/api.js +190 -186
  47. package/src/customizations/volto/server.jsx +1 -1
  48. package/src/express-middleware.js +4 -2
  49. package/src/helpers/Utils.jsx +15 -2
  50. package/src/helpers/country_map/euro-countries-simplified.js +3 -1
  51. package/src/index.js +2 -8
  52. package/src/search/cca/views.js +3 -1
  53. package/src/search/health_observatory/views-health.js +3 -1
  54. package/src/store/middleware.js +38 -37
  55. package/theme/globals/blocks.less +4 -0
  56. package/theme/globals/mission.less +2 -9
  57. package/theme/globals/observatory.less +2 -2
  58. package/theme/globals/views.less +25 -0
  59. package/src/components/theme/Views/brokenlinks.less +0 -21
  60. package/src/components/theme/Widgets/geolocation.css +0 -3
  61. package/src/customizations/volto/components/manage/UniversalLink/UniversalLink.test.jsx +0 -229
  62. package/src/customizations/volto/components/manage/Widgets/ArrayWidget.jsx +0 -428
  63. package/src/customizations/volto/components/manage/Widgets/Readme.md +0 -5
  64. package/src/customizations/volto/components/theme/Footer/Footer.jsx +0 -96
  65. package/src/policy.js +0 -135
package/.eslintrc.js CHANGED
@@ -35,10 +35,9 @@ const defaultConfig = {
35
35
  map: [
36
36
  ['@plone/volto', '@plone/volto/src'],
37
37
  ['@plone/volto-slate', '@plone/volto/packages/volto-slate/src'],
38
- ['@root/routes', '@plone/volto/src'],
39
38
  ...addonAliases,
40
39
  ['@package', `${__dirname}/src`],
41
- // ['@root', `${__dirname}/src`],
40
+ ['@root', `${__dirname}/src`],
42
41
  ['~', `${__dirname}/src`],
43
42
  ],
44
43
  extensions: ['.js', '.jsx', '.json'],
@@ -49,8 +48,13 @@ const defaultConfig = {
49
48
  },
50
49
  },
51
50
  rules: {
52
- 'react/jsx-no-target-blank': 'off',
53
- },
51
+ 'react/jsx-no-target-blank': [
52
+ 'error',
53
+ {
54
+ allowReferrer: true,
55
+ },
56
+ ],
57
+ }
54
58
  };
55
59
 
56
60
  const config = addonExtenders.reduce(
package/CHANGELOG.md CHANGED
@@ -4,10 +4,17 @@ 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.73](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.0...0.3.73) - 25 July 2025
7
+ ### [0.3.74](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.1...0.3.74) - 29 July 2025
8
+
9
+ #### :house: Internal changes
10
+
11
+ - style: fix item spacing [kreafox - [`7d4535d`](https://github.com/eea/volto-cca-policy/commit/7d4535dbc486e6cb80fc55d6ac8c7c01d9cf48af)]
12
+
13
+ ### [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
8
14
 
9
15
  #### :rocket: Dependency updates
10
16
 
17
+ - Release @eeacms/volto-searchlib@2.1.6 [EEA Jenkins - [`ae34652`](https://github.com/eea/volto-cca-policy/commit/ae346528ed8e2fb302edb7457310107a733c575c)]
11
18
  - Release @eeacms/volto-searchlib@2.1.5 [EEA Jenkins - [`fc16006`](https://github.com/eea/volto-cca-policy/commit/fc16006f2f26b14da82ceffcb976dd8fa68e1214)]
12
19
  - Release @eeacms/volto-searchlib@2.1.4 [EEA Jenkins - [`eb7c538`](https://github.com/eea/volto-cca-policy/commit/eb7c5386eaa7a3d8cd24fec847c656b87848d6f7)]
13
20
  - Release @eeacms/volto-searchlib@2.1.3 [EEA Jenkins - [`67e8a0d`](https://github.com/eea/volto-cca-policy/commit/67e8a0d9759fa44694615f695ebe651509797840)]
@@ -45,9 +52,14 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
45
52
 
46
53
  #### :hammer_and_wrench: Others
47
54
 
55
+ - Bump version for volto-plotlycharts [Tiberiu Ichim - [`6ba369b`](https://github.com/eea/volto-cca-policy/commit/6ba369baabfa16e463b4c351f7ff65643047ebbe)]
56
+ - Set volto-embed version to star [Tiberiu Ichim - [`f390ac4`](https://github.com/eea/volto-cca-policy/commit/f390ac41afe77b48502df5ff19ae7b89111498aa)]
57
+ - Set plotlycharts to latest 13.0.0 version [Tiberiu Ichim - [`6ce598a`](https://github.com/eea/volto-cca-policy/commit/6ce598a5187f877ac42bb5b3c966235fb1eaa461)]
48
58
  - add translations [Tripon Eugen - [`8f9a56c`](https://github.com/eea/volto-cca-policy/commit/8f9a56c78de23f96bafd1b381e5894c41a7180cb)]
49
59
  - country map profile open popup in new page [Tripon Eugen - [`dede096`](https://github.com/eea/volto-cca-policy/commit/dede0965b844c85fde9f35f1262fb54bf127623c)]
50
60
  - Define some messages; upgrade searchlib [Tiberiu Ichim - [`e150c65`](https://github.com/eea/volto-cca-policy/commit/e150c654b0eea096a7c6a1b3f80be7f9f0f046a2)]
61
+ - pin @eeacms/volto-plotlycharts [kreafox - [`c3ed94b`](https://github.com/eea/volto-cca-policy/commit/c3ed94b3a3914d38feb1bc72625d619ae467e96f)]
62
+ - Add dependency for plotly [Tiberiu Ichim - [`b9a3a48`](https://github.com/eea/volto-cca-policy/commit/b9a3a4888043fe1352a2cdcf88d15eeb1154eccf)]
51
63
  - Refs #289437 - wip [Tripon Eugen - [`2073e24`](https://github.com/eea/volto-cca-policy/commit/2073e2404274cbacccbc303d4493860f8c938de8)]
52
64
  - Refs #289437 - wip typo [Tripon Eugen - [`62c79a3`](https://github.com/eea/volto-cca-policy/commit/62c79a3c914f1c49d42ea96953a903af9e6e3a21)]
53
65
  - Refs #289437 - map popup country name updtes [Tripon Eugen - [`f6b265d`](https://github.com/eea/volto-cca-policy/commit/f6b265dfa6d7710cdfac10fcdcac9de646f8d868)]
@@ -79,7 +91,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
79
91
  - Add some loadable for components [Tiberiu Ichim - [`1793962`](https://github.com/eea/volto-cca-policy/commit/179396211c66a6a2465b2d1b6c0f2afc40fc7189)]
80
92
  - Refs #284961 - test [Tripon Eugen - [`c989f1f`](https://github.com/eea/volto-cca-policy/commit/c989f1f8638c0c5233c5c49f8673c9a2cdc7937e)]
81
93
  - Refs #284961 - add translations [Tripon Eugen - [`04ee988`](https://github.com/eea/volto-cca-policy/commit/04ee988c086d393b9b37ce1ea8d24f5e84f266aa)]
82
- ### [1.0.0-alpha.0](https://github.com/eea/volto-cca-policy/compare/0.3.72...1.0.0-alpha.0) - 15 July 2025
94
+ ### [1.0.0-alpha.0](https://github.com/eea/volto-cca-policy/compare/0.3.73...1.0.0-alpha.0) - 15 July 2025
83
95
 
84
96
  #### :bug: Bug Fixes
85
97
 
@@ -100,6 +112,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
100
112
 
101
113
  - chore: code cleanup [kreafox - [`842419b`](https://github.com/eea/volto-cca-policy/commit/842419b1bce3dc624755c81c9dea672198cab9e2)]
102
114
  - style: update teaser block styling [kreafox - [`1e0cad8`](https://github.com/eea/volto-cca-policy/commit/1e0cad8e1ed3ae827ee868dce8ad50b292a937ba)]
115
+ - chore: update Makefile, run yarn i18n [kreafox - [`61e6962`](https://github.com/eea/volto-cca-policy/commit/61e6962901068ae6512265417a730bd9befd65fe)]
103
116
  - chore: move styling to theme folder [kreafox - [`8cf6a1b`](https://github.com/eea/volto-cca-policy/commit/8cf6a1b8b14abf472a9c61b28db574f6d9e0bd3b)]
104
117
  - chore: remove ArrayWidget customization [kreafox - [`249bf93`](https://github.com/eea/volto-cca-policy/commit/249bf93054f7726c3d57a8b8ca01b75cd0d30522)]
105
118
  - chore: remove Footer customization [kreafox - [`7038af3`](https://github.com/eea/volto-cca-policy/commit/7038af37d48a328dfc31746f3fa84973e2f840ab)]
@@ -121,6 +134,34 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
121
134
  - test: Update to volto 17 PR30 [valentinab25 - [`ed03286`](https://github.com/eea/volto-cca-policy/commit/ed032865efa051d6353844737616019b202ea562)]
122
135
  - test: update snapshots [ana-oprea - [`94608ad`](https://github.com/eea/volto-cca-policy/commit/94608adc1b3b3655c7ecd5c39dde1f0fcd4b41e9)]
123
136
  - test: Update to volto 17 PR30 [valentinab25 - [`2e81033`](https://github.com/eea/volto-cca-policy/commit/2e810334e08366ca77ba62383c064770dde643a1)]
137
+ ### [0.3.73](https://github.com/eea/volto-cca-policy/compare/0.3.72...0.3.73) - 25 July 2025
138
+
139
+ #### :rocket: Dependency updates
140
+
141
+ - Release @eeacms/volto-searchlib@2.1.5 [EEA Jenkins - [`fc16006`](https://github.com/eea/volto-cca-policy/commit/fc16006f2f26b14da82ceffcb976dd8fa68e1214)]
142
+ - Release @eeacms/volto-searchlib@2.1.4 [EEA Jenkins - [`eb7c538`](https://github.com/eea/volto-cca-policy/commit/eb7c5386eaa7a3d8cd24fec847c656b87848d6f7)]
143
+
144
+ #### :bug: Bug Fixes
145
+
146
+ - fix: prettier [kreafox - [`3a7a76a`](https://github.com/eea/volto-cca-policy/commit/3a7a76adbcf42782e48fa9eb4653c3daba212884)]
147
+ - fix: fix missing content in edit mode by unwrapping <div> tags [kreafox - [`9317793`](https://github.com/eea/volto-cca-policy/commit/9317793b93569ed3e53872b413c6e5047ec66b6e)]
148
+
149
+ #### :nail_care: Enhancements
150
+
151
+ - change: update customization readme [kreafox - [`77338c5`](https://github.com/eea/volto-cca-policy/commit/77338c5fba63527f726d74c8fca758a69609d738)]
152
+ - change: update customization readme [kreafox - [`3ce75ac`](https://github.com/eea/volto-cca-policy/commit/3ce75ace40f27403582f9997fd4bd368ef66a399)]
153
+ - change: update customization readme [kreafox - [`27e8903`](https://github.com/eea/volto-cca-policy/commit/27e890308aae6f5a785cc4ff765c6729041848fb)]
154
+
155
+ #### :house: Internal changes
156
+
157
+ - style: Automated code fix [eea-jenkins - [`4094d3a`](https://github.com/eea/volto-cca-policy/commit/4094d3af0d9967ab6173ae9d088fd9f2ffcc2921)]
158
+ - style: Automated code fix [eea-jenkins - [`5f0b23b`](https://github.com/eea/volto-cca-policy/commit/5f0b23b56b2e261748f3cdaf1d288ed5b0df0adb)]
159
+
160
+ #### :hammer_and_wrench: Others
161
+
162
+ - add translations [Tripon Eugen - [`8f9a56c`](https://github.com/eea/volto-cca-policy/commit/8f9a56c78de23f96bafd1b381e5894c41a7180cb)]
163
+ - country map profile open popup in new page [Tripon Eugen - [`dede096`](https://github.com/eea/volto-cca-policy/commit/dede0965b844c85fde9f35f1262fb54bf127623c)]
164
+ - Define some messages; upgrade searchlib [Tiberiu Ichim - [`e150c65`](https://github.com/eea/volto-cca-policy/commit/e150c654b0eea096a7c6a1b3f80be7f9f0f046a2)]
124
165
  ### [0.3.72](https://github.com/eea/volto-cca-policy/compare/0.3.71...0.3.72) - 23 July 2025
125
166
 
126
167
  #### :house: Internal changes
@@ -2829,10 +2870,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
2829
2870
  - Refs #260715 rast-block wip [Tripon Eugen - [`f19d54e`](https://github.com/eea/volto-cca-policy/commit/f19d54e0b9a6a86bf344eb85b6a1cda7f3de91bf)]
2830
2871
  - Refs #260715 rast-block wip [Tripon Eugen - [`2828537`](https://github.com/eea/volto-cca-policy/commit/2828537b6c084cd1a82162d552fb4ef025b71f9f)]
2831
2872
  - Refs #260715 rast-block updates [Tripon Eugen - [`1e803e5`](https://github.com/eea/volto-cca-policy/commit/1e803e5bd3d3fb7558f261c76c68866be7beb8b5)]
2873
+ - test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`0a15e1b`](https://github.com/eea/volto-cca-policy/commit/0a15e1b2ad081233685e80d5b3c60a8663f6b896)]
2874
+ - test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`9554e44`](https://github.com/eea/volto-cca-policy/commit/9554e44c92a621a52b2adb5a4830fb084ee5734b)]
2832
2875
  ### [0.1.49](https://github.com/eea/volto-cca-policy/compare/0.1.48...0.1.49) - 15 November 2023
2833
2876
 
2834
2877
  #### :house: Internal changes
2835
2878
 
2879
+ - chore: [JENKINS] Refactor automated testing [valentinab25 - [`7b820a6`](https://github.com/eea/volto-cca-policy/commit/7b820a6369c2ddd5203b1a4abe352cb4bb43db7a)]
2836
2880
  - chore: husky, lint-staged use fixed versions [valentinab25 - [`f0a8061`](https://github.com/eea/volto-cca-policy/commit/f0a8061c275c236deb00087c23fac9860a073106)]
2837
2881
 
2838
2882
  #### :hammer_and_wrench: Others
@@ -2849,6 +2893,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
2849
2893
  - Refs #259267 - jenkins test [Tripon Eugen - [`cacd31e`](https://github.com/eea/volto-cca-policy/commit/cacd31e7b1afe0983674ed5c7632d2e1d7fa752e)]
2850
2894
  - Refs #259267 - jenkins [Tripon Eugen - [`5b3affe`](https://github.com/eea/volto-cca-policy/commit/5b3affee8401239de10097884c1b7f2349d15ec0)]
2851
2895
  - Refs #259267 - add When, lead image and title to files [Tripon Eugen - [`2cedb23`](https://github.com/eea/volto-cca-policy/commit/2cedb237f898af9057e13fba94b615ef71077204)]
2896
+ - test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`4d607a5`](https://github.com/eea/volto-cca-policy/commit/4d607a576e9d0a5c34e48c41b409e7df616ee3d6)]
2897
+ - test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`b7f74d5`](https://github.com/eea/volto-cca-policy/commit/b7f74d53513a6edbfbca5cb6d19687929bb1e5db)]
2898
+ - test: [JENKINS] Improve cypress time [valentinab25 - [`db65617`](https://github.com/eea/volto-cca-policy/commit/db656173391f65157098d95d388c25f6429753d8)]
2852
2899
  - Refs #259267 - cca event blocks attachments and check not mandatoty fields [Tripon Eugen - [`3138e5a`](https://github.com/eea/volto-cca-policy/commit/3138e5afb5bfbdbed14e27ed457b16867b7fa414)]
2853
2900
  - Refs #256681 - Fix error in CCA Event view menu. ([React Intl] An id must be provided to format a message.) [GhitaB - [`517eeb8`](https://github.com/eea/volto-cca-policy/commit/517eeb817264a47bbfd6b9b7d22aaf22d44ed224)]
2854
2901
  - Refs #161485 - Fix ECDE name conflict. [GhitaB - [`8bfd99f`](https://github.com/eea/volto-cca-policy/commit/8bfd99ff68bb82a04d1c0ed625fa514fcf46289e)]
@@ -3065,6 +3112,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
3065
3112
 
3066
3113
  #### :house: Internal changes
3067
3114
 
3115
+ - chore: [JENKINS] Remove alpha testing version [valentinab25 - [`ad1ced0`](https://github.com/eea/volto-cca-policy/commit/ad1ced0971ba116c13a3b5fcc039172cc915c919)]
3068
3116
 
3069
3117
  #### :hammer_and_wrench: Others
3070
3118
 
@@ -3545,6 +3593,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
3545
3593
  #### :hammer_and_wrench: Others
3546
3594
 
3547
3595
  - Refs #158294 - Update supported languages list. [GhitaB - [`0a4f91f`](https://github.com/eea/volto-cca-policy/commit/0a4f91f39b7edc367bd4c127d6a8f273c7788361)]
3596
+ - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`8f1f9ce`](https://github.com/eea/volto-cca-policy/commit/8f1f9ce6c22805670cc0800d3c779b6d619d0f31)]
3548
3597
  ### [0.1.1](https://github.com/eea/volto-cca-policy/compare/0.1.0...0.1.1) - 13 December 2022
3549
3598
 
3550
3599
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.3.73",
3
+ "version": "0.3.74",
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",
@@ -25,20 +25,20 @@
25
25
  "@eeacms/volto-tabs-block",
26
26
  "@eeacms/volto-datablocks",
27
27
  "@eeacms/volto-embed",
28
+ "@eeacms/volto-plotlycharts",
28
29
  "@eeacms/volto-globalsearch"
29
30
  ],
30
31
  "dependencies": {
31
- "@eeacms/volto-block-style": "github:eea/volto-block-style#6.x.x",
32
- "@eeacms/volto-datablocks": "^7.3.2",
33
- "@eeacms/volto-eea-design-system": "<=1.36.3",
34
- "@eeacms/volto-eea-website-theme": "^1.35.0",
35
- "@eeacms/volto-embed": "^9.1.1",
32
+ "@eeacms/volto-datablocks": "7.3.3",
33
+ "@eeacms/volto-eea-design-system": "*",
34
+ "@eeacms/volto-eea-website-theme": "*",
35
+ "@eeacms/volto-embed": "*",
36
36
  "@eeacms/volto-globalsearch": "2.1.2",
37
- "@eeacms/volto-hero-block": "^7.1.0",
38
37
  "@eeacms/volto-openlayers-map": "1.0.1",
39
- "@eeacms/volto-searchlib": "2.1.5",
40
- "@eeacms/volto-slate-label": "^0.6.0",
41
- "@eeacms/volto-tabs-block": "^7.5.1",
38
+ "@eeacms/volto-plotlycharts": "13.0.2",
39
+ "@eeacms/volto-searchlib": "2.1.6",
40
+ "@eeacms/volto-slate-label": "1.0.1",
41
+ "@eeacms/volto-tabs-block": "9.0.3",
42
42
  "@elastic/search-ui": "1.21.2",
43
43
  "@tanstack/react-table": "8.19.3",
44
44
  "d3-array": "^2.12.1",
@@ -47,6 +47,7 @@
47
47
  "react-visibility-sensor": "5.1.1"
48
48
  },
49
49
  "devDependencies": {
50
+ "@babel/plugin-proposal-export-default-from": "7.24.7",
50
51
  "@cypress/code-coverage": "^3.10.0",
51
52
  "@plone/scripts": "*",
52
53
  "babel-plugin-transform-class-properties": "^6.24.1",
@@ -24,7 +24,7 @@ const Item = () => ({
24
24
  required: ['href'],
25
25
  });
26
26
 
27
- export default {
27
+ const schema = {
28
28
  title: 'AST Navigation',
29
29
  fieldsets: [
30
30
  {
@@ -60,3 +60,5 @@ export default {
60
60
  },
61
61
  required: [],
62
62
  };
63
+
64
+ export default schema;
@@ -1,4 +1,4 @@
1
- export default {
1
+ const schema = {
2
2
  title: 'C3S Indicators Glossary',
3
3
 
4
4
  fieldsets: [
@@ -12,3 +12,5 @@ export default {
12
12
 
13
13
  required: [],
14
14
  };
15
+
16
+ export default schema;
@@ -1,4 +1,4 @@
1
- export default {
1
+ const schema = {
2
2
  title: 'C3S Indicators Listing',
3
3
 
4
4
  fieldsets: [
@@ -12,3 +12,5 @@ export default {
12
12
  properties: {},
13
13
  required: [],
14
14
  };
15
+
16
+ export default schema;
@@ -18,7 +18,7 @@
18
18
  // noValueOption: false,
19
19
  // },
20
20
 
21
- export default {
21
+ const schema = {
22
22
  title: 'C3S Indicators Overview',
23
23
 
24
24
  fieldsets: [
@@ -33,3 +33,5 @@ export default {
33
33
 
34
34
  required: [],
35
35
  };
36
+
37
+ export default schema;
@@ -16,7 +16,12 @@ export default function FeatureDisplay({ feature, onClose }) {
16
16
  </div>
17
17
  <p>
18
18
  <strong>
19
- <a className="dbitem" href={feature.url} target="_blank">
19
+ <a
20
+ className="dbitem"
21
+ href={feature.url}
22
+ target="_blank"
23
+ rel="noopener"
24
+ >
20
25
  {feature.title}
21
26
  </a>
22
27
  </strong>
@@ -95,11 +95,11 @@
95
95
  display: inline-block;
96
96
  width: 12px;
97
97
  height: 12px;
98
+ border-radius: 50%;
98
99
  margin-top: 3px;
99
100
  margin-right: 5px;
100
101
  background-color: #005c96 !important;
101
102
  background-color: #bbb;
102
- border-radius: 50%;
103
103
 
104
104
  // &.light-blue {
105
105
  // background-color: #00ffff !important;
@@ -63,9 +63,9 @@ body.cca-main-homepage {
63
63
  left: 100%;
64
64
  width: 25px;
65
65
  height: 25px;
66
+ border-radius: 50%;
66
67
  margin-left: -1.5em;
67
68
  background-color: #161c23;
68
- border-radius: 50%;
69
69
  color: @white;
70
70
  font-size: 9px;
71
71
  font-weight: 700;
@@ -23,7 +23,7 @@ const Item = () => ({
23
23
  required: ['title'],
24
24
  });
25
25
 
26
- export default {
26
+ const schema = {
27
27
  title: 'Content links',
28
28
  fieldsets: [
29
29
  {
@@ -45,3 +45,5 @@ export default {
45
45
  },
46
46
  required: [],
47
47
  };
48
+
49
+ export default schema;