@vercel/geistdocs 1.25.0 → 1.25.1-canary.4e75e60

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 (402) hide show
  1. package/dist/cli/index.js +1 -1
  2. package/dist/components/blockquote.d.ts +3 -0
  3. package/dist/components/blockquote.d.ts.map +1 -0
  4. package/dist/components/blockquote.js +3 -0
  5. package/dist/components/callout.d.ts +13 -10
  6. package/dist/components/callout.d.ts.map +1 -1
  7. package/dist/components/callout.js +7 -7
  8. package/dist/components/code-block-tabs.d.ts +5 -2
  9. package/dist/components/code-block-tabs.d.ts.map +1 -1
  10. package/dist/components/code-block-tabs.js +30 -5
  11. package/dist/components/code-block.d.ts +2 -6
  12. package/dist/components/code-block.d.ts.map +1 -1
  13. package/dist/components/code-block.js +22 -68
  14. package/dist/components/command-prompt.d.ts.map +1 -1
  15. package/dist/components/command-prompt.js +18 -25
  16. package/dist/components/copy-prompt.d.ts +2 -1
  17. package/dist/components/copy-prompt.d.ts.map +1 -1
  18. package/dist/components/copy-prompt.js +5 -5
  19. package/dist/components/heading.d.ts +7 -0
  20. package/dist/components/heading.d.ts.map +1 -0
  21. package/dist/components/heading.js +14 -0
  22. package/dist/components/mermaid.js +1 -1
  23. package/dist/components/table.d.ts +3 -0
  24. package/dist/components/table.d.ts.map +1 -0
  25. package/dist/components/table.js +3 -0
  26. package/dist/controls.d.ts +8 -4
  27. package/dist/controls.d.ts.map +1 -1
  28. package/dist/controls.js +16 -15
  29. package/dist/footer.d.ts.map +1 -1
  30. package/dist/footer.js +6 -6
  31. package/dist/home-layout.js +1 -1
  32. package/dist/internal/chat/context.d.ts +2 -0
  33. package/dist/internal/chat/context.d.ts.map +1 -1
  34. package/dist/internal/chat/context.js +24 -3
  35. package/dist/internal/chat/conversation.d.ts +4 -3
  36. package/dist/internal/chat/conversation.d.ts.map +1 -1
  37. package/dist/internal/chat/conversation.js +5 -5
  38. package/dist/internal/chat/copy-chat.d.ts.map +1 -1
  39. package/dist/internal/chat/copy-chat.js +13 -10
  40. package/dist/internal/chat/dots-spinner.d.ts +5 -0
  41. package/dist/internal/chat/dots-spinner.d.ts.map +1 -0
  42. package/dist/internal/chat/dots-spinner.js +21 -0
  43. package/dist/internal/chat/loading-skeleton.d.ts +7 -0
  44. package/dist/internal/chat/loading-skeleton.d.ts.map +1 -0
  45. package/dist/internal/chat/loading-skeleton.js +46 -0
  46. package/dist/internal/chat/message-metadata.d.ts.map +1 -1
  47. package/dist/internal/chat/message-metadata.js +8 -7
  48. package/dist/internal/chat/message.d.ts.map +1 -1
  49. package/dist/internal/chat/message.js +26 -6
  50. package/dist/internal/chat/prompt-input.d.ts +1 -1
  51. package/dist/internal/chat/prompt-input.d.ts.map +1 -1
  52. package/dist/internal/chat/prompt-input.js +25 -27
  53. package/dist/internal/chat/shell.d.ts.map +1 -1
  54. package/dist/internal/chat/shell.js +36 -33
  55. package/dist/internal/chat/sources.d.ts +3 -1
  56. package/dist/internal/chat/sources.d.ts.map +1 -1
  57. package/dist/internal/chat/sources.js +9 -6
  58. package/dist/internal/chat/suggestion.d.ts +11 -6
  59. package/dist/internal/chat/suggestion.d.ts.map +1 -1
  60. package/dist/internal/chat/suggestion.js +5 -5
  61. package/dist/internal/docs-page-error-boundary.d.ts.map +1 -1
  62. package/dist/internal/docs-page-error-boundary.js +3 -3
  63. package/dist/internal/external-arrow.d.ts.map +1 -1
  64. package/dist/internal/external-arrow.js +1 -1
  65. package/dist/internal/footer/rss-button.d.ts.map +1 -1
  66. package/dist/internal/footer/rss-button.js +3 -3
  67. package/dist/internal/github-button.d.ts.map +1 -1
  68. package/dist/internal/github-button.js +3 -3
  69. package/dist/internal/mousedown-navigation-utils.d.ts +5 -0
  70. package/dist/internal/mousedown-navigation-utils.d.ts.map +1 -0
  71. package/dist/internal/mousedown-navigation-utils.js +95 -0
  72. package/dist/internal/mousedown-navigation.d.ts +10 -0
  73. package/dist/internal/mousedown-navigation.d.ts.map +1 -0
  74. package/dist/internal/mousedown-navigation.js +42 -0
  75. package/dist/internal/navbar/desktop-menu.d.ts.map +1 -1
  76. package/dist/internal/navbar/desktop-menu.js +3 -3
  77. package/dist/internal/navbar/mobile-menu.d.ts.map +1 -1
  78. package/dist/internal/navbar/mobile-menu.js +11 -16
  79. package/dist/internal/navbar/navbar-logo.d.ts.map +1 -1
  80. package/dist/internal/navbar/navbar-logo.js +6 -8
  81. package/dist/internal/navbar/navbar-shell.d.ts.map +1 -1
  82. package/dist/internal/navbar/navbar-shell.js +3 -2
  83. package/dist/internal/page-actions-client.d.ts.map +1 -1
  84. package/dist/internal/page-actions-client.js +52 -49
  85. package/dist/internal/page-breadcrumb.d.ts.map +1 -1
  86. package/dist/internal/page-breadcrumb.js +3 -3
  87. package/dist/internal/page-footer.d.ts.map +1 -1
  88. package/dist/internal/page-footer.js +2 -2
  89. package/dist/internal/provider-client.d.ts.map +1 -1
  90. package/dist/internal/provider-client.js +36 -12
  91. package/dist/internal/search.d.ts.map +1 -1
  92. package/dist/internal/search.js +2 -2
  93. package/dist/internal/sidebar-responsive.d.ts +0 -1
  94. package/dist/internal/sidebar-responsive.d.ts.map +1 -1
  95. package/dist/internal/sidebar-responsive.js +0 -9
  96. package/dist/internal/sidebar-tree.d.ts.map +1 -1
  97. package/dist/internal/sidebar-tree.js +9 -7
  98. package/dist/internal/sidebar.d.ts.map +1 -1
  99. package/dist/internal/sidebar.js +80 -53
  100. package/dist/internal/table-of-contents.d.ts.map +1 -1
  101. package/dist/internal/table-of-contents.js +1 -1
  102. package/dist/internal/toc-items.d.ts.map +1 -1
  103. package/dist/internal/toc-items.js +17 -7
  104. package/dist/internal/ui/dropdown-menu.d.ts.map +1 -1
  105. package/dist/internal/ui/dropdown-menu.js +8 -8
  106. package/dist/internal/ui/navigation-menu.d.ts.map +1 -1
  107. package/dist/internal/ui/navigation-menu.js +4 -4
  108. package/dist/internal/ui/popover.d.ts.map +1 -1
  109. package/dist/internal/ui/popover.js +1 -1
  110. package/dist/internal/ui/scroll-area.d.ts.map +1 -1
  111. package/dist/internal/ui/scroll-area.js +1 -1
  112. package/dist/internal/use-mobile.d.ts.map +1 -1
  113. package/dist/internal/use-mobile.js +2 -12
  114. package/dist/layout.d.ts +1 -0
  115. package/dist/layout.d.ts.map +1 -1
  116. package/dist/layout.js +3 -1
  117. package/dist/mdx.d.ts.map +1 -1
  118. package/dist/mdx.js +15 -2
  119. package/dist/mobile-docs-bar.d.ts.map +1 -1
  120. package/dist/mobile-docs-bar.js +1 -2
  121. package/dist/navbar.js +3 -2
  122. package/dist/pages/docs.d.ts.map +1 -1
  123. package/dist/pages/docs.js +12 -4
  124. package/dist/routes/chat.d.ts +1 -1
  125. package/dist/routes/chat.js +1 -1
  126. package/dist/source.d.ts.map +1 -1
  127. package/dist/source.js +0 -2
  128. package/dist/versions.d.ts.map +1 -1
  129. package/dist/versions.js +5 -5
  130. package/docs/agents.md +1 -2
  131. package/docs/llms.txt +216 -89
  132. package/docs/manifest.json +1 -10
  133. package/docs/pages/ask-ai.md +2 -2
  134. package/docs/pages/md.md +1 -1
  135. package/docs/pages/migration.md +5 -7
  136. package/docs/pages/syntax.md +204 -11
  137. package/docs/pages/versioned-docs.md +3 -3
  138. package/docs/sitemap.md +0 -1
  139. package/package.json +12 -103
  140. package/styles.css +3 -2
  141. package/template/AGENTS.md +10 -0
  142. package/template/app/[lang]/(home)/components/hero.tsx +2 -2
  143. package/template/app/[lang]/(home)/components/one-two-section.tsx +9 -1
  144. package/template/app/[lang]/(home)/components/text-grid-section.tsx +1 -1
  145. package/template/app/[lang]/(home)/page.tsx +5 -6
  146. package/template/app/[lang]/layout.tsx +11 -4
  147. package/template/app/styles/geistdocs.css +18 -15
  148. package/template/components/ui/button.tsx +1 -1
  149. package/template/content/docs/ask-ai.cn.mdx +2 -2
  150. package/template/content/docs/ask-ai.mdx +2 -2
  151. package/template/content/docs/configuration.cn.mdx +2 -2
  152. package/template/content/docs/md.mdx +1 -1
  153. package/template/content/docs/migration.mdx +5 -7
  154. package/template/content/docs/syntax.mdx +210 -11
  155. package/template/content/docs/versioned-docs.mdx +3 -3
  156. package/template/lib/geistdocs/config.tsx +0 -5
  157. package/template/next.config.ts +16 -2
  158. package/template/package.json +6 -8
  159. package/theme.css +39 -695
  160. package/dist/assets/icons/icon-acronym-ts.d.ts +0 -5
  161. package/dist/assets/icons/icon-acronym-ts.d.ts.map +0 -1
  162. package/dist/assets/icons/icon-acronym-ts.js +0 -4
  163. package/dist/assets/icons/icon-agents.d.ts +0 -5
  164. package/dist/assets/icons/icon-agents.d.ts.map +0 -1
  165. package/dist/assets/icons/icon-agents.js +0 -4
  166. package/dist/assets/icons/icon-api.d.ts +0 -5
  167. package/dist/assets/icons/icon-api.d.ts.map +0 -1
  168. package/dist/assets/icons/icon-api.js +0 -4
  169. package/dist/assets/icons/icon-arrow-up-right-small.d.ts +0 -8
  170. package/dist/assets/icons/icon-arrow-up-right-small.d.ts.map +0 -1
  171. package/dist/assets/icons/icon-arrow-up-right-small.js +0 -4
  172. package/dist/assets/icons/icon-arrow-up-right.d.ts +0 -5
  173. package/dist/assets/icons/icon-arrow-up-right.d.ts.map +0 -1
  174. package/dist/assets/icons/icon-arrow-up-right.js +0 -4
  175. package/dist/assets/icons/icon-check.d.ts +0 -5
  176. package/dist/assets/icons/icon-check.d.ts.map +0 -1
  177. package/dist/assets/icons/icon-check.js +0 -4
  178. package/dist/assets/icons/icon-chevron-down-small.d.ts +0 -8
  179. package/dist/assets/icons/icon-chevron-down-small.d.ts.map +0 -1
  180. package/dist/assets/icons/icon-chevron-down-small.js +0 -7
  181. package/dist/assets/icons/icon-chevron-right.d.ts +0 -5
  182. package/dist/assets/icons/icon-chevron-right.d.ts.map +0 -1
  183. package/dist/assets/icons/icon-chevron-right.js +0 -4
  184. package/dist/assets/icons/icon-clock.d.ts +0 -5
  185. package/dist/assets/icons/icon-clock.d.ts.map +0 -1
  186. package/dist/assets/icons/icon-clock.js +0 -4
  187. package/dist/assets/icons/icon-copy.d.ts +0 -5
  188. package/dist/assets/icons/icon-copy.d.ts.map +0 -1
  189. package/dist/assets/icons/icon-copy.js +0 -4
  190. package/dist/assets/icons/icon-display-small.d.ts +0 -5
  191. package/dist/assets/icons/icon-display-small.d.ts.map +0 -1
  192. package/dist/assets/icons/icon-display-small.js +0 -4
  193. package/dist/assets/icons/icon-display.d.ts +0 -5
  194. package/dist/assets/icons/icon-display.d.ts.map +0 -1
  195. package/dist/assets/icons/icon-display.js +0 -4
  196. package/dist/assets/icons/icon-file-text.d.ts +0 -5
  197. package/dist/assets/icons/icon-file-text.d.ts.map +0 -1
  198. package/dist/assets/icons/icon-file-text.js +0 -4
  199. package/dist/assets/icons/icon-folder-open.d.ts +0 -5
  200. package/dist/assets/icons/icon-folder-open.d.ts.map +0 -1
  201. package/dist/assets/icons/icon-folder-open.js +0 -4
  202. package/dist/assets/icons/icon-linked.d.ts +0 -5
  203. package/dist/assets/icons/icon-linked.d.ts.map +0 -1
  204. package/dist/assets/icons/icon-linked.js +0 -4
  205. package/dist/assets/icons/icon-logs.d.ts +0 -5
  206. package/dist/assets/icons/icon-logs.d.ts.map +0 -1
  207. package/dist/assets/icons/icon-logs.js +0 -4
  208. package/dist/assets/icons/icon-menu-alt.d.ts +0 -5
  209. package/dist/assets/icons/icon-menu-alt.d.ts.map +0 -1
  210. package/dist/assets/icons/icon-menu-alt.js +0 -4
  211. package/dist/assets/icons/icon-message.d.ts +0 -5
  212. package/dist/assets/icons/icon-message.d.ts.map +0 -1
  213. package/dist/assets/icons/icon-message.js +0 -4
  214. package/dist/assets/icons/icon-moon-small.d.ts +0 -5
  215. package/dist/assets/icons/icon-moon-small.d.ts.map +0 -1
  216. package/dist/assets/icons/icon-moon-small.js +0 -4
  217. package/dist/assets/icons/icon-moon.d.ts +0 -5
  218. package/dist/assets/icons/icon-moon.d.ts.map +0 -1
  219. package/dist/assets/icons/icon-moon.js +0 -4
  220. package/dist/assets/icons/icon-openai.d.ts +0 -5
  221. package/dist/assets/icons/icon-openai.d.ts.map +0 -1
  222. package/dist/assets/icons/icon-openai.js +0 -4
  223. package/dist/assets/icons/icon-plus-circle.d.ts +0 -5
  224. package/dist/assets/icons/icon-plus-circle.d.ts.map +0 -1
  225. package/dist/assets/icons/icon-plus-circle.js +0 -4
  226. package/dist/assets/icons/icon-refresh-counter-clockwise.d.ts +0 -5
  227. package/dist/assets/icons/icon-refresh-counter-clockwise.d.ts.map +0 -1
  228. package/dist/assets/icons/icon-refresh-counter-clockwise.js +0 -4
  229. package/dist/assets/icons/icon-robot.d.ts +0 -5
  230. package/dist/assets/icons/icon-robot.d.ts.map +0 -1
  231. package/dist/assets/icons/icon-robot.js +0 -4
  232. package/dist/assets/icons/icon-sandbox.d.ts +0 -5
  233. package/dist/assets/icons/icon-sandbox.d.ts.map +0 -1
  234. package/dist/assets/icons/icon-sandbox.js +0 -4
  235. package/dist/assets/icons/icon-slash-forward.d.ts +0 -8
  236. package/dist/assets/icons/icon-slash-forward.d.ts.map +0 -1
  237. package/dist/assets/icons/icon-slash-forward.js +0 -4
  238. package/dist/assets/icons/icon-sparkles.d.ts +0 -5
  239. package/dist/assets/icons/icon-sparkles.d.ts.map +0 -1
  240. package/dist/assets/icons/icon-sparkles.js +0 -4
  241. package/dist/assets/icons/icon-sun-small.d.ts +0 -5
  242. package/dist/assets/icons/icon-sun-small.d.ts.map +0 -1
  243. package/dist/assets/icons/icon-sun-small.js +0 -4
  244. package/dist/assets/icons/icon-sun.d.ts +0 -5
  245. package/dist/assets/icons/icon-sun.d.ts.map +0 -1
  246. package/dist/assets/icons/icon-sun.js +0 -4
  247. package/dist/assets/icons/icon-trash.d.ts +0 -5
  248. package/dist/assets/icons/icon-trash.d.ts.map +0 -1
  249. package/dist/assets/icons/icon-trash.js +0 -4
  250. package/dist/assets/icons/icon-user.d.ts +0 -5
  251. package/dist/assets/icons/icon-user.d.ts.map +0 -1
  252. package/dist/assets/icons/icon-user.js +0 -4
  253. package/dist/assets/icons/icon-workflow.d.ts +0 -5
  254. package/dist/assets/icons/icon-workflow.d.ts.map +0 -1
  255. package/dist/assets/icons/icon-workflow.js +0 -4
  256. package/dist/assets/icons/icon-wrench.d.ts +0 -5
  257. package/dist/assets/icons/icon-wrench.d.ts.map +0 -1
  258. package/dist/assets/icons/icon-wrench.js +0 -4
  259. package/dist/assets/icons/index.d.ts +0 -35
  260. package/dist/assets/icons/index.d.ts.map +0 -1
  261. package/dist/assets/icons/index.js +0 -35
  262. package/dist/assets/logos/index.d.ts +0 -17
  263. package/dist/assets/logos/index.d.ts.map +0 -1
  264. package/dist/assets/logos/index.js +0 -17
  265. package/dist/assets/logos/logo-ai-elements.d.ts +0 -5
  266. package/dist/assets/logos/logo-ai-elements.d.ts.map +0 -1
  267. package/dist/assets/logos/logo-ai-elements.js +0 -5
  268. package/dist/assets/logos/logo-ai-sdk.d.ts +0 -5
  269. package/dist/assets/logos/logo-ai-sdk.d.ts.map +0 -1
  270. package/dist/assets/logos/logo-ai-sdk.js +0 -5
  271. package/dist/assets/logos/logo-chat-sdk.d.ts +0 -5
  272. package/dist/assets/logos/logo-chat-sdk.d.ts.map +0 -1
  273. package/dist/assets/logos/logo-chat-sdk.js +0 -5
  274. package/dist/assets/logos/logo-eve.d.ts +0 -5
  275. package/dist/assets/logos/logo-eve.d.ts.map +0 -1
  276. package/dist/assets/logos/logo-eve.js +0 -5
  277. package/dist/assets/logos/logo-flags-sdk.d.ts +0 -5
  278. package/dist/assets/logos/logo-flags-sdk.d.ts.map +0 -1
  279. package/dist/assets/logos/logo-flags-sdk.js +0 -5
  280. package/dist/assets/logos/logo-icon-vercel.d.ts +0 -5
  281. package/dist/assets/logos/logo-icon-vercel.d.ts.map +0 -1
  282. package/dist/assets/logos/logo-icon-vercel.js +0 -4
  283. package/dist/assets/logos/logo-nextjs.d.ts +0 -5
  284. package/dist/assets/logos/logo-nextjs.d.ts.map +0 -1
  285. package/dist/assets/logos/logo-nextjs.js +0 -9
  286. package/dist/assets/logos/logo-streamdown.d.ts +0 -5
  287. package/dist/assets/logos/logo-streamdown.d.ts.map +0 -1
  288. package/dist/assets/logos/logo-streamdown.js +0 -5
  289. package/dist/assets/logos/logo-svelte-kit.d.ts +0 -5
  290. package/dist/assets/logos/logo-svelte-kit.d.ts.map +0 -1
  291. package/dist/assets/logos/logo-svelte-kit.js +0 -4
  292. package/dist/assets/logos/logo-turborepo.d.ts +0 -5
  293. package/dist/assets/logos/logo-turborepo.d.ts.map +0 -1
  294. package/dist/assets/logos/logo-turborepo.js +0 -5
  295. package/dist/assets/logos/logo-vercel-oss.d.ts +0 -5
  296. package/dist/assets/logos/logo-vercel-oss.d.ts.map +0 -1
  297. package/dist/assets/logos/logo-vercel-oss.js +0 -4
  298. package/dist/assets/logos/logo-workflow-sdk.d.ts +0 -5
  299. package/dist/assets/logos/logo-workflow-sdk.d.ts.map +0 -1
  300. package/dist/assets/logos/logo-workflow-sdk.js +0 -5
  301. package/dist/components/badge.d.ts +0 -11
  302. package/dist/components/badge.d.ts.map +0 -1
  303. package/dist/components/badge.js +0 -22
  304. package/dist/components/button-group.d.ts +0 -2
  305. package/dist/components/button-group.d.ts.map +0 -1
  306. package/dist/components/button-group.js +0 -2
  307. package/dist/components/button.d.ts +0 -2
  308. package/dist/components/button.d.ts.map +0 -1
  309. package/dist/components/button.js +0 -2
  310. package/dist/components/card.d.ts +0 -2
  311. package/dist/components/card.d.ts.map +0 -1
  312. package/dist/components/card.js +0 -2
  313. package/dist/components/dialog.d.ts +0 -13
  314. package/dist/components/dialog.d.ts.map +0 -1
  315. package/dist/components/dialog.js +0 -35
  316. package/dist/components/drawer.d.ts +0 -2
  317. package/dist/components/drawer.d.ts.map +0 -1
  318. package/dist/components/drawer.js +0 -3
  319. package/dist/components/input-group.d.ts +0 -2
  320. package/dist/components/input-group.d.ts.map +0 -1
  321. package/dist/components/input-group.js +0 -3
  322. package/dist/components/input.d.ts +0 -2
  323. package/dist/components/input.d.ts.map +0 -1
  324. package/dist/components/input.js +0 -2
  325. package/dist/components/kbd.d.ts +0 -2
  326. package/dist/components/kbd.d.ts.map +0 -1
  327. package/dist/components/kbd.js +0 -2
  328. package/dist/components/separator.d.ts +0 -2
  329. package/dist/components/separator.d.ts.map +0 -1
  330. package/dist/components/separator.js +0 -3
  331. package/dist/components/sheet.d.ts +0 -2
  332. package/dist/components/sheet.d.ts.map +0 -1
  333. package/dist/components/sheet.js +0 -3
  334. package/dist/components/sonner.d.ts +0 -2
  335. package/dist/components/sonner.d.ts.map +0 -1
  336. package/dist/components/sonner.js +0 -3
  337. package/dist/components/spinner.d.ts +0 -2
  338. package/dist/components/spinner.d.ts.map +0 -1
  339. package/dist/components/spinner.js +0 -2
  340. package/dist/components/switch.d.ts +0 -11
  341. package/dist/components/switch.d.ts.map +0 -1
  342. package/dist/components/switch.js +0 -12
  343. package/dist/components/textarea.d.ts +0 -2
  344. package/dist/components/textarea.d.ts.map +0 -1
  345. package/dist/components/textarea.js +0 -2
  346. package/dist/components/theme-aware-image.d.ts +0 -12
  347. package/dist/components/theme-aware-image.d.ts.map +0 -1
  348. package/dist/components/theme-aware-image.js +0 -8
  349. package/dist/components/theme-switcher.d.ts +0 -8
  350. package/dist/components/theme-switcher.d.ts.map +0 -1
  351. package/dist/components/theme-switcher.js +0 -37
  352. package/dist/components/tooltip.d.ts +0 -2
  353. package/dist/components/tooltip.d.ts.map +0 -1
  354. package/dist/components/tooltip.js +0 -3
  355. package/dist/internal/chat/shimmer.d.ts +0 -11
  356. package/dist/internal/chat/shimmer.d.ts.map +0 -1
  357. package/dist/internal/chat/shimmer.js +0 -22
  358. package/dist/internal/cn.d.ts +0 -3
  359. package/dist/internal/cn.d.ts.map +0 -1
  360. package/dist/internal/cn.js +0 -47
  361. package/dist/internal/ui/button-group.d.ts +0 -13
  362. package/dist/internal/ui/button-group.d.ts.map +0 -1
  363. package/dist/internal/ui/button-group.js +0 -26
  364. package/dist/internal/ui/button.d.ts +0 -12
  365. package/dist/internal/ui/button.d.ts.map +0 -1
  366. package/dist/internal/ui/button.js +0 -33
  367. package/dist/internal/ui/card.d.ts +0 -6
  368. package/dist/internal/ui/card.d.ts.map +0 -1
  369. package/dist/internal/ui/card.js +0 -14
  370. package/dist/internal/ui/drawer.d.ts +0 -8
  371. package/dist/internal/ui/drawer.d.ts.map +0 -1
  372. package/dist/internal/ui/drawer.js +0 -19
  373. package/dist/internal/ui/input-group.d.ts +0 -15
  374. package/dist/internal/ui/input-group.d.ts.map +0 -1
  375. package/dist/internal/ui/input-group.js +0 -44
  376. package/dist/internal/ui/input.d.ts +0 -3
  377. package/dist/internal/ui/input.d.ts.map +0 -1
  378. package/dist/internal/ui/input.js +0 -5
  379. package/dist/internal/ui/kbd.d.ts +0 -4
  380. package/dist/internal/ui/kbd.d.ts.map +0 -1
  381. package/dist/internal/ui/kbd.js +0 -8
  382. package/dist/internal/ui/separator.d.ts +0 -4
  383. package/dist/internal/ui/separator.d.ts.map +0 -1
  384. package/dist/internal/ui/separator.js +0 -7
  385. package/dist/internal/ui/sheet.d.ts +0 -13
  386. package/dist/internal/ui/sheet.d.ts.map +0 -1
  387. package/dist/internal/ui/sheet.js +0 -24
  388. package/dist/internal/ui/sonner.d.ts +0 -3
  389. package/dist/internal/ui/sonner.d.ts.map +0 -1
  390. package/dist/internal/ui/sonner.js +0 -20
  391. package/dist/internal/ui/spinner.d.ts +0 -3
  392. package/dist/internal/ui/spinner.d.ts.map +0 -1
  393. package/dist/internal/ui/spinner.js +0 -6
  394. package/dist/internal/ui/textarea.d.ts +0 -3
  395. package/dist/internal/ui/textarea.d.ts.map +0 -1
  396. package/dist/internal/ui/textarea.js +0 -5
  397. package/dist/internal/ui/tooltip.d.ts +0 -7
  398. package/dist/internal/ui/tooltip.d.ts.map +0 -1
  399. package/dist/internal/ui/tooltip.js +0 -16
  400. package/docs/pages/theme-aware-image.md +0 -59
  401. package/template/app/[lang]/(home)/components/centered-section.tsx +0 -32
  402. package/template/content/docs/theme-aware-image.mdx +0 -57
@@ -1,25 +1,28 @@
1
- @import "tailwindcss";
1
+ @import "@vercel/geistcn/tailwind.css";
2
2
  @import "fumadocs-ui/css/shadcn.css";
3
3
  @import "fumadocs-ui/css/preset.css";
4
- @import "tw-animate-css";
5
-
6
- /* Geist design layer from the package. theme.css already @sources the package
7
- dist and streamdown, so don't re-@source those here; only @source your own
8
- files if Tailwind misses them. Keep app-only deltas below. */
9
4
  @import "@vercel/geistdocs/theme.css";
5
+ @import "@vercel/geistcn/styles.css";
6
+ @import "@vercel/geistcn/marketing-typography.css";
7
+
8
+ /* GeistCN components are authored with Tailwind utilities. Scan only component
9
+ source: scanning the package root also includes font-pixel internals whose
10
+ published paths point outside the app and make Turbopack panic. */
11
+ @source "../../node_modules/@vercel/geistcn/src/components/**/*.{ts,tsx}";
12
+
13
+ :root {
14
+ --font-sans: var(--font-geist-sans);
15
+ font-feature-settings:
16
+ "rlig" 1,
17
+ "calt" 0,
18
+ "ss11" 1;
19
+ }
10
20
 
11
21
  /* App-only override: this template uses the 200 surface as the page
12
22
  background (the package defaults to background-100). */
13
23
  @layer base {
14
24
  body {
15
- @apply bg-background-200 text-gray-1000;
16
- }
17
-
18
- /* Geist Sans is loaded from the `geist` npm package, which exposes the
19
- `--font-geist-sans` variable. Alias it so `font-sans`/`--font-sans`
20
- resolves to it. */
21
- :root {
22
- --font-sans: var(--font-geist-sans);
25
+ @apply text-gray-1000;
23
26
  }
24
27
  }
25
28
 
@@ -42,7 +45,7 @@
42
45
 
43
46
  /* TOC and footer links use gray-1000 */
44
47
  #nd-toc {
45
- @apply text-gray-1000 md:pl-6;
48
+ @apply text-gray-1000;
46
49
  }
47
50
 
48
51
  #nd-toc a {
@@ -5,7 +5,7 @@ import { cva, type VariantProps } from "class-variance-authority"
5
5
  import { cn } from "@/lib/utils"
6
6
 
7
7
  const buttonVariants = cva(
8
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-gray-600 focus-visible:ring-gray-600/50 focus-visible:ring-[3px] aria-invalid:ring-red-800/20 dark:aria-invalid:ring-red-800/40 aria-invalid:border-red-800",
8
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-gray-600 focus-visible:ring-gray-600/50 focus-visible:ring-[3px] aria-invalid:ring-red-800/20 dark:aria-invalid:ring-red-800/40 aria-invalid:border-red-800",
9
9
  {
10
10
  variants: {
11
11
  variant: {
@@ -78,8 +78,8 @@ The chat interface adapts to different screen sizes:
78
78
 
79
79
  The environment variables `AI_GATEWAY_API_KEY` and `NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL` must be set, which you can read more about in the [环境变量](/docs/env) section.
80
80
 
81
- The model used is `openai/gpt-4.1-mini` via the Vercel AI Gateway.
81
+ The model used is `openai/gpt-5.6-sol` via the Vercel AI Gateway.
82
82
 
83
83
  ## 建议的提示
84
84
 
85
- You can customize the initial suggested prompts shown to users. These are configured in the Geistdocs configuration file, which you can read more about in the [配置](/docs/configuration) section.
85
+ You can customize the initial suggested prompts shown to users. These are configured in the Geistdocs configuration file, which you can read more about in the [配置](/docs/configuration) section.
@@ -91,7 +91,7 @@ In this mode, Geistdocs uses the local `search_docs` tool during the AI SDK `str
91
91
 
92
92
  #### Choose a model
93
93
 
94
- Pass the `model` option to `createChatRoute` to control which model answers Ask AI requests. It accepts any AI SDK `LanguageModel`, including AI Gateway model strings, and defaults to `openai/gpt-4.1-mini`.
94
+ Pass the `model` option to `createChatRoute` to control which model answers Ask AI requests. It accepts any AI SDK `LanguageModel`, including AI Gateway model strings, and defaults to `openai/gpt-5.6-sol`.
95
95
 
96
96
  ```ts title="app/api/chat/route.ts"
97
97
  import { createChatRoute } from "@vercel/geistdocs/routes/chat";
@@ -200,7 +200,7 @@ The chat interface adapts to different screen sizes:
200
200
 
201
201
  The environment variables `AI_GATEWAY_API_KEY` and `NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL` must be set for the default AI Gateway mode. Set `GEISTDOCS_CHAT_PROXY_URL` to route Ask AI through a Vertex-backed proxy instead. You can read more in the [Environment Variables](/docs/env) section.
202
202
 
203
- In default AI Gateway mode, Geistdocs uses `openai/gpt-4.1-mini` via the Vercel AI Gateway. In Vertex-backed proxy mode, the configured proxy controls the upstream model.
203
+ In default AI Gateway mode, Geistdocs uses `openai/gpt-5.6-sol` via the Vercel AI Gateway. In Vertex-backed proxy mode, the configured proxy controls the upstream model.
204
204
 
205
205
  ## Suggested Prompts
206
206
 
@@ -31,11 +31,11 @@ related:
31
31
  项目根目录下的 `geistdocs.tsx` 文件包含主要自定义选项:
32
32
 
33
33
  ```tsx title="geistdocs.tsx"
34
- import { BookHeartIcon } from "lucide-react";
34
+ import { IconBookOpen } from "@vercel/geistcn-assets/icons";
35
35
 
36
36
  export const Logo = () => (
37
37
  <div className="flex items-center gap-2">
38
- <BookHeartIcon className="size-5" />
38
+ <IconBookOpen className="size-5" />
39
39
  <p className="font-semibold text-xl tracking-tight">Geistdocs</p>
40
40
  </div>
41
41
  );
@@ -37,7 +37,7 @@ The `.mdx` version returns:
37
37
 
38
38
  For a docs section mounted at `/docs`, the section root remains `/docs.md`. For a source mounted at the app root with `baseUrl: "/"`, Geistdocs uses `/index.md` for the root page. If Next.js has `basePath: "/docs"`, that public root Markdown URL is `/docs/index.md`.
39
39
 
40
- Copy Page, View as Markdown, and the `text/markdown` metadata alternate all use the same package resolver. Use `createDocsPage({ getMarkdownUrl })` only when the deployment needs a different public contract.
40
+ Copy Page, View as Markdown, and the `text/markdown` metadata alternate all use the same package resolver. View as Markdown opens the resolved `.md` URL in a new tab from a button, which keeps the URL shareable without adding an anchor to the page. Use `createDocsPage({ getMarkdownUrl })` only when the deployment needs a different public contract.
41
41
 
42
42
  ## Use cases
43
43
 
@@ -42,7 +42,7 @@ Fix unrelated build failures first. A migration is safer when the starting point
42
42
 
43
43
  ## Install Geistdocs
44
44
 
45
- Add `@vercel/geistdocs` and align the supported Fumadocs and Next.js dependencies for the package version you are adopting.
45
+ 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.
46
46
 
47
47
  For an existing project, use your package manager directly:
48
48
 
@@ -375,16 +375,14 @@ For a base-path application whose root page is documentation, add `"/"` to the s
375
375
  Tailwind CSS v4 requires `@source` entries for package components and related dependencies.
376
376
 
377
377
  ```css title="app/styles/geistdocs.css"
378
- @import "tailwindcss";
378
+ @import "@vercel/geistcn/tailwind.css";
379
+ @import "@vercel/geistcn/styles.css";
379
380
  @import "fumadocs-ui/css/shadcn.css";
380
381
  @import "fumadocs-ui/css/preset.css";
381
- @import "tw-animate-css";
382
-
383
- @source "../../node_modules/@vercel/geistdocs/dist/**/*.js";
384
- @source "../../node_modules/streamdown/dist/*.js";
382
+ @import "@vercel/geistdocs/theme.css";
385
383
  ```
386
384
 
387
- Move Tailwind CSS v3 plugin utilities into CSS-first v4 utilities or theme variables. Keep custom token names stable while you migrate components.
385
+ 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.
388
386
 
389
387
  ## Handle environment variables
390
388
 
@@ -12,7 +12,9 @@ related:
12
12
  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.
13
13
 
14
14
  <CopyPrompt text="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.">
15
- 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.
15
+ Help me write a Geistdocs MDX page. Use this page as a syntax reference and
16
+ create an example page with frontmatter, headings, links, a code block, a
17
+ `Callout`, and a `CopyPrompt` component.
16
18
  </CopyPrompt>
17
19
 
18
20
  ## Frontmatter
@@ -65,11 +67,17 @@ Headings automatically generate anchor links for navigation and deep linking.
65
67
 
66
68
  Create unordered lists with `-`, `*`, or `+`:
67
69
 
68
- - First item
69
- - Second item
70
- - Nested item
71
- - Another nested item
72
- - Third item
70
+ ```md
71
+ - Install the required packages
72
+ - Configure your project
73
+ - Start the development server
74
+ ```
75
+
76
+ This renders as:
77
+
78
+ - Install the required packages
79
+ - Configure your project
80
+ - Start the development server
73
81
 
74
82
  Create ordered lists with numbers:
75
83
 
@@ -81,7 +89,97 @@ Create ordered lists with numbers:
81
89
 
82
90
  Use `>` to create blockquotes:
83
91
 
84
- > This is a blockquote. You can use it to highlight important information or quotes from external sources.
92
+ > **Watch:** Learn more about how to use `next/image` → [YouTube (9 minutes)](https://youtu.be/IU_qq_c_lKA).
93
+
94
+ ### Callouts
95
+
96
+ Use `<Callout>` for a highlighted informational note:
97
+
98
+ ```mdx
99
+ <Callout>This is automatically set when deploying to Vercel.</Callout>
100
+ ```
101
+
102
+ This renders as:
103
+
104
+ <Callout>This is automatically set when deploying to Vercel.</Callout>
105
+
106
+ Callouts can also contain a title and lists:
107
+
108
+ <Callout title="Good to know">
109
+ - The `App Router` uses [React canary
110
+ releases](https://react.dev/blog/2023/05/03/react-canaries) built-in, which
111
+ include all the stable React 19 changes, as well as newer features being
112
+ validated in frameworks, but you should still declare react and react-dom in
113
+ package.json for tooling and ecosystem compatibility.
114
+ - The `Pages Router` uses the React version from your `package.json`.
115
+ </Callout>
116
+
117
+ Callouts support rich inline Markdown, including code, emphasis, and links:
118
+
119
+ ```mdx
120
+ <Callout title="Good to know">
121
+ Global styles can be imported into any layout, page, or component inside the
122
+ `app` directory. However, since Next.js uses React's built-in support for
123
+ stylesheets to integrate with Suspense, this currently does not remove
124
+ stylesheets as you navigate between routes which can lead to conflicts. We
125
+ recommend using global styles for _truly global_ CSS (like Tailwind's base
126
+ styles), [Tailwind CSS](https://tailwindcss.com) for component styling, and
127
+ [CSS Modules](https://nextjs.org/docs/app/getting-started/css#css-modules) for
128
+ custom scoped CSS when needed.
129
+ </Callout>
130
+ ```
131
+
132
+ This renders as:
133
+
134
+ <Callout title="Good to know">
135
+ Global styles can be imported into any layout, page, or component inside the
136
+ `app` directory. However, since Next.js uses React's built-in support for
137
+ stylesheets to integrate with Suspense, this currently does not remove
138
+ stylesheets as you navigate between routes which can lead to conflicts. We
139
+ recommend using global styles for _truly global_ CSS (like Tailwind's base
140
+ styles), [Tailwind CSS](https://tailwindcss.com) for component styling, and
141
+ [CSS Modules](https://nextjs.org/docs/app/getting-started/css#css-modules) for
142
+ custom scoped CSS when needed.
143
+ </Callout>
144
+
145
+ ### Copy Prompts
146
+
147
+ Short prompts render in full without an expansion control:
148
+
149
+ ```mdx
150
+ <CopyPrompt text="Summarize this documentation page and list the key concepts.">
151
+ Summarize this documentation page and list the key concepts.
152
+ </CopyPrompt>
153
+ ```
154
+
155
+ This renders as:
156
+
157
+ <CopyPrompt text="Summarize this documentation page and list the key concepts.">
158
+ Summarize this documentation page and list the key concepts.
159
+ </CopyPrompt>
160
+
161
+ Long prompts initially show a preview with a **Show more** control:
162
+
163
+ ```mdx
164
+ <CopyPrompt collapsible text="Write a detailed migration plan for this project.">
165
+ Write a detailed migration plan for this project. Include prerequisites,
166
+ implementation steps, validation, rollback guidance, and common pitfalls.
167
+ </CopyPrompt>
168
+ ```
169
+
170
+ Set the boolean `collapsible` prop when the prompt should initially render as a
171
+ two-line preview. This renders as:
172
+
173
+ <CopyPrompt collapsible text="Review this Geistdocs project in detail. Explain how the @vercel/geistdocs package, application layouts, local adapter files, source configuration, content/docs directory, navigation metadata, MDX components, syntax highlighting, search routes, and deployment configuration work together. Then identify the safest first files to edit, describe the effect of each change, call out common mistakes, and propose a step-by-step plan for customizing the documentation site without breaking routing, generated Markdown, or accessibility behavior.">
174
+ Review this Geistdocs project in detail. Explain how the `@vercel/geistdocs`
175
+ package, application layouts, local adapter files, source configuration,
176
+ `content/docs` directory, navigation metadata, MDX components, syntax
177
+ highlighting, search routes, and deployment configuration work together.
178
+ Then identify the safest first files to edit, describe the effect of each
179
+ change, call out common mistakes, and propose a step-by-step plan for
180
+ customizing the documentation site without breaking routing, generated
181
+ Markdown, or accessibility behavior.
182
+ </CopyPrompt>
85
183
 
86
184
  ### Links
87
185
 
@@ -90,6 +188,25 @@ Create links with `[text](url)`:
90
188
  - [External link](https://vercel.com)
91
189
  - [Internal link](/docs/getting-started)
92
190
 
191
+ Use an absolute `https://` or `http://` URL for an external destination. Use a
192
+ root-relative path beginning with `/` for an internal link. Both use the same
193
+ visual styling:
194
+
195
+ ```md
196
+ [External link](https://vercel.com)
197
+ [Internal link](/docs/getting-started)
198
+ ```
199
+
200
+ Links can also contain inline code:
201
+
202
+ ```md
203
+ Run independent requests in parallel with [`Promise.all`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise/all).
204
+ ```
205
+
206
+ This renders as:
207
+
208
+ Run independent requests in parallel with [`Promise.all`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise/all).
209
+
93
210
  ### Images
94
211
 
95
212
  Add images with `![alt text](url)`:
@@ -122,6 +239,16 @@ This renders as:
122
239
  | GFM | GitHub extensions | Supported |
123
240
  | MDX | JSX in Markdown | Supported |
124
241
 
242
+ Tables can also include inline code, as commonly used for file references:
243
+
244
+ | File | Description |
245
+ | -------------------- | ------------------------------------------------ |
246
+ | `next.config.js` | Configuration file for Next.js |
247
+ | `package.json` | Project dependencies and scripts |
248
+ | `instrumentation.ts` | OpenTelemetry and instrumentation file |
249
+ | `.env.local` | Local environment variables |
250
+ | `tsconfig.json` | Configuration file for TypeScript |
251
+
125
252
  ### Task Lists
126
253
 
127
254
  Create interactive task lists:
@@ -194,6 +321,78 @@ export const Button = ({ children }) => {
194
321
  };
195
322
  ```
196
323
 
324
+ ### Tabs and switchers
325
+
326
+ Use consecutive fences with `tab` metadata for code tabs that expose every
327
+ option at once:
328
+
329
+ ````md
330
+ ```ts tab="TypeScript" title="example.ts"
331
+ export const greeting: string = "Hello from TypeScript";
332
+ ```
333
+
334
+ ```js tab="JavaScript" title="example.js"
335
+ export const greeting = "Hello from JavaScript";
336
+ ```
337
+ ````
338
+
339
+ This renders as:
340
+
341
+ ```ts tab="TypeScript" title="example.ts"
342
+ export const greeting: string = "Hello from TypeScript";
343
+ ```
344
+
345
+ ```js tab="JavaScript" title="example.js"
346
+ export const greeting = "Hello from JavaScript";
347
+ ```
348
+
349
+ Wrap the same fences in `<CodeBlockTabs compact>` to move the selector into the
350
+ code-block header:
351
+
352
+ ````mdx
353
+ <CompactCodeBlockTabs defaultValue="TypeScript">
354
+ <CodeBlockTabsList>
355
+ <CodeBlockTabsTrigger value="TypeScript">TypeScript</CodeBlockTabsTrigger>
356
+ <CodeBlockTabsTrigger value="JavaScript">JavaScript</CodeBlockTabsTrigger>
357
+ </CodeBlockTabsList>
358
+ <CodeBlockTab value="TypeScript">
359
+ ```ts title="example.ts"
360
+ export const greeting: string = "Hello from TypeScript";
361
+ ```
362
+ </CodeBlockTab>
363
+ <CodeBlockTab value="JavaScript">
364
+ ```js title="example.js"
365
+ export const greeting = "Hello from JavaScript";
366
+ ```
367
+ </CodeBlockTab>
368
+ </CompactCodeBlockTabs>
369
+ ````
370
+
371
+ This renders as:
372
+
373
+ <CompactCodeBlockTabs defaultValue="TypeScript">
374
+ <CodeBlockTabsList>
375
+ <CodeBlockTabsTrigger value="TypeScript">TypeScript</CodeBlockTabsTrigger>
376
+ <CodeBlockTabsTrigger value="JavaScript">JavaScript</CodeBlockTabsTrigger>
377
+ </CodeBlockTabsList>
378
+ <CodeBlockTab value="TypeScript">
379
+ ```ts title="example.ts"
380
+ export const greeting: string = "Hello from TypeScript";
381
+ ```
382
+ </CodeBlockTab>
383
+ <CodeBlockTab value="JavaScript">
384
+ ```js title="example.js"
385
+ export const greeting = "Hello from JavaScript";
386
+ ```
387
+ </CodeBlockTab>
388
+ </CompactCodeBlockTabs>
389
+
390
+ When migrating an existing site such as next-site, translate adjacent
391
+ `switcher` fences to `tab="TypeScript"` and `tab="JavaScript"`, then wrap the
392
+ pair with `<CodeBlockTabs compact>`. Import `@vercel/geistdocs/styles.css` (or
393
+ `theme.css` with the documented Geist dependencies) so Tailwind scans the
394
+ package's compiled components and emits the tab layout utilities.
395
+
197
396
  ### Framework icons
198
397
 
199
398
  Append `#<framework>` to the title to show a framework logo instead of the
@@ -202,22 +401,22 @@ values are `#next` / `#nextjs` and `#svelte` / `#sveltekit`:
202
401
 
203
402
  ````md
204
403
  ```ts title="flags.ts#next"
205
- import { flag } from 'flags/next';
404
+ import { flag } from "flags/next";
206
405
  ```
207
406
 
208
407
  ```ts title="flags.ts#svelte"
209
- import { flag } from 'flags/sveltekit';
408
+ import { flag } from "flags/sveltekit";
210
409
  ```
211
410
  ````
212
411
 
213
412
  This renders as:
214
413
 
215
414
  ```ts title="flags.ts#next"
216
- import { flag } from 'flags/next';
415
+ import { flag } from "flags/next";
217
416
  ```
218
417
 
219
418
  ```ts title="flags.ts#svelte"
220
- import { flag } from 'flags/sveltekit';
419
+ import { flag } from "flags/sveltekit";
221
420
  ```
222
421
 
223
422
  ### Line Numbers
@@ -179,7 +179,7 @@ Each version can define an `icon` to override the default current/previous versi
179
179
  Use `GeistdocsRouteSelect` for framework, product, or route switchers that should not use version-specific labels:
180
180
 
181
181
  ```tsx
182
- import { LogoNextjs, LogoSvelteKit } from "@vercel/geistdocs/assets/logos";
182
+ import { LogoIconNextSvg, LogoSvelte } from "@vercel/geistcn-assets/logos";
183
183
  import { GeistdocsRouteSelect } from "@vercel/geistdocs/versions";
184
184
 
185
185
  <GeistdocsRouteSelect
@@ -190,14 +190,14 @@ import { GeistdocsRouteSelect } from "@vercel/geistdocs/versions";
190
190
  id: "nextjs",
191
191
  label: "Next.js",
192
192
  description: "React framework",
193
- icon: <LogoNextjs height={18} />,
193
+ icon: <LogoIconNextSvg size={18} />,
194
194
  href: "/:path*",
195
195
  },
196
196
  {
197
197
  id: "sveltekit",
198
198
  label: "SvelteKit",
199
199
  description: "Svelte framework",
200
- icon: <LogoSvelteKit height={18} />,
200
+ icon: <LogoSvelte height={18} />,
201
201
  routePrefix: "/sveltekit",
202
202
  href: "/sveltekit/:path*",
203
203
  },
@@ -28,10 +28,5 @@ export const config = defineConfig({
28
28
  ai: {
29
29
  prompt,
30
30
  suggestions,
31
- footer: (
32
- <div className="text-right">
33
- <a href="https://example.com">Powered by your AI provider</a>
34
- </div>
35
- ),
36
31
  },
37
32
  });
@@ -13,7 +13,6 @@ const withGeistdocs = createGeistdocs();
13
13
  const inMonorepo = existsSync(
14
14
  join(process.cwd(), "../../packages/geistdocs/src")
15
15
  );
16
-
17
16
  // Distinct favicon per environment; production keeps the default (no-op).
18
17
  const ENV_FAVICONS = {
19
18
  development: "/favicon.development.ico",
@@ -24,7 +23,22 @@ const environment = process.env.VERCEL_ENV ?? process.env.NODE_ENV;
24
23
  const envFavicon = ENV_FAVICONS[environment as keyof typeof ENV_FAVICONS];
25
24
 
26
25
  const config: NextConfig = {
27
- ...(inMonorepo ? { transpilePackages: ["@vercel/geistdocs"] } : {}),
26
+ modularizeImports: {
27
+ "@vercel/geistcn/components": {
28
+ skipDefaultConversion: true,
29
+ transform: "@vercel/geistcn/components/{{ kebabCase member }}",
30
+ },
31
+ "@vercel/geistcn/core": {
32
+ skipDefaultConversion: true,
33
+ transform: "@vercel/geistcn/core",
34
+ },
35
+ },
36
+ transpilePackages: [
37
+ "@vercel/geistcn",
38
+ "@vercel/geist-test-utils",
39
+ "@vercel/next-themes",
40
+ ...(inMonorepo ? ["@vercel/geistdocs"] : []),
41
+ ],
28
42
  cacheComponents: true,
29
43
  partialPrefetching: true,
30
44
 
@@ -12,13 +12,14 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@ai-sdk/react": "^3.0.134",
15
- "@icons-pack/react-simple-icons": "^13.8.0",
16
15
  "@orama/tokenizers": "^3.1.16",
17
16
  "@streamdown/cjk": "^1.0.1",
18
17
  "@streamdown/code": "^1.0.1",
19
- "@vercel/agent-readability": "^0.6.0",
18
+ "@vercel/agent-readability": "^0.7.0",
20
19
  "@vercel/analytics": "^1.6.1",
21
- "@vercel/geistdocs": "1.25.0",
20
+ "@vercel/geistcn": "1.0.3",
21
+ "@vercel/geistcn-assets": "2.0.1",
22
+ "@vercel/geistdocs": "1.25.1-canary.4e75e60",
22
23
  "@vercel/speed-insights": "^1.3.1",
23
24
  "ai": "^6.0.132",
24
25
  "class-variance-authority": "^0.7.1",
@@ -30,24 +31,21 @@
30
31
  "fumadocs-core": "16.2.2",
31
32
  "fumadocs-mdx": "14.0.4",
32
33
  "fumadocs-ui": "16.2.2",
33
- "geist": "^1.7.1",
34
+ "geist": "1.7.1",
34
35
  "jotai": "^2.15.2",
35
- "lucide-react": "^0.555.0",
36
36
  "mermaid": "^11.12.2",
37
37
  "motion": "^12.23.25",
38
38
  "nanoid": "^5.1.6",
39
- "next": "16.3.1",
39
+ "next": "16.3.3",
40
40
  "next-themes": "^0.4.6",
41
41
  "radix-ui": "1.6.4",
42
42
  "react": "^19.2.3",
43
43
  "react-dom": "^19.2.3",
44
44
  "react-player": "^3.4.0",
45
45
  "shiki": "3.19.0",
46
- "sonner": "^2.0.7",
47
46
  "streamdown": "^2.1.0",
48
47
  "tailwind-merge": "^3.4.0",
49
48
  "use-stick-to-bottom": "^1.1.1",
50
- "vaul": "^1.1.2",
51
49
  "zod": "^4.1.13"
52
50
  },
53
51
  "devDependencies": {