Commit Graph

94 Commits

Author SHA1 Message Date
streamdown-github-app[bot] 1078b61368 Version Packages (#337)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-02 09:04:24 -08:00
Hayden Bleasel ce1606ad7c Resolves #340 2026-01-31 21:41:02 -08:00
Hayden Bleasel cf793dd446 Elements domain (#339)
* Remove microfrontends

* Remove /elements subpath, update URL

* Fix local paths

* Remove custom AI SDK navbar

* Update global.css

* Restore docs in path

* Restore Geistdocs homepage

* Split up docs, components and examples

* New routes for components and examples

* IA fixes

* Update hero, start adding components to homepage

* Experimenting with hero

* Update pnpm-lock.yaml

* Add new docs

* Update geistdocs.tsx

* Update examples, add new IDE example

* Create source-code.tsx

* Cleanup ide.mdx

* Cleanup examples

* Update homepage content

* Misc fixes

* Update elements-installer.tsx

* Update meta.json

* Deprecate Loader component for shadcn/ui Spinner

* Add changeset files

* Update homepage and templates

* Update code-block.tsx

* Misc fixes

* Update callout.tsx

* Remove hero badge

* Resolves #328

* Build fixes

* Update README.md
2026-01-31 15:31:31 -08:00
Ben Smith abeda543fe Fix: Relative registry dependency links (#338)
* Fix relative registry dependency links
Relative registry dependencies were missing /elements/api/registry from their URLs (e.g., https://ai-sdk.dev/elements/api/registry/reasoning.json references https://ai-sdk.dev/shimmer.json).

* Create shaky-beans-cough.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2026-01-31 14:23:01 -08:00
Omar Salous d78b0091ce Fix chain-of-thought dropdown arrow position (#325)
* make chain-of-thought dropdown arrow responsive by removing max-w-prose

* add patch changeset for chain-of-thoughts dropdown arrow fix
2026-01-30 18:56:22 -08:00
streamdown-github-app[bot] 108ae63217 Version Packages (#331)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-26 09:35:15 -08:00
Francisco Moretti 03ee8e1fd7 fix(message): remove unused className prop from MessageBranchNext (#332)
* fix(message): remove unused className prop from MessageBranchNext

The className prop was destructured but never used in the component.

* add(changeset): document fix for silenced classname prop in MessageBranchNext component
2026-01-26 09:32:37 -08:00
Hayden Bleasel 4ad4531316 Resolves #327 2026-01-25 17:23:51 -09:00
Hayden Bleasel 005e36a991 Skills (#330)
* Draft skills

* Generate skills

* Changeset
2026-01-25 18:16:34 -08:00
streamdown-github-app[bot] 8a7efa4d5a Version Packages (#259)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-20 20:54:33 -08:00
Oscar Treviño 3dfde7c40e fix(elements): adjust model selector outline (#326)
* fix(elements): adjust model selector outline

* docs: add changeset
2026-01-20 14:41:31 -08:00
Hayden Bleasel d6e0274add Rename GitCommit to Commit 2026-01-17 23:01:38 -08:00
Hayden Bleasel 9810258952 Remove FileChanges component 2026-01-17 22:54:19 -08:00
Hayden Bleasel 9b7d522149 Delete Diff 2026-01-17 22:52:08 -08:00
Hayden Bleasel e51d04a64f Upgrade CodeBlock 2026-01-17 22:28:43 -08:00
Hayden Bleasel f7b04e69f2 Create SchemaDisplay component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 19:53:46 -08:00
Hayden Bleasel 9876e5124d Create TestResults component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 19:53:37 -08:00
Hayden Bleasel 84f15f6e98 Create FileTree component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 19:53:27 -08:00
Hayden Bleasel ea591fc433 Create Terminal component with ANSI support
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 19:53:18 -08:00
Hayden Bleasel 97c6e47a0d Create GitCommit component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 19:53:08 -08:00
Hayden Bleasel fa00d464e3 Create PackageInfo component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 19:52:58 -08:00
Hayden Bleasel cc59f4d36f Create Snippet component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 19:52:48 -08:00
Hayden Bleasel f1a7c74f73 Env Vars component 2026-01-16 19:50:59 -08:00
Hayden Bleasel d444778f9a Create StackTrace component 2026-01-16 17:29:17 -08:00
Hayden Bleasel a3fd7bb7e7 Update violet-apples-knock.md 2026-01-16 17:14:30 -08:00
Hayden Bleasel 85174631f2 Update changesets 2026-01-16 17:13:46 -08:00
Hayden Bleasel 1ac4397f03 Create Agent component 2026-01-16 16:05:37 -08:00
Hayden Bleasel e1d89ad13a Resolves #161 2026-01-16 15:43:44 -08:00
Hayden Bleasel 505476ea99 Resolves #167 2026-01-16 15:21:07 -08:00
Hayden Bleasel 067982587b Resolves #275 2026-01-16 14:39:17 -08:00
Hayden Bleasel 8cad41a2f6 Sync with 1.7.0 release 2026-01-16 14:22:45 -08:00
Hayden Bleasel d1ab925a61 Resolves #293 2026-01-16 14:14:01 -08:00
Hayden Bleasel 1bc771dcb3 Resolves #284 2026-01-16 13:40:52 -08:00
Hayden Bleasel 8a4a6feaff Resolves #321 2026-01-16 13:24:24 -08:00
Oscar Treviño 045453d73e feat(prompt-input): add stop generation functionality (#320)
* feat(prompt-input): add stop generation functionality

* docs: add changelog
2026-01-16 12:56:38 -08:00
Hayden Bleasel 2dd23cfc87 Attachments (#318)
* Scaffold attachments

* Create beige-cameras-tap.md
2026-01-15 10:45:32 -08:00
Hayden Bleasel ba34adc2ee Merge registry app into docs (#216)
* Merge registry app into docs

* Update packages/cli/index.js

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

---------

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
2026-01-14 13:23:01 -08:00
Francisco Moretti 04242be0e4 Sandbox component (#231)
* Implement Sandbox component with collapsible sections and tabs; export getStatusBadge function for external use

* sandbox

* feat: add new Sandbox component

* Update packages/elements/src/sandbox.tsx

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>

* Refactor Sandbox component: remove SandboxCopyButton and integrate copy functionality into SandboxCode and SandboxOutput components. Update related tests and documentation accordingly.

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
2026-01-14 13:13:31 -08:00
Francisco Moretti 879198142f (Feat): Enhance PromptInput with SourceDocument functionality (#232)
* Enhance PromptInput with referenced sources functionality

- Added support for managing referenced sources within the PromptInput component.
- Introduced new context and hooks for handling referenced sources.
- Implemented UI components for displaying and interacting with referenced sources.
- Updated example to demonstrate the usage of referenced sources in the PromptInput.

* Implement SourceDocument functionality in PromptInput component

* Refactor PromptInput component to improve attachment and referenced source management

- Consolidated attachment clearing logic into a single clear function.
- Enhanced readability by restructuring JSX elements and type definitions.
- Added a new clearReferencedSources function for better state management.

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2026-01-14 13:12:37 -08:00
jamdaniels 3c7fee450d fix: resolve button transparency in dark mode for scrollToBottom (#311)
* fix scrollToBottom dark mode transparency

* Add changeset
2026-01-14 10:32:55 -08:00
Adebayo Ayodele 6231366118 fix(tool): add group class to enable chevron rotation on open (#314)
* fix(tool): add group class to enable chevron rotation on open

* Chore: add patch changeset
2026-01-14 10:31:56 -08:00
Sebastian Sdorra d00f49035d fix: allow passing onKeyDown prop to PromptInputTextarea (#316) 2026-01-14 10:31:26 -08:00
Hayden Bleasel ef0a8a72ee Voice (#317)
* New voice folder

* Draft Audio Player component

* Add support for AI SDK speech result

* Draft Mic Selector component

* Extract PromptInputSpeechButton to SpeechInput

* Update speech-input.mdx

* Add new unit tests

* Merge groups

* Fix tests

* Improve test coverage

* Run Ultracite

* Update mic-selector.tsx

* Draft Voice Selector

* Scaffold Persona

* Update persona.tsx

* Redesign speech input as record button

* Scaffold Transcription component

* Fix unit tests

* Propagate changes from #233

* Resolves #242

* Update mic-selector.tsx

* Update preview.tsx

* Attempt to overwrite color

* Fix persona bugs

* Remove Pal

* Update persona.test.tsx

* Resolves #210

* Fix non-model instances

* Rename orb to opal, change default

* Performance improvements

* Update pnpm-lock.yaml

* Fix navbar tracking

* Minor fixes

* Update registry mcp server

* Add changesets

* Update persona.test.tsx
2026-01-14 07:26:36 -08:00
Haitian f0625b5ef3 fix(mcp): use zod/v3 for compatibility with mcp-handler (#290)
The mcp-handler package internally depends on @modelcontextprotocol/sdk@1.22.0,
which uses zod-to-json-schema that is incompatible with Zod 4. This caused
the `component` parameter in `get_ai_elements_component` tool to not be
exposed in the inputSchema (empty properties object).

Changes:
- Import zod from "zod/v3" instead of "zod" for backward compatibility
- Replace z.enum() with z.string().describe() for better schema generation
- Improve error message to list available components when not found

Co-authored-by: liuhaitian <liuhaitian@bytedance.com>
2025-12-18 17:33:54 -08:00
Francisco Moretti d1a79c0af3 add scroll behavior to code block (#283)
Long lines of codes were hidden before
2025-12-08 14:56:20 -08:00
Obada Khalili e1edb1b037 MessageContent max width should respect parent's (#274)
* MessageContent max width should respect parent's

* Create silver-poems-doubt.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-12-07 22:30:25 -08:00
Obada Khalili 16a9966732 Wrap items CoT search results component (#278)
* wrap items CoT search results component

* Create two-bats-yawn.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-12-07 22:29:00 -08:00
Obada Khalili b37a002890 Handle non image file types in matchesAccept filter (#279)
* handle non image file types in matchesAccept filter

* Create small-deer-tan.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-12-07 22:28:03 -08:00
Hayden Bleasel 5fb2978a8a Create chatty-mugs-eat.md 2025-12-07 22:26:21 -08:00
Hayden Bleasel 0fbdc6a244 241 multiple issues in prompt inputtsx drag and drop memoization cleanup error handling (#260)
* Fix issue 1

* Fix issue 2

* Fix issue 3

* Fix issue 4

* Create wacky-coins-peel.md

* Fix typos
2025-11-26 12:20:33 -08:00