Commit Graph

84 Commits

Author SHA1 Message Date
Hayden Bleasel bc1e548948 Delete message-flat.tsx 2026-02-04 10:29:46 -08:00
Hayden Bleasel 30cbcfec97 Migrate to Oxlint (#357)
* Migrate to oxlint / oxfmt

* Initial fixes

* Misc fixes

* Temporary fixes

* Update Ultracite

* Update .oxlintrc.json

* Update .oxlintrc.json

* Start running manual fixes

* Update .oxlintrc.json

* AI Fixes Part 2

* AI Fixes Part 3

* AI Fixes Part 4

* AI Fixes Part 5

* AI Fixes Part 6

* AI Fixes Part 7

* AI Fixes Part 8

* AI Fixes Part 9

* AI Fixes Part 10

* AI Fixes Part 11

* AI Fixes Part 12

* Fix tests

* Lint / test fixes

* Update chat.tsx

* Fix AI SDK React version

* Misc fixes

* Build fixes
2026-02-04 08:00:41 -08:00
Hayden Bleasel a689aec1bb Resolves #153 2026-02-03 14:15:32 -08:00
Hayden Bleasel d926408cfc Ultracite fixes 2026-02-03 13:58:43 -08:00
Hayden Bleasel f54b3efe55 Resolves #150 2026-02-03 13:55:08 -08:00
Hayden Bleasel d98785da76 Resolves #94 2026-02-03 13:43:00 -08:00
Hayden Bleasel cf808a4952 Resolves #78 2026-02-03 13:26:00 -08:00
dependabot[bot] 1bb2f65dfb Bump zod from 3.25.76 to 4.3.6 (#342)
Bumps [zod](https://github.com/colinhacks/zod) from 3.25.76 to 4.3.6.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v3.25.76...v4.3.6)

---
updated-dependencies:
- dependency-name: zod
  dependency-version: 4.3.6
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-02 15:46:35 -08:00
Adebayo Ayodele c163d7a738 feat(examples): wire SpeechInput into chatbot prompt footer (#354) 2026-02-02 15:39:42 -08:00
dependabot[bot] 1147d8bc50 Bump ai from 6.0.39 to 6.0.67 (#341)
Bumps [ai](https://github.com/vercel/ai) from 6.0.39 to 6.0.67.
- [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@6.0.39...ai@6.0.67)

---
updated-dependencies:
- dependency-name: ai
  dependency-version: 6.0.67
  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>
2026-02-02 15:38:28 -08:00
dependabot[bot] e493df2104 Bump shiki from 3.21.0 to 3.22.0 (#348)
Bumps [shiki](https://github.com/shikijs/shiki/tree/HEAD/packages/shiki) from 3.21.0 to 3.22.0.
- [Release notes](https://github.com/shikijs/shiki/releases)
- [Commits](https://github.com/shikijs/shiki/commits/v3.22.0/packages/shiki)

---
updated-dependencies:
- dependency-name: shiki
  dependency-version: 3.22.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-02 15:37:42 -08:00
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