feat: update to upstream v0.532.0 (#125)

Co-authored-by: rust-for-web[bot] <191031261+rust-for-web[bot]@users.noreply.github.com>
This commit is contained in:
rust-for-web[bot] 2025-07-31 19:40:10 +00:00 committed by GitHub
parent 1f05ef6622
commit 5ca236518b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 175 additions and 28 deletions

View file

@ -4754,6 +4754,12 @@ pub fn IconsH1() -> Element {
},
"Hand Platter",
),
(
rsx! {
Handbag {}
},
"Handbag",
),
(
rsx! {
Handshake {}

View file

@ -969,6 +969,7 @@ pub fn IconsH() -> impl IntoView {
(view! { <HandHelping /> }.into_any(), "Hand Helping"),
(view! { <HandMetal /> }.into_any(), "Hand Metal"),
(view! { <HandPlatter /> }.into_any(), "Hand Platter"),
(view! { <Handbag /> }.into_any(), "Handbag"),
(view! { <Handshake /> }.into_any(), "Handshake"),
(view! { <HardDrive /> }.into_any(), "Hard Drive"),
(view! { <HardDriveDownload /> }.into_any(), "Hard Drive Download"),

View file

@ -999,6 +999,7 @@ pub fn IconsH() -> Html {
(html! { <HandHelping /> }, "Hand Helping"),
(html! { <HandMetal /> }, "Hand Metal"),
(html! { <HandPlatter /> }, "Hand Platter"),
(html! { <Handbag /> }, "Handbag"),
(html! { <Handshake /> }, "Handshake"),
(html! { <HardDrive /> }, "Hard Drive"),
(html! { <HardDriveDownload /> }, "Hard Drive Download"),

View file

@ -34,11 +34,11 @@ pub fn Gavel(props: GavelProps) -> Element {
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "m14.5 12.5-8 8a2.119 2.119 0 1 1-3-3l8-8" }
path { "d": "m14.499 12.501-8.88 8.879a1 1 0 0 1-3.001-3L11.5 9.5" }
path { "d": "m16 16 6-6" }
path { "d": "m21 11-8-8" }
path { "d": "m8 8 6-6" }
path { "d": "m9 7 8 8" }
path { "d": "m21 11-8-8" }
}
}
}

View file

@ -34,9 +34,9 @@ pub fn Hammer(props: HammerProps) -> Element {
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9" }
path { "d": "m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9" }
path { "d": "m18 15 4-4" }
path { "d": "m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172V7l-2.26-2.26a6 6 0 0 0-4.202-1.756L9 2.96l.92.82A6.18 6.18 0 0 1 12 8.4V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5" }
path { "d": "m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5" }
}
}
}

View file

@ -0,0 +1,41 @@
use dioxus::prelude::*;
#[derive(Clone, PartialEq, Props)]
pub struct HandbagProps {
#[props(default = 24)]
pub size: usize,
#[props(default = "currentColor".to_owned())]
pub color: String,
#[props(default = "none".to_owned())]
pub fill: String,
#[props(default = 2)]
pub stroke_width: usize,
#[props(default = false)]
pub absolute_stroke_width: bool,
pub class: Option<String>,
pub style: Option<String>,
}
#[component]
pub fn Handbag(props: HandbagProps) -> 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": "M2.048 18.566A2 2 0 0 0 4 21h16a2 2 0 0 0 1.952-2.434l-2-9A2 2 0 0 0 18 8H6a2 2 0 0 0-1.952 1.566z" }
path { "d": "M8 11V6a4 4 0 0 1 8 0v5" }
}
}
}

View file

@ -1791,6 +1791,8 @@ mod hand_helping;
mod hand_metal;
#[cfg(any(feature = "food-beverage", feature = "people"))]
mod hand_platter;
#[cfg(any(feature = "shopping", feature = "transportation"))]
mod handbag;
#[cfg(any(
feature = "account",
feature = "social",
@ -5911,6 +5913,8 @@ pub use hand_helping::*;
pub use hand_metal::*;
#[cfg(any(feature = "food-beverage", feature = "people"))]
pub use hand_platter::*;
#[cfg(any(feature = "shopping", feature = "transportation"))]
pub use handbag::*;
#[cfg(any(
feature = "account",
feature = "social",

