@eeacms/volto-eea-map 5.0.4 → 5.0.6

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,13 @@ 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
+ ### [5.0.6](https://github.com/eea/volto-eea-map/compare/5.0.5...5.0.6) - 5 November 2024
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - don't pass all props to PrivacyProtection, ref #278618 [Miu Razvan - [`b3442d6`](https://github.com/eea/volto-eea-map/commit/b3442d60b7d305d06b58b2c64e8f5a3838d6d975)]
12
+ ### [5.0.5](https://github.com/eea/volto-eea-map/compare/5.0.4...5.0.5) - 19 September 2024
13
+
7
14
  ### [5.0.4](https://github.com/eea/volto-eea-map/compare/5.0.3...5.0.4) - 9 September 2024
8
15
 
9
16
  #### :house: Internal changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-map",
3
- "version": "5.0.4",
3
+ "version": "5.0.6",
4
4
  "description": "@eeacms/volto-eea-map: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -84,13 +84,15 @@ const View = (props) => {
84
84
 
85
85
  return (
86
86
  <PrivacyProtection
87
- {...props}
88
87
  data={mapServiceURL ? { ...data, url: mapServiceURL } : data}
89
88
  >
90
89
  <div className="embed-map-visualization">
91
90
  <MapBuilder
92
91
  data={mapData}
93
- properties={{ ...(props.properties || {}), definitionExpression }}
92
+ properties={{
93
+ ...(props.metadata || props.properties || {}),
94
+ definitionExpression,
95
+ }}
94
96
  height={height}
95
97
  />
96
98
  <Toolbar