@docusaurus/theme-classic 0.0.0-5980 → 0.0.0-5982

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 (178) hide show
  1. package/lib/getSwizzleConfig.js +1 -1
  2. package/lib/index.d.ts +0 -1
  3. package/lib/index.js +1 -1
  4. package/lib/inlineScripts.js +3 -3
  5. package/lib/options.d.ts +0 -1
  6. package/lib/options.js +3 -3
  7. package/lib/theme/Admonition/Icon/Danger.d.ts +0 -2
  8. package/lib/theme/Admonition/Icon/Info.d.ts +0 -2
  9. package/lib/theme/Admonition/Icon/Note.d.ts +0 -2
  10. package/lib/theme/Admonition/Icon/Tip.d.ts +0 -2
  11. package/lib/theme/Admonition/Icon/Warning.d.ts +0 -2
  12. package/lib/theme/Admonition/Layout/index.d.ts +0 -2
  13. package/lib/theme/Admonition/Type/Caution.d.ts +0 -2
  14. package/lib/theme/Admonition/Type/Danger.d.ts +0 -2
  15. package/lib/theme/Admonition/Type/Info.d.ts +0 -2
  16. package/lib/theme/Admonition/Type/Note.d.ts +0 -2
  17. package/lib/theme/Admonition/Type/Tip.d.ts +0 -2
  18. package/lib/theme/Admonition/Type/Warning.d.ts +0 -2
  19. package/lib/theme/Admonition/Types.d.ts +0 -1
  20. package/lib/theme/Admonition/index.d.ts +0 -2
  21. package/lib/theme/AnnouncementBar/CloseButton/index.d.ts +0 -2
  22. package/lib/theme/AnnouncementBar/Content/index.d.ts +0 -2
  23. package/lib/theme/AnnouncementBar/index.d.ts +0 -1
  24. package/lib/theme/BackToTopButton/index.d.ts +0 -1
  25. package/lib/theme/BlogArchivePage/index.d.ts +0 -2
  26. package/lib/theme/BlogLayout/index.d.ts +0 -2
  27. package/lib/theme/BlogListPage/StructuredData/index.d.ts +0 -2
  28. package/lib/theme/BlogListPage/index.d.ts +0 -2
  29. package/lib/theme/BlogListPaginator/index.d.ts +0 -2
  30. package/lib/theme/BlogPostItem/Container/index.d.ts +0 -2
  31. package/lib/theme/BlogPostItem/Content/index.d.ts +0 -2
  32. package/lib/theme/BlogPostItem/Footer/ReadMoreLink/index.d.ts +0 -2
  33. package/lib/theme/BlogPostItem/Footer/index.d.ts +0 -1
  34. package/lib/theme/BlogPostItem/Header/Author/index.d.ts +0 -2
  35. package/lib/theme/BlogPostItem/Header/Authors/index.d.ts +0 -2
  36. package/lib/theme/BlogPostItem/Header/Info/index.d.ts +0 -2
  37. package/lib/theme/BlogPostItem/Header/Title/index.d.ts +0 -2
  38. package/lib/theme/BlogPostItem/Header/index.d.ts +0 -1
  39. package/lib/theme/BlogPostItem/index.d.ts +0 -2
  40. package/lib/theme/BlogPostItems/index.d.ts +0 -2
  41. package/lib/theme/BlogPostPage/Metadata/index.d.ts +0 -1
  42. package/lib/theme/BlogPostPage/StructuredData/index.d.ts +0 -1
  43. package/lib/theme/BlogPostPage/index.d.ts +0 -2
  44. package/lib/theme/BlogPostPaginator/index.d.ts +0 -2
  45. package/lib/theme/BlogSidebar/Desktop/index.d.ts +0 -2
  46. package/lib/theme/BlogSidebar/Mobile/index.d.ts +0 -2
  47. package/lib/theme/BlogSidebar/index.d.ts +0 -2
  48. package/lib/theme/BlogTagsListPage/index.d.ts +0 -2
  49. package/lib/theme/BlogTagsPostsPage/index.d.ts +0 -2
  50. package/lib/theme/CodeBlock/Content/Element.d.ts +0 -2
  51. package/lib/theme/CodeBlock/Content/String.d.ts +0 -2
  52. package/lib/theme/CodeBlock/CopyButton/index.d.ts +0 -2
  53. package/lib/theme/CodeBlock/Line/index.d.ts +0 -2
  54. package/lib/theme/CodeBlock/WordWrapButton/index.d.ts +0 -2
  55. package/lib/theme/CodeBlock/index.d.ts +0 -2
  56. package/lib/theme/CodeInline/index.d.ts +0 -2
  57. package/lib/theme/ColorModeToggle/index.d.ts +0 -1
  58. package/lib/theme/Details/index.d.ts +0 -2
  59. package/lib/theme/DocBreadcrumbs/Items/Home/index.d.ts +0 -1
  60. package/lib/theme/DocBreadcrumbs/index.d.ts +0 -1
  61. package/lib/theme/DocCard/index.d.ts +0 -2
  62. package/lib/theme/DocCardList/index.d.ts +0 -2
  63. package/lib/theme/DocCategoryGeneratedIndexPage/index.d.ts +0 -2
  64. package/lib/theme/DocItem/Content/index.d.ts +0 -2
  65. package/lib/theme/DocItem/Footer/index.d.ts +0 -1
  66. package/lib/theme/DocItem/Layout/index.d.ts +0 -2
  67. package/lib/theme/DocItem/Metadata/index.d.ts +0 -1
  68. package/lib/theme/DocItem/Paginator/index.d.ts +0 -1
  69. package/lib/theme/DocItem/TOC/Desktop/index.d.ts +0 -1
  70. package/lib/theme/DocItem/TOC/Mobile/index.d.ts +0 -1
  71. package/lib/theme/DocItem/index.d.ts +0 -2
  72. package/lib/theme/DocPaginator/index.d.ts +0 -2
  73. package/lib/theme/DocRoot/Layout/Main/index.d.ts +0 -2
  74. package/lib/theme/DocRoot/Layout/Sidebar/ExpandButton/index.d.ts +0 -2
  75. package/lib/theme/DocRoot/Layout/Sidebar/index.d.ts +0 -2
  76. package/lib/theme/DocRoot/Layout/index.d.ts +0 -2
  77. package/lib/theme/DocRoot/index.d.ts +0 -2
  78. package/lib/theme/DocSidebar/Desktop/CollapseButton/index.d.ts +0 -2
  79. package/lib/theme/DocSidebar/Desktop/Content/index.d.ts +0 -2
  80. package/lib/theme/DocSidebar/Desktop/index.d.ts +0 -1
  81. package/lib/theme/DocSidebar/Mobile/index.d.ts +0 -1
  82. package/lib/theme/DocSidebar/index.d.ts +0 -2
  83. package/lib/theme/DocSidebarItem/Category/index.d.ts +0 -2
  84. package/lib/theme/DocSidebarItem/Html/index.d.ts +0 -2
  85. package/lib/theme/DocSidebarItem/Link/index.d.ts +0 -2
  86. package/lib/theme/DocSidebarItem/index.d.ts +0 -2
  87. package/lib/theme/DocSidebarItems/index.d.ts +0 -1
  88. package/lib/theme/DocTagDocListPage/index.d.ts +0 -2
  89. package/lib/theme/DocTagsListPage/index.d.ts +0 -2
  90. package/lib/theme/DocVersionBadge/index.d.ts +0 -2
  91. package/lib/theme/DocVersionBanner/index.d.ts +0 -2
  92. package/lib/theme/DocVersionRoot/index.d.ts +0 -2
  93. package/lib/theme/DocsRoot/index.d.ts +0 -2
  94. package/lib/theme/EditMetaRow/index.d.ts +0 -2
  95. package/lib/theme/EditThisPage/index.d.ts +0 -2
  96. package/lib/theme/ErrorPageContent.d.ts +0 -2
  97. package/lib/theme/Footer/Copyright/index.d.ts +0 -2
  98. package/lib/theme/Footer/Layout/index.d.ts +0 -2
  99. package/lib/theme/Footer/LinkItem/index.d.ts +0 -2
  100. package/lib/theme/Footer/Links/MultiColumn/index.d.ts +0 -2
  101. package/lib/theme/Footer/Links/Simple/index.d.ts +0 -2
  102. package/lib/theme/Footer/Links/index.d.ts +0 -2
  103. package/lib/theme/Footer/Logo/index.d.ts +0 -2
  104. package/lib/theme/Heading/index.d.ts +0 -2
  105. package/lib/theme/Icon/Arrow/index.d.ts +0 -2
  106. package/lib/theme/Icon/Close/index.d.ts +0 -2
  107. package/lib/theme/Icon/Copy/index.d.ts +0 -2
  108. package/lib/theme/Icon/DarkMode/index.d.ts +0 -2
  109. package/lib/theme/Icon/Edit/index.d.ts +0 -2
  110. package/lib/theme/Icon/ExternalLink/index.d.ts +0 -2
  111. package/lib/theme/Icon/Home/index.d.ts +0 -2
  112. package/lib/theme/Icon/Language/index.d.ts +0 -2
  113. package/lib/theme/Icon/LightMode/index.d.ts +0 -2
  114. package/lib/theme/Icon/Menu/index.d.ts +0 -2
  115. package/lib/theme/Icon/Success/index.d.ts +0 -2
  116. package/lib/theme/Icon/WordWrap/index.d.ts +0 -2
  117. package/lib/theme/LastUpdated/index.d.ts +0 -2
  118. package/lib/theme/Layout/Provider/index.d.ts +0 -2
  119. package/lib/theme/Layout/index.d.ts +0 -3
  120. package/lib/theme/Logo/index.d.ts +0 -2
  121. package/lib/theme/MDXComponents/A.d.ts +0 -2
  122. package/lib/theme/MDXComponents/Code.d.ts +0 -2
  123. package/lib/theme/MDXComponents/Details.d.ts +0 -2
  124. package/lib/theme/MDXComponents/Heading.d.ts +0 -2
  125. package/lib/theme/MDXComponents/Img/index.d.ts +0 -2
  126. package/lib/theme/MDXComponents/Li.d.ts +0 -1
  127. package/lib/theme/MDXComponents/Pre.d.ts +0 -1
  128. package/lib/theme/MDXComponents/Ul/index.d.ts +0 -2
  129. package/lib/theme/MDXComponents/index.d.ts +0 -1
  130. package/lib/theme/MDXContent/index.d.ts +0 -2
  131. package/lib/theme/MDXPage/index.d.ts +0 -2
  132. package/lib/theme/Mermaid.d.ts +0 -1
  133. package/lib/theme/Navbar/ColorModeToggle/index.d.ts +0 -2
  134. package/lib/theme/Navbar/Content/index.d.ts +0 -1
  135. package/lib/theme/Navbar/Layout/index.d.ts +0 -2
  136. package/lib/theme/Navbar/Logo/index.d.ts +0 -1
  137. package/lib/theme/Navbar/MobileSidebar/Header/index.d.ts +0 -1
  138. package/lib/theme/Navbar/MobileSidebar/Layout/index.d.ts +0 -2
  139. package/lib/theme/Navbar/MobileSidebar/PrimaryMenu/index.d.ts +0 -1
  140. package/lib/theme/Navbar/MobileSidebar/SecondaryMenu/index.d.ts +0 -1
  141. package/lib/theme/Navbar/MobileSidebar/Toggle/index.d.ts +0 -1
  142. package/lib/theme/Navbar/MobileSidebar/index.d.ts +0 -1
  143. package/lib/theme/Navbar/Search/index.d.ts +0 -2
  144. package/lib/theme/Navbar/index.d.ts +0 -1
  145. package/lib/theme/NavbarItem/ComponentTypes.d.ts +0 -1
  146. package/lib/theme/NavbarItem/DefaultNavbarItem.d.ts +0 -2
  147. package/lib/theme/NavbarItem/DocNavbarItem.d.ts +0 -2
  148. package/lib/theme/NavbarItem/DocSidebarNavbarItem.d.ts +0 -2
  149. package/lib/theme/NavbarItem/DocsVersionDropdownNavbarItem.d.ts +0 -2
  150. package/lib/theme/NavbarItem/DocsVersionNavbarItem.d.ts +0 -2
  151. package/lib/theme/NavbarItem/DropdownNavbarItem/index.d.ts +0 -2
  152. package/lib/theme/NavbarItem/HtmlNavbarItem.d.ts +0 -2
  153. package/lib/theme/NavbarItem/LocaleDropdownNavbarItem/index.d.ts +0 -2
  154. package/lib/theme/NavbarItem/NavbarNavLink.d.ts +0 -2
  155. package/lib/theme/NavbarItem/SearchNavbarItem.d.ts +0 -2
  156. package/lib/theme/NavbarItem/index.d.ts +0 -2
  157. package/lib/theme/NotFound/Content/index.d.ts +0 -2
  158. package/lib/theme/NotFound/index.d.ts +0 -1
  159. package/lib/theme/PaginatorNavLink/index.d.ts +0 -2
  160. package/lib/theme/SearchBar.d.ts +0 -1
  161. package/lib/theme/SearchMetadata/index.d.ts +0 -2
  162. package/lib/theme/SiteMetadata/index.d.ts +0 -1
  163. package/lib/theme/SkipToContent/index.d.ts +0 -1
  164. package/lib/theme/TOC/index.d.ts +0 -2
  165. package/lib/theme/TOCCollapsible/CollapseButton/index.d.ts +0 -2
  166. package/lib/theme/TOCCollapsible/index.d.ts +0 -2
  167. package/lib/theme/TOCInline/index.d.ts +0 -2
  168. package/lib/theme/TOCItems/Tree.d.ts +0 -1
  169. package/lib/theme/TOCItems/index.d.ts +0 -2
  170. package/lib/theme/TabItem/index.d.ts +0 -2
  171. package/lib/theme/Tabs/index.d.ts +0 -2
  172. package/lib/theme/Tag/index.d.ts +0 -2
  173. package/lib/theme/TagsListByLetter/index.d.ts +0 -2
  174. package/lib/theme/TagsListInline/index.d.ts +0 -2
  175. package/lib/theme/ThemedImage/index.d.ts +0 -2
  176. package/lib/theme/Unlisted/index.d.ts +0 -2
  177. package/lib/translations.js +2 -3
  178. package/package.json +14 -14
