@docusaurus/theme-classic 3.6.3 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (379) hide show
  1. package/lib/options.js +7 -4
  2. package/lib/theme/Admonition/Icon/Danger.d.ts +2 -1
  3. package/lib/theme/Admonition/Icon/Info.d.ts +2 -1
  4. package/lib/theme/Admonition/Icon/Note.d.ts +2 -1
  5. package/lib/theme/Admonition/Icon/Tip.d.ts +2 -1
  6. package/lib/theme/Admonition/Icon/Warning.d.ts +2 -1
  7. package/lib/theme/Admonition/Layout/index.d.ts +2 -1
  8. package/lib/theme/Admonition/Type/Caution.d.ts +2 -1
  9. package/lib/theme/Admonition/Type/Danger.d.ts +2 -1
  10. package/lib/theme/Admonition/Type/Info.d.ts +2 -1
  11. package/lib/theme/Admonition/Type/Note.d.ts +2 -1
  12. package/lib/theme/Admonition/Type/Tip.d.ts +2 -1
  13. package/lib/theme/Admonition/Type/Warning.d.ts +2 -1
  14. package/lib/theme/Admonition/index.d.ts +2 -1
  15. package/lib/theme/AnnouncementBar/CloseButton/index.d.ts +2 -1
  16. package/lib/theme/AnnouncementBar/Content/index.d.ts +2 -1
  17. package/lib/theme/AnnouncementBar/index.d.ts +2 -1
  18. package/lib/theme/BackToTopButton/index.d.ts +2 -1
  19. package/lib/theme/Blog/Components/Author/Socials/index.d.ts +2 -1
  20. package/lib/theme/Blog/Components/Author/Socials/index.js +12 -0
  21. package/lib/theme/Blog/Components/Author/index.d.ts +2 -1
  22. package/lib/theme/Blog/Pages/BlogAuthorsPostsPage/index.d.ts +2 -1
  23. package/lib/theme/BlogArchivePage/index.d.ts +2 -1
  24. package/lib/theme/BlogLayout/index.d.ts +2 -1
  25. package/lib/theme/BlogListPage/StructuredData/index.d.ts +2 -1
  26. package/lib/theme/BlogListPage/index.d.ts +2 -1
  27. package/lib/theme/BlogListPaginator/index.d.ts +2 -1
  28. package/lib/theme/BlogPostItem/Container/index.d.ts +2 -1
  29. package/lib/theme/BlogPostItem/Content/index.d.ts +2 -1
  30. package/lib/theme/BlogPostItem/Footer/ReadMoreLink/index.d.ts +2 -1
  31. package/lib/theme/BlogPostItem/Footer/index.d.ts +2 -1
  32. package/lib/theme/BlogPostItem/Header/Authors/index.d.ts +2 -1
  33. package/lib/theme/BlogPostItem/Header/Info/index.d.ts +2 -1
  34. package/lib/theme/BlogPostItem/Header/Title/index.d.ts +2 -1
  35. package/lib/theme/BlogPostItem/Header/index.d.ts +2 -1
  36. package/lib/theme/BlogPostItem/index.d.ts +2 -1
  37. package/lib/theme/BlogPostItems/index.d.ts +2 -1
  38. package/lib/theme/BlogPostPage/Metadata/index.d.ts +2 -1
  39. package/lib/theme/BlogPostPage/StructuredData/index.d.ts +2 -1
  40. package/lib/theme/BlogPostPage/index.d.ts +2 -1
  41. package/lib/theme/BlogPostPaginator/index.d.ts +2 -1
  42. package/lib/theme/BlogSidebar/Mobile/index.d.ts +2 -2
  43. package/lib/theme/BlogSidebar/index.d.ts +2 -1
  44. package/lib/theme/BlogTagsListPage/index.d.ts +2 -1
  45. package/lib/theme/BlogTagsPostsPage/index.d.ts +2 -1
  46. package/lib/theme/CodeBlock/Container/index.d.ts +2 -2
  47. package/lib/theme/CodeBlock/Content/Element.d.ts +2 -1
  48. package/lib/theme/CodeBlock/Content/String.d.ts +2 -1
  49. package/lib/theme/CodeBlock/CopyButton/index.d.ts +2 -1
  50. package/lib/theme/CodeBlock/Line/index.d.ts +2 -1
  51. package/lib/theme/CodeBlock/WordWrapButton/index.d.ts +2 -1
  52. package/lib/theme/CodeBlock/index.d.ts +2 -1
  53. package/lib/theme/CodeInline/index.d.ts +2 -1
  54. package/lib/theme/ColorModeToggle/index.d.ts +2 -2
  55. package/lib/theme/ContentVisibility/Draft/index.d.ts +2 -1
  56. package/lib/theme/ContentVisibility/Unlisted/index.d.ts +2 -1
  57. package/lib/theme/ContentVisibility/index.d.ts +2 -1
  58. package/lib/theme/Details/index.d.ts +2 -1
  59. package/lib/theme/DocBreadcrumbs/Items/Home/index.d.ts +2 -1
  60. package/lib/theme/DocBreadcrumbs/index.d.ts +2 -1
  61. package/lib/theme/DocCard/index.d.ts +2 -1
  62. package/lib/theme/DocCardList/index.d.ts +2 -1
  63. package/lib/theme/DocCategoryGeneratedIndexPage/index.d.ts +2 -1
  64. package/lib/theme/DocItem/Content/index.d.ts +2 -1
  65. package/lib/theme/DocItem/Footer/index.d.ts +2 -1
  66. package/lib/theme/DocItem/Layout/index.d.ts +2 -1
  67. package/lib/theme/DocItem/Metadata/index.d.ts +2 -1
  68. package/lib/theme/DocItem/Paginator/index.d.ts +2 -1
  69. package/lib/theme/DocItem/TOC/Desktop/index.d.ts +2 -1
  70. package/lib/theme/DocItem/TOC/Mobile/index.d.ts +2 -1
  71. package/lib/theme/DocItem/index.d.ts +2 -1
  72. package/lib/theme/DocPaginator/index.d.ts +2 -1
  73. package/lib/theme/DocRoot/Layout/Main/index.d.ts +2 -1
  74. package/lib/theme/DocRoot/Layout/Sidebar/ExpandButton/index.d.ts +2 -1
  75. package/lib/theme/DocRoot/Layout/Sidebar/index.d.ts +2 -1
  76. package/lib/theme/DocRoot/Layout/index.d.ts +2 -1
  77. package/lib/theme/DocRoot/index.d.ts +2 -1
  78. package/lib/theme/DocSidebar/Desktop/CollapseButton/index.d.ts +2 -1
  79. package/lib/theme/DocSidebar/Desktop/Content/index.d.ts +2 -1
  80. package/lib/theme/DocSidebar/index.d.ts +2 -1
  81. package/lib/theme/DocSidebarItem/Category/index.d.ts +2 -1
  82. package/lib/theme/DocSidebarItem/Html/index.d.ts +2 -1
  83. package/lib/theme/DocSidebarItem/Link/index.d.ts +2 -1
  84. package/lib/theme/DocSidebarItem/index.d.ts +2 -1
  85. package/lib/theme/DocSidebarItems/index.d.ts +2 -2
  86. package/lib/theme/DocTagDocListPage/index.d.ts +2 -1
  87. package/lib/theme/DocTagsListPage/index.d.ts +2 -1
  88. package/lib/theme/DocVersionBadge/index.d.ts +2 -1
  89. package/lib/theme/DocVersionBanner/index.d.ts +2 -1
  90. package/lib/theme/DocVersionRoot/index.d.ts +2 -1
  91. package/lib/theme/DocsRoot/index.d.ts +2 -1
  92. package/lib/theme/EditMetaRow/index.d.ts +8 -1
  93. package/lib/theme/EditThisPage/index.d.ts +2 -1
  94. package/lib/theme/ErrorPageContent.d.ts +2 -1
  95. package/lib/theme/Footer/Copyright/index.d.ts +2 -1
  96. package/lib/theme/Footer/Layout/index.d.ts +2 -1
  97. package/lib/theme/Footer/LinkItem/index.d.ts +2 -1
  98. package/lib/theme/Footer/LinkItem/index.js +3 -2
  99. package/lib/theme/Footer/Links/MultiColumn/index.d.ts +2 -1
  100. package/lib/theme/Footer/Links/MultiColumn/index.js +3 -2
  101. package/lib/theme/Footer/Links/Simple/index.d.ts +2 -1
  102. package/lib/theme/Footer/Links/Simple/index.js +2 -1
  103. package/lib/theme/Footer/Links/index.d.ts +2 -1
  104. package/lib/theme/Footer/Logo/index.d.ts +2 -1
  105. package/lib/theme/Footer/index.d.ts +2 -2
  106. package/lib/theme/Heading/index.d.ts +2 -1
  107. package/lib/theme/Icon/Arrow/index.d.ts +2 -1
  108. package/lib/theme/Icon/Close/index.d.ts +2 -1
  109. package/lib/theme/Icon/Copy/index.d.ts +2 -1
  110. package/lib/theme/Icon/DarkMode/index.d.ts +2 -1
  111. package/lib/theme/Icon/Edit/index.d.ts +2 -1
  112. package/lib/theme/Icon/ExternalLink/index.d.ts +2 -1
  113. package/lib/theme/Icon/Home/index.d.ts +2 -1
  114. package/lib/theme/Icon/Language/index.d.ts +2 -1
  115. package/lib/theme/Icon/LightMode/index.d.ts +2 -1
  116. package/lib/theme/Icon/Menu/index.d.ts +2 -1
  117. package/lib/theme/Icon/Socials/Bluesky/index.d.ts +9 -0
  118. package/lib/theme/Icon/Socials/Bluesky/index.js +24 -0
  119. package/lib/theme/Icon/Socials/Default/index.d.ts +2 -2
  120. package/lib/theme/Icon/Socials/GitHub/index.d.ts +2 -2
  121. package/lib/theme/Icon/Socials/GitHub/index.js +5 -5
  122. package/lib/theme/Icon/Socials/Instagram/index.d.ts +9 -0
  123. package/lib/theme/Icon/Socials/Instagram/index.js +19 -0
  124. package/lib/theme/Icon/Socials/Instagram/styles.module.css +14 -0
  125. package/lib/theme/Icon/Socials/LinkedIn/index.d.ts +2 -2
  126. package/lib/theme/Icon/Socials/LinkedIn/index.js +1 -1
  127. package/lib/theme/Icon/Socials/Mastodon/index.d.ts +9 -0
  128. package/lib/theme/Icon/Socials/Mastodon/index.js +42 -0
  129. package/lib/theme/Icon/Socials/StackOverflow/index.d.ts +2 -2
  130. package/lib/theme/Icon/Socials/Threads/index.d.ts +9 -0
  131. package/lib/theme/Icon/Socials/Threads/index.js +26 -0
  132. package/lib/theme/Icon/Socials/Threads/styles.module.css +14 -0
  133. package/lib/theme/Icon/Socials/Twitch/index.d.ts +9 -0
  134. package/lib/theme/Icon/Socials/Twitch/index.js +29 -0
  135. package/lib/theme/Icon/Socials/Twitter/index.d.ts +2 -2
  136. package/lib/theme/Icon/Socials/Twitter/index.js +1 -1
  137. package/lib/theme/Icon/Socials/X/index.d.ts +2 -2
  138. package/lib/theme/Icon/Socials/X/index.js +2 -2
  139. package/lib/theme/Icon/Socials/YouTube/index.d.ts +9 -0
  140. package/lib/theme/Icon/Socials/YouTube/index.js +19 -0
  141. package/lib/theme/Icon/Success/index.d.ts +2 -1
  142. package/lib/theme/Icon/WordWrap/index.d.ts +2 -1
  143. package/lib/theme/LastUpdated/index.d.ts +2 -1
  144. package/lib/theme/Layout/Provider/index.d.ts +2 -1
  145. package/lib/theme/Layout/index.d.ts +2 -1
  146. package/lib/theme/Logo/index.d.ts +2 -1
  147. package/lib/theme/MDXComponents/A.d.ts +2 -1
  148. package/lib/theme/MDXComponents/Code.d.ts +2 -1
  149. package/lib/theme/MDXComponents/Details.d.ts +2 -1
  150. package/lib/theme/MDXComponents/Heading.d.ts +2 -1
  151. package/lib/theme/MDXComponents/Img/index.d.ts +2 -1
  152. package/lib/theme/MDXComponents/Ul/index.d.ts +2 -1
  153. package/lib/theme/MDXContent/index.d.ts +2 -1
  154. package/lib/theme/MDXPage/index.d.ts +2 -1
  155. package/lib/theme/Navbar/ColorModeToggle/index.d.ts +2 -1
  156. package/lib/theme/Navbar/Content/index.d.ts +2 -1
  157. package/lib/theme/Navbar/Layout/index.d.ts +2 -1
  158. package/lib/theme/Navbar/Logo/index.d.ts +2 -1
  159. package/lib/theme/Navbar/MobileSidebar/Header/index.d.ts +2 -1
  160. package/lib/theme/Navbar/MobileSidebar/Layout/index.d.ts +2 -1
  161. package/lib/theme/Navbar/MobileSidebar/PrimaryMenu/index.d.ts +2 -1
  162. package/lib/theme/Navbar/MobileSidebar/SecondaryMenu/index.d.ts +2 -1
  163. package/lib/theme/Navbar/MobileSidebar/Toggle/index.d.ts +2 -1
  164. package/lib/theme/Navbar/MobileSidebar/index.d.ts +2 -1
  165. package/lib/theme/Navbar/Search/index.d.ts +2 -1
  166. package/lib/theme/Navbar/index.d.ts +2 -1
  167. package/lib/theme/NavbarItem/DefaultNavbarItem.d.ts +2 -1
  168. package/lib/theme/NavbarItem/DocNavbarItem.d.ts +2 -1
  169. package/lib/theme/NavbarItem/DocSidebarNavbarItem.d.ts +2 -1
  170. package/lib/theme/NavbarItem/DocsVersionDropdownNavbarItem.d.ts +2 -1
  171. package/lib/theme/NavbarItem/DocsVersionNavbarItem.d.ts +2 -1
  172. package/lib/theme/NavbarItem/DropdownNavbarItem/index.d.ts +2 -1
  173. package/lib/theme/NavbarItem/HtmlNavbarItem.d.ts +2 -1
  174. package/lib/theme/NavbarItem/LocaleDropdownNavbarItem/index.d.ts +2 -1
  175. package/lib/theme/NavbarItem/NavbarNavLink.d.ts +2 -1
  176. package/lib/theme/NavbarItem/SearchNavbarItem.d.ts +2 -1
  177. package/lib/theme/NavbarItem/index.d.ts +2 -1
  178. package/lib/theme/NotFound/Content/index.d.ts +2 -1
  179. package/lib/theme/NotFound/index.d.ts +2 -1
  180. package/lib/theme/PaginatorNavLink/index.d.ts +2 -1
  181. package/lib/theme/SearchMetadata/index.d.ts +2 -1
  182. package/lib/theme/SiteMetadata/index.d.ts +2 -1
  183. package/lib/theme/SkipToContent/index.d.ts +2 -1
  184. package/lib/theme/TOC/index.d.ts +2 -1
  185. package/lib/theme/TOCCollapsible/CollapseButton/index.d.ts +2 -1
  186. package/lib/theme/TOCCollapsible/index.d.ts +2 -1
  187. package/lib/theme/TOCInline/index.d.ts +2 -1
  188. package/lib/theme/TOCItems/Tree.d.ts +2 -2
  189. package/lib/theme/TOCItems/index.d.ts +2 -1
  190. package/lib/theme/TabItem/index.d.ts +2 -1
  191. package/lib/theme/Tabs/index.d.ts +2 -1
  192. package/lib/theme/Tabs/index.js +3 -1
  193. package/lib/theme/Tag/index.d.ts +2 -1
  194. package/lib/theme/TagsListByLetter/index.d.ts +2 -1
  195. package/lib/theme/TagsListInline/index.d.ts +2 -1
  196. package/lib/theme/ThemedImage/index.d.ts +2 -1
  197. package/package.json +17 -17
  198. package/src/options.ts +8 -6
  199. package/src/theme/Admonition/Icon/Danger.tsx +2 -2
  200. package/src/theme/Admonition/Icon/Info.tsx +2 -2
  201. package/src/theme/Admonition/Icon/Note.tsx +2 -2
  202. package/src/theme/Admonition/Icon/Tip.tsx +2 -2
  203. package/src/theme/Admonition/Icon/Warning.tsx +2 -2
  204. package/src/theme/Admonition/Layout/index.tsx +1 -1
  205. package/src/theme/Admonition/Type/Caution.tsx +2 -2
  206. package/src/theme/Admonition/Type/Danger.tsx +2 -2
  207. package/src/theme/Admonition/Type/Info.tsx +2 -2
  208. package/src/theme/Admonition/Type/Note.tsx +2 -2
  209. package/src/theme/Admonition/Type/Tip.tsx +2 -2
  210. package/src/theme/Admonition/Type/Warning.tsx +2 -2
  211. package/src/theme/Admonition/index.tsx +2 -2
  212. package/src/theme/AnnouncementBar/CloseButton/index.tsx +2 -4
  213. package/src/theme/AnnouncementBar/Content/index.tsx +2 -4
  214. package/src/theme/AnnouncementBar/index.tsx +2 -2
  215. package/src/theme/BackToTopButton/index.tsx +2 -2
  216. package/src/theme/Blog/Components/Author/Socials/index.tsx +14 -2
  217. package/src/theme/Blog/Components/Author/index.tsx +3 -3
  218. package/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.tsx +4 -4
  219. package/src/theme/BlogArchivePage/index.tsx +2 -2
  220. package/src/theme/BlogLayout/index.tsx +2 -2
  221. package/src/theme/BlogListPage/StructuredData/index.tsx +2 -2
  222. package/src/theme/BlogListPage/index.tsx +4 -4
  223. package/src/theme/BlogListPaginator/index.tsx +2 -2
  224. package/src/theme/BlogPostItem/Container/index.tsx +2 -2
  225. package/src/theme/BlogPostItem/Content/index.tsx +2 -2
  226. package/src/theme/BlogPostItem/Footer/ReadMoreLink/index.tsx +2 -2
  227. package/src/theme/BlogPostItem/Footer/index.tsx +2 -2
  228. package/src/theme/BlogPostItem/Header/Authors/index.tsx +2 -2
  229. package/src/theme/BlogPostItem/Header/Info/index.tsx +2 -4
  230. package/src/theme/BlogPostItem/Header/Title/index.tsx +2 -4
  231. package/src/theme/BlogPostItem/Header/index.tsx +2 -2
  232. package/src/theme/BlogPostItem/index.tsx +2 -5
  233. package/src/theme/BlogPostItems/index.tsx +2 -2
  234. package/src/theme/BlogPostPage/Metadata/index.tsx +2 -2
  235. package/src/theme/BlogPostPage/StructuredData/index.tsx +2 -2
  236. package/src/theme/BlogPostPage/index.tsx +2 -2
  237. package/src/theme/BlogPostPaginator/index.tsx +2 -2
  238. package/src/theme/BlogSidebar/Mobile/index.tsx +3 -3
  239. package/src/theme/BlogSidebar/index.tsx +2 -2
  240. package/src/theme/BlogTagsListPage/index.tsx +2 -2
  241. package/src/theme/BlogTagsPostsPage/index.tsx +4 -4
  242. package/src/theme/CodeBlock/Container/index.tsx +2 -2
  243. package/src/theme/CodeBlock/Content/Element.tsx +2 -5
  244. package/src/theme/CodeBlock/Content/String.tsx +2 -2
  245. package/src/theme/CodeBlock/CopyButton/index.tsx +8 -2
  246. package/src/theme/CodeBlock/Line/index.tsx +2 -2
  247. package/src/theme/CodeBlock/WordWrapButton/index.tsx +2 -2
  248. package/src/theme/CodeBlock/index.tsx +1 -1
  249. package/src/theme/CodeInline/index.tsx +2 -2
  250. package/src/theme/ColorModeToggle/index.tsx +2 -2
  251. package/src/theme/ContentVisibility/Draft/index.tsx +2 -2
  252. package/src/theme/ContentVisibility/Unlisted/index.tsx +2 -2
  253. package/src/theme/ContentVisibility/index.tsx +2 -4
  254. package/src/theme/Details/index.tsx +2 -2
  255. package/src/theme/DocBreadcrumbs/Items/Home/index.tsx +2 -2
  256. package/src/theme/DocBreadcrumbs/index.tsx +3 -3
  257. package/src/theme/DocCard/index.tsx +5 -9
  258. package/src/theme/DocCardList/index.tsx +2 -2
  259. package/src/theme/DocCategoryGeneratedIndexPage/index.tsx +4 -6
  260. package/src/theme/DocItem/Content/index.tsx +2 -2
  261. package/src/theme/DocItem/Footer/index.tsx +2 -2
  262. package/src/theme/DocItem/Layout/index.tsx +2 -2
  263. package/src/theme/DocItem/Metadata/index.tsx +2 -2
  264. package/src/theme/DocItem/Paginator/index.tsx +2 -2
  265. package/src/theme/DocItem/TOC/Desktop/index.tsx +2 -2
  266. package/src/theme/DocItem/TOC/Mobile/index.tsx +2 -2
  267. package/src/theme/DocItem/index.tsx +2 -2
  268. package/src/theme/DocPaginator/index.tsx +2 -2
  269. package/src/theme/DocRoot/Layout/Main/index.tsx +2 -2
  270. package/src/theme/DocRoot/Layout/Sidebar/ExpandButton/index.tsx +2 -2
  271. package/src/theme/DocRoot/Layout/Sidebar/index.tsx +1 -1
  272. package/src/theme/DocRoot/Layout/index.tsx +2 -2
  273. package/src/theme/DocRoot/index.tsx +2 -2
  274. package/src/theme/DocSidebar/Desktop/CollapseButton/index.tsx +2 -2
  275. package/src/theme/DocSidebar/Desktop/Content/index.tsx +2 -2
  276. package/src/theme/DocSidebar/index.tsx +2 -2
  277. package/src/theme/DocSidebarItem/Category/index.tsx +7 -2
  278. package/src/theme/DocSidebarItem/Html/index.tsx +2 -2
  279. package/src/theme/DocSidebarItem/Link/index.tsx +2 -2
  280. package/src/theme/DocSidebarItem/index.tsx +2 -5
  281. package/src/theme/DocSidebarItems/index.tsx +2 -2
  282. package/src/theme/DocTagDocListPage/index.tsx +5 -5
  283. package/src/theme/DocTagsListPage/index.tsx +4 -6
  284. package/src/theme/DocVersionBadge/index.tsx +2 -4
  285. package/src/theme/DocVersionBanner/index.tsx +3 -5
  286. package/src/theme/DocVersionRoot/index.tsx +4 -4
  287. package/src/theme/DocsRoot/index.tsx +2 -2
  288. package/src/theme/EditMetaRow/index.tsx +2 -2
  289. package/src/theme/EditThisPage/index.tsx +2 -2
  290. package/src/theme/ErrorPageContent.tsx +2 -5
  291. package/src/theme/Footer/Copyright/index.tsx +2 -2
  292. package/src/theme/Footer/Layout/index.tsx +2 -2
  293. package/src/theme/Footer/LinkItem/index.tsx +5 -5
  294. package/src/theme/Footer/Links/MultiColumn/index.tsx +5 -4
  295. package/src/theme/Footer/Links/Simple/index.tsx +4 -3
  296. package/src/theme/Footer/Links/index.tsx +2 -2
  297. package/src/theme/Footer/Logo/index.tsx +2 -2
  298. package/src/theme/Footer/index.tsx +2 -2
  299. package/src/theme/Heading/index.tsx +2 -2
  300. package/src/theme/Icon/Arrow/index.tsx +2 -2
  301. package/src/theme/Icon/Close/index.tsx +2 -2
  302. package/src/theme/Icon/Copy/index.tsx +2 -2
  303. package/src/theme/Icon/DarkMode/index.tsx +2 -2
  304. package/src/theme/Icon/Edit/index.tsx +2 -5
  305. package/src/theme/Icon/ExternalLink/index.tsx +2 -2
  306. package/src/theme/Icon/Home/index.tsx +2 -2
  307. package/src/theme/Icon/Language/index.tsx +2 -2
  308. package/src/theme/Icon/LightMode/index.tsx +2 -2
  309. package/src/theme/Icon/Menu/index.tsx +2 -2
  310. package/src/theme/Icon/Socials/Bluesky/index.tsx +27 -0
  311. package/src/theme/Icon/Socials/Default/index.tsx +2 -2
  312. package/src/theme/Icon/Socials/GitHub/index.tsx +7 -7
  313. package/src/theme/Icon/Socials/Instagram/index.tsx +28 -0
  314. package/src/theme/Icon/Socials/Instagram/styles.module.css +14 -0
  315. package/src/theme/Icon/Socials/LinkedIn/index.tsx +3 -3
  316. package/src/theme/Icon/Socials/Mastodon/index.tsx +45 -0
  317. package/src/theme/Icon/Socials/StackOverflow/index.tsx +2 -2
  318. package/src/theme/Icon/Socials/Threads/index.tsx +30 -0
  319. package/src/theme/Icon/Socials/Threads/styles.module.css +14 -0
  320. package/src/theme/Icon/Socials/Twitch/index.tsx +37 -0
  321. package/src/theme/Icon/Socials/Twitter/index.tsx +3 -3
  322. package/src/theme/Icon/Socials/X/index.tsx +4 -4
  323. package/src/theme/Icon/Socials/YouTube/index.tsx +27 -0
  324. package/src/theme/Icon/Success/index.tsx +2 -2
  325. package/src/theme/Icon/WordWrap/index.tsx +2 -2
  326. package/src/theme/LastUpdated/index.tsx +4 -4
  327. package/src/theme/Layout/Provider/index.tsx +2 -2
  328. package/src/theme/Layout/index.tsx +2 -2
  329. package/src/theme/Logo/index.tsx +2 -2
  330. package/src/theme/MDXComponents/A.tsx +2 -2
  331. package/src/theme/MDXComponents/Code.tsx +2 -2
  332. package/src/theme/MDXComponents/Details.tsx +6 -2
  333. package/src/theme/MDXComponents/Heading.tsx +2 -2
  334. package/src/theme/MDXComponents/Img/index.tsx +2 -2
  335. package/src/theme/MDXComponents/Ul/index.tsx +2 -2
  336. package/src/theme/MDXContent/index.tsx +2 -2
  337. package/src/theme/MDXPage/index.tsx +2 -2
  338. package/src/theme/Navbar/ColorModeToggle/index.tsx +2 -4
  339. package/src/theme/Navbar/Content/index.tsx +2 -2
  340. package/src/theme/Navbar/Layout/index.tsx +2 -2
  341. package/src/theme/Navbar/Logo/index.tsx +2 -2
  342. package/src/theme/Navbar/MobileSidebar/Header/index.tsx +2 -2
  343. package/src/theme/Navbar/MobileSidebar/Layout/index.tsx +2 -2
  344. package/src/theme/Navbar/MobileSidebar/PrimaryMenu/index.tsx +2 -2
  345. package/src/theme/Navbar/MobileSidebar/SecondaryMenu/index.tsx +2 -2
  346. package/src/theme/Navbar/MobileSidebar/Toggle/index.tsx +2 -2
  347. package/src/theme/Navbar/MobileSidebar/index.tsx +2 -2
  348. package/src/theme/Navbar/Search/index.tsx +2 -5
  349. package/src/theme/Navbar/index.tsx +2 -2
  350. package/src/theme/NavbarItem/DefaultNavbarItem.tsx +2 -2
  351. package/src/theme/NavbarItem/DocNavbarItem.tsx +2 -2
  352. package/src/theme/NavbarItem/DocSidebarNavbarItem.tsx +2 -2
  353. package/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx +2 -2
  354. package/src/theme/NavbarItem/DocsVersionNavbarItem.tsx +2 -2
  355. package/src/theme/NavbarItem/DropdownNavbarItem/index.tsx +2 -2
  356. package/src/theme/NavbarItem/HtmlNavbarItem.tsx +2 -2
  357. package/src/theme/NavbarItem/LocaleDropdownNavbarItem/index.tsx +2 -2
  358. package/src/theme/NavbarItem/NavbarNavLink.tsx +2 -2
  359. package/src/theme/NavbarItem/SearchNavbarItem.tsx +2 -2
  360. package/src/theme/NavbarItem/index.tsx +2 -2
  361. package/src/theme/NotFound/Content/index.tsx +2 -2
  362. package/src/theme/NotFound/index.tsx +2 -2
  363. package/src/theme/PaginatorNavLink/index.tsx +2 -2
  364. package/src/theme/SearchMetadata/index.tsx +2 -2
  365. package/src/theme/SiteMetadata/index.tsx +3 -3
  366. package/src/theme/SkipToContent/index.tsx +2 -2
  367. package/src/theme/TOC/index.tsx +2 -2
  368. package/src/theme/TOCCollapsible/CollapseButton/index.tsx +2 -2
  369. package/src/theme/TOCCollapsible/index.tsx +2 -2
  370. package/src/theme/TOCInline/index.tsx +2 -2
  371. package/src/theme/TOCItems/Tree.tsx +2 -2
  372. package/src/theme/TOCItems/index.tsx +2 -2
  373. package/src/theme/TabItem/index.tsx +2 -2
  374. package/src/theme/Tabs/index.tsx +6 -4
  375. package/src/theme/Tag/index.tsx +2 -2
  376. package/src/theme/TagsListByLetter/index.tsx +2 -2
  377. package/src/theme/TagsListInline/index.tsx +2 -2
  378. package/src/theme/ThemedImage/index.tsx +2 -2
  379. package/src/theme-classic.d.ts +406 -214
