fumadocs-ui 16.17.7 → 16.17.9

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 (239) hide show
  1. package/css/generated/flux.css +1 -1
  2. package/css/generated/shared.css +1 -1
  3. package/dist/.translations/index.d.ts +1 -3
  4. package/dist/.translations/keys.js +1 -2
  5. package/dist/_virtual/_rolldown/runtime.js +1 -2
  6. package/dist/components/accordion.d.ts +1 -3
  7. package/dist/components/accordion.js +1 -2
  8. package/dist/components/banner.d.ts +1 -2
  9. package/dist/components/banner.js +1 -2
  10. package/dist/components/callout.d.ts +1 -3
  11. package/dist/components/callout.js +1 -2
  12. package/dist/components/card.d.ts +1 -3
  13. package/dist/components/card.js +1 -2
  14. package/dist/components/codeblock.d.ts +1 -3
  15. package/dist/components/codeblock.js +1 -2
  16. package/dist/components/codeblock.rsc.d.ts +7 -3
  17. package/dist/components/codeblock.rsc.js +21 -9
  18. package/dist/components/dialog/search-algolia.d.ts +1 -3
  19. package/dist/components/dialog/search-algolia.js +1 -2
  20. package/dist/components/dialog/search-default.d.ts +1 -3
  21. package/dist/components/dialog/search-default.js +1 -2
  22. package/dist/components/dialog/search-orama.d.ts +1 -3
  23. package/dist/components/dialog/search-orama.js +1 -2
  24. package/dist/components/dialog/search.d.ts +13 -16
  25. package/dist/components/dialog/search.js +19 -31
  26. package/dist/components/dynamic-codeblock.core.d.ts +9 -6
  27. package/dist/components/dynamic-codeblock.core.js +55 -18
  28. package/dist/components/dynamic-codeblock.d.ts +2 -4
  29. package/dist/components/dynamic-codeblock.js +1 -2
  30. package/dist/components/files.d.ts +1 -3
  31. package/dist/components/files.js +1 -2
  32. package/dist/components/github-info.d.ts +1 -3
  33. package/dist/components/github-info.js +1 -2
  34. package/dist/components/heading.d.ts +1 -2
  35. package/dist/components/heading.js +1 -2
  36. package/dist/components/image-zoom.d.ts +3 -5
  37. package/dist/components/image-zoom.js +2 -3
  38. package/dist/components/inline-toc.d.ts +1 -3
  39. package/dist/components/inline-toc.js +1 -2
  40. package/dist/components/sidebar/base.d.ts +0 -1
  41. package/dist/components/sidebar/base.js +1 -2
  42. package/dist/components/sidebar/link-item.d.ts +1 -2
  43. package/dist/components/sidebar/link-item.js +1 -2
  44. package/dist/components/sidebar/page-tree.d.ts +1 -2
  45. package/dist/components/sidebar/page-tree.js +1 -2
  46. package/dist/components/sidebar/tabs/dropdown.d.ts +1 -3
  47. package/dist/components/sidebar/tabs/dropdown.js +1 -2
  48. package/dist/components/sidebar/tabs/index.d.ts +1 -3
  49. package/dist/components/sidebar/tabs/index.js +1 -2
  50. package/dist/components/steps.d.ts +1 -3
  51. package/dist/components/steps.js +1 -2
  52. package/dist/components/tabs.d.ts +2 -4
  53. package/dist/components/tabs.js +1 -2
  54. package/dist/components/toc/block.d.ts +2 -6
  55. package/dist/components/toc/block.js +6 -13
  56. package/dist/components/toc/clerk.d.ts +2 -7
  57. package/dist/components/toc/clerk.js +85 -120
  58. package/dist/components/toc/default.d.ts +2 -7
  59. package/dist/components/toc/default.js +112 -149
  60. package/dist/components/toc/index.d.ts +1 -6
  61. package/dist/components/toc/index.js +1 -2
  62. package/dist/components/type-table.d.ts +1 -3
  63. package/dist/components/type-table.js +1 -2
  64. package/dist/components/ui/accordion.d.ts +1 -3
  65. package/dist/components/ui/accordion.js +1 -2
  66. package/dist/components/ui/button.d.ts +1 -3
  67. package/dist/components/ui/button.js +1 -2
  68. package/dist/components/ui/collapsible.d.ts +1 -3
  69. package/dist/components/ui/collapsible.js +1 -2
  70. package/dist/components/ui/navigation-menu.d.ts +1 -3
  71. package/dist/components/ui/navigation-menu.js +1 -2
  72. package/dist/components/ui/popover.d.ts +1 -3
  73. package/dist/components/ui/popover.js +1 -2
  74. package/dist/components/ui/tabs.d.ts +1 -6
  75. package/dist/components/ui/tabs.js +1 -2
  76. package/dist/contexts/i18n.d.ts +1 -2
  77. package/dist/contexts/i18n.js +1 -2
  78. package/dist/contexts/search.d.ts +1 -2
  79. package/dist/contexts/search.js +1 -2
  80. package/dist/contexts/tree.d.ts +1 -2
  81. package/dist/contexts/tree.js +1 -2
  82. package/dist/i18n.d.ts +0 -2
  83. package/dist/i18n.js +1 -2
  84. package/dist/layouts/docs/client.d.ts +1 -2
  85. package/dist/layouts/docs/client.js +1 -2
  86. package/dist/layouts/docs/index.d.ts +0 -2
  87. package/dist/layouts/docs/index.js +1 -2
  88. package/dist/layouts/docs/page/index.d.ts +0 -2
  89. package/dist/layouts/docs/page/index.js +1 -2
  90. package/dist/layouts/docs/page/slots/breadcrumb.d.ts +1 -3
  91. package/dist/layouts/docs/page/slots/breadcrumb.js +1 -2
  92. package/dist/layouts/docs/page/slots/container.d.ts +1 -3
  93. package/dist/layouts/docs/page/slots/container.js +1 -2
  94. package/dist/layouts/docs/page/slots/footer.d.ts +1 -2
  95. package/dist/layouts/docs/page/slots/footer.js +1 -2
  96. package/dist/layouts/docs/page/slots/toc.d.ts +5 -7
  97. package/dist/layouts/docs/page/slots/toc.js +1 -2
  98. package/dist/layouts/docs/slots/container.d.ts +1 -3
  99. package/dist/layouts/docs/slots/container.js +1 -2
  100. package/dist/layouts/docs/slots/header.d.ts +1 -3
  101. package/dist/layouts/docs/slots/header.js +1 -2
  102. package/dist/layouts/docs/slots/sidebar.d.ts +2 -4
  103. package/dist/layouts/docs/slots/sidebar.js +1 -2
  104. package/dist/layouts/flux/index.d.ts +1 -2
  105. package/dist/layouts/flux/index.js +1 -2
  106. package/dist/layouts/flux/page/index.d.ts +0 -2
  107. package/dist/layouts/flux/page/index.js +1 -2
  108. package/dist/layouts/flux/page/slots/breadcrumb.d.ts +1 -3
  109. package/dist/layouts/flux/page/slots/breadcrumb.js +1 -2
  110. package/dist/layouts/flux/page/slots/container.d.ts +1 -3
  111. package/dist/layouts/flux/page/slots/container.js +1 -2
  112. package/dist/layouts/flux/page/slots/footer.d.ts +1 -2
  113. package/dist/layouts/flux/page/slots/footer.js +1 -2
  114. package/dist/layouts/flux/page/slots/toc.d.ts +5 -7
  115. package/dist/layouts/flux/page/slots/toc.js +1 -2
  116. package/dist/layouts/flux/slots/container.d.ts +1 -3
  117. package/dist/layouts/flux/slots/container.js +1 -2
  118. package/dist/layouts/flux/slots/sidebar.d.ts +2 -4
  119. package/dist/layouts/flux/slots/sidebar.js +1 -2
  120. package/dist/layouts/flux/slots/tab-dropdown.d.ts +1 -3
  121. package/dist/layouts/flux/slots/tab-dropdown.js +1 -2
  122. package/dist/layouts/glass/index.d.ts +0 -2
  123. package/dist/layouts/glass/index.js +1 -2
  124. package/dist/layouts/glass/layout-tabs.js +1 -2
  125. package/dist/layouts/glass/page/index.d.ts +0 -2
  126. package/dist/layouts/glass/page/index.js +1 -2
  127. package/dist/layouts/glass/page/slots/breadcrumb.d.ts +1 -3
  128. package/dist/layouts/glass/page/slots/breadcrumb.js +1 -2
  129. package/dist/layouts/glass/page/slots/footer.d.ts +1 -2
  130. package/dist/layouts/glass/page/slots/footer.js +1 -2
  131. package/dist/layouts/glass/page/slots/toc.d.ts +2 -4
  132. package/dist/layouts/glass/page/slots/toc.js +1 -2
  133. package/dist/layouts/glass/slots/header.d.ts +1 -3
  134. package/dist/layouts/glass/slots/header.js +1 -2
  135. package/dist/layouts/glass/slots/sidebar.d.ts +1 -3
  136. package/dist/layouts/glass/slots/sidebar.js +1 -2
  137. package/dist/layouts/home/index.d.ts +1 -2
  138. package/dist/layouts/home/index.js +1 -2
  139. package/dist/layouts/home/navbar.d.ts +1 -3
  140. package/dist/layouts/home/navbar.js +1 -2
  141. package/dist/layouts/home/not-found.d.ts +1 -3
  142. package/dist/layouts/home/not-found.js +1 -2
  143. package/dist/layouts/home/slots/container.d.ts +1 -3
  144. package/dist/layouts/home/slots/container.js +1 -2
  145. package/dist/layouts/home/slots/header.d.ts +1 -3
  146. package/dist/layouts/home/slots/header.js +1 -2
  147. package/dist/layouts/notebook/client.d.ts +1 -2
  148. package/dist/layouts/notebook/client.js +1 -2
  149. package/dist/layouts/notebook/index.d.ts +0 -2
  150. package/dist/layouts/notebook/index.js +1 -2
  151. package/dist/layouts/notebook/page/index.d.ts +0 -2
  152. package/dist/layouts/notebook/page/index.js +1 -2
  153. package/dist/layouts/notebook/page/slots/breadcrumb.d.ts +1 -3
  154. package/dist/layouts/notebook/page/slots/breadcrumb.js +1 -2
  155. package/dist/layouts/notebook/page/slots/container.d.ts +1 -3
  156. package/dist/layouts/notebook/page/slots/container.js +1 -2
  157. package/dist/layouts/notebook/page/slots/footer.d.ts +1 -2
  158. package/dist/layouts/notebook/page/slots/footer.js +1 -2
  159. package/dist/layouts/notebook/page/slots/toc.d.ts +5 -7
  160. package/dist/layouts/notebook/page/slots/toc.js +1 -2
  161. package/dist/layouts/notebook/slots/container.d.ts +1 -3
  162. package/dist/layouts/notebook/slots/container.js +1 -2
  163. package/dist/layouts/notebook/slots/header.d.ts +1 -3
  164. package/dist/layouts/notebook/slots/header.js +1 -2
  165. package/dist/layouts/notebook/slots/sidebar.d.ts +2 -4
  166. package/dist/layouts/notebook/slots/sidebar.js +1 -2
  167. package/dist/layouts/shared/client.d.ts +1 -3
  168. package/dist/layouts/shared/client.js +1 -2
  169. package/dist/layouts/shared/index.d.ts +0 -2
  170. package/dist/layouts/shared/index.js +1 -2
  171. package/dist/layouts/shared/page-actions.d.ts +1 -3
  172. package/dist/layouts/shared/page-actions.js +1 -2
  173. package/dist/layouts/shared/slots/language-select.d.ts +1 -3
  174. package/dist/layouts/shared/slots/language-select.js +1 -2
  175. package/dist/layouts/shared/slots/search-trigger.d.ts +1 -3
  176. package/dist/layouts/shared/slots/search-trigger.js +1 -2
  177. package/dist/layouts/shared/slots/theme-switch.d.ts +1 -3
  178. package/dist/layouts/shared/slots/theme-switch.js +1 -2
  179. package/dist/legacy/layout.d.ts +1 -2
  180. package/dist/legacy/layout.js +1 -2
  181. package/dist/legacy/sidebar.d.ts +1 -3
  182. package/dist/legacy/sidebar.js +1 -2
  183. package/dist/mdx.d.ts +0 -2
  184. package/dist/mdx.js +1 -2
  185. package/dist/mdx.server.d.ts +0 -2
  186. package/dist/mdx.server.js +1 -2
  187. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/controlled.d.ts +1 -2
  188. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/controlled.js +1 -2
  189. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/uncontrolled.d.ts +3 -0
  190. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/uncontrolled.js +1 -2
  191. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/adjust-svg-ids.js +1 -2
  192. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/compute-positioned-style.js +1 -2
  193. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/element-tests.js +1 -2
  194. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-div-img-style.js +1 -2
  195. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-img-alt.js +1 -2
  196. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-img-object-fit-style.js +1 -2
  197. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-img-regular-style.js +1 -2
  198. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-img-src.js +1 -2
  199. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-modal-img-transform.js +1 -2
  200. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-scale.js +1 -2
  201. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-style-ghost.js +1 -2
  202. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-style-modal-img.js +1 -2
  203. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-target-dimension.js +3 -0
  204. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/parse-position.js +1 -2
  205. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/test-has-scalable-src.js +1 -2
  206. package/dist/og/takumi.d.ts +1 -3
  207. package/dist/og/takumi.js +1 -2
  208. package/dist/og.d.ts +1 -2
  209. package/dist/og.js +1 -2
  210. package/dist/page.d.ts +0 -2
  211. package/dist/page.js +1 -2
  212. package/dist/provider/astro.d.ts +1 -3
  213. package/dist/provider/astro.js +17 -2
  214. package/dist/provider/base.d.ts +0 -2
  215. package/dist/provider/base.js +1 -2
  216. package/dist/provider/next.d.ts +1 -3
  217. package/dist/provider/next.js +1 -2
  218. package/dist/provider/react-router.d.ts +1 -3
  219. package/dist/provider/react-router.js +1 -2
  220. package/dist/provider/tanstack.d.ts +1 -3
  221. package/dist/provider/tanstack.js +1 -2
  222. package/dist/provider/waku.d.ts +1 -3
  223. package/dist/provider/waku.js +1 -2
  224. package/dist/style.css +3 -6
  225. package/dist/tailwind/typography.js +1 -2
  226. package/dist/utils/cn.js +1 -2
  227. package/dist/utils/hotkey.js +1 -2
  228. package/dist/utils/merge-refs.js +1 -2
  229. package/dist/utils/urls.js +1 -2
  230. package/dist/utils/use-copy-button.d.ts +1 -3
  231. package/dist/utils/use-copy-button.js +1 -2
  232. package/dist/utils/use-footer-items.d.ts +1 -3
  233. package/dist/utils/use-footer-items.js +1 -2
  234. package/dist/utils/use-is-scroll-top.d.ts +1 -3
  235. package/dist/utils/use-is-scroll-top.js +1 -2
  236. package/package.json +21 -22
  237. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/uncontrolled.d.ts +0 -5
  238. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/utils/get-target-dimension.js +0 -4
  239. /package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/index.d.ts +0 -0
