@micromag/core 0.2.386 → 0.2.401

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
@@ -3710,7 +3710,7 @@ var defaultProps$4 = {
3710
3710
  onComplete: null
3711
3711
  };
3712
3712
 
3713
- var Transition = function Transition(_ref) {
3713
+ function Transition(_ref) {
3714
3714
  var _ref2;
3715
3715
 
3716
3716
  var fullscreen = _ref.fullscreen,
@@ -3773,14 +3773,14 @@ var Transition = function Transition(_ref) {
3773
3773
  style: _objectSpread({}, springProps),
3774
3774
  className: classNames([styles.container, (_ref2 = {}, _defineProperty(_ref2, className, className !== null), _defineProperty(_ref2, styles.fullscreen, fullscreen), _ref2)])
3775
3775
  }, children);
3776
- };
3776
+ }
3777
3777
 
3778
3778
  Transition.propTypes = propTypes$4;
3779
3779
  Transition.defaultProps = defaultProps$4;
3780
3780
 
3781
3781
  /* eslint-disable react/jsx-props-no-spreading */
3782
3782
 
3783
- var Fade = function Fade(props) {
3783
+ function Fade(props) {
3784
3784
  var from = useMemo(function () {
3785
3785
  return {
3786
3786
  opacity: 0
@@ -3795,11 +3795,11 @@ var Fade = function Fade(props) {
3795
3795
  from: from,
3796
3796
  to: to
3797
3797
  }));
3798
- };
3798
+ }
3799
3799
 
3800
3800
  /* eslint-disable react/jsx-props-no-spreading */
3801
3801
 
3802
- var Scale = function Scale(props) {
3802
+ function Scale(props) {
3803
3803
  var from = useMemo(function () {
3804
3804
  return {
3805
3805
  transform: 'scale(0)'
@@ -3814,7 +3814,7 @@ var Scale = function Scale(props) {
3814
3814
  from: from,
3815
3815
  to: to
3816
3816
  }));
3817
- };
3817
+ }
3818
3818
 
3819
3819
  var TransitionComponents = {
3820
3820
  Fade: Fade,
@@ -3838,7 +3838,7 @@ var defaultProps$3 = {
3838
3838
  children: null
3839
3839
  };
3840
3840
 
3841
- var Transitions = function Transitions(_ref) {
3841
+ function Transitions(_ref) {
3842
3842
  var fullscreen = _ref.fullscreen,
3843
3843
  playing = _ref.playing,
3844
3844
  delay = _ref.delay,
@@ -3902,7 +3902,7 @@ var Transitions = function Transitions(_ref) {
3902
3902
  playing: finalPlaying,
3903
3903
  direction: !sameTransitionInOut ? 'in' : null
3904
3904
  }, transitionInProps), renderTransitionOut) : renderTransitionOut;
3905
- };
3905
+ }
3906
3906
 
3907
3907
  Transitions.propTypes = propTypes$3;
3908
3908
  Transitions.defaultProps = defaultProps$3;
package/es/contexts.js CHANGED
@@ -1157,9 +1157,8 @@ var _excluded$2 = ["default"];
1157
1157
 
1158
1158
  var packagesCache$1 = {};
1159
1159
  var defaultPackagesMap$1 = {
1160
- transloadit: function transloadit() {
1161
- return import('@uppy/transloadit');
1162
- },
1160
+ transloadit: null,
1161
+ // Disabled for compatibility reasons
1163
1162
  tus: function tus() {
1164
1163
  return import('@uppy/tus');
1165
1164
  },
package/es/index.js CHANGED
@@ -1119,7 +1119,7 @@ var FieldsManager = /*#__PURE__*/function (_DefinitionsManager) {
1119
1119
  return _super.apply(this, arguments);
1120
1120
  }
1121
1121
 
1122
- return FieldsManager;
1122
+ return _createClass(FieldsManager);
1123
1123
  }(DefinitionsManager);
1124
1124
 
1125
1125
  var _excluded$2 = ["medias"];
package/lib/components.js CHANGED
@@ -3733,7 +3733,7 @@ var defaultProps$4 = {
3733
3733
  onComplete: null
3734
3734
  };
3735
3735
 
3736
- var Transition = function Transition(_ref) {
3736
+ function Transition(_ref) {
3737
3737
  var _ref2;
3738
3738
 
3739
3739
  var fullscreen = _ref.fullscreen,
@@ -3796,14 +3796,14 @@ var Transition = function Transition(_ref) {
3796
3796
  style: _objectSpread__default["default"]({}, springProps),
3797
3797
  className: classNames__default["default"]([styles.container, (_ref2 = {}, _defineProperty__default["default"](_ref2, className, className !== null), _defineProperty__default["default"](_ref2, styles.fullscreen, fullscreen), _ref2)])
3798
3798
  }, children);
3799
- };
3799
+ }
3800
3800
 
3801
3801
  Transition.propTypes = propTypes$4;
3802
3802
  Transition.defaultProps = defaultProps$4;
3803
3803
 
3804
3804
  /* eslint-disable react/jsx-props-no-spreading */
