@fumadocs/base-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 (251) hide show
  1. package/css/generated/flux.css +1 -1
  2. package/css/generated/glass.css +1 -1
  3. package/css/generated/shared.css +1 -1
  4. package/css/generated/spacious.css +1 -1
  5. package/dist/.translations/index.d.ts +1 -3
  6. package/dist/.translations/keys.js +1 -2
  7. package/dist/_virtual/_rolldown/runtime.js +1 -2
  8. package/dist/components/accordion.d.ts +1 -3
  9. package/dist/components/accordion.js +1 -2
  10. package/dist/components/banner.d.ts +1 -2
  11. package/dist/components/banner.js +1 -2
  12. package/dist/components/callout.d.ts +1 -3
  13. package/dist/components/callout.js +1 -2
  14. package/dist/components/card.d.ts +1 -3
  15. package/dist/components/card.js +1 -2
  16. package/dist/components/codeblock.d.ts +1 -3
  17. package/dist/components/codeblock.js +1 -2
  18. package/dist/components/codeblock.rsc.d.ts +7 -3
  19. package/dist/components/codeblock.rsc.js +21 -9
  20. package/dist/components/dialog/search-algolia.d.ts +1 -3
  21. package/dist/components/dialog/search-algolia.js +1 -2
  22. package/dist/components/dialog/search-default.d.ts +1 -3
  23. package/dist/components/dialog/search-default.js +1 -2
  24. package/dist/components/dialog/search-orama.d.ts +1 -3
  25. package/dist/components/dialog/search-orama.js +1 -2
  26. package/dist/components/dialog/search.d.ts +13 -16
  27. package/dist/components/dialog/search.js +19 -31
  28. package/dist/components/dynamic-codeblock.core.d.ts +9 -6
  29. package/dist/components/dynamic-codeblock.core.js +55 -18
  30. package/dist/components/dynamic-codeblock.d.ts +2 -4
  31. package/dist/components/dynamic-codeblock.js +1 -2
  32. package/dist/components/files.d.ts +1 -3
  33. package/dist/components/files.js +1 -2
  34. package/dist/components/github-info.d.ts +1 -3
  35. package/dist/components/github-info.js +1 -2
  36. package/dist/components/heading.d.ts +1 -2
  37. package/dist/components/heading.js +1 -2
  38. package/dist/components/image-zoom.d.ts +3 -5
  39. package/dist/components/image-zoom.js +2 -3
  40. package/dist/components/inline-toc.d.ts +1 -3
  41. package/dist/components/inline-toc.js +1 -2
  42. package/dist/components/sidebar/base.d.ts +0 -1
  43. package/dist/components/sidebar/base.js +1 -2
  44. package/dist/components/sidebar/link-item.d.ts +1 -2
  45. package/dist/components/sidebar/link-item.js +1 -2
  46. package/dist/components/sidebar/page-tree.d.ts +1 -2
  47. package/dist/components/sidebar/page-tree.js +1 -2
  48. package/dist/components/sidebar/tabs/dropdown.d.ts +1 -3
  49. package/dist/components/sidebar/tabs/dropdown.js +1 -2
  50. package/dist/components/sidebar/tabs/index.d.ts +1 -3
  51. package/dist/components/sidebar/tabs/index.js +1 -2
  52. package/dist/components/steps.d.ts +1 -3
  53. package/dist/components/steps.js +1 -2
  54. package/dist/components/tabs.d.ts +2 -4
  55. package/dist/components/tabs.js +1 -2
  56. package/dist/components/toc/block.d.ts +2 -6
  57. package/dist/components/toc/block.js +6 -13
  58. package/dist/components/toc/clerk.d.ts +2 -7
  59. package/dist/components/toc/clerk.js +85 -120
  60. package/dist/components/toc/default.d.ts +2 -7
  61. package/dist/components/toc/default.js +112 -149
  62. package/dist/components/toc/index.d.ts +1 -6
  63. package/dist/components/toc/index.js +1 -2
  64. package/dist/components/type-table.d.ts +1 -3
  65. package/dist/components/type-table.js +1 -2
  66. package/dist/components/ui/accordion.d.ts +1 -3
  67. package/dist/components/ui/accordion.js +1 -2
  68. package/dist/components/ui/button.d.ts +1 -3
  69. package/dist/components/ui/button.js +1 -2
  70. package/dist/components/ui/collapsible.d.ts +1 -3
  71. package/dist/components/ui/collapsible.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 +1 -3
  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/layouts/spacious/index.d.ts +1 -2
  180. package/dist/layouts/spacious/index.js +1 -2
  181. package/dist/layouts/spacious/page/index.d.ts +0 -2
  182. package/dist/layouts/spacious/page/index.js +1 -2
  183. package/dist/layouts/spacious/page/slots/breadcrumb.d.ts +1 -3
  184. package/dist/layouts/spacious/page/slots/breadcrumb.js +1 -2
  185. package/dist/layouts/spacious/page/slots/footer.d.ts +1 -2
  186. package/dist/layouts/spacious/page/slots/footer.js +1 -2
  187. package/dist/layouts/spacious/page/slots/toc.d.ts +5 -6
  188. package/dist/layouts/spacious/page/slots/toc.js +1 -2
  189. package/dist/layouts/spacious/slots/actions.d.ts +1 -3
  190. package/dist/layouts/spacious/slots/actions.js +1 -2
  191. package/dist/layouts/spacious/slots/header.d.ts +1 -3
  192. package/dist/layouts/spacious/slots/header.js +1 -2
  193. package/dist/layouts/spacious/slots/sidebar.d.ts +2 -4
  194. package/dist/layouts/spacious/slots/sidebar.js +1 -2
  195. package/dist/mdx.d.ts +0 -2
  196. package/dist/mdx.js +1 -2
  197. package/dist/mdx.server.d.ts +0 -2
  198. package/dist/mdx.server.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/controlled.d.ts +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/controlled.js +1 -2
  201. 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
  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/uncontrolled.js +1 -2
  203. 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
  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/compute-positioned-style.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/element-tests.js +1 -2
  206. 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
  207. 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
  208. 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
  209. 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
  210. 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
  211. 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
  212. 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
  213. 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
  214. 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
  215. 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
  216. 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
  217. 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
  218. package/dist/og/takumi.d.ts +1 -3
  219. package/dist/og/takumi.js +1 -2
  220. package/dist/og.d.ts +1 -2
  221. package/dist/og.js +1 -2
  222. package/dist/page.d.ts +0 -2
  223. package/dist/page.js +1 -2
  224. package/dist/provider/astro.d.ts +1 -3
  225. package/dist/provider/astro.js +17 -2
  226. package/dist/provider/base.d.ts +0 -2
  227. package/dist/provider/base.js +1 -2
  228. package/dist/provider/next.d.ts +1 -3
  229. package/dist/provider/next.js +1 -2
  230. package/dist/provider/react-router.d.ts +1 -3
  231. package/dist/provider/react-router.js +1 -2
  232. package/dist/provider/tanstack.d.ts +1 -3
  233. package/dist/provider/tanstack.js +1 -2
  234. package/dist/provider/waku.d.ts +1 -3
  235. package/dist/provider/waku.js +1 -2
  236. package/dist/style.css +3 -6
  237. package/dist/tailwind/typography.js +1 -2
  238. package/dist/utils/cn.js +1 -2
  239. package/dist/utils/hotkey.js +1 -2
  240. package/dist/utils/merge-refs.js +1 -2
  241. package/dist/utils/urls.js +1 -2
  242. package/dist/utils/use-copy-button.d.ts +1 -3
  243. package/dist/utils/use-copy-button.js +1 -2
  244. package/dist/utils/use-footer-items.d.ts +1 -3
  245. package/dist/utils/use-footer-items.js +1 -2
  246. package/dist/utils/use-is-scroll-top.d.ts +1 -3
  247. package/dist/utils/use-is-scroll-top.js +1 -2
  248. package/package.json +11 -12
  249. 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
  250. 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
  251. /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
