@eeacms/volto-eea-design-system 1.22.4 → 1.22.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/CHANGELOG.md CHANGED
@@ -4,6 +4,26 @@ 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.22.6](https://github.com/eea/volto-eea-design-system/compare/1.22.5...1.22.6) - 19 January 2024
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix(site): re-enable Icons font face still used in Volto [David Ichim - [`e85a1ab`](https://github.com/eea/volto-eea-design-system/commit/e85a1abd0b1c21fc531cbe7ef742cc504b53e1f1)]
12
+ - fix(site): re-enable Icons font face since it's still used in some of Volto's interface [David Ichim - [`fe0c296`](https://github.com/eea/volto-eea-design-system/commit/fe0c2966b0860905b062313ae018001dbf579ec9)]
13
+
14
+ #### :hammer_and_wrench: Others
15
+
16
+ - Revert "fix(site): re-enable Icons font face since it's still used in some of Volto's interface" [David Ichim - [`cefa221`](https://github.com/eea/volto-eea-design-system/commit/cefa2213d0b20d15a7ee3d6272a0a5f53057e07d)]
17
+ ### [1.22.5](https://github.com/eea/volto-eea-design-system/compare/1.22.4...1.22.5) - 17 January 2024
18
+
19
+ #### :bug: Bug Fixes
20
+
21
+ - fix(a11y): alt text in FooterSites component [David Ichim - [`eff3fa0`](https://github.com/eea/volto-eea-design-system/commit/eff3fa0522b277a25a00e53c21bd4e838e677856)]
22
+ - fix(a11y): Refactor lazy loading of images in Footer and SubFooter components [David Ichim - [`2513a82`](https://github.com/eea/volto-eea-design-system/commit/2513a82d69f7c76bd6231fc709328a4e3680e6b4)]
23
+ - fix(a11y): dropdown Certain ARIA roles must contain particular children error [David Ichim - [`8311bab`](https://github.com/eea/volto-eea-design-system/commit/8311bab99d2696cb52eeb9568aa38f2744477296)]
24
+ - fix: Make inpage-navigation not visibile on edit sidebar - refs #261560 [dobri1408 - [`e124080`](https://github.com/eea/volto-eea-design-system/commit/e124080b76c1dd2a2d63cf4fe0e6dd6f259bad8a)]
25
+ - fix(tabs): inside content boxes which apply theme and text color for children [David Ichim - [`d3902de`](https://github.com/eea/volto-eea-design-system/commit/d3902deff42cc62459888a5085b229e746fc8d12)]
26
+
7
27
  ### [1.22.4](https://github.com/eea/volto-eea-design-system/compare/1.22.3...1.22.4) - 5 December 2023
8
28
 
9
29
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-design-system",
3
- "version": "1.22.4",
3
+ "version": "1.22.6",
4
4
  "description": "@eeacms/volto-eea-design-system: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -6,12 +6,6 @@ import { Default } from './Footer.stories';
6
6
  import Footer from './Footer';
7
7
  import '@testing-library/jest-dom/extend-expect';
8
8
 
9
- jest.mock('react-lazy-load-image-component', () => {
10
- return {
11
- LazyLoadComponent: ({ children }) => <>{children}</>,
12
- };
13
- });
14
-
15
9
  describe('Default', () => {
16
10
  let history;
17
11
  let observe;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { Grid, Image } from 'semantic-ui-react';
3
- import { LazyLoadComponent } from 'react-lazy-load-image-component';
4
3
 
5
4
  import PropTypes from 'prop-types';
6
5
 
@@ -13,22 +12,20 @@ const Sites = (props) => {
13
12
  column.push(
14
13
  <Grid.Column className="logo" key={i}>
15
14
  <a className="logo" href={item.url} aria-label={item.alt}>
16
- <LazyLoadComponent>
17
- <Image
18
- className={item.className}
19
- src={item.src}
20
- alt={item.alt}
21
- ></Image>
22
- </LazyLoadComponent>
15
+ <Image
16
+ className={item.className}
17
+ src={item.src}
18
+ alt={''}
19
+ loading="lazy"
20
+ ></Image>
23
21
  </a>
24
- <a className="logo" href={nextItem.url} aria-label={item.alt}>
25
- <LazyLoadComponent>
26
- <Image
27
- className={nextItem.className}
28
- src={nextItem.src}
29
- alt={nextItem.alt}
30
- ></Image>
31
- </LazyLoadComponent>
22
+ <a className="logo" href={nextItem.url} aria-label={nextItem.alt}>
23
+ <Image
24
+ className={nextItem.className}
25
+ src={nextItem.src}
26
+ alt={''}
27
+ loading="lazy"
28
+ ></Image>
32
29
  </a>
33
30
  </Grid.Column>,
34
31
  );
@@ -2,7 +2,6 @@ import React from 'react';
2
2
  import Footer from './Footer';
3
3
 
4
4
  import { Grid, Image } from 'semantic-ui-react';
5
- import { LazyLoadComponent } from 'react-lazy-load-image-component';
6
5
 
7
6
  const SubFooter = (props) => {
8
7
  if (props.children) {
@@ -24,9 +23,11 @@ const SubFooter = (props) => {
24
23
  <div className="item">
25
24
  <div className={manager.className}>
26
25
  <a href={manager.url}>
27
- <LazyLoadComponent>
28
- <Image src={manager.src} alt={manager.alt}></Image>
29
- </LazyLoadComponent>
26
+ <Image
27
+ src={manager.src}
28
+ alt={manager.alt}
29
+ loading="lazy"
30
+ ></Image>
30
31
  </a>
31
32
  </div>
32
33
  </div>
@@ -56,9 +57,11 @@ const SubFooter = (props) => {
56
57
  <div className="item">
57
58
  <div className={manager.className}>
58
59
  <a href={manager.url}>
59
- <LazyLoadComponent>
60
- <Image src={manager.src} alt={manager.alt}></Image>
61
- </LazyLoadComponent>
60
+ <Image
61
+ src={manager.src}
62
+ alt={manager.alt}
63
+ loading="lazy"
64
+ ></Image>
62
65
  </a>
63
66
  </div>
64
67
  </div>
@@ -5,6 +5,7 @@
5
5
  .ui.breadcrumb {
6
6
  display: flex;
7
7
  align-items: center;
8
+ line-height: @lineHeight;
8
9
 
9
10
  .home.icon {
10
11
  margin-right: 0;
@@ -258,7 +258,7 @@ p.ui.button {
258
258
 
259
259
  .ui.inverted.secondary.buttons .button:focus,
260
260
  .ui.inverted.secondary.button:focus,
261
- \.ui.inverted.secondary.buttons .button:focus-visible,
261
+ .ui.inverted.secondary.buttons .button:focus-visible,
262
262
  .ui.inverted.secondary.button:focus-visible {
263
263
  background-color: @secondaryColorFocus;
264
264
  }