@eeacms/volto-cca-policy 0.3.72 → 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 (97) hide show
  1. package/.eslintrc.js +8 -4
  2. package/CHANGELOG.md +78 -3
  3. package/locales/bg/LC_MESSAGES/volto.po +91 -34
  4. package/locales/cs/LC_MESSAGES/volto.po +91 -34
  5. package/locales/da/LC_MESSAGES/volto.po +91 -34
  6. package/locales/de/LC_MESSAGES/volto.po +91 -34
  7. package/locales/el/LC_MESSAGES/volto.po +91 -34
  8. package/locales/en/LC_MESSAGES/volto.po +67 -10
  9. package/locales/es/LC_MESSAGES/volto.po +91 -34
  10. package/locales/et/LC_MESSAGES/volto.po +91 -34
  11. package/locales/fi/LC_MESSAGES/volto.po +91 -34
  12. package/locales/fr/LC_MESSAGES/volto.po +91 -34
  13. package/locales/ga/LC_MESSAGES/volto.po +91 -34
  14. package/locales/hr/LC_MESSAGES/volto.po +91 -34
  15. package/locales/hu/LC_MESSAGES/volto.po +91 -34
  16. package/locales/is/LC_MESSAGES/volto.po +91 -34
  17. package/locales/it/LC_MESSAGES/volto.po +91 -34
  18. package/locales/lt/LC_MESSAGES/volto.po +91 -34
  19. package/locales/lv/LC_MESSAGES/volto.po +85 -27
  20. package/locales/mt/LC_MESSAGES/volto.po +91 -34
  21. package/locales/nl/LC_MESSAGES/volto.po +91 -34
  22. package/locales/nn/LC_MESSAGES/volto.po +37 -13
  23. package/locales/pl/LC_MESSAGES/volto.po +91 -34
  24. package/locales/pt/LC_MESSAGES/volto.po +91 -34
  25. package/locales/ro/LC_MESSAGES/volto.po +91 -34
  26. package/locales/sk/LC_MESSAGES/volto.po +91 -34
  27. package/locales/sl/LC_MESSAGES/volto.po +91 -34
  28. package/locales/sv/LC_MESSAGES/volto.po +91 -34
  29. package/locales/tr/LC_MESSAGES/volto.po +75 -34
  30. package/package.json +11 -10
  31. package/src/components/manage/Blocks/ASTNavigation/schema.js +3 -1
  32. package/src/components/manage/Blocks/C3SIndicatorsGlossaryBlock/schema.js +3 -1
  33. package/src/components/manage/Blocks/C3SIndicatorsListingBlock/schema.js +3 -1
  34. package/src/components/manage/Blocks/C3SIndicatorsOverviewBlock/schema.js +3 -1
  35. package/src/components/manage/Blocks/CaseStudyExplorer/FeatureDisplay.jsx +6 -1
  36. package/src/components/manage/Blocks/CaseStudyExplorer/styles.less +1 -1
  37. package/src/components/manage/Blocks/CollectionStatistics/styles.less +1 -1
  38. package/src/components/manage/Blocks/ContentLinks/schema.js +3 -1
  39. package/src/components/manage/Blocks/CountryMapHeatIndex/euro-countries-simplified.js +46197 -0
  40. package/src/components/manage/Blocks/CountryMapHeatIndex/styles.less +1 -1
  41. package/src/components/manage/Blocks/CountryMapObservatory/mapstyle.js +28 -26
  42. package/src/components/manage/Blocks/CountryMapObservatory/styles.less +1 -1
  43. package/src/components/manage/Blocks/CountryMapProfile/Interactions.jsx +1 -1
  44. package/src/components/manage/Blocks/CountryMapProfile/OLView.jsx +5 -5
  45. package/src/components/manage/Blocks/CountryMapProfile/euro-countries-simplified.js +46197 -0
  46. package/src/components/manage/Blocks/CountryMapProfile/styles.less +1 -1
  47. package/src/components/manage/Blocks/CountryProfileDetail/View.test.jsx +1 -2
  48. package/src/components/manage/Blocks/FlourishEmbedBlock/schema.js +3 -1
  49. package/src/components/manage/Blocks/RASTBlock/schema.js +3 -1
  50. package/src/components/manage/Blocks/ReadMore/schema.js +3 -1
  51. package/src/components/manage/Blocks/RelevantAceContent/schema.js +3 -1
  52. package/src/components/manage/Blocks/SearchAceContent/schema.js +3 -1
  53. package/src/components/manage/Blocks/TransRegionSelect/schema.js +3 -1
  54. package/src/components/manage/Blocks/index.js +0 -1
  55. package/src/components/theme/ASTNavigation/ASTNavigation.jsx +2 -3
  56. package/src/components/theme/BannerTitle/BannerTitle.jsx +2 -0
  57. package/src/components/theme/Header/Header.jsx +32 -22
  58. package/src/components/theme/Header/LanguageSwitch.jsx +2 -2
  59. package/src/components/theme/Views/BrokenLinks.jsx +0 -2
  60. package/src/components/theme/Views/CcaEventView.jsx +2 -4
  61. package/src/components/theme/Views/DatabaseItemView.test.jsx +1 -2
  62. package/src/components/theme/Widgets/GeolocationWidget.jsx +0 -2
  63. package/src/customizations/@plone/volto-slate/utils/volto-blocks.js +2 -5
  64. package/src/customizations/@plone/volto-slate/widgets/HtmlSlateWidget.jsx +27 -4
  65. package/src/customizations/@plone/volto-slate/widgets/README.md +2 -0
  66. package/src/customizations/volto/components/manage/Blocks/Grid/grid-1.svg +6 -0
  67. package/src/customizations/volto/components/manage/Blocks/Grid/grid-2.svg +9 -0
  68. package/src/customizations/volto/components/manage/Blocks/Grid/grid-3.svg +10 -0
  69. package/src/customizations/volto/components/manage/Blocks/Grid/grid-4.svg +11 -0
  70. package/src/customizations/volto/components/manage/Blocks/Grid/grid-5.svg +13 -0
  71. package/src/customizations/volto/components/manage/Blocks/Grid/grid-6.svg +14 -0
  72. package/src/customizations/volto/components/manage/Blocks/Grid/templates.js +61 -0
  73. package/src/customizations/volto/components/theme/App/App.jsx +3 -1
  74. package/src/customizations/volto/helpers/Html/Html.jsx +2 -9
  75. package/src/customizations/volto/middleware/api.js +190 -186
  76. package/src/customizations/volto/server.jsx +1 -1
  77. package/src/express-middleware.js +4 -2
  78. package/src/helpers/Utils.jsx +15 -2
  79. package/src/helpers/country_map/euro-countries-simplified.js +3 -1
  80. package/src/index.js +2 -8
  81. package/src/search/cca/config.js +0 -67
  82. package/src/search/cca/facets.js +12 -22
  83. package/src/search/cca/views.js +3 -1
  84. package/src/search/health_observatory/views-health.js +3 -1
  85. package/src/search/vocabulary.js +12 -0
  86. package/src/store/middleware.js +38 -37
  87. package/theme/globals/blocks.less +4 -0
  88. package/theme/globals/mission.less +2 -9
  89. package/theme/globals/observatory.less +2 -2
  90. package/theme/globals/views.less +25 -0
  91. package/src/components/theme/Views/brokenlinks.less +0 -21
  92. package/src/components/theme/Widgets/geolocation.css +0 -3
  93. package/src/customizations/volto/components/manage/UniversalLink/UniversalLink.test.jsx +0 -229
  94. package/src/customizations/volto/components/manage/Widgets/ArrayWidget.jsx +0 -428
  95. package/src/customizations/volto/components/manage/Widgets/Readme.md +0 -5
  96. package/src/customizations/volto/components/theme/Footer/Footer.jsx +0 -96
  97. package/src/policy.js +0 -135
@@ -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;