@eeacms/volto-eea-map 0.1.29 → 0.1.30

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.
@@ -2,7 +2,7 @@ const defaultBabel = require('@plone/volto/babel');
2
2
 
3
3
  function applyDefault(api) {
4
4
  const voltoBabel = defaultBabel(api);
5
- voltoBabel.plugins.push('@babel/plugin-transform-modules-commonjs', 'transform-class-properties', 'istanbul');
5
+ voltoBabel.plugins.push('istanbul');
6
6
  return voltoBabel;
7
7
  }
8
8
 
package/CHANGELOG.md CHANGED
@@ -4,11 +4,17 @@ 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.1.29](https://github.com/eea/volto-eea-map/compare/0.1.28...0.1.29) - 19 October 2022
7
+ ### [0.1.30](https://github.com/eea/volto-eea-map/compare/0.1.29...0.1.30) - 4 November 2022
8
8
 
9
9
  #### :hammer_and_wrench: Others
10
10
 
11
- - Enable opacity control [andreiggr - [`bb88b89`](https://github.com/eea/volto-eea-map/commit/bb88b89857169fd5b8174dcbeaeeba448a7c7d0c)]
11
+ - jest transforms [Andrei Grigore - [`432aeee`](https://github.com/eea/volto-eea-map/commit/432aeeec40be5ecbb04c119df347be5d03950426)]
12
+ - cy10/razzle4 updates [Andrei Grigore - [`419fe6b`](https://github.com/eea/volto-eea-map/commit/419fe6b8a7cfbc7561ba2585a2cc4f5a7583fac5)]
13
+ - config new slate route [andreiggr - [`5343926`](https://github.com/eea/volto-eea-map/commit/5343926755aa0ace5ee4741e00df3aa4679e8bd7)]
14
+ - use alpha in cy [andreiggr - [`775a92c`](https://github.com/eea/volto-eea-map/commit/775a92c959013a08c9a5c9c121df798a289088a9)]
15
+ - update embed version and slate from volto [andreiggr - [`72bcc90`](https://github.com/eea/volto-eea-map/commit/72bcc90b993b1a40f81e272a6b15b41c9cf59f1b)]
16
+ ### [0.1.29](https://github.com/eea/volto-eea-map/compare/0.1.28...0.1.29) - 19 October 2022
17
+
12
18
  ### [0.1.28](https://github.com/eea/volto-eea-map/compare/0.1.27...0.1.28) - 7 October 2022
13
19
 
14
20
  #### :hammer_and_wrench: Others
@@ -11,16 +11,14 @@ module.exports = {
11
11
  '@package/(.*)$': '<rootDir>/src/$1',
12
12
  '@plone/volto-quanta/(.*)$': '<rootDir>/src/addons/volto-quanta/src/$1',
13
13
  '@eeacms/(.*?)/(.*)$': '<rootDir>/src/addons/$1/src/$2',
14
- 'volto-slate/(.*)$': '<rootDir>/src/addons/volto-slate/src/$1',
14
+ '@plone/volto-slate':
15
+ '<rootDir>/node_modules/@plone/volto/packages/volto-slate/src',
15
16
  '~/(.*)$': '<rootDir>/src/$1',
16
17
  'load-volto-addons':
17
18
  '<rootDir>/node_modules/@plone/volto/jest-addons-loader.js',
18
19
  },
19
20
  transform: {
20
21
  '^.+\\.js(x)?$': 'babel-jest',
21
- '^.+\\.css$': 'jest-css-modules',
22
- '^.+\\.less$': 'jest-css-modules',
23
- '^.+\\.scss$': 'jest-css-modules',
24
22
  '^.+\\.(png)$': 'jest-file',
25
23
  '^.+\\.(jpg)$': 'jest-file',
26
24
  '^.+\\.(svg)$': './node_modules/@plone/volto/jest-svgsystem-transform.js',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-map",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "description": "@eeacms/volto-eea-map: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -17,16 +17,14 @@
17
17
  "url": "git@github.com:eea/volto-eea-map.git"
18
18
  },
19
19
  "addons": [
20
- "@eeacms/volto-embed",
21
- "volto-slate"
20
+ "@eeacms/volto-embed"
22
21
  ],
23
22
  "dependencies": {
24
- "@eeacms/volto-embed": "4.0.2",
23
+ "@eeacms/volto-embed": "5.0.0",
25
24
  "@plone/scripts": "*",
26
25
  "esri-loader": "3.6.0",
27
26
  "lodash": "4.17.21",
28
- "react-querybuilder": "4.2.3",
29
- "volto-slate": "*"
27
+ "react-querybuilder": "4.2.3"
30
28
  },
31
29
  "devDependencies": {
32
30
  "@cypress/code-coverage": "^3.9.5",
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { UniversalLink, Icon } from '@plone/volto/components';
3
3
 
4
4
  import LegendWidget from './widgets/LegendWidget';
5
- import { serializeNodes } from 'volto-slate/editor/render';
5
+ import { serializeNodes } from '@plone/volto-slate/editor/render';
6
6
 
7
7
  import rightKeySVG from '@plone/volto/icons/right-key.svg';
8
8
  import downKeySVG from '@plone/volto/icons/down-key.svg';
@@ -4,7 +4,7 @@ import { Input, Select, Button, Grid, Checkbox } from 'semantic-ui-react';
4
4
  import { QueryBuilder } from 'react-querybuilder';
5
5
  import 'react-querybuilder/dist/query-builder.css';
6
6
 
7
- import RichTextWidget from 'volto-slate/widgets/RichTextWidget';
7
+ import RichTextWidget from '@plone/volto-slate/widgets/RichTextWidget';
8
8
 
9
9
  import { connect } from 'react-redux';
10
10
  import { compose } from 'redux';
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { Button, Grid } from 'semantic-ui-react';
3
3
  import { fetchArcGISData, setLegendColumns } from '../../utils';
4
4
  import { Icon } from '@plone/volto/components';
5
- import { serializeNodes } from 'volto-slate/editor/render';
5
+ import { serializeNodes } from '@plone/volto-slate/editor/render';
6
6
 
7
7
  import rightKeySVG from '@plone/volto/icons/right-key.svg';
8
8
  import downKeySVG from '@plone/volto/icons/down-key.svg';