@eeacms/volto-marine-policy 1.1.6 → 1.1.8

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,20 @@ 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.8](https://github.com/eea/volto-marine-policy/compare/1.1.7...1.1.8) - 15 May 2024
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix: add resolutions to addons [nileshgulia1 - [`9c25b82`](https://github.com/eea/volto-marine-policy/commit/9c25b82ff08f701bb61838816c41f1695ee2ca00)]
12
+ - fix: update styleMenu and fix toolbar overflow [nileshgulia1 - [`fcc6ecf`](https://github.com/eea/volto-marine-policy/commit/fcc6ecf7b574b6f9a1317683bd0d583b9100bdf6)]
13
+
14
+ #### :hammer_and_wrench: Others
15
+
16
+ - pin elastic-search-ui to 1.21.2 [nileshgulia1 - [`4957ebb`](https://github.com/eea/volto-marine-policy/commit/4957ebb22958dce41da0b0458fa5c0e61b4640fe)]
17
+ - pin @elasic/search-ui [nileshgulia1 - [`dd4c2a0`](https://github.com/eea/volto-marine-policy/commit/dd4c2a0f8a2cf8a669854158ac61852ea141ce71)]
18
+ - update resolutions [nileshgulia1 - [`c46ec3e`](https://github.com/eea/volto-marine-policy/commit/c46ec3e6eb1e6dbad1c5f12f314519c0182be1a4)]
19
+ ### [1.1.7](https://github.com/eea/volto-marine-policy/compare/1.1.6...1.1.7) - 10 May 2024
20
+
7
21
  ### [1.1.6](https://github.com/eea/volto-marine-policy/compare/1.1.5...1.1.6) - 9 May 2024
8
22
 
9
23
  #### :bug: Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-marine-policy",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "description": "@eeacms/volto-marine-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -18,12 +18,13 @@
18
18
  },
19
19
  "resolutions": {
20
20
  "react-countup/countup.js": "2.5.0",
21
- "d3-array": "^2.12.1"
21
+ "d3-array": "^2.12.1",
22
+ "@elastic/search-ui": "1.21.2",
23
+ "@eeacms/volto-searchlib": "^0.9.3"
22
24
  },
23
25
  "addons": [
24
26
  "@eeacms/volto-tabs-block",
25
27
  "@eeacms/volto-embed",
26
- "@eeacms/volto-slots",
27
28
  "@eeacms/volto-eea-design-system",
28
29
  "@eeacms/volto-eea-website-theme",
29
30
  "@eeacms/volto-globalsearch",
@@ -31,11 +32,10 @@
31
32
  ],
32
33
  "dependencies": {
33
34
  "@eeacms/volto-eea-design-system": "*",
34
- "@eeacms/volto-eea-website-theme": "*",
35
- "@eeacms/volto-embed": "*",
35
+ "@eeacms/volto-eea-website-theme": "^1.33.2",
36
+ "@eeacms/volto-embed": "^9.1.1",
36
37
  "@eeacms/volto-globalsearch": "^1.0.20",
37
38
  "@eeacms/volto-searchlib": "^0.6.3",
38
- "@eeacms/volto-slots": "*",
39
39
  "@eeacms/volto-tabs-block": "*",
40
40
  "axios": "0.25.0",
41
41
  "jquery": "3.6.0",
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
@@ -240,28 +244,28 @@ const applyConfig = (config) => {
240
244
  return payload.location.pathname;
241
245
  },
242
246
  },
243
- // {
244
- // match: {
245
- // path:
246
- // '/(.*)marine(-new)?/policy-and-reporting/assessment-by-country(.*)',
247
- // exact: false,
248
- // strict: false,
249
- // },
250
- // url(payload) {
251
- // return payload.location.pathname;
252
- // },
253
- // },
254
- // {
255
- // match: {
256
- // path:
257
- // '/(.*)marine(-new)?/policy-and-reporting/assessment-by-region(.*)',
258
- // exact: false,
259
- // strict: false,
260
- // },
261
- // url(payload) {
262
- // return payload.location.pathname;
263
- // },
264
- // },
247
+ {
248
+ match: {
249
+ path:
250
+ '/(.*)marine(-new)?/policy-and-reporting/assessment-by-country(.*)',
251
+ exact: false,
252
+ strict: false,
253
+ },
254
+ url(payload) {
255
+ return payload.location.pathname;
256
+ },
257
+ },
258
+ {
259
+ match: {
260
+ path:
261
+ '/(.*)marine(-new)?/policy-and-reporting/assessment-by-region(.*)',
262
+ exact: false,
263
+ strict: false,
264
+ },
265
+ url(payload) {
266
+ return payload.location.pathname;
267
+ },
268
+ },
265
269
  ];
266
270
 
267
271
  config.settings.openExternalLinkInNewTab = true;
@@ -339,15 +343,6 @@ const applyConfig = (config) => {
339
343
  config.settings.slate.styleMenu = config.settings.slate.styleMenu || {};
340
344
  config.settings.slate.styleMenu.inlineStyles = [
341
345
  ...(config.settings.slate.styleMenu?.inlineStyles || []),
342
- { cssClass: 'h1', label: 'H1 36px' },
343
- { cssClass: 'h2', label: 'H2 30px' },
344
- { cssClass: 'h3', label: 'H3 24px' },
345
- { cssClass: 'h4', label: 'H4 18px' },
346
- { cssClass: 'h5', label: 'H5 14px' },
347
- { cssClass: 'p-text', label: 'Paragraph 18px' },
348
- { cssClass: 'poppins-regular', label: 'Poppins Regular' },
349
- { cssClass: 'poppins-light', label: 'Poppins Light' },
350
- { cssClass: 'poppins-bold', label: 'Poppins Bold' },
351
346
  { cssClass: 'large-text', label: 'Large text' },
352
347
  { cssClass: 'primary-big-text', label: 'Big text' },
353
348
  { cssClass: 'medium-text', label: 'Medium text' },
@@ -361,4 +361,11 @@ body.custom-page-header .breadcrumbs {
361
361
  margin-left: auto;
362
362
  margin-right: auto;
363
363
  width: 100%;
364
- }
364
+ }
365
+
366
+ @media only screen and (max-height: @tabletBreakpoint) {
367
+ #toolbar .toolbar-content.show {
368
+ height: 100%;
369
+ z-index: 5;
370
+ }
371
+ }