@micromag/element-map 0.3.348 → 0.3.359
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 +3 -2
- package/lib/index.js +5 -4
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _typeof from '@babel/runtime/helpers/typeof';
|
|
2
2
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
3
3
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
4
|
-
import React, { useState, useRef, useEffect, useCallback, useMemo } from 'react';
|
|
5
|
-
import PropTypes from 'prop-types';
|
|
6
4
|
import classNames from 'classnames';
|
|
5
|
+
import PropTypes from 'prop-types';
|
|
6
|
+
import React, { useState, useRef, useEffect, useCallback, useMemo } from 'react';
|
|
7
7
|
import { useGoogleMapsClient } from '@micromag/core/contexts';
|
|
8
8
|
import { useDimensionObserver } from '@micromag/core/hooks';
|
|
9
9
|
import { PropTypes as PropTypes$1 } from '@micromag/core';
|
|
@@ -586,6 +586,7 @@ var propTypes = {
|
|
|
586
586
|
zoom: PropTypes.number,
|
|
587
587
|
draggable: PropTypes.bool,
|
|
588
588
|
markers: PropTypes.arrayOf(PropTypes.object),
|
|
589
|
+
// eslint-disable-line react/forbid-prop-types
|
|
589
590
|
onClickMap: PropTypes.func,
|
|
590
591
|
onClickMarker: PropTypes.func,
|
|
591
592
|
className: PropTypes.string,
|
package/lib/index.js
CHANGED
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var _typeof = require('@babel/runtime/helpers/typeof');
|
|
6
6
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
7
7
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
8
|
-
var React = require('react');
|
|
9
|
-
var PropTypes = require('prop-types');
|
|
10
8
|
var classNames = require('classnames');
|
|
9
|
+
var PropTypes = require('prop-types');
|
|
10
|
+
var React = require('react');
|
|
11
11
|
var contexts = require('@micromag/core/contexts');
|
|
12
12
|
var hooks = require('@micromag/core/hooks');
|
|
13
13
|
var core = require('@micromag/core');
|
|
@@ -18,9 +18,9 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
18
18
|
var _typeof__default = /*#__PURE__*/_interopDefaultLegacy(_typeof);
|
|
19
19
|
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
|
|
20
20
|
var _slicedToArray__default = /*#__PURE__*/_interopDefaultLegacy(_slicedToArray);
|
|
21
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
22
|
-
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
23
21
|
var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
|
|
22
|
+
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
23
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
24
24
|
var isObject__default = /*#__PURE__*/_interopDefaultLegacy(isObject);
|
|
25
25
|
|
|
26
26
|
var styles$2 = [{
|
|
@@ -600,6 +600,7 @@ var propTypes = {
|
|
|
600
600
|
zoom: PropTypes__default["default"].number,
|
|
601
601
|
draggable: PropTypes__default["default"].bool,
|
|
602
602
|
markers: PropTypes__default["default"].arrayOf(PropTypes__default["default"].object),
|
|
603
|
+
// eslint-disable-line react/forbid-prop-types
|
|
603
604
|
onClickMap: PropTypes__default["default"].func,
|
|
604
605
|
onClickMarker: PropTypes__default["default"].func,
|
|
605
606
|
className: PropTypes__default["default"].string,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-map",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.359",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@babel/runtime": "^7.13.10",
|
|
52
|
-
"@micromag/core": "^0.3.
|
|
52
|
+
"@micromag/core": "^0.3.359",
|
|
53
53
|
"classnames": "^2.2.6",
|
|
54
54
|
"lodash": "^4.17.21",
|
|
55
55
|
"prop-types": "^15.7.2",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "22eba0d01f18f8971e0405bbb41081b5e2ae80ee"
|
|
63
63
|
}
|