Repository navigation
v0.8.1
Test-Friendly Component Updates
All components now support prop pass-through for better testing and customization:
New Features
- Full HTML attribute support: All components extend
React.HTMLAttributesfor complete prop forwarding - Custom data attributes: Pass
data-testidand otherdata-*attributes via rest spread - State tracking: Added
data-stateattributes for testing component states:Affix:data-state="affixed|normal"QRCode:data-state="loading|expired|active"Result:data-statusattribute
Technical Improvements
- Used
Omitpattern to avoid TypeScript conflicts with built-in HTML attributes - Components are now test-friendly like Radix UI and Headless UI
- Enables easier integration with testing libraries (React Testing Library, Playwright, etc.)
Components Updated
All 80+ components received prop pass-through support.