@@ -1 +1 @@
1
- @source inline("!enabled !header *:gap-0! *:rounded-lg --removed-body-scroll-bar-size -mx-1 [&_svg]:shrink-0 [grid-area:main] animate animate-fd-fade-in aria-valuemax aria-valuemin aria-valuenow article available backdrop-blur-md backdrop-blur-sm before:absolute before:bg-fd-border before:content-[''] before:inset-y-1 before:start-2.5 before:w-px bg-fd-background/60 bg-fd-popover/80 border-x bottom-26 breadcrumb breadcrumbEnabled circleProps circumference clerk click containerProps createLinkItemRenderer createPortal data-[active=true]:before:absolute data-[active=true]:before:bg-fd-primary data-[active=true]:before:content-[''] data-[active=true]:before:inset-y-2.5 data-[active=true]:before:start-2.5 data-[active=true]:before:w-px data-[active=true]:bg-fd-primary/10 data-[active=true]:hover:transition-colors data-full data-layout-content data-layout-main data-toc-popover data-toc-popover-content data-toc-popover-trigger defaultChildren defaultSlots defaultTabs duration ease edit empty:mb-0 exit first:mt-0 flex-row-reverse flux-layout-slot font-semibold footer footerEnabled footerList fumadocs-core/breadcrumb gap-2.5 getBreadcrumbItemsFromPath grid-cols-1 h-8.5 h-9 head hide hideIfDisabled hover:bg-fd-accent/50 hover:opacity-80 hover:text-fd-accent-foreground/80 hover:transition-none including information initial justify-items-center layout-level lg:text-sm linkItems mask-[linear-gradient(to_bottom,transparent,white_--spacing(14),white_calc(100%---spacing(14)),transparent)] max max-h-[50vh] max-w-[1200px] max-w-[900px] max-w-svw mb-1.5 mb-4 mb-8 mb-auto md:pt-8 md:px-6 min min-h-11 motion motion/react ms-1 mt-6 nd-flux-layout nd-page no normalizedValue onAnimationComplete opacity overflow-x-clip overflow-y-hidden pagination pb-24 pointer-events-none popLayout pr-(--removed-body-scroll-bar-size,0) progress progressbar provided ps-2.5 py-10 py-16 py-6 radius react-remove-scroll renderNavigationPanel replace restSvgProps rotate-180 scale selectedIdx setBlockScroll setContainer setDate sidebarEnabled sidebarProps size-4.5 sm:border sm:bottom-6 sm:max-w-[380px] sm:max-w-[400px] sm:p-1 sm:rounded-2xl spanProps stroke-current/25 strokeDasharray strokeDashoffset tabDropdown tableOfContent text-[1.75em] text-end timezone tocEnabled tocProps tool transition translate-x-[calc(-50%-var(--removed-body-scroll-bar-size,0px)/2)] translateY typography under updated useBaseSlots useDocsPage useFluxLayout useFooterItems viewport w-[calc(100%-var(--removed-body-scroll-bar-size,0px))] wait xl:pt-14 xl:px-8 z-30");
1
+ @source inline("!enabled !header *:gap-0! *:rounded-lg --removed-body-scroll-bar-size -mx-1 [&_svg]:shrink-0 [grid-area:main] animate animate-fd-fade-in aria-valuemax aria-valuemin aria-valuenow article available backdrop-blur-md backdrop-blur-sm before:absolute before:bg-fd-border before:content-[''] before:inset-y-1 before:start-2.5 before:w-px bg-fd-background/60 bg-fd-popover/80 border-x bottom-26 breadcrumb breadcrumbEnabled circleProps circumference clerk click containerProps createLinkItemRenderer createPortal data-[active=true]:before:absolute data-[active=true]:before:bg-fd-primary data-[active=true]:before:content-[''] data-[active=true]:before:inset-y-2.5 data-[active=true]:before:start-2.5 data-[active=true]:before:w-px data-[active=true]:bg-fd-primary/10 data-[active=true]:hover:transition-colors data-full data-layout-content data-layout-main data-toc-popover data-toc-popover-content data-toc-popover-trigger defaultChildren defaultSlots defaultTabs duration ease edit empty:mb-0 exit first:mt-0 flex-row-reverse flux-layout-slot font-semibold footer footerEnabled footerList fumadocs-core/breadcrumb gap-2.5 getBreadcrumbItemsFromPath grid-cols-1 h-8.5 h-9 head hide hideIfDisabled hover:bg-fd-accent/50 hover:opacity-80 hover:text-fd-accent-foreground/80 hover:transition-none including information justify-items-center layout-level lg:text-sm linkItems mask-[linear-gradient(to_bottom,transparent,white_--spacing(14),white_calc(100%---spacing(14)),transparent)] max max-h-[50vh] max-w-[1200px] max-w-[900px] max-w-svw mb-1.5 mb-4 mb-8 mb-auto md:pt-8 md:px-6 min min-h-11 motion motion/react ms-1 mt-6 nd-flux-layout nd-page no normalizedValue onAnimationComplete overflow-x-clip overflow-y-hidden pagination pb-24 pointer-events-none popLayout pr-(--removed-body-scroll-bar-size,0) progress progressbar provided ps-2.5 py-10 py-16 py-6 radius react-remove-scroll renderNavigationPanel replace restSvgProps rotate-180 scale selectedIdx setBlockScroll setContainer setDate sidebarEnabled sidebarProps size-4.5 sm:border sm:bottom-6 sm:max-w-[380px] sm:max-w-[400px] sm:p-1 sm:rounded-2xl spanProps stroke-current/25 strokeDasharray strokeDashoffset tabDropdown tableOfContent text-[1.75em] text-end timezone tocEnabled tocProps tool transition translate-x-[calc(-50%-var(--removed-body-scroll-bar-size,0px)/2)] translateY typography under updated useBaseSlots useDocsPage useFluxLayout useFooterItems viewport w-[calc(100%-var(--removed-body-scroll-bar-size,0px))] wait xl:pt-14 xl:px-8 z-30");
@@ -1 +1 @@
1
- @source inline("!collapsed !isActive !items !nested !open !title *:border-b *:data-[empty=true]:border-b-0 *:first:font-medium *:first:text-fd-primary *:flex *:flex! *:flex-col *:flex-col! *:gap-0.5! *:has-[+:last-child[data-empty=true]]:border-b-0 *:last:border-b-0 *:mask-[linear-gradient(to_bottom,white,white_30px,transparent_80px)] *:not-first:text-fd-muted-foreground *:nth-2:text-xs *:rounded-full ---spacing --callout-color --color-fd- --color-fd-muted --fd-ai-chat-width --fd-animated-height --fd-banner-height --offset-distance --opacity --padding-right --radix-navigation-menu-viewport-height --radix-popover-content-available-height --radix-popover-content-transform-origin --radix-popover-trigger-width --shiki-dark-bg --shiki-light-bg --spacing --track-bottom --track-top -mb-px -me-0.5 -me-2 -mx-px -rotate-90 -top-1.5 -translate-x-1/2 -translate-y-1/2 -z-1 @container @defaultValue @deprecated @fuma-translate/react @keyframes @max-lg:col-span-full @max-xl:hidden @param @radix-ui/react-accordion @radix-ui/react-collapsible @radix-ui/react-dialog @radix-ui/react-navigation-menu @radix-ui/react-popover @radix-ui/react-presence @radix-ui/react-scroll-area @radix-ui/react-tabs @ts-expect-error @typescript-eslint/no-namespace [&:focus-visible_img]:ring-2 [&:focus-visible_img]:ring-fd-ring [&>figure:only-child]:-m-4 [&>figure:only-child]:border-none [&_::highlight(fd-search)]:text-fd-primary [&_::highlight(fd-search)]:underline [&_img]:cursor-zoom-in [&_svg]:size-3.5 [&_svg]:size-4 [&_svg]:size-4.5 [&_svg]:size-5 [&_svg]:size-full [&_svg]:text-fd-muted-foreground [clip-path:inset(0_0_100%)] [container-type:size] [offset-distance:var(--offset-distance,0)] [scrollbar-width:none] a abcdefghijklmnopqrstuvwxyz234567 about above absolute accordion action actions active activeItem add advanced after align align-text-bottom align-top alignItems alignmentBaseline all allowClear allowCopy allowedMode allows alphabet alt altKey always an anchor and animate-pulse animation another application/json are areaRef aria-activedescendant aria-autocomplete aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-selected as aside ask aspectRatio assume assumes async at auto await b backdrop-blur-lg backdrop-blur-xs background background-position backgroundColor backgroundImage backgroundSize backward banner basePath baseProps baseSlots baseUrl based became before behavior behaviour belongs beside between bg-(--callout-color)/50 bg-(--shiki-light-bg) bg-cover bg-fd-accent bg-fd-background bg-fd-border bg-fd-card bg-fd-muted bg-fd-overlay bg-fd-popover bg-fd-popover/60 bg-fd-primary bg-fd-primary/10 bg-fd-secondary bg-fd-secondary/50 bg-transparent bind binded bitsLeft black block blockRef boolean border border-b border-l border-none border-s border-t border-transparent borderBottom bottom bottom-0 bottom-1.5 boundary box buffer bundle button buttonVariants by cache cached callbacks can canonical caption cards case cells center central change changeLayout changes chat child children chooseLanguage class-variance-authority className clear client client-side clientHeight clientWidth clients clipPath clone close closeOnRedirect closed closing cn code col-span-full collapsed collapsible collapsing collection color colors column columns com combobox compact compat compatible component components composedRef computed config const container containerRef containing content contents context controlled/uncontrolled copy core counterSet createContext createRelativeLink css ctx current currentColor currentSrc cursor-default cursor-zoom-out custom customize cva cx cy d dangerouslySetInnerHTML dark dark:bg-(--shiki-dark-bg) dashed data data-[active=true]:text-fd-primary data-[motion=from-end]:animate-fd-enterFromRight data-[motion=from-start]:animate-fd-enterFromLeft data-[motion=to-end]:animate-fd-exitToRight data-[motion=to-start]:animate-fd-exitToLeft data-[state=active]:border-fd-primary data-[state=active]:text-fd-primary data-[state=closed]:animate-fd-accordion-up data-[state=closed]:animate-fd-collapsible-up data-[state=closed]:animate-fd-dialog-out data-[state=closed]:animate-fd-fade-out data-[state=closed]:animate-fd-nav-menu-out data-[state=closed]:animate-fd-popover-out data-[state=hidden]:animate-fd-fade-out data-[state=inactive]:hidden data-[state=open]:animate-fd-accordion-down data-[state=open]:animate-fd-collapsible-down data-[state=open]:animate-fd-dialog-in data-[state=open]:animate-fd-fade-in data-[state=open]:animate-fd-nav-menu-in data-[state=open]:animate-fd-popover-in data-[state=open]:bg-fd-accent data-[state=open]:bg-fd-accent/50 data-[state=open]:text-fd-accent-foreground data-accordion-value data-active data-card data-checked data-checked:text-fd-accent-foreground data-collapsed data-empty data-highlight-ignore data-icon data-line-numbers data-line-numbers-start data-search data-search-full data-state data-theme-toggle date debounced declare default defaultColor defaultFormatter defaultIndex defaultItems defaultLanguage defaultMdxComponents defaultOpen defaultOpenLevel defaultShikiFactory defaultTransform defaultUrl defaultValue defineI18nUI defined delay delayMs depends deprecated depth description desktop detect development dialog dir direction disabled disabled:bg-fd-secondary disabled:opacity-50 disabled:pointer-events-none disabled:text-fd-secondary-foreground display displayName displayed distance div divide-fd-border divide-x divide-y docked document documented dominantBaseline don drawer dropdown duration-100 duration-200 duration-300 duration-400 during each ease-in-out ease-out element else empty empty:hidden enabled encoded end-2 endIdx endpoint env environment equal error escape eslint-disable-next-line event export expose extends external extraProps failed false fd-lightbox fd-moving-banner fd-scroll-container fd-search-list fd-step fd-steps fetch fetchClient fetchOptions field fieldVariants figcaption figure file fill fill-(--callout-color) fill-fd-muted fill-fd-muted-foreground fill-fd-primary fill-fd-primary-foreground filter filters final finally fixed flex flex-1 flex-col flex-row flex-wrap flexDirection floating flushSync focus focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring focus-visible:ring-inset folder folders font-medium font-mono fontSize fontWeight for forceMount forks formatter formatterOptions found free from full fumadocs-core/framework fumadocs-core/highlight fumadocs-core/i18n fumadocs-core/link fumadocs-core/page-tree fumadocs-core/search fumadocs-core/source fumadocs-core/toc function gap gap-0.5 gap-1 gap-1.5 gap-2 gap-3 gap-3.5 gap-4 gap-x-3 gap-y-4 generated getActive ghost github-dark github-light githubUrl given global globalKey grid grid-cols-2 grid-cols-[1fr_3fr] grid-cols-subgrid gridTemplateColumns group group-data-[active=true]:bg-fd-primary group-data-[active=true]:text-fd-primary-foreground group-data-[state=active]:bg-fd-primary group-data-[state=open]:rotate-180 group-data-[state=open]:rotate-90 group-hover/heading:opacity-100 group/heading groupListeners groups guides h h-(--fd-animated-height) h-(--radix-navigation-menu-viewport-height) h-14 h-9.5 h-[calc(100%+--spacing(1.5))] h-full h-px h1 h2 h3 h4 h5 h6 hand handleThemeChange has has-focus-visible:bg-fd-accent hash hashchange hast-util-to-jsx-runtime hastContent have header headerId headers heading height hidden hideLocale highlight highlightRef highlighter hints hover:bg-fd-accent hover:bg-fd-accent/80 hover:bg-fd-primary/80 hover:text-fd-accent-foreground hovered href html hydration i i18n i18nProvider icon icon-sm icon-xs iconClass id idea idx if if-needed ignore ignoreTyping image images img import in inTab index infinite info inline inline-flex input inputType inset-0 inset-e-2 inset-e-2.5 inset-s-0 inset-s-2.5 inset-s-3 inset-s-6 inset-x-0 inset-x-2 inset-y-0 inside instanceof instant instead integration interface intersect into invisible is isActive isComposing isFirst isLast isLoading isTabActive isUp it item itemLineLengths itemVariants items items-baseline items-center itemsProp its js justify-between justify-center keepBackground key keyCode keydown keys l l0 l1 l2 label lang language languageSelect last last:line-clamp-2 last:rounded-b-xl layer layout layout:[--fd-ai-chat-width:min(--spacing(100),100vw---spacing(4))] lays lazy leading-none leaving left-0 left-1/2 length let letting level light light-dark light-dark-system lightbox like line line-through linear link links list list-none listbox listener listeners loading locale localeTranslations locales lower ltr lucide lucide-book lucide-book-icon lucide-react m-0 made main make mapped margin marginTop mark markdownUrl marked mask-[linear-gradient(to_bottom,transparent,white_12px,white_calc(100%-12px),transparent)] mask-[linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent)] maskComposite maskImage matches max-h-(--radix-popover-content-available-height) max-h-20 max-h-[460px] max-h-[600px] max-h-[80svh] max-h-full max-h-none max-md:bg-fd-secondary max-md:border max-md:hidden max-md:p-1.5 max-md:rounded-md max-w-[1400px] max-w-[98vw] max-w-full max-w-none max-w-screen-sm max-width max-xl:border max-xl:end-2 max-xl:fixed max-xl:inset-y-2 max-xl:rounded-2xl max-xl:shadow-xl max-xl:translate-x-[calc(100%+--spacing(2))] max-xl:w-(--fd-ai-chat-width) maximumFractionDigits mb-1 mb-2 md:hidden md:mb-auto md:px-16 md:size-5 md:top-[calc(50%-250px)] mdComponents mdx/types.js me-1 me-1.5 me-2 me-auto measured menu menuItems mergeRefs message metaKey middle min-h-0 min-w-0 min-w-[240px] min-w-fit min-w-full mode module morph motion-reduce:transition-none mount mounted mouse ms-2 ms-3 ms-auto ms-px mt-1 mt-4 must mx-auto my-0 my-0! my-0.5 my-4 my-6 my-auto n name names namespace naturalHeight naturalWidth nav navItems navTitle navigate navigation nd-copy-ignore nd-sidebar nd-sidebar-mobile nearest needed nested nested-url never new newTheme next next-themes next/og node nodes none noop noopener noreferrer normal normalize not not-empty:border-b not-empty:p-3 not-first:border-t not-last:mb-2 not-last:truncate not-prose notation note now null number numbers object observer of offsetHeight offsetPath offsetTop on onCancel onChange onClick onClose onCopy onKey onKeyDown onOpenChange onOpenChangeCallback onPointerEnter onPointerLeave onPointerMove onPrint onSearchChange onSearchChangeCallback onSelect onSelectCallback onTagChange onTagChangeCallback onValueChange once one only opacity-(--opacity,0) opacity-0 open openFromHash opened option optional options or order origin-(--radix-popover-content-transform-origin) origin-[top_center] origin-center original other out outline outline-none output over overflow overflow-auto overflow-clip overflow-hidden overflow-x-auto overflow-y-auto override overscroll-contain overscroll-x-contain own owner p p-0 p-0.5 p-1 p-1.5 p-2 p-3 p-4 padding paddingBottom paddingInlineStart page pageUrl pageUrlProp panel panels parameters params parentId pass passed path pathname paths pb-0 pb-2 pb-6 pe-2 pe-2.5 per performing persist persistent place placed placeholder placeholder:text-fd-muted-foreground please pointerType points polite populated pos positions possible powered pre pre-rendering predate prefers-reduced-motion prefetch present prev preventScroll previous previousRef primary primaryColor primaryTextColor production promises prompt prompts prop props prose prose-no-margin prose-sm provide provider ps-1 ps-2 ps-3.25 ps-4 ps-8 pt-0 pure px px-0.5 px-1 px-1.5 px-2 px-2.5 px-3 px-4 py-0.5 py-1 py-1.5 py-12 py-2 py-2.5 py-3 py-3.5 q query querySelector questions rainbow rainbowColors ratio raw re-create re-render react react-dom react-hooks/rules-of-hooks react-medium-image-zoom react/jsx-runtime read reader ref referenced region register registering rel relative remove render renderOptions repo repository required resize resizing resolve resolved resolvedTheme response rest result results return returned revalidate right-2 role root rootRef round rounded-2xl rounded-[inherit] rounded-full rounded-lg rounded-md rounded-sm rounded-xl router row rowRenderOptions rows rtl rtl:-scale-x-100 rtl:max-xl:-translate-x-[calc(100%+--spacing(2))] rtl:rotate-180 rtl:rotate-90 runs s same scroll scroll-into-view-if-needed scroll-m-20 scroll-m-24 scroll-m-28 scroll-m-4 scrollIntoView scrollMode scroller scrollerRef search searchOptions searchToggle searchToggleEnabled searchTrigger secondary see select-none selected separate separator server set setActive setCollapsed setHover setLoading setMounted setOpen setOpenSearch setSlides setSvg setTag setValue shadow-2xl shadow-black/50 shadow-lg shadow-md shadow-sm shiftKey shiki shikiOptions shortcuts should show showAlgolia showOrama showing shown shows shrink-0 side sideOffset sidebar signature simple since single site size size-1 size-3 size-3.5 size-4 size-5 size-6.5 size-9 size-full sized sizes slide slots sm smaller smooth snap-always snap-mandatory snap-start snap-x so solid some source space span specific sr-only src stars start startIdx startViewTransition state static status stay step sticky still str string stroke stroke-fd-foreground/10 stroke-fd-primary strokeLinecap strokeLinejoin strokeWidth style styles subscribe subscribeActive success successful supported supposed sure svg switch switcher system t tab tabIndex table tableRenderOptions tables tabs tabsRef tabular-nums tag tagName tags take target tbody td text text-(--callout-color) text-[0.8125rem] text-[0.8125rem]/5 text-[0.9375rem] text-[10px] text-center text-fd-accent-foreground text-fd-card text-fd-card-foreground text-fd-error text-fd-foreground text-fd-foreground/80 text-fd-muted-foreground text-fd-muted-foreground/50 text-fd-popover-foreground text-fd-popover-foreground/80 text-fd-primary text-fd-primary-foreground text-fd-primary/50 text-fd-secondary-foreground text-inherit text-lg text-nowrap text-sm text-start text-xs text/plain textAnchor textContent th that the thead their them theme themeAriaLabels themeSwitch themeSwitchEnabled themes then they this throw thumbBox tier timerRef tip title to toJsxRuntime toc tocInfo toolbar top top-0 top-1/2 top-2.5 top-3 top-3.25 top-4 touch tr transform transition-[clip-path] transition-[height] transition-[opacity,offset-distance] transition-[width,height] transition-[width,margin,translate,visibility] transition-[width,margin,translate] transition-all transition-colors transition-opacity transition-transform translationKeys translations translations/keys.json transparent tree trigger triggers true truncate try twice type typeof types unchanged undefined underline underlying understand unknown unnecessarily unused update updateAnchor updates upperX url urls us usage use useAlgoliaSearch useCopyButton useDocsSearch useHotKey useI18n useId useIsDocsLayout useItems useMediaQuery useMemo useOnChange useOramaCloudSearch usePathname useProps useRef useRouter useSearchContext useSidebar useState useSyncExternalStore useTOCItems useTabsGroups useTheme useTranslations useTreePath useful users using usually v v17 value valueToIdMap values variables variant variants vertical viewBox viewRef viewTransitionName viewer viewportProps visible vite void w w-(--fd-ai-chat-width) w-(--radix-popover-trigger-width) w-0 w-0.5 w-1.5 w-1/4 w-[calc(100%-1rem)] w-fit w-full w-max w-px want warn warning what when where which while white whitespace-nowrap whitespaces wide width will window with without work wrap wrap-anywhere wrapElement wrapInSuspense wrapped x x1 x2 xl:w-(--fd-ai-chat-width) xmlns y y1 y2 you your z-2 z-40 z-50 zoom zoomImg zoomInProps zoomMargin zoomable");
1
+ @source inline("!collapsed !isActive !items !nested !open !title *:border-b *:data-[empty=true]:border-b-0 *:first:font-medium *:first:text-fd-primary *:flex *:flex! *:flex-col *:flex-col! *:gap-0.5! *:has-[+:last-child[data-empty=true]]:border-b-0 *:last:border-b-0 *:mask-[linear-gradient(to_bottom,white,white_30px,transparent_80px)] *:not-first:text-fd-muted-foreground *:nth-2:text-xs *:rounded-full ---spacing --callout-color --color-fd- --color-fd-muted --fd-ai-chat-width --fd-animated-height --fd-banner-height --padding-right --radix-navigation-menu-viewport-height --radix-popover-content-available-height --radix-popover-content-transform-origin --radix-popover-trigger-width --shiki-dark-bg --shiki-light-bg --spacing -mb-px -me-0.5 -me-2 -mx-px -rotate-90 -top-1.5 -translate-x-1/2 -translate-y-1/2 -z-1 @container @defaultValue @deprecated @fuma-translate/react @keyframes @max-lg:col-span-full @max-xl:hidden @param @radix-ui/react-accordion @radix-ui/react-collapsible @radix-ui/react-dialog @radix-ui/react-navigation-menu @radix-ui/react-popover @radix-ui/react-presence @radix-ui/react-scroll-area @radix-ui/react-tabs @ts-expect-error @typescript-eslint/no-namespace [&:focus-visible_img]:ring-2 [&:focus-visible_img]:ring-fd-ring [&>figure:only-child]:-m-4 [&>figure:only-child]:border-none [&_::highlight(fd-search)]:text-fd-primary [&_::highlight(fd-search)]:underline [&_img]:cursor-zoom-in [&_svg]:size-3.5 [&_svg]:size-4 [&_svg]:size-4.5 [&_svg]:size-5 [&_svg]:size-full [&_svg]:text-fd-muted-foreground [clip-path:inset(0_0_100%)] [clip-path:polygon(0_0,100%_0,100%_0,0_0)] [container-type:size] [scrollbar-width:none] a abcdefghijklmnopqrstuvwxyz234567 about above absolute accordion action actions active activeItem add advanced after align align-text-bottom align-top alignItems alignmentBaseline all allowClear allowCopy allowedMode allows alphabet alt altKey always an anchor anchors and animate-pulse animation another application/json are areaRef aria-activedescendant aria-autocomplete aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-selected as aside ask aspectRatio assume assumes async at auto await b backdrop-blur-lg backdrop-blur-xs background background-position backgroundColor backgroundImage backgroundSize backward banner basePath baseProps baseSlots baseUrl based became before behavior behaviour behind belongs beside between bg-(--callout-color)/50 bg-(--shiki-light-bg) bg-cover bg-fd-accent bg-fd-background bg-fd-border bg-fd-card bg-fd-muted bg-fd-overlay bg-fd-popover bg-fd-popover/60 bg-fd-primary bg-fd-primary/10 bg-fd-secondary bg-fd-secondary/50 bg-transparent bind binded bitsLeft black block boolean border border-b border-l border-none border-s border-t border-transparent borderBottom bottom bottom-0 bottom-1.5 boundaries boundary box buffer bundle button buttonVariants by cache cached callbacks called can canonical caption cards case cells center central change changeLayout changes chat child children chooseLanguage class-variance-authority className clear client client-side clientHeight clientWidth clients clipPath clone close closeOnRedirect closed closing cn code codeblock col-span-full collapsed collapsible collapsing collection color colors column columns com combobox compact compat compatible component components composedRef config const container containerRef containing content contents context controlled/uncontrolled copy core counterSet createContext createRelativeLink createShikiHighlighter css ctx current currentColor currentSrc cursor-default cursor-zoom-out curve custom customize cva cx cy d dangerouslySetInnerHTML dark dark:bg-(--shiki-dark-bg) dashed data data-[active=true]:text-fd-primary data-[motion=from-end]:animate-fd-enterFromRight data-[motion=from-start]:animate-fd-enterFromLeft data-[motion=to-end]:animate-fd-exitToRight data-[motion=to-start]:animate-fd-exitToLeft data-[state=active]:border-fd-primary data-[state=active]:text-fd-primary data-[state=closed]:animate-fd-accordion-up data-[state=closed]:animate-fd-collapsible-up data-[state=closed]:animate-fd-dialog-out data-[state=closed]:animate-fd-fade-out data-[state=closed]:animate-fd-nav-menu-out data-[state=closed]:animate-fd-popover-out data-[state=hidden]:animate-fd-fade-out data-[state=inactive]:hidden data-[state=open]:animate-fd-accordion-down data-[state=open]:animate-fd-collapsible-down data-[state=open]:animate-fd-dialog-in data-[state=open]:animate-fd-fade-in data-[state=open]:animate-fd-nav-menu-in data-[state=open]:animate-fd-popover-in data-[state=open]:bg-fd-accent data-[state=open]:bg-fd-accent/50 data-[state=open]:text-fd-accent-foreground data-accordion-value data-active data-card data-checked data-checked:text-fd-accent-foreground data-collapsed data-empty data-highlight-ignore data-icon data-line-numbers data-line-numbers-start data-search data-search-full data-state data-theme-toggle date debounced declare default defaultColor defaultFormatter defaultIndex defaultItems defaultLanguage defaultMdxComponents defaultOpen defaultOpenLevel defaultShikiFactory defaultTransform defaultUrl defaultValue defineI18nUI defined delay delayMs depends deprecated depth description desktop detect dialog dir direction disabled disabled:bg-fd-secondary disabled:opacity-50 disabled:pointer-events-none disabled:text-fd-secondary-foreground discard display displayName displayed div divide-fd-border divide-x divide-y docked document documented dominantBaseline don drawer dropdown duration-100 duration-200 duration-300 duration-400 during each ease-in-out ease-out element else empty empty:hidden enabled encoded end end-2 endpoint env environment equal error escape eslint-disable-next-line event export expose extends external extraProps failed fallback false fd-lightbox fd-moving-banner fd-scroll-container fd-search-list fd-step fd-steps fetch fetchClient fetchOptions field fieldVariants figcaption figure file fill fill-(--callout-color) fill-fd-muted fill-fd-muted-foreground fill-fd-primary fill-fd-primary-foreground filter filters final finally first fixed flex flex-1 flex-col flex-row flex-wrap flexDirection floating flushSync focus focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring focus-visible:ring-inset folder folders font-medium font-mono fontSize fontWeight for forceMount forces forks formatter formatterOptions found free from full fumadocs-core/framework fumadocs-core/highlight fumadocs-core/i18n fumadocs-core/link fumadocs-core/page-tree fumadocs-core/search fumadocs-core/source fumadocs-core/toc function g gap gap-0.5 gap-1 gap-1.5 gap-2 gap-3 gap-3.5 gap-4 gap-x-3 gap-y-4 generated getActive ghost github-dark github-light githubUrl given global globalKey grid grid-cols-2 grid-cols-[1fr_3fr] grid-cols-subgrid gridTemplateColumns group group-data-[active=true]:bg-fd-primary group-data-[active=true]:text-fd-primary-foreground group-data-[state=active]:bg-fd-primary group-data-[state=open]:rotate-180 group-data-[state=open]:rotate-90 group-hover/heading:opacity-100 group/heading groupListeners groups guides h-(--fd-animated-height) h-(--radix-navigation-menu-viewport-height) h-14 h-9.5 h-[calc(100%+--spacing(1.5))] h-full h-px h1 h2 h3 h4 h5 h6 hand handleThemeChange has has-focus-visible:bg-fd-accent hash hashchange hastContent have header headerId headers heading height hidden hideLocale highlight highlightRef highlighter highlights hints hover:bg-fd-accent hover:bg-fd-accent/80 hover:bg-fd-primary/80 hover:text-fd-accent-foreground hovered href html hydration i i18n i18nProvider icon icon-sm icon-xs iconClass id idea idx if if-needed ignore ignoreTyping image images img import in inTab index infinite info infos initial inline inline-flex input inputType inset-0 inset-e-2 inset-e-2.5 inset-s-0 inset-s-2.5 inset-s-3 inset-s-6 inset-x-0 inset-x-2 inset-y-0 inside instance instanceof instant instead integration interface intersect into invisible is isActive isComposing isFirst isLast isLoading isTabActive isUp it item itemVariants items items-baseline items-center itemsProp its js justify-between justify-center keepBackground keeps key keyCode keydown keys l0 l1 l2 label lags lang language languageSelect languages large last last:line-clamp-2 last:rounded-b-xl layer layout layout:[--fd-ai-chat-width:min(--spacing(100),100vw---spacing(4))] lays lazy leading-none leaving left-0 left-1/2 length let letting level light light-dark light-dark-system lightbox like line line-through linear link links list list-none listbox listener listeners loading locale localeTranslations locales lower ltr lucide lucide-book lucide-book-icon lucide-react m-0 made main make mapped margin marginTop mark markdownUrl marked mask-[linear-gradient(to_bottom,transparent,white_12px,white_calc(100%-12px),transparent)] mask-[linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent)] maskComposite maskImage matches max-h-(--radix-popover-content-available-height) max-h-20 max-h-[460px] max-h-[600px] max-h-[80svh] max-h-full max-h-none max-md:bg-fd-secondary max-md:border max-md:hidden max-md:p-1.5 max-md:rounded-md max-w-[1400px] max-w-[98vw] max-w-full max-w-none max-w-screen-sm max-width max-xl:border max-xl:end-2 max-xl:fixed max-xl:inset-y-2 max-xl:rounded-2xl max-xl:shadow-xl max-xl:translate-x-[calc(100%+--spacing(2))] max-xl:w-(--fd-ai-chat-width) maximumFractionDigits mb-1 mb-2 md:hidden md:mb-auto md:px-16 md:size-5 md:top-[calc(50%-250px)] mdComponents mdx/types.js me-1 me-1.5 me-2 me-auto measured menu menuItems mergeRefs message metaKey middle min-h-0 min-w-0 min-w-[240px] min-w-fit min-w-full mode module morph motion-reduce:transition-none mount mounted mouse ms-2 ms-3 ms-auto ms-px mt-1 mt-4 must mx-auto my-0 my-0! my-0.5 my-4 my-6 my-auto name names namespace naturalHeight naturalWidth nav navItems navTitle navigate navigation nd-copy-ignore nd-sidebar nd-sidebar-mobile nearest needed nested nested-url never new newTheme next next-themes next/og node nodes none noop noopener noreferrer normal normalize not not-empty:border-b not-empty:p-3 not-first:border-t not-last:mb-2 not-last:truncate not-prose notation note now null number numbers object observer of offset offsetDistance offsetHeight offsetPath offsetTop on onCancel onChange onClick onClose onCopy onKey onKeyDown onOpenChange onOpenChangeCallback onPointerEnter onPointerLeave onPointerMove onSearchChange onSearchChangeCallback onSelect onSelectCallback onTagChange onTagChangeCallback onValueChange once one only opacity opacity-0 open openFromHash opened option optional options or order origin-(--radix-popover-content-transform-origin) origin-[top_center] origin-center original other out outline outline-none output over overflow overflow-auto overflow-clip overflow-hidden overflow-x-auto overflow-y-auto override overscroll-contain overscroll-x-contain own owner p p-0 p-0.5 p-1 p-1.5 p-2 p-3 p-4 padding paddingBottom paddingInlineStart page pageUrl pageUrlProp panel panels parameters params parent parentId pass passed path pathname paths pb-0 pb-2 pb-6 pe-2 pe-2.5 per performing persist persistent place placed placeholder placeholder:text-fd-muted-foreground please pointerType points polite populated pos position positions possible powered pre pre-rendering predate prefers-reduced-motion prefetch present prev preventScroll previous primary primaryColor primaryTextColor production promise promises prompt prompts prop props prose prose-no-margin prose-sm provide provider ps-1 ps-2 ps-3.25 ps-4 ps-8 pt-0 pure px px-0.5 px-1 px-1.5 px-2 px-2.5 px-3 px-4 py-0.5 py-1 py-1.5 py-12 py-2 py-2.5 py-3 py-3.5 q query querySelector questions rainbow rainbowColors ratio raw re-create re-render react react-dom react-hooks/rules-of-hooks react-medium-image-zoom read reader ref referenced region register registering rel relative remove render renderOptions repo repository required resize resizing resolve resolved resolvedTheme response rest result results return returned revalidate right-2 role root rootRef round rounded-2xl rounded-[inherit] rounded-full rounded-lg rounded-md rounded-sm rounded-xl router row rowRenderOptions rows rtl rtl:-scale-x-100 rtl:max-xl:-translate-x-[calc(100%+--spacing(2))] rtl:rotate-180 rtl:rotate-90 runs s same scroll scroll-into-view-if-needed scroll-m-20 scroll-m-24 scroll-m-28 scroll-m-4 scrollIntoView scrollMode scroller scrollerRef search searchOptions searchToggle searchToggleEnabled searchTrigger secondary see segment select-none selected separate separator server set setActive setCollapsed setHover setLoading setMounted setOpen setOpenSearch setSlides setTag setValue shadow-2xl shadow-black/50 shadow-lg shadow-md shadow-sm shiftKey shiki shortcuts should show showAlgolia showOrama showing shown shows shrink-0 side sideOffset sidebar signature simple since single site size size-1 size-3 size-3.5 size-4 size-5 size-6.5 size-9 size-full sized sizes slide slots sm smaller smooth snap-always snap-mandatory snap-start snap-x so solid some source space span specific sr-only src stars start startViewTransition state static status stay step steps sticky still str string stroke stroke-fd-foreground/10 stroke-fd-primary strokeLinecap strokeLinejoin strokeWidth style styles subscribe subscribeActive success successful supported supposed sure suspending svg switch switcher system t tab tabIndex table tableRenderOptions tables tabs tabsRef tabular-nums tag tagName tags take target tbody td text text-(--callout-color) text-[0.8125rem] text-[0.8125rem]/5 text-[0.9375rem] text-[10px] text-center text-fd-accent-foreground text-fd-card text-fd-card-foreground text-fd-error text-fd-foreground text-fd-foreground/80 text-fd-muted-foreground text-fd-muted-foreground/50 text-fd-popover-foreground text-fd-popover-foreground/80 text-fd-primary text-fd-primary-foreground text-fd-primary/50 text-fd-secondary-foreground text-inherit text-lg text-nowrap text-sm text-start text-xs text/plain textAnchor textContent th that the thead their them theme themeAriaLabels themeSwitch themeSwitchEnabled themes then they this throw thumb thumbBox tier timerRef tip title to toJsx toc tocInfo toolbar top top-0 top-1/2 top-2.5 top-3 top-3.25 top-4 touch tr track transform transition-[clip-path] transition-[height] transition-[opacity,offset-distance] transition-[width,height] transition-[width,margin,translate,visibility] transition-[width,margin,translate] transition-all transition-colors transition-opacity transition-transform translationKeys translations translations/keys.json transparent tree trigger triggers true truncate try twice type typeof types unchanged undefined underline underlying understand unknown unnecessarily until unused update updateAnchor updates url urls us usage use useAlgoliaSearch useCallback useCopyButton useDocsSearch useHotKey useI18n useIsDocsLayout useItems useMediaQuery useMemo useOnChange useOramaCloudSearch usePathname useProps useRef useRouter useSearchContext useSidebar useState useSyncExternalStore useTOCItems useTabsGroups useTheme useTranslations useTreePath useful users using usually v v17 value valueToIdMap values variables variant variants viewBox viewRef viewTransitionName viewer viewportProps visible vite void w-(--fd-ai-chat-width) w-(--radix-popover-trigger-width) w-0 w-0.5 w-1.5 w-1/4 w-[calc(100%-1rem)] w-fit w-full w-max w-px want warn warning what when where which while white whitespace-nowrap whitespaces wide width will window with without work would wrap wrap-anywhere wrapElement wrapInSuspense wrapped write x x1 x2 xl:w-(--fd-ai-chat-width) xmlns y1 y2 you your z-2 z-40 z-50 zoom zoomImg zoomInProps zoomMargin zoomable");
@@ -1,4 +1,3 @@
1
- //#region src/.translations/index.d.ts
2
1
  export type Translations = {
3
2
  "Ask AI(AI chat button)": string;
4
3
  "Back to Home(404 page)": string;
@@ -59,5 +58,4 @@ export type Translations = {
59
58
  "Type(type table)": string;
60
59
  "View as Markdown(page actions)": string;
61
60
  "displayName": string;
62
- };
63
- //#endregion
61
+ };
@@ -1,4 +1,4 @@
1
- //#region src/.translations/keys.json
1
+ // src/.translations/keys.json
2
2
  var keys_default = [
3
3
  "Ask AI(AI chat button)",
4
4
  "Back to Home(404 page)",
@@ -60,5 +60,4 @@ var keys_default = [
60
60
  "View as Markdown(page actions)",
61
61
  "displayName"
62
62
  ];
63
- //#endregion
64
63
  export { keys_default as default };
@@ -1,4 +1,4 @@
1
- //#region \0rolldown/runtime.js
1
+ // \0rolldown/runtime.js
2
2
  var __defProp = Object.defineProperty;
3
3
  var __exportAll = (all, no_symbols) => {
4
4
  let target = {};
@@ -9,5 +9,4 @@ var __exportAll = (all, no_symbols) => {
9
9
  if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
10
10
  return target;
11
11
  };
12
- //#endregion
13
12
  export { __exportAll };
@@ -1,9 +1,7 @@
1
1
  import { Accordion as Accordion$1, AccordionItem } from "./ui/accordion.js";
2
2
  import { ComponentProps, ReactNode } from "react";
3
- //#region src/components/accordion.d.ts
4
3
  export declare function Accordions({ type, ref, className, defaultValue, ...props }: ComponentProps<typeof Accordion$1>): import("react").JSX.Element;
5
4
  export declare function Accordion({ title, id, value, children, ...props }: Omit<ComponentProps<typeof AccordionItem>, 'value' | 'title'> & {
6
5
  title: string | ReactNode;
7
6
  value?: string;
8
- }): import("react").JSX.Element;
9
- //#endregion
7
+ }): import("react").JSX.Element;
@@ -8,7 +8,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
8
8
  import { Check, LinkIcon } from "lucide-react";
