@eeacms/volto-cca-policy 0.3.76 → 0.3.77

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,7 +4,7 @@ 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.76](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.1...0.3.76) - 30 July 2025
7
+ ### [0.3.77](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.1...0.3.77) - 30 July 2025
8
8
 
9
9
  #### :rocket: Dependency updates
10
10
 
@@ -12,6 +12,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
12
12
 
13
13
  #### :bug: Bug Fixes
14
14
 
15
+ - fix: add missing props for title block [kreafox - [`1d8efa0`](https://github.com/eea/volto-cca-policy/commit/1d8efa0136960261196e7585f89f4ff7db75ae17)]
15
16
  - fix: trailing space issue in HtmlSlateWidget - refs #290137 [kreafox - [`34c1ff6`](https://github.com/eea/volto-cca-policy/commit/34c1ff6896a0fe3fae40527f31ea34220e945163)]
16
17
 
17
18
  #### :house: Internal changes
@@ -100,7 +101,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
100
101
  - Add some loadable for components [Tiberiu Ichim - [`1793962`](https://github.com/eea/volto-cca-policy/commit/179396211c66a6a2465b2d1b6c0f2afc40fc7189)]
101
102
  - Refs #284961 - test [Tripon Eugen - [`c989f1f`](https://github.com/eea/volto-cca-policy/commit/c989f1f8638c0c5233c5c49f8673c9a2cdc7937e)]
102
103
  - Refs #284961 - add translations [Tripon Eugen - [`04ee988`](https://github.com/eea/volto-cca-policy/commit/04ee988c086d393b9b37ce1ea8d24f5e84f266aa)]
103
- ### [1.0.0-alpha.0](https://github.com/eea/volto-cca-policy/compare/0.3.75...1.0.0-alpha.0) - 15 July 2025
104
+ ### [1.0.0-alpha.0](https://github.com/eea/volto-cca-policy/compare/0.3.76...1.0.0-alpha.0) - 15 July 2025
105
+
106
+ ### [0.3.76](https://github.com/eea/volto-cca-policy/compare/0.3.75...0.3.76) - 30 July 2025
107
+
108
+ #### :rocket: Dependency updates
109
+
110
+ - Release @eeacms/volto-searchlib@2.1.7 [EEA Jenkins - [`ef5499d`](https://github.com/eea/volto-cca-policy/commit/ef5499dfc12182ac38af1283bbc87fd154891a6c)]
104
111
 
105
112
  ### [0.3.75](https://github.com/eea/volto-cca-policy/compare/0.3.74...0.3.75) - 30 July 2025
106
113
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.3.76",
3
+ "version": "0.3.77",
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",
@@ -27,11 +27,14 @@ function ProjectView(props) {
27
27
 
28
28
  const TitleBlockView = blocksConfig?.title?.view;
29
29
 
30
+ const titleBlockData = { ...content, title: item_title, image: '' };
31
+
30
32
  return (
31
33
  <div className="db-item-view project-view">
32
34
  <TitleBlockView
33
35
  {...props}
34
36
  data={{
37
+ '@type': 'title',
35
38
  info: [{ description: '' }],
36
39
  hideContentType: true,
37
40
  hideCreationDate: true,
@@ -41,11 +44,8 @@ function ProjectView(props) {
41
44
  hideShareButton: false,
42
45
  subtitle: 'Project',
43
46
  }}
44
- metadata={{
45
- ...content,
46
- image: '',
47
- title: item_title,
48
- }}
47
+ metadata={titleBlockData}
48
+ properties={titleBlockData}
49
49
  />
50
50
 
51
51
  <Container>