@eeacms/volto-eea-versions 0.2.0 → 1.0.0
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 +6 -3
- package/package.json +1 -1
- package/src/Blocks/LatestVersion.jsx +1 -1
- package/src/Blocks/index.js +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -4,15 +4,18 @@ 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.0.0](https://github.com/eea/volto-eea-versions/compare/0.2.0...1.0.0) - 18 December 2024
|
|
8
|
+
|
|
9
|
+
#### :nail_care: Enhancements
|
|
10
|
+
|
|
11
|
+
- refactor: Rename blocks to eea_versions and eea_latest_version - refs #280462 [alin - [`23fccb8`](https://github.com/eea/volto-eea-versions/commit/23fccb835e5cceb40743c949ffa685bbf8df7317)]
|
|
12
|
+
|
|
7
13
|
### [0.2.0](https://github.com/eea/volto-eea-versions/compare/0.1.0...0.2.0) - 18 December 2024
|
|
8
14
|
|
|
9
15
|
#### :bug: Bug Fixes
|
|
10
16
|
|
|
11
17
|
- fix: DEVELOP.md [alin - [`e9fa771`](https://github.com/eea/volto-eea-versions/commit/e9fa771d8bac089521b2526ebf11e43deeacf650)]
|
|
12
18
|
|
|
13
|
-
#### :hammer_and_wrench: Others
|
|
14
|
-
|
|
15
|
-
- Release 0.2.0 [alin - [`559624d`](https://github.com/eea/volto-eea-versions/commit/559624d4cb475453de5086b7ba9486c60a2a1529)]
|
|
16
19
|
### 0.1.0 - 18 December 2024
|
|
17
20
|
|
|
18
21
|
#### :rocket: New Features
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@ const LatestVersion = (props) => {
|
|
|
20
20
|
return <p>Latest version block edit</p>;
|
|
21
21
|
}
|
|
22
22
|
return version ? (
|
|
23
|
-
<p className="
|
|
23
|
+
<p className="eea-latest-version">
|
|
24
24
|
<strong>Latest version of this report: </strong>
|
|
25
25
|
<UniversalLink href={version['@id']} className="eea-versions-list-link">
|
|
26
26
|
{version.title} {formattedEffective}
|
package/src/Blocks/index.js
CHANGED
|
@@ -4,9 +4,9 @@ import LatestVersion from './LatestVersion';
|
|
|
4
4
|
import BlockSettingsSchema from '@plone/volto/components/manage/Blocks/Block/Schema';
|
|
5
5
|
|
|
6
6
|
const applyConfig = (config) => {
|
|
7
|
-
config.blocks.blocksConfig.
|
|
8
|
-
id: '
|
|
9
|
-
title: '
|
|
7
|
+
config.blocks.blocksConfig.eea_latest_version = {
|
|
8
|
+
id: 'eea_latest_version',
|
|
9
|
+
title: 'Latest version',
|
|
10
10
|
icon: codeSVG,
|
|
11
11
|
group: 'common',
|
|
12
12
|
view: LatestVersion,
|
|
@@ -21,9 +21,9 @@ const applyConfig = (config) => {
|
|
|
21
21
|
},
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
config.blocks.blocksConfig.
|
|
25
|
-
id: '
|
|
26
|
-
title: '
|
|
24
|
+
config.blocks.blocksConfig.eea_versions = {
|
|
25
|
+
id: 'eea_versions',
|
|
26
|
+
title: 'Versions',
|
|
27
27
|
icon: codeSVG,
|
|
28
28
|
group: 'common',
|
|
29
29
|
view: AllVersions,
|