-
Notifications
You must be signed in to change notification settings - Fork 3
chore(textarea): added examples, improved documentation (#DS-4311) #1145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds comprehensive documentation and example components for the textarea component, replacing the old single example with five focused examples demonstrating different features and states.
- Replaced the old
TextAreaOverviewExamplewith multiple focused examples following improved naming conventions - Added documentation in both English and Russian explaining textarea features with code examples
- Updated the dev environment to showcase all new examples with proper theming support
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
packages/docs-examples/components/textarea/textarea-overview/textarea-overview-example.ts |
Basic textarea example showing minimal configuration |
packages/docs-examples/components/textarea/textarea-max-rows/textarea-max-rows-example.ts |
Example demonstrating maxRows attribute limiting textarea height |
packages/docs-examples/components/textarea/textarea-error-state/textarea-error-state-example.ts |
Example showing validation and error state handling |
packages/docs-examples/components/textarea/textarea-disabled/textarea-disabled-example.ts |
Example demonstrating disabled state with toggle control |
packages/docs-examples/components/textarea/textarea-can-grow/textarea-can-grow-example.ts |
Example showing auto-resize functionality with canGrow attribute |
packages/docs-examples/components/textarea/text-area-overview/text-area-overview-example.ts |
Removed old example file with inconsistent naming |
packages/docs-examples/components/textarea/index.ts |
Updated exports and module to include all new examples with corrected naming |
packages/components/textarea/textarea.ru.md |
Added Russian documentation with sections for each feature |
packages/components/textarea/textarea.en.md |
Added English documentation replacing "in progress" placeholder |
packages/components-dev/textarea/template.html |
Added theme toggle and visual separators for dev environment |
packages/components-dev/textarea/styles.scss |
Added styling for consistent dev app layout |
packages/components-dev/textarea/module.ts |
Updated to import and display all new examples |
packages/components-dev/ssr/module.ts |
Updated SSR module to use corrected example naming |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
packages/docs-examples/components/textarea/textarea-max-rows/textarea-max-rows-example.ts
Show resolved
Hide resolved
packages/docs-examples/components/textarea/textarea-error-state/textarea-error-state-example.ts
Show resolved
Hide resolved
packages/docs-examples/components/textarea/textarea-disabled/textarea-disabled-example.ts
Show resolved
Hide resolved
packages/docs-examples/components/textarea/textarea-can-grow/textarea-can-grow-example.ts
Show resolved
Hide resolved
packages/docs-examples/components/textarea/textarea-error-state/textarea-error-state-example.ts
Show resolved
Hide resolved
packages/docs-examples/components/textarea/textarea-overview/textarea-overview-example.ts
Show resolved
Hide resolved
|
Visit the preview URL for this PR (updated for commit 298b1a8): https://koobiq-next--prs-1145-fzpun02o.web.app (expires Wed, 03 Dec 2025 13:20:26 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c |
No description provided.