feat: Add FormControl components with comprehensive accessibility support#1098
feat: Add FormControl components with comprehensive accessibility support#1098
FormControl components with comprehensive accessibility support#1098Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
🦋 Changeset detectedLatest commit: fd2b8d4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Bundle ReportChanges will increase total bundle size by 32.84kB (1.13%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: @tonic-ui/react-esmAssets Changed:
Files in
Files in
Files in
Files in
Files in
Files in
Files in
view changes for bundle: @tonic-ui/react-cjsAssets Changed:
Files in
Files in
Files in
Files in
Files in
Files in
Files in
|
2e5105b to
0346fcc
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v2 #1098 +/- ##
==========================================
+ Coverage 81.57% 81.72% +0.15%
==========================================
Files 444 446 +2
Lines 7560 7563 +3
Branches 48 48
==========================================
+ Hits 6167 6181 +14
+ Misses 1375 1364 -11
Partials 18 18 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Tonic UI DemoOn 2026-02-09 15:11:03 +0000, PR #1098 (fd2b8d4) was successfully deployed. You can view it at the following link: |
…upport This commit adds the FormControl component system to Tonic-UI, migrating it from experimental to production status. Key changes: - Add 8 form control components (FormControl, FormLabel, FormInput, FormTextarea, FormErrorMessage, FormHelperText, FormCharacterCount) - Add useFormControl hook for context access - Add comprehensive test suite (10 test cases) - Add complete documentation with 11 interactive examples - Remove experimental form-control files - Update package exports and configuration The FormControl system provides accessible, composable form fields with automatic ID generation, ARIA attribute management, and context-based state management. Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
The experimental form-control components are no longer needed after the feature was promoted to the main package. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
5c9cb18 to
fd2b8d4
Compare
Summary
This PR ports the FormControl component system from Tonic One to Tonic UI, moving it from experimental to production status. The FormControl system provides accessible, composable form fields with automatic context management and consistent styling.
Changes