From 04c5d16bb0e7e5045ff1f3a7d6bec034a228aca6 Mon Sep 17 00:00:00 2001 From: Navin Date: Tue, 25 Aug 2020 12:19:01 +0530 Subject: [PATCH] =?UTF-8?q?refactor(accordion):=20=E2=99=BB=EF=B8=8F=20=20?= =?UTF-8?q?add=20helper=20for=20reducer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 30 +- src/accordion/AccordionState.ts | 24 +- yarn.lock | 625 +++++++++++++++++--------------- 3 files changed, 366 insertions(+), 313 deletions(-) diff --git a/package.json b/package.json index f9e3fe8cc..de9612d27 100644 --- a/package.json +++ b/package.json @@ -26,24 +26,24 @@ "dependencies": { "@chakra-ui/hooks": "1.0.0-next.7", "@chakra-ui/utils": "1.0.0-next.7", - "reakit": "1.2.2", - "reakit-system": "0.14.2", - "reakit-utils": "0.14.2" + "reakit": "1.2.3", + "reakit-system": "0.14.3", + "reakit-utils": "0.14.3" }, "devDependencies": { - "@babel/core": "7.11.1", + "@babel/core": "7.11.4", "@commitlint/cli": "9.1.2", "@commitlint/config-conventional": "9.1.2", - "@storybook/addon-a11y": "6.0.14", - "@storybook/addon-actions": "6.0.14", - "@storybook/addon-essentials": "6.0.14", - "@storybook/addon-links": "6.0.14", - "@storybook/addon-storysource": "6.0.14", - "@storybook/react": "6.0.14", - "@types/react": "16.9.46", + "@storybook/addon-a11y": "6.0.17", + "@storybook/addon-actions": "6.0.17", + "@storybook/addon-essentials": "6.0.17", + "@storybook/addon-links": "6.0.17", + "@storybook/addon-storysource": "6.0.17", + "@storybook/react": "6.0.17", + "@types/react": "16.9.47", "@types/react-dom": "16.9.8", - "@typescript-eslint/eslint-plugin": "3.9.1", - "@typescript-eslint/parser": "3.9.1", + "@typescript-eslint/eslint-plugin": "3.10.0", + "@typescript-eslint/parser": "3.10.0", "babel-eslint": "10.1.0", "babel-loader": "8.1.0", "eslint": "7.7.0", @@ -58,11 +58,11 @@ "gacp": "2.10.0", "husky": "4.2.5", "lint-staged": "10.2.11", - "prettier": "2.0.5", + "prettier": "2.1.0", "react": "16.13.1", "react-dom": "16.13.1", "react-is": "16.13.1", "sort-package-json": "1.44.0", - "typescript": "3.9.7" + "typescript": "4.0.2" } } diff --git a/src/accordion/AccordionState.ts b/src/accordion/AccordionState.ts index 1df8f3774..1a152d26e 100644 --- a/src/accordion/AccordionState.ts +++ b/src/accordion/AccordionState.ts @@ -121,11 +121,7 @@ function reducer( case "registerButton": { const { button } = action; - const item = items.find(r => r.ref.current?.contains(button.ref.current)); - const nextItems = items.filter( - r => !r.ref.current?.contains(button.ref.current), - ); - const nextItem = { ...item, button } as Item; + const { nextItem, nextItems } = getNextItem("button", button, items); return { ...state, @@ -136,11 +132,7 @@ function reducer( case "registerPanel": { const { panel } = action; - const item = items.find(r => r.ref.current?.contains(panel.ref.current)); - const nextItems = items.filter( - r => !r.ref.current?.contains(panel.ref.current), - ); - const nextItem = { ...item, panel } as Item; + const { nextItem, nextItems } = getNextItem("panel", panel, items); return { ...state, @@ -162,3 +154,15 @@ function reducer( throw new Error(); } } + +function getNextItem(type: string, currentItem: Button | Panel, items: Item[]) { + const item = items.find(r => + r.ref.current?.contains(currentItem.ref.current), + ); + const nextItems = items.filter( + r => !r.ref.current?.contains(currentItem.ref.current), + ); + const nextItem = { ...item, [type]: currentItem } as Item; + + return { nextItem, nextItems }; +} diff --git a/yarn.lock b/yarn.lock index e4c99fa55..88ed573f1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -47,7 +47,29 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/core@7.11.1", "@babel/core@^7.1.0", "@babel/core@^7.7.5", "@babel/core@^7.9.0": +"@babel/core@7.11.4": + version "7.11.4" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.11.4.tgz#4301dfdfafa01eeb97f1896c5501a3f0655d4229" + integrity sha512-5deljj5HlqRXN+5oJTY7Zs37iH3z3b++KjiKtIsJy1NrjOOVSEaJHEetLBhyu0aQOSNNZ/0IuEAan9GzRuDXHg== + dependencies: + "@babel/code-frame" "^7.10.4" + "@babel/generator" "^7.11.4" + "@babel/helper-module-transforms" "^7.11.0" + "@babel/helpers" "^7.10.4" + "@babel/parser" "^7.11.4" + "@babel/template" "^7.10.4" + "@babel/traverse" "^7.11.0" + "@babel/types" "^7.11.0" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.1" + json5 "^2.1.2" + lodash "^4.17.19" + resolve "^1.3.2" + semver "^5.4.1" + source-map "^0.5.0" + +"@babel/core@^7.1.0", "@babel/core@^7.7.5", "@babel/core@^7.9.0": version "7.11.1" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.11.1.tgz#2c55b604e73a40dc21b0e52650b11c65cf276643" integrity sha512-XqF7F6FWQdKGGWAzGELL+aCO1p+lRY5Tj5/tbT3St1G8NaH70jhhDIKknIZaDans0OQBG5wRAldROLHSt44BgQ== @@ -78,6 +100,15 @@ jsesc "^2.5.1" source-map "^0.5.0" +"@babel/generator@^7.11.4": + version "7.11.4" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.11.4.tgz#1ec7eec00defba5d6f83e50e3ee72ae2fee482be" + integrity sha512-Rn26vueFx0eOoz7iifCN2UHT6rGtnkSGWSoDRIy8jZN3B91PzeSULbswfLoOWuTuAcNwpG/mxy+uCTDnZ9Mp1g== + dependencies: + "@babel/types" "^7.11.0" + jsesc "^2.5.1" + source-map "^0.5.0" + "@babel/helper-annotate-as-pure@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.4.tgz#5bf0d495a3f757ac3bda48b5bf3b3ba309c72ba3" @@ -309,6 +340,11 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.11.3.tgz#9e1eae46738bcd08e23e867bab43e7b95299a8f9" integrity sha512-REo8xv7+sDxkKvoxEywIdsNFiZLybwdI7hcT5uEPyQrSMB4YQ973BfC9OOrD/81MaIjh6UxdulIQXkjmiH3PcA== +"@babel/parser@^7.11.4": + version "7.11.4" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.11.4.tgz#6fa1a118b8b0d80d0267b719213dc947e88cc0ca" + integrity sha512-MggwidiH+E9j5Sh8pbrX5sJvMcsqS5o+7iB42M9/k0CD63MjYbdP4nhSh7uB5wnv2/RVzTZFTxzF/kIa5mrCqA== + "@babel/plugin-proposal-async-generator-functions@^7.10.4": version "7.10.5" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.10.5.tgz#3491cabf2f7c179ab820606cec27fed15e0e8558" @@ -1515,19 +1551,19 @@ resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ== -"@storybook/addon-a11y@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/addon-a11y/-/addon-a11y-6.0.14.tgz#f9fddfed84219772fc5ef947ef42a349f885b3cb" - integrity sha512-Q92xbzHP95c5L8wnjOqv21Hl8vpromY+jyJUCEblq/kXyTMmHkwdlICvRaAJdO+ZK/nirhB05LbqX4NY52Tz8A== - dependencies: - "@storybook/addons" "6.0.14" - "@storybook/api" "6.0.14" - "@storybook/channels" "6.0.14" - "@storybook/client-api" "6.0.14" - "@storybook/client-logger" "6.0.14" - "@storybook/components" "6.0.14" - "@storybook/core-events" "6.0.14" - "@storybook/theming" "6.0.14" +"@storybook/addon-a11y@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/addon-a11y/-/addon-a11y-6.0.17.tgz#a5730a1b256e7bbbfa9796e67ff48e27321d37be" + integrity sha512-MzDYe+YyMQlHIQYnLduBd849DvNv8juNQrFBmq1IJqpzqH3O9WSu5qze27yw+a9UkjRh6vBdxXQvLHJRbrMV5A== + dependencies: + "@storybook/addons" "6.0.17" + "@storybook/api" "6.0.17" + "@storybook/channels" "6.0.17" + "@storybook/client-api" "6.0.17" + "@storybook/client-logger" "6.0.17" + "@storybook/components" "6.0.17" + "@storybook/core-events" "6.0.17" + "@storybook/theming" "6.0.17" axe-core "^3.5.2" core-js "^3.0.1" global "^4.3.2" @@ -1537,17 +1573,17 @@ ts-dedent "^1.1.1" util-deprecate "^1.0.2" -"@storybook/addon-actions@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-6.0.14.tgz#43a021f3cfcd34ee124f60d2f8c53b5ec8f131fe" - integrity sha512-XquNETrYCd52L02BB0Xm1YxaQryG7W1Q8ORkm+kJTnHpHWe/YDlW/jzsDhvGuB2PFNC3GNCegTAVK50o4X4w+Q== - dependencies: - "@storybook/addons" "6.0.14" - "@storybook/api" "6.0.14" - "@storybook/client-api" "6.0.14" - "@storybook/components" "6.0.14" - "@storybook/core-events" "6.0.14" - "@storybook/theming" "6.0.14" +"@storybook/addon-actions@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-6.0.17.tgz#03678c28befc31bbdb6b50d6f7f221451d17f8db" + integrity sha512-JUyfrEcZ+HEO/9bBkBn9LKvMFSn7I84ZFqE158lVV0hh+zhFBWcBle2f4cICLRDdRRsHbKKuN+LwLxokwyqQ6w== + dependencies: + "@storybook/addons" "6.0.17" + "@storybook/api" "6.0.17" + "@storybook/client-api" "6.0.17" + "@storybook/components" "6.0.17" + "@storybook/core-events" "6.0.17" + "@storybook/theming" "6.0.17" core-js "^3.0.1" fast-deep-equal "^3.1.1" global "^4.3.2" @@ -1561,40 +1597,40 @@ util-deprecate "^1.0.2" uuid "^8.0.0" -"@storybook/addon-backgrounds@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-6.0.14.tgz#e1edfad9e71210efacc06e13041d1ebcecc87fa2" - integrity sha512-Jesc3EioZithq9AScF7k1u3iilKFO0tkFvJd5Ry+mGGFWBL1JtKGctHcVw5i/RwwHPzXhjZgA7ktt1DkirbRQg== - dependencies: - "@storybook/addons" "6.0.14" - "@storybook/api" "6.0.14" - "@storybook/client-logger" "6.0.14" - "@storybook/components" "6.0.14" - "@storybook/core-events" "6.0.14" - "@storybook/theming" "6.0.14" +"@storybook/addon-backgrounds@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-6.0.17.tgz#1bd1bfbe92aeccac0bfd370a05a4871df2833422" + integrity sha512-Jbmn8i52rMGdYsK8iXzJezFgZGabtbbAswNgKq8P9Sz/BKuWf4SyxNGETcREiz8w7Pedtv63LzB+/620wcWZuQ== + dependencies: + "@storybook/addons" "6.0.17" + "@storybook/api" "6.0.17" + "@storybook/client-logger" "6.0.17" + "@storybook/components" "6.0.17" + "@storybook/core-events" "6.0.17" + "@storybook/theming" "6.0.17" core-js "^3.0.1" memoizerific "^1.11.3" react "^16.8.3" regenerator-runtime "^0.13.3" -"@storybook/addon-controls@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-6.0.14.tgz#1d92234073c967d698ea307e36cdeb2646997e15" - integrity sha512-ZQbJRoVa/brRbO4V4uVTn6iI5AMK2grnZ0X8QYnXGLBOtI1ps3FRy1hu/N5MaA/i73A2B3FNkeMJ6ha6e6j9QQ== - dependencies: - "@storybook/addons" "6.0.14" - "@storybook/api" "6.0.14" - "@storybook/client-api" "6.0.14" - "@storybook/components" "6.0.14" - "@storybook/node-logger" "6.0.14" - "@storybook/theming" "6.0.14" +"@storybook/addon-controls@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-6.0.17.tgz#a02bd1a8a8f9fdafa14952b6589f465eac321514" + integrity sha512-OgVOO7zxFAuku459oFcrIESYkTzZvdy6qjaiMHZFRg6rs16M2HsRwbp1R8c3Z29CMCgJHHeSo1lmNCGOqtCv1Q== + dependencies: + "@storybook/addons" "6.0.17" + "@storybook/api" "6.0.17" + "@storybook/client-api" "6.0.17" + "@storybook/components" "6.0.17" + "@storybook/node-logger" "6.0.17" + "@storybook/theming" "6.0.17" core-js "^3.0.1" ts-dedent "^1.1.1" -"@storybook/addon-docs@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-6.0.14.tgz#e4b0805664e35b09f219459e1235e90d91be0282" - integrity sha512-JYmSVWm6P428yulV3YluWCM1ZGYDOSoM+ieI9gNJrbHqITeTx4OL/ds3BDCMH812OO4FLdmV0vdA+z3IYdnefw== +"@storybook/addon-docs@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-6.0.17.tgz#574bd0cc8efd92dca88f6a963e492930607b92b9" + integrity sha512-YcvHqsFx3tMlJs+zQii7NXsM4VOT5414nRIzuRdIkd48GaisqYOEo4cQ3AJ6qS7Dv9f9ugCuh0dM3RD0b02kiQ== dependencies: "@babel/generator" "^7.9.6" "@babel/parser" "^7.9.6" @@ -1604,18 +1640,18 @@ "@mdx-js/loader" "^1.5.1" "@mdx-js/mdx" "^1.5.1" "@mdx-js/react" "^1.5.1" - "@storybook/addons" "6.0.14" - "@storybook/api" "6.0.14" - "@storybook/client-api" "6.0.14" - "@storybook/client-logger" "6.0.14" - "@storybook/components" "6.0.14" - "@storybook/core" "6.0.14" - "@storybook/core-events" "6.0.14" + "@storybook/addons" "6.0.17" + "@storybook/api" "6.0.17" + "@storybook/client-api" "6.0.17" + "@storybook/client-logger" "6.0.17" + "@storybook/components" "6.0.17" + "@storybook/core" "6.0.17" + "@storybook/core-events" "6.0.17" "@storybook/csf" "0.0.1" - "@storybook/node-logger" "6.0.14" - "@storybook/postinstall" "6.0.14" - "@storybook/source-loader" "6.0.14" - "@storybook/theming" "6.0.14" + "@storybook/node-logger" "6.0.17" + "@storybook/postinstall" "6.0.17" + "@storybook/source-loader" "6.0.17" + "@storybook/theming" "6.0.17" acorn "^7.1.0" acorn-jsx "^5.1.0" acorn-walk "^7.0.0" @@ -1635,34 +1671,34 @@ ts-dedent "^1.1.1" util-deprecate "^1.0.2" -"@storybook/addon-essentials@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-6.0.14.tgz#9eb9243ac1751175c3fc1b938bac8a185a00eeda" - integrity sha512-jccIwelJv2ni3JjNneVo8ctMwnqFCLw6CMv2X6uzL1K2YTXwM3fqVynEIQfnCRxpioRWyqmw4BCCwDFEBZLTSA== - dependencies: - "@storybook/addon-actions" "6.0.14" - "@storybook/addon-backgrounds" "6.0.14" - "@storybook/addon-controls" "6.0.14" - "@storybook/addon-docs" "6.0.14" - "@storybook/addon-toolbars" "6.0.14" - "@storybook/addon-viewport" "6.0.14" - "@storybook/addons" "6.0.14" - "@storybook/api" "6.0.14" - "@storybook/node-logger" "6.0.14" +"@storybook/addon-essentials@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-6.0.17.tgz#2c0dee10a7d2e6dc5cd5c25e1ec9ebc43592b8f9" + integrity sha512-8vmmHShwUHOGZteYU2ZTlXIV7zeX8FHMl1PW3agwrxyAcc4lJmfh5vHOE9E94pw45gM1V9TwK1LHIMokDhVVOg== + dependencies: + "@storybook/addon-actions" "6.0.17" + "@storybook/addon-backgrounds" "6.0.17" + "@storybook/addon-controls" "6.0.17" + "@storybook/addon-docs" "6.0.17" + "@storybook/addon-toolbars" "6.0.17" + "@storybook/addon-viewport" "6.0.17" + "@storybook/addons" "6.0.17" + "@storybook/api" "6.0.17" + "@storybook/node-logger" "6.0.17" core-js "^3.0.1" regenerator-runtime "^0.13.3" ts-dedent "^1.1.1" -"@storybook/addon-links@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-6.0.14.tgz#40fb670a2355df1276fb0d17e3f348e62a2741ad" - integrity sha512-/meWzj/RyHZDGSc25cZkxykuXAk8Aqsiqxr+Xex2e9subLG0XbpjyI4jOOevtBQeP7vRO4nkj8nnqdSLSfmh2g== +"@storybook/addon-links@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-6.0.17.tgz#f1d1380307cc7ed27672b915016a1e962059f0d2" + integrity sha512-S62mXFnB70LEtBi1CTrfYFy1w/lrn16PsG2nXnJiCtol7Gw+kcOKtYisndUJ+to3hjIkYztK+aorX/NsLn5GZA== dependencies: - "@storybook/addons" "6.0.14" - "@storybook/client-logger" "6.0.14" - "@storybook/core-events" "6.0.14" + "@storybook/addons" "6.0.17" + "@storybook/client-logger" "6.0.17" + "@storybook/core-events" "6.0.17" "@storybook/csf" "0.0.1" - "@storybook/router" "6.0.14" + "@storybook/router" "6.0.17" "@types/qs" "^6.9.0" core-js "^3.0.1" global "^4.3.2" @@ -1671,83 +1707,83 @@ regenerator-runtime "^0.13.3" ts-dedent "^1.1.1" -"@storybook/addon-storysource@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/addon-storysource/-/addon-storysource-6.0.14.tgz#60f15b61528edca2457088748a5b9b6189535737" - integrity sha512-TkyJaXkhTUqlEb69aDhxOp2uLkDcsU+N6f9hr70lbJWAmkx4p+aC2V+H4Q2tkfx4emupYy1uJaPw01NnjojQNw== - dependencies: - "@storybook/addons" "6.0.14" - "@storybook/api" "6.0.14" - "@storybook/client-logger" "6.0.14" - "@storybook/components" "6.0.14" - "@storybook/router" "6.0.14" - "@storybook/source-loader" "6.0.14" - "@storybook/theming" "6.0.14" +"@storybook/addon-storysource@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/addon-storysource/-/addon-storysource-6.0.17.tgz#c0cada3a650965296e05813235d9079de3f22d01" + integrity sha512-2FqfImGTMYkty7UNQ8KL4feZU20GrNbj2lyi3KHsgNRYnLjhwxKfilqFdqbFnXda4zYxJ2Q99PmnBmg+rBGgDw== + dependencies: + "@storybook/addons" "6.0.17" + "@storybook/api" "6.0.17" + "@storybook/client-logger" "6.0.17" + "@storybook/components" "6.0.17" + "@storybook/router" "6.0.17" + "@storybook/source-loader" "6.0.17" + "@storybook/theming" "6.0.17" core-js "^3.0.1" estraverse "^4.2.0" loader-utils "^2.0.0" - prettier "^2.0.5" + prettier "~2.0.5" prop-types "^15.7.2" react "^16.9.17" react-syntax-highlighter "^12.2.1" regenerator-runtime "^0.13.3" -"@storybook/addon-toolbars@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-6.0.14.tgz#79bf8aafa114e01ec08047c615b090f78346ba84" - integrity sha512-5ec+fUaM9WJDG0YSEnlHsrRRhcTlxdAB9Wkxuuth0wE/U0W2SKQNLFL726NK4whf04XwUD0lVUY60N8tErIxhw== +"@storybook/addon-toolbars@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-6.0.17.tgz#fa6ca43eb8e5a1f9b4e2694866cee2db32605f76" + integrity sha512-xHfxr626iw3OWH0W5TrfzxJdb08z98zCwWTtOGHFsWYqD5HTh7GXDLk83ME+i/eAlTVXW8pQA0VetaCrqNG87w== dependencies: - "@storybook/addons" "6.0.14" - "@storybook/api" "6.0.14" - "@storybook/client-api" "6.0.14" - "@storybook/components" "6.0.14" + "@storybook/addons" "6.0.17" + "@storybook/api" "6.0.17" + "@storybook/client-api" "6.0.17" + "@storybook/components" "6.0.17" core-js "^3.0.1" -"@storybook/addon-viewport@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-6.0.14.tgz#8f3a02001e2ea55888c9e6c992d05d61ed2a9aad" - integrity sha512-4JcjP/2jsNvFqDZLI/DaS9AcTypTZ9j2AnMQOVtm11VCqb+XmVJLxz7OpUejJgvRiyjDE7lrFyWdTYrsfdxdhg== - dependencies: - "@storybook/addons" "6.0.14" - "@storybook/api" "6.0.14" - "@storybook/client-logger" "6.0.14" - "@storybook/components" "6.0.14" - "@storybook/core-events" "6.0.14" - "@storybook/theming" "6.0.14" +"@storybook/addon-viewport@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-6.0.17.tgz#943a46b4f9a446976c85779e5fac9f02b4d0d49e" + integrity sha512-Td1xF29Gc+P86bMTktzKh9wy/z/D9DQlG6a2WOhHdEppIRhuUArbV/33eF4KcQQ8vTBpvBNEzPBXXgl9msGmRg== + dependencies: + "@storybook/addons" "6.0.17" + "@storybook/api" "6.0.17" + "@storybook/client-logger" "6.0.17" + "@storybook/components" "6.0.17" + "@storybook/core-events" "6.0.17" + "@storybook/theming" "6.0.17" core-js "^3.0.1" global "^4.3.2" memoizerific "^1.11.3" prop-types "^15.7.2" regenerator-runtime "^0.13.3" -"@storybook/addons@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-6.0.14.tgz#6a599cc5ad177bb19ab2267f9a08c77aff4bf002" - integrity sha512-e7OGz42HnFnC7Zv3mNiSKibLqpnsDZQL/9UZ/MKBZUH2SUQxEI8VV0cbuYHe5dwgrcyX+U9JqD4KrVGVhY+qxA== - dependencies: - "@storybook/api" "6.0.14" - "@storybook/channels" "6.0.14" - "@storybook/client-logger" "6.0.14" - "@storybook/core-events" "6.0.14" - "@storybook/router" "6.0.14" - "@storybook/theming" "6.0.14" +"@storybook/addons@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-6.0.17.tgz#7658a5b6d1537345f0a8d514beebaf3a7608c60d" + integrity sha512-DuPS1KkXgp7YRs5smp9zNFPXXZpSSGNc/NfIFY5O2ILG3FC3ehoz0/5NOnY3CMvzAkWDzWkvJxIgmrJWhAro/A== + dependencies: + "@storybook/api" "6.0.17" + "@storybook/channels" "6.0.17" + "@storybook/client-logger" "6.0.17" + "@storybook/core-events" "6.0.17" + "@storybook/router" "6.0.17" + "@storybook/theming" "6.0.17" core-js "^3.0.1" global "^4.3.2" regenerator-runtime "^0.13.3" -"@storybook/api@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/api/-/api-6.0.14.tgz#76f13ad35640517e6c38c76a540a97a846892173" - integrity sha512-Vby13i28KKZtbTxndGaMppWbGMClYyRVpKOHPkKMJTWp0GOqmgDcOtcfXcIwrQnQxTyiltbnCd0ieROU/aCZLA== +"@storybook/api@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/api/-/api-6.0.17.tgz#807860b53a09a3f7ff1b9f2623950930d633ee7b" + integrity sha512-FvM5ba6UYDM0nB1o7QWTp7yiLPw54PN/We1IsVlr5kZjAy5sPlJa2inn3X3Kc2pTscFHZVfRsVRbKD1ls6zMQA== dependencies: "@reach/router" "^1.3.3" - "@storybook/channels" "6.0.14" - "@storybook/client-logger" "6.0.14" - "@storybook/core-events" "6.0.14" + "@storybook/channels" "6.0.17" + "@storybook/client-logger" "6.0.17" + "@storybook/core-events" "6.0.17" "@storybook/csf" "0.0.1" - "@storybook/router" "6.0.14" + "@storybook/router" "6.0.17" "@storybook/semver" "^7.3.2" - "@storybook/theming" "6.0.14" + "@storybook/theming" "6.0.17" "@types/reach__router" "^1.3.5" core-js "^3.0.1" fast-deep-equal "^3.1.1" @@ -1761,38 +1797,38 @@ ts-dedent "^1.1.1" util-deprecate "^1.0.2" -"@storybook/channel-postmessage@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-6.0.14.tgz#d3c86542d175195686b5fcb9d9073e99fddb54cd" - integrity sha512-mcYz5KAwkvR2m9+ymcQKurWeoMsogPHMZd1e1SQAV7mmJeqhnea1Q1TQBAt/4T0InnAaHN1Sxoq6QBNRBcrGhA== +"@storybook/channel-postmessage@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-6.0.17.tgz#0384fc3ebf5eb7df73cadf0b3955c1f5f15e73d4" + integrity sha512-JzEcJfU5rG9ARJV6Vj8Pkmsgs/Nc+2JDG7/O+0XExE+ipI0In+Sy0eero672sNZK3cz+U+Fh5u69d4y8nk0BNw== dependencies: - "@storybook/channels" "6.0.14" - "@storybook/client-logger" "6.0.14" - "@storybook/core-events" "6.0.14" + "@storybook/channels" "6.0.17" + "@storybook/client-logger" "6.0.17" + "@storybook/core-events" "6.0.17" core-js "^3.0.1" global "^4.3.2" qs "^6.6.0" telejson "^5.0.2" -"@storybook/channels@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-6.0.14.tgz#c3b0b7b29d1cee7f14f8c7bf19a84253a6836eeb" - integrity sha512-dzGrR2Num+M733kTqqo0MDgXn3nH8xwjR0mxoQTCUgEZLnf0F+qdETnzuHMg57cmZkWQTwkYkgFYt8JSKwHR0g== +"@storybook/channels@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-6.0.17.tgz#6c084ddc9ee673d9ad4ab523cfad8bb7ddf7a89e" + integrity sha512-143s/Rbwje30CkHxmqpnsSDQ6vusvcd/0K24xs4ROB2YbWeQE4AEmsdDG1YlXuPQ5VS8desnDb9Jg+Mg8VSwKw== dependencies: core-js "^3.0.1" ts-dedent "^1.1.1" util-deprecate "^1.0.2" -"@storybook/client-api@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-6.0.14.tgz#7ae705d391c72cfd3dcb81751172a3326eacebd1" - integrity sha512-N/7f9n8JjbcwQSOLDIA1ZEDUzjVkWVmreTEassOemlOFqRvrp4FQHdqcRphMuFJkeej5T7ISsHB3mR8ZrrjH1w== +"@storybook/client-api@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-6.0.17.tgz#ce63cb7a0a9b4dbab6947103f9be5d5434415bbd" + integrity sha512-bsCK/1WHyyI6/kf09jqkbzczK32mP9X0nHW4G8V4fdXYhnzFO9H8AG5OMe7R0EEWgiqKFEnA2WA3FzwS3mZgCA== dependencies: - "@storybook/addons" "6.0.14" - "@storybook/channel-postmessage" "6.0.14" - "@storybook/channels" "6.0.14" - "@storybook/client-logger" "6.0.14" - "@storybook/core-events" "6.0.14" + "@storybook/addons" "6.0.17" + "@storybook/channel-postmessage" "6.0.17" + "@storybook/channels" "6.0.17" + "@storybook/client-logger" "6.0.17" + "@storybook/core-events" "6.0.17" "@storybook/csf" "0.0.1" "@types/qs" "^6.9.0" "@types/webpack-env" "^1.15.2" @@ -1806,22 +1842,22 @@ ts-dedent "^1.1.1" util-deprecate "^1.0.2" -"@storybook/client-logger@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-6.0.14.tgz#52c934c8de90248fa84476d470186109b1bffe9c" - integrity sha512-3OMGnKN0YHn+Uda9jXtNIFtLG+LTlTmKEdpPor3yFVhnqemG9+5kptj7Vy26nuWUivQ3mDrnaJGEHuQDUpAoXA== +"@storybook/client-logger@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-6.0.17.tgz#0ac09b3b229be73b26db189a38dae4f2077fab8b" + integrity sha512-+/nxFyZArg4nG8e/+3HL9ayjpPjgVY6nknbrBp2y6+QxTPjfPJPtc0B6nlHm4ckQtMrAoQqCAuO/PwgB+yprCg== dependencies: core-js "^3.0.1" global "^4.3.2" -"@storybook/components@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-6.0.14.tgz#5ac814aefc0c941b7d063712374a0f48111ac759" - integrity sha512-VVG4pBd7wDM1/g1NGMKzR4iZOGUYrtgz1X0JZJoxSCwFRxDHnVT8WMGu1yPRRcZdcsKVAJGLosToEe5r3moSOw== +"@storybook/components@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-6.0.17.tgz#ed86c5462879f2ae64761cc6ebcf624b428dab4c" + integrity sha512-OsKV2/MdCar8BvPeKKc+CTVVtlt6DF0fUDYAf38pxLvGrHuM5Nxor7d6yWxRFk5blMykVWYozwA4q6FlLQbGqg== dependencies: - "@storybook/client-logger" "6.0.14" + "@storybook/client-logger" "6.0.17" "@storybook/csf" "0.0.1" - "@storybook/theming" "6.0.14" + "@storybook/theming" "6.0.17" "@types/overlayscrollbars" "^1.9.0" "@types/react-color" "^3.0.1" "@types/react-syntax-highlighter" "11.0.4" @@ -1842,17 +1878,17 @@ react-textarea-autosize "^8.1.1" ts-dedent "^1.1.1" -"@storybook/core-events@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-6.0.14.tgz#375048a7d7a99bbf789b1eea511c7260b687842f" - integrity sha512-RaTAcyTX0qJS3j1wQzf83xIpJcgEjFJTxTSZMTEunlz23VRwxD6/QP9OP/fVebWGGAFjtLDiovlbeKDskRn6tQ== +"@storybook/core-events@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-6.0.17.tgz#d7c7762fa23e993eda4a32687a1d430b16395d4c" + integrity sha512-vuVAYah82LFh1h9h2iNJiYk/F7ZVDbcZO/1FbbVcx9nTEXy7ltNHjm18RK1RttK74PEpGaxu/AZ2VX3mLnnKuQ== dependencies: core-js "^3.0.1" -"@storybook/core@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/core/-/core-6.0.14.tgz#b85cb35fb05f16bb5fd3428fb2c71447327ec2df" - integrity sha512-V+R3XJqZgL1+T0mbChelUYwXTshrMRRijDaV790M94wnpKITOSLau6WwLeUDYILLPfR2u28gd7+XD9JHeTIBfg== +"@storybook/core@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/core/-/core-6.0.17.tgz#86e4e2dd8d1bb15695d017f4ca79511b60bf85ac" + integrity sha512-+0tn9eC1QJCAjWEwFdxW1oqk65QPHnJXvWLvCg070o0U8PGPgVtLXi6qS8rgITROcgy54KM2Ikpi52t21rFBQw== dependencies: "@babel/plugin-proposal-class-properties" "^7.8.3" "@babel/plugin-proposal-decorators" "^7.8.3" @@ -1875,20 +1911,20 @@ "@babel/preset-react" "^7.8.3" "@babel/preset-typescript" "^7.9.0" "@babel/register" "^7.10.5" - "@storybook/addons" "6.0.14" - "@storybook/api" "6.0.14" - "@storybook/channel-postmessage" "6.0.14" - "@storybook/channels" "6.0.14" - "@storybook/client-api" "6.0.14" - "@storybook/client-logger" "6.0.14" - "@storybook/components" "6.0.14" - "@storybook/core-events" "6.0.14" + "@storybook/addons" "6.0.17" + "@storybook/api" "6.0.17" + "@storybook/channel-postmessage" "6.0.17" + "@storybook/channels" "6.0.17" + "@storybook/client-api" "6.0.17" + "@storybook/client-logger" "6.0.17" + "@storybook/components" "6.0.17" + "@storybook/core-events" "6.0.17" "@storybook/csf" "0.0.1" - "@storybook/node-logger" "6.0.14" - "@storybook/router" "6.0.14" + "@storybook/node-logger" "6.0.17" + "@storybook/router" "6.0.17" "@storybook/semver" "^7.3.2" - "@storybook/theming" "6.0.14" - "@storybook/ui" "6.0.14" + "@storybook/theming" "6.0.17" + "@storybook/ui" "6.0.17" "@types/glob-base" "^0.3.0" "@types/micromatch" "^4.0.1" "@types/node-fetch" "^2.5.4" @@ -1959,10 +1995,10 @@ dependencies: lodash "^4.17.15" -"@storybook/node-logger@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-6.0.14.tgz#61bda1e8ebd50ed248184305a0ed99d64e35a334" - integrity sha512-Egj01EXr2KQFA7cIR7Cj6a6gJaegT8QL3K6KdRWIZVXBZbP8gwvOCKSyDgADJo+7Zlk5V2Llr8S6lIu6DzZ1yA== +"@storybook/node-logger@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-6.0.17.tgz#a5ae8103d0d9399527a27f2d3760aa9aa48ffc44" + integrity sha512-AnV5gn9bjo1YZmFSdCUDs3WJtinzXa3QD/SoObUMdl3BZ/Jly1AAwE9F5FuSox585QRrt29+f7go9qbSn5MeeQ== dependencies: "@types/npmlog" "^4.1.2" chalk "^4.0.0" @@ -1970,23 +2006,23 @@ npmlog "^4.1.2" pretty-hrtime "^1.0.3" -"@storybook/postinstall@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/postinstall/-/postinstall-6.0.14.tgz#7e05869d9ab022abb2d14f297d611f201bf03f1c" - integrity sha512-ECOkHeVpeWesK4HevVZWtwHAA8MWIB0pINFwyocRonEDgqHPYKnkezfNW/1RMtx7n9lS+C/SILZh772qan4EuQ== +"@storybook/postinstall@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/postinstall/-/postinstall-6.0.17.tgz#7a432bfcd07a825e524a27a5552d336c8d7d5a76" + integrity sha512-yokFjOogDUtNGepWH3lhHvyZx5CzCneWYEKwnQGKDGpCYrP5T/o3FpNcmRcdIzQPDjA0T2BloLr5gyuDWEYgkA== dependencies: core-js "^3.0.1" -"@storybook/react@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/react/-/react-6.0.14.tgz#c25cd04b467324c4ad6dbcb75c35561281bc10e2" - integrity sha512-FEX/A2k9NnBZfKH4xAhXcvlKYdXPsqBQ/hewcKWduL34AmK/9Sg5Lhiz7Xka8INbXVXBEeTzw3ZyhNIoOsqMBw== +"@storybook/react@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/react/-/react-6.0.17.tgz#7ebd1c2ac4f9a491d22b78d8a59a77010ec77228" + integrity sha512-JXZQw8oPjYQFHdP4xF0uvZQAe/ZIAuCMKb0FKdnZKzZoNv/MuqCnGZGyayK8UFvkGMf4fs3gi/knSv/QUb3UmA== dependencies: "@babel/preset-flow" "^7.0.0" "@babel/preset-react" "^7.0.0" - "@storybook/addons" "6.0.14" - "@storybook/core" "6.0.14" - "@storybook/node-logger" "6.0.14" + "@storybook/addons" "6.0.17" + "@storybook/core" "6.0.17" + "@storybook/node-logger" "6.0.17" "@storybook/semver" "^7.3.2" "@svgr/webpack" "^5.4.0" "@types/webpack-env" "^1.15.2" @@ -2003,10 +2039,10 @@ ts-dedent "^1.1.1" webpack "^4.43.0" -"@storybook/router@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/router/-/router-6.0.14.tgz#3c8d179206a99af0622a4dfdb685b7348ff518f9" - integrity sha512-I9BFM09yS5SuA8EC0NzYyiIsMA6cYwMimbbjJW40QVa693+WhUVizFMLh7ujbSm/BJo3ZCEcmQeYt9IPo+uGUA== +"@storybook/router@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/router/-/router-6.0.17.tgz#534fe7b46d921bf99f41dfbb057a10be469fb4c2" + integrity sha512-2MY3p2R+dDhLXGtF+hReO9QTlaGPDgNtVBaW8yK+S4UKR36iHlCWulUqR7SrlHIPtnZ15wAIYEMQolIi6B4Zrg== dependencies: "@reach/router" "^1.3.3" "@types/reach__router" "^1.3.5" @@ -2023,31 +2059,31 @@ core-js "^3.6.5" find-up "^4.1.0" -"@storybook/source-loader@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/source-loader/-/source-loader-6.0.14.tgz#3fd6318631f09e8c006490dcce0ad5bc75904c45" - integrity sha512-oU18pGAjl4BiaRqsgmV5G3OQ3eCcp4kKxSAZw2ftSzyDavjUh5uRxysCHCRq0OC4T48KrA7iotm1QAMhsKVRZA== +"@storybook/source-loader@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/source-loader/-/source-loader-6.0.17.tgz#07490892034194aea6591d7e3a8716549d6eb877" + integrity sha512-ayCcfhWaIquuzYTBXnqpuYl9ksXvYwkjGc2APrP1Ub/j/jlJxFcf7XeQlXmcIhrQjMxbJXPgat85nLWqZWXC7Q== dependencies: - "@storybook/addons" "6.0.14" - "@storybook/client-logger" "6.0.14" + "@storybook/addons" "6.0.17" + "@storybook/client-logger" "6.0.17" "@storybook/csf" "0.0.1" core-js "^3.0.1" estraverse "^4.2.0" global "^4.3.2" loader-utils "^2.0.0" lodash "^4.17.15" - prettier "^2.0.5" + prettier "~2.0.5" regenerator-runtime "^0.13.3" -"@storybook/theming@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-6.0.14.tgz#4eec59d3230a72ebf73e3e85228f63fc8efa7306" - integrity sha512-VOsK7yBzrkI9q4AylYmYbgJJC4q1KPOldyZnwy+5U3p6SmcAOYxBs6eD7wFNpaoHBu5YGuGyEGin5fOmafYGmA== +"@storybook/theming@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-6.0.17.tgz#fc58040983d85b18c691980f636a47fddb753d71" + integrity sha512-FgSyr9ozQ4o6wHCssrAO7a7BFcHd+F9DYNb7kPzpqP/X8VcuXkge5M87k8aevy33Zp6XeXmS7NsR1Digmybozg== dependencies: "@emotion/core" "^10.0.20" "@emotion/is-prop-valid" "^0.8.6" "@emotion/styled" "^10.0.17" - "@storybook/client-logger" "6.0.14" + "@storybook/client-logger" "6.0.17" core-js "^3.0.1" deep-object-diff "^1.1.0" emotion-theming "^10.0.19" @@ -2057,21 +2093,21 @@ resolve-from "^5.0.0" ts-dedent "^1.1.1" -"@storybook/ui@6.0.14": - version "6.0.14" - resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-6.0.14.tgz#0984d6cc1a9b7dd2276ea70c0df0f18c2477fa8e" - integrity sha512-33HZ9a/DxvZLq+wQffTq+ryVLBOuyFMtx2cI70HXxH/t8U3/8j+2QFmM7v58RAca9GuGukkjDU+u9rqLPDwaow== +"@storybook/ui@6.0.17": + version "6.0.17" + resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-6.0.17.tgz#af5e5ada600d5fda449359869d39e8ebf6c74c3a" + integrity sha512-tIzBkjCFUYUm7pDtmZLyTMn72wZQREhJHOX/r0Zhzy1DtFmTiGBay+D4R8iwKbksKU5HbthRUUd0eg5LTA8fsw== dependencies: "@emotion/core" "^10.0.20" - "@storybook/addons" "6.0.14" - "@storybook/api" "6.0.14" - "@storybook/channels" "6.0.14" - "@storybook/client-logger" "6.0.14" - "@storybook/components" "6.0.14" - "@storybook/core-events" "6.0.14" - "@storybook/router" "6.0.14" + "@storybook/addons" "6.0.17" + "@storybook/api" "6.0.17" + "@storybook/channels" "6.0.17" + "@storybook/client-logger" "6.0.17" + "@storybook/components" "6.0.17" + "@storybook/core-events" "6.0.17" + "@storybook/router" "6.0.17" "@storybook/semver" "^7.3.2" - "@storybook/theming" "6.0.14" + "@storybook/theming" "6.0.17" "@types/markdown-to-jsx" "^6.11.0" copy-to-clipboard "^3.0.8" core-js "^3.0.1" @@ -2428,7 +2464,7 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@16.9.46": +"@types/react@*": version "16.9.46" resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.46.tgz#f0326cd7adceda74148baa9bff6e918632f5069e" integrity sha512-dbHzO3aAq1lB3jRQuNpuZ/mnu+CdD3H0WVaaBQA8LTT3S33xhVBUj232T8M3tAhSWJs/D/UqORYUlJNl/8VQZg== @@ -2436,6 +2472,14 @@ "@types/prop-types" "*" csstype "^3.0.2" +"@types/react@16.9.47": + version "16.9.47" + resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.47.tgz#fb092936f0b56425f874d0ff1b08051fdf70c1ba" + integrity sha512-dAJO4VbrjYqTUwFiQqAKjLyHHl4RSTNnRyPdX3p16MPbDKvow51wxATUPxoe2QsiXNMEYrOjc2S6s92VjG+1VQ== + dependencies: + "@types/prop-types" "*" + csstype "^3.0.2" + "@types/reactcss@*": version "1.2.3" resolved "https://registry.yarnpkg.com/@types/reactcss/-/reactcss-1.2.3.tgz#af28ae11bbb277978b99d04d1eedfd068ca71834" @@ -2508,52 +2552,52 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@3.9.1": - version "3.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.9.1.tgz#8cf27b6227d12d66dd8dc1f1a4b04d1daad51c2e" - integrity sha512-XIr+Mfv7i4paEdBf0JFdIl9/tVxyj+rlilWIfZ97Be0lZ7hPvUbS5iHt9Glc8kRI53dsr0PcAEudbf8rO2wGgg== +"@typescript-eslint/eslint-plugin@3.10.0": + version "3.10.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.10.0.tgz#40fd53e81639c0d1a515b44e5fdf4c03dfd3cd39" + integrity sha512-Bbeg9JAnSzZ85Y0gpInZscSpifA6SbEgRryaKdP5ZlUjhTKsvZS4GUIE6xAZCjhNTrf4zXXsySo83ZdHL7it0w== dependencies: - "@typescript-eslint/experimental-utils" "3.9.1" + "@typescript-eslint/experimental-utils" "3.10.0" debug "^4.1.1" functional-red-black-tree "^1.0.1" regexpp "^3.0.0" semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@3.9.1": - version "3.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-3.9.1.tgz#b140b2dc7a7554a44f8a86fb6fe7cbfe57ca059e" - integrity sha512-lkiZ8iBBaYoyEKhCkkw4SAeatXyBq9Ece5bZXdLe1LWBUwTszGbmbiqmQbwWA8cSYDnjWXp9eDbXpf9Sn0hLAg== +"@typescript-eslint/experimental-utils@3.10.0": + version "3.10.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-3.10.0.tgz#f97a669a84a78319ab324cd51169d0c52853a360" + integrity sha512-e5ZLSTuXgqC/Gq3QzK2orjlhTZVXzwxDujQmTBOM1NIVBZgW3wiIZjaXuVutk9R4UltFlwC9UD2+bdxsA7yyNg== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/types" "3.9.1" - "@typescript-eslint/typescript-estree" "3.9.1" + "@typescript-eslint/types" "3.10.0" + "@typescript-eslint/typescript-estree" "3.10.0" eslint-scope "^5.0.0" eslint-utils "^2.0.0" -"@typescript-eslint/parser@3.9.1": - version "3.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-3.9.1.tgz#ab7983abaea0ae138ff5671c7c7739d8a191b181" - integrity sha512-y5QvPFUn4Vl4qM40lI+pNWhTcOWtpZAJ8pOEQ21fTTW4xTJkRplMjMRje7LYTXqVKKX9GJhcyweMz2+W1J5bMg== +"@typescript-eslint/parser@3.10.0": + version "3.10.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-3.10.0.tgz#820322d990a82265a78f4c1fc9aae03ce95b76ac" + integrity sha512-iJyf3f2HVwscvJR7ySGMXw2DJgIAPKEz8TeU17XVKzgJRV4/VgCeDFcqLzueRe7iFI2gv+Tln4AV88ZOnsCNXg== dependencies: "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "3.9.1" - "@typescript-eslint/types" "3.9.1" - "@typescript-eslint/typescript-estree" "3.9.1" + "@typescript-eslint/experimental-utils" "3.10.0" + "@typescript-eslint/types" "3.10.0" + "@typescript-eslint/typescript-estree" "3.10.0" eslint-visitor-keys "^1.1.0" -"@typescript-eslint/types@3.9.1": - version "3.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-3.9.1.tgz#b2a6eaac843cf2f2777b3f2464fb1fbce5111416" - integrity sha512-15JcTlNQE1BsYy5NBhctnEhEoctjXOjOK+Q+rk8ugC+WXU9rAcS2BYhoh6X4rOaXJEpIYDl+p7ix+A5U0BqPTw== +"@typescript-eslint/types@3.10.0": + version "3.10.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-3.10.0.tgz#b81906674eca94a884345ba0bc1aaf6cd4da912a" + integrity sha512-ktUWSa75heQNwH85GRM7qP/UUrXqx9d6yIdw0iLO9/uE1LILW+i+3+B64dUodUS2WFWLzKTlwfi9giqrODibWg== -"@typescript-eslint/typescript-estree@3.9.1": - version "3.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-3.9.1.tgz#fd81cada74bc8a7f3a2345b00897acb087935779" - integrity sha512-IqM0gfGxOmIKPhiHW/iyAEXwSVqMmR2wJ9uXHNdFpqVvPaQ3dWg302vW127sBpAiqM9SfHhyS40NKLsoMpN2KA== +"@typescript-eslint/typescript-estree@3.10.0": + version "3.10.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-3.10.0.tgz#65df13579a5e53c12afb4f1c5309589e3855a5de" + integrity sha512-yjuY6rmVHRhcUKgXaSPNVloRueGWpFNhxR5EQLzxXfiFSl1U/+FBqHhbaGwtPPEgCSt61QNhZgiFjWT27bgAyw== dependencies: - "@typescript-eslint/types" "3.9.1" - "@typescript-eslint/visitor-keys" "3.9.1" + "@typescript-eslint/types" "3.10.0" + "@typescript-eslint/visitor-keys" "3.10.0" debug "^4.1.1" glob "^7.1.6" is-glob "^4.0.1" @@ -2561,10 +2605,10 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/visitor-keys@3.9.1": - version "3.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-3.9.1.tgz#92af3747cdb71509199a8f7a4f00b41d636551d1" - integrity sha512-zxdtUjeoSh+prCpogswMwVUJfEFmCOjdzK9rpNjNBfm6EyPt99x3RrJoBOGZO23FCt0WPKUCOL5mb/9D5LjdwQ== +"@typescript-eslint/visitor-keys@3.10.0": + version "3.10.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-3.10.0.tgz#6c0cac867e705a42e2c71b359bf6a10a88a28985" + integrity sha512-g4qftk8lWb/rHZe9uEp8oZSvsJhUvR2cfp7F7qE6DyUD2SsovEs8JDQTRP1xHzsD+pERsEpYNqkDgQXW6+ob5A== dependencies: eslint-visitor-keys "^1.1.0" @@ -9000,7 +9044,12 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@2.0.5, prettier@^2.0.5: +prettier@2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.1.0.tgz#5a9789f767a243118c60f3e56d95cb6544914fbb" + integrity sha512-lz28cCbA1cDFHVuY8vvj6QuqOwIpyIfPUYkSl8AZ/vxH8qBXMMjE2knfLHCrZCmUsK/H1bg1P0tOo0dJkTJHvw== + +prettier@~2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.5.tgz#d6d56282455243f2f92cc1716692c08aa31522d4" integrity sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg== @@ -9552,35 +9601,35 @@ readdirp@~3.4.0: dependencies: picomatch "^2.2.1" -reakit-system@0.14.2, reakit-system@^0.14.2: - version "0.14.2" - resolved "https://registry.yarnpkg.com/reakit-system/-/reakit-system-0.14.2.tgz#44787822962890e12290f13aef8df896942d92d2" - integrity sha512-JB/wvMIs6Nf7xgZ4CXFX0E31aosUL6FErTyQMUFJzEIyjUCwsw3WO+RXeJXKauIYo9UPrvGAj071L/2LpJyzHQ== +reakit-system@0.14.3, reakit-system@^0.14.3: + version "0.14.3" + resolved "https://registry.yarnpkg.com/reakit-system/-/reakit-system-0.14.3.tgz#4dd56e86a31c2ee0af817f98a55d2744571f3b41" + integrity sha512-o+sX3R0ByRW4L0HCrCy3w1I4tbUCZ3G7l/JXAWQ8dvMqC1rSaTt+V1CA3pnHw+dLnj+Z0sOP/XafP+j4sMJYsg== dependencies: - reakit-utils "^0.14.2" + reakit-utils "^0.14.3" -reakit-utils@0.14.2, reakit-utils@^0.14.2: - version "0.14.2" - resolved "https://registry.yarnpkg.com/reakit-utils/-/reakit-utils-0.14.2.tgz#c66546221fef3423e672b3c2527ec4c8ddb82ee6" - integrity sha512-tNEZ0BPKf6WBrUR17yU5Gn4ErTQq6BF067fD5/kjbwWNHABSfAZgMX1dJH6dY2OXp2ENszvstgUbGWorXcdhLA== +reakit-utils@0.14.3, reakit-utils@^0.14.3: + version "0.14.3" + resolved "https://registry.yarnpkg.com/reakit-utils/-/reakit-utils-0.14.3.tgz#ea77684c2126ec41a26f02ef2b154e47a100371e" + integrity sha512-EQlalje+8UiybchMobZi6LrwbBBrqMFOG7f8Z5RJQil1Szt6SFP5BXfAIFj9J3gZunCXVk/NRaiyTdTbFiZ1CA== -reakit-warning@^0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/reakit-warning/-/reakit-warning-0.5.2.tgz#89331bcde4dd037645aeb11064ba6582d1547606" - integrity sha512-up8vtYzTNiNLbBNkR898mW8DRerKjteLgNRvKv7EHqgjtRno8gf8LNKZ72uBwDI2r0dS07WBqUhYEzeYOPBpDw== +reakit-warning@^0.5.3: + version "0.5.3" + resolved "https://registry.yarnpkg.com/reakit-warning/-/reakit-warning-0.5.3.tgz#94828f307c9af6e1cbcf8874931f07307559f50c" + integrity sha512-KSj0WqDiu4Qiz5PQUy4BKcbHnphauCcOTcXcsCs+1quuoVc/D49bx7WKnDnnejuC3m3ALKs/G+eQHlaWs+82tQ== dependencies: - reakit-utils "^0.14.2" + reakit-utils "^0.14.3" -reakit@1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/reakit/-/reakit-1.2.2.tgz#9088a88975e64b6bfdf4ddd6af245edc0254c032" - integrity sha512-hk4RF6YXBljukoZFnI9OZPQMKFIp7HP5VHrAGOE52AhxtTUyTbr8rmel/A7qGsOtQMTQ2mh1elqIhHIaNy+HiQ== +reakit@1.2.3: + version "1.2.3" + resolved "https://registry.yarnpkg.com/reakit/-/reakit-1.2.3.tgz#3a144e836366bd4d3388665bd0ee39d5ad595853" + integrity sha512-bxtrH9O5beHGWzlVzRr+C6idUiV58/rRzBTmw1nu6Wj+hX0yjJDGlSlOLD/oOufhLCjjBGP8s8U3NuLuq4Xv+g== dependencies: "@popperjs/core" "^2.4.4" body-scroll-lock "^3.0.2" - reakit-system "^0.14.2" - reakit-utils "^0.14.2" - reakit-warning "^0.5.2" + reakit-system "^0.14.3" + reakit-utils "^0.14.3" + reakit-warning "^0.5.3" recast@^0.14.7: version "0.14.7" @@ -11072,10 +11121,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@3.9.7: - version "3.9.7" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa" - integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw== +typescript@4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.2.tgz#7ea7c88777c723c681e33bf7988be5d008d05ac2" + integrity sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ== unfetch@^4.1.0: version "4.1.0"