mirror of
https://github.com/cloud-shuttle/leptos-shadcn-ui.git
synced 2025-12-22 22:00:00 +00:00
feat: Complete lucide-leptos removal with inline SVG approach
🎯 Zero Dependencies Achieved: - Remove lucide-leptos from workspace dependencies - Replace all conditional compilation with inline SVG icons - Update examples to use inline SVG instead of external icon library - Add examples to workspace for proper build integration 🔧 Technical Changes: - Remove lucide-leptos from root Cargo.toml workspace dependencies - Update examples Cargo.toml to remove lucide-leptos references - Replace all conditional #[cfg(feature = "lucide-leptos")] with inline SVG - Update button, alert, and card examples with proper SVG icons - Update lazy_loading.rs to reference inline-svg instead of lucide-leptos - Update scripts to reflect resolved compatibility issue ✅ Benefits: - Zero external icon library dependencies - Better performance with inline SVG - Full compatibility with Leptos v0.8 - Consistent approach across all components and examples - No version conflicts or compatibility issues 📦 Status: - Examples build successfully with only warnings (no errors) - All lucide-leptos references removed from source code - Ready for production use with zero dependencies
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Publish all individual components to v0.2.0
|
||||
# This script addresses the lucide-leptos compatibility issue
|
||||
# This script addresses the lucide-leptos compatibility issue (RESOLVED)
|
||||
|
||||
set -e
|
||||
|
||||
echo "🚀 Publishing all individual components to v0.2.0"
|
||||
echo "This addresses the lucide-leptos compatibility issue"
|
||||
echo "This addresses the lucide-leptos compatibility issue (RESOLVED)"
|
||||
echo ""
|
||||
|
||||
# List of all component packages
|
||||
@@ -120,4 +120,4 @@ echo "1. Update main package to use v0.2.0 dependencies"
|
||||
echo "2. Test compilation: cargo check --workspace"
|
||||
echo "3. Publish main package v0.2.1"
|
||||
echo ""
|
||||
echo "✅ lucide-leptos compatibility issue resolved!"
|
||||
echo "✅ lucide-leptos compatibility issue resolved with inline SVG!"
|
||||
|
||||
Reference in New Issue
Block a user