@eeacms/volto-cca-policy 0.3.36 → 0.3.37

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,6 +4,16 @@ 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.37](https://github.com/eea/volto-cca-policy/compare/0.3.36...0.3.37) - 8 May 2025
8
+
9
+ #### :rocket: Dependency updates
10
+
11
+ - Release @eeacms/volto-globalsearch@2.1.0 [EEA Jenkins - [`29f59da`](https://github.com/eea/volto-cca-policy/commit/29f59dafc2417af5f95062d35700fd3da4b3c37d)]
12
+
13
+ #### :nail_care: Enhancements
14
+
15
+ - change: fetch tab labels from discodata [kreafox - [`eb2e40b`](https://github.com/eea/volto-cca-policy/commit/eb2e40b39d0db28abd15549bb80302a873879180)]
16
+
7
17
  ### [0.3.36](https://github.com/eea/volto-cca-policy/compare/0.3.35...0.3.36) - 7 May 2025
8
18
 
9
19
  #### :house: Internal changes
@@ -14,7 +24,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
14
24
 
15
25
  - Remove defineMessages [Tiberiu Ichim - [`86aa49c`](https://github.com/eea/volto-cca-policy/commit/86aa49c7c56029108862a4210cad2e81b08cbf40)]
16
26
  - Show a message in non-en country profiles [Tiberiu Ichim - [`8d6842b`](https://github.com/eea/volto-cca-policy/commit/8d6842b1043d13d739b25da119803c4fb359b8dd)]
17
- - Customize language bar [Tiberiu Ichim - [`f85ce9f`](https://github.com/eea/volto-cca-policy/commit/f85ce9f2f2fb9c594e66c3b26cd198819a05b58d)]
18
27
  ### [0.3.35](https://github.com/eea/volto-cca-policy/compare/0.3.34...0.3.35) - 6 May 2025
19
28
 
20
29
  #### :house: Internal changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.3.36",
3
+ "version": "0.3.37",
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",
@@ -32,7 +32,7 @@
32
32
  "@eeacms/volto-eea-design-system": "<=1.36.3",
33
33
  "@eeacms/volto-eea-website-theme": "^1.35.0",
34
34
  "@eeacms/volto-embed": "^9.1.1",
35
- "@eeacms/volto-globalsearch": "2.0.11",
35
+ "@eeacms/volto-globalsearch": "2.1.0",
36
36
  "@eeacms/volto-hero-block": "^7.1.0",
37
37
  "@eeacms/volto-openlayers-map": "*",
38
38
  "@eeacms/volto-searchlib": "2.0.16",
@@ -18,6 +18,9 @@ const MissionSignatoryProfileView = (props) => {
18
18
  const planning = result?.planning || {};
19
19
  const assessment = result?.assessment || {};
20
20
  const action = result?.action || {};
21
+ const tab_labels = result?.tab_labels || {};
22
+ const { Governance_Label, Assessment_Label, Planning_Label, Action_Label } =
23
+ tab_labels || {};
21
24
 
22
25
  const [activeIndex, setActiveIndex] = React.useState(0);
23
26
 
@@ -36,9 +39,6 @@ const MissionSignatoryProfileView = (props) => {
36
39
  }}
37
40
  />
38
41
  <div className="signatories-profile">
39
- {/* <h2>{planning?.planning_titles?.[0].Signatory}</h2> */}
40
- {/* <h2>{planning?.planning_titles?.[0].Id}</h2> */}
41
-
42
42
  <br />
43
43
 
44
44
  <Tab
@@ -53,19 +53,19 @@ const MissionSignatoryProfileView = (props) => {
53
53
  onTabChange={(e, { activeIndex }) => setActiveIndex(activeIndex)}
54
54
  panes={[
55
55
  {
56
- menuItem: 'Governance',
56
+ menuItem: Governance_Label || 'Governance',
57
57
  render: () => <GovernanceTab result={governance} />,
58
58
  },
59
59
  {
60
- menuItem: 'Assessment',
60
+ menuItem: Assessment_Label || 'Assessment',
61
61
  render: () => <AssessmentTab result={assessment} />,
62
62
  },
63
63
  {
64
- menuItem: 'Planning',
64
+ menuItem: Planning_Label || 'Planning',
65
65
  render: () => <PlanningTab result={planning} />,
66
66
  },
67
67
  {
68
- menuItem: 'Action',
68
+ menuItem: Action_Label || 'Action',
69
69
  render: () => <ActionPagesTab result={action} />,
70
70
  },
71
71
  ]}