@docusaurus/theme-classic 0.0.0-5913 → 0.0.0-5917

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.
Files changed (137) hide show
  1. package/lib/getSwizzleConfig.js +1 -1
  2. package/lib/index.d.ts +1 -0
  3. package/lib/options.d.ts +1 -0
  4. package/lib/theme/Admonition/Icon/Danger.d.ts +1 -0
  5. package/lib/theme/Admonition/Icon/Info.d.ts +1 -0
  6. package/lib/theme/Admonition/Icon/Note.d.ts +1 -0
  7. package/lib/theme/Admonition/Icon/Tip.d.ts +1 -0
  8. package/lib/theme/Admonition/Icon/Warning.d.ts +1 -0
  9. package/lib/theme/Admonition/Layout/index.d.ts +1 -0
  10. package/lib/theme/Admonition/Type/Caution.d.ts +1 -0
  11. package/lib/theme/Admonition/Type/Danger.d.ts +1 -0
  12. package/lib/theme/Admonition/Type/Info.d.ts +1 -0
  13. package/lib/theme/Admonition/Type/Note.d.ts +1 -0
  14. package/lib/theme/Admonition/Type/Tip.d.ts +1 -0
  15. package/lib/theme/Admonition/Type/Warning.d.ts +1 -0
  16. package/lib/theme/Admonition/index.d.ts +1 -0
  17. package/lib/theme/AnnouncementBar/CloseButton/index.d.ts +1 -0
  18. package/lib/theme/AnnouncementBar/Content/index.d.ts +1 -0
  19. package/lib/theme/BlogLayout/index.d.ts +1 -0
  20. package/lib/theme/BlogListPaginator/index.d.ts +1 -0
  21. package/lib/theme/BlogPostItem/Container/index.d.ts +1 -0
  22. package/lib/theme/BlogPostItem/Content/index.d.ts +1 -0
  23. package/lib/theme/BlogPostItem/Footer/ReadMoreLink/index.d.ts +1 -0
  24. package/lib/theme/BlogPostItem/Header/Author/index.d.ts +1 -0
  25. package/lib/theme/BlogPostItem/Header/Authors/index.d.ts +1 -0
  26. package/lib/theme/BlogPostItem/Header/Info/index.d.ts +1 -0
  27. package/lib/theme/BlogPostItem/Header/Title/index.d.ts +1 -0
  28. package/lib/theme/BlogPostItem/index.d.ts +1 -0
  29. package/lib/theme/BlogPostItems/index.d.ts +1 -0
  30. package/lib/theme/BlogPostPaginator/index.d.ts +1 -0
  31. package/lib/theme/BlogSidebar/Desktop/index.d.ts +1 -0
  32. package/lib/theme/BlogSidebar/Mobile/index.d.ts +1 -0
  33. package/lib/theme/BlogSidebar/index.d.ts +1 -0
  34. package/lib/theme/CodeBlock/Content/Element.d.ts +1 -0
  35. package/lib/theme/CodeBlock/Content/String.d.ts +1 -0
  36. package/lib/theme/CodeBlock/CopyButton/index.d.ts +1 -0
  37. package/lib/theme/CodeBlock/Line/index.d.ts +1 -0
  38. package/lib/theme/CodeBlock/Line/index.js +1 -1
  39. package/lib/theme/CodeBlock/WordWrapButton/index.d.ts +1 -0
  40. package/lib/theme/CodeBlock/index.d.ts +1 -0
  41. package/lib/theme/CodeInline/index.d.ts +1 -0
  42. package/lib/theme/ColorModeToggle/index.d.ts +1 -0
  43. package/lib/theme/Details/index.d.ts +1 -0
  44. package/lib/theme/DocCard/index.d.ts +1 -0
  45. package/lib/theme/DocCardList/index.d.ts +1 -0
  46. package/lib/theme/DocItem/Content/index.d.ts +1 -0
  47. package/lib/theme/DocItem/Layout/index.d.ts +1 -0
  48. package/lib/theme/DocPaginator/index.d.ts +1 -0
  49. package/lib/theme/DocRoot/Layout/Main/index.d.ts +1 -0
  50. package/lib/theme/DocRoot/Layout/Sidebar/ExpandButton/index.d.ts +1 -0
  51. package/lib/theme/DocRoot/Layout/Sidebar/index.d.ts +1 -0
  52. package/lib/theme/DocRoot/Layout/index.d.ts +1 -0
  53. package/lib/theme/DocSidebar/Desktop/CollapseButton/index.d.ts +1 -0
  54. package/lib/theme/DocSidebar/Desktop/Content/index.d.ts +1 -0
  55. package/lib/theme/DocSidebar/Desktop/index.d.ts +1 -0
  56. package/lib/theme/DocSidebar/Mobile/index.d.ts +1 -0
  57. package/lib/theme/DocSidebar/index.d.ts +1 -0
  58. package/lib/theme/DocSidebarItem/Category/index.d.ts +1 -0
  59. package/lib/theme/DocSidebarItem/Html/index.d.ts +1 -0
  60. package/lib/theme/DocSidebarItem/Link/index.d.ts +1 -0
  61. package/lib/theme/DocSidebarItem/index.d.ts +1 -0
  62. package/lib/theme/DocSidebarItems/index.d.ts +1 -0
  63. package/lib/theme/DocVersionBadge/index.d.ts +1 -0
  64. package/lib/theme/DocVersionBanner/index.d.ts +1 -0
  65. package/lib/theme/EditMetaRow/index.d.ts +1 -0
  66. package/lib/theme/EditThisPage/index.d.ts +1 -0
  67. package/lib/theme/Footer/Copyright/index.d.ts +1 -0
  68. package/lib/theme/Footer/Layout/index.d.ts +1 -0
  69. package/lib/theme/Footer/LinkItem/index.d.ts +1 -0
  70. package/lib/theme/Footer/Links/MultiColumn/index.d.ts +1 -0
  71. package/lib/theme/Footer/Links/Simple/index.d.ts +1 -0
  72. package/lib/theme/Footer/Links/index.d.ts +1 -0
  73. package/lib/theme/Footer/Logo/index.d.ts +1 -0
  74. package/lib/theme/Heading/index.d.ts +1 -0
  75. package/lib/theme/Icon/Arrow/index.d.ts +1 -0
  76. package/lib/theme/Icon/Close/index.d.ts +1 -0
  77. package/lib/theme/Icon/Copy/index.d.ts +1 -0
  78. package/lib/theme/Icon/DarkMode/index.d.ts +1 -0
  79. package/lib/theme/Icon/Edit/index.d.ts +1 -0
  80. package/lib/theme/Icon/ExternalLink/index.d.ts +1 -0
  81. package/lib/theme/Icon/Home/index.d.ts +1 -0
  82. package/lib/theme/Icon/Language/index.d.ts +1 -0
  83. package/lib/theme/Icon/LightMode/index.d.ts +1 -0
  84. package/lib/theme/Icon/Menu/index.d.ts +1 -0
  85. package/lib/theme/Icon/Success/index.d.ts +1 -0
  86. package/lib/theme/Icon/WordWrap/index.d.ts +1 -0
  87. package/lib/theme/LastUpdated/index.d.ts +1 -0
  88. package/lib/theme/Layout/Provider/index.d.ts +1 -0
  89. package/lib/theme/Layout/index.d.ts +2 -0
  90. package/lib/theme/Logo/index.d.ts +1 -0
  91. package/lib/theme/MDXComponents/A.d.ts +1 -0
  92. package/lib/theme/MDXComponents/Code.d.ts +1 -0
  93. package/lib/theme/MDXComponents/Details.d.ts +1 -0
  94. package/lib/theme/MDXComponents/Heading.d.ts +1 -0
  95. package/lib/theme/MDXComponents/Img/index.d.ts +1 -0
  96. package/lib/theme/MDXComponents/Li.d.ts +1 -0
  97. package/lib/theme/MDXComponents/Pre.d.ts +1 -0
  98. package/lib/theme/MDXComponents/Ul/index.d.ts +1 -0
  99. package/lib/theme/MDXComponents/index.d.ts +1 -0
  100. package/lib/theme/MDXComponents/index.js +1 -1
  101. package/lib/theme/MDXContent/index.d.ts +1 -0
  102. package/lib/theme/Mermaid.d.ts +1 -0
  103. package/lib/theme/Navbar/ColorModeToggle/index.d.ts +1 -0
  104. package/lib/theme/Navbar/Layout/index.d.ts +1 -0
  105. package/lib/theme/Navbar/MobileSidebar/Layout/index.d.ts +1 -0
  106. package/lib/theme/Navbar/Search/index.d.ts +1 -0
  107. package/lib/theme/NavbarItem/ComponentTypes.d.ts +1 -0
  108. package/lib/theme/NavbarItem/DefaultNavbarItem.d.ts +1 -0
  109. package/lib/theme/NavbarItem/DocNavbarItem.d.ts +1 -0
  110. package/lib/theme/NavbarItem/DocSidebarNavbarItem.d.ts +1 -0
  111. package/lib/theme/NavbarItem/DocsVersionDropdownNavbarItem.d.ts +1 -0
  112. package/lib/theme/NavbarItem/DocsVersionNavbarItem.d.ts +1 -0
  113. package/lib/theme/NavbarItem/DropdownNavbarItem/index.d.ts +1 -0
  114. package/lib/theme/NavbarItem/HtmlNavbarItem.d.ts +1 -0
  115. package/lib/theme/NavbarItem/LocaleDropdownNavbarItem/index.d.ts +1 -0
  116. package/lib/theme/NavbarItem/NavbarNavLink.d.ts +1 -0
  117. package/lib/theme/NavbarItem/SearchNavbarItem.d.ts +1 -0
  118. package/lib/theme/NavbarItem/index.d.ts +1 -0
  119. package/lib/theme/NotFound/Content/index.d.ts +1 -0
  120. package/lib/theme/PaginatorNavLink/index.d.ts +1 -0
  121. package/lib/theme/SearchBar.d.ts +1 -0
  122. package/lib/theme/SearchMetadata/index.d.ts +1 -0
  123. package/lib/theme/TOC/index.d.ts +1 -0
  124. package/lib/theme/TOCCollapsible/CollapseButton/index.d.ts +1 -0
  125. package/lib/theme/TOCCollapsible/index.d.ts +1 -0
  126. package/lib/theme/TOCInline/index.d.ts +1 -0
  127. package/lib/theme/TOCItems/Tree.d.ts +1 -0
  128. package/lib/theme/TOCItems/index.d.ts +1 -0
  129. package/lib/theme/TabItem/index.d.ts +1 -0
  130. package/lib/theme/Tabs/index.d.ts +1 -0
  131. package/lib/theme/Tag/index.d.ts +1 -0
  132. package/lib/theme/TagsListByLetter/index.d.ts +1 -0
  133. package/lib/theme/TagsListInline/index.d.ts +1 -0
  134. package/lib/theme/ThemedImage/index.d.ts +1 -0
  135. package/lib/theme/Unlisted/index.d.ts +1 -0
  136. package/package.json +14 -14
  137. package/src/theme/CodeBlock/Line/index.tsx +1 -1
