Commit Graph

73 Commits

Author SHA1 Message Date
Hayden Bleasel a80dc86c08 fix: resolve lint errors
- use template literals instead of string concatenation
- add block statements for early returns
- move regex patterns to top-level constants
- replace while loop with for...of using matchAll
- replace nested ternary with if-else
- remove unused variables
- fix import ordering and quote styles

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 15:35:56 -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
Hayden Bleasel 3be752e502 Fix linting issues 2026-01-18 13:33:46 -08:00
Hayden Bleasel f485a897c4 Attachment -> Attachments 2026-01-18 10:37:14 -08:00
Hayden Bleasel aa067913a1 Misc fixes 2026-01-18 10:36:04 -08:00
Hayden Bleasel 2ea189f895 Fix code block 2026-01-18 09:26:27 -08:00
Hayden Bleasel a63d1b1f10 Cleanup Snippet 2026-01-18 09:23:54 -08:00
Hayden Bleasel 3b86184eed Improve Sandbox 2026-01-18 09:17:16 -08:00
Hayden Bleasel 56dafc2e4a Fix examples 2026-01-18 00:14:56 -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 7a04c874b9 Fix lint issues 2026-01-17 22:37:59 -08:00
Hayden Bleasel e51d04a64f Upgrade CodeBlock 2026-01-17 22:28:43 -08:00
Hayden Bleasel 8dd6b391a2 Update Agent 2026-01-17 19:30:09 -08:00
Hayden Bleasel 0819501ea8 Fix linting and formatting 2026-01-16 20:20:18 -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 b1490b8a18 Fix lint / formatting issues 2026-01-16 16:33:33 -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 8a4a6feaff Resolves #321 2026-01-16 13:24:24 -08:00
Hayden Bleasel c3639d786e Fix attachment implementations 2026-01-16 12:53:52 -08:00
Hayden Bleasel bdb2964d00 Bump deps 2026-01-16 12:40:58 -08:00
Hayden Bleasel 2dd23cfc87 Attachments (#318)
* Scaffold attachments

* Create beige-cameras-tap.md
2026-01-15 10:45:32 -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
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
dependabot[bot] f2e4172a58 Bump ai from 5.0.89 to 5.0.104 (#263)
Bumps [ai](https://github.com/vercel/ai) from 5.0.89 to 5.0.104.
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/compare/ai@5.0.89...ai@5.0.104)

---
updated-dependencies:
- dependency-name: ai
  dependency-version: 5.0.104
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-07 22:34:32 -08:00
Hayden Bleasel 61838a469b Upgrade Next.js and React 2025-12-04 20:59:31 -08:00
Hayden Bleasel f887f5c76c Update PromptInputMessage to use AI SDK types 2025-11-10 12:28:51 -08:00
Hayden Bleasel 1c09c94260 Resolves #184 2025-11-06 18:21:55 -08:00
Hayden Bleasel 3c34582527 Resolves #182 2025-11-06 18:01:39 -08:00
Hayden Bleasel b82113887f Resolves #221 2025-11-06 14:11:30 -08:00
Hayden Bleasel eca525a319 Update prompt-input.tsx 2025-11-06 14:06:16 -08:00
Hayden Bleasel d5f1159390 New Message component (#222)
* Merge actions, branch and response into message

* Update docs and examples

* Make Flat variant default

* Update message

* Create tangy-melons-behave.md

* Upgrade branch to buttongroup

* Finish updating message

* Update message.test.tsx

* Update usage.mdx
2025-11-06 13:56:42 -08:00
Hayden Bleasel 796c32d573 Bump deps 2025-11-06 12:16:19 -08:00
Hayden Bleasel 29c2d430fc ModelSelector component (#217)
* Draft model selector

* Add support for logos

* Misc fixes

* Update model-selector.mdx

* Update model-selector.tsx

* Rename PromptInputModelSelect, replace with ModelSelector

* Add more providers, improve logos

* Create model-selector.test.tsx

* Create jolly-pots-wave.md
2025-11-06 12:10:25 -08:00
Hayden Bleasel c9f66cd2dd Update workflow.tsx 2025-11-06 10:51:13 -08:00
Hayden Bleasel 328173b55f Resolves #186 2025-11-05 21:35:32 -08:00
Hayden Bleasel dad0b0ab80 Bump deps 2025-11-05 21:16:32 -08:00
dependabot[bot] 1c537881ef Bump @xyflow/react from 12.9.0 to 12.9.2 (#198)
Bumps [@xyflow/react](https://github.com/xyflow/xyflow/tree/HEAD/packages/react) from 12.9.0 to 12.9.2.
- [Release notes](https://github.com/xyflow/xyflow/releases)
- [Changelog](https://github.com/xyflow/xyflow/blob/main/packages/react/CHANGELOG.md)
- [Commits](https://github.com/xyflow/xyflow/commits/@xyflow/react@12.9.2/packages/react)

---
updated-dependencies:
- dependency-name: "@xyflow/react"
  dependency-version: 12.9.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-05 21:15:52 -08:00