diff --git a/book-examples/dioxus/src/icons.rs b/book-examples/dioxus/src/icons.rs index 0f577a5..e15579e 100644 --- a/book-examples/dioxus/src/icons.rs +++ b/book-examples/dioxus/src/icons.rs @@ -2339,6 +2339,12 @@ pub fn IconsC2() -> Element { }, "Circle Plus", ), + ( + rsx! { + CirclePoundSterling {} + }, + "Circle Pound Sterling", + ), ( rsx! { CirclePower {} @@ -2591,6 +2597,12 @@ pub fn IconsC2() -> Element { }, "Cloud Alert", ), + ( + rsx! { + CloudCheck {} + }, + "Cloud Check", + ), ( rsx! { CloudCog {} @@ -2753,18 +2765,6 @@ pub fn IconsC2() -> Element { }, "Columns 3", ), - ( - rsx! { - Columns3Cog {} - }, - "Columns 3 Cog", - ), - ( - rsx! { - Columns4 {} - }, - "Columns 4", - ), ]; rsx! { for (icon , name) in icons { @@ -2780,6 +2780,18 @@ pub fn IconsC2() -> Element { #[component] pub fn IconsC3() -> Element { let icons = [ + ( + rsx! { + Columns3Cog {} + }, + "Columns 3 Cog", + ), + ( + rsx! { + Columns4 {} + }, + "Columns 4", + ), ( rsx! { Combine {} @@ -4583,6 +4595,12 @@ pub fn IconsG1() -> Element { }, "Grid 2 X 2 X", ), + ( + rsx! { + Grid3X2 {} + }, + "Grid 3 X 2", + ), ( rsx! { Grid3X3 {} @@ -4949,6 +4967,12 @@ pub fn IconsI1() -> Element { }, "Id Card", ), + ( + rsx! { + IdCardLanyard {} + }, + "Id Card Lanyard", + ), ( rsx! { Image {} diff --git a/book-examples/leptos/src/icons.rs b/book-examples/leptos/src/icons.rs index 3291db6..c06a127 100644 --- a/book-examples/leptos/src/icons.rs +++ b/book-examples/leptos/src/icons.rs @@ -493,6 +493,7 @@ pub fn IconsC() -> impl IntoView { (view! { }.into_any(), "Circle Percent"), (view! { }.into_any(), "Circle Play"), (view! { }.into_any(), "Circle Plus"), + (view! { }.into_any(), "Circle Pound Sterling"), (view! { }.into_any(), "Circle Power"), (view! { }.into_any(), "Circle Slash"), (view! { }.into_any(), "Circle Slash 2"), @@ -535,6 +536,7 @@ pub fn IconsC() -> impl IntoView { (view! { }.into_any(), "Clock Plus"), (view! { }.into_any(), "Cloud"), (view! { }.into_any(), "Cloud Alert"), + (view! { }.into_any(), "Cloud Check"), (view! { }.into_any(), "Cloud Cog"), (view! { }.into_any(), "Cloud Download"), (view! { }.into_any(), "Cloud Drizzle"), @@ -926,6 +928,7 @@ pub fn IconsG() -> impl IntoView { (view! { }.into_any(), "Grid 2 X 2 Check"), (view! { }.into_any(), "Grid 2 X 2 Plus"), (view! { }.into_any(), "Grid 2 X 2 X"), + (view! { }.into_any(), "Grid 3 X 2"), (view! { }.into_any(), "Grid 3 X 3"), (view! { }.into_any(), "Grip"), (view! { }.into_any(), "Grip Horizontal"), @@ -1016,6 +1019,7 @@ pub fn IconsI() -> impl IntoView { (view! { }.into_any(), "Ice Cream Bowl"), (view! { }.into_any(), "Ice Cream Cone"), (view! { }.into_any(), "Id Card"), + (view! { }.into_any(), "Id Card Lanyard"), (view! { }.into_any(), "Image"), (view! { }.into_any(), "Image Down"), (view! { }.into_any(), "Image Minus"), diff --git a/book-examples/yew/src/icons.rs b/book-examples/yew/src/icons.rs index a594b36..197bdde 100644 --- a/book-examples/yew/src/icons.rs +++ b/book-examples/yew/src/icons.rs @@ -522,6 +522,7 @@ pub fn IconsC() -> Html { (html! { }, "Circle Percent"), (html! { }, "Circle Play"), (html! { }, "Circle Plus"), + (html! { }, "Circle Pound Sterling"), (html! { }, "Circle Power"), (html! { }, "Circle Slash"), (html! { }, "Circle Slash 2"), @@ -564,6 +565,7 @@ pub fn IconsC() -> Html { (html! { }, "Clock Plus"), (html! { }, "Cloud"), (html! { }, "Cloud Alert"), + (html! { }, "Cloud Check"), (html! { }, "Cloud Cog"), (html! { }, "Cloud Download"), (html! { }, "Cloud Drizzle"), @@ -957,6 +959,7 @@ pub fn IconsG() -> Html { (html! { }, "Grid 2 X 2 Check"), (html! { }, "Grid 2 X 2 Plus"), (html! { }, "Grid 2 X 2 X"), + (html! { }, "Grid 3 X 2"), (html! { }, "Grid 3 X 3"), (html! { }, "Grip"), (html! { }, "Grip Horizontal"), @@ -1045,6 +1048,7 @@ pub fn IconsI() -> Html { (html! { }, "Ice Cream Bowl"), (html! { }, "Ice Cream Cone"), (html! { }, "Id Card"), + (html! { }, "Id Card Lanyard"), (html! { }, "Image"), (html! { }, "Image Down"), (html! { }, "Image Minus"), diff --git a/packages/dioxus/src/battery.rs b/packages/dioxus/src/battery.rs index 7c0c230..5fe7317 100644 --- a/packages/dioxus/src/battery.rs +++ b/packages/dioxus/src/battery.rs @@ -34,19 +34,13 @@ pub fn Battery(props: BatteryProps) -> Element { "stroke-width": "{stroke_width}", "stroke-linecap": "round", "stroke-linejoin": "round", + path { "d": "M 22 14 L 22 10" } rect { - "width": "16", - "height": "10", "x": "2", - "y": "7", + "y": "6", + "width": "16", + "height": "12", "rx": "2", - "ry": "2", - } - line { - "x1": "22", - "x2": "22", - "y1": "11", - "y2": "13", } } } diff --git a/packages/dioxus/src/battery_charging.rs b/packages/dioxus/src/battery_charging.rs index 220407d..56f26a8 100644 --- a/packages/dioxus/src/battery_charging.rs +++ b/packages/dioxus/src/battery_charging.rs @@ -34,15 +34,10 @@ pub fn BatteryCharging(props: BatteryChargingProps) -> Element { "stroke-width": "{stroke_width}", "stroke-linecap": "round", "stroke-linejoin": "round", - path { "d": "M15 7h1a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2" } - path { "d": "M6 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h1" } path { "d": "m11 7-3 5h4l-3 5" } - line { - "x1": "22", - "x2": "22", - "y1": "11", - "y2": "13", - } + path { "d": "M14.856 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.935" } + path { "d": "M22 14v-4" } + path { "d": "M5.14 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2.936" } } } } diff --git a/packages/dioxus/src/battery_full.rs b/packages/dioxus/src/battery_full.rs index c6b7b9e..916ecfb 100644 --- a/packages/dioxus/src/battery_full.rs +++ b/packages/dioxus/src/battery_full.rs @@ -34,37 +34,16 @@ pub fn BatteryFull(props: BatteryFullProps) -> Element { "stroke-width": "{stroke_width}", "stroke-linecap": "round", "stroke-linejoin": "round", + path { "d": "M10 10v4" } + path { "d": "M14 10v4" } + path { "d": "M22 14v-4" } + path { "d": "M6 10v4" } rect { - "width": "16", - "height": "10", "x": "2", - "y": "7", + "y": "6", + "width": "16", + "height": "12", "rx": "2", - "ry": "2", - } - line { - "x1": "22", - "x2": "22", - "y1": "11", - "y2": "13", - } - line { - "x1": "6", - "x2": "6", - "y1": "11", - "y2": "13", - } - line { - "x1": "10", - "x2": "10", - "y1": "11", - "y2": "13", - } - line { - "x1": "14", - "x2": "14", - "y1": "11", - "y2": "13", } } } diff --git a/packages/dioxus/src/battery_low.rs b/packages/dioxus/src/battery_low.rs index d899dbf..a639a1d 100644 --- a/packages/dioxus/src/battery_low.rs +++ b/packages/dioxus/src/battery_low.rs @@ -34,25 +34,14 @@ pub fn BatteryLow(props: BatteryLowProps) -> Element { "stroke-width": "{stroke_width}", "stroke-linecap": "round", "stroke-linejoin": "round", + path { "d": "M22 14v-4" } + path { "d": "M6 14v-4" } rect { - "width": "16", - "height": "10", "x": "2", - "y": "7", + "y": "6", + "width": "16", + "height": "12", "rx": "2", - "ry": "2", - } - line { - "x1": "22", - "x2": "22", - "y1": "11", - "y2": "13", - } - line { - "x1": "6", - "x2": "6", - "y1": "11", - "y2": "13", } } } diff --git a/packages/dioxus/src/battery_medium.rs b/packages/dioxus/src/battery_medium.rs index 6a5608d..7a84d1a 100644 --- a/packages/dioxus/src/battery_medium.rs +++ b/packages/dioxus/src/battery_medium.rs @@ -34,31 +34,15 @@ pub fn BatteryMedium(props: BatteryMediumProps) -> Element { "stroke-width": "{stroke_width}", "stroke-linecap": "round", "stroke-linejoin": "round", + path { "d": "M10 14v-4" } + path { "d": "M22 14v-4" } + path { "d": "M6 14v-4" } rect { - "width": "16", - "height": "10", "x": "2", - "y": "7", + "y": "6", + "width": "16", + "height": "12", "rx": "2", - "ry": "2", - } - line { - "x1": "22", - "x2": "22", - "y1": "11", - "y2": "13", - } - line { - "x1": "6", - "x2": "6", - "y1": "11", - "y2": "13", - } - line { - "x1": "10", - "x2": "10", - "y1": "11", - "y2": "13", } } } diff --git a/packages/dioxus/src/battery_plus.rs b/packages/dioxus/src/battery_plus.rs index 77716c7..d2f442a 100644 --- a/packages/dioxus/src/battery_plus.rs +++ b/packages/dioxus/src/battery_plus.rs @@ -35,10 +35,10 @@ pub fn BatteryPlus(props: BatteryPlusProps) -> Element { "stroke-linecap": "round", "stroke-linejoin": "round", path { "d": "M10 9v6" } - path { "d": "M13.5 7H16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2.5" } - path { "d": "M22 11v2" } - path { "d": "M6.5 17H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h2.5" } + path { "d": "M12.543 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.605" } + path { "d": "M22 14v-4" } path { "d": "M7 12h6" } + path { "d": "M7.606 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.606" } } } } diff --git a/packages/dioxus/src/battery_warning.rs b/packages/dioxus/src/battery_warning.rs index 588f5ed..d6d3e0d 100644 --- a/packages/dioxus/src/battery_warning.rs +++ b/packages/dioxus/src/battery_warning.rs @@ -36,9 +36,9 @@ pub fn BatteryWarning(props: BatteryWarningProps) -> Element { "stroke-linejoin": "round", path { "d": "M10 17h.01" } path { "d": "M10 7v6" } - path { "d": "M14 7h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2" } - path { "d": "M22 11v2" } - path { "d": "M6 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2" } + path { "d": "M14 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2" } + path { "d": "M22 14v-4" } + path { "d": "M6 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2" } } } } diff --git a/packages/dioxus/src/circle_pound_sterling.rs b/packages/dioxus/src/circle_pound_sterling.rs new file mode 100644 index 0000000..d078169 --- /dev/null +++ b/packages/dioxus/src/circle_pound_sterling.rs @@ -0,0 +1,43 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CirclePoundSterlingProps { + #[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 CirclePoundSterling(props: CirclePoundSterlingProps) -> 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 16V9.5a1 1 0 0 1 5 0" } + path { "d": "M8 12h4" } + path { "d": "M8 16h7" } + circle { "cx": "12", "cy": "12", "r": "10" } + } + } +} diff --git a/packages/dioxus/src/cloud_check.rs b/packages/dioxus/src/cloud_check.rs new file mode 100644 index 0000000..534d4d3 --- /dev/null +++ b/packages/dioxus/src/cloud_check.rs @@ -0,0 +1,41 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CloudCheckProps { + #[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 CloudCheck(props: CloudCheckProps) -> 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 15-5.5 5.5L9 18" } + path { "d": "M5 17.743A7 7 0 1 1 15.71 10h1.79a4.5 4.5 0 0 1 1.5 8.742" } + } + } +} diff --git a/packages/dioxus/src/eraser.rs b/packages/dioxus/src/eraser.rs index 0a4bc5a..f7145aa 100644 --- a/packages/dioxus/src/eraser.rs +++ b/packages/dioxus/src/eraser.rs @@ -34,9 +34,8 @@ pub fn Eraser(props: EraserProps) -> Element { "stroke-width": "{stroke_width}", "stroke-linecap": "round", "stroke-linejoin": "round", - path { "d": "m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21" } - path { "d": "M22 21H7" } - path { "d": "m5 11 9 9" } + path { "d": "M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21" } + path { "d": "m5.082 11.09 8.828 8.828" } } } } diff --git a/packages/dioxus/src/file_badge.rs b/packages/dioxus/src/file_badge.rs index 0b032a6..de77a46 100644 --- a/packages/dioxus/src/file_badge.rs +++ b/packages/dioxus/src/file_badge.rs @@ -34,10 +34,10 @@ pub fn FileBadge(props: FileBadgeProps) -> Element { "stroke-width": "{stroke_width}", "stroke-linecap": "round", "stroke-linejoin": "round", - path { "d": "M12 22h6a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3" } + path { "d": "M12 22h6a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3.072" } path { "d": "M14 2v4a2 2 0 0 0 2 2h4" } - path { "d": "M5 17a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" } - path { "d": "M7 16.5 8 22l-3-1-3 1 1-5.5" } + path { "d": "m6.69 16.479 1.29 4.88a.5.5 0 0 1-.698.591l-1.843-.849a1 1 0 0 0-.88.001l-1.846.85a.5.5 0 0 1-.693-.593l1.29-4.88" } + circle { "cx": "5", "cy": "14", "r": "3" } } } } diff --git a/packages/dioxus/src/grid_3_x_2.rs b/packages/dioxus/src/grid_3_x_2.rs new file mode 100644 index 0000000..eb457c8 --- /dev/null +++ b/packages/dioxus/src/grid_3_x_2.rs @@ -0,0 +1,49 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct Grid3X2Props { + #[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 Grid3X2(props: Grid3X2Props) -> 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 3v18" } + path { "d": "M3 12h18" } + path { "d": "M9 3v18" } + rect { + "x": "3", + "y": "3", + "width": "18", + "height": "18", + "rx": "2", + } + } + } +} diff --git a/packages/dioxus/src/id_card_lanyard.rs b/packages/dioxus/src/id_card_lanyard.rs new file mode 100644 index 0000000..6209aa0 --- /dev/null +++ b/packages/dioxus/src/id_card_lanyard.rs @@ -0,0 +1,44 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct IdCardLanyardProps { + #[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 IdCardLanyard(props: IdCardLanyardProps) -> 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": "M13.5 8h-3" } + path { "d": "m15 2-1 2h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h3" } + path { "d": "M16.899 22A5 5 0 0 0 7.1 22" } + path { "d": "m9 2 3 6" } + circle { "cx": "12", "cy": "15", "r": "3" } + } + } +} diff --git a/packages/dioxus/src/lib.rs b/packages/dioxus/src/lib.rs index e7da2d5..eb20dd5 100644 --- a/packages/dioxus/src/lib.rs +++ b/packages/dioxus/src/lib.rs @@ -877,6 +877,8 @@ mod circle_play; feature = "gaming" ))] mod circle_plus; +#[cfg(feature = "finance")] +mod circle_pound_sterling; #[cfg(feature = "connectivity")] mod circle_power; #[cfg(any(feature = "development", feature = "math"))] @@ -962,6 +964,8 @@ mod cloud; #[cfg(feature = "development")] mod cloud_alert; #[cfg(feature = "development")] +mod cloud_check; +#[cfg(feature = "development")] mod cloud_cog; #[cfg(any(feature = "arrows", feature = "files"))] mod cloud_download; @@ -1729,6 +1733,13 @@ mod grid_2_x_2_check; mod grid_2_x_2_plus; #[cfg(any(feature = "text", feature = "layout", feature = "math"))] mod grid_2_x_2_x; +#[cfg(any( + feature = "text", + feature = "math", + feature = "layout", + feature = "design" +))] +mod grid_3_x_2; #[cfg(any(feature = "text", feature = "layout", feature = "design"))] mod grid_3_x_3; #[cfg(feature = "layout")] @@ -1899,6 +1910,8 @@ mod ice_cream_bowl; mod ice_cream_cone; #[cfg(any(feature = "security", feature = "account"))] mod id_card; +#[cfg(any(feature = "security", feature = "account"))] +mod id_card_lanyard; #[cfg(any( feature = "photography", feature = "text", @@ -4921,6 +4934,8 @@ pub use circle_play::*; feature = "gaming" ))] pub use circle_plus::*; +#[cfg(feature = "finance")] +pub use circle_pound_sterling::*; #[cfg(feature = "connectivity")] pub use circle_power::*; #[cfg(any(feature = "development", feature = "math"))] @@ -5006,6 +5021,8 @@ pub use cloud::*; #[cfg(feature = "development")] pub use cloud_alert::*; #[cfg(feature = "development")] +pub use cloud_check::*; +#[cfg(feature = "development")] pub use cloud_cog::*; #[cfg(any(feature = "arrows", feature = "files"))] pub use cloud_download::*; @@ -5773,6 +5790,13 @@ pub use grid_2_x_2_check::*; pub use grid_2_x_2_plus::*; #[cfg(any(feature = "text", feature = "layout", feature = "math"))] pub use grid_2_x_2_x::*; +#[cfg(any( + feature = "text", + feature = "math", + feature = "layout", + feature = "design" +))] +pub use grid_3_x_2::*; #[cfg(any(feature = "text", feature = "layout", feature = "design"))] pub use grid_3_x_3::*; #[cfg(feature = "layout")] @@ -5943,6 +5967,8 @@ pub use ice_cream_bowl::*; pub use ice_cream_cone::*; #[cfg(any(feature = "security", feature = "account"))] pub use id_card::*; +#[cfg(any(feature = "security", feature = "account"))] +pub use id_card_lanyard::*; #[cfg(any( feature = "photography", feature = "text", diff --git a/packages/dioxus/src/list_collapse.rs b/packages/dioxus/src/list_collapse.rs index 1031ead..762f262 100644 --- a/packages/dioxus/src/list_collapse.rs +++ b/packages/dioxus/src/list_collapse.rs @@ -34,11 +34,11 @@ pub fn ListCollapse(props: ListCollapseProps) -> Element { "stroke-width": "{stroke_width}", "stroke-linecap": "round", "stroke-linejoin": "round", - path { "d": "m3 10 2.5-2.5L3 5" } - path { "d": "m3 19 2.5-2.5L3 14" } - path { "d": "M10 6h11" } path { "d": "M10 12h11" } path { "d": "M10 18h11" } + path { "d": "M10 6h11" } + path { "d": "m3 10 3-3-3-3" } + path { "d": "m3 20 3-3-3-3" } } } } diff --git a/packages/dioxus/src/paperclip.rs b/packages/dioxus/src/paperclip.rs index 2e0909e..96de489 100644 --- a/packages/dioxus/src/paperclip.rs +++ b/packages/dioxus/src/paperclip.rs @@ -34,8 +34,7 @@ pub fn Paperclip(props: PaperclipProps) -> Element { "stroke-width": "{stroke_width}", "stroke-linecap": "round", "stroke-linejoin": "round", - path { "d": "M13.234 20.252 21 12.3" } - path { "d": "m16 6-8.414 8.586a2 2 0 0 0 0 2.828 2 2 0 0 0 2.828 0l8.414-8.586a4 4 0 0 0 0-5.656 4 4 0 0 0-5.656 0l-8.415 8.585a6 6 0 1 0 8.486 8.486" } + path { "d": "m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551" } } } } diff --git a/packages/dioxus/src/square_check_big.rs b/packages/dioxus/src/square_check_big.rs index 636ec29..1d38531 100644 --- a/packages/dioxus/src/square_check_big.rs +++ b/packages/dioxus/src/square_check_big.rs @@ -34,7 +34,7 @@ pub fn SquareCheckBig(props: SquareCheckBigProps) -> Element { "stroke-width": "{stroke_width}", "stroke-linecap": "round", "stroke-linejoin": "round", - path { "d": "M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5" } + path { "d": "M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344" } path { "d": "m9 11 3 3L22 4" } } } diff --git a/packages/leptos/src/battery.rs b/packages/leptos/src/battery.rs index 55f63de..6509577 100644 --- a/packages/leptos/src/battery.rs +++ b/packages/leptos/src/battery.rs @@ -29,8 +29,8 @@ pub fn Battery( stroke-linecap="round" stroke-linejoin="round" > - - + + } } diff --git a/packages/leptos/src/battery_charging.rs b/packages/leptos/src/battery_charging.rs index 9e32165..b1a3e9b 100644 --- a/packages/leptos/src/battery_charging.rs +++ b/packages/leptos/src/battery_charging.rs @@ -29,10 +29,10 @@ pub fn BatteryCharging( stroke-linecap="round" stroke-linejoin="round" > - - - + + + } } diff --git a/packages/leptos/src/battery_full.rs b/packages/leptos/src/battery_full.rs index 0f28d70..9570541 100644 --- a/packages/leptos/src/battery_full.rs +++ b/packages/leptos/src/battery_full.rs @@ -29,11 +29,11 @@ pub fn BatteryFull( stroke-linecap="round" stroke-linejoin="round" > - - - - - + + + + + } } diff --git a/packages/leptos/src/battery_low.rs b/packages/leptos/src/battery_low.rs index 6475eea..525ed59 100644 --- a/packages/leptos/src/battery_low.rs +++ b/packages/leptos/src/battery_low.rs @@ -29,9 +29,9 @@ pub fn BatteryLow( stroke-linecap="round" stroke-linejoin="round" > - - - + + + } } diff --git a/packages/leptos/src/battery_medium.rs b/packages/leptos/src/battery_medium.rs index 2c4cec9..10b8609 100644 --- a/packages/leptos/src/battery_medium.rs +++ b/packages/leptos/src/battery_medium.rs @@ -29,10 +29,10 @@ pub fn BatteryMedium( stroke-linecap="round" stroke-linejoin="round" > - - - - + + + + } } diff --git a/packages/leptos/src/battery_plus.rs b/packages/leptos/src/battery_plus.rs index e48cfaa..09598a9 100644 --- a/packages/leptos/src/battery_plus.rs +++ b/packages/leptos/src/battery_plus.rs @@ -30,10 +30,10 @@ pub fn BatteryPlus( stroke-linejoin="round" > - - - + + + } } diff --git a/packages/leptos/src/battery_warning.rs b/packages/leptos/src/battery_warning.rs index a7c9e68..cb0e609 100644 --- a/packages/leptos/src/battery_warning.rs +++ b/packages/leptos/src/battery_warning.rs @@ -31,9 +31,9 @@ pub fn BatteryWarning( > - - - + + + } } diff --git a/packages/leptos/src/circle_pound_sterling.rs b/packages/leptos/src/circle_pound_sterling.rs new file mode 100644 index 0000000..635d7e6 --- /dev/null +++ b/packages/leptos/src/circle_pound_sterling.rs @@ -0,0 +1,38 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn CirclePoundSterling( + #[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/cloud_check.rs b/packages/leptos/src/cloud_check.rs new file mode 100644 index 0000000..f022602 --- /dev/null +++ b/packages/leptos/src/cloud_check.rs @@ -0,0 +1,36 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn CloudCheck( + #[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/eraser.rs b/packages/leptos/src/eraser.rs index 27d1b25..54fde4c 100644 --- a/packages/leptos/src/eraser.rs +++ b/packages/leptos/src/eraser.rs @@ -29,9 +29,8 @@ pub fn Eraser( stroke-linecap="round" stroke-linejoin="round" > - - - + + } } diff --git a/packages/leptos/src/file_badge.rs b/packages/leptos/src/file_badge.rs index f08fdc6..bfac803 100644 --- a/packages/leptos/src/file_badge.rs +++ b/packages/leptos/src/file_badge.rs @@ -29,10 +29,10 @@ pub fn FileBadge( stroke-linecap="round" stroke-linejoin="round" > - + - - + + } } diff --git a/packages/leptos/src/grid_3_x_2.rs b/packages/leptos/src/grid_3_x_2.rs new file mode 100644 index 0000000..b8e1bcc --- /dev/null +++ b/packages/leptos/src/grid_3_x_2.rs @@ -0,0 +1,38 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn Grid3X2( + #[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/id_card_lanyard.rs b/packages/leptos/src/id_card_lanyard.rs new file mode 100644 index 0000000..cbf126c --- /dev/null +++ b/packages/leptos/src/id_card_lanyard.rs @@ -0,0 +1,39 @@ +use leptos::{prelude::*, svg::Svg}; +#[component] +pub fn IdCardLanyard( + #[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/lib.rs b/packages/leptos/src/lib.rs index 044c444..18b2676 100644 --- a/packages/leptos/src/lib.rs +++ b/packages/leptos/src/lib.rs @@ -877,6 +877,8 @@ mod circle_play; feature = "gaming" ))] mod circle_plus; +#[cfg(feature = "finance")] +mod circle_pound_sterling; #[cfg(feature = "connectivity")] mod circle_power; #[cfg(any(feature = "development", feature = "math"))] @@ -962,6 +964,8 @@ mod cloud; #[cfg(feature = "development")] mod cloud_alert; #[cfg(feature = "development")] +mod cloud_check; +#[cfg(feature = "development")] mod cloud_cog; #[cfg(any(feature = "arrows", feature = "files"))] mod cloud_download; @@ -1729,6 +1733,13 @@ mod grid_2_x_2_check; mod grid_2_x_2_plus; #[cfg(any(feature = "text", feature = "layout", feature = "math"))] mod grid_2_x_2_x; +#[cfg(any( + feature = "text", + feature = "math", + feature = "layout", + feature = "design" +))] +mod grid_3_x_2; #[cfg(any(feature = "text", feature = "layout", feature = "design"))] mod grid_3_x_3; #[cfg(feature = "layout")] @@ -1899,6 +1910,8 @@ mod ice_cream_bowl; mod ice_cream_cone; #[cfg(any(feature = "security", feature = "account"))] mod id_card; +#[cfg(any(feature = "security", feature = "account"))] +mod id_card_lanyard; #[cfg(any( feature = "photography", feature = "text", @@ -4921,6 +4934,8 @@ pub use circle_play::*; feature = "gaming" ))] pub use circle_plus::*; +#[cfg(feature = "finance")] +pub use circle_pound_sterling::*; #[cfg(feature = "connectivity")] pub use circle_power::*; #[cfg(any(feature = "development", feature = "math"))] @@ -5006,6 +5021,8 @@ pub use cloud::*; #[cfg(feature = "development")] pub use cloud_alert::*; #[cfg(feature = "development")] +pub use cloud_check::*; +#[cfg(feature = "development")] pub use cloud_cog::*; #[cfg(any(feature = "arrows", feature = "files"))] pub use cloud_download::*; @@ -5773,6 +5790,13 @@ pub use grid_2_x_2_check::*; pub use grid_2_x_2_plus::*; #[cfg(any(feature = "text", feature = "layout", feature = "math"))] pub use grid_2_x_2_x::*; +#[cfg(any( + feature = "text", + feature = "math", + feature = "layout", + feature = "design" +))] +pub use grid_3_x_2::*; #[cfg(any(feature = "text", feature = "layout", feature = "design"))] pub use grid_3_x_3::*; #[cfg(feature = "layout")] @@ -5943,6 +5967,8 @@ pub use ice_cream_bowl::*; pub use ice_cream_cone::*; #[cfg(any(feature = "security", feature = "account"))] pub use id_card::*; +#[cfg(any(feature = "security", feature = "account"))] +pub use id_card_lanyard::*; #[cfg(any( feature = "photography", feature = "text", diff --git a/packages/leptos/src/list_collapse.rs b/packages/leptos/src/list_collapse.rs index 9f6759d..43527ea 100644 --- a/packages/leptos/src/list_collapse.rs +++ b/packages/leptos/src/list_collapse.rs @@ -29,11 +29,11 @@ pub fn ListCollapse( stroke-linecap="round" stroke-linejoin="round" > - - - + + + } } diff --git a/packages/leptos/src/paperclip.rs b/packages/leptos/src/paperclip.rs index 1e05b97..d90fb7b 100644 --- a/packages/leptos/src/paperclip.rs +++ b/packages/leptos/src/paperclip.rs @@ -29,8 +29,7 @@ pub fn Paperclip( stroke-linecap="round" stroke-linejoin="round" > - - + } } diff --git a/packages/leptos/src/square_check_big.rs b/packages/leptos/src/square_check_big.rs index 9aa82f3..22b4543 100644 --- a/packages/leptos/src/square_check_big.rs +++ b/packages/leptos/src/square_check_big.rs @@ -29,7 +29,7 @@ pub fn SquareCheckBig( stroke-linecap="round" stroke-linejoin="round" > - + } diff --git a/packages/yew/src/battery.rs b/packages/yew/src/battery.rs index c438f63..5aa9d16 100644 --- a/packages/yew/src/battery.rs +++ b/packages/yew/src/battery.rs @@ -41,8 +41,8 @@ pub fn Battery(props: &BatteryProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - - + + } } diff --git a/packages/yew/src/battery_charging.rs b/packages/yew/src/battery_charging.rs index 36146ee..989b64c 100644 --- a/packages/yew/src/battery_charging.rs +++ b/packages/yew/src/battery_charging.rs @@ -41,10 +41,10 @@ pub fn BatteryCharging(props: &BatteryChargingProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - - - + + + } } diff --git a/packages/yew/src/battery_full.rs b/packages/yew/src/battery_full.rs index 5b83b67..638038b 100644 --- a/packages/yew/src/battery_full.rs +++ b/packages/yew/src/battery_full.rs @@ -41,11 +41,11 @@ pub fn BatteryFull(props: &BatteryFullProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - - - - - + + + + + } } diff --git a/packages/yew/src/battery_low.rs b/packages/yew/src/battery_low.rs index e9f3e1a..da20b30 100644 --- a/packages/yew/src/battery_low.rs +++ b/packages/yew/src/battery_low.rs @@ -41,9 +41,9 @@ pub fn BatteryLow(props: &BatteryLowProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - - - + + + } } diff --git a/packages/yew/src/battery_medium.rs b/packages/yew/src/battery_medium.rs index 02d4746..2ab6c03 100644 --- a/packages/yew/src/battery_medium.rs +++ b/packages/yew/src/battery_medium.rs @@ -41,10 +41,10 @@ pub fn BatteryMedium(props: &BatteryMediumProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - - - - + + + + } } diff --git a/packages/yew/src/battery_plus.rs b/packages/yew/src/battery_plus.rs index 17ed18e..c599401 100644 --- a/packages/yew/src/battery_plus.rs +++ b/packages/yew/src/battery_plus.rs @@ -42,10 +42,10 @@ pub fn BatteryPlus(props: &BatteryPlusProps) -> Html { stroke-linejoin="round" > - - - + + + } } diff --git a/packages/yew/src/battery_warning.rs b/packages/yew/src/battery_warning.rs index 09544d3..242a0a1 100644 --- a/packages/yew/src/battery_warning.rs +++ b/packages/yew/src/battery_warning.rs @@ -43,9 +43,9 @@ pub fn BatteryWarning(props: &BatteryWarningProps) -> Html { > - - - + + + } } diff --git a/packages/yew/src/circle_pound_sterling.rs b/packages/yew/src/circle_pound_sterling.rs new file mode 100644 index 0000000..c7a060a --- /dev/null +++ b/packages/yew/src/circle_pound_sterling.rs @@ -0,0 +1,50 @@ +use yew::prelude::*; +#[derive(PartialEq, Properties)] +pub struct CirclePoundSterlingProps { + #[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 CirclePoundSterling(props: &CirclePoundSterlingProps) -> 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/cloud_check.rs b/packages/yew/src/cloud_check.rs new file mode 100644 index 0000000..3de06bb --- /dev/null +++ b/packages/yew/src/cloud_check.rs @@ -0,0 +1,48 @@ +use yew::prelude::*; +#[derive(PartialEq, Properties)] +pub struct CloudCheckProps { + #[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 CloudCheck(props: &CloudCheckProps) -> 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/eraser.rs b/packages/yew/src/eraser.rs index 2be61f0..54381bf 100644 --- a/packages/yew/src/eraser.rs +++ b/packages/yew/src/eraser.rs @@ -42,10 +42,9 @@ pub fn Eraser(props: &EraserProps) -> Html { stroke-linejoin="round" > - - + } } diff --git a/packages/yew/src/file_badge.rs b/packages/yew/src/file_badge.rs index e2e3523..a3e6a2d 100644 --- a/packages/yew/src/file_badge.rs +++ b/packages/yew/src/file_badge.rs @@ -41,10 +41,12 @@ pub fn FileBadge(props: &FileBadgeProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - + - - + + } } diff --git a/packages/yew/src/grid_3_x_2.rs b/packages/yew/src/grid_3_x_2.rs new file mode 100644 index 0000000..29a4752 --- /dev/null +++ b/packages/yew/src/grid_3_x_2.rs @@ -0,0 +1,50 @@ +use yew::prelude::*; +#[derive(PartialEq, Properties)] +pub struct Grid3X2Props { + #[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 Grid3X2(props: &Grid3X2Props) -> 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/id_card_lanyard.rs b/packages/yew/src/id_card_lanyard.rs new file mode 100644 index 0000000..5818360 --- /dev/null +++ b/packages/yew/src/id_card_lanyard.rs @@ -0,0 +1,51 @@ +use yew::prelude::*; +#[derive(PartialEq, Properties)] +pub struct IdCardLanyardProps { + #[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 IdCardLanyard(props: &IdCardLanyardProps) -> 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/lib.rs b/packages/yew/src/lib.rs index 499cae8..79a9ff7 100644 --- a/packages/yew/src/lib.rs +++ b/packages/yew/src/lib.rs @@ -879,6 +879,8 @@ mod circle_play; feature = "gaming" ))] mod circle_plus; +#[cfg(feature = "finance")] +mod circle_pound_sterling; #[cfg(feature = "connectivity")] mod circle_power; #[cfg(any(feature = "development", feature = "math"))] @@ -964,6 +966,8 @@ mod cloud; #[cfg(feature = "development")] mod cloud_alert; #[cfg(feature = "development")] +mod cloud_check; +#[cfg(feature = "development")] mod cloud_cog; #[cfg(any(feature = "arrows", feature = "files"))] mod cloud_download; @@ -1731,6 +1735,13 @@ mod grid_2_x_2_check; mod grid_2_x_2_plus; #[cfg(any(feature = "text", feature = "layout", feature = "math"))] mod grid_2_x_2_x; +#[cfg(any( + feature = "text", + feature = "math", + feature = "layout", + feature = "design" +))] +mod grid_3_x_2; #[cfg(any(feature = "text", feature = "layout", feature = "design"))] mod grid_3_x_3; #[cfg(feature = "layout")] @@ -1901,6 +1912,8 @@ mod ice_cream_bowl; mod ice_cream_cone; #[cfg(any(feature = "security", feature = "account"))] mod id_card; +#[cfg(any(feature = "security", feature = "account"))] +mod id_card_lanyard; #[cfg(any( feature = "photography", feature = "text", @@ -4923,6 +4936,8 @@ pub use circle_play::*; feature = "gaming" ))] pub use circle_plus::*; +#[cfg(feature = "finance")] +pub use circle_pound_sterling::*; #[cfg(feature = "connectivity")] pub use circle_power::*; #[cfg(any(feature = "development", feature = "math"))] @@ -5008,6 +5023,8 @@ pub use cloud::*; #[cfg(feature = "development")] pub use cloud_alert::*; #[cfg(feature = "development")] +pub use cloud_check::*; +#[cfg(feature = "development")] pub use cloud_cog::*; #[cfg(any(feature = "arrows", feature = "files"))] pub use cloud_download::*; @@ -5775,6 +5792,13 @@ pub use grid_2_x_2_check::*; pub use grid_2_x_2_plus::*; #[cfg(any(feature = "text", feature = "layout", feature = "math"))] pub use grid_2_x_2_x::*; +#[cfg(any( + feature = "text", + feature = "math", + feature = "layout", + feature = "design" +))] +pub use grid_3_x_2::*; #[cfg(any(feature = "text", feature = "layout", feature = "design"))] pub use grid_3_x_3::*; #[cfg(feature = "layout")] @@ -5945,6 +5969,8 @@ pub use ice_cream_bowl::*; pub use ice_cream_cone::*; #[cfg(any(feature = "security", feature = "account"))] pub use id_card::*; +#[cfg(any(feature = "security", feature = "account"))] +pub use id_card_lanyard::*; #[cfg(any( feature = "photography", feature = "text", diff --git a/packages/yew/src/list_collapse.rs b/packages/yew/src/list_collapse.rs index 2baf6a5..fa8007f 100644 --- a/packages/yew/src/list_collapse.rs +++ b/packages/yew/src/list_collapse.rs @@ -41,11 +41,11 @@ pub fn ListCollapse(props: &ListCollapseProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - - - + + + } } diff --git a/packages/yew/src/paperclip.rs b/packages/yew/src/paperclip.rs index 8cd7a08..a263522 100644 --- a/packages/yew/src/paperclip.rs +++ b/packages/yew/src/paperclip.rs @@ -41,9 +41,8 @@ pub fn Paperclip(props: &PaperclipProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - } diff --git a/packages/yew/src/square_check_big.rs b/packages/yew/src/square_check_big.rs index de5ef93..0230c1a 100644 --- a/packages/yew/src/square_check_big.rs +++ b/packages/yew/src/square_check_big.rs @@ -41,7 +41,7 @@ pub fn SquareCheckBig(props: &SquareCheckBigProps) -> Html { stroke-linecap="round" stroke-linejoin="round" > - + } diff --git a/scripts/src/lib.rs b/scripts/src/lib.rs index 0b9c06d..59226ef 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.511.0"; +pub const UPSTREAM_GIT_REF: &str = "0.512.0"; pub const UPSTREAM_GITHUB_URL: &str = "https://github.com/lucide-icons/lucide";