9
9
  import { useEffect, useRef, useState } from "react";
10
10
  import { useTranslations } from "@fuma-translate/react";
11
- //#region src/components/accordion.tsx
11
+ // src/components/accordion.tsx
12
12
  function Accordions({ type = "single", ref, className, defaultValue, ...props }) {
13
13
  const rootRef = useRef(null);
14
14
  const composedRef = mergeRefs(ref, rootRef);
@@ -67,5 +67,4 @@ function CopyButton({ id }) {
67
67
  })]
68
68
  });
69
69
  }
70
- //#endregion
71
70
  export { Accordion, Accordions };
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from "react";
2
- //#region src/components/banner.d.ts
3
2
  type BannerVariant = 'rainbow' | 'normal';
4
3
  export declare function Banner({ id, variant, changeLayout, height, rainbowColors, ...props }: HTMLAttributes<HTMLDivElement> & {
5
4
  /**
@@ -21,4 +20,4 @@ export declare function Banner({ id, variant, changeLayout, height, rainbowColor
21
20
  */
22
21
  changeLayout?: boolean;
23
22
  }): import("react").JSX.Element | null;
24
- //#endregion
23
+ export {};
@@ -5,7 +5,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
5
  import { X } from "lucide-react";
6
6
  import { useEffect, useState } from "react";
