@micromag/element-container 0.3.307 → 0.3.318

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.
@@ -1 +1 @@
1
- .micromag-element-container-container{position:relative;overflow:hidden}
1
+ .micromag-element-container-container{overflow:hidden;position:relative}
package/es/index.js CHANGED
@@ -15,12 +15,11 @@ var defaultProps = {
15
15
  className: null,
16
16
  children: null
17
17
  };
18
-
19
18
  function Container(_ref) {
20
19
  var width = _ref.width,
21
- height = _ref.height,
22
- className = _ref.className,
23
- children = _ref.children;
20
+ height = _ref.height,
21
+ className = _ref.className,
22
+ children = _ref.children;
24
23
  var hasSize = width > 0 && height > 0;
25
24
  var containerStyle = hasSize ? {
26
25
  width: width,
@@ -31,7 +30,6 @@ function Container(_ref) {
31
30
  style: containerStyle
32
31
  }, children);
33
32
  }
34
-
35
33
  Container.propTypes = propTypes;
36
34
  Container.defaultProps = defaultProps;
37
35
 
package/lib/index.js CHANGED
@@ -24,12 +24,11 @@ var defaultProps = {
24
24
  className: null,
25
25
  children: null
26
26
  };
27
-
28
27
  function Container(_ref) {
29
28
  var width = _ref.width,
30
- height = _ref.height,
31
- className = _ref.className,
32
- children = _ref.children;
29
+ height = _ref.height,
30
+ className = _ref.className,
31
+ children = _ref.children;
33
32
  var hasSize = width > 0 && height > 0;
34
33
  var containerStyle = hasSize ? {
35
34
  width: width,
@@ -40,7 +39,6 @@ function Container(_ref) {
40
39
  style: containerStyle
41
40
  }, children);
42
41
  }
43
-
44
42
  Container.propTypes = propTypes;
45
43
  Container.defaultProps = defaultProps;
46
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-container",
3
- "version": "0.3.307",
3
+ "version": "0.3.318",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -49,15 +49,15 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@babel/runtime": "^7.13.10",
52
- "@micromag/core": "^0.3.307",
52
+ "@micromag/core": "^0.3.318",
53
53
  "classnames": "^2.2.6",
54
54
  "lodash": "^4.17.21",
55
55
  "prop-types": "^15.7.2",
56
56
  "react-intl": "^5.12.1",
57
- "uuid": "^8.3.2"
57
+ "uuid": "^9.0.0"
58
58
  },
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
- "gitHead": "cdc815b7aebe1b9ae8741e1956e21780def64caf"
62
+ "gitHead": "7d1a296e0c0d410e1225279e1f19e3a7715bfa96"
63
63
  }