diff --git a/docs/1001-install.md b/docs/1001-install.md index cfa0c21d..88ad7810 100644 --- a/docs/1001-install.md +++ b/docs/1001-install.md @@ -16,7 +16,8 @@ brew install dagger/tap/dagger If dagger is already installed, you can upgrade it using this command: ```shell -brew update; brew upgrade dagger +brew update +brew upgrade dagger ``` ## Option 2: Run a shell script diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index f055d3f8..853c324c 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -16,6 +16,7 @@ module.exports = { ], themeConfig: { sidebarCollapsible: true, + sidebarCollapsed: false, prism: { theme: require("prism-react-renderer/themes/okaidia"), }, @@ -23,8 +24,33 @@ module.exports = { logo: { alt: "Dagger Logo", src: "img/dagger-logo.png", - srcDark: "img/dagger_logo_dark.png", }, + items: [ + { + type: "search", + position: "right", + }, + { + position: "right", + label: "Discord", + href: "https://discord.gg/ufnyBtc8uY", + className: "header-discord-link", + "aria-label": "Discord community", + }, + { + position: "right", + label: "Github", + href: "https://github.com/dagger/dagger", + className: "header-github-link hide-target-icon", + "aria-label": "GitHub repository", + }, + { + position: "right", + label: "Schedule a demo", + href: "https://calendly.com/dagger-io/meet-the-dagger-team", + className: "button", + }, + ], }, algolia: { apiKey: "b2324f1ac8932ab80916382521473115", diff --git a/website/sidebars.js b/website/sidebars.js index 2a96878a..c07b2c8d 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -13,23 +13,6 @@ module.exports = { // By default, Docusaurus generates a sidebar from the docs folder structure tutorialSidebar: [ { type: 'autogenerated', dirName: '.' }, - { - type: 'category', - label: 'Community', - collapsed: false, - items: [ - { - type: 'link', - label: 'Github', - href: 'https://github.com/dagger/dagger' - }, - { - type: 'link', - label: 'Discord', - href: 'https://discord.gg/ufnyBtc8uY' - }, - ], - }, ], // But you can create a sidebar manually diff --git a/website/src/css/custom.scss b/website/src/css/custom.scss index 17170f8b..95a727df 100644 --- a/website/src/css/custom.scss +++ b/website/src/css/custom.scss @@ -23,11 +23,12 @@ --ifm-color-primary-light: #fffef6; --ifm-color-primary-lighter: rgb(102, 212, 189); --ifm-color-primary-lightest: rgb(146, 224, 208); - --ifm-color-secondary: #f8fad8; + --ifm-color-secondary: #fefad8; --ifm-color-success: #fcc009; --ifm-color-info: #40b9bc; --ifm-color-warning: #ef7b1a; --ifm-color-danger: #be1d43; + --ifm-container-width-xl: 100%; --ifm-font-color-base: var(--ifm-color-primary-dark); --ifm-font-family-base: "Karla", sans-serif; --ifm-font-family-monospace: "Courier new", sans-serif; @@ -41,10 +42,9 @@ --ifm-menu-color-background-active: var(--ifm-menu-color-background-hover); --ifm-menu-link-sublist-icon: url('data:image/svg+xml;utf8,'); --ifm-navbar-height: 6rem; - --ifm-navbar-background-color: var(--ifm-color-primary-light); + --ifm-navbar-background-color: var(--ifm-color-primary-dark); --ifm-pagination-nav-border-radius: 0; --ifm-pre-padding: 2rem; - --doc-sidebar-width: 250px; --ifm-toc-border-color: transparent; --ifm-toc-link-color: var(--ifm-color-primary-dark); } @@ -110,7 +110,7 @@ code { &:hover { color: var(--ifm-color-primary); html[data-theme="dark"] & { - color: #fefad8; + color: var(--ifm-color-secondary); } } @@ -165,7 +165,7 @@ h1[class^="h1Heading"] { #__docusaurus { background-color: var(--ifm-color-primary-light); - padding-bottom: 3rem; + // padding-bottom: 3rem; html[data-theme="dark"] & { background: var(--ifm-color-primary-darker); @@ -179,52 +179,103 @@ h1[class^="h1Heading"] { padding: 0 var(--ifm-pre-padding); } +.button { + background: var(--ifm-color-secondary); + font-family: "Poppins", sans-serif; + font-size: 1rem; + font-style: normal; + font-weight: 700; + line-height: 24px; + letter-spacing: 0em; + text-align: left; + padding: 1rem; + border: 0; + border-radius: 0; + + &:hover { + background: #ffffff; + cursor: pointer; + } + + &:active { + background: #131226; + color: var(--ifm-color-secondary); + } +} + /* navbar */ .navbar__brand { - height: 5rem; + height: 4rem; } .navbar { - max-width: 1366px; align-self: center; box-shadow: none; } -// sidebar +.navbar__item { + margin: 0 0.75rem; +} +.navbar__items--right > :last-child { + padding: 1rem; +} + +.react-toggle { + margin: 0 0.75rem; +} + +.header-discord-link, +.header-github-link { + width: 48px; + height: 48px; + padding: 0; + span { + display: none; + } +} + +.header-github-link { + background: url("/img/github-icon.svg"); +} + +.header-discord-link { + background: url("/img/discord-icon.svg"); +} + +.navbar .button svg { + display: none; +} + +/* sidebar */ @media (min-width: 997px) { aside[class^="docSidebarContainer"] { - width: 250px; - margin-right: 3rem; + width: 340px; div[class^="sidebar"] { - width: 250px; + width: 340px; } } } /* main */ .main-wrapper { - max-width: 1366px; align-self: center; width: 100%; } main[class^="docMainContainer"] { background: #ffffff; - box-shadow: 0px 4px 16px 4px #13122610; - border-radius: 2rem; - margin-top: 1rem; - padding-top: 2rem; - padding-left: 2rem; - padding-right: 2rem; + padding: 2rem; html[data-theme="dark"] & { background: var(--ifm-color-primary); - box-shadow: 0px 4px 16px 4px #13122610; - border-radius: 2rem; - margin-top: 1rem; color: var(--ifm-color-primary-light); } + + .docItemContainer_node_modules-\@docusaurus-theme-classic-lib-next-theme-DocItem-styles-module { + max-width: 940px !important; + margin: auto; + } } /* table-of-contents */ @@ -299,28 +350,58 @@ button[class^="copyButton"] { /* menu */ .menu { - scrollbar-color: #f0efe7 transparent; -} + padding: 0 !important; -html[data-theme="dark"] .menu { - scrollbar-color: #3d6581 transparent; + & > ul > li:nth-child(1) > a:nth-child(1) { + padding-top: 2rem; + border: 0; + } + + & > ul > li > a:nth-child(1) { + background-color: var(--ifm-color-primary-light); + border-top: 1px solid; + border-bottom: 1px solid; + border-color: #f0efe7; + + html[data-theme="dark"] & { + background-color: var(--ifm-color-primary); + border-color: #65627b; + } + } } .menu__list { - padding-top: 3.5rem; + background-color: var(--ifm-color-secondary); & > .menu__list-item > & { padding-top: 0; } + + .menu__list-item { + margin-top: 0; + } + html[data-theme="dark"] & { + background-color: var(--ifm-color-primary-dark); + } } .menu__link { border-radius: 0; + padding: 1rem; - &:focus, - &:active { - background-color: var(--ifm-color-primary-dark); - color: var(--ifm-color-primary-light); + & + .menu__list & { + padding-left: 2rem; + + &:hover, + &.active { + background-color: var(--ifm-color-primary-dark); + color: var(--ifm-color-primary-light); + } + + &.menu__link--sublist:hover::after { + filter: invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) + brightness(104%) contrast(98%); + } } &--active:not(.menu__link--sublist) { @@ -351,13 +432,8 @@ html[data-theme="dark"] .menu { &.menu__link--sublist { color: var(--ifm-color-primary-dark); - &:active, - &:focus { - background-color: var(--ifm-color-primary-light); - } - &:hover { - background-color: var(--ifm-menu-color-background-hover); + background-color: var(--ifm-color-primary-light); } html[data-theme="dark"] & { @@ -391,6 +467,16 @@ html[data-theme="dark"] .menu { } } +.DocSearch-Button { + margin-right: 2rem !important; + @media (min-width: 997px) { + width: 200px; + } + @media (min-width: 1160px) { + width: 350px; + } +} + /* pagination */ .pagination-nav__label svg { vertical-align: middle; diff --git a/website/src/theme/Navbar/index.js b/website/src/theme/Navbar/index.js new file mode 100644 index 00000000..47808dd5 --- /dev/null +++ b/website/src/theme/Navbar/index.js @@ -0,0 +1,148 @@ +/** + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +import React, {useCallback, useState, useEffect} from 'react'; +import clsx from 'clsx'; +import SearchBar from '@theme/SearchBar'; +import Toggle from '@theme/Toggle'; +import useThemeContext from '@theme/hooks/useThemeContext'; +import {useThemeConfig} from '@docusaurus/theme-common'; +import useHideableNavbar from '@theme/hooks/useHideableNavbar'; +import useLockBodyScroll from '@theme/hooks/useLockBodyScroll'; +import useWindowSize, {windowSizes} from '@theme/hooks/useWindowSize'; +import NavbarItem from '@theme/NavbarItem'; +import Logo from '@theme/Logo'; +import IconMenu from '@theme/IconMenu'; +import styles from './styles.module.css'; // retrocompatible with v1 + +const DefaultNavItemPosition = 'right'; // If split links by left/right +// if position is unspecified, fallback to right (as v1) + +function splitNavItemsByPosition(items) { + const leftItems = items.filter( + (item) => (item.position ?? DefaultNavItemPosition) === 'left', + ); + const rightItems = items.filter( + (item) => (item.position ?? DefaultNavItemPosition) === 'right', + ); + return { + leftItems, + rightItems, + }; +} + +function Navbar() { + const { + navbar: {items, hideOnScroll, style}, + colorMode: {disableSwitch: disableColorModeSwitch}, + } = useThemeConfig(); + const [sidebarShown, setSidebarShown] = useState(false); + const {isDarkTheme, setLightTheme, setDarkTheme} = useThemeContext(); + const {navbarRef, isNavbarVisible} = useHideableNavbar(hideOnScroll); + useLockBodyScroll(sidebarShown); + const showSidebar = useCallback(() => { + setSidebarShown(true); + }, [setSidebarShown]); + const hideSidebar = useCallback(() => { + setSidebarShown(false); + }, [setSidebarShown]); + const onToggleChange = useCallback( + (e) => (e.target.checked ? setDarkTheme() : setLightTheme()), + [setLightTheme, setDarkTheme], + ); + const windowSize = useWindowSize(); + useEffect(() => { + if (windowSize === windowSizes.desktop) { + setSidebarShown(false); + } + }, [windowSize]); + const hasSearchNavbarItem = items.some((item) => item.type === 'search'); + const {leftItems, rightItems} = splitNavItemsByPosition(items); + const algoliaSearch = rightItems.shift() + return ( + + ); +} + +export default Navbar; diff --git a/website/src/theme/Navbar/styles.module.css b/website/src/theme/Navbar/styles.module.css new file mode 100644 index 00000000..9e4ab9b4 --- /dev/null +++ b/website/src/theme/Navbar/styles.module.css @@ -0,0 +1,20 @@ +/** + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +@media screen and (max-width: 997px) { + .displayOnlyInLargeViewport { + display: none !important; + } +} + +.navbarHideable { + transition: transform var(--ifm-transition-fast) ease; +} + +.navbarHidden { + transform: translate3d(0, calc(-100% - 2px), 0); +} diff --git a/website/static/img/__dagger-logo.png b/website/static/img/__dagger-logo.png new file mode 100644 index 00000000..19723fb5 Binary files /dev/null and b/website/static/img/__dagger-logo.png differ diff --git a/website/static/img/dagger-logo.png b/website/static/img/dagger-logo.png index 19723fb5..4b09bb23 100644 Binary files a/website/static/img/dagger-logo.png and b/website/static/img/dagger-logo.png differ diff --git a/website/static/img/discord-icon.svg b/website/static/img/discord-icon.svg new file mode 100644 index 00000000..0085d6d1 --- /dev/null +++ b/website/static/img/discord-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website/static/img/github-icon.svg b/website/static/img/github-icon.svg new file mode 100644 index 00000000..5f05d17d --- /dev/null +++ b/website/static/img/github-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/website/yarn.lock b/website/yarn.lock index c74bb25a..8b9fd2ff 100644 --- a/website/yarn.lock +++ b/website/yarn.lock @@ -157,6 +157,13 @@ dependencies: "@babel/highlight" "^7.12.13" +"@babel/code-frame@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.14.5.tgz#23b08d740e83f49c5e59945fbf1b43e80bbf4edb" + integrity sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw== + dependencies: + "@babel/highlight" "^7.14.5" + "@babel/compat-data@^7.13.11", "@babel/compat-data@^7.14.4": version "7.14.4" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.14.4.tgz#45720fe0cecf3fd42019e1d12cc3d27fadc98d58" @@ -214,6 +221,22 @@ jsesc "^2.5.1" source-map "^0.5.0" +"@babel/generator@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.15.0.tgz#a7d0c172e0d814974bad5aa77ace543b97917f15" + integrity sha512-eKl4XdMrbpYvuB505KTta4AV9g+wWzmVBW69tX0H2NwKVKd2YJbKgyK6M8j/rgLbmHOYJn6rUklV677nOyJrEQ== + dependencies: + "@babel/types" "^7.15.0" + jsesc "^2.5.1" + source-map "^0.5.0" + +"@babel/helper-annotate-as-pure@^7.0.0": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.14.5.tgz#7bf478ec3b71726d56a8ca5775b046fc29879e61" + integrity sha512-EivH9EgBIb+G8ij1B2jAwSH36WnGvkQSEC6CkX/6v6ZFlw5fVOHvsgGF4uiEHO2GzMvunZb6tDLQEQSdrdocrA== + dependencies: + "@babel/types" "^7.14.5" + "@babel/helper-annotate-as-pure@^7.10.4", "@babel/helper-annotate-as-pure@^7.12.13": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.12.13.tgz#0f58e86dfc4bb3b1fcd7db806570e177d439b6ab" @@ -289,6 +312,15 @@ "@babel/template" "^7.12.13" "@babel/types" "^7.14.2" +"@babel/helper-function-name@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz#89e2c474972f15d8e233b52ee8c480e2cfcd50c4" + integrity sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ== + dependencies: + "@babel/helper-get-function-arity" "^7.14.5" + "@babel/template" "^7.14.5" + "@babel/types" "^7.14.5" + "@babel/helper-get-function-arity@^7.12.13": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz#bc63451d403a3b3082b97e1d8b3fe5bd4091e583" @@ -296,6 +328,13 @@ dependencies: "@babel/types" "^7.12.13" +"@babel/helper-get-function-arity@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz#25fbfa579b0937eee1f3b805ece4ce398c431815" + integrity sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg== + dependencies: + "@babel/types" "^7.14.5" + "@babel/helper-hoist-variables@^7.13.0": version "7.13.16" resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.13.16.tgz#1b1651249e94b51f8f0d33439843e33e39775b30" @@ -304,6 +343,13 @@ "@babel/traverse" "^7.13.15" "@babel/types" "^7.13.16" +"@babel/helper-hoist-variables@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.14.5.tgz#e0dd27c33a78e577d7c8884916a3e7ef1f7c7f8d" + integrity sha512-R1PXiz31Uc0Vxy4OEOm07x0oSjKAdPPCh3tPivn/Eo8cvz6gveAeuyUUPB21Hoiif0uoPQSSdhIPS3352nvdyQ== + dependencies: + "@babel/types" "^7.14.5" + "@babel/helper-member-expression-to-functions@^7.13.12": version "7.13.12" resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.13.12.tgz#dfe368f26d426a07299d8d6513821768216e6d72" @@ -311,6 +357,13 @@ dependencies: "@babel/types" "^7.13.12" +"@babel/helper-module-imports@^7.0.0": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.14.5.tgz#6d1a44df6a38c957aa7c312da076429f11b422f3" + integrity sha512-SwrNHu5QWS84XlHwGYPDtCxcA0hrSlL2yhWYLgeOc0w7ccOl2qv4s/nARI0aYZW+bSwAL5CukeXA47B/1NKcnQ== + dependencies: + "@babel/types" "^7.14.5" + "@babel/helper-module-imports@^7.12.13", "@babel/helper-module-imports@^7.13.12": version "7.13.12" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.13.12.tgz#c6a369a6f3621cb25da014078684da9196b61977" @@ -389,11 +442,23 @@ dependencies: "@babel/types" "^7.12.13" +"@babel/helper-split-export-declaration@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz#22b23a54ef51c2b7605d851930c1976dd0bc693a" + integrity sha512-hprxVPu6e5Kdp2puZUmvOGjaLv9TCe58E/Fl6hRq4YiVQxIcNvuq6uTM2r1mT/oPskuS9CgR+I94sqAYv0NGKA== + dependencies: + "@babel/types" "^7.14.5" + "@babel/helper-validator-identifier@^7.12.11", "@babel/helper-validator-identifier@^7.14.0": version "7.14.0" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz#d26cad8a47c65286b15df1547319a5d0bcf27288" integrity sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A== +"@babel/helper-validator-identifier@^7.14.5", "@babel/helper-validator-identifier@^7.14.9": + version "7.14.9" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.9.tgz#6654d171b2024f6d8ee151bf2509699919131d48" + integrity sha512-pQYxPY0UP6IHISRitNe8bsijHex4TWZXi2HwKVsjPiltzlhse2znVcm9Ace510VT1kxIHjGJCZZQBX2gJDbo0g== + "@babel/helper-validator-option@^7.12.17": version "7.12.17" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.12.17.tgz#d1fbf012e1a79b7eebbfdc6d270baaf8d9eb9831" @@ -427,11 +492,25 @@ chalk "^2.0.0" js-tokens "^4.0.0" +"@babel/highlight@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.14.5.tgz#6861a52f03966405001f6aa534a01a24d99e8cd9" + integrity sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg== + dependencies: + "@babel/helper-validator-identifier" "^7.14.5" + chalk "^2.0.0" + js-tokens "^4.0.0" + "@babel/parser@^7.12.13", "@babel/parser@^7.12.16", "@babel/parser@^7.12.7", "@babel/parser@^7.14.2", "@babel/parser@^7.14.3": version "7.14.4" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.4.tgz#a5c560d6db6cd8e6ed342368dea8039232cbab18" integrity sha512-ArliyUsWDUqEGfWcmzpGUzNfLxTdTp6WU4IuP6QFSp9gGfWS6boxFCkJSJ/L4+RG8z/FnIU3WxCk6hPL9SSWeA== +"@babel/parser@^7.14.5", "@babel/parser@^7.15.0": + version "7.15.3" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.15.3.tgz#3416d9bea748052cfcb63dbcc27368105b1ed862" + integrity sha512-O0L6v/HvqbdJawj0iBEfVQMc3/6WP+AeOsovsIgBFyJaG+W2w7eqvZB7puddATmWuARlm1SX7DwxJ/JJUnDpEA== + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.13.12": version "7.13.12" resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.13.12.tgz#a3484d84d0b549f3fc916b99ee4783f26fabad2a" @@ -1141,6 +1220,15 @@ "@babel/parser" "^7.12.13" "@babel/types" "^7.12.13" +"@babel/template@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.14.5.tgz#a9bc9d8b33354ff6e55a9c60d1109200a68974f4" + integrity sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g== + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/parser" "^7.14.5" + "@babel/types" "^7.14.5" + "@babel/traverse@^7.12.13", "@babel/traverse@^7.12.9", "@babel/traverse@^7.13.0", "@babel/traverse@^7.13.15", "@babel/traverse@^7.14.0", "@babel/traverse@^7.14.2": version "7.14.2" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.14.2.tgz#9201a8d912723a831c2679c7ebbf2fe1416d765b" @@ -1155,6 +1243,21 @@ debug "^4.1.0" globals "^11.1.0" +"@babel/traverse@^7.4.5": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.15.0.tgz#4cca838fd1b2a03283c1f38e141f639d60b3fc98" + integrity sha512-392d8BN0C9eVxVWd8H6x9WfipgVH5IaIoLp23334Sc1vbKKWINnvwRpb4us0xtPaCumlwbTtIYNA0Dv/32sVFw== + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/generator" "^7.15.0" + "@babel/helper-function-name" "^7.14.5" + "@babel/helper-hoist-variables" "^7.14.5" + "@babel/helper-split-export-declaration" "^7.14.5" + "@babel/parser" "^7.15.0" + "@babel/types" "^7.15.0" + debug "^4.1.0" + globals "^11.1.0" + "@babel/types@^7.12.1", "@babel/types@^7.12.13", "@babel/types@^7.12.6", "@babel/types@^7.12.7", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.13.16", "@babel/types@^7.14.0", "@babel/types@^7.14.2", "@babel/types@^7.14.4", "@babel/types@^7.4.4": version "7.14.4" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.14.4.tgz#bfd6980108168593b38b3eb48a24aa026b919bc0" @@ -1163,6 +1266,14 @@ "@babel/helper-validator-identifier" "^7.14.0" to-fast-properties "^2.0.0" +"@babel/types@^7.14.5", "@babel/types@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.15.0.tgz#61af11f2286c4e9c69ca8deb5f4375a73c72dcbd" + integrity sha512-OBvfqnllOIdX4ojTHpwZbpvz4j3EWyjkZEdmjH0/cgsd6QOdSgU8rLSk6ard/pcW7rlmjdVSX/AWOaORR1uNOQ== + dependencies: + "@babel/helper-validator-identifier" "^7.14.9" + to-fast-properties "^2.0.0" + "@docsearch/css@3.0.0-alpha.36": version "3.0.0-alpha.36" resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.0.0-alpha.36.tgz#0af69a86b845974d0f8cab62db0218f66b6ad2d6" @@ -1515,7 +1626,17 @@ resolved "https://registry.yarnpkg.com/@docusaurus/utils/-/utils-2.0.0-beta.2.tgz#7746b371d813ed3fc7928de3e524914c0abfd20c" integrity sha512-4nmfNZhl6zGMI+KJFEjLXWWyniMaESct5Oigqa55RbBXUtRI4isaOOMEjlfY+Q/jrJxQozRSuWKWM81VM3z6Yg== dependencies: - "@docusaurus/types" "2.0.0-beta.2" + "@docusaurus/utils" "2.0.0-beta.4" + chalk "^4.1.1" + joi "^17.4.0" + tslib "^2.1.0" + +"@docusaurus/utils@2.0.0-beta.4": + version "2.0.0-beta.4" + resolved "https://registry.yarnpkg.com/@docusaurus/utils/-/utils-2.0.0-beta.4.tgz#6e572371b0a59360b49102d014579f5364f1d8da" + integrity sha512-6nI3ETBp0ZSt5yp5Fc5nthQjR1MmLgl2rXC3hcscrSUZx0QvzJFzTiRgD9EAIJtR/i2JkUK18eaFiBjMBoXEbQ== + dependencies: + "@docusaurus/types" "2.0.0-beta.4" "@types/github-slugger" "^1.3.0" chalk "^4.1.1" escape-string-regexp "^4.0.0" @@ -1524,6 +1645,30 @@ lodash "^4.17.20" resolve-pathname "^3.0.0" tslib "^2.2.0" + globby "^11.0.4" + micromatch "^4.0.4" + +"@emotion/is-prop-valid@^0.8.8": + version "0.8.8" + resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz#db28b1c4368a259b60a97311d6a952d4fd01ac1a" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + dependencies: + "@emotion/memoize" "0.7.4" + +"@emotion/memoize@0.7.4": + version "0.7.4" + resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.4.tgz#19bf0f5af19149111c40d98bb0cf82119f5d9eeb" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + +"@emotion/stylis@^0.8.4": + version "0.8.5" + resolved "https://registry.yarnpkg.com/@emotion/stylis/-/stylis-0.8.5.tgz#deacb389bd6ee77d1e7fcaccce9e16c5c7e78e04" + integrity sha512-h6KtPihKFn3T9fuIrwvXXUOwlx3rfUvfZIcP5a6rh8Y7zjE3O06hT5Ss4S/YI1AYhuZ1kjaE/5EaOOI2NqSylQ== + +"@emotion/unitless@^0.7.4": + version "0.7.5" + resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.7.5.tgz#77211291c1900a700b8a78cfafda3160d76949ed" + integrity sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg== "@hapi/hoek@^9.0.0": version "9.2.0" @@ -2317,6 +2462,21 @@ babel-plugin-polyfill-regenerator@^0.2.0: dependencies: "@babel/helper-define-polyfill-provider" "^0.2.2" +"babel-plugin-styled-components@>= 1.12.0": + version "1.13.2" + resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-1.13.2.tgz#ebe0e6deff51d7f93fceda1819e9b96aeb88278d" + integrity sha512-Vb1R3d4g+MUfPQPVDMCGjm3cDocJEUTR7Xq7QS95JWWeksN1wdFRYpD2kulDgI3Huuaf1CZd+NK4KQmqUFh5dA== + dependencies: + "@babel/helper-annotate-as-pure" "^7.0.0" + "@babel/helper-module-imports" "^7.0.0" + babel-plugin-syntax-jsx "^6.18.0" + lodash "^4.17.11" + +babel-plugin-syntax-jsx@^6.18.0: + version "6.18.0" + resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946" + integrity sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY= + bail@^1.0.0: version "1.0.5" resolved "https://registry.yarnpkg.com/bail/-/bail-1.0.5.tgz#b6fa133404a392cbc1f8c4bf63f5953351e7a776" @@ -2565,6 +2725,11 @@ camelcase@^6.2.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809" integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg== +camelize@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/camelize/-/camelize-1.0.0.tgz#164a5483e630fa4321e5af07020e531831b2609b" + integrity sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs= + caniuse-api@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-3.0.0.tgz#5e4d90e2274961d46291997df599e3ed008ee4c0" @@ -3023,6 +3188,11 @@ crypto-random-string@^2.0.0: resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5" integrity sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA== +css-color-keywords@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/css-color-keywords/-/css-color-keywords-1.0.0.tgz#fea2616dc676b2962686b3af8dbdbe180b244e05" + integrity sha1-/qJhbcZ2spYmhrOvjb2+GAskTgU= + css-color-names@^0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0" @@ -3116,6 +3286,15 @@ css-select@~1.2.0: domutils "1.5.1" nth-check "~1.0.1" +css-to-react-native@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/css-to-react-native/-/css-to-react-native-3.0.0.tgz#62dbe678072a824a689bcfee011fc96e02a7d756" + integrity sha512-Ro1yETZA813eoyUp2GDBhG2j+YggidUmzO1/v9eYBKR2EHVEniE2MI/NqpTQ954BMpTPZFsGNPm46qFB9dpaPQ== + dependencies: + camelize "^1.0.0" + css-color-keywords "^1.0.0" + postcss-value-parser "^4.0.2" + css-tree@1.0.0-alpha.37: version "1.0.0-alpha.37" resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha.37.tgz#98bebd62c4c1d9f960ec340cf9f7522e30709a22" @@ -4527,7 +4706,7 @@ history@^4.9.0: tiny-warning "^1.0.0" value-equal "^1.0.1" -hoist-non-react-statics@^3.1.0: +hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.1.0: version "3.3.2" resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== @@ -7605,6 +7784,11 @@ shallow-clone@^3.0.0: dependencies: kind-of "^6.0.2" +shallowequal@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" + integrity sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ== + shebang-command@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" @@ -7967,6 +8151,22 @@ style-to-object@0.3.0, style-to-object@^0.3.0: dependencies: inline-style-parser "0.1.1" +styled-components@^5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-5.3.0.tgz#e47c3d3e9ddfff539f118a3dd0fd4f8f4fb25727" + integrity sha512-bPJKwZCHjJPf/hwTJl6TbkSZg/3evha+XPEizrZUGb535jLImwDUdjTNxXqjjaASt2M4qO4AVfoHJNe3XB/tpQ== + dependencies: + "@babel/helper-module-imports" "^7.0.0" + "@babel/traverse" "^7.4.5" + "@emotion/is-prop-valid" "^0.8.8" + "@emotion/stylis" "^0.8.4" + "@emotion/unitless" "^0.7.4" + babel-plugin-styled-components ">= 1.12.0" + css-to-react-native "^3.0.0" + hoist-non-react-statics "^3.0.0" + shallowequal "^1.1.0" + supports-color "^5.5.0" + stylehacks@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/stylehacks/-/stylehacks-5.0.1.tgz#323ec554198520986806388c7fdaebc38d2c06fb" @@ -7975,7 +8175,7 @@ stylehacks@^5.0.1: browserslist "^4.16.0" postcss-selector-parser "^6.0.4" -supports-color@^5.3.0: +supports-color@^5.3.0, supports-color@^5.5.0: version "5.5.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==