@eeacms/volto-cca-policy 0.2.62 → 0.2.64
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,19 @@ 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.
|
|
7
|
+
### [0.2.64](https://github.com/eea/volto-cca-policy/compare/0.2.63...0.2.64) - 2 September 2024
|
|
8
|
+
|
|
9
|
+
#### :rocket: Dependency updates
|
|
10
|
+
|
|
11
|
+
- Release @eeacms/volto-searchlib@2.0.3 [EEA Jenkins - [`7092fa0`](https://github.com/eea/volto-cca-policy/commit/7092fa0a104820239d05aa76cebbbeaa90222e25)]
|
|
8
12
|
|
|
9
13
|
#### :hammer_and_wrench: Others
|
|
10
14
|
|
|
11
|
-
- Add
|
|
15
|
+
- Add image rights to gallery [Tiberiu Ichim - [`8c1a716`](https://github.com/eea/volto-cca-policy/commit/8c1a716d95f4817a311af9a273409e0b1a1d9bf0)]
|
|
16
|
+
### [0.2.63](https://github.com/eea/volto-cca-policy/compare/0.2.62...0.2.63) - 27 August 2024
|
|
17
|
+
|
|
18
|
+
### [0.2.62](https://github.com/eea/volto-cca-policy/compare/0.2.61...0.2.62) - 26 August 2024
|
|
19
|
+
|
|
12
20
|
### [0.2.61](https://github.com/eea/volto-cca-policy/compare/0.2.60...0.2.61) - 22 August 2024
|
|
13
21
|
|
|
14
22
|
#### :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.64",
|
|
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",
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@eeacms/volto-block-style": "github:eea/volto-block-style#6.x.x",
|
|
31
|
-
"@eeacms/volto-datablocks": "
|
|
31
|
+
"@eeacms/volto-datablocks": "^7.2.2",
|
|
32
32
|
"@eeacms/volto-eea-design-system": "*",
|
|
33
33
|
"@eeacms/volto-eea-website-theme": "^1.33.2",
|
|
34
34
|
"@eeacms/volto-embed": "^9.1.1",
|
|
35
35
|
"@eeacms/volto-globalsearch": "^1.1.0",
|
|
36
36
|
"@eeacms/volto-hero-block": "^7.1.0",
|
|
37
37
|
"@eeacms/volto-openlayers-map": "*",
|
|
38
|
-
"@eeacms/volto-searchlib": "2.0.
|
|
38
|
+
"@eeacms/volto-searchlib": "2.0.3",
|
|
39
39
|
"@eeacms/volto-slate-label": "^0.6.0",
|
|
40
40
|
"@eeacms/volto-tabs-block": "^7.5.1",
|
|
41
41
|
"@elastic/search-ui": "1.21.2",
|
|
@@ -40,6 +40,8 @@ const ImageGallery = (props) => {
|
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
+
const image = items[slideIndex];
|
|
44
|
+
|
|
43
45
|
return (
|
|
44
46
|
<div className="image-gallery">
|
|
45
47
|
<div
|
|
@@ -63,8 +65,17 @@ const ImageGallery = (props) => {
|
|
|
63
65
|
onOpen={() => setOpen(true)}
|
|
64
66
|
>
|
|
65
67
|
<Modal.Content>
|
|
66
|
-
<h3>{
|
|
67
|
-
<p>
|
|
68
|
+
<h3>{image?.title}</h3>
|
|
69
|
+
<p>
|
|
70
|
+
{image?.description}
|
|
71
|
+
|
|
72
|
+
{image?.rights && (
|
|
73
|
+
<>
|
|
74
|
+
<br />
|
|
75
|
+
Image rights: {image.rights}
|
|
76
|
+
</>
|
|
77
|
+
)}
|
|
78
|
+
</p>
|
|
68
79
|
<Slider {...carouselSettings} ref={sliderRef}>
|
|
69
80
|
{items.map((item, i) => {
|
|
70
81
|
return <Image key={i} src={item.url} alt={item?.title} />;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import React, { Fragment } from 'react';
|
|
2
1
|
import {
|
|
3
|
-
|
|
2
|
+
ImageGallery,
|
|
3
|
+
PortalMessage,
|
|
4
|
+
ShareInfoButton,
|
|
5
|
+
} from '@eeacms/volto-cca-policy/components';
|
|
6
|
+
import {
|
|
7
|
+
BannerTitle,
|
|
4
8
|
ContentMetadata,
|
|
9
|
+
DocumentsList,
|
|
10
|
+
HTMLField,
|
|
5
11
|
LinksList,
|
|
6
12
|
PublishedModifiedInfo,
|
|
7
|
-
DocumentsList,
|
|
8
|
-
BannerTitle,
|
|
9
13
|
} from '@eeacms/volto-cca-policy/helpers';
|
|
14
|
+
import React, { Fragment } from 'react';
|
|
15
|
+
import AnchorLink from 'react-anchor-link-smooth-scroll';
|
|
16
|
+
import { defineMessages, FormattedMessage, useIntl } from 'react-intl';
|
|
10
17
|
import {
|
|
11
18
|
Container,
|
|
12
19
|
Divider,
|
|
13
20
|
Grid,
|
|
14
21
|
Icon,
|
|
15
22
|
Image,
|
|
16
|
-
ListItem,
|
|
17
23
|
List,
|
|
24
|
+
ListItem,
|
|
18
25
|
} from 'semantic-ui-react';
|
|
19
|
-
import {
|
|
20
|
-
ShareInfoButton,
|
|
21
|
-
ImageGallery,
|
|
22
|
-
PortalMessage,
|
|
23
|
-
} from '@eeacms/volto-cca-policy/components';
|
|
24
|
-
import AnchorLink from 'react-anchor-link-smooth-scroll';
|
|
25
|
-
import { useIntl, defineMessages, FormattedMessage } from 'react-intl';
|
|
26
26
|
|
|
27
27
|
const messages = defineMessages({
|
|
28
28
|
References: { id: 'References', defaultMessage: 'References' },
|