@@ -4,5 +4,4 @@
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
7
  export { default } from '@docusaurus/Noop';
@@ -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/Navbar/ColorModeToggle';
10
8
  export default function NavbarColorModeToggle({ className, }: Props): JSX.Element | null;
@@ -4,5 +4,4 @@
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="react" />
8
7
  export default function NavbarContent(): 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/Navbar/Layout';
10
8
  export default function NavbarLayout({ children }: Props): JSX.Element;
@@ -4,5 +4,4 @@
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="react" />
8
7
  export default function NavbarLogo(): JSX.Element;
@@ -4,5 +4,4 @@
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="react" />
8
7
  export default function NavbarMobileSidebarHeader(): 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/Navbar/MobileSidebar/Layout';
10
8
  export default function NavbarMobileSidebarLayout({ header, primaryMenu, secondaryMenu, }: Props): JSX.Element;
@@ -4,5 +4,4 @@
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="react" />
8
7
  export default function NavbarMobilePrimaryMenu(): JSX.Element;
@@ -4,5 +4,4 @@
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="react" />
8
7
  export default function NavbarMobileSidebarSecondaryMenu(): JSX.Element | null;
@@ -4,5 +4,4 @@
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="react" />
8
7
  export default function MobileSidebarToggle(): JSX.Element;
