@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
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocCardList';
8
- export default function DocCardList(props: Props): JSX.Element;
9
+ export default function DocCardList(props: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocCategoryGeneratedIndexPage';
8
- export default function DocCategoryGeneratedIndexPage(props: Props): JSX.Element;
9
+ export default function DocCategoryGeneratedIndexPage(props: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocItem/Content';
8
- export default function DocItemContent({ children }: Props): JSX.Element;
9
+ export default function DocItemContent({ children }: Props): ReactNode;
@@ -4,4 +4,5 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- export default function DocItemFooter(): JSX.Element | null;
7
+ import { type ReactNode } from 'react';
8
+ export default function DocItemFooter(): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocItem/Layout';
8
- export default function DocItemLayout({ children }: Props): JSX.Element;
9
+ export default function DocItemLayout({ children }: Props): ReactNode;
@@ -4,4 +4,5 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- export default function DocItemMetadata(): JSX.Element;
7
+ import { type ReactNode } from 'react';
8
+ export default function DocItemMetadata(): ReactNode;
@@ -4,8 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  /**
8
9
  * This extra component is needed, because <DocPaginator> should remain generic.
9
10
  * DocPaginator is used in non-docs contexts too: generated-index pages...
10
11
  */
11
- export default function DocItemPaginator(): JSX.Element;
12
+ export default function DocItemPaginator(): ReactNode;
@@ -4,4 +4,5 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- export default function DocItemTOCDesktop(): JSX.Element;
7
+ import { type ReactNode } from 'react';
8
+ export default function DocItemTOCDesktop(): ReactNode;
@@ -4,4 +4,5 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- export default function DocItemTOCMobile(): JSX.Element;
7
+ import { type ReactNode } from 'react';
8
+ export default function DocItemTOCMobile(): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocItem';
8
- export default function DocItem(props: Props): JSX.Element;
9
+ export default function DocItem(props: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocPaginator';
8
- export default function DocPaginator(props: Props): JSX.Element;
9
+ export default function DocPaginator(props: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocRoot/Layout/Main';
8
- export default function DocRootLayoutMain({ hiddenSidebarContainer, children, }: Props): JSX.Element;
9
+ export default function DocRootLayoutMain({ hiddenSidebarContainer, children, }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocRoot/Layout/Sidebar/ExpandButton';
8
- export default function DocRootLayoutSidebarExpandButton({ toggleSidebar, }: Props): JSX.Element;
9
+ export default function DocRootLayoutSidebarExpandButton({ toggleSidebar, }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocRoot/Layout/Sidebar';
8
- export default function DocRootLayoutSidebar({ sidebar, hiddenSidebarContainer, setHiddenSidebarContainer, }: Props): JSX.Element;
9
+ export default function DocRootLayoutSidebar({ sidebar, hiddenSidebarContainer, setHiddenSidebarContainer, }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocRoot/Layout';
8
- export default function DocRootLayout({ children }: Props): JSX.Element;
9
+ export default function DocRootLayout({ children }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocRoot';
8
- export default function DocRoot(props: Props): JSX.Element;
9
+ export default function DocRoot(props: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocSidebar/Desktop/CollapseButton';
8
- export default function CollapseButton({ onClick }: Props): JSX.Element;
9
+ export default function CollapseButton({ onClick }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocSidebar/Desktop/Content';
8
- export default function DocSidebarDesktopContent({ path, sidebar, className, }: Props): JSX.Element;
9
+ export default function DocSidebarDesktopContent({ path, sidebar, className, }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocSidebar';
8
- export default function DocSidebar(props: Props): JSX.Element;
9
+ export default function DocSidebar(props: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocSidebarItem/Category';
8
- export default function DocSidebarItemCategory({ item, onItemClick, activePath, level, index, ...props }: Props): JSX.Element;
9
+ export default function DocSidebarItemCategory({ item, onItemClick, activePath, level, index, ...props }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocSidebarItem/Html';
8
- export default function DocSidebarItemHtml({ item, level, index, }: Props): JSX.Element;
9
+ export default function DocSidebarItemHtml({ item, level, index, }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocSidebarItem/Link';
8
- export default function DocSidebarItemLink({ item, onItemClick, activePath, level, index, ...props }: Props): JSX.Element;
9
+ export default function DocSidebarItemLink({ item, onItemClick, activePath, level, index, ...props }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocSidebarItem';
8
- export default function DocSidebarItem({ item, ...props }: Props): JSX.Element | null;
9
+ export default function DocSidebarItem({ item, ...props }: Props): ReactNode;
@@ -4,8 +4,8 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import React from 'react';
7
+ import React, { type ReactNode } from 'react';
8
8
  import type { Props } from '@theme/DocSidebarItems';
9
- declare function DocSidebarItems({ items, ...props }: Props): JSX.Element;
9
+ declare function DocSidebarItems({ items, ...props }: Props): ReactNode;
10
10
  declare const _default: React.MemoExoticComponent<typeof DocSidebarItems>;
11
11
  export default _default;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocTagDocListPage';
8
- export default function DocTagDocListPage(props: Props): JSX.Element;
9
+ export default function DocTagDocListPage(props: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocTagsListPage';
8
- export default function DocTagsListPage(props: Props): JSX.Element;
9
+ export default function DocTagsListPage(props: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocVersionBadge';
8
- export default function DocVersionBadge({ className, }: Props): JSX.Element | null;
9
+ export default function DocVersionBadge({ className }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocVersionBanner';
8
- export default function DocVersionBanner({ className, }: Props): JSX.Element | null;
9
+ export default function DocVersionBanner({ className }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocVersionRoot';
8
- export default function DocVersionRoot(props: Props): JSX.Element;
9
+ export default function DocVersionRoot(props: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/DocVersionRoot';
8
- export default function DocsRoot(props: Props): JSX.Element;
9
+ export default function DocsRoot(props: Props): ReactNode;
@@ -1,2 +1,9 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import { type ReactNode } from 'react';
1
8
  import type { Props } from '@theme/EditMetaRow';
2
- export default function EditMetaRow({ className, editUrl, lastUpdatedAt, lastUpdatedBy, }: Props): JSX.Element;
9
+ export default function EditMetaRow({ className, editUrl, lastUpdatedAt, lastUpdatedBy, }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/EditThisPage';
8
- export default function EditThisPage({ editUrl }: Props): JSX.Element;
9
+ export default function EditThisPage({ editUrl }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Error';
8
- export default function ErrorPageContent({ error, tryAgain, }: Props): JSX.Element;
9
+ export default function ErrorPageContent({ error, tryAgain }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Footer/Copyright';
8
- export default function FooterCopyright({ copyright }: Props): JSX.Element;
9
+ export default function FooterCopyright({ copyright }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Footer/Layout';
8
- export default function FooterLayout({ style, links, logo, copyright, }: Props): JSX.Element;
9
+ export default function FooterLayout({ style, links, logo, copyright, }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Footer/LinkItem';
8
- export default function FooterLinkItem({ item }: Props): JSX.Element;
9
+ export default function FooterLinkItem({ item }: Props): ReactNode;
@@ -5,17 +5,18 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React from 'react';
8
+ import clsx from 'clsx';
8
9
  import Link from '@docusaurus/Link';
9
10
  import useBaseUrl from '@docusaurus/useBaseUrl';
10
11
  import isInternalUrl from '@docusaurus/isInternalUrl';
11
12
  import IconExternalLink from '@theme/Icon/ExternalLink';
12
13
  export default function FooterLinkItem({item}) {
13
- const {to, href, label, prependBaseUrlToHref, ...props} = item;
14
+ const {to, href, label, prependBaseUrlToHref, className, ...props} = item;
14
15
  const toUrl = useBaseUrl(to);
15
16
  const normalizedHref = useBaseUrl(href, {forcePrependBaseUrl: true});
16
17
  return (
17
18
  <Link
18
- className="footer__link-item"
19
+ className={clsx('footer__link-item', className)}
19
20
  {...(href
20
21
  ? {
21
22
  href: prependBaseUrlToHref ? normalizedHref : href,
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Footer/Links/MultiColumn';
8
- export default function FooterLinksMultiColumn({ columns }: Props): JSX.Element;
9
+ export default function FooterLinksMultiColumn({ columns }: Props): ReactNode;
@@ -5,11 +5,12 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React from 'react';
8
+ import clsx from 'clsx';
8
9
  import LinkItem from '@theme/Footer/LinkItem';
9
10
  function ColumnLinkItem({item}) {
10
11
  return item.html ? (
11
12
  <li
12
- className="footer__item"
13
+ className={clsx('footer__item', item.className)}
13
14
  // Developer provided the HTML, so assume it's safe.
14
15
  // eslint-disable-next-line react/no-danger
15
16
  dangerouslySetInnerHTML={{__html: item.html}}
@@ -22,7 +23,7 @@ function ColumnLinkItem({item}) {
22
23
  }
23
24
  function Column({column}) {
24
25
  return (
25
- <div className="col footer__col">
26
+ <div className={clsx('col footer__col', column.className)}>
26
27
  <div className="footer__title">{column.title}</div>
27
28
  <ul className="footer__items clean-list">
28
29
  {column.items.map((item, i) => (
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Footer/Links/Simple';
8
- export default function FooterLinksSimple({ links }: Props): JSX.Element;
9
+ export default function FooterLinksSimple({ links }: Props): ReactNode;
@@ -5,6 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React from 'react';
8
+ import clsx from 'clsx';
8
9
  import LinkItem from '@theme/Footer/LinkItem';
9
10
  function Separator() {
10
11
  return <span className="footer__link-separator">·</span>;
@@ -12,7 +13,7 @@ function Separator() {
12
13
  function SimpleLinkItem({item}) {
13
14
  return item.html ? (
14
15
  <span
15
- className="footer__link-item"
16
+ className={clsx('footer__link-item', item.className)}
16
17
  // Developer provided the HTML, so assume it's safe.
17
18
  // eslint-disable-next-line react/no-danger
18
19
  dangerouslySetInnerHTML={{__html: item.html}}
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Footer/Links';
8
- export default function FooterLinks({ links }: Props): JSX.Element;
9
+ export default function FooterLinks({ links }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Footer/Logo';
8
- export default function FooterLogo({ logo }: Props): JSX.Element;
9
+ export default function FooterLogo({ logo }: Props): ReactNode;
@@ -4,7 +4,7 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import React from 'react';
8
- declare function Footer(): JSX.Element | null;
7
+ import React, { type ReactNode } from 'react';
8
+ declare function Footer(): ReactNode;
9
9
  declare const _default: React.MemoExoticComponent<typeof Footer>;
10
10
  export default _default;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Heading';
8
- export default function Heading({ as: As, id, ...props }: Props): JSX.Element;
9
+ export default function Heading({ as: As, id, ...props }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Icon/Arrow';
8
- export default function IconArrow(props: Props): JSX.Element;
9
+ export default function IconArrow(props: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Icon/Close';
8
- export default function IconClose({ width, height, color, strokeWidth, className, ...restProps }: Props): JSX.Element;
9
+ export default function IconClose({ width, height, color, strokeWidth, className, ...restProps }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Icon/Copy';
8
- export default function IconCopy(props: Props): JSX.Element;
9
+ export default function IconCopy(props: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Icon/DarkMode';
8
- export default function IconDarkMode(props: Props): JSX.Element;
9
+ export default function IconDarkMode(props: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Icon/Edit';
8
- export default function IconEdit({ className, ...restProps }: Props): JSX.Element;
9
+ export default function IconEdit({ className, ...restProps }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Icon/ExternalLink';
8
- export default function IconExternalLink({ width, height, }: Props): JSX.Element;
9
+ export default function IconExternalLink({ width, height, }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Icon/Home';
8
- export default function IconHome(props: Props): JSX.Element;
9
+ export default function IconHome(props: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Icon/Language';
8
- export default function IconLanguage({ width, height, ...props }: Props): JSX.Element;
9
+ export default function IconLanguage({ width, height, ...props }: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Icon/LightMode';
8
- export default function IconLightMode(props: Props): JSX.Element;
9
+ export default function IconLightMode(props: Props): ReactNode;
@@ -4,5 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import { type ReactNode } from 'react';
7
8
  import type { Props } from '@theme/Icon/Menu';
8
- export default function IconMenu({ width, height, className, ...restProps }: Props): JSX.Element;
9
+ export default function IconMenu({ width, height, className, ...restProps }: Props): ReactNode;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import type { SVGProps, ReactNode } from 'react';
8
+ declare function Bluesky(props: SVGProps<SVGSVGElement>): ReactNode;
9
+ export default Bluesky;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ // SVG Source: https://svgl.app/
8
+ function Bluesky(props) {
9
+ return (
10
+ <svg
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ width="1em"
13
+ height="1em"
14
+ preserveAspectRatio="xMidYMid"
15
+ viewBox="0 0 256 226"
16
+ {...props}>
17
+ <path
18
+ fill="#1185FE"
19
+ d="M55.491 15.172c29.35 22.035 60.917 66.712 72.509 90.686 11.592-23.974 43.159-68.651 72.509-90.686C221.686-.727 256-13.028 256 26.116c0 7.818-4.482 65.674-7.111 75.068-9.138 32.654-42.436 40.983-72.057 35.942 51.775 8.812 64.946 38 36.501 67.187-54.021 55.433-77.644-13.908-83.696-31.676-1.11-3.257-1.63-4.78-1.637-3.485-.008-1.296-.527.228-1.637 3.485-6.052 17.768-29.675 87.11-83.696 31.676-28.445-29.187-15.274-58.375 36.5-67.187-29.62 5.041-62.918-3.288-72.056-35.942C4.482 91.79 0 33.934 0 26.116 0-13.028 34.314-.727 55.491 15.172Z"
20
+ />
21
+ </svg>
22
+ );
23
+ }
24
+ export default Bluesky;
@@ -4,6 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import type { SVGProps } from 'react';
8
- declare function DefaultSocial(props: SVGProps<SVGSVGElement>): JSX.Element;
7
+ import type { ReactNode, SVGProps } from 'react';
8
+ declare function DefaultSocial(props: SVGProps<SVGSVGElement>): ReactNode;
9
9
  export default DefaultSocial;
@@ -4,6 +4,6 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import type { SVGProps } from 'react';
8
- declare function GitHub(props: SVGProps<SVGSVGElement>): JSX.Element;
7
+ import type { ReactNode, SVGProps } from 'react';
8
+ declare function GitHub(props: SVGProps<SVGSVGElement>): ReactNode;
9
9
  export default GitHub;