Skip to content

v0.5.1 - Chakra UI and Ant Design support

Choose a tag to compare

@AmiteK23 AmiteK23 released this 06 Feb 01:20
· 132 commits to main since this release
e8ef2c8

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-style and stamp context style

Ant Design Support

  • Component detection (Button, Form, Table, Card, etc.)
  • Package tracking (antd, @ant-design/icons)
  • Subpath import support (antd/es/...)
  • Theme & ConfigProvider detection
  • 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 returned true for directories - now correctly checks stats.isFile()
  • Fixed Vitest configuration typo (reporterreporters)

⚙️ 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

  • #72 – Test coverage & fileExists fix
  • #73 – Chakra UI & Ant Design support

👉 Full changelog