@micromag/element-grid 0.2.396 → 0.2.404

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,9 +1,9 @@
1
1
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
- import React from 'react';
3
- import PropTypes$1 from 'prop-types';
2
+ import { PropTypes } from '@micromag/core';
4
3
  import classNames from 'classnames';
5
4
  import isArray from 'lodash/isArray';
6
- import { PropTypes } from '@micromag/core';
5
+ import PropTypes$1 from 'prop-types';
6
+ import React from 'react';
7
7
 
8
8
  var styles = {"container":"micromag-element-grid-container","items":"micromag-element-grid-items","cross":"micromag-element-grid-cross","axis":"micromag-element-grid-axis"};
9
9
 
@@ -30,7 +30,7 @@ var defaultProps = {
30
30
  crossClassName: null
31
31
  };
32
32
 
33
- var Grid = function Grid(_ref) {
33
+ function Grid(_ref) {
34
34
  var items = _ref.items,
35
35
  layout = _ref.layout,
36
36
  width = _ref.width,
@@ -102,7 +102,7 @@ var Grid = function Grid(_ref) {
102
102
  }, item);
103
103
  }));
104
104
  })));
105
- };
105
+ }
106
106
 
107
107
  Grid.propTypes = propTypes;
108
108
  Grid.defaultProps = defaultProps;
package/lib/index.js CHANGED
@@ -1,19 +1,19 @@
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');
4
+ var core = require('@micromag/core');
6
5
  var classNames = require('classnames');
7
6
  var isArray = require('lodash/isArray');
8
- var core = require('@micromag/core');
7
+ var PropTypes = require('prop-types');
8
+ var React = require('react');
9
9
 
10
10
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
11
 
12
12
  var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
13
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
14
- var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
15
13
  var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
16
14
  var isArray__default = /*#__PURE__*/_interopDefaultLegacy(isArray);
15
+ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
16
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
17
17
 
18
18
  var styles = {"container":"micromag-element-grid-container","items":"micromag-element-grid-items","cross":"micromag-element-grid-cross","axis":"micromag-element-grid-axis"};
19
19
 
@@ -40,7 +40,7 @@ var defaultProps = {
40
40
  crossClassName: null
41
41
  };
42
42
 
43
- var Grid = function Grid(_ref) {
43
+ function Grid(_ref) {
44
44
  var items = _ref.items,
45
45
  layout = _ref.layout,
46
46
  width = _ref.width,
@@ -112,7 +112,7 @@ var Grid = function Grid(_ref) {
112
112
  }, item);
113
113
  }));
114
114
  })));
115
- };
115
+ }
116
116
 
117
117
  Grid.propTypes = propTypes;
118
118
  Grid.defaultProps = defaultProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-grid",
3
- "version": "0.2.396",
3
+ "version": "0.2.404",
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.396",
52
+ "@micromag/core": "^0.2.404",
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": "480deb93475c6eefcd4c5997b4ce7c9f32e6ff7d"
62
+ "gitHead": "34d5345cb0dad79206bb6b7a25f02742663023ee"
63
63
  }