@eeacms/volto-eea-design-system 1.39.1 → 1.40.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,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
+ ### [1.40.0](https://github.com/eea/volto-eea-design-system/compare/1.39.1...1.40.0) - 4 November 2025
8
+
9
+ #### :rocket: New Features
10
+
11
+ - feat(print): improve PDF printing - refs #291995 [David Ichim - [`ea10d80`](https://github.com/eea/volto-eea-design-system/commit/ea10d806beacac455d922e335336fffd57688b78)]
12
+
13
+ #### :hammer_and_wrench: Others
14
+
15
+ - Bump version to 1.40.0 [David Ichim - [`281bd44`](https://github.com/eea/volto-eea-design-system/commit/281bd44e8d022c286f0cb9b1dc38564f88a006bc)]
7
16
  ### [1.39.1](https://github.com/eea/volto-eea-design-system/compare/1.39.0...1.39.1) - 22 September 2025
8
17
 
9
18
  #### :boom: Breaking Change
@@ -77,10 +86,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
77
86
 
78
87
  #### :hammer_and_wrench: Others
79
88
 
80
- - Add Sonarqube tag using fise-frontend addons list [EEA Jenkins - [`d3a993f`](https://github.com/eea/volto-eea-design-system/commit/d3a993f7c9f687d709e1c8bc48b4972aca7a161e)]
81
89
  - Fix with sed the issue from line 714 missing } [David Ichim - [`e4e10a0`](https://github.com/eea/volto-eea-design-system/commit/e4e10a0a8a82c1fa20dcff9fa8178a6a938a7fd5)]
82
90
  - Fixed link for don't use more than six colors [David Ichim - [`f42c698`](https://github.com/eea/volto-eea-design-system/commit/f42c69895258291ef72c0299e348f5671b2c127b)]
83
- - Add Sonarqube tag using ied-frontend addons list [EEA Jenkins - [`a8fa4e1`](https://github.com/eea/volto-eea-design-system/commit/a8fa4e157f6351939fd6ee126f733efc1adf6dfe)]
84
91
  - lint fix [David Ichim - [`5d4d60a`](https://github.com/eea/volto-eea-design-system/commit/5d4d60ac305b8694fec64a9cce625a1015e8486f)]
85
92
  ### [1.36.3](https://github.com/eea/volto-eea-design-system/compare/1.36.2...1.36.3) - 4 March 2025
86
93
 
@@ -114,7 +121,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
114
121
  #### :hammer_and_wrench: Others
115
122
 
116
123
  - Update package.json [Ichim David - [`40ae6a7`](https://github.com/eea/volto-eea-design-system/commit/40ae6a70377c54256f7365a12bded4e25b0c322e)]
117
- - Add Sonarqube tag using bise-frontend addons list [EEA Jenkins - [`b433236`](https://github.com/eea/volto-eea-design-system/commit/b433236f3e264304c86082281da90384da7ab0ff)]
118
124
  ### [1.34.1](https://github.com/eea/volto-eea-design-system/compare/1.34.0...1.34.1) - 14 October 2024
119
125
 
120
126
  ### [1.34.0](https://github.com/eea/volto-eea-design-system/compare/1.33.1...1.34.0) - 11 October 2024
@@ -196,7 +202,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
196
202
 
197
203
  #### :hammer_and_wrench: Others
198
204
 
199
- - Add Sonarqube tag using marine-frontend addons list [EEA Jenkins - [`dfa1d1b`](https://github.com/eea/volto-eea-design-system/commit/dfa1d1bd53ae63b20aa0ef64c37bf71faf376290)]
200
205
  ### [1.31.0](https://github.com/eea/volto-eea-design-system/compare/1.23.8...1.31.0) - 22 May 2024
201
206
 
202
207
  #### :boom: Breaking Change
@@ -225,7 +230,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
225
230
 
226
231
  #### :hammer_and_wrench: Others
227
232
 
228
- - Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`2ccf437`](https://github.com/eea/volto-eea-design-system/commit/2ccf4372f93d56ce3cc8bfd66de5c9fbb2698cf4)]
229
233
  ### [1.23.5](https://github.com/eea/volto-eea-design-system/compare/1.23.4...1.23.5) - 5 April 2024
230
234
 
231
235
  #### :nail_care: Enhancements
@@ -261,8 +265,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
261
265
  - Update package.json version to 1.23.0 [David Ichim - [`4b2eeee`](https://github.com/eea/volto-eea-design-system/commit/4b2eeee398b771ac80111e1755f67273c8940ced)]
262
266
  - fixed merge conflict [David Ichim - [`efe0f4b`](https://github.com/eea/volto-eea-design-system/commit/efe0f4b7df1782f5143e1bee31c997801427d35c)]
263
267
  - Update react-slick version to 0.30.1 [David Ichim - [`62d4570`](https://github.com/eea/volto-eea-design-system/commit/62d457014866fc075a3203fd0f9e66354aa73fe5)]
264
- - Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`c6c74f0`](https://github.com/eea/volto-eea-design-system/commit/c6c74f049ee787632b8ad0ec0f28531ac4d0f20f)]
265
- - Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`d3d7793`](https://github.com/eea/volto-eea-design-system/commit/d3d779363caa10f384d829a7e4242c5d54268099)]
266
268
  ### [1.23.0](https://github.com/eea/volto-eea-design-system/compare/1.22.7...1.23.0) - 19 February 2024
267
269
 
268
270
  ### [1.22.7](https://github.com/eea/volto-eea-design-system/compare/1.22.6...1.22.7) - 22 January 2024
@@ -348,11 +350,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
348
350
  - Add dropdown test case to Header component [David Ichim - [`9ea3234`](https://github.com/eea/volto-eea-design-system/commit/9ea3234c2c0f1c819c7c2b54a75c56cda7812c56)]
349
351
  - Remove unused import in Header.test.jsx [David Ichim - [`082069e`](https://github.com/eea/volto-eea-design-system/commit/082069e1f057786e0f1fb00c98d54b8e03b5d9c5)]
350
352
  - Added some tests for TopDropdownMenu mobile and dropdown interaction [David Ichim - [`9d24488`](https://github.com/eea/volto-eea-design-system/commit/9d24488c1e97b2b1b14bd9bd8cb6f5b68414794b)]
351
- - test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`eadf018`](https://github.com/eea/volto-eea-design-system/commit/eadf018aa1f32d310619ce4ef08f9b11950a20dc)]
352
353
  - Lint fix [David Ichim - [`e29fd50`](https://github.com/eea/volto-eea-design-system/commit/e29fd50ee73477007dcf94a268596e6c11176d7b)]
353
- - test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`947cb92`](https://github.com/eea/volto-eea-design-system/commit/947cb929c01ebb6f46bf124833fe1fec0f385edb)]
354
- - test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`8356dfe`](https://github.com/eea/volto-eea-design-system/commit/8356dfe929039dcd165af0692cbbfc771a0f7fb4)]
355
- - test: [JENKINS] Improve cypress time [valentinab25 - [`e38f17e`](https://github.com/eea/volto-eea-design-system/commit/e38f17ed735e743e59df7d06ca723c1218bdb569)]
356
354
  ### [1.20.0](https://github.com/eea/volto-eea-design-system/compare/1.19.0...1.20.0) - 2 November 2023
357
355
 
358
356
  #### :rocket: New Features
@@ -385,9 +383,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
385
383
 
386
384
  #### :house: Internal changes
387
385
 
388
- - chore: [JENKINS] do not run tests on PR comments [valentinab25 - [`51b68fc`](https://github.com/eea/volto-eea-design-system/commit/51b68fc76a956996e01521b784262c67e7094d35)]
389
- - chore: [JENKINS] add comment step [valentinab25 - [`5022758`](https://github.com/eea/volto-eea-design-system/commit/50227587db2c72d17e26e7b66f28d4c09b760873)]
390
- - chore: [JENKINS] Refactor automated testing [valentinab25 - [`a70ca64`](https://github.com/eea/volto-eea-design-system/commit/a70ca642918f578d6737d975e4769bac8312f48d)]
391
386
  - chore: husky, lint-staged use fixed versions [valentinab25 - [`59ecb8e`](https://github.com/eea/volto-eea-design-system/commit/59ecb8e28b259472303324f9655b0cbbcbbf9c23)]
392
387
 
393
388
  #### :hammer_and_wrench: Others
@@ -513,7 +508,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
513
508
 
514
509
  #### :hammer_and_wrench: Others
515
510
 
516
- - test: Fix eslint and yarn i18n [Alin Voinea - [`331149f`](https://github.com/eea/volto-eea-design-system/commit/331149f5eb16a9cc6f2d996f7b793909773063c2)]
517
511
  - i18n: Add en [Alin Voinea - [`4584295`](https://github.com/eea/volto-eea-design-system/commit/458429530d993c27cfb962ddfe2f376f3568bf01)]
518
512
  - Release 1.17.0 [Alin Voinea - [`e3c25ee`](https://github.com/eea/volto-eea-design-system/commit/e3c25eeeca5e863244faae396b5aa915d0702633)]
519
513
  - test: add unit tests for DS components - refs #254313 [ana-oprea - [`0c4d4d1`](https://github.com/eea/volto-eea-design-system/commit/0c4d4d118b8e13082c576dc5c2dce6a715f49006)]
@@ -623,7 +617,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
623
617
  #### :hammer_and_wrench: Others
624
618
 
625
619
  - Release 1.14.0 [Alin Voinea - [`cb9084f`](https://github.com/eea/volto-eea-design-system/commit/cb9084fb2246dc1b729e12a419a26daa12c26f7a)]
626
- - test: [JENKINS] set pipe fail [valentinab25 - [`1cdfc39`](https://github.com/eea/volto-eea-design-system/commit/1cdfc39d08f1ae301dea57f1e4be5265c4a4c6f9)]
627
620
  - test: try storybook upload [valentinab25 - [`6d5833d`](https://github.com/eea/volto-eea-design-system/commit/6d5833d4419d00f1ac04c9eb78a0884214f9a494)]
628
621
  - test: remove useless code [valentinab25 - [`2c14b0c`](https://github.com/eea/volto-eea-design-system/commit/2c14b0ce4596cfc11a81b9762677596d1861acfe)]
629
622
  ### [1.13.2](https://github.com/eea/volto-eea-design-system/compare/1.13.1...1.13.2) - 13 June 2023
@@ -662,7 +655,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
662
655
 
663
656
  #### :house: Internal changes
664
657
 
665
- - chore: [JENKINS] Deprecate circularity website [valentinab25 - [`fb2b166`](https://github.com/eea/volto-eea-design-system/commit/fb2b166d64f95a1c183901abfe0fe0254d1bbc7a)]
666
658
 
667
659
  #### :house: Documentation changes
668
660
 
@@ -996,7 +988,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
996
988
 
997
989
  - Release 1.0.0-beta.5 [Alin Voinea - [`e4417e1`](https://github.com/eea/volto-eea-design-system/commit/e4417e121477511c350ae3fbe4e70aadb445ed86)]
998
990
  - better useOnScreen hook [Andrei Grigore - [`c214b6b`](https://github.com/eea/volto-eea-design-system/commit/c214b6b76443f81c795ce2f3aa457562ec088b30)]
999
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`b227cf8`](https://github.com/eea/volto-eea-design-system/commit/b227cf8a8c44b9d91e9fda8a7999fb0a42bacdca)]
1000
991
  - 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)]
1001
992
  - prettier [David Ichim - [`a7f8384`](https://github.com/eea/volto-eea-design-system/commit/a7f838470c1bcc4e2be115d514d92a1b686a5e9b)]
1002
993
  - fixed less build failure due to changes in footer.less [David Ichim - [`190bc8c`](https://github.com/eea/volto-eea-design-system/commit/190bc8cfa88191b45808f1e27c6e2737ee3d15b1)]
@@ -1067,7 +1058,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1067
1058
 
1068
1059
  #### :house: Internal changes
1069
1060
 
1070
- - chore(docusaurus): ignore website/.yarn [Giorgos Stamatis - [`0b33ffd`](https://github.com/eea/volto-eea-design-system/commit/0b33ffd1dda61b126e3cc5ff48888124d6aee41b)]
1071
1061
  - style(header): react syntax fix [Antonis Tarantilis - [`3add127`](https://github.com/eea/volto-eea-design-system/commit/3add1271c785a92bea0ef925d7bc562cef1e0d92)]
1072
1062
 
1073
1063
  #### :house: Documentation changes
@@ -1264,7 +1254,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1264
1254
 
1265
1255
  - Release 1.0.0-alpha.10 [Alin Voinea - [`7014d08`](https://github.com/eea/volto-eea-design-system/commit/7014d080ce114bd0bc039abeecbd7229333b0971)]
1266
1256
  - Add variable definitions [kreafox - [`293fe65`](https://github.com/eea/volto-eea-design-system/commit/293fe65e2f24e6290e1286229169a77f9be4750e)]
1267
- - Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`ef58a6f`](https://github.com/eea/volto-eea-design-system/commit/ef58a6f5ad8deea26b1395a86778fe1159b7617b)]
1268
1257
  - Back to dev [Alin Voinea - [`31d4616`](https://github.com/eea/volto-eea-design-system/commit/31d461662b9184a7bbe190e86f3c47fab39229fe)]
1269
1258
  ### [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
1270
1259
 
@@ -1322,7 +1311,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1322
1311
  - bump package version [David Ichim - [`b4628be`](https://github.com/eea/volto-eea-design-system/commit/b4628bed134abc76e38a243d4e98143e19cef989)]
1323
1312
  - 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)]
1324
1313
  - (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)]
1325
- - Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`c4769e9`](https://github.com/eea/volto-eea-design-system/commit/c4769e987d525f5dcafac8e6cf8a89fd8111667d)]
1326
1314
  - test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`92feea0`](https://github.com/eea/volto-eea-design-system/commit/92feea09796c9ef0530f65fa1d34139905133215)]
1327
1315
  - Proof reading page header section [ichim-david - [`230239e`](https://github.com/eea/volto-eea-design-system/commit/230239e1b22734fb8606656985bc5e513731e244)]
1328
1316
  ### [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
@@ -1354,7 +1342,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1354
1342
  #### :hammer_and_wrench: Others
1355
1343
 
1356
1344
  - Release 1.0.0-alpha.7 [Alin Voinea - [`7e66bcc`](https://github.com/eea/volto-eea-design-system/commit/7e66bcc296b389bc55073e7f99681534977dce3a)]
1357
- - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`ce47e9b`](https://github.com/eea/volto-eea-design-system/commit/ce47e9b163bcb4eda988e3a87718b54ffbd3f99f)]
1358
1345
  - added back descriptionDistance variable until package release [David Ichim - [`3af811a`](https://github.com/eea/volto-eea-design-system/commit/3af811a8d86a132e16de118697ba5a4302a8a4da)]
1359
1346
  - Back to dev [Alin Voinea - [`cb531c9`](https://github.com/eea/volto-eea-design-system/commit/cb531c933c907bdbb88c9de0f1df2eb7ce899a4c)]
1360
1347
  - Proper paths if the package is not installed, but in development [Tiberiu Ichim - [`7a2655f`](https://github.com/eea/volto-eea-design-system/commit/7a2655f7cf9d3c687f172eefcf2b4cff4b12f832)]
@@ -1442,7 +1429,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1442
1429
  #### :hammer_and_wrench: Others
1443
1430
 
1444
1431
  - 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)]
1445
- - Upgrade Jenkinsfile storybook to yarn 3 [Alin Voinea - [`d20de8d`](https://github.com/eea/volto-eea-design-system/commit/d20de8d6e21a14660b7b5125a80218a8a6f19e62)]
1446
1432
  - Back to dev [Alin Voinea - [`563fbc5`](https://github.com/eea/volto-eea-design-system/commit/563fbc5fac0d4b0295690d0a3a4e04271753f18a)]
1447
1433
  - perf(docusaurus): added remixicon and roboto locally [Giorgos Stamatis - [`b67b1a7`](https://github.com/eea/volto-eea-design-system/commit/b67b1a72bc9cdc7c62a25967e81b430f8b62d558)]
1448
1434
  ### [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
@@ -1535,7 +1521,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1535
1521
  - modified left value of full width classes with toolbars [David Ichim - [`70d82d4`](https://github.com/eea/volto-eea-design-system/commit/70d82d47fbc2c00a3a709de0d5c087c8443a1eae)]
1536
1522
  - WIP settings column grid width when using full size class [David Ichim - [`affc7ac`](https://github.com/eea/volto-eea-design-system/commit/affc7ac99527aa92d5a192d90dc8c9ec46a66404)]
1537
1523
  - fix eslint [Miu Razvan - [`30c52e4`](https://github.com/eea/volto-eea-design-system/commit/30c52e4eb443555ca44c1b35df064e73d52c0a8b)]
1538
- - Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`76a41c7`](https://github.com/eea/volto-eea-design-system/commit/76a41c786995fd54afe4d1c345de939f683ffa70)]
1539
1524
  - 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)]
1540
1525
  - clean up [Miu Razvan - [`89f3cb3`](https://github.com/eea/volto-eea-design-system/commit/89f3cb33d70a14806a953f0acd1807e94169ee5c)]
1541
1526
  - Feature(container): flexible container size #260 from eea/feature-flexible-container [ichim-david - [`8f84c5b`](https://github.com/eea/volto-eea-design-system/commit/8f84c5b67afe9cbe01b2a44a8f92a9a554e1036a)]
@@ -1637,7 +1622,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1637
1622
 
1638
1623
  #### :nail_care: Enhancements
1639
1624
 
1640
- - change(jenkins): added yarn policy for storybook building [ichim-david - [`3d1b844`](https://github.com/eea/volto-eea-design-system/commit/3d1b844efeea40b99c00c9aa97089e0a0be58a57)]
1641
1625
  - change(docusaurus): typography updates [ichim-david - [`60a93a4`](https://github.com/eea/volto-eea-design-system/commit/60a93a4aece4e478ae13c2dfe697fd3703aa178a)]
1642
1626
  - change(accordion): allow customization of accordion title with css variables [David Ichim - [`15e7d27`](https://github.com/eea/volto-eea-design-system/commit/15e7d27f02c640df582f51a51ef36e645723f842)]
1643
1627
  - 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)]
@@ -1672,7 +1656,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1672
1656
  #### :hammer_and_wrench: Others
1673
1657
 
1674
1658
  - Merge pull request #243 from eea/develop [ichim-david - [`576564c`](https://github.com/eea/volto-eea-design-system/commit/576564ce395ee6ac9e74bcb19d5c4f0b4cd3c33b)]
1675
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`4a5be6e`](https://github.com/eea/volto-eea-design-system/commit/4a5be6eec78dae230626e61ea2c77e7f3c62510d)]
1676
1659
  - Back to dev [Alin Voinea - [`b251255`](https://github.com/eea/volto-eea-design-system/commit/b251255a7ed14d8290717726d86eaf54b87aa2d4)]
1677
1660
  ### [0.9.0](https://github.com/eea/volto-eea-design-system/compare/0.8.1...0.9.0) - 19 September 2022
1678
1661
 
@@ -2428,10 +2411,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
2428
2411
  #### :hammer_and_wrench: Others
2429
2412
 
2430
2413
  - prettier changes [David Ichim - [`134da52`](https://github.com/eea/volto-eea-design-system/commit/134da52549b9d5eac5a12b7ad3005073500ac2c4)]
2431
- - [JENKINSFILE] remove debug, add error per stage [valentinab25 - [`903eecd`](https://github.com/eea/volto-eea-design-system/commit/903eecdb6bcbb8d73cff5e447d80c85e2a2c906d)]
2432
- - [JENKINSFILE] mention comment author in comment [valentinab25 - [`39a26aa`](https://github.com/eea/volto-eea-design-system/commit/39a26aa1ff0f35e93e8df9f442c29c5ab79ff493)]
2433
- - [JENKINSFILE] format PR comments [valentinab25 - [`739438c`](https://github.com/eea/volto-eea-design-system/commit/739438c64950c745d630d1998314a2bed595b23a)]
2434
- - [JENKINSFILE] Add failure comment, no jenkins fail [valentinab25 - [`c325bf1`](https://github.com/eea/volto-eea-design-system/commit/c325bf14f3fb0da150f2a56cda0a9f03d8d8a628)]
2435
2414
  ### [0.2.3](https://github.com/eea/volto-eea-design-system/compare/0.2.2...0.2.3) - 29 April 2022
2436
2415
 
2437
2416
  #### :rocket: New Features
@@ -2856,7 +2835,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
2856
2835
  - set profile section overflow to auto [nileshgulia1 - [`71ab47f`](https://github.com/eea/volto-eea-design-system/commit/71ab47f89a433233c14b394c3824e607dd18a393)]
2857
2836
  - remove segment custom width [nileshgulia1 - [`1d3ea40`](https://github.com/eea/volto-eea-design-system/commit/1d3ea40f98bbdc1eab95b4da739a659b5e29ec16)]
2858
2837
  - fix profile section css overflow [nileshgulia1 - [`db5126f`](https://github.com/eea/volto-eea-design-system/commit/db5126fc902e191d1e18fb7e4c54877c8d8786e6)]
2859
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`647a6e3`](https://github.com/eea/volto-eea-design-system/commit/647a6e3e2093f2c4884c356eb148453551c8f33f)]
2860
2838
  - fix warning related to proptype [nileshgulia1 - [`946c6c6`](https://github.com/eea/volto-eea-design-system/commit/946c6c6bc9dece0985ae4b9f9cad6ece2be0ff2c)]
2861
2839
  - removed override already present in card.less [ichim-david - [`50d2ab2`](https://github.com/eea/volto-eea-design-system/commit/50d2ab26f85c8f409da02ec128cc1df34848ca69)]
2862
2840
  - update [Miu Razvan - [`bbcab87`](https://github.com/eea/volto-eea-design-system/commit/bbcab87ef4c8475f347f0daf4ab7e428e69c2316)]
@@ -2943,7 +2921,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
2943
2921
  - remove segment custom width [nileshgulia1 - [`4a60d84`](https://github.com/eea/volto-eea-design-system/commit/4a60d84d5fe76578b7760aa1dad6eef9a20916a7)]
2944
2922
  - Reformat header.less [Tiberiu Ichim - [`1f99dfc`](https://github.com/eea/volto-eea-design-system/commit/1f99dfc82c165304ca5600ce5138c1233615ab69)]
2945
2923
  - fix profile section css overflow [nileshgulia1 - [`8fd2654`](https://github.com/eea/volto-eea-design-system/commit/8fd265413149f1b5e033dffa0fbcb5ef5ecad15f)]
2946
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`6051724`](https://github.com/eea/volto-eea-design-system/commit/6051724437a38675e659c797bb5586ef81286ec0)]
2947
2924
  - fix warning related to proptype [nileshgulia1 - [`824b9be`](https://github.com/eea/volto-eea-design-system/commit/824b9beff77aae139882cd50a1d670a02ec6f723)]
2948
2925
  - refactor breadcrumbs component, make it functional and customizable [nileshgulia1 - [`4ec374e`](https://github.com/eea/volto-eea-design-system/commit/4ec374e20565eb0a5aed0ff67a02cd6f77eba1f0)]
2949
2926
  - removed override already present in card.less [ichim-david - [`93c4e5a`](https://github.com/eea/volto-eea-design-system/commit/93c4e5aac9cc85ff2cc6c04180f6655d5f5616dc)]
@@ -3512,7 +3489,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
3512
3489
  - Refs #142010 - Optimize Volto-addons gitflow pipelines [valentinab25 - [`3af46d2`](https://github.com/eea/volto-eea-design-system/commit/3af46d2b14fa0b1ef44736f25b0f9ac93b23d18d)]
3513
3490
  - 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)]
3514
3491
  - 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)]
3515
- - Add Sonarqube tag using ims-frontend addons list [EEA Jenkins - [`8d657d0`](https://github.com/eea/volto-eea-design-system/commit/8d657d056cde5163cfe90ac66bc973f55d82e5e9)]
3516
3492
  ### [0.1.0](https://github.com/eea/volto-eea-design-system/compare/0.0.1...0.1.0) - 17 November 2021
3517
3493
 
3518
3494
  #### :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.39.1",
3
+ "version": "1.40.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",
@@ -131,6 +131,8 @@ Default.args = {
131
131
  tablet: 4,
132
132
  computer: 4,
133
133
  },
134
+ width: 270,
135
+ height: 100,
134
136
  },
135
137
  {
136
138
  url: 'https://www.eionet.europa.eu/',
@@ -142,6 +144,8 @@ Default.args = {
142
144
  tablet: 4,
143
145
  computer: 4,
144
146
  },
147
+ width: 330,
148
+ height: 100,
145
149
  },
146
150
  ],
147
151
  social: [
@@ -27,6 +27,9 @@ const SubFooter = (props) => {
27
27
  src={manager.src}
28
28
  alt={manager.alt}
29
29
  loading="lazy"
30
+ width={manager.width}
31
+ height={manager.height}
32
+ className="footer-logo-icon"
30
33
  ></Image>
31
34
  </a>
32
35
  </div>
@@ -343,6 +343,9 @@ const Main = ({
343
343
  <Image
344
344
  src={!searchIsActive ? `${searchIcon}` : `${closeIcon}`}
345
345
  alt="Global search"
346
+ height={45}
347
+ width={45}
348
+ className="header-search-icon"
346
349
  />
347
350
  </button>
348
351
  )}
@@ -11,6 +11,7 @@ import {
11
11
  import { cloneDeep, kebabCase } from 'lodash';
12
12
 
13
13
  import { useClickOutside } from '@eeacms/volto-eea-design-system/helpers';
14
+ import { numbersToMenuItemColumns } from '../Header/utils';
14
15
 
15
16
  const generateCssClassFromUrl = (url) => {
16
17
  if (!url) return '';
@@ -135,19 +136,20 @@ export const StandardMegaMenuGrid = ({ menuItem, renderMenuItem, layout }) => {
135
136
  const urlClass = sectionItem?.url
136
137
  ? generateCssClassFromUrl(sectionItem.url)
137
138
  : '';
138
- const classNames = `${layout.menuItemColumns[columnIndex]}${
139
- urlClass ? ` ${urlClass}` : ''
140
- }`;
141
-
139
+ const classNames = `${numbersToMenuItemColumns(
140
+ layout.menuItemColumns[columnIndex],
141
+ )}${urlClass ? ` ${urlClass}` : ''}`;
142
142
  return (
143
- <div className={classNames} key={columnIndex}>
143
+ <div className={classNames} key={columnIndex + '-column'}>
144
144
  {columnIndex !== menuItemColumnsLength
145
145
  ? renderColumnContent(menuItem.items[columnIndex], columnIndex)
146
146
  : menuItem.items
147
147
  .slice(menuItemColumnsLength)
148
- .map((section, _idx) =>
149
- renderColumnContent(section, columnIndex),
150
- )}
148
+ .map((section, _idx) => (
149
+ <React.Fragment key={`${columnIndex}-${_idx}`}>
150
+ {renderColumnContent(section, columnIndex)}
151
+ </React.Fragment>
152
+ ))}
151
153
  </div>
152
154
  );
153
155
  })}
@@ -53,3 +53,27 @@ export function isMenuItemActive(menuItem, bestMatchUrl, bestScore) {
53
53
  const itemUrl = menuItem['@id'] || menuItem.url;
54
54
  return itemUrl === bestMatchUrl;
55
55
  }
56
+
57
+ // Helper functions for menuItemColumns conversion (numbers to semantic UI format)
58
+ export const numberToColumnString = (num) => {
59
+ const numbers = [
60
+ '',
61
+ 'one',
62
+ 'two',
63
+ 'three',
64
+ 'four',
65
+ 'five',
66
+ 'six',
67
+ 'seven',
68
+ 'eight',
69
+ 'nine',
70
+ ];
71
+ return numbers[num] ? `${numbers[num]} wide column` : '';
72
+ };
73
+
74
+ export const numbersToMenuItemColumns = (numbers) => {
75
+ if (!Array.isArray(numbers)) return numbers;
76
+ return numbers
77
+ .map((num) => numberToColumnString(parseInt(num)))
78
+ .filter((col) => col !== '');
79
+ };
@@ -2,7 +2,12 @@
2
2
  * Tests for Header utility functions
3
3
  */
4
4
 
5
- import { findBestMatchingMenuItem, isMenuItemActive } from './utils';
5
+ import {
6
+ findBestMatchingMenuItem,
7
+ isMenuItemActive,
8
+ numberToColumnString,
9
+ numbersToMenuItemColumns,
10
+ } from './utils';
6
11
 
7
12
  describe('Header utils', () => {
8
13
  describe('findBestMatchingMenuItem', () => {
@@ -120,4 +125,101 @@ describe('Header utils', () => {
120
125
  expect(result).toBe(true);
121
126
  });
122
127
  });
128
+
129
+ describe('numberToColumnString', () => {
130
+ test('converts number 1 to "one wide column"', () => {
131
+ expect(numberToColumnString(1)).toBe('one wide column');
132
+ });
133
+
134
+ test('converts number 2 to "two wide column"', () => {
135
+ expect(numberToColumnString(2)).toBe('two wide column');
136
+ });
137
+
138
+ test('converts number 3 to "three wide column"', () => {
139
+ expect(numberToColumnString(3)).toBe('three wide column');
140
+ });
141
+
142
+ test('converts number 4 to "four wide column"', () => {
143
+ expect(numberToColumnString(4)).toBe('four wide column');
144
+ });
145
+
146
+ test('converts number 5 to "five wide column"', () => {
147
+ expect(numberToColumnString(5)).toBe('five wide column');
148
+ });
149
+
150
+ test('converts number 6 to "six wide column"', () => {
151
+ expect(numberToColumnString(6)).toBe('six wide column');
152
+ });
153
+
154
+ test('converts number 7 to "seven wide column"', () => {
155
+ expect(numberToColumnString(7)).toBe('seven wide column');
156
+ });
157
+
158
+ test('converts number 8 to "eight wide column"', () => {
159
+ expect(numberToColumnString(8)).toBe('eight wide column');
160
+ });
161
+
162
+ test('converts number 9 to "nine wide column"', () => {
163
+ expect(numberToColumnString(9)).toBe('nine wide column');
164
+ });
165
+
166
+ test('returns empty string for number 0', () => {
167
+ expect(numberToColumnString(0)).toBe('');
168
+ });
169
+
170
+ test('returns empty string for numbers > 9', () => {
171
+ expect(numberToColumnString(10)).toBe('');
172
+ expect(numberToColumnString(100)).toBe('');
173
+ });
174
+
175
+ test('returns empty string for negative numbers', () => {
176
+ expect(numberToColumnString(-1)).toBe('');
177
+ });
178
+ });
179
+
180
+ describe('numbersToMenuItemColumns', () => {
181
+ test('converts array of numbers to column strings', () => {
182
+ const result = numbersToMenuItemColumns([1, 2, 3]);
183
+ expect(result).toEqual([
184
+ 'one wide column',
185
+ 'two wide column',
186
+ 'three wide column',
187
+ ]);
188
+ });
189
+
190
+ test('filters out invalid numbers (0, negative, > 9)', () => {
191
+ const result = numbersToMenuItemColumns([0, 1, 2, 10, -1, 3]);
192
+ expect(result).toEqual([
193
+ 'one wide column',
194
+ 'two wide column',
195
+ 'three wide column',
196
+ ]);
197
+ });
198
+
199
+ test('handles string numbers by parsing them', () => {
200
+ const result = numbersToMenuItemColumns(['1', '2', '3']);
201
+ expect(result).toEqual([
202
+ 'one wide column',
203
+ 'two wide column',
204
+ 'three wide column',
205
+ ]);
206
+ });
207
+
208
+ test('returns non-array input as-is', () => {
209
+ expect(numbersToMenuItemColumns('not an array')).toBe('not an array');
210
+ expect(numbersToMenuItemColumns(null)).toBe(null);
211
+ expect(numbersToMenuItemColumns(undefined)).toBe(undefined);
212
+ expect(numbersToMenuItemColumns(123)).toBe(123);
213
+ });
214
+
215
+ test('handles empty array', () => {
216
+ const result = numbersToMenuItemColumns([]);
217
+ expect(result).toEqual([]);
218
+ });
219
+
220
+ test('handles array with all invalid numbers', () => {
221
+ const result = numbersToMenuItemColumns([0, 10, -1, 100]);
222
+ expect(result).toEqual([]);
223
+ });
224
+ });
123
225
  });
@@ -13,15 +13,27 @@ import { Image } from 'semantic-ui-react';
13
13
  * @param {Object} intl Intl object
14
14
  * @returns {string} Markup of the component.
15
15
  */
16
- const Logo = ({ src, invertedSrc, id, url, alt, title, inverted }) => {
16
+ const Logo = ({
17
+ src,
18
+ invertedSrc,
19
+ id,
20
+ url,
21
+ alt,
22
+ title,
23
+ inverted,
24
+ width,
25
+ height,
26
+ }) => {
17
27
  return (
18
- <Link to={url} title={title} className={'logo'}>
28
+ <Link to={url} title={title} className="logo">
19
29
  <Image
20
30
  src={inverted ? invertedSrc : src}
21
31
  alt={alt}
22
32
  title={title}
23
33
  className="eea-logo"
24
34
  id={id}
35
+ width={width}
36
+ height={height}
25
37
  />
26
38
  </Link>
27
39
  );
@@ -137,4 +137,6 @@ Logo.args = {
137
137
  src: LogoImage,
138
138
  invertedSrc: InvertedLogoImage,
139
139
  inverted: false,
140
+ width: 350,
141
+ height: 130,
140
142
  };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Icon } from 'semantic-ui-react';
3
3
  import { ConditionalLink } from '@plone/volto/components';
4
- import { getFieldURL } from '@plone/volto/helpers';
4
+ import { getFieldURL } from '@plone/volto/helpers/Url/Url';
5
5
 
6
6
  function Tag({ href, children }) {
7
7
  return (
@@ -1,6 +1,16 @@
1
1
  import React from 'react';
2
2
  import Tag from './Tag';
3
3
  import { Container } from 'semantic-ui-react';
4
+ import configureStore from 'redux-mock-store';
5
+ import { Provider } from 'react-redux';
6
+ const mockStore = configureStore();
7
+
8
+ const store = mockStore({
9
+ intl: {
10
+ locale: 'en',
11
+ messages: {},
12
+ },
13
+ });
4
14
 
5
15
  export default {
6
16
  title: 'Components/Tag',
@@ -15,9 +25,11 @@ export default {
15
25
  };
16
26
 
17
27
  export const Default = (args) => (
18
- <Container>
19
- <Tag href={args.link}>{args.title}</Tag>
20
- </Container>
28
+ <Provider store={store}>
29
+ <Container>
30
+ <Tag href={args.link}>{args.title}</Tag>
31
+ </Container>
32
+ </Provider>
21
33
  );
22
34
 
23
35
  Default.args = {
@@ -2,6 +2,16 @@ import React from 'react';
2
2
  import TagList from './TagList';
3
3
  import Tag from '../Tag/Tag';
4
4
  import { Container } from 'semantic-ui-react';
5
+ import configureStore from 'redux-mock-store';
6
+ import { Provider } from 'react-redux';
7
+ const mockStore = configureStore();
8
+
9
+ const store = mockStore({
10
+ intl: {
11
+ locale: 'en',
12
+ messages: {},
13
+ },
14
+ });
5
15
 
6
16
  export default {
7
17
  title: 'Components/Tag',
@@ -40,18 +50,20 @@ export default {
40
50
  };
41
51
 
42
52
  export const List = (args) => (
43
- <Container>
44
- <TagList className={args.direction}>
45
- <TagList.Title>{args.title}</TagList.Title>
46
- <TagList.Content>
47
- {args.tags.map((tag, index) => [
48
- <Tag href={tag.href} key={index}>
49
- {tag.category}
50
- </Tag>,
51
- ])}
52
- </TagList.Content>
53
- </TagList>
54
- </Container>
53
+ <Provider store={store}>
54
+ <Container>
55
+ <TagList className={args.direction}>
56
+ <TagList.Title>{args.title}</TagList.Title>
57
+ <TagList.Content>
58
+ {args.tags.map((tag, index) => [
59
+ <Tag href={tag.href} key={index}>
60
+ {tag.category}
61
+ </Tag>,
62
+ ])}
63
+ </TagList.Content>
64
+ </TagList>
65
+ </Container>
66
+ </Provider>
55
67
  );
56
68
 
57
69
  List.args = {
@@ -66,6 +66,10 @@ footer .footer-header {
66
66
  width: @subFooterItemWidth;
67
67
  height: @subFooterItemHeight;
68
68
  align-items: @subFooterItemAlignItems;
69
+ .footer-logo-icon {
70
+ width: 100%;
71
+ height: auto;
72
+ }
69
73
  }
70
74
 
71
75
  .subfooter .item .ui.grid {
@@ -307,6 +307,7 @@
307
307
  width: @logoWidth;
308
308
  max-width: @mobileLogoMaxWidth;
309
309
  margin-top: @mobileLogoMarginTop;
310
+ height: @logoHeight;
310
311
  }
311
312
 
312
313
  /* Subsite */
@@ -476,6 +477,10 @@
476
477
  img {
477
478
  width: 75%;
478
479
  }
480
+ .header-search-icon {
481
+ width: @searchIconWidthMobile;
482
+ height: @searchIconHeightMobile;
483
+ }
479
484
  // icon to be used
480
485
  i.icon {
481
486
  display: flex;
@@ -505,6 +510,10 @@
505
510
  .search-action {
506
511
  width: @tabletActionsBoxWidth;
507
512
  height: @tabletMainSectionHeight;
513
+ .header-search-icon {
514
+ width: @searchIconWidth;
515
+ height: @searchIconHeight;
516
+ }
508
517
  }
509
518
 
510
519
  /*----------------------------------------------------------------------------
@@ -115,6 +115,7 @@
115
115
 
116
116
  /* Logo */
117
117
  @logoWidth: 100%;
118
+ @logoHeight: auto;
118
119
  @mobileLogoMaxWidth: 142px;
119
120
  @tabletLogoMaxWidth: 252px;
120
121
  @computerLogoMaxWidth: 347px; //348 rendered fuzzy :(
@@ -161,6 +162,10 @@
161
162
  @tabletActionsBoxWidth: 66px;
162
163
  @computerActionsBoxWidth: 72px;
163
164
  @burgerActionBackgroundColor: @darkMidnightBlue;
165
+ @searchIconWidth: 45px;
166
+ @searchIconHeight: 45px;
167
+ @searchIconHeightMobile: 24px;
168
+ @searchIconWidthMobile: 24px;
164
169
 
165
170
  /* Mega menu and Search popup */
166
171
  @mobilePopupMarginTop: 5vh;
@@ -9,6 +9,21 @@ body {
9
9
  font-size: @baseFontSize;
10
10
  }
11
11
 
12
+ .is-fullscreen-mode {
13
+
14
+ #header,
15
+ #footer,
16
+ .skiplinks-wrapper,
17
+ .inpage-navigation-wrapper {
18
+ display: none !important;
19
+ visibility: hidden;
20
+ }
21
+
22
+ body {
23
+ margin-top: 0 !important;
24
+ }
25
+ }
26
+
12
27
  /* sensible image defaults */
13
28
  img {
14
29
  max-width: 100%;
@@ -215,11 +230,37 @@ a {
215
230
  }
216
231
  }
217
232
 
233
+ @first-print-page: ~"@page :first { margin-top: 0; }";
234
+
218
235
  @media print {
219
236
 
220
237
  @page {
221
238
  size: A4;
222
- margin: 1cm;
239
+ margin: 14mm 0;
240
+ }
241
+
242
+ @{first-print-page} html,
243
+ body {
244
+ width: auto;
245
+ height: auto;
246
+ background: @white;
247
+ color: @textColor;
248
+ }
249
+
250
+ // avoid cutting elements
251
+ body {
252
+ margin: 0;
253
+ overflow: visible !important;
254
+ }
255
+
256
+ h1,
257
+ h2,
258
+ h3,
259
+ h4 {
260
+ break-after: avoid-page;
261
+ break-inside: avoid;
262
+ page-break-after: avoid;
263
+ page-break-inside: avoid;
223
264
  }
224
265
 
225
266
  * {
@@ -227,12 +268,22 @@ a {
227
268
  print-color-adjust: exact;
228
269
  }
229
270
 
271
+ .eea.header,
272
+ .eea.header .container,
273
+ .light-header .container {
274
+ margin-top: 0 !important;
275
+ padding-top: 0 !important;
276
+ }
277
+
230
278
  .skiplinks-wrapper,
231
279
  .slider-arrow,
232
280
  #footer,
233
281
  #inpage-navigation,
234
282
  .column.actions,
235
- .slick-arrows {
283
+ .slick-arrows,
284
+ .ui.sticky,
285
+ .has-side-nav .content-box::before,
286
+ .light-header::before {
236
287
  display: none !important;
237
288
  visibility: hidden;
238
289
  }
@@ -242,6 +293,14 @@ a {
242
293
  break-inside: avoid;
243
294
  }
244
295
 
296
+ // avoid single lines at the beginning or end of a page
297
+ #page-document p,
298
+ #page-document li,
299
+ #page-document blockquote {
300
+ orphans: 3;
301
+ widows: 3;
302
+ }
303
+
245
304
  .ui.segment.breadcrumbs {
246
305
  padding: 0;
247
306
 
@@ -267,10 +326,38 @@ a {
267
326
  .embed-tableau,
268
327
  .embed-map-visualization,
269
328
  .embed-visualization {
329
+ break-inside: avoid;
270
330
  page-break-inside: avoid;
271
331
  }
272
332
 
333
+ .ui.segment,
334
+ .content-box,
335
+ .card,
336
+ figure {
337
+ box-shadow: none !important;
338
+ }
339
+
273
340
  .grid-block-teaser .card {
274
341
  page-break-inside: auto;
275
342
  }
343
+
344
+ // pdf printing optimizations
345
+ .light-header .container {
346
+ padding-left: 8mm;
347
+ padding-right: 8mm;
348
+ }
349
+
350
+ .content-type {
351
+ --text-color-secondary: @textColor;
352
+ }
353
+
354
+ .columns-view {
355
+ .ui.column.grid>[class*="three wide"].column {
356
+ width: 16.66666667% !important;
357
+ }
358
+
359
+ .ui.column.grid>[class*="ten wide"].column {
360
+ width: 83.33333333% !important;
361
+ }
362
+ }
276
363
  }