@eeacms/volto-eea-website-theme 0.7.1 → 0.7.2
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,11 +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.7.
|
7
|
+
### [0.7.2](https://github.com/eea/volto-eea-website-theme/compare/0.7.1...0.7.2) - 19 September 2022
|
8
8
|
|
9
9
|
#### :bug: Bug Fixes
|
10
10
|
|
11
|
-
- fix(
|
11
|
+
- fix(header): Apply changes from design system - refs #147798 [Alin Voinea - [`d28fa61`](https://github.com/eea/volto-eea-website-theme/commit/d28fa61a3d4c335cedabfa957969da5b5d9d75e0)]
|
12
|
+
- fix(header): letter case of know [David Ichim - [`ace90d9`](https://github.com/eea/volto-eea-website-theme/commit/ace90d97ad8bc4e7392f81635536631b8a9563c4)]
|
13
|
+
- fix(Header): language list output proper html code (ul, li) [Alin Voinea - [`6405531`](https://github.com/eea/volto-eea-website-theme/commit/6405531bd2480d3e109ac7f0581738310f662829)]
|
14
|
+
|
15
|
+
### [0.7.1](https://github.com/eea/volto-eea-website-theme/compare/0.7.0...0.7.1) - 1 September 2022
|
12
16
|
|
13
17
|
#### :nail_care: Enhancements
|
14
18
|
|
package/package.json
CHANGED
@@ -85,13 +85,20 @@ const EEAHeader = ({ pathname, token, items, history }) => {
|
|
85
85
|
<Image src={eeaFlag} alt="eea flag"></Image>
|
86
86
|
<Header.TopDropdownMenu
|
87
87
|
text="An official website of the European Union | How do you Know?"
|
88
|
+
tabletText="EEA information systems"
|
88
89
|
mobileText=" "
|
89
90
|
icon="chevron down"
|
90
91
|
aria-label="dropdown"
|
91
92
|
className=""
|
92
93
|
viewportWidth={width}
|
93
94
|
>
|
94
|
-
<div
|
95
|
+
<div
|
96
|
+
className="content"
|
97
|
+
role="menu"
|
98
|
+
tabIndex="0"
|
99
|
+
onClick={(evt) => evt.stopPropagation()}
|
100
|
+
onKeyDown={(evt) => evt.stopPropagation()}
|
101
|
+
>
|
95
102
|
<p>
|
96
103
|
All official European Union website addresses are in the{' '}
|
97
104
|
<b>europa.eu</b> domain.
|
@@ -142,9 +149,14 @@ const EEAHeader = ({ pathname, token, items, history }) => {
|
|
142
149
|
}
|
143
150
|
viewportWidth={width}
|
144
151
|
>
|
145
|
-
<
|
152
|
+
<ul
|
153
|
+
className="wrapper language-list"
|
154
|
+
role="listbox"
|
155
|
+
aria-label="language switcher"
|
156
|
+
>
|
146
157
|
{eea.languages.map((item, index) => (
|
147
158
|
<Dropdown.Item
|
159
|
+
as="li"
|
148
160
|
key={index}
|
149
161
|
text={
|
150
162
|
<span>
|
@@ -166,7 +178,7 @@ const EEAHeader = ({ pathname, token, items, history }) => {
|
|
166
178
|
}}
|
167
179
|
></Dropdown.Item>
|
168
180
|
))}
|
169
|
-
</
|
181
|
+
</ul>
|
170
182
|
</Header.TopDropdownMenu>
|
171
183
|
</Header.TopHeader>
|
172
184
|
<Header.Main
|