@micromag/element-checkbox 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-checkbox-container{position:relative}.micromag-element-checkbox-container .micromag-element-checkbox-label{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-bottom:0}.micromag-element-checkbox-container .micromag-element-checkbox-input{margin-right:5px}
1
+ .micromag-element-checkbox-container{position:relative}.micromag-element-checkbox-container .micromag-element-checkbox-label{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;margin-bottom:0}.micromag-element-checkbox-container .micromag-element-checkbox-input{margin-right:5px}
package/es/index.js CHANGED
@@ -24,19 +24,16 @@ var defaultProps = {
24
24
  checkboxStyle: null,
25
25
  className: null
26
26
  };
27
-
28
27
  var Checkbox = function Checkbox(_ref) {
29
28
  var option = _ref.option,
30
- value = _ref.value,
31
- _onChange = _ref.onChange,
32
- focusable = _ref.focusable,
33
- checkboxStyle = _ref.checkboxStyle,
34
- className = _ref.className;
35
-
29
+ value = _ref.value,
30
+ _onChange = _ref.onChange,
31
+ focusable = _ref.focusable,
32
+ checkboxStyle = _ref.checkboxStyle,
33
+ className = _ref.className;
36
34
  var _ref2 = option || {},
37
- _ref2$body = _ref2.body,
38
- body = _ref2$body === void 0 ? null : _ref2$body;
39
-
35
+ _ref2$body = _ref2.body,
36
+ body = _ref2$body === void 0 ? null : _ref2$body;
40
37
  return /*#__PURE__*/React.createElement("div", {
41
38
  className: classNames([styles.container, _defineProperty({}, className, className !== null)]),
42
39
  style: _objectSpread({}, checkboxStyle)
@@ -58,7 +55,6 @@ var Checkbox = function Checkbox(_ref) {
58
55
  }
59
56
  }), body));
60
57
  };
61
-
62
58
  Checkbox.propTypes = propTypes;
63
59
  Checkbox.defaultProps = defaultProps;
64
60
 
package/lib/index.js CHANGED
@@ -34,19 +34,16 @@ var defaultProps = {
34
34
  checkboxStyle: null,
35
35
  className: null
36
36
  };
37
-
38
37
  var Checkbox = function Checkbox(_ref) {
39
38
  var option = _ref.option,
40
- value = _ref.value,
41
- _onChange = _ref.onChange,
42
- focusable = _ref.focusable,
43
- checkboxStyle = _ref.checkboxStyle,
44
- className = _ref.className;
45
-
39
+ value = _ref.value,
40
+ _onChange = _ref.onChange,
41
+ focusable = _ref.focusable,
42
+ checkboxStyle = _ref.checkboxStyle,
43
+ className = _ref.className;
46
44
  var _ref2 = option || {},
47
- _ref2$body = _ref2.body,
48
- body = _ref2$body === void 0 ? null : _ref2$body;
49
-
45
+ _ref2$body = _ref2.body,
46
+ body = _ref2$body === void 0 ? null : _ref2$body;
50
47
  return /*#__PURE__*/React__default["default"].createElement("div", {
51
48
  className: classNames__default["default"]([styles.container, _defineProperty__default["default"]({}, className, className !== null)]),
52
49
  style: _objectSpread__default["default"]({}, checkboxStyle)
@@ -68,7 +65,6 @@ var Checkbox = function Checkbox(_ref) {
68
65
  }
69
66
  }), body));
70
67
  };
71
-
72
68
  Checkbox.propTypes = propTypes;
73
69
  Checkbox.defaultProps = defaultProps;
74
70
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-checkbox",
3
- "version": "0.3.307",
3
+ "version": "0.3.318",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -49,16 +49,16 @@
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
  "change-case": "^4.1.2",
54
54
  "classnames": "^2.2.6",
55
55
  "lodash": "^4.17.21",
56
56
  "prop-types": "^15.7.2",
57
57
  "react-intl": "^5.12.1",
58
- "uuid": "^8.3.2"
58
+ "uuid": "^9.0.0"
59
59
  },
60
60
  "publishConfig": {
61
61
  "access": "public"
62
62
  },
63
- "gitHead": "cdc815b7aebe1b9ae8741e1956e21780def64caf"
63
+ "gitHead": "7d1a296e0c0d410e1225279e1f19e3a7715bfa96"
64
64
  }