@eeacms/volto-arcgis-block 0.1.273 → 0.1.274

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,10 +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
- ### [0.1.273](https://github.com/eea/volto-arcgis-block/compare/0.1.272...0.1.273) - 10 April 2024
7
+ ### [0.1.274](https://github.com/eea/volto-arcgis-block/compare/0.1.273...0.1.274) - 11 April 2024
8
+
9
+ ### [0.1.273](https://github.com/eea/volto-arcgis-block/compare/0.1.272...0.1.273) - 11 April 2024
8
10
 
9
11
  #### :hammer_and_wrench: Others
10
12
 
13
+ - Merge pull request #748 from eea/develop [Unai Bolivar - [`d3f8aeb`](https://github.com/eea/volto-arcgis-block/commit/d3f8aebc3d225cc0e9bd62e7e1f816da38e866b9)]
11
14
  - CLMS-3172 (bug): re-projected file upload area extent to spatial reference wkid 4326 lat/long [Unai Bolivar - [`164cbca`](https://github.com/eea/volto-arcgis-block/commit/164cbcad7a035c85e77b2c545a331629a0cb8fbd)]
12
15
  ### [0.1.272](https://github.com/eea/volto-arcgis-block/compare/0.1.271...0.1.272) - 10 April 2024
13
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.273",
3
+ "version": "0.1.274",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -120,6 +120,9 @@ class AreaWidget extends React.Component {
120
120
  this.props.mapViewer.setActiveWidget();
121
121
  this.container.current.querySelector('.right-panel').style.display =
122
122
  'none';
123
+ this.container.current.querySelector(
124
+ '.right-panel-content',
125
+ ).style.overflowY = 'auto';
123
126
  this.container.current
124
127
  .querySelector('.esri-widget--button')
125
128
  .classList.remove('active-widget');
@@ -142,6 +145,9 @@ class AreaWidget extends React.Component {
142
145
  this.props.mapViewer.setActiveWidget(this);
143
146
  this.container.current.querySelector('.right-panel').style.display =
144
147
  'flex';
148
+ this.container.current.querySelector(
149
+ '.right-panel-content',
150
+ ).style.overflowY = 'hidden';
145
151
  this.container.current
146
152
  .querySelector('.esri-widget--button')
147
153
  .classList.add('active-widget');
@@ -1100,7 +1106,7 @@ class AreaWidget extends React.Component {
1100
1106
  >
1101
1107
  <div className="field">
1102
1108
  <label className="file-upload">
1103
- <span>File formats supported: shp(zip)</span>
1109
+ <span>File formats supported: shp(zip), geojson</span>
1104
1110
  <input
1105
1111
  type="file"
1106
1112
  name="file"
@@ -317,13 +317,12 @@ div.esri-popover
317
317
  margin: 0;
318
318
  }
319
319
 
320
- .area-container .area-header {
321
- margin-bottom: 1rem;
322
- }
320
+ /* .area-container .area-header { */
321
+ /* margin-bottom: 1rem; */
322
+ /* } */
323
323
 
324
324
  .area-header {
325
325
  padding: 1rem;
326
- background-color: rgba(160, 177, 40, 0.5);
327
326
  font-weight: bold;
328
327
  }
329
328
 
@@ -344,6 +343,10 @@ div.esri-popover
344
343
  margin-left: 1rem !important;
345
344
  }
346
345
 
346
+ .area-panel .ccl-form:last-child {
347
+ border-bottom: none;
348
+ }
349
+
347
350
  .nuts-form {
348
351
  margin-top: 0.5rem;
349
352
  margin-left: 2rem;
@@ -351,7 +354,7 @@ div.esri-popover
351
354
 
352
355
  div.area-container .ccl-form .ccl-form-check-input + .ccl-form-radio-label {
353
356
  display: flex;
354
- justify-content: space-between;
357
+ justify-content: flex-start;
355
358
  padding-left: 1.75rem;
356
359
  }
357
360
 
@@ -360,8 +363,11 @@ label.ccl-form-radio-label span.nuts-menu-icon {
360
363
  }
361
364
 
362
365
  .area-container .esri-button {
366
+ max-width: fit-content;
367
+ padding: 6px;
363
368
  border-color: #a0b128;
364
- margin-left: 0.25rem;
369
+ margin-left: auto;
370
+ /* margin-left: 0.25rem; */
365
371
  background-color: #a0b128;
366
372
  color: white !important;
367
373
  transition: all 0.3s ease-out;