Showing with 1,765 additions and 1,167 deletions.
  1. +4 −4 README.md
  2. +3 −3 dist/CSSRulePlugin.js
  3. +3 −3 dist/CSSRulePlugin.min.js
  4. +1 −1 dist/CSSRulePlugin.min.js.map
  5. +68 −77 dist/Draggable.js
  6. +3 −3 dist/Draggable.min.js
  7. +1 −1 dist/Draggable.min.js.map
  8. +3 −3 dist/EasePack.js
  9. +3 −3 dist/EasePack.min.js
  10. +1 −1 dist/EasePack.min.js.map
  11. +3 −3 dist/EaselPlugin.js
  12. +3 −3 dist/EaselPlugin.min.js
  13. +1 −1 dist/EaselPlugin.min.js.map
  14. +140 −144 dist/MotionPathPlugin.js
  15. +3 −3 dist/MotionPathPlugin.min.js
  16. +1 −1 dist/MotionPathPlugin.min.js.map
  17. +3 −3 dist/PixiPlugin.js
  18. +3 −3 dist/PixiPlugin.min.js
  19. +1 −1 dist/PixiPlugin.min.js.map
  20. +47 −35 dist/ScrollToPlugin.js
  21. +3 −3 dist/ScrollToPlugin.min.js
  22. +1 −1 dist/ScrollToPlugin.min.js.map
  23. +105 −37 dist/ScrollTrigger.js
  24. +3 −3 dist/ScrollTrigger.min.js
  25. +1 −1 dist/ScrollTrigger.min.js.map
  26. +3 −3 dist/TextPlugin.js
  27. +3 −3 dist/TextPlugin.min.js
  28. +1 −1 dist/TextPlugin.min.js.map
  29. +107 −71 dist/gsap.js
  30. +3 −3 dist/gsap.min.js
  31. +1 −1 dist/gsap.min.js.map
  32. +32 −29 esm/CSSPlugin.js
  33. +3 −3 esm/CSSRulePlugin.js
  34. +48 −60 esm/Draggable.js
  35. +3 −3 esm/EasePack.js
  36. +3 −3 esm/EaselPlugin.js
  37. +24 −20 esm/MotionPathPlugin.js
  38. +3 −3 esm/PixiPlugin.js
  39. +47 −35 esm/ScrollToPlugin.js
  40. +108 −39 esm/ScrollTrigger.js
  41. +3 −3 esm/TextPlugin.js
  42. +1 −0 esm/all.js
  43. +100 −52 esm/gsap-core.js
  44. +38 −28 esm/utils/matrix.js
  45. +97 −112 esm/utils/paths.js
  46. +2 −2 esm/utils/strings.js
  47. +3 −2 package.json
  48. +30 −26 src/CSSPlugin.js
  49. +3 −3 src/CSSRulePlugin.js
  50. +39 −47 src/Draggable.js
  51. +3 −3 src/EasePack.js
  52. +3 −3 src/EaselPlugin.js
  53. +18 −18 src/MotionPathPlugin.js
  54. +3 −3 src/PixiPlugin.js
  55. +30 −26 src/ScrollToPlugin.js
  56. +82 −38 src/ScrollTrigger.js
  57. +3 −3 src/TextPlugin.js
  58. +1 −0 src/all.js
  59. +79 −42 src/gsap-core.js
  60. +33 −25 src/utils/matrix.js
  61. +85 −100 src/utils/paths.js
  62. +2 −2 src/utils/strings.js
  63. +2 −2 types/animation.d.ts
  64. +284 −0 types/flip.d.ts
  65. +2 −1 types/gsap-core.d.ts
  66. +3 −1 types/index.d.ts
  67. +12 −1 types/morph-svg-plugin.d.ts
  68. +2 −2 types/motion-path-plugin.d.ts
  69. +1 −1 types/scroll-to-plugin.d.ts
  70. +3 −3 types/scroll-trigger.d.ts
  71. +1 −0 types/timeline.d.ts
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#### Professional-grade animation for the modern web