@@ -50,51 +50,57 @@ declare module '@theme/Admonition' {
50
50
  readonly className?: string;
51
51
  }
52
52
 
53
- export default function Admonition(props: Props): JSX.Element;
53
+ export default function Admonition(props: Props): ReactNode;
54
54
  }
55
55
 
56
56
  declare module '@theme/Admonition/Type/Note' {
57
+ import type {ReactNode} from 'react';
57
58
  import type {Props as AdmonitionProps} from '@theme/Admonition';
58
59
 
59
60
  export interface Props extends AdmonitionProps {}
60
- export default function AdmonitionTypeNote(props: Props): JSX.Element;
61
+ export default function AdmonitionTypeNote(props: Props): ReactNode;
61
62
  }
62
63
 
63
64
  declare module '@theme/Admonition/Type/Info' {
65
+ import type {ReactNode} from 'react';
64
66
  import type {Props as AdmonitionProps} from '@theme/Admonition';
65
67
 
66
68
  export interface Props extends AdmonitionProps {}
67
- export default function AdmonitionTypeInfo(props: Props): JSX.Element;
69
+ export default function AdmonitionTypeInfo(props: Props): ReactNode;
68
70
  }
69
71
 
70
72
  declare module '@theme/Admonition/Type/Tip' {
73
+ import type {ReactNode} from 'react';
71
74
  import type {Props as AdmonitionProps} from '@theme/Admonition';
72
75
 
73
76
  export interface Props extends AdmonitionProps {}
74
- export default function AdmonitionTypeTip(props: Props): JSX.Element;
77
+ export default function AdmonitionTypeTip(props: Props): ReactNode;
75
78
  }
