@eeacms/volto-bise-policy 1.3.8 → 1.3.9

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.3.9](https://github.com/eea/volto-bise-policy/compare/1.3.8...1.3.9) - 27 August 2026
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix(NRRWidgets): small fix for Measures widgets [laszlocseh - [`8989933`](https://github.com/eea/volto-bise-policy/commit/89899332011e4882b3c77209103b2460b3dfce3c)]
12
+
13
+ #### :hammer_and_wrench: Others
14
+
15
+ - test(NRRWidgets): update test to expect leading label for measures [laszlocseh - [`913e8ad`](https://github.com/eea/volto-bise-policy/commit/913e8adb1d5a575978f96c2bf8667d924322e26d)]
7
16
  ### [1.3.8](https://github.com/eea/volto-bise-policy/compare/1.3.7...1.3.8) - 26 August 2026
8
17
 
9
18
  #### :rocket: New Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-bise-policy",
3
- "version": "1.3.8",
3
+ "version": "1.3.9",
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",
@@ -92,6 +92,7 @@ export const NRRrelatedCaseStudiesView = ({ value }) => {
92
92
  return (
93
93
  <LinkedList
94
94
  label="Related Case Studies"
95
+ secondary
95
96
  items={items}
96
97
  render={(item) => (
97
98
  <UniversalLink href={item['@id']}>{item.title}</UniversalLink>
@@ -106,7 +107,9 @@ export const NRRMeasuresImplementedView = ({ value }) => {
106
107
 
107
108
  return (
108
109
  <LinkedList
110
+ label="Measures Implemented"
109
111
  items={items}
112
+ secondary
110
113
  render={(item) => (
111
114
  <UniversalLink href={item['@id']}>{item.title}</UniversalLink>
112
115
  )}
@@ -121,6 +124,7 @@ export const NRREcosystemTypologyView = ({ value }) => {
121
124
  return (
122
125
  <InlineList
123
126
  label="Ecosystem type"
127
+ secondary
124
128
  items={items}
125
129
  render={(item) => item.title}
126
130
  />
@@ -137,7 +137,7 @@ describe('NRRMeasuresImplementedView', () => {
137
137
  expect(container.firstChild).toBeNull();
138
138
  });
139
139
 
140
- it('renders measures as links without a leading label', () => {
140
+ it('renders measures as links with a leading label', () => {
141
141
  const value = [
142
142
  { '@id': '/m1', title: 'Measure One' },
143
143
  { '@id': '/m2', title: 'Measure Two' },
@@ -148,8 +148,8 @@ describe('NRRMeasuresImplementedView', () => {
148
148
  const list = container.querySelector('.nrr-linked-list');
149
149
  expect(list).toBeInTheDocument();
150
150
 
151
- // no label rendered for this view
152
- expect(list.querySelector('b')).toBeNull();
151
+ // labeled like the other linked-list views
152
+ expect(list.querySelector('b')).toHaveTextContent('Measures Implemented:');
153
153
 
154
154
  const links = list.querySelectorAll('a');
155
155
  expect(links).toHaveLength(2);