View file

@ -34,10 +34,10 @@ pub fn Pickaxe(props: PickaxeProps) -> Element {
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "M14.531 12.469 6.619 20.38a1 1 0 1 1-3-3l7.912-7.912" }
path { "d": "M15.686 4.314A12.5 12.5 0 0 0 5.461 2.958 1 1 0 0 0 5.58 4.71a22 22 0 0 1 6.318 3.393" }
path { "d": "M17.7 3.7a1 1 0 0 0-1.4 0l-4.6 4.6a1 1 0 0 0 0 1.4l2.6 2.6a1 1 0 0 0 1.4 0l4.6-4.6a1 1 0 0 0 0-1.4z" }
path { "d": "M19.686 8.314a12.501 12.501 0 0 1 1.356 10.225 1 1 0 0 1-1.751-.119 22 22 0 0 0-3.393-6.319" }
path { "d": "m14 13-8.381 8.38a1 1 0 0 1-3.001-3L11 9.999" }
path { "d": "M15.973 4.027A13 13 0 0 0 5.902 2.373c-1.398.342-1.092 2.158.277 2.601a19.9 19.9 0 0 1 5.822 3.024" }
path { "d": "M16.001 11.999a19.9 19.9 0 0 1 3.024 5.824c.444 1.369 2.26 1.676 2.603.278A13 13 0 0 0 20 8.069" }
path { "d": "M18.352 3.352a1.205 1.205 0 0 0-1.704 0l-5.296 5.296a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l5.296-5.296a1.205 1.205 0 0 0 0-1.704z" }
}
}
}

View file

@ -34,7 +34,7 @@ pub fn Wrench(props: WrenchProps) -> Element {
"stroke-width": "{stroke_width}",
"stroke-linecap": "round",
"stroke-linejoin": "round",
path { "d": "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z" }
path { "d": "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" }
}
}
}

View file

@ -29,11 +29,11 @@ pub fn Gavel(
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m14.5 12.5-8 8a2.119 2.119 0 1 1-3-3l8-8" />
<path d="m14.499 12.501-8.88 8.879a1 1 0 0 1-3.001-3L11.5 9.5" />
<path d="m16 16 6-6" />
<path d="m21 11-8-8" />
<path d="m8 8 6-6" />
<path d="m9 7 8 8" />
<path d="m21 11-8-8" />
</svg>
}
}

View file

@ -29,9 +29,9 @@ pub fn Hammer(
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9" />
<path d="m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9" />
<path d="m18 15 4-4" />
<path d="m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172V7l-2.26-2.26a6 6 0 0 0-4.202-1.756L9 2.96l.92.82A6.18 6.18 0 0 1 12 8.4V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5" />
<path d="m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5" />
</svg>
}
}

View file

@ -0,0 +1,36 @@
use leptos::{prelude::*, svg::Svg};
#[component]
pub fn Handbag(
#[prop(default = 24.into(), into)] size: Signal<usize>,
#[prop(default = "currentColor".into(), into)] color: Signal<String>,
#[prop(default = "none".into(), into)] fill: Signal<String>,
#[prop(default = 2.into(), into)] stroke_width: Signal<usize>,
#[prop(default = false.into(), into)] absolute_stroke_width: Signal<bool>,
#[prop(optional)] node_ref: NodeRef<Svg>,
) -> impl IntoView {
let stroke_width = Signal::derive(move || {
if absolute_stroke_width.get() {
stroke_width.get() * 24 / size.get()
} else {
stroke_width.get()
}
});
view! {
<svg
node_ref=node_ref
class:lucide=true
xmlns="http://www.w3.org/2000/svg"
width=size
height=size
viewBox="0 0 24 24"
fill=fill
stroke=color
stroke-width=stroke_width
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M2.048 18.566A2 2 0 0 0 4 21h16a2 2 0 0 0 1.952-2.434l-2-9A2 2 0 0 0 18 8H6a2 2 0 0 0-1.952 1.566z" />
<path d="M8 11V6a4 4 0 0 1 8 0v5" />
</svg>
}
}

