@docusaurus/theme-classic 3.4.0 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/getSwizzleConfig.js +32 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -1
- package/lib/inlineScripts.js +3 -3
- package/lib/options.d.ts +0 -1
- package/lib/options.js +15 -3
- package/lib/theme/Admonition/Icon/Danger.d.ts +0 -2
- package/lib/theme/Admonition/Icon/Info.d.ts +0 -2
- package/lib/theme/Admonition/Icon/Note.d.ts +0 -2
- package/lib/theme/Admonition/Icon/Tip.d.ts +0 -2
- package/lib/theme/Admonition/Icon/Warning.d.ts +0 -2
- package/lib/theme/Admonition/Layout/index.d.ts +0 -2
- package/lib/theme/Admonition/Type/Caution.d.ts +0 -2
- package/lib/theme/Admonition/Type/Danger.d.ts +0 -2
- package/lib/theme/Admonition/Type/Info.d.ts +0 -2
- package/lib/theme/Admonition/Type/Note.d.ts +0 -2
- package/lib/theme/Admonition/Type/Tip.d.ts +0 -2
- package/lib/theme/Admonition/Type/Warning.d.ts +0 -2
- package/lib/theme/Admonition/Types.d.ts +0 -1
- package/lib/theme/Admonition/index.d.ts +0 -2
- package/lib/theme/AnnouncementBar/CloseButton/index.d.ts +0 -2
- package/lib/theme/AnnouncementBar/Content/index.d.ts +0 -2
- package/lib/theme/AnnouncementBar/index.d.ts +0 -1
- package/lib/theme/BackToTopButton/index.d.ts +0 -1
- package/lib/theme/Blog/Components/Author/Socials/index.d.ts +10 -0
- package/lib/theme/Blog/Components/Author/Socials/index.js +49 -0
- package/lib/theme/Blog/Components/Author/Socials/styles.module.css +39 -0
- package/lib/theme/Blog/Components/Author/index.d.ts +8 -0
- package/lib/theme/Blog/Components/Author/index.js +86 -0
- package/lib/theme/Blog/Components/Author/styles.module.css +74 -0
- package/lib/theme/Blog/Pages/BlogAuthorsListPage/index.d.ts +9 -0
- package/lib/theme/Blog/Pages/BlogAuthorsListPage/index.js +54 -0
- package/lib/theme/Blog/Pages/BlogAuthorsListPage/styles.module.css +11 -0
- package/lib/theme/Blog/Pages/BlogAuthorsPostsPage/index.d.ts +8 -0
- package/lib/theme/Blog/Pages/BlogAuthorsPostsPage/index.js +67 -0
- package/lib/theme/BlogArchivePage/index.d.ts +0 -2
- package/lib/theme/BlogLayout/index.d.ts +0 -2
- package/lib/theme/BlogListPage/StructuredData/index.d.ts +0 -2
- package/lib/theme/BlogListPage/StructuredData/index.js +1 -1
- package/lib/theme/BlogListPage/index.d.ts +0 -2
- package/lib/theme/BlogListPaginator/index.d.ts +0 -2
- package/lib/theme/BlogPostItem/Container/index.d.ts +0 -2
- package/lib/theme/BlogPostItem/Content/index.d.ts +0 -2
- package/lib/theme/BlogPostItem/Content/index.js +1 -1
- package/lib/theme/BlogPostItem/Footer/ReadMoreLink/index.d.ts +0 -2
- package/lib/theme/BlogPostItem/Footer/index.d.ts +0 -1
- package/lib/theme/BlogPostItem/Footer/index.js +1 -1
- package/lib/theme/BlogPostItem/Header/Authors/index.d.ts +0 -2
- package/lib/theme/BlogPostItem/Header/Authors/index.js +5 -4
- package/lib/theme/BlogPostItem/Header/Authors/styles.module.css +0 -1
- package/lib/theme/BlogPostItem/Header/Info/index.d.ts +0 -2
- package/lib/theme/BlogPostItem/Header/Info/index.js +2 -4
- package/lib/theme/BlogPostItem/Header/Title/index.d.ts +0 -2
- package/lib/theme/BlogPostItem/Header/Title/index.js +1 -1
- package/lib/theme/BlogPostItem/Header/index.d.ts +0 -1
- package/lib/theme/BlogPostItem/index.d.ts +0 -2
- package/lib/theme/BlogPostItem/index.js +1 -1
- package/lib/theme/BlogPostItems/index.d.ts +0 -2
- package/lib/theme/BlogPostItems/index.js +1 -1
- package/lib/theme/BlogPostPage/Metadata/index.d.ts +0 -1
- package/lib/theme/BlogPostPage/Metadata/index.js +1 -1
- package/lib/theme/BlogPostPage/StructuredData/index.d.ts +0 -1
- package/lib/theme/BlogPostPage/StructuredData/index.js +1 -1
- package/lib/theme/BlogPostPage/index.d.ts +0 -2
- package/lib/theme/BlogPostPage/index.js +7 -4
- package/lib/theme/BlogPostPaginator/index.d.ts +0 -2
- package/lib/theme/BlogSidebar/Content/index.d.ts +11 -0
- package/lib/theme/BlogSidebar/Content/index.js +41 -0
- package/lib/theme/BlogSidebar/Desktop/index.d.ts +4 -3
- package/lib/theme/BlogSidebar/Desktop/index.js +24 -17
- package/lib/theme/BlogSidebar/Desktop/styles.module.css +5 -0
- package/lib/theme/BlogSidebar/Mobile/index.d.ts +4 -3
- package/lib/theme/BlogSidebar/Mobile/index.js +25 -17
- package/lib/theme/BlogSidebar/Mobile/styles.module.css +10 -0
- package/lib/theme/BlogSidebar/index.d.ts +0 -2
- package/lib/theme/BlogTagsListPage/index.d.ts +0 -2
- package/lib/theme/BlogTagsPostsPage/index.d.ts +0 -2
- package/lib/theme/BlogTagsPostsPage/index.js +3 -31
- package/lib/theme/CodeBlock/Content/Element.d.ts +0 -2
- package/lib/theme/CodeBlock/Content/String.d.ts +0 -2
- package/lib/theme/CodeBlock/CopyButton/index.d.ts +0 -2
- package/lib/theme/CodeBlock/Line/index.d.ts +0 -2
- package/lib/theme/CodeBlock/WordWrapButton/index.d.ts +0 -2
- package/lib/theme/CodeBlock/index.d.ts +0 -2
- package/lib/theme/CodeInline/index.d.ts +0 -2
- package/lib/theme/ColorModeToggle/index.d.ts +0 -1
- package/lib/theme/ContentVisibility/Draft/index.d.ts +8 -0
- package/lib/theme/ContentVisibility/Draft/index.js +24 -0
- package/lib/theme/{Unlisted → ContentVisibility/Unlisted}/index.d.ts +1 -3
- package/lib/theme/ContentVisibility/index.d.ts +8 -0
- package/lib/theme/ContentVisibility/index.js +21 -0
- package/lib/theme/Details/index.d.ts +0 -2
- package/lib/theme/DocBreadcrumbs/Items/Home/index.d.ts +0 -1
- package/lib/theme/DocBreadcrumbs/index.d.ts +0 -1
- package/lib/theme/DocBreadcrumbs/index.js +2 -4
- package/lib/theme/DocCard/index.d.ts +0 -2
- package/lib/theme/DocCard/index.js +2 -2
- package/lib/theme/DocCardList/index.d.ts +0 -2
- package/lib/theme/DocCardList/index.js +1 -1
- package/lib/theme/DocCategoryGeneratedIndexPage/index.d.ts +0 -2
- package/lib/theme/DocCategoryGeneratedIndexPage/index.js +2 -4
- package/lib/theme/DocItem/Content/index.d.ts +0 -2
- package/lib/theme/DocItem/Content/index.js +1 -1
- package/lib/theme/DocItem/Footer/index.d.ts +0 -1
- package/lib/theme/DocItem/Footer/index.js +1 -1
- package/lib/theme/DocItem/Layout/index.d.ts +0 -2
- package/lib/theme/DocItem/Layout/index.js +4 -6
- package/lib/theme/DocItem/Metadata/index.d.ts +0 -1
- package/lib/theme/DocItem/Metadata/index.js +1 -1
- package/lib/theme/DocItem/Paginator/index.d.ts +0 -1
- package/lib/theme/DocItem/Paginator/index.js +1 -1
- package/lib/theme/DocItem/TOC/Desktop/index.d.ts +0 -1
- package/lib/theme/DocItem/TOC/Desktop/index.js +1 -1
- package/lib/theme/DocItem/TOC/Mobile/index.d.ts +0 -1
- package/lib/theme/DocItem/TOC/Mobile/index.js +1 -1
- package/lib/theme/DocItem/index.d.ts +0 -2
- package/lib/theme/DocItem/index.js +1 -1
- package/lib/theme/DocPaginator/index.d.ts +0 -2
- package/lib/theme/DocRoot/Layout/Main/index.d.ts +0 -2
- package/lib/theme/DocRoot/Layout/Main/index.js +1 -1
- package/lib/theme/DocRoot/Layout/Sidebar/ExpandButton/index.d.ts +0 -2
- package/lib/theme/DocRoot/Layout/Sidebar/index.d.ts +0 -2
- package/lib/theme/DocRoot/Layout/Sidebar/index.js +1 -1
- package/lib/theme/DocRoot/Layout/index.d.ts +0 -2
- package/lib/theme/DocRoot/Layout/index.js +1 -1
- package/lib/theme/DocRoot/index.d.ts +0 -2
- package/lib/theme/DocRoot/index.js +1 -1
- package/lib/theme/DocSidebar/Desktop/CollapseButton/index.d.ts +0 -2
- package/lib/theme/DocSidebar/Desktop/Content/index.d.ts +0 -2
- package/lib/theme/DocSidebar/Desktop/index.d.ts +0 -1
- package/lib/theme/DocSidebar/Mobile/index.d.ts +0 -1
- package/lib/theme/DocSidebar/index.d.ts +0 -2
- package/lib/theme/DocSidebarItem/Category/index.d.ts +0 -2
- package/lib/theme/DocSidebarItem/Category/index.js +2 -2
- package/lib/theme/DocSidebarItem/Html/index.d.ts +0 -2
- package/lib/theme/DocSidebarItem/Link/index.d.ts +0 -2
- package/lib/theme/DocSidebarItem/Link/index.js +1 -1
- package/lib/theme/DocSidebarItem/index.d.ts +0 -2
- package/lib/theme/DocSidebarItems/index.d.ts +0 -1
- package/lib/theme/DocSidebarItems/index.js +1 -1
- package/lib/theme/DocTagDocListPage/index.d.ts +0 -2
- package/lib/theme/DocTagDocListPage/index.js +1 -1
- package/lib/theme/DocTagsListPage/index.d.ts +0 -2
- package/lib/theme/DocVersionBadge/index.d.ts +0 -2
- package/lib/theme/DocVersionBadge/index.js +1 -1
- package/lib/theme/DocVersionBanner/index.d.ts +0 -2
- package/lib/theme/DocVersionBanner/index.js +1 -1
- package/lib/theme/DocVersionRoot/index.d.ts +0 -2
- package/lib/theme/DocVersionRoot/index.js +3 -3
- package/lib/theme/DocsRoot/index.d.ts +0 -2
- package/lib/theme/EditMetaRow/index.d.ts +0 -2
- package/lib/theme/EditThisPage/index.d.ts +0 -2
- package/lib/theme/ErrorPageContent.d.ts +0 -2
- package/lib/theme/Footer/Copyright/index.d.ts +0 -2
- package/lib/theme/Footer/Layout/index.d.ts +0 -2
- package/lib/theme/Footer/LinkItem/index.d.ts +0 -2
- package/lib/theme/Footer/Links/MultiColumn/index.d.ts +0 -2
- package/lib/theme/Footer/Links/Simple/index.d.ts +0 -2
- package/lib/theme/Footer/Links/index.d.ts +0 -2
- package/lib/theme/Footer/Logo/index.d.ts +0 -2
- package/lib/theme/Heading/index.d.ts +0 -2
- package/lib/theme/Icon/Arrow/index.d.ts +0 -2
- package/lib/theme/Icon/Close/index.d.ts +0 -2
- package/lib/theme/Icon/Copy/index.d.ts +0 -2
- package/lib/theme/Icon/DarkMode/index.d.ts +0 -2
- package/lib/theme/Icon/Edit/index.d.ts +0 -2
- package/lib/theme/Icon/ExternalLink/index.d.ts +0 -2
- package/lib/theme/Icon/Home/index.d.ts +0 -2
- package/lib/theme/Icon/Language/index.d.ts +0 -2
- package/lib/theme/Icon/LightMode/index.d.ts +0 -2
- package/lib/theme/Icon/Menu/index.d.ts +0 -2
- package/lib/theme/Icon/Socials/Default/index.d.ts +9 -0
- package/lib/theme/Icon/Socials/Default/index.js +30 -0
- package/lib/theme/Icon/Socials/GitHub/index.d.ts +9 -0
- package/lib/theme/Icon/Socials/GitHub/index.js +25 -0
- package/lib/theme/Icon/Socials/GitHub/styles.module.css +14 -0
- package/lib/theme/Icon/Socials/LinkedIn/index.d.ts +9 -0
- package/lib/theme/Icon/Socials/LinkedIn/index.js +24 -0
- package/lib/theme/Icon/Socials/StackOverflow/index.d.ts +9 -0
- package/lib/theme/Icon/Socials/StackOverflow/index.js +27 -0
- package/lib/theme/Icon/Socials/Twitter/index.d.ts +9 -0
- package/lib/theme/Icon/Socials/Twitter/index.js +24 -0
- package/lib/theme/Icon/Socials/X/index.d.ts +9 -0
- package/lib/theme/Icon/Socials/X/index.js +25 -0
- package/lib/theme/Icon/Socials/X/styles.module.css +14 -0
- package/lib/theme/Icon/Success/index.d.ts +0 -2
- package/lib/theme/Icon/WordWrap/index.d.ts +0 -2
- package/lib/theme/LastUpdated/index.d.ts +0 -2
- package/lib/theme/Layout/Provider/index.d.ts +0 -2
- package/lib/theme/Layout/Provider/index.js +1 -1
- package/lib/theme/Layout/index.d.ts +0 -3
- package/lib/theme/Logo/index.d.ts +0 -2
- package/lib/theme/MDXComponents/A.d.ts +0 -2
- package/lib/theme/MDXComponents/Code.d.ts +0 -2
- package/lib/theme/MDXComponents/Details.d.ts +0 -2
- package/lib/theme/MDXComponents/Heading.d.ts +0 -2
- package/lib/theme/MDXComponents/Img/index.d.ts +0 -2
- package/lib/theme/MDXComponents/Li.d.ts +0 -1
- package/lib/theme/MDXComponents/Pre.d.ts +0 -1
- package/lib/theme/MDXComponents/Ul/index.d.ts +0 -2
- package/lib/theme/MDXComponents/index.d.ts +0 -1
- package/lib/theme/MDXContent/index.d.ts +0 -2
- package/lib/theme/MDXPage/index.d.ts +0 -2
- package/lib/theme/MDXPage/index.js +10 -13
- package/lib/theme/Mermaid.d.ts +0 -1
- package/lib/theme/Navbar/ColorModeToggle/index.d.ts +0 -2
- package/lib/theme/Navbar/Content/index.d.ts +0 -1
- package/lib/theme/Navbar/Layout/index.d.ts +0 -2
- package/lib/theme/Navbar/Logo/index.d.ts +0 -1
- package/lib/theme/Navbar/MobileSidebar/Header/index.d.ts +0 -1
- package/lib/theme/Navbar/MobileSidebar/Layout/index.d.ts +0 -2
- package/lib/theme/Navbar/MobileSidebar/PrimaryMenu/index.d.ts +0 -1
- package/lib/theme/Navbar/MobileSidebar/SecondaryMenu/index.d.ts +0 -1
- package/lib/theme/Navbar/MobileSidebar/Toggle/index.d.ts +0 -1
- package/lib/theme/Navbar/MobileSidebar/index.d.ts +0 -1
- package/lib/theme/Navbar/Search/index.d.ts +0 -2
- package/lib/theme/Navbar/index.d.ts +0 -1
- package/lib/theme/NavbarItem/ComponentTypes.d.ts +0 -1
- package/lib/theme/NavbarItem/DefaultNavbarItem.d.ts +0 -2
- package/lib/theme/NavbarItem/DocNavbarItem.d.ts +0 -2
- package/lib/theme/NavbarItem/DocNavbarItem.js +4 -2
- package/lib/theme/NavbarItem/DocSidebarNavbarItem.d.ts +0 -2
- package/lib/theme/NavbarItem/DocSidebarNavbarItem.js +4 -2
- package/lib/theme/NavbarItem/DocsVersionDropdownNavbarItem.d.ts +0 -2
- package/lib/theme/NavbarItem/DocsVersionDropdownNavbarItem.js +19 -14
- package/lib/theme/NavbarItem/DocsVersionNavbarItem.d.ts +0 -2
- package/lib/theme/NavbarItem/DocsVersionNavbarItem.js +1 -1
- package/lib/theme/NavbarItem/DropdownNavbarItem/index.d.ts +0 -2
- package/lib/theme/NavbarItem/HtmlNavbarItem.d.ts +0 -2
- package/lib/theme/NavbarItem/LocaleDropdownNavbarItem/index.d.ts +0 -2
- package/lib/theme/NavbarItem/NavbarNavLink.d.ts +0 -2
- package/lib/theme/NavbarItem/SearchNavbarItem.d.ts +0 -2
- package/lib/theme/NavbarItem/index.d.ts +0 -2
- package/lib/theme/NotFound/Content/index.d.ts +0 -2
- package/lib/theme/NotFound/index.d.ts +0 -1
- package/lib/theme/PaginatorNavLink/index.d.ts +0 -2
- package/lib/theme/SearchBar.d.ts +0 -1
- package/lib/theme/SearchMetadata/index.d.ts +0 -2
- package/lib/theme/SiteMetadata/index.d.ts +0 -1
- package/lib/theme/SkipToContent/index.d.ts +0 -1
- package/lib/theme/TOC/index.d.ts +0 -2
- package/lib/theme/TOCCollapsible/CollapseButton/index.d.ts +0 -2
- package/lib/theme/TOCCollapsible/index.d.ts +0 -2
- package/lib/theme/TOCInline/index.d.ts +0 -2
- package/lib/theme/TOCItems/Tree.d.ts +0 -1
- package/lib/theme/TOCItems/index.d.ts +0 -2
- package/lib/theme/TabItem/index.d.ts +0 -2
- package/lib/theme/Tabs/index.d.ts +0 -2
- package/lib/theme/Tabs/index.js +3 -1
- package/lib/theme/Tag/index.d.ts +0 -2
- package/lib/theme/TagsListByLetter/index.d.ts +0 -2
- package/lib/theme/TagsListInline/index.d.ts +0 -2
- package/lib/theme/ThemedImage/index.d.ts +0 -2
- package/lib/translations.js +2 -3
- package/package.json +15 -15
- package/src/getSwizzleConfig.ts +32 -0
- package/src/options.ts +18 -2
- package/src/theme/Blog/Components/Author/Socials/index.tsx +66 -0
- package/src/theme/Blog/Components/Author/Socials/styles.module.css +39 -0
- package/src/theme/Blog/Components/Author/index.tsx +99 -0
- package/src/theme/Blog/Components/Author/styles.module.css +74 -0
- package/src/theme/Blog/Pages/BlogAuthorsListPage/index.tsx +62 -0
- package/src/theme/Blog/Pages/BlogAuthorsListPage/styles.module.css +11 -0
- package/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.tsx +73 -0
- package/src/theme/BlogListPage/StructuredData/index.tsx +1 -1
- package/src/theme/BlogPostItem/Content/index.tsx +1 -1
- package/src/theme/BlogPostItem/Footer/index.tsx +1 -1
- package/src/theme/BlogPostItem/Header/Authors/index.tsx +5 -4
- package/src/theme/BlogPostItem/Header/Authors/styles.module.css +0 -1
- package/src/theme/BlogPostItem/Header/Info/index.tsx +2 -4
- package/src/theme/BlogPostItem/Header/Title/index.tsx +1 -1
- package/src/theme/BlogPostItem/index.tsx +1 -1
- package/src/theme/BlogPostItems/index.tsx +1 -1
- package/src/theme/BlogPostPage/Metadata/index.tsx +1 -1
- package/src/theme/BlogPostPage/StructuredData/index.tsx +1 -1
- package/src/theme/BlogPostPage/index.tsx +7 -4
- package/src/theme/BlogSidebar/Content/index.tsx +57 -0
- package/src/theme/BlogSidebar/Desktop/index.tsx +27 -17
- package/src/theme/BlogSidebar/Desktop/styles.module.css +5 -0
- package/src/theme/BlogSidebar/Mobile/index.tsx +29 -17
- package/src/theme/BlogSidebar/Mobile/styles.module.css +10 -0
- package/src/theme/BlogTagsPostsPage/index.tsx +3 -33
- package/src/theme/ContentVisibility/Draft/index.tsx +27 -0
- package/src/theme/{Unlisted → ContentVisibility/Unlisted}/index.tsx +1 -1
- package/src/theme/ContentVisibility/index.tsx +27 -0
- package/src/theme/DocBreadcrumbs/index.tsx +2 -4
- package/src/theme/DocCard/index.tsx +2 -2
- package/src/theme/DocCardList/index.tsx +1 -1
- package/src/theme/DocCategoryGeneratedIndexPage/index.tsx +2 -4
- package/src/theme/DocItem/Content/index.tsx +1 -1
- package/src/theme/DocItem/Footer/index.tsx +1 -1
- package/src/theme/DocItem/Layout/index.tsx +4 -6
- package/src/theme/DocItem/Metadata/index.tsx +1 -1
- package/src/theme/DocItem/Paginator/index.tsx +1 -1
- package/src/theme/DocItem/TOC/Desktop/index.tsx +1 -1
- package/src/theme/DocItem/TOC/Mobile/index.tsx +1 -1
- package/src/theme/DocItem/index.tsx +1 -1
- package/src/theme/DocRoot/Layout/Main/index.tsx +1 -1
- package/src/theme/DocRoot/Layout/Sidebar/index.tsx +1 -1
- package/src/theme/DocRoot/Layout/index.tsx +1 -1
- package/src/theme/DocRoot/index.tsx +1 -1
- package/src/theme/DocSidebarItem/Category/index.tsx +2 -2
- package/src/theme/DocSidebarItem/Link/index.tsx +1 -1
- package/src/theme/DocSidebarItems/index.tsx +1 -1
- package/src/theme/DocTagDocListPage/index.tsx +1 -1
- package/src/theme/DocVersionBadge/index.tsx +1 -1
- package/src/theme/DocVersionBanner/index.tsx +1 -1
- package/src/theme/DocVersionRoot/index.tsx +3 -3
- package/src/theme/Icon/Socials/Default/index.tsx +33 -0
- package/src/theme/Icon/Socials/GitHub/index.tsx +29 -0
- package/src/theme/Icon/Socials/GitHub/styles.module.css +14 -0
- package/src/theme/Icon/Socials/LinkedIn/index.tsx +27 -0
- package/src/theme/Icon/Socials/StackOverflow/index.tsx +30 -0
- package/src/theme/Icon/Socials/Twitter/index.tsx +27 -0
- package/src/theme/Icon/Socials/X/index.tsx +29 -0
- package/src/theme/Icon/Socials/X/styles.module.css +14 -0
- package/src/theme/Layout/Provider/index.tsx +1 -1
- package/src/theme/MDXPage/index.tsx +10 -13
- package/src/theme/NavbarItem/DocNavbarItem.tsx +4 -2
- package/src/theme/NavbarItem/DocSidebarNavbarItem.tsx +4 -2
- package/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx +32 -16
- package/src/theme/NavbarItem/DocsVersionNavbarItem.tsx +1 -1
- package/src/theme/Tabs/index.tsx +3 -1
- package/src/theme-classic.d.ts +106 -12
- package/lib/theme/BlogPostItem/Header/Author/index.d.ts +0 -10
- package/lib/theme/BlogPostItem/Header/Author/index.js +0 -39
- package/src/theme/BlogPostItem/Header/Author/index.tsx +0 -47
- /package/lib/theme/{Unlisted → ContentVisibility/Unlisted}/index.js +0 -0
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import React, {useState, useCallback} from 'react';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import {prefersReducedMotion, ThemeClassNames} from '@docusaurus/theme-common';
|
|
10
|
-
import {useDocsSidebar} from '@docusaurus/
|
|
10
|
+
import {useDocsSidebar} from '@docusaurus/plugin-content-docs/client';
|
|
11
11
|
import {useLocation} from '@docusaurus/router';
|
|
12
12
|
import DocSidebar from '@theme/DocSidebar';
|
|
13
13
|
import ExpandButton from '@theme/DocRoot/Layout/Sidebar/ExpandButton';
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/DocRoot/Layout';
|
|
10
8
|
export default function DocRootLayout({ children }: Props): JSX.Element;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
import React, {useState} from 'react';
|
|
8
|
-
import {useDocsSidebar} from '@docusaurus/
|
|
8
|
+
import {useDocsSidebar} from '@docusaurus/plugin-content-docs/client';
|
|
9
9
|
import BackToTopButton from '@theme/BackToTopButton';
|
|
10
10
|
import DocRootLayoutSidebar from '@theme/DocRoot/Layout/Sidebar';
|
|
11
11
|
import DocRootLayoutMain from '@theme/DocRoot/Layout/Main';
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="@docusaurus/plugin-content-docs" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/DocRoot';
|
|
10
8
|
export default function DocRoot(props: Props): JSX.Element;
|
|
@@ -10,7 +10,7 @@ import {HtmlClassNameProvider, ThemeClassNames} from '@docusaurus/theme-common';
|
|
|
10
10
|
import {
|
|
11
11
|
DocsSidebarProvider,
|
|
12
12
|
useDocRootMetadata,
|
|
13
|
-
} from '@docusaurus/
|
|
13
|
+
} from '@docusaurus/plugin-content-docs/client';
|
|
14
14
|
import DocRootLayout from '@theme/DocRoot/Layout';
|
|
15
15
|
import NotFoundContent from '@theme/NotFound/Content';
|
|
16
16
|
export default function DocRoot(props) {
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/DocSidebar/Desktop/CollapseButton';
|
|
10
8
|
export default function CollapseButton({ onClick }: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/DocSidebar/Desktop/Content';
|
|
10
8
|
export default function DocSidebarDesktopContent({ path, sidebar, className, }: Props): JSX.Element;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
7
|
import React from 'react';
|
|
9
8
|
import type { Props } from '@theme/DocSidebar/Desktop';
|
|
10
9
|
declare function DocSidebarDesktop({ path, sidebar, onCollapse, isHidden }: Props): React.JSX.Element;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
7
|
import React from 'react';
|
|
9
8
|
import type { Props } from '@theme/DocSidebar/Mobile';
|
|
10
9
|
declare function DocSidebarMobile(props: Props): React.JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/DocSidebar';
|
|
10
8
|
export default function DocSidebar(props: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/DocSidebarItem/Category';
|
|
10
8
|
export default function DocSidebarItemCategory({ item, onItemClick, activePath, level, index, ...props }: Props): JSX.Element;
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
Collapsible,
|
|
14
14
|
useCollapsible,
|
|
15
15
|
} from '@docusaurus/theme-common';
|
|
16
|
+
import {isSamePath} from '@docusaurus/theme-common/internal';
|
|
16
17
|
import {
|
|
17
18
|
isActiveSidebarItem,
|
|
18
19
|
findFirstSidebarItemLink,
|
|
19
20
|
useDocSidebarItemsExpandedState,
|
|
20
|
-
|
|
21
|
-
} from '@docusaurus/theme-common/internal';
|
|
21
|
+
} from '@docusaurus/plugin-content-docs/client';
|
|
22
22
|
import Link from '@docusaurus/Link';
|
|
23
23
|
import {translate} from '@docusaurus/Translate';
|
|
24
24
|
import useIsBrowser from '@docusaurus/useIsBrowser';
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/DocSidebarItem/Html';
|
|
10
8
|
export default function DocSidebarItemHtml({ item, level, index, }: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/DocSidebarItem/Link';
|
|
10
8
|
export default function DocSidebarItemLink({ item, onItemClick, activePath, level, index, ...props }: Props): JSX.Element;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import {ThemeClassNames} from '@docusaurus/theme-common';
|
|
10
|
-
import {isActiveSidebarItem} from '@docusaurus/
|
|
10
|
+
import {isActiveSidebarItem} from '@docusaurus/plugin-content-docs/client';
|
|
11
11
|
import Link from '@docusaurus/Link';
|
|
12
12
|
import isInternalUrl from '@docusaurus/isInternalUrl';
|
|
13
13
|
import IconExternalLink from '@theme/Icon/ExternalLink';
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/DocSidebarItem';
|
|
10
8
|
export default function DocSidebarItem({ item, ...props }: Props): JSX.Element | null;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
8
7
|
import React from 'react';
|
|
9
8
|
import type { Props } from '@theme/DocSidebarItems';
|
|
10
9
|
declare function DocSidebarItems({ items, ...props }: Props): JSX.Element;
|
|
@@ -8,7 +8,7 @@ import React, {memo} from 'react';
|
|
|
8
8
|
import {
|
|
9
9
|
DocSidebarItemsExpandedStateProvider,
|
|
10
10
|
useVisibleSidebarItems,
|
|
11
|
-
} from '@docusaurus/
|
|
11
|
+
} from '@docusaurus/plugin-content-docs/client';
|
|
12
12
|
import DocSidebarItem from '@theme/DocSidebarItem';
|
|
13
13
|
function DocSidebarItems({items, ...props}) {
|
|
14
14
|
const visibleItems = useVisibleSidebarItems(items, props.activePath);
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="@docusaurus/plugin-content-docs" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/DocTagDocListPage';
|
|
10
8
|
export default function DocTagDocListPage(props: Props): JSX.Element;
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from '@docusaurus/theme-common';
|
|
16
16
|
import Translate, {translate} from '@docusaurus/Translate';
|
|
17
17
|
import SearchMetadata from '@theme/SearchMetadata';
|
|
18
|
-
import Unlisted from '@theme/Unlisted';
|
|
18
|
+
import Unlisted from '@theme/ContentVisibility/Unlisted';
|
|
19
19
|
import Heading from '@theme/Heading';
|
|
20
20
|
// Very simple pluralization: probably good enough for now
|
|
21
21
|
function useNDocsTaggedPlural() {
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="@docusaurus/plugin-content-docs" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/DocTagsListPage';
|
|
10
8
|
export default function DocTagsListPage(props: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/DocVersionBadge';
|
|
10
8
|
export default function DocVersionBadge({ className, }: Props): JSX.Element | null;
|
|
@@ -8,7 +8,7 @@ import React from 'react';
|
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import Translate from '@docusaurus/Translate';
|
|
10
10
|
import {ThemeClassNames} from '@docusaurus/theme-common';
|
|
11
|
-
import {useDocsVersion} from '@docusaurus/
|
|
11
|
+
import {useDocsVersion} from '@docusaurus/plugin-content-docs/client';
|
|
12
12
|
export default function DocVersionBadge({className}) {
|
|
13
13
|
const versionMetadata = useDocsVersion();
|
|
14
14
|
if (versionMetadata.badge) {
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/DocVersionBanner';
|
|
10
8
|
export default function DocVersionBanner({ className, }: Props): JSX.Element | null;
|
|
@@ -17,7 +17,7 @@ import {ThemeClassNames} from '@docusaurus/theme-common';
|
|
|
17
17
|
import {
|
|
18
18
|
useDocsPreferredVersion,
|
|
19
19
|
useDocsVersion,
|
|
20
|
-
} from '@docusaurus/
|
|
20
|
+
} from '@docusaurus/plugin-content-docs/client';
|
|
21
21
|
function UnreleasedVersionLabel({siteTitle, versionMetadata}) {
|
|
22
22
|
return (
|
|
23
23
|
<Translate
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="@docusaurus/plugin-content-docs" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/DocVersionRoot';
|
|
10
8
|
export default function DocVersionRoot(props: Props): JSX.Element;
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import {HtmlClassNameProvider, PageMetadata} from '@docusaurus/theme-common';
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
getDocsVersionSearchTag,
|
|
11
11
|
DocsVersionProvider,
|
|
12
|
-
} from '@docusaurus/
|
|
12
|
+
} from '@docusaurus/plugin-content-docs/client';
|
|
13
13
|
import renderRoutes from '@docusaurus/renderRoutes';
|
|
14
14
|
import SearchMetadata from '@theme/SearchMetadata';
|
|
15
15
|
function DocVersionRootMetadata(props) {
|
|
@@ -18,7 +18,7 @@ function DocVersionRootMetadata(props) {
|
|
|
18
18
|
<>
|
|
19
19
|
<SearchMetadata
|
|
20
20
|
version={version.version}
|
|
21
|
-
tag={
|
|
21
|
+
tag={getDocsVersionSearchTag(version.pluginId, version.version)}
|
|
22
22
|
/>
|
|
23
23
|
<PageMetadata>
|
|
24
24
|
{version.noIndex && <meta name="robots" content="noindex, nofollow" />}
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="@docusaurus/plugin-content-docs" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/DocVersionRoot';
|
|
10
8
|
export default function DocsRoot(props: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/EditThisPage';
|
|
10
8
|
export default function EditThisPage({ editUrl }: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="@docusaurus/module-type-aliases" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Error';
|
|
10
8
|
export default function ErrorPageContent({ error, tryAgain, }: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Footer/Copyright';
|
|
10
8
|
export default function FooterCopyright({ copyright }: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Footer/Layout';
|
|
10
8
|
export default function FooterLayout({ style, links, logo, copyright, }: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Footer/LinkItem';
|
|
10
8
|
export default function FooterLinkItem({ item }: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Footer/Links/MultiColumn';
|
|
10
8
|
export default function FooterLinksMultiColumn({ columns }: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Footer/Links/Simple';
|
|
10
8
|
export default function FooterLinksSimple({ links }: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Footer/Links';
|
|
10
8
|
export default function FooterLinks({ links }: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Footer/Logo';
|
|
10
8
|
export default function FooterLogo({ logo }: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Heading';
|
|
10
8
|
export default function Heading({ as: As, id, ...props }: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Icon/Arrow';
|
|
10
8
|
export default function IconArrow(props: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Icon/Close';
|
|
10
8
|
export default function IconClose({ width, height, color, strokeWidth, className, ...restProps }: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Icon/Copy';
|
|
10
8
|
export default function IconCopy(props: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Icon/DarkMode';
|
|
10
8
|
export default function IconDarkMode(props: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Icon/Edit';
|
|
10
8
|
export default function IconEdit({ className, ...restProps }: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Icon/ExternalLink';
|
|
10
8
|
export default function IconExternalLink({ width, height, }: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Icon/Home';
|
|
10
8
|
export default function IconHome(props: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Icon/Language';
|
|
10
8
|
export default function IconLanguage({ width, height, ...props }: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Icon/LightMode';
|
|
10
8
|
export default function IconLightMode(props: Props): JSX.Element;
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference path="../../../../src/theme-classic.d.ts" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
7
|
import type { Props } from '@theme/Icon/Menu';
|
|
10
8
|
export default function IconMenu({ width, height, className, ...restProps }: Props): JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import type { SVGProps } from 'react';
|
|
8
|
+
declare function DefaultSocial(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
9
|
+
export default DefaultSocial;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
// SVG Source: https://tabler.io/
|
|
8
|
+
function DefaultSocial(props) {
|
|
9
|
+
return (
|
|
10
|
+
<svg
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
width="1em"
|
|
13
|
+
height="1em"
|
|
14
|
+
viewBox="0 0 24 24"
|
|
15
|
+
fill="none"
|
|
16
|
+
stroke="currentColor"
|
|
17
|
+
strokeWidth="2"
|
|
18
|
+
strokeLinecap="round"
|
|
19
|
+
strokeLinejoin="round"
|
|
20
|
+
{...props}>
|
|
21
|
+
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
22
|
+
<path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0" />
|
|
23
|
+
<path d="M3.6 9h16.8" />
|
|
24
|
+
<path d="M3.6 15h16.8" />
|
|
25
|
+
<path d="M11.5 3a17 17 0 0 0 0 18" />
|
|
26
|
+
<path d="M12.5 3a17 17 0 0 1 0 18" />
|
|
27
|
+
</svg>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export default DefaultSocial;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import type { SVGProps } from 'react';
|
|
8
|
+
declare function GitHub(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
9
|
+
export default GitHub;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import clsx from 'clsx';
|
|
8
|
+
import styles from './styles.module.css';
|
|
9
|
+
// SVG Source: https://svgl.app/
|
|
10
|
+
function GitHub(props) {
|
|
11
|
+
return (
|
|
12
|
+
<svg
|
|
13
|
+
viewBox="0 0 256 250"
|
|
14
|
+
width="1em"
|
|
15
|
+
height="1em"
|
|
16
|
+
{...props}
|
|
17
|
+
className={clsx(props.className, styles.githubSvg)}
|
|
18
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
19
|
+
style={{'--dark': '#000', '--light': '#fff'}}
|
|
20
|
+
preserveAspectRatio="xMidYMid">
|
|
21
|
+
<path d="M128.001 0C57.317 0 0 57.307 0 128.001c0 56.554 36.676 104.535 87.535 121.46 6.397 1.185 8.746-2.777 8.746-6.158 0-3.052-.12-13.135-.174-23.83-35.61 7.742-43.124-15.103-43.124-15.103-5.823-14.795-14.213-18.73-14.213-18.73-11.613-7.944.876-7.78.876-7.78 12.853.902 19.621 13.19 19.621 13.19 11.417 19.568 29.945 13.911 37.249 10.64 1.149-8.272 4.466-13.92 8.127-17.116-28.431-3.236-58.318-14.212-58.318-63.258 0-13.975 5-25.394 13.188-34.358-1.329-3.224-5.71-16.242 1.24-33.874 0 0 10.749-3.44 35.21 13.121 10.21-2.836 21.16-4.258 32.038-4.307 10.878.049 21.837 1.47 32.066 4.307 24.431-16.56 35.165-13.12 35.165-13.12 6.967 17.63 2.584 30.65 1.255 33.873 8.207 8.964 13.173 20.383 13.173 34.358 0 49.163-29.944 59.988-58.447 63.157 4.591 3.972 8.682 11.762 8.682 23.704 0 17.126-.148 30.91-.148 35.126 0 3.407 2.304 7.398 8.792 6.14C219.37 232.5 256 184.537 256 128.002 256 57.307 198.691 0 128.001 0Zm-80.06 182.34c-.282.636-1.283.827-2.194.39-.929-.417-1.45-1.284-1.15-1.922.276-.655 1.279-.838 2.205-.399.93.418 1.46 1.293 1.139 1.931Zm6.296 5.618c-.61.566-1.804.303-2.614-.591-.837-.892-.994-2.086-.375-2.66.63-.566 1.787-.301 2.626.591.838.903 1 2.088.363 2.66Zm4.32 7.188c-.785.545-2.067.034-2.86-1.104-.784-1.138-.784-2.503.017-3.05.795-.547 2.058-.055 2.861 1.075.782 1.157.782 2.522-.019 3.08Zm7.304 8.325c-.701.774-2.196.566-3.29-.49-1.119-1.032-1.43-2.496-.726-3.27.71-.776 2.213-.558 3.315.49 1.11 1.03 1.45 2.505.701 3.27Zm9.442 2.81c-.31 1.003-1.75 1.459-3.199 1.033-1.448-.439-2.395-1.613-2.103-2.626.301-1.01 1.747-1.484 3.207-1.028 1.446.436 2.396 1.602 2.095 2.622Zm10.744 1.193c.036 1.055-1.193 1.93-2.715 1.95-1.53.034-2.769-.82-2.786-1.86 0-1.065 1.202-1.932 2.733-1.958 1.522-.03 2.768.818 2.768 1.868Zm10.555-.405c.182 1.03-.875 2.088-2.387 2.37-1.485.271-2.861-.365-3.05-1.386-.184-1.056.893-2.114 2.376-2.387 1.514-.263 2.868.356 3.061 1.403Z" />
|
|
22
|
+
</svg>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
export default GitHub;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
[data-theme='dark'] .githubSvg {
|
|
9
|
+
fill: var(--light);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
[data-theme='light'] .githubSvg {
|
|
13
|
+
fill: var(--dark);
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import type { SVGProps } from 'react';
|
|
8
|
+
declare function LinkedIn(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
9
|
+
export default LinkedIn;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
// SVG Source: https://svgl.app/
|
|
8
|
+
function LinkedIn(props) {
|
|
9
|
+
return (
|
|
10
|
+
<svg
|
|
11
|
+
width="1em"
|
|
12
|
+
height="1em"
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
+
preserveAspectRatio="xMidYMid"
|
|
15
|
+
viewBox="0 0 256 256"
|
|
16
|
+
{...props}>
|
|
17
|
+
<path
|
|
18
|
+
d="M218.123 218.127h-37.931v-59.403c0-14.165-.253-32.4-19.728-32.4-19.756 0-22.779 15.434-22.779 31.369v60.43h-37.93V95.967h36.413v16.694h.51a39.907 39.907 0 0 1 35.928-19.733c38.445 0 45.533 25.288 45.533 58.186l-.016 67.013ZM56.955 79.27c-12.157.002-22.014-9.852-22.016-22.009-.002-12.157 9.851-22.014 22.008-22.016 12.157-.003 22.014 9.851 22.016 22.008A22.013 22.013 0 0 1 56.955 79.27m18.966 138.858H37.95V95.967h37.97v122.16ZM237.033.018H18.89C8.58-.098.125 8.161-.001 18.471v219.053c.122 10.315 8.576 18.582 18.89 18.474h218.144c10.336.128 18.823-8.139 18.966-18.474V18.454c-.147-10.33-8.635-18.588-18.966-18.453"
|
|
19
|
+
fill="#0A66C2"
|
|
20
|
+
/>
|
|
21
|
+
</svg>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export default LinkedIn;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import type { SVGProps } from 'react';
|
|
8
|
+
declare function StackOverflow(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
9
|
+
export default StackOverflow;
|