@eeacms/volto-marine-policy 1.1.5 → 1.1.7
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 +17 -2
- package/package.json +1 -1
- package/src/index.js +15 -11
- package/theme/globals/site.overrides +21 -6
package/CHANGELOG.md
CHANGED
|
@@ -4,12 +4,27 @@ 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
|
-
### [1.1.
|
|
7
|
+
### [1.1.7](https://github.com/eea/volto-marine-policy/compare/1.1.6...1.1.7) - 10 May 2024
|
|
8
|
+
|
|
9
|
+
#### :house: Internal changes
|
|
10
|
+
|
|
11
|
+
- chore: enable some needed externalRoutes [laszlocseh - [`0d50a5b`](https://github.com/eea/volto-marine-policy/commit/0d50a5b998cd06387cde59bde496907b81c697bd)]
|
|
12
|
+
|
|
13
|
+
### [1.1.6](https://github.com/eea/volto-marine-policy/compare/1.1.5...1.1.6) - 9 May 2024
|
|
14
|
+
|
|
15
|
+
#### :bug: Bug Fixes
|
|
16
|
+
|
|
17
|
+
- fix: custom-page-header css [laszlocseh - [`6b1e65b`](https://github.com/eea/volto-marine-policy/commit/6b1e65b8cde50f8c5c4f2dcd6bcd078d7c759dfd)]
|
|
18
|
+
|
|
19
|
+
#### :house: Internal changes
|
|
20
|
+
|
|
21
|
+
- chore: remove paths from externalRoutes as they will be implemented as volto pages [laszlocseh - [`75a4f6d`](https://github.com/eea/volto-marine-policy/commit/75a4f6df797f374794f91dc3bbfc43fbcf6b272c)]
|
|
22
|
+
|
|
23
|
+
### [1.1.5](https://github.com/eea/volto-marine-policy/compare/1.1.4...1.1.5) - 7 May 2024
|
|
8
24
|
|
|
9
25
|
#### :bug: Bug Fixes
|
|
10
26
|
|
|
11
27
|
- fix: eslint . [nileshgulia1 - [`6280d19`](https://github.com/eea/volto-marine-policy/commit/6280d191037782ce11c491b681b9e20878da15f2)]
|
|
12
|
-
- fix(navigation): do not expand accordion without children [nileshgulia1 - [`057e1ca`](https://github.com/eea/volto-marine-policy/commit/057e1ca6966b023cb9354ba437c9879c8f1e14d4)]
|
|
13
28
|
|
|
14
29
|
### [1.1.4](https://github.com/eea/volto-marine-policy/compare/1.1.3...1.1.4) - 29 April 2024
|
|
15
30
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -163,6 +163,10 @@ const applyConfig = (config) => {
|
|
|
163
163
|
match: '/marine-new',
|
|
164
164
|
GET_CONTENT: ['object_provides'],
|
|
165
165
|
},
|
|
166
|
+
{
|
|
167
|
+
match: '/',
|
|
168
|
+
GET_CONTENT: ['siblings'],
|
|
169
|
+
},
|
|
166
170
|
];
|
|
167
171
|
|
|
168
172
|
// do not expand breadcrumbs. This fixed the breadcrumbs in contents view. The hasApiExpander needs to be made
|
|
@@ -218,17 +222,17 @@ const applyConfig = (config) => {
|
|
|
218
222
|
return payload.location.pathname;
|
|
219
223
|
},
|
|
220
224
|
},
|
|
221
|
-
{
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
},
|
|
225
|
+
// {
|
|
226
|
+
// match: {
|
|
227
|
+
// path:
|
|
228
|
+
// '/(.*)marine(-new)?/policy-and-reporting/msfd-reports-and-assessments(.*)',
|
|
229
|
+
// exact: false,
|
|
230
|
+
// strict: false,
|
|
231
|
+
// },
|
|
232
|
+
// url(payload) {
|
|
233
|
+
// return payload.location.pathname;
|
|
234
|
+
// },
|
|
235
|
+
// },
|
|
232
236
|
{
|
|
233
237
|
match: {
|
|
234
238
|
path:
|
|
@@ -295,13 +295,21 @@ section .searchlib-block .ui.button.sui-button.basic {
|
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
// Custom page header
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
298
|
+
body.custom-page-header {
|
|
299
|
+
#page-header {
|
|
300
|
+
.column-blocks-wrapper,
|
|
301
|
+
.content-box {
|
|
302
|
+
margin-bottom: 0;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.country-header-block {
|
|
306
|
+
padding-right: 1em;
|
|
307
|
+
}
|
|
301
308
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
309
|
+
.country-flag {
|
|
310
|
+
padding-left: 1.25rem;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
305
313
|
}
|
|
306
314
|
|
|
307
315
|
body.custom-page-header .breadcrumbs {
|
|
@@ -347,3 +355,10 @@ body.custom-page-header .breadcrumbs {
|
|
|
347
355
|
margin-bottom: 0;
|
|
348
356
|
}
|
|
349
357
|
}
|
|
358
|
+
|
|
359
|
+
// Fix block width when used as page header
|
|
360
|
+
#page-header .styled-group.has--useAsPageHeader--true {
|
|
361
|
+
margin-left: auto;
|
|
362
|
+
margin-right: auto;
|
|
363
|
+
width: 100%;
|
|
364
|
+
}
|