tpmjs/packages/ui/src
Ajax Davis ded939e643 feat(ui): add comprehensive form component library with playground showcase
Implemented 8 production-ready form components with full accessibility:

Components Added:
- Textarea: Multi-line text input with character counter
- Checkbox: Custom styled with indeterminate state support
- Radio & RadioGroup: Context-based radio button groups
- Switch: Toggle with animated thumb and loading state
- Select: Native select with custom styling and option groups
- Slider: Range input with marks, value display, cross-browser support
- FormField: Wrapper component with label, error, and helper text

Features:
- Full accessibility (ARIA attributes, semantic HTML)
- Controlled/uncontrolled patterns via useControlled hook
- Dark mode support with semantic tokens
- Design tokens and shared variant system
- Comprehensive test coverage (856 tests passing)
- Form-specific design tokens (formTokens)
- Shared form variant base classes (formVariants)

Playground Updates:
- Added comprehensive Forms section showcasing all components
- Interactive examples with state management
- Complete form composition example
- All components fully functional and themed

Test Coverage:
- 10+ describe blocks per component
- All edge cases covered
- Accessibility testing
- Cross-browser compatibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 01:56:54 +10:00
..
Badge fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
Button fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
Card fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
Checkbox feat(ui): add comprehensive form component library with playground showcase 2025-11-27 01:56:54 +10:00
CodeBlock fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
Container fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
FormField feat(ui): add comprehensive form component library with playground showcase 2025-11-27 01:56:54 +10:00
GridContainer fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
Header fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
Icon fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
Input fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
Label fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
ProgressBar fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
Radio feat(ui): add comprehensive form component library with playground showcase 2025-11-27 01:56:54 +10:00
Section fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
Select feat(ui): add comprehensive form component library with playground showcase 2025-11-27 01:56:54 +10:00
Slider feat(ui): add comprehensive form component library with playground showcase 2025-11-27 01:56:54 +10:00
Switch feat(ui): add comprehensive form component library with playground showcase 2025-11-27 01:56:54 +10:00
system feat(ui): add comprehensive form component library with playground showcase 2025-11-27 01:56:54 +10:00
Tabs fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
Textarea feat(ui): add comprehensive form component library with playground showcase 2025-11-27 01:56:54 +10:00
tokens feat(ui): add comprehensive form component library with playground showcase 2025-11-27 01:56:54 +10:00
test-setup.ts fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00