@eeacms/volto-bise-policy 1.2.37 → 1.2.39
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 +16 -9
- package/README.md +8 -8
- package/package.json +1 -1
- package/src/components/Widgets/RichTextWidget.jsx +16 -0
- package/src/index.js +3 -0
- package/src/styles-config.js +5 -0
- package/theme/globals/site.overrides +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,10 +4,26 @@ 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.39](https://github.com/eea/volto-bise-policy/compare/1.2.38...1.2.39) - 24 February 2026
|
|
8
|
+
|
|
9
|
+
#### :house: Internal changes
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
#### :hammer_and_wrench: Others
|
|
13
|
+
|
|
14
|
+
- add eea brand colors [Dobricean Ioan Dorian - [`ba09f05`](https://github.com/eea/volto-bise-policy/commit/ba09f05dc50952cccd9e3acb8ee2938600b20f9f)]
|
|
15
|
+
- Fix sidebar menu scroll and add z-index [dobri1408 - [`632b97a`](https://github.com/eea/volto-bise-policy/commit/632b97a387c8904ccd98e0737a957ee368bd6114)]
|
|
16
|
+
### [1.2.38](https://github.com/eea/volto-bise-policy/compare/1.2.37...1.2.38) - 12 February 2026
|
|
17
|
+
|
|
18
|
+
#### :hammer_and_wrench: Others
|
|
19
|
+
|
|
20
|
+
- Merge pull request #71 from eea/develop [Nilesh - [`1675657`](https://github.com/eea/volto-bise-policy/commit/1675657789ea39c9658f1735aa8da1db141db4f0)]
|
|
21
|
+
- fix richtext widget view [nileshgulia1 - [`e4b1e25`](https://github.com/eea/volto-bise-policy/commit/e4b1e25e9430456367a2d3cb5026092a0054608f)]
|
|
7
22
|
### [1.2.37](https://github.com/eea/volto-bise-policy/compare/1.2.36...1.2.37) - 4 February 2026
|
|
8
23
|
|
|
9
24
|
#### :hammer_and_wrench: Others
|
|
10
25
|
|
|
26
|
+
- Merge pull request #70 from eea/develop [Nilesh - [`b4d955d`](https://github.com/eea/volto-bise-policy/commit/b4d955d00123444fb351d3f38b26aa1e4244c79a)]
|
|
11
27
|
- fix eslint [nileshgulia1 - [`b1cdf89`](https://github.com/eea/volto-bise-policy/commit/b1cdf89b239d0406db87db3433b8c1591f9da32a)]
|
|
12
28
|
- fix NRR widgets and Case studies Views refs #296409 [nileshgulia1 - [`8f5a5f5`](https://github.com/eea/volto-bise-policy/commit/8f5a5f57fbe1630839658850ec4f593e84836739)]
|
|
13
29
|
### [1.2.36](https://github.com/eea/volto-bise-policy/compare/1.2.35...1.2.36) - 3 February 2026
|
|
@@ -254,7 +270,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
254
270
|
- chore: customize root theme to use volto-spotlight - refs #259794 [ana-oprea - [`347f96e`](https://github.com/eea/volto-bise-policy/commit/347f96e335139f9656abd34c308c531b05de85e7)]
|
|
255
271
|
- 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)]
|
|
256
272
|
- chore: change theme to eea-volto-theme, change config.alias - refs #259794 [ana-oprea - [`c2d08ea`](https://github.com/eea/volto-bise-policy/commit/c2d08ea08a7f0e5f6f7d32149e60ea3f3e901923)]
|
|
257
|
-
- chore: [JENKINS] Refactor automated testing [valentinab25 - [`a3c9488`](https://github.com/eea/volto-bise-policy/commit/a3c9488c5d09ba97fe5976675524d436080a2460)]
|
|
258
273
|
- chore: husky, lint-staged use fixed versions [valentinab25 - [`fddc30f`](https://github.com/eea/volto-bise-policy/commit/fddc30f11a1d8ec290edaca2d924282f5e113bc6)]
|
|
259
274
|
- chore:volto 16 in tests, update docs, fix stylelint overrides [valentinab25 - [`005ce74`](https://github.com/eea/volto-bise-policy/commit/005ce742dbd014fde27e417059251233365766dd)]
|
|
260
275
|
|
|
@@ -267,17 +282,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
267
282
|
- test: Update jest,Jenkinsfile,lint to volto-addons-template PR30 [valentinab25 - [`c1277ba`](https://github.com/eea/volto-bise-policy/commit/c1277bacf840ee9feccbfd6a2c85f0b25a9a9125)]
|
|
268
283
|
- test: Update jest,Jenkinsfile,lint to volto-addons-template PR30 [valentinab25 - [`c944153`](https://github.com/eea/volto-bise-policy/commit/c944153710fd53c5d48863cf363464273e25f52e)]
|
|
269
284
|
- test: Update jest,Jenkinsfile,lint to volto-addons-template PR30 [valentinab25 - [`d648d52`](https://github.com/eea/volto-bise-policy/commit/d648d525a2fc5076577fe0f75ff9782bf0d1d4e9)]
|
|
270
|
-
- test: [JENKINS] fix jest config, fail with logs on coverage [valentinab25 - [`2a7affe`](https://github.com/eea/volto-bise-policy/commit/2a7affe33d737704bdba117c4a5c8c6748ef7a47)]
|
|
271
|
-
- test: [JENKINS] fix jest config, fail with logs on coverage [valentinab25 - [`5929642`](https://github.com/eea/volto-bise-policy/commit/59296420105d0e8c1f1547aa0cd17a019e478c2b)]
|
|
272
|
-
- test: [JENKINS] fix jest config, fail with logs on coverage [valentinab25 - [`b1142f1`](https://github.com/eea/volto-bise-policy/commit/b1142f1da3667a9f56720f65bebce897a5dd8005)]
|
|
273
285
|
- test: cypress should not wait for navigation, actions, types - refs #259794 [ana-oprea - [`188637c`](https://github.com/eea/volto-bise-policy/commit/188637c78a0cae71b5ee48022507d559dfaceb3e)]
|
|
274
|
-
- test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`fa4e473`](https://github.com/eea/volto-bise-policy/commit/fa4e473018386ec3f09d7300d655c8cccdc19a0e)]
|
|
275
|
-
- test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`1d9135b`](https://github.com/eea/volto-bise-policy/commit/1d9135bb878b3c7a1b828085b99b9d27d78ce60e)]
|
|
276
286
|
- remove cypress tests as it doesn t work on bise [Dobricean Ioan Dorian - [`ba7e2de`](https://github.com/eea/volto-bise-policy/commit/ba7e2defea2dcfd01537c3abb41fa9515ff0a3e3)]
|
|
277
287
|
- add mega menu layout settings as #259794 said [dobri1408 - [`b9a3683`](https://github.com/eea/volto-bise-policy/commit/b9a3683e7d85f8c88ad8feac975c47c434f62c4a)]
|
|
278
|
-
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`9181908`](https://github.com/eea/volto-bise-policy/commit/9181908c7f4b51bdf83a34f8c7f25827de9b1cc6)]
|
|
279
|
-
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`099d796`](https://github.com/eea/volto-bise-policy/commit/099d79669471e6924bf1e0bc51a79d54379c3a1a)]
|
|
280
|
-
- test: [JENKINS] Improve cypress time [valentinab25 - [`6d5d8e2`](https://github.com/eea/volto-bise-policy/commit/6d5d8e29b04ddb92628245570055067ca3dcbb6c)]
|
|
281
288
|
- test: fix comment [valentinab25 - [`4f27d5a`](https://github.com/eea/volto-bise-policy/commit/4f27d5af2e8895c7af4f1157521ca42682b96e23)]
|
|
282
289
|
- test: EN locales, pre-commit fix, feature PRs checks Refs #257193 [valentinab25 - [`4c2fcb0`](https://github.com/eea/volto-bise-policy/commit/4c2fcb01065e1ef962317ba7be788fd1df079618)]
|
|
283
290
|
- test: Update Makefile and docker-compose to align it with Jenkinsfile [valentinab25 - [`89afaa1`](https://github.com/eea/volto-bise-policy/commit/89afaa15892930452027ef8c8593fc6d193cda70)]
|
package/README.md
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
[](https://github.com/eea/volto-bise-policy/releases)
|
|
4
4
|
|
|
5
5
|
[](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-bise-policy/job/master/display/redirect)
|
|
6
|
-
[](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-bise-policy
|
|
6
|
+
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-bise-policy)
|
|
7
|
+
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-bise-policy)
|
|
8
|
+
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-bise-policy)
|
|
9
|
+
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-bise-policy)
|
|
10
10
|
|
|
11
11
|
[](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-bise-policy/job/develop/display/redirect)
|
|
12
|
-
[](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-bise-policy
|
|
12
|
+
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-bise-policy&branch=develop)
|
|
13
|
+
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-bise-policy&branch=develop)
|
|
14
|
+
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-bise-policy&branch=develop)
|
|
15
|
+
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-bise-policy&branch=develop)
|
|
16
16
|
|
|
17
17
|
[Volto](https://github.com/plone/volto) add-on
|
|
18
18
|
|
package/package.json
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import cx from 'classnames';
|
|
3
|
+
|
|
4
|
+
const RichTextWidget = ({ value, className }) =>
|
|
5
|
+
value ? (
|
|
6
|
+
<div
|
|
7
|
+
className={cx(className, 'richtext', 'widget')}
|
|
8
|
+
dangerouslySetInnerHTML={{
|
|
9
|
+
__html: value.data,
|
|
10
|
+
}}
|
|
11
|
+
/>
|
|
12
|
+
) : (
|
|
13
|
+
''
|
|
14
|
+
);
|
|
15
|
+
|
|
16
|
+
export default RichTextWidget;
|
package/src/index.js
CHANGED
|
@@ -33,6 +33,7 @@ import {
|
|
|
33
33
|
NRRrelatedCaseStudiesView,
|
|
34
34
|
NRRMeasuresImplementedView,
|
|
35
35
|
} from './components/Widgets/NRRWidgets';
|
|
36
|
+
import RichTextWidget from './components/Widgets/RichTextWidget';
|
|
36
37
|
|
|
37
38
|
const restrictedBlocks = ['imagecards', 'embed_eea_tableau_block'];
|
|
38
39
|
|
|
@@ -289,6 +290,8 @@ const applyConfig = (config) => {
|
|
|
289
290
|
config.widgets.views.id.eunis_code = EUNISCodeView;
|
|
290
291
|
config.widgets.views.id.related_case_studies = NRRrelatedCaseStudiesView;
|
|
291
292
|
config.widgets.views.id.nrr_measures_implemented = NRRMeasuresImplementedView;
|
|
293
|
+
config.widgets.views.widget.richtext = RichTextWidget;
|
|
294
|
+
|
|
292
295
|
return config;
|
|
293
296
|
};
|
|
294
297
|
|
package/src/styles-config.js
CHANGED
|
@@ -7,6 +7,11 @@ const config = (config) => {
|
|
|
7
7
|
'#00A390', // secondary color
|
|
8
8
|
'#3D5265', // tertiary color
|
|
9
9
|
'#FAC50D', // brand color
|
|
10
|
+
// EEA brand colors
|
|
11
|
+
'#F9F9F9',
|
|
12
|
+
'#004B7F',
|
|
13
|
+
'#007B6C',
|
|
14
|
+
'#3D5265',
|
|
10
15
|
'#B83230', // error state
|
|
11
16
|
'#FF9933', // warning state
|
|
12
17
|
'#007B6C', // success state
|