@@ -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/Footer/Copyright';
9
10
  export default function FooterCopyright({ copyright }: 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/Footer/Layout';
9
10
  export default function FooterLayout({ style, links, logo, copyright, }: 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/Footer/LinkItem';
9
10
  export default function FooterLinkItem({ 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/Footer/Links/MultiColumn';
9
10
  export default function FooterLinksMultiColumn({ columns }: 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/Footer/Links/Simple';
9
10
  export default function FooterLinksSimple({ links }: 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/Footer/Links';
9
10
  export default function FooterLinks({ links }: 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/Footer/Logo';
9
10
  export default function FooterLogo({ logo }: 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/Heading';
9
10
  export default function Heading({ as: As, id, ...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/Icon/Arrow';
9
10
  export default function IconArrow(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/Icon/Close';
9
10
  export default function IconClose({ width, height, color, strokeWidth, className, ...restProps }: 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/Icon/Copy';
9
10
  export default function IconCopy(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/Icon/DarkMode';
9
10
  export default function IconDarkMode(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/Icon/Edit';
9
10
  export default function IconEdit({ className, ...restProps }: 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/Icon/ExternalLink';
9
10
  export default function IconExternalLink({ width, height, }: 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/Icon/Home';
9
10
  export default function IconHome(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/Icon/Language';
9
10
  export default function IconLanguage({ width, height, ...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/Icon/LightMode';
9
10
  export default function IconLightMode(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/Icon/Menu';
9
10
  export default function IconMenu({ width, height, className, ...restProps }: 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/Icon/Success';
9
10
  export default function IconSuccess(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/Icon/WordWrap';
9
10
  export default function IconWordWrap(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/LastUpdated';
9
10
  export default function LastUpdated({ lastUpdatedAt, lastUpdatedBy, }: 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/Layout/Provider';
9
10
  export default function LayoutProvider({ children }: Props): JSX.Element;
@@ -4,6 +4,8 @@
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" />
9
+ /// <reference types="@docusaurus/module-type-aliases" />
8
10
  import type { Props } from '@theme/Layout';
9
11
  export default function Layout(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/Logo';
9
10
  export default function Logo(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/MDXComponents/A';
9
10
  export default function MDXA(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/MDXComponents/Code';
9
10
  export default function MDXCode(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/MDXComponents/Details';
9
10
  export default function MDXDetails(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/MDXComponents/Heading';
9
10
  export default function MDXHeading(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/MDXComponents/Img';
9
10
  export default function MDXImg(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 { type ReactNode } from 'react';
8
9
  import type { Props } from '@theme/MDXComponents/Li';
9
10
  export default function MDXLi(props: Props): ReactNode | undefined;
@@ -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 ReactNode } from 'react';
8
9
  import type { Props } from '@theme/MDXComponents/Pre';
9
10
  export default function MDXPre(props: Props): ReactNode | undefined;
@@ -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/MDXComponents/Ul';
9
10
  export default function MDXUl(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 type { MDXComponentsObject } from '@theme/MDXComponents';
8
9
  declare const MDXComponents: MDXComponentsObject;
9
10
  export default MDXComponents;
@@ -18,7 +18,7 @@ import Admonition from '@theme/Admonition';
18
18
  import Mermaid from '@theme/Mermaid';
19
19
  const MDXComponents = {
20
20
  Head,
21
- details: MDXDetails,
21
+ details: MDXDetails, // For MD mode support, see https://github.com/facebook/docusaurus/issues/9092#issuecomment-1602902274
22
22
  Details: MDXDetails,
23
23
  code: MDXCode,
24
24
  a: MDXA,
@@ -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/MDXContent';
9
10
  export default function MDXContent({ children }: Props): JSX.Element;
@@ -4,4 +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" />
7
8
  export { default } from '@docusaurus/Noop';
@@ -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/Navbar/ColorModeToggle';
9
10
  export default function NavbarColorModeToggle({ 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/Navbar/Layout';
9
10
  export default function NavbarLayout({ 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/Navbar/MobileSidebar/Layout';
9
10
  export default function NavbarMobileSidebarLayout({ header, primaryMenu, secondaryMenu, }: 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/Navbar/Search';
9
10
  export default function NavbarSearch({ 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
  import type { ComponentTypesObject } from '@theme/NavbarItem/ComponentTypes';
8
9
  declare const ComponentTypes: ComponentTypesObject;
9
10
  export default ComponentTypes;
@@ -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/NavbarItem/DefaultNavbarItem';
9
10
  export default function DefaultNavbarItem({ mobile, position, // Need to destructure position from props so that it doesn't get passed on.
@@ -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/NavbarItem/DocNavbarItem';
9
10
  export default function DocNavbarItem({ docId, label: staticLabel, docsPluginId, ...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/NavbarItem/DocSidebarNavbarItem';
9
10
  export default function DocSidebarNavbarItem({ sidebarId, label, docsPluginId, ...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/NavbarItem/DocsVersionDropdownNavbarItem';
9
10
  export default function DocsVersionDropdownNavbarItem({ mobile, docsPluginId, dropdownActiveClassDisabled, dropdownItemsBefore, dropdownItemsAfter, ...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/NavbarItem/DocsVersionNavbarItem';
9
10
  export default function DocsVersionNavbarItem({ label: staticLabel, to: staticTo, docsPluginId, ...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/NavbarItem/DropdownNavbarItem';
9
10
  export default function DropdownNavbarItem({ mobile, ...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/NavbarItem/HtmlNavbarItem';
9
10
  export default function HtmlNavbarItem({ value, className, mobile, isDropdownItem, }: 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/NavbarItem/LocaleDropdownNavbarItem';
9
10
  export default function LocaleDropdownNavbarItem({ mobile, dropdownItemsBefore, dropdownItemsAfter, queryString, ...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/NavbarItem/NavbarNavLink';
9
10
  export default function NavbarNavLink({ activeBasePath, activeBaseRegex, to, href, label, html, isDropdownLink, prependBaseUrlToHref, ...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/NavbarItem/SearchNavbarItem';
9
10
  export default function SearchNavbarItem({ mobile, 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/NavbarItem';
9
10
  export default function NavbarItem({ type, ...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/NotFound/Content';
9
10
  export default function NotFoundContent({ 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/PaginatorNavLink';
9
10
  export default function PaginatorNavLink(props: Props): JSX.Element;
@@ -4,4 +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" />
7
8
  export { default } from '@docusaurus/Noop';
@@ -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/SearchMetadata';
9
10
  export default function SearchMetadata({ locale, version, tag, }: 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/TOC';
9
10
  export default function TOC({ className, ...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/TOCCollapsible/CollapseButton';
9
10
  export default function TOCCollapsibleCollapseButton({ collapsed, ...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/TOCCollapsible';
9
10
  export default function TOCCollapsible({ toc, className, minHeadingLevel, maxHeadingLevel, }: 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/TOCInline';
9
10
  export default function TOCInline({ toc, minHeadingLevel, maxHeadingLevel, }: 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/TOCItems/Tree';
9
10
  declare function TOCItemTree({ toc, className, linkClassName, isChild, }: 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/TOCItems';
9
10
  export default function TOCItems({ toc, className, linkClassName, linkActiveClassName, minHeadingLevel: minHeadingLevelOption, maxHeadingLevel: maxHeadingLevelOption, ...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/TabItem';
9
10
  export default function TabItem({ children, hidden, 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/Tabs';
9
10
  export default function Tabs(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/Tag';
9
10
  export default function Tag({ permalink, label, count }: 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/TagsListByLetter';
9
10
  export default function TagsListByLetter({ tags }: Props): JSX.Element;