Commit Graph

187 Commits

Author SHA1 Message Date
Hayden Bleasel ce1606ad7c Resolves #340 2026-01-31 21:41:02 -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
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
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 1c3ebf2ae2 Build fixes 2026-01-20 15:33:28 -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 b6a143747b Upgrade Streamdown 2026-01-19 23:29:59 -08:00
Hayden Bleasel 3be752e502 Fix linting issues 2026-01-18 13:33:46 -08:00
Hayden Bleasel 8a90568941 Fix tests 2026-01-18 13:32: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 d6e0274add Rename GitCommit to Commit 2026-01-17 23:01:38 -08:00
Hayden Bleasel c53234b72c Update git-commit.tsx 2026-01-17 22:58:30 -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 9b988bc593 Fix tests 2026-01-17 22:32:29 -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 96a92f869c Tests and lint fixes 2026-01-16 20:35:11 -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 067982587b Resolves #275 2026-01-16 14:39:17 -08:00
Hayden Bleasel 899c9a2e51 Improve test coverage 2026-01-16 14:02:20 -08:00
Hayden Bleasel bae3805251 Update prompt-input.test.tsx 2026-01-16 13:44:42 -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 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
dependabot[bot] ea6548e0a4 Bump @vitest/browser from 4.0.7 to 4.0.16 (#300)
Bumps [@vitest/browser](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser) from 4.0.7 to 4.0.16.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.16/packages/browser)

---
updated-dependencies:
- dependency-name: "@vitest/browser"
  dependency-version: 4.0.16
  dependency-type: direct:development
  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-01-14 13:09:50 -08:00