@eeacms/volto-widget-geolocation 5.3.0 → 6.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 CHANGED
@@ -4,7 +4,22 @@ 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
- ### [5.3.0](https://github.com/eea/volto-widget-geolocation/compare/5.2.0...5.3.0) - 12 March 2024
7
+ ### [6.0.0](https://github.com/eea/volto-widget-geolocation/compare/5.3.1...6.0.0) - 22 April 2024
8
+
9
+ #### :rocket: New Features
10
+
11
+ - feat: Release 6.0.0 - Volto 17 support [alin - [`e3d1ad8`](https://github.com/eea/volto-widget-geolocation/commit/e3d1ad86c9d9852bb2f84bb06c684902cafecbee)]
12
+ - feat: Volto 17 support - refs #264527 [EEA Jenkins - [`c38d92d`](https://github.com/eea/volto-widget-geolocation/commit/c38d92dbd4fbac9b0c846641124dfe59449e7d70)]
13
+
14
+ ### [5.3.1](https://github.com/eea/volto-widget-geolocation/compare/5.3.0...5.3.1) - 16 April 2024
15
+
16
+ #### :bug: Bug Fixes
17
+
18
+ - fix(css): geolocation widget add-item-button-wrapper class reference [David Ichim - [`b00606e`](https://github.com/eea/volto-widget-geolocation/commit/b00606e951b3f1b83062888261ef10c06451a6b0)]
19
+
20
+ #### :hammer_and_wrench: Others
21
+
22
+ ### [5.3.0](https://github.com/eea/volto-widget-geolocation/compare/5.2.0...5.3.0) - 13 March 2024
8
23
 
9
24
  #### :bug: Bug Fixes
10
25
 
@@ -14,6 +14,8 @@ module.exports = {
14
14
  '@package/(.*)$': '<rootDir>/node_modules/@plone/volto/src/$1',
15
15
  '@root/(.*)$': '<rootDir>/node_modules/@plone/volto/src/$1',
16
16
  '@plone/volto-quanta/(.*)$': '<rootDir>/src/addons/volto-quanta/src/$1',
17
+ '@eeacms/search/(.*)$': '<rootDir>/src/addons/volto-searchlib/searchlib/$1',
18
+ '@eeacms/search': '<rootDir>/src/addons/volto-searchlib/searchlib',
17
19
  '@eeacms/(.*?)/(.*)$': '<rootDir>/node_modules/@eeacms/$1/src/$2',
18
20
  '@plone/volto-slate$':
19
21
  '<rootDir>/node_modules/@plone/volto/packages/volto-slate/src',
@@ -28,6 +30,7 @@ module.exports = {
28
30
  ],
29
31
  transform: {
30
32
  '^.+\\.js(x)?$': 'babel-jest',
33
+ '^.+\\.ts(x)?$': 'babel-jest',
31
34
  '^.+\\.(png)$': 'jest-file',
32
35
  '^.+\\.(jpg)$': 'jest-file',
33
36
  '^.+\\.(svg)$': './node_modules/@plone/volto/jest-svgsystem-transform.js',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-widget-geolocation",
3
- "version": "5.3.0",
3
+ "version": "6.0.0",
4
4
  "description": "volto-widget-geolocation: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -208,7 +208,7 @@ const GeolocationWidget = (props) => {
208
208
  </div>
209
209
  </Grid.Column>
210
210
  <Grid.Column width="8" className="search-grid-column">
211
- <div class="add-item-button-wrapper">
211
+ <div className="add-item-button-wrapper">
212
212
  <Button
213
213
  className="icon advanced-search-button"
214
214
  onClick={(event) => {
@@ -11,7 +11,7 @@ import worldSVG from '@plone/volto/icons/world.svg';
11
11
  import clearSVG from '@plone/volto/icons/clear.svg';
12
12
  import checkSVG from '@plone/volto/icons/check.svg';
13
13
 
14
- export default (props) => {
14
+ const SearchGeoName = (props) => {
15
15
  const { id, data, block, setPopup, onChange, onChangeSchema } = props;
16
16
  const [resultsValue, setResultsValue] = React.useState(data.geolocation);
17
17
  const InlineFormSchema = schema(props);
@@ -119,3 +119,5 @@ export default (props) => {
119
119
  />
120
120
  );
121
121
  };
122
+
123
+ export default SearchGeoName;