Commit Graph
6 Commits
Author SHA1 Message Date
Jonathan Summers-MuirandIvan Vasilov 58779edaa6 [Design System] Feat: Assistant Chat fragment component (#27952)
* init

* Update assistant-chat.mdx

* Expose a forwardRef in the ExpandingTextArea.

* Use the ExpandingTextArea in the AssistantChatForm component.

* Update the documentation for the assistant chat component.

* Remove unused code.

* Remove a TODO.

* Remove duplicate props.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-07-12 13:04:36 +02:00
Ivan Vasilov 22c5324f0c feat: Use expanding text area in the Ai Assistant (SQL Editor) (#27930)
* Add a new textarea component which autoexpands depending on number of content rows.

* Use the new ExpandingTextArea in the AIAssistantPanel.

* Remove old unused text area.

* Move around some of the props in the ExpandingTextArea.

* Make the value prop mandatory.

* Fix minor stuff in the Design System app.

* Add examples for Expanding Text Area.

* add max height to the expanding text area.

* Add todo comment in database-new app.
2024-07-12 11:32:20 +02:00
Charis ac192a5024 refactor(docs): migrate home page to app router (#27221) 2024-06-24 18:47:53 -04:00
Jonathan Summers-Muir 9b8cc37a34 Start removing storybook (#26599)
* init deletion

* Update package-lock.json

* remove shadcn stories

* update TS errors

* Update package-lock.json
2024-06-11 11:07:21 +02:00
b8243e06d8 Feat/design system site (#26586)
* init site

* add nav menu

* add props table component

* init all the examples

• also includes moving a bunch of ./ui files to ./ui-patterns

* update package

• might need to remove some of these

* Update rehype-component.ts

* move nav

* more changes

* add new source information to contentlayer

* fix copy buttons

* add text-confirm. start new concept of "fragments"

* move base path. add homepage. add theme selection

* added colors

* add form-item-layout

* temporary fix code blocks in light mode. they currently don't switch theme to theme

* start adding code themes

* Update dark.json

* update code block themes

* fix animations

* add cdmk search

* export registry of icons in ./icons package

* add comments

* add icon copy stuff

* Update icons.tsx

* more docs

* more docs. cleaned up colors and icons docs

* Update theming.mdx

* add more docs

* update

* add package

* Update tailwind.config.js

* update content

* Update drawer-demo.tsx

* Update aspect-ratio-demo.tsx

* add new blocks

* Update source-panel.tsx

* Update source-panel.tsx

* Update source-panel.tsx

* add new source block

* Update source-panel.tsx

* Update _app.tsx

* Update page.tsx

* Delete layout-old.tsx

* remove old themes

* remove old ui registry

* comment out nav items

* Update package-lock.json

* Update AssistantChatForm.tsx

* move back

* move again

* update

* Update index.tsx

* Update package-lock.json

* Update package-lock.json

* Update package-lock.json

* update package

* udpate prettier

* fix tag issues

* Update package-lock.json

* update to contentlayer2

* update package-lock.json

* fix type errors

* ignore spelling

* Update avoid-typos.yml

* Update avoid-typos.yml

* Update package-lock.json

* Use ui type definitions.

* move tsconfig base stuff. fix content layer issue

* Update package-lock.json

* Update package-lock.json

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-05-23 17:39:56 +08:00
Jonathan Summers-MuirandAlaister Young 33df85e910 feat: AssistantChatForm ui-pattern and AssistantCommandsPopover ui-pattern (#19296)
* proto

* chore: added pattern for input

* migrated whole form over

* Added basics

* add commands

* Update index.tsx

* remove old code

* add Input

* add chat into studio

* init stories

* revert

* Update AIPolicyChat.tsx

* revert

* udpate

* Update AssistantCommandsPopover.tsx

* Update packages/ui-patterns/AssistantChat/AssistantChatForm.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

* Update AssistantCommandsPopover.tsx

* Update AssistantCommandsPopover.tsx

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-03-29 15:27:05 +08:00