View file

@ -1791,6 +1791,8 @@ mod hand_helping;
mod hand_metal;
#[cfg(any(feature = "food-beverage", feature = "people"))]
mod hand_platter;
#[cfg(any(feature = "shopping", feature = "transportation"))]
mod handbag;
#[cfg(any(
feature = "account",
feature = "social",
@ -5911,6 +5913,8 @@ pub use hand_helping::*;
pub use hand_metal::*;
#[cfg(any(feature = "food-beverage", feature = "people"))]
pub use hand_platter::*;
#[cfg(any(feature = "shopping", feature = "transportation"))]
pub use handbag::*;
#[cfg(any(
feature = "account",
feature = "social",

View file

@ -29,10 +29,10 @@ pub fn Pickaxe(
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M14.531 12.469 6.619 20.38a1 1 0 1 1-3-3l7.912-7.912" />
<path d="M15.686 4.314A12.5 12.5 0 0 0 5.461 2.958 1 1 0 0 0 5.58 4.71a22 22 0 0 1 6.318 3.393" />
<path d="M17.7 3.7a1 1 0 0 0-1.4 0l-4.6 4.6a1 1 0 0 0 0 1.4l2.6 2.6a1 1 0 0 0 1.4 0l4.6-4.6a1 1 0 0 0 0-1.4z" />
<path d="M19.686 8.314a12.501 12.501 0 0 1 1.356 10.225 1 1 0 0 1-1.751-.119 22 22 0 0 0-3.393-6.319" />
<path d="m14 13-8.381 8.38a1 1 0 0 1-3.001-3L11 9.999" />
<path d="M15.973 4.027A13 13 0 0 0 5.902 2.373c-1.398.342-1.092 2.158.277 2.601a19.9 19.9 0 0 1 5.822 3.024" />
<path d="M16.001 11.999a19.9 19.9 0 0 1 3.024 5.824c.444 1.369 2.26 1.676 2.603.278A13 13 0 0 0 20 8.069" />
<path d="M18.352 3.352a1.205 1.205 0 0 0-1.704 0l-5.296 5.296a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l5.296-5.296a1.205 1.205 0 0 0 0-1.704z" />
</svg>
}
}

View file

@ -29,7 +29,7 @@ pub fn Wrench(
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z" />
<path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" />
</svg>
}
}

View file

@ -41,11 +41,11 @@ pub fn Gavel(props: &GavelProps) -> Html {
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m14.5 12.5-8 8a2.119 2.119 0 1 1-3-3l8-8" />
<path d="m14.499 12.501-8.88 8.879a1 1 0 0 1-3.001-3L11.5 9.5" />
<path d="m16 16 6-6" />
<path d="m21 11-8-8" />
<path d="m8 8 6-6" />
<path d="m9 7 8 8" />
<path d="m21 11-8-8" />
</svg>
}
}

View file

@ -41,10 +41,10 @@ pub fn Hammer(props: &HammerProps) -> Html {
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9" />
<path d="m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9" />
<path d="m18 15 4-4" />
<path
d="m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172V7l-2.26-2.26a6 6 0 0 0-4.202-1.756L9 2.96l.92.82A6.18 6.18 0 0 1 12 8.4V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5"
d="m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5"
/>
</svg>
}

View file

