@eeacms/volto-arcgis-block 0.1.289 → 0.1.291

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,6 +4,10 @@ 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.291](https://github.com/eea/volto-arcgis-block/compare/0.1.290...0.1.291) - 20 June 2024
8
+
9
+ ### [0.1.290](https://github.com/eea/volto-arcgis-block/compare/0.1.289...0.1.290) - 19 June 2024
10
+
7
11
  ### [0.1.289](https://github.com/eea/volto-arcgis-block/compare/0.1.288...0.1.289) - 18 June 2024
8
12
 
9
13
  ### [0.1.288](https://github.com/eea/volto-arcgis-block/compare/0.1.287...0.1.288) - 14 June 2024
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.289",
3
+ "version": "0.1.291",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -212,7 +212,7 @@ class AreaWidget extends React.Component {
212
212
  if (document.querySelector('#download_prepackage').checked) {
213
213
  this.setState({
214
214
  showInfoPopup: true,
215
- infoPopupType: 'download',
215
+ infoPopupType: 'prepackage',
216
216
  });
217
217
  } else {
218
218
  this.setState({
@@ -851,7 +851,9 @@ class AreaWidget extends React.Component {
851
851
  'none';
852
852
  }
853
853
  areaSearch() {
854
- let searchText = document.querySelector('#area-searchtext').value;
854
+ let searchText = document
855
+ .querySelector('#area-searchtext')
856
+ .value.toUpperCase();
855
857
  if (searchText.length <= 2) {
856
858
  this.loadNutsService('nuts0', [0]);
857
859
  this.loadCountriesService('nuts0');
@@ -1327,6 +1329,17 @@ class AreaWidget extends React.Component {
1327
1329
  </div>
1328
1330
  </>
1329
1331
  )}
1332
+ {this.state.infoPopupType === 'prepackage' && (
1333
+ <>
1334
+ <span className="drawRectanglePopup-icon">
1335
+ <FontAwesomeIcon icon={['fas', 'download']} />
1336
+ </span>
1337
+ <div className="drawRectanglePopup-text">
1338
+ Click on the download icon on “Products and datasets” to
1339
+ continue
1340
+ </div>
1341
+ </>
1342
+ )}
1330
1343
  {this.state.infoPopupType === 'fullDataset' && (
1331
1344
  <>
1332
1345
  <span className="drawRectanglePopup-icon">
@@ -318,7 +318,7 @@ div.esri-popover
318
318
  }
319
319
 
320
320
  .area-panel {
321
- padding-top: 0;
321
+ padding-top: 1rem;
322
322
  }
323
323
 
324
324
  /* .area-container .area-header { */
@@ -363,7 +363,7 @@ div.esri-popover
363
363
 
364
364
  .area-search-block {
365
365
  display: flex;
366
- margin-left: 1rem;
366
+ margin-left: 1.7rem;
367
367
  }
368
368
 
369
369
  .rectangle-block {