From 829bfd6f4d5309c040dc534cafd51ee7354d8e63 Mon Sep 17 00:00:00 2001 From: "rust-for-web[bot]" <191031261+rust-for-web[bot]@users.noreply.github.com> Date: Fri, 4 Sep 2026 18:50:17 +0000 Subject: [PATCH] feat: update to upstream v1.41.0 --- book-examples/dioxus/src/icons.rs | 122 ++++++++++++------ book-examples/leptos/src/icons.rs | 22 ++-- book-examples/yew/src/icons.rs | 13 +- packages/dioxus/src/can_soda.rs | 45 +++++++ packages/dioxus/src/credit_card_reader.rs | 43 ++++++ packages/dioxus/src/door_closed.rs | 6 +- packages/dioxus/src/door_closed_locked.rs | 10 +- packages/dioxus/src/door_open.rs | 8 +- packages/dioxus/src/door_stairwell.rs | 44 +++++++ packages/dioxus/src/engine.rs | 44 +++++++ packages/dioxus/src/germ.rs | 51 ++++++++ packages/dioxus/src/germ_off.rs | 52 ++++++++ packages/dioxus/src/leaf.rs | 4 +- packages/dioxus/src/lib.rs | 40 +++++- .../dioxus/src/square_exclamation_point.rs | 58 +++++++++ packages/dioxus/src/trash.rs | 2 + packages/dioxus/src/virus.rs | 59 +++++++++ packages/dioxus/src/virus_off.rs | 59 +++++++++ packages/icon-name/src/lib.rs | 12 +- packages/leptos/src/can_soda.rs | 40 ++++++ packages/leptos/src/credit_card_reader.rs | 38 ++++++ packages/leptos/src/door_closed.rs | 6 +- packages/leptos/src/door_closed_locked.rs | 10 +- packages/leptos/src/door_open.rs | 8 +- packages/leptos/src/door_stairwell.rs | 39 ++++++ packages/leptos/src/engine.rs | 39 ++++++ packages/leptos/src/germ.rs | 46 +++++++ packages/leptos/src/germ_off.rs | 47 +++++++ packages/leptos/src/leaf.rs | 4 +- packages/leptos/src/lib.rs | 40 +++++- .../leptos/src/square_exclamation_point.rs | 37 ++++++ packages/leptos/src/trash.rs | 2 + packages/leptos/src/virus.rs | 54 ++++++++ packages/leptos/src/virus_off.rs | 54 ++++++++ packages/yew/src/can_soda.rs | 52 ++++++++ packages/yew/src/credit_card_reader.rs | 52 ++++++++ packages/yew/src/door_closed.rs | 6 +- packages/yew/src/door_closed_locked.rs | 10 +- packages/yew/src/door_open.rs | 8 +- packages/yew/src/door_stairwell.rs | 51 ++++++++ packages/yew/src/engine.rs | 53 ++++++++ packages/yew/src/germ.rs | 60 +++++++++ packages/yew/src/germ_off.rs | 59 +++++++++ packages/yew/src/leaf.rs | 4 +- packages/yew/src/lib.rs | 40 +++++- packages/yew/src/square_exclamation_point.rs | 49 +++++++ packages/yew/src/trash.rs | 2 + packages/yew/src/virus.rs | 66 ++++++++++ packages/yew/src/virus_off.rs | 66 ++++++++++ scripts/src/lib.rs | 2 +- 50 files changed, 1634 insertions(+), 104 deletions(-) create mode 100644 packages/dioxus/src/can_soda.rs create mode 100644 packages/dioxus/src/credit_card_reader.rs create mode 100644 packages/dioxus/src/door_stairwell.rs create mode 100644 packages/dioxus/src/engine.rs create mode 100644 packages/dioxus/src/germ.rs create mode 100644 packages/dioxus/src/germ_off.rs create mode 100644 packages/dioxus/src/square_exclamation_point.rs create mode 100644 packages/dioxus/src/virus.rs create mode 100644 packages/dioxus/src/virus_off.rs create mode 100644 packages/leptos/src/can_soda.rs create mode 100644 packages/leptos/src/credit_card_reader.rs create mode 100644 packages/leptos/src/door_stairwell.rs create mode 100644 packages/leptos/src/engine.rs create mode 100644 packages/leptos/src/germ.rs create mode 100644 packages/leptos/src/germ_off.rs create mode 100644 packages/leptos/src/square_exclamation_point.rs create mode 100644 packages/leptos/src/virus.rs create mode 100644 packages/leptos/src/virus_off.rs create mode 100644 packages/yew/src/can_soda.rs create mode 100644 packages/yew/src/credit_card_reader.rs create mode 100644 packages/yew/src/door_stairwell.rs create mode 100644 packages/yew/src/engine.rs create mode 100644 packages/yew/src/germ.rs create mode 100644 packages/yew/src/germ_off.rs create mode 100644 packages/yew/src/square_exclamation_point.rs create mode 100644 packages/yew/src/virus.rs create mode 100644 packages/yew/src/virus_off.rs diff --git a/book-examples/dioxus/src/icons.rs b/book-examples/dioxus/src/icons.rs index 3765d860..05155a13 100644 --- a/book-examples/dioxus/src/icons.rs +++ b/book-examples/dioxus/src/icons.rs @@ -1833,6 +1833,12 @@ pub fn IconsC1() -> Element { }, "Can", ), + ( + rsx! { + CanSoda {} + }, + "Can Soda", + ), ( rsx! { Candy {} @@ -2247,12 +2253,6 @@ pub fn IconsC1() -> Element { }, "Chevrons Right", ), - ( - rsx! { - ChevronsRightLeft {} - }, - "Chevrons Right Left", - ), ]; rsx! { for (icon, name) in icons { @@ -2268,6 +2268,12 @@ pub fn IconsC1() -> Element { #[component] pub fn IconsC2() -> Element { let icons = [ + ( + rsx! { + ChevronsRightLeft {} + }, + "Chevrons Right Left", + ), ( rsx! { ChevronsUp {} @@ -2862,12 +2868,6 @@ pub fn IconsC2() -> Element { }, "Cloud Lightning", ), - ( - rsx! { - CloudMoon {} - }, - "Cloud Moon", - ), ]; rsx! { for (icon, name) in icons { @@ -2883,6 +2883,12 @@ pub fn IconsC2() -> Element { #[component] pub fn IconsC3() -> Element { let icons = [ + ( + rsx! { + CloudMoon {} + }, + "Cloud Moon", + ), ( rsx! { CloudMoonRain {} @@ -3225,6 +3231,12 @@ pub fn IconsC3() -> Element { }, "Credit Card Plus", ), + ( + rsx! { + CreditCardReader {} + }, + "Credit Card Reader", + ), ( rsx! { CreditCardX {} @@ -3552,6 +3564,12 @@ pub fn IconsD1() -> Element { }, "Door Open", ), + ( + rsx! { + DoorStairwell {} + }, + "Door Stairwell", + ), ( rsx! { Dot {} @@ -3711,6 +3729,12 @@ pub fn IconsE1() -> Element { }, "Ellipsis Vertical", ), + ( + rsx! { + Engine {} + }, + "Engine", + ), ( rsx! { Equal {} @@ -4734,6 +4758,18 @@ pub fn IconsG1() -> Element { }, "Georgian Lari", ), + ( + rsx! { + Germ {} + }, + "Germ", + ), + ( + rsx! { + GermOff {} + }, + "Germ Off", + ), ( rsx! { Ghost {} @@ -9375,6 +9411,12 @@ pub fn IconsS2() -> Element { }, "Square Equal", ), + ( + rsx! { + SquareExclamationPoint {} + }, + "Square Exclamation Point", + ), ( rsx! { SquareFunction {} @@ -9531,12 +9573,6 @@ pub fn IconsS2() -> Element { }, "Square Square", ), - ( - rsx! { - SquareStack {} - }, - "Square Stack", - ), ]; rsx! { for (icon, name) in icons { @@ -9552,6 +9588,12 @@ pub fn IconsS2() -> Element { #[component] pub fn IconsS3() -> Element { let icons = [ + ( + rsx! { + SquareStack {} + }, + "Square Stack", + ), ( rsx! { SquareStar {} @@ -10365,12 +10407,6 @@ pub fn IconsT1() -> Element { }, "Trash", ), - ( - rsx! { - Trash2 {} - }, - "Trash 2", - ), ( rsx! { TreeDeciduous {} @@ -10491,6 +10527,12 @@ pub fn IconsT1() -> Element { }, "Tv Minimal Play", ), + ( + rsx! { + Type {} + }, + "Type", + ), ]; rsx! { for (icon, name) in icons { @@ -10505,20 +10547,12 @@ pub fn IconsT1() -> Element { } #[component] pub fn IconsT2() -> Element { - let icons = [ - ( - rsx! { - Type {} - }, - "Type", - ), - ( - rsx! { - TypeOutline {} - }, - "Type Outline", - ), - ]; + let icons = [( + rsx! { + TypeOutline {} + }, + "Type Outline", + )]; rsx! { for (icon, name) in icons { div { @@ -10896,6 +10930,18 @@ pub fn IconsV1() -> Element { }, "View", ), + ( + rsx! { + Virus {} + }, + "Virus", + ), + ( + rsx! { + VirusOff {} + }, + "Virus Off", + ), ( rsx! { Voicemail {} diff --git a/book-examples/leptos/src/icons.rs b/book-examples/leptos/src/icons.rs index ecad4d9c..b8800e42 100644 --- a/book-examples/leptos/src/icons.rs +++ b/book-examples/leptos/src/icons.rs @@ -445,6 +445,7 @@ pub fn IconsC1() -> impl IntoView { (view! { }.into_any(), "Camera"), (view! { }.into_any(), "Camera Off"), (view! { }.into_any(), "Can"), + (view! { }.into_any(), "Can Soda"), (view! { }.into_any(), "Candy"), (view! { }.into_any(), "Candy Cane"), (view! { }.into_any(), "Candy Off"), @@ -523,7 +524,6 @@ pub fn IconsC1() -> impl IntoView { "Chevrons Left Right Ellipsis", ), (view! { }.into_any(), "Chevrons Right"), - (view! { }.into_any(), "Chevrons Right Left"), ] key=|icon| icon.1 children=move |(icon, name)| { @@ -541,6 +541,7 @@ pub fn IconsC2() -> impl IntoView { view! { }.into_any(), "Chevrons Right Left"), (view! { }.into_any(), "Chevrons Up"), (view! { }.into_any(), "Chevrons Up Down"), (view! { }.into_any(), "Church"), @@ -640,7 +641,6 @@ pub fn IconsC2() -> impl IntoView { (view! { }.into_any(), "Cloud Fog"), (view! { }.into_any(), "Cloud Hail"), (view! { }.into_any(), "Cloud Lightning"), - (view! { }.into_any(), "Cloud Moon"), ] key=|icon| icon.1 children=move |(icon, name)| { @@ -658,6 +658,7 @@ pub fn IconsC3() -> impl IntoView { view! { }.into_any(), "Cloud Moon"), (view! { }.into_any(), "Cloud Moon Rain"), (view! { }.into_any(), "Cloud Off"), (view! { }.into_any(), "Cloud Rain"), @@ -715,6 +716,7 @@ pub fn IconsC3() -> impl IntoView { (view! { }.into_any(), "Credit Card Check"), (view! { }.into_any(), "Credit Card Minus"), (view! { }.into_any(), "Credit Card Plus"), + (view! { }.into_any(), "Credit Card Reader"), (view! { }.into_any(), "Credit Card X"), (view! { }.into_any(), "Croissant"), (view! { }.into_any(), "Crop"), @@ -784,6 +786,7 @@ pub fn IconsD1() -> impl IntoView { (view! { }.into_any(), "Door Closed"), (view! { }.into_any(), "Door Closed Locked"), (view! { }.into_any(), "Door Open"), + (view! { }.into_any(), "Door Stairwell"), (view! { }.into_any(), "Dot"), (view! { }.into_any(), "Download"), (view! { }.into_any(), "Drafting Compass"), @@ -825,6 +828,7 @@ pub fn IconsE1() -> impl IntoView { (view! { }.into_any(), "Ellipse"), (view! { }.into_any(), "Ellipsis"), (view! { }.into_any(), "Ellipsis Vertical"), + (view! { }.into_any(), "Engine"), (view! { }.into_any(), "Equal"), (view! { }.into_any(), "Equal Approximately"), (view! { }.into_any(), "Equal Not"), @@ -1042,6 +1046,8 @@ pub fn IconsG1() -> impl IntoView { (view! { }.into_any(), "Gavel"), (view! { }.into_any(), "Gem"), (view! { }.into_any(), "Georgian Lari"), + (view! { }.into_any(), "Germ"), + (view! { }.into_any(), "Germ Off"), (view! { }.into_any(), "Ghost"), (view! { }.into_any(), "Gift"), (view! { }.into_any(), "Git Branch"), @@ -2048,6 +2054,7 @@ pub fn IconsS2() -> impl IntoView { (view! { }.into_any(), "Square Divide"), (view! { }.into_any(), "Square Dot"), (view! { }.into_any(), "Square Equal"), + (view! { }.into_any(), "Square Exclamation Point"), (view! { }.into_any(), "Square Function"), (view! { }.into_any(), "Square Kanban"), (view! { }.into_any(), "Square Library"), @@ -2074,7 +2081,6 @@ pub fn IconsS2() -> impl IntoView { (view! { }.into_any(), "Square Split Horizontal"), (view! { }.into_any(), "Square Split Vertical"), (view! { }.into_any(), "Square Square"), - (view! { }.into_any(), "Square Stack"), ] key=|icon| icon.1 children=move |(icon, name)| { @@ -2092,6 +2098,7 @@ pub fn IconsS3() -> impl IntoView { view! { }.into_any(), "Square Stack"), (view! { }.into_any(), "Square Star"), (view! { }.into_any(), "Square Stop"), (view! { }.into_any(), "Square Terminal"), @@ -2242,7 +2249,6 @@ pub fn IconsT1() -> impl IntoView { (view! { }.into_any(), "Tram Front"), (view! { }.into_any(), "Transgender"), (view! { }.into_any(), "Trash"), - (view! { }.into_any(), "Trash 2"), (view! { }.into_any(), "Tree Deciduous"), (view! { }.into_any(), "Tree Palm"), (view! { }.into_any(), "Tree Pine"), @@ -2263,6 +2269,7 @@ pub fn IconsT1() -> impl IntoView { (view! { }.into_any(), "Tv"), (view! { }.into_any(), "Tv Minimal"), (view! { }.into_any(), "Tv Minimal Play"), + (view! { }.into_any(), "Type"), ] key=|icon| icon.1 children=move |(icon, name)| { @@ -2279,10 +2286,7 @@ pub fn IconsT1() -> impl IntoView { pub fn IconsT2() -> impl IntoView { view! { }.into_any(), "Type"), - (view! { }.into_any(), "Type Outline"), - ] + each=move || [(view! { }.into_any(), "Type Outline")] key=|icon| icon.1 children=move |(icon, name)| { view! { @@ -2374,6 +2378,8 @@ pub fn IconsV1() -> impl IntoView { (view! { }.into_any(), "Video Off"), (view! { }.into_any(), "Videotape"), (view! { }.into_any(), "View"), + (view! { }.into_any(), "Virus"), + (view! { }.into_any(), "Virus Off"), (view! { }.into_any(), "Voicemail"), (view! { }.into_any(), "Volleyball"), (view! { }.into_any(), "Volume"), diff --git a/book-examples/yew/src/icons.rs b/book-examples/yew/src/icons.rs index 9d7239e6..a014f625 100644 --- a/book-examples/yew/src/icons.rs +++ b/book-examples/yew/src/icons.rs @@ -412,6 +412,7 @@ pub fn IconsC() -> Html { (html! { }, "Camera"), (html! { }, "Camera Off"), (html! { }, "Can"), + (html! { }, "Can Soda"), (html! { }, "Candy"), (html! { }, "Candy Cane"), (html! { }, "Candy Off"), @@ -666,6 +667,7 @@ pub fn IconsC() -> Html { (html! { }, "Credit Card Check"), (html! { }, "Credit Card Minus"), (html! { }, "Credit Card Plus"), + (html! { }, "Credit Card Reader"), (html! { }, "Credit Card X"), (html! { }, "Croissant"), (html! { }, "Crop"), @@ -734,6 +736,7 @@ pub fn IconsD() -> Html { (html! { }, "Door Closed"), (html! { }, "Door Closed Locked"), (html! { }, "Door Open"), + (html! { }, "Door Stairwell"), (html! { }, "Dot"), (html! { }, "Download"), (html! { }, "Drafting Compass"), @@ -774,6 +777,7 @@ pub fn IconsE() -> Html { (html! { }, "Ellipse"), (html! { }, "Ellipsis"), (html! { }, "Ellipsis Vertical"), + (html! { }, "Engine"), (html! { }, "Equal"), (html! { }, "Equal Approximately"), (html! { }, "Equal Not"), @@ -975,6 +979,8 @@ pub fn IconsG() -> Html { (html! { }, "Gavel"), (html! { }, "Gem"), (html! { }, "Georgian Lari"), + (html! { }, "Germ"), + (html! { }, "Germ Off"), (html! { }, "Ghost"), (html! { }, "Gift"), (html! { }, "Git Branch"), @@ -1966,6 +1972,10 @@ pub fn IconsS() -> Html { (html! { }, "Square Divide"), (html! { }, "Square Dot"), (html! { }, "Square Equal"), + ( + html! { }, + "Square Exclamation Point", + ), (html! { }, "Square Function"), (html! { }, "Square Kanban"), (html! { }, "Square Library"), @@ -2145,7 +2155,6 @@ pub fn IconsT() -> Html { (html! { }, "Tram Front"), (html! { }, "Transgender"), (html! { }, "Trash"), - (html! { }, "Trash 2"), (html! { }, "Tree Deciduous"), (html! { }, "Tree Palm"), (html! { }, "Tree Pine"), @@ -2258,6 +2267,8 @@ pub fn IconsV() -> Html { (html! { }, "Video Off"), (html! { }, "Videotape"), (html! { }, "View"), + (html! { }, "Virus"), + (html! { }, "Virus Off"), (html! { }, "Voicemail"), (html! { }, "Volleyball"), (html! { }, "Volume"), diff --git a/packages/dioxus/src/can_soda.rs b/packages/dioxus/src/can_soda.rs new file mode 100644 index 00000000..efca534e --- /dev/null +++ b/packages/dioxus/src/can_soda.rs @@ -0,0 +1,45 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CanSodaProps { + #[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 CanSoda(props: CanSodaProps) -> 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": "m17 22 1.664-2.496a2 2 0 00.336-1.11V5.606a2 2 0 00-.336-1.11L17 2" } + path { "d": "M18 22H6" } + path { "d": "M18 2H6" } + path { "d": "M5 17h14" } + path { "d": "M5 7h14" } + path { "d": "m7 22-1.664-2.496A2 2 0 015 18.394V5.606a2 2 0 01.336-1.11L7 2" } + } + } +} diff --git a/packages/dioxus/src/credit_card_reader.rs b/packages/dioxus/src/credit_card_reader.rs new file mode 100644 index 00000000..2c1a7aec --- /dev/null +++ b/packages/dioxus/src/credit_card_reader.rs @@ -0,0 +1,43 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CreditCardReaderProps { + #[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 CreditCardReader(props: CreditCardReaderProps) -> 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 16v1" } + path { "d": "M16.963 7.734A1 1 0 0015.999 7H8.003a1 1 0 00-.964.734L4.073 18.467A2 2 0 006 21h12a2 2 0 001.927-2.532z" } + path { "d": "M2.678 8.5A2 2 0 012 7V5a2 2 0 012-2h16a2 2 0 012 2v2a2 2 0 01-.676 1.499" } + path { "d": "m9 21 2-14" } + } + } +} diff --git a/packages/dioxus/src/door_closed.rs b/packages/dioxus/src/door_closed.rs index 03536380..4e4c433a 100644 --- a/packages/dioxus/src/door_closed.rs +++ b/packages/dioxus/src/door_closed.rs @@ -34,9 +34,9 @@ pub fn DoorClosed(props: DoorClosedProps) -> Element { "stroke-width": "{stroke_width}", "stroke-linecap": "round", "stroke-linejoin": "round", - path { "d": "M10 12h.01" } - path { "d": "M18 20V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14" } - path { "d": "M2 20h20" } + path { "d": "M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16" } + path { "d": "M2 21h20" } + path { "d": "M9 12h.01" } } } } diff --git a/packages/dioxus/src/door_closed_locked.rs b/packages/dioxus/src/door_closed_locked.rs index edaa74fd..0c8953bf 100644 --- a/packages/dioxus/src/door_closed_locked.rs +++ b/packages/dioxus/src/door_closed_locked.rs @@ -34,13 +34,13 @@ pub fn DoorClosedLocked(props: DoorClosedLockedProps) -> Element { "stroke-width": "{stroke_width}", "stroke-linecap": "round", "stroke-linejoin": "round", - path { "d": "M10 12h.01" } - path { "d": "M18 9V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14" } - path { "d": "M2 20h8" } - path { "d": "M20 17v-2a2 2 0 1 0-4 0v2" } + path { "d": "M19 8V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16" } + path { "d": "M2 21h8" } + path { "d": "M20 16v-2a2 2 0 00-4 0v2" } + path { "d": "M9 12h.01" } rect { "x": "14", - "y": "17", + "y": "16", "width": "8", "height": "5", "rx": "1", diff --git a/packages/dioxus/src/door_open.rs b/packages/dioxus/src/door_open.rs index 7abaa814..24ec7c55 100644 --- a/packages/dioxus/src/door_open.rs +++ b/packages/dioxus/src/door_open.rs @@ -34,11 +34,11 @@ pub fn DoorOpen(props: DoorOpenProps) -> Element { "stroke-width": "{stroke_width}", "stroke-linecap": "round", "stroke-linejoin": "round", - path { "d": "M11 20H2" } - path { "d": "M11 4.562v16.157a1 1 0 0 0 1.242.97L19 20V5.562a2 2 0 0 0-1.515-1.94l-4-1A2 2 0 0 0 11 4.561z" } - path { "d": "M11 4H8a2 2 0 0 0-2 2v14" } + path { "d": "M10 21H2" } + path { "d": "M10 4a2 2 0 012.36-1.968l5.41.992A1.5 1.5 0 0119 4.5V21l-7.876.992A1 1 0 0110 21z" } + path { "d": "M10.268 3H7a2 2 0 00-2 2v16" } path { "d": "M14 12h.01" } - path { "d": "M22 20h-3" } + path { "d": "M22 21h-3" } } } } diff --git a/packages/dioxus/src/door_stairwell.rs b/packages/dioxus/src/door_stairwell.rs new file mode 100644 index 00000000..f3443bb9 --- /dev/null +++ b/packages/dioxus/src/door_stairwell.rs @@ -0,0 +1,44 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DoorStairwellProps { + #[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 DoorStairwell(props: DoorStairwellProps) -> 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": "M12 17v-3a1 1 0 011-1h6" } + path { "d": "M19 17h-9a1 1 0 00-1 1v3" } + path { "d": "M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16" } + path { "d": "M19 9h-3a1 1 0 00-1 1v3" } + path { "d": "M22 21H2" } + } + } +} diff --git a/packages/dioxus/src/engine.rs b/packages/dioxus/src/engine.rs new file mode 100644 index 00000000..c6ee5f14 --- /dev/null +++ b/packages/dioxus/src/engine.rs @@ -0,0 +1,44 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct EngineProps { + #[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 Engine(props: EngineProps) -> 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 3h6" } + path { "d": "M13 3v4" } + path { "d": "M2 10v6" } + path { "d": "M2 13h4" } + path { "d": "M6 16a2 2 0 002 2h1a2 2 0 011.6.8l.3.4a2 2 0 001.6.8h2.264a2 2 0 001.789-1.106l1.67-3.341a1 1 0 01.895-.553H21a1 1 0 001-1v-4a1 1 0 00-1-1h-3.5a1 1 0 01-.8-.4l-.9-1.2A1 1 0 0015 7h-4a1 1 0 00-.8.4l-.9 1.2a1 1 0 01-.8.4H7a1 1 0 00-1 1z" } + } + } +} diff --git a/packages/dioxus/src/germ.rs b/packages/dioxus/src/germ.rs new file mode 100644 index 00000000..7d8428f6 --- /dev/null +++ b/packages/dioxus/src/germ.rs @@ -0,0 +1,51 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct GermProps { + #[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 Germ(props: GermProps) -> 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 2 .925 1.848" } + path { "d": "M13 15h.01" } + path { "d": "m16 21-1-2.472" } + path { "d": "m19 2-1 1.804" } + path { "d": "m2 19 2.746-1.373" } + path { "d": "m22 16-2.474-2.13" } + path { "d": "m22 5-1.804 1" } + path { "d": "m3 10 2 2" } + path { "d": "M9 16h.01" } + path { "d": "M9 20v2" } + path { "d": "M9.33 7.035c-.51 1.478-1.786 2.93-3.09 3.794A5 5 0 009 20a12.1 12.1 0 0011.902-9.916A6 6 0 009.33 7.035" } + circle { "cx": "15", "cy": "9", "r": "2" } + } + } +} diff --git a/packages/dioxus/src/germ_off.rs b/packages/dioxus/src/germ_off.rs new file mode 100644 index 00000000..73fcf220 --- /dev/null +++ b/packages/dioxus/src/germ_off.rs @@ -0,0 +1,52 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct GermOffProps { + #[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 GermOff(props: GermOffProps) -> 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 2 .925 1.848" } + path { "d": "M13 15h.01" } + path { "d": "M13.424 7.768a2 2 0 112.808 2.808" } + path { "d": "m16 21-1-2.472" } + path { "d": "M16.988 16.988A12 12 0 019 20a5 5 0 01-2.759-9.171 8.8 8.8 0 002.307-2.28" } + path { "d": "m19 2-1 1.804" } + path { "d": "m2 19 2.746-1.373" } + path { "d": "m2 2 20 20" } + path { "d": "m22 16-2.474-2.13a12 12 0 001.376-3.786 6 6 0 00-10.313-5.151" } + path { "d": "m22 5-1.804 1" } + path { "d": "m3 10 2 2" } + path { "d": "M9 16h.01" } + path { "d": "M9 20v2" } + } + } +} diff --git a/packages/dioxus/src/leaf.rs b/packages/dioxus/src/leaf.rs index 5a653caf..73dc2355 100644 --- a/packages/dioxus/src/leaf.rs +++ b/packages/dioxus/src/leaf.rs @@ -34,8 +34,8 @@ pub fn Leaf(props: LeafProps) -> Element { "stroke-width": "{stroke_width}", "stroke-linecap": "round", "stroke-linejoin": "round", - path { "d": "M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z" } - path { "d": "M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12" } + path { "d": "M11 20a10 10 0 0010-10 25.9 25.9 0 00-1.04-7.281 1 1 0 00-1.755-.325C15.833 5.5 13 5.5 9.8 6.1A7 7 0 0011 20" } + path { "d": "M2 21a5 5 0 012.911-4.544C7.613 15.212 8.351 15.24 11 13" } } } } diff --git a/packages/dioxus/src/lib.rs b/packages/dioxus/src/lib.rs index b9b4b0c9..363c38f6 100644 --- a/packages/dioxus/src/lib.rs +++ b/packages/dioxus/src/lib.rs @@ -659,6 +659,8 @@ mod camera_off; #[cfg(feature = "food-beverage")] mod can; #[cfg(feature = "food-beverage")] +mod can_soda; +#[cfg(feature = "food-beverage")] mod candy; #[cfg(feature = "food-beverage")] mod candy_cane; @@ -1170,6 +1172,8 @@ mod credit_card_check; mod credit_card_minus; #[cfg(any(feature = "account", feature = "finance", feature = "shopping"))] mod credit_card_plus; +#[cfg(any(feature = "finance", feature = "navigation", feature = "shopping"))] +mod credit_card_reader; #[cfg(any(feature = "account", feature = "finance", feature = "shopping"))] mod credit_card_x; #[cfg(feature = "food-beverage")] @@ -1319,6 +1323,8 @@ mod door_closed; mod door_closed_locked; #[cfg(any(feature = "home", feature = "travel", feature = "security"))] mod door_open; +#[cfg(any(feature = "home", feature = "travel"))] +mod door_stairwell; #[cfg(any(feature = "shapes", feature = "text"))] mod dot; #[cfg(any(feature = "arrows", feature = "files"))] @@ -1373,6 +1379,8 @@ mod ellipse; mod ellipsis; #[cfg(feature = "layout")] mod ellipsis_vertical; +#[cfg(feature = "transportation")] +mod engine; #[cfg(any(feature = "math", feature = "development"))] mod equal; #[cfg(feature = "math")] @@ -1781,6 +1789,10 @@ mod gavel; mod gem; #[cfg(feature = "finance")] mod georgian_lari; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +mod germ; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +mod germ_off; #[cfg(feature = "gaming")] mod ghost; #[cfg(any(feature = "gaming", feature = "account"))] @@ -3764,6 +3776,8 @@ mod square_divide; mod square_dot; #[cfg(feature = "math")] mod square_equal; +#[cfg(any(feature = "notifications", feature = "shapes"))] +mod square_exclamation_point; #[cfg(any(feature = "development", feature = "math"))] mod square_function; #[cfg(any(feature = "charts", feature = "development", feature = "design"))] @@ -4181,8 +4195,6 @@ mod tram_front; mod transgender; #[cfg(any(feature = "files", feature = "mail"))] mod trash; -#[cfg(any(feature = "files", feature = "mail"))] -mod trash_2; #[cfg(any(feature = "nature", feature = "sustainability"))] mod tree_deciduous; #[cfg(any(feature = "nature", feature = "sustainability"))] @@ -4379,6 +4391,10 @@ mod video_off; mod videotape; #[cfg(any(feature = "design", feature = "photography"))] mod view; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +mod virus; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +mod virus_off; #[cfg(any(feature = "connectivity", feature = "devices", feature = "social"))] mod voicemail; #[cfg(any(feature = "sports", feature = "gaming", feature = "travel"))] @@ -5242,6 +5258,8 @@ pub use camera_off::*; #[cfg(feature = "food-beverage")] pub use can::*; #[cfg(feature = "food-beverage")] +pub use can_soda::*; +#[cfg(feature = "food-beverage")] pub use candy::*; #[cfg(feature = "food-beverage")] pub use candy_cane::*; @@ -5753,6 +5771,8 @@ pub use credit_card_check::*; pub use credit_card_minus::*; #[cfg(any(feature = "account", feature = "finance", feature = "shopping"))] pub use credit_card_plus::*; +#[cfg(any(feature = "finance", feature = "navigation", feature = "shopping"))] +pub use credit_card_reader::*; #[cfg(any(feature = "account", feature = "finance", feature = "shopping"))] pub use credit_card_x::*; #[cfg(feature = "food-beverage")] @@ -5902,6 +5922,8 @@ pub use door_closed::*; pub use door_closed_locked::*; #[cfg(any(feature = "home", feature = "travel", feature = "security"))] pub use door_open::*; +#[cfg(any(feature = "home", feature = "travel"))] +pub use door_stairwell::*; #[cfg(any(feature = "shapes", feature = "text"))] pub use dot::*; #[cfg(any(feature = "arrows", feature = "files"))] @@ -5956,6 +5978,8 @@ pub use ellipse::*; pub use ellipsis::*; #[cfg(feature = "layout")] pub use ellipsis_vertical::*; +#[cfg(feature = "transportation")] +pub use engine::*; #[cfg(any(feature = "math", feature = "development"))] pub use equal::*; #[cfg(feature = "math")] @@ -6364,6 +6388,10 @@ pub use gavel::*; pub use gem::*; #[cfg(feature = "finance")] pub use georgian_lari::*; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +pub use germ::*; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +pub use germ_off::*; #[cfg(feature = "gaming")] pub use ghost::*; #[cfg(any(feature = "gaming", feature = "account"))] @@ -8347,6 +8375,8 @@ pub use square_divide::*; pub use square_dot::*; #[cfg(feature = "math")] pub use square_equal::*; +#[cfg(any(feature = "notifications", feature = "shapes"))] +pub use square_exclamation_point::*; #[cfg(any(feature = "development", feature = "math"))] pub use square_function::*; #[cfg(any(feature = "charts", feature = "development", feature = "design"))] @@ -8764,8 +8794,6 @@ pub use tram_front::*; pub use transgender::*; #[cfg(any(feature = "files", feature = "mail"))] pub use trash::*; -#[cfg(any(feature = "files", feature = "mail"))] -pub use trash_2::*; #[cfg(any(feature = "nature", feature = "sustainability"))] pub use tree_deciduous::*; #[cfg(any(feature = "nature", feature = "sustainability"))] @@ -8962,6 +8990,10 @@ pub use video_off::*; pub use videotape::*; #[cfg(any(feature = "design", feature = "photography"))] pub use view::*; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +pub use virus::*; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +pub use virus_off::*; #[cfg(any(feature = "connectivity", feature = "devices", feature = "social"))] pub use voicemail::*; #[cfg(any(feature = "sports", feature = "gaming", feature = "travel"))] diff --git a/packages/dioxus/src/square_exclamation_point.rs b/packages/dioxus/src/square_exclamation_point.rs new file mode 100644 index 00000000..a30b2b81 --- /dev/null +++ b/packages/dioxus/src/square_exclamation_point.rs @@ -0,0 +1,58 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SquareExclamationPointProps { + #[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 SquareExclamationPoint(props: SquareExclamationPointProps) -> 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", + rect { + "width": "18", + "height": "18", + "x": "3", + "y": "3", + "rx": "2", + } + line { + "x1": "12", + "x2": "12", + "y1": "8", + "y2": "12", + } + line { + "x1": "12", + "x2": "12.01", + "y1": "16", + "y2": "16", + } + } + } +} diff --git a/packages/dioxus/src/trash.rs b/packages/dioxus/src/trash.rs index 815a7526..e4d69955 100644 --- a/packages/dioxus/src/trash.rs +++ b/packages/dioxus/src/trash.rs @@ -34,6 +34,8 @@ pub fn Trash(props: TrashProps) -> 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": "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" } diff --git a/packages/dioxus/src/virus.rs b/packages/dioxus/src/virus.rs new file mode 100644 index 00000000..7d26d41b --- /dev/null +++ b/packages/dioxus/src/virus.rs @@ -0,0 +1,59 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct VirusProps { + #[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 Virus(props: VirusProps) -> 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": "M12 14.991h.01" } + path { "d": "M12 22v-3" } + path { "d": "M12 2v3" } + path { "d": "M13 22h-2" } + path { "d": "M13 2h-2" } + path { "d": "M13.99 10H14" } + path { "d": "m16.5 19.794-1-1.733" } + path { "d": "m16.5 4.205-1 1.732" } + path { "d": "m19.794 16.5-1.732-1" } + path { "d": "m19.794 7.5-1.732 1" } + path { "d": "M2 12h3" } + path { "d": "M2 13v-2" } + path { "d": "M22 12h-3" } + path { "d": "M22 13v-2" } + path { "d": "m4.206 16.5 1.732-1" } + path { "d": "m4.206 7.5 1.732 1" } + path { "d": "m7.5 19.794 1-1.733" } + path { "d": "m7.5 4.205 1 1.732" } + path { "d": "M9 12h.01" } + circle { "cx": "12", "cy": "12", "r": "7" } + } + } +} diff --git a/packages/dioxus/src/virus_off.rs b/packages/dioxus/src/virus_off.rs new file mode 100644 index 00000000..8e7f8aa4 --- /dev/null +++ b/packages/dioxus/src/virus_off.rs @@ -0,0 +1,59 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct VirusOffProps { + #[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 VirusOff(props: VirusOffProps) -> 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.01 10h.01" } + path { "d": "M12 14.991h.01" } + path { "d": "M12 22v-3" } + path { "d": "M12 2v3" } + path { "d": "M13 22h-2" } + path { "d": "M13 2h-2" } + path { "d": "m16.5 19.794-1-1.733" } + path { "d": "m16.5 4.205-1 1.732" } + path { "d": "M18.891 13.235a7 7 0 00-8.126-8.126" } + path { "d": "m19.794 7.5-1.732 1" } + path { "d": "M2 12h3" } + path { "d": "M2 13v-2" } + path { "d": "m2 2 20 20" } + path { "d": "M22 12h-3" } + path { "d": "M22 13v-2" } + path { "d": "m4.206 16.5 1.732-1" } + path { "d": "m4.206 7.5 1.732 1" } + path { "d": "M7.05 7.05a7 7 0 009.9 9.9" } + path { "d": "m7.5 19.794 1-1.733" } + path { "d": "M9 12h.01" } + } + } +} diff --git a/packages/icon-name/src/lib.rs b/packages/icon-name/src/lib.rs index 47ffee3c..2a3aa6b5 100644 --- a/packages/icon-name/src/lib.rs +++ b/packages/icon-name/src/lib.rs @@ -5,7 +5,7 @@ //! See [the Rust Lucide book](https://lucide.rustforweb.org/) for more documenation. /// [Lucide](https://lucide.dev/) icon names. -pub static ICON_NAMES: [&str; 1799usize] = [ +pub static ICON_NAMES: [&str; 1807usize] = [ "a-arrow-down", "a-arrow-up", "a-large-small", @@ -294,6 +294,7 @@ pub static ICON_NAMES: [&str; 1799usize] = [ "camera", "camera-off", "can", + "can-soda", "candy", "candy-cane", "candy-off", @@ -521,6 +522,7 @@ pub static ICON_NAMES: [&str; 1799usize] = [ "credit-card-check", "credit-card-minus", "credit-card-plus", + "credit-card-reader", "credit-card-x", "croissant", "crop", @@ -573,6 +575,7 @@ pub static ICON_NAMES: [&str; 1799usize] = [ "door-closed", "door-closed-locked", "door-open", + "door-stairwell", "dot", "download", "drafting-compass", @@ -597,6 +600,7 @@ pub static ICON_NAMES: [&str; 1799usize] = [ "ellipse", "ellipsis", "ellipsis-vertical", + "engine", "equal", "equal-approximately", "equal-not", @@ -760,6 +764,8 @@ pub static ICON_NAMES: [&str; 1799usize] = [ "gavel", "gem", "georgian-lari", + "germ", + "germ-off", "ghost", "gift", "git-branch", @@ -1496,6 +1502,7 @@ pub static ICON_NAMES: [&str; 1799usize] = [ "square-divide", "square-dot", "square-equal", + "square-exclamation-point", "square-function", "square-kanban", "square-library", @@ -1656,7 +1663,6 @@ pub static ICON_NAMES: [&str; 1799usize] = [ "tram-front", "transgender", "trash", - "trash-2", "tree-deciduous", "tree-palm", "tree-pine", @@ -1737,6 +1743,8 @@ pub static ICON_NAMES: [&str; 1799usize] = [ "video-off", "videotape", "view", + "virus", + "virus-off", "voicemail", "volleyball", "volume", diff --git a/packages/leptos/src/can_soda.rs b/packages/leptos/src/can_soda.rs new file mode 100644 index 00000000..b68690a6 --- /dev/null +++ b/packages/leptos/src/can_soda.rs @@ -0,0 +1,40 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn CanSoda( + #[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/credit_card_reader.rs b/packages/leptos/src/credit_card_reader.rs new file mode 100644 index 00000000..da8d3a31 --- /dev/null +++ b/packages/leptos/src/credit_card_reader.rs @@ -0,0 +1,38 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn CreditCardReader( + #[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/door_closed.rs b/packages/leptos/src/door_closed.rs index 1d57209e..1b527d06 100644 --- a/packages/leptos/src/door_closed.rs +++ b/packages/leptos/src/door_closed.rs @@ -29,9 +29,9 @@ pub fn DoorClosed( stroke-linecap="round" stroke-linejoin="round" > - - - + + + } } diff --git a/packages/leptos/src/door_closed_locked.rs b/packages/leptos/src/door_closed_locked.rs index f63b1173..3d8f0cd3 100644 --- a/packages/leptos/src/door_closed_locked.rs +++ b/packages/leptos/src/door_closed_locked.rs @@ -29,11 +29,11 @@ pub fn DoorClosedLocked( stroke-linecap="round" stroke-linejoin="round" > - - - - - + + + + + } } diff --git a/packages/leptos/src/door_open.rs b/packages/leptos/src/door_open.rs index 5e2177ea..cfa2bea9 100644 --- a/packages/leptos/src/door_open.rs +++ b/packages/leptos/src/door_open.rs @@ -29,11 +29,11 @@ pub fn DoorOpen( stroke-linecap="round" stroke-linejoin="round" > - - - + + + - + } } diff --git a/packages/leptos/src/door_stairwell.rs b/packages/leptos/src/door_stairwell.rs new file mode 100644 index 00000000..aed7ba1e --- /dev/null +++ b/packages/leptos/src/door_stairwell.rs @@ -0,0 +1,39 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn DoorStairwell( + #[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/engine.rs b/packages/leptos/src/engine.rs new file mode 100644 index 00000000..fc5f520b --- /dev/null +++ b/packages/leptos/src/engine.rs @@ -0,0 +1,39 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn Engine( + #[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/germ.rs b/packages/leptos/src/germ.rs new file mode 100644 index 00000000..dd45f9c1 --- /dev/null +++ b/packages/leptos/src/germ.rs @@ -0,0 +1,46 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn Germ( + #[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/germ_off.rs b/packages/leptos/src/germ_off.rs new file mode 100644 index 00000000..fa44a647 --- /dev/null +++ b/packages/leptos/src/germ_off.rs @@ -0,0 +1,47 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn GermOff( + #[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/leaf.rs b/packages/leptos/src/leaf.rs index 6a258dd1..14a76b87 100644 --- a/packages/leptos/src/leaf.rs +++ b/packages/leptos/src/leaf.rs @@ -29,8 +29,8 @@ pub fn Leaf( stroke-linecap="round" stroke-linejoin="round" > - - + + } } diff --git a/packages/leptos/src/lib.rs b/packages/leptos/src/lib.rs index ddef4fed..48a9a6a9 100644 --- a/packages/leptos/src/lib.rs +++ b/packages/leptos/src/lib.rs @@ -659,6 +659,8 @@ mod camera_off; #[cfg(feature = "food-beverage")] mod can; #[cfg(feature = "food-beverage")] +mod can_soda; +#[cfg(feature = "food-beverage")] mod candy; #[cfg(feature = "food-beverage")] mod candy_cane; @@ -1170,6 +1172,8 @@ mod credit_card_check; mod credit_card_minus; #[cfg(any(feature = "account", feature = "finance", feature = "shopping"))] mod credit_card_plus; +#[cfg(any(feature = "finance", feature = "navigation", feature = "shopping"))] +mod credit_card_reader; #[cfg(any(feature = "account", feature = "finance", feature = "shopping"))] mod credit_card_x; #[cfg(feature = "food-beverage")] @@ -1319,6 +1323,8 @@ mod door_closed; mod door_closed_locked; #[cfg(any(feature = "home", feature = "travel", feature = "security"))] mod door_open; +#[cfg(any(feature = "home", feature = "travel"))] +mod door_stairwell; #[cfg(any(feature = "shapes", feature = "text"))] mod dot; #[cfg(any(feature = "arrows", feature = "files"))] @@ -1373,6 +1379,8 @@ mod ellipse; mod ellipsis; #[cfg(feature = "layout")] mod ellipsis_vertical; +#[cfg(feature = "transportation")] +mod engine; #[cfg(any(feature = "math", feature = "development"))] mod equal; #[cfg(feature = "math")] @@ -1781,6 +1789,10 @@ mod gavel; mod gem; #[cfg(feature = "finance")] mod georgian_lari; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +mod germ; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +mod germ_off; #[cfg(feature = "gaming")] mod ghost; #[cfg(any(feature = "gaming", feature = "account"))] @@ -3764,6 +3776,8 @@ mod square_divide; mod square_dot; #[cfg(feature = "math")] mod square_equal; +#[cfg(any(feature = "notifications", feature = "shapes"))] +mod square_exclamation_point; #[cfg(any(feature = "development", feature = "math"))] mod square_function; #[cfg(any(feature = "charts", feature = "development", feature = "design"))] @@ -4181,8 +4195,6 @@ mod tram_front; mod transgender; #[cfg(any(feature = "files", feature = "mail"))] mod trash; -#[cfg(any(feature = "files", feature = "mail"))] -mod trash_2; #[cfg(any(feature = "nature", feature = "sustainability"))] mod tree_deciduous; #[cfg(any(feature = "nature", feature = "sustainability"))] @@ -4379,6 +4391,10 @@ mod video_off; mod videotape; #[cfg(any(feature = "design", feature = "photography"))] mod view; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +mod virus; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +mod virus_off; #[cfg(any(feature = "connectivity", feature = "devices", feature = "social"))] mod voicemail; #[cfg(any(feature = "sports", feature = "gaming", feature = "travel"))] @@ -5242,6 +5258,8 @@ pub use camera_off::*; #[cfg(feature = "food-beverage")] pub use can::*; #[cfg(feature = "food-beverage")] +pub use can_soda::*; +#[cfg(feature = "food-beverage")] pub use candy::*; #[cfg(feature = "food-beverage")] pub use candy_cane::*; @@ -5753,6 +5771,8 @@ pub use credit_card_check::*; pub use credit_card_minus::*; #[cfg(any(feature = "account", feature = "finance", feature = "shopping"))] pub use credit_card_plus::*; +#[cfg(any(feature = "finance", feature = "navigation", feature = "shopping"))] +pub use credit_card_reader::*; #[cfg(any(feature = "account", feature = "finance", feature = "shopping"))] pub use credit_card_x::*; #[cfg(feature = "food-beverage")] @@ -5902,6 +5922,8 @@ pub use door_closed::*; pub use door_closed_locked::*; #[cfg(any(feature = "home", feature = "travel", feature = "security"))] pub use door_open::*; +#[cfg(any(feature = "home", feature = "travel"))] +pub use door_stairwell::*; #[cfg(any(feature = "shapes", feature = "text"))] pub use dot::*; #[cfg(any(feature = "arrows", feature = "files"))] @@ -5956,6 +5978,8 @@ pub use ellipse::*; pub use ellipsis::*; #[cfg(feature = "layout")] pub use ellipsis_vertical::*; +#[cfg(feature = "transportation")] +pub use engine::*; #[cfg(any(feature = "math", feature = "development"))] pub use equal::*; #[cfg(feature = "math")] @@ -6364,6 +6388,10 @@ pub use gavel::*; pub use gem::*; #[cfg(feature = "finance")] pub use georgian_lari::*; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +pub use germ::*; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +pub use germ_off::*; #[cfg(feature = "gaming")] pub use ghost::*; #[cfg(any(feature = "gaming", feature = "account"))] @@ -8347,6 +8375,8 @@ pub use square_divide::*; pub use square_dot::*; #[cfg(feature = "math")] pub use square_equal::*; +#[cfg(any(feature = "notifications", feature = "shapes"))] +pub use square_exclamation_point::*; #[cfg(any(feature = "development", feature = "math"))] pub use square_function::*; #[cfg(any(feature = "charts", feature = "development", feature = "design"))] @@ -8764,8 +8794,6 @@ pub use tram_front::*; pub use transgender::*; #[cfg(any(feature = "files", feature = "mail"))] pub use trash::*; -#[cfg(any(feature = "files", feature = "mail"))] -pub use trash_2::*; #[cfg(any(feature = "nature", feature = "sustainability"))] pub use tree_deciduous::*; #[cfg(any(feature = "nature", feature = "sustainability"))] @@ -8962,6 +8990,10 @@ pub use video_off::*; pub use videotape::*; #[cfg(any(feature = "design", feature = "photography"))] pub use view::*; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +pub use virus::*; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +pub use virus_off::*; #[cfg(any(feature = "connectivity", feature = "devices", feature = "social"))] pub use voicemail::*; #[cfg(any(feature = "sports", feature = "gaming", feature = "travel"))] diff --git a/packages/leptos/src/square_exclamation_point.rs b/packages/leptos/src/square_exclamation_point.rs new file mode 100644 index 00000000..3673e351 --- /dev/null +++ b/packages/leptos/src/square_exclamation_point.rs @@ -0,0 +1,37 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn SquareExclamationPoint( + #[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 e9633426..ec5d9d66 100644 --- a/packages/leptos/src/trash.rs +++ b/packages/leptos/src/trash.rs @@ -29,6 +29,8 @@ pub fn Trash( stroke-linecap="round" stroke-linejoin="round" > + + diff --git a/packages/leptos/src/virus.rs b/packages/leptos/src/virus.rs new file mode 100644 index 00000000..10ca628d --- /dev/null +++ b/packages/leptos/src/virus.rs @@ -0,0 +1,54 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn Virus( + #[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/virus_off.rs b/packages/leptos/src/virus_off.rs new file mode 100644 index 00000000..24ca418b --- /dev/null +++ b/packages/leptos/src/virus_off.rs @@ -0,0 +1,54 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn VirusOff( + #[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/can_soda.rs b/packages/yew/src/can_soda.rs new file mode 100644 index 00000000..5eddf5d8 --- /dev/null +++ b/packages/yew/src/can_soda.rs @@ -0,0 +1,52 @@ +use yew::prelude::*; +#[derive(PartialEq, Properties)] +pub struct CanSodaProps { + #[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, +} +#[component] +pub fn CanSoda(props: &CanSodaProps) -> 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/credit_card_reader.rs b/packages/yew/src/credit_card_reader.rs new file mode 100644 index 00000000..33a7b056 --- /dev/null +++ b/packages/yew/src/credit_card_reader.rs @@ -0,0 +1,52 @@ +use yew::prelude::*; +#[derive(PartialEq, Properties)] +pub struct CreditCardReaderProps { + #[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, +} +#[component] +pub fn CreditCardReader(props: &CreditCardReaderProps) -> 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/door_closed.rs b/packages/yew/src/door_closed.rs index a2c71194..4e43275f 100644 --- a/packages/yew/src/door_closed.rs +++ b/packages/yew/src/door_closed.rs @@ -41,9 +41,9 @@ pub fn DoorClosed(props: &DoorClosedProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - - - + + + } } diff --git a/packages/yew/src/door_closed_locked.rs b/packages/yew/src/door_closed_locked.rs index 89b93e21..5f91645b 100644 --- a/packages/yew/src/door_closed_locked.rs +++ b/packages/yew/src/door_closed_locked.rs @@ -41,11 +41,11 @@ pub fn DoorClosedLocked(props: &DoorClosedLockedProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - - - - - + + + + + } } diff --git a/packages/yew/src/door_open.rs b/packages/yew/src/door_open.rs index 1a298eef..bd6fb27a 100644 --- a/packages/yew/src/door_open.rs +++ b/packages/yew/src/door_open.rs @@ -41,13 +41,13 @@ pub fn DoorOpen(props: &DoorOpenProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - + - + - + } } diff --git a/packages/yew/src/door_stairwell.rs b/packages/yew/src/door_stairwell.rs new file mode 100644 index 00000000..9ffb2a06 --- /dev/null +++ b/packages/yew/src/door_stairwell.rs @@ -0,0 +1,51 @@ +use yew::prelude::*; +#[derive(PartialEq, Properties)] +pub struct DoorStairwellProps { + #[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, +} +#[component] +pub fn DoorStairwell(props: &DoorStairwellProps) -> 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/engine.rs b/packages/yew/src/engine.rs new file mode 100644 index 00000000..d6bf7262 --- /dev/null +++ b/packages/yew/src/engine.rs @@ -0,0 +1,53 @@ +use yew::prelude::*; +#[derive(PartialEq, Properties)] +pub struct EngineProps { + #[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, +} +#[component] +pub fn Engine(props: &EngineProps) -> 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/germ.rs b/packages/yew/src/germ.rs new file mode 100644 index 00000000..222231df --- /dev/null +++ b/packages/yew/src/germ.rs @@ -0,0 +1,60 @@ +use yew::prelude::*; +#[derive(PartialEq, Properties)] +pub struct GermProps { + #[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, +} +#[component] +pub fn Germ(props: &GermProps) -> 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/germ_off.rs b/packages/yew/src/germ_off.rs new file mode 100644 index 00000000..f0362846 --- /dev/null +++ b/packages/yew/src/germ_off.rs @@ -0,0 +1,59 @@ +use yew::prelude::*; +#[derive(PartialEq, Properties)] +pub struct GermOffProps { + #[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, +} +#[component] +pub fn GermOff(props: &GermOffProps) -> 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/leaf.rs b/packages/yew/src/leaf.rs index 1b6085fc..7107b8b1 100644 --- a/packages/yew/src/leaf.rs +++ b/packages/yew/src/leaf.rs @@ -42,9 +42,9 @@ pub fn Leaf(props: &LeafProps) -> Html { stroke-linejoin="round" > - + } } diff --git a/packages/yew/src/lib.rs b/packages/yew/src/lib.rs index 55280ed7..5ab29749 100644 --- a/packages/yew/src/lib.rs +++ b/packages/yew/src/lib.rs @@ -661,6 +661,8 @@ mod camera_off; #[cfg(feature = "food-beverage")] mod can; #[cfg(feature = "food-beverage")] +mod can_soda; +#[cfg(feature = "food-beverage")] mod candy; #[cfg(feature = "food-beverage")] mod candy_cane; @@ -1172,6 +1174,8 @@ mod credit_card_check; mod credit_card_minus; #[cfg(any(feature = "account", feature = "finance", feature = "shopping"))] mod credit_card_plus; +#[cfg(any(feature = "finance", feature = "navigation", feature = "shopping"))] +mod credit_card_reader; #[cfg(any(feature = "account", feature = "finance", feature = "shopping"))] mod credit_card_x; #[cfg(feature = "food-beverage")] @@ -1321,6 +1325,8 @@ mod door_closed; mod door_closed_locked; #[cfg(any(feature = "home", feature = "travel", feature = "security"))] mod door_open; +#[cfg(any(feature = "home", feature = "travel"))] +mod door_stairwell; #[cfg(any(feature = "shapes", feature = "text"))] mod dot; #[cfg(any(feature = "arrows", feature = "files"))] @@ -1375,6 +1381,8 @@ mod ellipse; mod ellipsis; #[cfg(feature = "layout")] mod ellipsis_vertical; +#[cfg(feature = "transportation")] +mod engine; #[cfg(any(feature = "math", feature = "development"))] mod equal; #[cfg(feature = "math")] @@ -1783,6 +1791,10 @@ mod gavel; mod gem; #[cfg(feature = "finance")] mod georgian_lari; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +mod germ; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +mod germ_off; #[cfg(feature = "gaming")] mod ghost; #[cfg(any(feature = "gaming", feature = "account"))] @@ -3766,6 +3778,8 @@ mod square_divide; mod square_dot; #[cfg(feature = "math")] mod square_equal; +#[cfg(any(feature = "notifications", feature = "shapes"))] +mod square_exclamation_point; #[cfg(any(feature = "development", feature = "math"))] mod square_function; #[cfg(any(feature = "charts", feature = "development", feature = "design"))] @@ -4183,8 +4197,6 @@ mod tram_front; mod transgender; #[cfg(any(feature = "files", feature = "mail"))] mod trash; -#[cfg(any(feature = "files", feature = "mail"))] -mod trash_2; #[cfg(any(feature = "nature", feature = "sustainability"))] mod tree_deciduous; #[cfg(any(feature = "nature", feature = "sustainability"))] @@ -4381,6 +4393,10 @@ mod video_off; mod videotape; #[cfg(any(feature = "design", feature = "photography"))] mod view; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +mod virus; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +mod virus_off; #[cfg(any(feature = "connectivity", feature = "devices", feature = "social"))] mod voicemail; #[cfg(any(feature = "sports", feature = "gaming", feature = "travel"))] @@ -5244,6 +5260,8 @@ pub use camera_off::*; #[cfg(feature = "food-beverage")] pub use can::*; #[cfg(feature = "food-beverage")] +pub use can_soda::*; +#[cfg(feature = "food-beverage")] pub use candy::*; #[cfg(feature = "food-beverage")] pub use candy_cane::*; @@ -5755,6 +5773,8 @@ pub use credit_card_check::*; pub use credit_card_minus::*; #[cfg(any(feature = "account", feature = "finance", feature = "shopping"))] pub use credit_card_plus::*; +#[cfg(any(feature = "finance", feature = "navigation", feature = "shopping"))] +pub use credit_card_reader::*; #[cfg(any(feature = "account", feature = "finance", feature = "shopping"))] pub use credit_card_x::*; #[cfg(feature = "food-beverage")] @@ -5904,6 +5924,8 @@ pub use door_closed::*; pub use door_closed_locked::*; #[cfg(any(feature = "home", feature = "travel", feature = "security"))] pub use door_open::*; +#[cfg(any(feature = "home", feature = "travel"))] +pub use door_stairwell::*; #[cfg(any(feature = "shapes", feature = "text"))] pub use dot::*; #[cfg(any(feature = "arrows", feature = "files"))] @@ -5958,6 +5980,8 @@ pub use ellipse::*; pub use ellipsis::*; #[cfg(feature = "layout")] pub use ellipsis_vertical::*; +#[cfg(feature = "transportation")] +pub use engine::*; #[cfg(any(feature = "math", feature = "development"))] pub use equal::*; #[cfg(feature = "math")] @@ -6366,6 +6390,10 @@ pub use gavel::*; pub use gem::*; #[cfg(feature = "finance")] pub use georgian_lari::*; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +pub use germ::*; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +pub use germ_off::*; #[cfg(feature = "gaming")] pub use ghost::*; #[cfg(any(feature = "gaming", feature = "account"))] @@ -8349,6 +8377,8 @@ pub use square_divide::*; pub use square_dot::*; #[cfg(feature = "math")] pub use square_equal::*; +#[cfg(any(feature = "notifications", feature = "shapes"))] +pub use square_exclamation_point::*; #[cfg(any(feature = "development", feature = "math"))] pub use square_function::*; #[cfg(any(feature = "charts", feature = "development", feature = "design"))] @@ -8766,8 +8796,6 @@ pub use tram_front::*; pub use transgender::*; #[cfg(any(feature = "files", feature = "mail"))] pub use trash::*; -#[cfg(any(feature = "files", feature = "mail"))] -pub use trash_2::*; #[cfg(any(feature = "nature", feature = "sustainability"))] pub use tree_deciduous::*; #[cfg(any(feature = "nature", feature = "sustainability"))] @@ -8964,6 +8992,10 @@ pub use video_off::*; pub use videotape::*; #[cfg(any(feature = "design", feature = "photography"))] pub use view::*; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +pub use virus::*; +#[cfg(any(feature = "medical", feature = "science", feature = "security"))] +pub use virus_off::*; #[cfg(any(feature = "connectivity", feature = "devices", feature = "social"))] pub use voicemail::*; #[cfg(any(feature = "sports", feature = "gaming", feature = "travel"))] diff --git a/packages/yew/src/square_exclamation_point.rs b/packages/yew/src/square_exclamation_point.rs new file mode 100644 index 00000000..ee33149f --- /dev/null +++ b/packages/yew/src/square_exclamation_point.rs @@ -0,0 +1,49 @@ +use yew::prelude::*; +#[derive(PartialEq, Properties)] +pub struct SquareExclamationPointProps { + #[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, +} +#[component] +pub fn SquareExclamationPoint(props: &SquareExclamationPointProps) -> 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 f4a5f915..ada2b257 100644 --- a/packages/yew/src/trash.rs +++ b/packages/yew/src/trash.rs @@ -41,6 +41,8 @@ pub fn Trash(props: &TrashProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > + + diff --git a/packages/yew/src/virus.rs b/packages/yew/src/virus.rs new file mode 100644 index 00000000..890c66f6 --- /dev/null +++ b/packages/yew/src/virus.rs @@ -0,0 +1,66 @@ +use yew::prelude::*; +#[derive(PartialEq, Properties)] +pub struct VirusProps { + #[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, +} +#[component] +pub fn Virus(props: &VirusProps) -> 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/virus_off.rs b/packages/yew/src/virus_off.rs new file mode 100644 index 00000000..389745c2 --- /dev/null +++ b/packages/yew/src/virus_off.rs @@ -0,0 +1,66 @@ +use yew::prelude::*; +#[derive(PartialEq, Properties)] +pub struct VirusOffProps { + #[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, +} +#[component] +pub fn VirusOff(props: &VirusOffProps) -> 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 d72f9266..b3ce3d0d 100644 --- a/scripts/src/lib.rs +++ b/scripts/src/lib.rs @@ -10,5 +10,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 = "1.40.0"; +pub const UPSTREAM_GIT_REF: &str = "1.41.0"; pub const UPSTREAM_GITHUB_URL: &str = "https://github.com/lucide-icons/lucide";