@@ -11,7 +11,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
11
  import { Edit } from "lucide-react";
12
12
  import { createContext, use, useEffect, useState } from "react";
13
13
  import { useTranslations } from "@fuma-translate/react";
14
- //#region src/layouts/notebook/page/index.tsx
14
+ // src/layouts/notebook/page/index.tsx
15
15
  var page_exports = /* @__PURE__ */ __exportAll({
16
16
  DocsBody: () => DocsBody,
17
17
  DocsDescription: () => DocsDescription,
@@ -120,5 +120,4 @@ function PageLastUpdate({ date: value, ...props }) {
120
120
  ]
121
121
  });
122
122
  }
123
- //#endregion
124
123
  export { DocsBody, DocsDescription, DocsPage, DocsTitle, EditOnGitHub, MarkdownCopyButton, Breadcrumb as PageBreadcrumb, Footer as PageFooter, PageLastUpdate, ViewOptionsPopover, page_exports, useDocsPage };
@@ -1,6 +1,4 @@
1
1
  import { ComponentProps } from "react";
2
2
  import { BreadcrumbOptions } from "fumadocs-core/breadcrumb";
3
- //#region src/layouts/notebook/page/slots/breadcrumb.d.ts
4
3
  export type BreadcrumbProps = BreadcrumbOptions & ComponentProps<'div'>;
5
- export declare function Breadcrumb({ includeRoot, includeSeparator, includePage, ...props }: BreadcrumbProps): import("react").JSX.Element | null;
6
- //#endregion
4
+ export declare function Breadcrumb({ includeRoot, includeSeparator, includePage, ...props }: BreadcrumbProps): import("react").JSX.Element | null;
@@ -6,7 +6,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { ChevronRight } from "lucide-react";
7
7
  import { Fragment as Fragment$1, useMemo } from "react";
8
8
  import { getBreadcrumbItemsFromPath } from "fumadocs-core/breadcrumb";
9
- //#region src/layouts/notebook/page/slots/breadcrumb.tsx
9
+ // src/layouts/notebook/page/slots/breadcrumb.tsx
10
10
  function Breadcrumb({ includeRoot, includeSeparator, includePage, ...props }) {
11
11
  const path = useTreePath();
12
12
  const { root } = useTreeContext();
@@ -40,5 +40,4 @@ function Breadcrumb({ includeRoot, includeSeparator, includePage, ...props }) {
40
40
  })
41
41
  });
42
42
  }
43
- //#endregion
44
43
  export { Breadcrumb };
@@ -1,4 +1,2 @@
1
1
  import { ComponentProps } from "react";
2
- //#region src/layouts/notebook/page/slots/container.d.ts
3
- export declare function Container(props: ComponentProps<'article'>): import("react").JSX.Element;
4
- //#endregion
2
+ export declare function Container(props: ComponentProps<'article'>): import("react").JSX.Element;
@@ -2,7 +2,7 @@
2
2
  import { cn } from "../../../../utils/cn.js";
3
3
  import { useDocsPage } from "../index.js";
4
4
  import { jsx } from "react/jsx-runtime";
5
- //#region src/layouts/notebook/page/slots/container.tsx
5
+ // src/layouts/notebook/page/slots/container.tsx
6
6
  function Container(props) {
7
7
  const { full } = useDocsPage();
8
8
  return /* @__PURE__ */ jsx("main", {
@@ -18,5 +18,4 @@ function Container(props) {
18
18
  })
19
19
  });
20
20
  }
21
- //#endregion
22
21
  export { Container };
@@ -1,6 +1,5 @@
1
1
  import { ComponentProps } from "react";
2
2
  import * as PageTree from "fumadocs-core/page-tree";
3
- //#region src/layouts/notebook/page/slots/footer.d.ts
4
3
  type Item = Pick<PageTree.Item, 'name' | 'description' | 'url'>;
5
4
  export interface FooterProps extends ComponentProps<'div'> {
6
5
  /**
@@ -12,4 +11,4 @@ export interface FooterProps extends ComponentProps<'div'> {
12
11
  };
13
12
  }
14
13
  export declare function Footer({ items, children, className, ...props }: FooterProps): import("react").JSX.Element;
15
- //#endregion
14
+ export {};
@@ -8,7 +8,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
8
  import { ChevronLeft, ChevronRight } from "lucide-react";
9
9
  import { useMemo } from "react";
10
10
  import { useTranslations } from "@fuma-translate/react";
11
- //#region src/layouts/notebook/page/slots/footer.tsx
11
+ // src/layouts/notebook/page/slots/footer.tsx
12
12
  function Footer({ items, children, className, ...props }) {
13
13
  const footerList = useFooterItems();
14
14
  const pathname = usePathname();
@@ -52,5 +52,4 @@ function FooterItem({ item, index }) {
52
52
  })]
53
53
  });
54
54
  }
55
- //#endregion
56
55
  export { Footer };
@@ -1,9 +1,8 @@
1
- import { TOCItemsProps, default_d_exports } from "../../../../components/toc/default.js";
2
- import { TOCItemsProps as TOCItemsProps$1, block_d_exports } from "../../../../components/toc/block.js";
3
- import { TOCItemsProps as TOCItemsProps$2, clerk_d_exports } from "../../../../components/toc/clerk.js";
4
- import { TOCProviderProps as TOCProviderProps$1, index_d_exports } from "../../../../components/toc/index.js";
1
+ import { TOCItemsProps } from "../../../../components/toc/default.js";
2
+ import { TOCItemsProps as TOCItemsProps$1 } from "../../../../components/toc/block.js";
3
+ import { TOCItemsProps as TOCItemsProps$2 } from "../../../../components/toc/clerk.js";
4
+ import { TOCProviderProps as TOCProviderProps$1 } from "../../../../components/toc/index.js";
5
5
  import { ComponentProps, ReactNode } from "react";
6
- //#region src/layouts/notebook/page/slots/toc.d.ts
7
6
  export type TOCProviderProps = TOCProviderProps$1;
8
7
  export declare function TOCProvider(props: TOCProviderProps): import("react").JSX.Element;
9
8
  export type TOCProps = {
@@ -49,5 +48,4 @@ export type TOCPopoverProps = {
49
48
  style: 'block';
50
49
  list?: TOCItemsProps$1;
51
50
  });
52
- export declare function TOCPopover({ container, trigger, content, header, footer, style, list }: TOCPopoverProps): import("react").JSX.Element;
53
- //#endregion
51
+ export declare function TOCPopover({ container, trigger, content, header, footer, style, list }: TOCPopoverProps): import("react").JSX.Element;
@@ -11,7 +11,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
11
11
  import { ChevronDown, Text } from "lucide-react";
12
12
  import { createContext, use, useEffect, useEffectEvent, useMemo, useRef, useState } from "react";
13
13
  import { useTranslations } from "@fuma-translate/react";
14
- //#region src/layouts/notebook/page/slots/toc.tsx
14
+ // src/layouts/notebook/page/slots/toc.tsx
15
15
  const variants = {
16
16
  normal: default_exports,
17
17
  clerk: clerk_exports,
@@ -190,5 +190,4 @@ function PageTOCPopoverContent(props) {
190
190
  })
191
191
  });
192
192
  }
193
- //#endregion
194
193
  export { TOC, TOCPopover, TOCProvider };
@@ -1,4 +1,2 @@
1
1
  import { ComponentProps } from "react";
2
- //#region src/layouts/notebook/slots/container.d.ts
3
- export declare function Container(props: ComponentProps<'div'>): import("react").JSX.Element;
4
- //#endregion
2
+ export declare function Container(props: ComponentProps<'div'>): import("react").JSX.Element;
@@ -2,7 +2,7 @@
2
2
  import { cn } from "../../../utils/cn.js";
3
3
  import { useNotebookLayout } from "../client.js";
4
4
  import { jsx } from "react/jsx-runtime";
5
- //#region src/layouts/notebook/slots/container.tsx
5
+ // src/layouts/notebook/slots/container.tsx
6
6
  function Container(props) {
7
7
  const { props: { nav, aiChat }, slots } = useNotebookLayout();
8
8
  const pageCol = "calc(var(--fd-layout-width,97rem) - var(--fd-sidebar-col) - var(--fd-toc-col))";
@@ -28,5 +28,4 @@ function Container(props) {
28
28
  children: props.children
29
29
  });
30
30
  }
31
- //#endregion
32
31
  export { Container };
@@ -1,4 +1,2 @@
1
1
  import { ComponentProps } from "react";
2
- //#region src/layouts/notebook/slots/header.d.ts
3
- export declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined>;
4
- //#endregion
2
+ export declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined>;
@@ -12,7 +12,7 @@ import { usePathname } from "fumadocs-core/framework";
12
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
13
  import { ChevronDown, Languages, Sidebar } from "lucide-react";
14
14
  import { Fragment as Fragment$1, useMemo, useRef, useState } from "react";
15
- //#region src/layouts/notebook/slots/header.tsx
15
+ // src/layouts/notebook/slots/header.tsx
16
16
  function Header(props) {
17
17
  const { slots, navItems, isNavTransparent, props: { tabMode, nav, tabs, sidebar } } = useNotebookLayout();
18
18
  const { open } = slots.sidebar?.useSidebar?.() ?? {};
@@ -205,5 +205,4 @@ function NavbarLinkItemMenu({ item, hoverDelay = 50, className, ...props }) {
205
205
  })]
206
206
  });
207
207
  }
208
- //#endregion
209
208
  export { Header };
@@ -1,8 +1,7 @@
1
- import { SidebarProviderProps as SidebarProviderProps$1, base_d_exports, useSidebar as useSidebar$1 } from "../../../components/sidebar/base.js";
1
+ import { SidebarProviderProps as SidebarProviderProps$1, useSidebar as useSidebar$1 } from "../../../components/sidebar/base.js";
2
2
  import { SidebarPageTreeComponents } from "../../../components/sidebar/page-tree.js";
3
3
  import { SidebarTabsDropdown } from "../../../components/sidebar/tabs/dropdown.js";
4
4
  import { ComponentProps, FC, ReactNode } from "react";
5
- //#region src/layouts/notebook/slots/sidebar.d.ts
6
5
  export interface SidebarProps extends ComponentProps<'aside'> {
7
6
  components?: Partial<SidebarPageTreeComponents>;
8
7
  banner?: ReactNode | FC<ComponentProps<'div'>>;
@@ -20,5 +19,4 @@ export declare function SidebarProvider(props: SidebarProviderProps): import("re
20
19
  export declare function SidebarTrigger(props: ComponentProps<'button'>): import("react").JSX.Element;
21
20
  export declare function SidebarCollapseTrigger(props: ComponentProps<'button'>): import("react").JSX.Element;
22
21
  export declare function Sidebar({ banner, footer, components, collapsible, ...rest }: SidebarProps): import("react").JSX.Element;
23
- //#endregion
24
22
  export { SidebarTabsDropdown };
@@ -12,7 +12,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
12
  import { Languages, SidebarIcon, X } from "lucide-react";
13
13
  import { cva } from "class-variance-authority";
14
14
  import { createElement, useRef } from "react";
15
- //#region src/layouts/notebook/slots/sidebar.tsx
15
+ // src/layouts/notebook/slots/sidebar.tsx
16
16
  const itemVariants = cva("relative flex flex-row items-center gap-2 rounded-lg p-2 text-start text-fd-muted-foreground wrap-anywhere [&_svg]:size-4 [&_svg]:shrink-0", { variants: {
17
17
  variant: {
18
18
  link: "transition-colors hover:bg-fd-accent/50 hover:text-fd-accent-foreground/80 hover:transition-none data-[active=true]:bg-fd-primary/10 data-[active=true]:text-fd-primary data-[active=true]:hover:transition-colors",
@@ -235,5 +235,4 @@ function Sidebar({ banner, footer, components, collapsible = true, ...rest }) {
235
235
  ]
236
236
  })] });
237
237
  }
238
- //#endregion
239
238
  export { Sidebar, SidebarCollapseTrigger, SidebarProvider, SidebarTabsDropdown, SidebarTrigger, useSidebar };
@@ -3,7 +3,6 @@ import { FullSearchTriggerProps, SearchTriggerProps } from "./slots/search-trigg
3
3
  import { ThemeSwitchProps } from "./slots/theme-switch.js";
4
4
  import { BaseLayoutProps, LinkItemType } from "./index.js";
5
5
  import { ComponentProps, FC, ReactNode } from "react";
6
- //#region src/layouts/shared/client.d.ts
7
6
  export declare function LinkItem({ ref, item, ...props }: Omit<ComponentProps<'a'>, 'href'> & {
8
7
  item: Extract<LinkItemType, {
9
8
  url: string;
@@ -32,5 +31,4 @@ export declare function baseSlots({ useProps }: {
32
31
  baseSlots: BaseSlots;
33
32
  baseProps: BaseSlotsProps;
34
33
  };
35
- };
36
- //#endregion
34
+ };
@@ -9,7 +9,7 @@ import Link from "fumadocs-core/link";
9
9
  import { usePathname } from "fumadocs-core/framework";
10
10
  import { jsx } from "react/jsx-runtime";
11
11
  import { useState } from "react";
12
- //#region src/layouts/shared/client.tsx
12
+ // src/layouts/shared/client.tsx
13
13
  function LinkItem({ ref, item, ...props }) {
14
14
  const pathname = usePathname();
15
15
  const active = isLinkItemActive(item, pathname);
@@ -97,5 +97,4 @@ function baseSlots({ useProps }) {
97
97
  };
98
98
  } };
99
99
  }
100
- //#endregion
101
100
  export { AIChatPanel, LinkItem, baseSlots };
@@ -4,7 +4,6 @@ import { BaseSlots, BaseSlotsProps, LinkItem, baseSlots } from "./client.js";
4
4
  import { ComponentProps, FC, ReactNode } from "react";
5
5
  import * as PageTree from "fumadocs-core/page-tree";
6
6
  import { I18nConfig } from "fumadocs-core/i18n";
7
- //#region src/layouts/shared/index.d.ts
8
7
  export interface NavOptions {
9
8
  enabled?: boolean;
10
9
  children?: ReactNode;
@@ -174,5 +173,4 @@ export interface GroupedLinkItems {
174
173
  }
175
174
  export declare function useLinkItems({ githubUrl, links }: Pick<BaseLayoutProps, 'links' | 'githubUrl'>): GroupedLinkItems;
176
175
  export declare function isLinkItemActive(link: LinkItemType, pathname: string): boolean;
177
- //#endregion
178
176
  export { type BaseSlots, type BaseSlotsProps, LinkItem, baseSlots };
@@ -2,7 +2,7 @@ import { isActive, normalize } from "../../utils/urls.js";
2
2
  import { LinkItem, baseSlots } from "./client.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { useMemo } from "react";
5
- //#region src/layouts/shared/index.tsx
5
+ // src/layouts/shared/index.tsx
6
6
  const defaultTransform = (option, node) => {
7
7
  if (!node.icon) return option;
8
8
  return {
@@ -96,5 +96,4 @@ function isLinkItemActive(link, pathname) {
96
96
  if (link.active === "none") return false;
97
97
  return isActive(link.url, pathname, link.active === "nested-url");
98
98
  }
99
- //#endregion
100
99
  export { LinkItem, baseSlots, getLayoutTabs, isLayoutTabActive, isLinkItemActive, resolveLinkItems, useLinkItems };
@@ -1,6 +1,5 @@
1
1
  import { PopoverTrigger } from "../../components/ui/popover.js";
2
2
  import { ComponentProps } from "react";
3
- //#region src/layouts/shared/page-actions.d.ts
4
3
  /**
5
4
  * see https://fumadocs.dev/docs/integrations/llms#page-actions to customize.
6
5
  */
@@ -30,5 +29,4 @@ export declare function ViewOptionsPopover({ markdownUrl, githubUrl, pageUrl: pa
30
29
  * canonical URL instead.
31
30
  */
32
31
  pageUrl?: string;
33
- }): import("react").JSX.Element;
34
- //#endregion
32
+ }): import("react").JSX.Element;
@@ -8,7 +8,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
8
8
  import { Check, ChevronDown, Copy, ExternalLinkIcon, TextIcon } from "lucide-react";
