@micromag/element-webview 0.3.164 → 0.3.169

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 CHANGED
@@ -17,7 +17,6 @@ var propTypes = {
17
17
  height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
18
18
  closeable: PropTypes.bool,
19
19
  onClose: PropTypes.func,
20
- hidden: PropTypes.bool,
21
20
  className: PropTypes.string
22
21
  };
23
22
  var defaultProps = {
@@ -27,7 +26,6 @@ var defaultProps = {
27
26
  height: null,
28
27
  closeable: false,
29
28
  onClose: null,
30
- hidden: false,
31
29
  className: null
32
30
  };
33
31
 
@@ -39,9 +37,8 @@ function WebView(_ref) {
39
37
  width = _ref.width,
40
38
  height = _ref.height,
41
39
  closeable = _ref.closeable,
42
- onClose = _ref.onClose;
43
- _ref.hidden;
44
- var className = _ref.className;
40
+ onClose = _ref.onClose,
41
+ className = _ref.className;
45
42
  return /*#__PURE__*/React.createElement("div", {
46
43
  className: classNames([styles.container, (_ref2 = {}, _defineProperty(_ref2, styles.closeable, closeable), _defineProperty(_ref2, className, className !== null), _ref2)]),
47
44
  style: {
package/lib/index.js CHANGED
@@ -27,7 +27,6 @@ var propTypes = {
27
27
  height: PropTypes__default["default"].oneOfType([PropTypes__default["default"].number, PropTypes__default["default"].string]),
28
28
  closeable: PropTypes__default["default"].bool,
29
29
  onClose: PropTypes__default["default"].func,
30
- hidden: PropTypes__default["default"].bool,
31
30
  className: PropTypes__default["default"].string
32
31
  };
33
32
  var defaultProps = {
@@ -37,7 +36,6 @@ var defaultProps = {
37
36
  height: null,
38
37
  closeable: false,
39
38
  onClose: null,
40
- hidden: false,
41
39
  className: null
42
40
  };
43
41
 
@@ -49,9 +47,8 @@ function WebView(_ref) {
49
47
  width = _ref.width,
50
48
  height = _ref.height,
51
49
  closeable = _ref.closeable,
52
- onClose = _ref.onClose;
53
- _ref.hidden;
54
- var className = _ref.className;
50
+ onClose = _ref.onClose,
51
+ className = _ref.className;
55
52
  return /*#__PURE__*/React__default["default"].createElement("div", {
56
53
  className: classNames__default["default"]([styles.container, (_ref2 = {}, _defineProperty__default["default"](_ref2, styles.closeable, closeable), _defineProperty__default["default"](_ref2, className, className !== null), _ref2)]),
57
54
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-webview",
3
- "version": "0.3.164",
3
+ "version": "0.3.169",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -52,8 +52,8 @@
52
52
  "@fortawesome/fontawesome-svg-core": "^1.2.32",
53
53
  "@fortawesome/free-solid-svg-icons": "^5.15.1",
54
54
  "@fortawesome/react-fontawesome": "^0.1.13",
55
- "@micromag/core": "^0.3.164",
56
- "@micromag/element-button": "^0.3.164",
55
+ "@micromag/core": "^0.3.169",
56
+ "@micromag/element-button": "^0.3.169",
57
57
  "classnames": "^2.2.6",
58
58
  "lodash": "^4.17.21",
59
59
  "prop-types": "^15.7.2",
@@ -63,5 +63,5 @@
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
- "gitHead": "9f184b29369c35b3928578e6a67bb60e86cf36b0"
66
+ "gitHead": "0c1d21566e76943b0d1548cfe7f0e95380cf017c"
67
67
  }