Add leptos_icons

Add play, pause, foward/reverse skip icons
This commit is contained in:
Ethan Girouard 2023-12-29 17:37:13 -05:00
parent 0e430d5793
commit b34ac4e129
Signed by: eta357
GPG Key ID: 7BCDC36DFD11C146
2 changed files with 43 additions and 0 deletions

37
Cargo.lock generated
View File

@ -1071,6 +1071,31 @@ dependencies = [
"want",
]
[[package]]
name = "icondata"
version = "0.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f41f2deec9249d16ef6b1a8442fbe16013f67053797052aa0b7d2f5ebd0f0098"
dependencies = [
"icondata_bs",
"icondata_core",
]
[[package]]
name = "icondata_bs"
version = "0.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3a1eeaedae6788b08308e1b050eeddaffa62dd5f2368469ef980c8e0e75837e3"
dependencies = [
"icondata_core",
]
[[package]]
name = "icondata_core"
version = "0.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1640a4c1d5ddd08ab1d9854ffa7a2fa3dc52339492676b6d3031e77ca579f434"
[[package]]
name = "ident_case"
version = "1.0.1"
@ -1279,6 +1304,17 @@ dependencies = [
"walkdir",
]
[[package]]
name = "leptos_icons"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b3fad7820b18b983d49ff4262df88de94dc8fd993278937979cc0dd188868e5"
dependencies = [
"icondata",
"leptos",
"tracing",
]
[[package]]
name = "leptos_integration_utils"
version = "0.5.4"
@ -1422,6 +1458,7 @@ dependencies = [
"http",
"leptos",
"leptos_actix",
"leptos_icons",
"leptos_meta",
"leptos_router",
"wasm-bindgen",

View File

@ -17,6 +17,12 @@ leptos_meta = { version = "0.5", features = ["nightly"] }
leptos_actix = { version = "0.5", optional = true }
leptos_router = { version = "0.5", features = ["nightly"] }
wasm-bindgen = "=0.2.89"
leptos_icons = { version = "0.1.0", default_features = false, features = [
"BsPlayFill",
"BsPauseFill",
"BsSkipStartFill",
"BsSkipEndFill"
] }
[features]
csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"]