Commit Graph

51 Commits

Author SHA1 Message Date
Hayden Bleasel c1ef254d35 Update mcp.mdx 2025-10-27 23:51:46 -07:00
Hayden Bleasel 03d04f4b2b Update mcp.mdx 2025-10-27 23:44:03 -07:00
Hayden Bleasel e32a8ac97a Update meta.json 2025-10-27 23:43:07 -07:00
Hayden Bleasel 619416a7ca Add AI Elements MCP server 2025-10-27 23:37:07 -07:00
Tobias Büschel 86a94c914b fix: correct typos in chatbot documentation files (#173) 2025-10-27 21:13:43 -07:00
Hayden Bleasel 43dbf312e2 Release cleanup (#174)
* Bump deps

* Update package.json

* Update shadcn/ui

* Run Ultracite

* Run Ultracite

* Fix unit tests

* Update prompt-input.tsx

* Build fixes

* Modify docs styles

* Fix terminal titles

* Update code-block.mdx

* Add tool-approval docs and examples

* Rename ToolApproval to Confirmation

* Fix confirmation

* Misc fixes

* Update test.yml

* Downgrade jsdom

* Update confirmation.test.tsx
2025-10-27 21:12:09 -07:00
dependabot[bot] b571328ab8 Bump tailwindcss from 4.1.12 to 4.1.14 (#142)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.1.12 to 4.1.14.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.14/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.1.14
  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>
2025-10-27 18:50:04 -07:00
Hayden Bleasel 91f0d00ec8 Update client-navbar.tsx 2025-10-27 17:17:45 -07:00
Hayden Bleasel 703ec7862e Scaffold navbar buttons 2025-10-27 17:17:19 -07:00
Hayden Bleasel d5b3efa08b Fix preview 2025-10-27 17:00:52 -07:00
Hayden Bleasel 1b28a60d45 Fix docs 2025-10-27 16:54:01 -07:00
Hayden Bleasel b8e77c7d0d Update elements-button.tsx 2025-10-27 16:51:02 -07:00
Hayden Bleasel d670524eee Fix navbar links 2025-10-27 16:47:33 -07:00
Hayden Bleasel 2504ab052f Fix preview 2025-10-27 16:39:57 -07:00
Hayden Bleasel db5ff0ec8b Fix titles and colors 2025-10-27 16:38:52 -07:00
Hayden Bleasel 5f3e5d8368 Fix navbar 2025-10-27 16:23:53 -07:00
Hayden Bleasel 95138ff85c Fix widths 2025-10-27 16:11:03 -07:00
Hayden Bleasel 16c5fe319b Bump fuma 2025-10-27 16:05:15 -07:00
Hayden Bleasel 9767a3adb8 Remove search toggle 2025-10-27 16:02:49 -07:00
Hayden Bleasel 9dbd76a246 Start working on layout 2025-10-27 16:01:09 -07:00
Hayden Bleasel d7ea28f451 Fix microfrontends routing 2025-10-27 14:09:44 -07:00
Hayden Bleasel 9c3a7c8132 Update microfrontends.json 2025-10-27 13:53:20 -07:00
Hayden Bleasel f2cb8c7505 Open source documentation (#156)
* Initial port

* Remove test repo

* Misc fixes

* Fix folder groups

* Docs and design fixes

* Add primary color, fix manual install

* Fix elements demo

* Delete .source

* Update .gitignore

* Update package.json

* Update shadcn-ui

* Upgrade to Next.js and Fumadocs 16

* Add missing examples

* Fix metadata

* Add base path

* Update next-env.d.ts

* Add microfrontends config

* Create microfrontends.json
2025-10-27 13:40:56 -07:00
Hayden Bleasel 14888a6475 October update (#135)
* Add Shiki to test repo

* Fix controls unit test

* Bump deps

* Cleanup and merge task queue elements

* Rename to Queue

* Update page.tsx

* Update queue.tsx

* Update queue.tsx

* Rebuild queue

* Continue breaking apart Queue component

* Cleanup

* Finish decomposing Queue

* Update queue.tsx

* Misc cleanup and renaming

* Add PromptInputHeader, Footer and Tabs

* Improve exports

* Rename Tabs -> HoverCard

* Add Rules example

* Add PromptInputCommand

* Add tests for Queue

* Update prompt-input.test.tsx

* Create Shimmer component

* Redo colors

* Update reasoning.tsx

* Create Plan component

* Update prompt-input.tsx

* Linter improvements

* Add check / fix commands

* Run Ultracite

* Update prompt-input.tsx
2025-10-15 21:11:00 -07:00
UncleBigBay e26284988f Feat (new element): implement reusable task queue and panel (message and todo default) (#131)
* feat(hook): add useTaskQueue context and hook for unified task and message queue management

* feat: add reusable TaskQueuePanel component for queue and todo management

* chore (example): add TaskQueuePanel usage example with shared task queue context

* Feat (example): add TaskQueuePanel to example workflow page

* chore: add sample todo and message data to task queue

* fix: prevent double-seeding of demo tasks in React Strict Mode with useRef guard
2025-10-15 16:38:10 -07:00
Hayden Bleasel ae3738eaed Add dark mode toggle to test app 2025-10-07 14:02:41 -07:00
Hayden Bleasel fbe92b4a9e Run Ultracite 2025-10-06 13:18:55 -07:00
Milind Mishra ccd7037ec3 feat: add stt and add to test and example apps (#112)
Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-10-06 13:16:35 -07:00
Matthias Platzer 2db6495cee Added PromptInputProvider (#96)
* Added PromptInputProvider
- to access attachements outside the PromptInput context
- also added textInput controlls

Adapted PromptInput attachement rendering for non-image attachements
- show filename, use tooltip to show more
- group files, then images

* Merge provider back into prompt-input file

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-10-06 13:07:49 -07:00
Hayden Bleasel c3a463dffd Resolves #127 2025-10-06 11:18:15 -07:00
Hayden Bleasel e3bc4435cb Workflow Elements (#116)
* Draft workflow elements

* Create canvas.tsx

* Draft examples

* Improve demo

* Add Connection component

* Add Controls and Panel

* Update components

* Update workflow.tsx

* Update node.tsx

* Update edge.tsx

* Update node.tsx

* Scaffold Toolbar

* Fix toolbar classname

* Update controls.tsx
2025-10-06 10:48:18 -07:00
Shinya Fujino fd1cf7e347 Include @types/* as devDependencies (#91) 2025-09-22 10:27:24 -07:00
Hayden Bleasel 2599cf229f Create new "all.json" 2025-09-09 08:55:05 -07:00
Hayden Bleasel 701e570979 September 8 Updates (#80)
* feat: Add File Upload with PromptAttachments and PromptForm Components (#76)

* feat: Add PromptInputActionMenu for granular action dropdowns

* feat: Implement PromptForm and PromptAttachments components for file attachment handling

* refactor: Integrate PromptForm with PromptInput for enhanced submission handling and attachment support

* docs: Update README files to include new components PromptForm and PromptInputAttachments

* refactor: Refactor useAttachment hook for better DX

* feat: Add Chat context visualization component (#75)

* feat: add context component to visualise model context usage

* chore: update README and package.json to include context component in documentation and description

* feat: integrate context component into example files for enhanced token visualization

* fix: update title for ContextIcon to improve accessibility

* refactor: remove title element from ContextIcon for cleaner code

* fix: add className prop to button in Context for improved styling flexibility

* fix: apply minHeight and maxHeight props in PromptInputTextarea (#40)

* fix: apply minHeight and maxHeight props in PromptInputTextarea

* style: revert unintended quote changes

* Switch to pure CSS

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>

* feat: add MessageContent variants (#37)

* feat: add variants for message content

* chore: remove unneded join

* Bump deps

* Ignore shadcn/ui

* Run formatter

* Update biome.jsonc

* Resolves #77

* Resolves #69

* Resolves #60

* Remove logo.dev from examples

* Update context.tsx

* Propagate fixes from ai-studio

* Resolves #74

* Resolves #59

* Resolves #67

* Run Ultracite

* Resolves #73

* Resolves #71

* Update prompt-input.tsx

* Start merging prompt input files

* Continue working

* STILL working

* Finish cleaning up prompt input

* Update prompt-input.tsx

* Remove context

* Update prompt-input.tsx

* Update prompt-input.tsx

* Update message.tsx

* Fix trigger consistency

* Fade reasoning text

* Resolves #38

* Create artifact.tsx

* Misc fixes

* Port Context from ChatSDK (WIP)

* Rebuild context component

* Update context.tsx

* Misc fixes

* Port updates from ai-studio

* Update suggestion-input.tsx

* Update v0-clone.tsx

---------

Co-authored-by: Nicklas Scharpff <64584979+xn1cklas@users.noreply.github.com>
Co-authored-by: huygbui <160628415+huygbui@users.noreply.github.com>
Co-authored-by: Damiano Carradori <damiano.carradori@gmail.com>
2025-09-08 21:47:43 -07:00
Hayden Bleasel 1c23c11819 Add targets 2025-09-03 10:22:54 -07:00
Hayden Bleasel b9d252fa6c Resolves #55 2025-08-30 10:11:42 -07:00
Hayden Bleasel b0a2940350 Rename source -> sources 2025-08-27 15:28:02 -07:00
Hayden Bleasel e2c4b5f659 Add shadcn registry blocks (#47)
* Migrate examples

* Load examples as blocks

* Update route.ts
2025-08-26 23:51:24 -07:00
Hayden Bleasel a6ad61d4fa Update shadcn spec (#46)
* Accept registry.json

* Update route.ts

* Update route.ts
2025-08-26 22:29:26 -07:00
Hayden Bleasel 89ff341764 Merge pull request #20 from vercel/streamdown
Streamdown
2025-08-18 22:48:09 -07:00
Abhishek Kumar 4dfcaad3eb Removed: duplicate useIsMobile hook 2025-08-18 00:57:54 +05:30
Hayden Bleasel a909624861 Add basic vercel analytics 2025-08-15 16:16:59 -07:00
Hayden Bleasel 5ff0fb481f Misc fixes 2025-08-15 16:06:08 -07:00
Hayden Bleasel a8a9a30f2f Migrate registry 2025-08-15 13:27:04 -07:00
Hayden Bleasel 055b983b0e Finish test app 2025-08-15 12:36:34 -07:00
Hayden Bleasel e8aa524f8a Start fixing up connections 2025-08-15 12:34:04 -07:00
Hayden Bleasel f0a275e1bb Start wiring up test app 2025-08-15 12:29:27 -07:00
Hayden Bleasel e23583dfea Fix refs 2025-08-15 12:25:35 -07:00
Hayden Bleasel 7100257353 Scaffold test app 2025-08-15 12:24:32 -07:00
Hayden Bleasel 92b64593bf Remove existing apps and packages 2025-08-15 12:22:34 -07:00