@eeacms/volto-cca-policy 0.1.101 → 0.2.0

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 (70) hide show
  1. package/CHANGELOG.md +67 -8
  2. package/README.md +0 -1
  3. package/locales/de/LC_MESSAGES/volto.po +195 -153
  4. package/locales/en/LC_MESSAGES/volto.po +90 -48
  5. package/locales/es/LC_MESSAGES/volto.po +190 -148
  6. package/locales/fr/LC_MESSAGES/volto.po +191 -149
  7. package/locales/it/LC_MESSAGES/volto.po +175 -133
  8. package/locales/pl/LC_MESSAGES/volto.po +192 -150
  9. package/locales/ro/LC_MESSAGES/volto.po +90 -48
  10. package/locales/volto.pot +70 -1
  11. package/package.json +1 -1
  12. package/src/components/manage/Blocks/C3SIndicatorsGlossaryBlock/C3SIndicatorsGlossaryBlockView.jsx +13 -26
  13. package/src/components/manage/Blocks/C3SIndicatorsListingBlock/C3SIndicatorsListingBlockEdit.jsx +32 -0
  14. package/src/components/manage/Blocks/C3SIndicatorsListingBlock/C3SIndicatorsListingBlockView.jsx +36 -0
  15. package/src/components/manage/Blocks/C3SIndicatorsListingBlock/index.js +29 -0
  16. package/src/components/manage/Blocks/C3SIndicatorsListingBlock/schema.js +14 -0
  17. package/src/components/manage/Blocks/C3SIndicatorsOverviewBlock/C3SIndicatorsOverviewBlockView.jsx +11 -40
  18. package/src/components/manage/Blocks/C3SIndicatorsOverviewBlock/schema.js +21 -21
  19. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyExplorerView.js +32 -6
  20. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyFilters.jsx +133 -54
  21. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyFilters.test.jsx +50 -0
  22. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyMap.jsx +1 -1
  23. package/src/components/manage/Blocks/CaseStudyExplorer/FeatureDisplay.jsx +25 -22
  24. package/src/components/manage/Blocks/CaseStudyExplorer/FeatureInteraction.jsx +0 -3
  25. package/src/components/manage/Blocks/CaseStudyExplorer/hooks.js +2 -2
  26. package/src/components/manage/Blocks/CaseStudyExplorer/styles.less +41 -4
  27. package/src/components/manage/Blocks/CaseStudyExplorer/utils.js +23 -3
  28. package/src/components/manage/Blocks/CollectionStatistics/CollectionStatsView.jsx +1 -1
  29. package/src/components/manage/Blocks/CollectionStatistics/CollectionStatsView.test.jsx +93 -0
  30. package/src/components/manage/Blocks/CountryProfileDetail/Edit.js +5 -0
  31. package/src/components/manage/Blocks/CountryProfileDetail/View.js +67 -0
  32. package/src/components/manage/Blocks/CountryProfileDetail/index.js +25 -0
  33. package/src/components/manage/Blocks/RASTBlock/ContextNavigation.jsx +3 -1
  34. package/src/components/manage/Blocks/RASTBlock/RASTAccordion.jsx +22 -17
  35. package/src/components/manage/Blocks/RASTBlock/RASTMap.jsx +17 -11
  36. package/src/components/manage/Blocks/RASTBlock/RASTMap.test.jsx +81 -0
  37. package/src/components/manage/Blocks/RASTBlock/RASTView.jsx +8 -0
  38. package/src/components/manage/Blocks/RASTBlock/schema.js +14 -1
  39. package/src/components/manage/Blocks/SearchAceContent/SearchAceContentView.jsx +3 -3
  40. package/src/components/manage/Blocks/TransRegionSelect/TransRegionSelectView.jsx +37 -88
  41. package/src/components/manage/Blocks/index.js +8 -0
  42. package/src/components/theme/BannerTitle/BannerTitle.jsx +28 -17
  43. package/src/components/theme/Header/Header.jsx +11 -2
  44. package/src/components/theme/TranslationDisclaimer/LanguagePreference.jsx +40 -53
  45. package/src/components/theme/TranslationDisclaimer/TranslationDisclaimer.jsx +20 -78
  46. package/src/components/theme/TranslationDisclaimer/TranslationInfo.jsx +124 -0
  47. package/src/components/theme/Views/AdaptationOptionView.jsx +10 -5
  48. package/src/components/theme/Views/C3SIndicatorView.jsx +32 -11
  49. package/src/components/theme/Views/CaseStudyView.jsx +11 -5
  50. package/src/components/theme/Views/CcaEventView.jsx +1 -5
  51. package/src/components/theme/Views/DatabaseItemView.jsx +3 -5
  52. package/src/components/theme/Views/EventView.jsx +0 -2
  53. package/src/components/theme/Views/NewsItemView.jsx +0 -2
  54. package/src/components/theme/Views/ProjectView.jsx +3 -5
  55. package/src/components/theme/Widgets/GeolocationWidget.jsx +1 -6
  56. package/src/customizations/@eeacms/volto-eea-design-system/ui/Header/Header.jsx +1 -1
  57. package/src/customizations/volto/components/theme/View/DefaultView.jsx +1 -6
  58. package/src/helpers/Utils.jsx +28 -4
  59. package/src/index.js +23 -6
  60. package/src/search/index.js +3 -0
  61. package/src/slate-styles.less +15 -0
  62. package/theme/assets/images/Header/climate-adapt-logo-white.svg +61 -0
  63. package/theme/assets/images/Header/observatory-logo.svg +1 -0
  64. package/theme/assets/images/Header/observatory-white-logo.svg +1 -0
  65. package/theme/globals/observatory.less +1 -1
  66. package/theme/globals/site.overrides +10 -7
  67. package/theme/globals/views.less +72 -24
  68. package/src/components/manage/Blocks/TransRegionSelect/countries.json +0 -150
  69. package/src/components/manage/Widgets/CreatableSelectWidget.jsx +0 -316
  70. package/src/components/manage/Widgets/CreatableSelectWidget.test.jsx +0 -89
