mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-26 11:44:28 +08:00
* feat(textarea): add Textarea component with variants and Storybook examples * feat(textarea): enhance Textarea component with context, improved variants, and Storybook examples * Fine-tuning the style * fix ci * feat(textarea): refactor Textarea stories to use custom label and caption components * feat(textarea): add TextareaContext for managing textarea state * fix: format * feat(textarea): refactor TextareaInput to simplify props and remove autoSize handling * feat(textarea): remove TextareaContext and update stories to reflect new error handling * refactor(textarea): remove TextareaRoot component After removing TextareaContext, TextareaRoot became a simple wrapper div with no functionality beyond applying layout styles. This change: - Removes TextareaRoot component and its exports - Updates all Storybook stories to use plain divs with the same styling - Simplifies the component API while maintaining the same functionality Addresses reviewer feedback: https://github.com/CherryHQ/cherry-studio/pull/11260#discussion_r2580009134 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * chore: format --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: MyPrototypeWhat <daoquqiexing@gmail.com> |
||
|---|---|---|
| .. | ||
| Breadcrumb.stories.tsx | ||
| Button.stories.tsx | ||
| Checkbox.stories.tsx | ||
| Combobox.stories.tsx | ||
| CopyButton.stories.tsx | ||
| CustomTag.stories.tsx | ||
| DescriptionSwitch.stories.tsx | ||
| Dialog.stories.tsx | ||
| DividerWithText.stories.tsx | ||
| EmojiAvatar.stories.tsx | ||
| EmojiIcon.stories.tsx | ||
| ErrorBoundary.stories.tsx | ||
| IndicatorLight.stories.tsx | ||
| Input.stories.tsx | ||
| InputGroup.stories.tsx | ||
| Kbd.stories.tsx | ||
| Pagination.stories.tsx | ||
| RadioGroup.stories.tsx | ||
| Select.stories.tsx | ||
| Spinner.stories.tsx | ||
| Switch.stories.tsx | ||
| Tabs.stories.tsx | ||
| Textarea.stories.tsx | ||