@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
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React from 'react';
8
+ import React, {type ReactNode} from 'react';
9
9
  import type {Props} from '@theme/Icon/Menu';
10
10
 
11
11
  export default function IconMenu({
@@ -13,7 +13,7 @@ export default function IconMenu({
13
13
  height = 30,
14
14
  className,
15
15
  ...restProps
16
- }: Props): JSX.Element {
16
+ }: Props): ReactNode {
17
17
  return (
18
18
  <svg
19
19
  className={className}
@@ -0,0 +1,27 @@
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
+
8
+ import type {SVGProps, ReactNode} from 'react';
9
+
10
+ // SVG Source: https://svgl.app/
11
+ function Bluesky(props: SVGProps<SVGSVGElement>): ReactNode {
12
+ return (
13
+ <svg
14
+ xmlns="http://www.w3.org/2000/svg"
15
+ width="1em"
16
+ height="1em"
17
+ preserveAspectRatio="xMidYMid"
18
+ viewBox="0 0 256 226"
19
+ {...props}>
20
+ <path
21
+ fill="#1185FE"
22
+ 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"
23
+ />
24
+ </svg>
25
+ );
26
+ }
27
+ export default Bluesky;
@@ -5,10 +5,10 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import type {SVGProps} from 'react';
8
+ import type {ReactNode, SVGProps} from 'react';
9
9
 
10
10
  // SVG Source: https://tabler.io/
11
- function DefaultSocial(props: SVGProps<SVGSVGElement>): JSX.Element {
11
+ function DefaultSocial(props: SVGProps<SVGSVGElement>): ReactNode {
12
12
  return (
13
13
  <svg
14
14
  xmlns="http://www.w3.org/2000/svg"
@@ -5,23 +5,23 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import type {SVGProps} from 'react';
8
+ import type {ReactNode, SVGProps, CSSProperties} from 'react';
9
9
 
10
10
  import clsx from 'clsx';
11
11
  import styles from './styles.module.css';
12
12
 
13
13
  // SVG Source: https://svgl.app/
14
- function GitHub(props: SVGProps<SVGSVGElement>): JSX.Element {
14
+ function GitHub(props: SVGProps<SVGSVGElement>): ReactNode {
15
15
  return (
16
16
  <svg
17
- viewBox="0 0 256 250"
17
+ xmlns="http://www.w3.org/2000/svg"
18
18
  width="1em"
19
19
  height="1em"
20
+ viewBox="0 0 256 250"
21
+ preserveAspectRatio="xMidYMid"
22
+ style={{'--dark': '#000', '--light': '#fff'} as CSSProperties}
20
23
  {...props}
21
- className={clsx(props.className, styles.githubSvg)}
22
- xmlns="http://www.w3.org/2000/svg"
23
- style={{'--dark': '#000', '--light': '#fff'} as React.CSSProperties}
24
- preserveAspectRatio="xMidYMid">
24
+ className={clsx(props.className, styles.githubSvg)}>
25
25
  <path d="M128.001 0C57.317 0 0 57.307 0 128.001c0 56.554 36.676 104.535 87.535 121.46 6.397 1.185 8.746-2.777 8.746-6.158 0-3.052-.12-13.135-.174-23.83-35.61 7.742-43.124-15.103-43.124-15.103-5.823-14.795-14.213-18.73-14.213-18.73-11.613-7.944.876-7.78.876-7.78 12.853.902 19.621 13.19 19.621 13.19 11.417 19.568 29.945 13.911 37.249 10.64 1.149-8.272 4.466-13.92 8.127-17.116-28.431-3.236-58.318-14.212-58.318-63.258 0-13.975 5-25.394 13.188-34.358-1.329-3.224-5.71-16.242 1.24-33.874 0 0 10.749-3.44 35.21 13.121 10.21-2.836 21.16-4.258 32.038-4.307 10.878.049 21.837 1.47 32.066 4.307 24.431-16.56 35.165-13.12 35.165-13.12 6.967 17.63 2.584 30.65 1.255 33.873 8.207 8.964 13.173 20.383 13.173 34.358 0 49.163-29.944 59.988-58.447 63.157 4.591 3.972 8.682 11.762 8.682 23.704 0 17.126-.148 30.91-.148 35.126 0 3.407 2.304 7.398 8.792 6.14C219.37 232.5 256 184.537 256 128.002 256 57.307 198.691 0 128.001 0Zm-80.06 182.34c-.282.636-1.283.827-2.194.39-.929-.417-1.45-1.284-1.15-1.922.276-.655 1.279-.838 2.205-.399.93.418 1.46 1.293 1.139 1.931Zm6.296 5.618c-.61.566-1.804.303-2.614-.591-.837-.892-.994-2.086-.375-2.66.63-.566 1.787-.301 2.626.591.838.903 1 2.088.363 2.66Zm4.32 7.188c-.785.545-2.067.034-2.86-1.104-.784-1.138-.784-2.503.017-3.05.795-.547 2.058-.055 2.861 1.075.782 1.157.782 2.522-.019 3.08Zm7.304 8.325c-.701.774-2.196.566-3.29-.49-1.119-1.032-1.43-2.496-.726-3.27.71-.776 2.213-.558 3.315.49 1.11 1.03 1.45 2.505.701 3.27Zm9.442 2.81c-.31 1.003-1.75 1.459-3.199 1.033-1.448-.439-2.395-1.613-2.103-2.626.301-1.01 1.747-1.484 3.207-1.028 1.446.436 2.396 1.602 2.095 2.622Zm10.744 1.193c.036 1.055-1.193 1.93-2.715 1.95-1.53.034-2.769-.82-2.786-1.86 0-1.065 1.202-1.932 2.733-1.958 1.522-.03 2.768.818 2.768 1.868Zm10.555-.405c.182 1.03-.875 2.088-2.387 2.37-1.485.271-2.861-.365-3.05-1.386-.184-1.056.893-2.114 2.376-2.387 1.514-.263 2.868.356 3.061 1.403Z" />
26
26
  </svg>
27
27
  );
@@ -0,0 +1,28 @@
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, CSSProperties} from 'react';
8
+ import clsx from 'clsx';
9
+ import styles from './styles.module.css';
10
+
11
+ // SVG Source: https://svgl.app/
12
+ function Instagram(props: SVGProps<SVGSVGElement>): ReactNode {
13
+ return (
14
+ <svg
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ width="1em"
17
+ height="1em"
18
+ preserveAspectRatio="xMidYMid"
19
+ viewBox="0 0 256 256"
20
+ style={{'--dark': '#000', '--light': '#fff'} as CSSProperties}
21
+ {...props}
22
+ className={clsx(props.className, styles.instagramSvg)}>
23
+ <path d="M128 23.064c34.177 0 38.225.13 51.722.745 12.48.57 19.258 2.655 23.769 4.408 5.974 2.322 10.238 5.096 14.717 9.575 4.48 4.479 7.253 8.743 9.575 14.717 1.753 4.511 3.838 11.289 4.408 23.768.615 13.498.745 17.546.745 51.723 0 34.178-.13 38.226-.745 51.723-.57 12.48-2.655 19.257-4.408 23.768-2.322 5.974-5.096 10.239-9.575 14.718-4.479 4.479-8.743 7.253-14.717 9.574-4.511 1.753-11.289 3.839-23.769 4.408-13.495.616-17.543.746-51.722.746-34.18 0-38.228-.13-51.723-.746-12.48-.57-19.257-2.655-23.768-4.408-5.974-2.321-10.239-5.095-14.718-9.574-4.479-4.48-7.253-8.744-9.574-14.718-1.753-4.51-3.839-11.288-4.408-23.768-.616-13.497-.746-17.545-.746-51.723 0-34.177.13-38.225.746-51.722.57-12.48 2.655-19.258 4.408-23.769 2.321-5.974 5.095-10.238 9.574-14.717 4.48-4.48 8.744-7.253 14.718-9.575 4.51-1.753 11.288-3.838 23.768-4.408 13.497-.615 17.545-.745 51.723-.745M128 0C93.237 0 88.878.147 75.226.77c-13.625.622-22.93 2.786-31.071 5.95-8.418 3.271-15.556 7.648-22.672 14.764C14.367 28.6 9.991 35.738 6.72 44.155 3.555 52.297 1.392 61.602.77 75.226.147 88.878 0 93.237 0 128c0 34.763.147 39.122.77 52.774.622 13.625 2.785 22.93 5.95 31.071 3.27 8.417 7.647 15.556 14.763 22.672 7.116 7.116 14.254 11.492 22.672 14.763 8.142 3.165 17.446 5.328 31.07 5.95 13.653.623 18.012.77 52.775.77s39.122-.147 52.774-.77c13.624-.622 22.929-2.785 31.07-5.95 8.418-3.27 15.556-7.647 22.672-14.763 7.116-7.116 11.493-14.254 14.764-22.672 3.164-8.142 5.328-17.446 5.95-31.07.623-13.653.77-18.012.77-52.775s-.147-39.122-.77-52.774c-.622-13.624-2.786-22.929-5.95-31.07-3.271-8.418-7.648-15.556-14.764-22.672C227.4 14.368 220.262 9.99 211.845 6.72c-8.142-3.164-17.447-5.328-31.071-5.95C167.122.147 162.763 0 128 0Zm0 62.27C91.698 62.27 62.27 91.7 62.27 128c0 36.302 29.428 65.73 65.73 65.73 36.301 0 65.73-29.428 65.73-65.73 0-36.301-29.429-65.73-65.73-65.73Zm0 108.397c-23.564 0-42.667-19.103-42.667-42.667S104.436 85.333 128 85.333s42.667 19.103 42.667 42.667-19.103 42.667-42.667 42.667Zm83.686-110.994c0 8.484-6.876 15.36-15.36 15.36-8.483 0-15.36-6.876-15.36-15.36 0-8.483 6.877-15.36 15.36-15.36 8.484 0 15.36 6.877 15.36 15.36Z" />
24
+ </svg>
25
+ );
26
+ }
27
+
28
+ export default Instagram;
@@ -0,0 +1,14 @@
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
+
8
+ [data-theme='dark'] .instagramSvg {
9
+ fill: var(--light);
10
+ }
11
+
12
+ [data-theme='light'] .instagramSvg {
13
+ fill: var(--dark);
14
+ }
@@ -5,15 +5,15 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import type {SVGProps} from 'react';
8
+ import type {ReactNode, SVGProps} from 'react';
9
9
 
10
10
  // SVG Source: https://svgl.app/
11
- function LinkedIn(props: SVGProps<SVGSVGElement>): JSX.Element {
11
+ function LinkedIn(props: SVGProps<SVGSVGElement>): ReactNode {
12
12
  return (
13
13
  <svg
14
+ xmlns="http://www.w3.org/2000/svg"
14
15
  width="1em"
15
16
  height="1em"
16
- xmlns="http://www.w3.org/2000/svg"
17
17
  preserveAspectRatio="xMidYMid"
18
18
  viewBox="0 0 256 256"
19
19
  {...props}>
@@ -0,0 +1,45 @@
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
+
8
+ import {useId} from 'react';
9
+ import type {SVGProps, ReactNode} from 'react';
10
+
11
+ // SVG Source: https://svgl.app/
12
+ function Mastodon(props: SVGProps<SVGSVGElement>): ReactNode {
13
+ const gradientId = useId();
14
+ return (
15
+ <svg
16
+ xmlns="http://www.w3.org/2000/svg"
17
+ fill="none"
18
+ viewBox="0 0 61 65"
19
+ width="1em"
20
+ height="1em"
21
+ {...props}>
22
+ <path
23
+ fill={`url(#${gradientId})`}
24
+ d="M60.754 14.39C59.814 7.406 53.727 1.903 46.512.836 45.294.656 40.682 0 29.997 0h-.08C19.23 0 16.938.656 15.72.836 8.705 1.873 2.299 6.82.745 13.886c-.748 3.48-.828 7.338-.689 10.877.198 5.075.237 10.142.697 15.197a71.482 71.482 0 0 0 1.664 9.968c1.477 6.056 7.458 11.096 13.317 13.152a35.718 35.718 0 0 0 19.484 1.028 28.365 28.365 0 0 0 2.107-.576c1.572-.5 3.413-1.057 4.766-2.038a.154.154 0 0 0 .062-.118v-4.899a.146.146 0 0 0-.055-.111.145.145 0 0 0-.122-.028 54 54 0 0 1-12.644 1.478c-7.328 0-9.298-3.478-9.863-4.925a15.258 15.258 0 0 1-.857-3.882.142.142 0 0 1 .178-.145 52.976 52.976 0 0 0 12.437 1.477c1.007 0 2.012 0 3.02-.026 4.213-.119 8.654-.334 12.8-1.144.103-.02.206-.038.295-.065 6.539-1.255 12.762-5.196 13.394-15.176.024-.393.083-4.115.083-4.523.003-1.386.446-9.829-.065-15.017Z"
25
+ />
26
+ <path
27
+ fill="#fff"
28
+ d="M50.394 22.237v17.35H43.52V22.749c0-3.545-1.478-5.353-4.483-5.353-3.303 0-4.958 2.139-4.958 6.364v9.217h-6.835V23.76c0-4.225-1.657-6.364-4.96-6.364-2.988 0-4.48 1.808-4.48 5.353v16.84H10.93V22.237c0-3.545.905-6.362 2.715-8.45 1.868-2.082 4.317-3.152 7.358-3.152 3.519 0 6.178 1.354 7.951 4.057l1.711 2.871 1.714-2.871c1.773-2.704 4.432-4.056 7.945-4.056 3.038 0 5.487 1.069 7.36 3.152 1.81 2.085 2.712 4.902 2.71 8.449Z"
29
+ />
30
+ <defs>
31
+ <linearGradient
32
+ id={gradientId}
33
+ x1={30.5}
34
+ x2={30.5}
35
+ y1={0}
36
+ y2={65}
37
+ gradientUnits="userSpaceOnUse">
38
+ <stop stopColor="#6364FF" />
39
+ <stop offset={1} stopColor="#563ACC" />
40
+ </linearGradient>
41
+ </defs>
42
+ </svg>
43
+ );
44
+ }
45
+ export default Mastodon;
@@ -5,10 +5,10 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import type {SVGProps} from 'react';
8
+ import type {ReactNode, SVGProps} from 'react';
9
9
 
10
10
  // SVG Source: https://svgl.app/
11
- function StackOverflow(props: SVGProps<SVGSVGElement>): JSX.Element {
11
+ function StackOverflow(props: SVGProps<SVGSVGElement>): ReactNode {
12
12
  return (
13
13
  <svg
14
14
  xmlns="http://www.w3.org/2000/svg"
@@ -0,0 +1,30 @@
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
+
8
+ import type {SVGProps, ReactNode, CSSProperties} from 'react';
9
+
10
+ import clsx from 'clsx';
11
+ import styles from './styles.module.css';
12
+
13
+ // SVG Source: https://svgl.app/
14
+ function Threads(props: SVGProps<SVGSVGElement>): ReactNode {
15
+ return (
16
+ <svg
17
+ xmlns="http://www.w3.org/2000/svg"
18
+ aria-label="Threads"
19
+ viewBox="0 0 192 192"
20
+ width="1em"
21
+ fill="none"
22
+ height="1em"
23
+ style={{'--dark': '#000', '--light': '#fff'} as CSSProperties}
24
+ {...props}
25
+ className={clsx(props.className, styles.threadsSvg)}>
26
+ <path d="M141.537 88.988a66.667 66.667 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553ZM98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735 1.966-.114 3.895-.169 5.79-.169 6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274Z" />
27
+ </svg>
28
+ );
29
+ }
30
+ export default Threads;
@@ -0,0 +1,14 @@
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
+
8
+ [data-theme='dark'] .threadsSvg {
9
+ fill: var(--light);
10
+ }
11
+
12
+ [data-theme='light'] .threadsSvg {
13
+ fill: var(--dark);
14
+ }
@@ -0,0 +1,37 @@
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
+
9
+ // SVG Source: https://svgl.app/
10
+ function Twitch(props: SVGProps<SVGSVGElement>): ReactNode {
11
+ return (
12
+ <svg
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ x={0}
15
+ y={0}
16
+ viewBox="0 0 2400 2800"
17
+ width="1em"
18
+ height="1em"
19
+ {...props}>
20
+ <path
21
+ d="m2200 1300-400 400h-400l-350 350v-350H600V200h1600z"
22
+ fill="#fff"
23
+ />
24
+ <g>
25
+ <path
26
+ d="M500 0 0 500v1800h600v500l500-500h400l900-900V0H500zm1700 1300-400 400h-400l-350 350v-350H600V200h1600v1100z"
27
+ fill="#9146ff"
28
+ />
29
+ <path
30
+ d="M1700 550h200v600h-200zM1150 550h200v600h-200z"
31
+ fill="#9146ff"
32
+ />
33
+ </g>
34
+ </svg>
35
+ );
36
+ }
37
+ export default Twitch;
@@ -5,16 +5,16 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import type {SVGProps} from 'react';
8
+ import type {ReactNode, SVGProps} from 'react';
9
9
 
10
10
  // SVG Source: https://svgl.app/
11
- function Twitter(props: SVGProps<SVGSVGElement>): JSX.Element {
11
+ function Twitter(props: SVGProps<SVGSVGElement>): ReactNode {
12
12
  return (
13
13
  <svg
14
+ xmlns="http://www.w3.org/2000/svg"
14
15
  viewBox="0 0 256 209"
15
16
  width="1em"
16
17
  height="1em"
17
- xmlns="http://www.w3.org/2000/svg"
18
18
  preserveAspectRatio="xMidYMid"
19
19
  {...props}>
20
20
  <path
@@ -5,13 +5,13 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import type {SVGProps} from 'react';
8
+ import type {ReactNode, SVGProps, CSSProperties} from 'react';
9
9
 
10
10
  import clsx from 'clsx';
11
11
  import styles from './styles.module.css';
12
12
 
13
13
  // SVG Source: https://svgl.app/
14
- function X(props: SVGProps<SVGSVGElement>): JSX.Element {
14
+ function X(props: SVGProps<SVGSVGElement>): ReactNode {
15
15
  return (
16
16
  <svg
17
17
  xmlns="http://www.w3.org/2000/svg"
@@ -19,9 +19,9 @@ function X(props: SVGProps<SVGSVGElement>): JSX.Element {
19
19
  height="1em"
20
20
  fill="none"
21
21
  viewBox="0 0 1200 1227"
22
+ style={{'--dark': '#000', '--light': '#fff'} as CSSProperties}
22
23
  {...props}
23
- className={clsx(props.className, styles.xSvg)}
24
- style={{'--dark': '#000', '--light': '#fff'} as React.CSSProperties}>
24
+ className={clsx(props.className, styles.xSvg)}>
25
25
  <path d="M714.163 519.284 1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284h.026ZM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854v-.026Z" />
26
26
  </svg>
27
27
  );
@@ -0,0 +1,27 @@
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
+
9
+ // SVG Source: https://svgl.app/
10
+ function YouTube(props: SVGProps<SVGSVGElement>): ReactNode {
11
+ return (
12
+ <svg
13
+ viewBox="0 0 256 180"
14
+ width="1em"
15
+ height="1em"
16
+ xmlns="http://www.w3.org/2000/svg"
17
+ preserveAspectRatio="xMidYMid"
18
+ {...props}>
19
+ <path
20
+ d="M250.346 28.075A32.18 32.18 0 0 0 227.69 5.418C207.824 0 127.87 0 127.87 0S47.912.164 28.046 5.582A32.18 32.18 0 0 0 5.39 28.24c-6.009 35.298-8.34 89.084.165 122.97a32.18 32.18 0 0 0 22.656 22.657c19.866 5.418 99.822 5.418 99.822 5.418s79.955 0 99.82-5.418a32.18 32.18 0 0 0 22.657-22.657c6.338-35.348 8.291-89.1-.164-123.134Z"
21
+ fill="red"
22
+ />
23
+ <path fill="#FFF" d="m102.421 128.06 66.328-38.418-66.328-38.418z" />
24
+ </svg>
25
+ );
26
+ }
27
+ export default YouTube;
@@ -5,10 +5,10 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React from 'react';
8
+ import React, {type ReactNode} from 'react';
9
9
  import type {Props} from '@theme/Icon/Success';
10
10
 
11
- export default function IconSuccess(props: Props): JSX.Element {
11
+ export default function IconSuccess(props: Props): ReactNode {
12
12
  return (
13
13
  <svg viewBox="0 0 24 24" {...props}>
14
14
  <path
@@ -5,10 +5,10 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React from 'react';
8
+ import React, {type ReactNode} from 'react';
9
9
  import type {Props} from '@theme/Icon/WordWrap';
10
10
 
11
- export default function IconWordWrap(props: Props): JSX.Element {
11
+ export default function IconWordWrap(props: Props): ReactNode {
12
12
  return (
13
13
  <svg viewBox="0 0 24 24" {...props}>
14
14
  <path
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React from 'react';
8
+ import React, {type ReactNode} from 'react';
9
9
  import Translate from '@docusaurus/Translate';
10
10
  import {ThemeClassNames} from '@docusaurus/theme-common';
11
11
  import {useDateTimeFormat} from '@docusaurus/theme-common/internal';
@@ -15,7 +15,7 @@ function LastUpdatedAtDate({
15
15
  lastUpdatedAt,
16
16
  }: {
17
17
  lastUpdatedAt: number;
18
- }): JSX.Element {
18
+ }): ReactNode {
19
19
  const atDate = new Date(lastUpdatedAt);
20
20
 
21
21
  const dateTimeFormat = useDateTimeFormat({
@@ -49,7 +49,7 @@ function LastUpdatedByUser({
49
49
  lastUpdatedBy,
50
50
  }: {
51
51
  lastUpdatedBy: string;
52
- }): JSX.Element {
52
+ }): ReactNode {
53
53
  return (
54
54
  <Translate
55
55
  id="theme.lastUpdated.byUser"
@@ -65,7 +65,7 @@ function LastUpdatedByUser({
65
65
  export default function LastUpdated({
66
66
  lastUpdatedAt,
67
67
  lastUpdatedBy,
68
- }: Props): JSX.Element {
68
+ }: Props): ReactNode {
69
69
  return (
70
70
  <span className={ThemeClassNames.common.lastUpdated}>
71
71
  <Translate
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React from 'react';
8
+ import React, {type ReactNode} from 'react';
9
9
  import {composeProviders} from '@docusaurus/theme-common';
10
10
  import {
11
11
  ColorModeProvider,
@@ -26,6 +26,6 @@ const Provider = composeProviders([
26
26
  NavbarProvider,
27
27
  ]);
28
28
 
29
- export default function LayoutProvider({children}: Props): JSX.Element {
29
+ export default function LayoutProvider({children}: Props): ReactNode {
30
30
  return <Provider>{children}</Provider>;
31
31
  }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React from 'react';
8
+ import React, {type ReactNode} from 'react';
9
9
  import clsx from 'clsx';
10
10
  import ErrorBoundary from '@docusaurus/ErrorBoundary';
11
11
  import {
@@ -23,7 +23,7 @@ import ErrorPageContent from '@theme/ErrorPageContent';
23
23
  import type {Props} from '@theme/Layout';
24
24
  import styles from './styles.module.css';
25
25
 
26
- export default function Layout(props: Props): JSX.Element {
26
+ export default function Layout(props: Props): ReactNode {
27
27
  const {
28
28
  children,
29
29
  noFooter,
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React from 'react';
8
+ import React, {type ReactNode} from 'react';
9
9
  import Link from '@docusaurus/Link';
10
10
  import useBaseUrl from '@docusaurus/useBaseUrl';
11
11
  import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
@@ -46,7 +46,7 @@ function LogoThemedImage({
46
46
  );
47
47
  }
48
48
 
49
- export default function Logo(props: Props): JSX.Element {
49
+ export default function Logo(props: Props): ReactNode {
50
50
  const {
51
51
  siteConfig: {title},
52
52
  } = useDocusaurusContext();
@@ -5,10 +5,10 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React from 'react';
8
+ import React, {type ReactNode} from 'react';
9
9
  import Link from '@docusaurus/Link';
10
10
  import type {Props} from '@theme/MDXComponents/A';
11
11
 
12
- export default function MDXA(props: Props): JSX.Element {
12
+ export default function MDXA(props: Props): ReactNode {
13
13
  return <Link {...props} />;
14
14
  }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import type {ComponentProps} from 'react';
8
+ import type {ComponentProps, ReactNode} from 'react';
9
9
  import React from 'react';
10
10
  import CodeBlock from '@theme/CodeBlock';
11
11
  import CodeInline from '@theme/CodeInline';
@@ -22,7 +22,7 @@ function shouldBeInline(props: Props) {
22
22
  );
23
23
  }
24
24
 
25
- export default function MDXCode(props: Props): JSX.Element {
25
+ export default function MDXCode(props: Props): ReactNode {
26
26
  return shouldBeInline(props) ? (
27
27
  <CodeInline {...props} />
28
28
  ) : (
@@ -5,11 +5,15 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React, {type ComponentProps, type ReactElement} from 'react';
8
+ import React, {
9
+ type ComponentProps,
10
+ type ReactElement,
11
+ type ReactNode,
12
+ } from 'react';
9
13
  import Details from '@theme/Details';
10
14
  import type {Props} from '@theme/MDXComponents/Details';
11
15
 
12
- export default function MDXDetails(props: Props): JSX.Element {
16
+ export default function MDXDetails(props: Props): ReactNode {
13
17
  const items = React.Children.toArray(props.children);
14
18
  // Split summary item from the rest to pass it as a separate prop to the
15
19
  // Details theme component
@@ -5,10 +5,10 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React from 'react';
8
+ import React, {type ReactNode} from 'react';
9
9
  import Heading from '@theme/Heading';
10
10
  import type {Props} from '@theme/MDXComponents/Heading';
11
11
 
12
- export default function MDXHeading(props: Props): JSX.Element {
12
+ export default function MDXHeading(props: Props): ReactNode {
13
13
  return <Heading {...props} />;
14
14
  }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React from 'react';
8
+ import React, {type ReactNode} from 'react';
9
9
  import clsx from 'clsx';
10
10
  import type {Props} from '@theme/MDXComponents/Img';
11
11
 
@@ -15,7 +15,7 @@ function transformImgClassName(className?: string): string {
15
15
  return clsx(className, styles.img);
16
16
  }
17
17
 
18
- export default function MDXImg(props: Props): JSX.Element {
18
+ export default function MDXImg(props: Props): ReactNode {
19
19
  return (
20
20
  // eslint-disable-next-line jsx-a11y/alt-text
21
21
  <img
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React from 'react';
8
+ import React, {type ReactNode} from 'react';
9
9
  import clsx from 'clsx';
10
10
  import type {Props} from '@theme/MDXComponents/Ul';
11
11
 
@@ -25,6 +25,6 @@ function transformUlClassName(className?: string): string | undefined {
25
25
  );
26
26
  }
27
27
 
28
- export default function MDXUl(props: Props): JSX.Element {
28
+ export default function MDXUl(props: Props): ReactNode {
29
29
  return <ul {...props} className={transformUlClassName(props.className)} />;
30
30
  }
@@ -5,11 +5,11 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React from 'react';
8
+ import React, {type ReactNode} from 'react';
9
9
  import {MDXProvider} from '@mdx-js/react';
10
10
  import MDXComponents from '@theme/MDXComponents';
11
11
  import type {Props} from '@theme/MDXContent';
12
12
 
13
- export default function MDXContent({children}: Props): JSX.Element {
13
+ export default function MDXContent({children}: Props): ReactNode {
14
14
  return <MDXProvider components={MDXComponents}>{children}</MDXProvider>;
15
15
  }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React from 'react';
8
+ import React, {type ReactNode} from 'react';
9
9
  import clsx from 'clsx';
10
10
  import {
11
11
  PageMetadata,
@@ -21,7 +21,7 @@ import type {Props} from '@theme/MDXPage';
21
21
  import EditMetaRow from '@theme/EditMetaRow';
22
22
  import styles from './styles.module.css';
23
23
 
24
- export default function MDXPage(props: Props): JSX.Element {
24
+ export default function MDXPage(props: Props): ReactNode {
25
25
  const {content: MDXPageContent} = props;
26
26
  const {metadata, assets} = MDXPageContent;
27
27
  const {