@eeacms/volto-eea-design-system 1.36.5 → 1.37.0

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,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.37.0](https://github.com/eea/volto-eea-design-system/compare/1.36.6...1.37.0) - 6 June 2025
8
+
9
+ #### :house: Internal changes
10
+
11
+ - style: Automated code fix [eea-jenkins - [`ab9dc4f`](https://github.com/eea/volto-eea-design-system/commit/ab9dc4f95e31c3e2f9d77e793158178c5dbd5f51)]
12
+
13
+ #### :hammer_and_wrench: Others
14
+
15
+ - Release 1.37.0 [Alin Voinea - [`f92f838`](https://github.com/eea/volto-eea-design-system/commit/f92f83820b7c8888ea2d414f1c1a4c233e440876)]
16
+ ### [1.36.6](https://github.com/eea/volto-eea-design-system/compare/1.36.5...1.36.6) - 8 May 2025
17
+
7
18
  ### [1.36.5](https://github.com/eea/volto-eea-design-system/compare/1.36.4...1.36.5) - 7 May 2025
8
19
 
9
20
  ### [1.36.4](https://github.com/eea/volto-eea-design-system/compare/1.36.3...1.36.4) - 25 March 2025
@@ -19,10 +30,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
19
30
 
20
31
  #### :hammer_and_wrench: Others
21
32
 
22
- - Add Sonarqube tag using fise-frontend addons list [EEA Jenkins - [`d3a993f`](https://github.com/eea/volto-eea-design-system/commit/d3a993f7c9f687d709e1c8bc48b4972aca7a161e)]
23
33
  - Fix with sed the issue from line 714 missing } [David Ichim - [`e4e10a0`](https://github.com/eea/volto-eea-design-system/commit/e4e10a0a8a82c1fa20dcff9fa8178a6a938a7fd5)]
24
34
  - Fixed link for don't use more than six colors [David Ichim - [`f42c698`](https://github.com/eea/volto-eea-design-system/commit/f42c69895258291ef72c0299e348f5671b2c127b)]
25
- - Add Sonarqube tag using ied-frontend addons list [EEA Jenkins - [`a8fa4e1`](https://github.com/eea/volto-eea-design-system/commit/a8fa4e157f6351939fd6ee126f733efc1adf6dfe)]
26
35
  - lint fix [David Ichim - [`5d4d60a`](https://github.com/eea/volto-eea-design-system/commit/5d4d60ac305b8694fec64a9cce625a1015e8486f)]
27
36
  ### [1.36.3](https://github.com/eea/volto-eea-design-system/compare/1.36.2...1.36.3) - 4 March 2025
28
37
 
@@ -56,7 +65,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
56
65
  #### :hammer_and_wrench: Others
57
66
 
58
67
  - Update package.json [Ichim David - [`40ae6a7`](https://github.com/eea/volto-eea-design-system/commit/40ae6a70377c54256f7365a12bded4e25b0c322e)]
59
- - Add Sonarqube tag using bise-frontend addons list [EEA Jenkins - [`b433236`](https://github.com/eea/volto-eea-design-system/commit/b433236f3e264304c86082281da90384da7ab0ff)]
60
68
  ### [1.34.1](https://github.com/eea/volto-eea-design-system/compare/1.34.0...1.34.1) - 14 October 2024
61
69
 
62
70
  ### [1.34.0](https://github.com/eea/volto-eea-design-system/compare/1.33.1...1.34.0) - 11 October 2024
@@ -138,7 +146,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
138
146
 
139
147
  #### :hammer_and_wrench: Others
140
148
 
141
- - Add Sonarqube tag using marine-frontend addons list [EEA Jenkins - [`dfa1d1b`](https://github.com/eea/volto-eea-design-system/commit/dfa1d1bd53ae63b20aa0ef64c37bf71faf376290)]
142
149
  ### [1.31.0](https://github.com/eea/volto-eea-design-system/compare/1.23.8...1.31.0) - 22 May 2024
143
150
 
144
151
  #### :boom: Breaking Change
@@ -167,7 +174,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
167
174
 
168
175
  #### :hammer_and_wrench: Others
169
176
 
170
- - Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`2ccf437`](https://github.com/eea/volto-eea-design-system/commit/2ccf4372f93d56ce3cc8bfd66de5c9fbb2698cf4)]
171
177
  ### [1.23.5](https://github.com/eea/volto-eea-design-system/compare/1.23.4...1.23.5) - 5 April 2024
172
178
 
173
179
  #### :nail_care: Enhancements
@@ -203,8 +209,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
203
209
  - Update package.json version to 1.23.0 [David Ichim - [`4b2eeee`](https://github.com/eea/volto-eea-design-system/commit/4b2eeee398b771ac80111e1755f67273c8940ced)]
204
210
  - fixed merge conflict [David Ichim - [`efe0f4b`](https://github.com/eea/volto-eea-design-system/commit/efe0f4b7df1782f5143e1bee31c997801427d35c)]
205
211
  - Update react-slick version to 0.30.1 [David Ichim - [`62d4570`](https://github.com/eea/volto-eea-design-system/commit/62d457014866fc075a3203fd0f9e66354aa73fe5)]
206
- - Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`c6c74f0`](https://github.com/eea/volto-eea-design-system/commit/c6c74f049ee787632b8ad0ec0f28531ac4d0f20f)]
207
- - Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`d3d7793`](https://github.com/eea/volto-eea-design-system/commit/d3d779363caa10f384d829a7e4242c5d54268099)]
208
212
  ### [1.23.0](https://github.com/eea/volto-eea-design-system/compare/1.22.7...1.23.0) - 19 February 2024
209
213
 
210
214
  ### [1.22.7](https://github.com/eea/volto-eea-design-system/compare/1.22.6...1.22.7) - 22 January 2024
@@ -290,11 +294,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
290
294
  - Add dropdown test case to Header component [David Ichim - [`9ea3234`](https://github.com/eea/volto-eea-design-system/commit/9ea3234c2c0f1c819c7c2b54a75c56cda7812c56)]
291
295
  - Remove unused import in Header.test.jsx [David Ichim - [`082069e`](https://github.com/eea/volto-eea-design-system/commit/082069e1f057786e0f1fb00c98d54b8e03b5d9c5)]
292
296
  - Added some tests for TopDropdownMenu mobile and dropdown interaction [David Ichim - [`9d24488`](https://github.com/eea/volto-eea-design-system/commit/9d24488c1e97b2b1b14bd9bd8cb6f5b68414794b)]
293
- - test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`eadf018`](https://github.com/eea/volto-eea-design-system/commit/eadf018aa1f32d310619ce4ef08f9b11950a20dc)]
294
297
  - Lint fix [David Ichim - [`e29fd50`](https://github.com/eea/volto-eea-design-system/commit/e29fd50ee73477007dcf94a268596e6c11176d7b)]
295
- - test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`947cb92`](https://github.com/eea/volto-eea-design-system/commit/947cb929c01ebb6f46bf124833fe1fec0f385edb)]
296
- - test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`8356dfe`](https://github.com/eea/volto-eea-design-system/commit/8356dfe929039dcd165af0692cbbfc771a0f7fb4)]
297
- - test: [JENKINS] Improve cypress time [valentinab25 - [`e38f17e`](https://github.com/eea/volto-eea-design-system/commit/e38f17ed735e743e59df7d06ca723c1218bdb569)]
298
298
  ### [1.20.0](https://github.com/eea/volto-eea-design-system/compare/1.19.0...1.20.0) - 2 November 2023
299
299
 
300
300
  #### :rocket: New Features
@@ -327,9 +327,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
327
327
 
328
328
  #### :house: Internal changes
329
329
 
330
- - chore: [JENKINS] do not run tests on PR comments [valentinab25 - [`51b68fc`](https://github.com/eea/volto-eea-design-system/commit/51b68fc76a956996e01521b784262c67e7094d35)]
331
- - chore: [JENKINS] add comment step [valentinab25 - [`5022758`](https://github.com/eea/volto-eea-design-system/commit/50227587db2c72d17e26e7b66f28d4c09b760873)]
332
- - chore: [JENKINS] Refactor automated testing [valentinab25 - [`a70ca64`](https://github.com/eea/volto-eea-design-system/commit/a70ca642918f578d6737d975e4769bac8312f48d)]
333
330
  - chore: husky, lint-staged use fixed versions [valentinab25 - [`59ecb8e`](https://github.com/eea/volto-eea-design-system/commit/59ecb8e28b259472303324f9655b0cbbcbbf9c23)]
334
331
 
335
332
  #### :hammer_and_wrench: Others
@@ -455,7 +452,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
455
452
 
456
453
  #### :hammer_and_wrench: Others
457
454
 
458
- - test: Fix eslint and yarn i18n [Alin Voinea - [`331149f`](https://github.com/eea/volto-eea-design-system/commit/331149f5eb16a9cc6f2d996f7b793909773063c2)]
459
455
  - i18n: Add en [Alin Voinea - [`4584295`](https://github.com/eea/volto-eea-design-system/commit/458429530d993c27cfb962ddfe2f376f3568bf01)]
460
456
  - Release 1.17.0 [Alin Voinea - [`e3c25ee`](https://github.com/eea/volto-eea-design-system/commit/e3c25eeeca5e863244faae396b5aa915d0702633)]
461
457
  - test: add unit tests for DS components - refs #254313 [ana-oprea - [`0c4d4d1`](https://github.com/eea/volto-eea-design-system/commit/0c4d4d118b8e13082c576dc5c2dce6a715f49006)]
@@ -565,7 +561,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
565
561
  #### :hammer_and_wrench: Others
566
562
 
567
563
  - Release 1.14.0 [Alin Voinea - [`cb9084f`](https://github.com/eea/volto-eea-design-system/commit/cb9084fb2246dc1b729e12a419a26daa12c26f7a)]
568
- - test: [JENKINS] set pipe fail [valentinab25 - [`1cdfc39`](https://github.com/eea/volto-eea-design-system/commit/1cdfc39d08f1ae301dea57f1e4be5265c4a4c6f9)]
569
564
  - test: try storybook upload [valentinab25 - [`6d5833d`](https://github.com/eea/volto-eea-design-system/commit/6d5833d4419d00f1ac04c9eb78a0884214f9a494)]
570
565
  - test: remove useless code [valentinab25 - [`2c14b0c`](https://github.com/eea/volto-eea-design-system/commit/2c14b0ce4596cfc11a81b9762677596d1861acfe)]
571
566
  ### [1.13.2](https://github.com/eea/volto-eea-design-system/compare/1.13.1...1.13.2) - 13 June 2023
@@ -604,7 +599,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
604
599
 
605
600
  #### :house: Internal changes
606
601
 
607
- - chore: [JENKINS] Deprecate circularity website [valentinab25 - [`fb2b166`](https://github.com/eea/volto-eea-design-system/commit/fb2b166d64f95a1c183901abfe0fe0254d1bbc7a)]
608
602
 
609
603
  #### :house: Documentation changes
610
604
 
@@ -938,7 +932,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
938
932
 
939
933
  - Release 1.0.0-beta.5 [Alin Voinea - [`e4417e1`](https://github.com/eea/volto-eea-design-system/commit/e4417e121477511c350ae3fbe4e70aadb445ed86)]
940
934
  - better useOnScreen hook [Andrei Grigore - [`c214b6b`](https://github.com/eea/volto-eea-design-system/commit/c214b6b76443f81c795ce2f3aa457562ec088b30)]
941
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`b227cf8`](https://github.com/eea/volto-eea-design-system/commit/b227cf8a8c44b9d91e9fda8a7999fb0a42bacdca)]
942
935
  - 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)]
943
936
  - prettier [David Ichim - [`a7f8384`](https://github.com/eea/volto-eea-design-system/commit/a7f838470c1bcc4e2be115d514d92a1b686a5e9b)]
944
937
  - fixed less build failure due to changes in footer.less [David Ichim - [`190bc8c`](https://github.com/eea/volto-eea-design-system/commit/190bc8cfa88191b45808f1e27c6e2737ee3d15b1)]
@@ -1009,7 +1002,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1009
1002
 
1010
1003
  #### :house: Internal changes
1011
1004
 
1012
- - chore(docusaurus): ignore website/.yarn [Giorgos Stamatis - [`0b33ffd`](https://github.com/eea/volto-eea-design-system/commit/0b33ffd1dda61b126e3cc5ff48888124d6aee41b)]
1013
1005
  - style(header): react syntax fix [Antonis Tarantilis - [`3add127`](https://github.com/eea/volto-eea-design-system/commit/3add1271c785a92bea0ef925d7bc562cef1e0d92)]
1014
1006
 
1015
1007
  #### :house: Documentation changes
@@ -1206,7 +1198,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1206
1198
 
1207
1199
  - Release 1.0.0-alpha.10 [Alin Voinea - [`7014d08`](https://github.com/eea/volto-eea-design-system/commit/7014d080ce114bd0bc039abeecbd7229333b0971)]
1208
1200
  - Add variable definitions [kreafox - [`293fe65`](https://github.com/eea/volto-eea-design-system/commit/293fe65e2f24e6290e1286229169a77f9be4750e)]
1209
- - Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`ef58a6f`](https://github.com/eea/volto-eea-design-system/commit/ef58a6f5ad8deea26b1395a86778fe1159b7617b)]
1210
1201
  - Back to dev [Alin Voinea - [`31d4616`](https://github.com/eea/volto-eea-design-system/commit/31d461662b9184a7bbe190e86f3c47fab39229fe)]
1211
1202
  ### [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
1212
1203
 
@@ -1264,7 +1255,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1264
1255
  - bump package version [David Ichim - [`b4628be`](https://github.com/eea/volto-eea-design-system/commit/b4628bed134abc76e38a243d4e98143e19cef989)]
1265
1256
  - 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)]
1266
1257
  - (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)]
1267
- - Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`c4769e9`](https://github.com/eea/volto-eea-design-system/commit/c4769e987d525f5dcafac8e6cf8a89fd8111667d)]
1268
1258
  - test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`92feea0`](https://github.com/eea/volto-eea-design-system/commit/92feea09796c9ef0530f65fa1d34139905133215)]
1269
1259
  - Proof reading page header section [ichim-david - [`230239e`](https://github.com/eea/volto-eea-design-system/commit/230239e1b22734fb8606656985bc5e513731e244)]
1270
1260
  ### [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
@@ -1296,7 +1286,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1296
1286
  #### :hammer_and_wrench: Others
1297
1287
 
1298
1288
  - Release 1.0.0-alpha.7 [Alin Voinea - [`7e66bcc`](https://github.com/eea/volto-eea-design-system/commit/7e66bcc296b389bc55073e7f99681534977dce3a)]
1299
- - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`ce47e9b`](https://github.com/eea/volto-eea-design-system/commit/ce47e9b163bcb4eda988e3a87718b54ffbd3f99f)]
1300
1289
  - added back descriptionDistance variable until package release [David Ichim - [`3af811a`](https://github.com/eea/volto-eea-design-system/commit/3af811a8d86a132e16de118697ba5a4302a8a4da)]
1301
1290
  - Back to dev [Alin Voinea - [`cb531c9`](https://github.com/eea/volto-eea-design-system/commit/cb531c933c907bdbb88c9de0f1df2eb7ce899a4c)]
1302
1291
  - Proper paths if the package is not installed, but in development [Tiberiu Ichim - [`7a2655f`](https://github.com/eea/volto-eea-design-system/commit/7a2655f7cf9d3c687f172eefcf2b4cff4b12f832)]
@@ -1384,7 +1373,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1384
1373
  #### :hammer_and_wrench: Others
1385
1374
 
1386
1375
  - 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)]
1387
- - Upgrade Jenkinsfile storybook to yarn 3 [Alin Voinea - [`d20de8d`](https://github.com/eea/volto-eea-design-system/commit/d20de8d6e21a14660b7b5125a80218a8a6f19e62)]
1388
1376
  - Back to dev [Alin Voinea - [`563fbc5`](https://github.com/eea/volto-eea-design-system/commit/563fbc5fac0d4b0295690d0a3a4e04271753f18a)]
1389
1377
  - perf(docusaurus): added remixicon and roboto locally [Giorgos Stamatis - [`b67b1a7`](https://github.com/eea/volto-eea-design-system/commit/b67b1a72bc9cdc7c62a25967e81b430f8b62d558)]
1390
1378
  ### [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
@@ -1477,7 +1465,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1477
1465
  - modified left value of full width classes with toolbars [David Ichim - [`70d82d4`](https://github.com/eea/volto-eea-design-system/commit/70d82d47fbc2c00a3a709de0d5c087c8443a1eae)]
1478
1466
  - WIP settings column grid width when using full size class [David Ichim - [`affc7ac`](https://github.com/eea/volto-eea-design-system/commit/affc7ac99527aa92d5a192d90dc8c9ec46a66404)]
1479
1467
  - fix eslint [Miu Razvan - [`30c52e4`](https://github.com/eea/volto-eea-design-system/commit/30c52e4eb443555ca44c1b35df064e73d52c0a8b)]
1480
- - Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`76a41c7`](https://github.com/eea/volto-eea-design-system/commit/76a41c786995fd54afe4d1c345de939f683ffa70)]
1481
1468
  - 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)]
1482
1469
  - clean up [Miu Razvan - [`89f3cb3`](https://github.com/eea/volto-eea-design-system/commit/89f3cb33d70a14806a953f0acd1807e94169ee5c)]
1483
1470
  - Feature(container): flexible container size #260 from eea/feature-flexible-container [ichim-david - [`8f84c5b`](https://github.com/eea/volto-eea-design-system/commit/8f84c5b67afe9cbe01b2a44a8f92a9a554e1036a)]
@@ -1579,7 +1566,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1579
1566
 
1580
1567
  #### :nail_care: Enhancements
1581
1568
 
1582
- - change(jenkins): added yarn policy for storybook building [ichim-david - [`3d1b844`](https://github.com/eea/volto-eea-design-system/commit/3d1b844efeea40b99c00c9aa97089e0a0be58a57)]
1583
1569
  - change(docusaurus): typography updates [ichim-david - [`60a93a4`](https://github.com/eea/volto-eea-design-system/commit/60a93a4aece4e478ae13c2dfe697fd3703aa178a)]
1584
1570
  - change(accordion): allow customization of accordion title with css variables [David Ichim - [`15e7d27`](https://github.com/eea/volto-eea-design-system/commit/15e7d27f02c640df582f51a51ef36e645723f842)]
1585
1571
  - 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)]
@@ -1614,7 +1600,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1614
1600
  #### :hammer_and_wrench: Others
1615
1601
 
1616
1602
  - Merge pull request #243 from eea/develop [ichim-david - [`576564c`](https://github.com/eea/volto-eea-design-system/commit/576564ce395ee6ac9e74bcb19d5c4f0b4cd3c33b)]
1617
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`4a5be6e`](https://github.com/eea/volto-eea-design-system/commit/4a5be6eec78dae230626e61ea2c77e7f3c62510d)]
1618
1603
  - Back to dev [Alin Voinea - [`b251255`](https://github.com/eea/volto-eea-design-system/commit/b251255a7ed14d8290717726d86eaf54b87aa2d4)]
1619
1604
  ### [0.9.0](https://github.com/eea/volto-eea-design-system/compare/0.8.1...0.9.0) - 19 September 2022
1620
1605
 
@@ -2370,10 +2355,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
2370
2355
  #### :hammer_and_wrench: Others
2371
2356
 
2372
2357
  - prettier changes [David Ichim - [`134da52`](https://github.com/eea/volto-eea-design-system/commit/134da52549b9d5eac5a12b7ad3005073500ac2c4)]
2373
- - [JENKINSFILE] remove debug, add error per stage [valentinab25 - [`903eecd`](https://github.com/eea/volto-eea-design-system/commit/903eecdb6bcbb8d73cff5e447d80c85e2a2c906d)]
2374
- - [JENKINSFILE] mention comment author in comment [valentinab25 - [`39a26aa`](https://github.com/eea/volto-eea-design-system/commit/39a26aa1ff0f35e93e8df9f442c29c5ab79ff493)]
2375
- - [JENKINSFILE] format PR comments [valentinab25 - [`739438c`](https://github.com/eea/volto-eea-design-system/commit/739438c64950c745d630d1998314a2bed595b23a)]
2376
- - [JENKINSFILE] Add failure comment, no jenkins fail [valentinab25 - [`c325bf1`](https://github.com/eea/volto-eea-design-system/commit/c325bf14f3fb0da150f2a56cda0a9f03d8d8a628)]
2377
2358
  ### [0.2.3](https://github.com/eea/volto-eea-design-system/compare/0.2.2...0.2.3) - 29 April 2022
2378
2359
 
2379
2360
  #### :rocket: New Features
@@ -2798,7 +2779,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
2798
2779
  - set profile section overflow to auto [nileshgulia1 - [`71ab47f`](https://github.com/eea/volto-eea-design-system/commit/71ab47f89a433233c14b394c3824e607dd18a393)]
2799
2780
  - remove segment custom width [nileshgulia1 - [`1d3ea40`](https://github.com/eea/volto-eea-design-system/commit/1d3ea40f98bbdc1eab95b4da739a659b5e29ec16)]
2800
2781
  - fix profile section css overflow [nileshgulia1 - [`db5126f`](https://github.com/eea/volto-eea-design-system/commit/db5126fc902e191d1e18fb7e4c54877c8d8786e6)]
2801
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`647a6e3`](https://github.com/eea/volto-eea-design-system/commit/647a6e3e2093f2c4884c356eb148453551c8f33f)]
2802
2782
  - fix warning related to proptype [nileshgulia1 - [`946c6c6`](https://github.com/eea/volto-eea-design-system/commit/946c6c6bc9dece0985ae4b9f9cad6ece2be0ff2c)]
2803
2783
  - removed override already present in card.less [ichim-david - [`50d2ab2`](https://github.com/eea/volto-eea-design-system/commit/50d2ab26f85c8f409da02ec128cc1df34848ca69)]
2804
2784
  - update [Miu Razvan - [`bbcab87`](https://github.com/eea/volto-eea-design-system/commit/bbcab87ef4c8475f347f0daf4ab7e428e69c2316)]
@@ -2885,7 +2865,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
2885
2865
  - remove segment custom width [nileshgulia1 - [`4a60d84`](https://github.com/eea/volto-eea-design-system/commit/4a60d84d5fe76578b7760aa1dad6eef9a20916a7)]
2886
2866
  - Reformat header.less [Tiberiu Ichim - [`1f99dfc`](https://github.com/eea/volto-eea-design-system/commit/1f99dfc82c165304ca5600ce5138c1233615ab69)]
2887
2867
  - fix profile section css overflow [nileshgulia1 - [`8fd2654`](https://github.com/eea/volto-eea-design-system/commit/8fd265413149f1b5e033dffa0fbcb5ef5ecad15f)]
2888
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`6051724`](https://github.com/eea/volto-eea-design-system/commit/6051724437a38675e659c797bb5586ef81286ec0)]
2889
2868
  - fix warning related to proptype [nileshgulia1 - [`824b9be`](https://github.com/eea/volto-eea-design-system/commit/824b9beff77aae139882cd50a1d670a02ec6f723)]
2890
2869
  - refactor breadcrumbs component, make it functional and customizable [nileshgulia1 - [`4ec374e`](https://github.com/eea/volto-eea-design-system/commit/4ec374e20565eb0a5aed0ff67a02cd6f77eba1f0)]
2891
2870
  - removed override already present in card.less [ichim-david - [`93c4e5a`](https://github.com/eea/volto-eea-design-system/commit/93c4e5aac9cc85ff2cc6c04180f6655d5f5616dc)]
@@ -3454,7 +3433,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
3454
3433
  - Refs #142010 - Optimize Volto-addons gitflow pipelines [valentinab25 - [`3af46d2`](https://github.com/eea/volto-eea-design-system/commit/3af46d2b14fa0b1ef44736f25b0f9ac93b23d18d)]
3455
3434
  - 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)]
3456
3435
  - 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)]
3457
- - Add Sonarqube tag using ims-frontend addons list [EEA Jenkins - [`8d657d0`](https://github.com/eea/volto-eea-design-system/commit/8d657d056cde5163cfe90ac66bc973f55d82e5e9)]
3458
3436
  ### [0.1.0](https://github.com/eea/volto-eea-design-system/compare/0.0.1...0.1.0) - 17 November 2021
3459
3437
 
3460
3438
  #### :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.36.5",
3
+ "version": "1.37.0",
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",
@@ -1,8 +1,9 @@
1
1
  import React, { useRef } from 'react';
2
+ import cx from 'classnames';
2
3
  import Banner from './Banner';
3
4
  // eslint-disable-next-line import/no-unresolved
4
5
  import imgUrl from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/images/banner.png';
5
- import { Icon } from 'semantic-ui-react';
6
+ import { Icon, Container } from 'semantic-ui-react';
6
7
  import Popup from '@eeacms/volto-eea-design-system/ui/Popup/Popup';
7
8
  import Copyright from '../Copyright/Copyright';
8
9
 
@@ -132,8 +133,12 @@ const Template = (args) => {
132
133
  </>
133
134
  }
134
135
  >
135
- <Banner.Subtitle>{args.subtitle}</Banner.Subtitle>
136
+ {!args.aboveTitle && args.subtitle && (
137
+ <Banner.Subtitle>{args.subtitle}</Banner.Subtitle>
138
+ )}
139
+ {args.aboveTitle}
136
140
  <Banner.Title>{args.title}</Banner.Title>
141
+ {args.belowTitle}
137
142
  {args.metadata && (
138
143
  <Banner.Metadata>
139
144
  <>
@@ -176,3 +181,119 @@ Default.args = {
176
181
  copyrightIcon: 'ri-copyright-line',
177
182
  copyright: 'John Smith, Well with Nature /EEA',
178
183
  };
184
+
185
+ const InvertedwithHeroTemplate = (args) => (
186
+ <Container
187
+ className={cx(
188
+ 'homepage-inverse homepage-header light-header',
189
+ args.heroHeaderSize ? 'hero-header' : '',
190
+ )}
191
+ fluid
192
+ >
193
+ <Template
194
+ {...args}
195
+ hideShareButton
196
+ hideDownloadButton
197
+ aboveTitle={
198
+ !args.hideContentType ? (
199
+ <div className="content-type">{args.content_type}</div>
200
+ ) : (
201
+ ' '
202
+ )
203
+ }
204
+ belowTitle={
205
+ <>
206
+ <Banner.Subtitle>
207
+ <span className="subtitle-light">{args.subtitle}</span>
208
+ </Banner.Subtitle>
209
+ </>
210
+ }
211
+ />
212
+ </Container>
213
+ );
214
+
215
+ export const InvertedHero = InvertedwithHeroTemplate.bind({});
216
+ InvertedHero.args = {
217
+ ...Default.args,
218
+ metadata: Default.args.metadata.filter((meta) => meta.type !== 'type'),
219
+ hideContentType: false,
220
+ heroHeaderSize: false,
221
+ content_type: 'Web report',
222
+ };
223
+
224
+ const invertedArgTypes = {
225
+ hideContentType: {
226
+ description: 'hide content type',
227
+ table: {
228
+ type: {
229
+ summary: 'boolean',
230
+ },
231
+ defaultValue: {
232
+ summary: false,
233
+ },
234
+ },
235
+ },
236
+ hideShareButton: {
237
+ description: 'hide/show share button',
238
+ table: {
239
+ disable: true,
240
+ },
241
+ control: false,
242
+ },
243
+ hideDownloadButton: {
244
+ description: 'hide/show download button',
245
+ table: {
246
+ disable: true,
247
+ },
248
+ control: false,
249
+ },
250
+ };
251
+
252
+ InvertedHero.argTypes = {
253
+ ...invertedArgTypes,
254
+ heroHeaderSize: {
255
+ description: 'Make banner size of an hero image',
256
+ table: {
257
+ type: {
258
+ summary: 'boolean',
259
+ },
260
+ defaultValue: {
261
+ summary: true,
262
+ },
263
+ },
264
+ },
265
+ };
266
+
267
+ const InvertedTemplate = (args) => (
268
+ <Container
269
+ className={cx('view-viewview homepage-inverse light-header')}
270
+ fluid
271
+ >
272
+ <Template
273
+ {...args}
274
+ hideShareButton
275
+ hideDownloadButton
276
+ aboveTitle={
277
+ <>
278
+ {!args.hideContentType && (
279
+ <div className="content-type">{args.content_type}</div>
280
+ )}
281
+ <div className="subtitle">{args.subtitle}</div>
282
+ </>
283
+ }
284
+ />
285
+ </Container>
286
+ );
287
+
288
+ export const Inverted = InvertedTemplate.bind({});
289
+
290
+ Inverted.args = {
291
+ ...Default.args,
292
+ metadata: Default.args.metadata.filter((meta) => meta.type !== 'type'),
293
+ hideContentType: false,
294
+ content_type: 'Web report page',
295
+ };
296
+
297
+ Inverted.argTypes = {
298
+ ...invertedArgTypes,
299
+ };
@@ -1,5 +1,10 @@
1
1
  import React from 'react';
2
- import { Container } from 'semantic-ui-react';
2
+ import {
3
+ Container,
4
+ Accordion as SemanticAccordion,
5
+ Icon,
6
+ } from 'semantic-ui-react';
7
+ import cx from 'classnames';
3
8
 
4
9
  const sidenavItems = [
5
10
  {
@@ -239,3 +244,132 @@ Default.args = {
239
244
  header: '',
240
245
  sidenavItems: sidenavItems,
241
246
  };
247
+
248
+ const AccordionNavigation = ({ navigation, header }) => {
249
+ const [isNavOpen, setIsNavOpen] = React.useState(true);
250
+ const [activeItems, setActiveItems] = React.useState({});
251
+
252
+ const onClickSummary = (e) => {
253
+ e.preventDefault();
254
+ setIsNavOpen((prev) => !prev);
255
+ };
256
+
257
+ const onKeyDownSummary = (e) => {
258
+ if (e.keyCode === 13 || e.keyCode === 32) {
259
+ e.preventDefault();
260
+ onClickSummary(e);
261
+ }
262
+ };
263
+
264
+ const renderItems = ({ item, level = 0 }) => {
265
+ const {
266
+ title,
267
+ href = item['@id'],
268
+ is_current,
269
+ is_in_path,
270
+ items: childItems,
271
+ type = 'Link',
272
+ } = item;
273
+ const hasChildItems = childItems && childItems.length > 0;
274
+
275
+ const checkIfActive = () => {
276
+ return activeItems[href] !== undefined ? activeItems[href] : is_in_path;
277
+ };
278
+
279
+ const isActive = checkIfActive();
280
+
281
+ const handleTitleClick = () => {
282
+ setActiveItems((prev) => ({ ...prev, [href]: !isActive }));
283
+ };
284
+
285
+ return (
286
+ <li
287
+ className={cx({
288
+ is_in_path,
289
+ 'accordion-list-title': !hasChildItems,
290
+ 'accordion-list-item': hasChildItems,
291
+ })}
292
+ key={href}
293
+ >
294
+ {hasChildItems ? (
295
+ <SemanticAccordion className="default">
296
+ <SemanticAccordion.Title
297
+ active={isActive}
298
+ as={'button'}
299
+ aria-expanded={isActive}
300
+ onClick={handleTitleClick}
301
+ aria-controls={`accordion-content-${title}`}
302
+ id={`accordion-title-${title}`}
303
+ >
304
+ <span className="title-text">{title}</span>
305
+ <Icon
306
+ className={
307
+ isActive ? 'ri-arrow-up-s-line' : 'ri-arrow-down-s-line'
308
+ }
309
+ />
310
+ </SemanticAccordion.Title>
311
+ <SemanticAccordion.Content
312
+ active={isActive}
313
+ role="region"
314
+ id={`accordion-content-${title}`}
315
+ aria-labelledby={`accordion-title-${title}`}
316
+ >
317
+ <ul className="accordion-list">
318
+ {childItems.map((child) =>
319
+ renderItems({ item: child, level: level + 1 }),
320
+ )}
321
+ </ul>
322
+ </SemanticAccordion.Content>
323
+ </SemanticAccordion>
324
+ ) : (
325
+ <a
326
+ href={href}
327
+ className={cx(`title-link contenttype-${type}`, {
328
+ current: is_current,
329
+ in_path: is_in_path,
330
+ })}
331
+ >
332
+ {title}
333
+ </a>
334
+ )}
335
+ </li>
336
+ );
337
+ };
338
+
339
+ return navigation.length ? (
340
+ <Container>
341
+ <nav className="context-navigation" aria-label={header}>
342
+ <details open={isNavOpen}>
343
+ {/* eslint-disable-next-line */}
344
+ <summary
345
+ className="context-navigation-header accordion-header"
346
+ onClick={onClickSummary}
347
+ onKeyDown={onKeyDownSummary}
348
+ >
349
+ {header}
350
+ <Icon
351
+ size="large"
352
+ className={
353
+ isNavOpen ? 'ri-arrow-up-s-line' : 'ri-arrow-down-s-line'
354
+ }
355
+ />
356
+ </summary>
357
+
358
+ <ul
359
+ className="context-navigation-list accordion-list"
360
+ style={{ width: '100%' }}
361
+ >
362
+ {navigation.map((item) => renderItems({ item }))}
363
+ </ul>
364
+ </details>
365
+ </nav>
366
+ </Container>
367
+ ) : null;
368
+ };
369
+
370
+ export const Accordion = AccordionNavigation.bind({});
371
+
372
+ Accordion.args = {
373
+ navigation: sidenavItems,
374
+ header: 'Navigation',
375
+ };
@@ -30,7 +30,8 @@ const ItemGrid = ({
30
30
  renderMenuItem,
31
31
  hideChildrenFromNavigation,
32
32
  }) => {
33
- const item_id = item.title.toLowerCase().replaceAll(' ', '-') + '-sub-title';
33
+ const item_id =
34
+ item?.title?.toLowerCase()?.replaceAll(' ', '-') + '-sub-title';
34
35
  return (
35
36
  <>
36
37
  {renderMenuItem(item, { className: 'sub-title', id: item_id })}
@@ -53,7 +54,8 @@ const Item = ({
53
54
  renderMenuItem,
54
55
  hideChildrenFromNavigation,
55
56
  }) => {
56
- const item_id = item.title.toLowerCase().replaceAll(' ', '-') + '-sub-title';
57
+ const item_id =
58
+ item?.title?.toLowerCase()?.replaceAll(' ', '-') + '-sub-title';
57
59
  return (
58
60
  <>
59
61
  {renderMenuItem(item, {
@@ -349,8 +351,13 @@ function HeaderMenuPopUp({
349
351
  // be used for all menu items that don't have a specific layout
350
352
  const layout =
351
353
  (!!menuItemsLayouts &&
352
- Object.keys(menuItemsLayouts).includes(menuItem?.url) &&
353
- menuItemsLayouts[menuItem.url]) ||
354
+ menuItem?.items?.length > 0 &&
355
+ (menuItemsLayouts[menuItem?.url] ||
356
+ menuItemsLayouts[
357
+ Object.keys(menuItemsLayouts).find((key) =>
358
+ menuItem?.url?.includes(key),
359
+ )
360
+ ])) ||
354
361
  (!!menuItemsLayouts && menuItemsLayouts['*']) ||
355
362
  {};
356
363