@eeacms/volto-cca-policy 0.3.112 → 0.3.114

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,22 @@ 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
+ ### [0.3.114](https://github.com/eea/volto-cca-policy/compare/0.3.113...0.3.114) - 16 April 2026
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix: relevant_eu_policies field width [kreafox - [`a055d31`](https://github.com/eea/volto-cca-policy/commit/a055d310733a4db9139d887f9f3b7ddb70774085)]
12
+
13
+ #### :nail_care: Enhancements
14
+
15
+ - refactor: code cleanup [kreafox - [`06c730e`](https://github.com/eea/volto-cca-policy/commit/06c730ed07d5f0c06e5f6943b6cf85f90cd186a0)]
16
+
17
+ ### [0.3.113](https://github.com/eea/volto-cca-policy/compare/0.3.112...0.3.113) - 15 April 2026
18
+
19
+ #### :bug: Bug Fixes
20
+
21
+ - fix: rendering ImageUploadWidget based on widget type [kreafox - [`e3c2f41`](https://github.com/eea/volto-cca-policy/commit/e3c2f415548f6243f073db24318a18c529ae2413)]
22
+
7
23
  ### [0.3.112](https://github.com/eea/volto-cca-policy/compare/0.3.111...0.3.112) - 14 April 2026
8
24
 
9
25
  #### :rocket: New Features
@@ -176,7 +192,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
176
192
 
177
193
  #### :house: Internal changes
178
194
 
179
- - chore: [JENKINSFILE] add package version in sonarqube [valentinab25 - [`e901251`](https://github.com/eea/volto-cca-policy/commit/e901251592eb54609fbc7eb8fcf7bd452c2da9cd)]
180
195
 
181
196
  ### [0.3.102](https://github.com/eea/volto-cca-policy/compare/0.3.101...0.3.102) - 24 February 2026
182
197
 
@@ -186,7 +201,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
186
201
 
187
202
  #### :house: Internal changes
188
203
 
189
- - chore: [JENKINSFILE] use sonarqube branches [EEA Jenkins - [`8b3699a`](https://github.com/eea/volto-cca-policy/commit/8b3699a6cbaef662b5e80884ac2c1f7dc9c6591e)]
190
204
 
191
205
  ### [0.3.101](https://github.com/eea/volto-cca-policy/compare/0.3.100...0.3.101) - 28 January 2026
192
206
 
@@ -474,7 +488,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
474
488
  - style: fix item spacing [kreafox - [`7d4535d`](https://github.com/eea/volto-cca-policy/commit/7d4535dbc486e6cb80fc55d6ac8c7c01d9cf48af)]
475
489
  - chore: code cleanup [kreafox - [`842419b`](https://github.com/eea/volto-cca-policy/commit/842419b1bce3dc624755c81c9dea672198cab9e2)]
476
490
  - style: update teaser block styling [kreafox - [`1e0cad8`](https://github.com/eea/volto-cca-policy/commit/1e0cad8e1ed3ae827ee868dce8ad50b292a937ba)]
477
- - chore: update Makefile, run yarn i18n [kreafox - [`61e6962`](https://github.com/eea/volto-cca-policy/commit/61e6962901068ae6512265417a730bd9befd65fe)]
478
491
  - chore: move styling to theme folder [kreafox - [`8cf6a1b`](https://github.com/eea/volto-cca-policy/commit/8cf6a1b8b14abf472a9c61b28db574f6d9e0bd3b)]
479
492
  - chore: remove ArrayWidget customization [kreafox - [`249bf93`](https://github.com/eea/volto-cca-policy/commit/249bf93054f7726c3d57a8b8ca01b75cd0d30522)]
480
493
  - chore: remove Footer customization [kreafox - [`7038af3`](https://github.com/eea/volto-cca-policy/commit/7038af37d48a328dfc31746f3fa84973e2f840ab)]
@@ -3237,13 +3250,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
3237
3250
  - Refs #260715 rast-block wip [Tripon Eugen - [`f19d54e`](https://github.com/eea/volto-cca-policy/commit/f19d54e0b9a6a86bf344eb85b6a1cda7f3de91bf)]
3238
3251
  - Refs #260715 rast-block wip [Tripon Eugen - [`2828537`](https://github.com/eea/volto-cca-policy/commit/2828537b6c084cd1a82162d552fb4ef025b71f9f)]
3239
3252
  - Refs #260715 rast-block updates [Tripon Eugen - [`1e803e5`](https://github.com/eea/volto-cca-policy/commit/1e803e5bd3d3fb7558f261c76c68866be7beb8b5)]
3240
- - test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`0a15e1b`](https://github.com/eea/volto-cca-policy/commit/0a15e1b2ad081233685e80d5b3c60a8663f6b896)]
3241
- - test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`9554e44`](https://github.com/eea/volto-cca-policy/commit/9554e44c92a621a52b2adb5a4830fb084ee5734b)]
3242
3253
  ### [0.1.49](https://github.com/eea/volto-cca-policy/compare/0.1.48...0.1.49) - 15 November 2023
3243
3254
 
3244
3255
  #### :house: Internal changes
3245
3256
 
3246
- - chore: [JENKINS] Refactor automated testing [valentinab25 - [`7b820a6`](https://github.com/eea/volto-cca-policy/commit/7b820a6369c2ddd5203b1a4abe352cb4bb43db7a)]
3247
3257
  - chore: husky, lint-staged use fixed versions [valentinab25 - [`f0a8061`](https://github.com/eea/volto-cca-policy/commit/f0a8061c275c236deb00087c23fac9860a073106)]
3248
3258
 
3249
3259
  #### :hammer_and_wrench: Others
@@ -3260,9 +3270,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
3260
3270
  - Refs #259267 - jenkins test [Tripon Eugen - [`cacd31e`](https://github.com/eea/volto-cca-policy/commit/cacd31e7b1afe0983674ed5c7632d2e1d7fa752e)]
3261
3271
  - Refs #259267 - jenkins [Tripon Eugen - [`5b3affe`](https://github.com/eea/volto-cca-policy/commit/5b3affee8401239de10097884c1b7f2349d15ec0)]
3262
3272
  - Refs #259267 - add When, lead image and title to files [Tripon Eugen - [`2cedb23`](https://github.com/eea/volto-cca-policy/commit/2cedb237f898af9057e13fba94b615ef71077204)]
3263
- - test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`4d607a5`](https://github.com/eea/volto-cca-policy/commit/4d607a576e9d0a5c34e48c41b409e7df616ee3d6)]
3264
- - test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`b7f74d5`](https://github.com/eea/volto-cca-policy/commit/b7f74d53513a6edbfbca5cb6d19687929bb1e5db)]
3265
- - test: [JENKINS] Improve cypress time [valentinab25 - [`db65617`](https://github.com/eea/volto-cca-policy/commit/db656173391f65157098d95d388c25f6429753d8)]
3266
3273
  - Refs #259267 - cca event blocks attachments and check not mandatoty fields [Tripon Eugen - [`3138e5a`](https://github.com/eea/volto-cca-policy/commit/3138e5afb5bfbdbed14e27ed457b16867b7fa414)]
3267
3274
  - Refs #256681 - Fix error in CCA Event view menu. ([React Intl] An id must be provided to format a message.) [GhitaB - [`517eeb8`](https://github.com/eea/volto-cca-policy/commit/517eeb817264a47bbfd6b9b7d22aaf22d44ed224)]
3268
3275
  - Refs #161485 - Fix ECDE name conflict. [GhitaB - [`8bfd99f`](https://github.com/eea/volto-cca-policy/commit/8bfd99ff68bb82a04d1c0ed625fa514fcf46289e)]
@@ -3479,7 +3486,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
3479
3486
 
3480
3487
  #### :house: Internal changes
3481
3488
 
3482
- - chore: [JENKINS] Remove alpha testing version [valentinab25 - [`ad1ced0`](https://github.com/eea/volto-cca-policy/commit/ad1ced0971ba116c13a3b5fcc039172cc915c919)]
3483
3489
 
3484
3490
  #### :hammer_and_wrench: Others
3485
3491
 
@@ -3960,7 +3966,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
3960
3966
  #### :hammer_and_wrench: Others
3961
3967
 
3962
3968
  - Refs #158294 - Update supported languages list. [GhitaB - [`0a4f91f`](https://github.com/eea/volto-cca-policy/commit/0a4f91f39b7edc367bd4c127d6a8f273c7788361)]
3963
- - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`8f1f9ce`](https://github.com/eea/volto-cca-policy/commit/8f1f9ce6c22805670cc0800d3c779b6d619d0f31)]
3964
3969
  ### [0.1.1](https://github.com/eea/volto-cca-policy/compare/0.1.0...0.1.1) - 13 December 2022
3965
3970
 
3966
3971
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.3.112",
3
+ "version": "0.3.114",
4
4
  "description": "@eeacms/volto-cca-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -273,7 +273,7 @@ function AdaptationOptionView(props) {
273
273
  .filter((it) => it?.url && it?.title)
274
274
  .map((it, index, arr) => (
275
275
  <React.Fragment key={it.id || it.url}>
276
- <UniversalLink href={it.url} openInNewTab>
276
+ <UniversalLink href={it.url}>
277
277
  {it.title}
278
278
  </UniversalLink>
279
279
  {index < arr.length - 1 && ', '}
@@ -484,7 +484,7 @@ const UnconnectedImageInput = (props) => {
484
484
  export const ImageInput = withObjectBrowser(UnconnectedImageInput);
485
485
 
486
486
  const ImageUploadWidget = (props) => {
487
- if (props.block) {
487
+ if (props.block && props.widget === 'attachedimage') {
488
488
  let sanitizedProps = { ...props };
489
489
  if (typeof props.value === 'object' && props.value !== null) {
490
490
  if (props.value.download) {
@@ -441,3 +441,15 @@ div.image-upload-widget {
441
441
  font-size: 15px !important;
442
442
  }
443
443
  }
444
+
445
+ #field-relevant_eu_policies {
446
+ .react-select__menu {
447
+ .ReactVirtualized__Grid {
448
+ width: 100% !important;
449
+ }
450
+
451
+ .ReactVirtualized__Grid__innerScrollContainer {
452
+ max-width: none !important;
453
+ }
454
+ }
455
+ }