@hanzo/docs 16.2.6

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 (385) hide show
  1. package/.turbo/turbo-build.log +249 -0
  2. package/CHANGELOG.md +12 -0
  3. package/LICENSE +21 -0
  4. package/dist/cli/build.d.ts +117 -0
  5. package/dist/cli/build.js +2 -0
  6. package/dist/content-collections/index.d.ts +1 -0
  7. package/dist/content-collections/index.js +2 -0
  8. package/dist/core/breadcrumb.d.ts +1 -0
  9. package/dist/core/breadcrumb.js +2 -0
  10. package/dist/core/content/github.d.ts +1 -0
  11. package/dist/core/content/github.js +2 -0
  12. package/dist/core/content/index.d.ts +1 -0
  13. package/dist/core/content/index.js +2 -0
  14. package/dist/core/content/toc.d.ts +1 -0
  15. package/dist/core/content/toc.js +2 -0
  16. package/dist/core/dynamic-link.d.ts +1 -0
  17. package/dist/core/dynamic-link.js +2 -0
  18. package/dist/core/framework/index.d.ts +1 -0
  19. package/dist/core/framework/index.js +2 -0
  20. package/dist/core/framework/next.d.ts +1 -0
  21. package/dist/core/framework/next.js +2 -0
  22. package/dist/core/framework/react-router.d.ts +1 -0
  23. package/dist/core/framework/react-router.js +2 -0
  24. package/dist/core/framework/tanstack.d.ts +1 -0
  25. package/dist/core/framework/tanstack.js +2 -0
  26. package/dist/core/framework/waku.d.ts +1 -0
  27. package/dist/core/framework/waku.js +2 -0
  28. package/dist/core/highlight/client.d.ts +1 -0
  29. package/dist/core/highlight/client.js +2 -0
  30. package/dist/core/highlight/index.d.ts +1 -0
  31. package/dist/core/highlight/index.js +2 -0
  32. package/dist/core/i18n/index.d.ts +1 -0
  33. package/dist/core/i18n/index.js +2 -0
  34. package/dist/core/i18n/middleware.d.ts +1 -0
  35. package/dist/core/i18n/middleware.js +2 -0
  36. package/dist/core/link.d.ts +2 -0
  37. package/dist/core/link.js +6 -0
  38. package/dist/core/mdx-plugins/codeblock-utils.d.ts +1 -0
  39. package/dist/core/mdx-plugins/codeblock-utils.js +2 -0
  40. package/dist/core/mdx-plugins/index.d.ts +1 -0
  41. package/dist/core/mdx-plugins/index.js +2 -0
  42. package/dist/core/mdx-plugins/rehype-code.d.ts +1 -0
  43. package/dist/core/mdx-plugins/rehype-code.js +2 -0
  44. package/dist/core/mdx-plugins/remark-gfm.d.ts +1 -0
  45. package/dist/core/mdx-plugins/remark-gfm.js +2 -0
  46. package/dist/core/mdx-plugins/remark-steps.d.ts +1 -0
  47. package/dist/core/mdx-plugins/remark-steps.js +2 -0
  48. package/dist/core/mdx-plugins/remark-structure.d.ts +1 -0
  49. package/dist/core/mdx-plugins/remark-structure.js +2 -0
  50. package/dist/core/negotiation.d.ts +1 -0
  51. package/dist/core/negotiation.js +2 -0
  52. package/dist/core/page-tree.d.ts +1 -0
  53. package/dist/core/page-tree.js +2 -0
  54. package/dist/core/search/algolia.d.ts +1 -0
  55. package/dist/core/search/algolia.js +2 -0
  56. package/dist/core/search/client.d.ts +1 -0
  57. package/dist/core/search/client.js +2 -0
  58. package/dist/core/search/index.d.ts +1 -0
  59. package/dist/core/search/index.js +2 -0
  60. package/dist/core/search/orama-cloud.d.ts +1 -0
  61. package/dist/core/search/orama-cloud.js +2 -0
  62. package/dist/core/search/server.d.ts +1 -0
  63. package/dist/core/search/server.js +2 -0
  64. package/dist/core/source/client.d.ts +1 -0
  65. package/dist/core/source/client.js +2 -0
  66. package/dist/core/source/index.d.ts +1 -0
  67. package/dist/core/source/index.js +2 -0
  68. package/dist/core/source/lucide-icons.d.ts +1 -0
  69. package/dist/core/source/lucide-icons.js +2 -0
  70. package/dist/core/source/schema.d.ts +1 -0
  71. package/dist/core/source/schema.js +2 -0
  72. package/dist/core/toc.d.ts +1 -0
  73. package/dist/core/toc.js +2 -0
  74. package/dist/docgen/index.d.ts +1 -0
  75. package/dist/docgen/index.js +2 -0
  76. package/dist/docgen/remark-ts2js.d.ts +1 -0
  77. package/dist/docgen/remark-ts2js.js +2 -0
  78. package/dist/mdx/bun.d.ts +1 -0
  79. package/dist/mdx/bun.js +2 -0
  80. package/dist/mdx/config.d.ts +1 -0
  81. package/dist/mdx/config.js +2 -0
  82. package/dist/mdx/index.d.ts +1 -0
  83. package/dist/mdx/index.js +2 -0
  84. package/dist/mdx/next.d.ts +1 -0
  85. package/dist/mdx/next.js +2 -0
  86. package/dist/mdx/plugins/index-file.d.ts +1 -0
  87. package/dist/mdx/plugins/index-file.js +2 -0
  88. package/dist/mdx/plugins/json-schema.d.ts +2 -0
  89. package/dist/mdx/plugins/json-schema.js +6 -0
  90. package/dist/mdx/plugins/last-modified.d.ts +2 -0
  91. package/dist/mdx/plugins/last-modified.js +6 -0
  92. package/dist/mdx/runtime/browser.d.ts +1 -0
  93. package/dist/mdx/runtime/browser.js +2 -0
  94. package/dist/mdx/runtime/dynamic.d.ts +1 -0
  95. package/dist/mdx/runtime/dynamic.js +2 -0
  96. package/dist/mdx/runtime/server.d.ts +1 -0
  97. package/dist/mdx/runtime/server.js +2 -0
  98. package/dist/mdx/runtime/types.d.ts +1 -0
  99. package/dist/mdx/runtime/types.js +2 -0
  100. package/dist/mdx/vite.d.ts +2 -0
  101. package/dist/mdx/vite.js +6 -0
  102. package/dist/mdx-remote/client.d.ts +1 -0
  103. package/dist/mdx-remote/client.js +2 -0
  104. package/dist/mdx-remote/index.d.ts +1 -0
  105. package/dist/mdx-remote/index.js +2 -0
  106. package/dist/obsidian/index.d.ts +1 -0
  107. package/dist/obsidian/index.js +2 -0
  108. package/dist/obsidian/mdx.d.ts +1 -0
  109. package/dist/obsidian/mdx.js +2 -0
  110. package/dist/obsidian/ui.d.ts +1 -0
  111. package/dist/obsidian/ui.js +2 -0
  112. package/dist/openapi/css/preset.css +1 -0
  113. package/dist/openapi/index.d.ts +1 -0
  114. package/dist/openapi/index.js +2 -0
  115. package/dist/openapi/server.d.ts +1 -0
  116. package/dist/openapi/server.js +2 -0
  117. package/dist/openapi/ui.d.ts +1 -0
  118. package/dist/openapi/ui.js +2 -0
  119. package/dist/press/index.d.ts +1 -0
  120. package/dist/press/index.js +2 -0
  121. package/dist/press/vite.d.ts +1 -0
  122. package/dist/press/vite.js +2 -0
  123. package/dist/python/components.d.ts +1 -0
  124. package/dist/python/components.js +2 -0
  125. package/dist/python/index.d.ts +1 -0
  126. package/dist/python/index.js +2 -0
  127. package/dist/twoslash/cache-fs.d.ts +1 -0
  128. package/dist/twoslash/cache-fs.js +2 -0
  129. package/dist/twoslash/index.d.ts +1 -0
  130. package/dist/twoslash/index.js +2 -0
  131. package/dist/twoslash/twoslash.css +225 -0
  132. package/dist/twoslash/ui.d.ts +1 -0
  133. package/dist/twoslash/ui.js +2 -0
  134. package/dist/typescript/index.d.ts +1 -0
  135. package/dist/typescript/index.js +2 -0
  136. package/dist/typescript/ui.d.ts +1 -0
  137. package/dist/typescript/ui.js +2 -0
  138. package/dist/ui/components/accordion.d.ts +1 -0
  139. package/dist/ui/components/accordion.js +2 -0
  140. package/dist/ui/components/banner.d.ts +1 -0
  141. package/dist/ui/components/banner.js +2 -0
  142. package/dist/ui/components/callout.d.ts +1 -0
  143. package/dist/ui/components/callout.js +2 -0
  144. package/dist/ui/components/card.d.ts +1 -0
  145. package/dist/ui/components/card.js +2 -0
  146. package/dist/ui/components/codeblock.d.ts +1 -0
  147. package/dist/ui/components/codeblock.js +2 -0
  148. package/dist/ui/components/dialog/search-algolia.d.ts +1 -0
  149. package/dist/ui/components/dialog/search-algolia.js +2 -0
  150. package/dist/ui/components/dialog/search-default.d.ts +1 -0
  151. package/dist/ui/components/dialog/search-default.js +2 -0
  152. package/dist/ui/components/dialog/search-orama.d.ts +1 -0
  153. package/dist/ui/components/dialog/search-orama.js +2 -0
  154. package/dist/ui/components/dialog/search.d.ts +1 -0
  155. package/dist/ui/components/dialog/search.js +2 -0
  156. package/dist/ui/components/dynamic-codeblock.d.ts +1 -0
  157. package/dist/ui/components/dynamic-codeblock.js +2 -0
  158. package/dist/ui/components/files.d.ts +1 -0
  159. package/dist/ui/components/files.js +2 -0
  160. package/dist/ui/components/github-info.d.ts +1 -0
  161. package/dist/ui/components/github-info.js +2 -0
  162. package/dist/ui/components/heading.d.ts +1 -0
  163. package/dist/ui/components/heading.js +2 -0
  164. package/dist/ui/components/image-zoom.d.ts +1 -0
  165. package/dist/ui/components/image-zoom.js +2 -0
  166. package/dist/ui/components/inline-toc.d.ts +1 -0
  167. package/dist/ui/components/inline-toc.js +2 -0
  168. package/dist/ui/components/sidebar/base.d.ts +1 -0
  169. package/dist/ui/components/sidebar/base.js +2 -0
  170. package/dist/ui/components/sidebar/link-item.d.ts +1 -0
  171. package/dist/ui/components/sidebar/link-item.js +2 -0
  172. package/dist/ui/components/sidebar/page-tree.d.ts +1 -0
  173. package/dist/ui/components/sidebar/page-tree.js +2 -0
  174. package/dist/ui/components/steps.d.ts +1 -0
  175. package/dist/ui/components/steps.js +2 -0
  176. package/dist/ui/components/tabs.d.ts +1 -0
  177. package/dist/ui/components/tabs.js +2 -0
  178. package/dist/ui/components/tabs.unstyled.d.ts +1 -0
  179. package/dist/ui/components/tabs.unstyled.js +2 -0
  180. package/dist/ui/components/toc/clerk.d.ts +1 -0
  181. package/dist/ui/components/toc/clerk.js +2 -0
  182. package/dist/ui/components/toc/default.d.ts +1 -0
  183. package/dist/ui/components/toc/default.js +2 -0
  184. package/dist/ui/components/toc/index.d.ts +1 -0
  185. package/dist/ui/components/toc/index.js +2 -0
  186. package/dist/ui/components/type-table.d.ts +1 -0
  187. package/dist/ui/components/type-table.js +2 -0
  188. package/dist/ui/components/ui/accordion.d.ts +1 -0
  189. package/dist/ui/components/ui/accordion.js +2 -0
  190. package/dist/ui/components/ui/button.d.ts +1 -0
  191. package/dist/ui/components/ui/button.js +2 -0
  192. package/dist/ui/components/ui/collapsible.d.ts +1 -0
  193. package/dist/ui/components/ui/collapsible.js +2 -0
  194. package/dist/ui/components/ui/navigation-menu.d.ts +1 -0
  195. package/dist/ui/components/ui/navigation-menu.js +2 -0
  196. package/dist/ui/components/ui/popover.d.ts +1 -0
  197. package/dist/ui/components/ui/popover.js +2 -0
  198. package/dist/ui/components/ui/scroll-area.d.ts +1 -0
  199. package/dist/ui/components/ui/scroll-area.js +2 -0
  200. package/dist/ui/components/ui/tabs.d.ts +1 -0
  201. package/dist/ui/components/ui/tabs.js +2 -0
  202. package/dist/ui/contexts/i18n.d.ts +1 -0
  203. package/dist/ui/contexts/i18n.js +2 -0
  204. package/dist/ui/contexts/tree.d.ts +1 -0
  205. package/dist/ui/contexts/tree.js +2 -0
  206. package/dist/ui/css/black.css +39 -0
  207. package/dist/ui/css/catppuccin.css +49 -0
  208. package/dist/ui/css/colors/index.css +51 -0
  209. package/dist/ui/css/dusk.css +47 -0
  210. package/dist/ui/css/layouts/docs.css +1 -0
  211. package/dist/ui/css/layouts/home.css +1 -0
  212. package/dist/ui/css/layouts/notebook.css +1 -0
  213. package/dist/ui/css/neutral.css +7 -0
  214. package/dist/ui/css/ocean.css +48 -0
  215. package/dist/ui/css/preset.css +305 -0
  216. package/dist/ui/css/purple.css +39 -0
  217. package/dist/ui/css/shadcn.css +36 -0
  218. package/dist/ui/css/shiki.css +90 -0
  219. package/dist/ui/css/solar.css +75 -0
  220. package/dist/ui/css/style.css +9 -0
  221. package/dist/ui/css/vitepress.css +77 -0
  222. package/dist/ui/dist/theme/typography/index.d.ts +10 -0
  223. package/dist/ui/dist/theme/typography/index.d.ts.map +1 -0
  224. package/dist/ui/dist/theme/typography/index.js +137 -0
  225. package/dist/ui/dist/theme/typography/styles.d.ts +93 -0
  226. package/dist/ui/dist/theme/typography/styles.d.ts.map +1 -0
  227. package/dist/ui/dist/theme/typography/styles.js +433 -0
  228. package/dist/ui/i18n.d.ts +1 -0
  229. package/dist/ui/i18n.js +2 -0
  230. package/dist/ui/image-zoom.css +77 -0
  231. package/dist/ui/layouts/docs/page.d.ts +1 -0
  232. package/dist/ui/layouts/docs/page.js +2 -0
  233. package/dist/ui/layouts/docs.d.ts +1 -0
  234. package/dist/ui/layouts/docs.js +2 -0
  235. package/dist/ui/layouts/home/navbar.d.ts +1 -0
  236. package/dist/ui/layouts/home/navbar.js +2 -0
  237. package/dist/ui/layouts/home.d.ts +1 -0
  238. package/dist/ui/layouts/home.js +2 -0
  239. package/dist/ui/layouts/notebook/page.d.ts +1 -0
  240. package/dist/ui/layouts/notebook/page.js +2 -0
  241. package/dist/ui/layouts/notebook.d.ts +1 -0
  242. package/dist/ui/layouts/notebook.js +2 -0
  243. package/dist/ui/layouts/shared.d.ts +1 -0
  244. package/dist/ui/layouts/shared.js +2 -0
  245. package/dist/ui/mdx.d.ts +2 -0
  246. package/dist/ui/mdx.js +6 -0
  247. package/dist/ui/og.d.ts +1 -0
  248. package/dist/ui/og.js +2 -0
  249. package/dist/ui/page.d.ts +1 -0
  250. package/dist/ui/page.js +2 -0
  251. package/dist/ui/provider/base.d.ts +1 -0
  252. package/dist/ui/provider/base.js +2 -0
  253. package/dist/ui/provider/next.d.ts +1 -0
  254. package/dist/ui/provider/next.js +2 -0
  255. package/dist/ui/provider/react-router.d.ts +1 -0
  256. package/dist/ui/provider/react-router.js +2 -0
  257. package/dist/ui/provider/tanstack.d.ts +1 -0
  258. package/dist/ui/provider/tanstack.js +2 -0
  259. package/dist/ui/provider/waku.d.ts +1 -0
  260. package/dist/ui/provider/waku.js +2 -0
  261. package/dist/ui/style.css +3306 -0
  262. package/dist/ui/utils/use-copy-button.d.ts +1 -0
  263. package/dist/ui/utils/use-copy-button.js +2 -0
  264. package/package.json +146 -0
  265. package/scripts/copy-css.js +57 -0
  266. package/scripts/generate-exports.ts +2 -0
  267. package/src/cli/build.ts +1 -0
  268. package/src/content-collections/index.ts +1 -0
  269. package/src/core/breadcrumb.ts +1 -0
  270. package/src/core/content/github.ts +1 -0
  271. package/src/core/content/index.ts +1 -0
  272. package/src/core/content/toc.ts +1 -0
  273. package/src/core/dynamic-link.ts +1 -0
  274. package/src/core/framework/index.ts +1 -0
  275. package/src/core/framework/next.ts +1 -0
  276. package/src/core/framework/react-router.ts +1 -0
  277. package/src/core/framework/tanstack.ts +1 -0
  278. package/src/core/framework/waku.ts +1 -0
  279. package/src/core/highlight/client.ts +1 -0
  280. package/src/core/highlight/index.ts +1 -0
  281. package/src/core/i18n/index.ts +1 -0
  282. package/src/core/i18n/middleware.ts +1 -0
  283. package/src/core/link.ts +2 -0
  284. package/src/core/mdx-plugins/codeblock-utils.ts +1 -0
  285. package/src/core/mdx-plugins/index.ts +1 -0
  286. package/src/core/mdx-plugins/rehype-code.ts +1 -0
  287. package/src/core/mdx-plugins/remark-gfm.ts +1 -0
  288. package/src/core/mdx-plugins/remark-steps.ts +1 -0
  289. package/src/core/mdx-plugins/remark-structure.ts +1 -0
  290. package/src/core/negotiation.ts +1 -0
  291. package/src/core/page-tree.ts +1 -0
  292. package/src/core/search/algolia.ts +1 -0
  293. package/src/core/search/client.ts +1 -0
  294. package/src/core/search/index.ts +1 -0
  295. package/src/core/search/orama-cloud.ts +1 -0
  296. package/src/core/search/server.ts +1 -0
  297. package/src/core/source/client.ts +1 -0
  298. package/src/core/source/index.ts +1 -0
  299. package/src/core/source/lucide-icons.ts +1 -0
  300. package/src/core/source/schema.ts +1 -0
  301. package/src/core/toc.ts +1 -0
  302. package/src/docgen/index.ts +1 -0
  303. package/src/docgen/remark-ts2js.ts +1 -0
  304. package/src/mdx/bun.ts +1 -0
  305. package/src/mdx/config.ts +1 -0
  306. package/src/mdx/index.ts +1 -0
  307. package/src/mdx/next.ts +1 -0
  308. package/src/mdx/plugins/index-file.ts +1 -0
  309. package/src/mdx/plugins/json-schema.ts +2 -0
  310. package/src/mdx/plugins/last-modified.ts +2 -0
  311. package/src/mdx/runtime/browser.ts +1 -0
  312. package/src/mdx/runtime/dynamic.ts +1 -0
  313. package/src/mdx/runtime/server.ts +1 -0
  314. package/src/mdx/runtime/types.ts +1 -0
  315. package/src/mdx/vite.ts +2 -0
  316. package/src/mdx-remote/client.ts +1 -0
  317. package/src/mdx-remote/index.ts +1 -0
  318. package/src/obsidian/index.ts +1 -0
  319. package/src/obsidian/mdx.ts +1 -0
  320. package/src/obsidian/ui.ts +1 -0
  321. package/src/openapi/index.ts +1 -0
  322. package/src/openapi/server.ts +1 -0
  323. package/src/openapi/ui.ts +1 -0
  324. package/src/press/index.ts +1 -0
  325. package/src/press/vite.ts +1 -0
  326. package/src/python/components.ts +1 -0
  327. package/src/python/index.ts +1 -0
  328. package/src/twoslash/cache-fs.ts +1 -0
  329. package/src/twoslash/index.ts +1 -0
  330. package/src/twoslash/ui.ts +1 -0
  331. package/src/typescript/index.ts +1 -0
  332. package/src/typescript/ui.ts +1 -0
  333. package/src/ui/components/accordion.ts +1 -0
  334. package/src/ui/components/banner.ts +1 -0
  335. package/src/ui/components/callout.ts +1 -0
  336. package/src/ui/components/card.ts +1 -0
  337. package/src/ui/components/codeblock.ts +1 -0
  338. package/src/ui/components/dialog/search-algolia.ts +1 -0
  339. package/src/ui/components/dialog/search-default.ts +1 -0
  340. package/src/ui/components/dialog/search-orama.ts +1 -0
  341. package/src/ui/components/dialog/search.ts +1 -0
  342. package/src/ui/components/dynamic-codeblock.ts +1 -0
  343. package/src/ui/components/files.ts +1 -0
  344. package/src/ui/components/github-info.ts +1 -0
  345. package/src/ui/components/heading.ts +1 -0
  346. package/src/ui/components/image-zoom.ts +1 -0
  347. package/src/ui/components/inline-toc.ts +1 -0
  348. package/src/ui/components/sidebar/base.ts +1 -0
  349. package/src/ui/components/sidebar/link-item.ts +1 -0
  350. package/src/ui/components/sidebar/page-tree.ts +1 -0
  351. package/src/ui/components/steps.ts +1 -0
  352. package/src/ui/components/tabs.ts +1 -0
  353. package/src/ui/components/tabs.unstyled.ts +1 -0
  354. package/src/ui/components/toc/clerk.ts +1 -0
  355. package/src/ui/components/toc/default.ts +1 -0
  356. package/src/ui/components/toc/index.ts +1 -0
  357. package/src/ui/components/type-table.ts +1 -0
  358. package/src/ui/components/ui/accordion.ts +1 -0
  359. package/src/ui/components/ui/button.ts +1 -0
  360. package/src/ui/components/ui/collapsible.ts +1 -0
  361. package/src/ui/components/ui/navigation-menu.ts +1 -0
  362. package/src/ui/components/ui/popover.ts +1 -0
  363. package/src/ui/components/ui/scroll-area.ts +1 -0
  364. package/src/ui/components/ui/tabs.ts +1 -0
  365. package/src/ui/contexts/i18n.ts +1 -0
  366. package/src/ui/contexts/tree.ts +1 -0
  367. package/src/ui/i18n.ts +1 -0
  368. package/src/ui/layouts/docs/page.ts +1 -0
  369. package/src/ui/layouts/docs.ts +1 -0
  370. package/src/ui/layouts/home/navbar.ts +1 -0
  371. package/src/ui/layouts/home.ts +1 -0
  372. package/src/ui/layouts/notebook/page.ts +1 -0
  373. package/src/ui/layouts/notebook.ts +1 -0
  374. package/src/ui/layouts/shared.ts +1 -0
  375. package/src/ui/mdx.ts +2 -0
  376. package/src/ui/og.ts +1 -0
  377. package/src/ui/page.ts +1 -0
  378. package/src/ui/provider/base.ts +1 -0
  379. package/src/ui/provider/next.ts +1 -0
  380. package/src/ui/provider/react-router.ts +1 -0
  381. package/src/ui/provider/tanstack.ts +1 -0
  382. package/src/ui/provider/waku.ts +1 -0
  383. package/src/ui/utils/use-copy-button.ts +1 -0
  384. package/tsconfig.json +20 -0
  385. package/tsup.config.ts +50 -0
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/utils/use-copy-button';
@@ -0,0 +1,2 @@
1
+ // src/ui/utils/use-copy-button.ts
2
+ export * from "@hanzo/docs-ui/utils/use-copy-button";
package/package.json ADDED
@@ -0,0 +1,146 @@
1
+ {
2
+ "name": "@hanzo/docs",
3
+ "version": "16.2.6",
4
+ "description": "The documentation framework for Hanzo - React.js library for building beautiful documentation websites",
5
+ "keywords": [
6
+ "Hanzo",
7
+ "Docs",
8
+ "Documentation",
9
+ "React",
10
+ "Next.js",
11
+ "MDX"
12
+ ],
13
+ "homepage": "https://hanzo.ai/docs",
14
+ "repository": "github:hanzoai/docs",
15
+ "license": "MIT",
16
+ "type": "module",
17
+ "exports": {
18
+ "./core/breadcrumb": "./dist/core/breadcrumb.js",
19
+ "./core/toc": "./dist/core/toc.js",
20
+ "./core/link": "./dist/core/link.js",
21
+ "./core/dynamic-link": "./dist/core/dynamic-link.js",
22
+ "./core/negotiation": "./dist/core/negotiation.js",
23
+ "./core/page-tree": "./dist/core/page-tree.js",
24
+ "./core/content": "./dist/core/content/index.js",
25
+ "./core/content/*": "./dist/core/content/*.js",
26
+ "./core/search": "./dist/core/search/index.js",
27
+ "./core/search/*": "./dist/core/search/*.js",
28
+ "./core/source": "./dist/core/source/index.js",
29
+ "./core/source/client": "./dist/core/source/client.js",
30
+ "./core/source/schema": "./dist/core/source/schema.js",
31
+ "./core/source/*": "./dist/core/source/*.js",
32
+ "./core/mdx-plugins": "./dist/core/mdx-plugins/index.js",
33
+ "./core/mdx-plugins/*": "./dist/core/mdx-plugins/*.js",
34
+ "./core/i18n": "./dist/core/i18n/index.js",
35
+ "./core/i18n/middleware": "./dist/core/i18n/middleware.js",
36
+ "./core/highlight": "./dist/core/highlight/index.js",
37
+ "./core/highlight/client": "./dist/core/highlight/client.js",
38
+ "./core/framework": "./dist/core/framework/index.js",
39
+ "./core/framework/*": "./dist/core/framework/*.js",
40
+ "./ui/style.css": {
41
+ "style": "./dist/ui/style.css",
42
+ "default": "./dist/ui/style.css"
43
+ },
44
+ "./ui/image-zoom.css": {
45
+ "style": "./dist/ui/image-zoom.css",
46
+ "default": "./dist/ui/image-zoom.css"
47
+ },
48
+ "./ui/css/*": {
49
+ "style": "./dist/ui/css/*",
50
+ "default": "./dist/ui/css/*"
51
+ },
52
+ "./ui/i18n": "./dist/ui/i18n.js",
53
+ "./ui/mdx": "./dist/ui/mdx.js",
54
+ "./ui/og": "./dist/ui/og.js",
55
+ "./ui/page": "./dist/ui/page.js",
56
+ "./ui/layouts/home": "./dist/ui/layouts/home.js",
57
+ "./ui/layouts/home/navbar": "./dist/ui/layouts/home/navbar.js",
58
+ "./ui/layouts/docs": "./dist/ui/layouts/docs.js",
59
+ "./ui/layouts/docs/page": "./dist/ui/layouts/docs/page.js",
60
+ "./ui/layouts/notebook": "./dist/ui/layouts/notebook.js",
61
+ "./ui/layouts/notebook/page": "./dist/ui/layouts/notebook/page.js",
62
+ "./ui/layouts/shared": "./dist/ui/layouts/shared.js",
63
+ "./ui/provider/next": "./dist/ui/provider/next.js",
64
+ "./ui/provider/react-router": "./dist/ui/provider/react-router.js",
65
+ "./ui/provider/tanstack": "./dist/ui/provider/tanstack.js",
66
+ "./ui/provider/waku": "./dist/ui/provider/waku.js",
67
+ "./ui/provider/base": "./dist/ui/provider/base.js",
68
+ "./ui/provider/*": "./dist/ui/provider/*.js",
69
+ "./ui/contexts/*": "./dist/ui/contexts/*.js",
70
+ "./ui/utils/*": "./dist/ui/utils/*.js",
71
+ "./ui/components/tabs.unstyled": "./dist/ui/components/tabs.unstyled.js",
72
+ "./ui/components/*": "./dist/ui/components/*.js",
73
+ "./ui/components/dialog/*": "./dist/ui/components/dialog/*.js",
74
+ "./ui/components/sidebar/*": "./dist/ui/components/sidebar/*.js",
75
+ "./ui/components/toc/*": "./dist/ui/components/toc/*.js",
76
+ "./ui/components/ui/*": "./dist/ui/components/ui/*.js",
77
+ "./mdx": "./dist/mdx/index.js",
78
+ "./mdx/*": "./dist/mdx/*.js",
79
+ "./mdx/runtime/*": "./dist/mdx/runtime/*.js",
80
+ "./mdx/plugins/*": "./dist/mdx/plugins/*.js",
81
+ "./mdx:collections/*": "@hanzo/docs-mdx:collections/*",
82
+ "./cli/build": "./dist/cli/build.js",
83
+ "./mdx-remote": "./dist/mdx-remote/index.js",
84
+ "./mdx-remote/*": "./dist/mdx-remote/*.js",
85
+ "./openapi": "./dist/openapi/index.js",
86
+ "./openapi/*": "./dist/openapi/*.js",
87
+ "./openapi/css/*": {
88
+ "style": "./dist/openapi/css/*",
89
+ "default": "./dist/openapi/css/*"
90
+ },
91
+ "./typescript": "./dist/typescript/index.js",
92
+ "./typescript/*": "./dist/typescript/*.js",
93
+ "./twoslash": "./dist/twoslash/index.js",
94
+ "./twoslash/*": "./dist/twoslash/*.js",
95
+ "./twoslash/twoslash.css": {
96
+ "style": "./dist/twoslash/twoslash.css",
97
+ "default": "./dist/twoslash/twoslash.css"
98
+ },
99
+ "./docgen": "./dist/docgen/index.js",
100
+ "./docgen/*": "./dist/docgen/*.js",
101
+ "./python": "./dist/python/index.js",
102
+ "./python/*": "./dist/python/*.js",
103
+ "./obsidian": "./dist/obsidian/index.js",
104
+ "./obsidian/*": "./dist/obsidian/*.js",
105
+ "./content-collections": "./dist/content-collections/index.js",
106
+ "./content-collections/*": "./dist/content-collections/*.js",
107
+ "./press": "./dist/press/index.js",
108
+ "./press/*": "./dist/press/*.js"
109
+ },
110
+ "dependencies": {
111
+ "@hanzo/docs-core": "16.2.6",
112
+ "@hanzo/docs-ui": "16.2.6",
113
+ "@hanzo/docs-mdx": "14.1.1",
114
+ "@hanzo/docs-cli": "1.1.0",
115
+ "@hanzo/docs-mdx-remote": "1.4.3",
116
+ "@hanzo/docs-typescript": "4.0.14",
117
+ "@hanzo/docs-openapi": "10.1.4",
118
+ "@hanzo/docs-twoslash": "3.1.10",
119
+ "@hanzo/docs-docgen": "3.0.4",
120
+ "@hanzo/docs-python": "0.0.6",
121
+ "@hanzo/docs-obsidian": "0.0.6",
122
+ "@hanzo/docs-press": "0.0.9",
123
+ "@hanzo/docs-content-collections": "1.2.4"
124
+ },
125
+ "devDependencies": {
126
+ "tsup": "^8.5.1",
127
+ "typescript": "^5.9.3"
128
+ },
129
+ "peerDependencies": {
130
+ "next": "^15.0.0 || ^16.0.0",
131
+ "react": "^18.0.0 || ^19.0.0",
132
+ "react-dom": "^18.0.0 || ^19.0.0"
133
+ },
134
+ "peerDependenciesMeta": {
135
+ "next": {
136
+ "optional": true
137
+ }
138
+ },
139
+ "publishConfig": {
140
+ "access": "public"
141
+ },
142
+ "scripts": {
143
+ "build": "tsup && node scripts/copy-css.js",
144
+ "dev": "tsup --watch"
145
+ }
146
+ }
@@ -0,0 +1,57 @@
1
+ import { cpSync, mkdirSync, existsSync } from 'fs';
2
+ import { dirname, join } from 'path';
3
+ import { fileURLToPath } from 'url';
4
+
5
+ const __dirname = dirname(fileURLToPath(import.meta.url));
6
+ const root = join(__dirname, '..');
7
+
8
+ // Copy CSS files from @hanzo/docs-ui
9
+ const uiCssSource = join(root, 'node_modules/@hanzo/docs-ui/css');
10
+ const uiCssDest = join(root, 'dist/ui/css');
11
+
12
+ // Copy style.css from dist
13
+ const uiDistSource = join(root, 'node_modules/@hanzo/docs-ui/dist');
14
+ const uiDistDest = join(root, 'dist/ui');
15
+
16
+ // Copy twoslash.css from @hanzo/docs-twoslash (styles folder)
17
+ const twoslashStylesSource = join(root, 'node_modules/@hanzo/docs-twoslash/styles');
18
+ const twoslashDistDest = join(root, 'dist/twoslash');
19
+
20
+ // Copy openapi CSS from @hanzo/docs-openapi
21
+ const openapiCssSource = join(root, 'node_modules/@hanzo/docs-openapi/css');
22
+ const openapiCssDest = join(root, 'dist/openapi/css');
23
+
24
+ try {
25
+ mkdirSync(uiCssDest, { recursive: true });
26
+ cpSync(uiCssSource, uiCssDest, { recursive: true });
27
+ cpSync(join(uiDistSource, 'style.css'), join(uiDistDest, 'style.css'));
28
+ // image-zoom.css is in dist/components/
29
+ cpSync(join(uiDistSource, 'components/image-zoom.css'), join(uiDistDest, 'image-zoom.css'));
30
+
31
+ // Copy theme directory for CSS relative references (preset.css references ../dist/theme/typography)
32
+ // From dist/ui/css/, ../dist/theme/ resolves to dist/ui/dist/theme/
33
+ const themeSource = join(uiDistSource, 'theme');
34
+ const themeDest = join(root, 'dist/ui/dist/theme');
35
+ if (existsSync(themeSource)) {
36
+ mkdirSync(themeDest, { recursive: true });
37
+ cpSync(themeSource, themeDest, { recursive: true });
38
+ }
39
+
40
+ // Copy twoslash.css if it exists
41
+ mkdirSync(twoslashDistDest, { recursive: true });
42
+ const twoslashCssSrc = join(twoslashStylesSource, 'twoslash.css');
43
+ if (existsSync(twoslashCssSrc)) {
44
+ cpSync(twoslashCssSrc, join(twoslashDistDest, 'twoslash.css'));
45
+ }
46
+
47
+ // Copy openapi CSS if it exists
48
+ if (existsSync(openapiCssSource)) {
49
+ mkdirSync(openapiCssDest, { recursive: true });
50
+ cpSync(openapiCssSource, openapiCssDest, { recursive: true });
51
+ }
52
+
53
+ console.log('CSS files copied successfully');
54
+ } catch (error) {
55
+ console.error('Error copying CSS files:', error);
56
+ process.exit(1);
57
+ }
@@ -0,0 +1,2 @@
1
+ // This script is a placeholder - exports are already configured in package.json
2
+ console.log('Exports already configured in package.json');
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-cli/build';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-content-collections';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/breadcrumb';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/content/github';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/content';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/content/toc';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/dynamic-link';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/framework';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/framework/next';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/framework/react-router';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/framework/tanstack';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/framework/waku';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/highlight/client';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/highlight';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/i18n';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/i18n/middleware';
@@ -0,0 +1,2 @@
1
+ export * from '@hanzo/docs-core/link';
2
+ export { default } from '@hanzo/docs-core/link';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/mdx-plugins/codeblock-utils';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/mdx-plugins';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/mdx-plugins/rehype-code';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/mdx-plugins/remark-gfm';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/mdx-plugins/remark-steps';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/mdx-plugins/remark-structure';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/negotiation';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/page-tree';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/search/algolia';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/search/client';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/search';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/search/orama-cloud';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/search/server';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/source/client';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/source';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/source/lucide-icons';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/source/schema';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-core/toc';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-docgen';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-docgen/remark-ts2js';
package/src/mdx/bun.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-mdx/bun';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-mdx/config';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-mdx';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-mdx/next';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-mdx/plugins/index-file';
@@ -0,0 +1,2 @@
1
+ export * from '@hanzo/docs-mdx/plugins/json-schema';
2
+ export { default } from '@hanzo/docs-mdx/plugins/json-schema';
@@ -0,0 +1,2 @@
1
+ export * from '@hanzo/docs-mdx/plugins/last-modified';
2
+ export { default } from '@hanzo/docs-mdx/plugins/last-modified';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-mdx/runtime/browser';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-mdx/runtime/dynamic';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-mdx/runtime/server';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-mdx/runtime/types';
@@ -0,0 +1,2 @@
1
+ export * from '@hanzo/docs-mdx/vite';
2
+ export { default } from '@hanzo/docs-mdx/vite';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-mdx-remote/client';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-mdx-remote';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-obsidian';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-obsidian/mdx';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-obsidian/ui';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-openapi';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-openapi/server';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-openapi/ui';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-press';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-press/vite';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-python/components';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-python';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-twoslash/cache-fs';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-twoslash';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-twoslash/ui';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-typescript';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-typescript/ui';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/accordion';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/banner';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/callout';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/card';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/codeblock';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/dialog/search-algolia';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/dialog/search-default';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/dialog/search-orama';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/dialog/search';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/dynamic-codeblock';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/files';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/github-info';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/heading';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/image-zoom';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/inline-toc';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/sidebar/base';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/sidebar/link-item';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/sidebar/page-tree';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/steps';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/tabs';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/tabs.unstyled';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/toc/clerk';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/toc/default';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/toc/index';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/type-table';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/ui/accordion';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/ui/button';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/ui/collapsible';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/ui/navigation-menu';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/ui/popover';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/ui/scroll-area';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/components/ui/tabs';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/contexts/i18n';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/contexts/tree';
package/src/ui/i18n.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/i18n';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/layouts/docs/page';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/layouts/docs';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/layouts/home/navbar';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/layouts/home';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/layouts/notebook/page';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/layouts/notebook';
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/layouts/shared';
package/src/ui/mdx.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@hanzo/docs-ui/mdx';
2
+ export { default } from '@hanzo/docs-ui/mdx';
package/src/ui/og.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/og';
package/src/ui/page.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@hanzo/docs-ui/page';