9
9
  import { useMemo, useState } from "react";
10
10
  import { useTranslations } from "@fuma-translate/react";
11
- //#region src/layouts/shared/page-actions.tsx
11
+ // src/layouts/shared/page-actions.tsx
12
12
  const cache = /* @__PURE__ */ new Map();
13
13
  /**
14
14
  * see https://fumadocs.dev/docs/integrations/llms#page-actions to customize.
@@ -201,5 +201,4 @@ function withBasePath(href) {
201
201
  if (href.match(/^\w+:/) || href.startsWith("//")) return href;
202
202
  return (typeof import.meta.env !== "undefined" && typeof import.meta.env.BASE_URL === "string" ? import.meta.env.BASE_URL.replace(/\/$/, "") : "") + href;
203
203
  }
204
- //#endregion
205
204
  export { MarkdownCopyButton, ViewOptionsPopover };
@@ -1,11 +1,9 @@
1
1
  import { buttonVariants } from "../../../components/ui/button.js";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import { ComponentProps } from "react";
4
- //#region src/layouts/shared/slots/language-select.d.ts
5
4
  export interface LanguageSelectProps extends ComponentProps<'button'> {
6
5
  variant?: VariantProps<typeof buttonVariants>['variant'];
7
6
  }
8
7
  export declare function LanguageSelect({ className, variant, children, ...rest }: LanguageSelectProps): React.ReactElement;
9
8
  export type LanguageSelectTextProps = ComponentProps<'span'>;
10
- export declare function LanguageSelectText(props: LanguageSelectTextProps): import("react").JSX.Element;
11
- //#endregion
9
+ export declare function LanguageSelectText(props: LanguageSelectTextProps): import("react").JSX.Element;
@@ -5,7 +5,7 @@ import { useI18n } from "../../../contexts/i18n.js";
5
5
  import { Popover, PopoverContent, PopoverTrigger } from "../../../components/ui/popover.js";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import { useTranslations } from "@fuma-translate/react";
8
- //#region src/layouts/shared/slots/language-select.tsx
8
+ // src/layouts/shared/slots/language-select.tsx
9
9
  function LanguageSelect({ className, variant = "ghost", children, ...rest }) {
10
10
  const context = useI18n();
11
11
  const t = useTranslations({ note: "language switcher" });
@@ -39,5 +39,4 @@ function LanguageSelectText(props) {
39
39
  children: text
40
40
  });
41
41
  }
42
- //#endregion
43
42
  export { LanguageSelect, LanguageSelectText };
@@ -1,6 +1,5 @@
1
1
  import { ButtonProps } from "../../../components/ui/button.js";
2
2
  import { ComponentProps } from "react";
3
- //#region src/layouts/shared/slots/search-trigger.d.ts
4
3
  export interface SearchTriggerProps extends Omit<ComponentProps<'button'>, 'color'>, ButtonProps {
5
4
  hideIfDisabled?: boolean;
6
5
  }
@@ -8,5 +7,4 @@ export declare function SearchTrigger({ hideIfDisabled, size, color, variant, ..
8
7
  export interface FullSearchTriggerProps extends ComponentProps<'button'> {
9
8
  hideIfDisabled?: boolean;
10
9
  }
11
- export declare function FullSearchTrigger({ hideIfDisabled, ...props }: FullSearchTriggerProps): import("react").JSX.Element | null;
12
- //#endregion
10
+ export declare function FullSearchTrigger({ hideIfDisabled, ...props }: FullSearchTriggerProps): import("react").JSX.Element | null;
@@ -6,7 +6,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { Search } from "lucide-react";
7
7
  import { useTranslations } from "@fuma-translate/react";
8
8
  import { Dialog } from "@base-ui/react/dialog";
9
- //#region src/layouts/shared/slots/search-trigger.tsx
9
+ // src/layouts/shared/slots/search-trigger.tsx
10
10
  function SearchTrigger({ hideIfDisabled, size = "icon-sm", color, variant = color ?? "ghost", ...props }) {
11
11
  const { enabled, dialogHandle } = useSearchContext();
12
12
  const t = useTranslations({ note: "search trigger" });
@@ -46,5 +46,4 @@ function FullSearchTrigger({ hideIfDisabled, ...props }) {
46
46
  ]
47
47
  });
48
48
  }
49
- //#endregion
50
49
  export { FullSearchTrigger, SearchTrigger };
@@ -1,7 +1,5 @@
1
1
  import { ComponentProps } from "react";
2
- //#region src/layouts/shared/slots/theme-switch.d.ts
3
2
  export interface ThemeSwitchProps extends ComponentProps<'div'> {
4
3
  mode?: 'light-dark' | 'light-dark-system';
5
4
  }
6
- export declare function ThemeSwitch({ className, mode, ...props }: ThemeSwitchProps): import("react").JSX.Element;
7
- //#endregion
5
+ export declare function ThemeSwitch({ className, mode, ...props }: ThemeSwitchProps): import("react").JSX.Element;
@@ -7,7 +7,7 @@ import { useSyncExternalStore } from "react";
7
7
  import { useTranslations } from "@fuma-translate/react";
8
8
  import { useTheme } from "next-themes";
9
9
  import { flushSync } from "react-dom";
10
- //#region src/layouts/shared/slots/theme-switch.tsx
10
+ // src/layouts/shared/slots/theme-switch.tsx
11
11
  const noop = () => () => {};
12
12
  const itemVariants = cva("size-6.5 p-1.5 text-fd-muted-foreground", { variants: { active: {
13
13
  true: "bg-fd-accent text-fd-accent-foreground",
@@ -84,5 +84,4 @@ function ThemeSwitch({ className, mode = "light-dark", ...props }) {
84
84
  ]
85
85
  });
86
86
  }
87
- //#endregion
88
87
  export { ThemeSwitch };
@@ -3,7 +3,6 @@ import { AIChatOptions, BaseLayoutProps, GetLayoutTabsOptions, LayoutTab, LinkIt
3
3
  import { SidebarProps, SidebarProviderProps } from "./slots/sidebar.js";
4
4
  import { ComponentProps, FC } from "react";
5
5
  import * as PageTree from "fumadocs-core/page-tree";
6
- //#region src/layouts/spacious/index.d.ts
7
6
  export interface DocsSlots extends BaseSlots {
8
7
  header: FC<ComponentProps<'header'>>;
9
8
  /**
@@ -34,4 +33,4 @@ export declare function useSpaciousLayout(): {
34
33
  slots: DocsSlots;
35
34
  };
36
35
  export declare function DocsLayout(props: DocsLayoutProps): import("react").JSX.Element;
37
- //#endregion
36
+ export {};
@@ -8,7 +8,7 @@ import { Header } from "./slots/header.js";
8
8
  import { HeaderActions } from "./slots/actions.js";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  import { createContext, use, useMemo } from "react";
11
- //#region src/layouts/spacious/index.tsx
11
+ // src/layouts/spacious/index.tsx
12
12
  const LayoutContext = createContext(null);
13
13
  function useSpaciousLayout() {
14
14
  const context = use(LayoutContext);
@@ -76,5 +76,4 @@ function DocsLayout(props) {
76
76
  })
77
77
  });
78
78
  }
79
- //#endregion
80
79
  export { DocsLayout, useSpaciousLayout };
@@ -4,7 +4,6 @@ import { Footer, FooterProps } from "./slots/footer.js";
4
4
  import { Breadcrumb, BreadcrumbProps } from "./slots/breadcrumb.js";
5
5
  import { ComponentProps, FC } from "react";
6
6
  import { TOCItemType } from "fumadocs-core/toc";
7
- //#region src/layouts/spacious/page/index.d.ts
8
7
  interface DocsPageSlots {
9
8
  toc: {
10
9
  provider: FC<TOCProviderProps>;
@@ -52,5 +51,4 @@ export declare function DocsTitle({ className, ...props }: ComponentProps<'h1'>)
52
51
  export declare function PageLastUpdate({ date: value, ...props }: Omit<ComponentProps<'p'>, 'children'> & {
53
52
  date: Date;
54
53
  }): import("react").JSX.Element;
55
- //#endregion
56
54
  export { type BreadcrumbProps, type FooterProps, MarkdownCopyButton, Breadcrumb as PageBreadcrumb, Footer as PageFooter, ViewOptionsPopover };
@@ -12,7 +12,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
12
  import { EditIcon, SidebarIcon } from "lucide-react";
13
13
  import { createContext, use, useSyncExternalStore } from "react";
14
14
  import { useTranslations } from "@fuma-translate/react";
15
- //#region src/layouts/spacious/page/index.tsx
15
+ // src/layouts/spacious/page/index.tsx
16
16
  const PageContext = createContext(null);
17
17
  function useDocsPage() {
18
18
  const context = use(PageContext);
@@ -145,5 +145,4 @@ function PageLastUpdate({ date: value, ...props }) {
145
145
  ]
146
146
  });
147
147
  }
148
- //#endregion
149
148
  export { DocsBody, DocsDescription, DocsPage, DocsTitle, EditOnGitHub, MarkdownCopyButton, Breadcrumb as PageBreadcrumb, Footer as PageFooter, PageLastUpdate, ViewOptionsPopover, useDocsPage };
@@ -1,10 +1,8 @@
1
1
  import { ComponentProps } from "react";
2
2
  import { BreadcrumbOptions } from "fumadocs-core/breadcrumb";
3
- //#region src/layouts/spacious/page/slots/breadcrumb.d.ts
4
3
  export type BreadcrumbProps = BreadcrumbOptions & ComponentProps<'nav'>;
5
4
  export declare function useBreadcrumbItems({ includeRoot, includeSeparator, includePage }?: BreadcrumbOptions): import("fumadocs-core/breadcrumb").BreadcrumbItem[];
6
5
  /**
7
6
  * The folders of current page
8
7
  */
