@eeacms/volto-cca-policy 0.2.22 → 0.2.23
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,21 @@ 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.2.23](https://github.com/eea/volto-cca-policy/compare/0.2.22...0.2.23) - 14 May 2024
|
|
8
|
+
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix: remove resolutions, it is ignored anyway [kreafox - [`b525e25`](https://github.com/eea/volto-cca-policy/commit/b525e251ed2063c5bd84a03f205bf7e4bbebb3c4)]
|
|
12
|
+
- fix: add @elastic/search-ui to dependencies [kreafox - [`6627c75`](https://github.com/eea/volto-cca-policy/commit/6627c75a232eb98597953fe833f55f4d2c7183aa)]
|
|
13
|
+
- fix: pin @elastic/search-ui to stable version [kreafox - [`af8bc78`](https://github.com/eea/volto-cca-policy/commit/af8bc78837c5fee48c172e4f10e5e02fe6cbb1a7)]
|
|
14
|
+
- fix: test [kreafox - [`78e2ea0`](https://github.com/eea/volto-cca-policy/commit/78e2ea01efd2e64b8ccc1d1d401f510e5aaa3616)]
|
|
15
|
+
- fix(block): dont show the title if there are no items [kreafox - [`34edd03`](https://github.com/eea/volto-cca-policy/commit/34edd0396d58f8734a765e81c030dd82f23be3ba)]
|
|
16
|
+
|
|
17
|
+
#### :hammer_and_wrench: Others
|
|
18
|
+
|
|
19
|
+
- Pin dependencies [kreafox - [`67dfe0d`](https://github.com/eea/volto-cca-policy/commit/67dfe0d2179e257f2a2c79d2f122e9c6ec3d7014)]
|
|
20
|
+
- Pin @eeacms/volto-eea-website-theme [kreafox - [`8d7ec71`](https://github.com/eea/volto-cca-policy/commit/8d7ec713abbdc77aba915714f27dea932336b155)]
|
|
21
|
+
- Update package.json [kreafox - [`ea67d31`](https://github.com/eea/volto-cca-policy/commit/ea67d315ac968e696aa948a858a23d85d1e1104d)]
|
|
7
22
|
### [0.2.22](https://github.com/eea/volto-cca-policy/compare/0.2.21...0.2.22) - 9 May 2024
|
|
8
23
|
|
|
9
24
|
#### :nail_care: Enhancements
|
|
@@ -1138,13 +1153,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1138
1153
|
- Refs #260715 rast-block wip [Tripon Eugen - [`f19d54e`](https://github.com/eea/volto-cca-policy/commit/f19d54e0b9a6a86bf344eb85b6a1cda7f3de91bf)]
|
|
1139
1154
|
- Refs #260715 rast-block wip [Tripon Eugen - [`2828537`](https://github.com/eea/volto-cca-policy/commit/2828537b6c084cd1a82162d552fb4ef025b71f9f)]
|
|
1140
1155
|
- Refs #260715 rast-block updates [Tripon Eugen - [`1e803e5`](https://github.com/eea/volto-cca-policy/commit/1e803e5bd3d3fb7558f261c76c68866be7beb8b5)]
|
|
1141
|
-
- test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`0a15e1b`](https://github.com/eea/volto-cca-policy/commit/0a15e1b2ad081233685e80d5b3c60a8663f6b896)]
|
|
1142
|
-
- test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`9554e44`](https://github.com/eea/volto-cca-policy/commit/9554e44c92a621a52b2adb5a4830fb084ee5734b)]
|
|
1143
1156
|
### [0.1.49](https://github.com/eea/volto-cca-policy/compare/0.1.48...0.1.49) - 15 November 2023
|
|
1144
1157
|
|
|
1145
1158
|
#### :house: Internal changes
|
|
1146
1159
|
|
|
1147
|
-
- chore: [JENKINS] Refactor automated testing [valentinab25 - [`7b820a6`](https://github.com/eea/volto-cca-policy/commit/7b820a6369c2ddd5203b1a4abe352cb4bb43db7a)]
|
|
1148
1160
|
- chore: husky, lint-staged use fixed versions [valentinab25 - [`f0a8061`](https://github.com/eea/volto-cca-policy/commit/f0a8061c275c236deb00087c23fac9860a073106)]
|
|
1149
1161
|
|
|
1150
1162
|
#### :hammer_and_wrench: Others
|
|
@@ -1161,9 +1173,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1161
1173
|
- Refs #259267 - jenkins test [Tripon Eugen - [`cacd31e`](https://github.com/eea/volto-cca-policy/commit/cacd31e7b1afe0983674ed5c7632d2e1d7fa752e)]
|
|
1162
1174
|
- Refs #259267 - jenkins [Tripon Eugen - [`5b3affe`](https://github.com/eea/volto-cca-policy/commit/5b3affee8401239de10097884c1b7f2349d15ec0)]
|
|
1163
1175
|
- Refs #259267 - add When, lead image and title to files [Tripon Eugen - [`2cedb23`](https://github.com/eea/volto-cca-policy/commit/2cedb237f898af9057e13fba94b615ef71077204)]
|
|
1164
|
-
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`4d607a5`](https://github.com/eea/volto-cca-policy/commit/4d607a576e9d0a5c34e48c41b409e7df616ee3d6)]
|
|
1165
|
-
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`b7f74d5`](https://github.com/eea/volto-cca-policy/commit/b7f74d53513a6edbfbca5cb6d19687929bb1e5db)]
|
|
1166
|
-
- test: [JENKINS] Improve cypress time [valentinab25 - [`db65617`](https://github.com/eea/volto-cca-policy/commit/db656173391f65157098d95d388c25f6429753d8)]
|
|
1167
1176
|
- Refs #259267 - cca event blocks attachments and check not mandatoty fields [Tripon Eugen - [`3138e5a`](https://github.com/eea/volto-cca-policy/commit/3138e5afb5bfbdbed14e27ed457b16867b7fa414)]
|
|
1168
1177
|
- 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)]
|
|
1169
1178
|
- Refs #161485 - Fix ECDE name conflict. [GhitaB - [`8bfd99f`](https://github.com/eea/volto-cca-policy/commit/8bfd99ff68bb82a04d1c0ed625fa514fcf46289e)]
|
|
@@ -1380,7 +1389,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1380
1389
|
|
|
1381
1390
|
#### :house: Internal changes
|
|
1382
1391
|
|
|
1383
|
-
- chore: [JENKINS] Remove alpha testing version [valentinab25 - [`ad1ced0`](https://github.com/eea/volto-cca-policy/commit/ad1ced0971ba116c13a3b5fcc039172cc915c919)]
|
|
1384
1392
|
|
|
1385
1393
|
#### :hammer_and_wrench: Others
|
|
1386
1394
|
|
|
@@ -1861,7 +1869,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1861
1869
|
#### :hammer_and_wrench: Others
|
|
1862
1870
|
|
|
1863
1871
|
- Refs #158294 - Update supported languages list. [GhitaB - [`0a4f91f`](https://github.com/eea/volto-cca-policy/commit/0a4f91f39b7edc367bd4c127d6a8f273c7788361)]
|
|
1864
|
-
- Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`8f1f9ce`](https://github.com/eea/volto-cca-policy/commit/8f1f9ce6c22805670cc0800d3c779b6d619d0f31)]
|
|
1865
1872
|
### [0.1.1](https://github.com/eea/volto-cca-policy/compare/0.1.0...0.1.1) - 13 December 2022
|
|
1866
1873
|
|
|
1867
1874
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eeacms/volto-cca-policy",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.23",
|
|
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",
|
|
@@ -18,10 +18,6 @@
|
|
|
18
18
|
},
|
|
19
19
|
"addons": [
|
|
20
20
|
"@eeacms/volto-openlayers-map",
|
|
21
|
-
"@eeacms/volto-widget-temporal-coverage",
|
|
22
|
-
"@eeacms/volto-widget-geolocation",
|
|
23
|
-
"@eeacms/volto-widget-dataprovenance",
|
|
24
|
-
"@eeacms/volto-accordion-block",
|
|
25
21
|
"@eeacms/volto-slate-label",
|
|
26
22
|
"@eeacms/volto-datablocks",
|
|
27
23
|
"@eeacms/volto-eea-design-system",
|
|
@@ -30,29 +26,26 @@
|
|
|
30
26
|
"@eeacms/volto-globalsearch"
|
|
31
27
|
],
|
|
32
28
|
"dependencies": {
|
|
33
|
-
"@eeacms/volto-
|
|
34
|
-
"@eeacms/volto-block-style": "*",
|
|
29
|
+
"@eeacms/volto-block-style": "^6.1.0",
|
|
35
30
|
"@eeacms/volto-datablocks": "*",
|
|
36
31
|
"@eeacms/volto-eea-design-system": "*",
|
|
37
|
-
"@eeacms/volto-eea-website-theme": "
|
|
38
|
-
"@eeacms/volto-globalsearch": "
|
|
32
|
+
"@eeacms/volto-eea-website-theme": "^1.33.2",
|
|
33
|
+
"@eeacms/volto-globalsearch": "^1.1.0",
|
|
39
34
|
"@eeacms/volto-openlayers-map": "*",
|
|
40
|
-
"@eeacms/volto-searchlib": "
|
|
41
|
-
"@eeacms/volto-slate-label": "
|
|
42
|
-
"@eeacms/volto-tabs-block": "
|
|
43
|
-
"@
|
|
44
|
-
"@eeacms/volto-widget-geolocation": "*",
|
|
45
|
-
"@eeacms/volto-widget-temporal-coverage": "*",
|
|
35
|
+
"@eeacms/volto-searchlib": "^0.9.3",
|
|
36
|
+
"@eeacms/volto-slate-label": "^0.6.0",
|
|
37
|
+
"@eeacms/volto-tabs-block": "^7.5.1",
|
|
38
|
+
"@elastic/search-ui": "1.21.2",
|
|
46
39
|
"d3-array": "^2.12.1",
|
|
47
40
|
"jotai": "^1.6.0",
|
|
48
41
|
"query-string": "7.1.0",
|
|
49
42
|
"react-visibility-sensor": "5.1.1"
|
|
50
43
|
},
|
|
51
44
|
"devDependencies": {
|
|
52
|
-
"cypress": "13.1.0",
|
|
53
45
|
"@cypress/code-coverage": "^3.10.0",
|
|
54
46
|
"@plone/scripts": "*",
|
|
55
47
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
48
|
+
"cypress": "13.1.0",
|
|
56
49
|
"cypress-fail-fast": "^5.0.1",
|
|
57
50
|
"dotenv": "^16.3.2",
|
|
58
51
|
"husky": "^8.0.3",
|
|
@@ -22,7 +22,7 @@ const RelevantAceContentView = (props) => {
|
|
|
22
22
|
(list) => list?.length > 0,
|
|
23
23
|
);
|
|
24
24
|
|
|
25
|
-
return (
|
|
25
|
+
return (items && items.length > 0) || results.length > 0 ? (
|
|
26
26
|
<div className="block relevant-acecontent-block">
|
|
27
27
|
{title && <h4>{title}</h4>}
|
|
28
28
|
|
|
@@ -69,9 +69,9 @@ const RelevantAceContentView = (props) => {
|
|
|
69
69
|
)}
|
|
70
70
|
</>
|
|
71
71
|
)}
|
|
72
|
-
|
|
73
|
-
{isEdit && <div>Relevant AceContent Block</div>}
|
|
74
72
|
</div>
|
|
73
|
+
) : (
|
|
74
|
+
<>{isEdit && <div>No items</div>}</>
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
77
|
|