76
79
 
77
80
  // TODO remove before v4: Caution replaced by Warning
78
81
  // see https://github.com/facebook/docusaurus/issues/7558
79
82
  declare module '@theme/Admonition/Type/Caution' {
83
+ import type {ReactNode} from 'react';
80
84
  import type {Props as AdmonitionProps} from '@theme/Admonition';
81
85
 
82
86
  export interface Props extends AdmonitionProps {}
83
- export default function AdmonitionTypeCaution(props: Props): JSX.Element;
87
+ export default function AdmonitionTypeCaution(props: Props): ReactNode;
84
88
  }
85
89
 
86
90
  declare module '@theme/Admonition/Type/Warning' {
91
+ import type {ReactNode} from 'react';
87
92
  import type {Props as AdmonitionProps} from '@theme/Admonition';
88
93
 
89
94
  export interface Props extends AdmonitionProps {}
90
- export default function AdmonitionTypeWarning(props: Props): JSX.Element;
95
+ export default function AdmonitionTypeWarning(props: Props): ReactNode;
91
96
  }
92
97
 
93
98
  declare module '@theme/Admonition/Type/Danger' {
99
+ import type {ReactNode} from 'react';
94
100
  import type {Props as AdmonitionProps} from '@theme/Admonition';
95
101
 
96
102
  export interface Props extends AdmonitionProps {}
97
- export default function AdmonitionTypeDanger(props: Props): JSX.Element;
103
+ export default function AdmonitionTypeDanger(props: Props): ReactNode;
98
104
  }
99
105
 
100
106
  declare module '@theme/Admonition/Types' {
@@ -118,74 +124,79 @@ declare module '@theme/Admonition/Layout' {
118
124
  readonly title?: ReactNode;
119
125
  readonly className?: string;
120
126
  }
121
- export default function AdmonitionLayout(props: Props): JSX.Element;
127
+ export default function AdmonitionLayout(props: Props): ReactNode;
122
128
  }
123
129
 
124
130
  declare module '@theme/Admonition/Icon/Note' {
125
- import type {ComponentProps} from 'react';
131
+ import type {ComponentProps, ReactNode} from 'react';
126
132
 
127
133
  export interface Props extends ComponentProps<'svg'> {}
128
134
 
129
- export default function AdmonitionIconNote(props: Props): JSX.Element;
135
+ export default function AdmonitionIconNote(props: Props): ReactNode;
130
136
  }
131
137
 
132
138
  declare module '@theme/Admonition/Icon/Tip' {
133
- import type {ComponentProps} from 'react';
139
+ import type {ComponentProps, ReactNode} from 'react';
134
140
 
135
141
  export interface Props extends ComponentProps<'svg'> {}
136
142
 
137
- export default function AdmonitionIconTip(props: Props): JSX.Element;
143
+ export default function AdmonitionIconTip(props: Props): ReactNode;
138
144
  }
139
145
 
140
146
  declare module '@theme/Admonition/Icon/Warning' {
141
- import type {ComponentProps} from 'react';
147
+ import type {ComponentProps, ReactNode} from 'react';
142
148
 
143
149
  export interface Props extends ComponentProps<'svg'> {}
144
150
 
145
- export default function AdmonitionIconWarning(props: Props): JSX.Element;
151
+ export default function AdmonitionIconWarning(props: Props): ReactNode;
146
152
  }
147
153
 
148
154
  declare module '@theme/Admonition/Icon/Danger' {
149
- import type {ComponentProps} from 'react';
155
+ import type {ComponentProps, ReactNode} from 'react';
150
156
 
151
157
  export interface Props extends ComponentProps<'svg'> {}
152
158
 
153
- export default function AdmonitionIconDanger(props: Props): JSX.Element;
159
+ export default function AdmonitionIconDanger(props: Props): ReactNode;
154
160
  }
155
161
 
156
162
  declare module '@theme/Admonition/Icon/Info' {
157
- import type {ComponentProps} from 'react';
163
+ import type {ComponentProps, ReactNode} from 'react';
158
164
 
159
165
  export interface Props extends ComponentProps<'svg'> {}
160
166
 
161
- export default function AdmonitionIconInfo(props: Props): JSX.Element;
167
+ export default function AdmonitionIconInfo(props: Props): ReactNode;
162
168
  }
163
169
 
164
170
  declare module '@theme/AnnouncementBar' {
165
- export default function AnnouncementBar(): JSX.Element | null;
171
+ import type {ReactNode} from 'react';
172
+
173
+ export default function AnnouncementBar(): ReactNode | null;
166
174
  }
167
175
 
168
176
  declare module '@theme/AnnouncementBar/Content' {
169
- import type {ComponentProps} from 'react';
177
+ import type {ComponentProps, ReactNode} from 'react';
170
178
 
171
179
  export interface Props extends ComponentProps<'div'> {}
172
180
 
173
- export default function AnnouncementBarContent(props: Props): JSX.Element;
181
+ export default function AnnouncementBarContent(props: Props): ReactNode;
174
182
  }
175
183
 
176
184
  declare module '@theme/AnnouncementBar/CloseButton' {
177
- import type {ComponentProps} from 'react';
185
+ import type {ComponentProps, ReactNode} from 'react';
178
186
 
179
187
  export interface Props extends ComponentProps<'button'> {}
180
188
 
181
- export default function AnnouncementBarCloseButton(props: Props): JSX.Element;
189
+ export default function AnnouncementBarCloseButton(props: Props): ReactNode;
182
190
  }
183
191
 
184
192
  declare module '@theme/BackToTopButton' {
185
- export default function BackToTopButton(): JSX.Element;
193
+ import type {ReactNode} from 'react';
194
+
195
+ export default function BackToTopButton(): ReactNode;
186
196
  }
187
197
 