9
- export declare function Breadcrumb({ includeRoot, includeSeparator, includePage, className, ...props }: BreadcrumbProps): import("react").JSX.Element | undefined;
10
- //#endregion
8
+ export declare function Breadcrumb({ includeRoot, includeSeparator, includePage, className, ...props }: BreadcrumbProps): import("react").JSX.Element | undefined;
@@ -5,7 +5,7 @@ import Link from "fumadocs-core/link";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { Fragment as Fragment$1, useMemo } from "react";
7
7
  import { getBreadcrumbItemsFromPath } from "fumadocs-core/breadcrumb";
8
- //#region src/layouts/spacious/page/slots/breadcrumb.tsx
8
+ // src/layouts/spacious/page/slots/breadcrumb.tsx
9
9
  function useBreadcrumbItems({ includeRoot, includeSeparator, includePage } = {}) {
10
10
  const path = useTreePath();
11
11
  const { root } = useTreeContext();
@@ -47,5 +47,4 @@ function Breadcrumb({ includeRoot, includeSeparator, includePage, className, ...
47
47
  })] }, i))
48
48
  });
49
49
  }
50
- //#endregion
51
50
  export { Breadcrumb, useBreadcrumbItems };
@@ -1,6 +1,5 @@
1
1
  import { ComponentProps } from "react";
