@eeacms/volto-eea-website-policy 0.4.0 → 0.4.2

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,11 +4,30 @@ 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.4.2](https://github.com/eea/volto-eea-website-policy/compare/0.4.1...0.4.2) - 28 September 2022
8
+
9
+ #### :rocket: New Features
10
+
11
+ - feat(accordion): Most used - refs #148213 [Alin Voinea - [`46a160c`](https://github.com/eea/volto-eea-website-policy/commit/46a160c97ae958df2e14d684bd2f9133f8a8497d)]
12
+
13
+ ### [0.4.1](https://github.com/eea/volto-eea-website-policy/compare/0.4.0...0.4.1) - 28 September 2022
14
+
15
+ #### :bug: Bug Fixes
16
+
17
+ - fix(Navigation): Hide navigation block [Alin Voinea - [`557284e`](https://github.com/eea/volto-eea-website-policy/commit/557284e6b3e85ecb63aab770cdb1abb8b8eb8d44)]
18
+
19
+ #### :hammer_and_wrench: Others
20
+
21
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`d153f54`](https://github.com/eea/volto-eea-website-policy/commit/d153f54e55e918fa4746e05488c734624eaf14a9)]
22
+ ### [0.4.0](https://github.com/eea/volto-eea-website-policy/compare/0.3.3...0.4.0) - 19 September 2022
23
+
24
+ #### :hammer_and_wrench: Others
25
+
26
+ - Release 0.4.0 [Alin Voinea - [`057ae58`](https://github.com/eea/volto-eea-website-policy/commit/057ae5873ddb72d5a59572447d446bf87022bcb6)]
7
27
  ### [0.3.3](https://github.com/eea/volto-eea-website-policy/compare/0.3.2...0.3.3) - 5 September 2022
8
28
 
9
29
  #### :hammer_and_wrench: Others
10
30
 
11
- - override(ContentTypeLayout): Enable volto.blocks.editable.layout - refs #153858 [Alin Voinea - [`a07d3f5`](https://github.com/eea/volto-eea-website-policy/commit/a07d3f5f175925fdcd600e3c99620b4c0f42cb69)]
12
31
  - override(ContentTypeLayout) - from @plone/volto 16 alpha 12 [Alin Voinea - [`777068d`](https://github.com/eea/volto-eea-website-policy/commit/777068d4b41d4c94863e2c34ea274f150ead7875)]
13
32
  ### [0.3.2](https://github.com/eea/volto-eea-website-policy/compare/0.3.1...0.3.2) - 10 August 2022
14
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-policy",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "@eeacms/volto-eea-website-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -12,7 +12,7 @@ export default (config) => {
12
12
  view: ContextNavigationView,
13
13
  edit: ContextNavigationEdit,
14
14
  schema: BlockSettingsSchema,
15
- restricted: false,
15
+ restricted: true,
16
16
  mostUsed: true,
17
17
  blockHasOwnFocusManagement: true,
18
18
  sidebarTab: 1,
package/src/index.js CHANGED
@@ -92,6 +92,11 @@ const applyConfig = (config) => {
92
92
  config.blocks.blocksConfig.columnsBlock.mostUsed = true;
93
93
  }
94
94
 
95
+ // Accordion
96
+ if (config.blocks.blocksConfig.accordion) {
97
+ config.blocks.blocksConfig.accordion.mostUsed = true;
98
+ }
99
+
95
100
  // Listing
96
101
  if (config.blocks.blocksConfig.listing) {
97
102
  config.blocks.blocksConfig.listing.title = 'Listing (Content)';