@eeacms/volto-cca-policy 0.3.50 → 0.3.51
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,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
|
-
### [0.3.
|
|
7
|
+
### [0.3.51](https://github.com/eea/volto-cca-policy/compare/0.3.50...0.3.51) - 26 May 2025
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- Let's serialize in one line [Tiberiu Ichim - [`bd44758`](https://github.com/eea/volto-cca-policy/commit/bd44758dae105604632f8aa8f54a485681c95f73)]
|
|
12
|
+
- Show the download button to the anonymous users [Tiberiu Ichim - [`394fec5`](https://github.com/eea/volto-cca-policy/commit/394fec59a62ec8836ad0a7a840b5c3e748b2ef5a)]
|
|
13
|
+
### [0.3.50](https://github.com/eea/volto-cca-policy/compare/0.3.49...0.3.50) - 25 May 2025
|
|
8
14
|
|
|
9
15
|
#### :house: Internal changes
|
|
10
16
|
|
|
@@ -14,7 +20,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
14
20
|
#### :hammer_and_wrench: Others
|
|
15
21
|
|
|
16
22
|
- Fix eslint [Tiberiu Ichim - [`56c0e38`](https://github.com/eea/volto-cca-policy/commit/56c0e38085bf9c6bbcd6cc9775d8306afb94492b)]
|
|
17
|
-
- Fix country map block [Tiberiu Ichim - [`b7e58e1`](https://github.com/eea/volto-cca-policy/commit/b7e58e1b80896f7c142f186f271006c9c0692091)]
|
|
18
23
|
### [0.3.49](https://github.com/eea/volto-cca-policy/compare/0.3.48...0.3.49) - 23 May 2025
|
|
19
24
|
|
|
20
25
|
### [0.3.48](https://github.com/eea/volto-cca-policy/compare/0.3.47...0.3.48) - 22 May 2025
|
package/package.json
CHANGED
|
@@ -114,20 +114,17 @@ class Html extends Component {
|
|
|
114
114
|
{React.createElement('script', {
|
|
115
115
|
nonce: nonce,
|
|
116
116
|
dangerouslySetInnerHTML: {
|
|
117
|
-
__html: `window.env = ${serialize(
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
},
|
|
129
|
-
{ space: 2 },
|
|
130
|
-
)};`,
|
|
117
|
+
__html: `window.env = ${serialize({
|
|
118
|
+
...runtimeConfig,
|
|
119
|
+
// Seamless mode requirement, the client need to know where the API is located
|
|
120
|
+
// if not set in the API_PATH
|
|
121
|
+
...(apiPath && {
|
|
122
|
+
apiPath,
|
|
123
|
+
}),
|
|
124
|
+
...(publicURL && {
|
|
125
|
+
publicURL,
|
|
126
|
+
}),
|
|
127
|
+
})};`,
|
|
131
128
|
},
|
|
132
129
|
})}
|
|
133
130
|
|
|
@@ -195,7 +192,6 @@ class Html extends Component {
|
|
|
195
192
|
dangerouslySetInnerHTML: {
|
|
196
193
|
__html: `window.__data=${serialize(
|
|
197
194
|
loadReducers(store.getState()),
|
|
198
|
-
{ space: 2 },
|
|
199
195
|
)};`,
|
|
200
196
|
},
|
|
201
197
|
charSet: 'UTF-8',
|
|
@@ -11,12 +11,6 @@ body.searchlib-page .searchlib-block {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
body.is-anonymous .searchlib-block .search-body-footer {
|
|
15
|
-
button.download-btn {
|
|
16
|
-
display: none;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
14
|
.searchlib-page .content-section-tabs.menu .item i.icon.small {
|
|
21
15
|
width: 32px;
|
|
22
16
|
height: 32px;
|