-
-
Notifications
You must be signed in to change notification settings - Fork 885
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into update-emotion-is-valid-prop
- Loading branch information
Showing
166 changed files
with
2,888 additions
and
2,298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+5.53 KB
.yarn/cache/@aashutoshrathi-word-wrap-npm-1.2.6-5b1d95e487-ada901b9e7.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-2.89 KB
.yarn/cache/@babel-helper-environment-visitor-npm-7.18.9-9f5b3635a1-b25101f616.zip
Binary file not shown.
Binary file removed
BIN
-3.85 KB
.yarn/cache/@babel-helper-function-name-npm-7.18.9-89df62ccc8-d04c44e027.zip
Binary file not shown.
Binary file removed
BIN
-2.99 KB
.yarn/cache/@babel-helper-hoist-variables-npm-7.18.6-6eb061f405-fd9c35bb43.zip
Binary file not shown.
Binary file removed
BIN
-3.17 KB
.yarn/cache/@babel-helper-split-export-declaration-npm-7.18.6-53ebf8ad4c-c6d3dede53.zip
Binary file not shown.
Binary file removed
BIN
-4.25 KB
.yarn/cache/@babel-helper-string-parser-npm-7.18.10-cf6fe67f9a-d554a43933.zip
Binary file not shown.
Binary file removed
BIN
-9.08 KB
.yarn/cache/@babel-helper-validator-identifier-npm-7.18.6-357e4653ab-e295254d61.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+63.8 KB
.yarn/cache/@eslint-community-eslint-utils-npm-4.4.0-d1791bd5a3-cdfe3ae42b.zip
Binary file not shown.
Binary file added
BIN
+66.6 KB
.yarn/cache/@eslint-community-regexpp-npm-4.10.0-6bfb984c81-2a6e345429.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-15.7 KB
.yarn/cache/@humanwhocodes-config-array-npm-0.10.4-8334b3c6a2-d480e5d57e.zip
Binary file not shown.
Binary file added
BIN
+16.4 KB
.yarn/cache/@humanwhocodes-config-array-npm-0.11.14-94a02fcc87-861ccce9ea.zip
Binary file not shown.
Binary file removed
BIN
-8.68 KB
.yarn/cache/@humanwhocodes-gitignore-to-minimatch-npm-1.0.2-247ae8a408-aba5c40c9e.zip
Binary file not shown.
Binary file added
BIN
+10.4 KB
.yarn/cache/@humanwhocodes-module-importer-npm-1.0.1-9d07ed2e4a-0fd22007db.zip
Binary file not shown.
Binary file removed
BIN
-13.4 KB
.yarn/cache/@humanwhocodes-object-schema-npm-1.2.1-eb622b5d0e-a824a1ec31.zip
Binary file not shown.
Binary file added
BIN
+14.1 KB
.yarn/cache/@humanwhocodes-object-schema-npm-2.0.2-77b42018f9-2fc1150336.zip
Binary file not shown.
Binary file removed
BIN
-17.9 KB
.yarn/cache/@jridgewell-resolve-uri-npm-3.1.0-6ff2351e61-b5ceaaf9a1.zip
Binary file not shown.
Binary file removed
BIN
-13.4 KB
.yarn/cache/@jridgewell-sourcemap-codec-npm-1.4.14-f5f0630788-61100637b6.zip
Binary file not shown.
Binary file removed
BIN
-41.7 KB
.yarn/cache/@jridgewell-trace-mapping-npm-0.3.15-7357dbf648-38917e9c2b.zip
Binary file not shown.
Binary file added
BIN
+13.9 KB
.yarn/cache/@ungap-structured-clone-npm-1.2.0-648f0b82e0-4f656b7b46.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+39.4 KB
.yarn/cache/eslint-plugin-redos-detector-npm-2.4.0-3dae8ce005-9b47a3af47.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-11.8 KB
.yarn/cache/eslint-visitor-keys-npm-3.3.0-d329af7c8c-d59e68a7c5.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+87.9 KB
.yarn/cache/jsdoc-type-pratt-parser-npm-4.0.0-7b035921c4-af0629c951.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<html> | ||
<!-- | ||
Warm Start: Framer Motion | ||
This benchmarks warm start - when an animation library already | ||
knows the initial animating values. | ||
Run in private browsing mode to avoid browser plugins interfering with | ||
benchmark. | ||
--> | ||
<head> | ||
<style> | ||
body { | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
.container { | ||
padding: 100px; | ||
width: 100%; | ||
display: flex; | ||
flex-wrap: wrap; | ||
} | ||
|
||
.container > div { | ||
width: 100px; | ||
height: 100px; | ||
} | ||
|
||
.box { | ||
width: 10%; | ||
height: 100px; | ||
background-color: #fff; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="container"></div> | ||
|
||
<script src="../../packages/framer-motion/dist/dom.js"></script> | ||
<script> | ||
// Create boxes | ||
const numBoxes = 100 | ||
let html = `` | ||
for (let i = 0; i < numBoxes; i++) { | ||
html += `<div><div class="box"></div></div>` | ||
} | ||
document.querySelector(".container").innerHTML = html | ||
|
||
const { animate } = Motion | ||
const boxes = document.querySelectorAll(".box") | ||
|
||
setTimeout(() => { | ||
// Warm start | ||
boxes.forEach((box) => | ||
animate( | ||
box, | ||
{ | ||
rotate: [0, Math.random() * 360], | ||
backgroundColor: ["#fff", "#f00"], | ||
width: ["0%", Math.random() * 100 + "%"], | ||
x: [0, 5], | ||
}, | ||
{ | ||
easing: "linear", | ||
duration: 1, | ||
} | ||
) | ||
) | ||
}, 1000) | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<html> | ||
<!-- | ||
Warm Start: GSAP | ||
This benchmarks warm start - when an animation library already knows | ||
the initial values to animate. | ||
Run in private browsing mode to avoid browser plugins interfering with | ||
benchmark. | ||
--> | ||
<head> | ||
<style> | ||
body { | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
.container { | ||
padding: 100px; | ||
width: 100%; | ||
display: flex; | ||
flex-wrap: wrap; | ||
} | ||
|
||
.container > div { | ||
width: 100px; | ||
height: 100px; | ||
} | ||
|
||
.box { | ||
width: 10px; | ||
height: 100px; | ||
background-color: #fff; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="container"></div> | ||
<script src="../../node_modules/gsap/dist/gsap.min.js"></script> | ||
<script> | ||
// Create boxes | ||
const numBoxes = 100 | ||
let html = `` | ||
for (let i = 0; i < numBoxes; i++) { | ||
html += `<div><div class="box"></div></div>` | ||
} | ||
document.querySelector(".container").innerHTML = html | ||
|
||
const boxes = document.querySelectorAll(".box") | ||
|
||
gsap.set(boxes, { | ||
rotate: 0, | ||
backgroundColor: "#fff", | ||
width: "0%", | ||
x: 0, | ||
}) | ||
|
||
setTimeout(() => { | ||
// Warm start | ||
boxes.forEach((box) => | ||
gsap.to(box, { | ||
rotate: Math.random() * 360, | ||
backgroundColor: "#f00", | ||
width: Math.random() * 100 + "%", | ||
x: 5, | ||
duration: 1, | ||
}) | ||
) | ||
|
||
// setTimeout(() => { | ||
// // Unit conversion | ||
// boxes.forEach((box) => | ||
// gsap.to(box, { | ||
// width: Math.random() * 100 + "px", | ||
// x: "50%", | ||
// duration: 1, | ||
// easing: "linear", | ||
// }) | ||
// ) | ||
// }, 1500) | ||
}, 1000) | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.