@woosmap/ui 4.117.2 → 4.117.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "4.117.2",
3
+ "version": "4.117.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -316,6 +316,7 @@ Card.propTypes = {
316
316
  'MERCHANTS',
317
317
  'LOCALITIES',
318
318
  'INDOOR',
319
+ 'W3W',
319
320
  ]),
320
321
  iconSize: PropTypes.number,
321
322
  isClickable: PropTypes.bool,
@@ -104,6 +104,7 @@ Label.propTypes = {
104
104
  'merchants',
105
105
  'traffic',
106
106
  'indoor',
107
+ 'w3w',
107
108
  undefined,
108
109
  ]),
109
110
  plan: PropTypes.oneOf(['free', 'standard', 'enterprise', 'enterprise--free', undefined]),
@@ -62,8 +62,8 @@ class Modal extends Component {
62
62
  };
63
63
 
64
64
  close = () => {
65
- const { closeCb } = this.props;
66
- this.setState({ open: false, isLoading: false }, closeCb);
65
+ const { closeCb, defaultIsOpen } = this.props;
66
+ this.setState({ open: defaultIsOpen, isLoading: false }, closeCb);
67
67
  };
68
68
 
69
69
  validate = () => {
@@ -51,6 +51,7 @@ Tooltip.propTypes = {
51
51
  'distance',
52
52
  'traffic',
53
53
  'indoor',
54
+ 'w3w',
54
55
  undefined,
55
56
  ]),
56
57
  text: PropTypes.string,