@eeacms/volto-eea-design-system 1.23.4 → 1.23.6
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/.eslintrc.js
CHANGED
|
@@ -3,12 +3,10 @@ const path = require('path');
|
|
|
3
3
|
|
|
4
4
|
const projectRootPath = fs.existsSync('./project')
|
|
5
5
|
? fs.realpathSync('./project')
|
|
6
|
-
: fs.realpathSync('
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
'jsconfig.json',
|
|
11
|
-
)).compilerOptions;
|
|
6
|
+
: fs.realpathSync(__dirname + '/../../../');
|
|
7
|
+
const jsConfig = require(
|
|
8
|
+
path.join(projectRootPath, 'jsconfig.json'),
|
|
9
|
+
).compilerOptions;
|
|
12
10
|
|
|
13
11
|
const pathsConfig = jsConfig.paths;
|
|
14
12
|
|
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,25 @@ 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.23.
|
|
7
|
+
### [1.23.6](https://github.com/eea/volto-eea-design-system/compare/1.23.5...1.23.6) - 16 April 2024
|
|
8
|
+
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix(inpage-navigation): warning Can't perform a React state update on an unmounted component [David Ichim - [`1192493`](https://github.com/eea/volto-eea-design-system/commit/119249384f8f7f4dab6a4c093c182b5dd12bb4f6)]
|
|
12
|
+
|
|
13
|
+
#### :hammer_and_wrench: Others
|
|
14
|
+
|
|
15
|
+
- Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`2ccf437`](https://github.com/eea/volto-eea-design-system/commit/2ccf4372f93d56ce3cc8bfd66de5c9fbb2698cf4)]
|
|
16
|
+
### [1.23.5](https://github.com/eea/volto-eea-design-system/compare/1.23.4...1.23.5) - 5 April 2024
|
|
17
|
+
|
|
18
|
+
#### :nail_care: Enhancements
|
|
19
|
+
|
|
20
|
+
- change(hero): delete button color is set to white due to our theme colors [David Ichim - [`2ea46e7`](https://github.com/eea/volto-eea-design-system/commit/2ea46e73adc525e420e420e9e71cae3fcf5ad368)]
|
|
21
|
+
|
|
22
|
+
#### :hammer_and_wrench: Others
|
|
23
|
+
|
|
24
|
+
- fixed(lint): projectRootPath path reference used by eslint [David Ichim - [`c3311cb`](https://github.com/eea/volto-eea-design-system/commit/c3311cbc2fd6c66288588206cb86f2d216b31fbf)]
|
|
25
|
+
### [1.23.4](https://github.com/eea/volto-eea-design-system/compare/1.23.3...1.23.4) - 26 March 2024
|
|
8
26
|
|
|
9
27
|
#### :nail_care: Enhancements
|
|
10
28
|
|
package/package.json
CHANGED
|
@@ -9,6 +9,10 @@ class InpageNavigation extends Component {
|
|
|
9
9
|
scrollPosition: 0,
|
|
10
10
|
removeClass: 'hidden',
|
|
11
11
|
};
|
|
12
|
+
this.debouncedHandleInpageNavigationVisibility = debounce(
|
|
13
|
+
this.handleInpageNavigationVisibility,
|
|
14
|
+
250,
|
|
15
|
+
);
|
|
12
16
|
}
|
|
13
17
|
|
|
14
18
|
handleInpageNavigationVisibility = () => {
|
|
@@ -25,12 +29,16 @@ class InpageNavigation extends Component {
|
|
|
25
29
|
componentDidMount() {
|
|
26
30
|
window.addEventListener(
|
|
27
31
|
'scroll',
|
|
28
|
-
|
|
32
|
+
this.debouncedHandleInpageNavigationVisibility,
|
|
29
33
|
);
|
|
30
34
|
}
|
|
31
35
|
|
|
32
36
|
componentWillUnmount() {
|
|
33
|
-
window.removeEventListener(
|
|
37
|
+
window.removeEventListener(
|
|
38
|
+
'scroll',
|
|
39
|
+
this.debouncedHandleInpageNavigationVisibility,
|
|
40
|
+
);
|
|
41
|
+
this.debouncedHandleInpageNavigationVisibility.cancel();
|
|
34
42
|
}
|
|
35
43
|
|
|
36
44
|
onInpageNavigationClick = () => {
|