@eeacms/volto-marine-policy 1.1.14 → 1.1.15

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,14 @@ 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.15](https://github.com/eea/volto-marine-policy/compare/1.1.14...1.1.15) - 10 June 2024
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix: add a custom theme widget for sub-theme refs#270459 [nileshgulia1 - [`c0e310a`](https://github.com/eea/volto-marine-policy/commit/c0e310a3c28a9d4d0f1e9deabc41b0bb54bd5b8f)]
12
+ - fix(contextNav): do not show down arrow on empty items [nileshgulia1 - [`11b70da`](https://github.com/eea/volto-marine-policy/commit/11b70da2453da8a09585a141ecc0891fbb17590d)]
13
+ - fix: SP Measures view css [nileshgulia1 - [`3cdc62d`](https://github.com/eea/volto-marine-policy/commit/3cdc62dfc7ce07ae6cec7982a30ccf8139e9dc1f)]
14
+
7
15
  ### [1.1.14](https://github.com/eea/volto-marine-policy/compare/1.1.13...1.1.14) - 5 June 2024
8
16
 
9
17
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-marine-policy",
3
- "version": "1.1.14",
3
+ "version": "1.1.15",
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",
@@ -53,14 +53,14 @@ const Accordion = (props) => {
53
53
  handleIconClick(e, index);
54
54
  }}
55
55
  />
56
- ) : (
56
+ ) : showChildren ? (
57
57
  <Icon
58
58
  className="ri-arrow-down-s-line"
59
59
  onClick={(e) => {
60
60
  handleIconClick(e, index);
61
61
  }}
62
62
  />
63
- )}
63
+ ) : null}
64
64
  </SemanticAccordion.Title>
65
65
  <SemanticAccordion.Content active={active && showChildren}>
66
66
  <AccordionContent
@@ -191,7 +191,7 @@ const MeasureView = (props) => {
191
191
  <React.Fragment>
192
192
  <BodyClass className="custom-page-header" />
193
193
  <IsomorphicPortal>
194
- <div className="measure-header content-box">
194
+ <div className="measure-header content-box ui container">
195
195
  <div className="measure-header-content">
196
196
  <h1 className="measure-title">
197
197
  <String val={truncateTitle()} />
package/src/index.js CHANGED
@@ -114,7 +114,7 @@ const applyConfig = (config) => {
114
114
  // check if it breaks the 'theme' field in volto-tabs-block in the 'horizontal carousel' layout
115
115
  // We have a 'theme' field in the wise catalogue metadata (CatalogueMetadata)
116
116
  config.widgets.id.indicator_theme = TokenWidget;
117
- // config.widgets.id.theme = TokenWidget;
117
+ config.widgets.widget.wise_theme = TokenWidget;
118
118
 
119
119
  config.blocks.groupBlocksOrder = [
120
120
  ...config.blocks.groupBlocksOrder,