3805
3805
 
3806
- var Fade = function Fade(props) {
3806
+ function Fade(props) {
3807
3807
  var from = React.useMemo(function () {
3808
3808
  return {
3809
3809
  opacity: 0
@@ -3818,11 +3818,11 @@ var Fade = function Fade(props) {
3818
3818
  from: from,
3819
3819
  to: to
3820
3820
  }));
3821
- };
3821
+ }
3822
3822
 
3823
3823
  /* eslint-disable react/jsx-props-no-spreading */
3824
3824
 
3825
- var Scale = function Scale(props) {
3825
+ function Scale(props) {
3826
3826
  var from = React.useMemo(function () {
3827
3827
  return {
3828
3828
  transform: 'scale(0)'
@@ -3837,7 +3837,7 @@ var Scale = function Scale(props) {
3837
3837
  from: from,
3838
3838
  to: to
3839
3839
  }));
3840
- };
3840
+ }
3841
3841
 
3842
3842
  var TransitionComponents = {
3843
3843
  Fade: Fade,
@@ -3861,7 +3861,7 @@ var defaultProps$3 = {
3861
3861
  children: null
3862
3862
  };
3863
3863
 
3864
- var Transitions = function Transitions(_ref) {
3864
+ function Transitions(_ref) {
3865
3865
  var fullscreen = _ref.fullscreen,
3866
3866
  playing = _ref.playing,
3867
3867
  delay = _ref.delay,
@@ -3925,7 +3925,7 @@ var Transitions = function Transitions(_ref) {
3925
3925
  playing: finalPlaying,
3926
3926
  direction: !sameTransitionInOut ? 'in' : null
3927
3927
  }, transitionInProps), renderTransitionOut) : renderTransitionOut;
3928
- };
3928
+ }
3929
3929
 
3930
3930
  Transitions.propTypes = propTypes$3;
3931
3931
  Transitions.defaultProps = defaultProps$3;
package/lib/contexts.js CHANGED
@@ -1191,9 +1191,8 @@ var _excluded$2 = ["default"];
1191
1191
 
1192
1192
  var packagesCache$1 = {};
1193
1193
  var defaultPackagesMap$1 = {
1194
- transloadit: function transloadit() {
1195
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('@uppy/transloadit')); });
1196
- },
1194
+ transloadit: null,
1195
+ // Disabled for compatibility reasons
1197
1196
  tus: function tus() {
1198
1197
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('@uppy/tus')); });
1199
1198
  },
package/lib/index.js CHANGED
@@ -1145,7 +1145,7 @@ var FieldsManager = /*#__PURE__*/function (_DefinitionsManager) {
1145
1145
  return _super.apply(this, arguments);
1146
1146
  }
1147
1147
 
1148
- return FieldsManager;
1148
+ return _createClass__default["default"](FieldsManager);
1149
1149
  }(DefinitionsManager);
1150
1150
 
1151
1151
  var _excluded$2 = ["medias"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/core",
3
- "version": "0.2.386",
3
+ "version": "0.2.401",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -86,18 +86,17 @@
86
86
  "@fortawesome/react-fontawesome": "^0.1.13",
87
87
  "@react-spring/core": "^9.1.1",
88
88
  "@react-spring/web": "^9.1.1",
89
- "@uppy/core": "^2.1.2",
90
- "@uppy/dashboard": "^2.1.1",
91
- "@uppy/dropbox": "^2.0.4",
92
- "@uppy/facebook": "^2.0.4",
93
- "@uppy/google-drive": "^2.0.4",
94
- "@uppy/instagram": "^2.0.4",
95
- "@uppy/locales": "^2.0.3",
96
- "@uppy/react": "^2.1.1",
97
- "@uppy/transloadit": "^2.0.4",
98
- "@uppy/tus": "^2.1.1",
99
- "@uppy/webcam": "^2.0.4",
100
- "@uppy/xhr-upload": "^2.0.5",
89
+ "@uppy/core": "^2.1.4",
90
+ "@uppy/dashboard": "^2.1.3",
91
+ "@uppy/dropbox": "^2.0.5",
92
+ "@uppy/facebook": "^2.0.5",
93
+ "@uppy/google-drive": "^2.0.5",
94
+ "@uppy/instagram": "^2.0.5",
95
+ "@uppy/locales": "^2.0.5",
96
+ "@uppy/react": "^2.1.2",
97
+ "@uppy/tus": "^2.2.0",
98
+ "@uppy/webcam": "^2.0.5",
99
+ "@uppy/xhr-upload": "^2.0.7",
101
100
  "bootstrap": "^4.5.3",
102
101
  "change-case": "^4.1.2",
103
102
  "classnames": "^2.2.6",
@@ -125,5 +124,5 @@
125
124
  "publishConfig": {
126
125
  "access": "public"
127
126
  },
128
- "gitHead": "ea1fb37b6e8b421e8df78c50d392187420cadc70"
127
+ "gitHead": "fd03ec6d9decc9e18d6088a36e47c7b1e0e72b4c"
129
128
  }