@micromag/core 0.3.447 → 0.3.452

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/components.js CHANGED
@@ -49,7 +49,6 @@ var propTypes$T = {
49
49
  isHtml: PropTypes$1.bool,
50
50
  values: PropTypes$1.object // eslint-disable-line react/forbid-prop-types
51
51
  };
52
-
53
52
  var defaultProps$T = {
54
53
  isHtml: false,
55
54
  values: {}
@@ -102,7 +101,6 @@ var propTypes$S = {
102
101
  current: PropTypes$1.any // eslint-disable-line
103
102
  })])
104
103
  };
105
-
106
104
  var defaultProps$S = {
107
105
  type: 'button',
108
106
  theme: null,
@@ -314,7 +312,6 @@ var propTypes$P = {
314
312
  closeFieldForm: PropTypes$1.func.isRequired,
315
313
  fieldContext: PropTypes$1.any // eslint-disable-line react/forbid-prop-types
316
314
  };
317
-
318
315
  var defaultProps$P = {
319
316
  name: null,
320
317
  form: null,
@@ -358,7 +355,6 @@ var FieldForm = function FieldForm(_ref) {
358
355
  var newValue = setFieldValue(value, name.split('.'), newFieldValue
359
356
  // field === null || subFields !== null ? newFieldValue : newFieldValue[name],
360
357
  );
361
-
362
358
  if (onChange !== null) {
363
359
  onChange(newValue);
364
360
  }
@@ -2358,7 +2354,6 @@ var propTypes$h = {
2358
2354
  className: PropTypes$1.string,
2359
2355
  placeholderProps: PropTypes$1.object // eslint-disable-line
2360
2356
  };
2361
-
2362
2357
  var defaultProps$h = {
2363
2358
  props: {},
2364
2359
  isPlaceholder: false,
package/es/contexts.js CHANGED
@@ -398,7 +398,6 @@ var propTypes$d = {
398
398
  children: PropTypes.node.isRequired,
399
399
  apiKey: PropTypes.string // .isRequired,
400
400
  };
401
-
402
401
  var defaultProps$d = {
403
402
  apiKey: null
404
403
  };
@@ -676,7 +675,6 @@ var propTypes$9 = {
676
675
  children: PropTypes.node.isRequired,
677
676
  container: PropTypes.object // eslint-disable-line
678
677
  };
679
-
680
678
  var defaultProps$9 = {
681
679
  container: null
682
680
  };
@@ -762,7 +760,6 @@ var propTypes$8 = {
762
760
  children: PropTypes.node.isRequired,
763
761
  container: PropTypes.object // eslint-disable-line
764
762
  };
765
-
766
763
  var defaultProps$8 = {
767
764
  container: null
768
765
  };
package/es/hooks.js CHANGED
@@ -1081,7 +1081,6 @@ var useMediaApi = function useMediaApi() {
1081
1081
  // media.addEventListener('loadedmetadata', onCustomLoadedMetadata);
1082
1082
  // media.addEventListener('loadeddata', onCustomLoadedData);
1083
1083
  }
1084
-
1085
1084
  return function () {
1086
1085
  if (media !== null) {
1087
1086
  media.removeEventListener('volumechange', onCustomVolumeChange);
@@ -1101,7 +1100,6 @@ var useMediaApi = function useMediaApi() {
1101
1100
  // onCustomCanPlay,
1102
1101
  // onCustomLoadedMetadata,
1103
1102
  ]);
1104
-
1105
1103
  useEffect(function () {
1106
1104
  var _ref$current2 = ref.current,
1107
1105
  media = _ref$current2 === void 0 ? null : _ref$current2;
package/lib/components.js CHANGED
@@ -51,7 +51,6 @@ var propTypes$T = {
51
51
  isHtml: PropTypes.bool,
52
52
  values: PropTypes.object // eslint-disable-line react/forbid-prop-types
53
53
  };
54
-
55
54
  var defaultProps$T = {
56
55
  isHtml: false,
57
56
  values: {}
@@ -104,7 +103,6 @@ var propTypes$S = {
104
103
  current: PropTypes.any // eslint-disable-line
105
104
  })])
106
105
  };
107
-
108
106
  var defaultProps$S = {
109
107
  type: 'button',
110
108
  theme: null,
@@ -316,7 +314,6 @@ var propTypes$P = {
316
314
  closeFieldForm: PropTypes.func.isRequired,
317
315
  fieldContext: PropTypes.any // eslint-disable-line react/forbid-prop-types
318
316
  };
319
-
320
317
  var defaultProps$P = {
321
318
  name: null,
322
319
  form: null,
@@ -360,7 +357,6 @@ var FieldForm = function FieldForm(_ref) {
360
357
  var newValue = utils.setFieldValue(value, name.split('.'), newFieldValue
361
358
  // field === null || subFields !== null ? newFieldValue : newFieldValue[name],
362
359
  );
363
-
364
360
  if (onChange !== null) {
365
361
  onChange(newValue);
366
362
  }
@@ -2360,7 +2356,6 @@ var propTypes$h = {
2360
2356
  className: PropTypes.string,
2361
2357
  placeholderProps: PropTypes.object // eslint-disable-line
2362
2358
  };
2363
-
2364
2359
  var defaultProps$h = {
2365
2360
  props: {},
2366
2361
  isPlaceholder: false,
package/lib/contexts.js CHANGED
@@ -399,7 +399,6 @@ var propTypes$d = {
399
399
  children: PropTypes.node.isRequired,
400
400
  apiKey: PropTypes.string // .isRequired,
401
401
  };
402
-
403
402
  var defaultProps$d = {
404
403
  apiKey: null
405
404
  };
@@ -677,7 +676,6 @@ var propTypes$9 = {
677
676
  children: PropTypes.node.isRequired,
678
677
  container: PropTypes.object // eslint-disable-line
679
678
  };
680
-
681
679
  var defaultProps$9 = {
682
680
  container: null
683
681
  };
@@ -763,7 +761,6 @@ var propTypes$8 = {
763
761
  children: PropTypes.node.isRequired,
764
762
  container: PropTypes.object // eslint-disable-line
765
763
  };
766
-
767
764
  var defaultProps$8 = {
768
765
  container: null
769
766
  };
package/lib/hooks.js CHANGED
@@ -1083,7 +1083,6 @@ var useMediaApi = function useMediaApi() {
1083
1083
  // media.addEventListener('loadedmetadata', onCustomLoadedMetadata);
1084
1084
  // media.addEventListener('loadeddata', onCustomLoadedData);
1085
1085
  }
1086
-
1087
1086
  return function () {
1088
1087
  if (media !== null) {
1089
1088
  media.removeEventListener('volumechange', onCustomVolumeChange);
@@ -1103,7 +1102,6 @@ var useMediaApi = function useMediaApi() {
1103
1102
  // onCustomCanPlay,
1104
1103
  // onCustomLoadedMetadata,
1105
1104
  ]);
1106
-
1107
1105
  react.useEffect(function () {
1108
1106
  var _ref$current2 = ref.current,
1109
1107
  media = _ref$current2 === void 0 ? null : _ref$current2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/core",
3
- "version": "0.3.447",
3
+ "version": "0.3.452",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -155,5 +155,5 @@
155
155
  "access": "public",
156
156
  "registry": "https://registry.npmjs.org/"
157
157
  },
158
- "gitHead": "ec175c602ce6f59b7561f57c92da443814109d50"
158
+ "gitHead": "aec551095929a41f43406d0da6e3cfe7f394b92e"
159
159
  }