@docusaurus/theme-classic 3.2.1 → 3.3.1
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 +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/options.d.ts +1 -0
- package/lib/theme/Admonition/Icon/Danger.d.ts +1 -0
- package/lib/theme/Admonition/Icon/Info.d.ts +1 -0
- package/lib/theme/Admonition/Icon/Note.d.ts +1 -0
- package/lib/theme/Admonition/Icon/Tip.d.ts +1 -0
- package/lib/theme/Admonition/Icon/Warning.d.ts +1 -0
- package/lib/theme/Admonition/Layout/index.d.ts +1 -0
- package/lib/theme/Admonition/Layout/index.js +1 -1
- package/lib/theme/Admonition/Type/Caution.d.ts +1 -0
- package/lib/theme/Admonition/Type/Danger.d.ts +1 -0
- package/lib/theme/Admonition/Type/Info.d.ts +1 -0
- package/lib/theme/Admonition/Type/Note.d.ts +1 -0
- package/lib/theme/Admonition/Type/Tip.d.ts +1 -0
- package/lib/theme/Admonition/Type/Warning.d.ts +1 -0
- package/lib/theme/Admonition/index.d.ts +1 -0
- package/lib/theme/AnnouncementBar/CloseButton/index.d.ts +1 -0
- package/lib/theme/AnnouncementBar/Content/index.d.ts +1 -0
- package/lib/theme/BlogLayout/index.d.ts +1 -0
- package/lib/theme/BlogListPaginator/index.d.ts +1 -0
- package/lib/theme/BlogPostItem/Container/index.d.ts +1 -0
- package/lib/theme/BlogPostItem/Content/index.d.ts +1 -0
- package/lib/theme/BlogPostItem/Footer/ReadMoreLink/index.d.ts +1 -0
- package/lib/theme/BlogPostItem/Header/Author/index.d.ts +1 -0
- package/lib/theme/BlogPostItem/Header/Authors/index.d.ts +1 -0
- package/lib/theme/BlogPostItem/Header/Info/index.d.ts +1 -0
- package/lib/theme/BlogPostItem/Header/Title/index.d.ts +1 -0
- package/lib/theme/BlogPostItem/index.d.ts +1 -0
- package/lib/theme/BlogPostItems/index.d.ts +1 -0
- package/lib/theme/BlogPostPaginator/index.d.ts +1 -0
- package/lib/theme/BlogSidebar/Desktop/index.d.ts +1 -0
- package/lib/theme/BlogSidebar/Mobile/index.d.ts +1 -0
- package/lib/theme/BlogSidebar/index.d.ts +1 -0
- package/lib/theme/CodeBlock/Content/Element.d.ts +1 -0
- package/lib/theme/CodeBlock/Content/String.d.ts +1 -0
- package/lib/theme/CodeBlock/CopyButton/index.d.ts +1 -0
- package/lib/theme/CodeBlock/Line/index.d.ts +1 -0
- package/lib/theme/CodeBlock/Line/index.js +1 -1
- package/lib/theme/CodeBlock/WordWrapButton/index.d.ts +1 -0
- package/lib/theme/CodeBlock/index.d.ts +1 -0
- package/lib/theme/CodeInline/index.d.ts +1 -0
- package/lib/theme/ColorModeToggle/index.d.ts +1 -0
- package/lib/theme/Details/index.d.ts +1 -0
- package/lib/theme/DocCard/index.d.ts +1 -0
- package/lib/theme/DocCardList/index.d.ts +1 -0
- package/lib/theme/DocItem/Content/index.d.ts +1 -0
- package/lib/theme/DocItem/Layout/index.d.ts +1 -0
- package/lib/theme/DocPaginator/index.d.ts +1 -0
- package/lib/theme/DocRoot/Layout/Main/index.d.ts +1 -0
- package/lib/theme/DocRoot/Layout/Sidebar/ExpandButton/index.d.ts +1 -0
- package/lib/theme/DocRoot/Layout/Sidebar/index.d.ts +1 -0
- package/lib/theme/DocRoot/Layout/index.d.ts +1 -0
- package/lib/theme/DocSidebar/Desktop/CollapseButton/index.d.ts +1 -0
- package/lib/theme/DocSidebar/Desktop/Content/index.d.ts +1 -0
- package/lib/theme/DocSidebar/Desktop/index.d.ts +1 -0
- package/lib/theme/DocSidebar/Mobile/index.d.ts +1 -0
- package/lib/theme/DocSidebar/index.d.ts +1 -0
- package/lib/theme/DocSidebarItem/Category/index.d.ts +1 -0
- package/lib/theme/DocSidebarItem/Html/index.d.ts +1 -0
- package/lib/theme/DocSidebarItem/Link/index.d.ts +1 -0
- package/lib/theme/DocSidebarItem/index.d.ts +1 -0
- package/lib/theme/DocSidebarItems/index.d.ts +1 -0
- package/lib/theme/DocVersionBadge/index.d.ts +1 -0
- package/lib/theme/DocVersionBanner/index.d.ts +1 -0
- package/lib/theme/EditMetaRow/index.d.ts +1 -0
- package/lib/theme/EditThisPage/index.d.ts +1 -0
- package/lib/theme/Footer/Copyright/index.d.ts +1 -0
- package/lib/theme/Footer/Layout/index.d.ts +1 -0
- package/lib/theme/Footer/LinkItem/index.d.ts +1 -0
- package/lib/theme/Footer/Links/MultiColumn/index.d.ts +1 -0
- package/lib/theme/Footer/Links/Simple/index.d.ts +1 -0
- package/lib/theme/Footer/Links/index.d.ts +1 -0
- package/lib/theme/Footer/Logo/index.d.ts +1 -0
- package/lib/theme/Heading/index.d.ts +1 -0
- package/lib/theme/Icon/Arrow/index.d.ts +1 -0
- package/lib/theme/Icon/Close/index.d.ts +1 -0
- package/lib/theme/Icon/Copy/index.d.ts +1 -0
- package/lib/theme/Icon/DarkMode/index.d.ts +1 -0
- package/lib/theme/Icon/Edit/index.d.ts +1 -0
- package/lib/theme/Icon/ExternalLink/index.d.ts +1 -0
- package/lib/theme/Icon/Home/index.d.ts +1 -0
- package/lib/theme/Icon/Language/index.d.ts +1 -0
- package/lib/theme/Icon/LightMode/index.d.ts +1 -0
- package/lib/theme/Icon/Menu/index.d.ts +1 -0
- package/lib/theme/Icon/Success/index.d.ts +1 -0
- package/lib/theme/Icon/WordWrap/index.d.ts +1 -0
- package/lib/theme/LastUpdated/index.d.ts +1 -0
- package/lib/theme/Layout/Provider/index.d.ts +1 -0
- package/lib/theme/Layout/index.d.ts +2 -0
- package/lib/theme/Logo/index.d.ts +1 -0
- package/lib/theme/MDXComponents/A.d.ts +1 -0
- package/lib/theme/MDXComponents/Code.d.ts +1 -0
- package/lib/theme/MDXComponents/Details.d.ts +1 -0
- package/lib/theme/MDXComponents/Heading.d.ts +1 -0
- package/lib/theme/MDXComponents/Img/index.d.ts +1 -0
- package/lib/theme/MDXComponents/Li.d.ts +1 -0
- package/lib/theme/MDXComponents/Pre.d.ts +1 -0
- package/lib/theme/MDXComponents/Ul/index.d.ts +1 -0
- package/lib/theme/MDXComponents/index.d.ts +1 -0
- package/lib/theme/MDXComponents/index.js +1 -1
- package/lib/theme/MDXContent/index.d.ts +1 -0
- package/lib/theme/MDXPage/index.js +22 -1
- package/lib/theme/Mermaid.d.ts +1 -0
- package/lib/theme/Navbar/ColorModeToggle/index.d.ts +1 -0
- package/lib/theme/Navbar/Layout/index.d.ts +1 -0
- package/lib/theme/Navbar/MobileSidebar/Layout/index.d.ts +1 -0
- package/lib/theme/Navbar/Search/index.d.ts +1 -0
- package/lib/theme/Navbar/Search/styles.module.css +2 -9
- package/lib/theme/NavbarItem/ComponentTypes.d.ts +1 -0
- package/lib/theme/NavbarItem/DefaultNavbarItem.d.ts +1 -0
- package/lib/theme/NavbarItem/DocNavbarItem.d.ts +1 -0
- package/lib/theme/NavbarItem/DocSidebarNavbarItem.d.ts +1 -0
- package/lib/theme/NavbarItem/DocsVersionDropdownNavbarItem.d.ts +1 -0
- package/lib/theme/NavbarItem/DocsVersionNavbarItem.d.ts +1 -0
- package/lib/theme/NavbarItem/DropdownNavbarItem/index.d.ts +1 -0
- package/lib/theme/NavbarItem/HtmlNavbarItem.d.ts +1 -0
- package/lib/theme/NavbarItem/LocaleDropdownNavbarItem/index.d.ts +1 -0
- package/lib/theme/NavbarItem/NavbarNavLink.d.ts +1 -0
- package/lib/theme/NavbarItem/SearchNavbarItem.d.ts +1 -0
- package/lib/theme/NavbarItem/index.d.ts +1 -0
- package/lib/theme/NotFound/Content/index.d.ts +1 -0
- package/lib/theme/PaginatorNavLink/index.d.ts +1 -0
- package/lib/theme/SearchBar.d.ts +1 -0
- package/lib/theme/SearchMetadata/index.d.ts +1 -0
- package/lib/theme/TOC/index.d.ts +1 -0
- package/lib/theme/TOCCollapsible/CollapseButton/index.d.ts +1 -0
- package/lib/theme/TOCCollapsible/index.d.ts +1 -0
- package/lib/theme/TOCInline/index.d.ts +1 -0
- package/lib/theme/TOCItems/Tree.d.ts +1 -0
- package/lib/theme/TOCItems/index.d.ts +1 -0
- package/lib/theme/TabItem/index.d.ts +1 -0
- package/lib/theme/Tabs/index.d.ts +1 -0
- package/lib/theme/Tabs/index.js +2 -2
- package/lib/theme/Tag/index.d.ts +1 -0
- package/lib/theme/TagsListByLetter/index.d.ts +1 -0
- package/lib/theme/TagsListInline/index.d.ts +1 -0
- package/lib/theme/ThemedImage/index.d.ts +1 -0
- package/lib/theme/Unlisted/index.d.ts +1 -0
- package/package.json +14 -14
- package/src/theme/Admonition/Layout/index.tsx +1 -1
- package/src/theme/CodeBlock/Line/index.tsx +1 -1
- package/src/theme/MDXPage/index.tsx +23 -1
- package/src/theme/Navbar/Search/styles.module.css +2 -9
- package/src/theme/Tabs/index.tsx +2 -2
package/lib/getSwizzleConfig.js
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
import type { LoadContext, Plugin } from '@docusaurus/types';
|
|
8
9
|
import type { PluginOptions } from '@docusaurus/theme-classic';
|
|
9
10
|
export declare const AnnouncementBarDismissStorageKey = "docusaurus.announcement.dismiss";
|
package/lib/options.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
import { Joi } from '@docusaurus/utils-validation';
|
|
8
9
|
import type { Options, PluginOptions } from '@docusaurus/theme-classic';
|
|
9
10
|
import type { ThemeConfig } from '@docusaurus/theme-common';
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Admonition/Icon/Danger';
|
|
9
10
|
export default function AdmonitionIconDanger(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Admonition/Icon/Info';
|
|
9
10
|
export default function AdmonitionIconInfo(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Admonition/Icon/Note';
|
|
9
10
|
export default function AdmonitionIconNote(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Admonition/Icon/Tip';
|
|
9
10
|
export default function AdmonitionIconTip(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Admonition/Icon/Warning';
|
|
9
10
|
export default function AdmonitionIconCaution(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Admonition/Layout';
|
|
9
10
|
export default function AdmonitionLayout(props: Props): JSX.Element;
|
|
@@ -38,7 +38,7 @@ export default function AdmonitionLayout(props) {
|
|
|
38
38
|
const {type, icon, title, children, className} = props;
|
|
39
39
|
return (
|
|
40
40
|
<AdmonitionContainer type={type} className={className}>
|
|
41
|
-
<AdmonitionHeading title={title} icon={icon} />
|
|
41
|
+
{title || icon ? <AdmonitionHeading title={title} icon={icon} /> : null}
|
|
42
42
|
<AdmonitionContent>{children}</AdmonitionContent>
|
|
43
43
|
</AdmonitionContainer>
|
|
44
44
|
);
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Admonition/Type/Caution';
|
|
9
10
|
export default function AdmonitionTypeCaution(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Admonition/Type/Danger';
|
|
9
10
|
export default function AdmonitionTypeDanger(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Admonition/Type/Info';
|
|
9
10
|
export default function AdmonitionTypeInfo(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Admonition/Type/Note';
|
|
9
10
|
export default function AdmonitionTypeNote(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Admonition/Type/Tip';
|
|
9
10
|
export default function AdmonitionTypeTip(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Admonition/Type/Warning';
|
|
9
10
|
export default function AdmonitionTypeWarning(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Admonition';
|
|
9
10
|
export default function Admonition(unprocessedProps: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/AnnouncementBar/CloseButton';
|
|
9
10
|
export default function AnnouncementBarCloseButton(props: Props): JSX.Element | null;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/AnnouncementBar/Content';
|
|
9
10
|
export default function AnnouncementBarContent(props: Props): JSX.Element | null;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/BlogLayout';
|
|
9
10
|
export default function BlogLayout(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/BlogListPaginator';
|
|
9
10
|
export default function BlogListPaginator(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/BlogPostItem/Container';
|
|
9
10
|
export default function BlogPostItemContainer({ children, className, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/BlogPostItem/Content';
|
|
9
10
|
export default function BlogPostItemContent({ children, className, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/BlogPostItem/Footer/ReadMoreLink';
|
|
9
10
|
export default function BlogPostItemFooterReadMoreLink(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/BlogPostItem/Header/Author';
|
|
9
10
|
export default function BlogPostItemHeaderAuthor({ author, className, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/BlogPostItem/Header/Authors';
|
|
9
10
|
export default function BlogPostItemHeaderAuthors({ className, }: Props): JSX.Element | null;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/BlogPostItem/Header/Info';
|
|
9
10
|
export default function BlogPostItemHeaderInfo({ className, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/BlogPostItem/Header/Title';
|
|
9
10
|
export default function BlogPostItemHeaderTitle({ className, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/BlogPostItem';
|
|
9
10
|
export default function BlogPostItem({ children, className, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/BlogPostItems';
|
|
9
10
|
export default function BlogPostItems({ items, component: BlogPostItemComponent, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/BlogPostPaginator';
|
|
9
10
|
export default function BlogPostPaginator(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/BlogSidebar/Desktop';
|
|
9
10
|
export default function BlogSidebarDesktop({ sidebar }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/BlogSidebar/Mobile';
|
|
9
10
|
export default function BlogSidebarMobile(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/BlogSidebar';
|
|
9
10
|
export default function BlogSidebar({ sidebar }: Props): JSX.Element | null;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/CodeBlock/Content/Element';
|
|
9
10
|
export default function CodeBlockJSX({ children, className, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/CodeBlock/Content/String';
|
|
9
10
|
export default function CodeBlockString({ children, className: blockClassName, metastring, title: titleProp, showLineNumbers: showLineNumbersProp, language: languageProp, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/CodeBlock/CopyButton';
|
|
9
10
|
export default function CopyButton({ code, className }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/CodeBlock/Line';
|
|
9
10
|
export default function CodeBlockLine({ line, classNames, showLineNumbers, getLineProps, getTokenProps, }: Props): JSX.Element;
|
|
@@ -22,7 +22,7 @@ export default function CodeBlockLine({
|
|
|
22
22
|
className: clsx(classNames, showLineNumbers && styles.codeLine),
|
|
23
23
|
});
|
|
24
24
|
const lineTokens = line.map((token, key) => (
|
|
25
|
-
<span key={key} {...getTokenProps({token
|
|
25
|
+
<span key={key} {...getTokenProps({token})} />
|
|
26
26
|
));
|
|
27
27
|
return (
|
|
28
28
|
<span {...lineProps}>
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/CodeBlock/WordWrapButton';
|
|
9
10
|
export default function WordWrapButton({ className, onClick, isEnabled, }: Props): JSX.Element | null;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/CodeBlock';
|
|
9
10
|
export default function CodeBlock({ children: rawChildren, ...props }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/CodeInline';
|
|
9
10
|
export default function CodeInline(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
import React from 'react';
|
|
8
9
|
import type { Props } from '@theme/ColorModeToggle';
|
|
9
10
|
declare function ColorModeToggle({ className, buttonClassName, value, onChange, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Details';
|
|
9
10
|
export default function Details({ ...props }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocCard';
|
|
9
10
|
export default function DocCard({ item }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocCardList';
|
|
9
10
|
export default function DocCardList(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocItem/Content';
|
|
9
10
|
export default function DocItemContent({ children }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocItem/Layout';
|
|
9
10
|
export default function DocItemLayout({ children }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocPaginator';
|
|
9
10
|
export default function DocPaginator(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocRoot/Layout/Main';
|
|
9
10
|
export default function DocRootLayoutMain({ hiddenSidebarContainer, children, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocRoot/Layout/Sidebar/ExpandButton';
|
|
9
10
|
export default function DocRootLayoutSidebarExpandButton({ toggleSidebar, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocRoot/Layout/Sidebar';
|
|
9
10
|
export default function DocRootLayoutSidebar({ sidebar, hiddenSidebarContainer, setHiddenSidebarContainer, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocRoot/Layout';
|
|
9
10
|
export default function DocRootLayout({ children }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocSidebar/Desktop/CollapseButton';
|
|
9
10
|
export default function CollapseButton({ onClick }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocSidebar/Desktop/Content';
|
|
9
10
|
export default function DocSidebarDesktopContent({ path, sidebar, className, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
import React from 'react';
|
|
8
9
|
import type { Props } from '@theme/DocSidebar/Desktop';
|
|
9
10
|
declare function DocSidebarDesktop({ path, sidebar, onCollapse, isHidden }: Props): React.JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
import React from 'react';
|
|
8
9
|
import type { Props } from '@theme/DocSidebar/Mobile';
|
|
9
10
|
declare function DocSidebarMobile(props: Props): React.JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocSidebar';
|
|
9
10
|
export default function DocSidebar(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocSidebarItem/Category';
|
|
9
10
|
export default function DocSidebarItemCategory({ item, onItemClick, activePath, level, index, ...props }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocSidebarItem/Html';
|
|
9
10
|
export default function DocSidebarItemHtml({ item, level, index, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocSidebarItem/Link';
|
|
9
10
|
export default function DocSidebarItemLink({ item, onItemClick, activePath, level, index, ...props }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocSidebarItem';
|
|
9
10
|
export default function DocSidebarItem({ item, ...props }: Props): JSX.Element | null;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
import React from 'react';
|
|
8
9
|
import type { Props } from '@theme/DocSidebarItems';
|
|
9
10
|
declare function DocSidebarItems({ items, ...props }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocVersionBadge';
|
|
9
10
|
export default function DocVersionBadge({ className, }: Props): JSX.Element | null;
|
|
@@ -4,6 +4,7 @@
|
|
|
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" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/DocVersionBanner';
|
|
9
10
|
export default function DocVersionBanner({ className, }: Props): JSX.Element | null;
|