@vercel/geistdocs 2.13.1 → 2.14.0-canary.fbbc4b6

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 (68) hide show
  1. package/dist/assets/icons/icon-brain.d.ts +26 -0
  2. package/dist/assets/icons/icon-brain.d.ts.map +1 -0
  3. package/dist/assets/icons/icon-brain.js +25 -0
  4. package/dist/assets/icons/icon-buildings.d.ts +26 -0
  5. package/dist/assets/icons/icon-buildings.d.ts.map +1 -0
  6. package/dist/assets/icons/icon-buildings.js +25 -0
  7. package/dist/assets/icons/icon-chart-activity.d.ts +26 -0
  8. package/dist/assets/icons/icon-chart-activity.d.ts.map +1 -0
  9. package/dist/assets/icons/icon-chart-activity.js +25 -0
  10. package/dist/assets/icons/icon-code.d.ts +26 -0
  11. package/dist/assets/icons/icon-code.d.ts.map +1 -0
  12. package/dist/assets/icons/icon-code.js +25 -0
  13. package/dist/assets/icons/icon-git-merge.d.ts +26 -0
  14. package/dist/assets/icons/icon-git-merge.d.ts.map +1 -0
  15. package/dist/assets/icons/icon-git-merge.js +25 -0
  16. package/dist/assets/icons/icon-git-pull-request.d.ts +26 -0
  17. package/dist/assets/icons/icon-git-pull-request.d.ts.map +1 -0
  18. package/dist/assets/icons/icon-git-pull-request.js +25 -0
  19. package/dist/assets/icons/icon-headset.d.ts +26 -0
  20. package/dist/assets/icons/icon-headset.d.ts.map +1 -0
  21. package/dist/assets/icons/icon-headset.js +25 -0
  22. package/dist/assets/icons/icon-magnifying-glass.d.ts +26 -0
  23. package/dist/assets/icons/icon-magnifying-glass.d.ts.map +1 -0
  24. package/dist/assets/icons/icon-magnifying-glass.js +25 -0
  25. package/dist/assets/icons/icon-target.d.ts +26 -0
  26. package/dist/assets/icons/icon-target.d.ts.map +1 -0
  27. package/dist/assets/icons/icon-target.js +26 -0
  28. package/dist/assets/icons/icon-warning.d.ts +26 -0
  29. package/dist/assets/icons/icon-warning.d.ts.map +1 -0
  30. package/dist/assets/icons/icon-warning.js +25 -0
  31. package/dist/assets/icons/index.d.ts +10 -0
  32. package/dist/assets/icons/index.d.ts.map +1 -1
  33. package/dist/assets/icons/index.js +10 -0
  34. package/dist/assets/logos/index.d.ts +1 -0
  35. package/dist/assets/logos/index.d.ts.map +1 -1
  36. package/dist/assets/logos/index.js +1 -0
  37. package/dist/assets/logos/logo-icon-microsoft-teams-svg.d.ts +4 -0
  38. package/dist/assets/logos/logo-icon-microsoft-teams-svg.d.ts.map +1 -0
  39. package/dist/assets/logos/logo-icon-microsoft-teams-svg.js +12 -0
  40. package/dist/cli/index.js +1 -1
  41. package/dist/internal/chat/loading-skeleton.d.ts.map +1 -1
  42. package/dist/internal/chat/loading-skeleton.js +1 -3
  43. package/dist/internal/chat/prompt-input.js +1 -1
  44. package/dist/internal/chat/shell.d.ts.map +1 -1
  45. package/dist/internal/chat/shell.js +6 -7
  46. package/dist/internal/navbar/desktop-menu.d.ts.map +1 -1
  47. package/dist/internal/navbar/desktop-menu.js +4 -4
  48. package/dist/internal/navbar/mobile-menu.d.ts.map +1 -1
  49. package/dist/internal/navbar/mobile-menu.js +4 -4
  50. package/dist/internal/navbar/use-nav-active.d.ts +12 -5
  51. package/dist/internal/navbar/use-nav-active.d.ts.map +1 -1
  52. package/dist/internal/navbar/use-nav-active.js +30 -14
  53. package/dist/internal/sidebar.d.ts +3 -1
  54. package/dist/internal/sidebar.d.ts.map +1 -1
  55. package/dist/internal/sidebar.js +8 -8
  56. package/dist/layout.d.ts +7 -1
  57. package/dist/layout.d.ts.map +1 -1
  58. package/dist/layout.js +2 -2
  59. package/dist/providers/public/components/drawer.d.ts +2 -1
  60. package/dist/providers/public/components/drawer.d.ts.map +1 -1
  61. package/dist/providers/public/components/drawer.js +2 -2
  62. package/docs/agents.md +1 -1
  63. package/docs/llms.txt +2 -2
  64. package/docs/manifest.json +1 -1
  65. package/docs/pages/ask-ai.md +1 -1
  66. package/package.json +6 -6
  67. package/template/content/docs/ask-ai.mdx +1 -1
  68. package/template/package.json +1 -1
