Commit Graph

144 Commits

Author SHA1 Message Date
streamdown-github-app[bot] 9233753b71 Version Packages (#236)
Co-authored-by: ai-elements-bot[bot] <ai-elements-bot[bot]@users.noreply.github.com>
2025-11-14 07:35:19 -08:00
Pascal Tiberghien a1b1929e68 Fix: Update PromptInputSpeechButton SpeechRecognition usage (#234)
* Fix: Update PromptInputSpeechButton SpeechRecognition usage to only use final result

* Create swift-spies-smell.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-11-13 18:46:28 -08:00
streamdown-github-app[bot] 36e70ef8c7 Version Packages (#224)
Co-authored-by: ai-elements-bot[bot] <ai-elements-bot[bot]@users.noreply.github.com>
2025-11-12 17:00:56 -08:00
Hayden Bleasel e85af4eaca Resolves #229 2025-11-12 09:11:02 -08:00
Hayden Bleasel f887f5c76c Update PromptInputMessage to use AI SDK types 2025-11-10 12:28:51 -08:00
Hayden Bleasel d3d91ba79f Remove unused hast type 2025-11-10 11:41:59 -08:00
Hayden Bleasel 6426625075 Update message.tsx 2025-11-10 11:18:23 -08:00
Hayden Bleasel 2d67ab6c8a Documentation fixes 2025-11-10 10:39:07 -08:00
UncleBigBay 70bf5fd337 chore: fix checkpoint overflow (#225)
* chore: fix checkout overflow

* Create tough-pants-smash.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-11-09 11:57:39 -08:00
Brendan Dash e6c656cd5f fix(model-selector): add DialogTitle (#226)
* fix: add DialogTitle

* feat: use sr-only

* Refactor ModelSelector to use ReactNode for title

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-11-09 11:56:41 -08:00
Ben Drucker 6fa1d46975 fix(reasoning): make "Thought for a few seconds" message reachable (#223)
* fix(reasoning): make "Thought for a few seconds" message reachable

The "Thought for a few seconds" fallback message was unreachable due to
useControllableState defaulting duration to 0 instead of undefined.

- Changed defaultProp from 0 to undefined in useControllableState
- Updated ReasoningContextValue type to allow undefined duration
- Added test coverage for the undefined duration case

Fixes the conditional logic where duration === 0 would trigger the
shimmer animation, preventing the undefined check from ever executing.

* Create odd-grapes-behave.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-11-07 11:31:18 -08:00
streamdown-github-app[bot] 80a384aff6 Version Packages (#218)
Co-authored-by: ai-elements-bot[bot] <ai-elements-bot[bot]@users.noreply.github.com>
2025-11-06 18:49:44 -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 37ff591e90 Merge tests 2025-11-06 17:58:54 -08:00
Hayden Bleasel 2ca0b3ae02 Update reasoning.tsx 2025-11-06 17:57:24 -08:00
Hayden Bleasel 2094d4f063 Fix message design 2025-11-06 17:54:53 -08:00
Hayden Bleasel 64e9143773 Delete unused components 2025-11-06 17:54:47 -08:00
Hayden Bleasel b82113887f Resolves #221 2025-11-06 14:11:30 -08:00
Hayden Bleasel be8bd9108f Update prompt-input.tsx 2025-11-06 14:07:57 -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 f9fc162e56 Resolves #185 2025-11-06 12:32:38 -08:00
Hayden Bleasel 796c32d573 Bump deps 2025-11-06 12:16:19 -08:00
Hayden Bleasel 2ff483dd8f Fix failing unit tests 2025-11-06 12:13:41 -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
dependabot[bot] d2ef5601bc Bump @vitest/coverage-v8 from 4.0.4 to 4.0.6 (#199)
Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 4.0.4 to 4.0.6.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.6/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.0.6
  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-11-05 21:14:19 -08:00
dependabot[bot] 6698d9bc76 Bump @vitest/browser from 4.0.4 to 4.0.6 (#204)
Bumps [@vitest/browser](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser) from 4.0.4 to 4.0.6.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.6/packages/browser)

---
updated-dependencies:
- dependency-name: "@vitest/browser"
  dependency-version: 4.0.6
  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-11-05 21:10:49 -08:00
chaxus 227d1ca78f feat(chain-of-thought): change ChainOfThoughtStep label and description types from string to ReactNode (#215)
* feat(ChainOfThoughtStep): change ChainOfThoughtStep label and description types from string to ReactNode

* Create flat-chairs-argue.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-11-05 21:08:16 -08:00
Hayden Bleasel aff3d2673f Rename registry package to cli 2025-11-05 21:05:20 -08:00
Hayden Bleasel 0c53bac76c Add support for multiple CLI args 2025-11-05 21:02:55 -08:00
Hayden Bleasel 61a25e55c3 Fix open-in-chat trigger icon 2025-11-05 21:00:34 -08:00
Hayden Bleasel 0a5297cae4 Remove Controls from Canvas 2025-11-05 21:00:03 -08:00
Hayden Bleasel 5c16b4ff6d Add use client directive to open-in-chat 2025-11-05 20:59:41 -08:00
Hayden Bleasel 478ec07092 Use CornerDownLeftIcon for prompt input 2025-11-05 20:59:06 -08:00
UncleBigBay 71f822cae8 Chore: add file sample to the queue component sample (#191) 2025-10-31 14:45:46 -07:00
Anirudh 2d0a9ebc67 fix: demo claude ui (#181) 2025-10-28 10:06:14 -07:00
Hayden Bleasel 2631a8344c Update prompt-input.tsx 2025-10-28 00:35:47 -07:00
Hayden Bleasel fb51bff3c4 Update prompt-input.tsx 2025-10-28 00:35:23 -07:00
Tobias Büschel 5a5342e8e4 fix: ensure prompt input attachments render inside header (#178)
* Update prompt-input.tsx

* fix: ensure prompt input attachments render inside header

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-10-28 00:26:15 -07:00
Hayden Bleasel a63d04f551 Misc fixes 2025-10-28 00:06:07 -07:00
streamdown-github-app[bot] 2f97e9784f Version Packages (#168)
Co-authored-by: ai-elements-bot[bot] <ai-elements-bot[bot]@users.noreply.github.com>
2025-10-27 23:59:59 -07:00
Hayden Bleasel dccf114dd8 replace jsdom with vitest browser mode (#176)
* Swap from jsdom to browser

* Create clever-toys-travel.md

* Add missing packages

* Attempt more test fixes

* Update testing matrix

* Update test.yml

* Update test.yml
2025-10-27 22:46:08 -07:00
Tobias Büschel cdd4d0b282 test: add vitest-fail-on-console and improve test stability (#170)
* test: add vitest-fail-on-console and improve test stability

- Integrate `vitest-fail-on-console` plugin to ensure console logs cause test failures
- Use `act` to wrap asynchronous updates in test interactions
- Add `happy-dom` for improved test environment compatibility
- Update test descriptions to remove async usage where unnecessary

* feat: enhance button accessibility and update tsconfig with testing types

- Add 'type="button"' to improve button element accessibility in test files
- Include 'vitest/globals' and '@testing-library/jest-dom' types in tsconfig for better testing support

* Create grumpy-ways-look.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2025-10-27 21:22:57 -07:00
Hayden Bleasel 4d20259861 Update chatbot.tsx 2025-10-27 21:13:30 -07:00
chaxus f50f548e0b fix: add missing PromptInputFooter import in chatbot example (#172)
- Add PromptInputFooter to imports in chatbot.tsx
- Remove duplicate PromptInputFooter import in prompt-input.tsx
- Fixes pnpm dev startup error
2025-10-27 21:13:07 -07:00