2
2
  import * as PageTree from "fumadocs-core/page-tree";
3
- //#region src/layouts/spacious/page/slots/footer.d.ts
4
3
  type Item = Pick<PageTree.Item, 'name' | 'description' | 'url'>;
5
4
  export interface FooterProps extends ComponentProps<'nav'> {
6
5
  /**
@@ -12,4 +11,4 @@ export interface FooterProps extends ComponentProps<'nav'> {
12
11
  };
13
12
  }
14
13
  export declare function Footer({ items, className, ...props }: FooterProps): import("react").JSX.Element | undefined;
15
- //#endregion
14
+ export {};
@@ -8,7 +8,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
8
8
  import { ArrowLeftIcon, ArrowRightIcon } from "lucide-react";
9
9
  import { useMemo } from "react";
10
10
  import { useTranslations } from "@fuma-translate/react";
11
- //#region src/layouts/spacious/page/slots/footer.tsx
11
+ // src/layouts/spacious/page/slots/footer.tsx
12
12
  function Footer({ items, className, ...props }) {
13
13
  const footerList = useFooterItems();
14
14
  const pathname = usePathname();
@@ -57,5 +57,4 @@ function FooterItem({ item, next }) {
57
57
  })]
58
58
  });
59
59
  }
60
- //#endregion
61
60
  export { Footer };
@@ -1,9 +1,8 @@
1
- import { TOCItemsProps, default_d_exports } from "../../../../components/toc/default.js";
2
- import { TOCItemsProps as TOCItemsProps$1, block_d_exports } from "../../../../components/toc/block.js";
3
- import { TOCItemsProps as TOCItemsProps$2, clerk_d_exports } from "../../../../components/toc/clerk.js";
4
- import { TOCProviderProps as TOCProviderProps$1, index_d_exports } from "../../../../components/toc/index.js";
1
+ import { TOCItemsProps } from "../../../../components/toc/default.js";
2
+ import { TOCItemsProps as TOCItemsProps$1 } from "../../../../components/toc/block.js";
3
+ import { TOCItemsProps as TOCItemsProps$2 } from "../../../../components/toc/clerk.js";
4
+ import { TOCProviderProps as TOCProviderProps$1 } from "../../../../components/toc/index.js";
5
5
  import { ComponentProps, ReactNode } from "react";
6
- //#region src/layouts/spacious/page/slots/toc.d.ts
7
6
  export type TOCProviderProps = TOCProviderProps$1;
8
7
  export declare function TOCProvider(props: TOCProviderProps): import("react").JSX.Element;
9
8
  type TOCStyle = {
@@ -41,4 +40,4 @@ export type TOCPopoverProps = TOCDropdownProps & {
41
40
  export declare function TOCPopover({ container, trigger, content, header, footer, ...props }: TOCPopoverProps): import("react").JSX.Element;
42
41
  /** the TOC dropdown for page header */
43
42
  export declare function TOCDropdown({ trigger, content, header, footer, ...props }: TOCDropdownProps): import("react").JSX.Element;
44
- //#endregion
43
+ export {};
@@ -13,7 +13,7 @@ import { useEffect, useRef, useState } from "react";
13
13
  import { useTranslations } from "@fuma-translate/react";
14
14
  import { useTOCSelector } from "fumadocs-core/toc";
15
15
  import { Popover } from "@base-ui/react/popover";
16
- //#region src/layouts/spacious/page/slots/toc.tsx
16
+ // src/layouts/spacious/page/slots/toc.tsx
17
17
  const variants = {
18
18
  normal: default_exports,
19
19
  clerk: clerk_exports,
@@ -204,5 +204,4 @@ function TOCProgress({ size = 16, ...props }) {
204
204
  })]