@@ -2,9 +2,9 @@
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { Drawer as DrawerPrimitive } from "vaul";
4
4
  import { cn } from "../utils";
5
- export const Drawer = ({ children, className, height, onDismiss, show, }) => (_jsx(DrawerPrimitive.Root, { onOpenChange: (open) => {
5
+ export const Drawer = ({ children, className, height, onDismiss, repositionInputs, show, }) => (_jsx(DrawerPrimitive.Root, { onOpenChange: (open) => {
6
6
  if (!open) {
7
7
  onDismiss?.();
8
8
  }
9
- }, open: show, children: _jsxs(DrawerPrimitive.Portal, { children: [_jsx(DrawerPrimitive.Overlay, { className: "fixed inset-0 z-50 bg-black/40" }), _jsx(DrawerPrimitive.Content, { className: cn("fixed inset-x-0 bottom-0 z-50 flex max-h-[90dvh] flex-col rounded-t-xl bg-background-100 shadow-[var(--ds-shadow-modal)] outline-none", className), style: { height }, children: children })] }) }));
9
+ }, open: show, repositionInputs: repositionInputs, children: _jsxs(DrawerPrimitive.Portal, { children: [_jsx(DrawerPrimitive.Overlay, { className: "fixed inset-0 z-50 bg-black/40" }), _jsx(DrawerPrimitive.Content, { className: cn("fixed inset-x-0 bottom-0 z-50 flex max-h-[90dvh] flex-col rounded-t-xl bg-background-100 shadow-[var(--ds-shadow-modal)] outline-none", className), style: { height }, children: children })] }) }));
10
10
  export const DrawerTitle = ({ className, ...props }) => (_jsx(DrawerPrimitive.Title, { className: cn("font-semibold text-gray-1000", className), ...props }));
package/docs/agents.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Geistdocs Package Docs
2
2
 
3
- These docs are bundled with `@vercel/geistdocs` 2.13.1 so agents can understand the installed package without web access.
3
+ These docs are bundled with `@vercel/geistdocs` 2.14.0-canary.fbbc4b6 so agents can understand the installed package without web access.
4
4
  They are generated from `apps/template/content/docs` during the package build.
5
5
 
6
6
  ## How to use these files
package/docs/llms.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  # Geistdocs Package Documentation
2
2
 
3
- These docs are bundled with `@vercel/geistdocs` 2.13.1.
3
+ These docs are bundled with `@vercel/geistdocs` 2.14.0-canary.fbbc4b6.
4
4
  They describe how to build package-backed Geistdocs sites and how to use the package APIs from generated project adapters.
5
5
 
6
6
  ## Documentation Index
@@ -4685,7 +4685,7 @@ Ask AI accepts text questions only. It does not support file or image attachment
4685
4685
  The chat interface adapts to different screen sizes:
