v0.5.1 - Chakra UI and Ant Design support
This release adds Chakra UI and Ant Design support, completes CSS-in-JS library coverage and expands test coverage.
🆕 Added
Chakra UI Support
- Component detection (Box, Button, Stack, FormControl, etc.)
- Theme & color mode detection (
useTheme,useColorMode,ChakraProvider) - Responsive & system props support
- Component usage ranking (top 20 most-used components)
- Integrated into
--include-styleandstamp context style
Ant Design Support
- Component detection (Button, Form, Table, Card, etc.)
- Package tracking (
antd,@ant-design/icons) - Subpath import support (
antd/es/...) - Theme &
ConfigProviderdetection - Icon & locale support
- Component usage ranking (top 20 most-used components)
Test Coverage Expansion
- Extensive CLI command and handler tests
- Parser and utility test coverage improvements
- Dedicated test suites for Chakra UI and Ant Design extractors
- CLI entry point E2E coverage
🐛 Fixed
fileExists()incorrectly returnedtruefor directories - now correctly checksstats.isFile()- Fixed Vitest configuration typo (
reporter→reporters)
⚙️ Changed
CSS-in-JS Coverage Now Complete
LogicStamp now supports all major CSS-in-JS ecosystems:
- styled-components
- Emotion
- Material UI
- ShadCN/UI
- Radix UI
- Framer Motion
- Styled JSX
- Chakra UI (new)
- Ant Design (new)
🧪 Improved
- Strengthened test infrastructure for safer refactoring
- Increased overall reliability and regression protection
- Documentation updated for Chakra UI and Ant Design support
✅ Non-Breaking Release
- Chakra UI and Ant Design support are additive
- New style metadata fields appear only when detected
- No API or output format changes
🔗 Related PRs