@eeacms/volto-eea-website-theme 1.9.0 → 1.9.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
CHANGED
@@ -4,6 +4,13 @@ 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.9.1](https://github.com/eea/volto-eea-website-theme/compare/1.9.0...1.9.1) - 28 February 2023
|
8
|
+
|
9
|
+
#### :bug: Bug Fixes
|
10
|
+
|
11
|
+
- fix(search): Fix accessibility for search suggestions #112 from eea/search-accessibility [ichim-david - [`d09551e`](https://github.com/eea/volto-eea-website-theme/commit/d09551e14ca630c2f0c93345c94a1c367e9d8bec)]
|
12
|
+
- fix(search): Fix accessibility for search suggestions [kreafox - [`037cb79`](https://github.com/eea/volto-eea-website-theme/commit/037cb7941755de82cebc8168fdca4cced80f2806)]
|
13
|
+
|
7
14
|
### [1.9.0](https://github.com/eea/volto-eea-website-theme/compare/1.8.2...1.9.0) - 21 February 2023
|
8
15
|
|
9
16
|
#### :rocket: New Features
|
@@ -143,6 +150,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
143
150
|
|
144
151
|
- For some reasons types is a string [Alin Voinea - [`3769a09`](https://github.com/eea/volto-eea-website-theme/commit/3769a0981181d5b633f3498daebbe96be8b4b833)]
|
145
152
|
- Fix(redirect): o.filter - refs #157627 [Alin Voinea - [`deb23da`](https://github.com/eea/volto-eea-website-theme/commit/deb23da846444cc96539697fd798429ae0abe89e)]
|
153
|
+
- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`f1fffc5`](https://github.com/eea/volto-eea-website-theme/commit/f1fffc5db96725440863d545580b4e76cce4b796)]
|
146
154
|
### [1.5.0](https://github.com/eea/volto-eea-website-theme/compare/1.4.2...1.5.0) - 9 January 2023
|
147
155
|
|
148
156
|
#### :hammer_and_wrench: Others
|
@@ -176,6 +184,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
176
184
|
|
177
185
|
- Release 1.4.0 [Alin Voinea - [`bd42a0d`](https://github.com/eea/volto-eea-website-theme/commit/bd42a0d26e928cac5d99933194755da3db06b341)]
|
178
186
|
- bump version to use as volto-eea-design-system [David Ichim - [`f4be047`](https://github.com/eea/volto-eea-website-theme/commit/f4be047328b46399b03b612d378b18aaf82e7dc1)]
|
187
|
+
- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`9b7cfef`](https://github.com/eea/volto-eea-website-theme/commit/9b7cfefb4d34fc1c948015e491feb370f9795bd8)]
|
179
188
|
- test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`df252a9`](https://github.com/eea/volto-eea-website-theme/commit/df252a9bfed0bb86cadf53c59dd1603b1e2cd822)]
|
180
189
|
### [1.3.2](https://github.com/eea/volto-eea-website-theme/compare/1.3.1...1.3.2) - 16 December 2022
|
181
190
|
|
@@ -185,6 +194,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
185
194
|
|
186
195
|
#### :hammer_and_wrench: Others
|
187
196
|
|
197
|
+
- Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`a43c658`](https://github.com/eea/volto-eea-website-theme/commit/a43c658a7920c8df95e763b9a637f38ce77eba2c)]
|
188
198
|
- Better razzle.config [Tiberiu Ichim - [`81dbf48`](https://github.com/eea/volto-eea-website-theme/commit/81dbf48815fb27facb4f82c9b764540fdf188b2e)]
|
189
199
|
- Better razzle.config [Tiberiu Ichim - [`7bc9da2`](https://github.com/eea/volto-eea-website-theme/commit/7bc9da2cd837ab62a95cd29979cdd9b0055b7d67)]
|
190
200
|
### [1.3.1](https://github.com/eea/volto-eea-website-theme/compare/1.3.0...1.3.1) - 28 November 2022
|
@@ -193,6 +203,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
193
203
|
|
194
204
|
- feat(Footer): Bring back footer contacts extra actions - refs #151856 [Alin Voinea - [`6c19413`](https://github.com/eea/volto-eea-website-theme/commit/6c194139420c9fd847692d180db1c1593e2483de)]
|
195
205
|
|
206
|
+
#### :hammer_and_wrench: Others
|
207
|
+
|
208
|
+
- yarn 3 [Alin Voinea - [`ea7a709`](https://github.com/eea/volto-eea-website-theme/commit/ea7a7094945312776e9b6f44e371178603e92139)]
|
196
209
|
### [1.3.0](https://github.com/eea/volto-eea-website-theme/compare/1.2.0...1.3.0) - 22 November 2022
|
197
210
|
|
198
211
|
#### :rocket: New Features
|
@@ -233,6 +246,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
233
246
|
- Add subsite class to body [Tiberiu Ichim - [`74d700f`](https://github.com/eea/volto-eea-website-theme/commit/74d700fbfd6249a8604762a7e4e49cce857db0f3)]
|
234
247
|
- Add subsite info to header [Tiberiu Ichim - [`47daf8b`](https://github.com/eea/volto-eea-website-theme/commit/47daf8bb6374a1222040626b19d4154df7ba1b83)]
|
235
248
|
- fix eslint [Miu Razvan - [`eb8d0a7`](https://github.com/eea/volto-eea-website-theme/commit/eb8d0a790bc70c0aae256c6ff35f63c4885f338e)]
|
249
|
+
- Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`cc578a4`](https://github.com/eea/volto-eea-website-theme/commit/cc578a413b205a8e61e091fab3a88f94cedefc89)]
|
236
250
|
### [1.1.0](https://github.com/eea/volto-eea-website-theme/compare/1.0.0...1.1.0) - 28 October 2022
|
237
251
|
|
238
252
|
#### :nail_care: Enhancements
|
@@ -280,6 +294,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
280
294
|
|
281
295
|
#### :hammer_and_wrench: Others
|
282
296
|
|
297
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`33b56ac`](https://github.com/eea/volto-eea-website-theme/commit/33b56acb13fbaf0c5b79e8fc6e13c4b699c79c90)]
|
283
298
|
### [0.7.3](https://github.com/eea/volto-eea-website-theme/compare/0.7.2...0.7.3) - 22 September 2022
|
284
299
|
|
285
300
|
#### :hammer_and_wrench: Others
|
@@ -547,6 +562,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
547
562
|
- Header refactor, add custom logo #5 [ichim-david - [`4950235`](https://github.com/eea/volto-eea-website-theme/commit/49502358105437cfeac3b144e6d301cb59aa2346)]
|
548
563
|
- Update footer.config with new publication card component [ichim-david - [`2e38e9a`](https://github.com/eea/volto-eea-website-theme/commit/2e38e9a417f835009d60c80d4eb4b30229f55e45)]
|
549
564
|
- feature(breadcrumbs): implement eea-design-system breadcrumb as Volto component #32 #7 [ichim-david - [`181af41`](https://github.com/eea/volto-eea-website-theme/commit/181af4125ce2b9ddac56dab4723cb11c26633221)]
|
565
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`da8ceb6`](https://github.com/eea/volto-eea-website-theme/commit/da8ceb68ea68bfbc9504e48ccd4d68277f11ab9a)]
|
550
566
|
- use breadcrumbs from eea-design-system [nileshgulia1 - [`db2f9e9`](https://github.com/eea/volto-eea-website-theme/commit/db2f9e9a4327420a3cce9a9903cd88549b129eab)]
|
551
567
|
- Update theme.config [ichim-david - [`8eca4f4`](https://github.com/eea/volto-eea-website-theme/commit/8eca4f40397a4aeca6d39029c92db78968d37064)]
|
552
568
|
- Added keyContent component to theme.config [ichim-david - [`d86f202`](https://github.com/eea/volto-eea-website-theme/commit/d86f202d0274d839487a88b51cae9a0e899beb23)]
|
@@ -588,4 +604,5 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
588
604
|
|
589
605
|
#### :hammer_and_wrench: Others
|
590
606
|
|
607
|
+
- yarn bootstrap [Alin Voinea - [`6995e9e`](https://github.com/eea/volto-eea-website-theme/commit/6995e9e091f21fdbbdffa8a44fc0e2c626f6d46a)]
|
591
608
|
- Initial commit [Alin Voinea - [`6a9c03a`](https://github.com/eea/volto-eea-website-theme/commit/6a9c03a7cebe71ca87e82cf58c42904063e9d8d3)]
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import React, { useEffect } from 'react';
|
2
2
|
import { Container, Input, List } from 'semantic-ui-react';
|
3
|
-
import { withRouter } from 'react-router-dom';
|
3
|
+
import { withRouter, Link } from 'react-router-dom';
|
4
4
|
import { useClickOutside } from '@eeacms/volto-eea-design-system/helpers';
|
5
5
|
import config from '@plone/volto/registry';
|
6
6
|
|
@@ -63,8 +63,6 @@ function HeaderSearchPopUp({
|
|
63
63
|
};
|
64
64
|
|
65
65
|
const onClickHandler = (suggestion) => {
|
66
|
-
history.push(`${path}?q=${suggestion}`);
|
67
|
-
|
68
66
|
if (window?.searchContext?.resetSearch) {
|
69
67
|
window.searchContext.resetSearch({ searchTerm: suggestion });
|
70
68
|
}
|
@@ -97,8 +95,13 @@ function HeaderSearchPopUp({
|
|
97
95
|
<List>
|
98
96
|
{visibleSuggestions.map((item, i) => {
|
99
97
|
return (
|
100
|
-
<List.Item key={i}
|
101
|
-
|
98
|
+
<List.Item key={i}>
|
99
|
+
<Link
|
100
|
+
to={`${path}?q=${item}`}
|
101
|
+
onClick={() => onClickHandler(item)}
|
102
|
+
>
|
103
|
+
{item}
|
104
|
+
</Link>
|
102
105
|
</List.Item>
|
103
106
|
);
|
104
107
|
})}
|
@@ -212,7 +212,14 @@ const EEAHeader = ({ pathname, token, items, history, subsite }) => {
|
|
212
212
|
|
213
213
|
{!!subsite && subsite.title && (
|
214
214
|
<UniversalLink item={subsite} className="subsite-logo">
|
215
|
-
{subsite.
|
215
|
+
{subsite.subsite_logo ? (
|
216
|
+
<Image
|
217
|
+
src={subsite.subsite_logo.scales.mini.download}
|
218
|
+
alt={subsite.title}
|
219
|
+
/>
|
220
|
+
) : (
|
221
|
+
subsite.title
|
222
|
+
)}
|
216
223
|
</UniversalLink>
|
217
224
|
)}
|
218
225
|
</div>
|