33 lines
690 B
JavaScript
33 lines
690 B
JavaScript
import { gsap, Power0, Power1, Power2, Power3, Power4, Linear, Quad, Cubic, Quart, Quint, Strong, Elastic, Back, SteppedEase, Bounce, Sine, Expo, Circ, TweenLite, TimelineLite, TimelineMax } from "./gsap-core.js";
|
|
import { CSSPlugin } from "./CSSPlugin.js";
|
|
|
|
const gsapWithCSS = gsap.registerPlugin(CSSPlugin) || gsap, // to protect from tree shaking
|
|
TweenMaxWithCSS = gsapWithCSS.core.Tween;
|
|
|
|
export {
|
|
gsapWithCSS as gsap,
|
|
gsapWithCSS as default,
|
|
CSSPlugin,
|
|
TweenMaxWithCSS as TweenMax,
|
|
TweenLite,
|
|
TimelineMax,
|
|
TimelineLite,
|
|
Power0,
|
|
Power1,
|
|
Power2,
|
|
Power3,
|
|
Power4,
|
|
Linear,
|
|
Quad,
|
|
Cubic,
|
|
Quart,
|
|
Quint,
|
|
Strong,
|
|
Elastic,
|
|
Back,
|
|
SteppedEase,
|
|
Bounce,
|
|
Sine,
|
|
Expo,
|
|
Circ
|
|
}; |