205
205
  });
206
206
  }
207
- //#endregion
208
207
  export { TOC, TOCDropdown, TOCPopover, TOCProvider };
@@ -1,5 +1,3 @@
1
1
  import { ComponentProps } from "react";
2
- //#region src/layouts/spacious/slots/actions.d.ts
3
2
  /** AI chat, language switcher and icon links move into the options menu on smaller viewports */
4
- export declare function HeaderActions({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
5
- //#endregion
3
+ export declare function HeaderActions({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
@@ -11,7 +11,7 @@ import { useTranslations } from "@fuma-translate/react";
11
11
  import { useTheme } from "next-themes";
12
12
  import { flushSync } from "react-dom";
13
13
  import { Menu } from "@base-ui/react/menu";
14
- //#region src/layouts/spacious/slots/actions.tsx
14
+ // src/layouts/spacious/slots/actions.tsx
15
15
  const popupClass = "flex flex-col max-h-(--available-height) overflow-y-auto rounded-2xl border bg-fd-popover text-sm text-fd-popover-foreground shadow-lg outline-none origin-(--transform-origin) transition-[opacity,scale] duration-150 ease-[cubic-bezier(0.22,1,0.36,1)] data-starting-style:opacity-0 data-starting-style:scale-95 data-ending-style:opacity-0 data-ending-style:scale-97 data-ending-style:duration-100 motion-reduce:transition-none";
16
16
  const itemClass = "flex w-full min-h-9 items-center gap-3 rounded-lg px-2.5 py-1.5 text-start outline-none transition-colors duration-100 data-highlighted:bg-fd-accent data-highlighted:text-fd-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0";
17
17
  function IconLinks({ className }) {
@@ -219,5 +219,4 @@ function ThemeSegments() {
219
219
  }, key))]
220
220
  });