4686
4686
 
4687
4687
  - **Desktop**: Slides in from the right side as a sidebar panel. Select **Expand chat** in the panel header to fill the viewport, which gives long answers and code blocks more width without losing the conversation. Select **Collapse chat** or press `Escape` to return to the sidebar. Closing the chat also returns it to the sidebar, so the next open starts there.
4688
- - **Mobile**: Opens as a bottom drawer. The drawer has no expanded view.
4688
+ - **Mobile**: Opens as a full-screen chat and waits for the reader to focus the prompt before opening the software keyboard.
4689
4689
 
4690
4690
  ## Configuration
4691
4691
 
@@ -467,5 +467,5 @@
467
467
  }
468
468
  ],
469
469
  "source": "apps/template/content/docs",
470
- "version": "2.13.1"
470
+ "version": "2.14.0-canary.fbbc4b6"
471
471
  }
@@ -746,7 +746,7 @@ Ask AI accepts text questions only. It does not support file or image attachment
746
746
  The chat interface adapts to different screen sizes:
747
747
 
748
748
  - **Desktop**: Slides in from the right side as a sidebar panel. Select **Expand chat** in the panel header to fill the viewport, which gives long answers and code blocks more width without losing the conversation. Select **Collapse chat** or press `Escape` to return to the sidebar. Closing the chat also returns it to the sidebar, so the next open starts there.
749
- - **Mobile**: Opens as a bottom drawer. The drawer has no expanded view.
749
+ - **Mobile**: Opens as a full-screen chat and waits for the reader to focus the prompt before opening the software keyboard.
750
750
 
751
751
  ## Configuration
752
752
 
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": "2.13.1",
4
+ "version": "2.14.0-canary.fbbc4b6",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -299,6 +299,10 @@
299
299
  "./theme.css": "./theme.css",
300
300
  "./package.json": "./package.json"
301
301
  },
302
+ "scripts": {
303
+ "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",
304
+ "dev": "tsc -p tsconfig.runtime.json --watch --preserveWatchOutput"
305
+ },
302
306
  "dependencies": {
303
307
  "@ai-sdk/react": "^3.0.134",
304
308
  "@clack/prompts": "^0.11.0",
@@ -362,9 +366,5 @@
362
366
  "react-dom": "^19.2.3",
363
367
  "tsup": "^8.5.1",
364
368
  "typescript": "^5.9.3"
365
- },
366
- "scripts": {
367
- "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",
368
- "dev": "tsc -p tsconfig.runtime.json --watch --preserveWatchOutput"
369
369
  }
370
- }
370
+ }
@@ -744,7 +744,7 @@ Ask AI accepts text questions only. It does not support file or image attachment
744
744
  The chat interface adapts to different screen sizes:
745
745
 
746
746
  - **Desktop**: Slides in from the right side as a sidebar panel. Select **Expand chat** in the panel header to fill the viewport, which gives long answers and code blocks more width without losing the conversation. Select **Collapse chat** or press `Escape` to return to the sidebar. Closing the chat also returns it to the sidebar, so the next open starts there.
747
- - **Mobile**: Opens as a bottom drawer. The drawer has no expanded view.
747
+ - **Mobile**: Opens as a full-screen chat and waits for the reader to focus the prompt before opening the software keyboard.
748
748
 
749
749
  ## Configuration
750
750
 
@@ -17,7 +17,7 @@
17
17
  "@streamdown/code": "^1.0.1",
18
18
  "@vercel/agent-readability": "^0.7.0",
19
19
  "@vercel/analytics": "^1.6.1",
20
- "@vercel/geistdocs": "2.13.1",
20
+ "@vercel/geistdocs": "2.14.0-canary.fbbc4b6",
21
21
  "@vercel/speed-insights": "^1.3.1",
22
22
  "ai": "^6.0.132",
23
23
  "clsx": "^2.1.1",