⚡ Quick Summary
- Breaking Change: @pm7/react package has been removed
- New Approach: Use CSS classes directly (pm7-button, pm7-card, etc.)
- Benefits: Works with all frameworks, smaller bundles, AI-friendly
Upgrade Guide
📋 v1 to v2 Migration Guide
Comprehensive migration guide for upgrading from v1 to v2. Perfect for AI agents and developers.
https://raw.githubusercontent.com/patrickmast/pm7-ui/main/README-HowToUpgrade.md
Example Conversion
Here's a quick example of what changes in v2:
❌ Old (v1)
import { Button } from '@pm7/react';
✅ New (v2)
import '@pm7/core/dist/pm7.css';
New Features in v2
- Framework-agnostic CSS components
- Interactive JavaScript components (Menu, Dialog, Tab Selector, etc.)
- Built-in dark mode support
- Auto-initialization with data attributes
- TypeScript support (v2.2.0+)
Need Help?
If you have questions about upgrading: