From 07d2db2649d622f639e65d81407c4fb3a950c3f9 Mon Sep 17 00:00:00 2001 From: "rust-for-web[bot]" <191031261+rust-for-web[bot]@users.noreply.github.com> Date: Mon, 28 Jul 2025 15:33:07 +0200 Subject: [PATCH] feat: update to upstream v0.526.0 (#114) Co-authored-by: rust-for-web[bot] <191031261+rust-for-web[bot]@users.noreply.github.com> --- book-examples/dioxus/src/icons.rs | 36 +++++++++++--- book-examples/leptos/src/icons.rs | 4 ++ book-examples/yew/src/icons.rs | 4 ++ packages/dioxus/src/badge_turkish_lira.rs | 42 ++++++++++++++++ packages/dioxus/src/ban.rs | 2 +- packages/dioxus/src/brain.rs | 17 ++++--- packages/dioxus/src/cable.rs | 12 +++-- packages/dioxus/src/circle_parking_off.rs | 10 ++-- packages/dioxus/src/lib.rs | 16 +++++++ packages/dioxus/src/magnet.rs | 4 +- packages/dioxus/src/pen_line.rs | 4 +- packages/dioxus/src/pencil_line.rs | 6 +-- packages/dioxus/src/podcast.rs | 12 ++++- packages/dioxus/src/receipt_turkish_lira.rs | 42 ++++++++++++++++ packages/dioxus/src/trash.rs | 4 +- packages/dioxus/src/trash_2.rs | 18 ++----- packages/dioxus/src/turkish_lira.rs | 42 ++++++++++++++++ packages/dioxus/src/wifi_sync.rs | 46 ++++++++++++++++++ packages/leptos/src/badge_turkish_lira.rs | 37 ++++++++++++++ packages/leptos/src/ban.rs | 2 +- packages/leptos/src/brain.rs | 17 ++++--- packages/leptos/src/cable.rs | 12 +++-- packages/leptos/src/circle_parking_off.rs | 10 ++-- packages/leptos/src/lib.rs | 16 +++++++ packages/leptos/src/magnet.rs | 4 +- packages/leptos/src/pen_line.rs | 4 +- packages/leptos/src/pencil_line.rs | 6 +-- packages/leptos/src/podcast.rs | 4 +- packages/leptos/src/receipt_turkish_lira.rs | 37 ++++++++++++++ packages/leptos/src/trash.rs | 4 +- packages/leptos/src/trash_2.rs | 8 ++-- packages/leptos/src/turkish_lira.rs | 37 ++++++++++++++ packages/leptos/src/wifi_sync.rs | 41 ++++++++++++++++ packages/yew/src/badge_turkish_lira.rs | 51 ++++++++++++++++++++ packages/yew/src/ban.rs | 2 +- packages/yew/src/brain.rs | 21 ++++---- packages/yew/src/cable.rs | 12 +++-- packages/yew/src/circle_parking_off.rs | 10 ++-- packages/yew/src/lib.rs | 16 +++++++ packages/yew/src/magnet.rs | 4 +- packages/yew/src/pen_line.rs | 4 +- packages/yew/src/pencil_line.rs | 6 +-- packages/yew/src/podcast.rs | 4 +- packages/yew/src/receipt_turkish_lira.rs | 49 +++++++++++++++++++ packages/yew/src/trash.rs | 4 +- packages/yew/src/trash_2.rs | 8 ++-- packages/yew/src/turkish_lira.rs | 49 +++++++++++++++++++ packages/yew/src/wifi_sync.rs | 53 +++++++++++++++++++++ scripts/src/lib.rs | 2 +- 49 files changed, 732 insertions(+), 123 deletions(-) create mode 100644 packages/dioxus/src/badge_turkish_lira.rs create mode 100644 packages/dioxus/src/receipt_turkish_lira.rs create mode 100644 packages/dioxus/src/turkish_lira.rs create mode 100644 packages/dioxus/src/wifi_sync.rs create mode 100644 packages/leptos/src/badge_turkish_lira.rs create mode 100644 packages/leptos/src/receipt_turkish_lira.rs create mode 100644 packages/leptos/src/turkish_lira.rs create mode 100644 packages/leptos/src/wifi_sync.rs create mode 100644 packages/yew/src/badge_turkish_lira.rs create mode 100644 packages/yew/src/receipt_turkish_lira.rs create mode 100644 packages/yew/src/turkish_lira.rs create mode 100644 packages/yew/src/wifi_sync.rs diff --git a/book-examples/dioxus/src/icons.rs b/book-examples/dioxus/src/icons.rs index 26fa979..9b6fbe5 100644 --- a/book-examples/dioxus/src/icons.rs +++ b/book-examples/dioxus/src/icons.rs @@ -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 {} diff --git a/book-examples/leptos/src/icons.rs b/book-examples/leptos/src/icons.rs index f4af786..df36d30 100644 --- a/book-examples/leptos/src/icons.rs +++ b/book-examples/leptos/src/icons.rs @@ -223,6 +223,7 @@ pub fn IconsB() -> impl IntoView { (view! { }.into_any(), "Badge Question Mark"), (view! { }.into_any(), "Badge Russian Ruble"), (view! { }.into_any(), "Badge Swiss Franc"), + (view! { }.into_any(), "Badge Turkish Lira"), (view! { }.into_any(), "Badge X"), (view! { }.into_any(), "Baggage Claim"), (view! { }.into_any(), "Ban"), @@ -1549,6 +1550,7 @@ pub fn IconsR() -> impl IntoView { (view! { }.into_any(), "Receipt Russian Ruble"), (view! { }.into_any(), "Receipt Swiss Franc"), (view! { }.into_any(), "Receipt Text"), + (view! { }.into_any(), "Receipt Turkish Lira"), (view! { }.into_any(), "Rectangle Circle"), (view! { }.into_any(), "Rectangle Ellipsis"), (view! { }.into_any(), "Rectangle Goggles"), @@ -1929,6 +1931,7 @@ pub fn IconsT() -> impl IntoView { (view! { }.into_any(), "Trophy"), (view! { }.into_any(), "Truck"), (view! { }.into_any(), "Truck Electric"), + (view! { }.into_any(), "Turkish Lira"), (view! { }.into_any(), "Turtle"), (view! { }.into_any(), "Tv"), (view! { }.into_any(), "Tv Minimal"), @@ -2071,6 +2074,7 @@ pub fn IconsW() -> impl IntoView { (view! { }.into_any(), "Wifi Low"), (view! { }.into_any(), "Wifi Off"), (view! { }.into_any(), "Wifi Pen"), + (view! { }.into_any(), "Wifi Sync"), (view! { }.into_any(), "Wifi Zero"), (view! { }.into_any(), "Wind"), (view! { }.into_any(), "Wind Arrow Down"), diff --git a/book-examples/yew/src/icons.rs b/book-examples/yew/src/icons.rs index 97c6c60..ba17942 100644 --- a/book-examples/yew/src/icons.rs +++ b/book-examples/yew/src/icons.rs @@ -229,6 +229,7 @@ pub fn IconsB() -> Html { (html! { }, "Badge Question Mark"), (html! { }, "Badge Russian Ruble"), (html! { }, "Badge Swiss Franc"), + (html! { }, "Badge Turkish Lira"), (html! { }, "Badge X"), (html! { }, "Baggage Claim"), (html! { }, "Ban"), @@ -1569,6 +1570,7 @@ pub fn IconsR() -> Html { (html! { }, "Receipt Russian Ruble"), (html! { }, "Receipt Swiss Franc"), (html! { }, "Receipt Text"), + (html! { }, "Receipt Turkish Lira"), (html! { }, "Rectangle Circle"), (html! { }, "Rectangle Ellipsis"), (html! { }, "Rectangle Goggles"), @@ -1974,6 +1976,7 @@ pub fn IconsT() -> Html { (html! { }, "Trophy"), (html! { }, "Truck"), (html! { }, "Truck Electric"), + (html! { }, "Turkish Lira"), (html! { }, "Turtle"), (html! { }, "Tv"), (html! { }, "Tv Minimal"), @@ -2113,6 +2116,7 @@ pub fn IconsW() -> Html { (html! { }, "Wifi Low"), (html! { }, "Wifi Off"), (html! { }, "Wifi Pen"), + (html! { }, "Wifi Sync"), (html! { }, "Wifi Zero"), (html! { }, "Wind"), (html! { }, "Wind Arrow Down"), diff --git a/packages/dioxus/src/badge_turkish_lira.rs b/packages/dioxus/src/badge_turkish_lira.rs new file mode 100644 index 0000000..2adb729 --- /dev/null +++ b/packages/dioxus/src/badge_turkish_lira.rs @@ -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, + pub style: Option, +} +#[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" } + } + } +} diff --git a/packages/dioxus/src/ban.rs b/packages/dioxus/src/ban.rs index 5e08c1e..a0a8b5e 100644 --- a/packages/dioxus/src/ban.rs +++ b/packages/dioxus/src/ban.rs @@ -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" } } } } diff --git a/packages/dioxus/src/brain.rs b/packages/dioxus/src/brain.rs index af23eb5..34bb433 100644 --- a/packages/dioxus/src/brain.rs +++ b/packages/dioxus/src/brain.rs @@ -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" } } } } diff --git a/packages/dioxus/src/cable.rs b/packages/dioxus/src/cable.rs index f292aca..dc7653b 100644 --- a/packages/dioxus/src/cable.rs +++ b/packages/dioxus/src/cable.rs @@ -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" } } } } diff --git a/packages/dioxus/src/circle_parking_off.rs b/packages/dioxus/src/circle_parking_off.rs index 149ba13..611c5cb 100644 --- a/packages/dioxus/src/circle_parking_off.rs +++ b/packages/dioxus/src/circle_parking_off.rs @@ -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" } } } } diff --git a/packages/dioxus/src/lib.rs b/packages/dioxus/src/lib.rs index c6f711d..da27b44 100644 --- a/packages/dioxus/src/lib.rs +++ b/packages/dioxus/src/lib.rs @@ -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::*; diff --git a/packages/dioxus/src/magnet.rs b/packages/dioxus/src/magnet.rs index 2f1bdb0..b57a77e 100644 --- a/packages/dioxus/src/magnet.rs +++ b/packages/dioxus/src/magnet.rs @@ -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" } } } } diff --git a/packages/dioxus/src/pen_line.rs b/packages/dioxus/src/pen_line.rs index 1dd2a5c..6b429a5 100644 --- a/packages/dioxus/src/pen_line.rs +++ b/packages/dioxus/src/pen_line.rs @@ -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" } } } } diff --git a/packages/dioxus/src/pencil_line.rs b/packages/dioxus/src/pencil_line.rs index cd1cc4a..ab9a905 100644 --- a/packages/dioxus/src/pencil_line.rs +++ b/packages/dioxus/src/pencil_line.rs @@ -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" } } } } diff --git a/packages/dioxus/src/podcast.rs b/packages/dioxus/src/podcast.rs index 09b94b7..1a5b9ce 100644 --- a/packages/dioxus/src/podcast.rs +++ b/packages/dioxus/src/podcast.rs @@ -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", + } } } } diff --git a/packages/dioxus/src/receipt_turkish_lira.rs b/packages/dioxus/src/receipt_turkish_lira.rs new file mode 100644 index 0000000..252032b --- /dev/null +++ b/packages/dioxus/src/receipt_turkish_lira.rs @@ -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, + pub style: Option, +} +#[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" } + } + } +} diff --git a/packages/dioxus/src/trash.rs b/packages/dioxus/src/trash.rs index c3d1c14..416b072 100644 --- a/packages/dioxus/src/trash.rs +++ b/packages/dioxus/src/trash.rs @@ -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" } } } } diff --git a/packages/dioxus/src/trash_2.rs b/packages/dioxus/src/trash_2.rs index 4d39681..1aa3559 100644 --- a/packages/dioxus/src/trash_2.rs +++ b/packages/dioxus/src/trash_2.rs @@ -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" } } } } diff --git a/packages/dioxus/src/turkish_lira.rs b/packages/dioxus/src/turkish_lira.rs new file mode 100644 index 0000000..82205b5 --- /dev/null +++ b/packages/dioxus/src/turkish_lira.rs @@ -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, + pub style: Option, +} +#[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" } + } + } +} diff --git a/packages/dioxus/src/wifi_sync.rs b/packages/dioxus/src/wifi_sync.rs new file mode 100644 index 0000000..6946bae --- /dev/null +++ b/packages/dioxus/src/wifi_sync.rs @@ -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, + pub style: Option, +} +#[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" } + } + } +} diff --git a/packages/leptos/src/badge_turkish_lira.rs b/packages/leptos/src/badge_turkish_lira.rs new file mode 100644 index 0000000..22c6f99 --- /dev/null +++ b/packages/leptos/src/badge_turkish_lira.rs @@ -0,0 +1,37 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn BadgeTurkishLira( + #[prop(default = 24.into(), into)] size: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, + #[prop(default = "none".into(), into)] fill: Signal, + #[prop(default = 2.into(), into)] stroke_width: Signal, + #[prop(default = false.into(), into)] absolute_stroke_width: Signal, + #[prop(optional)] node_ref: NodeRef, +) -> impl IntoView { + let stroke_width = Signal::derive(move || { + if absolute_stroke_width.get() { + stroke_width.get() * 24 / size.get() + } else { + stroke_width.get() + } + }); + view! { + + + + + + } +} diff --git a/packages/leptos/src/ban.rs b/packages/leptos/src/ban.rs index 37cca23..69c50a7 100644 --- a/packages/leptos/src/ban.rs +++ b/packages/leptos/src/ban.rs @@ -29,8 +29,8 @@ pub fn Ban( stroke-linecap="round" stroke-linejoin="round" > + - } } diff --git a/packages/leptos/src/brain.rs b/packages/leptos/src/brain.rs index 0e4142b..6a89ffd 100644 --- a/packages/leptos/src/brain.rs +++ b/packages/leptos/src/brain.rs @@ -29,15 +29,14 @@ pub fn Brain( stroke-linecap="round" stroke-linejoin="round" > - - - - - - - - - + + + + + + + + } } diff --git a/packages/leptos/src/cable.rs b/packages/leptos/src/cable.rs index 47bc1dc..c970c44 100644 --- a/packages/leptos/src/cable.rs +++ b/packages/leptos/src/cable.rs @@ -29,11 +29,13 @@ pub fn Cable( stroke-linecap="round" stroke-linejoin="round" > - - - - - + + + + + + + } } diff --git a/packages/leptos/src/circle_parking_off.rs b/packages/leptos/src/circle_parking_off.rs index e12d58e..709d03d 100644 --- a/packages/leptos/src/circle_parking_off.rs +++ b/packages/leptos/src/circle_parking_off.rs @@ -29,10 +29,12 @@ pub fn CircleParkingOff( stroke-linecap="round" stroke-linejoin="round" > - - - - + + + + + + } } diff --git a/packages/leptos/src/lib.rs b/packages/leptos/src/lib.rs index 6eb515c..8ef4f4b 100644 --- a/packages/leptos/src/lib.rs +++ b/packages/leptos/src/lib.rs @@ -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::*; diff --git a/packages/leptos/src/magnet.rs b/packages/leptos/src/magnet.rs index 5b14022..b26660c 100644 --- a/packages/leptos/src/magnet.rs +++ b/packages/leptos/src/magnet.rs @@ -29,9 +29,9 @@ pub fn Magnet( stroke-linecap="round" stroke-linejoin="round" > - - + + } } diff --git a/packages/leptos/src/pen_line.rs b/packages/leptos/src/pen_line.rs index e6e3d7d..864fb85 100644 --- a/packages/leptos/src/pen_line.rs +++ b/packages/leptos/src/pen_line.rs @@ -29,8 +29,8 @@ pub fn PenLine( stroke-linecap="round" stroke-linejoin="round" > - - + + } } diff --git a/packages/leptos/src/pencil_line.rs b/packages/leptos/src/pencil_line.rs index 238f094..2e245dd 100644 --- a/packages/leptos/src/pencil_line.rs +++ b/packages/leptos/src/pencil_line.rs @@ -29,9 +29,9 @@ pub fn PencilLine( stroke-linecap="round" stroke-linejoin="round" > - - - + + + } } diff --git a/packages/leptos/src/podcast.rs b/packages/leptos/src/podcast.rs index 2cbad89..a4219c6 100644 --- a/packages/leptos/src/podcast.rs +++ b/packages/leptos/src/podcast.rs @@ -29,10 +29,10 @@ pub fn Podcast( stroke-linecap="round" stroke-linejoin="round" > + - - + } } diff --git a/packages/leptos/src/receipt_turkish_lira.rs b/packages/leptos/src/receipt_turkish_lira.rs new file mode 100644 index 0000000..caa371b --- /dev/null +++ b/packages/leptos/src/receipt_turkish_lira.rs @@ -0,0 +1,37 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn ReceiptTurkishLira( + #[prop(default = 24.into(), into)] size: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, + #[prop(default = "none".into(), into)] fill: Signal, + #[prop(default = 2.into(), into)] stroke_width: Signal, + #[prop(default = false.into(), into)] absolute_stroke_width: Signal, + #[prop(optional)] node_ref: NodeRef, +) -> impl IntoView { + let stroke_width = Signal::derive(move || { + if absolute_stroke_width.get() { + stroke_width.get() * 24 / size.get() + } else { + stroke_width.get() + } + }); + view! { + + + + + + } +} diff --git a/packages/leptos/src/trash.rs b/packages/leptos/src/trash.rs index 6d7c0c2..e963342 100644 --- a/packages/leptos/src/trash.rs +++ b/packages/leptos/src/trash.rs @@ -29,9 +29,9 @@ pub fn Trash( stroke-linecap="round" stroke-linejoin="round" > + - - + } } diff --git a/packages/leptos/src/trash_2.rs b/packages/leptos/src/trash_2.rs index 202202c..d5efc07 100644 --- a/packages/leptos/src/trash_2.rs +++ b/packages/leptos/src/trash_2.rs @@ -29,11 +29,11 @@ pub fn Trash2( stroke-linecap="round" stroke-linejoin="round" > + + + - - - - + } } diff --git a/packages/leptos/src/turkish_lira.rs b/packages/leptos/src/turkish_lira.rs new file mode 100644 index 0000000..8568124 --- /dev/null +++ b/packages/leptos/src/turkish_lira.rs @@ -0,0 +1,37 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn TurkishLira( + #[prop(default = 24.into(), into)] size: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, + #[prop(default = "none".into(), into)] fill: Signal, + #[prop(default = 2.into(), into)] stroke_width: Signal, + #[prop(default = false.into(), into)] absolute_stroke_width: Signal, + #[prop(optional)] node_ref: NodeRef, +) -> impl IntoView { + let stroke_width = Signal::derive(move || { + if absolute_stroke_width.get() { + stroke_width.get() * 24 / size.get() + } else { + stroke_width.get() + } + }); + view! { + + + + + + } +} diff --git a/packages/leptos/src/wifi_sync.rs b/packages/leptos/src/wifi_sync.rs new file mode 100644 index 0000000..9e6a5d4 --- /dev/null +++ b/packages/leptos/src/wifi_sync.rs @@ -0,0 +1,41 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn WifiSync( + #[prop(default = 24.into(), into)] size: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, + #[prop(default = "none".into(), into)] fill: Signal, + #[prop(default = 2.into(), into)] stroke_width: Signal, + #[prop(default = false.into(), into)] absolute_stroke_width: Signal, + #[prop(optional)] node_ref: NodeRef, +) -> impl IntoView { + let stroke_width = Signal::derive(move || { + if absolute_stroke_width.get() { + stroke_width.get() * 24 / size.get() + } else { + stroke_width.get() + } + }); + view! { + + + + + + + + + + } +} diff --git a/packages/yew/src/badge_turkish_lira.rs b/packages/yew/src/badge_turkish_lira.rs new file mode 100644 index 0000000..c3b4327 --- /dev/null +++ b/packages/yew/src/badge_turkish_lira.rs @@ -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, + #[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! { + + + + + + } +} diff --git a/packages/yew/src/ban.rs b/packages/yew/src/ban.rs index 8cd2f13..1f2deab 100644 --- a/packages/yew/src/ban.rs +++ b/packages/yew/src/ban.rs @@ -41,8 +41,8 @@ pub fn Ban(props: &BanProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > + - } } diff --git a/packages/yew/src/brain.rs b/packages/yew/src/brain.rs index dcd401e..c1293ec 100644 --- a/packages/yew/src/brain.rs +++ b/packages/yew/src/brain.rs @@ -41,19 +41,14 @@ pub fn Brain(props: &BrainProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - - - - - - - - - + + + + + + + + } } diff --git a/packages/yew/src/cable.rs b/packages/yew/src/cable.rs index 747f64a..f905519 100644 --- a/packages/yew/src/cable.rs +++ b/packages/yew/src/cable.rs @@ -41,11 +41,13 @@ pub fn Cable(props: &CableProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - - - - - + + + + + + + } } diff --git a/packages/yew/src/circle_parking_off.rs b/packages/yew/src/circle_parking_off.rs index 69c6fac..3b338a2 100644 --- a/packages/yew/src/circle_parking_off.rs +++ b/packages/yew/src/circle_parking_off.rs @@ -41,10 +41,12 @@ pub fn CircleParkingOff(props: &CircleParkingOffProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - - - - + + + + + + } } diff --git a/packages/yew/src/lib.rs b/packages/yew/src/lib.rs index eb2d187..dbf2735 100644 --- a/packages/yew/src/lib.rs +++ b/packages/yew/src/lib.rs @@ -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::*; diff --git a/packages/yew/src/magnet.rs b/packages/yew/src/magnet.rs index fb3cdb1..da9ed01 100644 --- a/packages/yew/src/magnet.rs +++ b/packages/yew/src/magnet.rs @@ -41,11 +41,11 @@ pub fn Magnet(props: &MagnetProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > + - } } diff --git a/packages/yew/src/pen_line.rs b/packages/yew/src/pen_line.rs index 6ff0cbe..8e3b961 100644 --- a/packages/yew/src/pen_line.rs +++ b/packages/yew/src/pen_line.rs @@ -41,9 +41,9 @@ pub fn PenLine(props: &PenLineProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - + } diff --git a/packages/yew/src/pencil_line.rs b/packages/yew/src/pencil_line.rs index 3558f39..316ee48 100644 --- a/packages/yew/src/pencil_line.rs +++ b/packages/yew/src/pencil_line.rs @@ -41,11 +41,11 @@ pub fn PencilLine(props: &PencilLineProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - + + - } } diff --git a/packages/yew/src/podcast.rs b/packages/yew/src/podcast.rs index ef7227c..7c0eb71 100644 --- a/packages/yew/src/podcast.rs +++ b/packages/yew/src/podcast.rs @@ -41,10 +41,10 @@ pub fn Podcast(props: &PodcastProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > + - - + } } diff --git a/packages/yew/src/receipt_turkish_lira.rs b/packages/yew/src/receipt_turkish_lira.rs new file mode 100644 index 0000000..5040992 --- /dev/null +++ b/packages/yew/src/receipt_turkish_lira.rs @@ -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, + #[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! { + + + + + + } +} diff --git a/packages/yew/src/trash.rs b/packages/yew/src/trash.rs index bf26349..bfae2b4 100644 --- a/packages/yew/src/trash.rs +++ b/packages/yew/src/trash.rs @@ -41,9 +41,9 @@ pub fn Trash(props: &TrashProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > + - - + } } diff --git a/packages/yew/src/trash_2.rs b/packages/yew/src/trash_2.rs index 92389fd..4db78c4 100644 --- a/packages/yew/src/trash_2.rs +++ b/packages/yew/src/trash_2.rs @@ -41,11 +41,11 @@ pub fn Trash2(props: &Trash2Props) -> Html { stroke-linecap="round" stroke-linejoin="round" > + + + - - - - + } } diff --git a/packages/yew/src/turkish_lira.rs b/packages/yew/src/turkish_lira.rs new file mode 100644 index 0000000..b559e5b --- /dev/null +++ b/packages/yew/src/turkish_lira.rs @@ -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, + #[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! { + + + + + + } +} diff --git a/packages/yew/src/wifi_sync.rs b/packages/yew/src/wifi_sync.rs new file mode 100644 index 0000000..a1473d6 --- /dev/null +++ b/packages/yew/src/wifi_sync.rs @@ -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, + #[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! { + + + + + + + + + + } +} diff --git a/scripts/src/lib.rs b/scripts/src/lib.rs index 08d05b9..f36fb38 100644 --- a/scripts/src/lib.rs +++ b/scripts/src/lib.rs @@ -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";