mirror of
https://github.com/danbulant/lucide
synced 2026-06-24 09:12:24 +00:00
feat: update to upstream v0.526.0 (#114)
Co-authored-by: rust-for-web[bot] <191031261+rust-for-web[bot]@users.noreply.github.com>
This commit is contained in:
parent
cd412f5af1
commit
07d2db2649
49 changed files with 732 additions and 123 deletions
|
|
@ -830,6 +830,12 @@ pub fn IconsB1() -> Element {
|
|||
},
|
||||
"Badge Swiss Franc",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
BadgeTurkishLira {}
|
||||
},
|
||||
"Badge Turkish Lira",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
BadgeX {}
|
||||
|
|
@ -1316,12 +1322,6 @@ pub fn IconsB1() -> Element {
|
|||
},
|
||||
"Book Up 2",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
BookUser {}
|
||||
},
|
||||
"Book User",
|
||||
),
|
||||
];
|
||||
rsx! {
|
||||
for (icon , name) in icons {
|
||||
|
|
@ -1337,6 +1337,12 @@ pub fn IconsB1() -> Element {
|
|||
#[component]
|
||||
pub fn IconsB2() -> Element {
|
||||
let icons = [
|
||||
(
|
||||
rsx! {
|
||||
BookUser {}
|
||||
},
|
||||
"Book User",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
BookX {}
|
||||
|
|
@ -7361,6 +7367,12 @@ pub fn IconsR1() -> Element {
|
|||
},
|
||||
"Receipt Text",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
ReceiptTurkishLira {}
|
||||
},
|
||||
"Receipt Turkish Lira",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
RectangleCircle {}
|
||||
|
|
@ -9479,6 +9491,12 @@ pub fn IconsT1() -> Element {
|
|||
},
|
||||
"Truck Electric",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
TurkishLira {}
|
||||
},
|
||||
"Turkish Lira",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
Turtle {}
|
||||
|
|
@ -10070,6 +10088,12 @@ pub fn IconsW1() -> Element {
|
|||
},
|
||||
"Wifi Pen",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
WifiSync {}
|
||||
},
|
||||
"Wifi Sync",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
WifiZero {}
|
||||
|
|
|
|||
|
|
@ -223,6 +223,7 @@ pub fn IconsB() -> impl IntoView {
|
|||
(view! { <BadgeQuestionMark /> }.into_any(), "Badge Question Mark"),
|
||||
(view! { <BadgeRussianRuble /> }.into_any(), "Badge Russian Ruble"),
|
||||
(view! { <BadgeSwissFranc /> }.into_any(), "Badge Swiss Franc"),
|
||||
(view! { <BadgeTurkishLira /> }.into_any(), "Badge Turkish Lira"),
|
||||
(view! { <BadgeX /> }.into_any(), "Badge X"),
|
||||
(view! { <BaggageClaim /> }.into_any(), "Baggage Claim"),
|
||||
(view! { <Ban /> }.into_any(), "Ban"),
|
||||
|
|
@ -1549,6 +1550,7 @@ pub fn IconsR() -> impl IntoView {
|
|||
(view! { <ReceiptRussianRuble /> }.into_any(), "Receipt Russian Ruble"),
|
||||
(view! { <ReceiptSwissFranc /> }.into_any(), "Receipt Swiss Franc"),
|
||||
(view! { <ReceiptText /> }.into_any(), "Receipt Text"),
|
||||
(view! { <ReceiptTurkishLira /> }.into_any(), "Receipt Turkish Lira"),
|
||||
(view! { <RectangleCircle /> }.into_any(), "Rectangle Circle"),
|
||||
(view! { <RectangleEllipsis /> }.into_any(), "Rectangle Ellipsis"),
|
||||
(view! { <RectangleGoggles /> }.into_any(), "Rectangle Goggles"),
|
||||
|
|
@ -1929,6 +1931,7 @@ pub fn IconsT() -> impl IntoView {
|
|||
(view! { <Trophy /> }.into_any(), "Trophy"),
|
||||
(view! { <Truck /> }.into_any(), "Truck"),
|
||||
(view! { <TruckElectric /> }.into_any(), "Truck Electric"),
|
||||
(view! { <TurkishLira /> }.into_any(), "Turkish Lira"),
|
||||
(view! { <Turtle /> }.into_any(), "Turtle"),
|
||||
(view! { <Tv /> }.into_any(), "Tv"),
|
||||
(view! { <TvMinimal /> }.into_any(), "Tv Minimal"),
|
||||
|
|
@ -2071,6 +2074,7 @@ pub fn IconsW() -> impl IntoView {
|
|||
(view! { <WifiLow /> }.into_any(), "Wifi Low"),
|
||||
(view! { <WifiOff /> }.into_any(), "Wifi Off"),
|
||||
(view! { <WifiPen /> }.into_any(), "Wifi Pen"),
|
||||
(view! { <WifiSync /> }.into_any(), "Wifi Sync"),
|
||||
(view! { <WifiZero /> }.into_any(), "Wifi Zero"),
|
||||
(view! { <Wind /> }.into_any(), "Wind"),
|
||||
(view! { <WindArrowDown /> }.into_any(), "Wind Arrow Down"),
|
||||
|
|
|
|||
|
|
@ -229,6 +229,7 @@ pub fn IconsB() -> Html {
|
|||
(html! { <BadgeQuestionMark /> }, "Badge Question Mark"),
|
||||
(html! { <BadgeRussianRuble /> }, "Badge Russian Ruble"),
|
||||
(html! { <BadgeSwissFranc /> }, "Badge Swiss Franc"),
|
||||
(html! { <BadgeTurkishLira /> }, "Badge Turkish Lira"),
|
||||
(html! { <BadgeX /> }, "Badge X"),
|
||||
(html! { <BaggageClaim /> }, "Baggage Claim"),
|
||||
(html! { <Ban /> }, "Ban"),
|
||||
|
|
@ -1569,6 +1570,7 @@ pub fn IconsR() -> Html {
|
|||
(html! { <ReceiptRussianRuble /> }, "Receipt Russian Ruble"),
|
||||
(html! { <ReceiptSwissFranc /> }, "Receipt Swiss Franc"),
|
||||
(html! { <ReceiptText /> }, "Receipt Text"),
|
||||
(html! { <ReceiptTurkishLira /> }, "Receipt Turkish Lira"),
|
||||
(html! { <RectangleCircle /> }, "Rectangle Circle"),
|
||||
(html! { <RectangleEllipsis /> }, "Rectangle Ellipsis"),
|
||||
(html! { <RectangleGoggles /> }, "Rectangle Goggles"),
|
||||
|
|
@ -1974,6 +1976,7 @@ pub fn IconsT() -> Html {
|
|||
(html! { <Trophy /> }, "Trophy"),
|
||||
(html! { <Truck /> }, "Truck"),
|
||||
(html! { <TruckElectric /> }, "Truck Electric"),
|
||||
(html! { <TurkishLira /> }, "Turkish Lira"),
|
||||
(html! { <Turtle /> }, "Turtle"),
|
||||
(html! { <Tv /> }, "Tv"),
|
||||
(html! { <TvMinimal /> }, "Tv Minimal"),
|
||||
|
|
@ -2113,6 +2116,7 @@ pub fn IconsW() -> Html {
|
|||
(html! { <WifiLow /> }, "Wifi Low"),
|
||||
(html! { <WifiOff /> }, "Wifi Off"),
|
||||
(html! { <WifiPen /> }, "Wifi Pen"),
|
||||
(html! { <WifiSync /> }, "Wifi Sync"),
|
||||
(html! { <WifiZero /> }, "Wifi Zero"),
|
||||
(html! { <Wind /> }, "Wind"),
|
||||
(html! { <WindArrowDown /> }, "Wind Arrow Down"),
|
||||
|
|
|
|||
42
packages/dioxus/src/badge_turkish_lira.rs
Normal file
42
packages/dioxus/src/badge_turkish_lira.rs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct BadgeTurkishLiraProps {
|
||||
#[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 BadgeTurkishLira(props: BadgeTurkishLiraProps) -> 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": "M11 7v10a5 5 0 0 0 5-5" }
|
||||
path { "d": "m15 8-6 3" }
|
||||
path { "d": "M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -34,8 +34,8 @@ pub fn Ban(props: BanProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M4.929 4.929 19.07 19.071" }
|
||||
circle { "cx": "12", "cy": "12", "r": "10" }
|
||||
path { "d": "m4.9 4.9 14.2 14.2" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,15 +34,14 @@ pub fn Brain(props: BrainProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z" }
|
||||
path { "d": "M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z" }
|
||||
path { "d": "M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4" }
|
||||
path { "d": "M17.599 6.5a3 3 0 0 0 .399-1.375" }
|
||||
path { "d": "M6.003 5.125A3 3 0 0 0 6.401 6.5" }
|
||||
path { "d": "M3.477 10.896a4 4 0 0 1 .585-.396" }
|
||||
path { "d": "M19.938 10.5a4 4 0 0 1 .585.396" }
|
||||
path { "d": "M6 18a4 4 0 0 1-1.967-.516" }
|
||||
path { "d": "M19.967 17.484A4 4 0 0 1 18 18" }
|
||||
path { "d": "M12 18V5" }
|
||||
path { "d": "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4" }
|
||||
path { "d": "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5" }
|
||||
path { "d": "M17.997 5.125a4 4 0 0 1 2.526 5.77" }
|
||||
path { "d": "M18 18a4 4 0 0 0 2-7.464" }
|
||||
path { "d": "M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517" }
|
||||
path { "d": "M6 18a4 4 0 0 1-2-7.464" }
|
||||
path { "d": "M6.003 5.125a4 4 0 0 0-2.526 5.77" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,11 +34,13 @@ pub fn Cable(props: CableProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M17 21v-2a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1" }
|
||||
path { "d": "M19 15V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V9" }
|
||||
path { "d": "M21 21v-2h-4" }
|
||||
path { "d": "M3 5h4V3" }
|
||||
path { "d": "M7 5a1 1 0 0 1 1 1v1a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1V3" }
|
||||
path { "d": "M17 19a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1z" }
|
||||
path { "d": "M17 21v-2" }
|
||||
path { "d": "M19 14V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V10" }
|
||||
path { "d": "M21 21v-2" }
|
||||
path { "d": "M3 5V3" }
|
||||
path { "d": "M4 10a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2z" }
|
||||
path { "d": "M7 5V3" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,10 +34,12 @@ pub fn CircleParkingOff(props: CircleParkingOffProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
circle { "cx": "12", "cy": "12", "r": "10" }
|
||||
path { "d": "m5 5 14 14" }
|
||||
path { "d": "M13 13a3 3 0 1 0 0-6H9v2" }
|
||||
path { "d": "M9 17v-2.34" }
|
||||
path { "d": "M12.656 7H13a3 3 0 0 1 2.984 3.307" }
|
||||
path { "d": "M13 13H9" }
|
||||
path { "d": "M19.071 19.071A1 1 0 0 1 4.93 4.93" }
|
||||
path { "d": "m2 2 20 20" }
|
||||
path { "d": "M8.357 2.687a10 10 0 0 1 12.956 12.956" }
|
||||
path { "d": "M9 17V9" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -309,6 +309,8 @@ mod badge_question_mark;
|
|||
mod badge_russian_ruble;
|
||||
#[cfg(any(feature = "shopping", feature = "finance"))]
|
||||
mod badge_swiss_franc;
|
||||
#[cfg(any(feature = "shopping", feature = "finance"))]
|
||||
mod badge_turkish_lira;
|
||||
#[cfg(feature = "social")]
|
||||
mod badge_x;
|
||||
#[cfg(any(feature = "transportation", feature = "travel"))]
|
||||
|
|
@ -2856,6 +2858,8 @@ mod receipt_russian_ruble;
|
|||
mod receipt_swiss_franc;
|
||||
#[cfg(any(feature = "finance", feature = "travel"))]
|
||||
mod receipt_text;
|
||||
#[cfg(any(feature = "finance", feature = "travel"))]
|
||||
mod receipt_turkish_lira;
|
||||
#[cfg(any(feature = "development", feature = "text"))]
|
||||
mod rectangle_circle;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
|
|
@ -3786,6 +3790,8 @@ mod trophy;
|
|||
mod truck;
|
||||
#[cfg(feature = "transportation")]
|
||||
mod truck_electric;
|
||||
#[cfg(feature = "finance")]
|
||||
mod turkish_lira;
|
||||
#[cfg(feature = "animals")]
|
||||
mod turtle;
|
||||
#[cfg(any(feature = "devices", feature = "multimedia", feature = "communication"))]
|
||||
|
|
@ -4045,6 +4051,8 @@ mod wifi_off;
|
|||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
mod wifi_pen;
|
||||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
mod wifi_sync;
|
||||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
mod wifi_zero;
|
||||
#[cfg(any(feature = "weather", feature = "sustainability"))]
|
||||
mod wind;
|
||||
|
|
@ -4402,6 +4410,8 @@ pub use badge_question_mark::*;
|
|||
pub use badge_russian_ruble::*;
|
||||
#[cfg(any(feature = "shopping", feature = "finance"))]
|
||||
pub use badge_swiss_franc::*;
|
||||
#[cfg(any(feature = "shopping", feature = "finance"))]
|
||||
pub use badge_turkish_lira::*;
|
||||
#[cfg(feature = "social")]
|
||||
pub use badge_x::*;
|
||||
#[cfg(any(feature = "transportation", feature = "travel"))]
|
||||
|
|
@ -6949,6 +6959,8 @@ pub use receipt_russian_ruble::*;
|
|||
pub use receipt_swiss_franc::*;
|
||||
#[cfg(any(feature = "finance", feature = "travel"))]
|
||||
pub use receipt_text::*;
|
||||
#[cfg(any(feature = "finance", feature = "travel"))]
|
||||
pub use receipt_turkish_lira::*;
|
||||
#[cfg(any(feature = "development", feature = "text"))]
|
||||
pub use rectangle_circle::*;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
|
|
@ -7879,6 +7891,8 @@ pub use trophy::*;
|
|||
pub use truck::*;
|
||||
#[cfg(feature = "transportation")]
|
||||
pub use truck_electric::*;
|
||||
#[cfg(feature = "finance")]
|
||||
pub use turkish_lira::*;
|
||||
#[cfg(feature = "animals")]
|
||||
pub use turtle::*;
|
||||
#[cfg(any(feature = "devices", feature = "multimedia", feature = "communication"))]
|
||||
|
|
@ -8138,6 +8152,8 @@ pub use wifi_off::*;
|
|||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
pub use wifi_pen::*;
|
||||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
pub use wifi_sync::*;
|
||||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
pub use wifi_zero::*;
|
||||
#[cfg(any(feature = "weather", feature = "sustainability"))]
|
||||
pub use wind::*;
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ pub fn Magnet(props: MagnetProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "m6 15-4-4 6.75-6.77a7.79 7.79 0 0 1 11 11L13 22l-4-4 6.39-6.36a2.14 2.14 0 0 0-3-3L6 15" }
|
||||
path { "d": "m5 8 4 4" }
|
||||
path { "d": "m12 15 4 4" }
|
||||
path { "d": "M2.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.029-6.029a1 1 0 1 1 3 3l-6.029 6.029a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.365-6.367A1 1 0 0 0 8.716 4.282z" }
|
||||
path { "d": "m5 8 4 4" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ pub fn PenLine(props: PenLineProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M12 20h9" }
|
||||
path { "d": "M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z" }
|
||||
path { "d": "M13 21h8" }
|
||||
path { "d": "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ pub fn PencilLine(props: PencilLineProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M12 20h9" }
|
||||
path { "d": "M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z" }
|
||||
path { "d": "m15 5 3 3" }
|
||||
path { "d": "M13 21h8" }
|
||||
path { "d": "m15 5 4 4" }
|
||||
path { "d": "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,10 +34,18 @@ pub fn Podcast(props: PodcastProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path {
|
||||
"d": "M13 17a1 1 0 1 0-2 0l.5 4.5a0.5 0.5 0 0 0 1 0z",
|
||||
"fill": "currentColor",
|
||||
}
|
||||
path { "d": "M16.85 18.58a9 9 0 1 0-9.7 0" }
|
||||
path { "d": "M8 14a5 5 0 1 1 8 0" }
|
||||
circle { "cx": "12", "cy": "11", "r": "1" }
|
||||
path { "d": "M13 17a1 1 0 1 0-2 0l.5 4.5a.5.5 0 1 0 1 0Z" }
|
||||
circle {
|
||||
"cx": "12",
|
||||
"cy": "11",
|
||||
"r": "1",
|
||||
"fill": "currentColor",
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
42
packages/dioxus/src/receipt_turkish_lira.rs
Normal file
42
packages/dioxus/src/receipt_turkish_lira.rs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct ReceiptTurkishLiraProps {
|
||||
#[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 ReceiptTurkishLira(props: ReceiptTurkishLiraProps) -> 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 6.5v11a5.5 5.5 0 0 0 5.5-5.5" }
|
||||
path { "d": "m14 8-6 3" }
|
||||
path { "d": "M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -34,9 +34,9 @@ pub fn Trash(props: TrashProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }
|
||||
path { "d": "M3 6h18" }
|
||||
path { "d": "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" }
|
||||
path { "d": "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" }
|
||||
path { "d": "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,21 +34,11 @@ pub fn Trash2(props: Trash2Props) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M10 11v6" }
|
||||
path { "d": "M14 11v6" }
|
||||
path { "d": "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }
|
||||
path { "d": "M3 6h18" }
|
||||
path { "d": "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" }
|
||||
path { "d": "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" }
|
||||
line {
|
||||
"x1": "10",
|
||||
"x2": "10",
|
||||
"y1": "11",
|
||||
"y2": "17",
|
||||
}
|
||||
line {
|
||||
"x1": "14",
|
||||
"x2": "14",
|
||||
"y1": "11",
|
||||
"y2": "17",
|
||||
}
|
||||
path { "d": "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
42
packages/dioxus/src/turkish_lira.rs
Normal file
42
packages/dioxus/src/turkish_lira.rs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct TurkishLiraProps {
|
||||
#[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 TurkishLira(props: TurkishLiraProps) -> 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": "M15 4 5 9" }
|
||||
path { "d": "m15 8.5-10 5" }
|
||||
path { "d": "M18 12a9 9 0 0 1-9 9V3" }
|
||||
}
|
||||
}
|
||||
}
|
||||
46
packages/dioxus/src/wifi_sync.rs
Normal file
46
packages/dioxus/src/wifi_sync.rs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct WifiSyncProps {
|
||||
#[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 WifiSync(props: WifiSyncProps) -> 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": "M11.965 10.105v4L13.5 12.5a5 5 0 0 1 8 1.5" }
|
||||
path { "d": "M11.965 14.105h4" }
|
||||
path { "d": "M17.965 18.105h4L20.43 19.71a5 5 0 0 1-8-1.5" }
|
||||
path { "d": "M2 8.82a15 15 0 0 1 20 0" }
|
||||
path { "d": "M21.965 22.105v-4" }
|
||||
path { "d": "M5 12.86a10 10 0 0 1 3-2.032" }
|
||||
path { "d": "M8.5 16.429h.01" }
|
||||
}
|
||||
}
|
||||
}
|
||||
37
packages/leptos/src/badge_turkish_lira.rs
Normal file
37
packages/leptos/src/badge_turkish_lira.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn BadgeTurkishLira(
|
||||
#[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="M11 7v10a5 5 0 0 0 5-5" />
|
||||
<path d="m15 8-6 3" />
|
||||
<path d="M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
@ -29,8 +29,8 @@ pub fn Ban(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M4.929 4.929 19.07 19.071" />
|
||||
<circle cx="12" cy="12" r="10" />
|
||||
<path d="m4.9 4.9 14.2 14.2" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,15 +29,14 @@ pub fn Brain(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z" />
|
||||
<path d="M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z" />
|
||||
<path d="M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4" />
|
||||
<path d="M17.599 6.5a3 3 0 0 0 .399-1.375" />
|
||||
<path d="M6.003 5.125A3 3 0 0 0 6.401 6.5" />
|
||||
<path d="M3.477 10.896a4 4 0 0 1 .585-.396" />
|
||||
<path d="M19.938 10.5a4 4 0 0 1 .585.396" />
|
||||
<path d="M6 18a4 4 0 0 1-1.967-.516" />
|
||||
<path d="M19.967 17.484A4 4 0 0 1 18 18" />
|
||||
<path d="M12 18V5" />
|
||||
<path d="M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4" />
|
||||
<path d="M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5" />
|
||||
<path d="M17.997 5.125a4 4 0 0 1 2.526 5.77" />
|
||||
<path d="M18 18a4 4 0 0 0 2-7.464" />
|
||||
<path d="M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517" />
|
||||
<path d="M6 18a4 4 0 0 1-2-7.464" />
|
||||
<path d="M6.003 5.125a4 4 0 0 0-2.526 5.77" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,11 +29,13 @@ pub fn Cable(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M17 21v-2a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1" />
|
||||
<path d="M19 15V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V9" />
|
||||
<path d="M21 21v-2h-4" />
|
||||
<path d="M3 5h4V3" />
|
||||
<path d="M7 5a1 1 0 0 1 1 1v1a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1V3" />
|
||||
<path d="M17 19a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1z" />
|
||||
<path d="M17 21v-2" />
|
||||
<path d="M19 14V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V10" />
|
||||
<path d="M21 21v-2" />
|
||||
<path d="M3 5V3" />
|
||||
<path d="M4 10a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2z" />
|
||||
<path d="M7 5V3" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,10 +29,12 @@ pub fn CircleParkingOff(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<circle cx="12" cy="12" r="10" />
|
||||
<path d="m5 5 14 14" />
|
||||
<path d="M13 13a3 3 0 1 0 0-6H9v2" />
|
||||
<path d="M9 17v-2.34" />
|
||||
<path d="M12.656 7H13a3 3 0 0 1 2.984 3.307" />
|
||||
<path d="M13 13H9" />
|
||||
<path d="M19.071 19.071A1 1 0 0 1 4.93 4.93" />
|
||||
<path d="m2 2 20 20" />
|
||||
<path d="M8.357 2.687a10 10 0 0 1 12.956 12.956" />
|
||||
<path d="M9 17V9" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -309,6 +309,8 @@ mod badge_question_mark;
|
|||
mod badge_russian_ruble;
|
||||
#[cfg(any(feature = "shopping", feature = "finance"))]
|
||||
mod badge_swiss_franc;
|
||||
#[cfg(any(feature = "shopping", feature = "finance"))]
|
||||
mod badge_turkish_lira;
|
||||
#[cfg(feature = "social")]
|
||||
mod badge_x;
|
||||
#[cfg(any(feature = "transportation", feature = "travel"))]
|
||||
|
|
@ -2856,6 +2858,8 @@ mod receipt_russian_ruble;
|
|||
mod receipt_swiss_franc;
|
||||
#[cfg(any(feature = "finance", feature = "travel"))]
|
||||
mod receipt_text;
|
||||
#[cfg(any(feature = "finance", feature = "travel"))]
|
||||
mod receipt_turkish_lira;
|
||||
#[cfg(any(feature = "development", feature = "text"))]
|
||||
mod rectangle_circle;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
|
|
@ -3786,6 +3790,8 @@ mod trophy;
|
|||
mod truck;
|
||||
#[cfg(feature = "transportation")]
|
||||
mod truck_electric;
|
||||
#[cfg(feature = "finance")]
|
||||
mod turkish_lira;
|
||||
#[cfg(feature = "animals")]
|
||||
mod turtle;
|
||||
#[cfg(any(feature = "devices", feature = "multimedia", feature = "communication"))]
|
||||
|
|
@ -4045,6 +4051,8 @@ mod wifi_off;
|
|||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
mod wifi_pen;
|
||||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
mod wifi_sync;
|
||||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
mod wifi_zero;
|
||||
#[cfg(any(feature = "weather", feature = "sustainability"))]
|
||||
mod wind;
|
||||
|
|
@ -4402,6 +4410,8 @@ pub use badge_question_mark::*;
|
|||
pub use badge_russian_ruble::*;
|
||||
#[cfg(any(feature = "shopping", feature = "finance"))]
|
||||
pub use badge_swiss_franc::*;
|
||||
#[cfg(any(feature = "shopping", feature = "finance"))]
|
||||
pub use badge_turkish_lira::*;
|
||||
#[cfg(feature = "social")]
|
||||
pub use badge_x::*;
|
||||
#[cfg(any(feature = "transportation", feature = "travel"))]
|
||||
|
|
@ -6949,6 +6959,8 @@ pub use receipt_russian_ruble::*;
|
|||
pub use receipt_swiss_franc::*;
|
||||
#[cfg(any(feature = "finance", feature = "travel"))]
|
||||
pub use receipt_text::*;
|
||||
#[cfg(any(feature = "finance", feature = "travel"))]
|
||||
pub use receipt_turkish_lira::*;
|
||||
#[cfg(any(feature = "development", feature = "text"))]
|
||||
pub use rectangle_circle::*;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
|
|
@ -7879,6 +7891,8 @@ pub use trophy::*;
|
|||
pub use truck::*;
|
||||
#[cfg(feature = "transportation")]
|
||||
pub use truck_electric::*;
|
||||
#[cfg(feature = "finance")]
|
||||
pub use turkish_lira::*;
|
||||
#[cfg(feature = "animals")]
|
||||
pub use turtle::*;
|
||||
#[cfg(any(feature = "devices", feature = "multimedia", feature = "communication"))]
|
||||
|
|
@ -8138,6 +8152,8 @@ pub use wifi_off::*;
|
|||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
pub use wifi_pen::*;
|
||||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
pub use wifi_sync::*;
|
||||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
pub use wifi_zero::*;
|
||||
#[cfg(any(feature = "weather", feature = "sustainability"))]
|
||||
pub use wind::*;
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ pub fn Magnet(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="m6 15-4-4 6.75-6.77a7.79 7.79 0 0 1 11 11L13 22l-4-4 6.39-6.36a2.14 2.14 0 0 0-3-3L6 15" />
|
||||
<path d="m5 8 4 4" />
|
||||
<path d="m12 15 4 4" />
|
||||
<path d="M2.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.029-6.029a1 1 0 1 1 3 3l-6.029 6.029a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.365-6.367A1 1 0 0 0 8.716 4.282z" />
|
||||
<path d="m5 8 4 4" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ pub fn PenLine(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M12 20h9" />
|
||||
<path d="M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z" />
|
||||
<path d="M13 21h8" />
|
||||
<path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ pub fn PencilLine(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M12 20h9" />
|
||||
<path d="M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z" />
|
||||
<path d="m15 5 3 3" />
|
||||
<path d="M13 21h8" />
|
||||
<path d="m15 5 4 4" />
|
||||
<path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,10 +29,10 @@ pub fn Podcast(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M13 17a1 1 0 1 0-2 0l.5 4.5a0.5 0.5 0 0 0 1 0z" fill="currentColor" />
|
||||
<path d="M16.85 18.58a9 9 0 1 0-9.7 0" />
|
||||
<path d="M8 14a5 5 0 1 1 8 0" />
|
||||
<circle cx="12" cy="11" r="1" />
|
||||
<path d="M13 17a1 1 0 1 0-2 0l.5 4.5a.5.5 0 1 0 1 0Z" />
|
||||
<circle cx="12" cy="11" r="1" fill="currentColor" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
37
packages/leptos/src/receipt_turkish_lira.rs
Normal file
37
packages/leptos/src/receipt_turkish_lira.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ReceiptTurkishLira(
|
||||
#[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 6.5v11a5.5 5.5 0 0 0 5.5-5.5" />
|
||||
<path d="m14 8-6 3" />
|
||||
<path d="M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
@ -29,9 +29,9 @@ pub fn Trash(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" />
|
||||
<path d="M3 6h18" />
|
||||
<path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" />
|
||||
<path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" />
|
||||
<path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@ pub fn Trash2(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M10 11v6" />
|
||||
<path d="M14 11v6" />
|
||||
<path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" />
|
||||
<path d="M3 6h18" />
|
||||
<path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" />
|
||||
<path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" />
|
||||
<line x1="10" x2="10" y1="11" y2="17" />
|
||||
<line x1="14" x2="14" y1="11" y2="17" />
|
||||
<path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
37
packages/leptos/src/turkish_lira.rs
Normal file
37
packages/leptos/src/turkish_lira.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn TurkishLira(
|
||||
#[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="M15 4 5 9" />
|
||||
<path d="m15 8.5-10 5" />
|
||||
<path d="M18 12a9 9 0 0 1-9 9V3" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
41
packages/leptos/src/wifi_sync.rs
Normal file
41
packages/leptos/src/wifi_sync.rs
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn WifiSync(
|
||||
#[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="M11.965 10.105v4L13.5 12.5a5 5 0 0 1 8 1.5" />
|
||||
<path d="M11.965 14.105h4" />
|
||||
<path d="M17.965 18.105h4L20.43 19.71a5 5 0 0 1-8-1.5" />
|
||||
<path d="M2 8.82a15 15 0 0 1 20 0" />
|
||||
<path d="M21.965 22.105v-4" />
|
||||
<path d="M5 12.86a10 10 0 0 1 3-2.032" />
|
||||
<path d="M8.5 16.429h.01" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
51
packages/yew/src/badge_turkish_lira.rs
Normal file
51
packages/yew/src/badge_turkish_lira.rs
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
use yew::prelude::*;
|
||||
#[derive(PartialEq, Properties)]
|
||||
pub struct BadgeTurkishLiraProps {
|
||||
#[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 BadgeTurkishLira(props: &BadgeTurkishLiraProps) -> 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="M11 7v10a5 5 0 0 0 5-5" />
|
||||
<path d="m15 8-6 3" />
|
||||
<path
|
||||
d="M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76"
|
||||
/>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
@ -41,8 +41,8 @@ pub fn Ban(props: &BanProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M4.929 4.929 19.07 19.071" />
|
||||
<circle cx="12" cy="12" r="10" />
|
||||
<path d="m4.9 4.9 14.2 14.2" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,19 +41,14 @@ pub fn Brain(props: &BrainProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path
|
||||
d="M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z"
|
||||
/>
|
||||
<path
|
||||
d="M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z"
|
||||
/>
|
||||
<path d="M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4" />
|
||||
<path d="M17.599 6.5a3 3 0 0 0 .399-1.375" />
|
||||
<path d="M6.003 5.125A3 3 0 0 0 6.401 6.5" />
|
||||
<path d="M3.477 10.896a4 4 0 0 1 .585-.396" />
|
||||
<path d="M19.938 10.5a4 4 0 0 1 .585.396" />
|
||||
<path d="M6 18a4 4 0 0 1-1.967-.516" />
|
||||
<path d="M19.967 17.484A4 4 0 0 1 18 18" />
|
||||
<path d="M12 18V5" />
|
||||
<path d="M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4" />
|
||||
<path d="M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5" />
|
||||
<path d="M17.997 5.125a4 4 0 0 1 2.526 5.77" />
|
||||
<path d="M18 18a4 4 0 0 0 2-7.464" />
|
||||
<path d="M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517" />
|
||||
<path d="M6 18a4 4 0 0 1-2-7.464" />
|
||||
<path d="M6.003 5.125a4 4 0 0 0-2.526 5.77" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,11 +41,13 @@ pub fn Cable(props: &CableProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M17 21v-2a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1" />
|
||||
<path d="M19 15V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V9" />
|
||||
<path d="M21 21v-2h-4" />
|
||||
<path d="M3 5h4V3" />
|
||||
<path d="M7 5a1 1 0 0 1 1 1v1a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1V3" />
|
||||
<path d="M17 19a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1z" />
|
||||
<path d="M17 21v-2" />
|
||||
<path d="M19 14V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V10" />
|
||||
<path d="M21 21v-2" />
|
||||
<path d="M3 5V3" />
|
||||
<path d="M4 10a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2z" />
|
||||
<path d="M7 5V3" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,10 +41,12 @@ pub fn CircleParkingOff(props: &CircleParkingOffProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<circle cx="12" cy="12" r="10" />
|
||||
<path d="m5 5 14 14" />
|
||||
<path d="M13 13a3 3 0 1 0 0-6H9v2" />
|
||||
<path d="M9 17v-2.34" />
|
||||
<path d="M12.656 7H13a3 3 0 0 1 2.984 3.307" />
|
||||
<path d="M13 13H9" />
|
||||
<path d="M19.071 19.071A1 1 0 0 1 4.93 4.93" />
|
||||
<path d="m2 2 20 20" />
|
||||
<path d="M8.357 2.687a10 10 0 0 1 12.956 12.956" />
|
||||
<path d="M9 17V9" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -311,6 +311,8 @@ mod badge_question_mark;
|
|||
mod badge_russian_ruble;
|
||||
#[cfg(any(feature = "shopping", feature = "finance"))]
|
||||
mod badge_swiss_franc;
|
||||
#[cfg(any(feature = "shopping", feature = "finance"))]
|
||||
mod badge_turkish_lira;
|
||||
#[cfg(feature = "social")]
|
||||
mod badge_x;
|
||||
#[cfg(any(feature = "transportation", feature = "travel"))]
|
||||
|
|
@ -2858,6 +2860,8 @@ mod receipt_russian_ruble;
|
|||
mod receipt_swiss_franc;
|
||||
#[cfg(any(feature = "finance", feature = "travel"))]
|
||||
mod receipt_text;
|
||||
#[cfg(any(feature = "finance", feature = "travel"))]
|
||||
mod receipt_turkish_lira;
|
||||
#[cfg(any(feature = "development", feature = "text"))]
|
||||
mod rectangle_circle;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
|
|
@ -3788,6 +3792,8 @@ mod trophy;
|
|||
mod truck;
|
||||
#[cfg(feature = "transportation")]
|
||||
mod truck_electric;
|
||||
#[cfg(feature = "finance")]
|
||||
mod turkish_lira;
|
||||
#[cfg(feature = "animals")]
|
||||
mod turtle;
|
||||
#[cfg(any(feature = "devices", feature = "multimedia", feature = "communication"))]
|
||||
|
|
@ -4047,6 +4053,8 @@ mod wifi_off;
|
|||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
mod wifi_pen;
|
||||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
mod wifi_sync;
|
||||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
mod wifi_zero;
|
||||
#[cfg(any(feature = "weather", feature = "sustainability"))]
|
||||
mod wind;
|
||||
|
|
@ -4404,6 +4412,8 @@ pub use badge_question_mark::*;
|
|||
pub use badge_russian_ruble::*;
|
||||
#[cfg(any(feature = "shopping", feature = "finance"))]
|
||||
pub use badge_swiss_franc::*;
|
||||
#[cfg(any(feature = "shopping", feature = "finance"))]
|
||||
pub use badge_turkish_lira::*;
|
||||
#[cfg(feature = "social")]
|
||||
pub use badge_x::*;
|
||||
#[cfg(any(feature = "transportation", feature = "travel"))]
|
||||
|
|
@ -6951,6 +6961,8 @@ pub use receipt_russian_ruble::*;
|
|||
pub use receipt_swiss_franc::*;
|
||||
#[cfg(any(feature = "finance", feature = "travel"))]
|
||||
pub use receipt_text::*;
|
||||
#[cfg(any(feature = "finance", feature = "travel"))]
|
||||
pub use receipt_turkish_lira::*;
|
||||
#[cfg(any(feature = "development", feature = "text"))]
|
||||
pub use rectangle_circle::*;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
|
|
@ -7881,6 +7893,8 @@ pub use trophy::*;
|
|||
pub use truck::*;
|
||||
#[cfg(feature = "transportation")]
|
||||
pub use truck_electric::*;
|
||||
#[cfg(feature = "finance")]
|
||||
pub use turkish_lira::*;
|
||||
#[cfg(feature = "animals")]
|
||||
pub use turtle::*;
|
||||
#[cfg(any(feature = "devices", feature = "multimedia", feature = "communication"))]
|
||||
|
|
@ -8140,6 +8154,8 @@ pub use wifi_off::*;
|
|||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
pub use wifi_pen::*;
|
||||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
pub use wifi_sync::*;
|
||||
#[cfg(any(feature = "connectivity", feature = "devices"))]
|
||||
pub use wifi_zero::*;
|
||||
#[cfg(any(feature = "weather", feature = "sustainability"))]
|
||||
pub use wind::*;
|
||||
|
|
|
|||
|
|
@ -41,11 +41,11 @@ pub fn Magnet(props: &MagnetProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="m12 15 4 4" />
|
||||
<path
|
||||
d="m6 15-4-4 6.75-6.77a7.79 7.79 0 0 1 11 11L13 22l-4-4 6.39-6.36a2.14 2.14 0 0 0-3-3L6 15"
|
||||
d="M2.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.029-6.029a1 1 0 1 1 3 3l-6.029 6.029a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.365-6.367A1 1 0 0 0 8.716 4.282z"
|
||||
/>
|
||||
<path d="m5 8 4 4" />
|
||||
<path d="m12 15 4 4" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,9 +41,9 @@ pub fn PenLine(props: &PenLineProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M12 20h9" />
|
||||
<path d="M13 21h8" />
|
||||
<path
|
||||
d="M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z"
|
||||
d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"
|
||||
/>
|
||||
</svg>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,11 +41,11 @@ pub fn PencilLine(props: &PencilLineProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M12 20h9" />
|
||||
<path d="M13 21h8" />
|
||||
<path d="m15 5 4 4" />
|
||||
<path
|
||||
d="M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z"
|
||||
d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"
|
||||
/>
|
||||
<path d="m15 5 3 3" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,10 +41,10 @@ pub fn Podcast(props: &PodcastProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M13 17a1 1 0 1 0-2 0l.5 4.5a0.5 0.5 0 0 0 1 0z" fill="currentColor" />
|
||||
<path d="M16.85 18.58a9 9 0 1 0-9.7 0" />
|
||||
<path d="M8 14a5 5 0 1 1 8 0" />
|
||||
<circle cx="12" cy="11" r="1" />
|
||||
<path d="M13 17a1 1 0 1 0-2 0l.5 4.5a.5.5 0 1 0 1 0Z" />
|
||||
<circle cx="12" cy="11" r="1" fill="currentColor" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
49
packages/yew/src/receipt_turkish_lira.rs
Normal file
49
packages/yew/src/receipt_turkish_lira.rs
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
use yew::prelude::*;
|
||||
#[derive(PartialEq, Properties)]
|
||||
pub struct ReceiptTurkishLiraProps {
|
||||
#[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 ReceiptTurkishLira(props: &ReceiptTurkishLiraProps) -> 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 6.5v11a5.5 5.5 0 0 0 5.5-5.5" />
|
||||
<path d="m14 8-6 3" />
|
||||
<path d="M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
@ -41,9 +41,9 @@ pub fn Trash(props: &TrashProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" />
|
||||
<path d="M3 6h18" />
|
||||
<path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" />
|
||||
<path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" />
|
||||
<path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,11 +41,11 @@ pub fn Trash2(props: &Trash2Props) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M10 11v6" />
|
||||
<path d="M14 11v6" />
|
||||
<path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" />
|
||||
<path d="M3 6h18" />
|
||||
<path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" />
|
||||
<path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" />
|
||||
<line x1="10" x2="10" y1="11" y2="17" />
|
||||
<line x1="14" x2="14" y1="11" y2="17" />
|
||||
<path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
49
packages/yew/src/turkish_lira.rs
Normal file
49
packages/yew/src/turkish_lira.rs
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
use yew::prelude::*;
|
||||
#[derive(PartialEq, Properties)]
|
||||
pub struct TurkishLiraProps {
|
||||
#[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 TurkishLira(props: &TurkishLiraProps) -> 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="M15 4 5 9" />
|
||||
<path d="m15 8.5-10 5" />
|
||||
<path d="M18 12a9 9 0 0 1-9 9V3" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
53
packages/yew/src/wifi_sync.rs
Normal file
53
packages/yew/src/wifi_sync.rs
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
use yew::prelude::*;
|
||||
#[derive(PartialEq, Properties)]
|
||||
pub struct WifiSyncProps {
|
||||
#[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 WifiSync(props: &WifiSyncProps) -> 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="M11.965 10.105v4L13.5 12.5a5 5 0 0 1 8 1.5" />
|
||||
<path d="M11.965 14.105h4" />
|
||||
<path d="M17.965 18.105h4L20.43 19.71a5 5 0 0 1-8-1.5" />
|
||||
<path d="M2 8.82a15 15 0 0 1 20 0" />
|
||||
<path d="M21.965 22.105v-4" />
|
||||
<path d="M5 12.86a10 10 0 0 1 3-2.032" />
|
||||
<path d="M8.5 16.429h.01" />
|
||||
</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.525.0";
|
||||
pub const UPSTREAM_GIT_REF: &str = "0.526.0";
|
||||
pub const UPSTREAM_GITHUB_URL: &str = "https://github.com/lucide-icons/lucide";
|
||||
|
|
|
|||
Loading…
Reference in a new issue