@micromag/core 0.2.399 → 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 +8 -8
- package/lib/components.js +8 -8
- package/package.json +2 -2
package/es/components.js
CHANGED
|
@@ -3710,7 +3710,7 @@ var defaultProps$4 = {
|
|
|
3710
3710
|
onComplete: null
|
|
3711
3711
|
};
|
|
3712
3712
|
|
|
3713
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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/lib/components.js
CHANGED
|
@@ -3733,7 +3733,7 @@ var defaultProps$4 = {
|
|
|
3733
3733
|
onComplete: null
|
|
3734
3734
|
};
|
|
3735
3735
|
|
|
3736
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.401",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -124,5 +124,5 @@
|
|
|
124
124
|
"publishConfig": {
|
|
125
125
|
"access": "public"
|
|
126
126
|
},
|
|
127
|
-
"gitHead": "
|
|
127
|
+
"gitHead": "fd03ec6d9decc9e18d6088a36e47c7b1e0e72b4c"
|
|
128
128
|
}
|