@ -0,0 +1,50 @@
use yew::prelude::*;
#[derive(PartialEq, Properties)]
pub struct HandbagProps {
#[prop_or(24)]
pub size: usize,
#[prop_or(AttrValue::from("currentColor"))]
pub color: AttrValue,
#[prop_or(AttrValue::from("none"))]
pub fill: AttrValue,
#[prop_or(2)]
pub stroke_width: usize,
#[prop_or(false)]
pub absolute_stroke_width: bool,
#[prop_or_default]
pub class: Classes,
#[prop_or_default]
pub style: std::option::Option<AttrValue>,
#[prop_or_default]
pub node_ref: NodeRef,
}
#[function_component]
pub fn Handbag(props: &HandbagProps) -> Html {
let stroke_width = if props.absolute_stroke_width {
props.stroke_width * 24 / props.size
} else {
props.stroke_width
};
html! {
<svg
ref={props.node_ref.clone()}
class={classes!("lucide", props.class
.clone())}
style={props.style.clone()}
xmlns="http://www.w3.org/2000/svg"
width={props.size.to_string()}
height={props.size.to_string()}
viewBox="0 0 24 24"
fill={& props.fill}
stroke={& props.color}
stroke-width={stroke_width.to_string()}
stroke-linecap="round"
stroke-linejoin="round"
>
<path
d="M2.048 18.566A2 2 0 0 0 4 21h16a2 2 0 0 0 1.952-2.434l-2-9A2 2 0 0 0 18 8H6a2 2 0 0 0-1.952 1.566z"
/>
<path d="M8 11V6a4 4 0 0 1 8 0v5" />
</svg>
}
}

View file

@ -1793,6 +1793,8 @@ mod hand_helping;
mod hand_metal;
#[cfg(any(feature = "food-beverage", feature = "people"))]
mod hand_platter;
#[cfg(any(feature = "shopping", feature = "transportation"))]
mod handbag;
#[cfg(any(
feature = "account",
feature = "social",
@ -5913,6 +5915,8 @@ pub use hand_helping::*;
pub use hand_metal::*;
#[cfg(any(feature = "food-beverage", feature = "people"))]
pub use hand_platter::*;
#[cfg(any(feature = "shopping", feature = "transportation"))]
pub use handbag::*;
#[cfg(any(
feature = "account",
feature = "social",

View file

@ -41,15 +41,15 @@ pub fn Pickaxe(props: &PickaxeProps) -> Html {
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M14.531 12.469 6.619 20.38a1 1 0 1 1-3-3l7.912-7.912" />
<path d="m14 13-8.381 8.38a1 1 0 0 1-3.001-3L11 9.999" />
<path
d="M15.686 4.314A12.5 12.5 0 0 0 5.461 2.958 1 1 0 0 0 5.58 4.71a22 22 0 0 1 6.318 3.393"
d="M15.973 4.027A13 13 0 0 0 5.902 2.373c-1.398.342-1.092 2.158.277 2.601a19.9 19.9 0 0 1 5.822 3.024"
/>
<path
d="M17.7 3.7a1 1 0 0 0-1.4 0l-4.6 4.6a1 1 0 0 0 0 1.4l2.6 2.6a1 1 0 0 0 1.4 0l4.6-4.6a1 1 0 0 0 0-1.4z"
d="M16.001 11.999a19.9 19.9 0 0 1 3.024 5.824c.444 1.369 2.26 1.676 2.603.278A13 13 0 0 0 20 8.069"
/>
<path
d="M19.686 8.314a12.501 12.501 0 0 1 1.356 10.225 1 1 0 0 1-1.751-.119 22 22 0 0 0-3.393-6.319"
d="M18.352 3.352a1.205 1.205 0 0 0-1.704 0l-5.296 5.296a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l5.296-5.296a1.205 1.205 0 0 0 0-1.704z"
/>
</svg>
}

View file

@ -42,7 +42,7 @@ pub fn Wrench(props: &WrenchProps) -> Html {
stroke-linejoin="round"
>
<path
d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"
d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z"
/>
</svg>
}

View file

@ -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.531.0";
pub const UPSTREAM_GIT_REF: &str = "0.532.0";
pub const UPSTREAM_GITHUB_URL: &str = "https://github.com/lucide-icons/lucide";