@@ -4,5 +4,4 @@
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="react" />
8
7
  export default function NavbarMobileSidebar(): JSX.Element | null;
@@ -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/Navbar/Search';
10
8
  export default function NavbarSearch({ children, className, }: Props): JSX.Element;
@@ -4,5 +4,4 @@
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="react" />
8
7
  export default function Navbar(): 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 type { ComponentTypesObject } from '@theme/NavbarItem/ComponentTypes';
9
8
  declare const ComponentTypes: ComponentTypesObject;
10
9
  export default ComponentTypes;
@@ -4,8 +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
- /// <reference types="react" />
9
7
  import type { Props } from '@theme/NavbarItem/DefaultNavbarItem';
10
8
  export default function DefaultNavbarItem({ mobile, position, // Need to destructure position from props so that it doesn't get passed on.
11
9
  ...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/NavbarItem/DocNavbarItem';
10
8
  export default function DocNavbarItem({ docId, label: staticLabel, docsPluginId, ...props }: Props): JSX.Element | null;
@@ -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/NavbarItem/DocSidebarNavbarItem';
10
8
  export default function DocSidebarNavbarItem({ sidebarId, label, docsPluginId, ...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/NavbarItem/DocsVersionDropdownNavbarItem';
10
8
  export default function DocsVersionDropdownNavbarItem({ mobile, docsPluginId, dropdownActiveClassDisabled, dropdownItemsBefore, dropdownItemsAfter, ...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/NavbarItem/DocsVersionNavbarItem';
10
8
  export default function DocsVersionNavbarItem({ label: staticLabel, to: staticTo, docsPluginId, ...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/NavbarItem/DropdownNavbarItem';
10
8
  export default function DropdownNavbarItem({ mobile, ...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/NavbarItem/HtmlNavbarItem';
10
8
  export default function HtmlNavbarItem({ value, className, mobile, isDropdownItem, }: 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/NavbarItem/LocaleDropdownNavbarItem';
10
8
  export default function LocaleDropdownNavbarItem({ mobile, dropdownItemsBefore, dropdownItemsAfter, queryString, ...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/NavbarItem/NavbarNavLink';
10
8
  export default function NavbarNavLink({ activeBasePath, activeBaseRegex, to, href, label, html, isDropdownLink, prependBaseUrlToHref, ...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/NavbarItem/SearchNavbarItem';
10
8
  export default function SearchNavbarItem({ mobile, className, }: Props): JSX.Element | null;
@@ -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/NavbarItem';
10
8
  export default function NavbarItem({ type, ...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/NotFound/Content';
10
8
  export default function NotFoundContent({ className }: Props): JSX.Element;
@@ -4,5 +4,4 @@
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="react" />
8
7
  export default function Index(): 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/PaginatorNavLink';
10
8
  export default function PaginatorNavLink(props: Props): JSX.Element;
@@ -4,5 +4,4 @@
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
7
  export { default } from '@docusaurus/Noop';
@@ -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/SearchMetadata';
10
8
  export default function SearchMetadata({ locale, version, tag, }: Props): JSX.Element;
@@ -4,5 +4,4 @@
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="react" />
8
7
  export default function SiteMetadata(): JSX.Element;
@@ -4,5 +4,4 @@
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="react" />
8
7
  export default function SkipToContent(): 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/TOC';
10
8
  export default function TOC({ className, ...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/TOCCollapsible/CollapseButton';
10
8
  export default function TOCCollapsibleCollapseButton({ collapsed, ...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/TOCCollapsible';
10
8
  export default function TOCCollapsible({ toc, className, minHeadingLevel, maxHeadingLevel, }: 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/TOCInline';
10
8
  export default function TOCInline({ toc, minHeadingLevel, maxHeadingLevel, }: 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/TOCItems/Tree';
10
9
  declare function TOCItemTree({ toc, className, linkClassName, isChild, }: Props): JSX.Element | null;
@@ -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/TOCItems';
10
8
  export default function TOCItems({ toc, className, linkClassName, linkActiveClassName, minHeadingLevel: minHeadingLevelOption, maxHeadingLevel: maxHeadingLevelOption, ...props }: Props): JSX.Element | null;
@@ -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/TabItem';
10
8
  export default function TabItem({ children, hidden, className, }: 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/Tabs';
10
8
  export default function Tabs(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/Tag';
10
8
  export default function Tag({ permalink, label, count, description, }: 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/TagsListByLetter';
10
8
  export default function TagsListByLetter({ tags }: 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/TagsListInline';
10
8
  export default function TagsListInline({ tags }: 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/ThemedImage';
10
8
  export default function ThemedImage(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/Unlisted';
10
8
  export default function Unlisted(props: Props): JSX.Element | null;
@@ -6,7 +6,8 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.translateThemeConfig = exports.getTranslationFiles = void 0;
9
+ exports.getTranslationFiles = getTranslationFiles;
10
+ exports.translateThemeConfig = translateThemeConfig;
10
11
  const tslib_1 = require("tslib");
11
12
  const lodash_1 = tslib_1.__importDefault(require("lodash"));
12
13
  const utils_1 = require("@docusaurus/utils");
@@ -165,7 +166,6 @@ function getTranslationFiles({ themeConfig, }) {
165
166
  ];
166
167
  return translationFiles.filter(Boolean);
167
168
  }
168
- exports.getTranslationFiles = getTranslationFiles;
169
169
  function translateThemeConfig({ themeConfig, translationFiles, }) {
170
170
  const translationFilesMap = lodash_1.default.keyBy(translationFiles, (f) => f.path);
171
171
  return {
@@ -176,4 +176,3 @@ function translateThemeConfig({ themeConfig, translationFiles, }) {
176
176
  : undefined,
177
177
  };
178
178
  }
179
- exports.translateThemeConfig = translateThemeConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/theme-classic",
3
- "version": "0.0.0-5980",
3
+ "version": "0.0.0-5982",
4
4
  "description": "Classic theme for Docusaurus",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/theme-classic.d.ts",
@@ -20,18 +20,18 @@
20
20
  "copy:watch": "node ../../admin/scripts/copyUntypedFiles.js --watch"
21
21
  },
22
22
  "dependencies": {
23
- "@docusaurus/core": "0.0.0-5980",
24
- "@docusaurus/mdx-loader": "0.0.0-5980",
25
- "@docusaurus/module-type-aliases": "0.0.0-5980",
26
- "@docusaurus/plugin-content-blog": "0.0.0-5980",
27
- "@docusaurus/plugin-content-docs": "0.0.0-5980",
28
- "@docusaurus/plugin-content-pages": "0.0.0-5980",
29
- "@docusaurus/theme-common": "0.0.0-5980",
30
- "@docusaurus/theme-translations": "0.0.0-5980",
31
- "@docusaurus/types": "0.0.0-5980",
32
- "@docusaurus/utils": "0.0.0-5980",
33
- "@docusaurus/utils-common": "0.0.0-5980",
34
- "@docusaurus/utils-validation": "0.0.0-5980",
23
+ "@docusaurus/core": "0.0.0-5982",
24
+ "@docusaurus/mdx-loader": "0.0.0-5982",
25
+ "@docusaurus/module-type-aliases": "0.0.0-5982",
26
+ "@docusaurus/plugin-content-blog": "0.0.0-5982",
27
+ "@docusaurus/plugin-content-docs": "0.0.0-5982",
28
+ "@docusaurus/plugin-content-pages": "0.0.0-5982",
29
+ "@docusaurus/theme-common": "0.0.0-5982",
30
+ "@docusaurus/theme-translations": "0.0.0-5982",
31
+ "@docusaurus/types": "0.0.0-5982",
32
+ "@docusaurus/utils": "0.0.0-5982",
33
+ "@docusaurus/utils-common": "0.0.0-5982",
34
+ "@docusaurus/utils-validation": "0.0.0-5982",
35
35
  "@mdx-js/react": "^3.0.0",
36
36
  "clsx": "^2.0.0",
37
37
  "copy-text-to-clipboard": "^3.2.0",
@@ -61,5 +61,5 @@
61
61
  "engines": {
62
62
  "node": ">=18.0"
63
63
  },
64
- "gitHead": "4e1df4e2a6167a6c8dfe3f0a1912b69cad0d6d5f"
64
+ "gitHead": "8b6a944282857a6fc8e184e8b56109238ce50924"
65
65
  }