@eeacms/volto-eea-design-system 1.61.4 → 1.61.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
CHANGED
|
@@ -4,7 +4,17 @@ 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.61.
|
|
7
|
+
### [1.61.5](https://github.com/eea/volto-eea-design-system/compare/1.61.4...1.61.5) - 6 October 2026
|
|
8
|
+
|
|
9
|
+
#### :rocket: New Features
|
|
10
|
+
|
|
11
|
+
- feat(subsite): use optional useAISearchIcon for subsite passed via headerSearch Controlpanel refs#308136 [nileshgulia1 - [`5c5bebc`](https://github.com/eea/volto-eea-design-system/commit/5c5bebcb47e99168553d3f811493ec7d98858c0e)]
|
|
12
|
+
|
|
13
|
+
#### :nail_care: Enhancements
|
|
14
|
+
|
|
15
|
+
- refactor: only turn off the site wide ai search action when subsite wants it. [nileshgulia1 - [`1cf5bed`](https://github.com/eea/volto-eea-design-system/commit/1cf5bed4bb4f5942635aabf2009f128171704a80)]
|
|
16
|
+
|
|
17
|
+
### [1.61.4](https://github.com/eea/volto-eea-design-system/compare/1.61.3...1.61.4) - 6 October 2026
|
|
8
18
|
|
|
9
19
|
#### :rocket: New Features
|
|
10
20
|
|
|
@@ -40,6 +50,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
40
50
|
#### :house: Internal changes
|
|
41
51
|
|
|
42
52
|
- chore(gitleaks): allowlist flag.overrides stylesheet [Claudia Ifrim - [`d3ac637`](https://github.com/eea/volto-eea-design-system/commit/d3ac637ed1396c04e600971abf50b26ae3bcdaa3)]
|
|
53
|
+
- chore: [JENKINSFILE] sanitize sonarqube command Refs #305084 [valentinab25 - [`c933e31`](https://github.com/eea/volto-eea-design-system/commit/c933e31abf8b564a4d11f860e8df93ad86edff51)]
|
|
43
54
|
|
|
44
55
|
#### :hammer_and_wrench: Others
|
|
45
56
|
|
|
@@ -130,6 +141,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
130
141
|
|
|
131
142
|
#### :house: Internal changes
|
|
132
143
|
|
|
144
|
+
- chore: [JENKINSFILE] add package version in sonarqube [valentinab25 - [`a2500ee`](https://github.com/eea/volto-eea-design-system/commit/a2500ee91c3d926183403b7e55ef717f697eb736)]
|
|
145
|
+
- chore: [JENKINSFILE] use sonarqube branches [EEA Jenkins - [`79058be`](https://github.com/eea/volto-eea-design-system/commit/79058be6ad228970127ee388bbc78ad69b92465b)]
|
|
133
146
|
|
|
134
147
|
#### :hammer_and_wrench: Others
|
|
135
148
|
|
|
@@ -166,6 +179,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
166
179
|
#### :hammer_and_wrench: Others
|
|
167
180
|
|
|
168
181
|
- add rule for eeacms/countup to jest-config.js [David Ichim - [`59244c2`](https://github.com/eea/volto-eea-design-system/commit/59244c2e85447766e9e2a051e080652d93f67458)]
|
|
182
|
+
- Add Sonarqube tag using bise-frontend addons list [EEA Jenkins - [`314266b`](https://github.com/eea/volto-eea-design-system/commit/314266bd8131b8ade427f23f81a084714f0104af)]
|
|
169
183
|
### [1.40.0](https://github.com/eea/volto-eea-design-system/compare/1.39.1...1.40.0) - 4 November 2025
|
|
170
184
|
|
|
171
185
|
### [1.39.1](https://github.com/eea/volto-eea-design-system/compare/1.39.0...1.39.1) - 22 September 2025
|
|
@@ -241,8 +255,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
241
255
|
|
|
242
256
|
#### :hammer_and_wrench: Others
|
|
243
257
|
|
|
258
|
+
- Add Sonarqube tag using fise-frontend addons list [EEA Jenkins - [`d3a993f`](https://github.com/eea/volto-eea-design-system/commit/d3a993f7c9f687d709e1c8bc48b4972aca7a161e)]
|
|
244
259
|
- Fix with sed the issue from line 714 missing } [David Ichim - [`e4e10a0`](https://github.com/eea/volto-eea-design-system/commit/e4e10a0a8a82c1fa20dcff9fa8178a6a938a7fd5)]
|
|
245
260
|
- Fixed link for don't use more than six colors [David Ichim - [`f42c698`](https://github.com/eea/volto-eea-design-system/commit/f42c69895258291ef72c0299e348f5671b2c127b)]
|
|
261
|
+
- Add Sonarqube tag using ied-frontend addons list [EEA Jenkins - [`a8fa4e1`](https://github.com/eea/volto-eea-design-system/commit/a8fa4e157f6351939fd6ee126f733efc1adf6dfe)]
|
|
246
262
|
- lint fix [David Ichim - [`5d4d60a`](https://github.com/eea/volto-eea-design-system/commit/5d4d60ac305b8694fec64a9cce625a1015e8486f)]
|
|
247
263
|
### [1.36.3](https://github.com/eea/volto-eea-design-system/compare/1.36.2...1.36.3) - 4 March 2025
|
|
248
264
|
|
|
@@ -276,6 +292,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
276
292
|
#### :hammer_and_wrench: Others
|
|
277
293
|
|
|
278
294
|
- Update package.json [Ichim David - [`40ae6a7`](https://github.com/eea/volto-eea-design-system/commit/40ae6a70377c54256f7365a12bded4e25b0c322e)]
|
|
295
|
+
- Add Sonarqube tag using bise-frontend addons list [EEA Jenkins - [`b433236`](https://github.com/eea/volto-eea-design-system/commit/b433236f3e264304c86082281da90384da7ab0ff)]
|
|
279
296
|
### [1.34.1](https://github.com/eea/volto-eea-design-system/compare/1.34.0...1.34.1) - 14 October 2024
|
|
280
297
|
|
|
281
298
|
### [1.34.0](https://github.com/eea/volto-eea-design-system/compare/1.33.1...1.34.0) - 11 October 2024
|
|
@@ -357,6 +374,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
357
374
|
|
|
358
375
|
#### :hammer_and_wrench: Others
|
|
359
376
|
|
|
377
|
+
- Add Sonarqube tag using marine-frontend addons list [EEA Jenkins - [`dfa1d1b`](https://github.com/eea/volto-eea-design-system/commit/dfa1d1bd53ae63b20aa0ef64c37bf71faf376290)]
|
|
360
378
|
### [1.31.0](https://github.com/eea/volto-eea-design-system/compare/1.23.8...1.31.0) - 22 May 2024
|
|
361
379
|
|
|
362
380
|
#### :boom: Breaking Change
|
|
@@ -385,6 +403,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
385
403
|
|
|
386
404
|
#### :hammer_and_wrench: Others
|
|
387
405
|
|
|
406
|
+
- Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`2ccf437`](https://github.com/eea/volto-eea-design-system/commit/2ccf4372f93d56ce3cc8bfd66de5c9fbb2698cf4)]
|
|
388
407
|
### [1.23.5](https://github.com/eea/volto-eea-design-system/compare/1.23.4...1.23.5) - 5 April 2024
|
|
389
408
|
|
|
390
409
|
#### :nail_care: Enhancements
|
|
@@ -420,6 +439,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
420
439
|
- Update package.json version to 1.23.0 [David Ichim - [`4b2eeee`](https://github.com/eea/volto-eea-design-system/commit/4b2eeee398b771ac80111e1755f67273c8940ced)]
|
|
421
440
|
- fixed merge conflict [David Ichim - [`efe0f4b`](https://github.com/eea/volto-eea-design-system/commit/efe0f4b7df1782f5143e1bee31c997801427d35c)]
|
|
422
441
|
- Update react-slick version to 0.30.1 [David Ichim - [`62d4570`](https://github.com/eea/volto-eea-design-system/commit/62d457014866fc075a3203fd0f9e66354aa73fe5)]
|
|
442
|
+
- Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`c6c74f0`](https://github.com/eea/volto-eea-design-system/commit/c6c74f049ee787632b8ad0ec0f28531ac4d0f20f)]
|
|
443
|
+
- Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`d3d7793`](https://github.com/eea/volto-eea-design-system/commit/d3d779363caa10f384d829a7e4242c5d54268099)]
|
|
423
444
|
### [1.23.0](https://github.com/eea/volto-eea-design-system/compare/1.22.7...1.23.0) - 19 February 2024
|
|
424
445
|
|
|
425
446
|
### [1.22.7](https://github.com/eea/volto-eea-design-system/compare/1.22.6...1.22.7) - 22 January 2024
|
|
@@ -505,7 +526,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
505
526
|
- Add dropdown test case to Header component [David Ichim - [`9ea3234`](https://github.com/eea/volto-eea-design-system/commit/9ea3234c2c0f1c819c7c2b54a75c56cda7812c56)]
|
|
506
527
|
- Remove unused import in Header.test.jsx [David Ichim - [`082069e`](https://github.com/eea/volto-eea-design-system/commit/082069e1f057786e0f1fb00c98d54b8e03b5d9c5)]
|
|
507
528
|
- Added some tests for TopDropdownMenu mobile and dropdown interaction [David Ichim - [`9d24488`](https://github.com/eea/volto-eea-design-system/commit/9d24488c1e97b2b1b14bd9bd8cb6f5b68414794b)]
|
|
529
|
+
- test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`eadf018`](https://github.com/eea/volto-eea-design-system/commit/eadf018aa1f32d310619ce4ef08f9b11950a20dc)]
|
|
508
530
|
- Lint fix [David Ichim - [`e29fd50`](https://github.com/eea/volto-eea-design-system/commit/e29fd50ee73477007dcf94a268596e6c11176d7b)]
|
|
531
|
+
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`947cb92`](https://github.com/eea/volto-eea-design-system/commit/947cb929c01ebb6f46bf124833fe1fec0f385edb)]
|
|
532
|
+
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`8356dfe`](https://github.com/eea/volto-eea-design-system/commit/8356dfe929039dcd165af0692cbbfc771a0f7fb4)]
|
|
533
|
+
- test: [JENKINS] Improve cypress time [valentinab25 - [`e38f17e`](https://github.com/eea/volto-eea-design-system/commit/e38f17ed735e743e59df7d06ca723c1218bdb569)]
|
|
509
534
|
### [1.20.0](https://github.com/eea/volto-eea-design-system/compare/1.19.0...1.20.0) - 2 November 2023
|
|
510
535
|
|
|
511
536
|
#### :rocket: New Features
|
|
@@ -538,6 +563,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
538
563
|
|
|
539
564
|
#### :house: Internal changes
|
|
540
565
|
|
|
566
|
+
- chore: [JENKINS] do not run tests on PR comments [valentinab25 - [`51b68fc`](https://github.com/eea/volto-eea-design-system/commit/51b68fc76a956996e01521b784262c67e7094d35)]
|
|
567
|
+
- chore: [JENKINS] add comment step [valentinab25 - [`5022758`](https://github.com/eea/volto-eea-design-system/commit/50227587db2c72d17e26e7b66f28d4c09b760873)]
|
|
568
|
+
- chore: [JENKINS] Refactor automated testing [valentinab25 - [`a70ca64`](https://github.com/eea/volto-eea-design-system/commit/a70ca642918f578d6737d975e4769bac8312f48d)]
|
|
541
569
|
- chore: husky, lint-staged use fixed versions [valentinab25 - [`59ecb8e`](https://github.com/eea/volto-eea-design-system/commit/59ecb8e28b259472303324f9655b0cbbcbbf9c23)]
|
|
542
570
|
|
|
543
571
|
#### :hammer_and_wrench: Others
|
|
@@ -663,6 +691,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
663
691
|
|
|
664
692
|
#### :hammer_and_wrench: Others
|
|
665
693
|
|
|
694
|
+
- test: Fix eslint and yarn i18n [Alin Voinea - [`331149f`](https://github.com/eea/volto-eea-design-system/commit/331149f5eb16a9cc6f2d996f7b793909773063c2)]
|
|
666
695
|
- i18n: Add en [Alin Voinea - [`4584295`](https://github.com/eea/volto-eea-design-system/commit/458429530d993c27cfb962ddfe2f376f3568bf01)]
|
|
667
696
|
- Release 1.17.0 [Alin Voinea - [`e3c25ee`](https://github.com/eea/volto-eea-design-system/commit/e3c25eeeca5e863244faae396b5aa915d0702633)]
|
|
668
697
|
- test: add unit tests for DS components - refs #254313 [ana-oprea - [`0c4d4d1`](https://github.com/eea/volto-eea-design-system/commit/0c4d4d118b8e13082c576dc5c2dce6a715f49006)]
|
|
@@ -772,6 +801,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
772
801
|
#### :hammer_and_wrench: Others
|
|
773
802
|
|
|
774
803
|
- Release 1.14.0 [Alin Voinea - [`cb9084f`](https://github.com/eea/volto-eea-design-system/commit/cb9084fb2246dc1b729e12a419a26daa12c26f7a)]
|
|
804
|
+
- test: [JENKINS] set pipe fail [valentinab25 - [`1cdfc39`](https://github.com/eea/volto-eea-design-system/commit/1cdfc39d08f1ae301dea57f1e4be5265c4a4c6f9)]
|
|
775
805
|
- test: try storybook upload [valentinab25 - [`6d5833d`](https://github.com/eea/volto-eea-design-system/commit/6d5833d4419d00f1ac04c9eb78a0884214f9a494)]
|
|
776
806
|
- test: remove useless code [valentinab25 - [`2c14b0c`](https://github.com/eea/volto-eea-design-system/commit/2c14b0ce4596cfc11a81b9762677596d1861acfe)]
|
|
777
807
|
### [1.13.2](https://github.com/eea/volto-eea-design-system/compare/1.13.1...1.13.2) - 13 June 2023
|
|
@@ -810,6 +840,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
810
840
|
|
|
811
841
|
#### :house: Internal changes
|
|
812
842
|
|
|
843
|
+
- chore: [JENKINS] Deprecate circularity website [valentinab25 - [`fb2b166`](https://github.com/eea/volto-eea-design-system/commit/fb2b166d64f95a1c183901abfe0fe0254d1bbc7a)]
|
|
813
844
|
|
|
814
845
|
#### :house: Documentation changes
|
|
815
846
|
|
|
@@ -1143,6 +1174,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1143
1174
|
|
|
1144
1175
|
- Release 1.0.0-beta.5 [Alin Voinea - [`e4417e1`](https://github.com/eea/volto-eea-design-system/commit/e4417e121477511c350ae3fbe4e70aadb445ed86)]
|
|
1145
1176
|
- better useOnScreen hook [Andrei Grigore - [`c214b6b`](https://github.com/eea/volto-eea-design-system/commit/c214b6b76443f81c795ce2f3aa457562ec088b30)]
|
|
1177
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`b227cf8`](https://github.com/eea/volto-eea-design-system/commit/b227cf8a8c44b9d91e9fda8a7999fb0a42bacdca)]
|
|
1146
1178
|
- feature(mobile): increased performance by lazy loading footer images #303 from eea/increase_performance [ichim-david - [`80d1df1`](https://github.com/eea/volto-eea-design-system/commit/80d1df1c459680331d486f9e8e6a95c9db0adbf6)]
|
|
1147
1179
|
- prettier [David Ichim - [`a7f8384`](https://github.com/eea/volto-eea-design-system/commit/a7f838470c1bcc4e2be115d514d92a1b686a5e9b)]
|
|
1148
1180
|
- fixed less build failure due to changes in footer.less [David Ichim - [`190bc8c`](https://github.com/eea/volto-eea-design-system/commit/190bc8cfa88191b45808f1e27c6e2737ee3d15b1)]
|
|
@@ -1213,6 +1245,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1213
1245
|
|
|
1214
1246
|
#### :house: Internal changes
|
|
1215
1247
|
|
|
1248
|
+
- chore(docusaurus): ignore website/.yarn [Giorgos Stamatis - [`0b33ffd`](https://github.com/eea/volto-eea-design-system/commit/0b33ffd1dda61b126e3cc5ff48888124d6aee41b)]
|
|
1216
1249
|
- style(header): react syntax fix [Antonis Tarantilis - [`3add127`](https://github.com/eea/volto-eea-design-system/commit/3add1271c785a92bea0ef925d7bc562cef1e0d92)]
|
|
1217
1250
|
|
|
1218
1251
|
#### :house: Documentation changes
|
|
@@ -1409,6 +1442,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1409
1442
|
|
|
1410
1443
|
- Release 1.0.0-alpha.10 [Alin Voinea - [`7014d08`](https://github.com/eea/volto-eea-design-system/commit/7014d080ce114bd0bc039abeecbd7229333b0971)]
|
|
1411
1444
|
- Add variable definitions [kreafox - [`293fe65`](https://github.com/eea/volto-eea-design-system/commit/293fe65e2f24e6290e1286229169a77f9be4750e)]
|
|
1445
|
+
- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`ef58a6f`](https://github.com/eea/volto-eea-design-system/commit/ef58a6f5ad8deea26b1395a86778fe1159b7617b)]
|
|
1412
1446
|
- Back to dev [Alin Voinea - [`31d4616`](https://github.com/eea/volto-eea-design-system/commit/31d461662b9184a7bbe190e86f3c47fab39229fe)]
|
|
1413
1447
|
### [1.0.0-alpha.9](https://github.com/eea/volto-eea-design-system/compare/1.0.0-alpha.8...1.0.0-alpha.9) - 28 December 2022
|
|
1414
1448
|
|
|
@@ -1466,6 +1500,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1466
1500
|
- bump package version [David Ichim - [`b4628be`](https://github.com/eea/volto-eea-design-system/commit/b4628bed134abc76e38a243d4e98143e19cef989)]
|
|
1467
1501
|
- feature(docusaurus, storybook): logos selection for sites plus inverted options #253 from eea/doc-logo-page [ichim-david - [`dbfc90d`](https://github.com/eea/volto-eea-design-system/commit/dbfc90d035dc40e9d4054347f00fde4de486d63d)]
|
|
1468
1502
|
- (feat): Add ability to disable the language select from website top menu - refs #158616 [dobri1408 - [`411c8e4`](https://github.com/eea/volto-eea-design-system/commit/411c8e4afaf0b2b9edfdeeecdca22aa4cc41f329)]
|
|
1503
|
+
- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`c4769e9`](https://github.com/eea/volto-eea-design-system/commit/c4769e987d525f5dcafac8e6cf8a89fd8111667d)]
|
|
1469
1504
|
- test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`92feea0`](https://github.com/eea/volto-eea-design-system/commit/92feea09796c9ef0530f65fa1d34139905133215)]
|
|
1470
1505
|
- Proof reading page header section [ichim-david - [`230239e`](https://github.com/eea/volto-eea-design-system/commit/230239e1b22734fb8606656985bc5e513731e244)]
|
|
1471
1506
|
### [1.0.0-alpha.7](https://github.com/eea/volto-eea-design-system/compare/1.0.0-alpha.6...1.0.0-alpha.7) - 16 December 2022
|
|
@@ -1497,6 +1532,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1497
1532
|
#### :hammer_and_wrench: Others
|
|
1498
1533
|
|
|
1499
1534
|
- Release 1.0.0-alpha.7 [Alin Voinea - [`7e66bcc`](https://github.com/eea/volto-eea-design-system/commit/7e66bcc296b389bc55073e7f99681534977dce3a)]
|
|
1535
|
+
- Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`ce47e9b`](https://github.com/eea/volto-eea-design-system/commit/ce47e9b163bcb4eda988e3a87718b54ffbd3f99f)]
|
|
1500
1536
|
- added back descriptionDistance variable until package release [David Ichim - [`3af811a`](https://github.com/eea/volto-eea-design-system/commit/3af811a8d86a132e16de118697ba5a4302a8a4da)]
|
|
1501
1537
|
- Back to dev [Alin Voinea - [`cb531c9`](https://github.com/eea/volto-eea-design-system/commit/cb531c933c907bdbb88c9de0f1df2eb7ce899a4c)]
|
|
1502
1538
|
- Proper paths if the package is not installed, but in development [Tiberiu Ichim - [`7a2655f`](https://github.com/eea/volto-eea-design-system/commit/7a2655f7cf9d3c687f172eefcf2b4cff4b12f832)]
|
|
@@ -1584,6 +1620,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1584
1620
|
#### :hammer_and_wrench: Others
|
|
1585
1621
|
|
|
1586
1622
|
- feature(Docusaurus): Updates on color palette information including thematic websites #231 from eea/refactor-docusaurus [ichim-david - [`ec7843d`](https://github.com/eea/volto-eea-design-system/commit/ec7843dea07f626dc1c71ae1baa8bb5b0caa52f3)]
|
|
1623
|
+
- Upgrade Jenkinsfile storybook to yarn 3 [Alin Voinea - [`d20de8d`](https://github.com/eea/volto-eea-design-system/commit/d20de8d6e21a14660b7b5125a80218a8a6f19e62)]
|
|
1587
1624
|
- Back to dev [Alin Voinea - [`563fbc5`](https://github.com/eea/volto-eea-design-system/commit/563fbc5fac0d4b0295690d0a3a4e04271753f18a)]
|
|
1588
1625
|
- perf(docusaurus): added remixicon and roboto locally [Giorgos Stamatis - [`b67b1a7`](https://github.com/eea/volto-eea-design-system/commit/b67b1a72bc9cdc7c62a25967e81b430f8b62d558)]
|
|
1589
1626
|
### [1.0.0-alpha.4](https://github.com/eea/volto-eea-design-system/compare/1.0.0-alpha.3...1.0.0-alpha.4) - 22 November 2022
|
|
@@ -1676,6 +1713,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1676
1713
|
- modified left value of full width classes with toolbars [David Ichim - [`70d82d4`](https://github.com/eea/volto-eea-design-system/commit/70d82d47fbc2c00a3a709de0d5c087c8443a1eae)]
|
|
1677
1714
|
- WIP settings column grid width when using full size class [David Ichim - [`affc7ac`](https://github.com/eea/volto-eea-design-system/commit/affc7ac99527aa92d5a192d90dc8c9ec46a66404)]
|
|
1678
1715
|
- fix eslint [Miu Razvan - [`30c52e4`](https://github.com/eea/volto-eea-design-system/commit/30c52e4eb443555ca44c1b35df064e73d52c0a8b)]
|
|
1716
|
+
- Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`76a41c7`](https://github.com/eea/volto-eea-design-system/commit/76a41c786995fd54afe4d1c345de939f683ffa70)]
|
|
1679
1717
|
- fix broken variable call for contentBox.variables introduced in previous commit by mistake [David Ichim - [`d249c11`](https://github.com/eea/volto-eea-design-system/commit/d249c1160d19bedb174a2fde3fdab48d9ce297d4)]
|
|
1680
1718
|
- clean up [Miu Razvan - [`89f3cb3`](https://github.com/eea/volto-eea-design-system/commit/89f3cb33d70a14806a953f0acd1807e94169ee5c)]
|
|
1681
1719
|
- Feature(container): flexible container size #260 from eea/feature-flexible-container [ichim-david - [`8f84c5b`](https://github.com/eea/volto-eea-design-system/commit/8f84c5b67afe9cbe01b2a44a8f92a9a554e1036a)]
|
|
@@ -1777,6 +1815,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1777
1815
|
|
|
1778
1816
|
#### :nail_care: Enhancements
|
|
1779
1817
|
|
|
1818
|
+
- change(jenkins): added yarn policy for storybook building [ichim-david - [`3d1b844`](https://github.com/eea/volto-eea-design-system/commit/3d1b844efeea40b99c00c9aa97089e0a0be58a57)]
|
|
1780
1819
|
- change(docusaurus): typography updates [ichim-david - [`60a93a4`](https://github.com/eea/volto-eea-design-system/commit/60a93a4aece4e478ae13c2dfe697fd3703aa178a)]
|
|
1781
1820
|
- change(accordion): allow customization of accordion title with css variables [David Ichim - [`15e7d27`](https://github.com/eea/volto-eea-design-system/commit/15e7d27f02c640df582f51a51ef36e645723f842)]
|
|
1782
1821
|
- change(content-box): added css variables that will set text color and background for children [David Ichim - [`86cac53`](https://github.com/eea/volto-eea-design-system/commit/86cac531cc94386b6022e1be80dba826b39f2443)]
|
|
@@ -1811,6 +1850,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1811
1850
|
#### :hammer_and_wrench: Others
|
|
1812
1851
|
|
|
1813
1852
|
- Merge pull request #243 from eea/develop [ichim-david - [`576564c`](https://github.com/eea/volto-eea-design-system/commit/576564ce395ee6ac9e74bcb19d5c4f0b4cd3c33b)]
|
|
1853
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`4a5be6e`](https://github.com/eea/volto-eea-design-system/commit/4a5be6eec78dae230626e61ea2c77e7f3c62510d)]
|
|
1814
1854
|
- Back to dev [Alin Voinea - [`b251255`](https://github.com/eea/volto-eea-design-system/commit/b251255a7ed14d8290717726d86eaf54b87aa2d4)]
|
|
1815
1855
|
### [0.9.0](https://github.com/eea/volto-eea-design-system/compare/0.8.1...0.9.0) - 19 September 2022
|
|
1816
1856
|
|
|
@@ -2566,6 +2606,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
2566
2606
|
#### :hammer_and_wrench: Others
|
|
2567
2607
|
|
|
2568
2608
|
- prettier changes [David Ichim - [`134da52`](https://github.com/eea/volto-eea-design-system/commit/134da52549b9d5eac5a12b7ad3005073500ac2c4)]
|
|
2609
|
+
- [JENKINSFILE] remove debug, add error per stage [valentinab25 - [`903eecd`](https://github.com/eea/volto-eea-design-system/commit/903eecdb6bcbb8d73cff5e447d80c85e2a2c906d)]
|
|
2610
|
+
- [JENKINSFILE] mention comment author in comment [valentinab25 - [`39a26aa`](https://github.com/eea/volto-eea-design-system/commit/39a26aa1ff0f35e93e8df9f442c29c5ab79ff493)]
|
|
2611
|
+
- [JENKINSFILE] format PR comments [valentinab25 - [`739438c`](https://github.com/eea/volto-eea-design-system/commit/739438c64950c745d630d1998314a2bed595b23a)]
|
|
2612
|
+
- [JENKINSFILE] Add failure comment, no jenkins fail [valentinab25 - [`c325bf1`](https://github.com/eea/volto-eea-design-system/commit/c325bf14f3fb0da150f2a56cda0a9f03d8d8a628)]
|
|
2569
2613
|
### [0.2.3](https://github.com/eea/volto-eea-design-system/compare/0.2.2...0.2.3) - 29 April 2022
|
|
2570
2614
|
|
|
2571
2615
|
#### :rocket: New Features
|
|
@@ -2990,6 +3034,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
2990
3034
|
- set profile section overflow to auto [nileshgulia1 - [`71ab47f`](https://github.com/eea/volto-eea-design-system/commit/71ab47f89a433233c14b394c3824e607dd18a393)]
|
|
2991
3035
|
- remove segment custom width [nileshgulia1 - [`1d3ea40`](https://github.com/eea/volto-eea-design-system/commit/1d3ea40f98bbdc1eab95b4da739a659b5e29ec16)]
|
|
2992
3036
|
- fix profile section css overflow [nileshgulia1 - [`db5126f`](https://github.com/eea/volto-eea-design-system/commit/db5126fc902e191d1e18fb7e4c54877c8d8786e6)]
|
|
3037
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`647a6e3`](https://github.com/eea/volto-eea-design-system/commit/647a6e3e2093f2c4884c356eb148453551c8f33f)]
|
|
2993
3038
|
- fix warning related to proptype [nileshgulia1 - [`946c6c6`](https://github.com/eea/volto-eea-design-system/commit/946c6c6bc9dece0985ae4b9f9cad6ece2be0ff2c)]
|
|
2994
3039
|
- removed override already present in card.less [ichim-david - [`50d2ab2`](https://github.com/eea/volto-eea-design-system/commit/50d2ab26f85c8f409da02ec128cc1df34848ca69)]
|
|
2995
3040
|
- update [Miu Razvan - [`bbcab87`](https://github.com/eea/volto-eea-design-system/commit/bbcab87ef4c8475f347f0daf4ab7e428e69c2316)]
|
|
@@ -3076,6 +3121,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
3076
3121
|
- remove segment custom width [nileshgulia1 - [`4a60d84`](https://github.com/eea/volto-eea-design-system/commit/4a60d84d5fe76578b7760aa1dad6eef9a20916a7)]
|
|
3077
3122
|
- Reformat header.less [Tiberiu Ichim - [`1f99dfc`](https://github.com/eea/volto-eea-design-system/commit/1f99dfc82c165304ca5600ce5138c1233615ab69)]
|
|
3078
3123
|
- fix profile section css overflow [nileshgulia1 - [`8fd2654`](https://github.com/eea/volto-eea-design-system/commit/8fd265413149f1b5e033dffa0fbcb5ef5ecad15f)]
|
|
3124
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`6051724`](https://github.com/eea/volto-eea-design-system/commit/6051724437a38675e659c797bb5586ef81286ec0)]
|
|
3079
3125
|
- fix warning related to proptype [nileshgulia1 - [`824b9be`](https://github.com/eea/volto-eea-design-system/commit/824b9beff77aae139882cd50a1d670a02ec6f723)]
|
|
3080
3126
|
- refactor breadcrumbs component, make it functional and customizable [nileshgulia1 - [`4ec374e`](https://github.com/eea/volto-eea-design-system/commit/4ec374e20565eb0a5aed0ff67a02cd6f77eba1f0)]
|
|
3081
3127
|
- removed override already present in card.less [ichim-david - [`93c4e5a`](https://github.com/eea/volto-eea-design-system/commit/93c4e5aac9cc85ff2cc6c04180f6655d5f5616dc)]
|
|
@@ -3644,6 +3690,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
3644
3690
|
- Refs #142010 - Optimize Volto-addons gitflow pipelines [valentinab25 - [`3af46d2`](https://github.com/eea/volto-eea-design-system/commit/3af46d2b14fa0b1ef44736f25b0f9ac93b23d18d)]
|
|
3645
3691
|
- Refs #140454 updated eea-design-system readme with extra info on package contents [David Ichim - [`d2efc3d`](https://github.com/eea/volto-eea-design-system/commit/d2efc3ddae7b91efc82cf3bce8fb8e42d696a780)]
|
|
3646
3692
|
- Refs #140454 add h1 to the list of elements that are max 800px and centered [David Ichim - [`7d3c30f`](https://github.com/eea/volto-eea-design-system/commit/7d3c30f409aa4cb43810839f8960589456cc1b2e)]
|
|
3693
|
+
- Add Sonarqube tag using ims-frontend addons list [EEA Jenkins - [`8d657d0`](https://github.com/eea/volto-eea-design-system/commit/8d657d056cde5163cfe90ac66bc973f55d82e5e9)]
|
|
3647
3694
|
### [0.1.0](https://github.com/eea/volto-eea-design-system/compare/0.0.1...0.1.0) - 17 November 2021
|
|
3648
3695
|
|
|
3649
3696
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
package/src/ui/Header/Header.jsx
CHANGED
|
@@ -17,7 +17,11 @@ import burgerIcon from '@eeacms/volto-eea-design-system/../theme/themes/eea/asse
|
|
|
17
17
|
import HeaderSearchPopUp from './HeaderSearchPopUp';
|
|
18
18
|
import HeaderMenuPopUp from './HeaderMenuPopUp';
|
|
19
19
|
import { useAISummaryToggle } from './useAISummaryToggle';
|
|
20
|
-
import {
|
|
20
|
+
import {
|
|
21
|
+
findBestMatchingMenuItem,
|
|
22
|
+
getSearchInput,
|
|
23
|
+
isMenuItemActive,
|
|
24
|
+
} from './utils';
|
|
21
25
|
import PropTypes from 'prop-types';
|
|
22
26
|
import omit from 'lodash/omit';
|
|
23
27
|
import { isInternalURL } from '@plone/volto/helpers/Url/Url';
|
|
@@ -162,10 +166,16 @@ const Main = ({
|
|
|
162
166
|
const [burger, setBurger] = React.useState('');
|
|
163
167
|
const searchInputRef = React.useRef(null);
|
|
164
168
|
const [isClient, setIsClient] = React.useState();
|
|
165
|
-
const
|
|
169
|
+
const siteUseAISearchIcon = useSelector(
|
|
166
170
|
(state) =>
|
|
167
171
|
state.reduxAsyncConnect?.headerSettings?.useAISearchIcon || false,
|
|
168
172
|
);
|
|
173
|
+
// The search box matching the current path can turn the site-wide icon off
|
|
174
|
+
const useAISearchIcon =
|
|
175
|
+
siteUseAISearchIcon &&
|
|
176
|
+
(getSearchInput(headerSearchBox || [], { pathname: pathname || '' })
|
|
177
|
+
.useAISearchIcon ??
|
|
178
|
+
true);
|
|
169
179
|
|
|
170
180
|
const [aiSummaryEnabled] = useAISummaryToggle();
|
|
171
181
|
|
|
@@ -772,12 +772,13 @@ test('menu click outside behavior with different active states', async () => {
|
|
|
772
772
|
});
|
|
773
773
|
|
|
774
774
|
describe('header search icon and AI summary state', () => {
|
|
775
|
-
const renderMain = () =>
|
|
775
|
+
const renderMain = (props = {}) =>
|
|
776
776
|
renderWithProvider(
|
|
777
777
|
<Router history={createMemoryHistory()}>
|
|
778
778
|
<Header>
|
|
779
779
|
<Header.Main
|
|
780
780
|
pathname="/test"
|
|
781
|
+
{...props}
|
|
781
782
|
menuItems={[
|
|
782
783
|
{ '@id': '/test', url: '/test', title: 'Test', items: [] },
|
|
783
784
|
]}
|
|
@@ -824,4 +825,37 @@ describe('header search icon and AI summary state', () => {
|
|
|
824
825
|
'search-line.svg',
|
|
825
826
|
);
|
|
826
827
|
});
|
|
828
|
+
|
|
829
|
+
describe('search box useAISearchIcon override', () => {
|
|
830
|
+
const headerSearchBox = [
|
|
831
|
+
{ type: 'search-input', path: '/search' },
|
|
832
|
+
{
|
|
833
|
+
type: 'search-input',
|
|
834
|
+
matchpath: '/en/epanet',
|
|
835
|
+
path: '/en/epanet/site-search',
|
|
836
|
+
useAISearchIcon: false,
|
|
837
|
+
},
|
|
838
|
+
];
|
|
839
|
+
|
|
840
|
+
it('shows the plain magnifier in the search box path that turns the AI icon off', () => {
|
|
841
|
+
mockState.reduxAsyncConnect.headerSettings.useAISearchIcon = true;
|
|
842
|
+
|
|
843
|
+
const { container } = renderMain({
|
|
844
|
+
pathname: '/en/epanet/about',
|
|
845
|
+
headerSearchBox,
|
|
846
|
+
});
|
|
847
|
+
expect(
|
|
848
|
+
container.querySelector('img[alt="Global search"]'),
|
|
849
|
+
).toHaveAttribute('src', 'search-line.svg');
|
|
850
|
+
});
|
|
851
|
+
|
|
852
|
+
it('keeps the site-wide AI sparkle outside that path', () => {
|
|
853
|
+
mockState.reduxAsyncConnect.headerSettings.useAISearchIcon = true;
|
|
854
|
+
|
|
855
|
+
const { container } = renderMain({ pathname: '/en', headerSearchBox });
|
|
856
|
+
expect(
|
|
857
|
+
container.querySelector('img[alt="Global search"]'),
|
|
858
|
+
).toHaveAttribute('src', 'ai-search.svg');
|
|
859
|
+
});
|
|
860
|
+
});
|
|
827
861
|
});
|
|
@@ -10,6 +10,7 @@ import { handleEnterKeyPress } from '@eeacms/volto-eea-design-system/helpers';
|
|
|
10
10
|
import searchSVG from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/images/Header/search-line.svg';
|
|
11
11
|
import aiSearchIcon from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/images/Header/ai-search.svg';
|
|
12
12
|
import { useAISummaryToggle } from './useAISummaryToggle';
|
|
13
|
+
import { getSearchInput } from './utils';
|
|
13
14
|
|
|
14
15
|
const getRandomItems = (arr, max) => {
|
|
15
16
|
return (
|
|
@@ -19,18 +20,6 @@ const getRandomItems = (arr, max) => {
|
|
|
19
20
|
);
|
|
20
21
|
};
|
|
21
22
|
|
|
22
|
-
const getSearchInput = (config, location) => {
|
|
23
|
-
return (
|
|
24
|
-
config.filter(
|
|
25
|
-
(v) =>
|
|
26
|
-
v.type === 'search-input' &&
|
|
27
|
-
location.pathname.match(v.matchpath ? v.matchpath : v.path),
|
|
28
|
-
)[0] ||
|
|
29
|
-
config.filter((v) => v.type === 'search-input')[0] ||
|
|
30
|
-
{}
|
|
31
|
-
);
|
|
32
|
-
};
|
|
33
|
-
|
|
34
23
|
const serializeAction = (action, location) => {
|
|
35
24
|
if (action.type === 'info' && isArray(action.content)) {
|
|
36
25
|
const matchedContent =
|
|
@@ -97,10 +86,13 @@ function HeaderSearchPopUp({
|
|
|
97
86
|
getRandomItems(suggestions, maxToShow),
|
|
98
87
|
);
|
|
99
88
|
|
|
100
|
-
const
|
|
89
|
+
const siteUseAISearchIcon = useSelector(
|
|
101
90
|
(state) =>
|
|
102
91
|
state.reduxAsyncConnect?.headerSettings?.useAISearchIcon || false,
|
|
103
92
|
);
|
|
93
|
+
// A search box can turn the site-wide icon off, e.g. a subsite search
|
|
94
|
+
const useAISearchIcon =
|
|
95
|
+
siteUseAISearchIcon && (searchInput.useAISearchIcon ?? true);
|
|
104
96
|
|
|
105
97
|
const [aiSummaryEnabled] = useAISummaryToggle();
|
|
106
98
|
|
|
@@ -340,6 +340,35 @@ describe('HeaderSearchPopUp', () => {
|
|
|
340
340
|
});
|
|
341
341
|
});
|
|
342
342
|
|
|
343
|
+
describe('search box useAISearchIcon override', () => {
|
|
344
|
+
beforeEach(() => {
|
|
345
|
+
window.localStorage.clear();
|
|
346
|
+
});
|
|
347
|
+
|
|
348
|
+
const renderWithEntry = (entry) =>
|
|
349
|
+
render(
|
|
350
|
+
<Provider store={mockStore}>
|
|
351
|
+
<Router history={history}>
|
|
352
|
+
<HeaderSearchPopUp
|
|
353
|
+
headerSearchBox={[{ ...sampleHeaderSearchBox[0], ...entry }]}
|
|
354
|
+
onClose={mockOnClose}
|
|
355
|
+
triggerRefs={[]}
|
|
356
|
+
/>
|
|
357
|
+
</Router>
|
|
358
|
+
</Provider>,
|
|
359
|
+
);
|
|
360
|
+
|
|
361
|
+
it('shows the plain magnifier when the search box turns the AI icon off', () => {
|
|
362
|
+
mockState.reduxAsyncConnect.headerSettings.useAISearchIcon = true;
|
|
363
|
+
|
|
364
|
+
const { container } = renderWithEntry({ useAISearchIcon: false });
|
|
365
|
+
expect(container.querySelector('img')).toHaveAttribute(
|
|
366
|
+
'src',
|
|
367
|
+
'search-line.svg',
|
|
368
|
+
);
|
|
369
|
+
});
|
|
370
|
+
});
|
|
371
|
+
|
|
343
372
|
describe('hideActions', () => {
|
|
344
373
|
const renderWith = (headerSearchBox) =>
|
|
345
374
|
render(
|
package/src/ui/Header/utils.js
CHANGED
|
@@ -91,3 +91,24 @@ export const numbersToMenuItemColumns = (numbers) => {
|
|
|
91
91
|
})
|
|
92
92
|
.filter((col) => col !== '');
|
|
93
93
|
};
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Finds the search-input entry of the header search box config that matches
|
|
97
|
+
* the current path (its matchpath, else its path), falling back to the first
|
|
98
|
+
* search-input entry.
|
|
99
|
+
*
|
|
100
|
+
* @param {Array} config - headerSearchBox entries
|
|
101
|
+
* @param {Object} location - object with a pathname
|
|
102
|
+
* @returns {Object} The matched search-input entry, or {}
|
|
103
|
+
*/
|
|
104
|
+
export const getSearchInput = (config, location) => {
|
|
105
|
+
return (
|
|
106
|
+
config.filter(
|
|
107
|
+
(v) =>
|
|
108
|
+
v.type === 'search-input' &&
|
|
109
|
+
location.pathname.match(v.matchpath ? v.matchpath : v.path),
|
|
110
|
+
)[0] ||
|
|
111
|
+
config.filter((v) => v.type === 'search-input')[0] ||
|
|
112
|
+
{}
|
|
113
|
+
);
|
|
114
|
+
};
|