@eeacms/volto-eea-website-policy 1.0.0 → 1.0.1

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
- ### [1.0.0](https://github.com/eea/volto-eea-website-policy/compare/0.4.2...1.0.0) - 28 October 2022
7
+ ### [1.0.1](https://github.com/eea/volto-eea-website-policy/compare/1.0.0...1.0.1) - 28 October 2022
8
+
9
+ #### :nail_care: Enhancements
10
+
11
+ - refactor(customizations): Upgrade Toolbar customization to volto 16 alpha 45 [Alin Voinea - [`08b14d6`](https://github.com/eea/volto-eea-website-policy/commit/08b14d64958316f434f79dc4b3308164a3f1df38)]
12
+
13
+ ## [1.0.0](https://github.com/eea/volto-eea-website-policy/compare/0.4.2...1.0.0) - 28 October 2022
8
14
 
9
15
  #### :nail_care: Enhancements
10
16
 
@@ -24,6 +30,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
24
30
 
25
31
  #### :hammer_and_wrench: Others
26
32
 
33
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`d153f54`](https://github.com/eea/volto-eea-website-policy/commit/d153f54e55e918fa4746e05488c734624eaf14a9)]
27
34
  ### [0.4.0](https://github.com/eea/volto-eea-website-policy/compare/0.3.3...0.4.0) - 19 September 2022
28
35
 
29
36
  #### :hammer_and_wrench: Others
@@ -99,6 +106,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
99
106
  - format index.js [Andrei Grigore - [`db4481a`](https://github.com/eea/volto-eea-website-policy/commit/db4481aeeba59a769272659f33278c902fc69bec)]
100
107
  - Update index.js [Alexandru Ghica - [`dc09886`](https://github.com/eea/volto-eea-website-policy/commit/dc0988640a76a9914381b120f58bb61a9ab1eb39)]
101
108
  - Added externalRoutes [Alexandru Ghica - [`b68135b`](https://github.com/eea/volto-eea-website-policy/commit/b68135b013fafa93a41ea602ea2fad30879abe0f)]
109
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`575cca6`](https://github.com/eea/volto-eea-website-policy/commit/575cca674602ca2e1c2a41300c47ba594ff49aa0)]
102
110
  ### [0.1.1](https://github.com/eea/volto-eea-website-policy/compare/0.1.0...0.1.1) - 4 March 2022
103
111
 
104
112
  #### :hammer_and_wrench: Others
@@ -111,4 +119,5 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
111
119
 
112
120
  #### :hammer_and_wrench: Others
113
121
 
122
+ - yarn bootstrap [Alin Voinea - [`9b4d197`](https://github.com/eea/volto-eea-website-policy/commit/9b4d197cbc7992566cb36524d190078d5ad21a44)]
114
123
  - Initial commit [Alin Voinea - [`3800692`](https://github.com/eea/volto-eea-website-policy/commit/3800692f7a4de6460815bd6061facacb986cbef0)]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-policy",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
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",
@@ -38,6 +38,7 @@ import folderSVG from '@plone/volto/icons/folder.svg';
38
38
  import addSVG from '@plone/volto/icons/add-document.svg';
39
39
  import moreSVG from '@plone/volto/icons/more.svg';
40
40
  import userSVG from '@plone/volto/icons/user.svg';
41
+ import backSVG from '@plone/volto/icons/back.svg';
41
42
  import clearSVG from '@plone/volto/icons/clear.svg';
42
43
 
43
44
  const messages = defineMessages({
@@ -272,6 +273,14 @@ class Toolbar extends Component {
272
273
  showMenu: !state.showMenu,
273
274
  menuStyle: { bottom: 0 },
274
275
  }));
276
+ } else if (selector === 'more') {
277
+ this.setState((state) => ({
278
+ showMenu: !state.showMenu,
279
+ menuStyle: {
280
+ overflow: 'visible',
281
+ top: 0,
282
+ },
283
+ }));
275
284
  } else {
276
285
  this.setState((state) => ({
277
286
  showMenu: !state.showMenu,
@@ -467,8 +476,8 @@ class Toolbar extends Component {
467
476
  )}
468
477
  >
469
478
  <Icon
470
- name={clearSVG}
471
- className="contents circled"
479
+ name={backSVG}
480
+ className="circled"
472
481
  size="30px"
473
482
  title={this.props.intl.formatMessage(messages.back)}
474
483
  />