update docusaurus to v2.0.0-beta.5

Signed-off-by: jffarge <jf@dagger.io>
This commit is contained in:
jffarge 2021-09-07 11:34:59 +02:00
parent 3ef1196cb6
commit 15648e42ac
13 changed files with 541 additions and 560 deletions

View File

@ -23,7 +23,7 @@ describe('Visit Docs website', function() {
it('log to amplitude when user visit another page', function() {
cy.get('[data-cy=cy-doc-content]').should('exist')
cy.get('.menu > :nth-child(2) > :nth-child(2) > .menu__link').click()
cy.get('ul.menu__list:nth-child(1) > li:nth-child(2)').click()
})
})

View File

@ -1,9 +1,10 @@
{
"index_name": "Dagger_docs",
"start_urls": ["https://docs.dagger.io/", "https://devel.docs.dagger.io/"],
"start_urls": [
"https://deploy-preview-929--devel-docs-dagger-io.netlify.app/"
],
"sitemap_urls": [
"https://docs.dagger.io/sitemap.xml",
"https://devel.docs.dagger.io/sitemap.xml"
"https://deploy-preview-929--devel-docs-dagger-io.netlify.app/sitemap.xml"
],
"sitemap_alternate_links": true,
"stop_urls": [],

View File

@ -16,7 +16,6 @@ module.exports = {
"https://fonts.googleapis.com/css2?family=Karla&family=Poppins:wght@700&display=swap",
],
themeConfig: {
sidebarCollapsible: true,
sidebarCollapsed: false,
prism: {
theme: require("prism-react-renderer/themes/okaidia"),

View File

@ -18,8 +18,8 @@
"ci": "start-server-and-test 'yarn start-server' '3000|3001' 'yarn run cypress run'"
},
"dependencies": {
"@docusaurus/core": "2.0.0-beta.4",
"@docusaurus/preset-classic": "2.0.0-beta.2",
"@docusaurus/core": "^2.0.0-beta.5",
"@docusaurus/preset-classic": "^2.0.0-beta.5",
"@mdx-js/react": "^1.6.21",
"@svgr/webpack": "^5.5.0",
"amplitude-js": "^8.5.0",

View File

@ -33,9 +33,8 @@ $desktop-xl-width: 1160px;
--ifm-background-color: var(--ifm-color-primary-light);
--ifm-code-background: var(--ifm-color-primary-dark);
--ifm-code-font-size: 100%;
--ifm-code-border-radius: 2rem;
--ifm-code-color: var(--ifm-color-primary-light);
--ifm-code-padding-vertical: 0;
--ifm-code-padding-vertical: 0.05rem;
--ifm-code-padding-horizontal: 0.2rem;
--ifm-color-primary: #0e2b3d;
--ifm-color-primary-dark: #131226;
@ -143,6 +142,16 @@ code {
}
}
}
li {
font-size: 18px;
}
img {
max-width: 500px;
display: block;
margin: auto;
}
}
p {
@ -236,6 +245,14 @@ h1[class^="h1Heading"] {
.navbar {
align-self: center;
box-shadow: none;
width: 100%;
}
.navbar-sidebar__back {
background: transparent;
color: white;
padding: 1rem 0;
text-align: center;
}
.navbar__item {
@ -336,7 +353,6 @@ html[data-theme="dark"] .table-of-contents__link {
/* codeBlock */
div[class^="codeBlockContainer"] {
border-radius: var(--ifm-code-border-radius);
margin-bottom: 2.5rem;
div[class^="codeBlockTitle"] {
@ -466,6 +482,7 @@ button[class^="copyButton"] {
&--active:not(.menu__link--sublist) {
background-color: var(--ifm-color-primary);
color: var(--ifm-color-primary-light);
font-weight: bold;
html[data-theme="dark"] & {
background-color: var(--ifm-menu-color-background-hover);
@ -490,6 +507,8 @@ button[class^="copyButton"] {
&.menu__link--sublist {
color: var(--ifm-color-primary-dark);
padding-right: 2rem;
margin-bottom: 0;
&:active,
&:focus {
@ -511,6 +530,14 @@ button[class^="copyButton"] {
}
}
}
&--sublist {
margin-bottom: 0;
}
&--sublist::after {
margin-left: auto;
}
}
/* docsearch */

View File

@ -4,54 +4,28 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import React, { useState, useCallback, useEffect } from 'react';
import { MDXProvider } from '@mdx-js/react';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import React, {useState, useCallback, useEffect} from 'react';
import {MDXProvider} from '@mdx-js/react';
import renderRoutes from '@docusaurus/renderRoutes';
import Layout from '@theme/Layout';
import DocSidebar from '@theme/DocSidebar';
import MDXComponents from '@theme/MDXComponents';
import NotFound from '@theme/NotFound';
import IconArrow from '@theme/IconArrow';
import BackToTopButton from '@theme/BackToTopButton';
import {matchPath} from '@docusaurus/router';
import {translate} from '@docusaurus/Translate';
import clsx from 'clsx';
import styles from './styles.module.css';
import {ThemeClassNames, docVersionSearchTag} from '@docusaurus/theme-common';
import DocPageCustom from '../../components/DocPageCustom';
import ExecutionEnvironment from '@docusaurus/ExecutionEnvironment';
function getSidebar({versionMetadata, currentDocRoute}) {
function addTrailingSlash(str) {
return str.endsWith('/') ? str : `${str}/`;
}
function removeTrailingSlash(str) {
return str.endsWith('/') ? str.slice(0, -1) : str;
}
const {permalinkToSidebar, docsSidebars} = versionMetadata; // With/without trailingSlash, we should always be able to get the appropriate sidebar
// note: docs plugin permalinks currently never have trailing slashes
// trailingSlash is handled globally at the framework level, not plugin level
const sidebarName =
permalinkToSidebar[currentDocRoute.path] ||
permalinkToSidebar[addTrailingSlash(currentDocRoute.path)] ||
permalinkToSidebar[removeTrailingSlash(currentDocRoute.path)];
const sidebar = docsSidebars[sidebarName];
return {
sidebar,
sidebarName,
};
}
import DocPageCustom from "../../components/DocPageCustom"
function DocPageContent({currentDocRoute, versionMetadata, children}) {
const {siteConfig, isClient} = useDocusaurusContext();
const {pluginId, version} = versionMetadata;
const {sidebarName, sidebar} = getSidebar({
versionMetadata,
currentDocRoute,
});
const sidebarName = currentDocRoute.sidebar;
const sidebar = sidebarName
? versionMetadata.docsSidebars[sidebarName]
: undefined;
const [hiddenSidebarContainer, setHiddenSidebarContainer] = useState(false);
const [hiddenSidebar, setHiddenSidebar] = useState(false);
const toggleSidebar = useCallback(() => {
@ -63,14 +37,15 @@ function DocPageContent({currentDocRoute, versionMetadata, children}) {
}, [hiddenSidebar]);
return (
<Layout
key={isClient}
wrapperClassName={ThemeClassNames.wrapper.docPages}
pageClassName={ThemeClassNames.page.docPage}
pageClassName={ThemeClassNames.page.docsDocPage}
searchMetadatas={{
version,
tag: docVersionSearchTag(pluginId, version),
}}>
<div className={styles.docPage}>
<BackToTopButton />
{sidebar && (
<aside
className={clsx(styles.docSidebarContainer, {
@ -95,9 +70,6 @@ function DocPageContent({currentDocRoute, versionMetadata, children}) {
}
sidebar={sidebar}
path={currentDocRoute.path}
sidebarCollapsible={
siteConfig.themeConfig?.sidebarCollapsible ?? true
}
onCollapse={toggleSidebar}
isHidden={hiddenSidebar}
/>
@ -156,7 +128,6 @@ function DocPage(props) {
const currentDocRoute = docRoutes.find((docRoute) =>
matchPath(location.pathname, docRoute),
);
const userAgent = ExecutionEnvironment.canUseDOM ? navigator.userAgent : null;
// DocPage Swizzle
const [userAccessStatus, setUserAccessStatus] = useState(
@ -181,7 +152,7 @@ function DocPage(props) {
})
}, [location.pathname, userAccessStatus])
if (process.env.OAUTH_ENABLE == 'true' && userAccessStatus?.permission !== true && userAgent !== 'Algolia DocSearch Crawler') {
if (process.env.OAUTH_ENABLE == 'true' && userAccessStatus?.permission !== true) {
return <DocPageCustom location={location} userAccessStatus={userAccessStatus} setUserAccessStatus={setUserAccessStatus} />
}
// End DocPageSwizzle

View File

@ -20,6 +20,10 @@
width: 100%;
}
.docSidebarContainer {
display: none;
}
@media (min-width: 997px) {
.docMainContainer {
flex-grow: 1;
@ -31,6 +35,7 @@
}
.docSidebarContainer {
display: block;
width: var(--doc-sidebar-width);
margin-top: calc(-1 * var(--ifm-navbar-height));
border-right: 1px solid var(--ifm-toc-border-color);
@ -78,9 +83,3 @@
) !important;
}
}
@media (max-width: 996px) {
.docSidebarContainer {
display: none;
}
}

View File

@ -6,19 +6,30 @@
*/
import React, {useCallback, useState, useEffect} from 'react';
import clsx from 'clsx';
import Translate from '@docusaurus/Translate';
import SearchBar from '@theme/SearchBar';
import Toggle from '@theme/Toggle';
import useThemeContext from '@theme/hooks/useThemeContext';
import {useThemeConfig} from '@docusaurus/theme-common';
import {
useThemeConfig,
useMobileSecondaryMenuRenderer,
usePrevious,
} from '@docusaurus/theme-common';
import useHideableNavbar from '@theme/hooks/useHideableNavbar';
import useLockBodyScroll from '@theme/hooks/useLockBodyScroll';
import useWindowSize, {windowSizes} from '@theme/hooks/useWindowSize';
import useWindowSize from '@theme/hooks/useWindowSize';
import {useActivePlugin} from '@theme/hooks/useDocs';
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
const DefaultNavItemPosition = 'right';
function useNavbarItems() {
// TODO temporary casting until ThemeConfig type is improved
return useThemeConfig().navbar.items;
} // If split links by left/right
// if position is unspecified, fallback to right (as v1)
function splitNavItemsByPosition(items) {
@ -34,54 +45,173 @@ function splitNavItemsByPosition(items) {
};
}
function Navbar() {
function useMobileSidebar() {
const windowSize = useWindowSize(); // Mobile sidebar not visible on hydration: can avoid SSR rendering
const shouldRender = windowSize === 'mobile'; // || windowSize === 'ssr';
const [shown, setShown] = useState(false);
const toggle = useCallback(() => {
setShown((s) => !s);
}, []);
useEffect(() => {
if (windowSize === 'desktop') {
setShown(false);
}
}, [windowSize]);
return {
shouldRender,
toggle,
shown,
};
}
function useColorModeToggle() {
const {
navbar: {items, hideOnScroll, style},
colorMode: {disableSwitch: disableColorModeSwitch},
colorMode: {disableSwitch},
} = 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(
const toggle = useCallback(
(e) => (e.target.checked ? setDarkTheme() : setLightTheme()),
[setLightTheme, setDarkTheme],
);
const windowSize = useWindowSize();
return {
isDarkTheme,
toggle,
disabled: disableSwitch,
};
}
function useSecondaryMenu({sidebarShown, toggleSidebar}) {
const content = useMobileSecondaryMenuRenderer()?.({
toggleSidebar,
});
const previousContent = usePrevious(content);
const [shown, setShown] = useState(() => {
// /!\ content is set with useEffect,
// so it's not available on mount anyway
// "return !!content" => always returns false
return false;
}); // When content is become available for the first time (set in useEffect)
// we set this content to be shown!
useEffect(() => {
if (windowSize === windowSizes.desktop) {
setSidebarShown(false);
const contentBecameAvailable = content && !previousContent;
if (contentBecameAvailable) {
setShown(true);
}
}, [windowSize]);
}, [content, previousContent]);
const hasContent = !!content; // On sidebar close, secondary menu is set to be shown on next re-opening
// (if any secondary menu content available)
useEffect(() => {
if (!hasContent) {
setShown(false);
return;
}
if (!sidebarShown) {
setShown(true);
}
}, [sidebarShown, hasContent]);
const hide = useCallback(() => {
setShown(false);
}, []);
return {
shown,
hide,
content,
};
}
function NavbarMobileSidebar({sidebarShown, toggleSidebar}) {
useLockBodyScroll(sidebarShown);
const items = useNavbarItems();
const colorModeToggle = useColorModeToggle();
const secondaryMenu = useSecondaryMenu({
sidebarShown,
toggleSidebar,
});
return (
<div className="navbar-sidebar">
<div className="navbar-sidebar__brand">
<Logo
className="navbar__brand"
imageClassName="navbar__logo"
titleClassName="navbar__title"
/>
{!colorModeToggle.disabled && sidebarShown && (
<Toggle
checked={colorModeToggle.isDarkTheme}
onChange={colorModeToggle.toggle}
/>
)}
</div>
<div
className={clsx('navbar-sidebar__items', {
'navbar-sidebar__items--show-secondary': secondaryMenu.shown,
})}>
<div className="navbar-sidebar__item menu">
<ul className="menu__list">
{items.map((item, i) => (
<NavbarItem mobile {...item} onClick={toggleSidebar} key={i} />
))}
</ul>
</div>
<div className="navbar-sidebar__item menu">
{items.length > 0 && (
<button
type="button"
className="clean-btn navbar-sidebar__back"
onClick={secondaryMenu.hide}>
<Translate
id="theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel"
description="The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)">
Back to main menu
</Translate>
</button>
)}
{secondaryMenu.content}
</div>
</div>
</div>
);
}
function Navbar() {
const {
navbar: {hideOnScroll, style},
} = useThemeConfig();
const mobileSidebar = useMobileSidebar();
const colorModeToggle = useColorModeToggle();
const activeDocPlugin = useActivePlugin();
const {navbarRef, isNavbarVisible} = useHideableNavbar(hideOnScroll);
const items = useNavbarItems();
const hasSearchNavbarItem = items.some((item) => item.type === 'search');
const {leftItems, rightItems} = splitNavItemsByPosition(items);
const algoliaSearch = rightItems.shift()
return (
<nav
ref={navbarRef}
className={clsx('navbar', 'navbar--fixed-top', {
'navbar--dark': style === 'dark',
'navbar--primary': style === 'primary',
'navbar-sidebar--show': sidebarShown,
'navbar-sidebar--show': mobileSidebar.shown,
[styles.navbarHideable]: hideOnScroll,
[styles.navbarHidden]: hideOnScroll && !isNavbarVisible,
})}>
<div className="navbar__inner">
<div className="navbar__items">
{items != null && items.length !== 0 && (
{(items?.length > 0 || activeDocPlugin) && (
<button
aria-label="Navigation bar toggle"
className="navbar__toggle clean-btn"
type="button"
tabIndex={0}
onClick={showSidebar}
onKeyDown={showSidebar}>
onClick={mobileSidebar.toggle}
onKeyDown={mobileSidebar.toggle}>
<IconMenu />
</button>
)}
@ -95,52 +225,40 @@ function Navbar() {
))}
</div>
<div className="navbar__items navbar__items--right">
<NavbarItem {...algoliaSearch} key={999} />
{!disableColorModeSwitch && (
{!hasSearchNavbarItem && <SearchBar />}
{rightItems.map((item, i) => {
if(item.type === "search") {
return (
<React.Fragment key={i}>
<NavbarItem {...item} />
{!colorModeToggle.disabled && (
<Toggle
className={styles.displayOnlyInLargeViewport}
checked={isDarkTheme}
onChange={onToggleChange}
className={styles.toggle}
checked={colorModeToggle.isDarkTheme}
onChange={colorModeToggle.toggle}
/>
)}
{rightItems.map((item, i) => (
<NavbarItem {...item} key={i} />
))}
{!hasSearchNavbarItem && <SearchBar />}
</React.Fragment>
)
} else {
return <NavbarItem {...item} key={i} />
}
})}
</div>
</div>
<div
role="presentation"
className="navbar-sidebar__backdrop"
onClick={hideSidebar}
onClick={mobileSidebar.toggle}
/>
<div className="navbar-sidebar">
<div className="navbar-sidebar__brand">
<Logo
className="navbar__brand"
imageClassName="navbar__logo"
titleClassName="navbar__title"
onClick={hideSidebar}
{mobileSidebar.shouldRender && (
<NavbarMobileSidebar
sidebarShown={mobileSidebar.shown}
toggleSidebar={mobileSidebar.toggle}
/>
{!disableColorModeSwitch && sidebarShown && (
<Toggle checked={isDarkTheme} onChange={onToggleChange} />
)}
</div>
<div className="navbar-sidebar__items">
<div className="menu">
<ul className="menu__list">
{items.map((item, i) => (
<NavbarItem
mobile
{...item} // TODO fix typing
onClick={hideSidebar}
key={i}
/>
))}
</ul>
</div>
</div>
</div>
</nav>
);
}

View File

@ -5,9 +5,12 @@
* LICENSE file in the root directory of this source tree.
*/
/*
Hide toggle in small viewports
*/
@media screen and (max-width: 997px) {
.displayOnlyInLargeViewport {
display: none !important;
.toggle {
display: none;
}
}

View File

@ -4,64 +4,49 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import React, { useState, useRef, memo } from 'react';
import { useThemeConfig } from '@docusaurus/theme-common';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import React, {useState, useRef, memo} from 'react';
import {useThemeConfig} from '@docusaurus/theme-common';
import useIsBrowser from '@docusaurus/useIsBrowser';
import clsx from 'clsx';
import './styles.css';
import styles from './styles.module.css';
import DarkIcon from "./icon_night.svg"
import LightIcon from "./icon_day.svg"
const Dark = ({ icon, style }) => (
const Dark = ({icon, style}) => (
<span className={clsx(styles.toggle, styles.dark)} style={style}>
<DarkIcon />
</span>
);
const Light = ({ icon, style }) => (
const Light = ({icon, style}) => (
<span className={clsx(styles.toggle, styles.light)} style={style}>
<LightIcon />
</span>
); // Based on react-toggle (https://github.com/aaronshaf/react-toggle/).
const Toggle = memo(
({ className, icons, checked: defaultChecked, disabled, onChange }) => {
({className, icons, checked: defaultChecked, disabled, onChange}) => {
const [checked, setChecked] = useState(defaultChecked);
const [focused, setFocused] = useState(false);
const inputRef = useRef(null);
const handleToggle = (e) => {
const checkbox = inputRef.current;
if (!checkbox) {
return;
}
if (e.target !== checkbox) {
e.preventDefault();
checkbox.focus();
checkbox.click();
return;
}
setChecked(checkbox?.checked);
};
return (
<div
className={clsx('react-toggle', className, {
'react-toggle--checked': checked,
'react-toggle--focus': focused,
'react-toggle--disabled': disabled,
})}
})}>
{/* eslint-disable-next-line jsx-a11y/click-events-have-key-events */}
<div
className="react-toggle-track"
role="button"
tabIndex={-1}
onClick={handleToggle}>
<div className="react-toggle-track">
onClick={() => inputRef.current?.click()}>
<div className="react-toggle-track-check">{icons.checked}</div>
<div className="react-toggle-track-x">{icons.unchecked}</div>
</div>
<div className="react-toggle-thumb" />
</div>
<input
ref={inputRef}
@ -70,8 +55,14 @@ const Toggle = memo(
className="react-toggle-screenreader-only"
aria-label="Switch between dark and light mode"
onChange={onChange}
onClick={() => setChecked(!checked)}
onFocus={() => setFocused(true)}
onBlur={() => setFocused(false)}
onKeyDown={(e) => {
if (e.key === 'Enter') {
inputRef.current?.click();
}
}}
/>
</div>
);
@ -80,13 +71,13 @@ const Toggle = memo(
export default function (props) {
const {
colorMode: {
switchConfig: { darkIcon, darkIconStyle, lightIcon, lightIconStyle },
switchConfig: {darkIcon, darkIconStyle, lightIcon, lightIconStyle},
},
} = useThemeConfig();
const { isClient } = useDocusaurusContext();
const isBrowser = useIsBrowser();
return (
<Toggle
disabled={!isClient}
disabled={!isBrowser}
icons={{
checked: <Dark icon={darkIcon} style={darkIconStyle} />,
unchecked: <Light icon={lightIcon} style={lightIconStyle} />,

View File

@ -0,0 +1,100 @@
/**
* 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.
*/
/**
* Styles for React Toggle
* copied over because we want to allow user to swizzle it and modify the css
* and also to make sure its compatible with our dark mode
* https://github.com/aaronshaf/react-toggle/blob/master/style.css
*/
.react-toggle {
touch-action: pan-x;
position: relative;
cursor: pointer;
user-select: none;
-webkit-tap-highlight-color: transparent;
}
.react-toggle-screenreader-only {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
position: absolute;
width: 1px;
}
.react-toggle--disabled {
cursor: not-allowed;
}
.react-toggle-track {
width: 55px;
height: 24px;
border-radius: 30px;
background-color: #40b8bb;
transition: all 0.2s ease;
}
.react-toggle-track-check {
position: absolute;
width: 21px;
height: 16px;
top: 0px;
bottom: 0px;
margin: auto 0;
left: 6px;
opacity: 0;
transition: opacity 0.25s ease;
}
[data-theme="dark"] .react-toggle .react-toggle-track-check,
.react-toggle--checked .react-toggle-track-check {
opacity: 1;
transition: opacity 0.25s ease;
}
.react-toggle-track-x {
position: absolute;
width: 21px;
height: 16px;
top: 0px;
bottom: 0px;
margin: auto 0;
right: 6px;
opacity: 1;
transition: opacity 0.25s ease;
}
[data-theme="dark"] .react-toggle .react-toggle-track-x,
.react-toggle--checked .react-toggle-track-x {
opacity: 0;
}
.react-toggle-thumb {
position: absolute;
top: -1px;
left: 0;
width: 26px;
height: 26px;
border: 3px solid var(--ifm-color-primary-dark);
border-radius: 50%;
background-color: #fafafa;
transition: all 0.25s ease;
}
[data-theme="dark"] .react-toggle .react-toggle-thumb,
.react-toggle--checked .react-toggle-thumb {
left: 31px;
}
.icon_day_svg__mode,
.icon_night_svg__mode {
height: 26px;
width: 26px;
}

View File

@ -15,97 +15,3 @@
.toggle::before {
position: absolute;
}
/**
* styles for React Toggle
* copied over because we want to allow user to swizzle it and modify the css
* and also to make sure its compatible with our dark mode
* https://github.com/aaronshaf/react-toggle/blob/master/style.css
*/
:global(.react-toggle) {
touch-action: pan-x;
position: relative;
cursor: pointer;
user-select: none;
-webkit-tap-highlight-color: transparent;
}
:global(.react-toggle-screenreader-only) {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
position: absolute;
width: 1px;
}
:global(.react-toggle--disabled) {
cursor: not-allowed;
}
:global(.react-toggle-track) {
width: 55px;
height: 24px;
border-radius: 30px;
background-color: #40b8bb;
transition: all 0.2s ease;
}
:global(.react-toggle-track-check) {
position: absolute;
width: 21px;
height: 16px;
top: 0px;
bottom: 0px;
margin: auto 0;
left: 6px;
opacity: 0;
transition: opacity 0.25s ease;
}
:global([data-theme="dark"] .react-toggle .react-toggle-track-check),
:global(.react-toggle--checked .react-toggle-track-check) {
opacity: 1;
transition: opacity 0.25s ease;
}
:global(.react-toggle-track-x) {
position: absolute;
width: 21px;
height: 16px;
top: 0px;
bottom: 0px;
margin: auto 0;
right: 6px;
opacity: 1;
transition: opacity 0.25s ease;
}
:global([data-theme="dark"] .react-toggle .react-toggle-track-x),
:global(.react-toggle--checked .react-toggle-track-x) {
opacity: 0;
}
:global(.react-toggle-thumb) {
position: absolute;
top: -1px;
left: 0;
width: 26px;
height: 26px;
border: 3px solid var(--ifm-color-primary-dark);
border-radius: 50%;
background-color: #fafafa;
transition: all 0.25s ease;
}
:global([data-theme="dark"] .react-toggle .react-toggle-thumb),
:global(.react-toggle--checked .react-toggle-thumb) {
left: 31px;
}
:global(.icon_day_svg__mode),
:global(.icon_night_svg__mode) {
height: 26px;
width: 26px;
}

View File

@ -2,24 +2,24 @@
# yarn lockfile v1
"@algolia/autocomplete-core@1.0.0-alpha.44":
version "1.0.0-alpha.44"
resolved "https://registry.yarnpkg.com/@algolia/autocomplete-core/-/autocomplete-core-1.0.0-alpha.44.tgz#e626dba45f5f3950d6beb0ab055395ef0f7e8bb2"
integrity sha512-2iMXthldMIDXtlbg9omRKLgg1bLo2ZzINAEqwhNjUeyj1ceEyL1ck6FY0VnJpf2LsjmNthHCz2BuFk+nYUeDNA==
"@algolia/autocomplete-core@1.2.2":
version "1.2.2"
resolved "https://registry.yarnpkg.com/@algolia/autocomplete-core/-/autocomplete-core-1.2.2.tgz#c121e70c78fd0175c989a219918124ad7758e48b"
integrity sha512-JOQaURze45qVa8OOFDh+ozj2a/ObSRsVyz6Zd0aiBeej+RSTqrr1hDVpGNbbXYLW26G5ujuc9QIdH+rBHn95nw==
dependencies:
"@algolia/autocomplete-shared" "1.0.0-alpha.44"
"@algolia/autocomplete-shared" "1.2.2"
"@algolia/autocomplete-preset-algolia@1.0.0-alpha.44":
version "1.0.0-alpha.44"
resolved "https://registry.yarnpkg.com/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.0.0-alpha.44.tgz#0ea0b255d0be10fbe262e281472dd6e4619b62ba"
integrity sha512-DCHwo5ovzg9k2ejUolGNTLFnIA7GpsrkbNJTy1sFbMnYfBmeK8egZPZnEl7lBTr27OaZu7IkWpTepLVSztZyng==
"@algolia/autocomplete-preset-algolia@1.2.2":
version "1.2.2"
resolved "https://registry.yarnpkg.com/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.2.2.tgz#da734ef9e42a5f64cdad2dfc81c4e9fbf805d976"
integrity sha512-AZkh+bAMaJDzMZTelFOXJTJqkp5VPGH8W3n0B+Ggce7DdozlMRsDLguKTCQAkZ0dJ1EbBPyFL5ztL/JImB137Q==
dependencies:
"@algolia/autocomplete-shared" "1.0.0-alpha.44"
"@algolia/autocomplete-shared" "1.2.2"
"@algolia/autocomplete-shared@1.0.0-alpha.44":
version "1.0.0-alpha.44"
resolved "https://registry.yarnpkg.com/@algolia/autocomplete-shared/-/autocomplete-shared-1.0.0-alpha.44.tgz#db13902ad1667e455711b77d08cae1a0feafaa48"
integrity sha512-2oQZPERYV+yNx/yoVWYjZZdOqsitJ5dfxXJjL18yczOXH6ujnsq+DTczSrX+RjzjQdVeJ1UAG053EJQF/FOiMg==
"@algolia/autocomplete-shared@1.2.2":
version "1.2.2"
resolved "https://registry.yarnpkg.com/@algolia/autocomplete-shared/-/autocomplete-shared-1.2.2.tgz#ff25dc308f2a296b2b9b325f1e3b57498eea3e0c"
integrity sha512-mLTl7d2C1xVVazHt/bqh9EE/u2lbp5YOxLDdcjILXmUqOs5HH1D4SuySblXaQG1uf28FhTqMGp35qE5wJQnqAw==
"@algolia/cache-browser-local-storage@4.9.1":
version "4.9.1"
@ -1197,25 +1197,25 @@
debug "^3.1.0"
lodash.once "^4.1.1"
"@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"
integrity sha512-zSN2SXuZPDqQaSFzYa1kOwToukqzhLHG7c66iO+/PlmWb6/RZ5cjTkG6VCJynlohRWea7AqZKWS/ptm8kM2Dmg==
"@docsearch/css@3.0.0-alpha.40":
version "3.0.0-alpha.40"
resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.0.0-alpha.40.tgz#c37bd7b03f4c30a6ea7a19b87fe71880d2e8b22a"
integrity sha512-PrOTPgJMl+Iji1zOH0+J0PEDMriJ1teGxbgll7o4h8JrvJW6sJGqQw7/bLW7enWiFaxbJMK76w1yyPNLFHV7Qg==
"@docsearch/react@^3.0.0-alpha.36":
version "3.0.0-alpha.36"
resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-3.0.0-alpha.36.tgz#f2dbd53ba9c389bc19aea89a3ad21782fa6b4bb5"
integrity sha512-synYZDHalvMzesFiy7kK+uoz4oTdWSTbe2cU+iiUjwFMyQ+WWjWwGVnvcvk+cjj9pRCVaZo5y5WpqNXq1j8k9Q==
"@docsearch/react@^3.0.0-alpha.39":
version "3.0.0-alpha.40"
resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-3.0.0-alpha.40.tgz#d912b4bb7281cb0faf65590c9cf022aa2a13d823"
integrity sha512-aKxnu7sgpP1R7jtgOV/pZdJEHXx6Ts+jnS9U/ejSUS2BMUpwQI5SA3oLs1BA5TA9kIViJ5E+rrjh0VsbcsJ6sQ==
dependencies:
"@algolia/autocomplete-core" "1.0.0-alpha.44"
"@algolia/autocomplete-preset-algolia" "1.0.0-alpha.44"
"@docsearch/css" "3.0.0-alpha.36"
"@algolia/autocomplete-core" "1.2.2"
"@algolia/autocomplete-preset-algolia" "1.2.2"
"@docsearch/css" "3.0.0-alpha.40"
algoliasearch "^4.0.0"
"@docusaurus/core@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/core/-/core-2.0.0-beta.2.tgz#92cec7cbf8134a6524f848e2c2209dc71e9f3c87"
integrity sha512-i0jwYyTFkWUhnN5/eky7fkt7reIvNFH5iOyltXyCxn/DrKCGRqC63g3IbFhvLULl007JKp3vBXvwcNK3IpH8Yw==
"@docusaurus/core@2.0.0-beta.5", "@docusaurus/core@^2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/core/-/core-2.0.0-beta.5.tgz#a8ccb489d75f777de59fdb698f93de9263928594"
integrity sha512-LERPgERVmui0Fb/aIEsd0/1O8VMWW2+vokoPJFHsCswNkk+63C+Ko6luu2z1QoXhbUGAVEJKTb4Z2NAZ5eSF5Q==
dependencies:
"@babel/core" "^7.12.16"
"@babel/generator" "^7.12.15"
@ -1227,12 +1227,12 @@
"@babel/runtime" "^7.12.5"
"@babel/runtime-corejs3" "^7.12.13"
"@babel/traverse" "^7.12.13"
"@docusaurus/cssnano-preset" "2.0.0-beta.2"
"@docusaurus/cssnano-preset" "2.0.0-beta.5"
"@docusaurus/react-loadable" "5.5.0"
"@docusaurus/types" "2.0.0-beta.2"
"@docusaurus/utils" "2.0.0-beta.2"
"@docusaurus/utils-common" "2.0.0-beta.2"
"@docusaurus/utils-validation" "2.0.0-beta.2"
"@docusaurus/types" "2.0.0-beta.5"
"@docusaurus/utils" "2.0.0-beta.5"
"@docusaurus/utils-common" "2.0.0-beta.5"
"@docusaurus/utils-validation" "2.0.0-beta.5"
"@slorber/static-site-generator-webpack-plugin" "^4.0.0"
"@svgr/webpack" "^5.5.0"
autoprefixer "^10.2.5"
@ -1241,7 +1241,7 @@
boxen "^5.0.1"
chalk "^4.1.1"
chokidar "^3.5.1"
clean-css "^5.1.2"
clean-css "^5.1.5"
commander "^5.1.0"
copy-webpack-plugin "^9.0.0"
core-js "^3.9.1"
@ -1278,6 +1278,7 @@
react-router "^5.2.0"
react-router-config "^5.1.1"
react-router-dom "^5.2.0"
remark-admonitions "^1.2.1"
resolve-pathname "^3.0.0"
rtl-detect "^1.0.3"
semver "^7.3.4"
@ -1296,119 +1297,27 @@
webpack-merge "^5.8.0"
webpackbar "^5.0.0-3"
"@docusaurus/core@2.0.0-beta.4":
version "2.0.0-beta.4"
resolved "https://registry.yarnpkg.com/@docusaurus/core/-/core-2.0.0-beta.4.tgz#b41c5064c8737405cfceb1a373c9c5aa3410fd95"
integrity sha512-ITa976MPFl9KbYchMOWCCX6SU6EFDSdGeGOHtpaNcrJ9e9Sj7o77fKmMH/ciShwz1g8brTm3VxZ0FwleU8lTig==
dependencies:
"@babel/core" "^7.12.16"
"@babel/generator" "^7.12.15"
"@babel/plugin-syntax-dynamic-import" "^7.8.3"
"@babel/plugin-transform-runtime" "^7.12.15"
"@babel/preset-env" "^7.12.16"
"@babel/preset-react" "^7.12.13"
"@babel/preset-typescript" "^7.12.16"
"@babel/runtime" "^7.12.5"
"@babel/runtime-corejs3" "^7.12.13"
"@babel/traverse" "^7.12.13"
"@docusaurus/cssnano-preset" "2.0.0-beta.4"
"@docusaurus/react-loadable" "5.5.0"
"@docusaurus/types" "2.0.0-beta.4"
"@docusaurus/utils" "2.0.0-beta.4"
"@docusaurus/utils-common" "2.0.0-beta.4"
"@docusaurus/utils-validation" "2.0.0-beta.4"
"@slorber/static-site-generator-webpack-plugin" "^4.0.0"
"@svgr/webpack" "^5.5.0"
autoprefixer "^10.2.5"
babel-loader "^8.2.2"
babel-plugin-dynamic-import-node "2.3.0"
boxen "^5.0.1"
chalk "^4.1.1"
chokidar "^3.5.1"
clean-css "^5.1.2"
commander "^5.1.0"
copy-webpack-plugin "^9.0.0"
core-js "^3.9.1"
css-loader "^5.1.1"
css-minimizer-webpack-plugin "^3.0.1"
cssnano "^5.0.4"
del "^6.0.0"
detect-port "^1.3.0"
escape-html "^1.0.3"
eta "^1.12.1"
express "^4.17.1"
file-loader "^6.2.0"
fs-extra "^10.0.0"
github-slugger "^1.3.0"
globby "^11.0.2"
html-minifier-terser "^5.1.1"
html-tags "^3.1.0"
html-webpack-plugin "^5.3.2"
import-fresh "^3.3.0"
is-root "^2.1.0"
leven "^3.1.0"
lodash "^4.17.20"
mini-css-extract-plugin "^1.6.0"
module-alias "^2.2.2"
nprogress "^0.2.0"
postcss "^8.2.15"
postcss-loader "^5.3.0"
prompts "^2.4.1"
react-dev-utils "^11.0.1"
react-error-overlay "^6.0.9"
react-helmet "^6.1.0"
react-loadable "^5.5.0"
react-loadable-ssr-addon-v5-slorber "^1.0.1"
react-router "^5.2.0"
react-router-config "^5.1.1"
react-router-dom "^5.2.0"
resolve-pathname "^3.0.0"
rtl-detect "^1.0.3"
semver "^7.3.4"
serve-handler "^6.1.3"
shelljs "^0.8.4"
std-env "^2.2.1"
strip-ansi "^6.0.0"
terser-webpack-plugin "^5.1.3"
tslib "^2.2.0"
update-notifier "^5.1.0"
url-loader "^4.1.1"
wait-on "^5.3.0"
webpack "^5.40.0"
webpack-bundle-analyzer "^4.4.2"
webpack-dev-server "^3.11.2"
webpack-merge "^5.8.0"
webpackbar "^5.0.0-3"
"@docusaurus/cssnano-preset@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/cssnano-preset/-/cssnano-preset-2.0.0-beta.2.tgz#2da6ef240c7842f9a56575c8e8c3293c6e857213"
integrity sha512-GNGYkePEYWJkxgFNUBYjEUySKm5FfBbYoQqGWn6KxDN34Qi7o+Wb37zPOiz2pNKBq+qCvXOfCIqblq7n0S/POA==
"@docusaurus/cssnano-preset@2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/cssnano-preset/-/cssnano-preset-2.0.0-beta.5.tgz#9f0e89662ac470cadf78bb1c90ad746ad5f6d5b3"
integrity sha512-qbGj3X5jcAuA/Nr6EKGRFUGYnMXAuuBg0PyJpKGXLi9/wuIGGuuO/FED2L3f9AONWXZmZuwtKQGXeGtVN8sKEg==
dependencies:
cssnano-preset-advanced "^5.1.1"
postcss "^8.2.15"
postcss-sort-media-queries "^3.10.11"
"@docusaurus/cssnano-preset@2.0.0-beta.4":
version "2.0.0-beta.4"
resolved "https://registry.yarnpkg.com/@docusaurus/cssnano-preset/-/cssnano-preset-2.0.0-beta.4.tgz#a40c0bee39143a531ca4dde05bb3a84bec416668"
integrity sha512-KsmFEob0ElffnFFbz93wcYH4IncU4LDnKBerdomU0Wdg/vXTLo3Q7no8df9yjbcBXVRaSX+/tNFapY9Iu/4Cew==
dependencies:
cssnano-preset-advanced "^5.1.1"
postcss "^8.2.15"
postcss-sort-media-queries "^3.10.11"
"@docusaurus/mdx-loader@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/mdx-loader/-/mdx-loader-2.0.0-beta.2.tgz#6bd42ea069bd0ba57fa0ab5b2b65357c9fa1e88f"
integrity sha512-ZUqwQQY3P9/N2KBt28ADJgQWj98VqKG0+OEQJOiK6bd8uIngLrHvWE0WasBT3zgPK+ljhdRMaQ7TWt1Doot+ZA==
"@docusaurus/mdx-loader@2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/mdx-loader/-/mdx-loader-2.0.0-beta.5.tgz#e2b0678d52878dcbc0227489526996f67000358a"
integrity sha512-6e1SPIIEuXomdpYnP3dkAu/6Y6aInu5vRBBc1GjLvy1RzrX1NTLdQtNdjjaEctP0eyddkyc9tkQwH0p2Wav8Zw==
dependencies:
"@babel/parser" "^7.12.16"
"@babel/traverse" "^7.12.13"
"@docusaurus/core" "2.0.0-beta.2"
"@docusaurus/utils" "2.0.0-beta.2"
"@docusaurus/core" "2.0.0-beta.5"
"@docusaurus/utils" "2.0.0-beta.5"
"@mdx-js/mdx" "^1.6.21"
"@mdx-js/react" "^1.6.21"
chalk "^4.1.1"
escape-html "^1.0.3"
file-loader "^6.2.0"
fs-extra "^10.0.0"
@ -1421,21 +1330,22 @@
url-loader "^4.1.1"
webpack "^5.40.0"
"@docusaurus/plugin-content-blog@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-blog/-/plugin-content-blog-2.0.0-beta.2.tgz#9a529ee6c28deadb61c0ebf1273903d6ef9a7ee6"
integrity sha512-I4q8zwL2GpfBxebDWoKWBrEtV2oiOkrc8cP5JORw5HKKB9zOz99UcggnbanllkCtmj+o4RiuhCQ0vHPFB5ts3Q==
"@docusaurus/plugin-content-blog@2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-blog/-/plugin-content-blog-2.0.0-beta.5.tgz#6f9e47eb72d4169ff36a8d0f26348caf18fa48dc"
integrity sha512-gZmsBKibSE6/0LeGtpPtcRCvbl8XnRwsWhDGVf13CswnKSwmyE7FWq1ymAzgA4xJx//UamaRzZB9449+l2HVCg==
dependencies:
"@docusaurus/core" "2.0.0-beta.2"
"@docusaurus/mdx-loader" "2.0.0-beta.2"
"@docusaurus/types" "2.0.0-beta.2"
"@docusaurus/utils" "2.0.0-beta.2"
"@docusaurus/utils-validation" "2.0.0-beta.2"
"@docusaurus/core" "2.0.0-beta.5"
"@docusaurus/mdx-loader" "2.0.0-beta.5"
"@docusaurus/types" "2.0.0-beta.5"
"@docusaurus/utils" "2.0.0-beta.5"
"@docusaurus/utils-validation" "2.0.0-beta.5"
chalk "^4.1.1"
escape-string-regexp "^4.0.0"
feed "^4.2.2"
fs-extra "^10.0.0"
globby "^11.0.2"
js-yaml "^4.0.0"
loader-utils "^2.0.0"
lodash "^4.17.20"
reading-time "^1.3.0"
@ -1443,16 +1353,16 @@
tslib "^2.2.0"
webpack "^5.40.0"
"@docusaurus/plugin-content-docs@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-docs/-/plugin-content-docs-2.0.0-beta.2.tgz#de14ca5e8428ea937478ce02811384d4e6a61920"
integrity sha512-lx7jC+DqMMio0Hhq3DNNGZKNUAD5n5Sc0T1m5x67iXoRJPwOEmKa+8fEhGV4tmXpTy7EmULpAnS+OxlJDOPhxg==
"@docusaurus/plugin-content-docs@2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-docs/-/plugin-content-docs-2.0.0-beta.5.tgz#22bf5fc4b6dc91019a9393008b3272c763cf9216"
integrity sha512-9WXa+UK4/oOnGdk2aWLfE/151v6tf4jgxgRSM+V9jH9FQiluG5APDz0lH62wSTZbl8PjflK5BBhl17tCjGvvgQ==
dependencies:
"@docusaurus/core" "2.0.0-beta.2"
"@docusaurus/mdx-loader" "2.0.0-beta.2"
"@docusaurus/types" "2.0.0-beta.2"
"@docusaurus/utils" "2.0.0-beta.2"
"@docusaurus/utils-validation" "2.0.0-beta.2"
"@docusaurus/core" "2.0.0-beta.5"
"@docusaurus/mdx-loader" "2.0.0-beta.5"
"@docusaurus/types" "2.0.0-beta.5"
"@docusaurus/utils" "2.0.0-beta.5"
"@docusaurus/utils-validation" "2.0.0-beta.5"
chalk "^4.1.1"
combine-promises "^1.1.0"
escape-string-regexp "^4.0.0"
@ -1469,78 +1379,76 @@
utility-types "^3.10.0"
webpack "^5.40.0"
"@docusaurus/plugin-content-pages@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-pages/-/plugin-content-pages-2.0.0-beta.2.tgz#d029926156685e651898073cff83a6b401c8de1a"
integrity sha512-Hl8GG6PpAH4AV3i5QxmxggUet/ONl9E7FdfbJ/aKsjqziay2nW6LS66Ug9EchWlEoWKpmgTvRKRKhqAIJkBzXA==
"@docusaurus/plugin-content-pages@2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-pages/-/plugin-content-pages-2.0.0-beta.5.tgz#3aa5e752699fcafe9b59b27fe011b7f86453e2af"
integrity sha512-1amYXgCc+ZqU8KScwG5zXWIGcy9OdrmmhB6LUuE+vfn+jVOdn8oVTkR8JTVMqmvLhyxmL30ixO06UsstQvKAJQ==
dependencies:
"@docusaurus/core" "2.0.0-beta.2"
"@docusaurus/mdx-loader" "2.0.0-beta.2"
"@docusaurus/types" "2.0.0-beta.2"
"@docusaurus/utils" "2.0.0-beta.2"
"@docusaurus/utils-validation" "2.0.0-beta.2"
"@docusaurus/core" "2.0.0-beta.5"
"@docusaurus/mdx-loader" "2.0.0-beta.5"
"@docusaurus/types" "2.0.0-beta.5"
"@docusaurus/utils" "2.0.0-beta.5"
"@docusaurus/utils-validation" "2.0.0-beta.5"
globby "^11.0.2"
lodash "^4.17.20"
minimatch "^3.0.4"
remark-admonitions "^1.2.1"
slash "^3.0.0"
tslib "^2.1.0"
webpack "^5.40.0"
"@docusaurus/plugin-debug@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-debug/-/plugin-debug-2.0.0-beta.2.tgz#c2b25722429b9a0d225b9a899e7f63c9b0bfaef4"
integrity sha512-Lej0Smd6wznFVOmMDQ5SU/cwOYgns63wKC6gRFBWJpZPYhmFsMOSbHTMVkAFJ5cdXeyomx51MkIH43aBytIqXQ==
"@docusaurus/plugin-debug@2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-debug/-/plugin-debug-2.0.0-beta.5.tgz#649449ccf33209ba0b723361d86459b45e4f760f"
integrity sha512-ITrgRNic+NY9HMzUKzYhh6Mz/tgKQjdJYVizA/kbP5pkjB8FunE+0B12km9UNBzuT4ETGdNKgQGAqzrcrjpnag==
dependencies:
"@docusaurus/core" "2.0.0-beta.2"
"@docusaurus/types" "2.0.0-beta.2"
"@docusaurus/utils" "2.0.0-beta.2"
"@docusaurus/core" "2.0.0-beta.5"
"@docusaurus/types" "2.0.0-beta.5"
"@docusaurus/utils" "2.0.0-beta.5"
react-json-view "^1.21.3"
tslib "^2.1.0"
"@docusaurus/plugin-google-analytics@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-google-analytics/-/plugin-google-analytics-2.0.0-beta.2.tgz#afa0697b6ed769901fe3bfff27fba399cc552f78"
integrity sha512-hOnmhCoUn1wbMb6kS2HTmVFsMmx7VaAuH+OEJMX1mJ+bAlQg3Btoctvs1BivEl2WGVvV0M5zjHW1+zwZp/QFOw==
"@docusaurus/plugin-google-analytics@2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-google-analytics/-/plugin-google-analytics-2.0.0-beta.5.tgz#a54197e7e60ab785dd14fb4e1a02887fc162d9c1"
integrity sha512-ncG+SCafoqFhtOMJwk9IZbzZCdy1bgmOjNCSfF6mmDp9laYYJBplBtqItIBQTuycIyKCxznKzi2q8l9989uMrA==
dependencies:
"@docusaurus/core" "2.0.0-beta.2"
"@docusaurus/core" "2.0.0-beta.5"
"@docusaurus/plugin-google-gtag@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-google-gtag/-/plugin-google-gtag-2.0.0-beta.2.tgz#7987ab0f956558da32bd884daa63f4d8ad2ffd3c"
integrity sha512-9ugXaVZJF5YOWzKjLevXdSXjfEPndD1Qc46eJ0l43golLXXC+b0u0gdOMms9r+HCK6/OBqTbMKcejWIUBlx0wQ==
"@docusaurus/plugin-google-gtag@2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-google-gtag/-/plugin-google-gtag-2.0.0-beta.5.tgz#415a4f98776e0ece17e96ca7e823022b5bf98316"
integrity sha512-FMWAXCLCUwEk7wykOAcM6vs3tHWVIU/T1PElqcoD7fh9521ocZ/5L8yyWWfJ+nX/90TVs+7nOFY0vNl2I2MYZg==
dependencies:
"@docusaurus/core" "2.0.0-beta.2"
"@docusaurus/core" "2.0.0-beta.5"
"@docusaurus/plugin-sitemap@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-sitemap/-/plugin-sitemap-2.0.0-beta.2.tgz#96d6f01676c4a4fd9c03e6f45ef7bca5453b2cee"
integrity sha512-tyoqZs52nVoAN7ZxJjGnpF6TUEVmXIpcGWfo0ehuTsNDs1f0XTOpex6Ue5ddXd2cEXht0HfWcL/Ta93R8BDBFw==
"@docusaurus/plugin-sitemap@2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-sitemap/-/plugin-sitemap-2.0.0-beta.5.tgz#2ab02a85e66e8b5dd8ce5f19023c005be2ec073b"
integrity sha512-QcIIMNmyMnOm5q/zyzidixNIB+yE7/ouUi/62wr5+ZkO/rvvObVe+r9Tdl90SmvsJH17y290EWEy9kunoRyG0w==
dependencies:
"@docusaurus/core" "2.0.0-beta.2"
"@docusaurus/types" "2.0.0-beta.2"
"@docusaurus/utils" "2.0.0-beta.2"
"@docusaurus/utils-common" "2.0.0-beta.2"
"@docusaurus/utils-validation" "2.0.0-beta.2"
"@docusaurus/core" "2.0.0-beta.5"
"@docusaurus/types" "2.0.0-beta.5"
"@docusaurus/utils" "2.0.0-beta.5"
"@docusaurus/utils-common" "2.0.0-beta.5"
"@docusaurus/utils-validation" "2.0.0-beta.5"
fs-extra "^10.0.0"
sitemap "^7.0.0"
tslib "^2.2.0"
"@docusaurus/preset-classic@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/preset-classic/-/preset-classic-2.0.0-beta.2.tgz#a8500ae2bed98d588584b81b00cc449655b0bf7b"
integrity sha512-ZdnCubWLoXrHgneHLQNoecwG3Cr19VBEOFOOebvMRCjGCfwyfJ7smBdx0Igvl7t+r9cAAnQtshPv5k6b4QPFKQ==
"@docusaurus/preset-classic@^2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/preset-classic/-/preset-classic-2.0.0-beta.5.tgz#7594167507ee7ff7aa78c3188bab4dfba6e8b551"
integrity sha512-hcPLYwMEMDuc/lNloDRh3SKpZneQLaz0Zj8CI7jsislp4iBz9QtbWZzruoXsJe7noSfqsBcTJqRlNw7/UwEyTA==
dependencies:
"@docusaurus/core" "2.0.0-beta.2"
"@docusaurus/plugin-content-blog" "2.0.0-beta.2"
"@docusaurus/plugin-content-docs" "2.0.0-beta.2"
"@docusaurus/plugin-content-pages" "2.0.0-beta.2"
"@docusaurus/plugin-debug" "2.0.0-beta.2"
"@docusaurus/plugin-google-analytics" "2.0.0-beta.2"
"@docusaurus/plugin-google-gtag" "2.0.0-beta.2"
"@docusaurus/plugin-sitemap" "2.0.0-beta.2"
"@docusaurus/theme-classic" "2.0.0-beta.2"
"@docusaurus/theme-search-algolia" "2.0.0-beta.2"
"@docusaurus/core" "2.0.0-beta.5"
"@docusaurus/plugin-content-blog" "2.0.0-beta.5"
"@docusaurus/plugin-content-docs" "2.0.0-beta.5"
"@docusaurus/plugin-content-pages" "2.0.0-beta.5"
"@docusaurus/plugin-debug" "2.0.0-beta.5"
"@docusaurus/plugin-google-analytics" "2.0.0-beta.5"
"@docusaurus/plugin-google-gtag" "2.0.0-beta.5"
"@docusaurus/plugin-sitemap" "2.0.0-beta.5"
"@docusaurus/theme-classic" "2.0.0-beta.5"
"@docusaurus/theme-search-algolia" "2.0.0-beta.5"
"@docusaurus/react-loadable@5.5.0":
version "5.5.0"
@ -1549,20 +1457,20 @@
dependencies:
prop-types "^15.6.2"
"@docusaurus/theme-classic@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/theme-classic/-/theme-classic-2.0.0-beta.2.tgz#e724b0740aaa17211b8dd86a0a356431837a188b"
integrity sha512-z6hJ3KyH+xmlAv5s+IgUek+eiWfkAwq2GTqCi9X6HdRmMSLxgmW7ikzK2fXVtk0VlhLxn/lBHds6Nvfo0YKCKg==
"@docusaurus/theme-classic@2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/theme-classic/-/theme-classic-2.0.0-beta.5.tgz#1c51cfc953eb7e3e7da8886ab62f99cd2a8cede0"
integrity sha512-AtBifB1mRMI5W0ORlY5M/QEnHUB/wvGLRkLegBbgBAiTy2IGr99GUXRRminQI2AQuFTwYAMLQoSVSeJ0w1q49g==
dependencies:
"@docusaurus/core" "2.0.0-beta.2"
"@docusaurus/plugin-content-blog" "2.0.0-beta.2"
"@docusaurus/plugin-content-docs" "2.0.0-beta.2"
"@docusaurus/plugin-content-pages" "2.0.0-beta.2"
"@docusaurus/theme-common" "2.0.0-beta.2"
"@docusaurus/types" "2.0.0-beta.2"
"@docusaurus/utils" "2.0.0-beta.2"
"@docusaurus/utils-common" "2.0.0-beta.2"
"@docusaurus/utils-validation" "2.0.0-beta.2"
"@docusaurus/core" "2.0.0-beta.5"
"@docusaurus/plugin-content-blog" "2.0.0-beta.5"
"@docusaurus/plugin-content-docs" "2.0.0-beta.5"
"@docusaurus/plugin-content-pages" "2.0.0-beta.5"
"@docusaurus/theme-common" "2.0.0-beta.5"
"@docusaurus/types" "2.0.0-beta.5"
"@docusaurus/utils" "2.0.0-beta.5"
"@docusaurus/utils-common" "2.0.0-beta.5"
"@docusaurus/utils-validation" "2.0.0-beta.5"
"@mdx-js/mdx" "^1.6.21"
"@mdx-js/react" "^1.6.21"
chalk "^4.1.1"
@ -1570,7 +1478,7 @@
copy-text-to-clipboard "^3.0.1"
fs-extra "^10.0.0"
globby "^11.0.2"
infima "0.2.0-alpha.26"
infima "0.2.0-alpha.31"
lodash "^4.17.20"
parse-numeric-range "^1.2.0"
postcss "^8.2.15"
@ -1580,38 +1488,40 @@
react-router-dom "^5.2.0"
rtlcss "^3.1.2"
"@docusaurus/theme-common@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/theme-common/-/theme-common-2.0.0-beta.2.tgz#3fce2348238debb5285a6596c86ecec1e9b584d2"
integrity sha512-4svDbPYpwFCb646rcayK029LANdnIHMhMFX1Out1EWcLmFFfAXY3YtWoX5iW4KEM9ScbxPisz0dKb2BVupJ6MQ==
"@docusaurus/theme-common@2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/theme-common/-/theme-common-2.0.0-beta.5.tgz#c6376de88bd0ac6f9803da25ab6212d4b5fc3afb"
integrity sha512-6XEM8NzpR2Q42qkhPdI46M/7lLcZcOCgqmQfmj319sGmKkfhPuYPuIUvNqorxldZqLYuV8/9q7WAPjAgj+wawA==
dependencies:
"@docusaurus/core" "2.0.0-beta.2"
"@docusaurus/plugin-content-blog" "2.0.0-beta.2"
"@docusaurus/plugin-content-docs" "2.0.0-beta.2"
"@docusaurus/plugin-content-pages" "2.0.0-beta.2"
"@docusaurus/types" "2.0.0-beta.2"
"@docusaurus/core" "2.0.0-beta.5"
"@docusaurus/plugin-content-blog" "2.0.0-beta.5"
"@docusaurus/plugin-content-docs" "2.0.0-beta.5"
"@docusaurus/plugin-content-pages" "2.0.0-beta.5"
"@docusaurus/types" "2.0.0-beta.5"
clsx "^1.1.1"
fs-extra "^10.0.0"
tslib "^2.1.0"
"@docusaurus/theme-search-algolia@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/theme-search-algolia/-/theme-search-algolia-2.0.0-beta.2.tgz#944d27dde33d25f1b5440a277496b9955f71ca0e"
integrity sha512-bVzZ2GF94BysasqW+PeggP9BBijUFTcnCeIp2BjOkaRnHW1YNfsfhdGArWS/2WKMWi4Y1vu79UDAKR7svCKNjg==
"@docusaurus/theme-search-algolia@2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/theme-search-algolia/-/theme-search-algolia-2.0.0-beta.5.tgz#889a10e3b849cf3d5a17b3cf735ccdc454a71af6"
integrity sha512-+3XG4SHJ4xukvv/WDKRejf3qSTVa3ufOv6hlZ32H8RAmfJmI/Rmsm/oueB86xBw/OkznIXx6M8HzchfYCHWxSA==
dependencies:
"@docsearch/react" "^3.0.0-alpha.36"
"@docusaurus/core" "2.0.0-beta.2"
"@docusaurus/theme-common" "2.0.0-beta.2"
"@docusaurus/utils" "2.0.0-beta.2"
"@docusaurus/utils-validation" "2.0.0-beta.2"
"@docsearch/react" "^3.0.0-alpha.39"
"@docusaurus/core" "2.0.0-beta.5"
"@docusaurus/theme-common" "2.0.0-beta.5"
"@docusaurus/utils" "2.0.0-beta.5"
"@docusaurus/utils-validation" "2.0.0-beta.5"
algoliasearch "^4.8.4"
algoliasearch-helper "^3.3.4"
clsx "^1.1.1"
eta "^1.12.1"
lodash "^4.17.20"
"@docusaurus/types@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/types/-/types-2.0.0-beta.2.tgz#e51fb1b1110cd5bc7af9e80ea3caa8d1ca8b20e2"
integrity sha512-4lANZLq//nYukGH0TK/EVszq3SVvz2VADXXT5o39Hx1sghkVXhJBb0jX1GaSsn1aUUW6kJr9IbiaZdfifi2bNg==
"@docusaurus/types@2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/types/-/types-2.0.0-beta.5.tgz#668ddfaa7f23d74522a58aac99d62436b555fbc6"
integrity sha512-WtwR5O67cTK6wo9KnSxqBpgC26M6Z90PgX5Gun/Re8Ix+GVEqIzzev9C/2P2Da2TW0sgSkjWNr1tHaNxNMPLkQ==
dependencies:
commander "^5.1.0"
joi "^17.4.0"
@ -1619,74 +1529,30 @@
webpack "^5.40.0"
webpack-merge "^5.8.0"
"@docusaurus/types@2.0.0-beta.4":
version "2.0.0-beta.4"
resolved "https://registry.yarnpkg.com/@docusaurus/types/-/types-2.0.0-beta.4.tgz#9eef0a88b008ebd65bb9870b7ff0050de0e620c4"
integrity sha512-2aMCliUCBYhZO8UiiPIKpRu2KECtqt0nRu44EbN6rj1STf695AIOhJC1Zo5TiuW2WbiljSbkJTgG3XdBZ3FUBw==
"@docusaurus/utils-common@2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/utils-common/-/utils-common-2.0.0-beta.5.tgz#afadd9426372292e0b6d28778613410e3fd58aa4"
integrity sha512-LUHEfZ9QGwBCpmGfLiPz5ENipxicsBlzIu+jUuB6I+ljX4Cd2OFkjDVmL0kjHR80sh0KJzNizpjsVj3l3jN9RA==
dependencies:
commander "^5.1.0"
joi "^17.4.0"
querystring "0.2.0"
webpack "^5.40.0"
webpack-merge "^5.8.0"
"@docusaurus/utils-common@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/utils-common/-/utils-common-2.0.0-beta.2.tgz#b3c7ab1bae138ce0c99963e2ff0f276c2a2a4108"
integrity sha512-R2D3wr49kc0TVWQBiKWhM32wsdZQj2ioYT6+eyyKW8f4yRP731TpO1k0pL/c9/UVA5i3Qtei+/3+guFcfxJ7VQ==
dependencies:
"@docusaurus/types" "2.0.0-beta.2"
"@docusaurus/types" "2.0.0-beta.5"
tslib "^2.2.0"
"@docusaurus/utils-common@2.0.0-beta.4":
version "2.0.0-beta.4"
resolved "https://registry.yarnpkg.com/@docusaurus/utils-common/-/utils-common-2.0.0-beta.4.tgz#eb2e5876f5f79d037fa7e1867177658661b9c1c2"
integrity sha512-QaKs96/95ztKgZqHMUS/vNl+GzZ/6vKVEPjBXWt7Fdhg2soT1Iu4cShnibEO5HaVlwSfnJbVmDLVm8phQRdr0A==
"@docusaurus/utils-validation@2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/utils-validation/-/utils-validation-2.0.0-beta.5.tgz#fe7efefdb518bc19fb6cb9c79492bd84cfc4a59a"
integrity sha512-VWj1BRYejcGewWP3BKSm3a5dVzQWA9w9MDQUCylR2NxywOxonoUPo9nz5g9bN+C3rwuelfA5u3MORu2q2+rbLw==
dependencies:
"@docusaurus/types" "2.0.0-beta.4"
tslib "^2.2.0"
"@docusaurus/utils-validation@2.0.0-beta.2":
version "2.0.0-beta.2"
resolved "https://registry.yarnpkg.com/@docusaurus/utils-validation/-/utils-validation-2.0.0-beta.2.tgz#4254a0dfd91c5a1fe00cbd1f8e134d8cd5dd963d"
integrity sha512-JMS74ldYsRxoaWXmHrOnvwSZqAMtddbuCd3wrGSWHbJNX9PI6nNqdXJDHjHTyN6kiykU7U4Hhh7D47ICdUSGEQ==
dependencies:
"@docusaurus/utils" "2.0.0-beta.2"
"@docusaurus/utils" "2.0.0-beta.5"
chalk "^4.1.1"
joi "^17.4.0"
tslib "^2.1.0"
"@docusaurus/utils-validation@2.0.0-beta.4":
version "2.0.0-beta.4"
resolved "https://registry.yarnpkg.com/@docusaurus/utils-validation/-/utils-validation-2.0.0-beta.4.tgz#417ff389d61aab4c6544f169e31bb86573b518df"
integrity sha512-t1sxSeyVU02NkcFhPvE7eQFA0CFUst68hTnie6ZS3ToY3nlzdbYRPOAZY5MPr3zRMwum6yFAXgqVA+5fnR0OGg==
"@docusaurus/utils@2.0.0-beta.5":
version "2.0.0-beta.5"
resolved "https://registry.yarnpkg.com/@docusaurus/utils/-/utils-2.0.0-beta.5.tgz#68859f070ca6bf7875f4a4121e314269211a876b"
integrity sha512-hIzuARFMqXqljTdbF19bYRw+fqqK2gHlzepeC9uJfLLaGmirPFDPjr+BN9oiajBhNx2CgvJVl/66lEx4hrd7uQ==
dependencies:
"@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.2":
version "2.0.0-beta.2"
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"
"@types/github-slugger" "^1.3.0"
chalk "^4.1.1"
escape-string-regexp "^4.0.0"
fs-extra "^10.0.0"
gray-matter "^4.0.3"
lodash "^4.17.20"
resolve-pathname "^3.0.0"
tslib "^2.2.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"
"@docusaurus/types" "2.0.0-beta.5"
"@types/github-slugger" "^1.3.0"
chalk "^4.1.1"
escape-string-regexp "^4.0.0"
@ -2984,10 +2850,10 @@ clean-css@^4.2.3:
dependencies:
source-map "~0.6.0"
clean-css@^5.1.2:
version "5.1.2"
resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-5.1.2.tgz#6ea0da7286b4ddc2469a1b776e2461a5007eed54"
integrity sha512-QcaGg9OuMo+0Ds933yLOY+gHPWbxhxqF0HDexmToPf8pczvmvZGYzd+QqWp9/mkucAOKViI+dSFOqoZIvXbeBw==
clean-css@^5.1.5:
version "5.1.5"
resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-5.1.5.tgz#3b0af240dcfc9a3779a08c2332df3ebd4474f232"
integrity sha512-9dr/cU/LjMpU57PXlSvDkVRh0rPxJBXiBtD0+SgYt8ahTCsXtfKjCkNYgIoTC6mBg8CFr5EKhW3DKCaGMUbUfQ==
dependencies:
source-map "~0.6.0"
@ -5316,10 +5182,10 @@ indent-string@^4.0.0:
resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251"
integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==
infima@0.2.0-alpha.26:
version "0.2.0-alpha.26"
resolved "https://registry.yarnpkg.com/infima/-/infima-0.2.0-alpha.26.tgz#8582d40ef01a09dbbde8f0e574f8c61d6bc0992b"
integrity sha512-0/Dt+89mf8xW+9/hKGmynK+WOAsiy0QydVJL0qie6WK57yGIQv+SjJrhMybKndnmkZBQ+Vlt0tWPnTakx8X2Qw==
infima@0.2.0-alpha.31:
version "0.2.0-alpha.31"
resolved "https://registry.yarnpkg.com/infima/-/infima-0.2.0-alpha.31.tgz#c5b66ef1797551471c49b636d6ed270f981d276e"
integrity sha512-ggOAeyiQIFKZeYnH9lbhDBHFZhcYOa0LFKSMLgot33X21aJRu7ruwVUVwYg4kJnZRLGLeAjC5BVgLxKoLixuNQ==
inflight@^1.0.4:
version "1.0.6"