package/CHANGELOG.md CHANGED
@@ -4,6 +4,73 @@ 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.2.0](https://github.com/eea/volto-cca-policy/compare/0.1.102...0.2.0) - 5 April 2024
8
+
9
+ #### :rocket: New Features
10
+
11
+ - feat: add option to use white variant of logo for subsites [kreafox - [`7a443d5`](https://github.com/eea/volto-cca-policy/commit/7a443d534e824f3e576a39810b116aa224ff50c7)]
12
+ - feat: use toast message for translation disclaimers [kreafox - [`941a53c`](https://github.com/eea/volto-cca-policy/commit/941a53c682b922f049740ab56ea996a0d4f7a1bf)]
13
+ - feat: add white variant of logo, add slate styles [kreafox - [`ad0dabf`](https://github.com/eea/volto-cca-policy/commit/ad0dabff55a42ff1b88ef58ac51f752252cf3344)]
14
+
15
+ #### :bug: Bug Fixes
16
+
17
+ - fix: banner title component in case of homepage [kreafox - [`868d45d`](https://github.com/eea/volto-cca-policy/commit/868d45d8652935913a9a054e6ce897a1013c5fe6)]
18
+ - fix: disclaimers on inversed homepage [kreafox - [`5d61622`](https://github.com/eea/volto-cca-policy/commit/5d6162289d8cda47452186e85b4e9439b677eebd)]
19
+
20
+ #### :nail_care: Enhancements
21
+
22
+ - change: remove CreatableSelectWidget (we can use it now from volto-eea-website-theme) [kreafox - [`6c8a242`](https://github.com/eea/volto-cca-policy/commit/6c8a242cb22b4ee65c8d391ce96e5639bba687bf)]
23
+ - change: move disclaimer to appExtras [kreafox - [`55c665f`](https://github.com/eea/volto-cca-policy/commit/55c665fec06c8174db0d8f92eefc04b5b8af1512)]
24
+
25
+ #### :house: Internal changes
26
+
27
+ - style: improve translation disclaimer on mobile [kreafox - [`604e3a1`](https://github.com/eea/volto-cca-policy/commit/604e3a1007a0b0a3daf7f6ce335c41676b6d0efc)]
28
+
29
+ #### :hammer_and_wrench: Others
30
+
31
+ - Fix test [Tiberiu Ichim - [`3e2760b`](https://github.com/eea/volto-cca-policy/commit/3e2760b4c3ebb0559283e0fea32c35f44b7cb987)]
32
+ - Refs #268061 - reactui checkbox [Tripon Eugen - [`a227576`](https://github.com/eea/volto-cca-policy/commit/a22757632d0ef96ed365ceab04845961c271450c)]
33
+ - Update README.md (just to retry tests) [Ghiță Bizău - [`db26abd`](https://github.com/eea/volto-cca-policy/commit/db26abd73d52118185340de2b3ca6335939d005e)]
34
+ - Try to fix test: Uncaught [TypeError: Cannot read properties of undefined (reading 'groups')] [GhitaB - [`d1d1e8e`](https://github.com/eea/volto-cca-policy/commit/d1d1e8eefbf96b96384a1584e25eaf0591416308)]
35
+ - RASTMap: fix Invalid DOM property stop-color. Did you mean stopColor?. [GhitaB - [`eb167d4`](https://github.com/eea/volto-cca-policy/commit/eb167d4b012643e8e6fc720767446804a9fdf260)]
36
+ - Refs #268061 - testing [Tripon Eugen - [`095371a`](https://github.com/eea/volto-cca-policy/commit/095371af6eb57b1fcfcadf70c26afdef90b2d8ef)]
37
+ - Add test. [GhitaB - [`6a50882`](https://github.com/eea/volto-cca-policy/commit/6a508821236df764d5ab07c38215f13445fc4e9a)]
38
+ - Don't fail in SSR [Tiberiu Ichim - [`8cd6b71`](https://github.com/eea/volto-cca-policy/commit/8cd6b71cba148e505a00007dfc1c164cb8df401f)]
39
+ - Refs #268061 - coverage test [Tripon Eugen - [`8374f66`](https://github.com/eea/volto-cca-policy/commit/8374f66f2feecfe672596c6b50f70ff1f3fc653e)]
40
+ - Refs #268061 - rastmap coverage unit test [Tripon Eugen - [`07bb646`](https://github.com/eea/volto-cca-policy/commit/07bb646e9c73bb1f42bd258877d0ef01cf8e6353)]
41
+ - Refs #268061 - add filter test and effect [Tripon Eugen - [`e2daa4b`](https://github.com/eea/volto-cca-policy/commit/e2daa4b9c00232ed7fc7cbfdbc7bcd3880940e67)]
42
+ - Refs #268061 - add filter test [Tripon Eugen - [`9bacc3d`](https://github.com/eea/volto-cca-policy/commit/9bacc3d4176d391d6565d32f953054b1bf348e39)]
43
+ - Refs #268061 - key type measure filter css [Tripon Eugen - [`7bd2e22`](https://github.com/eea/volto-cca-policy/commit/7bd2e2266ff18604161b6fba57fa5d7e06f068dd)]
44
+ - Refs #268061 - key type measure filter css [Tripon Eugen - [`270fd0c`](https://github.com/eea/volto-cca-policy/commit/270fd0cb252a08a443ec9a14b32c915c443511f1)]
45
+ - Refs #268061 - accordion css [Tripon Eugen - [`6665dc6`](https://github.com/eea/volto-cca-policy/commit/6665dc630e9292d6b7b2e36e4cd35f5caaa38dcd)]
46
+ - Refs #268061 - add key type measure design, popup design and filter accordion [Tripon Eugen - [`71b1b21`](https://github.com/eea/volto-cca-policy/commit/71b1b211524f3938c0a6e1c09b4e163bd15e31ae)]
47
+ - Refs #161494 - country profile detail [Tripon Eugen - [`109e56a`](https://github.com/eea/volto-cca-policy/commit/109e56ace11974d98667c5e4038d894c9cc0671a)]
48
+ - bump 0.2.0 [kreafox - [`83c5d52`](https://github.com/eea/volto-cca-policy/commit/83c5d52aa9e97ff635d7199acde4cc3d1579dae9)]
49
+ - tests: fix duplicated code issue [kreafox - [`1b291a4`](https://github.com/eea/volto-cca-policy/commit/1b291a43d7461b0b8930c6c9bb87944b8e2e73c5)]
50
+ - eslint fixes [Tiberiu Ichim - [`370410b`](https://github.com/eea/volto-cca-policy/commit/370410b41b2e5b01c11ce1ca2955bb96dcc5e529)]
51
+ - We don't need the category here, its provided by the backend [Tiberiu Ichim - [`1a60c4e`](https://github.com/eea/volto-cca-policy/commit/1a60c4e3cf298effd35608678a1270d29b6c08d9)]
52
+ - Refactor indicators listing/overview blocks [Tiberiu Ichim - [`635a812`](https://github.com/eea/volto-cca-policy/commit/635a812f87e8a7ac248b6aa4012f6c2a6de37283)]
53
+ - No need axios [Tiberiu Ichim - [`1d6e5b1`](https://github.com/eea/volto-cca-policy/commit/1d6e5b1d40a456674683bf09a623139df360c5f8)]
54
+ - Simplify c3s_indicators_overview code [Tiberiu Ichim - [`f29a446`](https://github.com/eea/volto-cca-policy/commit/f29a4462727316dbd661cbca62dd970ba9640f92)]
55
+ - test: update snapshots [kreafox - [`03cdb0b`](https://github.com/eea/volto-cca-policy/commit/03cdb0bfbd42d2f01abdc6d3e1ff1cd80126b943)]
56
+ - Don't call hook conditionally [Tiberiu Ichim - [`2256907`](https://github.com/eea/volto-cca-policy/commit/2256907e6f6a6379b2dd9e3525d0e881febca4b7)]
57
+ - Refactor TransRegionSelectView [Tiberiu Ichim - [`89b00c2`](https://github.com/eea/volto-cca-policy/commit/89b00c272b6407b215a4785e7c7ce9f212797954)]
58
+ - Refs #260715 - test coverage add RASTMap add items [Tripon Eugen - [`58a898c`](https://github.com/eea/volto-cca-policy/commit/58a898c44e3353ed14ff32531dce26bda20901f6)]
59
+ - Refs #260715 - test coverage add RASTMap [Tripon Eugen - [`3fc0193`](https://github.com/eea/volto-cca-policy/commit/3fc0193108808edaac934c5bbd6ec6002cd28917)]
60
+ - Refs #260715 - display arrow icons only if show sub_folders [Tripon Eugen - [`772a8ad`](https://github.com/eea/volto-cca-policy/commit/772a8add196bdeb8d6ebe954225bd5146a6231a1)]
61
+ - Add alias for North West Europe [Tiberiu Ichim - [`644c75b`](https://github.com/eea/volto-cca-policy/commit/644c75bf5a73f87890a6f7fb8199cea9e81634ff)]
62
+ - Refs #260715 - remove comment [Tripon Eugen - [`33283d7`](https://github.com/eea/volto-cca-policy/commit/33283d7f6367bda2ae7d20f830e9ed842ba4a625)]
63
+ - Refs #260715 - rast options show/hide subfolders [Tripon Eugen - [`18bff32`](https://github.com/eea/volto-cca-policy/commit/18bff32426a94a9a174509ffd67d92342e1f12e8)]
64
+ - Refs #260715 - rename label [Tripon Eugen - [`cba2862`](https://github.com/eea/volto-cca-policy/commit/cba28622fc26bedc895511e3e6091430bbcd973d)]
65
+ - Refs #260715 - eslint [Tripon Eugen - [`182369c`](https://github.com/eea/volto-cca-policy/commit/182369c92ecd94694bf704347675984024a9fa42)]
66
+ - Refs #260715 - rast map skip folders by index list [Tripon Eugen - [`09b0ddd`](https://github.com/eea/volto-cca-policy/commit/09b0dddb9b5355cdf68b1f5483d9e1069eeb3615)]
67
+ - Refs #267596 - set extraQueryParams [Tripon Eugen - [`4205b72`](https://github.com/eea/volto-cca-policy/commit/4205b728e863588ff279d03413cd02796b490a38)]
68
+ ### [0.1.102](https://github.com/eea/volto-cca-policy/compare/0.1.101...0.1.102) - 27 March 2024
69
+
70
+ #### :hammer_and_wrench: Others
71
+
72
+ - Refs #266914 - items translations [Tripon Eugen - [`3bc47df`](https://github.com/eea/volto-cca-policy/commit/3bc47dfb9251014ef8e30ff65fcfda0d5acc79bb)]
73
+ - Refs #266914 - translate empty messages [Tripon Eugen - [`0da3707`](https://github.com/eea/volto-cca-policy/commit/0da37079f196de516992c23256d99f6ae86b9c6d)]
7
74
  ### [0.1.101](https://github.com/eea/volto-cca-policy/compare/0.1.100...0.1.101) - 25 March 2024
8
75
 
9
76
  #### :hammer_and_wrench: Others
@@ -772,13 +839,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
772
839
  - Refs #260715 rast-block wip [Tripon Eugen - [`f19d54e`](https://github.com/eea/volto-cca-policy/commit/f19d54e0b9a6a86bf344eb85b6a1cda7f3de91bf)]
773
840
  - Refs #260715 rast-block wip [Tripon Eugen - [`2828537`](https://github.com/eea/volto-cca-policy/commit/2828537b6c084cd1a82162d552fb4ef025b71f9f)]
774
841
  - Refs #260715 rast-block updates [Tripon Eugen - [`1e803e5`](https://github.com/eea/volto-cca-policy/commit/1e803e5bd3d3fb7558f261c76c68866be7beb8b5)]
775
- - test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`0a15e1b`](https://github.com/eea/volto-cca-policy/commit/0a15e1b2ad081233685e80d5b3c60a8663f6b896)]
776
- - test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`9554e44`](https://github.com/eea/volto-cca-policy/commit/9554e44c92a621a52b2adb5a4830fb084ee5734b)]
777
842
  ### [0.1.49](https://github.com/eea/volto-cca-policy/compare/0.1.48...0.1.49) - 15 November 2023
778
843
 
779
844
  #### :house: Internal changes
780
845
 
781
- - chore: [JENKINS] Refactor automated testing [valentinab25 - [`7b820a6`](https://github.com/eea/volto-cca-policy/commit/7b820a6369c2ddd5203b1a4abe352cb4bb43db7a)]
782
846
  - chore: husky, lint-staged use fixed versions [valentinab25 - [`f0a8061`](https://github.com/eea/volto-cca-policy/commit/f0a8061c275c236deb00087c23fac9860a073106)]
783
847
 
784
848
  #### :hammer_and_wrench: Others
@@ -795,9 +859,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
795
859
  - Refs #259267 - jenkins test [Tripon Eugen - [`cacd31e`](https://github.com/eea/volto-cca-policy/commit/cacd31e7b1afe0983674ed5c7632d2e1d7fa752e)]
796
860
  - Refs #259267 - jenkins [Tripon Eugen - [`5b3affe`](https://github.com/eea/volto-cca-policy/commit/5b3affee8401239de10097884c1b7f2349d15ec0)]
797
861
  - Refs #259267 - add When, lead image and title to files [Tripon Eugen - [`2cedb23`](https://github.com/eea/volto-cca-policy/commit/2cedb237f898af9057e13fba94b615ef71077204)]
798
- - test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`4d607a5`](https://github.com/eea/volto-cca-policy/commit/4d607a576e9d0a5c34e48c41b409e7df616ee3d6)]
799
- - test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`b7f74d5`](https://github.com/eea/volto-cca-policy/commit/b7f74d53513a6edbfbca5cb6d19687929bb1e5db)]
800
- - test: [JENKINS] Improve cypress time [valentinab25 - [`db65617`](https://github.com/eea/volto-cca-policy/commit/db656173391f65157098d95d388c25f6429753d8)]
801
862
  - Refs #259267 - cca event blocks attachments and check not mandatoty fields [Tripon Eugen - [`3138e5a`](https://github.com/eea/volto-cca-policy/commit/3138e5afb5bfbdbed14e27ed457b16867b7fa414)]
802
863
  - 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)]
803
864
  - Refs #161485 - Fix ECDE name conflict. [GhitaB - [`8bfd99f`](https://github.com/eea/volto-cca-policy/commit/8bfd99ff68bb82a04d1c0ed625fa514fcf46289e)]
@@ -1014,7 +1075,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1014
1075
 
1015
1076
  #### :house: Internal changes
1016
1077
 
1017
- - chore: [JENKINS] Remove alpha testing version [valentinab25 - [`ad1ced0`](https://github.com/eea/volto-cca-policy/commit/ad1ced0971ba116c13a3b5fcc039172cc915c919)]
1018
1078
 
1019
1079
  #### :hammer_and_wrench: Others
1020
1080
 
@@ -1495,7 +1555,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1495
1555
  #### :hammer_and_wrench: Others
1496
1556
 
1497
1557
  - Refs #158294 - Update supported languages list. [GhitaB - [`0a4f91f`](https://github.com/eea/volto-cca-policy/commit/0a4f91f39b7edc367bd4c127d6a8f273c7788361)]
1498
- - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`8f1f9ce`](https://github.com/eea/volto-cca-policy/commit/8f1f9ce6c22805670cc0800d3c779b6d619d0f31)]
1499
1558
  ### [0.1.1](https://github.com/eea/volto-cca-policy/compare/0.1.0...0.1.1) - 13 December 2022
1500
1559
 
1501
1560
  #### :hammer_and_wrench: Others
package/README.md CHANGED
@@ -96,4 +96,3 @@ don-template/blob/master/LICENSE.md) for details.
96
96
  ## Funding
97
97
 
98
98
  [European Environment Agency (EU)](http://eea.europa.eu)
99
-