@vercel/geistdocs 1.25.0 → 1.25.1-canary.bd8995b

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 (362) hide show
  1. package/dist/cli/index.js +1 -1
  2. package/dist/components/callout.d.ts.map +1 -1
  3. package/dist/components/callout.js +1 -1
  4. package/dist/components/code-block-tabs.d.ts +5 -2
  5. package/dist/components/code-block-tabs.d.ts.map +1 -1
  6. package/dist/components/code-block-tabs.js +28 -5
  7. package/dist/components/code-block.d.ts +2 -6
  8. package/dist/components/code-block.d.ts.map +1 -1
  9. package/dist/components/code-block.js +22 -68
  10. package/dist/components/command-prompt.d.ts.map +1 -1
  11. package/dist/components/command-prompt.js +3 -3
  12. package/dist/components/copy-prompt.d.ts.map +1 -1
  13. package/dist/components/copy-prompt.js +4 -4
  14. package/dist/components/mermaid.js +1 -1
  15. package/dist/controls.d.ts +8 -4
  16. package/dist/controls.d.ts.map +1 -1
  17. package/dist/controls.js +14 -14
  18. package/dist/footer.d.ts.map +1 -1
  19. package/dist/footer.js +6 -6
  20. package/dist/home-layout.js +1 -1
  21. package/dist/internal/chat/conversation.d.ts +4 -3
  22. package/dist/internal/chat/conversation.d.ts.map +1 -1
  23. package/dist/internal/chat/conversation.js +5 -5
  24. package/dist/internal/chat/copy-chat.d.ts.map +1 -1
  25. package/dist/internal/chat/copy-chat.js +13 -10
  26. package/dist/internal/chat/dots-spinner.d.ts +5 -0
  27. package/dist/internal/chat/dots-spinner.d.ts.map +1 -0
  28. package/dist/internal/chat/dots-spinner.js +15 -0
  29. package/dist/internal/chat/message-metadata.d.ts.map +1 -1
  30. package/dist/internal/chat/message-metadata.js +8 -7
  31. package/dist/internal/chat/message.d.ts.map +1 -1
  32. package/dist/internal/chat/message.js +5 -5
  33. package/dist/internal/chat/prompt-input.d.ts +1 -1
  34. package/dist/internal/chat/prompt-input.d.ts.map +1 -1
  35. package/dist/internal/chat/prompt-input.js +25 -27
  36. package/dist/internal/chat/shell.d.ts.map +1 -1
  37. package/dist/internal/chat/shell.js +27 -19
  38. package/dist/internal/chat/sources.d.ts +3 -1
  39. package/dist/internal/chat/sources.d.ts.map +1 -1
  40. package/dist/internal/chat/sources.js +6 -6
  41. package/dist/internal/chat/suggestion.d.ts +11 -6
  42. package/dist/internal/chat/suggestion.d.ts.map +1 -1
  43. package/dist/internal/chat/suggestion.js +5 -5
  44. package/dist/internal/docs-page-error-boundary.d.ts.map +1 -1
  45. package/dist/internal/docs-page-error-boundary.js +3 -3
  46. package/dist/internal/external-arrow.d.ts.map +1 -1
  47. package/dist/internal/external-arrow.js +1 -1
  48. package/dist/internal/footer/rss-button.d.ts.map +1 -1
  49. package/dist/internal/footer/rss-button.js +3 -3
  50. package/dist/internal/github-button.d.ts.map +1 -1
  51. package/dist/internal/github-button.js +3 -3
  52. package/dist/internal/navbar/desktop-menu.d.ts.map +1 -1
  53. package/dist/internal/navbar/desktop-menu.js +3 -3
  54. package/dist/internal/navbar/mobile-menu.d.ts.map +1 -1
  55. package/dist/internal/navbar/mobile-menu.js +3 -3
  56. package/dist/internal/navbar/navbar-logo.d.ts.map +1 -1
  57. package/dist/internal/navbar/navbar-logo.js +6 -8
  58. package/dist/internal/navbar/navbar-shell.d.ts.map +1 -1
  59. package/dist/internal/navbar/navbar-shell.js +1 -1
  60. package/dist/internal/page-actions-client.d.ts.map +1 -1
  61. package/dist/internal/page-actions-client.js +19 -20
  62. package/dist/internal/page-breadcrumb.d.ts.map +1 -1
  63. package/dist/internal/page-breadcrumb.js +3 -3
  64. package/dist/internal/page-footer.d.ts.map +1 -1
  65. package/dist/internal/page-footer.js +2 -2
  66. package/dist/internal/provider-client.d.ts.map +1 -1
  67. package/dist/internal/provider-client.js +9 -9
  68. package/dist/internal/search.d.ts.map +1 -1
  69. package/dist/internal/search.js +2 -2
  70. package/dist/internal/sidebar-tree.d.ts.map +1 -1
  71. package/dist/internal/sidebar-tree.js +9 -7
  72. package/dist/internal/sidebar.d.ts.map +1 -1
  73. package/dist/internal/sidebar.js +6 -8
  74. package/dist/internal/toc-items.d.ts.map +1 -1
  75. package/dist/internal/toc-items.js +1 -1
  76. package/dist/internal/ui/dropdown-menu.d.ts.map +1 -1
  77. package/dist/internal/ui/dropdown-menu.js +5 -5
  78. package/dist/internal/ui/navigation-menu.d.ts.map +1 -1
  79. package/dist/internal/ui/navigation-menu.js +2 -2
  80. package/dist/internal/ui/popover.d.ts.map +1 -1
  81. package/dist/internal/ui/popover.js +1 -1
  82. package/dist/internal/ui/scroll-area.d.ts.map +1 -1
  83. package/dist/internal/ui/scroll-area.js +1 -1
  84. package/dist/layout.js +1 -1
  85. package/dist/mdx.d.ts.map +1 -1
  86. package/dist/mdx.js +2 -1
  87. package/dist/mobile-docs-bar.d.ts.map +1 -1
  88. package/dist/mobile-docs-bar.js +1 -2
  89. package/dist/navbar.js +3 -2
  90. package/dist/pages/docs.d.ts.map +1 -1
  91. package/dist/pages/docs.js +1 -1
  92. package/dist/source.d.ts.map +1 -1
  93. package/dist/source.js +0 -2
  94. package/dist/versions.d.ts.map +1 -1
  95. package/dist/versions.js +5 -5
  96. package/docs/agents.md +1 -2
  97. package/docs/llms.txt +88 -80
  98. package/docs/manifest.json +1 -10
  99. package/docs/pages/migration.md +5 -7
  100. package/docs/pages/syntax.md +79 -5
  101. package/docs/pages/versioned-docs.md +3 -3
  102. package/docs/sitemap.md +0 -1
  103. package/package.json +10 -102
  104. package/styles.css +3 -2
  105. package/template/AGENTS.md +10 -0
  106. package/template/app/[lang]/(home)/components/hero.tsx +2 -2
  107. package/template/app/[lang]/(home)/components/one-two-section.tsx +9 -1
  108. package/template/app/[lang]/(home)/components/text-grid-section.tsx +1 -1
  109. package/template/app/[lang]/(home)/page.tsx +5 -6
  110. package/template/app/[lang]/layout.tsx +7 -4
  111. package/template/app/styles/geistdocs.css +17 -14
  112. package/template/content/docs/configuration.cn.mdx +2 -2
  113. package/template/content/docs/migration.mdx +5 -7
  114. package/template/content/docs/syntax.mdx +79 -5
  115. package/template/content/docs/versioned-docs.mdx +3 -3
  116. package/template/lib/geistdocs/config.tsx +0 -5
  117. package/template/next.config.ts +16 -2
  118. package/template/package.json +5 -7
  119. package/theme.css +68 -662
  120. package/dist/assets/icons/icon-acronym-ts.d.ts +0 -5
  121. package/dist/assets/icons/icon-acronym-ts.d.ts.map +0 -1
  122. package/dist/assets/icons/icon-acronym-ts.js +0 -4
  123. package/dist/assets/icons/icon-agents.d.ts +0 -5
  124. package/dist/assets/icons/icon-agents.d.ts.map +0 -1
  125. package/dist/assets/icons/icon-agents.js +0 -4
  126. package/dist/assets/icons/icon-api.d.ts +0 -5
  127. package/dist/assets/icons/icon-api.d.ts.map +0 -1
  128. package/dist/assets/icons/icon-api.js +0 -4
  129. package/dist/assets/icons/icon-arrow-up-right-small.d.ts +0 -8
  130. package/dist/assets/icons/icon-arrow-up-right-small.d.ts.map +0 -1
  131. package/dist/assets/icons/icon-arrow-up-right-small.js +0 -4
  132. package/dist/assets/icons/icon-arrow-up-right.d.ts +0 -5
  133. package/dist/assets/icons/icon-arrow-up-right.d.ts.map +0 -1
  134. package/dist/assets/icons/icon-arrow-up-right.js +0 -4
  135. package/dist/assets/icons/icon-check.d.ts +0 -5
  136. package/dist/assets/icons/icon-check.d.ts.map +0 -1
  137. package/dist/assets/icons/icon-check.js +0 -4
  138. package/dist/assets/icons/icon-chevron-down-small.d.ts +0 -8
  139. package/dist/assets/icons/icon-chevron-down-small.d.ts.map +0 -1
  140. package/dist/assets/icons/icon-chevron-down-small.js +0 -7
  141. package/dist/assets/icons/icon-chevron-right.d.ts +0 -5
  142. package/dist/assets/icons/icon-chevron-right.d.ts.map +0 -1
  143. package/dist/assets/icons/icon-chevron-right.js +0 -4
  144. package/dist/assets/icons/icon-clock.d.ts +0 -5
  145. package/dist/assets/icons/icon-clock.d.ts.map +0 -1
  146. package/dist/assets/icons/icon-clock.js +0 -4
  147. package/dist/assets/icons/icon-copy.d.ts +0 -5
  148. package/dist/assets/icons/icon-copy.d.ts.map +0 -1
  149. package/dist/assets/icons/icon-copy.js +0 -4
  150. package/dist/assets/icons/icon-display-small.d.ts +0 -5
  151. package/dist/assets/icons/icon-display-small.d.ts.map +0 -1
  152. package/dist/assets/icons/icon-display-small.js +0 -4
  153. package/dist/assets/icons/icon-display.d.ts +0 -5
  154. package/dist/assets/icons/icon-display.d.ts.map +0 -1
  155. package/dist/assets/icons/icon-display.js +0 -4
  156. package/dist/assets/icons/icon-file-text.d.ts +0 -5
  157. package/dist/assets/icons/icon-file-text.d.ts.map +0 -1
  158. package/dist/assets/icons/icon-file-text.js +0 -4
  159. package/dist/assets/icons/icon-folder-open.d.ts +0 -5
  160. package/dist/assets/icons/icon-folder-open.d.ts.map +0 -1
  161. package/dist/assets/icons/icon-folder-open.js +0 -4
  162. package/dist/assets/icons/icon-linked.d.ts +0 -5
  163. package/dist/assets/icons/icon-linked.d.ts.map +0 -1
  164. package/dist/assets/icons/icon-linked.js +0 -4
  165. package/dist/assets/icons/icon-logs.d.ts +0 -5
  166. package/dist/assets/icons/icon-logs.d.ts.map +0 -1
  167. package/dist/assets/icons/icon-logs.js +0 -4
  168. package/dist/assets/icons/icon-menu-alt.d.ts +0 -5
  169. package/dist/assets/icons/icon-menu-alt.d.ts.map +0 -1
  170. package/dist/assets/icons/icon-menu-alt.js +0 -4
  171. package/dist/assets/icons/icon-message.d.ts +0 -5
  172. package/dist/assets/icons/icon-message.d.ts.map +0 -1
  173. package/dist/assets/icons/icon-message.js +0 -4
  174. package/dist/assets/icons/icon-moon-small.d.ts +0 -5
  175. package/dist/assets/icons/icon-moon-small.d.ts.map +0 -1
  176. package/dist/assets/icons/icon-moon-small.js +0 -4
  177. package/dist/assets/icons/icon-moon.d.ts +0 -5
  178. package/dist/assets/icons/icon-moon.d.ts.map +0 -1
  179. package/dist/assets/icons/icon-moon.js +0 -4
  180. package/dist/assets/icons/icon-openai.d.ts +0 -5
  181. package/dist/assets/icons/icon-openai.d.ts.map +0 -1
  182. package/dist/assets/icons/icon-openai.js +0 -4
  183. package/dist/assets/icons/icon-plus-circle.d.ts +0 -5
  184. package/dist/assets/icons/icon-plus-circle.d.ts.map +0 -1
  185. package/dist/assets/icons/icon-plus-circle.js +0 -4
  186. package/dist/assets/icons/icon-refresh-counter-clockwise.d.ts +0 -5
  187. package/dist/assets/icons/icon-refresh-counter-clockwise.d.ts.map +0 -1
  188. package/dist/assets/icons/icon-refresh-counter-clockwise.js +0 -4
  189. package/dist/assets/icons/icon-robot.d.ts +0 -5
  190. package/dist/assets/icons/icon-robot.d.ts.map +0 -1
  191. package/dist/assets/icons/icon-robot.js +0 -4
  192. package/dist/assets/icons/icon-sandbox.d.ts +0 -5
  193. package/dist/assets/icons/icon-sandbox.d.ts.map +0 -1
  194. package/dist/assets/icons/icon-sandbox.js +0 -4
  195. package/dist/assets/icons/icon-slash-forward.d.ts +0 -8
  196. package/dist/assets/icons/icon-slash-forward.d.ts.map +0 -1
  197. package/dist/assets/icons/icon-slash-forward.js +0 -4
  198. package/dist/assets/icons/icon-sparkles.d.ts +0 -5
  199. package/dist/assets/icons/icon-sparkles.d.ts.map +0 -1
  200. package/dist/assets/icons/icon-sparkles.js +0 -4
  201. package/dist/assets/icons/icon-sun-small.d.ts +0 -5
  202. package/dist/assets/icons/icon-sun-small.d.ts.map +0 -1
  203. package/dist/assets/icons/icon-sun-small.js +0 -4
  204. package/dist/assets/icons/icon-sun.d.ts +0 -5
  205. package/dist/assets/icons/icon-sun.d.ts.map +0 -1
  206. package/dist/assets/icons/icon-sun.js +0 -4
  207. package/dist/assets/icons/icon-trash.d.ts +0 -5
  208. package/dist/assets/icons/icon-trash.d.ts.map +0 -1
  209. package/dist/assets/icons/icon-trash.js +0 -4
  210. package/dist/assets/icons/icon-user.d.ts +0 -5
  211. package/dist/assets/icons/icon-user.d.ts.map +0 -1
  212. package/dist/assets/icons/icon-user.js +0 -4
  213. package/dist/assets/icons/icon-workflow.d.ts +0 -5
  214. package/dist/assets/icons/icon-workflow.d.ts.map +0 -1
  215. package/dist/assets/icons/icon-workflow.js +0 -4
  216. package/dist/assets/icons/icon-wrench.d.ts +0 -5
  217. package/dist/assets/icons/icon-wrench.d.ts.map +0 -1
  218. package/dist/assets/icons/icon-wrench.js +0 -4
  219. package/dist/assets/icons/index.d.ts +0 -35
  220. package/dist/assets/icons/index.d.ts.map +0 -1
  221. package/dist/assets/icons/index.js +0 -35
  222. package/dist/assets/logos/index.d.ts +0 -17
  223. package/dist/assets/logos/index.d.ts.map +0 -1
  224. package/dist/assets/logos/index.js +0 -17
  225. package/dist/assets/logos/logo-ai-elements.d.ts +0 -5
  226. package/dist/assets/logos/logo-ai-elements.d.ts.map +0 -1
  227. package/dist/assets/logos/logo-ai-elements.js +0 -5
  228. package/dist/assets/logos/logo-ai-sdk.d.ts +0 -5
  229. package/dist/assets/logos/logo-ai-sdk.d.ts.map +0 -1
  230. package/dist/assets/logos/logo-ai-sdk.js +0 -5
  231. package/dist/assets/logos/logo-chat-sdk.d.ts +0 -5
  232. package/dist/assets/logos/logo-chat-sdk.d.ts.map +0 -1
  233. package/dist/assets/logos/logo-chat-sdk.js +0 -5
  234. package/dist/assets/logos/logo-eve.d.ts +0 -5
  235. package/dist/assets/logos/logo-eve.d.ts.map +0 -1
  236. package/dist/assets/logos/logo-eve.js +0 -5
  237. package/dist/assets/logos/logo-flags-sdk.d.ts +0 -5
  238. package/dist/assets/logos/logo-flags-sdk.d.ts.map +0 -1
  239. package/dist/assets/logos/logo-flags-sdk.js +0 -5
  240. package/dist/assets/logos/logo-icon-vercel.d.ts +0 -5
  241. package/dist/assets/logos/logo-icon-vercel.d.ts.map +0 -1
  242. package/dist/assets/logos/logo-icon-vercel.js +0 -4
  243. package/dist/assets/logos/logo-nextjs.d.ts +0 -5
  244. package/dist/assets/logos/logo-nextjs.d.ts.map +0 -1
  245. package/dist/assets/logos/logo-nextjs.js +0 -9
  246. package/dist/assets/logos/logo-streamdown.d.ts +0 -5
  247. package/dist/assets/logos/logo-streamdown.d.ts.map +0 -1
  248. package/dist/assets/logos/logo-streamdown.js +0 -5
  249. package/dist/assets/logos/logo-svelte-kit.d.ts +0 -5
  250. package/dist/assets/logos/logo-svelte-kit.d.ts.map +0 -1
  251. package/dist/assets/logos/logo-svelte-kit.js +0 -4
  252. package/dist/assets/logos/logo-turborepo.d.ts +0 -5
  253. package/dist/assets/logos/logo-turborepo.d.ts.map +0 -1
  254. package/dist/assets/logos/logo-turborepo.js +0 -5
  255. package/dist/assets/logos/logo-vercel-oss.d.ts +0 -5
  256. package/dist/assets/logos/logo-vercel-oss.d.ts.map +0 -1
  257. package/dist/assets/logos/logo-vercel-oss.js +0 -4
  258. package/dist/assets/logos/logo-workflow-sdk.d.ts +0 -5
  259. package/dist/assets/logos/logo-workflow-sdk.d.ts.map +0 -1
  260. package/dist/assets/logos/logo-workflow-sdk.js +0 -5
  261. package/dist/components/badge.d.ts +0 -11
  262. package/dist/components/badge.d.ts.map +0 -1
  263. package/dist/components/badge.js +0 -22
  264. package/dist/components/button-group.d.ts +0 -2
  265. package/dist/components/button-group.d.ts.map +0 -1
  266. package/dist/components/button-group.js +0 -2
  267. package/dist/components/button.d.ts +0 -2
  268. package/dist/components/button.d.ts.map +0 -1
  269. package/dist/components/button.js +0 -2
  270. package/dist/components/card.d.ts +0 -2
  271. package/dist/components/card.d.ts.map +0 -1
  272. package/dist/components/card.js +0 -2
  273. package/dist/components/dialog.d.ts +0 -13
  274. package/dist/components/dialog.d.ts.map +0 -1
  275. package/dist/components/dialog.js +0 -35
  276. package/dist/components/drawer.d.ts +0 -2
  277. package/dist/components/drawer.d.ts.map +0 -1
  278. package/dist/components/drawer.js +0 -3
  279. package/dist/components/input-group.d.ts +0 -2
  280. package/dist/components/input-group.d.ts.map +0 -1
  281. package/dist/components/input-group.js +0 -3
  282. package/dist/components/input.d.ts +0 -2
  283. package/dist/components/input.d.ts.map +0 -1
  284. package/dist/components/input.js +0 -2
  285. package/dist/components/kbd.d.ts +0 -2
  286. package/dist/components/kbd.d.ts.map +0 -1
  287. package/dist/components/kbd.js +0 -2
  288. package/dist/components/separator.d.ts +0 -2
  289. package/dist/components/separator.d.ts.map +0 -1
  290. package/dist/components/separator.js +0 -3
  291. package/dist/components/sheet.d.ts +0 -2
  292. package/dist/components/sheet.d.ts.map +0 -1
  293. package/dist/components/sheet.js +0 -3
  294. package/dist/components/sonner.d.ts +0 -2
  295. package/dist/components/sonner.d.ts.map +0 -1
  296. package/dist/components/sonner.js +0 -3
  297. package/dist/components/spinner.d.ts +0 -2
  298. package/dist/components/spinner.d.ts.map +0 -1
  299. package/dist/components/spinner.js +0 -2
  300. package/dist/components/switch.d.ts +0 -11
  301. package/dist/components/switch.d.ts.map +0 -1
  302. package/dist/components/switch.js +0 -12
  303. package/dist/components/textarea.d.ts +0 -2
  304. package/dist/components/textarea.d.ts.map +0 -1
  305. package/dist/components/textarea.js +0 -2
  306. package/dist/components/theme-aware-image.d.ts +0 -12
  307. package/dist/components/theme-aware-image.d.ts.map +0 -1
  308. package/dist/components/theme-aware-image.js +0 -8
  309. package/dist/components/theme-switcher.d.ts +0 -8
  310. package/dist/components/theme-switcher.d.ts.map +0 -1
  311. package/dist/components/theme-switcher.js +0 -37
  312. package/dist/components/tooltip.d.ts +0 -2
  313. package/dist/components/tooltip.d.ts.map +0 -1
  314. package/dist/components/tooltip.js +0 -3
  315. package/dist/internal/chat/shimmer.d.ts +0 -11
  316. package/dist/internal/chat/shimmer.d.ts.map +0 -1
  317. package/dist/internal/chat/shimmer.js +0 -22
  318. package/dist/internal/cn.d.ts +0 -3
  319. package/dist/internal/cn.d.ts.map +0 -1
  320. package/dist/internal/cn.js +0 -47
  321. package/dist/internal/ui/button-group.d.ts +0 -13
  322. package/dist/internal/ui/button-group.d.ts.map +0 -1
  323. package/dist/internal/ui/button-group.js +0 -26
  324. package/dist/internal/ui/button.d.ts +0 -12
  325. package/dist/internal/ui/button.d.ts.map +0 -1
  326. package/dist/internal/ui/button.js +0 -33
  327. package/dist/internal/ui/card.d.ts +0 -6
  328. package/dist/internal/ui/card.d.ts.map +0 -1
  329. package/dist/internal/ui/card.js +0 -14
  330. package/dist/internal/ui/drawer.d.ts +0 -8
  331. package/dist/internal/ui/drawer.d.ts.map +0 -1
  332. package/dist/internal/ui/drawer.js +0 -19
  333. package/dist/internal/ui/input-group.d.ts +0 -15
  334. package/dist/internal/ui/input-group.d.ts.map +0 -1
  335. package/dist/internal/ui/input-group.js +0 -44
  336. package/dist/internal/ui/input.d.ts +0 -3
  337. package/dist/internal/ui/input.d.ts.map +0 -1
  338. package/dist/internal/ui/input.js +0 -5
  339. package/dist/internal/ui/kbd.d.ts +0 -4
  340. package/dist/internal/ui/kbd.d.ts.map +0 -1
  341. package/dist/internal/ui/kbd.js +0 -8
  342. package/dist/internal/ui/separator.d.ts +0 -4
  343. package/dist/internal/ui/separator.d.ts.map +0 -1
  344. package/dist/internal/ui/separator.js +0 -7
  345. package/dist/internal/ui/sheet.d.ts +0 -13
  346. package/dist/internal/ui/sheet.d.ts.map +0 -1
  347. package/dist/internal/ui/sheet.js +0 -24
  348. package/dist/internal/ui/sonner.d.ts +0 -3
  349. package/dist/internal/ui/sonner.d.ts.map +0 -1
  350. package/dist/internal/ui/sonner.js +0 -20
  351. package/dist/internal/ui/spinner.d.ts +0 -3
  352. package/dist/internal/ui/spinner.d.ts.map +0 -1
  353. package/dist/internal/ui/spinner.js +0 -6
  354. package/dist/internal/ui/textarea.d.ts +0 -3
  355. package/dist/internal/ui/textarea.d.ts.map +0 -1
  356. package/dist/internal/ui/textarea.js +0 -5
  357. package/dist/internal/ui/tooltip.d.ts +0 -7
  358. package/dist/internal/ui/tooltip.d.ts.map +0 -1
  359. package/dist/internal/ui/tooltip.js +0 -16
  360. package/docs/pages/theme-aware-image.md +0 -59
  361. package/template/app/[lang]/(home)/components/centered-section.tsx +0 -32
  362. package/template/content/docs/theme-aware-image.mdx +0 -57
