@micromag/element-map 0.3.572 → 0.3.578
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/es/index.js +5 -6
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -383,7 +383,7 @@ var defaultProps$2 = {
|
|
|
383
383
|
children: null,
|
|
384
384
|
focusable: true
|
|
385
385
|
};
|
|
386
|
-
var Map$
|
|
386
|
+
var Map$1 = function Map(_ref) {
|
|
387
387
|
var center = _ref.center,
|
|
388
388
|
zoom = _ref.zoom,
|
|
389
389
|
maxZoom = _ref.maxZoom,
|
|
@@ -431,8 +431,8 @@ var Map$2 = function Map(_ref) {
|
|
|
431
431
|
});
|
|
432
432
|
}));
|
|
433
433
|
};
|
|
434
|
-
Map$
|
|
435
|
-
Map$
|
|
434
|
+
Map$1.propTypes = propTypes$2;
|
|
435
|
+
Map$1.defaultProps = defaultProps$2;
|
|
436
436
|
|
|
437
437
|
var eventMapping = {
|
|
438
438
|
onClick: 'click',
|
|
@@ -686,7 +686,7 @@ var Map = function Map(_ref) {
|
|
|
686
686
|
}, [onClick, onCenterChanged, onBoundsChanged, onDrag, onDragEnd, onTilesLoaded]);
|
|
687
687
|
return /*#__PURE__*/React.createElement("div", {
|
|
688
688
|
className: classNames([styles.container, _defineProperty({}, className, className !== null)])
|
|
689
|
-
}, /*#__PURE__*/React.createElement(Map$
|
|
689
|
+
}, /*#__PURE__*/React.createElement(Map$1, {
|
|
690
690
|
center: center,
|
|
691
691
|
zoom: zoom,
|
|
692
692
|
withoutStyle: withoutStyle,
|
|
@@ -728,6 +728,5 @@ var Map = function Map(_ref) {
|
|
|
728
728
|
};
|
|
729
729
|
Map.propTypes = propTypes;
|
|
730
730
|
Map.defaultProps = defaultProps;
|
|
731
|
-
var Map$1 = Map;
|
|
732
731
|
|
|
733
|
-
export { Pin, Map
|
|
732
|
+
export { Pin, Map as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-map",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.578",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@babel/runtime": "^7.13.10",
|
|
62
|
-
"@micromag/core": "^0.3.
|
|
62
|
+
"@micromag/core": "^0.3.578",
|
|
63
63
|
"classnames": "^2.2.6",
|
|
64
64
|
"lodash": "^4.17.21",
|
|
65
65
|
"prop-types": "^15.7.2",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"access": "public",
|
|
71
71
|
"registry": "https://registry.npmjs.org/"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "924e621e3cf56f4d46abed790ef7f1f13ec29fb1"
|
|
74
74
|
}
|