@eeacms/volto-eea-design-system 1.22.3 → 1.22.5
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 +15 -0
- package/package.json +1 -1
- package/src/ui/Banner/Banner.stories.jsx +1 -1
- package/src/ui/Footer/Footer.stories.test.js +0 -6
- package/src/ui/Footer/FooterSites.jsx +13 -16
- package/src/ui/Footer/SubFooter.jsx +10 -7
- package/theme/themes/eea/collections/breadcrumb.overrides +1 -0
- package/theme/themes/eea/definitions/elements/icon.less +12 -12
- package/theme/themes/eea/elements/button.overrides +1 -1
- package/theme/themes/eea/elements/icon.overrides +0 -5554
- package/theme/themes/eea/extras/custom.overrides +31 -0
- package/theme/themes/eea/extras/header.less +6 -2
- package/theme/themes/eea/extras/header.variables +1 -1
- package/theme/themes/eea/extras/inpageNavigation.less +1 -1
- package/theme/themes/eea/extras/tag.less +0 -5
- package/theme/themes/eea/extras/tag.variables +0 -1
- package/theme/themes/eea/views/card.overrides +1 -0
- package/theme/themes/eea/views/card.variables +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,21 @@ 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.5](https://github.com/eea/volto-eea-design-system/compare/1.22.4...1.22.5) - 17 January 2024
|
|
8
|
+
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix(a11y): alt text in FooterSites component [David Ichim - [`eff3fa0`](https://github.com/eea/volto-eea-design-system/commit/eff3fa0522b277a25a00e53c21bd4e838e677856)]
|
|
12
|
+
- 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)]
|
|
13
|
+
- fix(a11y): dropdown Certain ARIA roles must contain particular children error [David Ichim - [`8311bab`](https://github.com/eea/volto-eea-design-system/commit/8311bab99d2696cb52eeb9568aa38f2744477296)]
|
|
14
|
+
- fix: Make inpage-navigation not visibile on edit sidebar - refs #261560 [dobri1408 - [`e124080`](https://github.com/eea/volto-eea-design-system/commit/e124080b76c1dd2a2d63cf4fe0e6dd6f259bad8a)]
|
|
15
|
+
- 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)]
|
|
16
|
+
|
|
17
|
+
### [1.22.4](https://github.com/eea/volto-eea-design-system/compare/1.22.3...1.22.4) - 5 December 2023
|
|
18
|
+
|
|
19
|
+
#### :hammer_and_wrench: Others
|
|
20
|
+
|
|
21
|
+
- Update Twitter logo in Share to section. [Ghiță Bizău - [`d86fc21`](https://github.com/eea/volto-eea-design-system/commit/d86fc2144d7ae6b4a6cb5337820e9b13040fd455)]
|
|
7
22
|
### [1.22.3](https://github.com/eea/volto-eea-design-system/compare/1.22.2...1.22.3) - 4 December 2023
|
|
8
23
|
|
|
9
24
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -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
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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={
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
<
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
<
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
<Image
|
|
61
|
+
src={manager.src}
|
|
62
|
+
alt={manager.alt}
|
|
63
|
+
loading="lazy"
|
|
64
|
+
></Image>
|
|
62
65
|
</a>
|
|
63
66
|
</div>
|
|
64
67
|
</div>
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
Icon
|
|
22
22
|
*******************************/
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
font-display: swap;
|
|
26
|
-
font-family: 'Icons';
|
|
27
|
-
src: @fallbackSRC;
|
|
28
|
-
src: @src;
|
|
29
|
-
font-style: normal;
|
|
30
|
-
font-weight: @normal;
|
|
31
|
-
font-variant: normal;
|
|
32
|
-
text-decoration: inherit;
|
|
33
|
-
text-transform: none;
|
|
34
|
-
}
|
|
24
|
+
//@font-face {
|
|
25
|
+
// font-display: swap;
|
|
26
|
+
// font-family: 'Icons';
|
|
27
|
+
// src: @fallbackSRC;
|
|
28
|
+
// src: @src;
|
|
29
|
+
// font-style: normal;
|
|
30
|
+
// font-weight: @normal;
|
|
31
|
+
// font-variant: normal;
|
|
32
|
+
// text-decoration: inherit;
|
|
33
|
+
// text-transform: none;
|
|
34
|
+
//}
|
|
35
35
|
|
|
36
36
|
i.icon {
|
|
37
37
|
display: inline-block;
|
|
@@ -42,7 +42,7 @@ i.icon {
|
|
|
42
42
|
width: @width;
|
|
43
43
|
height: @height;
|
|
44
44
|
|
|
45
|
-
font-family: 'Icons';
|
|
45
|
+
//font-family: 'Icons';
|
|
46
46
|
font-style: normal;
|
|
47
47
|
font-weight: @normal;
|
|
48
48
|
text-decoration: inherit;
|
|
@@ -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
|
-
|
|
261
|
+
.ui.inverted.secondary.buttons .button:focus-visible,
|
|
262
262
|
.ui.inverted.secondary.button:focus-visible {
|
|
263
263
|
background-color: @secondaryColorFocus;
|
|
264
264
|
}
|