package/dist/mdx.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"md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AAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;AAEnD,eAAO,MAAM,yBAAyB,GACpC,aAAa,sBAAsB,KAClC,sBA+BD,CAAC;AAEH,eAAO,MAAM,mBAAmB,GAC9B,aAAa,sBAAsB,KAClC,sBAA+D,CAAC;AAEnE,eAAO,MAAM,2BAA2B,GACtC,GAAG,eAAe,KAAK,CAAC,sBAAsB,GAAG,SAAS,CAAC,KAC1D,sBACkD,CAAC"}
package/dist/mdx.js CHANGED
@@ -3,7 +3,7 @@ import { TypeTable } from "fumadocs-ui/components/type-table";
3
3
  import defaultMdxComponents from "fumadocs-ui/mdx";
4
4
  import { Callout, CalloutContainer, CalloutDescription, CalloutTitle, } from "./components/callout";
5
5
  import { CodeBlock } from "./components/code-block";
6
- import { CodeBlockTab, CodeBlockTabs, CodeBlockTabsList, CodeBlockTabsTrigger, } from "./components/code-block-tabs";
6
+ import { CodeBlockTab, CodeBlockTabs, CodeBlockTabsList, CodeBlockTabsTrigger, CompactCodeBlockTabs, } from "./components/code-block-tabs";
7
7
  import { CopyPrompt } from "./components/copy-prompt";
8
8
  import { Mermaid } from "./components/mermaid";
9
9
  import { Video } from "./components/video";
@@ -18,6 +18,7 @@ export const getGeistdocsMDXComponents = (components) => ({
18
18
  pre: CodeBlock,
19
19
  a: ({ href, ...props }) => typeof href === "string" && href.startsWith("/") ? (_jsx(LocalizedLink, { className: "font-normal text-gray-1000 no-underline", href: href, ...props })) : (_jsx("a", { href: href, ...props, className: "font-normal text-gray-1000 no-underline" })),
20
20
  CodeBlockTabs,
21
+ CompactCodeBlockTabs,
21
22
  CodeBlockTabsList,
22
23
  CodeBlockTabsTrigger,
23
24
  CodeBlockTab,
@@ -1 +1 @@
1
- {"version":3,"file":"mobile-docs-bar.d.ts","sourceRoot":"","sources":["../src/mobile-docs-bar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQzD,UAAU,kBAAkB;IAC1B,GAAG,CAAC,EAAE,eAAe,CAAC;CACvB;AAcD,eAAO,MAAM,aAAa,GAAI,SAAS,kBAAkB,4CA0ExD,CAAC"}
1
+ {"version":3,"file":"mobile-docs-bar.d.ts","sourceRoot":"","sources":["../src/mobile-docs-bar.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAMzD,UAAU,kBAAkB;IAC1B,GAAG,CAAC,EAAE,eAAe,CAAC;CACvB;AAcD,eAAO,MAAM,aAAa,GAAI,SAAS,kBAAkB,4CA0ExD,CAAC"}
@@ -1,9 +1,8 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
+ import { IconFileText, IconMenuAlt } from "@vercel/geistcn-assets/icons";
3
4
  import { useActiveAnchors } from "fumadocs-core/toc";
4
5
  import { useState } from "react";
5
- import { IconFileText } from "./assets/icons/icon-file-text";
6
- import { IconMenuAlt } from "./assets/icons/icon-menu-alt";
7
6
  import { Popover, PopoverContent, PopoverTrigger } from "./internal/ui/popover";
8
7
  import { useGeistdocsSidebar } from "./sidebar";
9
8
  // Text indentation per heading depth. Top-level items sit flush with the
package/dist/navbar.js CHANGED
@@ -5,7 +5,8 @@ import { DesktopMenu } from "./internal/navbar/desktop-menu";
5
5
  import { MobileMenu } from "./internal/navbar/mobile-menu";
6
6
  import { NavbarLogo } from "./internal/navbar/navbar-logo";
7
7
  import { NavbarShell } from "./internal/navbar/navbar-shell";
8
- const SEARCH_BUTTON_CLASSES = "group hidden h-10 justify-between pr-1.5 text-gray-900 shadow-none @min-[1024px]:flex @min-[1024px]:h-8 @min-[1024px]:w-[150px] [&_[data-slot=kbd]]:transition-colors group-hover:[&_[data-slot=kbd]]:text-gray-1000";
8
+ // const SEARCH_BUTTON_CLASSES =
9
+ // "group hidden h-10 justify-between pr-1.5 text-gray-900 @min-[1024px]:flex @min-[1024px]:h-8 @min-[1024px]:w-[150px] [&_[data-slot=kbd]]:transition-colors group-hover:[&_[data-slot=kbd]]:text-gray-1000";
9
10
  export const Navbar = ({ config }) => {
10
11
  const nav = config.nav ?? [];
11
12
  const variant = config.navbarVariant ?? "oss";
@@ -16,5 +17,5 @@ export const Navbar = ({ config }) => {
16
17
  // resolved and filtered inside the client menus below. Pass the raw custom
17
18
  // list (if any) and the active product down; each menu drops the active one.
18
19
  const activeProduct = config.navbarActiveProduct;
19
- return (_jsx(NavbarShell, { children: _jsxs("div", { className: "@container mx-auto flex w-full max-w-[1448px] justify-between px-2", children: [_jsxs("div", { className: "flex select-none flex-row items-center", children: [isOss ? (_jsx(NavbarLogo, { activeProduct: activeProduct, className: "ml-4", href: config.logoHref, logo: config.logo, ossProducts: config.navbarOssProducts, variant: "oss" })) : (_jsx(NavbarLogo, { className: "ml-4", href: config.logoHref, logo: config.logo, variant: "standard" })), _jsx(DesktopMenu, { className: "@min-[1024px]:flex hidden", items: nav })] }), _jsxs("div", { className: "mr-4 flex flex-row items-center justify-end gap-2", children: [_jsx(SearchButton, { className: SEARCH_BUTTON_CLASSES }), _jsx(AskAIButton, { className: "@min-[768px]:flex hidden shrink-0 shadow-none", size: "sm", variant: "outline" }), _jsx(AskAIButton, { className: "@min-[768px]:hidden shadow-none", size: "sm", variant: "outline" }), showGithub ? (_jsx(GitHubButton, { className: "@min-[768px]:inline-flex hidden shrink-0", github: config.github })) : null, _jsx(MobileMenu, { activeProduct: activeProduct, githubUrl: githubUrl, nav: nav, ossProducts: config.navbarOssProducts, showOss: isOss })] })] }) }));
20
+ return (_jsx(NavbarShell, { children: _jsxs("div", { className: "@container mx-auto flex w-full max-w-[1448px] justify-between px-2", children: [_jsxs("div", { className: "flex select-none flex-row items-center", children: [isOss ? (_jsx(NavbarLogo, { activeProduct: activeProduct, className: "ml-4", href: config.logoHref, logo: config.logo, ossProducts: config.navbarOssProducts, variant: "oss" })) : (_jsx(NavbarLogo, { className: "ml-4", href: config.logoHref, logo: config.logo, variant: "standard" })), _jsx(DesktopMenu, { className: "@min-[1024px]:flex hidden", items: nav })] }), _jsxs("div", { className: "mr-4 flex flex-row items-center justify-end gap-2", children: [_jsx(SearchButton, { className: "@min-[1024px]:flex hidden w-36" }), _jsx(AskAIButton, { className: "@min-[768px]:flex hidden shrink-0", size: "small", variant: "secondary" }), _jsx(AskAIButton, { className: "@min-[768px]:hidden", size: "small", variant: "secondary" }), showGithub ? (_jsx(GitHubButton, { className: "@min-[768px]:inline-flex hidden shrink-0", github: config.github })) : null, _jsx(MobileMenu, { activeProduct: activeProduct, githubUrl: githubUrl, nav: nav, ossProducts: config.navbarOssProducts, showOss: isOss })] })] }) }));
20
21
  };
@@ -1 +1 @@
1
- {"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/pages/docs.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,QAAQ,IAAI,gBAAgB,EAE7B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,EAAE,KAAK,eAAe,EAA+B,MAAM,WAAW,CAAC;AAc9E,OAAO,EACL,KAAK,2BAA2B,EAEjC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAEvD,KAAK,YAAY,GAAG,qBAAqB,CAAC;AAC1C,KAAK,aAAa,GAAG,WAAW,CAAC,UAAU,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;AAChF,KAAK,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC9D,KAAK,YAAY,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC;AACvC,KAAK,qBAAqB,GAAG,WAAW,CACtC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Y,CAAC;IACnB,MAAM,EAAE,YAAY,CAAC;IACrB,cAAc,CAAC,EAAE,qBAAqB,CAAC;IACvC,qBAAqB,CAAC,EAAE,cAAc,CACpC,OAAO,gBAAgB,CACxB,CAAC,uBAAuB,CAAC,CAAC;CAC5B;AAyCD,eAAO,MAAM,cAAc,GAAI,6LAe5B,qBAAqB;wBAiMnB;QACD,MAAM,EAAE,OAAO,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;SAAE,CAAC,CAAC;KACpD;;oCAcE;QACD,MAAM,EAAE,OAAO,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;SAAE,CAAC,CAAC;KACpD,KAAG,OAAO,CAAC,QAAQ,CAAC;CAwDtB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;CAA4B,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { cn } from "@vercel/geistcn/utils";
2
3
  import Link from "fumadocs-core/link";
3
4
  import { DocsBody as FumadocsDocsBody, DocsDescription as FumadocsDocsDescription, DocsPage as FumadocsDocsPage, DocsTitle as FumadocsDocsTitle, } from "fumadocs-ui/layouts/docs/page";
4
5
  import { createRelativeLink } from "fumadocs-ui/mdx";
5
6
  import { notFound } from "next/navigation";
6
7
  import { getPublicPath, withBasePath } from "../config";
7
- import { cn } from "../internal/cn";
8
8
  import { DocsPageErrorBoundary } from "../internal/docs-page-error-boundary";
9
9
  import { resolveDocumentTitle } from "../internal/document-title";
10
10
  import { resolvePageMarkdownUrl as resolveInternalPageMarkdownUrl } from "../internal/markdown-url.js";
@@ -1 +1 @@
1
- {"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../src/source.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,aAAa,EAClB,MAAM,EAEP,MAAM,sBAAsB,C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C;CAC1D;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,GAAI,6CAKjC,0BAA0B,KAAG,MAAM,EAYrC,CAAC;AAEF,MAAM,WAAW,gCAAgC;IAC/C,UAAU,CAAC,EAAE,0BAA0B,CAAC,YAAY,CAAC,CAAC;IACtD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,OAAO,sBAAsB,CAAC,EAAE,KAAK,CAAC,CAAC;CAClE;AAED;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,GAAI,iCAIvC,gCAAgC,KAAG,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAiBvE,CAAC"}
package/dist/source.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineI18n } from "fumadocs-core/i18n";
2
2
  import { loader, } from "fumadocs-core/source";
3
- import { lucideIconsPlugin } from "fumadocs-core/source/lucide-icons";
4
3
  import { getPublicPath, withBasePath, } from "./config.js";
5
4
  import { stripVersionRoutePrefix, } from "./internal/version-paths.js";
6
5
  const MARKDOWN_LINK_PATTERN = /(\]\()(\/(?!\/)[^)\s]*)/g;
@@ -98,7 +97,6 @@ export const createSource = ({ docs, config, baseUrl = "/docs", id, label, markd
98
97
  transformers: [pageTreeTransformer],
99
98
  },
100
99
  source: docs.toFumadocsSource(),
101
- plugins: [lucideIconsPlugin()],
102
100
  });
103
101
  const getPageImage = (page) => {
104
102
  const segments = [...page.slugs, "image.png"];
@@ -1 +1 @@
1
- {"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../src/versions.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAQhF,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,6BAA6B,CAAC;AAErC,YAAY,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC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 +1,8 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { ArchiveIcon, BoxIcon, CheckIcon, ChevronDownIcon } from "lucide-react";
3
+ import { cn } from "@vercel/geistcn/utils";
4
+ import { IconArchive, IconBox, IconCheck, IconChevronDown, } from "@vercel/geistcn-assets/icons";
4
5
  import { usePathname, useRouter } from "next/navigation";
5
- import { cn } from "./internal/cn";
6
6
  import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "./internal/ui/dropdown-menu";
7
7
  import { resolveVersionSwitchPath, } from "./internal/version-paths.js";
8
8
  const LEADING_SLASH_PATTERN = /^\//;
@@ -21,7 +21,7 @@ const SelectIcon = ({ active, children, }) => (_jsx("span", { className: cn("fle
21
21
  ? "border-blue-500 bg-blue-100 text-blue-900"
22
22
  : "border-gray-alpha-400 bg-gray-100 text-gray-800"), children: children }));
23
23
  const VersionIcon = ({ active }) => {
24
- const Icon = active ? BoxIcon : ArchiveIcon;
24
+ const Icon = active ? IconBox : IconArchive;
25
25
  return (_jsx(SelectIcon, { active: active, children: _jsx(Icon, { className: "size-5" }) }));
26
26
  };
27
27
  const defaultRenderIcon = ({ active, item, }) => (item.icon ? _jsx(SelectIcon, { active: active, children: item.icon }) : null);
@@ -73,10 +73,10 @@ export const GeistdocsRouteSelect = ({ ariaLabel = "Select route", className, cu
73
73
  const currentDescription = currentItem
74
74
  ? getDescription({ active: true, item: currentItem })
75
75
  : null;
76
- return (_jsxs(DropdownMenu, { children: [_jsx(DropdownMenuTrigger, { asChild: true, children: _jsxs("button", { "aria-label": ariaLabel, className: cn("group flex w-full items-center gap-2 rounded-md px-2 py-2 text-left outline-none transition-colors duration-150 ease-[cubic-bezier(0.175,0.885,0.32,1.1)] hover:bg-gray-alpha-100 focus-visible:shadow-[var(--ds-focus-ring)] active:bg-gray-alpha-300 data-[state=open]:bg-gray-alpha-100 motion-reduce:transition-none", className), type: "button", children: [currentItem ? renderIcon({ active: true, item: currentItem }) : null, _jsxs("span", { className: "min-w-0 flex-1", children: [_jsx("span", { className: "block truncate text-button-14 text-gray-1000", children: currentItem?.label ?? currentId }), currentDescription ? (_jsx("span", { className: "block truncate text-gray-900 text-label-13", children: currentDescription })) : null] }), _jsx(ChevronDownIcon, { className: "size-4 shrink-0 text-gray-900 transition-transform duration-150 ease-[cubic-bezier(0.175,0.885,0.32,1.1)] group-data-[state=open]:rotate-180 motion-reduce:transition-none" })] }) }), _jsx(DropdownMenuContent, { align: "start", className: "w-(--radix-dropdown-menu-trigger-width) min-w-64 rounded-xl bg-background-100 p-1 shadow-(--ds-shadow-menu)", children: items.map((item) => {
76
+ return (_jsxs(DropdownMenu, { children: [_jsx(DropdownMenuTrigger, { asChild: true, children: _jsxs("button", { "aria-label": ariaLabel, className: cn("group flex w-full items-center gap-2 rounded-md px-2 py-2 text-left outline-none transition-colors duration-150 ease-[cubic-bezier(0.175,0.885,0.32,1.1)] hover:bg-gray-alpha-100 focus-visible:shadow-[var(--ds-focus-ring)] active:bg-gray-alpha-300 data-[state=open]:bg-gray-alpha-100 motion-reduce:transition-none", className), type: "button", children: [currentItem ? renderIcon({ active: true, item: currentItem }) : null, _jsxs("span", { className: "min-w-0 flex-1", children: [_jsx("span", { className: "block truncate text-button-14 text-gray-1000", children: currentItem?.label ?? currentId }), currentDescription ? (_jsx("span", { className: "block truncate text-gray-900 text-label-13", children: currentDescription })) : null] }), _jsx(IconChevronDown, { className: "size-4 shrink-0 text-gray-900 transition-transform duration-150 ease-[cubic-bezier(0.175,0.885,0.32,1.1)] group-data-[state=open]:rotate-180 motion-reduce:transition-none" })] }) }), _jsx(DropdownMenuContent, { align: "start", className: "w-(--radix-dropdown-menu-trigger-width) min-w-64 rounded-xl bg-background-100 p-1 shadow-(--ds-shadow-menu)", children: items.map((item) => {
77
77
  const active = item.id === currentId;
78
78
  const description = getDescription({ active, item });
79
- return (_jsxs(DropdownMenuItem, { "aria-current": active ? "page" : undefined, className: "flex cursor-pointer items-center gap-2 rounded-md px-2 py-2", onSelect: () => navigateToItem(item), children: [renderIcon({ active, item }), _jsxs("span", { className: "min-w-0 flex-1", children: [_jsx("span", { className: "block truncate text-button-14 text-gray-1000", children: item.label }), description ? (_jsx("span", { className: "block truncate text-gray-900 text-label-13", children: description })) : null] }), active ? _jsx(CheckIcon, { className: "size-4 text-blue-900" }) : null] }, item.id));
79
+ return (_jsxs(DropdownMenuItem, { "aria-current": active ? "page" : undefined, className: "flex cursor-pointer items-center gap-2 rounded-md px-2 py-2", onSelect: () => navigateToItem(item), children: [renderIcon({ active, item }), _jsxs("span", { className: "min-w-0 flex-1", children: [_jsx("span", { className: "block truncate text-button-14 text-gray-1000", children: item.label }), description ? (_jsx("span", { className: "block truncate text-gray-900 text-label-13", children: description })) : null] }), active ? _jsx(IconCheck, { className: "size-4 text-blue-900" }) : null] }, item.id));
80
80
  }) })] }));
81
81
  };
82
82
  export const GeistdocsVersionSelect = ({ className, current, paths, versions, }) => {
package/docs/agents.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Geistdocs Package Docs
2
2
 
3
- These docs are bundled with `@vercel/geistdocs` 1.25.0 so agents can understand the installed package without web access.
3
+ These docs are bundled with `@vercel/geistdocs` 1.25.1-canary.bd8995b so agents can understand the installed package without web access.
4
4
  They are generated from `apps/template/content/docs` during the package build.
5
5
 
6
6
  ## How to use these files
@@ -43,4 +43,3 @@ They are generated from `apps/template/content/docs` during the package build.
43
43
  - [Open in Chat](pages/open-in-chat.md): Transfer documentation context to AI chat platforms like ChatGPT, Claude, Cursor, and v0 with a single click.
44
44
  - [RSS](pages/rss.md): An automatically generated RSS 2.0 feed that keeps users informed when documentation is published or updated.
45
45
  - [Table of contents](pages/table-of-contents.md): Geistdocs builds the "On this page" outline from your headings, indents sub-headings under their parent, and tracks the active section along a straight vertical guide rail.
46
- - [Theme-Aware Image](pages/theme-aware-image.md): A component that swaps images based on the active theme, built on top of Next.js Image.
package/docs/llms.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  # Geistdocs Package Documentation
2
2
 
3
- These docs are bundled with `@vercel/geistdocs` 1.25.0.
3
+ These docs are bundled with `@vercel/geistdocs` 1.25.1-canary.bd8995b.
4
4
  They describe how to build package-backed Geistdocs sites and how to use the package APIs from generated project adapters.
5
5
 
6
6
  ## Documentation Index
@@ -26,7 +26,6 @@ They describe how to build package-backed Geistdocs sites and how to use the pac
26
26
  - [Open in Chat](pages/open-in-chat.md): Transfer documentation context to AI chat platforms like ChatGPT, Claude, Cursor, and v0 with a single click.
27
27
  - [RSS](pages/rss.md): An automatically generated RSS 2.0 feed that keeps users informed when documentation is published or updated.
28
28
  - [Table of contents](pages/table-of-contents.md): Geistdocs builds the "On this page" outline from your headings, indents sub-headings under their parent, and tracks the active section along a straight vertical guide rail.
29
- - [Theme-Aware Image](pages/theme-aware-image.md): A component that swaps images based on the active theme, built on top of Next.js Image.
30
29
 
31
30
  ---
32
31
 
@@ -424,7 +423,7 @@ Fix unrelated build failures first. A migration is safer when the starting point
424
423
 
425
424
  ## Install Geistdocs
426
425
 
427
- Add `@vercel/geistdocs` and align the supported Fumadocs and Next.js dependencies for the package version you are adopting.
426
+ Add `@vercel/geistdocs` and align the supported Fumadocs and Next.js dependencies for the package version you are adopting. Geistdocs requires Next.js 16.3.3 or later within 16.x. Earlier 16.3 releases can retain an optional catch-all route's index content after a client navigation to a child page when Cache Components and Partial Prefetching are enabled.
428
427
 
429
428
  For an existing project, use your package manager directly:
430
429
 
@@ -757,16 +756,14 @@ For a base-path application whose root page is documentation, add `"/"` to the s
757
756
  Tailwind CSS v4 requires `@source` entries for package components and related dependencies.
758
757
 
759
758
  ```css title="app/styles/geistdocs.css"
760
- @import "tailwindcss";
759
+ @import "@vercel/geistcn/tailwind.css";
760
+ @import "@vercel/geistcn/styles.css";
761
761
  @import "fumadocs-ui/css/shadcn.css";
762
762
  @import "fumadocs-ui/css/preset.css";
763
- @import "tw-animate-css";
764
-
765
- @source "../../node_modules/@vercel/geistdocs/dist/**/*.js";
766
- @source "../../node_modules/streamdown/dist/*.js";
763
+ @import "@vercel/geistdocs/theme.css";
767
764
  ```
768
765
 
769
- Move Tailwind CSS v3 plugin utilities into CSS-first v4 utilities or theme variables. Keep custom token names stable while you migrate components.
766
+ Geistcn owns the Geist tokens, theme, typography, preflight, and animation utilities. The Geistdocs theme entry point remains during the compatibility migration for documentation and Fumadocs integration rules and to source the compiled runtime dependencies.
770
767
 
771
768
  ## Handle environment variables
772
769
 
@@ -1205,7 +1202,9 @@ related:
1205
1202
 
1206
1203
  Geistdocs supports MDX, a superset of Markdown that allows you to use JSX components within your documentation. This guide covers all the formatting options available.
1207
1204
 
1208
- Help me write a Geistdocs MDX page. Use this page as a syntax reference and create an example page with frontmatter, headings, links, a code block, a `Callout`, and a `CopyPrompt` component.
1205
+ Help me write a Geistdocs MDX page. Use this page as a syntax reference and
1206
+ create an example page with frontmatter, headings, links, a code block, a
1207
+ `Callout`, and a `CopyPrompt` component.
1209
1208
 
1210
1209
  ## Frontmatter
1211
1210
 
@@ -1386,6 +1385,78 @@ export const Button = ({ children }) => {
1386
1385
  };
1387
1386
  ```
1388
1387
 
1388
+ ### Tabs and switchers
1389
+
1390
+ Use consecutive fences with `tab` metadata for code tabs that expose every
1391
+ option at once:
1392
+
1393
+ ````md
1394
+ ```ts tab="TypeScript" title="example.ts"
1395
+ export const greeting: string = "Hello from TypeScript";
1396
+ ```
1397
+
1398
+ ```js tab="JavaScript" title="example.js"
1399
+ export const greeting = "Hello from JavaScript";
1400
+ ```
1401
+ ````
1402
+
1403
+ This renders as:
1404
+
1405
+ ```ts tab="TypeScript" title="example.ts"
1406
+ export const greeting: string = "Hello from TypeScript";
1407
+ ```
1408
+
1409
+ ```js tab="JavaScript" title="example.js"
1410
+ export const greeting = "Hello from JavaScript";
1411
+ ```
1412
+
1413
+ Wrap the same fences in `<CodeBlockTabs compact>` to move the selector into the
1414
+ code-block header:
1415
+
1416
+ ````mdx
1417
+ <CompactCodeBlockTabs defaultValue="TypeScript">
1418
+ <CodeBlockTabsList>
1419
+ <CodeBlockTabsTrigger value="TypeScript">TypeScript</CodeBlockTabsTrigger>
1420
+ <CodeBlockTabsTrigger value="JavaScript">JavaScript</CodeBlockTabsTrigger>
1421
+ </CodeBlockTabsList>
1422
+ <CodeBlockTab value="TypeScript">
1423
+ ```ts title="example.ts"
1424
+ export const greeting: string = "Hello from TypeScript";
1425
+ ```
1426
+ </CodeBlockTab>
1427
+ <CodeBlockTab value="JavaScript">
1428
+ ```js title="example.js"
1429
+ export const greeting = "Hello from JavaScript";
1430
+ ```
1431
+ </CodeBlockTab>
1432
+ </CompactCodeBlockTabs>
1433
+ ````
1434
+
1435
+ This renders as:
1436
+
1437
+ <CompactCodeBlockTabs defaultValue="TypeScript">
1438
+ <CodeBlockTabsList>
1439
+ <CodeBlockTabsTrigger value="TypeScript">TypeScript</CodeBlockTabsTrigger>
1440
+ <CodeBlockTabsTrigger value="JavaScript">JavaScript</CodeBlockTabsTrigger>
1441
+ </CodeBlockTabsList>
1442
+ <CodeBlockTab value="TypeScript">
1443
+ ```ts title="example.ts"
1444
+ export const greeting: string = "Hello from TypeScript";
1445
+ ```
1446
+ </CodeBlockTab>
1447
+ <CodeBlockTab value="JavaScript">
1448
+ ```js title="example.js"
1449
+ export const greeting = "Hello from JavaScript";
1450
+ ```
1451
+ </CodeBlockTab>
1452
+ </CompactCodeBlockTabs>
1453
+
1454
+ When migrating an existing site such as next-site, translate adjacent
1455
+ `switcher` fences to `tab="TypeScript"` and `tab="JavaScript"`, then wrap the
1456
+ pair with `<CodeBlockTabs compact>`. Import `@vercel/geistdocs/styles.css` (or
1457
+ `theme.css` with the documented Geist dependencies) so Tailwind scans the
1458
+ package's compiled components and emits the tab layout utilities.
1459
+
1389
1460
  ### Framework icons
1390
1461
 
1391
1462
  Append `#<framework>` to the title to show a framework logo instead of the
@@ -1394,22 +1465,22 @@ values are `#next` / `#nextjs` and `#svelte` / `#sveltekit`:
1394
1465
 
1395
1466
  ````md
1396
1467
  ```ts title="flags.ts#next"
1397
- import { flag } from 'flags/next';
1468
+ import { flag } from "flags/next";
1398
1469
  ```
1399
1470
 
1400
1471
  ```ts title="flags.ts#svelte"
1401
- import { flag } from 'flags/sveltekit';
1472
+ import { flag } from "flags/sveltekit";
1402
1473
  ```
1403
1474
  ````
1404
1475
 
1405
1476
  This renders as:
1406
1477
 
1407
1478
  ```ts title="flags.ts#next"
1408
- import { flag } from 'flags/next';
1479
+ import { flag } from "flags/next";
1409
1480
  ```
1410
1481
 
1411
1482
  ```ts title="flags.ts#svelte"
1412
- import { flag } from 'flags/sveltekit';
1483
+ import { flag } from "flags/sveltekit";
1413
1484
  ```
1414
1485
 
1415
1486
  ### Line Numbers
@@ -1898,7 +1969,7 @@ Each version can define an `icon` to override the default current/previous versi
1898
1969
  Use `GeistdocsRouteSelect` for framework, product, or route switchers that should not use version-specific labels:
1899
1970
 
1900
1971
  ```tsx
1901
- import { LogoNextjs, LogoSvelteKit } from "@vercel/geistdocs/assets/logos";
1972
+ import { LogoIconNextSvg, LogoSvelte } from "@vercel/geistcn-assets/logos";
1902
1973
  import { GeistdocsRouteSelect } from "@vercel/geistdocs/versions";
1903
1974
 
1904
1975
  <GeistdocsRouteSelect
@@ -1909,14 +1980,14 @@ import { GeistdocsRouteSelect } from "@vercel/geistdocs/versions";
1909
1980
  id: "nextjs",
1910
1981
  label: "Next.js",
1911
1982
  description: "React framework",
1912
- icon: <LogoNextjs height={18} />,
1983
+ icon: <LogoIconNextSvg size={18} />,
1913
1984
  href: "/:path*",
1914
1985
  },
1915
1986
  {
1916
1987
  id: "sveltekit",
1917
1988
  label: "SvelteKit",
1918
1989
  description: "Svelte framework",
1919
- icon: <LogoSvelteKit height={18} />,
1990
+ icon: <LogoSvelte height={18} />,
1920
1991
  routePrefix: "/sveltekit",
1921
1992
  href: "/sveltekit/:path*",
1922
1993
  },
@@ -3607,66 +3678,3 @@ On mobile, Geistdocs replaces the sidebar outline with a compact menu in the pag
3607
3678
 
3608
3679
  Keep headings short and descriptive so the outline reads like a summary of the page. Name each heading after the goal of its section, and avoid stacking two headings with no content between them.
3609
3680
 
3610
-
3611
- ---
3612
-
3613
- ---
3614
- title: Theme-Aware Image
3615
- description: Display different images based on the user's light or dark theme preference
3616
- type: reference
3617
- summary: A component that swaps images based on the active theme, built on top of Next.js Image.
3618
- url: /docs/theme-aware-image
3619
- source: apps/template/content/docs/theme-aware-image.mdx
3620
- prerequisites:
3621
- - /docs/getting-started
3622
- - /docs/provider
3623
- related:
3624
- - /docs/syntax
3625
- - /docs/configuration
3626
- ---
3627
-
3628
- # Theme-Aware Image
3629
-
3630
- The `ThemeAwareImage` component renders different images depending on whether the user is viewing your documentation in light or dark mode. It extends the Next.js `Image` component, so you get all the same optimization benefits like lazy loading, responsive sizing, and format conversion.
3631
-
3632
- Help me add a theme-aware image to a Geistdocs MDX page. Create a usage example with light and dark image sources, alt text, width, and height, then explain where to place the image files.
3633
-
3634
- ## Usage
3635
-
3636
- Import the component and pass a `src` object with `light` and `dark` variants:
3637
-
3638
- ```tsx
3639
- import { ThemeAwareImage } from "@vercel/geistdocs/components/theme-aware-image";
3640
-
3641
- <ThemeAwareImage
3642
- src={{
3643
- light: "/images/diagram-light.png",
3644
- dark: "/images/diagram-dark.png",
3645
- }}
3646
- alt="Architecture diagram"
3647
- width={800}
3648
- height={400}
3649
- />
3650
- ```
3651
-
3652
- The component reads the current theme from `next-themes` and resolves the correct image source automatically. All standard Next.js `Image` props (such as `width`, `height`, `alt`, `priority`, and `className`) are supported.
3653
-
3654
- ## How it works
3655
-
3656
- `ThemeAwareImage` uses the `resolvedTheme` value from the `useTheme` hook provided by `next-themes`. This ensures it responds to the actual rendered theme, even when the user's preference is set to "system".
3657
-
3658
- - When `resolvedTheme` is `"dark"`, the `src.dark` image is displayed.
3659
- - Otherwise, the `src.light` image is used.
3660
-
3661
- Because this component relies on client-side theme detection, it is a client component (`"use client"`).
3662
-
3663
- ## Props
3664
-
3665
- | Prop | Type | Description |
3666
- | --- | --- | --- |
3667
- | `src` | `{ light: ImageProps["src"]; dark: ImageProps["src"] }` | An object containing the light and dark image sources |
3668
- | `alt` | `string` | Accessible alt text for the image |
3669
- | `width` | `number` | The width of the image in pixels |
3670
- | `height` | `number` | The height of the image in pixels |
3671
- | `...rest` | `ImageProps` | Any additional props supported by the Next.js `Image` component |
3672
-
@@ -196,17 +196,8 @@
196
196
  "title": "Table of contents",
197
197
  "type": "reference",
198
198
  "url": "/docs/table-of-contents"
199
- },
200
- {
201
- "description": "Display different images based on the user's light or dark theme preference",
202
- "path": "pages/theme-aware-image.md",
203
- "source": "apps/template/content/docs/theme-aware-image.mdx",
204
- "summary": "A component that swaps images based on the active theme, built on top of Next.js Image.",
205
- "title": "Theme-Aware Image",
206
- "type": "reference",
207
- "url": "/docs/theme-aware-image"
208
199
  }
209
200
  ],
210
201
  "source": "apps/template/content/docs",
211
- "version": "1.25.0"
202
+ "version": "1.25.1-canary.bd8995b"
212
203
  }
@@ -44,7 +44,7 @@ Fix unrelated build failures first. A migration is safer when the starting point
44
44
 
45
45
  ## Install Geistdocs
46
46
 
47
- Add `@vercel/geistdocs` and align the supported Fumadocs and Next.js dependencies for the package version you are adopting.
47
+ Add `@vercel/geistdocs` and align the supported Fumadocs and Next.js dependencies for the package version you are adopting. Geistdocs requires Next.js 16.3.3 or later within 16.x. Earlier 16.3 releases can retain an optional catch-all route's index content after a client navigation to a child page when Cache Components and Partial Prefetching are enabled.
48
48
 
49
49
  For an existing project, use your package manager directly:
50
50
 
@@ -377,16 +377,14 @@ For a base-path application whose root page is documentation, add `"/"` to the s
377
377
  Tailwind CSS v4 requires `@source` entries for package components and related dependencies.
378
378
 
379
379
  ```css title="app/styles/geistdocs.css"
380
- @import "tailwindcss";
380
+ @import "@vercel/geistcn/tailwind.css";
381
+ @import "@vercel/geistcn/styles.css";
381
382
  @import "fumadocs-ui/css/shadcn.css";
382
383
  @import "fumadocs-ui/css/preset.css";
383
- @import "tw-animate-css";
384
-
385
- @source "../../node_modules/@vercel/geistdocs/dist/**/*.js";
386
- @source "../../node_modules/streamdown/dist/*.js";
384
+ @import "@vercel/geistdocs/theme.css";
387
385
  ```
388
386
 
389
- Move Tailwind CSS v3 plugin utilities into CSS-first v4 utilities or theme variables. Keep custom token names stable while you migrate components.
387
+ Geistcn owns the Geist tokens, theme, typography, preflight, and animation utilities. The Geistdocs theme entry point remains during the compatibility migration for documentation and Fumadocs integration rules and to source the compiled runtime dependencies.
390
388
 
391
389
  ## Handle environment variables
392
390
 
@@ -15,7 +15,9 @@ related:
15
15
 
16
16
  Geistdocs supports MDX, a superset of Markdown that allows you to use JSX components within your documentation. This guide covers all the formatting options available.
17
17
 
18
- Help me write a Geistdocs MDX page. Use this page as a syntax reference and create an example page with frontmatter, headings, links, a code block, a `Callout`, and a `CopyPrompt` component.
18
+ Help me write a Geistdocs MDX page. Use this page as a syntax reference and
19
+ create an example page with frontmatter, headings, links, a code block, a
20
+ `Callout`, and a `CopyPrompt` component.
19
21
 
20
22
  ## Frontmatter
21
23
 
@@ -196,6 +198,78 @@ export const Button = ({ children }) => {
196
198
  };
197
199
  ```
198
200
 
201
+ ### Tabs and switchers
202
+
203
+ Use consecutive fences with `tab` metadata for code tabs that expose every
204
+ option at once:
205
+
206
+ ````md
207
+ ```ts tab="TypeScript" title="example.ts"
208
+ export const greeting: string = "Hello from TypeScript";
209
+ ```
210
+
211
+ ```js tab="JavaScript" title="example.js"
212
+ export const greeting = "Hello from JavaScript";
213
+ ```
214
+ ````
215
+
216
+ This renders as:
217
+
218
+ ```ts tab="TypeScript" title="example.ts"
219
+ export const greeting: string = "Hello from TypeScript";
220
+ ```
221
+
222
+ ```js tab="JavaScript" title="example.js"
223
+ export const greeting = "Hello from JavaScript";
224
+ ```
225
+
226
+ Wrap the same fences in `<CodeBlockTabs compact>` to move the selector into the
227
+ code-block header:
228
+
229
+ ````mdx
230
+ <CompactCodeBlockTabs defaultValue="TypeScript">
231
+ <CodeBlockTabsList>
232
+ <CodeBlockTabsTrigger value="TypeScript">TypeScript</CodeBlockTabsTrigger>
233
+ <CodeBlockTabsTrigger value="JavaScript">JavaScript</CodeBlockTabsTrigger>
234
+ </CodeBlockTabsList>
235
+ <CodeBlockTab value="TypeScript">
236
+ ```ts title="example.ts"
237
+ export const greeting: string = "Hello from TypeScript";
238
+ ```
239
+ </CodeBlockTab>
240
+ <CodeBlockTab value="JavaScript">
241
+ ```js title="example.js"
242
+ export const greeting = "Hello from JavaScript";
243
+ ```
244
+ </CodeBlockTab>
245
+ </CompactCodeBlockTabs>
246
+ ````
247
+
248
+ This renders as:
249
+
250
+ <CompactCodeBlockTabs defaultValue="TypeScript">
251
+ <CodeBlockTabsList>
252
+ <CodeBlockTabsTrigger value="TypeScript">TypeScript</CodeBlockTabsTrigger>
253
+ <CodeBlockTabsTrigger value="JavaScript">JavaScript</CodeBlockTabsTrigger>
254
+ </CodeBlockTabsList>
255
+ <CodeBlockTab value="TypeScript">
256
+ ```ts title="example.ts"
257
+ export const greeting: string = "Hello from TypeScript";
258
+ ```
259
+ </CodeBlockTab>
260
+ <CodeBlockTab value="JavaScript">
261
+ ```js title="example.js"
262
+ export const greeting = "Hello from JavaScript";
263
+ ```
264
+ </CodeBlockTab>
265
+ </CompactCodeBlockTabs>
266
+
267
+ When migrating an existing site such as next-site, translate adjacent
268
+ `switcher` fences to `tab="TypeScript"` and `tab="JavaScript"`, then wrap the
269
+ pair with `<CodeBlockTabs compact>`. Import `@vercel/geistdocs/styles.css` (or
270
+ `theme.css` with the documented Geist dependencies) so Tailwind scans the
271
+ package's compiled components and emits the tab layout utilities.
272
+
199
273
  ### Framework icons
200
274
 
201
275
  Append `#<framework>` to the title to show a framework logo instead of the
@@ -204,22 +278,22 @@ values are `#next` / `#nextjs` and `#svelte` / `#sveltekit`:
204
278
 
205
279
  ````md
206
280
  ```ts title="flags.ts#next"
207
- import { flag } from 'flags/next';
281
+ import { flag } from "flags/next";
208
282
  ```
209
283
 
210
284
  ```ts title="flags.ts#svelte"
211
- import { flag } from 'flags/sveltekit';
285
+ import { flag } from "flags/sveltekit";
212
286
  ```
213
287
  ````
214
288
 
215
289
  This renders as:
216
290
 
217
291
  ```ts title="flags.ts#next"
218
- import { flag } from 'flags/next';
292
+ import { flag } from "flags/next";
219
293
  ```
220
294
 
221
295
  ```ts title="flags.ts#svelte"
222
- import { flag } from 'flags/sveltekit';
296
+ import { flag } from "flags/sveltekit";
223
297
  ```
224
298
 
225
299
  ### Line Numbers