@micromag/element-container 0.2.399 → 0.2.405

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
@@ -1,7 +1,7 @@
1
1
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
- import React from 'react';
3
- import PropTypes from 'prop-types';
4
2
  import classNames from 'classnames';
3
+ import PropTypes from 'prop-types';
4
+ import React from 'react';
5
5
 
6
6
  var styles = {"container":"micromag-element-container-container"};
7
7
 
@@ -16,7 +16,7 @@ var defaultProps = {
16
16
  children: null
17
17
  };
18
18
 
19
- var Container = function Container(_ref) {
19
+ function Container(_ref) {
20
20
  var width = _ref.width,
21
21
  height = _ref.height,
22
22
  className = _ref.className,
@@ -30,7 +30,7 @@ var Container = function Container(_ref) {
30
30
  className: classNames([styles.container, _defineProperty({}, className, className !== null)]),
31
31
  style: containerStyle
32
32
  }, children);
33
- };
33
+ }
34
34
 
35
35
  Container.propTypes = propTypes;
36
36
  Container.defaultProps = defaultProps;
package/lib/index.js CHANGED
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
3
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
4
- var React = require('react');
5
- var PropTypes = require('prop-types');
6
4
  var classNames = require('classnames');
5
+ var PropTypes = require('prop-types');
6
+ var React = require('react');
7
7
 
8
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
9
 
10
10
  var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
11
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
12
- var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
13
11
  var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
12
+ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
13
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
14
14
 
15
15
  var styles = {"container":"micromag-element-container-container"};
16
16
 
@@ -25,7 +25,7 @@ var defaultProps = {
25
25
  children: null
26
26
  };
27
27
 
28
- var Container = function Container(_ref) {
28
+ function Container(_ref) {
29
29
  var width = _ref.width,
30
30
  height = _ref.height,
31
31
  className = _ref.className,
@@ -39,7 +39,7 @@ var Container = function Container(_ref) {
39
39
  className: classNames__default["default"]([styles.container, _defineProperty__default["default"]({}, className, className !== null)]),
40
40
  style: containerStyle
41
41
  }, children);
42
- };
42
+ }
43
43
 
44
44
  Container.propTypes = propTypes;
45
45
  Container.defaultProps = defaultProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-container",
3
- "version": "0.2.399",
3
+ "version": "0.2.405",
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.2.399",
52
+ "@micromag/core": "^0.2.405",
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": "7831a2f2c709e75b499cefbad367cfd7ee41cf04"
62
+ "gitHead": "e3d172d92d78222d5307cc1513fee7eef9f28402"
63
63
  }