GSAP is a JavaScript library for building high-performance animations that work in **every** major browser. Animate CSS, SVG, canvas, React, Vue, WebGL, colors, strings, motion paths, generic objects...anything JavaScript can touch! The <a href="https://greensock.com/scrolltrigger">ScrollTrigger</a> plugin lets you create jaw-dropping scroll-based animations with minimal code. No other library delivers such advanced sequencing, reliability, and tight control while solving real-world problems on millions of sites. GSAP works around countless browser inconsistencies; your animations **just work**. At its core, GSAP is a high-speed property manipulator, updating values over time with extreme accuracy. It's up to 20x faster than jQuery! See https://greensock.com/why-gsap/ for what makes GSAP so special.
GSAP is a robust JavaScript toolset that turns developers into animation superheroes. Build high-performance animations that work in **every** major browser. Animate CSS, SVG, canvas, React, Vue, WebGL, colors, strings, motion paths, generic objects...anything JavaScript can touch! GSAP's <a href="https://greensock.com/scrolltrigger">ScrollTrigger</a> plugin lets you create jaw-dropping scroll-based animations with minimal code. No other library delivers such advanced sequencing, reliability, and tight control while solving real-world problems on millions of sites. GSAP works around countless browser inconsistencies; your animations **just work**. At its core, GSAP is a high-speed property manipulator, updating values over time with extreme accuracy. It's up to 20x faster than jQuery! See https://greensock.com/why-gsap/ for what makes GSAP so special.

### What is GSAP? (video)

Expand All @@ -18,7 +18,7 @@ View the <a href="https://greensock.com/docs">full documentation here</a>, inclu

### CDN
```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.5.1/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.6.0/gsap.min.js"></script>
```
Click the green "Get GSAP Now" button at <a href="https://greensock.com/?download=GSAP-JS">greensock.com</a> for more options and installation instructions, including CDN URLs for various plugins.

Expand Down Expand Up @@ -56,7 +56,7 @@ Download <a href="https://greensock.com/club/">Club GreenSock</a> members-only p

### ScrollTrigger

If you're looking to do scroll-driven animations, GSAP's <a href="https://greensock.com/scrolltrigger">ScrollTrigger</a> plugin is a great option.
If you're looking to do scroll-driven animations, GSAP's <a href="https://greensock.com/scrolltrigger">ScrollTrigger</a> plugin is the new standard.

[![ScrollTrigger](http://greensock.com/_img/github/thumb-scrolltrigger-small.gif)](http://greensock.com/scrolltrigger)

Expand Down Expand Up @@ -96,4 +96,4 @@ Sign up for a free GreenSock account to gain access to <a href="https://greensoc
### License
GreenSock's standard "no charge" license can be viewed at <a href="https://greensock.com/standard-license">http://greensock.com/standard-license</a>. <a href="https://greensock.com/club/">Club GreenSock</a> members are granted additional rights. See <a href="https://greensock.com/licensing/">http://greensock.com/licensing/</a> for details. Why doesn't GreenSock use an MIT (or similar) open source license, and why is that a **good** thing? This article explains it all: <a href="https://greensock.com/why-license/" target="_blank">http://greensock.com/why-license/</a>

Copyright (c) 2008-2020, GreenSock. All rights reserved.
Copyright (c) 2008-2021, GreenSock. All rights reserved.
6 changes: 3 additions & 3 deletions dist/CSSRulePlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
}(this, (function (exports) { 'use strict';

/*!
* CSSRulePlugin 3.5.1
* CSSRulePlugin 3.6.0
* https://greensock.com
*
* @license Copyright 2008-2020, GreenSock. All rights reserved.
* @license Copyright 2008-2021, GreenSock. All rights reserved.
* Subject to the terms at https://greensock.com/standard-license or for
* Club GreenSock members, the agreement issued with that membership.
* @author: Jack Doyle, jack@greensock.com
Expand Down Expand Up @@ -51,7 +51,7 @@
};

var CSSRulePlugin = {
version: "3.5.1",
version: "3.6.0",
name: "cssRule",
init: function init(target, value, tween, index, targets) {
if (!_checkRegister() || typeof target.cssText === "undefined") {
Expand Down
6 changes: 3 additions & 3 deletions dist/CSSRulePlugin.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/CSSRulePlugin.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading