@vercel/geistdocs 1.25.0 → 1.25.1-canary.498144e

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 (431) 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/image.d.ts +19 -0
  23. package/dist/components/image.d.ts.map +1 -0
  24. package/dist/components/image.js +9 -0
  25. package/dist/components/mermaid.js +1 -1
  26. package/dist/components/table.d.ts +3 -0
  27. package/dist/components/table.d.ts.map +1 -0
  28. package/dist/components/table.js +3 -0
  29. package/dist/controls.d.ts +8 -4
  30. package/dist/controls.d.ts.map +1 -1
  31. package/dist/controls.js +16 -15
  32. package/dist/footer.d.ts.map +1 -1
  33. package/dist/footer.js +6 -6
  34. package/dist/home-layout.js +1 -1
  35. package/dist/internal/chat/activity.d.ts +20 -0
  36. package/dist/internal/chat/activity.d.ts.map +1 -0
  37. package/dist/internal/chat/activity.js +43 -0
  38. package/dist/internal/chat/context.d.ts +2 -0
  39. package/dist/internal/chat/context.d.ts.map +1 -1
  40. package/dist/internal/chat/context.js +24 -3
  41. package/dist/internal/chat/conversation.d.ts +4 -3
  42. package/dist/internal/chat/conversation.d.ts.map +1 -1
  43. package/dist/internal/chat/conversation.js +5 -5
  44. package/dist/internal/chat/copy-chat.d.ts.map +1 -1
  45. package/dist/internal/chat/copy-chat.js +13 -10
  46. package/dist/internal/chat/dots-spinner.d.ts +5 -0
  47. package/dist/internal/chat/dots-spinner.d.ts.map +1 -0
  48. package/dist/internal/chat/dots-spinner.js +21 -0
  49. package/dist/internal/chat/loading-skeleton.d.ts +7 -0
  50. package/dist/internal/chat/loading-skeleton.d.ts.map +1 -0
  51. package/dist/internal/chat/loading-skeleton.js +46 -0
  52. package/dist/internal/chat/message-metadata.d.ts.map +1 -1
  53. package/dist/internal/chat/message-metadata.js +18 -32
  54. package/dist/internal/chat/message-sources.d.ts +3 -0
  55. package/dist/internal/chat/message-sources.d.ts.map +1 -0
  56. package/dist/internal/chat/message-sources.js +23 -0
  57. package/dist/internal/chat/message.d.ts.map +1 -1
  58. package/dist/internal/chat/message.js +62 -8
  59. package/dist/internal/chat/prompt-input.d.ts +1 -1
  60. package/dist/internal/chat/prompt-input.d.ts.map +1 -1
  61. package/dist/internal/chat/prompt-input.js +25 -27
  62. package/dist/internal/chat/shell.d.ts.map +1 -1
  63. package/dist/internal/chat/shell.js +41 -33
  64. package/dist/internal/chat/source-chunks.d.ts +9 -0
  65. package/dist/internal/chat/source-chunks.d.ts.map +1 -0
  66. package/dist/internal/chat/source-chunks.js +7 -0
  67. package/dist/internal/chat/sources.d.ts +4 -2
  68. package/dist/internal/chat/sources.d.ts.map +1 -1
  69. package/dist/internal/chat/sources.js +12 -6
  70. package/dist/internal/chat/suggestion.d.ts +11 -6
  71. package/dist/internal/chat/suggestion.d.ts.map +1 -1
  72. package/dist/internal/chat/suggestion.js +5 -5
  73. package/dist/internal/docs-page-error-boundary.d.ts.map +1 -1
  74. package/dist/internal/docs-page-error-boundary.js +3 -3
  75. package/dist/internal/external-arrow.d.ts.map +1 -1
  76. package/dist/internal/external-arrow.js +1 -1
  77. package/dist/internal/footer/rss-button.d.ts.map +1 -1
  78. package/dist/internal/footer/rss-button.js +3 -3
  79. package/dist/internal/github-button.d.ts.map +1 -1
  80. package/dist/internal/github-button.js +3 -3
  81. package/dist/internal/link-href.d.ts +13 -0
  82. package/dist/internal/link-href.d.ts.map +1 -0
  83. package/dist/internal/link-href.js +51 -0
  84. package/dist/internal/mousedown-navigation-utils.d.ts +5 -0
  85. package/dist/internal/mousedown-navigation-utils.d.ts.map +1 -0
  86. package/dist/internal/mousedown-navigation-utils.js +95 -0
  87. package/dist/internal/mousedown-navigation.d.ts +10 -0
  88. package/dist/internal/mousedown-navigation.d.ts.map +1 -0
  89. package/dist/internal/mousedown-navigation.js +42 -0
  90. package/dist/internal/navbar/desktop-menu.d.ts.map +1 -1
  91. package/dist/internal/navbar/desktop-menu.js +3 -3
  92. package/dist/internal/navbar/mobile-menu.d.ts.map +1 -1
  93. package/dist/internal/navbar/mobile-menu.js +11 -16
  94. package/dist/internal/navbar/navbar-logo.d.ts.map +1 -1
  95. package/dist/internal/navbar/navbar-logo.js +6 -8
  96. package/dist/internal/navbar/navbar-shell.d.ts.map +1 -1
  97. package/dist/internal/navbar/navbar-shell.js +3 -2
  98. package/dist/internal/page-actions-client.d.ts.map +1 -1
  99. package/dist/internal/page-actions-client.js +52 -49
  100. package/dist/internal/page-breadcrumb.d.ts.map +1 -1
  101. package/dist/internal/page-breadcrumb.js +3 -3
  102. package/dist/internal/page-footer.d.ts.map +1 -1
  103. package/dist/internal/page-footer.js +2 -2
  104. package/dist/internal/provider-client.d.ts.map +1 -1
  105. package/dist/internal/provider-client.js +36 -12
  106. package/dist/internal/search.d.ts.map +1 -1
  107. package/dist/internal/search.js +2 -2
  108. package/dist/internal/sidebar-responsive.d.ts +0 -1
  109. package/dist/internal/sidebar-responsive.d.ts.map +1 -1
  110. package/dist/internal/sidebar-responsive.js +0 -9
  111. package/dist/internal/sidebar-tree.d.ts.map +1 -1
  112. package/dist/internal/sidebar-tree.js +14 -7
  113. package/dist/internal/sidebar.d.ts.map +1 -1
  114. package/dist/internal/sidebar.js +80 -53
  115. package/dist/internal/table-of-contents.d.ts.map +1 -1
  116. package/dist/internal/table-of-contents.js +1 -1
  117. package/dist/internal/toc-items.d.ts.map +1 -1
  118. package/dist/internal/toc-items.js +17 -7
  119. package/dist/internal/ui/dropdown-menu.d.ts.map +1 -1
  120. package/dist/internal/ui/dropdown-menu.js +8 -8
  121. package/dist/internal/ui/navigation-menu.d.ts.map +1 -1
  122. package/dist/internal/ui/navigation-menu.js +4 -4
  123. package/dist/internal/ui/popover.d.ts.map +1 -1
  124. package/dist/internal/ui/popover.js +1 -1
  125. package/dist/internal/ui/scroll-area.d.ts.map +1 -1
  126. package/dist/internal/ui/scroll-area.js +1 -1
  127. package/dist/internal/use-mobile.d.ts.map +1 -1
  128. package/dist/internal/use-mobile.js +2 -12
  129. package/dist/layout.d.ts +1 -0
  130. package/dist/layout.d.ts.map +1 -1
  131. package/dist/layout.js +3 -1
  132. package/dist/mdx.d.ts.map +1 -1
  133. package/dist/mdx.js +17 -2
  134. package/dist/mobile-docs-bar.d.ts.map +1 -1
  135. package/dist/mobile-docs-bar.js +1 -2
  136. package/dist/navbar.js +3 -2
  137. package/dist/pages/docs.d.ts.map +1 -1
  138. package/dist/pages/docs.js +18 -5
  139. package/dist/routes/chat.d.ts +1 -1
  140. package/dist/routes/chat.d.ts.map +1 -1
  141. package/dist/routes/chat.js +31 -14
  142. package/dist/routes/llms.d.ts +1 -1
  143. package/dist/routes/llms.d.ts.map +1 -1
  144. package/dist/routes/llms.js +12 -2
  145. package/dist/source.d.ts +6 -1
  146. package/dist/source.d.ts.map +1 -1
  147. package/dist/source.js +1 -2
  148. package/dist/versions.d.ts.map +1 -1
  149. package/dist/versions.js +5 -5
  150. package/docs/agents.md +4 -4
  151. package/docs/llms.txt +441 -111
  152. package/docs/manifest.json +12 -12
  153. package/docs/pages/ask-ai.md +2 -2
  154. package/docs/pages/deployment.md +30 -5
  155. package/docs/pages/getting-started.md +38 -12
  156. package/docs/pages/guides/nested-navigation.md +1 -1
  157. package/docs/pages/md.md +1 -1
  158. package/docs/pages/migration-2.md +106 -0
  159. package/docs/pages/migration.md +10 -9
  160. package/docs/pages/syntax.md +242 -11
  161. package/docs/pages/versioned-docs.md +3 -3
  162. package/docs/sitemap.md +3 -3
  163. package/package.json +15 -103
  164. package/styles.css +3 -2
  165. package/template/AGENTS.md +10 -0
  166. package/template/app/[lang]/(home)/components/hero.tsx +2 -2
  167. package/template/app/[lang]/(home)/components/one-two-section.tsx +9 -1
  168. package/template/app/[lang]/(home)/components/text-grid-section.tsx +1 -1
  169. package/template/app/[lang]/(home)/page.tsx +5 -6
  170. package/template/app/[lang]/layout.tsx +11 -4
  171. package/template/app/styles/geistdocs.css +18 -15
  172. package/template/components/ui/button.tsx +1 -1
  173. package/template/content/docs/ask-ai.cn.mdx +2 -2
  174. package/template/content/docs/ask-ai.mdx +2 -2
  175. package/template/content/docs/configuration.cn.mdx +2 -2
  176. package/template/content/docs/deployment.mdx +31 -6
  177. package/template/content/docs/getting-started.mdx +39 -13
  178. package/template/content/docs/guides/nested-navigation.mdx +1 -1
  179. package/template/content/docs/md.mdx +1 -1
  180. package/template/content/docs/meta.json +1 -0
  181. package/template/content/docs/migration-2.mdx +106 -0
  182. package/template/content/docs/migration.mdx +10 -8
  183. package/template/content/docs/syntax.mdx +248 -11
  184. package/template/content/docs/versioned-docs.mdx +3 -3
  185. package/template/lib/geistdocs/config.tsx +0 -5
  186. package/template/next.config.ts +25 -2
  187. package/template/package.json +6 -8
  188. package/theme.css +39 -699
  189. package/dist/assets/icons/icon-acronym-ts.d.ts +0 -5
  190. package/dist/assets/icons/icon-acronym-ts.d.ts.map +0 -1
  191. package/dist/assets/icons/icon-acronym-ts.js +0 -4
  192. package/dist/assets/icons/icon-agents.d.ts +0 -5
  193. package/dist/assets/icons/icon-agents.d.ts.map +0 -1
  194. package/dist/assets/icons/icon-agents.js +0 -4
  195. package/dist/assets/icons/icon-api.d.ts +0 -5
  196. package/dist/assets/icons/icon-api.d.ts.map +0 -1
  197. package/dist/assets/icons/icon-api.js +0 -4
  198. package/dist/assets/icons/icon-arrow-up-right-small.d.ts +0 -8
  199. package/dist/assets/icons/icon-arrow-up-right-small.d.ts.map +0 -1
  200. package/dist/assets/icons/icon-arrow-up-right-small.js +0 -4
  201. package/dist/assets/icons/icon-arrow-up-right.d.ts +0 -5
  202. package/dist/assets/icons/icon-arrow-up-right.d.ts.map +0 -1
  203. package/dist/assets/icons/icon-arrow-up-right.js +0 -4
  204. package/dist/assets/icons/icon-check.d.ts +0 -5
  205. package/dist/assets/icons/icon-check.d.ts.map +0 -1
  206. package/dist/assets/icons/icon-check.js +0 -4
  207. package/dist/assets/icons/icon-chevron-down-small.d.ts +0 -8
  208. package/dist/assets/icons/icon-chevron-down-small.d.ts.map +0 -1
  209. package/dist/assets/icons/icon-chevron-down-small.js +0 -7
  210. package/dist/assets/icons/icon-chevron-right.d.ts +0 -5
  211. package/dist/assets/icons/icon-chevron-right.d.ts.map +0 -1
  212. package/dist/assets/icons/icon-chevron-right.js +0 -4
  213. package/dist/assets/icons/icon-clock.d.ts +0 -5
  214. package/dist/assets/icons/icon-clock.d.ts.map +0 -1
  215. package/dist/assets/icons/icon-clock.js +0 -4
  216. package/dist/assets/icons/icon-copy.d.ts +0 -5
  217. package/dist/assets/icons/icon-copy.d.ts.map +0 -1
  218. package/dist/assets/icons/icon-copy.js +0 -4
  219. package/dist/assets/icons/icon-display-small.d.ts +0 -5
  220. package/dist/assets/icons/icon-display-small.d.ts.map +0 -1
  221. package/dist/assets/icons/icon-display-small.js +0 -4
  222. package/dist/assets/icons/icon-display.d.ts +0 -5
  223. package/dist/assets/icons/icon-display.d.ts.map +0 -1
  224. package/dist/assets/icons/icon-display.js +0 -4
  225. package/dist/assets/icons/icon-file-text.d.ts +0 -5
  226. package/dist/assets/icons/icon-file-text.d.ts.map +0 -1
  227. package/dist/assets/icons/icon-file-text.js +0 -4
  228. package/dist/assets/icons/icon-folder-open.d.ts +0 -5
  229. package/dist/assets/icons/icon-folder-open.d.ts.map +0 -1
  230. package/dist/assets/icons/icon-folder-open.js +0 -4
  231. package/dist/assets/icons/icon-linked.d.ts +0 -5
  232. package/dist/assets/icons/icon-linked.d.ts.map +0 -1
  233. package/dist/assets/icons/icon-linked.js +0 -4
  234. package/dist/assets/icons/icon-logs.d.ts +0 -5
  235. package/dist/assets/icons/icon-logs.d.ts.map +0 -1
  236. package/dist/assets/icons/icon-logs.js +0 -4
  237. package/dist/assets/icons/icon-menu-alt.d.ts +0 -5
  238. package/dist/assets/icons/icon-menu-alt.d.ts.map +0 -1
  239. package/dist/assets/icons/icon-menu-alt.js +0 -4
  240. package/dist/assets/icons/icon-message.d.ts +0 -5
  241. package/dist/assets/icons/icon-message.d.ts.map +0 -1
  242. package/dist/assets/icons/icon-message.js +0 -4
  243. package/dist/assets/icons/icon-moon-small.d.ts +0 -5
  244. package/dist/assets/icons/icon-moon-small.d.ts.map +0 -1
  245. package/dist/assets/icons/icon-moon-small.js +0 -4
  246. package/dist/assets/icons/icon-moon.d.ts +0 -5
  247. package/dist/assets/icons/icon-moon.d.ts.map +0 -1
  248. package/dist/assets/icons/icon-moon.js +0 -4
  249. package/dist/assets/icons/icon-openai.d.ts +0 -5
  250. package/dist/assets/icons/icon-openai.d.ts.map +0 -1
  251. package/dist/assets/icons/icon-openai.js +0 -4
  252. package/dist/assets/icons/icon-plus-circle.d.ts +0 -5
  253. package/dist/assets/icons/icon-plus-circle.d.ts.map +0 -1
  254. package/dist/assets/icons/icon-plus-circle.js +0 -4
  255. package/dist/assets/icons/icon-refresh-counter-clockwise.d.ts +0 -5
  256. package/dist/assets/icons/icon-refresh-counter-clockwise.d.ts.map +0 -1
  257. package/dist/assets/icons/icon-refresh-counter-clockwise.js +0 -4
  258. package/dist/assets/icons/icon-robot.d.ts +0 -5
  259. package/dist/assets/icons/icon-robot.d.ts.map +0 -1
  260. package/dist/assets/icons/icon-robot.js +0 -4
  261. package/dist/assets/icons/icon-sandbox.d.ts +0 -5
  262. package/dist/assets/icons/icon-sandbox.d.ts.map +0 -1
  263. package/dist/assets/icons/icon-sandbox.js +0 -4
  264. package/dist/assets/icons/icon-slash-forward.d.ts +0 -8
  265. package/dist/assets/icons/icon-slash-forward.d.ts.map +0 -1
  266. package/dist/assets/icons/icon-slash-forward.js +0 -4
  267. package/dist/assets/icons/icon-sparkles.d.ts +0 -5
  268. package/dist/assets/icons/icon-sparkles.d.ts.map +0 -1
  269. package/dist/assets/icons/icon-sparkles.js +0 -4
  270. package/dist/assets/icons/icon-sun-small.d.ts +0 -5
  271. package/dist/assets/icons/icon-sun-small.d.ts.map +0 -1
  272. package/dist/assets/icons/icon-sun-small.js +0 -4
  273. package/dist/assets/icons/icon-sun.d.ts +0 -5
  274. package/dist/assets/icons/icon-sun.d.ts.map +0 -1
  275. package/dist/assets/icons/icon-sun.js +0 -4
  276. package/dist/assets/icons/icon-trash.d.ts +0 -5
  277. package/dist/assets/icons/icon-trash.d.ts.map +0 -1
  278. package/dist/assets/icons/icon-trash.js +0 -4
  279. package/dist/assets/icons/icon-user.d.ts +0 -5
  280. package/dist/assets/icons/icon-user.d.ts.map +0 -1
  281. package/dist/assets/icons/icon-user.js +0 -4
  282. package/dist/assets/icons/icon-workflow.d.ts +0 -5
  283. package/dist/assets/icons/icon-workflow.d.ts.map +0 -1
  284. package/dist/assets/icons/icon-workflow.js +0 -4
  285. package/dist/assets/icons/icon-wrench.d.ts +0 -5
  286. package/dist/assets/icons/icon-wrench.d.ts.map +0 -1
  287. package/dist/assets/icons/icon-wrench.js +0 -4
  288. package/dist/assets/icons/index.d.ts +0 -35
  289. package/dist/assets/icons/index.d.ts.map +0 -1
  290. package/dist/assets/icons/index.js +0 -35
  291. package/dist/assets/logos/index.d.ts +0 -17
  292. package/dist/assets/logos/index.d.ts.map +0 -1
  293. package/dist/assets/logos/index.js +0 -17
  294. package/dist/assets/logos/logo-ai-elements.d.ts +0 -5
  295. package/dist/assets/logos/logo-ai-elements.d.ts.map +0 -1
  296. package/dist/assets/logos/logo-ai-elements.js +0 -5
  297. package/dist/assets/logos/logo-ai-sdk.d.ts +0 -5
  298. package/dist/assets/logos/logo-ai-sdk.d.ts.map +0 -1
  299. package/dist/assets/logos/logo-ai-sdk.js +0 -5
  300. package/dist/assets/logos/logo-chat-sdk.d.ts +0 -5
  301. package/dist/assets/logos/logo-chat-sdk.d.ts.map +0 -1
  302. package/dist/assets/logos/logo-chat-sdk.js +0 -5
  303. package/dist/assets/logos/logo-eve.d.ts +0 -5
  304. package/dist/assets/logos/logo-eve.d.ts.map +0 -1
  305. package/dist/assets/logos/logo-eve.js +0 -5
  306. package/dist/assets/logos/logo-flags-sdk.d.ts +0 -5
  307. package/dist/assets/logos/logo-flags-sdk.d.ts.map +0 -1
  308. package/dist/assets/logos/logo-flags-sdk.js +0 -5
  309. package/dist/assets/logos/logo-icon-vercel.d.ts +0 -5
  310. package/dist/assets/logos/logo-icon-vercel.d.ts.map +0 -1
  311. package/dist/assets/logos/logo-icon-vercel.js +0 -4
  312. package/dist/assets/logos/logo-nextjs.d.ts +0 -5
  313. package/dist/assets/logos/logo-nextjs.d.ts.map +0 -1
  314. package/dist/assets/logos/logo-nextjs.js +0 -9
  315. package/dist/assets/logos/logo-streamdown.d.ts +0 -5
  316. package/dist/assets/logos/logo-streamdown.d.ts.map +0 -1
  317. package/dist/assets/logos/logo-streamdown.js +0 -5
  318. package/dist/assets/logos/logo-svelte-kit.d.ts +0 -5
  319. package/dist/assets/logos/logo-svelte-kit.d.ts.map +0 -1
  320. package/dist/assets/logos/logo-svelte-kit.js +0 -4
  321. package/dist/assets/logos/logo-turborepo.d.ts +0 -5
  322. package/dist/assets/logos/logo-turborepo.d.ts.map +0 -1
  323. package/dist/assets/logos/logo-turborepo.js +0 -5
  324. package/dist/assets/logos/logo-vercel-oss.d.ts +0 -5
  325. package/dist/assets/logos/logo-vercel-oss.d.ts.map +0 -1
  326. package/dist/assets/logos/logo-vercel-oss.js +0 -4
  327. package/dist/assets/logos/logo-workflow-sdk.d.ts +0 -5
  328. package/dist/assets/logos/logo-workflow-sdk.d.ts.map +0 -1
  329. package/dist/assets/logos/logo-workflow-sdk.js +0 -5
  330. package/dist/components/badge.d.ts +0 -11
  331. package/dist/components/badge.d.ts.map +0 -1
  332. package/dist/components/badge.js +0 -22
  333. package/dist/components/button-group.d.ts +0 -2
  334. package/dist/components/button-group.d.ts.map +0 -1
  335. package/dist/components/button-group.js +0 -2
  336. package/dist/components/button.d.ts +0 -2
  337. package/dist/components/button.d.ts.map +0 -1
  338. package/dist/components/button.js +0 -2
  339. package/dist/components/card.d.ts +0 -2
  340. package/dist/components/card.d.ts.map +0 -1
  341. package/dist/components/card.js +0 -2
  342. package/dist/components/dialog.d.ts +0 -13
  343. package/dist/components/dialog.d.ts.map +0 -1
  344. package/dist/components/dialog.js +0 -35
  345. package/dist/components/drawer.d.ts +0 -2
  346. package/dist/components/drawer.d.ts.map +0 -1
  347. package/dist/components/drawer.js +0 -3
  348. package/dist/components/input-group.d.ts +0 -2
  349. package/dist/components/input-group.d.ts.map +0 -1
  350. package/dist/components/input-group.js +0 -3
  351. package/dist/components/input.d.ts +0 -2
  352. package/dist/components/input.d.ts.map +0 -1
  353. package/dist/components/input.js +0 -2
  354. package/dist/components/kbd.d.ts +0 -2
  355. package/dist/components/kbd.d.ts.map +0 -1
  356. package/dist/components/kbd.js +0 -2
  357. package/dist/components/separator.d.ts +0 -2
  358. package/dist/components/separator.d.ts.map +0 -1
  359. package/dist/components/separator.js +0 -3
  360. package/dist/components/sheet.d.ts +0 -2
  361. package/dist/components/sheet.d.ts.map +0 -1
  362. package/dist/components/sheet.js +0 -3
  363. package/dist/components/sonner.d.ts +0 -2
  364. package/dist/components/sonner.d.ts.map +0 -1
  365. package/dist/components/sonner.js +0 -3
  366. package/dist/components/spinner.d.ts +0 -2
  367. package/dist/components/spinner.d.ts.map +0 -1
  368. package/dist/components/spinner.js +0 -2
  369. package/dist/components/switch.d.ts +0 -11
  370. package/dist/components/switch.d.ts.map +0 -1
  371. package/dist/components/switch.js +0 -12
  372. package/dist/components/textarea.d.ts +0 -2
  373. package/dist/components/textarea.d.ts.map +0 -1
  374. package/dist/components/textarea.js +0 -2
  375. package/dist/components/theme-aware-image.d.ts +0 -12
  376. package/dist/components/theme-aware-image.d.ts.map +0 -1
  377. package/dist/components/theme-aware-image.js +0 -8
  378. package/dist/components/theme-switcher.d.ts +0 -8
  379. package/dist/components/theme-switcher.d.ts.map +0 -1
  380. package/dist/components/theme-switcher.js +0 -37
  381. package/dist/components/tooltip.d.ts +0 -2
  382. package/dist/components/tooltip.d.ts.map +0 -1
  383. package/dist/components/tooltip.js +0 -3
  384. package/dist/internal/chat/shimmer.d.ts +0 -11
  385. package/dist/internal/chat/shimmer.d.ts.map +0 -1
  386. package/dist/internal/chat/shimmer.js +0 -22
  387. package/dist/internal/cn.d.ts +0 -3
  388. package/dist/internal/cn.d.ts.map +0 -1
  389. package/dist/internal/cn.js +0 -47
  390. package/dist/internal/ui/button-group.d.ts +0 -13
  391. package/dist/internal/ui/button-group.d.ts.map +0 -1
  392. package/dist/internal/ui/button-group.js +0 -26
  393. package/dist/internal/ui/button.d.ts +0 -12
  394. package/dist/internal/ui/button.d.ts.map +0 -1
  395. package/dist/internal/ui/button.js +0 -33
  396. package/dist/internal/ui/card.d.ts +0 -6
  397. package/dist/internal/ui/card.d.ts.map +0 -1
  398. package/dist/internal/ui/card.js +0 -14
  399. package/dist/internal/ui/drawer.d.ts +0 -8
  400. package/dist/internal/ui/drawer.d.ts.map +0 -1
  401. package/dist/internal/ui/drawer.js +0 -19
  402. package/dist/internal/ui/input-group.d.ts +0 -15
  403. package/dist/internal/ui/input-group.d.ts.map +0 -1
  404. package/dist/internal/ui/input-group.js +0 -44
  405. package/dist/internal/ui/input.d.ts +0 -3
  406. package/dist/internal/ui/input.d.ts.map +0 -1
  407. package/dist/internal/ui/input.js +0 -5
  408. package/dist/internal/ui/kbd.d.ts +0 -4
  409. package/dist/internal/ui/kbd.d.ts.map +0 -1
  410. package/dist/internal/ui/kbd.js +0 -8
  411. package/dist/internal/ui/separator.d.ts +0 -4
  412. package/dist/internal/ui/separator.d.ts.map +0 -1
  413. package/dist/internal/ui/separator.js +0 -7
  414. package/dist/internal/ui/sheet.d.ts +0 -13
  415. package/dist/internal/ui/sheet.d.ts.map +0 -1
  416. package/dist/internal/ui/sheet.js +0 -24
  417. package/dist/internal/ui/sonner.d.ts +0 -3
  418. package/dist/internal/ui/sonner.d.ts.map +0 -1
  419. package/dist/internal/ui/sonner.js +0 -20
  420. package/dist/internal/ui/spinner.d.ts +0 -3
  421. package/dist/internal/ui/spinner.d.ts.map +0 -1
  422. package/dist/internal/ui/spinner.js +0 -6
  423. package/dist/internal/ui/textarea.d.ts +0 -3
  424. package/dist/internal/ui/textarea.d.ts.map +0 -1
  425. package/dist/internal/ui/textarea.js +0 -5
  426. package/dist/internal/ui/tooltip.d.ts +0 -7
  427. package/dist/internal/ui/tooltip.d.ts.map +0 -1
  428. package/dist/internal/ui/tooltip.js +0 -16
  429. package/docs/pages/theme-aware-image.md +0 -59
  430. package/template/app/[lang]/(home)/components/centered-section.tsx +0 -32
  431. package/template/content/docs/theme-aware-image.mdx +0 -57
