Hayden Bleasel
ac65261848
Update open-in-chat.tsx
2025-09-21 13:42:42 -07:00
Hayden Bleasel
0daec531cc
Bump Streamdown
2025-09-16 10:33:09 -07:00
Hayden Bleasel
d05f5d77b4
Bump tokenlens
2025-09-12 21:41:01 -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
33a12b70c3
Update Streamdown to 1.2
2025-09-04 22:00:53 -07:00
Hayden Bleasel
a1929e8e50
Resolves #63
2025-09-02 19:49:55 -07:00
Hayden Bleasel
16d3a6f255
Update Streamdown
2025-09-02 19:46:18 -07:00
Timo Wernars
5933623f65
apply classname prop in sources trigger ( #54 )
...
Co-authored-by: Timo <timo@goedgemerkt.nl >
2025-08-30 10:06:56 -07:00
Hayden Bleasel
8de78cb32e
Update tool.tsx
2025-08-28 08:28:48 -07:00
Hayden Bleasel
b0a2940350
Rename source -> sources
2025-08-27 15:28:02 -07:00
Hayden Bleasel
ee76e9b0b9
Update Streamdown
2025-08-26 21:26:15 -07:00
Francisco Moretti
aa72a23d80
fix(message): merge nested divs so flex-col gap applies to parts ( #29 )
...
Otherwise the flex col and gap is not being applied to message parts
2025-08-25 14:02:50 -07:00
Damiano Carradori
ed5b5d0e76
refactor: update Reasoning component to adjust the auto-close logic ( #36 )
2025-08-25 14:02:07 -07:00
Krisdevs
8bc46ebf00
Add relative to Actions button to make sure the sr-only classname doesnt cause extra scrollbars ( #23 )
...
When using the Actions component there's an added sr-only class for screenreaders, however this adds a
```
.sr-only{position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;}```
which causes an extra scrollbar to appear. adding relative to the Button, makes sure the position absolute is scoped to the Button and not the parent container
2025-08-20 18:08:32 -07:00
Hayden Bleasel
16277742ba
Resolves #21
2025-08-19 12:29:15 -07:00
Hayden Bleasel
06383b04ee
Resolves #11
2025-08-19 12:10:17 -07:00
Hayden Bleasel
89ff341764
Merge pull request #20 from vercel/streamdown
...
Streamdown
2025-08-18 22:48:09 -07:00
Brandon McConnell
7c88274ac6
Add pl-8 to account for -ml-4 in parent element
...
shadcn/ui adds `-ml-4` to wrapper created by `CarouselContent`. By default, the wrapped content is flush to all four sides even with its default `pl-4`. To apply an even `p-4` inside the content area, you must also account for the additional 4 units of padding initially present on the left side, totaling `pl-8`.
2025-08-18 18:19:38 -04:00
Hayden Bleasel
6e44e08381
Misc linting and formatting improvements
2025-08-15 15:32:05 -07:00
Hayden Bleasel
ba3146c135
Update package.json
2025-08-15 13:03:46 -07:00
Hayden Bleasel
240bf26b57
Move components to src folder
2025-08-15 13:00:23 -07:00
Hayden Bleasel
e23583dfea
Fix refs
2025-08-15 12:25:35 -07:00
Hayden Bleasel
32d5dfec85
Migrate components, shadcn/ui, typescript and registry
2025-08-15 12:24:21 -07:00