@eeacms/volto-tabs-block 9.0.0 → 9.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,13 +4,18 @@ 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
- ### [9.0.0](https://github.com/eea/volto-tabs-block/compare/8.1.0...9.0.0) - 5 November 2024
7
+ ### [9.0.1](https://github.com/eea/volto-tabs-block/compare/9.0.0...9.0.1) - 8 January 2025
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix: hideEmptyTabs should look for generic block value refs#282065 [nileshgulia1 - [`7ae6227`](https://github.com/eea/volto-tabs-block/commit/7ae6227f736acc5098c106d78d2c13c9cb2afda5)]
12
+
13
+ ## [9.0.0](https://github.com/eea/volto-tabs-block/compare/8.1.0...9.0.0) - 6 November 2024
8
14
 
9
15
  #### :hammer_and_wrench: Others
10
16
 
11
17
  - remove uneeded prop pased to variation tab view [Miu Razvan - [`2679154`](https://github.com/eea/volto-tabs-block/commit/2679154b8df60c380d87d167afa6b5379430be42)]
12
18
  - run i18n [Miu Razvan - [`1ef884b`](https://github.com/eea/volto-tabs-block/commit/1ef884b655f685e8e34bc0b47e7a4ed991c8d7ff)]
13
- - keep backward compatibility, ref #278618 [Miu Razvan - [`5110c92`](https://github.com/eea/volto-tabs-block/commit/5110c9218b9b435bb2762436add6db0c4b9f3b16)]
14
19
  - templates mapping for backwards compatibility [Miu Razvan - [`6838d5f`](https://github.com/eea/volto-tabs-block/commit/6838d5f9898fdeabb82b09ad18552860bb5d3417)]
15
20
  ### [8.1.0](https://github.com/eea/volto-tabs-block/compare/8.0.1...8.1.0) - 26 August 2024
16
21
 
@@ -40,6 +45,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
40
45
 
41
46
  #### :hammer_and_wrench: Others
42
47
 
48
+ - Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`cb58ea7`](https://github.com/eea/volto-tabs-block/commit/cb58ea7417e8dd237b66908fd53f1f3ca8726566)]
49
+ - Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`4377ffc`](https://github.com/eea/volto-tabs-block/commit/4377ffc350a92f62cbe77b17b67dd331c71cbcd7)]
43
50
  ### [7.5.1](https://github.com/eea/volto-tabs-block/compare/7.5.0...7.5.1) - 28 March 2024
44
51
 
45
52
  #### :nail_care: Enhancements
@@ -82,6 +89,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
82
89
  - Update react-slick version to 0.30.1 [David Ichim - [`3369176`](https://github.com/eea/volto-tabs-block/commit/33691768899e7f91d2cd15319dbe3ebe66cf1513)]
83
90
  - update [Razvan - [`61b19e8`](https://github.com/eea/volto-tabs-block/commit/61b19e8584ff6023320b3671414392ea11449ff0)]
84
91
  - use DefaultEdit variation for responsive accordion, refs #266327 [Razvan - [`11acf6c`](https://github.com/eea/volto-tabs-block/commit/11acf6ce5afe022ddd30bff42c9a3321d1284da6)]
92
+ - Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`5045757`](https://github.com/eea/volto-tabs-block/commit/5045757a275477ba382551b301998d835741b716)]
85
93
  ### [7.0.5](https://github.com/eea/volto-tabs-block/compare/7.0.4...7.0.5) - 10 December 2023
86
94
 
87
95
  #### :rocket: New Features
@@ -113,6 +121,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
113
121
 
114
122
  #### :hammer_and_wrench: Others
115
123
 
124
+ - test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`3b87d12`](https://github.com/eea/volto-tabs-block/commit/3b87d12df4d01031231b15eb4196f6ff6937706b)]
125
+ - test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`f5f3430`](https://github.com/eea/volto-tabs-block/commit/f5f343024b45bb0206e0169cce6dd0e8472b6795)]
116
126
  ### [7.0.1](https://github.com/eea/volto-tabs-block/compare/7.0.0...7.0.1) - 9 November 2023
117
127
 
118
128
  #### :bug: Bug Fixes
@@ -122,10 +132,14 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
122
132
 
123
133
  #### :hammer_and_wrench: Others
124
134
 
135
+ - test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`bd6ffd4`](https://github.com/eea/volto-tabs-block/commit/bd6ffd42a00a2d77ff59545d9adaab7a45361446)]
136
+ - test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`d481e25`](https://github.com/eea/volto-tabs-block/commit/d481e25c4d61d7ff6ea11ff75c99fbdd730ecd82)]
137
+ - test: [JENKINS] Improve cypress time [valentinab25 - [`6c39efc`](https://github.com/eea/volto-tabs-block/commit/6c39efcc30bddfebb6c61f8a8cd714f61828ec69)]
125
138
  ## [7.0.0](https://github.com/eea/volto-tabs-block/compare/6.0.3...7.0.0) - 31 October 2023
126
139
 
127
140
  #### :house: Internal changes
128
141
 
142
+ - chore: [JENKINS] Refactor automated testing [valentinab25 - [`f2e3d39`](https://github.com/eea/volto-tabs-block/commit/f2e3d3973c026f0331b82e0f691ec9bdc5899672)]
129
143
 
130
144
  #### :hammer_and_wrench: Others
131
145
 
@@ -338,6 +352,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
338
352
 
339
353
  #### :house: Internal changes
340
354
 
355
+ - chore: [JENKINS] Deprecate circularity website [valentinab25 - [`820aaa9`](https://github.com/eea/volto-tabs-block/commit/820aaa963e978a893a23b77f694bb011f3d768c1)]
341
356
 
342
357
  #### :hammer_and_wrench: Others
343
358
 
@@ -428,6 +443,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
428
443
 
429
444
  #### :hammer_and_wrench: Others
430
445
 
446
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`52bc1b0`](https://github.com/eea/volto-tabs-block/commit/52bc1b0fbd4611173b8ca9dc2cf4033b31474420)]
431
447
  ## [4.0.0](https://github.com/eea/volto-tabs-block/compare/3.0.1...4.0.0) - 10 March 2023
432
448
 
433
449
  #### :house: Internal changes
@@ -438,7 +454,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
438
454
  #### :hammer_and_wrench: Others
439
455
 
440
456
  - Release 4.0.0 [Alin Voinea - [`8fc4cc9`](https://github.com/eea/volto-tabs-block/commit/8fc4cc9d8dc71e623e6586b95871cb3b98dc385f)]
457
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`22d5bdc`](https://github.com/eea/volto-tabs-block/commit/22d5bdc1b3579cc46c73ce855041ca09154eb502)]
458
+ - Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`fde4324`](https://github.com/eea/volto-tabs-block/commit/fde4324f962cde8e8de0d76a44bee4b67d216bf8)]
459
+ - Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`9175e47`](https://github.com/eea/volto-tabs-block/commit/9175e470d793edc63b62a99940aed25dd45f3713)]
441
460
  - test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`3348950`](https://github.com/eea/volto-tabs-block/commit/334895036f8e367281abb35a20879c32dfbfc292)]
461
+ - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`39bfb39`](https://github.com/eea/volto-tabs-block/commit/39bfb39fa6e8483e639491ff998293e758ac6384)]
462
+ - yarn 3 [Alin Voinea - [`7e98df5`](https://github.com/eea/volto-tabs-block/commit/7e98df59669d71945be461e86e282b913538b805)]
463
+ - Add Sonarqube tag using demo-kitkat-frontend addons list [EEA Jenkins - [`079d7a4`](https://github.com/eea/volto-tabs-block/commit/079d7a43480e92fe280a9372399ff2d4d28537ae)]
442
464
  ### [3.0.1](https://github.com/eea/volto-tabs-block/compare/3.0.0...3.0.1) - 16 November 2022
443
465
 
444
466
  #### :hammer_and_wrench: Others
@@ -462,7 +484,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
462
484
 
463
485
  #### :hammer_and_wrench: Others
464
486
 
487
+ - Add Sonarqube tag using marine-frontend addons list [EEA Jenkins - [`a00e419`](https://github.com/eea/volto-tabs-block/commit/a00e419aef4c82a25f277f5e25e3d512c7838264)]
465
488
  - lint fix [David Ichim - [`c0a898c`](https://github.com/eea/volto-tabs-block/commit/c0a898c54461478baed2ac2f149ae580d4c89aeb)]
489
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`3b284e6`](https://github.com/eea/volto-tabs-block/commit/3b284e65e0eafa9b5ad8c92b4cb77628ffcc8103)]
466
490
  ### [2.2.0](https://github.com/eea/volto-tabs-block/compare/2.1.0...2.2.0) - 25 August 2022
467
491
 
468
492
  #### :hammer_and_wrench: Others
@@ -478,6 +502,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
478
502
 
479
503
  - Release 2.1.0 [Alin Voinea - [`3cdfa30`](https://github.com/eea/volto-tabs-block/commit/3cdfa30d4d03d864be8ad63f0648b4717298734a)]
480
504
  - Squashed commit of the following: [Alin Voinea - [`ca241f5`](https://github.com/eea/volto-tabs-block/commit/ca241f56a96817679a1948154e2a8cc0e17b96fe)]
505
+ - Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`68ea5a6`](https://github.com/eea/volto-tabs-block/commit/68ea5a6b971fc36840cf5716a04f68316b229b2b)]
481
506
  ### [2.0.2](https://github.com/eea/volto-tabs-block/compare/2.0.1...2.0.2) - 16 June 2022
482
507
 
483
508
  ### [2.0.1](https://github.com/eea/volto-tabs-block/compare/2.0.0...2.0.1) - 10 June 2022
@@ -521,6 +546,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
521
546
  - Let theme addon to set default values for default template schema [Miu Razvan - [`55f148d`](https://github.com/eea/volto-tabs-block/commit/55f148d1a95417f8a0b55681ce250acde8463c1c)]
522
547
  - Render pane as container if tabs-block has full-width class [Miu Razvan - [`bbffb96`](https://github.com/eea/volto-tabs-block/commit/bbffb96b908476ddee447af3ce79bafb1a12f9a8)]
523
548
  - Refactor default template [Miu Razvan - [`58eff52`](https://github.com/eea/volto-tabs-block/commit/58eff5281adb08a5f8fe6d21fd43330252012277)]
549
+ - Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`72a6735`](https://github.com/eea/volto-tabs-block/commit/72a6735cbbc0e7d57b4bb7ea83fea9becc317018)]
550
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`e928da1`](https://github.com/eea/volto-tabs-block/commit/e928da1df7e4680bd4be9b5d46406800d721b8c5)]
524
551
  ### [1.2.12](https://github.com/eea/volto-tabs-block/compare/1.2.11...1.2.12) - 21 January 2022
525
552
 
526
553
  ### [1.2.11](https://github.com/eea/volto-tabs-block/compare/1.2.10...1.2.11) - 4 January 2022
@@ -535,11 +562,17 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
535
562
 
536
563
  #### :hammer_and_wrench: Others
537
564
 
565
+ - Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`cd2e2ac`](https://github.com/eea/volto-tabs-block/commit/cd2e2ac1d127bfc688ecf16e17734603ab727a34)]
538
566
  ### [1.2.8](https://github.com/eea/volto-tabs-block/compare/1.2.7...1.2.8) - 10 December 2021
539
567
 
540
568
  #### :hammer_and_wrench: Others
541
569
 
542
570
  - Refs #142010 - Optimize Volto-addons gitflow pipelines [valentinab25 - [`d10c0b3`](https://github.com/eea/volto-tabs-block/commit/d10c0b3d35d25c530d19eebde38dfe5da8fda01b)]
571
+ - Add Sonarqube tag using industry-frontend addons list [EEA Jenkins - [`1a7187f`](https://github.com/eea/volto-tabs-block/commit/1a7187f10b2bd9e1307dabf51823f63ccd766864)]
572
+ - Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`72a7550`](https://github.com/eea/volto-tabs-block/commit/72a755025b38e1d8dd7fe206273a70585e4b9ac8)]
573
+ - Add Sonarqube tag using forests-frontend addons list [EEA Jenkins - [`022b277`](https://github.com/eea/volto-tabs-block/commit/022b2779a5d7fd7217c2d8a559eafab0bd86ce23)]
574
+ - Add Sonarqube tag using sustainability-frontend addons list [EEA Jenkins - [`84c9bea`](https://github.com/eea/volto-tabs-block/commit/84c9bea7a0aba2fe9ef9713e7131de6da6e0bcce)]
575
+ - Add Sonarqube tag using ims-frontend addons list [EEA Jenkins - [`020aa97`](https://github.com/eea/volto-tabs-block/commit/020aa97bc70a643ea3857566c5a1dc3a5200c2be)]
543
576
  ### [1.2.7](https://github.com/eea/volto-tabs-block/compare/1.2.6...1.2.7) - 27 August 2021
544
577
 
545
578
  #### :hammer_and_wrench: Others
@@ -556,6 +589,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
556
589
 
557
590
  - Move less import in View instead of Edit [Tiberiu Ichim - [`84aeff0`](https://github.com/eea/volto-tabs-block/commit/84aeff04a980076f54687c546691d37b6e790478)]
558
591
  - gitignore tweaks [Tiberiu Ichim - [`f4c993d`](https://github.com/eea/volto-tabs-block/commit/f4c993d004b126f08f16651ab9460546fa9e9cad)]
592
+ - Add Sonarqube tag using frontend addons list [EEA Jenkins - [`865906a`](https://github.com/eea/volto-tabs-block/commit/865906a0deb261d44cc23e26bfd2d1dd0e319640)]
593
+ - Add Sonarqube tag using frontend addons list [EEA Jenkins - [`5383861`](https://github.com/eea/volto-tabs-block/commit/538386100adbc868e693c1c2a5ba13461307ffee)]
559
594
  - Style update [razvanMiu - [`323aaaf`](https://github.com/eea/volto-tabs-block/commit/323aaafcad01d8fdf0e713a1fc254ae9fe319f43)]
560
595
  - Fix 'scroll to' feature on carousel [razvanMiu - [`16c6a08`](https://github.com/eea/volto-tabs-block/commit/16c6a08f6db687542ea38e07a92b265e592f6173)]
561
596
  - Better accesibility [razvanMiu - [`3511611`](https://github.com/eea/volto-tabs-block/commit/351161197270a4807f01d85a7055cbaadae72f8e)]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-tabs-block",
3
- "version": "9.0.0",
3
+ "version": "9.0.1",
4
4
  "description": "volto-tabs-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
package/src/helpers.js CHANGED
@@ -4,6 +4,7 @@ import {
4
4
  applySchemaDefaults,
5
5
  getBlocksFieldname,
6
6
  getBlocksLayoutFieldname,
7
+ blockHasValue,
7
8
  } from '@plone/volto/helpers';
8
9
  import { visitBlocks, toSlug } from '@eeacms/volto-anchors/helpers';
9
10
 
@@ -86,7 +87,7 @@ export const isTabEmpty = (content) => {
86
87
  if (blocksNo === 1) {
87
88
  const blockId = content[blocks_layout_field].items[0];
88
89
  const block = blocks[blockId];
89
- if (block['@type'] === 'slate' && !block['plaintext']) {
90
+ if (!blockHasValue(block)) {
90
91
  return true;
91
92
  }
92
93
  }