@@ -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
 
@@ -67,11 +69,17 @@ Headings automatically generate anchor links for navigation and deep linking.
67
69
 
68
70
  Create unordered lists with `-`, `*`, or `+`:
69
71
 
70
- - First item
71
- - Second item
72
- - Nested item
73
- - Another nested item
74
- - Third item
72
+ ```md
73
+ - Install the required packages
74
+ - Configure your project
75
+ - Start the development server
76
+ ```
77
+
78
+ This renders as:
79
+
80
+ - Install the required packages
81
+ - Configure your project
82
+ - Start the development server
75
83
 
76
84
  Create ordered lists with numbers:
77
85
 
@@ -83,7 +91,91 @@ Create ordered lists with numbers:
83
91
 
84
92
  Use `>` to create blockquotes:
85
93
 
86
- > This is a blockquote. You can use it to highlight important information or quotes from external sources.
94
+ > **Watch:** Learn more about how to use `next/image` → [YouTube (9 minutes)](https://youtu.be/IU_qq_c_lKA).
95
+
96
+ ### Callouts
97
+
98
+ Use `<Callout>` for a highlighted informational note:
99
+
100
+ ```mdx
101
+ <Callout>This is automatically set when deploying to Vercel.</Callout>
102
+ ```
103
+
104
+ This renders as:
105
+
106
+ > This is automatically set when deploying to Vercel.
107
+
108
+ Callouts can also contain a title and lists:
109
+
110
+ > Note:
111
+ - The `App Router` uses [React canary
112
+ releases](https://react.dev/blog/2023/05/03/react-canaries) built-in, which
113
+ include all the stable React 19 changes, as well as newer features being
114
+ validated in frameworks, but you should still declare react and react-dom in
115
+ package.json for tooling and ecosystem compatibility.
116
+ - The `Pages Router` uses the React version from your `package.json`.
117
+
118
+ Callouts support rich inline Markdown, including code, emphasis, and links:
119
+
120
+ ```mdx
121
+ <Callout title="Good to know">
122
+ Global styles can be imported into any layout, page, or component inside the
123
+ `app` directory. However, since Next.js uses React's built-in support for
124
+ stylesheets to integrate with Suspense, this currently does not remove
125
+ stylesheets as you navigate between routes which can lead to conflicts. We
126
+ recommend using global styles for _truly global_ CSS (like Tailwind's base
127
+ styles), [Tailwind CSS](https://tailwindcss.com) for component styling, and
128
+ [CSS Modules](https://nextjs.org/docs/app/getting-started/css#css-modules) for
129
+ custom scoped CSS when needed.
130
+ </Callout>
131
+ ```
132
+
133
+ This renders as:
134
+
135
+ > Note:
136
+ Global styles can be imported into any layout, page, or component inside the
137
+ `app` directory. However, since Next.js uses React's built-in support for
138
+ stylesheets to integrate with Suspense, this currently does not remove
139
+ stylesheets as you navigate between routes which can lead to conflicts. We
140
+ recommend using global styles for _truly global_ CSS (like Tailwind's base
141
+ styles), [Tailwind CSS](https://tailwindcss.com) for component styling, and
142
+ [CSS Modules](https://nextjs.org/docs/app/getting-started/css#css-modules) for
143
+ custom scoped CSS when needed.
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
+ Summarize this documentation page and list the key concepts.
158
+
159
+ Long prompts initially show a preview with a **Show more** control:
160
+
161
+ ```mdx
162
+ <CopyPrompt collapsible text="Write a detailed migration plan for this project.">
163
+ Write a detailed migration plan for this project. Include prerequisites,
164
+ implementation steps, validation, rollback guidance, and common pitfalls.
165
+ </CopyPrompt>
166
+ ```
167
+
168
+ Set the boolean `collapsible` prop when the prompt should initially render as a
169
+ two-line preview. This renders as:
170
+
171
+ Review this Geistdocs project in detail. Explain how the `@vercel/geistdocs`
172
+ package, application layouts, local adapter files, source configuration,
173
+ `content/docs` directory, navigation metadata, MDX components, syntax
174
+ highlighting, search routes, and deployment configuration work together.
175
+ Then identify the safest first files to edit, describe the effect of each
176
+ change, call out common mistakes, and propose a step-by-step plan for
177
+ customizing the documentation site without breaking routing, generated
178
+ Markdown, or accessibility behavior.
87
179
 
88
180
  ### Links
89
181
 
@@ -92,6 +184,25 @@ Create links with `[text](url)`:
92
184
  - [External link](https://vercel.com)
93
185
  - [Internal link](/docs/getting-started)
94
186
 
187
+ Use an absolute `https://` or `http://` URL for an external destination. Use a
188
+ root-relative path beginning with `/` for an internal link. Both use the same
189
+ visual styling:
190
+
191
+ ```md
192
+ [External link](https://vercel.com)
193
+ [Internal link](/docs/getting-started)
194
+ ```
195
+
196
+ Links can also contain inline code:
197
+
198
+ ```md
199
+ Run independent requests in parallel with [`Promise.all`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise/all).
200
+ ```
201
+
202
+ This renders as:
203
+
204
+ Run independent requests in parallel with [`Promise.all`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise/all).
205
+
95
206
  ### Images
96
207
 
97
208
  Add images with `![alt text](url)`:
@@ -100,6 +211,44 @@ Add images with `![alt text](url)`:
100
211
  ![Description of the image](/path/to/image.png)
101
212
  ```
102
213
 
214
+ Use `<Image>` when an image needs the standard documentation presentation and
215
+ an optional description. It uses Geistcn's image component without a lightbox
216
+ or other interaction:
217
+
218
+ ```mdx
219
+ <Image
220
+ alt="Deployment graph"
221
+ caption="Requests move from the edge to the selected region."
222
+ height={480}
223
+ src="/deployment-graph.png"
224
+ width={800}
225
+ />
226
+ ```
227
+
228
+ This renders as:
229
+
230
+ <Image
231
+ alt="Navigation Inspector showing a loading shell for a page load"
232
+ caption="The Navigation Inspector paused on a page load."
233
+ height={389}
234
+ srcDark="https://h8DxKfmAPhn8O0p3.public.blob.vercel-storage.com/docs/dark/inspector-load.png"
235
+ srcLight="https://h8DxKfmAPhn8O0p3.public.blob.vercel-storage.com/docs/light/inspector-load.png"
236
+ width={472}
237
+ />
238
+
239
+ For theme-aware images, provide both sources:
240
+
241
+ ```mdx
242
+ <Image
243
+ alt="Deployment graph"
244
+ caption="Requests move from the edge to the selected region."
245
+ height={480}
246
+ srcDark="/deployment-graph-dark.png"
247
+ srcLight="/deployment-graph-light.png"
248
+ width={800}
249
+ />
250
+ ```
251
+
103
252
  ## GitHub Flavored Markdown
104
253
 
105
254
  Geistdocs supports GFM extensions including tables, task lists, and autolinks.
@@ -124,6 +273,16 @@ This renders as:
124
273
  | GFM | GitHub extensions | Supported |
125
274
  | MDX | JSX in Markdown | Supported |
126
275
 
276
+ Tables can also include inline code, as commonly used for file references:
277
+
278
+ | File | Description |
279
+ | -------------------- | ------------------------------------------------ |
280
+ | `next.config.js` | Configuration file for Next.js |
281
+ | `package.json` | Project dependencies and scripts |
282
+ | `instrumentation.ts` | OpenTelemetry and instrumentation file |
283
+ | `.env.local` | Local environment variables |
284
+ | `tsconfig.json` | Configuration file for TypeScript |
285
+
127
286
  ### Task Lists
128
287
 
129
288
  Create interactive task lists:
@@ -196,6 +355,78 @@ export const Button = ({ children }) => {
196
355
  };
197
356
  ```
198
357
 
358
+ ### Tabs and switchers
359
+
360
+ Use consecutive fences with `tab` metadata for code tabs that expose every
361
+ option at once:
362
+
363
+ ````md
364
+ ```ts tab="TypeScript" title="example.ts"
365
+ export const greeting: string = "Hello from TypeScript";
366
+ ```
367
+
368
+ ```js tab="JavaScript" title="example.js"
369
+ export const greeting = "Hello from JavaScript";
370
+ ```
371
+ ````
372
+
373
+ This renders as:
374
+
375
+ ```ts tab="TypeScript" title="example.ts"
376
+ export const greeting: string = "Hello from TypeScript";
377
+ ```
378
+
379
+ ```js tab="JavaScript" title="example.js"
380
+ export const greeting = "Hello from JavaScript";
381
+ ```
382
+
383
+ Wrap the same fences in `<CodeBlockTabs compact>` to move the selector into the
384
+ code-block header:
385
+
386
+ ````mdx
387
+ <CompactCodeBlockTabs defaultValue="TypeScript">
388
+ <CodeBlockTabsList>
389
+ <CodeBlockTabsTrigger value="TypeScript">TypeScript</CodeBlockTabsTrigger>
390
+ <CodeBlockTabsTrigger value="JavaScript">JavaScript</CodeBlockTabsTrigger>
391
+ </CodeBlockTabsList>
392
+ <CodeBlockTab value="TypeScript">
393
+ ```ts title="example.ts"
394
+ export const greeting: string = "Hello from TypeScript";
395
+ ```
396
+ </CodeBlockTab>
397
+ <CodeBlockTab value="JavaScript">
398
+ ```js title="example.js"
399
+ export const greeting = "Hello from JavaScript";
400
+ ```
401
+ </CodeBlockTab>
402
+ </CompactCodeBlockTabs>
403
+ ````
404
+
405
+ This renders as:
406
+
407
+ <CompactCodeBlockTabs defaultValue="TypeScript">
408
+ <CodeBlockTabsList>
409
+ <CodeBlockTabsTrigger value="TypeScript">TypeScript</CodeBlockTabsTrigger>
410
+ <CodeBlockTabsTrigger value="JavaScript">JavaScript</CodeBlockTabsTrigger>
411
+ </CodeBlockTabsList>
412
+ <CodeBlockTab value="TypeScript">
413
+ ```ts title="example.ts"
414
+ export const greeting: string = "Hello from TypeScript";
415
+ ```
416
+ </CodeBlockTab>
417
+ <CodeBlockTab value="JavaScript">
418
+ ```js title="example.js"
419
+ export const greeting = "Hello from JavaScript";
420
+ ```
421
+ </CodeBlockTab>
422
+ </CompactCodeBlockTabs>
423
+
424
+ When migrating an existing site such as next-site, translate adjacent
425
+ `switcher` fences to `tab="TypeScript"` and `tab="JavaScript"`, then wrap the
426
+ pair with `<CodeBlockTabs compact>`. Import `@vercel/geistdocs/styles.css` (or
427
+ `theme.css` with the documented Geist dependencies) so Tailwind scans the
428
+ package's compiled components and emits the tab layout utilities.
429
+
199
430
  ### Framework icons
200
431
 
201
432
  Append `#<framework>` to the title to show a framework logo instead of the
@@ -204,22 +435,22 @@ values are `#next` / `#nextjs` and `#svelte` / `#sveltekit`:
204
435
 
205
436
  ````md
206
437
  ```ts title="flags.ts#next"
207
- import { flag } from 'flags/next';
438
+ import { flag } from "flags/next";
208
439
  ```
209
440
 
210
441
  ```ts title="flags.ts#svelte"
211
- import { flag } from 'flags/sveltekit';
442
+ import { flag } from "flags/sveltekit";
212
443
  ```
213
444
  ````
214
445
 
215
446
  This renders as:
216
447
 
217
448
  ```ts title="flags.ts#next"
218
- import { flag } from 'flags/next';
449
+ import { flag } from "flags/next";
219
450
  ```
220
451
 
221
452
  ```ts title="flags.ts#svelte"
222
- import { flag } from 'flags/sveltekit';
453
+ import { flag } from "flags/sveltekit";
223
454
  ```
224
455
 
225
456
  ### Line Numbers
@@ -181,7 +181,7 @@ Each version can define an `icon` to override the default current/previous versi
181
181
  Use `GeistdocsRouteSelect` for framework, product, or route switchers that should not use version-specific labels:
182
182
 
183
183
  ```tsx
184
- import { LogoNextjs, LogoSvelteKit } from "@vercel/geistdocs/assets/logos";
184
+ import { LogoIconNextSvg, LogoSvelte } from "@vercel/geistcn-assets/logos";
185
185
  import { GeistdocsRouteSelect } from "@vercel/geistdocs/versions";
186
186
 
187
187
  <GeistdocsRouteSelect
@@ -192,14 +192,14 @@ import { GeistdocsRouteSelect } from "@vercel/geistdocs/versions";
192
192
  id: "nextjs",
193
193
  label: "Next.js",
194
194
  description: "React framework",
195
- icon: <LogoNextjs height={18} />,
195
+ icon: <LogoIconNextSvg size={18} />,
196
196
  href: "/:path*",
197
197
  },
198
198
  {
199
199
  id: "sveltekit",
200
200
  label: "SvelteKit",
201
201
  description: "Svelte framework",
202
- icon: <LogoSvelteKit height={18} />,
202
+ icon: <LogoSvelte height={18} />,
203
203
  routePrefix: "/sveltekit",
204
204
  href: "/sveltekit/:path*",
205
205
  },
package/docs/sitemap.md CHANGED
@@ -6,8 +6,9 @@ Use it to choose focused page files from `docs/pages/` before reading the full `
6
6
  - [Overview](pages/index.md) | URL: /docs | Type: overview | Summary: Geistdocs is a packaged documentation system for creating Next.js and Fumadocs sites with shared runtime features.
7
7
  - [Getting Started](pages/getting-started.md) | URL: /docs/getting-started | Type: guide | Summary: Create a Geistdocs project, run it locally, and edit your first documentation page.
8
8
  - [Environment Variables](pages/env.md) | URL: /docs/env | Type: reference | Summary: Environment variables required by Geistdocs for AI chat, proxy mode, and production URL configuration.
9
- - [Deploy to Vercel](pages/deployment.md) | URL: /docs/deployment | Type: guide | Summary: Deploy your Geistdocs site to Vercel from the dashboard with the correct project settings.
10
- - [Migration guide](pages/migration.md) | URL: /docs/migration | Type: guide | Summary: Move an existing documentation site to @vercel/geistdocs while keeping local content, routing, middleware behavior, and AI-readable surfaces intact.
9
+ - [Deploy to Vercel](pages/deployment.md) | URL: /docs/deployment | Type: guide | Summary: Deploy a Geistdocs site to Vercel with the required project settings, environment variables, and private-package access.
10
+ - [Migrate to Geistdocs](pages/migration.md) | URL: /docs/migration | Type: guide | Summary: Move an existing documentation site to @vercel/geistdocs while keeping local content, routing, middleware behavior, and AI-readable surfaces intact.
11
+ - [Migrate from Geistdocs 1.x to 2.0](pages/migration-2.md) | URL: /docs/migration-2 | Type: guide | Summary: A concise, agent-friendly checklist for upgrading an existing Geistdocs 1.x site to 2.0.
11
12
  - [Configuration](pages/configuration.md) | URL: /docs/configuration | Type: reference | Summary: Configure site metadata, navigation, AI features, page actions, translations, and local adapters.
12
13
  - [Syntax](pages/syntax.md) | URL: /docs/syntax | Type: reference | Summary: Supported MDX syntax including text formatting, code blocks, line highlighting, and Mermaid diagrams.
13
14
  - [Geistdocs Provider](pages/provider.md) | URL: /docs/provider | Type: reference | Summary: The root provider component that wraps your application to handle toast notifications, search, and analytics.
@@ -24,4 +25,3 @@ Use it to choose focused page files from `docs/pages/` before reading the full `
24
25
  - [Open in Chat](pages/open-in-chat.md) | URL: /docs/open-in-chat | Type: conceptual | Summary: Transfer documentation context to AI chat platforms like ChatGPT, Claude, Cursor, and v0 with a single click.
25
26
  - [RSS](pages/rss.md) | URL: /docs/rss | Type: conceptual | Summary: An automatically generated RSS 2.0 feed that keeps users informed when documentation is published or updated.
26
27
  - [Table of contents](pages/table-of-contents.md) | URL: /docs/table-of-contents | Type: reference | Summary: 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.
27
- - [Theme-Aware Image](pages/theme-aware-image.md) | URL: /docs/theme-aware-image | Type: reference | Summary: A component that swaps images based on the active theme, built on top of Next.js Image.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vercel/geistdocs",
3
3
  "description": "Runtime and CLI for Geistdocs projects.",
4
- "version": "1.25.0",
4
+ "version": "1.25.1-canary.498144e",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -131,26 +131,10 @@
131
131
  "types": "./dist/shiki-theme.d.ts",
132
132
  "default": "./dist/shiki-theme.js"
133
133
  },
134
- "./components/badge": {
135
- "types": "./dist/components/badge.d.ts",
136
- "default": "./dist/components/badge.js"
137
- },
138
- "./components/button": {
139
- "types": "./dist/components/button.d.ts",
140
- "default": "./dist/components/button.js"
141
- },
142
- "./components/button-group": {
143
- "types": "./dist/components/button-group.d.ts",
144
- "default": "./dist/components/button-group.js"
145
- },
146
134
  "./components/callout": {
147
135
  "types": "./dist/components/callout.d.ts",
148
136
  "default": "./dist/components/callout.js"
149
137
  },
150
- "./components/card": {
151
- "types": "./dist/components/card.d.ts",
152
- "default": "./dist/components/card.js"
153
- },
154
138
  "./components/code-block": {
155
139
  "types": "./dist/components/code-block.d.ts",
156
140
  "default": "./dist/components/code-block.js"
@@ -171,34 +155,14 @@
171
155
  "types": "./dist/components/copy-prompt.d.ts",
172
156
  "default": "./dist/components/copy-prompt.js"
173
157
  },
174
- "./components/dialog": {
175
- "types": "./dist/components/dialog.d.ts",
176
- "default": "./dist/components/dialog.js"
177
- },
178
- "./components/drawer": {
179
- "types": "./dist/components/drawer.d.ts",
180
- "default": "./dist/components/drawer.js"
158
+ "./components/image": {
159
+ "types": "./dist/components/image.d.ts",
160
+ "default": "./dist/components/image.js"
181
161
  },
182
162
  "./components/dropdown-menu": {
183
163
  "types": "./dist/components/dropdown-menu.d.ts",
184
164
  "default": "./dist/components/dropdown-menu.js"
185
165
  },
186
- "./components/input": {
187
- "types": "./dist/components/input.d.ts",
188
- "default": "./dist/components/input.js"
189
- },
190
- "./components/input-group": {
191
- "types": "./dist/components/input-group.d.ts",
192
- "default": "./dist/components/input-group.js"
193
- },
194
- "./components/kbd": {
195
- "types": "./dist/components/kbd.d.ts",
196
- "default": "./dist/components/kbd.js"
197
- },
198
- "./components/theme-aware-image": {
199
- "types": "./dist/components/theme-aware-image.d.ts",
200
- "default": "./dist/components/theme-aware-image.js"
201
- },
202
166
  "./components/mermaid": {
203
167
  "types": "./dist/components/mermaid.d.ts",
204
168
  "default": "./dist/components/mermaid.js"
@@ -215,74 +179,29 @@
215
179
  "types": "./dist/components/scroll-area.d.ts",
216
180
  "default": "./dist/components/scroll-area.js"
217
181
  },
218
- "./components/separator": {
219
- "types": "./dist/components/separator.d.ts",
220
- "default": "./dist/components/separator.js"
221
- },
222
- "./components/sheet": {
223
- "types": "./dist/components/sheet.d.ts",
224
- "default": "./dist/components/sheet.js"
225
- },
226
- "./components/sonner": {
227
- "types": "./dist/components/sonner.d.ts",
228
- "default": "./dist/components/sonner.js"
229
- },
230
- "./components/spinner": {
231
- "types": "./dist/components/spinner.d.ts",
232
- "default": "./dist/components/spinner.js"
233
- },
234
- "./components/switch": {
235
- "types": "./dist/components/switch.d.ts",
236
- "default": "./dist/components/switch.js"
237
- },
238
- "./components/theme-switcher": {
239
- "types": "./dist/components/theme-switcher.d.ts",
240
- "default": "./dist/components/theme-switcher.js"
241
- },
242
- "./components/textarea": {
243
- "types": "./dist/components/textarea.d.ts",
244
- "default": "./dist/components/textarea.js"
245
- },
246
- "./components/tooltip": {
247
- "types": "./dist/components/tooltip.d.ts",
248
- "default": "./dist/components/tooltip.js"
249
- },
250
182
  "./components/video": {
251
183
  "types": "./dist/components/video.d.ts",
252
184
  "default": "./dist/components/video.js"
253
185
  },
254
- "./assets/icons": {
255
- "types": "./dist/assets/icons/index.d.ts",
256
- "default": "./dist/assets/icons/index.js"
257
- },
258
- "./assets/icons/*": {
259
- "types": "./dist/assets/icons/*.d.ts",
260
- "default": "./dist/assets/icons/*.js"
261
- },
262
- "./assets/logos": {
263
- "types": "./dist/assets/logos/index.d.ts",
264
- "default": "./dist/assets/logos/index.js"
265
- },
266
- "./assets/logos/*": {
267
- "types": "./dist/assets/logos/*.d.ts",
268
- "default": "./dist/assets/logos/*.js"
269
- },
270
186
  "./styles.css": "./styles.css",
271
187
  "./theme.css": "./theme.css",
272
188
  "./package.json": "./package.json"
273
189
  },
190
+ "scripts": {
191
+ "build": "rm -rf dist docs template && node ./scripts/bundle-template.mjs && node ./scripts/bundle-docs.mjs && tsc -p tsconfig.runtime.json && tsup --config tsup.config.cli.ts",
192
+ "dev": "tsc -p tsconfig.runtime.json --watch --preserveWatchOutput"
193
+ },
274
194
  "dependencies": {
275
195
  "@ai-sdk/react": "^3.0.134",
276
196
  "@clack/prompts": "^0.11.0",
277
- "@icons-pack/react-simple-icons": "^13.8.0",
278
197
  "@orama/tokenizers": "^3.1.16",
279
198
  "@streamdown/cjk": "^1.0.1",
280
- "@streamdown/code": "^1.0.1",
281
- "@vercel/agent-readability": "^0.6.0",
199
+ "@vercel/agent-readability": "^0.7.0",
200
+ "@vercel/geistcn": "1.0.4",
201
+ "@vercel/geistcn-assets": "2.1.0",
282
202
  "@vercel/oidc": "^3.4.1",
283
203
  "ai": "^6.0.132",
284
204
  "class-variance-authority": "^0.7.1",
285
- "clsx": "^2.1.1",
286
205
  "commander": "^14.0.2",
287
206
  "dexie": "^4.2.1",
288
207
  "dexie-react-hooks": "^4.2.0",
@@ -290,29 +209,26 @@
290
209
  "fumadocs-mdx": "14.0.4",
291
210
  "fumadocs-ui": "16.2.2",
292
211
  "glob": "^11.0.0",
293
- "lucide-react": "^0.555.0",
294
212
  "mermaid": "^11.12.2",
295
213
  "motion": "^12.23.25",
296
214
  "next-themes": "^0.4.6",
215
+ "phase": "^0.5.4",
297
216
  "radix-ui": "1.6.4",
298
217
  "react-player": "^3.4.0",
299
218
  "remark-frontmatter": "^5.0.0",
300
219
  "remark-gfm": "^4.0.1",
301
220
  "remark-mdx": "^3.1.1",
302
221
  "remark-parse": "^11.0.0",
303
- "sonner": "^2.0.7",
304
222
  "streamdown": "^2.1.0",
305
- "tailwind-merge": "^3.4.0",
306
223
  "ts-morph": "^27.0.2",
307
224
  "tw-animate-css": "^1.4.0",
308
225
  "unified": "^11.0.5",
309
226
  "unist-util-visit": "^5.1.0",
310
227
  "use-stick-to-bottom": "^1.1.1",
311
- "vaul": "^1.1.2",
312
228
  "zod": "^4.1.13"
313
229
  },
314
230
  "peerDependencies": {
315
- "next": "^16.3.0",
231
+ "next": "^16.3.3",
316
232
  "react": "^19.2.3",
317
233
  "react-dom": "^19.2.3",
318
234
  "tailwindcss": "^4.1.17"
@@ -326,14 +242,10 @@
326
242
  "@types/react": "^19.2.7",
327
243
  "@types/react-dom": "^19.2.3",
328
244
  "mdast-util-mdx-jsx": "^3.2.0",
329
- "next": "16.3.1",
245
+ "next": "16.3.3",
330
246
  "react": "^19.2.3",
331
247
  "react-dom": "^19.2.3",
332
248
  "tsup": "^8.5.1",
333
249
  "typescript": "^5.9.3"
334
- },
335
- "scripts": {
336
- "build": "rm -rf dist docs template && node ./scripts/bundle-template.mjs && node ./scripts/bundle-docs.mjs && tsc -p tsconfig.runtime.json && tsup --config tsup.config.cli.ts",
337
- "dev": "tsc -p tsconfig.runtime.json --watch --preserveWatchOutput"
338
250
  }
339
- }
251
+ }
package/styles.css CHANGED
@@ -1,9 +1,10 @@
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
4
 
6
5
  /* The Geist design layer (theme tokens, utilities, base, fumadocs theming).
7
6
  Kept in a separate, import-free file so consuming apps can pull in the same
8
7
  design system without re-bundling Tailwind and the fumadocs presets. */
9
8
  @import "./theme.css";
9
+ @import "@vercel/geistcn/styles.css";
10
+ @import "@vercel/geistcn/marketing-typography.css";
@@ -109,3 +109,13 @@ Use these instructions when an AI coding agent edits this project.
109
109
  - Run `pnpm dev` and open the changed pages when visual layout, navigation, or MDX rendering changes.
110
110
  - Check both `/docs` and AI-readable routes such as `/agents.md`, `/.well-known/mcp.json`, `/llms.txt`, or a page-level `.md` URL when changing content routing or proxy behavior.
111
111
  - Confirm no secrets were added to source files. Use `.env.local` for local values and keep it out of Git.
112
+
113
+ <!-- BEGIN:nextjs-agent-rules -->
114
+
115
+ # This is NOT the Next.js you know
116
+
117
+ This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` (resolved from this file's directory; in monorepos the `next` package may not be visible from the repo root) before writing any code. Heed deprecation notices.
118
+
119
+ This block is written and re-added by `next dev` — verify at `node_modules/next/dist/server/lib/generate-agent-files.js`. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree clean.
120
+
121
+ <!-- END:nextjs-agent-rules -->
@@ -1,4 +1,4 @@
1
- import { Badge } from "@vercel/geistdocs/components/badge";
1
+ import { Badge } from "@vercel/geistcn/components/badge";
2
2
  import type { ReactNode } from "react";
3
3
 
4
4
  interface HeroProps {
@@ -11,7 +11,7 @@ interface HeroProps {
11
11
  export const Hero = ({ badge, title, description, children }: HeroProps) => (
12
12
  <section className="mt-(--fd-nav-height) space-y-6 px-4 @min-[640px]:pt-24 pt-16 pb-16 text-center">
13
13
  <div className="mx-auto w-full max-w-4xl space-y-5">
14
- <Badge className="rounded-full" variant="secondary">
14
+ <Badge className="rounded-full" contrast="low" variant="gray">
15
15
  <div className="size-2 rounded-full bg-gray-800" />
16
16
  <p>{badge}</p>
17
17
  </Badge>
@@ -1,17 +1,25 @@
1
+ import { cn } from "@vercel/geistcn/utils";
1
2
  import type { ReactNode } from "react";
2
3
 
3
4
  interface OneTwoSectionProps {
4
5
  children?: ReactNode;
6
+ className?: string;
5
7
  description: string;
6
8
  title: string;
7
9
  }
8
10
 
9
11
  export const OneTwoSection = ({
12
+ className,
10
13
  title,
11
14
  description,
12
15
  children,
13
16
  }: OneTwoSectionProps) => (
14
- <div className="grid @min-[640px]:grid-cols-3 @min-[640px]:gap-0 gap-12 @min-[640px]:py-12 py-8">
17
+ <div
18
+ className={cn(
19
+ "grid @min-[640px]:grid-cols-3 @min-[640px]:gap-0 gap-12 @min-[640px]:py-12 py-8",
20
+ className
21
+ )}
22
+ >
15
23
  <div className="flex flex-col gap-2 text-balance">
16
24
  <h2 className="font-[450]! @min-[640px]:text-2xl @min-[768px]:text-3xl text-gray-1000 text-xl tracking-tighter">
17
25
  {title}
@@ -24,7 +24,7 @@ export const TextGridSection = ({
24
24
  )}
25
25
  >
26
26
  {title || description ? (
27
- <div className="grid max-w-3xl gap-2 text-balance">
27
+ <div className="grid @min-[768px]:grid-cols-2 @min-[768px]:items-start @min-[768px]:gap-8 gap-4 text-balance">
28
28
  {title ? (
29
29
  <h2 className="font-[450]! @min-[1024px]:text-[40px] @min-[640px]:text-2xl @min-[768px]:text-3xl text-gray-1000 text-xl tracking-tighter">
30
30
  {title}