@eeacms/volto-arcgis-block 0.1.96 → 0.1.97

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,8 @@ 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.97](https://github.com/eea/volto-arcgis-block/compare/0.1.96...0.1.97) - 3 February 2023
8
+
7
9
  ### [0.1.96](https://github.com/eea/volto-arcgis-block/compare/0.1.95...0.1.96) - 3 February 2023
8
10
 
9
11
  #### :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.96",
3
+ "version": "0.1.97",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -64,18 +64,18 @@ export const AddCartItem = ({
64
64
  let data = checkCartData(cartData, area);
65
65
  addCartItem(data).then(() => {
66
66
  setMessage('Added to cart');
67
- showMessageTimer('Added to cart', 'success');
67
+ showMessageTimer('Added to cart', 'Success');
68
68
  });
69
69
  } else {
70
70
  setMessage('Please select an area');
71
- showMessageTimer('Please select an area', 'warning');
71
+ showMessageTimer('Please select an area', 'Warning');
72
72
  }
73
73
  } else {
74
74
  closeModal(e);
75
75
  let data = checkCartData(cartData, area, dataset);
76
76
  addCartItem(data).then(() => {
77
77
  setMessage('Added to cart');
78
- showMessageTimer('Added to cart', 'success');
78
+ showMessageTimer('Added to cart', 'Success');
79
79
  });
80
80
  }
81
81
  };
@@ -122,7 +122,7 @@ export const AddCartItem = ({
122
122
  toast[type](<Toast autoClose={4000} title={type} content={msg} />, {
123
123
  position: 'top-center',
124
124
  autoClose: 4000,
125
- hideProgressBar: false,
125
+ hideProgressBar: true,
126
126
  closeOnClick: true,
127
127
  pauseOnHover: false,
128
128
  draggable: true,