221
221
  }
222
- //#endregion
223
222
  export { HeaderActions };
@@ -1,5 +1,3 @@
1
1
  import { ComponentProps } from "react";
2
- //#region src/layouts/spacious/slots/header.d.ts
3
2
  /** the mobile navbar */
4
- export declare function Header({ className, ...props }: ComponentProps<'header'>): import("react").JSX.Element;
5
- //#endregion
3
+ export declare function Header({ className, ...props }: ComponentProps<'header'>): import("react").JSX.Element;
@@ -5,7 +5,7 @@ import { SidebarTrigger } from "../../../components/sidebar/base.js";
5
5
  import { useSpaciousLayout } from "../index.js";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import { SidebarIcon } from "lucide-react";
8
- //#region src/layouts/spacious/slots/header.tsx
8
+ // src/layouts/spacious/slots/header.tsx
9
9
  /** the mobile navbar */
10
10
  function Header({ className, ...props }) {
11
11
  const { slots } = useSpaciousLayout();
@@ -30,5 +30,4 @@ function Header({ className, ...props }) {
30
30
  ]
31
31
  });
32
32
  }
33
- //#endregion
34
33
  export { Header };
@@ -1,9 +1,7 @@
1
- import { SidebarProviderProps as SidebarProviderProps$1, base_d_exports } from "../../../components/sidebar/base.js";
1
+ import { SidebarProviderProps as SidebarProviderProps$1 } from "../../../components/sidebar/base.js";
2
2
  import { ComponentProps } from "react";
3
- //#region src/layouts/spacious/slots/sidebar.d.ts
4
3
  export type SidebarProviderProps = Omit<SidebarProviderProps$1, 'collapsible'>;
5
4
  export type SidebarProps = ComponentProps<'aside'>;
6
5
  export declare function SidebarProvider(props: SidebarProviderProps): import("react").JSX.Element;
7
6
  export declare function Sidebar({ className, ...props }: SidebarProps): import("react").JSX.Element | undefined;
8
- export declare function SidebarDrawer(): import("react").JSX.Element;
9
- //#endregion
7
+ export declare function SidebarDrawer(): import("react").JSX.Element;