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:
Peter Hanssens
2025-09-04 18:22:07 +10:00
parent 733786d9c1
commit 9af0eb9f30
16 changed files with 667 additions and 367 deletions

View File

@@ -68,6 +68,8 @@ members = [
"packages/leptos/error-boundary", # Error handling component
"packages/leptos/lazy-loading", # Lazy loading system
"examples/leptos", # Example application
"scripts/run_quality_assessment",
"scripts/generate_component_tests"
]
@@ -93,7 +95,6 @@ wasm-bindgen = "0.2"
js-sys = "0.3"
wasm-bindgen-test = "0.3"
console_error_panic_hook = "0.1"
lucide-leptos = "2.32.0"
anyhow = "1.0"
handlebars = "6.3.2"
regex = "1.10"