@eeacms/volto-eea-website-theme 0.6.16 → 0.6.17

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,8 +4,15 @@ 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.6.17](https://github.com/eea/volto-eea-website-theme/compare/0.6.16...0.6.17)
8
+
9
+ - Set focus on search input field in the popup on click [`#50`](https://github.com/eea/volto-eea-website-theme/pull/50)
10
+
7
11
  #### [0.6.16](https://github.com/eea/volto-eea-website-theme/compare/0.6.15...0.6.16)
8
12
 
13
+ > 1 August 2022
14
+
15
+ - Release [`#49`](https://github.com/eea/volto-eea-website-theme/pull/49)
9
16
  - Nonapi breadcrumbs [`#48`](https://github.com/eea/volto-eea-website-theme/pull/48)
10
17
  - Make Breadcrumbs behave better with non-content routes [`9407840`](https://github.com/eea/volto-eea-website-theme/commit/94078403458a5a3ea725ce9126fffed9d463097d)
11
18
  - change(megamenu): add border for active element of menu [`252efc4`](https://github.com/eea/volto-eea-website-theme/commit/252efc4485961c8d05e3703fee06179a0fdc8da3)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-theme",
3
- "version": "0.6.16",
3
+ "version": "0.6.17",
4
4
  "description": "@eeacms/volto-eea-website-theme: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -3,7 +3,12 @@ import { Container, Input } from 'semantic-ui-react';
3
3
  import { withRouter } from 'react-router-dom';
4
4
  import { useClickOutside } from '@eeacms/volto-eea-design-system/helpers';
5
5
 
6
- function HeaderSearchPopUp({ history, onClose, triggerRefs = [] }) {
6
+ function HeaderSearchPopUp({
7
+ history,
8
+ onClose,
9
+ searchInputRef,
10
+ triggerRefs = [],
11
+ }) {
7
12
  const nodeRef = React.useRef();
8
13
  const [text, setText] = React.useState('');
9
14
 
@@ -30,6 +35,7 @@ function HeaderSearchPopUp({ history, onClose, triggerRefs = [] }) {
30
35
  <Container>
31
36
  <div className="wrapper">
32
37
  <Input
38
+ ref={searchInputRef}
33
39
  className="search"
34
40
  onChange={onChangeText}
35
41
  icon={{