@eeacms/volto-arcgis-block 0.1.185 → 0.1.187

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,14 @@ 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.187](https://github.com/eea/volto-arcgis-block/compare/0.1.186...0.1.187) - 28 August 2023
8
+
9
+ #### :house: Internal changes
10
+
11
+ - chore: pin exact version of dependency [Mikel Larreategi - [`c02b323`](https://github.com/eea/volto-arcgis-block/commit/c02b3239422769cd43ef13d0fbbb4fac5c8db783)]
12
+
13
+ ### [0.1.186](https://github.com/eea/volto-arcgis-block/compare/0.1.185...0.1.186) - 28 August 2023
14
+
7
15
  ### [0.1.185](https://github.com/eea/volto-arcgis-block/compare/0.1.184...0.1.185) - 23 August 2023
8
16
 
9
17
  #### :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.185",
3
+ "version": "0.1.187",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -36,7 +36,7 @@
36
36
  "cypress:open": "../../../node_modules/cypress/bin/cypress open"
37
37
  },
38
38
  "dependencies": {
39
- "@eeacms/volto-clms-utils": "*",
39
+ "@eeacms/volto-clms-utils": "0.1.12",
40
40
  "@fortawesome/fontawesome-svg-core": "1.2.35",
41
41
  "@fortawesome/free-solid-svg-icons": "5.15.3",
42
42
  "@fortawesome/react-fontawesome": "0.1.14",
@@ -92,16 +92,12 @@ class BookmarkWidget extends React.Component {
92
92
 
93
93
  this.Bookmarks.when(() => {
94
94
  this.Bookmarks.bookmarks.on('change', () => {
95
- localStorage.setItem(
96
- BOOKMARK_SESSION_KEY + '_' + this.userID,
97
- JSON.stringify(this.Bookmarks.bookmarks.items),
98
- );
99
- /*if (this.userID != null) {
95
+ if (this.userID != null) {
100
96
  localStorage.setItem(
101
97
  BOOKMARK_SESSION_KEY + '_' + this.userID,
102
98
  JSON.stringify(this.Bookmarks.bookmarks.items),
103
99
  );
104
- }*/
100
+ }
105
101
  });
106
102
  this.Bookmarks.on('bookmark-edit', () => {
107
103
  if (this.userID != null) {
@@ -253,6 +253,19 @@
253
253
  background: none;
254
254
  color: #212529;
255
255
  }
256
+ /* Bookmark*/
257
+ .esri-bookmarks .esri-button {
258
+ border-color: #a0b128;
259
+ background-color: white;
260
+ color: #a0b128;
261
+ transition: all 0.3s ease-out;
262
+ }
263
+
264
+ .esri-bookmarks .esri-button:hover {
265
+ border-color: #a0b128;
266
+ background-color: #a0b128;
267
+ color: white;
268
+ }
256
269
 
257
270
  /* Area */
258
271
  .area-container {