@eeacms/volto-eea-design-system 0.7.0 → 0.7.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 +8 -0
- package/package.json +1 -1
- package/src/helpers/useClickOutside.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,16 @@ 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.7.1](https://github.com/eea/volto-eea-design-system/compare/0.7.0...0.7.1)
|
|
8
|
+
|
|
9
|
+
- Replace useLayoutEffect with useEffect, less notifications [`#213`](https://github.com/eea/volto-eea-design-system/pull/213)
|
|
10
|
+
- Autobuild of docusaurus docs [`d763e15`](https://github.com/eea/volto-eea-design-system/commit/d763e15196988c7224fd79be9cbab1034caa0920)
|
|
11
|
+
|
|
7
12
|
#### [0.7.0](https://github.com/eea/volto-eea-design-system/compare/0.6.5...0.7.0)
|
|
8
13
|
|
|
14
|
+
> 1 August 2022
|
|
15
|
+
|
|
16
|
+
- Release [`#212`](https://github.com/eea/volto-eea-design-system/pull/212)
|
|
9
17
|
- Autobuild of docusaurus docs [`dd56a87`](https://github.com/eea/volto-eea-design-system/commit/dd56a87ca49282b8660b2fc1edc73f31441cceb2)
|
|
10
18
|
- change(mega menu): use non variable to fix build of volto-kitkat-frontend [`3ecd652`](https://github.com/eea/volto-eea-design-system/commit/3ecd652405ba616c9defc86fd793f8c066c0af1e)
|
|
11
19
|
- Autobuild of docusaurus docs [`a67aeb8`](https://github.com/eea/volto-eea-design-system/commit/a67aeb89dd7590605af9fd1fc4d99812061e166b)
|
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@ export default function useClickOutside({ targetRefs = [], callback }) {
|
|
|
19
19
|
[callback, targetRefs],
|
|
20
20
|
);
|
|
21
21
|
|
|
22
|
-
React.
|
|
22
|
+
React.useEffect(() => {
|
|
23
23
|
document.addEventListener('mousedown', handleClickOutside, false);
|
|
24
24
|
return () => {
|
|
25
25
|
document.removeEventListener('mousedown', handleClickOutside, false);
|