mirror of
https://github.com/danbulant/lucide
synced 2026-06-22 00:01:51 +00:00
feat: update to upstream v0.533.0 (#126)
Co-authored-by: rust-for-web[bot] <191031261+rust-for-web[bot]@users.noreply.github.com>
This commit is contained in:
parent
0c39093be9
commit
ad771c56c4
55 changed files with 289 additions and 143 deletions
|
|
@ -2621,6 +2621,12 @@ pub fn IconsC2() -> Element {
|
|||
},
|
||||
"Clock Plus",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
ClosedCaption {}
|
||||
},
|
||||
"Closed Caption",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
Cloud {}
|
||||
|
|
@ -2783,12 +2789,6 @@ pub fn IconsC2() -> Element {
|
|||
},
|
||||
"Cog",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
Coins {}
|
||||
},
|
||||
"Coins",
|
||||
),
|
||||
];
|
||||
rsx! {
|
||||
for (icon , name) in icons {
|
||||
|
|
@ -2804,6 +2804,12 @@ pub fn IconsC2() -> Element {
|
|||
#[component]
|
||||
pub fn IconsC3() -> Element {
|
||||
let icons = [
|
||||
(
|
||||
rsx! {
|
||||
Coins {}
|
||||
},
|
||||
"Coins",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
Columns2 {}
|
||||
|
|
|
|||
|
|
@ -540,6 +540,7 @@ pub fn IconsC() -> impl IntoView {
|
|||
(view! { <ClockArrowUp /> }.into_any(), "Clock Arrow Up"),
|
||||
(view! { <ClockFading /> }.into_any(), "Clock Fading"),
|
||||
(view! { <ClockPlus /> }.into_any(), "Clock Plus"),
|
||||
(view! { <ClosedCaption /> }.into_any(), "Closed Caption"),
|
||||
(view! { <Cloud /> }.into_any(), "Cloud"),
|
||||
(view! { <CloudAlert /> }.into_any(), "Cloud Alert"),
|
||||
(view! { <CloudCheck /> }.into_any(), "Cloud Check"),
|
||||
|
|
|
|||
|
|
@ -569,6 +569,7 @@ pub fn IconsC() -> Html {
|
|||
(html! { <ClockArrowUp /> }, "Clock Arrow Up"),
|
||||
(html! { <ClockFading /> }, "Clock Fading"),
|
||||
(html! { <ClockPlus /> }, "Clock Plus"),
|
||||
(html! { <ClosedCaption /> }, "Closed Caption"),
|
||||
(html! { <Cloud /> }, "Cloud"),
|
||||
(html! { <CloudAlert /> }, "Cloud Alert"),
|
||||
(html! { <CloudCheck /> }, "Cloud Check"),
|
||||
|
|
|
|||
|
|
@ -34,10 +34,10 @@ pub fn ALargeSmall(props: ALargeSmallProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M21 14h-5" }
|
||||
path { "d": "M16 16v-3.5a2.5 2.5 0 0 1 5 0V16" }
|
||||
path { "d": "M4.5 13h6" }
|
||||
path { "d": "m3 16 4.5-9 4.5 9" }
|
||||
path { "d": "m15 16 2.536-7.328a1.02 1.02 1 0 1 1.928 0L22 16" }
|
||||
path { "d": "M15.697 14h5.606" }
|
||||
path { "d": "m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" }
|
||||
path { "d": "M3.304 13h6.392" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,10 +34,10 @@ pub fn CaseLower(props: CaseLowerProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
circle { "cx": "7", "cy": "12", "r": "3" }
|
||||
path { "d": "M10 9v6" }
|
||||
circle { "cx": "17", "cy": "12", "r": "3" }
|
||||
path { "d": "M14 7v8" }
|
||||
path { "d": "M10 9v7" }
|
||||
path { "d": "M14 6v10" }
|
||||
circle { "cx": "17.5", "cy": "12.5", "r": "3.5" }
|
||||
circle { "cx": "6.5", "cy": "12.5", "r": "3.5" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,10 +34,10 @@ pub fn CaseSensitive(props: CaseSensitiveProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "m3 15 4-8 4 8" }
|
||||
path { "d": "M4 13h6" }
|
||||
circle { "cx": "18", "cy": "12", "r": "3" }
|
||||
path { "d": "M21 9v6" }
|
||||
path { "d": "m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" }
|
||||
path { "d": "M22 9v7" }
|
||||
path { "d": "M3.304 13h6.392" }
|
||||
circle { "cx": "18.5", "cy": "12.5", "r": "3.5" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ pub fn CaseUpper(props: CaseUpperProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "m3 15 4-8 4 8" }
|
||||
path { "d": "M4 13h6" }
|
||||
path { "d": "M15 11h4.5a2 2 0 0 1 0 4H15V7h4a2 2 0 0 1 0 4" }
|
||||
path { "d": "M15 11h4.5a1 1 0 0 1 0 5h-4a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h3a1 1 0 0 1 0 5" }
|
||||
path { "d": "m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" }
|
||||
path { "d": "M3.304 13h6.392" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
48
packages/dioxus/src/closed_caption.rs
Normal file
48
packages/dioxus/src/closed_caption.rs
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct ClosedCaptionProps {
|
||||
#[props(default = 24)]
|
||||
pub size: usize,
|
||||
#[props(default = "currentColor".to_owned())]
|
||||
pub color: String,
|
||||
#[props(default = "none".to_owned())]
|
||||
pub fill: String,
|
||||
#[props(default = 2)]
|
||||
pub stroke_width: usize,
|
||||
#[props(default = false)]
|
||||
pub absolute_stroke_width: bool,
|
||||
pub class: Option<String>,
|
||||
pub style: Option<String>,
|
||||
}
|
||||
#[component]
|
||||
pub fn ClosedCaption(props: ClosedCaptionProps) -> Element {
|
||||
let stroke_width = if props.absolute_stroke_width {
|
||||
props.stroke_width * 24 / props.size
|
||||
} else {
|
||||
props.stroke_width
|
||||
};
|
||||
rsx! {
|
||||
svg {
|
||||
"xmlns": "http://www.w3.org/2000/svg",
|
||||
"class": if let Some(class) = props.class { "{class}" },
|
||||
"style": if let Some(style) = props.style { "{style}" },
|
||||
"width": "{props.size}",
|
||||
"height": "{props.size}",
|
||||
"viewBox": "0 0 24 24",
|
||||
"fill": "{props.fill}",
|
||||
"stroke": "{props.color}",
|
||||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M10 9.17a3 3 0 1 0 0 5.66" }
|
||||
path { "d": "M17 9.17a3 3 0 1 0 0 5.66" }
|
||||
rect {
|
||||
"x": "2",
|
||||
"y": "5",
|
||||
"width": "20",
|
||||
"height": "14",
|
||||
"rx": "2",
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -34,7 +34,7 @@ pub fn FlagTriangleLeft(props: FlagTriangleLeftProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M17 22V2L7 7l10 5" }
|
||||
path { "d": "M18 22V2.8a.8.8 0 0 0-1.17-.71L5.45 7.78a.8.8 0 0 0 0 1.44L18 15.5" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ pub fn FlagTriangleRight(props: FlagTriangleRightProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M7 22V2l10 5-10 5" }
|
||||
path { "d": "M6 22V2.8a.8.8 0 0 1 1.17-.71l11.38 5.69a.8.8 0 0 1 0 1.44L6 15.5" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ pub fn FolderSymlink(props: FolderSymlinkProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7" }
|
||||
path { "d": "M2 9.35V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7" }
|
||||
path { "d": "m8 16 3-3-3-3" }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ pub fn Heart(props: HeartProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" }
|
||||
path { "d": "M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ pub fn HeartCrack(props: HeartCrackProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" }
|
||||
path { "d": "m12 13-1-1 2-2-3-3 2-2" }
|
||||
path { "d": "M12.409 5.824c-.702.792-1.15 1.496-1.415 2.166l2.153 2.156a.5.5 0 0 1 0 .707l-2.293 2.293a.5.5 0 0 0 0 .707L12 15" }
|
||||
path { "d": "M13.508 20.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.677.6.6 0 0 0 .818.001A5.5 5.5 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,10 +34,7 @@ pub fn HeartHandshake(props: HeartHandshakeProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" }
|
||||
path { "d": "M12 5 9.04 7.96a2.17 2.17 0 0 0 0 3.08c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66" }
|
||||
path { "d": "m18 15-2-2" }
|
||||
path { "d": "m15 18-2-2" }
|
||||
path { "d": "M19.414 14.414C21 12.828 22 11.5 22 9.5a5.5 5.5 0 0 0-9.591-3.676.6.6 0 0 1-.818.001A5.5 5.5 0 0 0 2 9.5c0 2.3 1.5 4 3 5.5l5.535 5.362a2 2 0 0 0 2.879.052 2.12 2.12 0 0 0-.004-3 2.124 2.124 0 1 0 3-3 2.124 2.124 0 0 0 3.004 0 2 2 0 0 0 0-2.828l-1.881-1.882a2.41 2.41 0 0 0-3.409 0l-1.71 1.71a2 2 0 0 1-2.828 0 2 2 0 0 1 0-2.828l2.823-2.762" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ pub fn HeartMinus(props: HeartMinusProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M13.5 19.5 12 21l-7-7c-1.5-1.45-3-3.2-3-5.5A5.5 5.5 0 0 1 7.5 3c1.76 0 3 .5 4.5 2 1.5-1.5 2.74-2 4.5-2a5.5 5.5 0 0 1 5.402 6.5" }
|
||||
path { "d": "m14.876 18.99-1.368 1.323a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.244 1.572" }
|
||||
path { "d": "M15 15h6" }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,14 +34,9 @@ pub fn HeartOff(props: HeartOffProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
line {
|
||||
"x1": "2",
|
||||
"y1": "2",
|
||||
"x2": "22",
|
||||
"y2": "22",
|
||||
}
|
||||
path { "d": "M16.5 16.5 12 21l-7-7c-1.5-1.45-3-3.2-3-5.5a5.5 5.5 0 0 1 2.14-4.35" }
|
||||
path { "d": "M8.76 3.1c1.15.22 2.13.78 3.24 1.9 1.5-1.5 2.74-2 4.5-2A5.5 5.5 0 0 1 22 8.5c0 2.12-1.3 3.78-2.67 5.17" }
|
||||
path { "d": "M10.5 4.893a5.5 5.5 0 0 1 1.091.931.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 1.872-1.002 3.356-2.187 4.655" }
|
||||
path { "d": "m16.967 16.967-3.459 3.346a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 2.747-4.761" }
|
||||
path { "d": "m2 2 20 20" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ pub fn HeartPlus(props: HeartPlusProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M13.5 19.5 12 21l-7-7c-1.5-1.45-3-3.2-3-5.5A5.5 5.5 0 0 1 7.5 3c1.76 0 3 .5 4.5 2 1.5-1.5 2.74-2 4.5-2a5.5 5.5 0 0 1 5.402 6.5" }
|
||||
path { "d": "m14.479 19.374-.971.939a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.219 1.49" }
|
||||
path { "d": "M15 15h6" }
|
||||
path { "d": "M18 12v6" }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ pub fn HeartPulse(props: HeartPulseProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" }
|
||||
path { "d": "M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27" }
|
||||
path { "d": "M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5" }
|
||||
path { "d": "M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -670,11 +670,11 @@ mod caravan;
|
|||
mod card_sim;
|
||||
#[cfg(feature = "food-beverage")]
|
||||
mod carrot;
|
||||
#[cfg(feature = "text")]
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
mod case_lower;
|
||||
#[cfg(feature = "text")]
|
||||
mod case_sensitive;
|
||||
#[cfg(feature = "text")]
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
mod case_upper;
|
||||
#[cfg(any(
|
||||
feature = "connectivity",
|
||||
|
|
@ -976,6 +976,8 @@ mod clock_arrow_up;
|
|||
mod clock_fading;
|
||||
#[cfg(feature = "time")]
|
||||
mod clock_plus;
|
||||
#[cfg(any(feature = "accessibility", feature = "multimedia"))]
|
||||
mod closed_caption;
|
||||
#[cfg(feature = "weather")]
|
||||
mod cloud;
|
||||
#[cfg(feature = "development")]
|
||||
|
|
@ -1501,9 +1503,9 @@ mod fish_symbol;
|
|||
mod flag;
|
||||
#[cfg(any(feature = "account", feature = "social"))]
|
||||
mod flag_off;
|
||||
#[cfg(feature = "development")]
|
||||
#[cfg(any(feature = "development", feature = "navigation"))]
|
||||
mod flag_triangle_left;
|
||||
#[cfg(feature = "development")]
|
||||
#[cfg(any(feature = "development", feature = "navigation"))]
|
||||
mod flag_triangle_right;
|
||||
#[cfg(any(feature = "weather", feature = "social", feature = "gaming"))]
|
||||
mod flame;
|
||||
|
|
@ -4792,11 +4794,11 @@ pub use caravan::*;
|
|||
pub use card_sim::*;
|
||||
#[cfg(feature = "food-beverage")]
|
||||
pub use carrot::*;
|
||||
#[cfg(feature = "text")]
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
pub use case_lower::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use case_sensitive::*;
|
||||
#[cfg(feature = "text")]
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
pub use case_upper::*;
|
||||
#[cfg(any(
|
||||
feature = "connectivity",
|
||||
|
|
@ -5098,6 +5100,8 @@ pub use clock_arrow_up::*;
|
|||
pub use clock_fading::*;
|
||||
#[cfg(feature = "time")]
|
||||
pub use clock_plus::*;
|
||||
#[cfg(any(feature = "accessibility", feature = "multimedia"))]
|
||||
pub use closed_caption::*;
|
||||
#[cfg(feature = "weather")]
|
||||
pub use cloud::*;
|
||||
#[cfg(feature = "development")]
|
||||
|
|
@ -5623,9 +5627,9 @@ pub use fish_symbol::*;
|
|||
pub use flag::*;
|
||||
#[cfg(any(feature = "account", feature = "social"))]
|
||||
pub use flag_off::*;
|
||||
#[cfg(feature = "development")]
|
||||
#[cfg(any(feature = "development", feature = "navigation"))]
|
||||
pub use flag_triangle_left::*;
|
||||
#[cfg(feature = "development")]
|
||||
#[cfg(any(feature = "development", feature = "navigation"))]
|
||||
pub use flag_triangle_right::*;
|
||||
#[cfg(any(feature = "weather", feature = "social", feature = "gaming"))]
|
||||
pub use flame::*;
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ pub fn Sailboat(props: SailboatProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M22 18H2a4 4 0 0 0 4 4h12a4 4 0 0 0 4-4Z" }
|
||||
path { "d": "M21 14 10 2 3 14h18Z" }
|
||||
path { "d": "M10 2v16" }
|
||||
path { "d": "M10 2v15" }
|
||||
path { "d": "M7 22a4 4 0 0 1-4-4 1 1 0 0 1 1-1h16a1 1 0 0 1 1 1 4 4 0 0 1-4 4z" }
|
||||
path { "d": "M9.159 2.46a1 1 0 0 1 1.521-.193l9.977 8.98A1 1 0 0 1 20 13H4a1 1 0 0 1-.824-1.567z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,10 +29,10 @@ pub fn ALargeSmall(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M21 14h-5" />
|
||||
<path d="M16 16v-3.5a2.5 2.5 0 0 1 5 0V16" />
|
||||
<path d="M4.5 13h6" />
|
||||
<path d="m3 16 4.5-9 4.5 9" />
|
||||
<path d="m15 16 2.536-7.328a1.02 1.02 1 0 1 1.928 0L22 16" />
|
||||
<path d="M15.697 14h5.606" />
|
||||
<path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />
|
||||
<path d="M3.304 13h6.392" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,10 +29,10 @@ pub fn CaseLower(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<circle cx="7" cy="12" r="3" />
|
||||
<path d="M10 9v6" />
|
||||
<circle cx="17" cy="12" r="3" />
|
||||
<path d="M14 7v8" />
|
||||
<path d="M10 9v7" />
|
||||
<path d="M14 6v10" />
|
||||
<circle cx="17.5" cy="12.5" r="3.5" />
|
||||
<circle cx="6.5" cy="12.5" r="3.5" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,10 +29,10 @@ pub fn CaseSensitive(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="m3 15 4-8 4 8" />
|
||||
<path d="M4 13h6" />
|
||||
<circle cx="18" cy="12" r="3" />
|
||||
<path d="M21 9v6" />
|
||||
<path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />
|
||||
<path d="M22 9v7" />
|
||||
<path d="M3.304 13h6.392" />
|
||||
<circle cx="18.5" cy="12.5" r="3.5" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ pub fn CaseUpper(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="m3 15 4-8 4 8" />
|
||||
<path d="M4 13h6" />
|
||||
<path d="M15 11h4.5a2 2 0 0 1 0 4H15V7h4a2 2 0 0 1 0 4" />
|
||||
<path d="M15 11h4.5a1 1 0 0 1 0 5h-4a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h3a1 1 0 0 1 0 5" />
|
||||
<path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />
|
||||
<path d="M3.304 13h6.392" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
37
packages/leptos/src/closed_caption.rs
Normal file
37
packages/leptos/src/closed_caption.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ClosedCaption(
|
||||
#[prop(default = 24.into(), into)] size: Signal<usize>,
|
||||
#[prop(default = "currentColor".into(), into)] color: Signal<String>,
|
||||
#[prop(default = "none".into(), into)] fill: Signal<String>,
|
||||
#[prop(default = 2.into(), into)] stroke_width: Signal<usize>,
|
||||
#[prop(default = false.into(), into)] absolute_stroke_width: Signal<bool>,
|
||||
#[prop(optional)] node_ref: NodeRef<Svg>,
|
||||
) -> impl IntoView {
|
||||
let stroke_width = Signal::derive(move || {
|
||||
if absolute_stroke_width.get() {
|
||||
stroke_width.get() * 24 / size.get()
|
||||
} else {
|
||||
stroke_width.get()
|
||||
}
|
||||
});
|
||||
view! {
|
||||
<svg
|
||||
node_ref=node_ref
|
||||
class:lucide=true
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width=size
|
||||
height=size
|
||||
viewBox="0 0 24 24"
|
||||
fill=fill
|
||||
stroke=color
|
||||
stroke-width=stroke_width
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M10 9.17a3 3 0 1 0 0 5.66" />
|
||||
<path d="M17 9.17a3 3 0 1 0 0 5.66" />
|
||||
<rect x="2" y="5" width="20" height="14" rx="2" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
@ -29,7 +29,7 @@ pub fn FlagTriangleLeft(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M17 22V2L7 7l10 5" />
|
||||
<path d="M18 22V2.8a.8.8 0 0 0-1.17-.71L5.45 7.78a.8.8 0 0 0 0 1.44L18 15.5" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ pub fn FlagTriangleRight(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M7 22V2l10 5-10 5" />
|
||||
<path d="M6 22V2.8a.8.8 0 0 1 1.17-.71l11.38 5.69a.8.8 0 0 1 0 1.44L6 15.5" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ pub fn FolderSymlink(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7" />
|
||||
<path d="M2 9.35V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7" />
|
||||
<path d="m8 16 3-3-3-3" />
|
||||
</svg>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ pub fn Heart(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" />
|
||||
<path d="M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ pub fn HeartCrack(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" />
|
||||
<path d="m12 13-1-1 2-2-3-3 2-2" />
|
||||
<path d="M12.409 5.824c-.702.792-1.15 1.496-1.415 2.166l2.153 2.156a.5.5 0 0 1 0 .707l-2.293 2.293a.5.5 0 0 0 0 .707L12 15" />
|
||||
<path d="M13.508 20.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.677.6.6 0 0 0 .818.001A5.5 5.5 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,10 +29,7 @@ pub fn HeartHandshake(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" />
|
||||
<path d="M12 5 9.04 7.96a2.17 2.17 0 0 0 0 3.08c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66" />
|
||||
<path d="m18 15-2-2" />
|
||||
<path d="m15 18-2-2" />
|
||||
<path d="M19.414 14.414C21 12.828 22 11.5 22 9.5a5.5 5.5 0 0 0-9.591-3.676.6.6 0 0 1-.818.001A5.5 5.5 0 0 0 2 9.5c0 2.3 1.5 4 3 5.5l5.535 5.362a2 2 0 0 0 2.879.052 2.12 2.12 0 0 0-.004-3 2.124 2.124 0 1 0 3-3 2.124 2.124 0 0 0 3.004 0 2 2 0 0 0 0-2.828l-1.881-1.882a2.41 2.41 0 0 0-3.409 0l-1.71 1.71a2 2 0 0 1-2.828 0 2 2 0 0 1 0-2.828l2.823-2.762" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ pub fn HeartMinus(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M13.5 19.5 12 21l-7-7c-1.5-1.45-3-3.2-3-5.5A5.5 5.5 0 0 1 7.5 3c1.76 0 3 .5 4.5 2 1.5-1.5 2.74-2 4.5-2a5.5 5.5 0 0 1 5.402 6.5" />
|
||||
<path d="m14.876 18.99-1.368 1.323a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.244 1.572" />
|
||||
<path d="M15 15h6" />
|
||||
</svg>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ pub fn HeartOff(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<line x1="2" y1="2" x2="22" y2="22" />
|
||||
<path d="M16.5 16.5 12 21l-7-7c-1.5-1.45-3-3.2-3-5.5a5.5 5.5 0 0 1 2.14-4.35" />
|
||||
<path d="M8.76 3.1c1.15.22 2.13.78 3.24 1.9 1.5-1.5 2.74-2 4.5-2A5.5 5.5 0 0 1 22 8.5c0 2.12-1.3 3.78-2.67 5.17" />
|
||||
<path d="M10.5 4.893a5.5 5.5 0 0 1 1.091.931.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 1.872-1.002 3.356-2.187 4.655" />
|
||||
<path d="m16.967 16.967-3.459 3.346a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 2.747-4.761" />
|
||||
<path d="m2 2 20 20" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ pub fn HeartPlus(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M13.5 19.5 12 21l-7-7c-1.5-1.45-3-3.2-3-5.5A5.5 5.5 0 0 1 7.5 3c1.76 0 3 .5 4.5 2 1.5-1.5 2.74-2 4.5-2a5.5 5.5 0 0 1 5.402 6.5" />
|
||||
<path d="m14.479 19.374-.971.939a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.219 1.49" />
|
||||
<path d="M15 15h6" />
|
||||
<path d="M18 12v6" />
|
||||
</svg>
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ pub fn HeartPulse(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" />
|
||||
<path d="M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27" />
|
||||
<path d="M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5" />
|
||||
<path d="M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -670,11 +670,11 @@ mod caravan;
|
|||
mod card_sim;
|
||||
#[cfg(feature = "food-beverage")]
|
||||
mod carrot;
|
||||
#[cfg(feature = "text")]
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
mod case_lower;
|
||||
#[cfg(feature = "text")]
|
||||
mod case_sensitive;
|
||||
#[cfg(feature = "text")]
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
mod case_upper;
|
||||
#[cfg(any(
|
||||
feature = "connectivity",
|
||||
|
|
@ -976,6 +976,8 @@ mod clock_arrow_up;
|
|||
mod clock_fading;
|
||||
#[cfg(feature = "time")]
|
||||
mod clock_plus;
|
||||
#[cfg(any(feature = "accessibility", feature = "multimedia"))]
|
||||
mod closed_caption;
|
||||
#[cfg(feature = "weather")]
|
||||
mod cloud;
|
||||
#[cfg(feature = "development")]
|
||||
|
|
@ -1501,9 +1503,9 @@ mod fish_symbol;
|
|||
mod flag;
|
||||
#[cfg(any(feature = "account", feature = "social"))]
|
||||
mod flag_off;
|
||||
#[cfg(feature = "development")]
|
||||
#[cfg(any(feature = "development", feature = "navigation"))]
|
||||
mod flag_triangle_left;
|
||||
#[cfg(feature = "development")]
|
||||
#[cfg(any(feature = "development", feature = "navigation"))]
|
||||
mod flag_triangle_right;
|
||||
#[cfg(any(feature = "weather", feature = "social", feature = "gaming"))]
|
||||
mod flame;
|
||||
|
|
@ -4792,11 +4794,11 @@ pub use caravan::*;
|
|||
pub use card_sim::*;
|
||||
#[cfg(feature = "food-beverage")]
|
||||
pub use carrot::*;
|
||||
#[cfg(feature = "text")]
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
pub use case_lower::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use case_sensitive::*;
|
||||
#[cfg(feature = "text")]
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
pub use case_upper::*;
|
||||
#[cfg(any(
|
||||
feature = "connectivity",
|
||||
|
|
@ -5098,6 +5100,8 @@ pub use clock_arrow_up::*;
|
|||
pub use clock_fading::*;
|
||||
#[cfg(feature = "time")]
|
||||
pub use clock_plus::*;
|
||||
#[cfg(any(feature = "accessibility", feature = "multimedia"))]
|
||||
pub use closed_caption::*;
|
||||
#[cfg(feature = "weather")]
|
||||
pub use cloud::*;
|
||||
#[cfg(feature = "development")]
|
||||
|
|
@ -5623,9 +5627,9 @@ pub use fish_symbol::*;
|
|||
pub use flag::*;
|
||||
#[cfg(any(feature = "account", feature = "social"))]
|
||||
pub use flag_off::*;
|
||||
#[cfg(feature = "development")]
|
||||
#[cfg(any(feature = "development", feature = "navigation"))]
|
||||
pub use flag_triangle_left::*;
|
||||
#[cfg(feature = "development")]
|
||||
#[cfg(any(feature = "development", feature = "navigation"))]
|
||||
pub use flag_triangle_right::*;
|
||||
#[cfg(any(feature = "weather", feature = "social", feature = "gaming"))]
|
||||
pub use flame::*;
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ pub fn Sailboat(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M22 18H2a4 4 0 0 0 4 4h12a4 4 0 0 0 4-4Z" />
|
||||
<path d="M21 14 10 2 3 14h18Z" />
|
||||
<path d="M10 2v16" />
|
||||
<path d="M10 2v15" />
|
||||
<path d="M7 22a4 4 0 0 1-4-4 1 1 0 0 1 1-1h16a1 1 0 0 1 1 1 4 4 0 0 1-4 4z" />
|
||||
<path d="M9.159 2.46a1 1 0 0 1 1.521-.193l9.977 8.98A1 1 0 0 1 20 13H4a1 1 0 0 1-.824-1.567z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,10 +41,10 @@ pub fn ALargeSmall(props: &ALargeSmallProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M21 14h-5" />
|
||||
<path d="M16 16v-3.5a2.5 2.5 0 0 1 5 0V16" />
|
||||
<path d="M4.5 13h6" />
|
||||
<path d="m3 16 4.5-9 4.5 9" />
|
||||
<path d="m15 16 2.536-7.328a1.02 1.02 1 0 1 1.928 0L22 16" />
|
||||
<path d="M15.697 14h5.606" />
|
||||
<path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />
|
||||
<path d="M3.304 13h6.392" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,10 +41,10 @@ pub fn CaseLower(props: &CaseLowerProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<circle cx="7" cy="12" r="3" />
|
||||
<path d="M10 9v6" />
|
||||
<circle cx="17" cy="12" r="3" />
|
||||
<path d="M14 7v8" />
|
||||
<path d="M10 9v7" />
|
||||
<path d="M14 6v10" />
|
||||
<circle cx="17.5" cy="12.5" r="3.5" />
|
||||
<circle cx="6.5" cy="12.5" r="3.5" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,10 +41,10 @@ pub fn CaseSensitive(props: &CaseSensitiveProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="m3 15 4-8 4 8" />
|
||||
<path d="M4 13h6" />
|
||||
<circle cx="18" cy="12" r="3" />
|
||||
<path d="M21 9v6" />
|
||||
<path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />
|
||||
<path d="M22 9v7" />
|
||||
<path d="M3.304 13h6.392" />
|
||||
<circle cx="18.5" cy="12.5" r="3.5" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,9 +41,11 @@ pub fn CaseUpper(props: &CaseUpperProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="m3 15 4-8 4 8" />
|
||||
<path d="M4 13h6" />
|
||||
<path d="M15 11h4.5a2 2 0 0 1 0 4H15V7h4a2 2 0 0 1 0 4" />
|
||||
<path
|
||||
d="M15 11h4.5a1 1 0 0 1 0 5h-4a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h3a1 1 0 0 1 0 5"
|
||||
/>
|
||||
<path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />
|
||||
<path d="M3.304 13h6.392" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
49
packages/yew/src/closed_caption.rs
Normal file
49
packages/yew/src/closed_caption.rs
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
use yew::prelude::*;
|
||||
#[derive(PartialEq, Properties)]
|
||||
pub struct ClosedCaptionProps {
|
||||
#[prop_or(24)]
|
||||
pub size: usize,
|
||||
#[prop_or(AttrValue::from("currentColor"))]
|
||||
pub color: AttrValue,
|
||||
#[prop_or(AttrValue::from("none"))]
|
||||
pub fill: AttrValue,
|
||||
#[prop_or(2)]
|
||||
pub stroke_width: usize,
|
||||
#[prop_or(false)]
|
||||
pub absolute_stroke_width: bool,
|
||||
#[prop_or_default]
|
||||
pub class: Classes,
|
||||
#[prop_or_default]
|
||||
pub style: std::option::Option<AttrValue>,
|
||||
#[prop_or_default]
|
||||
pub node_ref: NodeRef,
|
||||
}
|
||||
#[function_component]
|
||||
pub fn ClosedCaption(props: &ClosedCaptionProps) -> Html {
|
||||
let stroke_width = if props.absolute_stroke_width {
|
||||
props.stroke_width * 24 / props.size
|
||||
} else {
|
||||
props.stroke_width
|
||||
};
|
||||
html! {
|
||||
<svg
|
||||
ref={props.node_ref.clone()}
|
||||
class={classes!("lucide", props.class
|
||||
.clone())}
|
||||
style={props.style.clone()}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width={props.size.to_string()}
|
||||
height={props.size.to_string()}
|
||||
viewBox="0 0 24 24"
|
||||
fill={& props.fill}
|
||||
stroke={& props.color}
|
||||
stroke-width={stroke_width.to_string()}
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M10 9.17a3 3 0 1 0 0 5.66" />
|
||||
<path d="M17 9.17a3 3 0 1 0 0 5.66" />
|
||||
<rect x="2" y="5" width="20" height="14" rx="2" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
@ -41,7 +41,7 @@ pub fn FlagTriangleLeft(props: &FlagTriangleLeftProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M17 22V2L7 7l10 5" />
|
||||
<path d="M18 22V2.8a.8.8 0 0 0-1.17-.71L5.45 7.78a.8.8 0 0 0 0 1.44L18 15.5" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ pub fn FlagTriangleRight(props: &FlagTriangleRightProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M7 22V2l10 5-10 5" />
|
||||
<path d="M6 22V2.8a.8.8 0 0 1 1.17-.71l11.38 5.69a.8.8 0 0 1 0 1.44L6 15.5" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ pub fn FolderSymlink(props: &FolderSymlinkProps) -> Html {
|
|||
stroke-linejoin="round"
|
||||
>
|
||||
<path
|
||||
d="M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7"
|
||||
d="M2 9.35V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7"
|
||||
/>
|
||||
<path d="m8 16 3-3-3-3" />
|
||||
</svg>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ pub fn Heart(props: &HeartProps) -> Html {
|
|||
stroke-linejoin="round"
|
||||
>
|
||||
<path
|
||||
d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"
|
||||
d="M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5"
|
||||
/>
|
||||
</svg>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,9 +42,11 @@ pub fn HeartCrack(props: &HeartCrackProps) -> Html {
|
|||
stroke-linejoin="round"
|
||||
>
|
||||
<path
|
||||
d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"
|
||||
d="M12.409 5.824c-.702.792-1.15 1.496-1.415 2.166l2.153 2.156a.5.5 0 0 1 0 .707l-2.293 2.293a.5.5 0 0 0 0 .707L12 15"
|
||||
/>
|
||||
<path
|
||||
d="M13.508 20.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.677.6.6 0 0 0 .818.001A5.5 5.5 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5z"
|
||||
/>
|
||||
<path d="m12 13-1-1 2-2-3-3 2-2" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,13 +42,8 @@ pub fn HeartHandshake(props: &HeartHandshakeProps) -> Html {
|
|||
stroke-linejoin="round"
|
||||
>
|
||||
<path
|
||||
d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"
|
||||
d="M19.414 14.414C21 12.828 22 11.5 22 9.5a5.5 5.5 0 0 0-9.591-3.676.6.6 0 0 1-.818.001A5.5 5.5 0 0 0 2 9.5c0 2.3 1.5 4 3 5.5l5.535 5.362a2 2 0 0 0 2.879.052 2.12 2.12 0 0 0-.004-3 2.124 2.124 0 1 0 3-3 2.124 2.124 0 0 0 3.004 0 2 2 0 0 0 0-2.828l-1.881-1.882a2.41 2.41 0 0 0-3.409 0l-1.71 1.71a2 2 0 0 1-2.828 0 2 2 0 0 1 0-2.828l2.823-2.762"
|
||||
/>
|
||||
<path
|
||||
d="M12 5 9.04 7.96a2.17 2.17 0 0 0 0 3.08c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66"
|
||||
/>
|
||||
<path d="m18 15-2-2" />
|
||||
<path d="m15 18-2-2" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ pub fn HeartMinus(props: &HeartMinusProps) -> Html {
|
|||
stroke-linejoin="round"
|
||||
>
|
||||
<path
|
||||
d="M13.5 19.5 12 21l-7-7c-1.5-1.45-3-3.2-3-5.5A5.5 5.5 0 0 1 7.5 3c1.76 0 3 .5 4.5 2 1.5-1.5 2.74-2 4.5-2a5.5 5.5 0 0 1 5.402 6.5"
|
||||
d="m14.876 18.99-1.368 1.323a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.244 1.572"
|
||||
/>
|
||||
<path d="M15 15h6" />
|
||||
</svg>
|
||||
|
|
|
|||
|
|
@ -41,11 +41,13 @@ pub fn HeartOff(props: &HeartOffProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<line x1="2" y1="2" x2="22" y2="22" />
|
||||
<path d="M16.5 16.5 12 21l-7-7c-1.5-1.45-3-3.2-3-5.5a5.5 5.5 0 0 1 2.14-4.35" />
|
||||
<path
|
||||
d="M8.76 3.1c1.15.22 2.13.78 3.24 1.9 1.5-1.5 2.74-2 4.5-2A5.5 5.5 0 0 1 22 8.5c0 2.12-1.3 3.78-2.67 5.17"
|
||||
d="M10.5 4.893a5.5 5.5 0 0 1 1.091.931.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 1.872-1.002 3.356-2.187 4.655"
|
||||
/>
|
||||
<path
|
||||
d="m16.967 16.967-3.459 3.346a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 2.747-4.761"
|
||||
/>
|
||||
<path d="m2 2 20 20" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ pub fn HeartPlus(props: &HeartPlusProps) -> Html {
|
|||
stroke-linejoin="round"
|
||||
>
|
||||
<path
|
||||
d="M13.5 19.5 12 21l-7-7c-1.5-1.45-3-3.2-3-5.5A5.5 5.5 0 0 1 7.5 3c1.76 0 3 .5 4.5 2 1.5-1.5 2.74-2 4.5-2a5.5 5.5 0 0 1 5.402 6.5"
|
||||
d="m14.479 19.374-.971.939a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.219 1.49"
|
||||
/>
|
||||
<path d="M15 15h6" />
|
||||
<path d="M18 12v6" />
|
||||
|
|
|
|||
|
|
@ -42,9 +42,9 @@ pub fn HeartPulse(props: &HeartPulseProps) -> Html {
|
|||
stroke-linejoin="round"
|
||||
>
|
||||
<path
|
||||
d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"
|
||||
d="M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5"
|
||||
/>
|
||||
<path d="M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27" />
|
||||
<path d="M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -672,11 +672,11 @@ mod caravan;
|
|||
mod card_sim;
|
||||
#[cfg(feature = "food-beverage")]
|
||||
mod carrot;
|
||||
#[cfg(feature = "text")]
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
mod case_lower;
|
||||
#[cfg(feature = "text")]
|
||||
mod case_sensitive;
|
||||
#[cfg(feature = "text")]
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
mod case_upper;
|
||||
#[cfg(any(
|
||||
feature = "connectivity",
|
||||
|
|
@ -978,6 +978,8 @@ mod clock_arrow_up;
|
|||
mod clock_fading;
|
||||
#[cfg(feature = "time")]
|
||||
mod clock_plus;
|
||||
#[cfg(any(feature = "accessibility", feature = "multimedia"))]
|
||||
mod closed_caption;
|
||||
#[cfg(feature = "weather")]
|
||||
mod cloud;
|
||||
#[cfg(feature = "development")]
|
||||
|
|
@ -1503,9 +1505,9 @@ mod fish_symbol;
|
|||
mod flag;
|
||||
#[cfg(any(feature = "account", feature = "social"))]
|
||||
mod flag_off;
|
||||
#[cfg(feature = "development")]
|
||||
#[cfg(any(feature = "development", feature = "navigation"))]
|
||||
mod flag_triangle_left;
|
||||
#[cfg(feature = "development")]
|
||||
#[cfg(any(feature = "development", feature = "navigation"))]
|
||||
mod flag_triangle_right;
|
||||
#[cfg(any(feature = "weather", feature = "social", feature = "gaming"))]
|
||||
mod flame;
|
||||
|
|
@ -4794,11 +4796,11 @@ pub use caravan::*;
|
|||
pub use card_sim::*;
|
||||
#[cfg(feature = "food-beverage")]
|
||||
pub use carrot::*;
|
||||
#[cfg(feature = "text")]
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
pub use case_lower::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use case_sensitive::*;
|
||||
#[cfg(feature = "text")]
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
pub use case_upper::*;
|
||||
#[cfg(any(
|
||||
feature = "connectivity",
|
||||
|
|
@ -5100,6 +5102,8 @@ pub use clock_arrow_up::*;
|
|||
pub use clock_fading::*;
|
||||
#[cfg(feature = "time")]
|
||||
pub use clock_plus::*;
|
||||
#[cfg(any(feature = "accessibility", feature = "multimedia"))]
|
||||
pub use closed_caption::*;
|
||||
#[cfg(feature = "weather")]
|
||||
pub use cloud::*;
|
||||
#[cfg(feature = "development")]
|
||||
|
|
@ -5625,9 +5629,9 @@ pub use fish_symbol::*;
|
|||
pub use flag::*;
|
||||
#[cfg(any(feature = "account", feature = "social"))]
|
||||
pub use flag_off::*;
|
||||
#[cfg(feature = "development")]
|
||||
#[cfg(any(feature = "development", feature = "navigation"))]
|
||||
pub use flag_triangle_left::*;
|
||||
#[cfg(feature = "development")]
|
||||
#[cfg(any(feature = "development", feature = "navigation"))]
|
||||
pub use flag_triangle_right::*;
|
||||
#[cfg(any(feature = "weather", feature = "social", feature = "gaming"))]
|
||||
pub use flame::*;
|
||||
|
|
|
|||
|
|
@ -41,9 +41,11 @@ pub fn Sailboat(props: &SailboatProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M22 18H2a4 4 0 0 0 4 4h12a4 4 0 0 0 4-4Z" />
|
||||
<path d="M21 14 10 2 3 14h18Z" />
|
||||
<path d="M10 2v16" />
|
||||
<path d="M10 2v15" />
|
||||
<path d="M7 22a4 4 0 0 1-4-4 1 1 0 0 1 1-1h16a1 1 0 0 1 1 1 4 4 0 0 1-4 4z" />
|
||||
<path
|
||||
d="M9.159 2.46a1 1 0 0 1 1.521-.193l9.977 8.98A1 1 0 0 1 20 13H4a1 1 0 0 1-.824-1.567z"
|
||||
/>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,5 +11,5 @@ pub const GITHUB_OWNER: &str = "RustForWeb";
|
|||
pub const GITHUB_REPO: &str = "lucide";
|
||||
|
||||
pub const UPSTREAM_GIT_URL: &str = "https://github.com/lucide-icons/lucide.git";
|
||||
pub const UPSTREAM_GIT_REF: &str = "0.532.0";
|
||||
pub const UPSTREAM_GIT_REF: &str = "0.533.0";
|
||||
pub const UPSTREAM_GITHUB_URL: &str = "https://github.com/lucide-icons/lucide";
|
||||
|
|
|
|||
Loading…
Reference in a new issue