188
198
  declare module '@theme/Blog/Components/Author' {
199
+ import type {ReactNode} from 'react';
189
200
  import type {Author} from '@docusaurus/plugin-content-blog';
190
201
 
191
202
  export interface Props {
@@ -195,10 +206,11 @@ declare module '@theme/Blog/Components/Author' {
195
206
  readonly count?: number;
196
207
  }
197
208
 
198
- export default function BlogAuthor(props: Props): JSX.Element;
209
+ export default function BlogAuthor(props: Props): ReactNode;
199
210
  }
200
211
 
201
212
  declare module '@theme/Blog/Components/Author/Socials' {
213
+ import type {ReactNode} from 'react';
202
214
  import type {Author} from '@docusaurus/plugin-content-blog';
203
215
 
204
216
  export interface Props {
@@ -206,16 +218,17 @@ declare module '@theme/Blog/Components/Author/Socials' {
206
218
  readonly className?: string;
207
219
  }
208
220
 
209
- export default function BlogAuthorSocials(props: Props): JSX.Element;
221
+ export default function BlogAuthorSocials(props: Props): ReactNode;
210
222
  }
211
223
 
212
224
  declare module '@theme/BlogListPaginator' {
225
+ import type {ReactNode} from 'react';
213
226
  import type {BlogPaginatedMetadata} from '@docusaurus/plugin-content-blog';
214
227
 
215
228
  export interface Props {
216
229
  readonly metadata: BlogPaginatedMetadata;
217
230
  }
218
- export default function BlogListPaginator(props: Props): JSX.Element;
231
+ export default function BlogListPaginator(props: Props): ReactNode;
219
232
  }
220
233
 
221
234
  declare module '@theme/BlogSidebar/Content' {
@@ -232,33 +245,36 @@ declare module '@theme/BlogSidebar/Content' {
232
245
  }
233
246
 
234
247
  declare module '@theme/BlogSidebar/Desktop' {
248
+ import type {ReactNode} from 'react';
235
249
  import type {BlogSidebar} from '@docusaurus/plugin-content-blog';
236
250
 
237
251
  export interface Props {
238
252
  readonly sidebar: BlogSidebar;
239
253
  }
240
254
 
241
- export default function BlogSidebarDesktop(props: Props): JSX.Element;
255
+ export default function BlogSidebarDesktop(props: Props): ReactNode;
242
256
  }
243
257
 
244
258
  declare module '@theme/BlogSidebar/Mobile' {
259
+ import type {ReactNode} from 'react';
245
260
  import type {BlogSidebar} from '@docusaurus/plugin-content-blog';
246
261
 
247
262
  export interface Props {
248
263
  readonly sidebar: BlogSidebar;
249
264
  }
250
265
 
251
- export default function BlogSidebarMobile(props: Props): JSX.Element;
266
+ export default function BlogSidebarMobile(props: Props): ReactNode;
252
267
  }
253
268
 
254
269
  declare module '@theme/BlogSidebar' {
270
+ import type {ReactNode} from 'react';
255
271
  import type {BlogSidebar} from '@docusaurus/plugin-content-blog';
256
272
 
257
273
  export interface Props {
258
274
  readonly sidebar?: BlogSidebar;
259
275
  }
260
276
 
261
- export default function BlogSidebar(props: Props): JSX.Element;
277
+ export default function BlogSidebar(props: Props): ReactNode;
262
278
  }
263
279
 
264
280
  declare module '@theme/BlogPostItem' {
@@ -269,7 +285,7 @@ declare module '@theme/BlogPostItem' {
269
285
  className?: string;
270
286
  }
271
287
 
272
- export default function BlogPostItem(props: Props): JSX.Element;
288
+ export default function BlogPostItem(props: Props): ReactNode;
273
289
  }
274
290
 
275
291
  declare module '@theme/BlogPostItems' {
@@ -281,7 +297,7 @@ declare module '@theme/BlogPostItems' {
281
297
  component?: ComponentType<{children: ReactNode}>;
282
298
  }
283
299
 
284
- export default function BlogPostItem(props: Props): JSX.Element;
300
+ export default function BlogPostItem(props: Props): ReactNode;
285
301
  }
286
302
 
287
303
  declare module '@theme/BlogPostItem/Container' {
@@ -292,35 +308,43 @@ declare module '@theme/BlogPostItem/Container' {
292
308
  className?: string;
293
309
  }
294
310
 
295
- export default function BlogPostItemContainer(props: Props): JSX.Element;
311
+ export default function BlogPostItemContainer(props: Props): ReactNode;
296
312
  }
297
313
 
298
314
  declare module '@theme/BlogPostItem/Header' {
299
- export default function BlogPostItemHeader(): JSX.Element;
315
+ import type {ReactNode} from 'react';
316
+
317
+ export default function BlogPostItemHeader(): ReactNode;
300
318
  }
301
319
 
302
320
  declare module '@theme/BlogPostItem/Header/Title' {
321
+ import type {ReactNode} from 'react';
322
+
303
323
  export interface Props {
304
324
  className?: string;
305
325
  }
306
326
 
307
- export default function BlogPostItemHeaderTitle(props: Props): JSX.Element;
327
+ export default function BlogPostItemHeaderTitle(props: Props): ReactNode;
308
328
  }
309
329
 
310
330
  declare module '@theme/BlogPostItem/Header/Info' {
331
+ import type {ReactNode} from 'react';
332
+
311
333
  export interface Props {
312
334
  className?: string;
313
335
  }
314
336
 
315
- export default function BlogPostItemHeaderInfo(): JSX.Element;
337
+ export default function BlogPostItemHeaderInfo(): ReactNode;
316
338
  }
317
339
 
318
340
  declare module '@theme/BlogPostItem/Header/Authors' {
341
+ import type {ReactNode} from 'react';
342
+
319
343
  export interface Props {
320
344
  readonly className?: string;
321
345
  }
322
346
 
323
- export default function BlogPostItemHeaderAuthors(props: Props): JSX.Element;
347
+ export default function BlogPostItemHeaderAuthors(props: Props): ReactNode;
324
348
  }
325
349
 
326
350
  declare module '@theme/BlogPostItem/Content' {
@@ -331,14 +355,17 @@ declare module '@theme/BlogPostItem/Content' {
331
355
  className?: string;
332
356
  }
333
357
 
334
- export default function BlogPostItemContent(props: Props): JSX.Element;
358
+ export default function BlogPostItemContent(props: Props): ReactNode;
335
359
  }
336
360
 
337
361
  declare module '@theme/BlogPostItem/Footer' {
338
- export default function BlogPostItemFooter(): JSX.Element | null;
362
+ import type {ReactNode} from 'react';
363
+
364
+ export default function BlogPostItemFooter(): ReactNode | null;
339
365
  }
340
366
 
341
367
  declare module '@theme/BlogPostItem/Footer/ReadMoreLink' {
368
+ import type {ReactNode} from 'react';
342
369
  import type {Props as LinkProps} from '@docusaurus/Link';
343
370
 
344
371
  export type Props = LinkProps & {
@@ -347,10 +374,12 @@ declare module '@theme/BlogPostItem/Footer/ReadMoreLink' {
347
374
 
348
375
  export default function BlogPostItemFooterReadMoreLink(
349
376
  props: Props,
350
- ): JSX.Element | null;
377
+ ): ReactNode | null;
351
378
  }
352
379
 
353
380
  declare module '@theme/BlogPostPaginator' {
381
+ import type {ReactNode} from 'react';
382
+
354
383
  type Item = {readonly title: string; readonly permalink: string};
355
384
 
356
385
  export interface Props {
@@ -358,7 +387,7 @@ declare module '@theme/BlogPostPaginator' {
358
387
  readonly prevItem?: Item;
359
388
  }
360
389
 
361
- export default function BlogPostPaginator(props: Props): JSX.Element;
390
+ export default function BlogPostPaginator(props: Props): ReactNode;
362
391
  }
363
392
 
364
393
  declare module '@theme/BlogLayout' {
@@ -371,7 +400,7 @@ declare module '@theme/BlogLayout' {
371
400
  readonly toc?: ReactNode;
372
401
  }
373
402
 
374
- export default function BlogLayout(props: Props): JSX.Element;
403
+ export default function BlogLayout(props: Props): ReactNode;
375
404
  }
376
405
 
377
406
  declare module '@theme/CodeBlock' {
@@ -386,54 +415,60 @@ declare module '@theme/CodeBlock' {
386
415
  readonly showLineNumbers?: boolean;
387
416
  }
388
417
 
389
- export default function CodeBlock(props: Props): JSX.Element;
418
+ export default function CodeBlock(props: Props): ReactNode;
390
419
  }
391
420
 
392
421
  declare module '@theme/CodeInline' {
393
- import type {ComponentProps} from 'react';
422
+ import type {ComponentProps, ReactNode} from 'react';
394
423
 
395
424
  export interface Props extends ComponentProps<'code'> {}
396
425
 
397
- export default function CodeInline(props: Props): JSX.Element;
426
+ export default function CodeInline(props: Props): ReactNode;
398
427
  }
399
428
 
400
429
  declare module '@theme/CodeBlock/CopyButton' {
430
+ import type {ReactNode} from 'react';
431
+
401
432
  export interface Props {
402
433
  readonly code: string;
403
434
  readonly className?: string;
404
435
  }
405
436
 
406
- export default function CopyButton(props: Props): JSX.Element;
437
+ export default function CopyButton(props: Props): ReactNode;
407
438
  }
408
439
 
409
440
  declare module '@theme/CodeBlock/Container' {
441
+ import type {ReactNode} from 'react';
410
442
  import type {ComponentProps} from 'react';
411
443
 
412
444
  export default function CodeBlockContainer<T extends 'div' | 'pre'>({
413
445
  as: As,
414
446
  ...props
415
- }: {as: T} & ComponentProps<T>): JSX.Element;
447
+ }: {as: T} & ComponentProps<T>): ReactNode;
416
448
  }
417
449
 
418
450
  declare module '@theme/CodeBlock/Content/Element' {
451
+ import type {ReactNode} from 'react';
419
452
  import type {Props} from '@theme/CodeBlock';
420
453
 
421
454
  export type {Props};
422
455
 
423
- export default function CodeBlockElementContent(props: Props): JSX.Element;
456
+ export default function CodeBlockElementContent(props: Props): ReactNode;
424
457
  }
425
458
 
426
459
  declare module '@theme/CodeBlock/Content/String' {
460
+ import type {ReactNode} from 'react';
427
461
  import type {Props as CodeBlockProps} from '@theme/CodeBlock';
428
462
 
429
463
  export interface Props extends Omit<CodeBlockProps, 'children'> {
430
464
  readonly children: string;
431
465
  }
432
466
 
433
- export default function CodeBlockStringContent(props: Props): JSX.Element;
467
+ export default function CodeBlockStringContent(props: Props): ReactNode;
434
468
  }
435
469
 
436
470
  declare module '@theme/CodeBlock/Line' {
471
+ import type {ReactNode} from 'react';
437
472
  import type {
438
473
  LineInputProps,
439
474
  LineOutputProps,
@@ -450,30 +485,34 @@ declare module '@theme/CodeBlock/Line' {
450
485
  readonly getTokenProps: (input: TokenInputProps) => TokenOutputProps;
451
486
  }
452
487
 
453
- export default function CodeBlockLine(props: Props): JSX.Element;
488
+ export default function CodeBlockLine(props: Props): ReactNode;
454
489
  }
455
490
 
456
491
  declare module '@theme/CodeBlock/WordWrapButton' {
492
+ import type {ReactNode} from 'react';
493
+
457
494
  export interface Props {
458
495
  readonly className?: string;
459
496
  readonly onClick: React.MouseEventHandler;
460
497
  readonly isEnabled: boolean;
461
498
  }
462
499
 
463
- export default function WordWrapButton(props: Props): JSX.Element;
500
+ export default function WordWrapButton(props: Props): ReactNode;
464
501
  }
465
502
 
466
503
  declare module '@theme/DocCard' {
504
+ import type {ReactNode} from 'react';
467
505
  import type {PropSidebarItem} from '@docusaurus/plugin-content-docs';
468
506
 
469
507
  export interface Props {
470
508
  readonly item: PropSidebarItem;
471
509
  }
472
510
 
473
- export default function DocCard(props: Props): JSX.Element;
511
+ export default function DocCard(props: Props): ReactNode;
474
512
  }
475
513
 
476
514
  declare module '@theme/DocCardList' {
515
+ import type {ReactNode} from 'react';
477
516
  import type {PropSidebarItem} from '@docusaurus/plugin-content-docs';
478
517
 
479
518
  export interface Props {
@@ -481,43 +520,57 @@ declare module '@theme/DocCardList' {
481
520
  readonly className?: string;
482
521
  }
483
522
 
484
- export default function DocCardList(props: Props): JSX.Element;
523
+ export default function DocCardList(props: Props): ReactNode;
485
524
  }
486
525
 
487
526
  declare module '@theme/DocItem/Layout' {
527
+ import type {ReactNode} from 'react';
528
+
488
529
  export interface Props {
489
- readonly children: JSX.Element;
530
+ readonly children: ReactNode;
490
531
  }
491
532
 
492
- export default function DocItemLayout(props: Props): JSX.Element;
533
+ export default function DocItemLayout(props: Props): ReactNode;
493
534
  }
494
535
 
495
536
  declare module '@theme/DocItem/Metadata' {
496
- export default function DocItemMetadata(): JSX.Element;
537
+ import type {ReactNode} from 'react';
538
+
539
+ export default function DocItemMetadata(): ReactNode;
497
540
  }
498
541
 
499
542
  declare module '@theme/DocItem/Content' {
543
+ import type {ReactNode} from 'react';
544
+
500
545
  export interface Props {
501
- readonly children: JSX.Element;
546
+ readonly children: ReactNode;
502
547
  }
503
548
 
504
- export default function DocItemContent(props: Props): JSX.Element;
549
+ export default function DocItemContent(props: Props): ReactNode;
505
550
  }
506
551
 
507
552
  declare module '@theme/DocItem/TOC/Mobile' {
508
- export default function DocItemTOCMobile(): JSX.Element;
553
+ import type {ReactNode} from 'react';
554
+
555
+ export default function DocItemTOCMobile(): ReactNode;
509
556
  }
510
557
 
511
558
  declare module '@theme/DocItem/TOC/Desktop' {
512
- export default function DocItemTOCDesktop(): JSX.Element;
559
+ import type {ReactNode} from 'react';
560
+
561
+ export default function DocItemTOCDesktop(): ReactNode;
513
562
  }
514
563
 
515
564
  declare module '@theme/DocItem/Paginator' {
516
- export default function DocItemPaginator(): JSX.Element;
565
+ import type {ReactNode} from 'react';
566
+
567
+ export default function DocItemPaginator(): ReactNode;
517
568
  }
518
569
 
519
570
  declare module '@theme/DocItem/Footer' {
520
- export default function DocItemFooter(): JSX.Element;
571
+ import type {ReactNode} from 'react';
572
+
573
+ export default function DocItemFooter(): ReactNode;
521
574
  }
522
575
 
523
576
  declare module '@theme/DocRoot/Layout' {
@@ -527,11 +580,11 @@ declare module '@theme/DocRoot/Layout' {
527
580
  readonly children: ReactNode;
528
581
  }
529
582
 
530
- export default function DocRootLayout(props: Props): JSX.Element;
583
+ export default function DocRootLayout(props: Props): ReactNode;
531
584
  }
532
585
 
533
586
  declare module '@theme/DocRoot/Layout/Sidebar' {
534
- import type {Dispatch, SetStateAction} from 'react';
587
+ import type {Dispatch, SetStateAction, ReactNode} from 'react';
535
588
  import type {PropSidebar} from '@docusaurus/plugin-content-docs';
536
589
 
537
590
  export interface Props {
@@ -540,17 +593,19 @@ declare module '@theme/DocRoot/Layout/Sidebar' {
540
593
  readonly setHiddenSidebarContainer: Dispatch<SetStateAction<boolean>>;
541
594
  }
542
595
 
543
- export default function DocRootLayoutSidebar(props: Props): JSX.Element;
596
+ export default function DocRootLayoutSidebar(props: Props): ReactNode;
544
597
  }
545
598
 
546
599
  declare module '@theme/DocRoot/Layout/Sidebar/ExpandButton' {
600
+ import type {ReactNode} from 'react';
601
+
547
602
  export interface Props {
548
603
  toggleSidebar: () => void;
549
604
  }
550
605
 
551
606
  export default function DocRootLayoutSidebarExpandButton(
552
607
  props: Props,
553
- ): JSX.Element;
608
+ ): ReactNode;
554
609
  }
555
610
 
556
611
  declare module '@theme/DocRoot/Layout/Main' {
@@ -561,19 +616,21 @@ declare module '@theme/DocRoot/Layout/Main' {
561
616
  readonly children: ReactNode;
562
617
  }
563
618
 
564
- export default function DocRootLayoutMain(props: Props): JSX.Element;
619
+ export default function DocRootLayoutMain(props: Props): ReactNode;
565
620
  }
566
621
 
567
622
  declare module '@theme/DocPaginator' {
623
+ import type {ReactNode} from 'react';
568
624
  import type {PropNavigation} from '@docusaurus/plugin-content-docs';
569
625
 
570
626
  // May be simpler to provide a {navigation: PropNavigation} prop?
571
627
  export interface Props extends PropNavigation {}
572
628
 
573
- export default function DocPaginator(props: Props): JSX.Element;
629
+ export default function DocPaginator(props: Props): ReactNode;
574
630
  }
575
631
 
576
632
  declare module '@theme/DocSidebar' {
633
+ import type {ReactNode} from 'react';
577
634
  import type {PropSidebarItem} from '@docusaurus/plugin-content-docs';
578
635
 
579
636
  export interface Props {
@@ -583,26 +640,29 @@ declare module '@theme/DocSidebar' {
583
640
  readonly isHidden: boolean;
584
641
  }
585
642
 
586
- export default function DocSidebar(props: Props): JSX.Element;
643
+ export default function DocSidebar(props: Props): ReactNode;
587
644
  }
588
645
 
589
646
  declare module '@theme/DocSidebar/Mobile' {
647
+ import type {ReactNode} from 'react';
590
648
  import type {Props as DocSidebarProps} from '@theme/DocSidebar';
591
649
 
592
650
  export interface Props extends DocSidebarProps {}
593
651
 
594
- export default function DocSidebarMobile(props: Props): JSX.Element;
652
+ export default function DocSidebarMobile(props: Props): ReactNode;
595
653
  }
596
654
 
597
655
  declare module '@theme/DocSidebar/Desktop' {
656
+ import type {ReactNode} from 'react';
598
657
  import type {Props as DocSidebarProps} from '@theme/DocSidebar';
599
658
 
600
659
  export interface Props extends DocSidebarProps {}
601
660
 
602
- export default function DocSidebarDesktop(props: Props): JSX.Element;
661
+ export default function DocSidebarDesktop(props: Props): ReactNode;
603
662
  }
604
663
 
605
664
  declare module '@theme/DocSidebar/Desktop/Content' {
665
+ import type {ReactNode} from 'react';
606
666
  import type {PropSidebarItem} from '@docusaurus/plugin-content-docs';
607
667
 
608
668
  export interface Props {
@@ -611,18 +671,21 @@ declare module '@theme/DocSidebar/Desktop/Content' {
611
671
  readonly sidebar: readonly PropSidebarItem[];
612
672
  }
613
673
 
614
- export default function Content(props: Props): JSX.Element;
674
+ export default function Content(props: Props): ReactNode;
615
675
  }
616
676
 
617
677
  declare module '@theme/DocSidebar/Desktop/CollapseButton' {
678
+ import type {ReactNode} from 'react';
679
+
618
680
  export interface Props {
619
681
  readonly onClick: React.MouseEventHandler;
620
682
  }
621
683
 
622
- export default function CollapseButton(props: Props): JSX.Element;
684
+ export default function CollapseButton(props: Props): ReactNode;
623
685
  }
624
686
 
625
687
  declare module '@theme/DocSidebarItem' {
688
+ import type {ReactNode} from 'react';
626
689
  import type {PropSidebarItem} from '@docusaurus/plugin-content-docs';
627
690
 
628
691
  export interface Props {
@@ -634,10 +697,11 @@ declare module '@theme/DocSidebarItem' {
634
697
  readonly index: number;
635
698
  }
636
699
 
637
- export default function DocSidebarItem(props: Props): JSX.Element;
700
+ export default function DocSidebarItem(props: Props): ReactNode;
638
701
  }
639
702
 
640
703
  declare module '@theme/DocSidebarItem/Link' {
704
+ import type {ReactNode} from 'react';
641
705
  import type {Props as DocSidebarItemProps} from '@theme/DocSidebarItem';
642
706
 
643
707
  import type {PropSidebarItemLink} from '@docusaurus/plugin-content-docs';
@@ -646,10 +710,11 @@ declare module '@theme/DocSidebarItem/Link' {
646
710
  readonly item: PropSidebarItemLink;
647
711
  }
648
712
 
649
- export default function DocSidebarItemLink(props: Props): JSX.Element;
713
+ export default function DocSidebarItemLink(props: Props): ReactNode;
650
714
  }
651
715
 
652
716
  declare module '@theme/DocSidebarItem/Html' {
717
+ import type {ReactNode} from 'react';
653
718
  import type {Props as DocSidebarItemProps} from '@theme/DocSidebarItem';
654
719
  import type {PropSidebarItemHtml} from '@docusaurus/plugin-content-docs';
655
720
 
@@ -657,10 +722,11 @@ declare module '@theme/DocSidebarItem/Html' {
657
722
  readonly item: PropSidebarItemHtml;
658
723
  }
659
724
 
660
- export default function DocSidebarItemHtml(props: Props): JSX.Element;
725
+ export default function DocSidebarItemHtml(props: Props): ReactNode;
661
726
  }
662
727
 
663
728
  declare module '@theme/DocSidebarItem/Category' {
729
+ import type {ReactNode} from 'react';
664
730
  import type {Props as DocSidebarItemProps} from '@theme/DocSidebarItem';
665
731
  import type {PropSidebarItemCategory} from '@docusaurus/plugin-content-docs';
666
732
 
@@ -668,10 +734,11 @@ declare module '@theme/DocSidebarItem/Category' {
668
734
  readonly item: PropSidebarItemCategory;
669
735
  }
670
736
 
671
- export default function DocSidebarItemCategory(props: Props): JSX.Element;
737
+ export default function DocSidebarItemCategory(props: Props): ReactNode;
672
738
  }
673
739
 
674
740
  declare module '@theme/DocSidebarItems' {
741
+ import type {ReactNode} from 'react';
675
742
  import type {Props as DocSidebarItemProps} from '@theme/DocSidebarItem';
676
743
  import type {PropSidebarItem} from '@docusaurus/plugin-content-docs';
677
744
 
@@ -679,44 +746,54 @@ declare module '@theme/DocSidebarItems' {
679
746
  readonly items: readonly PropSidebarItem[];
680
747
  }
681
748
 
682
- export default function DocSidebarItems(props: Props): JSX.Element;
749
+ export default function DocSidebarItems(props: Props): ReactNode;
683
750
  }
684
751
 
685
752
  declare module '@theme/DocVersionBanner' {
753
+ import type {ReactNode} from 'react';
754
+
686
755
  export interface Props {
687
756
  readonly className?: string;
688
757
  }
689
758
 
690
- export default function DocVersionBanner(props: Props): JSX.Element;
759
+ export default function DocVersionBanner(props: Props): ReactNode;
691
760
  }
692
761
 
693
762
  declare module '@theme/DocVersionBadge' {
763
+ import type {ReactNode} from 'react';
764
+
694
765
  export interface Props {
695
766
  readonly className?: string;
696
767
  }
697
768
 
698
- export default function DocVersionBadge(props: Props): JSX.Element;
769
+ export default function DocVersionBadge(props: Props): ReactNode;
699
770
  }
700
771
 
701
772
  declare module '@theme/DocVersionSuggestions' {
702
- export default function DocVersionSuggestions(): JSX.Element;
773
+ import type {ReactNode} from 'react';
774
+
775
+ export default function DocVersionSuggestions(): ReactNode;
703
776
  }
704
777
 
705
778
  declare module '@theme/EditMetaRow' {
779
+ import type {ReactNode} from 'react';
780
+
706
781
  export interface Props {
707
782
  readonly className: string;
708
783
  readonly editUrl: string | null | undefined;
709
784
  readonly lastUpdatedAt: number | undefined;
710
785
  readonly lastUpdatedBy: string | undefined;
711
786
  }
712
- export default function EditMetaRow(props: Props): JSX.Element;
787
+ export default function EditMetaRow(props: Props): ReactNode;
713
788
  }
714
789
 
715
790
  declare module '@theme/EditThisPage' {
791
+ import type {ReactNode} from 'react';
792
+
716
793
  export interface Props {
717
794
  readonly editUrl: string;
718
795
  }
719
- export default function EditThisPage(props: Props): JSX.Element;
796
+ export default function EditThisPage(props: Props): ReactNode;
720
797
  }
721
798
 
722
799
  declare module '@theme/ErrorPageContent' {
@@ -727,35 +804,43 @@ declare module '@theme/ErrorPageContent' {
727
804
  }
728
805
 
729
806
  declare module '@theme/Footer' {
730
- export default function Footer(): JSX.Element | null;
807
+ import type {ReactNode} from 'react';
808
+
809
+ export default function Footer(): ReactNode | null;
731
810
  }
732
811
 
733
812
  declare module '@theme/Footer/Logo' {
813
+ import type {ReactNode} from 'react';
814
+
734
815
  import type {FooterLogo} from '@docusaurus/theme-common';
735
816
 
736
817
  export interface Props {
737
818
  readonly logo: FooterLogo;
738
819
  }
739
820
 
740
- export default function FooterLogo(props: Props): JSX.Element;
821
+ export default function FooterLogo(props: Props): ReactNode;
741
822
  }
742
823
 
743
824
  declare module '@theme/Footer/Copyright' {
825
+ import type {ReactNode} from 'react';
826
+
744
827
  export interface Props {
745
828
  readonly copyright: string;
746
829
  }
747
830
 
748
- export default function FooterCopyright(props: Props): JSX.Element;
831
+ export default function FooterCopyright(props: Props): ReactNode;
749
832
  }
750
833
 
751
834
  declare module '@theme/Footer/LinkItem' {
835
+ import type {ReactNode} from 'react';
836
+
752
837
  import type {FooterLinkItem} from '@docusaurus/theme-common';
753
838
 
754
839
  export interface Props {
755
840
  readonly item: FooterLinkItem;
756
841
  }
757
842
 
758
- export default function FooterLinkItem(props: Props): JSX.Element;
843
+ export default function FooterLinkItem(props: Props): ReactNode;
759
844
  }
760
845
 
761
846
  declare module '@theme/Footer/Layout' {
@@ -768,41 +853,44 @@ declare module '@theme/Footer/Layout' {
768
853
  readonly copyright: ReactNode;
769
854
  }
770
855
 
771
- export default function FooterLayout(props: Props): JSX.Element;
856
+ export default function FooterLayout(props: Props): ReactNode;
772
857
  }
773
858
 
774
859
  declare module '@theme/Footer/Links' {
860
+ import type {ReactNode} from 'react';
775
861
  import type {Footer} from '@docusaurus/theme-common';
776
862
 
777
863
  export interface Props {
778
864
  readonly links: Footer['links'];
779
865
  }
780
866
 
781
- export default function FooterLinks(props: Props): JSX.Element;
867
+ export default function FooterLinks(props: Props): ReactNode;
782
868
  }
783
869
 
784
870
  declare module '@theme/Footer/Links/MultiColumn' {
871
+ import type {ReactNode} from 'react';
785
872
  import type {MultiColumnFooter} from '@docusaurus/theme-common';
786
873
 
787
874
  export interface Props {
788
875
  readonly columns: MultiColumnFooter['links'];
789
876
  }
790
877
 
791
- export default function FooterLinksMultiColumn(props: Props): JSX.Element;
878
+ export default function FooterLinksMultiColumn(props: Props): ReactNode;
792
879
  }
793
880
 
794
881
  declare module '@theme/Footer/Links/Simple' {
882
+ import type {ReactNode} from 'react';
795
883
  import type {SimpleFooter} from '@docusaurus/theme-common';
796
884
 
797
885
  export interface Props {
798
886
  readonly links: SimpleFooter['links'];
799
887
  }
800
888
 
801
- export default function FooterLinksSimple(props: Props): JSX.Element;
889
+ export default function FooterLinksSimple(props: Props): ReactNode;
802
890
  }
803
891
 
804
892
  declare module '@theme/Heading' {
805
- import type {ComponentProps} from 'react';
893
+ import type {ComponentProps, ReactNode} from 'react';
806
894
 
807
895
  type HeadingType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
808
896
 
@@ -810,15 +898,17 @@ declare module '@theme/Heading' {
810
898
  readonly as: HeadingType;
811
899
  }
812
900
 
813
- export default function Heading(props: Props): JSX.Element;
901
+ export default function Heading(props: Props): ReactNode;
814
902
  }
815
903
 
816
904
  declare module '@theme/NotFound/Content' {
905
+ import type {ReactNode} from 'react';
906
+
817
907
  export interface Props {
818
908
  readonly className?: string;
819
909
  }
820
910
 
821
- export default function NotFoundContent(props: Props): JSX.Element;
911
+ export default function NotFoundContent(props: Props): ReactNode;
822
912
  }
823
913
 
824
914
  declare module '@theme/Layout' {
@@ -834,7 +924,7 @@ declare module '@theme/Layout' {
834
924
  readonly description?: string;
835
925
  }
836
926
 
837
- export default function Layout(props: Props): JSX.Element;
927
+ export default function Layout(props: Props): ReactNode;
838
928
  }
839
929
 
840
930
  declare module '@theme/Layout/Provider' {
@@ -844,99 +934,105 @@ declare module '@theme/Layout/Provider' {
844
934
  readonly children: ReactNode;
845
935
  }
846
936
 
847
- export default function LayoutProvider(props: Props): JSX.Element;
937
+ export default function LayoutProvider(props: Props): ReactNode;
848
938
  }
849
939
 
850
940
  declare module '@theme/SearchMetadata' {
941
+ import type {ReactNode} from 'react';
942
+
851
943
  export interface Props {
852
944
  readonly locale?: string;
853
945
  readonly version?: string;
854
946
  readonly tag?: string;
855
947
  }
856
948
 
857
- export default function SearchMetadata(props: Props): JSX.Element;
949
+ export default function SearchMetadata(props: Props): ReactNode;
858
950
  }
859
951
 
860
952
  declare module '@theme/LastUpdated' {
953
+ import type {ReactNode} from 'react';
954
+
861
955
  export interface Props {
862
956
  readonly lastUpdatedAt?: number;
863
957
  readonly lastUpdatedBy?: string;
864
958
  }
865
959
 
866
- export default function LastUpdated(props: Props): JSX.Element;
960
+ export default function LastUpdated(props: Props): ReactNode;
867
961
  }
868
962
 
869
963
  declare module '@theme/SkipToContent' {
870
- export default function SkipToContent(): JSX.Element;
964
+ import type {ReactNode} from 'react';
965
+
966
+ export default function SkipToContent(): ReactNode;
871
967
  }
872
968
 
873
969
  declare module '@theme/MDXComponents/A' {
874
- import type {ComponentProps} from 'react';
970
+ import type {ComponentProps, ReactNode} from 'react';
875
971
 
876
972
  export interface Props extends ComponentProps<'a'> {}
877
973
 
878
- export default function MDXA(props: Props): JSX.Element;
974
+ export default function MDXA(props: Props): ReactNode;
879
975
  }
880
976
 
881
977
  declare module '@theme/MDXComponents/Code' {
882
- import type {ComponentProps} from 'react';
978
+ import type {ComponentProps, ReactNode} from 'react';
883
979
 
884
980
  export interface Props extends ComponentProps<'code'> {}
885
981
 
886
- export default function MDXCode(props: Props): JSX.Element;
982
+ export default function MDXCode(props: Props): ReactNode;
887
983
  }
888
984
 
889
985
  declare module '@theme/MDXComponents/Details' {
890
- import type {ComponentProps} from 'react';
986
+ import type {ComponentProps, ReactNode} from 'react';
891
987
 
892
988
  export interface Props extends ComponentProps<'details'> {}
893
989
 
894
- export default function MDXDetails(props: Props): JSX.Element;
990
+ export default function MDXDetails(props: Props): ReactNode;
895
991
  }
896
992
 
897
993
  declare module '@theme/MDXComponents/Ul' {
898
- import type {ComponentProps} from 'react';
994
+ import type {ComponentProps, ReactNode} from 'react';
899
995
 
900
996
  export interface Props extends ComponentProps<'ul'> {}
901
997
 
902
- export default function MDXUl(props: Props): JSX.Element;
998
+ export default function MDXUl(props: Props): ReactNode;
903
999
  }
904
1000
 
905
1001
  declare module '@theme/MDXComponents/Li' {
906
- import type {ComponentProps} from 'react';
1002
+ import type {ComponentProps, ReactNode} from 'react';
907
1003
 
908
1004
  export interface Props extends ComponentProps<'li'> {}
909
1005
 
910
- export default function MDXLi(props: Props): JSX.Element;
1006
+ export default function MDXLi(props: Props): ReactNode;
911
1007
  }
912
1008
 
913
1009
  declare module '@theme/MDXComponents/Img' {
914
- import type {ComponentProps} from 'react';
1010
+ import type {ComponentProps, ReactNode} from 'react';
915
1011
 
916
1012
  export interface Props extends ComponentProps<'img'> {}
917
1013
 
918
- export default function MDXImg(props: Props): JSX.Element;
1014
+ export default function MDXImg(props: Props): ReactNode;
919
1015
  }
920
1016
 
921
1017
  declare module '@theme/MDXComponents/Heading' {
922
- import type {ComponentProps} from 'react';
1018
+ import type {ComponentProps, ReactNode} from 'react';
923
1019
  import type Heading from '@theme/Heading';
924
1020
 
925
1021
  export interface Props extends ComponentProps<typeof Heading> {}
926
1022
 
927
- export default function MDXHeading(props: Props): JSX.Element;
1023
+ export default function MDXHeading(props: Props): ReactNode;
928
1024
  }
929
1025
 
930
1026
  declare module '@theme/MDXComponents/Pre' {
931
- import type {ComponentProps} from 'react';
1027
+ import type {ComponentProps, ReactNode} from 'react';
932
1028
 
933
1029
  export interface Props extends ComponentProps<'pre'> {}
934
1030
 
935
- export default function MDXPre(props: Props): JSX.Element;
1031
+ export default function MDXPre(props: Props): ReactNode;
936
1032
  }
937
1033
 
938
1034
  declare module '@theme/MDXComponents' {
939
- import type {ComponentType, ComponentProps} from 'react';
1035
+ import type {ComponentType, ComponentProps, ReactNode} from 'react';
940
1036
 
941
1037
  import type MDXCode from '@theme/MDXComponents/Code';
942
1038
  import type MDXA from '@theme/MDXComponents/A';
@@ -962,12 +1058,12 @@ declare module '@theme/MDXComponents' {
962
1058
  readonly pre: typeof MDXPre;
963
1059
  readonly ul: typeof MDXUl;
964
1060
  readonly img: typeof MDXImg;
965
- readonly h1: (props: ComponentProps<'h1'>) => JSX.Element;
966
- readonly h2: (props: ComponentProps<'h2'>) => JSX.Element;
967
- readonly h3: (props: ComponentProps<'h3'>) => JSX.Element;
968
- readonly h4: (props: ComponentProps<'h4'>) => JSX.Element;
969
- readonly h5: (props: ComponentProps<'h5'>) => JSX.Element;
970
- readonly h6: (props: ComponentProps<'h6'>) => JSX.Element;
1061
+ readonly h1: (props: ComponentProps<'h1'>) => ReactNode;
1062
+ readonly h2: (props: ComponentProps<'h2'>) => ReactNode;
1063
+ readonly h3: (props: ComponentProps<'h3'>) => ReactNode;
1064
+ readonly h4: (props: ComponentProps<'h4'>) => ReactNode;
1065
+ readonly h5: (props: ComponentProps<'h5'>) => ReactNode;
1066
+ readonly h6: (props: ComponentProps<'h6'>) => ReactNode;
971
1067
  readonly admonition: typeof Admonition;
972
1068
  readonly mermaid: typeof Mermaid;
973
1069
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -985,41 +1081,51 @@ declare module '@theme/MDXContent' {
985
1081
  readonly children: ReactNode;
986
1082
  }
987
1083
 
988
- export default function MDXContent(props: Props): JSX.Element;
1084
+ export default function MDXContent(props: Props): ReactNode;
989
1085
  }
990
1086
 
991
1087
  declare module '@theme/Navbar' {
992
- export default function Navbar(): JSX.Element;
1088
+ import type {ReactNode} from 'react';
1089
+
1090
+ export default function Navbar(): ReactNode;
993
1091
  }
994
1092
 
995
1093
  declare module '@theme/Navbar/ColorModeToggle' {
1094
+ import type {ReactNode} from 'react';
1095
+
996
1096
  export interface Props {
997
1097
  readonly className?: string;
998
1098
  }
999
1099
 
1000
- export default function NavbarColorModeToggle(
1001
- props: Props,
1002
- ): JSX.Element | null;
1100
+ export default function NavbarColorModeToggle(props: Props): ReactNode | null;
1003
1101
  }
1004
1102
 
1005
1103
  declare module '@theme/Navbar/Logo' {
1006
- export default function NavbarLogo(): JSX.Element;
1104
+ import type {ReactNode} from 'react';
1105
+
1106
+ export default function NavbarLogo(): ReactNode;
1007
1107
  }
1008
1108
 
1009
1109
  declare module '@theme/Navbar/Content' {
1010
- export default function NavbarContent(): JSX.Element;
1110
+ import type {ReactNode} from 'react';
1111
+
1112
+ export default function NavbarContent(): ReactNode;
1011
1113
  }
1012
1114
 
1013
1115
  declare module '@theme/Navbar/Layout' {
1116
+ import type {ReactNode} from 'react';
1117
+
1014
1118
  export interface Props {
1015
1119
  readonly children: React.ReactNode;
1016
1120
  }
1017
1121
 
1018
- export default function NavbarLayout(props: Props): JSX.Element;
1122
+ export default function NavbarLayout(props: Props): ReactNode;
1019
1123
  }
1020
1124
 
1021
1125
  declare module '@theme/Navbar/MobileSidebar' {
1022
- export default function NavbarMobileSidebar(): JSX.Element;
1126
+ import type {ReactNode} from 'react';
1127
+
1128
+ export default function NavbarMobileSidebar(): ReactNode;
1023
1129
  }
1024
1130
 
1025
1131
  declare module '@theme/Navbar/MobileSidebar/Layout' {
@@ -1031,23 +1137,31 @@ declare module '@theme/Navbar/MobileSidebar/Layout' {
1031
1137
  readonly secondaryMenu: ReactNode;
1032
1138
  }
1033
1139
 
1034
- export default function NavbarMobileSidebarLayout(props: Props): JSX.Element;
1140
+ export default function NavbarMobileSidebarLayout(props: Props): ReactNode;
1035
1141
  }
1036
1142
 
1037
1143
  declare module '@theme/Navbar/MobileSidebar/Toggle' {
1038
- export default function NavbarMobileSidebarToggle(): JSX.Element;
1144
+ import type {ReactNode} from 'react';
1145
+
1146
+ export default function NavbarMobileSidebarToggle(): ReactNode;
1039
1147
  }
1040
1148
 
1041
1149
  declare module '@theme/Navbar/MobileSidebar/PrimaryMenu' {
1042
- export default function NavbarMobileSidebarPrimaryMenu(): JSX.Element;
1150
+ import type {ReactNode} from 'react';
1151
+
1152
+ export default function NavbarMobileSidebarPrimaryMenu(): ReactNode;
1043
1153
  }
1044
1154
 
1045
1155
  declare module '@theme/Navbar/MobileSidebar/SecondaryMenu' {
1046
- export default function NavbarMobileSidebarSecondaryMenu(): JSX.Element;
1156
+ import type {ReactNode} from 'react';
1157
+
1158
+ export default function NavbarMobileSidebarSecondaryMenu(): ReactNode;
1047
1159
  }
1048
1160
 
1049
1161
  declare module '@theme/Navbar/MobileSidebar/Header' {
1050
- export default function NavbarMobileSidebarHeader(): JSX.Element;
1162
+ import type {ReactNode} from 'react';
1163
+
1164
+ export default function NavbarMobileSidebarHeader(): ReactNode;
1051
1165
  }
1052
1166
 
1053
1167
  declare module '@theme/Navbar/Search' {
@@ -1058,10 +1172,11 @@ declare module '@theme/Navbar/Search' {
1058
1172
  readonly className?: string;
1059
1173
  }
1060
1174
 
1061
- export default function NavbarSearch(props: Props): JSX.Element;
1175
+ export default function NavbarSearch(props: Props): ReactNode;
1062
1176
  }
1063
1177
 
1064
1178
  declare module '@theme/NavbarItem/DefaultNavbarItem' {
1179
+ import type {ReactNode} from 'react';
1065
1180
  import type {Props as NavbarNavLinkProps} from '@theme/NavbarItem/NavbarNavLink';
1066
1181
 
1067
1182
  export type DesktopOrMobileNavBarItemProps = NavbarNavLinkProps & {
@@ -1074,7 +1189,7 @@ declare module '@theme/NavbarItem/DefaultNavbarItem' {
1074
1189
  readonly mobile?: boolean;
1075
1190
  }
1076
1191
 
1077
- export default function DefaultNavbarItem(props: Props): JSX.Element;
1192
+ export default function DefaultNavbarItem(props: Props): ReactNode;
1078
1193
  }
1079
1194
 
1080
1195
  declare module '@theme/NavbarItem/NavbarNavLink' {
@@ -1091,10 +1206,11 @@ declare module '@theme/NavbarItem/NavbarNavLink' {
1091
1206
  readonly isDropdownLink?: boolean;
1092
1207
  }
1093
1208
 
1094
- export default function NavbarNavLink(props: Props): JSX.Element;
1209
+ export default function NavbarNavLink(props: Props): ReactNode;
1095
1210
  }
1096
1211
 
1097
1212
  declare module '@theme/NavbarItem/DropdownNavbarItem' {
1213
+ import type {ReactNode} from 'react';
1098
1214
  import type {Props as NavbarNavLinkProps} from '@theme/NavbarItem/NavbarNavLink';
1099
1215
  import type {LinkLikeNavbarItemProps} from '@theme/NavbarItem';
1100
1216
 
@@ -1108,19 +1224,22 @@ declare module '@theme/NavbarItem/DropdownNavbarItem' {
1108
1224
  readonly mobile?: boolean;
1109
1225
  }
1110
1226
 
1111
- export default function DropdownNavbarItem(props: Props): JSX.Element;
1227
+ export default function DropdownNavbarItem(props: Props): ReactNode;
1112
1228
  }
1113
1229
 
1114
1230
  declare module '@theme/NavbarItem/SearchNavbarItem' {
1231
+ import type {ReactNode} from 'react';
1232
+
1115
1233
  export interface Props {
1116
1234
  readonly mobile?: boolean;
1117
1235
  readonly className?: string;
1118
1236
  }
1119
1237
 
1120
- export default function SearchNavbarItem(props: Props): JSX.Element;
1238
+ export default function SearchNavbarItem(props: Props): ReactNode;
1121
1239
  }
1122
1240
 
1123
1241
  declare module '@theme/NavbarItem/LocaleDropdownNavbarItem' {
1242
+ import type {ReactNode} from 'react';
1124
1243
  import type {Props as DropdownNavbarItemProps} from '@theme/NavbarItem/DropdownNavbarItem';
1125
1244
  import type {LinkLikeNavbarItemProps} from '@theme/NavbarItem';
1126
1245
 
@@ -1130,10 +1249,11 @@ declare module '@theme/NavbarItem/LocaleDropdownNavbarItem' {
1130
1249
  readonly queryString?: string;
1131
1250
  }
1132
1251
 
1133
- export default function LocaleDropdownNavbarItem(props: Props): JSX.Element;
1252
+ export default function LocaleDropdownNavbarItem(props: Props): ReactNode;
1134
1253
  }
1135
1254
 
1136
1255
  declare module '@theme/NavbarItem/DocsVersionDropdownNavbarItem' {
1256
+ import type {ReactNode} from 'react';
1137
1257
  import type {Props as DropdownNavbarItemProps} from '@theme/NavbarItem/DropdownNavbarItem';
1138
1258
  import type {LinkLikeNavbarItemProps} from '@theme/NavbarItem';
1139
1259
 
@@ -1146,20 +1266,22 @@ declare module '@theme/NavbarItem/DocsVersionDropdownNavbarItem' {
1146
1266
 
1147
1267
  export default function DocsVersionDropdownNavbarItem(
1148
1268
  props: Props,
1149
- ): JSX.Element;
1269
+ ): ReactNode;
1150
1270
  }
1151
1271
 
1152
1272
  declare module '@theme/NavbarItem/DocsVersionNavbarItem' {
1273
+ import type {ReactNode} from 'react';
1153
1274
  import type {Props as DefaultNavbarItemProps} from '@theme/NavbarItem/DefaultNavbarItem';
1154
1275
 
1155
1276
  export interface Props extends DefaultNavbarItemProps {
1156
1277
  readonly docsPluginId?: string;
1157
1278
  }
1158
1279
 
1159
- export default function DocsVersionNavbarItem(props: Props): JSX.Element;
1280
+ export default function DocsVersionNavbarItem(props: Props): ReactNode;
1160
1281
  }
1161
1282
 
1162
1283
  declare module '@theme/NavbarItem/DocNavbarItem' {
1284
+ import type {ReactNode} from 'react';
1163
1285
  import type {Props as DefaultNavbarItemProps} from '@theme/NavbarItem/DefaultNavbarItem';
1164
1286
 
1165
1287
  export interface Props extends DefaultNavbarItemProps {
@@ -1167,12 +1289,11 @@ declare module '@theme/NavbarItem/DocNavbarItem' {
1167
1289
  readonly docsPluginId?: string;
1168
1290
  }
1169
1291
 
1170
- export default function DocsSidebarNavbarItem(
1171
- props: Props,
1172
- ): JSX.Element | null;
1292
+ export default function DocsSidebarNavbarItem(props: Props): ReactNode | null;
1173
1293
  }
1174
1294
 
1175
1295
  declare module '@theme/NavbarItem/DocSidebarNavbarItem' {
1296
+ import type {ReactNode} from 'react';
1176
1297
  import type {Props as DefaultNavbarItemProps} from '@theme/NavbarItem/DefaultNavbarItem';
1177
1298
 
1178
1299
  export interface Props extends DefaultNavbarItemProps {
@@ -1180,17 +1301,18 @@ declare module '@theme/NavbarItem/DocSidebarNavbarItem' {
1180
1301
  readonly docsPluginId?: string;
1181
1302
  }
1182
1303
 
1183
- export default function DocSidebarNavbarItem(props: Props): JSX.Element;
1304
+ export default function DocSidebarNavbarItem(props: Props): ReactNode;
1184
1305
  }
1185
1306
 
1186
1307
  declare module '@theme/NavbarItem/HtmlNavbarItem' {
1308
+ import type {ReactNode} from 'react';
1187
1309
  import type {Props as DefaultNavbarItemProps} from '@theme/NavbarItem/DefaultNavbarItem';
1188
1310
 
1189
1311
  export interface Props extends DefaultNavbarItemProps {
1190
1312
  readonly value: string;
1191
1313
  }
1192
1314
 
1193
- export default function HtmlNavbarItem(props: Props): JSX.Element;
1315
+ export default function HtmlNavbarItem(props: Props): ReactNode;
1194
1316
  }
1195
1317
 
1196
1318
  declare module '@theme/NavbarItem/ComponentTypes' {
@@ -1225,7 +1347,7 @@ declare module '@theme/NavbarItem/ComponentTypes' {
1225
1347
  }
1226
1348
 
1227
1349
  declare module '@theme/NavbarItem' {
1228
- import type {ComponentProps} from 'react';
1350
+ import type {ComponentProps, ReactNode} from 'react';
1229
1351
  import type {Props as DefaultNavbarItemProps} from '@theme/NavbarItem/DefaultNavbarItem';
1230
1352
  import type {Props as DocNavbarItemProps} from '@theme/NavbarItem/DocNavbarItem';
1231
1353
  import type {Props as DocSidebarNavbarItemProps} from '@theme/NavbarItem/DocSidebarNavbarItem';
@@ -1259,7 +1381,7 @@ declare module '@theme/NavbarItem' {
1259
1381
 
1260
1382
  export type NavbarItemType = Props['type'];
1261
1383
 
1262
- export default function NavbarItem(props: Props): JSX.Element;
1384
+ export default function NavbarItem(props: Props): ReactNode;
1263
1385
  }
1264
1386
 
1265
1387
  declare module '@theme/PaginatorNavLink' {
@@ -1268,43 +1390,50 @@ declare module '@theme/PaginatorNavLink' {
1268
1390
 
1269
1391
  export interface Props extends Omit<PropNavigationLink, 'title'> {
1270
1392
  readonly title: ReactNode;
1271
- readonly subLabel?: JSX.Element;
1393
+ readonly subLabel?: ReactNode;
1272
1394
  readonly isNext?: boolean;
1273
1395
  }
1274
1396
 
1275
- export default function PaginatorNavLink(props: Props): JSX.Element;
1397
+ export default function PaginatorNavLink(props: Props): ReactNode;
1276
1398
  }
1277
1399
 
1278
1400
  declare module '@theme/SearchBar' {
1279
- export default function SearchBar(): JSX.Element;
1401
+ import type {ReactNode} from 'react';
1402
+
1403
+ export default function SearchBar(): ReactNode;
1280
1404
  }
1281
1405
 
1282
1406
  declare module '@theme/Mermaid' {
1407
+ import type {ReactNode} from 'react';
1408
+
1283
1409
  export interface Props {
1284
1410
  value: string;
1285
1411
  }
1286
1412
 
1287
- export default function Mermaid(props: Props): JSX.Element;
1413
+ export default function Mermaid(props: Props): ReactNode;
1288
1414
  }
1289
1415
 
1290
1416
  declare module '@theme/TabItem' {
1417
+ import type {ReactNode} from 'react';
1418
+
1291
1419
  import type {TabItemProps} from '@docusaurus/theme-common/internal';
1292
1420
 
1293
1421
  export interface Props extends TabItemProps {}
1294
1422
 
1295
- export default function TabItem(props: Props): JSX.Element;
1423
+ export default function TabItem(props: Props): ReactNode;
1296
1424
  }
1297
1425
 
1298
1426
  declare module '@theme/Tabs' {
1427
+ import type {ReactNode} from 'react';
1299
1428
  import type {TabsProps} from '@docusaurus/theme-common/internal';
1300
1429
 
1301
1430
  export interface Props extends TabsProps {}
1302
1431
 
1303
- export default function Tabs(props: Props): JSX.Element;
1432
+ export default function Tabs(props: Props): ReactNode;
1304
1433
  }
1305
1434
 
1306
1435
  declare module '@theme/ThemedImage' {
1307
- import type {ComponentProps} from 'react';
1436
+ import type {ComponentProps, ReactNode} from 'react';
1308
1437
 
1309
1438
  export interface Props extends Omit<ComponentProps<'img'>, 'src'> {
1310
1439
  readonly sources: {
@@ -1313,7 +1442,7 @@ declare module '@theme/ThemedImage' {
1313
1442
  };
1314
1443
  }
1315
1444
 
1316
- export default function ThemedImage(props: Props): JSX.Element;
1445
+ export default function ThemedImage(props: Props): ReactNode;
1317
1446
  }
1318
1447
 
1319
1448
  declare module '@theme/Details' {
@@ -1324,6 +1453,7 @@ declare module '@theme/Details' {
1324
1453
  }
1325
1454
 
1326
1455
  declare module '@theme/TOCItems' {
1456
+ import type {ReactNode} from 'react';
1327
1457
  import type {TOCItem} from '@docusaurus/mdx-loader';
1328
1458
 
1329
1459
  export interface Props {
@@ -1335,10 +1465,11 @@ declare module '@theme/TOCItems' {
1335
1465
  readonly linkActiveClassName?: string;
1336
1466
  }
1337
1467
 
1338
- export default function TOCItems(props: Props): JSX.Element;
1468
+ export default function TOCItems(props: Props): ReactNode;
1339
1469
  }
1340
1470
 
1341
1471
  declare module '@theme/TOCItems/Tree' {
1472
+ import type {ReactNode} from 'react';
1342
1473
  import type {TOCTreeNode} from '@docusaurus/theme-common/internal';
1343
1474
 
1344
1475
  export interface Props {
@@ -1348,10 +1479,11 @@ declare module '@theme/TOCItems/Tree' {
1348
1479
  readonly isChild?: boolean;
1349
1480
  }
1350
1481
 
1351
- export default function TOCItems(props: Props): JSX.Element;
1482
+ export default function TOCItems(props: Props): ReactNode;
1352
1483
  }
1353
1484
 
1354
1485
  declare module '@theme/TOC' {
1486
+ import type {ReactNode} from 'react';
1355
1487
  import type {TOCItem} from '@docusaurus/mdx-loader';
1356
1488
 
1357
1489
  // `minHeadingLevel` only comes from doc/post front matter, and won't have a
@@ -1363,10 +1495,11 @@ declare module '@theme/TOC' {
1363
1495
  readonly className?: string;
1364
1496
  }
1365
1497
 
1366
- export default function TOC(props: Props): JSX.Element;
1498
+ export default function TOC(props: Props): ReactNode;
1367
1499
  }
1368
1500
 
1369
1501
  declare module '@theme/TOCInline' {
1502
+ import type {ReactNode} from 'react';
1370
1503
  import type {TOCItem} from '@docusaurus/mdx-loader';
1371
1504
 
1372
1505
  export interface Props {
@@ -1375,10 +1508,11 @@ declare module '@theme/TOCInline' {
1375
1508
  readonly maxHeadingLevel?: number;
1376
1509
  }
1377
1510
 
1378
- export default function TOCInline(props: Props): JSX.Element;
1511
+ export default function TOCInline(props: Props): ReactNode;
1379
1512
  }
1380
1513
 
1381
1514
  declare module '@theme/TOCCollapsible' {
1515
+ import type {ReactNode} from 'react';
1382
1516
  import type {TOCItem} from '@docusaurus/mdx-loader';
1383
1517
 
1384
1518
  export interface Props {
@@ -1388,22 +1522,21 @@ declare module '@theme/TOCCollapsible' {
1388
1522
  readonly toc: readonly TOCItem[];
1389
1523
  }
1390
1524
 
1391
- export default function TOCCollapsible(props: Props): JSX.Element;
1525
+ export default function TOCCollapsible(props: Props): ReactNode;
1392
1526
  }
1393
1527
 
1394
1528
  declare module '@theme/TOCCollapsible/CollapseButton' {
1395
- import type {ComponentProps} from 'react';
1529
+ import type {ComponentProps, ReactNode} from 'react';
1396
1530
 
1397
1531
  export interface Props extends ComponentProps<'button'> {
1398
1532
  collapsed: boolean;
1399
1533
  }
1400
1534
 
1401
- export default function TOCCollapsibleCollapseButton(
1402
- props: Props,
1403
- ): JSX.Element;
1535
+ export default function TOCCollapsibleCollapseButton(props: Props): ReactNode;
1404
1536
  }
1405
1537
 
1406
1538
  declare module '@theme/ColorModeToggle' {
1539
+ import type {ReactNode} from 'react';
1407
1540
  import type {ColorMode} from '@docusaurus/theme-common';
1408
1541
 
1409
1542
  export interface Props {
@@ -1417,192 +1550,245 @@ declare module '@theme/ColorModeToggle' {
1417
1550
  readonly onChange: (colorMode: ColorMode) => void;
1418
1551
  }
1419
1552
 
1420
- export default function ColorModeToggle(props: Props): JSX.Element;
1553
+ export default function ColorModeToggle(props: Props): ReactNode;
1421
1554
  }
1422
1555
 
1423
1556
  declare module '@theme/Logo' {
1424
- import type {ComponentProps} from 'react';
1557
+ import type {ComponentProps, ReactNode} from 'react';
1425
1558
 
1426
1559
  export interface Props extends ComponentProps<'a'> {
1427
1560
  readonly imageClassName?: string;
1428
1561
  readonly titleClassName?: string;
1429
1562
  }
1430
1563
 
1431
- export default function Logo(props: Props): JSX.Element;
1564
+ export default function Logo(props: Props): ReactNode;
1432
1565
  }
1433
1566
 
1434
1567
  declare module '@theme/Icon/Arrow' {
1435
- import type {ComponentProps} from 'react';
1568
+ import type {ComponentProps, ReactNode} from 'react';
1436
1569
 
1437
1570
  export interface Props extends ComponentProps<'svg'> {}
1438
1571
 
1439
- export default function IconArrow(props: Props): JSX.Element;
1572
+ export default function IconArrow(props: Props): ReactNode;
1440
1573
  }
1441
1574
 
1442
1575
  declare module '@theme/Icon/DarkMode' {
1443
- import type {ComponentProps} from 'react';
1576
+ import type {ComponentProps, ReactNode} from 'react';
1444
1577
 
1445
1578
  export interface Props extends ComponentProps<'svg'> {}
1446
1579
 
1447
- export default function IconDarkMode(props: Props): JSX.Element;
1580
+ export default function IconDarkMode(props: Props): ReactNode;
1448
1581
  }
1449
1582
 
1450
1583
  declare module '@theme/Icon/Edit' {
1451
- import type {ComponentProps} from 'react';
1584
+ import type {ComponentProps, ReactNode} from 'react';
1452
1585
 
1453
1586
  export interface Props extends ComponentProps<'svg'> {}
1454
1587
 
1455
- export default function IconEdit(props: Props): JSX.Element;
1588
+ export default function IconEdit(props: Props): ReactNode;
1456
1589
  }
1457
1590
 
1458
1591
  declare module '@theme/Icon/Home' {
1459
- import type {ComponentProps} from 'react';
1592
+ import type {ComponentProps, ReactNode} from 'react';
1460
1593
 
1461
1594
  export interface Props extends ComponentProps<'svg'> {}
1462
1595
 
1463
- export default function IconHome(props: Props): JSX.Element;
1596
+ export default function IconHome(props: Props): ReactNode;
1464
1597
  }
1465
1598
 
1466
1599
  declare module '@theme/Icon/LightMode' {
1467
- import type {ComponentProps} from 'react';
1600
+ import type {ComponentProps, ReactNode} from 'react';
1468
1601
 
1469
1602
  export interface Props extends ComponentProps<'svg'> {}
1470
1603
 
1471
- export default function IconLightMode(props: Props): JSX.Element;
1604
+ export default function IconLightMode(props: Props): ReactNode;
1472
1605
  }
1473
1606
 
1474
1607
  declare module '@theme/Icon/Menu' {
1475
- import type {ComponentProps} from 'react';
1608
+ import type {ComponentProps, ReactNode} from 'react';
1476
1609
 
1477
1610
  export interface Props extends ComponentProps<'svg'> {}
1478
1611
 
1479
- export default function IconMenu(props: Props): JSX.Element;
1612
+ export default function IconMenu(props: Props): ReactNode;
1480
1613
  }
1481
1614
 
1482
1615
  declare module '@theme/Icon/Close' {
1483
- import type {ComponentProps} from 'react';
1616
+ import type {ComponentProps, ReactNode} from 'react';
1484
1617
 
1485
1618
  export interface Props extends ComponentProps<'svg'> {}
1486
1619
 
1487
- export default function IconClose(props: Props): JSX.Element;
1620
+ export default function IconClose(props: Props): ReactNode;
1488
1621
  }
1489
1622
 
1490
1623
  declare module '@theme/Icon/Copy' {
1491
- import type {ComponentProps} from 'react';
1624
+ import type {ComponentProps, ReactNode} from 'react';
1492
1625
 
1493
1626
  export interface Props extends ComponentProps<'svg'> {}
1494
1627
 
1495
- export default function IconCopy(props: Props): JSX.Element;
1628
+ export default function IconCopy(props: Props): ReactNode;
1496
1629
  }
1497
1630
 
1498
1631
  declare module '@theme/Icon/Language' {
1499
- import type {ComponentProps} from 'react';
1632
+ import type {ComponentProps, ReactNode} from 'react';
1500
1633
 
1501
1634
  export interface Props extends ComponentProps<'svg'> {}
1502
1635
 
1503
- export default function IconLanguage(props: Props): JSX.Element;
1636
+ export default function IconLanguage(props: Props): ReactNode;
1504
1637
  }
1505
1638
 
1506
1639
  declare module '@theme/Icon/Success' {
1507
- import type {ComponentProps} from 'react';
1640
+ import type {ComponentProps, ReactNode} from 'react';
1508
1641
 
1509
1642
  export interface Props extends ComponentProps<'svg'> {}
1510
1643
 
1511
- export default function IconSuccess(props: Props): JSX.Element;
1644
+ export default function IconSuccess(props: Props): ReactNode;
1512
1645
  }
1513
1646
 
1514
1647
  declare module '@theme/Icon/ExternalLink' {
1515
- import type {ComponentProps} from 'react';
1648
+ import type {ComponentProps, ReactNode} from 'react';
1516
1649
 
1517
1650
  export interface Props extends ComponentProps<'svg'> {}
1518
1651
 
1519
- export default function IconExternalLink(props: Props): JSX.Element;
1652
+ export default function IconExternalLink(props: Props): ReactNode;
1520
1653
  }
1521
1654
 
1522
1655
  declare module '@theme/Icon/WordWrap' {
1523
- import type {ComponentProps} from 'react';
1656
+ import type {ComponentProps, ReactNode} from 'react';
1524
1657
 
1525
1658
  export interface Props extends ComponentProps<'svg'> {}
1526
1659
 
1527
- export default function IconWordWrap(props: Props): JSX.Element;
1660
+ export default function IconWordWrap(props: Props): ReactNode;
1528
1661
  }
1529
1662
 
1530
1663
  declare module '@theme/Icon/Socials/Twitter' {
1531
- import type {ComponentProps} from 'react';
1664
+ import type {ComponentProps, ReactNode} from 'react';
1532
1665
 
1533
1666
  export interface Props extends ComponentProps<'svg'> {}
1534
1667
 
1535
- export default function Twitter(props: Props): JSX.Element;
1668
+ export default function Twitter(props: Props): ReactNode;
1536
1669
  }
1537
1670
 
1538
1671
  declare module '@theme/Icon/Socials/GitHub' {
1539
- import type {ComponentProps} from 'react';
1672
+ import type {ComponentProps, ReactNode} from 'react';
1540
1673
 
1541
1674
  export interface Props extends ComponentProps<'svg'> {}
1542
1675
 
1543
- export default function Github(props: Props): JSX.Element;
1676
+ export default function Github(props: Props): ReactNode;
1544
1677
  }
1545
1678
 
1546
1679
  declare module '@theme/Icon/Socials/X' {
1547
- import type {ComponentProps} from 'react';
1680
+ import type {ComponentProps, ReactNode} from 'react';
1548
1681
 
1549
1682
  export interface Props extends ComponentProps<'svg'> {}
1550
1683
 
1551
- export default function X(props: Props): JSX.Element;
1684
+ export default function X(props: Props): ReactNode;
1552
1685
  }
1553
1686
 
1554
1687
  declare module '@theme/Icon/Socials/LinkedIn' {
1555
- import type {ComponentProps} from 'react';
1688
+ import type {ComponentProps, ReactNode} from 'react';
1556
1689
 
1557
1690
  export interface Props extends ComponentProps<'svg'> {}
1558
1691
 
1559
- export default function LinkedIn(props: Props): JSX.Element;
1692
+ export default function LinkedIn(props: Props): ReactNode;
1560
1693
  }
1561
1694
 
1562
1695
  declare module '@theme/Icon/Socials/Default' {
1563
- import type {ComponentProps} from 'react';
1696
+ import type {ComponentProps, ReactNode} from 'react';
1564
1697
 
1565
1698
  export interface Props extends ComponentProps<'svg'> {}
1566
1699
 
1567
- export default function DefaultSocialIcon(props: Props): JSX.Element;
1700
+ export default function DefaultSocialIcon(props: Props): ReactNode;
1568
1701
  }
1569
1702
 
1570
1703
  declare module '@theme/Icon/Socials/StackOverflow' {
1571
- import type {ComponentProps} from 'react';
1704
+ import type {ComponentProps, ReactNode} from 'react';
1705
+
1706
+ export interface Props extends ComponentProps<'svg'> {}
1707
+
1708
+ export default function StackOverflow(props: Props): ReactNode;
1709
+ }
1710
+
1711
+ declare module '@theme/Icon/Socials/Bluesky' {
1712
+ import type {ComponentProps, ReactNode} from 'react';
1713
+
1714
+ export interface Props extends ComponentProps<'svg'> {}
1715
+
1716
+ export default function Bluesky(props: Props): ReactNode;
1717
+ }
1718
+
1719
+ declare module '@theme/Icon/Socials/Instagram' {
1720
+ import type {ComponentProps, ReactNode} from 'react';
1721
+
1722
+ export interface Props extends ComponentProps<'svg'> {}
1723
+
1724
+ export default function Instagram(props: Props): ReactNode;
1725
+ }
1726
+
1727
+ declare module '@theme/Icon/Socials/Threads' {
1728
+ import type {ComponentProps, ReactNode} from 'react';
1729
+
1730
+ export interface Props extends ComponentProps<'svg'> {}
1731
+
1732
+ export default function Threads(props: Props): ReactNode;
1733
+ }
1734
+
1735
+ declare module '@theme/Icon/Socials/YouTube' {
1736
+ import type {ComponentProps, ReactNode} from 'react';
1737
+
1738
+ export interface Props extends ComponentProps<'svg'> {}
1739
+
1740
+ export default function YouTube(props: Props): ReactNode;
1741
+ }
1742
+
1743
+ declare module '@theme/Icon/Socials/Twitch' {
1744
+ import type {ComponentProps, ReactNode} from 'react';
1745
+
1746
+ export interface Props extends ComponentProps<'svg'> {}
1747
+
1748
+ export default function Twitch(props: Props): ReactNode;
1749
+ }
1750
+
1751
+ declare module '@theme/Icon/Socials/Mastodon' {
1752
+ import type {ComponentProps, ReactNode} from 'react';
1572
1753
 
1573
1754
  export interface Props extends ComponentProps<'svg'> {}
1574
1755
 
1575
- export default function StackOverflow(props: Props): JSX.Element;
1756
+ export default function Mastodon(props: Props): ReactNode;
1576
1757
  }
1577
1758
 
1578
1759
  declare module '@theme/TagsListByLetter' {
1760
+ import type {ReactNode} from 'react';
1579
1761
  import type {TagsListItem} from '@docusaurus/utils';
1580
1762
 
1581
1763
  export interface Props {
1582
1764
  readonly tags: readonly TagsListItem[];
1583
1765
  }
1584
- export default function TagsListByLetter(props: Props): JSX.Element;
1766
+ export default function TagsListByLetter(props: Props): ReactNode;
1585
1767
  }
1586
1768
 
1587
1769
  declare module '@theme/TagsListInline' {
1770
+ import type {ReactNode} from 'react';
1588
1771
  import type {Tag} from '@docusaurus/utils';
1589
1772
 
1590
1773
  export interface Props {
1591
1774
  readonly tags: readonly Tag[];
1592
1775
  }
1593
- export default function TagsListInline(props: Props): JSX.Element;
1776
+ export default function TagsListInline(props: Props): ReactNode;
1594
1777
  }
1595
1778
 
1596
1779
  declare module '@theme/Tag' {
1780
+ import type {ReactNode} from 'react';
1597
1781
  import type {TagsListItem} from '@docusaurus/utils';
1598
1782
  import type {Optional} from 'utility-types';
1599
1783
 
1600
1784
  export interface Props extends Optional<TagsListItem, 'count'> {}
1601
1785
 
1602
- export default function Tag(props: Props): JSX.Element;
1786
+ export default function Tag(props: Props): ReactNode;
1603
1787
  }
1604
1788
 
1605
1789
  declare module '@theme/ContentVisibility' {
1790
+ import type {ReactNode} from 'react';
1791
+
1606
1792
  export interface Props {
1607
1793
  readonly metadata: {
1608
1794
  // the visibility metadata our 3 content plugins share in common
@@ -1611,23 +1797,27 @@ declare module '@theme/ContentVisibility' {
1611
1797
  };
1612
1798
  }
1613
1799
 
1614
- export default function ContentVisibility(props: Props): JSX.Element;
1800
+ export default function ContentVisibility(props: Props): ReactNode;
1615
1801
  }
1616
1802
 
1617
1803
  declare module '@theme/ContentVisibility/Unlisted' {
1804
+ import type {ReactNode} from 'react';
1805
+
1618
1806
  export interface Props {
1619
1807
  className?: string;
1620
1808
  }
1621
1809
 
1622
- export default function Unlisted(props: Props): JSX.Element;
1810
+ export default function Unlisted(props: Props): ReactNode;
1623
1811
  }
1624
1812
 
1625
1813
  declare module '@theme/ContentVisibility/Draft' {
1814
+ import type {ReactNode} from 'react';
1815
+
1626
1816
  export interface Props {
1627
1817
  className?: string;
1628
1818
  }
1629
1819
 
1630
- export default function Draft(props: Props): JSX.Element;
1820
+ export default function Draft(props: Props): ReactNode;
1631
1821
  }
1632
1822
 
1633
1823
  declare module '@theme/prism-include-languages' {
@@ -1639,5 +1829,7 @@ declare module '@theme/prism-include-languages' {
1639
1829
  }
1640
1830
 
1641
1831
  declare module '@theme/DocBreadcrumbs/Items/Home' {
1642
- export default function HomeBreadcrumbItem(): JSX.Element;
1832
+ import type {ReactNode} from 'react';
1833
+
1834
+ export default function HomeBreadcrumbItem(): ReactNode;
1643
1835
  }