6 Commits

Author SHA1 Message Date
Peter Hanssens
95b3580699 docs: Update documentation to reflect v0.2.0 usage
- Fixed version reference in lib.rs documentation example
- Updated from '0.1' to '0.2' in usage example
- Preparing v0.2.1 patch release for docs update
2025-09-21 19:59:22 +10:00
Peter Hanssens
314536c723 feat: Expand WASM package to include all 50+ ShadCN UI components
🚀 Major Expansion:
- Added all 50+ available ShadCN UI components
- Comprehensive feature flags for granular control
- Updated to version 0.2.0 for major release
- Maintained WASM compatibility for all components

📦 Component Coverage:
- Form components: Button, Input, Textarea, Checkbox, RadioGroup, Switch, Slider, Select, Combobox
- Layout components: Card, Separator, Sheet, Dialog, Drawer, Popover, Tooltip, HoverCard
- Navigation: Breadcrumb, Pagination, Tabs, NavigationMenu, Menubar, Command
- Data display: Table, Calendar, DatePicker, Progress, Skeleton, Badge, Avatar
- Feedback: Alert, AlertDialog, Toast, ErrorBoundary
- Advanced: Accordion, Collapsible, Carousel, Resizable, ScrollArea, AspectRatio
- And many more!

 Feature Flags:
- core-components: 10 essential components (default)
- all-components: All 50+ components
- Individual component flags for precise control
- Optimal bundle size management

🎯 Usage Examples:
- Minimal: leptos-shadcn-ui-wasm = { version = "0.2", features = ["button", "input"] }
- Full: leptos-shadcn-ui-wasm = { version = "0.2", features = ["all-components"] }
- Custom: leptos-shadcn-ui-wasm = { version = "0.2", features = ["button", "card", "table", "form"] }
2025-09-21 19:43:27 +10:00
Peter Hanssens
ad433e5ed7 feat: Update WASM package metadata for v0.1.1
📦 Enhanced Package Metadata:
- Updated description with emoji and key metrics
- Added homepage and documentation links
- Added readme reference for better crates.io display
- Version bump to 0.1.1 for metadata improvements

🎯 Improved Discoverability:
- Better description highlighting WASM optimization
- Clear bundle size and dependency reduction metrics
- Direct links to documentation and repository
2025-09-21 19:19:17 +10:00
Peter Hanssens
90d7fe9b76 fix: Reduce keywords to meet crates.io limit (max 5) 2025-09-21 19:14:11 +10:00
Peter Hanssens
2cd5b6cde8 fix: Update WASM package to use published component versions
- Change from path dependencies to published versions (0.9)
- Enables publishing to crates.io
- Maintains compatibility with published components
2025-09-21 19:13:21 +10:00
Peter Hanssens
2b99fcc315 feat: Add WASM-optimized ShadCN UI package
🚀 New Features:
- Add leptos-shadcn-ui-wasm package with minimal dependencies
- 10 core components optimized for WebAssembly
- Feature flags for granular bundle control
- WASM-specific utilities and helpers

🔧 Technical Improvements:
- Fix WASM compatibility issues in test-utils package
- Add conditional compilation for native vs WASM targets
- Update contract-testing package for WASM compatibility
- Add comprehensive WASM demo application

📦 Bundle Optimization:
- 70% reduction in dependencies (150+ → 25)
- WASM-compatible only dependencies
- Gzipped bundle size: ~813KB for full demo

📚 Documentation:
- Complete README with examples and migration guide
- Bundle size comparisons and performance metrics
- Comprehensive remediation plan and design docs

 Testing:
- All packages compile for wasm32-unknown-unknown
- Feature flags work correctly
- Demo builds and runs successfully
- Backward compatibility maintained
2025-09-21 19:12:37 +10:00