@eeacms/volto-flourish 1.0.0 → 1.0.1

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/.eslintrc.js CHANGED
@@ -16,16 +16,16 @@ if (configFile) {
16
16
  voltoPath = `./${jsConfig.baseUrl}/${pathsConfig['@plone/volto'][0]}`;
17
17
  }
18
18
 
19
- const AddonConfigurationRegistry = require(`${voltoPath}/addon-registry.js`);
20
- const reg = new AddonConfigurationRegistry(projectRootPath);
19
+ const { AddonRegistry } = require('@plone/registry/addon-registry');
20
+ const { registry } = AddonRegistry.init(projectRootPath);
21
21
 
22
22
  // Extends ESlint configuration for adding the aliases to `src` directories in Volto addons
23
- const addonAliases = Object.keys(reg.packages).map((o) => [
23
+ const addonAliases = Object.keys(registry.packages).map((o) => [
24
24
  o,
25
- reg.packages[o].modulePath,
25
+ registry.packages[o].modulePath,
26
26
  ]);
27
27
 
28
- const addonExtenders = reg.getEslintExtenders().map((m) => require(m));
28
+ const addonExtenders = registry.getEslintExtenders().map((m) => require(m));
29
29
 
30
30
  const defaultConfig = {
31
31
  extends: `${voltoPath}/.eslintrc`,
@@ -34,7 +34,7 @@ const defaultConfig = {
34
34
  alias: {
35
35
  map: [
36
36
  ['@plone/volto', '@plone/volto/src'],
37
- ['@plone/volto-slate', '@plone/volto/packages/volto-slate/src'],
37
+ ['@plone/volto-slate', '@plone/volto-slate/src'],
38
38
  ...addonAliases,
39
39
  ['@package', `${__dirname}/src`],
40
40
  ['@root', `${__dirname}/src`],
package/CHANGELOG.md CHANGED
@@ -4,7 +4,13 @@ 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-flourish/compare/0.1.6...1.0.0) - 25 March 2026
7
+ ### [1.0.1](https://github.com/eea/volto-flourish/compare/1.0.0...1.0.1) - 8 April 2026
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix: make test [Alin V. (Claudiu) - [`f349d24`](https://github.com/eea/volto-flourish/commit/f349d24359d4cf8265d736e78ba18c1fec27abe3)]
12
+
13
+ ## [1.0.0](https://github.com/eea/volto-flourish/compare/0.1.6...1.0.0) - 25 March 2026
8
14
 
9
15
  #### :rocket: New Features
10
16
 
@@ -12,6 +18,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
12
18
 
13
19
  #### :house: Internal changes
14
20
 
21
+ - chore: [JENKINSFILE] add package version in sonarqube [valentinab25 - [`f8e8a0a`](https://github.com/eea/volto-flourish/commit/f8e8a0a86c25b05e120d12cd71fe4a543ca5a3fd)]
22
+ - chore: [JENKINSFILE] use sonarqube branches [EEA Jenkins - [`5763c54`](https://github.com/eea/volto-flourish/commit/5763c54c8de9c43d272fde1b16e189f95ee84a94)]
15
23
 
16
24
  #### :hammer_and_wrench: Others
17
25
 
@@ -44,6 +52,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
44
52
  - Embed [Tiberiu Ichim - [`65a99d6`](https://github.com/eea/volto-flourish/commit/65a99d6a3cbf69a33e0b3a485a92afc53a2835b8)]
45
53
  - Embed [Tiberiu Ichim - [`0bd365b`](https://github.com/eea/volto-flourish/commit/0bd365b91802227f921b3d7127a2722f56d33e97)]
46
54
  - Embed [Tiberiu Ichim - [`1bc7ee6`](https://github.com/eea/volto-flourish/commit/1bc7ee667a6168a15f50a51b2263e216ffbecc52)]
55
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`9c0d692`](https://github.com/eea/volto-flourish/commit/9c0d692ee158e264bc33fe7d05eafcee1ccb6066)]
56
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`aae3813`](https://github.com/eea/volto-flourish/commit/aae3813cf0f792b7cdaedb9f7b4ebc9d4bb6cd53)]
57
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`5ca27c2`](https://github.com/eea/volto-flourish/commit/5ca27c29e49291471d6cd2585922c39e87d46a84)]
47
58
  ### [0.1.2](https://github.com/eea/volto-flourish/compare/0.1.1...0.1.2) - 16 September 2024
48
59
 
49
60
  #### :house: Internal changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-flourish",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "@eeacms/volto-flourish: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { compose } from 'redux';
3
3
  import { injectIntl } from 'react-intl';
4
4
  import BlockDataForm from '@plone/volto/components/manage/Form/BlockDataForm';
5
- import { SidebarPortal } from '@plone/volto/components';
5
+ import SidebarPortal from '@plone/volto/components/manage/Sidebar/SidebarPortal';
6
6
  import getSchema from './schema';
7
7
 
8
8
  import View from './View';
@@ -1,7 +1,7 @@
1
1
  import { useEffect, useMemo } from 'react';
2
2
  import { useSelector, useDispatch } from 'react-redux';
3
- import { getContent } from '@plone/volto/actions';
4
- import { flattenToAppURL } from '@plone/volto/helpers';
3
+ import { getContent } from '@plone/volto/actions/content/content';
4
+ import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';
5
5
  import { default as Flourish } from '@eeacms/volto-flourish/components/Flourish';
6
6
  import { v4 as uuid } from 'uuid';
7
7
  // import { Sources } from '@eeacms/volto-embed/Toolbar';
@@ -1,4 +1,4 @@
1
- import { uniqBy } from 'lodash';
1
+ import uniqBy from 'lodash/uniqBy';
2
2
  import installEmbedFlourishVisualization from './EmbedFlourish';
3
3
 
4
4
  const config = (config) => {
package/src/middleware.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getAPIResourceWithAuth } from '@plone/volto/helpers';
1
+ import { getAPIResourceWithAuth } from '@plone/volto/helpers/Api/APIResourceWithAuth';
2
2
 
3
3
  const HEADERS = [
4
4
  'accept-ranges',