7
7
  import { useTranslations } from "@fuma-translate/react";
8
- //#region src/components/banner.tsx
8
+ // src/components/banner.tsx
9
9
  function Banner({ id, variant = "normal", changeLayout = true, height = "3rem", rainbowColors = [
10
10
  "rgba(0,149,255,0.56)",
11
11
  "rgba(231,77,255,0.77)",
@@ -81,5 +81,4 @@ function encodeBase32(str) {
81
81
  if (bitsLeft > 0) encoded += alphabet[buffer << 5 - bitsLeft & 31];
82
82
  return encoded;
83
83
  }
84
- //#endregion
85
84
  export { Banner };
@@ -1,5 +1,4 @@
1
1
  import { ComponentProps, ReactNode } from "react";
2
- //#region src/components/callout.d.ts
3
2
  export type CalloutType = 'info' | 'warn' | 'error' | 'success' | 'warning' | 'idea';
4
3
  export declare function Callout({ children, title, ...props }: {
5
4
  title?: ReactNode;
@@ -16,5 +15,4 @@ export interface CalloutContainerProps extends ComponentProps<'div'> {
16
15
  }
17
16
  export declare function CalloutContainer({ type: inputType, icon, children, className, style, ...props }: CalloutContainerProps): import("react").JSX.Element;
18
17
  export declare function CalloutTitle({ children, className, ...props }: ComponentProps<'p'>): import("react").JSX.Element;
19
- export declare function CalloutDescription({ children, className, ...props }: ComponentProps<'p'>): import("react").JSX.Element;
20
- //#endregion
18
+ export declare function CalloutDescription({ children, className, ...props }: ComponentProps<'p'>): import("react").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { cn } from "../utils/cn.js";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { CircleCheck, CircleX, Info, Lightbulb, TriangleAlert } from "lucide-react";
4
- //#region src/components/callout.tsx
4
+ // src/components/callout.tsx
5
5
  const iconClass = "size-5 -me-0.5 fill-(--callout-color) text-fd-card";
6
6
  function Callout({ children, title, ...props }) {
7
7
  return /* @__PURE__ */ jsxs(CalloutContainer, {
@@ -56,5 +56,4 @@ function CalloutDescription({ children, className, ...props }) {
56
56
  children
57
57
  });
58
58
  }
59
- //#endregion
60
59
  export { Callout, CalloutContainer, CalloutDescription, CalloutTitle };
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes, ReactNode } from "react";
2
- //#region src/components/card.d.ts
3
2
  export declare function Cards(props: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
4
3
  export type CardProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
5
4
  icon?: ReactNode;
@@ -8,5 +7,4 @@ export type CardProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
8
7
  href?: string;
9
8
  external?: boolean;
10
9
  };
11
- export declare function Card({ icon, title, description, ...props }: CardProps): import("react").JSX.Element;
12
- //#endregion
10
+ export declare function Card({ icon, title, description, ...props }: CardProps): import("react").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { cn } from "../utils/cn.js";
2
2
  import Link from "fumadocs-core/link";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
- //#region src/components/card.tsx
4
+ // src/components/card.tsx
5
5
  function Cards(props) {
6
6
  return /* @__PURE__ */ jsx("div", {
7
7
  ...props,
@@ -35,5 +35,4 @@ function Card({ icon, title, description, ...props }) {
35
35
  ]
36
36
  });
37
37
  }
38
- //#endregion
39
38
  export { Card, Cards };
@@ -1,6 +1,5 @@
1
1
  import { Tabs, TabsContent, TabsList, TabsTrigger } from "./ui/tabs.js";
2
2
  import { ComponentProps, HTMLAttributes, ReactNode } from "react";
3
- //#region src/components/codeblock.d.ts
4
3
  export interface CodeBlockProps extends Omit<ComponentProps<'figure'>, 'title'> {
5
4
  title?: ReactNode;
6
5
  /**
@@ -40,5 +39,4 @@ export declare function CodeBlock({ ref, title, allowCopy, keepBackground, icon,
40
39
  export declare function CodeBlockTabs({ ref, ...props }: ComponentProps<typeof Tabs>): import("react").JSX.Element;
41
40
  export declare function CodeBlockTabsList(props: ComponentProps<typeof TabsList>): import("react").JSX.Element;
42
41
  export declare function CodeBlockTabsTrigger({ children, ...props }: ComponentProps<typeof TabsTrigger>): import("react").JSX.Element;
43
- export declare function CodeBlockTab(props: ComponentProps<typeof TabsContent>): import("react").JSX.Element;
44
- //#endregion
42
+ export declare function CodeBlockTab(props: ComponentProps<typeof TabsContent>): import("react").JSX.Element;
@@ -8,7 +8,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
8
8
  import { Check, Clipboard } from "lucide-react";
9
9
  import { createContext, use, useMemo, useRef } from "react";
10
10
  import { useTranslations } from "@fuma-translate/react";
11
- //#region src/components/codeblock.tsx
11
+ // src/components/codeblock.tsx
12
12
  const TabsContext = createContext(null);
13
13
  function Pre(props) {
14
14
  return /* @__PURE__ */ jsx("pre", {
@@ -125,5 +125,4 @@ function CodeBlockTabsTrigger({ children, ...props }) {
125
125
  function CodeBlockTab(props) {
126
126
  return /* @__PURE__ */ jsx(TabsContent, { ...props });
127
127
  }
128
- //#endregion
129
128
  export { CodeBlock, CodeBlockTab, CodeBlockTabs, CodeBlockTabsList, CodeBlockTabsTrigger, Pre };
@@ -1,6 +1,5 @@
1
1
  import { CodeBlockProps } from "./codeblock.js";
2
- import { HighlightOptions } from "fumadocs-core/highlight";
3
- //#region src/components/codeblock.rsc.d.ts
2
+ import { HighlightOptions, Highlighter } from "fumadocs-core/highlight";
4
3
  export type ServerCodeBlockProps = HighlightOptions & {
5
4
  code: string;
6
5
  /**
@@ -11,4 +10,9 @@ export type ServerCodeBlockProps = HighlightOptions & {
11
10
  codeblock?: CodeBlockProps;
12
11
  };
13
12
  export declare function ServerCodeBlock({ code, codeblock, ...options }: ServerCodeBlockProps): Promise<Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | (string | number | bigint | boolean | Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined)>;
14
- //#endregion
13
+ /**
14
+ * Create a server code block that highlights with your own highlighter.
15
+ */
16
+ export declare function createServerCodeBlock({ highlighter }: {
17
+ highlighter: Highlighter;
18
+ }): ({ code, lang, codeblock }: Pick<ServerCodeBlockProps, 'code' | 'lang' | 'codeblock'>) => Promise<Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | (string | number | bigint | boolean | Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined)>;
@@ -1,22 +1,34 @@
1
1
  import { cn } from "../utils/cn.js";
2
2
  import { CodeBlock, Pre } from "./codeblock.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
+ import { toJsx } from "fumadocs-core/utils/hast-to-jsx";
4
5
  import { highlight } from "fumadocs-core/highlight";
5
- //#region src/components/codeblock.rsc.tsx
6
+ // src/components/codeblock.rsc.tsx
6
7
  async function ServerCodeBlock({ code, codeblock, ...options }) {
7
8
  return await highlight(code, {
8
9
  defaultColor: false,
9
10
  ...options,
10
11
  components: {
11
- pre: (props) => /* @__PURE__ */ jsx(CodeBlock, {
12
- ...props,
13
- ...codeblock,
14
- className: cn("my-0", props.className, codeblock?.className),
15
- children: /* @__PURE__ */ jsx(Pre, { children: props.children })
16
- }),
12
+ pre: createPre(codeblock),
17
13
  ...options.components
18
14
  }
19
15
  });
20
16
  }
21
- //#endregion
22
- export { ServerCodeBlock };
17
+ /**
18
+ * Create a server code block that highlights with your own highlighter.
19
+ */
20
+ function createServerCodeBlock({ highlighter }) {
21
+ return async function ServerCodeBlock({ code, lang, codeblock }) {
22
+ await highlighter.loadLanguage?.(lang);
23
+ return toJsx(highlighter.codeToHast(code, { lang }), { components: { pre: createPre(codeblock) } });
24
+ };
25
+ }
26
+ function createPre(codeblock) {
27
+ return (props) => /* @__PURE__ */ jsx(CodeBlock, {
28
+ ...props,
29
+ ...codeblock,
30
+ className: cn("my-0", props.className, codeblock?.className),
31
+ children: /* @__PURE__ */ jsx(Pre, { children: props.children })
32
+ });
33
+ }
34
+ export { ServerCodeBlock, createServerCodeBlock };
@@ -2,7 +2,6 @@ import { SearchLink, SharedProps, TagItem } from "../../contexts/search.js";
2
2
  import "./search.js";
3
3
  import { ReactNode } from "react";
4
4
  import { AlgoliaOptions } from "fumadocs-core/search/client";
5
- //#region src/components/dialog/search-algolia.d.ts
6
5
  export interface AlgoliaSearchDialogProps extends SharedProps {
7
6
  searchOptions: AlgoliaOptions;
8
7
  links?: SearchLink[];
@@ -22,5 +21,4 @@ export interface AlgoliaSearchDialogProps extends SharedProps {
22
21
  */
23
22
  allowClear?: boolean;
24
23
  }
25
- export default function AlgoliaSearchDialog({ searchOptions, tags, defaultTag, showAlgolia, allowClear, links, footer, ...props }: AlgoliaSearchDialogProps): import("react").JSX.Element;
26
- //#endregion
24
+ export default function AlgoliaSearchDialog({ searchOptions, tags, defaultTag, showAlgolia, allowClear, links, footer, ...props }: AlgoliaSearchDialogProps): import("react").JSX.Element;
@@ -5,7 +5,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { useMemo, useState } from "react";
6
6
  import { useOnChange } from "fumadocs-core/utils/use-on-change";
7
7
  import { useAlgoliaSearch } from "fumadocs-core/search/client";
8
- //#region src/components/dialog/search-algolia.tsx
8
+ // src/components/dialog/search-algolia.tsx
9
9
  function AlgoliaSearchDialog({ searchOptions, tags = [], defaultTag, showAlgolia = false, allowClear = false, links = [], footer, ...props }) {
10
10
  const [tag, setTag] = useState(defaultTag);
11
11
  const { locale } = useI18n();
@@ -57,5 +57,4 @@ function AlgoliaTitle() {
57
57
  children: "Search powered by Algolia"
58
58
  });
59
59
  }
60
- //#endregion
61
60
  export { AlgoliaSearchDialog as default };
@@ -1,7 +1,6 @@
1
1
  import { SearchLink, SharedProps, TagItem } from "../../contexts/search.js";
2
2
  import "./search.js";
3
3
  import { ReactNode } from "react";
4
- //#region src/components/dialog/search-default.d.ts
5
4
  export interface DefaultSearchDialogProps extends SharedProps {
6
5
  /** @deprecated re-create the dialog instead for other clients, see https://fumadocs.dev/docs/search/orama */
7
6
  type?: 'static';
@@ -24,5 +23,4 @@ export interface DefaultSearchDialogProps extends SharedProps {
24
23
  */
25
24
  allowClear?: boolean;
26
25
  }
27
- export default function DefaultSearchDialog({ type, defaultTag, tags, api, delayMs, allowClear, links, footer, ...props }: DefaultSearchDialogProps): import("react").JSX.Element;
28
- //#endregion
26
+ export default function DefaultSearchDialog({ type, defaultTag, tags, api, delayMs, allowClear, links, footer, ...props }: DefaultSearchDialogProps): import("react").JSX.Element;
@@ -6,7 +6,7 @@ import { use, useMemo, useState } from "react";
6
6
  import { useOnChange } from "fumadocs-core/utils/use-on-change";
7
7
  import { useDocsSearch } from "fumadocs-core/search/client";
8
8
  import { fetchClient } from "fumadocs-core/search/client/fetch";
9
- //#region src/components/dialog/search-default.tsx
9
+ // src/components/dialog/search-default.tsx
10
10
  let STATIC;
11
11
  function DefaultSearchDialog({ type, defaultTag, tags = [], api, delayMs, allowClear = false, links = [], footer, ...props }) {
12
12
  const { locale } = useI18n();
@@ -60,5 +60,4 @@ function DefaultSearchDialog({ type, defaultTag, tags = [], api, delayMs, allowC
60
60
  ]
61
61
  });
62
62
  }
63
- //#endregion
64
63
  export { DefaultSearchDialog as default };
@@ -2,7 +2,6 @@ import { SearchLink, SharedProps, TagItem } from "../../contexts/search.js";
2
2
  import "./search.js";
3
3
  import { ReactNode } from "react";
4
4
  import { OramaCloudOptions } from "fumadocs-core/search/client";
5
- //#region src/components/dialog/search-orama.d.ts
6
5
  export interface OramaSearchDialogProps extends SharedProps {
7
6
  links?: SearchLink[];
8
7
  client: OramaCloudOptions['client'];
@@ -27,5 +26,4 @@ export interface OramaSearchDialogProps extends SharedProps {
27
26
  /**
28
27
  * Orama Cloud integration
29
28
  */
30
- export default function OramaSearchDialog({ client, searchOptions, tags, defaultTag, showOrama, allowClear, index, footer, links, ...props }: OramaSearchDialogProps): import("react").JSX.Element;
31
- //#endregion
29
+ export default function OramaSearchDialog({ client, searchOptions, tags, defaultTag, showOrama, allowClear, index, footer, links, ...props }: OramaSearchDialogProps): import("react").JSX.Element;
@@ -5,7 +5,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { useMemo, useState } from "react";
6
6
  import { useOnChange } from "fumadocs-core/utils/use-on-change";
7
7
  import { useOramaCloudSearch } from "fumadocs-core/search/client";
8
- //#region src/components/dialog/search-orama.tsx
8
+ // src/components/dialog/search-orama.tsx
9
9
  /**
10
10
  * Orama Cloud integration
11
11
  */
@@ -62,5 +62,4 @@ function Label() {
62
62
  children: "Search powered by Orama"
63
63
  });
64
64
  }
65
- //#endregion
66
65
  export { OramaSearchDialog as default };
@@ -1,10 +1,8 @@
1
1
  import { SharedProps } from "../../contexts/search.js";
2
- import * as JsxRuntime from "react/jsx-runtime";
3
2
  import { ComponentProps, ReactNode } from "react";
4
3
  import { SearchResult, SearchResultItem, SearchResultRecord, SearchResultTable } from "fumadocs-core/search/client";
5
4
  import { DialogContent, DialogOverlay } from "@radix-ui/react-dialog";
6
5
  import { ReactSortedResult } from "fumadocs-core/search";
7
- //#region src/components/dialog/search.d.ts
8
6
  export type SearchItemType = ((ReactSortedResult | SearchResultRecord) & {
9
7
  external?: boolean;
10
8
  }) | {
@@ -34,13 +32,13 @@ export interface SearchDialogProps extends SharedProps {
34
32
  error?: Error;
35
33
  children: ReactNode;
36
34
  }
37
- export declare function SearchDialog({ open, onOpenChange, search, onSearchChange, isLoading, data, error, onSelect: onSelectProp, children }: SearchDialogProps): JsxRuntime.JSX.Element;
38
- export declare function SearchDialogHeader(props: ComponentProps<'div'>): JsxRuntime.JSX.Element;
39
- export declare function SearchDialogInput(props: ComponentProps<'input'>): JsxRuntime.JSX.Element;
40
- export declare function SearchDialogClose({ children, className, ...props }: ComponentProps<'button'>): JsxRuntime.JSX.Element;
41
- export declare function SearchDialogFooter(props: ComponentProps<'div'>): JsxRuntime.JSX.Element;
42
- export declare function SearchDialogOverlay(props: ComponentProps<typeof DialogOverlay>): JsxRuntime.JSX.Element;
43
- export declare function SearchDialogContent({ children, ...props }: ComponentProps<typeof DialogContent>): JsxRuntime.JSX.Element;
35
+ export declare function SearchDialog({ open, onOpenChange, search, onSearchChange, isLoading, data, error, onSelect: onSelectProp, children }: SearchDialogProps): import("react").JSX.Element;
36
+ export declare function SearchDialogHeader(props: ComponentProps<'div'>): import("react").JSX.Element;
37
+ export declare function SearchDialogInput(props: ComponentProps<'input'>): import("react").JSX.Element;
38
+ export declare function SearchDialogClose({ children, className, ...props }: ComponentProps<'button'>): import("react").JSX.Element;
39
+ export declare function SearchDialogFooter(props: ComponentProps<'div'>): import("react").JSX.Element;
40
+ export declare function SearchDialogOverlay(props: ComponentProps<typeof DialogOverlay>): import("react").JSX.Element;
41
+ export declare function SearchDialogContent({ children, ...props }: ComponentProps<typeof DialogContent>): import("react").JSX.Element;
44
42
  export declare function SearchDialogList({ items: itemsProp, defaultItems, Empty, Item, Table, ...props }: Omit<ComponentProps<'div'>, 'children'> & {
45
43
  /** @defaultValue the results of `data` from `<SearchDialog />` */
46
44
  items?: (SearchItemType | SearchResultItem)[] | null;
@@ -58,25 +56,25 @@ export declare function SearchDialogList({ items: itemsProp, defaultItems, Empty
58
56
  * Renderer for tables, `Item` and `onSelect` render their rows
59
57
  */
60
58
  Table?: (props: TableProps) => ReactNode;
61
- }): JsxRuntime.JSX.Element;
62
- export declare function SearchDialogListTable({ table, Item, onSelect }: TableProps): JsxRuntime.JSX.Element;
59
+ }): import("react").JSX.Element;
60
+ export declare function SearchDialogListTable({ table, Item, onSelect }: TableProps): import("react").JSX.Element;
63
61
  export declare function SearchDialogListItem({ item, table, className, children, renderMarkdown, ...props }: ComponentProps<'div'> & {
64
62
  /** the table of a row */
65
63
  table?: SearchResultTable;
66
64
  /** render the Markdown `content` of items, instead of their `hastContent` */
67
65
  renderMarkdown?: (v: string) => ReactNode;
68
66
  item: SearchItemType;
69
- }): JsxRuntime.JSX.Element;
70
- export declare function SearchDialogIcon(props: ComponentProps<'svg'>): JsxRuntime.JSX.Element;
67
+ }): import("react").JSX.Element;
68
+ export declare function SearchDialogIcon(props: ComponentProps<'svg'>): import("react").JSX.Element;
71
69
  export interface TagsListProps extends ComponentProps<'div'> {
72
70
  tag?: string;
73
71
  onTagChange: (tag: string | undefined) => void;
74
72
  allowClear?: boolean;
75
73
  }
76
- export declare function TagsList({ tag, onTagChange, allowClear, ...props }: TagsListProps): JsxRuntime.JSX.Element;
74
+ export declare function TagsList({ tag, onTagChange, allowClear, ...props }: TagsListProps): import("react").JSX.Element;
77
75
  export declare function TagsListItem({ value, className, ...props }: ComponentProps<'button'> & {
78
76
  value: string;
79
- }): JsxRuntime.JSX.Element;
77
+ }): import("react").JSX.Element;
80
78
  export declare function useSearch(): {
81
79
  open: boolean;
82
80
  onOpenChange: (open: boolean) => void;
@@ -98,5 +96,4 @@ export declare function useTagsList(): {
98
96
  onValueChange: (value: string | undefined) => void;
99
97
  allowClear: boolean;
100
98
  };
101
- //#endregion
102
99
  export type { SharedProps };
@@ -2,17 +2,16 @@
2
2
  import { cn } from "../../utils/cn.js";
3
3
  import { buttonVariants } from "../ui/button.js";
4
4
  import { useRouter } from "fumadocs-core/framework";
5
- import * as JsxRuntime from "react/jsx-runtime";
6
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
6
  import { ChevronRight, CircleAlert, Hash, SearchIcon } from "lucide-react";
8
7
  import { cva } from "class-variance-authority";
9
8
  import { Fragment as Fragment$1, createContext, use, useCallback, useEffect, useEffectEvent, useLayoutEffect, useMemo, useRef, useSyncExternalStore } from "react";
10
9
  import { T, useTranslations } from "@fuma-translate/react";
11
10
  import scrollIntoView from "scroll-into-view-if-needed";
11
+ import { toJsx } from "fumadocs-core/utils/hast-to-jsx";
12
12
  import { useHighlightQuery } from "fumadocs-core/search/client";
13
13
  import { Dialog, DialogContent, DialogOverlay, DialogTitle } from "@radix-ui/react-dialog";
14
- import { toJsxRuntime } from "hast-util-to-jsx-runtime";
15
- //#region src/components/dialog/search.tsx
14
+ // src/components/dialog/search.tsx
16
15
  const RootContext = createContext(null);
17
16
  const TagsListContext = createContext(null);
18
17
  const mdComponents = {
@@ -63,11 +62,7 @@ const mdComponents = {
63
62
  });
64
63
  }
65
64
  };
66
- const renderOptions = {
67
- development: false,
68
- components: mdComponents,
69
- ...JsxRuntime
70
- };
65
+ const renderOptions = { components: mdComponents };
71
66
  function Children({ children }) {
72
67
  return children;
73
68
  }
@@ -77,25 +72,19 @@ function TableCell(props) {
77
72
  className: "min-w-0 not-last:truncate last:line-clamp-2"
78
73
  });
79
74
  }
80
- const tableRenderOptions = {
81
- ...renderOptions,
82
- components: {
83
- ...mdComponents,
84
- table: Children,
85
- thead: Children,
86
- tbody: Children,
87
- tr: Children,
88
- th: TableCell,
89
- td: TableCell
90
- }
91
- };
92
- const rowRenderOptions = {
93
- ...tableRenderOptions,
94
- components: {
95
- ...tableRenderOptions.components,
96
- thead: () => null
97
- }
98
- };
75
+ const tableRenderOptions = { components: {
76
+ ...mdComponents,
77
+ table: Children,
78
+ thead: Children,
79
+ tbody: Children,
80
+ tr: Children,
81
+ th: TableCell,
82
+ td: TableCell
83
+ } };
84
+ const rowRenderOptions = { components: {
85
+ ...tableRenderOptions.components,
86
+ thead: () => null
87
+ } };
99
88
  function SearchDialog({ open, onOpenChange, search, onSearchChange, isLoading = false, data, error, onSelect: onSelectProp, children }) {
100
89
  const router = useRouter();
101
90
  const onOpenChangeCallback = useRef(onOpenChange);
@@ -311,7 +300,7 @@ function SearchDialogListTable({ table, Item, onSelect }) {
311
300
  const { query } = useSearch();
312
301
  const highlightRef = useHighlightQuery(query);
313
302
  const headerId = `fd-search-table-${table.id}`;
314
- const header = useMemo(() => table.header && toJsxRuntime(table.header, tableRenderOptions), [table.header]);
303
+ const header = useMemo(() => table.header && toJsx(table.header, tableRenderOptions), [table.header]);
315
304
  return /* @__PURE__ */ jsx("div", {
316
305
  role: table.header ? "group" : void 0,
317
306
  "aria-labelledby": table.header ? headerId : void 0,
@@ -342,8 +331,8 @@ function SearchDialogListItem({ item, table, className, children, renderMarkdown
342
331
  if (item.type === "action") return item.node;
343
332
  if (renderMarkdown && typeof item.content === "string") return renderMarkdown(item.content);
344
333
  if (!("hastContent" in item)) return item.content;
345
- if (!table) return toJsxRuntime(item.hastContent, renderOptions);
346
- return toJsxRuntime(item.hastContent, table.header ? rowRenderOptions : tableRenderOptions);
334
+ if (!table) return toJsx(item.hastContent, renderOptions);
335
+ return toJsx(item.hastContent, table.header ? rowRenderOptions : tableRenderOptions);
347
336
  }, [
348
337
  item,
349
338
  renderMarkdown,
@@ -438,5 +427,4 @@ function useTagsList() {
438
427
  if (!ctx) throw new Error("Missing <TagsList />");
439
428
  return ctx;
440
429
  }
441
- //#endregion
442
430
  export { SearchDialog, SearchDialogClose, SearchDialogContent, SearchDialogFooter, SearchDialogHeader, SearchDialogIcon, SearchDialogInput, SearchDialogList, SearchDialogListItem, SearchDialogListTable, SearchDialogOverlay, TagsList, TagsListItem, useSearch, useTagsList };
@@ -1,9 +1,7 @@
1
1
  import { CodeBlockProps } from "./codeblock.js";
2
+ import { Highlighter } from "fumadocs-core/highlight";
2
3
  import { UseShikiOptions } from "fumadocs-core/highlight/shiki/react";
3
4
  import { HighlighterCore } from "shiki";
4
- declare namespace dynamic_codeblock_core_d_exports {
5
- export { DynamicCodeBlock, DynamicCodeblockProps };
6
- }
7
5
  export interface DynamicCodeblockProps {
8
6
  highlighter: HighlighterCore | (() => HighlighterCore | PromiseLike<HighlighterCore>);
9
7
  lang: string;
@@ -23,6 +21,11 @@ export interface DynamicCodeblockProps {
23
21
  options: DistributiveOmit<UseShikiOptions, 'lang'>;
24
22
  }
25
23
  type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
26
- export declare function DynamicCodeBlock({ lang, code, codeblock, options, wrapInSuspense, highlighter }: DynamicCodeblockProps): import("react").JSX.Element;
27
- //#endregion
28
- export { dynamic_codeblock_core_d_exports };
24
+ /**
25
+ * Create a code block that highlights with your own highlighter.
26
+ */
27
+ export declare function createDynamicCodeBlock({ highlighter }: {
28
+ highlighter: Highlighter;
29
+ }): (props: Omit<DynamicCodeblockProps, 'highlighter' | 'options'>) => import("react").JSX.Element;
30
+ export declare function DynamicCodeBlock({ highlighter, options, wrapInSuspense, ...props }: DynamicCodeblockProps): import("react").JSX.Element;
31
+ export {};