@eeacms/volto-cca-policy 1.0.20 → 1.0.21

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 (36) hide show
  1. package/CHANGELOG.md +17 -13
  2. package/locales/bg/LC_MESSAGES/volto.po +28 -26
  3. package/locales/cs/LC_MESSAGES/volto.po +28 -26
  4. package/locales/da/LC_MESSAGES/volto.po +28 -26
  5. package/locales/de/LC_MESSAGES/volto.po +28 -26
  6. package/locales/el/LC_MESSAGES/volto.po +28 -26
  7. package/locales/en/LC_MESSAGES/volto.po +28 -26
  8. package/locales/es/LC_MESSAGES/volto.po +28 -26
  9. package/locales/et/LC_MESSAGES/volto.po +28 -26
  10. package/locales/fi/LC_MESSAGES/volto.po +28 -26
  11. package/locales/fr/LC_MESSAGES/volto.po +28 -26
  12. package/locales/ga/LC_MESSAGES/volto.po +28 -26
  13. package/locales/hr/LC_MESSAGES/volto.po +28 -26
  14. package/locales/hu/LC_MESSAGES/volto.po +28 -26
  15. package/locales/is/LC_MESSAGES/volto.po +28 -26
  16. package/locales/it/LC_MESSAGES/volto.po +28 -26
  17. package/locales/lt/LC_MESSAGES/volto.po +28 -26
  18. package/locales/lv/LC_MESSAGES/volto.po +28 -26
  19. package/locales/mt/LC_MESSAGES/volto.po +28 -26
  20. package/locales/nl/LC_MESSAGES/volto.po +28 -26
  21. package/locales/nn/LC_MESSAGES/volto.po +28 -26
  22. package/locales/pl/LC_MESSAGES/volto.po +28 -26
  23. package/locales/pt/LC_MESSAGES/volto.po +28 -26
  24. package/locales/ro/LC_MESSAGES/volto.po +28 -26
  25. package/locales/sk/LC_MESSAGES/volto.po +28 -26
  26. package/locales/sl/LC_MESSAGES/volto.po +28 -26
  27. package/locales/sv/LC_MESSAGES/volto.po +28 -26
  28. package/locales/tr/LC_MESSAGES/volto.po +28 -26
  29. package/locales/volto.pot +29 -27
  30. package/package.json +1 -1
  31. package/src/components/Search/NavigatorCatalogue/NavigatorCatalogueCardItem.jsx +10 -8
  32. package/src/components/Search/NavigatorCatalogue/NavigatorCatalogueCardItem.test.jsx +8 -6
  33. package/src/components/theme/Views/ExtendedToolView.jsx +10 -12
  34. package/src/components/theme/Views/ExtendedToolView.test.jsx +1 -2
  35. package/src/search/navigator_catalogue/facets.js +19 -30
  36. package/theme/globals/navigator.less +0 -8
