pre-installations and preparations
This commit is contained in:
1 parent
3e5a0329cb
commit
201d621ac3
6977 files changed
+742826
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
var _transition = require("./transition");
|
||||
Object.keys(_transition).forEach(function (key) {
|
||||
if (key === "default" || key === "__esModule") return;
|
||||
if (key in exports && exports[key] === _transition[key]) return;
|
||||
Object.defineProperty(exports, key, {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _transition[key];
|
||||
}
|
||||
});
|
||||
});
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.getTransitionProps = getTransitionProps;
|
||||
exports.reflow = void 0;
|
||||
const reflow = node => node.scrollTop;
|
||||
exports.reflow = reflow;
|
||||
function getTransitionProps(props, options) {
|
||||
var _style$transitionDura, _style$transitionTimi;
|
||||
const {
|
||||
timeout,
|
||||
easing,
|
||||
style = {}
|
||||
} = props;
|
||||
return {
|
||||
duration: (_style$transitionDura = style.transitionDuration) != null ? _style$transitionDura : typeof timeout === 'number' ? timeout : timeout[options.mode] || 0,
|
||||
easing: (_style$transitionTimi = style.transitionTimingFunction) != null ? _style$transitionTimi : typeof easing === 'object' ? easing[options.mode] : easing,
|
||||
delay: style.transitionDelay
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user