@eeacms/volto-bise-policy 1.2.31 → 1.2.32

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,11 +4,20 @@ 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.2.31](https://github.com/eea/volto-bise-policy/compare/1.2.30...1.2.31) - 28 November 2025
7
+ ### [1.2.32](https://github.com/eea/volto-bise-policy/compare/1.2.31...1.2.32) - 3 December 2025
8
8
 
9
- #### :bug: Bug Fixes
9
+ #### :nail_care: Enhancements
10
+
11
+ - change: small changes to eunis marine habitat content type layout [laszlocseh - [`953054b`](https://github.com/eea/volto-bise-policy/commit/953054bbcfce244592d74872e5d1c49a64d2f446)]
12
+
13
+ #### :house: Internal changes
14
+
15
+ - style: Automated code fix [eea-jenkins - [`4b2ed3e`](https://github.com/eea/volto-bise-policy/commit/4b2ed3ecaec8ed601793f47570d202f9f8ea2fde)]
10
16
 
11
- - fix: SimpleDataTable schema [laszlocseh - [`8c71dd0`](https://github.com/eea/volto-bise-policy/commit/8c71dd0a1946203dc5b20d7ea14d9e11a4944e69)]
17
+ #### :hammer_and_wrench: Others
18
+
19
+ - test: temporarily disable sonarqube compare to master [laszlocseh - [`88ba930`](https://github.com/eea/volto-bise-policy/commit/88ba930b44432356fdbfffe023b005797091be3f)]
20
+ ### [1.2.31](https://github.com/eea/volto-bise-policy/compare/1.2.30...1.2.31) - 28 November 2025
12
21
 
13
22
  #### :hammer_and_wrench: Others
14
23
 
@@ -191,6 +200,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
191
200
  - chore: customize root theme to use volto-spotlight - refs #259794 [ana-oprea - [`347f96e`](https://github.com/eea/volto-bise-policy/commit/347f96e335139f9656abd34c308c531b05de85e7)]
192
201
  - chore: change the theme and alias to volto-spotlight and add volto-spotlight to package.json - refs #259794 [ana-oprea - [`52732a1`](https://github.com/eea/volto-bise-policy/commit/52732a17b3247a04ffae0a3f5118e173afa98157)]
193
202
  - chore: change theme to eea-volto-theme, change config.alias - refs #259794 [ana-oprea - [`c2d08ea`](https://github.com/eea/volto-bise-policy/commit/c2d08ea08a7f0e5f6f7d32149e60ea3f3e901923)]
203
+ - chore: [JENKINS] Refactor automated testing [valentinab25 - [`a3c9488`](https://github.com/eea/volto-bise-policy/commit/a3c9488c5d09ba97fe5976675524d436080a2460)]
194
204
  - chore: husky, lint-staged use fixed versions [valentinab25 - [`fddc30f`](https://github.com/eea/volto-bise-policy/commit/fddc30f11a1d8ec290edaca2d924282f5e113bc6)]
195
205
  - chore:volto 16 in tests, update docs, fix stylelint overrides [valentinab25 - [`005ce74`](https://github.com/eea/volto-bise-policy/commit/005ce742dbd014fde27e417059251233365766dd)]
196
206
 
@@ -203,9 +213,17 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
203
213
  - test: Update jest,Jenkinsfile,lint to volto-addons-template PR30 [valentinab25 - [`c1277ba`](https://github.com/eea/volto-bise-policy/commit/c1277bacf840ee9feccbfd6a2c85f0b25a9a9125)]
204
214
  - test: Update jest,Jenkinsfile,lint to volto-addons-template PR30 [valentinab25 - [`c944153`](https://github.com/eea/volto-bise-policy/commit/c944153710fd53c5d48863cf363464273e25f52e)]
205
215
  - test: Update jest,Jenkinsfile,lint to volto-addons-template PR30 [valentinab25 - [`d648d52`](https://github.com/eea/volto-bise-policy/commit/d648d525a2fc5076577fe0f75ff9782bf0d1d4e9)]
216
+ - test: [JENKINS] fix jest config, fail with logs on coverage [valentinab25 - [`2a7affe`](https://github.com/eea/volto-bise-policy/commit/2a7affe33d737704bdba117c4a5c8c6748ef7a47)]
217
+ - test: [JENKINS] fix jest config, fail with logs on coverage [valentinab25 - [`5929642`](https://github.com/eea/volto-bise-policy/commit/59296420105d0e8c1f1547aa0cd17a019e478c2b)]
218
+ - test: [JENKINS] fix jest config, fail with logs on coverage [valentinab25 - [`b1142f1`](https://github.com/eea/volto-bise-policy/commit/b1142f1da3667a9f56720f65bebce897a5dd8005)]
206
219
  - test: cypress should not wait for navigation, actions, types - refs #259794 [ana-oprea - [`188637c`](https://github.com/eea/volto-bise-policy/commit/188637c78a0cae71b5ee48022507d559dfaceb3e)]
220
+ - test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`fa4e473`](https://github.com/eea/volto-bise-policy/commit/fa4e473018386ec3f09d7300d655c8cccdc19a0e)]
221
+ - test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`1d9135b`](https://github.com/eea/volto-bise-policy/commit/1d9135bb878b3c7a1b828085b99b9d27d78ce60e)]
207
222
  - remove cypress tests as it doesn t work on bise [Dobricean Ioan Dorian - [`ba7e2de`](https://github.com/eea/volto-bise-policy/commit/ba7e2defea2dcfd01537c3abb41fa9515ff0a3e3)]
208
223
  - add mega menu layout settings as #259794 said [dobri1408 - [`b9a3683`](https://github.com/eea/volto-bise-policy/commit/b9a3683e7d85f8c88ad8feac975c47c434f62c4a)]
224
+ - test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`9181908`](https://github.com/eea/volto-bise-policy/commit/9181908c7f4b51bdf83a34f8c7f25827de9b1cc6)]
225
+ - test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`099d796`](https://github.com/eea/volto-bise-policy/commit/099d79669471e6924bf1e0bc51a79d54379c3a1a)]
226
+ - test: [JENKINS] Improve cypress time [valentinab25 - [`6d5d8e2`](https://github.com/eea/volto-bise-policy/commit/6d5d8e29b04ddb92628245570055067ca3dcbb6c)]
209
227
  - test: fix comment [valentinab25 - [`4f27d5a`](https://github.com/eea/volto-bise-policy/commit/4f27d5af2e8895c7af4f1157521ca42682b96e23)]
210
228
  - test: EN locales, pre-commit fix, feature PRs checks Refs #257193 [valentinab25 - [`4c2fcb0`](https://github.com/eea/volto-bise-policy/commit/4c2fcb01065e1ef962317ba7be788fd1df079618)]
211
229
  - test: Update Makefile and docker-compose to align it with Jenkinsfile [valentinab25 - [`89afaa1`](https://github.com/eea/volto-bise-policy/commit/89afaa15892930452027ef8c8593fc6d193cda70)]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-bise-policy",
3
- "version": "1.2.31",
3
+ "version": "1.2.32",
4
4
  "description": "@eeacms/volto-bise-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -240,7 +240,7 @@ export const EUNISMSFDView = ({ value }) => {
240
240
  return (
241
241
  <div className="eunis-widget-view">
242
242
  {items.map((item) => (
243
- <div key={item['@id']} className="msfd-item">
243
+ <div key={item['@id']} className="eunis-widget-item">
244
244
  <div>
245
245
  {item.relation}
246
246
  {item.value}
@@ -287,7 +287,7 @@ export const EUNISHDView = ({ value }) => {
287
287
  return (
288
288
  <div className="eunis-widget-view">
289
289
  {items.map((item) => (
290
- <div key={item['@id']} className="msfd-item">
290
+ <div key={item['@id']} className="eunis-widget-item">
291
291
  <div>
292
292
  {item.link ? (
293
293
  <>
@@ -333,7 +333,7 @@ export const EUNISEuropeanRedListView = ({ value }) => {
333
333
  return (
334
334
  <div className="eunis-widget-view">
335
335
  {items.map((item) => (
336
- <div key={item['@id']} className="msfd-item">
336
+ <div key={item['@id']} className="eunis-widget-item">
337
337
  <div>
338
338
  {item.link ? (
339
339
  <>
@@ -379,7 +379,7 @@ export const EUNISLinksToFinerEUNISHabitatsView = ({ value }) => {
379
379
  return (
380
380
  <div className="eunis-widget-view">
381
381
  {items.map((item) => (
382
- <div key={item['@id']} className="msfd-item">
382
+ <div key={item['@id']} className="eunis-widget-item">
383
383
  <div>
384
384
  {item.link ? (
385
385
  <>
@@ -427,7 +427,7 @@ export const EUNISCountryCodeView = ({ value }) => {
427
427
  </div>
428
428
  <div className="eunis-widget-view">
429
429
  {country.national.map((item) => (
430
- <div key={item['@id']} className="msfd-item">
430
+ <div key={item['@id']} className="eunis-widget-item">
431
431
  <div>
432
432
  {item.relation}
433
433
  {item.value}
@@ -441,6 +441,15 @@ export const EUNISCountryCodeView = ({ value }) => {
441
441
 
442
442
  export const EUNISRegionalSeaConventionValueView = EUNISMSFDView;
443
443
 
444
+ const relationChoices = [
445
+ ['=', '= equal to'],
446
+ ['#', '# overlaps'],
447
+ ['<', '< included in'],
448
+ ['>', '> including'],
449
+ ['>=', '>= equal to/including'],
450
+ ['<=', '<= equal to/included'],
451
+ ];
452
+
444
453
  const msfdSchema = {
445
454
  title: 'MSFD',
446
455
  fieldsets: [
@@ -453,12 +462,7 @@ const msfdSchema = {
453
462
  properties: {
454
463
  relation: {
455
464
  title: 'Relation',
456
- choices: [
457
- ['=', '= equal to'],
458
- ['#', '# overlaps'],
459
- ['<', '< included in'],
460
- ['>', '> including'],
461
- ],
465
+ choices: relationChoices,
462
466
  required: true,
463
467
  },
464
468
  value: {
@@ -481,12 +485,7 @@ const hdSchema = {
481
485
  properties: {
482
486
  relation: {
483
487
  title: 'Relation',
484
- choices: [
485
- ['=', '= equal to'],
486
- ['#', '# overlaps'],
487
- ['<', '< included in'],
488
- ['>', '> including'],
489
- ],
488
+ choices: relationChoices,
490
489
  required: true,
491
490
  },
492
491
  value: {
@@ -513,12 +512,7 @@ const europeanRedlistSchema = {
513
512
  properties: {
514
513
  relation: {
515
514
  title: 'Relation',
516
- choices: [
517
- ['=', '= equal to'],
518
- ['#', '# overlaps'],
519
- ['<', '< included in'],
520
- ['>', '> including'],
521
- ],
515
+ choices: relationChoices,
522
516
  required: true,
523
517
  },
524
518
  value: {
@@ -568,13 +562,7 @@ const regionalSeaConventionValueSchema = {
568
562
  properties: {
569
563
  relation: {
570
564
  title: 'Relation',
571
- choices: [
572
- ['=', '= equal to'],
573
- ['#', '# overlaps'],
574
- ['<', '< included in'],
575
- ['>', '> including'],
576
- ],
577
-
565
+ choices: relationChoices,
578
566
  required: true,
579
567
  },
580
568
  value: {
@@ -597,12 +585,7 @@ const nationalSchema = {
597
585
  properties: {
598
586
  relation: {
599
587
  title: 'Relation',
600
- choices: [
601
- ['=', '= equal to'],
602
- ['#', '# overlaps'],
603
- ['<', '< included in'],
604
- ['>', '> including'],
605
- ],
588
+ choices: relationChoices,
606
589
  required: true,
607
590
  },
608
591
  value: {
@@ -1,9 +1,19 @@
1
1
  .country-item {
2
- margin-top: 2rem;
3
- margin-bottom: 1em;
2
+ // margin-top: 2rem;
3
+ // margin-bottom: 1em;
4
4
  font-weight: 700;
5
5
  }
6
6
 
7
7
  .eunis-widget-view {
8
- margin-bottom: 1em;
8
+ margin-bottom: 2em;
9
+ }
10
+
11
+ .eunis-widget-wrapper {
12
+ label {
13
+ margin-bottom: 0;
14
+ }
15
+
16
+ .metadata.block {
17
+ margin-bottom: 0;
18
+ }
9
19
  }
@@ -18,10 +18,15 @@
18
18
  .contenttype-marine_eunis_habitat .help.slate_wysiwyg p.help {
19
19
  white-space: break-spaces;
20
20
  }
21
+
21
22
  .contenttype-marine_eunis_habitat .bise-objectlist-widget p.help {
22
23
  white-space: break-spaces;
23
24
  }
24
25
 
25
- .bise-objectlist-widget .inline.field > .ui.grid {
26
+ .contenttype-marine_eunis_habitat .eea.banner .gradient {
27
+ background: none;
28
+ }
29
+
30
+ .bise-objectlist-widget .inline.field>.ui.grid {
26
31
  margin: 0;
27
32
  }