From b34ac4e129d56a2f4d13ebb9b321f80e64e90e2a Mon Sep 17 00:00:00 2001 From: Ethan Girouard Date: Fri, 29 Dec 2023 17:37:13 -0500 Subject: [PATCH] Add leptos_icons Add play, pause, foward/reverse skip icons --- Cargo.lock | 37 +++++++++++++++++++++++++++++++++++++ Cargo.toml | 6 ++++++ 2 files changed, 43 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 92618cd..0bb36ed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index f993b43..8ff3bbe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"]