@eeacms/volto-arcgis-block 0.1.237 → 0.1.239

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,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.239](https://github.com/eea/volto-arcgis-block/compare/0.1.238...0.1.239) - 23 November 2023
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - CLMS-2862 (bug): Adjusted dataset title info label padding for cross browser compatibility [ujbolivar - [`ac16225`](https://github.com/eea/volto-arcgis-block/commit/ac16225c37fdfd735466571c861455485803a459)]
12
+ ### [0.1.238](https://github.com/eea/volto-arcgis-block/compare/0.1.237...0.1.238) - 22 November 2023
13
+
7
14
  ### [0.1.237](https://github.com/eea/volto-arcgis-block/compare/0.1.236...0.1.237) - 22 November 2023
8
15
 
9
16
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.237",
3
+ "version": "0.1.239",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -453,7 +453,11 @@ class AreaWidget extends React.Component {
453
453
  id="map_area_button"
454
454
  aria-label="Area selection"
455
455
  onClick={this.openMenu.bind(this)}
456
- onKeyDown={this.openMenu.bind(this)}
456
+ onKeyDown={(e) => {
457
+ if (!e.altKey && e.code !== 'Tab') {
458
+ this.openMenu(this);
459
+ }
460
+ }}
457
461
  tabIndex="0"
458
462
  role="button"
459
463
  ></div>
@@ -466,7 +470,11 @@ class AreaWidget extends React.Component {
466
470
  <span
467
471
  className="map-menu-icon esri-icon-close"
468
472
  onClick={this.openMenu.bind(this)}
469
- onKeyDown={this.openMenu.bind(this)}
473
+ onKeyDown={(e) => {
474
+ if (!e.altKey && e.code !== 'Tab') {
475
+ this.openMenu(this);
476
+ }
477
+ }}
470
478
  tabIndex="0"
471
479
  role="button"
472
480
  ></span>
@@ -260,7 +260,11 @@ class BasemapWidget extends React.Component {
260
260
  id="map_basemap_button"
261
261
  aria-label="Basemap gallery"
262
262
  onClick={this.openMenu.bind(this)}
263
- onKeyDown={this.openMenu.bind(this)}
263
+ onKeyDown={(e) => {
264
+ if (!e.altKey && e.code !== 'Tab') {
265
+ this.openMenu(this);
266
+ }
267
+ }}
264
268
  tabIndex="0"
265
269
  role="button"
266
270
  ></div>
@@ -271,7 +275,11 @@ class BasemapWidget extends React.Component {
271
275
  <span
272
276
  className="map-menu-icon esri-icon-close"
273
277
  onClick={this.openMenu.bind(this)}
274
- onKeyDown={this.openMenu.bind(this)}
278
+ onKeyDown={(e) => {
279
+ if (!e.altKey && e.code !== 'Tab') {
280
+ this.openMenu(this);
281
+ }
282
+ }}
275
283
  tabIndex="0"
276
284
  role="button"
277
285
  ></span>
@@ -140,7 +140,11 @@ class BookmarkWidget extends React.Component {
140
140
  id="bookmark_button"
141
141
  aria-label="Bookmark"
142
142
  onClick={this.openMenu.bind(this)}
143
- onKeyDown={this.openMenu.bind(this)}
143
+ onKeyDown={(e) => {
144
+ if (!e.altKey && e.code !== 'Tab') {
145
+ this.openMenu(this);
146
+ }
147
+ }}
144
148
  tabIndex="0"
145
149
  role="button"
146
150
  ></div>
@@ -151,7 +155,11 @@ class BookmarkWidget extends React.Component {
151
155
  <span
152
156
  className="map-menu-icon esri-icon-close"
153
157
  onClick={this.openMenu.bind(this)}
154
- onKeyDown={this.openMenu.bind(this)}
158
+ onKeyDown={(e) => {
159
+ if (!e.altKey && e.code !== 'Tab') {
160
+ this.openMenu(this);
161
+ }
162
+ }}
155
163
  tabIndex="0"
156
164
  role="button"
157
165
  ></span>
@@ -735,7 +735,11 @@ class HotspotWidget extends React.Component {
735
735
  id="hotspot_button"
736
736
  aria-label="Hotspot"
737
737
  onClick={this.openMenu.bind(this)}
738
- onKeyDown={this.openMenu.bind(this)}
738
+ onKeyDown={(e) => {
739
+ if (!e.altKey && e.code !== 'Tab') {
740
+ this.openMenu(this);
741
+ }
742
+ }}
739
743
  tabIndex="0"
740
744
  role="button"
741
745
  ></div>
@@ -746,7 +750,11 @@ class HotspotWidget extends React.Component {
746
750
  <span
747
751
  className="map-menu-icon esri-icon-close"
748
752
  onClick={this.openMenu.bind(this)}
749
- onKeyDown={this.openMenu.bind(this)}
753
+ onKeyDown={(e) => {
754
+ if (!e.altKey && e.code !== 'Tab') {
755
+ this.openMenu(this);
756
+ }
757
+ }}
750
758
  tabIndex="0"
751
759
  role="button"
752
760
  ></span>
@@ -940,7 +940,11 @@ class InfoWidget extends React.Component {
940
940
  id="info_button"
941
941
  aria-label="Layer info"
942
942
  onClick={this.openMenu.bind(this)}
943
- onKeyDown={this.openMenu.bind(this)}
943
+ onKeyDown={(e) => {
944
+ if (!e.altKey && e.code !== 'Tab') {
945
+ this.openMenu(this);
946
+ }
947
+ }}
944
948
  tabIndex="0"
945
949
  role="button"
946
950
  ></div>
@@ -951,7 +955,11 @@ class InfoWidget extends React.Component {
951
955
  <span
952
956
  className="map-menu-icon esri-icon-close"
953
957
  onClick={this.openMenu.bind(this)}
954
- onKeyDown={this.openMenu.bind(this)}
958
+ onKeyDown={(e) => {
959
+ if (!e.altKey && e.code !== 'Tab') {
960
+ this.openMenu(this);
961
+ }
962
+ }}
955
963
  tabIndex="0"
956
964
  role="button"
957
965
  ></span>
@@ -301,7 +301,11 @@ class LegendWidget extends React.Component {
301
301
  id="legend_button"
302
302
  aria-label="Legend"
303
303
  onClick={this.openMenu.bind(this)}
304
- onKeyDown={this.openMenu.bind(this)}
304
+ onKeyDown={(e) => {
305
+ if (!e.altKey && e.code !== 'Tab') {
306
+ this.openMenu(this);
307
+ }
308
+ }}
305
309
  tabIndex="0"
306
310
  role="button"
307
311
  ></div>
@@ -312,7 +316,11 @@ class LegendWidget extends React.Component {
312
316
  <span
313
317
  className="map-menu-icon esri-icon-close"
314
318
  onClick={this.openMenu.bind(this)}
315
- onKeyDown={this.openMenu.bind(this)}
319
+ onKeyDown={(e) => {
320
+ if (!e.altKey && e.code !== 'Tab') {
321
+ this.openMenu(this);
322
+ }
323
+ }}
316
324
  tabIndex="0"
317
325
  role="button"
318
326
  ></span>
@@ -200,7 +200,11 @@ class MeasurementWidget extends React.Component {
200
200
  id="map_measurement_button"
201
201
  aria-label="Measurement"
202
202
  onClick={this.openMenu.bind(this)}
203
- onKeyDown={this.openMenu.bind(this)}
203
+ onKeyDown={(e) => {
204
+ if (!e.altKey && e.code !== 'Tab') {
205
+ this.openMenu(this);
206
+ }
207
+ }}
204
208
  tabIndex="0"
205
209
  role="button"
206
210
  ></div>
@@ -211,7 +215,11 @@ class MeasurementWidget extends React.Component {
211
215
  <span
212
216
  className="map-menu-icon esri-icon-close"
213
217
  onClick={this.openMenu.bind(this)}
214
- onKeyDown={this.openMenu.bind(this)}
218
+ onKeyDown={(e) => {
219
+ if (!e.altKey && e.code !== 'Tab') {
220
+ this.openMenu(this);
221
+ }
222
+ }}
215
223
  tabIndex="0"
216
224
  role="button"
217
225
  ></span>
@@ -3837,7 +3837,11 @@ class MenuWidget extends React.Component {
3837
3837
  role="button"
3838
3838
  aria-label="Menu of products"
3839
3839
  onClick={this.openMenu.bind(this)}
3840
- onKeyDown={this.openMenu.bind(this)}
3840
+ onKeyDown={(e) => {
3841
+ if (!e.altKey && e.code !== 'Tab') {
3842
+ this.openMenu(this);
3843
+ }
3844
+ }}
3841
3845
  tabIndex="0"
3842
3846
  ></div>
3843
3847
  </div>
@@ -222,7 +222,11 @@ class PrintWidget extends React.Component {
222
222
  id="map_print_button"
223
223
  aria-label="Print"
224
224
  onClick={this.openMenu.bind(this)}
225
- onKeyDown={this.openMenu.bind(this)}
225
+ onKeyDown={(e) => {
226
+ if (!e.altKey && e.code !== 'Tab') {
227
+ this.openMenu(this);
228
+ }
229
+ }}
226
230
  tabIndex="0"
227
231
  role="button"
228
232
  ></div>
@@ -233,7 +237,11 @@ class PrintWidget extends React.Component {
233
237
  <span
234
238
  className="map-menu-icon esri-icon-close"
235
239
  onClick={this.openMenu.bind(this)}
236
- onKeyDown={this.openMenu.bind(this)}
240
+ onKeyDown={(e) => {
241
+ if (!e.altKey && e.code !== 'Tab') {
242
+ this.openMenu(this);
243
+ }
244
+ }}
237
245
  tabIndex="0"
238
246
  role="button"
239
247
  ></span>
@@ -323,7 +323,11 @@ class SwipeWidget extends React.Component {
323
323
  id="map_swipe_button"
324
324
  aria-label="Swipe"
325
325
  onClick={this.openMenu.bind(this)} //aqui deberían ir ocultar panel y mas abajo cerrar (pasar a 3d)
326
- onKeyDown={this.openMenu.bind(this)}
326
+ onKeyDown={(e) => {
327
+ if (!e.altKey && e.code !== 'Tab') {
328
+ this.openMenu(this);
329
+ }
330
+ }}
327
331
  tabIndex="0"
328
332
  role="button"
329
333
  ></div>
@@ -335,7 +339,11 @@ class SwipeWidget extends React.Component {
335
339
  <span
336
340
  className="map-menu-icon esri-icon-close"
337
341
  onClick={this.openMenu.bind(this)}
338
- onKeyDown={this.openMenu.bind(this)}
342
+ onKeyDown={(e) => {
343
+ if (!e.altKey && e.code !== 'Tab') {
344
+ this.openMenu(this);
345
+ }
346
+ }}
339
347
  tabIndex="0"
340
348
  role="button"
341
349
  ></span>
@@ -1252,6 +1252,7 @@ input[type='range']::-ms-track {
1252
1252
 
1253
1253
  .zoom-in-message,
1254
1254
  .hotspot-filter-message {
1255
+ width: 247 !important;
1255
1256
  padding: 0.3rem 0.6rem 0.1rem 0.6rem;
1256
1257
  margin-top: 0.2rem;
1257
1258
  background: #a0b128;
@@ -1259,6 +1260,7 @@ input[type='range']::-ms-track {
1259
1260
  color: white;
1260
1261
  font-size: 0.875rem;
1261
1262
  text-align: center;
1263
+ white-space: nowrap;
1262
1264
  }
1263
1265
 
1264
1266
  /* Privacy protection tooltip */