@@ -574,7 +574,6 @@ describe('ExtendedToolView', () => {
574
574
  sectors: [{ title: 'Agriculture' }, { title: 'Health' }],
575
575
  type_of_outputs: [{ title: 'Maps' }, { title: 'Charts' }],
576
576
  temporality_of_data: [{ title: 'Historical' }, { title: 'Projections' }],
577
- tool_available_english: true,
578
577
  tool_available_language: [{ title: 'French' }, 'Romanian'],
579
578
  intended_user_groups: [{ title: 'Policy makers' }, 'Researchers'],
580
579
  accessibility_and_usability: 'Easy to use',
@@ -623,7 +622,7 @@ describe('ExtendedToolView', () => {
623
622
  expect(
624
623
  screen.getByRole('heading', { name: 'Language' }),
625
624
  ).toBeInTheDocument();
626
- expect(screen.getByText('English, French, Romanian')).toBeInTheDocument();
625
+ expect(screen.getByText('French, Romanian')).toBeInTheDocument();
627
626
  expect(
628
627
  screen.getByRole('heading', { name: 'User Group' }),
629
628
  ).toBeInTheDocument();
@@ -12,28 +12,24 @@ const messages = defineMessages({
12
12
  defaultMessage: 'Climate hazards',
13
13
  },
14
14
  adaptationSupportCycleStep: {
15
- id: 'Adaptation Support Cycle Step',
16
- defaultMessage: 'Adaptation Support Cycle Step',
17
- },
18
- userGroups: {
19
- id: 'User Groups',
20
- defaultMessage: 'User Groups',
15
+ id: 'Adaptation policy cycle',
16
+ defaultMessage: 'Adaptation policy cycle',
21
17
  },
22
18
  typeOfOutputs: {
23
- id: 'Type of Outputs',
24
- defaultMessage: 'Type of Outputs',
19
+ id: 'Type of outputs',
20
+ defaultMessage: 'Type of outputs',
25
21
  },
26
- typeOfData: {
27
- id: 'Type of Data',
28
- defaultMessage: 'Type of Data',
22
+ focusAreas: {
23
+ id: 'Focus areas',
24
+ defaultMessage: 'Focus areas',
29
25
  },
30
- licenseStatus: {
31
- id: 'License status',
32
- defaultMessage: 'License status',
26
+ implementationLevel: {
27
+ id: 'Implementation level',
28
+ defaultMessage: 'Implementation level',
33
29
  },
34
- natureBasedSolution: {
35
- id: 'Nature-based solution',
36
- defaultMessage: 'Nature-based solution',
30
+ adaptationApproaches: {
31
+ id: 'Adaptation approaches',
32
+ defaultMessage: 'Adaptation approaches',
37
33
  },
38
34
  });
39
35
 
@@ -58,13 +54,6 @@ const facets = [
58
54
  label: messages.adaptationSupportCycleStep,
59
55
  alwaysVisible: false,
60
56
  }),
61
- multiTermFacet({
62
- field: 'cca_intended_user_groups.keyword',
63
- isFilterable: false,
64
- isMulti: true,
65
- label: messages.userGroups,
66
- alwaysVisible: false,
67
- }),
68
57
  multiTermFacet({
69
58
  field: 'cca_type_of_outputs.keyword',
70
59
  isFilterable: false,
@@ -73,24 +62,24 @@ const facets = [
73
62
  alwaysVisible: false,
74
63
  }),
75
64
  multiTermFacet({
76
- field: 'cca_type_of_data.keyword',
65
+ field: 'cca_focus_areas.keyword',
77
66
  isFilterable: false,
78
67
  isMulti: true,
79
- label: messages.typeOfData,
68
+ label: messages.focusAreas,
80
69
  alwaysVisible: false,
81
70
  }),
82
71
  multiTermFacet({
83
- field: 'cca_license_status.keyword',
72
+ field: 'cca_place_of_implementation.keyword',
84
73
  isFilterable: false,
85
74
  isMulti: true,
86
- label: messages.licenseStatus,
75
+ label: messages.implementationLevel,
87
76
  alwaysVisible: false,
88
77
  }),
89
78
  multiTermFacet({
90
- field: 'cca_nature_based_solution.keyword',
79
+ field: 'cca_elements.keyword',
91
80
  isFilterable: false,
92
81
  isMulti: true,
93
- label: messages.natureBasedSolution,
82
+ label: messages.adaptationApproaches,
94
83
  alwaysVisible: false,
95
84
  }),
96
85
  ];
@@ -699,14 +699,6 @@
699
699
  gap: 1rem;
700
700
  }
701
701
 
702
- .catalogue-licence {
703
- display: inline-block;
704
- overflow: hidden;
705
- max-width: 300px;
706
- text-overflow: ellipsis;
707
- white-space: nowrap;
708
- }
709
-
710
702
  .license-type {
711
703
  gap: 0.7em;
712
704
  }