From 059d8c789603bf62a2a8a627dcb9bdedebcfeac0 Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Fri, 10 Dec 2021 09:31:26 +0000 Subject: [PATCH 01/25] upgrade sandpack dependencies --- beta/next-env.d.ts | 1 - beta/package.json | 2 +- .../MDX/Sandpack/OpenInCodeSandboxButton.tsx | 6 +- beta/yarn.lock | 851 +++++++++--------- 4 files changed, 446 insertions(+), 414 deletions(-) diff --git a/beta/next-env.d.ts b/beta/next-env.d.ts index 9bc3dd46b9d..4f11a03dc6c 100644 --- a/beta/next-env.d.ts +++ b/beta/next-env.d.ts @@ -1,5 +1,4 @@ /// -/// /// // NOTE: This file should not be edited diff --git a/beta/package.json b/beta/package.json index 4e2a050cf3a..401ad38b3b7 100644 --- a/beta/package.json +++ b/beta/package.json @@ -21,7 +21,7 @@ "check-all": "npm-run-all prettier lint:fix tsc" }, "dependencies": { - "@codesandbox/sandpack-react": "^0.1.20", + "@codesandbox/sandpack-react": "^0.10.1", "@docsearch/css": "3.0.0-alpha.41", "@docsearch/react": "3.0.0-alpha.41", "@headlessui/react": "^1.3.0", diff --git a/beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx b/beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx index 4e9d9f9ed4c..099a44ea20e 100644 --- a/beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx +++ b/beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx @@ -3,12 +3,12 @@ */ import * as React from 'react'; -import {useCodeSandboxLink} from '@codesandbox/sandpack-react'; +// import {useCodeSandboxLink} from '@codesandbox/sandpack-react'; import cn from 'classnames'; import {IconNewPage} from '../../Icon/IconNewPage'; export const OpenInCodeSandboxButton = ({className}: {className?: string}) => { - const url = useCodeSandboxLink(); + // const url = useCodeSandboxLink(); return ( { 'text-sm text-primary dark:text-primary-dark inline-flex items-center hover:text-link duration-100 ease-in transition mx-1', className )} - href={url} + // href={url} rel="noreferrer noopener" target="_blank" title="Open in CodeSandbox"> diff --git a/beta/yarn.lock b/beta/yarn.lock index 0ac63753b88..3d7c7e68418 100644 --- a/beta/yarn.lock +++ b/beta/yarn.lock @@ -268,12 +268,12 @@ integrity sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w== "@babel/helpers@^7.12.5": - version "7.16.0" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.16.0.tgz#875519c979c232f41adfbd43a3b0398c2e388183" - integrity sha512-dVRM0StFMdKlkt7cVcGgwD8UMaBfWJHl3A83Yfs8GQ3MO0LHIIIMvK7Fa0RGOGUQ10qikLaX6D7o5htcQWgTMQ== + version "7.16.3" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.16.3.tgz#27fc64f40b996e7074dc73128c3e5c3e7f55c43c" + integrity sha512-Xn8IhDlBPhvYTvgewPKawhADichOsbkZuzN7qz2BusOM0brChsyXMDJvldWaYMMUNiCQdQzNEioXTp3sC8Nt8w== dependencies: "@babel/template" "^7.16.0" - "@babel/traverse" "^7.16.0" + "@babel/traverse" "^7.16.3" "@babel/types" "^7.16.0" "@babel/highlight@^7.10.4", "@babel/highlight@^7.16.0": @@ -285,10 +285,10 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.12.7", "@babel/parser@^7.16.0", "@babel/parser@^7.7.0": - version "7.16.2" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.16.2.tgz#3723cd5c8d8773eef96ce57ea1d9b7faaccd12ac" - integrity sha512-RUVpT0G2h6rOZwqLDTrKk7ksNv7YpAilTnYe1/Q+eDjxEceRMKVWbCsX7t8h6C1qCFi/1Y8WZjcEPBAFG27GPw== +"@babel/parser@^7.12.7", "@babel/parser@^7.16.0", "@babel/parser@^7.16.3", "@babel/parser@^7.7.0": + version "7.16.4" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.16.4.tgz#d5f92f57cf2c74ffe9b37981c0e72fee7311372e" + integrity sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng== "@babel/plugin-proposal-object-rest-spread@7.12.1": version "7.12.1" @@ -321,16 +321,16 @@ "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-transform-parameters@^7.12.1": - version "7.16.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.0.tgz#1b50765fc421c229819dc4c7cdb8911660b3c2d7" - integrity sha512-XgnQEm1CevKROPx+udOi/8f8TiGhrUWiHiaUCIp47tE0tpFDjzXNTZc9E5CmCwxNjXTWEVqvRfWZYOTFvMa/ZQ== + version "7.16.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.3.tgz#fa9e4c874ee5223f891ee6fa8d737f4766d31d15" + integrity sha512-3MaDpJrOXT1MZ/WCmkOFo7EtmVVC8H4EUZVrHvFOsmwkk4lOjQj8rzv8JKUZV4YoQKeoIgk07GO+acPU9IMu/w== dependencies: "@babel/helper-plugin-utils" "^7.14.5" "@babel/runtime-corejs3@^7.10.2": - version "7.16.0" - resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.16.0.tgz#58a7fb00e6948508f12f53a303993e8b6e2f6c70" - integrity sha512-Oi2qwQ21X7/d9gn3WiwkDTJmq3TQtYNz89lRnoFy8VeZpWlsyXvzSwiRrRZ8cXluvSwqKxqHJ6dBd9Rv+p0ZGQ== + version "7.16.3" + resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.16.3.tgz#1e25de4fa994c57c18e5fdda6cc810dac70f5590" + integrity sha512-IAdDC7T0+wEB4y2gbIL0uOXEYpiZEeuFUTVbdGq+UwCcF35T/tS8KrmMomEwEc5wBbyfH3PJVpTSUqrhPDXFcQ== dependencies: core-js-pure "^3.19.0" regenerator-runtime "^0.13.4" @@ -342,14 +342,7 @@ dependencies: regenerator-runtime "^0.13.4" -"@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2": - version "7.16.0" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.0.tgz#e27b977f2e2088ba24748bf99b5e1dece64e4f0b" - integrity sha512-Nht8L0O8YCktmsDV6FqFue7vQLRx3Hb0B37lS5y0jDRqRxlBG4wIJHnf9/bgSE2UyipKFA01YtS+npRdTWBUyw== - dependencies: - regenerator-runtime "^0.13.4" - -"@babel/runtime@^7.16.3": +"@babel/runtime@^7.10.2", "@babel/runtime@^7.16.3": version "7.16.3" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.3.tgz#b86f0db02a04187a3c17caa77de69840165d42d5" integrity sha512-WBwekcqacdY2e9AF/Q7WLFUWmdJGJTkbjqTjoMDgXkVZ3ZRUvOPsLb5KdwISoQVsbP+DQzVZW4Zhci0DvpbNTQ== @@ -365,17 +358,17 @@ "@babel/parser" "^7.16.0" "@babel/types" "^7.16.0" -"@babel/traverse@^7.12.9", "@babel/traverse@^7.16.0", "@babel/traverse@^7.7.0": - version "7.16.0" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.16.0.tgz#965df6c6bfc0a958c1e739284d3c9fa4a6e3c45b" - integrity sha512-qQ84jIs1aRQxaGaxSysII9TuDaguZ5yVrEuC0BN2vcPlalwfLovVmCjbFDPECPXcYM/wLvNFfp8uDOliLxIoUQ== +"@babel/traverse@^7.12.9", "@babel/traverse@^7.16.0", "@babel/traverse@^7.16.3", "@babel/traverse@^7.7.0": + version "7.16.3" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.16.3.tgz#f63e8a938cc1b780f66d9ed3c54f532ca2d14787" + integrity sha512-eolumr1vVMjqevCpwVO99yN/LoGL0EyHiLO5I043aYQvwOJ9eR5UsZSClHVCzfhBduMAsSzgA/6AyqPjNayJag== dependencies: "@babel/code-frame" "^7.16.0" "@babel/generator" "^7.16.0" "@babel/helper-function-name" "^7.16.0" "@babel/helper-hoist-variables" "^7.16.0" "@babel/helper-split-export-declaration" "^7.16.0" - "@babel/parser" "^7.16.0" + "@babel/parser" "^7.16.3" "@babel/types" "^7.16.0" debug "^4.1.0" globals "^11.1.0" @@ -402,18 +395,18 @@ integrity sha512-CyPYvfl4K5Hp9uyhLhUemul56eiGOF0FNXh5ALzzK9VNhRmRmj1O0mKtLDpoccI8W90r9kQES/nW2FC8jVVieg== "@codemirror/autocomplete@^0.19.0": - version "0.19.4" - resolved "https://registry.yarnpkg.com/@codemirror/autocomplete/-/autocomplete-0.19.4.tgz#2faff94d5a566864444b22fb765d12a3d328bc02" - integrity sha512-Wuuf4xZ9opIpUwMvxFMknC1C202qtTx1q5bS1GuMnTK4lBYoG+tekpAqlLBF3x6fEe2+fw6dRLwYTigtCuS7pQ== + version "0.19.9" + resolved "https://registry.yarnpkg.com/@codemirror/autocomplete/-/autocomplete-0.19.9.tgz#28b6600ad617bdc8dfeb0102a1df8cc61883d87c" + integrity sha512-Ph1LWHtFFqNUIqEVrws6I263ihe5TH+TRBPwxQ78j7st7Q67FDAmgKX6mNbUPh02dxfqQrc9qxlo5JIqKeiVdg== dependencies: "@codemirror/language" "^0.19.0" - "@codemirror/state" "^0.19.2" + "@codemirror/state" "^0.19.4" "@codemirror/text" "^0.19.2" "@codemirror/tooltip" "^0.19.0" "@codemirror/view" "^0.19.0" "@lezer/common" "^0.15.0" -"@codemirror/closebrackets@0.19.0": +"@codemirror/closebrackets@^0.19.0": version "0.19.0" resolved "https://registry.yarnpkg.com/@codemirror/closebrackets/-/closebrackets-0.19.0.tgz#69fdcee85779d638a00a42becd9f53a33a26d77f" integrity sha512-dFWX5OEVYWRNtGaifSbwIAlymnRRjxWMiMbffbAjF7p0zfGHDbdGkiT56q3Xud63h5/tQdSo5dK1iyNTzHz5vg== @@ -424,19 +417,19 @@ "@codemirror/text" "^0.19.0" "@codemirror/view" "^0.19.0" -"@codemirror/commands@0.19.5": - version "0.19.5" - resolved "https://registry.yarnpkg.com/@codemirror/commands/-/commands-0.19.5.tgz#2607b5c12c5c96df2cabce2e43f6285c07cfaf11" - integrity sha512-8PZOtx7d/GbKhFYA88zs2wINDtaUgj3pEjLYScKTd/Vsyw8qOp86tJQQNnMFTRZj/ISQl9Lbg3aAmHvroMqspw== +"@codemirror/commands@^0.19.5": + version "0.19.6" + resolved "https://registry.yarnpkg.com/@codemirror/commands/-/commands-0.19.6.tgz#1568cf2c45a05864c1a4229575c5ac367ebbad9f" + integrity sha512-Mjc3ZfTifOn0h5499xI3MfCVIZvO2I0ochgzxfRtPOFwfXX/k7HTgnK0/KzuGDINyxUVeDaFCkf53TyyWjdxMQ== dependencies: "@codemirror/language" "^0.19.0" "@codemirror/matchbrackets" "^0.19.0" "@codemirror/state" "^0.19.2" "@codemirror/text" "^0.19.0" - "@codemirror/view" "^0.19.0" + "@codemirror/view" "^0.19.22" "@lezer/common" "^0.15.0" -"@codemirror/comment@0.19.0": +"@codemirror/comment@^0.19.0": version "0.19.0" resolved "https://registry.yarnpkg.com/@codemirror/comment/-/comment-0.19.0.tgz#4f23497924e9346898c2e0123011acc535a0bea6" integrity sha512-3hqAd0548fxqOBm4khFMcXVIivX8p0bSlbAuZJ6PNoUn/0wXhxkxowPp0FmFzU2+y37Z+ZQF5cRB5EREWPRIiQ== @@ -445,16 +438,16 @@ "@codemirror/text" "^0.19.0" "@codemirror/view" "^0.19.0" -"@codemirror/gutter@0.19.4": - version "0.19.4" - resolved "https://registry.yarnpkg.com/@codemirror/gutter/-/gutter-0.19.4.tgz#7f2f3ceb72b96042380d23316bb6c43a7e05f111" - integrity sha512-zcDtGafuzLs9mvSBqHVuLNbS4UpHBo1+DRY6NtZfC31bV8abDxOPgokq2+6UsVPQp+RA1LgmPHatp4gOYSM+cA== +"@codemirror/gutter@^0.19.4", "@codemirror/gutter@^0.19.5": + version "0.19.9" + resolved "https://registry.yarnpkg.com/@codemirror/gutter/-/gutter-0.19.9.tgz#bbb69f4d49570d9c1b3f3df5d134980c516cd42b" + integrity sha512-PFrtmilahin1g6uL27aG5tM/rqR9DZzZYZsIrCXA5Uc2OFTFqx4owuhoU9hqfYxHp5ovfvBwQ+txFzqS4vog6Q== dependencies: "@codemirror/rangeset" "^0.19.0" "@codemirror/state" "^0.19.0" - "@codemirror/view" "^0.19.0" + "@codemirror/view" "^0.19.23" -"@codemirror/highlight@0.19.6", "@codemirror/highlight@^0.19.6": +"@codemirror/highlight@^0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@codemirror/highlight/-/highlight-0.19.6.tgz#7f2e066f83f5649e8e0748a3abe0aaeaf64b8ac2" integrity sha512-+eibu6on9quY8uN3xJ/n3rH+YIDLlpX7YulVmFvqAIz/ukRQ5tWaBmB7fMixHmnmRIRBRZgB8rNtonuMwZSAHQ== @@ -466,7 +459,7 @@ "@lezer/common" "^0.15.0" style-mod "^4.0.0" -"@codemirror/history@0.19.0": +"@codemirror/history@^0.19.0": version "0.19.0" resolved "https://registry.yarnpkg.com/@codemirror/history/-/history-0.19.0.tgz#cc8095c927c9566f7b69fa404074edde4c54d39c" integrity sha512-E0H+lncH66IMDhaND9jgkjE7s0dhYfjCPmS+Ig2Yes9I8+UIEecIdObj8c8HPCFGctGg3fxXqRAw2mdHl2Wouw== @@ -474,7 +467,7 @@ "@codemirror/state" "^0.19.0" "@codemirror/view" "^0.19.0" -"@codemirror/lang-css@0.19.3", "@codemirror/lang-css@^0.19.0": +"@codemirror/lang-css@^0.19.0", "@codemirror/lang-css@^0.19.3": version "0.19.3" resolved "https://registry.yarnpkg.com/@codemirror/lang-css/-/lang-css-0.19.3.tgz#7a17adf78c6fcdab4ad5ee4e360631c41e949e4a" integrity sha512-tyCUJR42/UlfOPLb94/p7dN+IPsYSIzHbAHP2KQHANj0I+Orqp+IyIOS++M8TuCX4zkWh9dvi8s92yy/Tn8Ifg== @@ -485,10 +478,10 @@ "@codemirror/state" "^0.19.0" "@lezer/css" "^0.15.2" -"@codemirror/lang-html@0.19.3": - version "0.19.3" - resolved "https://registry.yarnpkg.com/@codemirror/lang-html/-/lang-html-0.19.3.tgz#73ff276efd4b22d28062f70367fd0f638993f36a" - integrity sha512-QlZN8VhQ+vlOpDMbcfXcG3HiiNeklAfIYnKonPM902SM3nJc4rJ66X9O8mzy0TUDBmew9zaYDubvQcqw7rc5Bg== +"@codemirror/lang-html@^0.19.3": + version "0.19.4" + resolved "https://registry.yarnpkg.com/@codemirror/lang-html/-/lang-html-0.19.4.tgz#e6eec28462f18842a0e108732a214a7416b5e333" + integrity sha512-GpiEikNuCBeFnS+/TJSeanwqaOfNm8Kkp9WpVNEPZCLyW1mAMCuFJu/3xlWYeWc778Hc3vJqGn3bn+cLNubgCA== dependencies: "@codemirror/autocomplete" "^0.19.0" "@codemirror/highlight" "^0.19.6" @@ -499,10 +492,10 @@ "@lezer/common" "^0.15.0" "@lezer/html" "^0.15.0" -"@codemirror/lang-javascript@0.19.2", "@codemirror/lang-javascript@^0.19.0": - version "0.19.2" - resolved "https://registry.yarnpkg.com/@codemirror/lang-javascript/-/lang-javascript-0.19.2.tgz#afefd3154979b825605bed894850a4cea957a4e0" - integrity sha512-qNFjCSTWOTZ/KusoVx3CxjmNS37DrhVoVO9E1IkrIMVC3tkk8Hs2eA6HNMxT4VGp5O+0yBmf1DE2o5QQSMs0jg== +"@codemirror/lang-javascript@^0.19.0", "@codemirror/lang-javascript@^0.19.3": + version "0.19.3" + resolved "https://registry.yarnpkg.com/@codemirror/lang-javascript/-/lang-javascript-0.19.3.tgz#281b3447d8b65d98311ebf25893ef5c30a11418b" + integrity sha512-2NE5z98Nz9Rv4OS5UtgehCSnyQjac+P85+evzy1D/4wllp/EPaHIEEtSP1daBvrLy49SdI/9vES3ZJu6rSv4/w== dependencies: "@codemirror/autocomplete" "^0.19.0" "@codemirror/highlight" "^0.19.6" @@ -510,12 +503,12 @@ "@codemirror/lint" "^0.19.0" "@codemirror/state" "^0.19.0" "@codemirror/view" "^0.19.0" - "@lezer/javascript" "^0.15.0" + "@lezer/javascript" "^0.15.1" -"@codemirror/language@0.19.3", "@codemirror/language@^0.19.0": - version "0.19.3" - resolved "https://registry.yarnpkg.com/@codemirror/language/-/language-0.19.3.tgz#e4f61555dec0787f757b78348a54a00f3bb23c9c" - integrity sha512-6vjkRYHRJg/z9wdAk75nU2fQwCJBsh2HpkIjKXIHfzISSgLt5qSDxVhPd8Uu8PD5WMmFFP8tX7I9kdIt873o0A== +"@codemirror/language@^0.19.0", "@codemirror/language@^0.19.4": + version "0.19.7" + resolved "https://registry.yarnpkg.com/@codemirror/language/-/language-0.19.7.tgz#9eef8e827692d93a701b18db9d46a42be34ecca6" + integrity sha512-pNNUtYWMIMG0lUSKyUXJr8U0rFiCKsKFXbA2Oj17PC+S1FY99hV0z1vcntW67ekAIZw9DMEUQnLsKBuIbAUX7Q== dependencies: "@codemirror/state" "^0.19.0" "@codemirror/text" "^0.19.0" @@ -524,17 +517,19 @@ "@lezer/lr" "^0.15.0" "@codemirror/lint@^0.19.0": - version "0.19.2" - resolved "https://registry.yarnpkg.com/@codemirror/lint/-/lint-0.19.2.tgz#1c3932cffd635da796bea3384256b0a315b6fe1e" - integrity sha512-477qvXWwuf24YsBi1DzjrGyzM+qfPe5L4xEHGxQTGOMq6R0+QAFKppOJsxN3y7gzDpLrZSYZdhJzWevOuliZQg== + version "0.19.3" + resolved "https://registry.yarnpkg.com/@codemirror/lint/-/lint-0.19.3.tgz#84101d0967fea8df114a8f0f79965c22ccd3b3cc" + integrity sha512-+c39s05ybD2NjghxkPFsUbH/qBL0cdzKmtHbzUm0RVspeL2OiP7uHYJ6J5+Qr9RjMIPWzcqSauRqxfmCrctUfg== dependencies: + "@codemirror/gutter" "^0.19.4" "@codemirror/panel" "^0.19.0" - "@codemirror/state" "^0.19.0" - "@codemirror/tooltip" "^0.19.0" + "@codemirror/rangeset" "^0.19.1" + "@codemirror/state" "^0.19.4" + "@codemirror/tooltip" "^0.19.5" "@codemirror/view" "^0.19.0" crelt "^1.0.5" -"@codemirror/matchbrackets@0.19.3", "@codemirror/matchbrackets@^0.19.0": +"@codemirror/matchbrackets@^0.19.0", "@codemirror/matchbrackets@^0.19.3": version "0.19.3" resolved "https://registry.yarnpkg.com/@codemirror/matchbrackets/-/matchbrackets-0.19.3.tgz#1f430ada6fa21af2205280ff344ef57bb95dd3cb" integrity sha512-ljkrBxaLgh8jesroUiBa57pdEwqJamxkukXrJpL9LdyFZVJaF+9TldhztRaMsMZO1XnCSSHQ9sg32iuHo7Sc2g== @@ -552,17 +547,17 @@ "@codemirror/state" "^0.19.0" "@codemirror/view" "^0.19.0" -"@codemirror/rangeset@^0.19.0": - version "0.19.1" - resolved "https://registry.yarnpkg.com/@codemirror/rangeset/-/rangeset-0.19.1.tgz#03ab6f93fb60d9ba98f810b98ed9471cba1e3854" - integrity sha512-WaKTEw8JB/3QFlQzpdgRoklopcWvG8O/Xp+rxxOfFKYTaeaejpY/tjpyBBg+Ea65Ka3m7+pPp9d5j/oR2rd9NA== +"@codemirror/rangeset@^0.19.0", "@codemirror/rangeset@^0.19.1": + version "0.19.2" + resolved "https://registry.yarnpkg.com/@codemirror/rangeset/-/rangeset-0.19.2.tgz#d7a999e4273c00fecef4aba8535a426073cdcddf" + integrity sha512-5d+X8LtmeZtfFtKrSx57bIHRUpKv2HD0b74clp4fGA7qJLLfYehF6FGkJJxJb8lKsqAga1gdjjWr0jiypmIxoQ== dependencies: "@codemirror/state" "^0.19.0" -"@codemirror/state@0.19.4", "@codemirror/state@^0.19.0", "@codemirror/state@^0.19.2", "@codemirror/state@^0.19.3": - version "0.19.4" - resolved "https://registry.yarnpkg.com/@codemirror/state/-/state-0.19.4.tgz#db6ee73ec3eb5a237d0d04652a8d8e7b4cb7758b" - integrity sha512-PLsY1PvuGynylzv4FVEi1vDz4gituIxJR4XdEVT4+UK6C2l14Y2TGLkUTw3D8xlq+xmY1J1TR7UbicZtJIxO6A== +"@codemirror/state@^0.19.0", "@codemirror/state@^0.19.2", "@codemirror/state@^0.19.3", "@codemirror/state@^0.19.4", "@codemirror/state@^0.19.5": + version "0.19.6" + resolved "https://registry.yarnpkg.com/@codemirror/state/-/state-0.19.6.tgz#d631f041d39ce41b7891b099fca26cb1fdb9763e" + integrity sha512-sqIQZE9VqwQj7D4c2oz9mfLhlT1ElAzGB5lO1lE33BPyrdNy1cJyCIOecT4cn4VeJOFrnjOeu+IftZ3zqdFETw== dependencies: "@codemirror/text" "^0.19.0" @@ -571,18 +566,18 @@ resolved "https://registry.yarnpkg.com/@codemirror/text/-/text-0.19.5.tgz#75033af2476214e79eae22b81ada618815441c18" integrity sha512-Syu5Xc7tZzeUAM/y4fETkT0zgGr48rDG+w4U38bPwSIUr+L9S/7w2wDE1WGNzjaZPz12F6gb1gxWiSTg9ocLow== -"@codemirror/tooltip@^0.19.0": - version "0.19.6" - resolved "https://registry.yarnpkg.com/@codemirror/tooltip/-/tooltip-0.19.6.tgz#1c908597aa13fdf968886e56c3b75e6b5d9b9900" - integrity sha512-a2xBVsk6JiLXpbMUfAM5pA+K7Om+7U7zlm1rBg0LaOez+3r9tiB2T0aw+IBKWOzAHKV3EwFbM7dwclUZBBYBfg== +"@codemirror/tooltip@^0.19.0", "@codemirror/tooltip@^0.19.5": + version "0.19.10" + resolved "https://registry.yarnpkg.com/@codemirror/tooltip/-/tooltip-0.19.10.tgz#c9ce5f8844ef28ab24d4a5adab0fc7ed85c44b4a" + integrity sha512-xqIhCHr+IYoamdNLvBnU/oDh92zPnsbT1zLaFtKTFi9GI9SxOfBhWY3jfMENlK0j1C9rk8+AvwpXblPGvY/O6w== dependencies: "@codemirror/state" "^0.19.0" "@codemirror/view" "^0.19.0" -"@codemirror/view@0.19.14", "@codemirror/view@^0.19.0": - version "0.19.14" - resolved "https://registry.yarnpkg.com/@codemirror/view/-/view-0.19.14.tgz#25af82dbde8102f792002f38d7e085962fb5c887" - integrity sha512-NCaR406AaqVfYBUcM/mhqHOiQArlBbXrxS7ORTjZb2WtBOQQ5fiTbd7xro5hjOWCTgYP41CzHPdBGoozJhMn4Q== +"@codemirror/view@^0.19.0", "@codemirror/view@^0.19.16", "@codemirror/view@^0.19.22", "@codemirror/view@^0.19.23": + version "0.19.29" + resolved "https://registry.yarnpkg.com/@codemirror/view/-/view-0.19.29.tgz#0e2063c107fa0704b212d5f339f18831a6135738" + integrity sha512-rET2Ogs0M8NsH29t5R+bC/zevfHrjs1aaMV23mdbOtrebxwvANic1s4PtNofAU2dFiuK3x2vdTHPVtVg4dokBA== dependencies: "@codemirror/rangeset" "^0.19.0" "@codemirror/state" "^0.19.3" @@ -590,36 +585,39 @@ style-mod "^4.0.0" w3c-keyname "^2.2.4" -"@codesandbox/sandpack-client@^0.1.20": - version "0.1.20" - resolved "https://registry.yarnpkg.com/@codesandbox/sandpack-client/-/sandpack-client-0.1.20.tgz#4b6c618e223a5ffdc6a82f266e7391fd3a91f15a" - integrity sha512-FlX1AfZwHWJmdeTMZkNdW0YM6sGO+lp9sBwVlxwF4zxq/ki8kGqXJzo326XzjZ5WXQHbWigppjtgyya4BhJy+Q== +"@codesandbox/sandpack-client@^0.10.0": + version "0.10.0" + resolved "https://registry.yarnpkg.com/@codesandbox/sandpack-client/-/sandpack-client-0.10.0.tgz#da2e3ed82b11035bfe3fcbc7b535d0ae5be90f9d" + integrity sha512-K8JZ6lIvnzZtkOAdsLQpoxuc0eowQigigKOhRqbTsxpgmNkvTlh6/h7pWvSX4Vr0bUrxj8DclBFb4vcGyFEBqA== dependencies: codesandbox-import-utils "^1.2.3" lodash.isequal "^4.5.0" -"@codesandbox/sandpack-react@^0.1.20": - version "0.1.20" - resolved "https://registry.yarnpkg.com/@codesandbox/sandpack-react/-/sandpack-react-0.1.20.tgz#1c06e89dca8a53cfd178687c8c5aef1b59a41255" - integrity sha512-cV34nujJedkTVtGPYFbTSa7KJ7aCXYu0QOTnoAcJQU1TDxcWY3FFIKQcrfEJ4zHuORntrjWuUqhfe0oMFpOjPQ== +"@codesandbox/sandpack-react@^0.10.1": + version "0.10.1" + resolved "https://registry.yarnpkg.com/@codesandbox/sandpack-react/-/sandpack-react-0.10.1.tgz#5a87db4900e81d14a714a130bb93fa178f1d1bab" + integrity sha512-OYcd67+Hw7/DDJyZhDKbrrhtXQieWF9/WmMjU3mN+LXZMl0Vsirn45ng7gDV2C4MKiILNMptzd3IN6Epaiox9Q== dependencies: "@code-hike/classer" "^0.0.0-aa6efee" - "@codemirror/closebrackets" "0.19.0" - "@codemirror/commands" "0.19.5" - "@codemirror/comment" "0.19.0" - "@codemirror/gutter" "0.19.4" - "@codemirror/highlight" "0.19.6" - "@codemirror/history" "0.19.0" - "@codemirror/lang-css" "0.19.3" - "@codemirror/lang-html" "0.19.3" - "@codemirror/lang-javascript" "0.19.2" - "@codemirror/language" "0.19.3" - "@codemirror/matchbrackets" "0.19.3" - "@codemirror/state" "0.19.4" - "@codemirror/view" "0.19.14" - "@codesandbox/sandpack-client" "^0.1.20" + "@codemirror/closebrackets" "^0.19.0" + "@codemirror/commands" "^0.19.5" + "@codemirror/comment" "^0.19.0" + "@codemirror/gutter" "^0.19.5" + "@codemirror/highlight" "^0.19.6" + "@codemirror/history" "^0.19.0" + "@codemirror/lang-css" "^0.19.3" + "@codemirror/lang-html" "^0.19.3" + "@codemirror/lang-javascript" "^0.19.3" + "@codemirror/language" "^0.19.4" + "@codemirror/matchbrackets" "^0.19.3" + "@codemirror/state" "^0.19.5" + "@codemirror/view" "^0.19.16" + "@codesandbox/sandpack-client" "^0.10.0" + "@react-hook/intersection-observer" "^3.1.1" codesandbox-import-util-types "^2.2.3" codesandbox-import-utils "^2.2.3" + react-devtools-inline "4.4.0" + react-is "^17.0.2" "@csstools/convert-colors@^1.4.0": version "1.4.0" @@ -677,9 +675,9 @@ integrity sha512-gfta+H8aziZsm8pZa0vj04KO6biEiisppNgA1kbJvFrrWu9Vm7eaUEy76DIxsuTaWvti5fkJVhllWc6ZTE+Mdw== "@headlessui/react@^1.3.0": - version "1.4.1" - resolved "https://registry.yarnpkg.com/@headlessui/react/-/react-1.4.1.tgz#0a8dbb20e1d63dcea55bfc3ab1b87637aaac7777" - integrity sha512-gL6Ns5xQM57cZBzX6IVv6L7nsam8rDEpRhs5fg28SN64ikfmuuMgunc+Rw5C1cMScnvFM+cz32ueVrlSFEVlSg== + version "1.4.2" + resolved "https://registry.yarnpkg.com/@headlessui/react/-/react-1.4.2.tgz#87e264f190dbebbf8dfdd900530da973dad24576" + integrity sha512-N8tv7kLhg9qGKBkVdtg572BvKvWhmiudmeEpOCyNwzOsZHCXBtl8AazGikIfUS+vBoub20Fse3BjawXDVPPdug== "@humanwhocodes/config-array@^0.5.0": version "0.5.0" @@ -696,9 +694,9 @@ integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== "@lezer/common@^0.15.0", "@lezer/common@^0.15.5": - version "0.15.7" - resolved "https://registry.yarnpkg.com/@lezer/common/-/common-0.15.7.tgz#8b445dae9777f689783132cf490770ece3c03d7b" - integrity sha512-Rw8TDJnBzZnkyzIXs1Tmmd241FrBLJBj8gkdy3y0joGFb8Z4I/joKEsR+gv1pb13o1TMsZxm3fmP+d/wPt2CTQ== + version "0.15.10" + resolved "https://registry.yarnpkg.com/@lezer/common/-/common-0.15.10.tgz#662da668f46244fb20bfaada67b43b3d0463b344" + integrity sha512-vlr+be73zTDoQBIknBVOh/633tmbQcjxUu9PIeVeYESeBK3V6TuBW96RRFg93Y2cyK9lglz241gOgSn452HFvA== "@lezer/css@^0.15.2": version "0.15.2" @@ -714,17 +712,17 @@ dependencies: "@lezer/lr" "^0.15.0" -"@lezer/javascript@^0.15.0": - version "0.15.0" - resolved "https://registry.yarnpkg.com/@lezer/javascript/-/javascript-0.15.0.tgz#0033be1ff814c0d448e992cc3e0285b8b296135e" - integrity sha512-euFjbbyYmxpBls9FyBAKnGLEjaMFqfHvhfueA7M1PitZdieHu8KSblutmcwjpWKIV4eH4uElMZO2cPVe0aFxXA== +"@lezer/javascript@^0.15.1": + version "0.15.2" + resolved "https://registry.yarnpkg.com/@lezer/javascript/-/javascript-0.15.2.tgz#50b70a02561b047947e050e0619b1aea7131dc5f" + integrity sha512-ytWvdJ1NAc0pfrNipGQs8otJVfjVibpIiFKH0fl99rKSA6cVlyQN/XTj/dEAQCfBfCBPAFdc30cuUe5CGZ0odA== dependencies: "@lezer/lr" "^0.15.0" "@lezer/lr@^0.15.0": - version "0.15.4" - resolved "https://registry.yarnpkg.com/@lezer/lr/-/lr-0.15.4.tgz#634670d7224040fddac1370af01211eecd9ac0a0" - integrity sha512-vwgG80sihEGJn6wJp6VijXrnzVai/KPva/OzYKaWvIx0IiXKjoMQ8UAwcgpSBwfS4Fbz3IKOX/cCNXU3r1FvpQ== + version "0.15.5" + resolved "https://registry.yarnpkg.com/@lezer/lr/-/lr-0.15.5.tgz#4bce44169c441d9dda7be398f5202ea65c5f1138" + integrity sha512-DEcLyhdmBxD1foQe7RegLrSlfS/XaTMGLkO5evkzHWAQKh/JnFWp7j7iNB7s2EpxzRrBCh0U+W7JDCeFhv2mng== dependencies: "@lezer/common" "^0.15.0" @@ -777,10 +775,10 @@ resolved "https://registry.yarnpkg.com/@napi-rs/triples/-/triples-1.0.3.tgz#76d6d0c3f4d16013c61e45dfca5ff1e6c31ae53c" integrity sha512-jDJTpta+P4p1NZTFVLHJ/TLFVYVcOqv6l8xwOeBKNPMgY/zDYH/YH7SJbvrr/h1RcS9GzbPcLKGzpuK9cV56UA== -"@next/env@12.0.3-canary.10": - version "12.0.3-canary.10" - resolved "https://registry.yarnpkg.com/@next/env/-/env-12.0.3-canary.10.tgz#921d71794eea626443b04b0d4f83793fa2ebba3e" - integrity sha512-crVTRVYagub5TptTvfT+pSMqsqrJDYpuFe4h63LXvjgfFyDOs/cKlcLmys24OmnkFNCEix6m0ExLO5sAxqmyXw== +"@next/env@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/env/-/env-12.0.7.tgz#316f7bd1b6b69f554d2676cfc91a16bc7e32ee79" + integrity sha512-TNDqBV37wd95SiNdZsSUq8gnnrTwr+aN9wqy4Zxrxw4bC/jCHNsbK94DxjkG99VL30VCRXXDBTA1/Wa2jIpF9Q== "@next/eslint-plugin-next@12.0.3": version "12.0.3" @@ -794,15 +792,15 @@ resolved "https://registry.yarnpkg.com/@next/plugin-google-analytics/-/plugin-google-analytics-10.1.3.tgz#e0696d13031ca1fced420e74ac45103464c1b0cd" integrity sha512-OAiGb5SXkNnR37lU5ApMePgi8xdnL47K9/yvqWYaCvPrKteEJ9FtVzVUCHjwN1o67PmFRrVSgE3uNU7RryeU9g== -"@next/polyfill-module@12.0.3-canary.10": - version "12.0.3-canary.10" - resolved "https://registry.yarnpkg.com/@next/polyfill-module/-/polyfill-module-12.0.3-canary.10.tgz#01eb16506233a00ce679f99dbaf7d8898052e192" - integrity sha512-iFEIfsMelUriGlfAO2HzKuK1IExW/UQUo7/8i72O7PO2tBU6atBHWUxTbuaqtsB8TdO+tvcIpDR+ID3pq+YMiQ== +"@next/polyfill-module@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/polyfill-module/-/polyfill-module-12.0.7.tgz#140e698557113cd3a3c0833f15ca8af1b608f2dc" + integrity sha512-sA8LAMMlmcspIZw/jeQuJTyA3uGrqOhTBaQE+G9u6DPohqrBFRkaz7RzzJeqXkUXw600occsIBknSjyVd1R67A== -"@next/react-dev-overlay@12.0.3-canary.10": - version "12.0.3-canary.10" - resolved "https://registry.yarnpkg.com/@next/react-dev-overlay/-/react-dev-overlay-12.0.3-canary.10.tgz#1836ed6e27a10dd877d3cc483339a264baf51df1" - integrity sha512-x7bLVQRe6HUCGEeMIzIa/psNrwbnYf5W3L8aCeBZynz6zpJaM0QyVAFPXHissQd1Cp5PnR0e9gTxgiMYr/Vg3w== +"@next/react-dev-overlay@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/react-dev-overlay/-/react-dev-overlay-12.0.7.tgz#ae8f9bd14b1786e52330b729ff63061735d21c77" + integrity sha512-dSQLgpZ5uzyittFtIHlJCLAbc0LlMFbRBSYuGsIlrtGyjYN+WMcnz8lK48VLxNPFGuB/hEzkWV4TW5Zu75+Fzg== dependencies: "@babel/code-frame" "7.12.11" anser "1.4.9" @@ -816,65 +814,65 @@ stacktrace-parser "0.1.10" strip-ansi "6.0.1" -"@next/react-refresh-utils@12.0.3-canary.10": - version "12.0.3-canary.10" - resolved "https://registry.yarnpkg.com/@next/react-refresh-utils/-/react-refresh-utils-12.0.3-canary.10.tgz#8ae982ccd1b913af831d9017923ea71c5f393b52" - integrity sha512-X4CMyiL+iX4/lSrUdBYSbF9TvxIgGsbCuoioHHQU9ZEAT3ECML86Em7v2z8qAlMBpUymLxykOHEA0cNtyVjrdw== - -"@next/swc-android-arm64@12.0.3-canary.10": - version "12.0.3-canary.10" - resolved "https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-12.0.3-canary.10.tgz#f0983e1fdef6c5acbc027845a950cb21a9746b04" - integrity sha512-DL52/85Yv6dgwkYJF3bS/aJobfNNWEycFwq0o1EHNAgqY3wyxSKTxgXBhhTIcuwvD5+WXVmZXOyGOGx4aUsdiA== - -"@next/swc-darwin-arm64@12.0.3-canary.10": - version "12.0.3-canary.10" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.0.3-canary.10.tgz#fc8b62794bff98676cb67953ab38402a3d9d8415" - integrity sha512-FHuSFSpKFyaWWDmspFFwiP0ZOkRxQlukeSsz9NWuEDdodwMGkHPv5euONZyMrkgE7IUwx5Y08So3wNAYRcVXBg== - -"@next/swc-darwin-x64@12.0.3-canary.10": - version "12.0.3-canary.10" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-12.0.3-canary.10.tgz#fc014a0bf6ee49d7d9524186662ead3f4a478958" - integrity sha512-56pO8IjeXZNmtZ3bx9LPzgR9ImxEuZUWA7vZj/9/0/bpU9938gP/Pb3E7WtXUt38dmZX8jrd05Xa5XE8xOpMpQ== - -"@next/swc-linux-arm-gnueabihf@12.0.3-canary.10": - version "12.0.3-canary.10" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.0.3-canary.10.tgz#3056c1c37cae5be77b7d150524c6ba96355a7893" - integrity sha512-HgsPwlL4PoAcDxe/7jZyv8/lZABF6YFn55drwNPYnqLJjX7ZwMu5tWYgTLcZT1NQxcjNuJyQODwHho2spErYPw== - -"@next/swc-linux-arm64-gnu@12.0.3-canary.10": - version "12.0.3-canary.10" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.0.3-canary.10.tgz#5d34536a99c50c639c1b1e838ec364c50dda0214" - integrity sha512-LkO2Te+kegkv6qQbxTBj7zQxx1OOBJlPjRi1rEF9Z2YuEZgeNtWp9ptHCD52MYtkk4LoipKqJwsx+NY1XRKbsQ== - -"@next/swc-linux-arm64-musl@12.0.3-canary.10": - version "12.0.3-canary.10" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.0.3-canary.10.tgz#5b1ca3b11439d690950dcb2a736cbf0626fc251d" - integrity sha512-ca1oR1LQjRQTMJCbMtLjY3GfrRP1KDti4mpARONK1bb+8g8MGe1zuRaV8qwsJxIModshTWwIQOLwiplPFLOfdA== - -"@next/swc-linux-x64-gnu@12.0.3-canary.10": - version "12.0.3-canary.10" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.0.3-canary.10.tgz#6404630e54d63b037c1c850287668978d8118a51" - integrity sha512-ahKHtlF6CEkx3/kRIf3qCcdytuLN7zQI9HSM6fVeUo+EB6ILykahJm9heX6Ht5TuIstJJgK58fohuPvixyZLEg== - -"@next/swc-linux-x64-musl@12.0.3-canary.10": - version "12.0.3-canary.10" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.0.3-canary.10.tgz#a1b75f679a2198ab7e63e0978a9a8e20814d02c5" - integrity sha512-6GS66z5EWBywTwLFpOUtIJeqV1NRDIeqBFF1LEz9VdiSIfbVGXt6RLii5oYL3rQNkixl1nJ704EgDubCJ64tVQ== - -"@next/swc-win32-arm64-msvc@12.0.3-canary.10": - version "12.0.3-canary.10" - resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.0.3-canary.10.tgz#9c725bf04aff1c9ed007dd53e113927a07766a53" - integrity sha512-BxoxcC62EW+j0d3QgvyC2TPvEoGSnlQleSstfP8NbtQkIQ2KcZkszGUG9ELrSaFxac0//T68S9E93MlhvNQ+KQ== - -"@next/swc-win32-ia32-msvc@12.0.3-canary.10": - version "12.0.3-canary.10" - resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.0.3-canary.10.tgz#8330c19c0e236e1899438e01c9293ce43b1fd4be" - integrity sha512-Z++8Jv0+xByMS+F0SqFboS0hK5D37/en9Mhzt3Uaj6fWDMYDgm5ciitAcinbAz+ycjZZDTm0xr6Cz4hJjdHfyg== - -"@next/swc-win32-x64-msvc@12.0.3-canary.10": - version "12.0.3-canary.10" - resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.0.3-canary.10.tgz#58347ca146bbb224401f32cd082c591fd6ddb482" - integrity sha512-Td79lmkNLmbAIIATQO+eZYa6ajzj7UTrQy/BbgNEYWt+C2PT2UYCvGLhntc2NzZJt6c6wvvFCNHomf7yWhUb9g== +"@next/react-refresh-utils@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/react-refresh-utils/-/react-refresh-utils-12.0.7.tgz#921c403798e188b4f1d9e609283c0e8d3e532f89" + integrity sha512-Pglj1t+7RxH0txEqVcD8ZxrJgqLDmKvQDqxKq3ZPRWxMv7LTl7FVT2Pnb36QFeBwCvMVl67jxsADKsW0idz8sA== + +"@next/swc-android-arm64@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-12.0.7.tgz#9b0a9e4bc646a045eef725764112096f0a6ea204" + integrity sha512-yViT7EEc7JqxncRT+ZTeTsrAYXLlcefo0Y0eAfYmmalGD2605L4FWAVrJi4WnrSLji7l+veczw1WBmNeHICKKA== + +"@next/swc-darwin-arm64@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.0.7.tgz#2fd506dba91e4a35036b9fc7930a4d6b8895f16a" + integrity sha512-vhAyW2rDEUcQesRVaj0z1hSoz7QhDzzGd0V1/5/5i9YJOfOtyrPsVJ82tlf7BfXl6/Ep+eKNfWVIb5/Jv89EKg== + +"@next/swc-darwin-x64@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-12.0.7.tgz#b3016503caa5ed5cc6a20051517d5b2a79cfdc58" + integrity sha512-km+6Rx6TvbraoQ1f0MXa69ol/x0RxzucFGa2OgZaYJERas0spy0iwW8hpASsGcf597D8VRW1x+R2C7ZdjVBSTw== + +"@next/swc-linux-arm-gnueabihf@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.0.7.tgz#8e91ecddc2d6d26946949a67d481110db3063d09" + integrity sha512-d0zWr877YqZ2cf/DQy6obouaR39r0FPebcXj2nws9AC99m68CO2xVpWv9jT7mFvpY+T40HJisLH80jSZ2iQ9sA== + +"@next/swc-linux-arm64-gnu@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.0.7.tgz#1eefcf7b063610315b74e5c7dc24c3437370e49d" + integrity sha512-fdobh5u6gG13Gd5LkHhJ+W8tF9hbaFolRW99FhzArMe5/nMKlLdBymOxvitE3K4gSFQxbXJA6TbU0Vv0e59Kww== + +"@next/swc-linux-arm64-musl@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.0.7.tgz#e9e764519dfb75e43355c442181346cd6e72459b" + integrity sha512-vx0c5Q3oIScFNT/4jI9rCe0yPzKuCqWOkiO/OOV0ixSI2gLhbrwDIcdkm79fKVn3i8JOJunxE4zDoFeR/g8xqQ== + +"@next/swc-linux-x64-gnu@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.0.7.tgz#fef02e14ed8f9c114479dabba1475ae2d3bb040d" + integrity sha512-9ITyp6s6uGVKNx3C/GP7GrYycbcwTADG7TdIXzXUxOOZORrdB1GNg3w/EL3Am4VMPPEpO6v1RfKo2IKZpVKfTA== + +"@next/swc-linux-x64-musl@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.0.7.tgz#07dc334b1924d9f5a8c4a891b91562af19ff5de4" + integrity sha512-C+k+cygbIZXYfc+Hx2fNPUBEg7jzio+mniP5ywZevuTXW14zodIfQ3ZMoMJR8EpOVvYpjWFk2uAjiwqgx8vo/g== + +"@next/swc-win32-arm64-msvc@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.0.7.tgz#6c559d87ce142693173039a18b1c1d65519762dd" + integrity sha512-7jTRjOKkDVnb5s7VoHT7eX+eyT/5BQJ/ljP2G56riAgKGqPL63/V7FXemLhhLT67D+OjoP8DRA2E2ne6IPHk4w== + +"@next/swc-win32-ia32-msvc@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.0.7.tgz#16b23f2301b16877b3623f0e8364e8177e2ef7db" + integrity sha512-2u5pGDsk7H6gGxob2ATIojzlwKzgYsrijo7RRpXOiPePVqwPWg6/pmhaJzLdpfjaBgRg1NFmwSp/7Ump9X8Ijg== + +"@next/swc-win32-x64-msvc@12.0.7": + version "12.0.7" + resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.0.7.tgz#8d75d3b6a872ab97ab73e3b4173d56dbb2991917" + integrity sha512-frEWtbf+q8Oz4e2UqKJrNssk6DZ6/NLCQXn5/ORWE9dPAfe9XS6aK5FRZ6DuEPmmKd5gOoRkKJFFz5nYd+TeyQ== "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -902,6 +900,19 @@ resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.21.tgz#5de5a2385a35309427f6011992b544514d559aa1" integrity sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g== +"@react-hook/intersection-observer@^3.1.1": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@react-hook/intersection-observer/-/intersection-observer-3.1.1.tgz#6b8fdb80d133c9c28bc8318368ecb3a1f8befc50" + integrity sha512-OTDx8/wFaRvzFtKl1dEUEXSOqK2zVJHporiTTdC2xO++0e9FEx9wIrPis5q3lqtXeZH9zYGLbk+aB75qNFbbuw== + dependencies: + "@react-hook/passive-layout-effect" "^1.2.0" + intersection-observer "^0.10.0" + +"@react-hook/passive-layout-effect@^1.2.0": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@react-hook/passive-layout-effect/-/passive-layout-effect-1.2.1.tgz#c06dac2d011f36d61259aa1c6df4f0d5e28bc55e" + integrity sha512-IwEphTD75liO8g+6taS+4oqz+nnroocNfWVHWz7j+N+ZO2vYrc6PV1q7GQhuahL0IOR7JccFTsFKQ/mb6iZWAg== + "@rushstack/eslint-patch@^1.0.6": version "1.1.0" resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.1.0.tgz#7f698254aadf921e48dda8c0a6b304026b8a9323" @@ -961,14 +972,14 @@ "@types/react" "*" "@types/node@*": - version "16.11.6" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.6.tgz#6bef7a2a0ad684cf6e90fcfe31cecabd9ce0a3ae" - integrity sha512-ua7PgUoeQFjmWPcoo9khiPum3Pd60k4/2ZGXt18sm2Slk0W0xZTqt5Y0Ny1NyBiN1EVQ/+FaF9NcY4Qe6rwk5w== + version "16.11.12" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.12.tgz#ac7fb693ac587ee182c3780c26eb65546a1a3c10" + integrity sha512-+2Iggwg7PxoO5Kyhvsq9VarmPbIelXP070HMImEpbtGCoyWNINQj4wzjbQCXzdHTRXnqufutJb5KAURZANNBAw== "@types/node@^14.6.4": - version "14.17.32" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.32.tgz#2ca61c9ef8c77f6fa1733be9e623ceb0d372ad96" - integrity sha512-JcII3D5/OapPGx+eJ+Ik1SQGyt6WvuqdRfh9jUwL6/iHGjmyOriBDciBUu7lEIBTL2ijxwrR70WUnw5AEDmFvQ== + version "14.18.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.0.tgz#98df2397f6936bfbff4f089e40e06fa5dd88d32a" + integrity sha512-0GeIl2kmVMXEnx8tg1SlG6Gg8vkqirrW752KqolYo1PHevhhZN3bhJ67qHj+bQaINhX0Ra3TlWwRvMCd9iEfNQ== "@types/parse-json@^4.0.0": version "4.0.0" @@ -998,18 +1009,18 @@ "@types/react" "^16" "@types/react@*": - version "17.0.34" - resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.34.tgz#797b66d359b692e3f19991b6b07e4b0c706c0102" - integrity sha512-46FEGrMjc2+8XhHXILr+3+/sTe3OfzSPU9YGKILLrUYbQ1CLQC9Daqo1KzENGXAWwrFwiY0l4ZbF20gRvgpWTg== + version "17.0.37" + resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.37.tgz#6884d0aa402605935c397ae689deed115caad959" + integrity sha512-2FS1oTqBGcH/s0E+CjrCCR9+JMpsu9b69RTFO+40ua43ZqP5MmQ4iUde/dMjWR909KxZwmOQIFq6AV6NjEG5xg== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" csstype "^3.0.2" "@types/react@^16", "@types/react@^16.9.46": - version "16.14.20" - resolved "https://registry.yarnpkg.com/@types/react/-/react-16.14.20.tgz#ff6e932ad71d92c27590e4a8667c7a53a7d0baad" - integrity sha512-SV7TaVc8e9E/5Xuv6TIyJ5VhQpZoVFJqX6IZgj5HZoFCtIDCArE3qXkcHlc6O/Ud4UwcMoX+tlvDA95YrKdLgA== + version "16.14.21" + resolved "https://registry.yarnpkg.com/@types/react/-/react-16.14.21.tgz#35199b21a278355ec7a3c40003bd6a334bd4ae4a" + integrity sha512-rY4DzPKK/4aohyWiDRHS2fotN5rhBSK6/rz1X37KzNna9HJyqtaGAbq9fVttrEPWF5ywpfIP1ITL8Xi2QZn6Eg== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" @@ -1141,7 +1152,7 @@ acorn-walk@^8.0.0: resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== -acorn@8.5.0, acorn@^8.0.4: +acorn@8.5.0: version "8.5.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.5.0.tgz#4512ccb99b3698c752591e9bb4472e38ad43cee2" integrity sha512-yXbYeFy+jUuYd3/CDcg2NkIYE991XYX/bje7LmjJigUciaeO1JR4XxXgCIV1/Zc/dRuFEyw1L0pbA+qynJkW5Q== @@ -1151,6 +1162,11 @@ acorn@^7.0.0, acorn@^7.4.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== +acorn@^8.0.4: + version "8.6.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.6.0.tgz#e3692ba0eb1a0c83eaa4f37f5fa7368dd7142895" + integrity sha512-U1riIR+lBSNi3IbxtaHOIKdH8sLFv3NYfNv8sg7ZsNhcfl4HF2++BfqqrNAxoCLQW1iiylOj76ecnaUxz+z9yw== + ajv@^6.10.0, ajv@^6.12.4: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" @@ -1162,9 +1178,9 @@ ajv@^6.10.0, ajv@^6.12.4: uri-js "^4.2.2" ajv@^8.0.1: - version "8.7.1" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.7.1.tgz#52be6f1736b076074798124293618f132ad07a7e" - integrity sha512-gPpOObTO1QjbnN1sVMjJcp1TF9nggMfO4MBR5uQl6ZVTOaEPq5i4oq/6R9q2alMMPB3eg53wFv1RuJBLuxf3Hw== + version "8.8.2" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.8.2.tgz#01b4fef2007a28bf75f0b7fc009f62679de4abbb" + integrity sha512-x9VuX+R/jcFj1DHo/fCp99esgGDWiHENrKxaCENuCxpoMCmAt/COCGVDwA7kleEpEzJjDnvh3yGoOuLu0Dtllw== dependencies: fast-deep-equal "^3.1.1" json-schema-traverse "^1.0.0" @@ -1248,7 +1264,7 @@ aria-query@^4.2.2: "@babel/runtime" "^7.10.2" "@babel/runtime-corejs3" "^7.10.2" -array-includes@^3.1.1, array-includes@^3.1.3, array-includes@^3.1.4: +array-includes@^3.1.3, array-includes@^3.1.4: version "3.1.4" resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.4.tgz#f5b493162c760f3539631f005ba2bb46acb45ba9" integrity sha512-ZTNSQkmWumEbiHO2GF4GmWxYVTiQyJy2XOTa15sdQSrvKn7l+180egQMqlrMOUMCyLMD7pmyQe4mMDUT6Behrw== @@ -1278,7 +1294,7 @@ array.prototype.flat@^1.2.5: define-properties "^1.1.3" es-abstract "^1.19.0" -array.prototype.flatmap@^1.2.4, array.prototype.flatmap@^1.2.5: +array.prototype.flatmap@^1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.2.5.tgz#908dc82d8a406930fdf38598d51e7411d18d4446" integrity sha512-08u6rVyi1Lj7oqWbS9nUxliETrtIROT4XGTA4D/LWGten6E3ocm7cy9SIrmNHOL5XVbVuckUp3X6Xyg8/zpvHA== @@ -1357,7 +1373,7 @@ available-typed-arrays@^1.0.5: resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== -axe-core@^4.0.2, axe-core@^4.3.5: +axe-core@^4.3.5: version "4.3.5" resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.3.5.tgz#78d6911ba317a8262bfee292aeafcc1e04b49cc5" integrity sha512-WKTW1+xAzhMS5dJsxWkliixlO/PqC4VhmO9T4juNYcaTg9jzWiJsou6m5pxWYGfigWbwzJWeFY6z47a+4neRXA== @@ -1537,12 +1553,12 @@ browserslist@4.16.6: node-releases "^1.1.71" browserslist@^4.12.0, browserslist@^4.17.5, browserslist@^4.6.4: - version "4.17.6" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.17.6.tgz#c76be33e7786b497f66cad25a73756c8b938985d" - integrity sha512-uPgz3vyRTlEiCv4ee9KlsKgo2V6qPk7Jsn0KAn2OBqbqKo3iNcPEC1Ti6J4dwnz+aIRfEEEuOzC9IBk8tXUomw== + version "4.18.1" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.18.1.tgz#60d3920f25b6860eb917c6c7b185576f4d8b017f" + integrity sha512-8ScCzdpPwR2wQh8IT82CA2VgDwjHyqMovPBZSNH54+tm4Jk2pCuv90gmAdH6J84OCRWi0b4gMe6O6XPXuJnjgQ== dependencies: - caniuse-lite "^1.0.30001274" - electron-to-chromium "^1.3.886" + caniuse-lite "^1.0.30001280" + electron-to-chromium "^1.3.896" escalade "^3.1.1" node-releases "^2.0.1" picocolors "^1.0.0" @@ -1565,11 +1581,16 @@ builtin-status-codes@^3.0.0: resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" integrity sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug= -bytes@3.1.0, bytes@^3.0.0: +bytes@3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6" integrity sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg== +bytes@^3.0.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.1.tgz#3f018291cb4cbad9accb6e6970bca9c8889e879a" + integrity sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg== + call-bind@^1.0.0, call-bind@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" @@ -1588,10 +1609,10 @@ camelcase-css@2.0.1, camelcase-css@^2.0.1: resolved "https://registry.yarnpkg.com/camelcase-css/-/camelcase-css-2.0.1.tgz#ee978f6947914cc30c6b44741b6ed1df7f043fd5" integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA== -caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001202, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001228, caniuse-lite@^1.0.30001272, caniuse-lite@^1.0.30001274: - version "1.0.30001278" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001278.tgz#51cafc858df77d966b17f59b5839250b24417fff" - integrity sha512-mpF9KeH8u5cMoEmIic/cr7PNS+F5LWBk0t2ekGT60lFf0Wq+n9LspAj0g3P+o7DQhD3sUdlMln4YFAWhFYn9jg== +caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001202, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001228, caniuse-lite@^1.0.30001272, caniuse-lite@^1.0.30001280: + version "1.0.30001286" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001286.tgz#3e9debad420419618cfdf52dc9b6572b28a8fff6" + integrity sha512-zaEMRH6xg8ESMi2eQ3R4eZ5qw/hJiVsO/HlLwniIwErij0JDr9P+8V4dtx1l+kLq6j3yy8l8W4fst1lBnat5wQ== ccount@^1.0.0: version "1.1.0" @@ -1679,9 +1700,9 @@ ci-info@^2.0.0: integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== ci-info@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.2.0.tgz#2876cb948a498797b5236f0095bc057d0dca38b6" - integrity sha512-dVqRX7fLUm8J6FgHJ418XuIgDLZDkYcDFTeL6TA2gt5WlIZUQrrH6EZrNClwT/H0FateUsZkGIOPRrLbP+PR9A== + version "3.3.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.3.0.tgz#b4ed1fb6818dea4803a55c623041f9165d2066b2" + integrity sha512-riT/3vI5YpVH6/qomlDnJow6TBee2PBKSEpx3O32EGPYbWGIRsIlGRms3Sm74wYE1JMo8RnO04Hb12+v1J5ICw== cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" @@ -1758,21 +1779,21 @@ color-name@^1.0.0, color-name@~1.1.4: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -color-string@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.6.0.tgz#c3915f61fe267672cb7e1e064c9d692219f6c312" - integrity sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA== +color-string@^1.9.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.9.0.tgz#63b6ebd1bec11999d1df3a79a7569451ac2be8aa" + integrity sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ== dependencies: color-name "^1.0.0" simple-swizzle "^0.2.2" color@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/color/-/color-4.0.1.tgz#21df44cd10245a91b1ccf5ba031609b0e10e7d67" - integrity sha512-rpZjOKN5O7naJxkH2Rx1sZzzBgaiWECc6BYXjeCE6kF0kcASJYbUq02u7JqIHwCb/j3NhV+QhRL2683aICeGZA== + version "4.1.0" + resolved "https://registry.yarnpkg.com/color/-/color-4.1.0.tgz#9502e6a2dcacb26adf4c60910a27628d010b3de3" + integrity sha512-o2rkkxyLGgYoeUy1OodXpbPAQNmlNBrirQ8ODO8QutzDiDMNdezSOZLNnusQ6pUpCQJUsaJIo9DZJKqa2HgH7A== dependencies: color-convert "^2.0.1" - color-string "^1.6.0" + color-string "^1.9.0" colorette@^1.2.2: version "1.4.0" @@ -1784,16 +1805,16 @@ comma-separated-tokens@^1.0.0: resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz#632b80b6117867a158f1080ad498b2fbe7e3f5ea" integrity sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw== -commander@^6.0.0: - version "6.2.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c" - integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA== - commander@^7.2.0: version "7.2.0" resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== +commander@^8.0.0: + version "8.3.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" + integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== + commondir@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" @@ -1834,9 +1855,9 @@ convert-source-map@^1.7.0: safe-buffer "~5.1.1" core-js-pure@^3.19.0: - version "3.19.1" - resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.19.1.tgz#edffc1fc7634000a55ba05e95b3f0fe9587a5aa4" - integrity sha512-Q0Knr8Es84vtv62ei6/6jXH/7izKmOrtrxH9WJTHLCMAVeU+8TF8z8Nr08CsH4Ot0oJKzBzJJL9SJBYIv7WlfQ== + version "3.19.3" + resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.19.3.tgz#c69b2b36b58927317824994b532ec3f0f7e49607" + integrity sha512-N3JruInmCyt7EJj5mAq3csCgGYgiSqu7p7TQp2KOztr180/OAIxyIvL1FCjzgmQk/t3Yniua50Fsak7FShI9lA== cosmiconfig@^7.0.1: version "7.0.1" @@ -1989,11 +2010,19 @@ cssnano-simple@3.0.0: cssnano-preset-simple "^3.0.0" csstype@^3.0.2: - version "3.0.9" - resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.9.tgz#6410af31b26bd0520933d02cbc64fce9ce3fbf0b" - integrity sha512-rpw6JPxK6Rfg1zLOYCSwle2GFOOsnjmDYDaBwEcwoOg4qlsIVCN789VkBZDJAGi4T07gI4YSutR43t9Zz4Lzuw== + version "3.0.10" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.10.tgz#2ad3a7bed70f35b965707c092e5f30b327c290e5" + integrity sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA== -damerau-levenshtein@^1.0.6, damerau-levenshtein@^1.0.7: +d@1, d@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" + integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== + dependencies: + es5-ext "^0.10.50" + type "^1.0.1" + +damerau-levenshtein@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.7.tgz#64368003512a1a6992593741a09a9d31a836f55d" integrity sha512-VvdQIPGdWP0SqFXghj79Wf/5LArmreyMsGLa6FG6iC4t3j7j5s71TrwWmT/4akbDQIqjfACkLZmjXhA7g2oUZw== @@ -2004,9 +2033,9 @@ data-uri-to-buffer@3.0.1: integrity sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og== date-fns@^2.16.1: - version "2.25.0" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.25.0.tgz#8c5c8f1d958be3809a9a03f4b742eba894fc5680" - integrity sha512-ovYRFnTrbGPD4nqaEqescPEv1mNwvt+UTqI3Ay9SzNtey9NZnYu6E2qCcBBgJ6/2VF1zGGygpyTDITqpQQ5e+w== + version "2.27.0" + resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.27.0.tgz#e1ff3c3ddbbab8a2eaadbb6106be2929a5a2d92b" + integrity sha512-sj+J0Mo2p2X1e306MHq282WS4/A8Pz/95GIFcsPNMPMZVI3EUrAdSv90al1k+p74WGLCruMXk23bfEDZa71X9Q== debounce@^1.2.1: version "1.2.1" @@ -2028,9 +2057,9 @@ debug@^3.2.7: ms "^2.1.1" debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: - version "4.3.2" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b" - integrity sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw== + version "4.3.3" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664" + integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q== dependencies: ms "2.1.2" @@ -2143,10 +2172,10 @@ editions@^2.2.0: errlop "^2.0.0" semver "^6.3.0" -electron-to-chromium@^1.3.723, electron-to-chromium@^1.3.886: - version "1.3.889" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.889.tgz#0b7c6f7628559592d5406deda281788f37107790" - integrity sha512-suEUoPTD1mExjL9TdmH7cvEiWJVM2oEiAi+Y1p0QKxI2HcRlT44qDTP2c1aZmVwRemIPYOpxmV7CxQCOWcm4XQ== +electron-to-chromium@^1.3.723, electron-to-chromium@^1.3.896: + version "1.4.15" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.15.tgz#4bd144d9d13f8b375c65e1a593e7f4a90bd01b90" + integrity sha512-WDw2IUL3k4QpbzInV3JZK+Zd1NjWJPDZ28oUSchWb/kf6AVj7/niaAlgcJlvojFa1d7pJSyQ/KSZsEtq5W7aGQ== elliptic@^6.5.3: version "6.5.4" @@ -2166,7 +2195,7 @@ emoji-regex@^8.0.0: resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== -emoji-regex@^9.0.0, emoji-regex@^9.2.2: +emoji-regex@^9.2.2: version "9.2.2" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== @@ -2242,11 +2271,37 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" +es5-ext@^0.10.35, es5-ext@^0.10.50: + version "0.10.53" + resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.53.tgz#93c5a3acfdbef275220ad72644ad02ee18368de1" + integrity sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q== + dependencies: + es6-iterator "~2.0.3" + es6-symbol "~3.1.3" + next-tick "~1.0.0" + +es6-iterator@~2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" + integrity sha1-p96IkUGgWpSwhUQDstCg+/qY87c= + dependencies: + d "1" + es5-ext "^0.10.35" + es6-symbol "^3.1.1" + es6-object-assign@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/es6-object-assign/-/es6-object-assign-1.1.0.tgz#c2c3582656247c39ea107cb1e6652b6f9f24523c" integrity sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw= +es6-symbol@^3, es6-symbol@^3.1.1, es6-symbol@~3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" + integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== + dependencies: + d "^1.0.1" + ext "^1.1.2" + escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" @@ -2303,7 +2358,7 @@ eslint-import-resolver-typescript@^2.4.0: resolve "^1.20.0" tsconfig-paths "^3.9.0" -eslint-module-utils@^2.7.0, eslint-module-utils@^2.7.1: +eslint-module-utils@^2.7.1: version "2.7.1" resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.1.tgz#b435001c9f8dd4ab7f6d0efcae4b9696d4c24b7c" integrity sha512-fjoetBXQZq2tSTWZ9yWVl2KuFrTZZH3V+9iD1V1RfpDgxzJR+mPd/KZmMiA8gbPqdBzpNiEHOuT7IYEWxrH0zQ== @@ -2319,26 +2374,7 @@ eslint-plugin-flowtype@4.x: dependencies: lodash "^4.17.15" -eslint-plugin-import@2.x: - version "2.25.2" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.25.2.tgz#b3b9160efddb702fc1636659e71ba1d10adbe9e9" - integrity sha512-qCwQr9TYfoBHOFcVGKY9C9unq05uOxxdklmBXLVvcwo68y5Hta6/GzCZEMx2zQiu0woKNEER0LE7ZgaOfBU14g== - dependencies: - array-includes "^3.1.4" - array.prototype.flat "^1.2.5" - debug "^2.6.9" - doctrine "^2.1.0" - eslint-import-resolver-node "^0.3.6" - eslint-module-utils "^2.7.0" - has "^1.0.3" - is-core-module "^2.7.0" - is-glob "^4.0.3" - minimatch "^3.0.4" - object.values "^1.1.5" - resolve "^1.20.0" - tsconfig-paths "^3.11.0" - -eslint-plugin-import@^2.22.1: +eslint-plugin-import@2.x, eslint-plugin-import@^2.22.1: version "2.25.3" resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.25.3.tgz#a554b5f66e08fb4f6dc99221866e57cfff824766" integrity sha512-RzAVbby+72IB3iOEL8clzPLzL3wpDrlwjsTBAQXgyp5SeTqqY+0bFubwuo+y/HLhNZcXV4XqTBO4LGsfyHIDXg== @@ -2357,24 +2393,7 @@ eslint-plugin-import@^2.22.1: resolve "^1.20.0" tsconfig-paths "^3.11.0" -eslint-plugin-jsx-a11y@6.x: - version "6.4.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.4.1.tgz#a2d84caa49756942f42f1ffab9002436391718fd" - integrity sha512-0rGPJBbwHoGNPU73/QCLP/vveMlM1b1Z9PponxO87jfr6tuH5ligXbDT6nHSSzBC8ovX2Z+BQu7Bk5D/Xgq9zg== - dependencies: - "@babel/runtime" "^7.11.2" - aria-query "^4.2.2" - array-includes "^3.1.1" - ast-types-flow "^0.0.7" - axe-core "^4.0.2" - axobject-query "^2.2.0" - damerau-levenshtein "^1.0.6" - emoji-regex "^9.0.0" - has "^1.0.3" - jsx-ast-utils "^3.1.0" - language-tags "^1.0.5" - -eslint-plugin-jsx-a11y@^6.4.1: +eslint-plugin-jsx-a11y@6.x, eslint-plugin-jsx-a11y@^6.4.1: version "6.5.1" resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.5.1.tgz#cdbf2df901040ca140b6ec14715c988889c2a6d8" integrity sha512-sVCFKX9fllURnXT2JwLN5Qgo24Ug5NF6dxhkmxsMEUZhXRcGg+X3e1JbJ84YePQKBl5E0ZjAH5Q4rkdcGY99+g== @@ -2402,30 +2421,10 @@ eslint-plugin-react-hooks@^4.2.0: resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.3.0.tgz#318dbf312e06fab1c835a4abef00121751ac1172" integrity sha512-XslZy0LnMn+84NEG9jSGR6eGqaZB3133L8xewQo3fQagbQuGt7a63gf+P1NGKZavEYEC3UXaWEAA/AqDkuN6xA== -eslint-plugin-react@7.x: - version "7.26.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.26.1.tgz#41bcfe3e39e6a5ac040971c1af94437c80daa40e" - integrity sha512-Lug0+NOFXeOE+ORZ5pbsh6mSKjBKXDXItUD2sQoT+5Yl0eoT82DqnXeTMfUare4QVCn9QwXbfzO/dBLjLXwVjQ== - dependencies: - array-includes "^3.1.3" - array.prototype.flatmap "^1.2.4" - doctrine "^2.1.0" - estraverse "^5.2.0" - jsx-ast-utils "^2.4.1 || ^3.0.0" - minimatch "^3.0.4" - object.entries "^1.1.4" - object.fromentries "^2.0.4" - object.hasown "^1.0.0" - object.values "^1.1.4" - prop-types "^15.7.2" - resolve "^2.0.0-next.3" - semver "^6.3.0" - string.prototype.matchall "^4.0.5" - -eslint-plugin-react@^7.23.1: - version "7.27.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.27.0.tgz#f952c76517a3915b81c7788b220b2b4c96703124" - integrity sha512-0Ut+CkzpppgFtoIhdzi2LpdpxxBvgFf99eFqWxJnUrO7mMe0eOiNpou6rvNYeVVV6lWZvTah0BFne7k5xHjARg== +eslint-plugin-react@7.x, eslint-plugin-react@^7.23.1: + version "7.27.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.27.1.tgz#469202442506616f77a854d91babaae1ec174b45" + integrity sha512-meyunDjMMYeWr/4EBLTV1op3iSG3mjT/pz5gti38UzfM4OPpNc2m0t2xvKCOMU5D6FSdd34BIMFOvQbW+i8GAA== dependencies: array-includes "^3.1.4" array.prototype.flatmap "^1.2.5" @@ -2574,6 +2573,13 @@ evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: md5.js "^1.3.4" safe-buffer "^5.1.1" +ext@^1.1.2: + version "1.6.0" + resolved "https://registry.yarnpkg.com/ext/-/ext-1.6.0.tgz#3871d50641e874cc172e2b53f919842d19db4c52" + integrity sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg== + dependencies: + type "^2.5.0" + extend-shallow@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" @@ -2688,9 +2694,9 @@ foreach@^2.0.5: integrity sha1-C+4AUBiusmDQo6865ljdATbsG5k= fraction.js@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.1.1.tgz#ac4e520473dae67012d618aab91eda09bcb400ff" - integrity sha512-MHOhvvxHTfRFpF1geTK9czMIZ6xclsEor2wkIGYYq+PxcQqT7vStJqjhe6S1TenZrMZzo+wlqOufBDVepUEgPg== + version "4.1.2" + resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.1.2.tgz#13e420a92422b6cf244dff8690ed89401029fbe8" + integrity sha512-o2RiJQ6DZaR/5+Si0qJUIy637QMRudSi9kU/FFzx9EZazrIdnBgpU+3sEWCxAVhH2RtxW2Oz+T4p2o8uOPVcgA== fs-extra@^10.0.0: version "10.0.0" @@ -2805,7 +2811,7 @@ glob@7.1.7: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.0, glob@^7.1.3, glob@^7.1.6, glob@^7.1.7: +glob@^7.1.3, glob@^7.1.6, glob@^7.1.7: version "7.2.0" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== @@ -3175,6 +3181,11 @@ internal-slot@^1.0.3: has "^1.0.3" side-channel "^1.0.4" +intersection-observer@^0.10.0: + version "0.10.0" + resolved "https://registry.yarnpkg.com/intersection-observer/-/intersection-observer-0.10.0.tgz#4d11d63c1ff67e21e62987be24d55218da1a1a69" + integrity sha512-fn4bQ0Xq8FTej09YC/jqKZwtijpvARlRp6wxL5WTA6yPe2YWSJ5RJh7Nm79rK2qB0wr6iDQzH60XGq5V/7u8YQ== + is-absolute-url@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/is-absolute-url/-/is-absolute-url-3.0.3.tgz#96c6a22b6a23929b11ea0afb1836c36ad4a5d698" @@ -3274,7 +3285,7 @@ is-color-stop@^1.1.0: rgb-regex "^1.0.1" rgba-regex "^1.0.0" -is-core-module@^2.2.0, is-core-module@^2.7.0, is-core-module@^2.8.0: +is-core-module@^2.2.0, is-core-module@^2.8.0: version "2.8.0" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.8.0.tgz#0321336c3d0925e497fd97f5d95cb114a5ccd548" integrity sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw== @@ -3539,7 +3550,7 @@ jsonfile@^6.0.1: optionalDependencies: graceful-fs "^4.1.6" -"jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.1.0, jsx-ast-utils@^3.2.1: +"jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.2.1.tgz#720b97bfe7d901b927d87c3773637ae8ea48781b" integrity sha512-uP5vu8xfy2F9A6LGC22KO7e2/vGTS1MhP+18f++ZNlf0Ohaxbc9nIEwHAsejlJKyzfZzU5UIhe5ItYkitcZnZA== @@ -3580,14 +3591,14 @@ levn@^0.4.1: type-check "~0.4.0" lilconfig@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.0.3.tgz#68f3005e921dafbd2a2afb48379986aa6d2579fd" - integrity sha512-EHKqr/+ZvdKCifpNrJCKxBTgk5XupZA3y/aCPY9mxfgBzmgh93Mt/WqjjQ38oMxXuvDokaKiM3lAgvSH2sjtHg== + version "2.0.4" + resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.0.4.tgz#f4507d043d7058b380b6a8f5cb7bcd4b34cee082" + integrity sha512-bfTIN7lEsiooCocSISTWXkiWJkRqtL9wYtYy+8EK3Y41qh3mpwPU0ycTOgjdY9ErwXCc8QyrQp82bdL0Xkm9yA== lines-and-columns@^1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" - integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= + version "1.2.4" + resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== load-json-file@^4.0.0: version "4.0.0" @@ -3833,11 +3844,6 @@ mime-types@2.1.13: dependencies: mime-db "~1.25.0" -mime@^2.3.1: - version "2.6.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-2.6.0.tgz#a2a682a95cd4d0cb1d6257e28f83da7e35800367" - integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg== - minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" @@ -3865,6 +3871,11 @@ modern-normalize@^1.1.0: resolved "https://registry.yarnpkg.com/modern-normalize/-/modern-normalize-1.1.0.tgz#da8e80140d9221426bd4f725c6e11283d34f90b7" integrity sha512-2lMlY1Yc1+CUy0gw4H95uNN7vjbpoED7NNRSBHE25nWfLBdmMzFCsPshlzbxHz+gYMcBEUN8V4pU16prcdPSgA== +mrmime@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/mrmime/-/mrmime-1.0.0.tgz#14d387f0585a5233d291baba339b063752a2398b" + integrity sha512-a70zx7zFfVO7XpnQ2IX1Myh9yY4UYvfld/dikWRnsXxbyvMcfz+u6UfgNAtH+k2QqtJuzVpv6eLTx1G2+WKZbQ== + ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -3890,18 +3901,23 @@ natural-compare@^1.4.0: resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= +next-tick@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c" + integrity sha1-yobR/ogoFpsBICCOPchCS524NCw= + next@^12.0.3-canary.2: - version "12.0.3-canary.10" - resolved "https://registry.yarnpkg.com/next/-/next-12.0.3-canary.10.tgz#de7fa898efeaa186dc1a462f02eeb2dfb74a4937" - integrity sha512-VW2t/eQog2clY8wvQLk727b6Ebf9Y/tBxoQ7yD8ebqnnJ1v2Wp+pvzT602dIsJ1cSmM0tUV7s98ZeySiFuUDqA== + version "12.0.7" + resolved "https://registry.yarnpkg.com/next/-/next-12.0.7.tgz#33ebf229b81b06e583ab5ae7613cffe1ca2103fc" + integrity sha512-sKO8GJJYfuk9c+q+zHSNumvff+wP7ufmOlwT6BuzwiYfFJ61VTTkfTcDLSJ+95ErQJiC54uS4Yg5JEE8H6jXRA== dependencies: "@babel/runtime" "7.15.4" "@hapi/accept" "5.0.2" "@napi-rs/triples" "1.0.3" - "@next/env" "12.0.3-canary.10" - "@next/polyfill-module" "12.0.3-canary.10" - "@next/react-dev-overlay" "12.0.3-canary.10" - "@next/react-refresh-utils" "12.0.3-canary.10" + "@next/env" "12.0.7" + "@next/polyfill-module" "12.0.7" + "@next/react-dev-overlay" "12.0.7" + "@next/react-refresh-utils" "12.0.7" acorn "8.5.0" assert "2.0.0" browserify-zlib "0.2.0" @@ -3943,19 +3959,19 @@ next@^12.0.3-canary.2: use-subscription "1.5.1" util "0.12.4" vm-browserify "1.1.2" - watchpack "2.1.1" + watchpack "2.3.0" optionalDependencies: - "@next/swc-android-arm64" "12.0.3-canary.10" - "@next/swc-darwin-arm64" "12.0.3-canary.10" - "@next/swc-darwin-x64" "12.0.3-canary.10" - "@next/swc-linux-arm-gnueabihf" "12.0.3-canary.10" - "@next/swc-linux-arm64-gnu" "12.0.3-canary.10" - "@next/swc-linux-arm64-musl" "12.0.3-canary.10" - "@next/swc-linux-x64-gnu" "12.0.3-canary.10" - "@next/swc-linux-x64-musl" "12.0.3-canary.10" - "@next/swc-win32-arm64-msvc" "12.0.3-canary.10" - "@next/swc-win32-ia32-msvc" "12.0.3-canary.10" - "@next/swc-win32-x64-msvc" "12.0.3-canary.10" + "@next/swc-android-arm64" "12.0.7" + "@next/swc-darwin-arm64" "12.0.7" + "@next/swc-darwin-x64" "12.0.7" + "@next/swc-linux-arm-gnueabihf" "12.0.7" + "@next/swc-linux-arm64-gnu" "12.0.7" + "@next/swc-linux-arm64-musl" "12.0.7" + "@next/swc-linux-x64-gnu" "12.0.7" + "@next/swc-linux-x64-musl" "12.0.7" + "@next/swc-win32-arm64-msvc" "12.0.7" + "@next/swc-win32-ia32-msvc" "12.0.7" + "@next/swc-win32-x64-msvc" "12.0.7" nice-try@^1.0.4: version "1.0.5" @@ -4047,9 +4063,9 @@ object-hash@^2.2.0: integrity sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw== object-inspect@^1.11.0, object-inspect@^1.9.0: - version "1.11.0" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.11.0.tgz#9dceb146cedd4148a0d9e51ab88d34cf509922b1" - integrity sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg== + version "1.11.1" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.11.1.tgz#d4bd7d7de54b9a75599f59a00bd698c1f1c6549b" + integrity sha512-If7BjFlpkzzBeV1cqgT3OSWT3azyoxDGajR+iGnFBfVV2EWyDyWaZZW2ERDjUaY2QM8i5jI3Sj7mhsM4DDAqWA== object-is@^1.0.1: version "1.1.5" @@ -4074,7 +4090,7 @@ object.assign@^4.1.2: has-symbols "^1.0.1" object-keys "^1.1.1" -object.entries@^1.1.4, object.entries@^1.1.5: +object.entries@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.5.tgz#e1acdd17c4de2cd96d5a08487cfb9db84d881861" integrity sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g== @@ -4083,7 +4099,7 @@ object.entries@^1.1.4, object.entries@^1.1.5: define-properties "^1.1.3" es-abstract "^1.19.1" -object.fromentries@^2.0.4, object.fromentries@^2.0.5: +object.fromentries@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.5.tgz#7b37b205109c21e741e605727fe8b0ad5fa08251" integrity sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw== @@ -4092,7 +4108,7 @@ object.fromentries@^2.0.4, object.fromentries@^2.0.5: define-properties "^1.1.3" es-abstract "^1.19.1" -object.hasown@^1.0.0, object.hasown@^1.1.0: +object.hasown@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/object.hasown/-/object.hasown-1.1.0.tgz#7232ed266f34d197d15cac5880232f7a4790afe5" integrity sha512-MhjYRfj3GBlhSkDHo6QmvgjRLXQ2zndabdf3nX0yTyZK9rPfxb6uRpAac8HXNLy1GpqWtZ81Qh4v3uOls2sRAg== @@ -4100,7 +4116,7 @@ object.hasown@^1.0.0, object.hasown@^1.1.0: define-properties "^1.1.3" es-abstract "^1.19.1" -object.values@^1.1.4, object.values@^1.1.5: +object.values@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.5.tgz#959f63e3ce9ef108720333082131e4a459b716ac" integrity sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg== @@ -4701,9 +4717,9 @@ postcss-selector-parser@^5.0.0-rc.3, postcss-selector-parser@^5.0.0-rc.4: uniq "^1.0.1" postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.6: - version "6.0.6" - resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.6.tgz#2c5bba8174ac2f6981ab631a42ab0ee54af332ea" - integrity sha512-9LXrvaaX3+mcv5xkg5kFwqSzSH1JIObIx51PrndZwlmznwXRfxMddDvo9gve3gVR8ZTKgoFDdWkbRFmEhT4PMg== + version "6.0.7" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.7.tgz#48404830a635113a71fd79397de8209ed05a66fc" + integrity sha512-U+b/Deoi4I/UmE6KOVPpnhS7I7AYdKbhGcat+qTQ27gycvaACvNEw11ba6RrkwVmDVRW7sigWgLj4/KbbJjeDA== dependencies: cssesc "^3.0.0" util-deprecate "^1.0.2" @@ -4714,9 +4730,9 @@ postcss-value-parser@^3.3.0: integrity sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ== postcss-value-parser@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz#443f6a20ced6481a2bda4fa8532a6e55d789a2cb" - integrity sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ== + version "4.2.0" + resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" + integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== postcss-values-parser@^2.0.0, postcss-values-parser@^2.0.1: version "2.0.1" @@ -4744,14 +4760,14 @@ postcss@^7.0.14, postcss@^7.0.17, postcss@^7.0.2, postcss@^7.0.26, postcss@^7.0. picocolors "^0.2.1" source-map "^0.6.1" -postcss@^8.1.6, postcss@^8.2.1, postcss@^8.3.6: - version "8.3.11" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.11.tgz#c3beca7ea811cd5e1c4a3ec6d2e7599ef1f8f858" - integrity sha512-hCmlUAIlUiav8Xdqw3Io4LcpA1DOt7h3LSTAC4G6JGHFFaWzI6qvFt9oilvl8BmkbBRX1IhM90ZAmpk68zccQA== +postcss@^8.1.6, postcss@^8.3.5, postcss@^8.3.6: + version "8.4.4" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.4.tgz#d53d4ec6a75fd62557a66bb41978bf47ff0c2869" + integrity sha512-joU6fBsN6EIer28Lj6GDFoC/5yOZzLCfn0zHAn/MYXI7aPt4m4hK5KC5ovEZXy+lnCjmYIbQWngvju2ddyEr8Q== dependencies: nanoid "^3.1.30" picocolors "^1.0.0" - source-map-js "^0.6.2" + source-map-js "^1.0.1" prelude-ls@^1.2.1: version "1.2.1" @@ -4759,9 +4775,9 @@ prelude-ls@^1.2.1: integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== prettier@^2.1.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.4.1.tgz#671e11c89c14a4cfc876ce564106c4a6726c9f5c" - integrity sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA== + version "2.5.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.5.1.tgz#fff75fa9d519c54cf0fce328c1017d94546bc56a" + integrity sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg== pretty-hrtime@^1.0.3: version "1.0.3" @@ -4812,14 +4828,14 @@ punycode@^2.1.0: integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== purgecss@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/purgecss/-/purgecss-4.0.3.tgz#8147b429f9c09db719e05d64908ea8b672913742" - integrity sha512-PYOIn5ibRIP34PBU9zohUcCI09c7drPJJtTDAc0Q6QlRz2/CHQ8ywGLdE7ZhxU2VTqB7p5wkvj5Qcm05Rz3Jmw== + version "4.1.3" + resolved "https://registry.yarnpkg.com/purgecss/-/purgecss-4.1.3.tgz#683f6a133c8c4de7aa82fe2746d1393b214918f7" + integrity sha512-99cKy4s+VZoXnPxaoM23e5ABcP851nC2y2GROkkjS8eJaJtlciGavd7iYAw2V84WeBqggZ12l8ef44G99HmTaw== dependencies: - commander "^6.0.0" - glob "^7.0.0" - postcss "^8.2.1" - postcss-selector-parser "^6.0.2" + commander "^8.0.0" + glob "^7.1.7" + postcss "^8.3.5" + postcss-selector-parser "^6.0.6" querystring-es3@0.2.1: version "0.2.1" @@ -4883,6 +4899,13 @@ react-collapsed@3.1.0: raf "^3.4.1" tiny-warning "^1.0.3" +react-devtools-inline@4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/react-devtools-inline/-/react-devtools-inline-4.4.0.tgz#e032a6eb17a9977b682306f84b46e683adf4bf68" + integrity sha512-ES0GolSrKO8wsKbsEkVeiR/ZAaHQTY4zDh1UW8DImVmm8oaGLl3ijJDvSGe+qDRKPZdPRnDtWWnSvvrgxXdThQ== + dependencies: + es6-symbol "^3" + react-dom@18.0.0-alpha-930c9e7ee-20211015: version "18.0.0-alpha-930c9e7ee-20211015" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.0.0-alpha-930c9e7ee-20211015.tgz#32648ee7ab0f00550bb74d501373911110619949" @@ -4892,7 +4915,7 @@ react-dom@18.0.0-alpha-930c9e7ee-20211015: object-assign "^4.1.1" scheduler "0.21.0-alpha-930c9e7ee-20211015" -react-is@17.0.2: +react-is@17.0.2, react-is@^17.0.2: version "17.0.2" resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== @@ -5349,12 +5372,12 @@ simple-swizzle@^0.2.2: is-arrayish "^0.3.1" sirv@^1.0.7: - version "1.0.18" - resolved "https://registry.yarnpkg.com/sirv/-/sirv-1.0.18.tgz#105fab52fb656ce8a2bebbf36b11052005952899" - integrity sha512-f2AOPogZmXgJ9Ma2M22ZEhc1dNtRIzcEkiflMFeVTRq+OViOZMvH1IPMVOwrKaxpSaHioBJiDR0SluRqGa7atA== + version "1.0.19" + resolved "https://registry.yarnpkg.com/sirv/-/sirv-1.0.19.tgz#1d73979b38c7fe91fcba49c85280daa9c2363b49" + integrity sha512-JuLThK3TnZG1TAKDwNIqNq6QA2afLOCcm+iE8D1Kj3GA40pSPsxQjjJl0J8X3tsR7T+CP1GavpzLwYkgVLWrZQ== dependencies: "@polka/url" "^1.0.0-next.20" - mime "^2.3.1" + mrmime "^1.0.0" totalist "^1.0.0" slash@^2.0.0: @@ -5376,10 +5399,10 @@ slice-ansi@^4.0.0: astral-regex "^2.0.0" is-fullwidth-code-point "^3.0.0" -source-map-js@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-0.6.2.tgz#0bb5de631b41cfbda6cfba8bd05a80efdfd2385e" - integrity sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug== +source-map-js@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.1.tgz#a1741c131e3c77d048252adfa24e23b908670caf" + integrity sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA== source-map@0.7.3: version "0.7.3" @@ -5430,9 +5453,9 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.10" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.10.tgz#0d9becccde7003d6c658d487dd48a32f0bf3014b" - integrity sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA== + version "3.0.11" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz#50c0d8c40a14ec1bf449bae69a0ea4685a9d9f95" + integrity sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g== sprintf-js@~1.0.2: version "1.0.3" @@ -5495,7 +5518,7 @@ string-width@^4.2.3: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" -string.prototype.matchall@^4.0.5, string.prototype.matchall@^4.0.6: +string.prototype.matchall@^4.0.6: version "4.0.6" resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.6.tgz#5abb5dabc94c7b0ea2380f65ba610b3a544b15fa" integrity sha512-6WgDX8HmQqvEd7J+G6VtAahhsQIssiZ8zl7zKh1VDMFyL3hRTJP4FTNA3RbIp2TOQ9AYNDcc7e3fH0Qbup+DBg== @@ -5630,9 +5653,9 @@ supports-color@^8.0.0: has-flag "^4.0.0" table@^6.0.9: - version "6.7.3" - resolved "https://registry.yarnpkg.com/table/-/table-6.7.3.tgz#255388439715a738391bd2ee4cbca89a4d05a9b7" - integrity sha512-5DkIxeA7XERBqMwJq0aHZOdMadBx4e6eDoFRuyT5VR82J0Ycg2DwM6GfA/EQAhJ+toRTaS1lIdSQCqgrmhPnlw== + version "6.7.5" + resolved "https://registry.yarnpkg.com/table/-/table-6.7.5.tgz#f04478c351ef3d8c7904f0e8be90a1b62417d238" + integrity sha512-LFNeryOqiQHqCVKzhkymKwt6ozeRhlm8IL1mE8rNUurkir4heF6PzMyRgaTa4tlyPTGGgXuvVOF/OLWiH09Lqw== dependencies: ajv "^8.0.1" lodash.truncate "^4.4.2" @@ -5764,9 +5787,9 @@ trough@^2.0.0: integrity sha512-FnHq5sTMxC0sk957wHDzRnemFnNBvt/gSY99HzK8F7UP5WAbvP70yX5bd7CjEQkN+TjdxwI7g7lJ6podqrG2/w== tsconfig-paths@^3.11.0, tsconfig-paths@^3.9.0: - version "3.11.0" - resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.11.0.tgz#954c1fe973da6339c78e06b03ce2e48810b65f36" - integrity sha512-7ecdYDnIdmv639mmDwslG6KQg1Z9STTz1j7Gcz0xa+nshh/gKDAHcPxRbWOsA3SPp0tXP2leTcY9Kw+NAkfZzA== + version "3.12.0" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.12.0.tgz#19769aca6ee8f6a1a341e38c8fa45dd9fb18899b" + integrity sha512-e5adrnOYT6zqVnWqZu7i/BQ3BnhzvGbjEjejFXO20lKIKpwTaupkCPgEfv4GZK1IBciJUEhYs3J3p75FdaTFVg== dependencies: "@types/json5" "^0.0.29" json5 "^1.0.1" @@ -5807,10 +5830,20 @@ type-fest@^0.7.1: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.7.1.tgz#8dda65feaf03ed78f0a3f9678f1869147f7c5c48" integrity sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg== +type@^1.0.1: + version "1.2.0" + resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" + integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== + +type@^2.5.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/type/-/type-2.5.0.tgz#0a2e78c2e77907b252abe5f298c1b01c63f0db3d" + integrity sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw== + typescript@^4.0.2: - version "4.4.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.4.tgz#2cd01a1a1f160704d3101fd5a58ff0f9fcb8030c" - integrity sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA== + version "4.5.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.3.tgz#afaa858e68c7103317d89eb90c5d8906268d353c" + integrity sha512-eVYaEHALSt+s9LbvgEv4Ef+Tdq7hBiIZgii12xXJnukryt3pMgJf6aKhoCZ3FWQsu6sydEnkg11fYXLzhLBjeQ== unbox-primitive@^1.0.1: version "1.0.1" @@ -5843,9 +5876,9 @@ unified@9.2.0: vfile "^4.0.0" unified@^10.0.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/unified/-/unified-10.1.0.tgz#4e65eb38fc2448b1c5ee573a472340f52b9346fe" - integrity sha512-4U3ru/BRXYYhKbwXV6lU6bufLikoAavTwev89H5UxY8enDFaAT2VXmIXYNm6hb5oHPng/EXr77PVyDFcptbk5g== + version "10.1.1" + resolved "https://registry.yarnpkg.com/unified/-/unified-10.1.1.tgz#345e349e3ab353ab612878338eb9d57b4dea1d46" + integrity sha512-v4ky1+6BN9X3pQrOdkFIPWAaeDsHPE1svRDxq7YpTc2plkIqFMwukfqM+l0ewpP9EfwARlt9pPFAeWYhHm8X9w== dependencies: "@types/unist" "^2.0.0" bail "^2.0.0" @@ -6092,10 +6125,10 @@ w3c-keyname@^2.2.4: resolved "https://registry.yarnpkg.com/w3c-keyname/-/w3c-keyname-2.2.4.tgz#4ade6916f6290224cdbd1db8ac49eab03d0eef6b" integrity sha512-tOhfEwEzFLJzf6d1ZPkYfGj+FWhIpBux9ppoP3rlclw3Z0BZv3N7b7030Z1kYth+6rDuAsXUFr+d0VE6Ed1ikw== -watchpack@2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.1.1.tgz#e99630550fca07df9f90a06056987baa40a689c7" - integrity sha512-Oo7LXCmc1eE1AjyuSBmtC3+Wy4HcV8PxWh2kP6fOl8yTlNS7r0K9l1ao2lrrUza7V39Y3D/BbJgY8VeSlc5JKw== +watchpack@2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.3.0.tgz#a41bca3da6afaff31e92a433f4c856a0c25ea0c4" + integrity sha512-MnN0Q1OsvB/GGHETrFeZPQaOelWh/7O+EiFlj8sM9GPjtQkis7k01aAxrg/18kTfoIVcLL+haEVFlXDaSRwKRw== dependencies: glob-to-regexp "^0.4.1" graceful-fs "^4.1.2" @@ -6182,9 +6215,9 @@ wrappy@1: integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= ws@^7.3.1: - version "7.5.5" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.5.tgz#8b4bc4af518cfabd0473ae4f99144287b33eb881" - integrity sha512-BAkMFcAzl8as1G/hArkxOxq3G7pjUqQ3gzYbLL0/5zNkph70e+lCoxBGnm6AW1+/aiNeV4fnKqZ8m4GZewmH2w== + version "7.5.6" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.6.tgz#e59fc509fb15ddfb65487ee9765c5a51dec5fe7b" + integrity sha512-6GLgCqo2cy2A2rjCNFlxQS6ZljG/coZfZXclldI8FB/1G3CCI36Zd8xy2HrFVACi8tfk5XrgLQEk+P0Tnz9UcA== xml@1.0.1: version "1.0.1" From c5ebd6115b5c5b33172650c5b18cf65ec94161d3 Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Fri, 10 Dec 2021 09:45:59 +0000 Subject: [PATCH 02/25] update csb button --- .../MDX/Sandpack/OpenInCodeSandboxButton.tsx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx b/beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx index 099a44ea20e..81c6b5d8458 100644 --- a/beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx +++ b/beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx @@ -3,22 +3,17 @@ */ import * as React from 'react'; -// import {useCodeSandboxLink} from '@codesandbox/sandpack-react'; +import {UnstyledOpenInCodeSandboxButton} from '@codesandbox/sandpack-react'; import cn from 'classnames'; import {IconNewPage} from '../../Icon/IconNewPage'; export const OpenInCodeSandboxButton = ({className}: {className?: string}) => { - // const url = useCodeSandboxLink(); - return ( - Fork @@ -26,6 +21,6 @@ export const OpenInCodeSandboxButton = ({className}: {className?: string}) => { Fork - + ); }; From 2d4e27be5cdbe27ab689521a7c64e4b6a5ed2cee Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Fri, 10 Dec 2021 09:48:11 +0000 Subject: [PATCH 03/25] remove unnecessary ref --- beta/src/components/MDX/APIAnatomy.tsx | 7 +--- .../components/MDX/CodeBlock/CodeBlock.tsx | 33 ++++++++----------- 2 files changed, 15 insertions(+), 25 deletions(-) diff --git a/beta/src/components/MDX/APIAnatomy.tsx b/beta/src/components/MDX/APIAnatomy.tsx index 17e4f522c00..452a91dcd1d 100644 --- a/beta/src/components/MDX/APIAnatomy.tsx +++ b/beta/src/components/MDX/APIAnatomy.tsx @@ -42,7 +42,6 @@ const colors = [ export function APIAnatomy({children}: APIAnatomyProps) { const [activeStep, setActiveStep] = React.useState(null); - const ref = React.useRef(); const {steps, code} = React.Children.toArray(children).reduce( (acc: AnatomyContent, child) => { @@ -60,11 +59,7 @@ export function APIAnatomy({children}: APIAnatomyProps) { break; case 'pre': acc.code = ( - + ); break; } diff --git a/beta/src/components/MDX/CodeBlock/CodeBlock.tsx b/beta/src/components/MDX/CodeBlock/CodeBlock.tsx index 3ea906743cd..ebf0e314d0b 100644 --- a/beta/src/components/MDX/CodeBlock/CodeBlock.tsx +++ b/beta/src/components/MDX/CodeBlock/CodeBlock.tsx @@ -2,7 +2,6 @@ * Copyright (c) Facebook, Inc. and its affiliates. */ -import * as React from 'react'; import cn from 'classnames'; import { ClasserProvider, @@ -21,22 +20,19 @@ interface InlineHiglight { endColumn: number; } -const CodeBlock = React.forwardRef(function CodeBlock( - { - children, - className = 'language-js', - metastring, - noMargin, - noMarkers, - }: { - children: string; - className?: string; - metastring: string; - noMargin?: boolean; - noMarkers?: boolean; - }, - ref?: React.Ref -) { +const CodeBlock = function CodeBlock({ + children, + className = 'language-js', + metastring, + noMargin, + noMarkers, +}: { + children: string; + className?: string; + metastring: string; + noMargin?: boolean; + noMarkers?: boolean; +}) { const getDecoratedLineInfo = () => { if (!metastring) { return []; @@ -95,7 +91,6 @@ const CodeBlock = React.forwardRef(function CodeBlock( 'sp-cm': styles.codeViewer, }}> @@ -104,7 +99,7 @@ const CodeBlock = React.forwardRef(function CodeBlock( ); -}); +}; export default CodeBlock; From 5202a8f9993afef8022812298bcb95265ca33cda Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Fri, 10 Dec 2021 09:58:14 +0000 Subject: [PATCH 04/25] add react dev tools --- beta/src/components/MDX/Sandpack/CustomPreset.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/beta/src/components/MDX/Sandpack/CustomPreset.tsx b/beta/src/components/MDX/Sandpack/CustomPreset.tsx index c4b72601fc4..7050dcb6793 100644 --- a/beta/src/components/MDX/Sandpack/CustomPreset.tsx +++ b/beta/src/components/MDX/Sandpack/CustomPreset.tsx @@ -10,6 +10,7 @@ import { useActiveCode, SandpackCodeEditor, SandpackThemeProvider, + SandpackReactDevTools, } from '@codesandbox/sandpack-react'; import scrollIntoView from 'scroll-into-view-if-needed'; @@ -77,6 +78,7 @@ export function CustomPreset({ maxHeight: isExpanded ? '' : 406, }} /> + {isExpandable && ( + ); +}; diff --git a/beta/src/components/MDX/Sandpack/NavigationBar.tsx b/beta/src/components/MDX/Sandpack/NavigationBar.tsx index c42197c0f45..b2549066088 100644 --- a/beta/src/components/MDX/Sandpack/NavigationBar.tsx +++ b/beta/src/components/MDX/Sandpack/NavigationBar.tsx @@ -3,22 +3,29 @@ */ import * as React from 'react'; -import {FileTabs, useSandpack} from '@codesandbox/sandpack-react'; +import { + FileTabs, + useSandpack, + useSandpackNavigation, +} from '@codesandbox/sandpack-react'; import {OpenInCodeSandboxButton} from './OpenInCodeSandboxButton'; import {ResetButton} from './ResetButton'; import {DownloadButton} from './DownloadButton'; import {FilesDropdown} from './FilesDropdown'; +import {DevToolsButton} from './DevToolsButton'; export function NavigationBar({ showDownload, - onReset, + onOpenDevTools, }: { showDownload: boolean; - onReset: () => void; + onOpenDevTools: () => void; }) { const {sandpack} = useSandpack(); const [dropdownActive, setDropdownActive] = React.useState(false); - const {openPaths} = sandpack; + const {openPaths, clients} = sandpack; + const clientId = Object.keys(clients)[0]; + const {refresh} = useSandpackNavigation(clientId); const resizeHandler = React.useCallback(() => { const width = window.innerWidth || document.documentElement.clientWidth; @@ -41,6 +48,11 @@ export function NavigationBar({ return; }, [openPaths.length, resizeHandler]); + const onReset = () => { + sandpack.resetAllFiles(); + refresh(); + }; + return (
@@ -52,6 +64,7 @@ export function NavigationBar({ {showDownload && } +
); diff --git a/beta/src/components/MDX/Sandpack/index.tsx b/beta/src/components/MDX/Sandpack/index.tsx index f6dc77294d5..ed928bc3cdc 100644 --- a/beta/src/components/MDX/Sandpack/index.tsx +++ b/beta/src/components/MDX/Sandpack/index.tsx @@ -67,6 +67,8 @@ ul { function Sandpack(props: SandpackProps) { let {children, setup, autorun = true, showDevTools = false} = props; let [resetKey, setResetKey] = React.useState(0); + const [shouldShowDevTools, setShouldShowDevTools] = + React.useState(showDevTools); let codeSnippets = React.Children.toArray(children) as React.ReactElement[]; let isSingleFile = true; @@ -133,6 +135,18 @@ function Sandpack(props: SandpackProps) { }); } + const onOpenDevTools = () => { + setShouldShowDevTools((prev) => !prev); + + /** + * Hard Sandpack limitation: force rerender in order to + * load the react-devtools-inline dependencies in the preview + */ + if (!shouldShowDevTools) { + setResetKey((k) => k + 1); + } + }; + return (
{ - setResetKey((k) => k + 1); - }} + showDevTools={shouldShowDevTools} + onOpenDevTools={onOpenDevTools} />
diff --git a/beta/src/pages/learn/index.md b/beta/src/pages/learn/index.md index 86be2941759..fff2335bd52 100644 --- a/beta/src/pages/learn/index.md +++ b/beta/src/pages/learn/index.md @@ -99,7 +99,7 @@ To save you time, we provide **a brief overview of each chapter** below. React applications are built from isolated pieces of UI called ["components"](/learn/your-first-component). A React component is a JavaScript function that you can sprinkle with markup. Components can be as small as a button, or as large as an entire page. Here, a *parent* `Gallery` component renders three *child* `Profile` components: - + ```js function Profile() { From b7f37666c3dd17c635520cf6a87aa01628e935cf Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Wed, 5 Jan 2022 15:06:43 +0000 Subject: [PATCH 14/25] fix sandpack --- beta/package.json | 2 +- beta/src/components/Icon/IconInspect.tsx | 4 ++-- beta/yarn.lock | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/beta/package.json b/beta/package.json index 036e7452b93..8ab68629101 100644 --- a/beta/package.json +++ b/beta/package.json @@ -21,7 +21,7 @@ "check-all": "npm-run-all prettier lint:fix tsc" }, "dependencies": { - "@codesandbox/sandpack-react": "0.10.11-experimental.1", + "@codesandbox/sandpack-react": "0.10.11-experimental.2", "@docsearch/css": "3.0.0-alpha.41", "@docsearch/react": "3.0.0-alpha.41", "@headlessui/react": "^1.3.0", diff --git a/beta/src/components/Icon/IconInspect.tsx b/beta/src/components/Icon/IconInspect.tsx index 7a2317ccdcd..6a32b20beb9 100644 --- a/beta/src/components/Icon/IconInspect.tsx +++ b/beta/src/components/Icon/IconInspect.tsx @@ -14,8 +14,8 @@ export const IconInspect = React.memo( width=".9em" height=".9em" fill="currentColor"> - - + + ); } diff --git a/beta/yarn.lock b/beta/yarn.lock index 149f7828acb..7e24b7739db 100644 --- a/beta/yarn.lock +++ b/beta/yarn.lock @@ -577,10 +577,10 @@ codesandbox-import-utils "^1.2.3" lodash.isequal "^4.5.0" -"@codesandbox/sandpack-react@0.10.11-experimental.1": - version "0.10.11-experimental.1" - resolved "https://registry.yarnpkg.com/@codesandbox/sandpack-react/-/sandpack-react-0.10.11-experimental.1.tgz#551892a2dbd96ca8d3561550767cf6e000a465d1" - integrity sha512-E8PKhzGy1Q2+G7fJjv53gZDhHFOQxExdRAGBZ1oMt0M6aTmvEQ0pe36irkp99+7Q6qV36yu6ydIgL7tnCp491A== +"@codesandbox/sandpack-react@0.10.11-experimental.2": + version "0.10.11-experimental.2" + resolved "https://registry.yarnpkg.com/@codesandbox/sandpack-react/-/sandpack-react-0.10.11-experimental.2.tgz#ba74a23e3453bac99b72dd461024a41ba624a281" + integrity sha512-MapQdieEt7tp0zI5Jqonjz+7mBz8RVrqfZ61qPta576v6vALUx2LrVDPgwVKzo6ezj1NtyZB24BgEGrY5mkqyg== dependencies: "@code-hike/classer" "^0.0.0-aa6efee" "@codemirror/closebrackets" "^0.19.0" From 8fbcaac8788200f230f22bcd63ec7a3581227e8d Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Thu, 6 Jan 2022 09:27:34 +0000 Subject: [PATCH 15/25] fix: devtools style --- beta/src/styles/sandpack.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/beta/src/styles/sandpack.css b/beta/src/styles/sandpack.css index 33021315d46..e66aebf1799 100644 --- a/beta/src/styles/sandpack.css +++ b/beta/src/styles/sandpack.css @@ -186,12 +186,17 @@ html.dark .sp-loading { --color-background: var(--sp-colors-bg-default) !important; --color-background-inactive: var(--sp-colors-fg-inactive) !important; --color-background-selected: #087ea4 !important; + --color-background-hover: transparent !important; + --color-modal-background: #ffffffd2 !important; + + --color-tab-selected-border: #087ea4 !important; --color-component-name: var(--theme-definition) !important; --color-attribute-name: var(--theme-property) !important; --color-attribute-value: var(--theme-string) !important; --color-attribute-editable-value: var(--theme-property) !important; + --color-button-active: #087ea4 !important; --color-button-background: transparent !important; --color-button: var(--sp-colors-fg-default) !important; --color-button-hover: var(--sp-colors-fg-active) !important; @@ -201,6 +206,11 @@ html.dark .sp-loading { } html.dark .sp-devtools > div { --color-text: var(--sp-colors-fg-default) !important; + --color-modal-background: #16181de0 !important; +} + +.sp-devtools table td { + border: 1px solid var(--sp-colors-fg-inactive); } /* Make focus rings work */ From 5a522d196ba56cc0567255270d7b7e21d6b844f9 Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Thu, 6 Jan 2022 09:53:45 +0000 Subject: [PATCH 16/25] fix: tweaks on mobile version --- beta/src/components/Icon/IconInspect.tsx | 5 +++-- beta/src/components/Icon/IconNewPage.tsx | 5 +++-- .../components/MDX/Sandpack/DevToolsButton.tsx | 7 +++++-- .../components/MDX/Sandpack/NavigationBar.tsx | 2 +- .../MDX/Sandpack/OpenInCodeSandboxButton.tsx | 18 +++++++++--------- 5 files changed, 21 insertions(+), 16 deletions(-) diff --git a/beta/src/components/Icon/IconInspect.tsx b/beta/src/components/Icon/IconInspect.tsx index 6a32b20beb9..e92be13812f 100644 --- a/beta/src/components/Icon/IconInspect.tsx +++ b/beta/src/components/Icon/IconInspect.tsx @@ -5,7 +5,7 @@ import * as React from 'react'; export const IconInspect = React.memo( - function IconInspect({className}) { + function IconInspect({className, ...rest}) { return ( ( viewBox="0 0 203 203" width=".9em" height=".9em" - fill="currentColor"> + fill="currentColor" + {...rest}> diff --git a/beta/src/components/Icon/IconNewPage.tsx b/beta/src/components/Icon/IconNewPage.tsx index b06408db6a9..2ee8214dd26 100644 --- a/beta/src/components/Icon/IconNewPage.tsx +++ b/beta/src/components/Icon/IconNewPage.tsx @@ -5,14 +5,15 @@ import * as React from 'react'; export const IconNewPage = React.memo( - function IconNewPage({className}) { + function IconNewPage({className, ...rest}) { return ( + xmlns="http://www.w3.org/2000/svg" + {...rest}> = ({onClick}) => { onClick={onClick} title="Open React devtools" type="button"> - {' '} - Inspect + + Inspect ); }; diff --git a/beta/src/components/MDX/Sandpack/NavigationBar.tsx b/beta/src/components/MDX/Sandpack/NavigationBar.tsx index b2549066088..cab6d4b2a6e 100644 --- a/beta/src/components/MDX/Sandpack/NavigationBar.tsx +++ b/beta/src/components/MDX/Sandpack/NavigationBar.tsx @@ -63,7 +63,7 @@ export function NavigationBar({ translate="yes"> {showDownload && } - + diff --git a/beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx b/beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx index aade8e2cec7..06b78a94358 100644 --- a/beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx +++ b/beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx @@ -4,20 +4,20 @@ import * as React from 'react'; import {UnstyledOpenInCodeSandboxButton} from '@codesandbox/sandpack-react'; -import cn from 'classnames'; import {IconNewPage} from '../../Icon/IconNewPage'; -export const OpenInCodeSandboxButton = ({className}: {className?: string}) => { +export const OpenInCodeSandboxButton = () => { return ( - - Fork - + + Fork ); }; From 15f8c7156f2b8ce4fe99f121d9b3449498387d95 Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Thu, 6 Jan 2022 11:14:47 +0000 Subject: [PATCH 17/25] fix: soft refresh when module is loaded --- beta/package.json | 2 +- beta/src/components/MDX/Sandpack/CustomPreset.tsx | 12 +++++++++--- beta/src/components/MDX/Sandpack/NavigationBar.tsx | 4 ++-- beta/src/components/MDX/Sandpack/index.tsx | 10 ++++++++-- beta/src/styles/sandpack.css | 3 +-- beta/yarn.lock | 8 ++++---- 6 files changed, 25 insertions(+), 14 deletions(-) diff --git a/beta/package.json b/beta/package.json index 8ab68629101..52435b15b43 100644 --- a/beta/package.json +++ b/beta/package.json @@ -21,7 +21,7 @@ "check-all": "npm-run-all prettier lint:fix tsc" }, "dependencies": { - "@codesandbox/sandpack-react": "0.10.11-experimental.2", + "@codesandbox/sandpack-react": "0.10.11-experimental.4", "@docsearch/css": "3.0.0-alpha.41", "@docsearch/react": "3.0.0-alpha.41", "@headlessui/react": "^1.3.0", diff --git a/beta/src/components/MDX/Sandpack/CustomPreset.tsx b/beta/src/components/MDX/Sandpack/CustomPreset.tsx index 75b75db0a69..b97b77b50ac 100644 --- a/beta/src/components/MDX/Sandpack/CustomPreset.tsx +++ b/beta/src/components/MDX/Sandpack/CustomPreset.tsx @@ -25,10 +25,14 @@ export function CustomPreset({ isSingleFile, showDevTools, onOpenDevTools, + onDevToolsLoad, + devToolsLoaded, }: { isSingleFile: boolean; showDevTools: boolean; - onOpenDevTools: () => void; + devToolsLoaded: boolean; + onOpenDevTools: (refresh: () => void) => void; + onDevToolsLoad: () => void; }) { const lineCountRef = React.useRef<{[key: string]: number}>({}); const containerRef = React.useRef(null); @@ -64,7 +68,7 @@ export function CustomPreset({ ref={sandpack.lazyAnchorRef} className={cn( 'sp-layout sp-custom-layout', - showDevTools && 'sp-layout-devtools' + showDevTools && devToolsLoaded && 'sp-layout-devtools' )} style={{ // Prevent it from collapsing below the initial (non-loaded) height. @@ -117,7 +121,9 @@ export function CustomPreset({ )} - {showDevTools && } + {showDevTools && ( + + )} diff --git a/beta/src/components/MDX/Sandpack/NavigationBar.tsx b/beta/src/components/MDX/Sandpack/NavigationBar.tsx index cab6d4b2a6e..56aa49f4ff6 100644 --- a/beta/src/components/MDX/Sandpack/NavigationBar.tsx +++ b/beta/src/components/MDX/Sandpack/NavigationBar.tsx @@ -19,7 +19,7 @@ export function NavigationBar({ onOpenDevTools, }: { showDownload: boolean; - onOpenDevTools: () => void; + onOpenDevTools: (refresh: () => void) => void; }) { const {sandpack} = useSandpack(); const [dropdownActive, setDropdownActive] = React.useState(false); @@ -64,7 +64,7 @@ export function NavigationBar({ {showDownload && } - + onOpenDevTools(refresh)} /> ); diff --git a/beta/src/components/MDX/Sandpack/index.tsx b/beta/src/components/MDX/Sandpack/index.tsx index ed928bc3cdc..7f6bec60b3d 100644 --- a/beta/src/components/MDX/Sandpack/index.tsx +++ b/beta/src/components/MDX/Sandpack/index.tsx @@ -69,6 +69,7 @@ function Sandpack(props: SandpackProps) { let [resetKey, setResetKey] = React.useState(0); const [shouldShowDevTools, setShouldShowDevTools] = React.useState(showDevTools); + const [devToolsLoaded, setDevToolsLoaded] = React.useState(false); let codeSnippets = React.Children.toArray(children) as React.ReactElement[]; let isSingleFile = true; @@ -135,15 +136,18 @@ function Sandpack(props: SandpackProps) { }); } - const onOpenDevTools = () => { + const onOpenDevTools = (refreshPreview: () => void) => { setShouldShowDevTools((prev) => !prev); /** * Hard Sandpack limitation: force rerender in order to * load the react-devtools-inline dependencies in the preview */ - if (!shouldShowDevTools) { + if (!devToolsLoaded) { setResetKey((k) => k + 1); + // Soft reload to receive `react-devtools-inline` messages + } else if (!shouldShowDevTools) { + refreshPreview(); } }; @@ -158,6 +162,8 @@ function Sandpack(props: SandpackProps) { isSingleFile={isSingleFile} showDevTools={shouldShowDevTools} onOpenDevTools={onOpenDevTools} + onDevToolsLoad={() => setDevToolsLoaded(true)} + devToolsLoaded={devToolsLoaded} /> diff --git a/beta/src/styles/sandpack.css b/beta/src/styles/sandpack.css index e66aebf1799..c13e8e6317e 100644 --- a/beta/src/styles/sandpack.css +++ b/beta/src/styles/sandpack.css @@ -151,8 +151,6 @@ html.dark .sp-tabs .sp-tab-button[data-active='true'] { border: 0px solid transparent; border-top-left-radius: 0px; border-top-right-radius: 0px; -} -.sp-wrapper .sp-custom-layout { border-bottom-left-radius: 0.5rem; border-bottom-right-radius: 0.5rem; } @@ -195,6 +193,7 @@ html.dark .sp-loading { --color-attribute-name: var(--theme-property) !important; --color-attribute-value: var(--theme-string) !important; --color-attribute-editable-value: var(--theme-property) !important; + --color-attribute-name-not-editable: var(--sp-colors-fg-default) !important; --color-button-active: #087ea4 !important; --color-button-background: transparent !important; diff --git a/beta/yarn.lock b/beta/yarn.lock index 7e24b7739db..2083537a475 100644 --- a/beta/yarn.lock +++ b/beta/yarn.lock @@ -577,10 +577,10 @@ codesandbox-import-utils "^1.2.3" lodash.isequal "^4.5.0" -"@codesandbox/sandpack-react@0.10.11-experimental.2": - version "0.10.11-experimental.2" - resolved "https://registry.yarnpkg.com/@codesandbox/sandpack-react/-/sandpack-react-0.10.11-experimental.2.tgz#ba74a23e3453bac99b72dd461024a41ba624a281" - integrity sha512-MapQdieEt7tp0zI5Jqonjz+7mBz8RVrqfZ61qPta576v6vALUx2LrVDPgwVKzo6ezj1NtyZB24BgEGrY5mkqyg== +"@codesandbox/sandpack-react@0.10.11-experimental.4": + version "0.10.11-experimental.4" + resolved "https://registry.yarnpkg.com/@codesandbox/sandpack-react/-/sandpack-react-0.10.11-experimental.4.tgz#6683efa0295f68b08179e0b528df4f8a436c1b7e" + integrity sha512-JhRGZaahS5CrO0gM7FMat2zIHXmdXpQGeEYjVPZn4v4eiOs/LFv/cZ3LoKmBX1GHdmepBsskG06eOGmG+w3GZA== dependencies: "@code-hike/classer" "^0.0.0-aa6efee" "@codemirror/closebrackets" "^0.19.0" From 877b8b27b59b6d89a625f66292cc4e5f3d735b02 Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Fri, 7 Jan 2022 14:57:15 +0000 Subject: [PATCH 18/25] bump sandpack version --- beta/package.json | 2 +- beta/yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/beta/package.json b/beta/package.json index 52435b15b43..75b44ea3577 100644 --- a/beta/package.json +++ b/beta/package.json @@ -21,7 +21,7 @@ "check-all": "npm-run-all prettier lint:fix tsc" }, "dependencies": { - "@codesandbox/sandpack-react": "0.10.11-experimental.4", + "@codesandbox/sandpack-react": "0.10.13-experimental.0", "@docsearch/css": "3.0.0-alpha.41", "@docsearch/react": "3.0.0-alpha.41", "@headlessui/react": "^1.3.0", diff --git a/beta/yarn.lock b/beta/yarn.lock index 2083537a475..94ce44dd565 100644 --- a/beta/yarn.lock +++ b/beta/yarn.lock @@ -577,10 +577,10 @@ codesandbox-import-utils "^1.2.3" lodash.isequal "^4.5.0" -"@codesandbox/sandpack-react@0.10.11-experimental.4": - version "0.10.11-experimental.4" - resolved "https://registry.yarnpkg.com/@codesandbox/sandpack-react/-/sandpack-react-0.10.11-experimental.4.tgz#6683efa0295f68b08179e0b528df4f8a436c1b7e" - integrity sha512-JhRGZaahS5CrO0gM7FMat2zIHXmdXpQGeEYjVPZn4v4eiOs/LFv/cZ3LoKmBX1GHdmepBsskG06eOGmG+w3GZA== +"@codesandbox/sandpack-react@0.10.13-experimental.0": + version "0.10.13-experimental.0" + resolved "https://registry.yarnpkg.com/@codesandbox/sandpack-react/-/sandpack-react-0.10.13-experimental.0.tgz#1458622a9a1b6d21b931b19ae4279d3eee95dbc6" + integrity sha512-oEeJROt3iqT5745gRI6RM3NulG549OpMHAnoD+AUN+oMyA7rpH8iNMPoOl8JTr6mUrQWMZEF+/lMYB7YKZIkXw== dependencies: "@code-hike/classer" "^0.0.0-aa6efee" "@codemirror/closebrackets" "^0.19.0" From c29fa176cb5a36be6eb99bca1efb038f5645954d Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Fri, 14 Jan 2022 11:27:21 +0000 Subject: [PATCH 19/25] update color --- beta/src/styles/sandpack.css | 1 + 1 file changed, 1 insertion(+) diff --git a/beta/src/styles/sandpack.css b/beta/src/styles/sandpack.css index c13e8e6317e..35bb42e6f0a 100644 --- a/beta/src/styles/sandpack.css +++ b/beta/src/styles/sandpack.css @@ -194,6 +194,7 @@ html.dark .sp-loading { --color-attribute-value: var(--theme-string) !important; --color-attribute-editable-value: var(--theme-property) !important; --color-attribute-name-not-editable: var(--sp-colors-fg-default) !important; + --color-button-background-focus: var(--sp-colors-fg-inactive) !important; --color-button-active: #087ea4 !important; --color-button-background: transparent !important; From 5b40436b6e0f2861bdb65840f22f8bd0189b3dba Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Fri, 14 Jan 2022 16:18:12 +0000 Subject: [PATCH 20/25] remove demo --- beta/src/pages/learn/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beta/src/pages/learn/index.md b/beta/src/pages/learn/index.md index fff2335bd52..0df815d1a6e 100644 --- a/beta/src/pages/learn/index.md +++ b/beta/src/pages/learn/index.md @@ -23,7 +23,7 @@ Welcome to the React documentation! Here is an overview of what you can find on This is a tiny React app. To get your first taste of React, **edit the code below** and make it display your name: - + ```js function Greeting({ name }) { From bfe9ad990646ba173e1004e644b5e6c25a40aeae Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Mon, 17 Jan 2022 10:47:49 +0000 Subject: [PATCH 21/25] remove inspect button --- beta/src/components/Icon/IconInspect.tsx | 25 ---------------- .../components/MDX/Sandpack/CustomPreset.tsx | 7 +---- .../MDX/Sandpack/DevToolsButton.tsx | 25 ---------------- .../components/MDX/Sandpack/NavigationBar.tsx | 10 +------ beta/src/components/MDX/Sandpack/index.tsx | 29 ------------------- 5 files changed, 2 insertions(+), 94 deletions(-) delete mode 100644 beta/src/components/Icon/IconInspect.tsx delete mode 100644 beta/src/components/MDX/Sandpack/DevToolsButton.tsx diff --git a/beta/src/components/Icon/IconInspect.tsx b/beta/src/components/Icon/IconInspect.tsx deleted file mode 100644 index e92be13812f..00000000000 --- a/beta/src/components/Icon/IconInspect.tsx +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - */ - -import * as React from 'react'; - -export const IconInspect = React.memo( - function IconInspect({className, ...rest}) { - return ( - - - - - ); - } -); - -IconInspect.displayName = 'IconInspect'; diff --git a/beta/src/components/MDX/Sandpack/CustomPreset.tsx b/beta/src/components/MDX/Sandpack/CustomPreset.tsx index b97b77b50ac..a3ea1fe0290 100644 --- a/beta/src/components/MDX/Sandpack/CustomPreset.tsx +++ b/beta/src/components/MDX/Sandpack/CustomPreset.tsx @@ -24,14 +24,12 @@ import {CustomTheme} from './Themes'; export function CustomPreset({ isSingleFile, showDevTools, - onOpenDevTools, onDevToolsLoad, devToolsLoaded, }: { isSingleFile: boolean; showDevTools: boolean; devToolsLoaded: boolean; - onOpenDevTools: (refresh: () => void) => void; onDevToolsLoad: () => void; }) { const lineCountRef = React.useRef<{[key: string]: number}>({}); @@ -59,10 +57,7 @@ export function CustomPreset({
- +
void; -} - -export const DevToolsButton: React.FC = ({onClick}) => { - return ( - - ); -}; diff --git a/beta/src/components/MDX/Sandpack/NavigationBar.tsx b/beta/src/components/MDX/Sandpack/NavigationBar.tsx index 56aa49f4ff6..4931fd0ae08 100644 --- a/beta/src/components/MDX/Sandpack/NavigationBar.tsx +++ b/beta/src/components/MDX/Sandpack/NavigationBar.tsx @@ -12,15 +12,8 @@ import {OpenInCodeSandboxButton} from './OpenInCodeSandboxButton'; import {ResetButton} from './ResetButton'; import {DownloadButton} from './DownloadButton'; import {FilesDropdown} from './FilesDropdown'; -import {DevToolsButton} from './DevToolsButton'; -export function NavigationBar({ - showDownload, - onOpenDevTools, -}: { - showDownload: boolean; - onOpenDevTools: (refresh: () => void) => void; -}) { +export function NavigationBar({showDownload}: {showDownload: boolean}) { const {sandpack} = useSandpack(); const [dropdownActive, setDropdownActive] = React.useState(false); const {openPaths, clients} = sandpack; @@ -64,7 +57,6 @@ export function NavigationBar({ {showDownload && } - onOpenDevTools(refresh)} />
); diff --git a/beta/src/components/MDX/Sandpack/index.tsx b/beta/src/components/MDX/Sandpack/index.tsx index 7f6bec60b3d..943bfd420f3 100644 --- a/beta/src/components/MDX/Sandpack/index.tsx +++ b/beta/src/components/MDX/Sandpack/index.tsx @@ -66,7 +66,6 @@ ul { function Sandpack(props: SandpackProps) { let {children, setup, autorun = true, showDevTools = false} = props; - let [resetKey, setResetKey] = React.useState(0); const [shouldShowDevTools, setShouldShowDevTools] = React.useState(showDevTools); const [devToolsLoaded, setDevToolsLoaded] = React.useState(false); @@ -125,43 +124,15 @@ function Sandpack(props: SandpackProps) { hidden: true, }; - let key = String(resetKey); - if (process.env.NODE_ENV !== 'production') { - // Remount on any source change in development. - key += - '-' + - JSON.stringify({ - ...props, - children: files, - }); - } - - const onOpenDevTools = (refreshPreview: () => void) => { - setShouldShowDevTools((prev) => !prev); - - /** - * Hard Sandpack limitation: force rerender in order to - * load the react-devtools-inline dependencies in the preview - */ - if (!devToolsLoaded) { - setResetKey((k) => k + 1); - // Soft reload to receive `react-devtools-inline` messages - } else if (!shouldShowDevTools) { - refreshPreview(); - } - }; - return (
setDevToolsLoaded(true)} devToolsLoaded={devToolsLoaded} /> From a91d10eae40a3978126e3fc9e89577742db9fcd2 Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Wed, 19 Jan 2022 11:14:44 +0000 Subject: [PATCH 22/25] bring back key logic --- .../components/MDX/Sandpack/CustomPreset.tsx | 4 ++- .../components/MDX/Sandpack/NavigationBar.tsx | 14 +++++++-- beta/src/components/MDX/Sandpack/index.tsx | 30 +++++++++++++++---- 3 files changed, 39 insertions(+), 9 deletions(-) diff --git a/beta/src/components/MDX/Sandpack/CustomPreset.tsx b/beta/src/components/MDX/Sandpack/CustomPreset.tsx index a3ea1fe0290..e775e059df8 100644 --- a/beta/src/components/MDX/Sandpack/CustomPreset.tsx +++ b/beta/src/components/MDX/Sandpack/CustomPreset.tsx @@ -23,6 +23,7 @@ import {CustomTheme} from './Themes'; export function CustomPreset({ isSingleFile, + onReset, showDevTools, onDevToolsLoad, devToolsLoaded, @@ -30,6 +31,7 @@ export function CustomPreset({ isSingleFile: boolean; showDevTools: boolean; devToolsLoaded: boolean; + onReset: () => void; onDevToolsLoad: () => void; }) { const lineCountRef = React.useRef<{[key: string]: number}>({}); @@ -57,7 +59,7 @@ export function CustomPreset({
- +
void; +}) { const {sandpack} = useSandpack(); const [dropdownActive, setDropdownActive] = React.useState(false); const {openPaths, clients} = sandpack; @@ -41,9 +47,11 @@ export function NavigationBar({showDownload}: {showDownload: boolean}) { return; }, [openPaths.length, resizeHandler]); - const onReset = () => { + const handleReset = () => { sandpack.resetAllFiles(); refresh(); + + onReset(); }; return ( @@ -55,7 +63,7 @@ export function NavigationBar({showDownload}: {showDownload: boolean}) { className="px-3 flex items-center justify-end flex-grow text-right" translate="yes"> {showDownload && } - +
diff --git a/beta/src/components/MDX/Sandpack/index.tsx b/beta/src/components/MDX/Sandpack/index.tsx index 943bfd420f3..a90adc22dc3 100644 --- a/beta/src/components/MDX/Sandpack/index.tsx +++ b/beta/src/components/MDX/Sandpack/index.tsx @@ -66,8 +66,7 @@ ul { function Sandpack(props: SandpackProps) { let {children, setup, autorun = true, showDevTools = false} = props; - const [shouldShowDevTools, setShouldShowDevTools] = - React.useState(showDevTools); + let [resetKey, setResetKey] = React.useState(0); const [devToolsLoaded, setDevToolsLoaded] = React.useState(false); let codeSnippets = React.Children.toArray(children) as React.ReactElement[]; let isSingleFile = true; @@ -124,17 +123,38 @@ function Sandpack(props: SandpackProps) { hidden: true, }; + let key = String(resetKey); + if (process.env.NODE_ENV !== 'production') { + // Remount on any source change in development. + key += + '-' + + JSON.stringify({ + ...props, + children: files, + }); + } + return ( -
+
+ autorun={autorun} + key={key}> setDevToolsLoaded(true)} devToolsLoaded={devToolsLoaded} + onReset={() => { + /** + * Leverage Sandpack API to reset the changes + * and refresh the preview component + */ + if (process.env.NODE_ENV !== 'production') { + setResetKey((k) => k + 1); + } + }} />
From a965508601b446ea53d8ae1b85ff6c73c9ce0d72 Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Wed, 19 Jan 2022 13:24:01 +0000 Subject: [PATCH 23/25] refactor: icon align --- beta/src/components/Icon/IconNewPage.tsx | 5 ++--- beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/beta/src/components/Icon/IconNewPage.tsx b/beta/src/components/Icon/IconNewPage.tsx index 2ee8214dd26..d13b5069fd4 100644 --- a/beta/src/components/Icon/IconNewPage.tsx +++ b/beta/src/components/Icon/IconNewPage.tsx @@ -5,15 +5,14 @@ import * as React from 'react'; export const IconNewPage = React.memo( - function IconNewPage({className, ...rest}) { + function IconNewPage(props) { return ( + {...props}> { className="text-sm text-primary dark:text-primary-dark inline-flex items-center hover:text-link duration-100 ease-in transition mx-1 ml-3 md:ml-1" title="Open in CodeSandbox"> Fork From 32ba5ff62705a186aeabeb243eb1cb89f10ee8f8 Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Mon, 24 Jan 2022 11:00:59 +0000 Subject: [PATCH 24/25] update sandpack --- beta/package.json | 2 +- beta/yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/beta/package.json b/beta/package.json index 4abc7654161..6776f087276 100644 --- a/beta/package.json +++ b/beta/package.json @@ -22,7 +22,7 @@ "check-all": "npm-run-all prettier lint:fix tsc" }, "dependencies": { - "@codesandbox/sandpack-react": "0.13.3-experimental.0", + "@codesandbox/sandpack-react": "0.13.6-experimental.0", "@docsearch/css": "3.0.0-alpha.41", "@docsearch/react": "3.0.0-alpha.41", "@headlessui/react": "^1.3.0", diff --git a/beta/yarn.lock b/beta/yarn.lock index 2ab8edabbc5..f0e1d6d1d47 100644 --- a/beta/yarn.lock +++ b/beta/yarn.lock @@ -562,18 +562,18 @@ style-mod "^4.0.0" w3c-keyname "^2.2.4" -"@codesandbox/sandpack-client@^0.13.3-experimental.0": - version "0.13.5" - resolved "https://registry.yarnpkg.com/@codesandbox/sandpack-client/-/sandpack-client-0.13.5.tgz#51482ef45cf177f03f79e5a65b5b02901aea5bdd" - integrity sha512-KdHWT5y/sqOEGRHYCLKb2eMAe4s3ZYkeeY++DhrMdtXH4091Ut6rXrNdM8uEzGlcM0o1Y8BZZdChGGqFozmWFA== +"@codesandbox/sandpack-client@^0.13.6-experimental.0": + version "0.13.6-experimental.0" + resolved "https://registry.yarnpkg.com/@codesandbox/sandpack-client/-/sandpack-client-0.13.6-experimental.0.tgz#6688663f74f3f526f11691fb23cc3d1dea6d1f80" + integrity sha512-xEwGRg3ETgsmcGFYAcWSyYDRRxy5uwxQ2Zu0G82GXySZunLYwc5gQy+NOfgjnn6O+Tp7BW4ao6j3OGTZYqZOUg== dependencies: codesandbox-import-utils "^1.2.3" lodash.isequal "^4.5.0" -"@codesandbox/sandpack-react@0.13.3-experimental.0": - version "0.13.3-experimental.0" - resolved "https://registry.yarnpkg.com/@codesandbox/sandpack-react/-/sandpack-react-0.13.3-experimental.0.tgz#ab8c70b871c928a3d81b4666884af79dd1b56644" - integrity sha512-1AGoCog73ur0XXbTs4+rirfw3tkeeAIphbNA5Tp8MummzR+uH9FQcXkrXmKekWsEvLO9mikOvFvDoY24PZuS4A== +"@codesandbox/sandpack-react@0.13.6-experimental.0": + version "0.13.6-experimental.0" + resolved "https://registry.yarnpkg.com/@codesandbox/sandpack-react/-/sandpack-react-0.13.6-experimental.0.tgz#3070cd0e5b741284133b65e32d313b2aca0c5d50" + integrity sha512-QLP6wusM8COpFpmizUh1HGtNmKXDo8KNk5NSYSsCojeQyr9YFC1ye65MM6bMp5kXeF7c6kJFs9MulxpIckEbUQ== dependencies: "@code-hike/classer" "^0.0.0-aa6efee" "@codemirror/closebrackets" "^0.19.0" @@ -589,7 +589,7 @@ "@codemirror/matchbrackets" "^0.19.3" "@codemirror/state" "^0.19.6" "@codemirror/view" "^0.19.32" - "@codesandbox/sandpack-client" "^0.13.3-experimental.0" + "@codesandbox/sandpack-client" "^0.13.6-experimental.0" "@react-hook/intersection-observer" "^3.1.1" codesandbox-import-util-types "^2.2.3" codesandbox-import-utils "^2.2.3" From 06866631aa93bc21bf56efffde4fe259a5f36a14 Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Mon, 24 Jan 2022 11:26:23 +0000 Subject: [PATCH 25/25] logic to keep the content synced --- .../components/MDX/CodeBlock/CodeBlock.tsx | 1 + .../components/MDX/Sandpack/CustomPreset.tsx | 4 +--- .../components/MDX/Sandpack/NavigationBar.tsx | 10 +------- beta/src/components/MDX/Sandpack/index.tsx | 24 +------------------ 4 files changed, 4 insertions(+), 35 deletions(-) diff --git a/beta/src/components/MDX/CodeBlock/CodeBlock.tsx b/beta/src/components/MDX/CodeBlock/CodeBlock.tsx index ebf0e314d0b..e36cb1d901e 100644 --- a/beta/src/components/MDX/CodeBlock/CodeBlock.tsx +++ b/beta/src/components/MDX/CodeBlock/CodeBlock.tsx @@ -91,6 +91,7 @@ const CodeBlock = function CodeBlock({ 'sp-cm': styles.codeViewer, }}> diff --git a/beta/src/components/MDX/Sandpack/CustomPreset.tsx b/beta/src/components/MDX/Sandpack/CustomPreset.tsx index e775e059df8..a3ea1fe0290 100644 --- a/beta/src/components/MDX/Sandpack/CustomPreset.tsx +++ b/beta/src/components/MDX/Sandpack/CustomPreset.tsx @@ -23,7 +23,6 @@ import {CustomTheme} from './Themes'; export function CustomPreset({ isSingleFile, - onReset, showDevTools, onDevToolsLoad, devToolsLoaded, @@ -31,7 +30,6 @@ export function CustomPreset({ isSingleFile: boolean; showDevTools: boolean; devToolsLoaded: boolean; - onReset: () => void; onDevToolsLoad: () => void; }) { const lineCountRef = React.useRef<{[key: string]: number}>({}); @@ -59,7 +57,7 @@ export function CustomPreset({
- +
void; -}) { +export function NavigationBar({showDownload}: {showDownload: boolean}) { const {sandpack} = useSandpack(); const [dropdownActive, setDropdownActive] = React.useState(false); const {openPaths, clients} = sandpack; @@ -50,8 +44,6 @@ export function NavigationBar({ const handleReset = () => { sandpack.resetAllFiles(); refresh(); - - onReset(); }; return ( diff --git a/beta/src/components/MDX/Sandpack/index.tsx b/beta/src/components/MDX/Sandpack/index.tsx index a90adc22dc3..5c6744bbaab 100644 --- a/beta/src/components/MDX/Sandpack/index.tsx +++ b/beta/src/components/MDX/Sandpack/index.tsx @@ -66,7 +66,6 @@ ul { function Sandpack(props: SandpackProps) { let {children, setup, autorun = true, showDevTools = false} = props; - let [resetKey, setResetKey] = React.useState(0); const [devToolsLoaded, setDevToolsLoaded] = React.useState(false); let codeSnippets = React.Children.toArray(children) as React.ReactElement[]; let isSingleFile = true; @@ -123,38 +122,17 @@ function Sandpack(props: SandpackProps) { hidden: true, }; - let key = String(resetKey); - if (process.env.NODE_ENV !== 'production') { - // Remount on any source change in development. - key += - '-' + - JSON.stringify({ - ...props, - children: files, - }); - } - return (
+ autorun={autorun}> setDevToolsLoaded(true)} devToolsLoaded={devToolsLoaded} - onReset={() => { - /** - * Leverage Sandpack API to reset the changes - * and refresh the preview component - */ - if (process.env.NODE_ENV !== 'production') { - setResetKey((k) => k + 1); - } - }} />