Files
leptos-shadcn-ui/packages/leptos/date-picker/Cargo.toml
Peter Hanssens 9af0eb9f30 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
2025-09-04 18:22:07 +10:00

31 lines
767 B
TOML

[package]
name = "leptos-shadcn-date-picker"
description = "Leptos port of shadcn/ui date picker"
homepage = "https://shadcn-ui.rustforweb.org/components/date-picker.html"
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
version = "0.3.1"
[dependencies]
leptos.workspace = true
leptos-node-ref.workspace = true
leptos-struct-component.workspace = true
leptos-style.workspace = true
tailwind_fuse.workspace = true
web-sys.workspace = true
js-sys.workspace = true
leptos-shadcn-calendar = "0.3.0"
leptos-shadcn-popover = "0.3.0"
leptos-shadcn-button = "0.3.0"
[features]
default = []
new_york = []
[dev-dependencies]
shadcn-ui-test-utils = { path = "../../test-utils" }
wasm-bindgen-test = { workspace = true }