mirror of
https://github.com/danbulant/lucide
synced 2026-06-22 00:01:51 +00:00
feat: update to upstream v0.528.0 (#121)
Co-authored-by: rust-for-web[bot] <191031261+rust-for-web[bot]@users.noreply.github.com>
This commit is contained in:
parent
c1fb9a8318
commit
e9987257b4
112 changed files with 1021 additions and 273 deletions
|
|
@ -3797,6 +3797,12 @@ pub fn IconsF1() -> Element {
|
|||
},
|
||||
"File Pen Line",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
FilePlay {}
|
||||
},
|
||||
"File Play",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
FilePlus {}
|
||||
|
|
@ -3895,15 +3901,9 @@ pub fn IconsF1() -> Element {
|
|||
),
|
||||
(
|
||||
rsx! {
|
||||
FileVideo {}
|
||||
FileVideoCamera {}
|
||||
},
|
||||
"File Video",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
FileVideo2 {}
|
||||
},
|
||||
"File Video 2",
|
||||
"File Video Camera",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
|
|
@ -4784,6 +4784,12 @@ pub fn IconsH1() -> Element {
|
|||
},
|
||||
"Hash",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
HatGlasses {}
|
||||
},
|
||||
"Hat Glasses",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
Haze {}
|
||||
|
|
@ -8627,6 +8633,12 @@ pub fn IconsS2() -> Element {
|
|||
},
|
||||
"Square Parking Off",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
SquarePause {}
|
||||
},
|
||||
"Square Pause",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
SquarePen {}
|
||||
|
|
@ -8723,6 +8735,12 @@ pub fn IconsS2() -> Element {
|
|||
},
|
||||
"Square Stack",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
SquareStop {}
|
||||
},
|
||||
"Square Stop",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
SquareTerminal {}
|
||||
|
|
@ -8855,18 +8873,6 @@ pub fn IconsS2() -> Element {
|
|||
},
|
||||
"Stretch Horizontal",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
StretchVertical {}
|
||||
},
|
||||
"Stretch Vertical",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
Strikethrough {}
|
||||
},
|
||||
"Strikethrough",
|
||||
),
|
||||
];
|
||||
rsx! {
|
||||
for (icon , name) in icons {
|
||||
|
|
@ -8882,6 +8888,18 @@ pub fn IconsS2() -> Element {
|
|||
#[component]
|
||||
pub fn IconsS3() -> Element {
|
||||
let icons = [
|
||||
(
|
||||
rsx! {
|
||||
StretchVertical {}
|
||||
},
|
||||
"Stretch Vertical",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
Strikethrough {}
|
||||
},
|
||||
"Strikethrough",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
Subscript {}
|
||||
|
|
|
|||
|
|
@ -780,6 +780,7 @@ pub fn IconsF() -> impl IntoView {
|
|||
(view! { <FileOutput /> }.into_any(), "File Output"),
|
||||
(view! { <FilePen /> }.into_any(), "File Pen"),
|
||||
(view! { <FilePenLine /> }.into_any(), "File Pen Line"),
|
||||
(view! { <FilePlay /> }.into_any(), "File Play"),
|
||||
(view! { <FilePlus /> }.into_any(), "File Plus"),
|
||||
(view! { <FilePlus2 /> }.into_any(), "File Plus 2"),
|
||||
(view! { <FileQuestionMark /> }.into_any(), "File Question Mark"),
|
||||
|
|
@ -796,8 +797,7 @@ pub fn IconsF() -> impl IntoView {
|
|||
(view! { <FileType2 /> }.into_any(), "File Type 2"),
|
||||
(view! { <FileUp /> }.into_any(), "File Up"),
|
||||
(view! { <FileUser /> }.into_any(), "File User"),
|
||||
(view! { <FileVideo /> }.into_any(), "File Video"),
|
||||
(view! { <FileVideo2 /> }.into_any(), "File Video 2"),
|
||||
(view! { <FileVideoCamera /> }.into_any(), "File Video Camera"),
|
||||
(view! { <FileVolume /> }.into_any(), "File Volume"),
|
||||
(view! { <FileVolume2 /> }.into_any(), "File Volume 2"),
|
||||
(view! { <FileWarning /> }.into_any(), "File Warning"),
|
||||
|
|
@ -974,6 +974,7 @@ pub fn IconsH() -> impl IntoView {
|
|||
(view! { <HardDriveUpload /> }.into_any(), "Hard Drive Upload"),
|
||||
(view! { <HardHat /> }.into_any(), "Hard Hat"),
|
||||
(view! { <Hash /> }.into_any(), "Hash"),
|
||||
(view! { <HatGlasses /> }.into_any(), "Hat Glasses"),
|
||||
(view! { <Haze /> }.into_any(), "Haze"),
|
||||
(view! { <HdmiPort /> }.into_any(), "Hdmi Port"),
|
||||
(view! { <Heading /> }.into_any(), "Heading"),
|
||||
|
|
@ -1775,6 +1776,7 @@ pub fn IconsS() -> impl IntoView {
|
|||
(view! { <SquareMousePointer /> }.into_any(), "Square Mouse Pointer"),
|
||||
(view! { <SquareParking /> }.into_any(), "Square Parking"),
|
||||
(view! { <SquareParkingOff /> }.into_any(), "Square Parking Off"),
|
||||
(view! { <SquarePause /> }.into_any(), "Square Pause"),
|
||||
(view! { <SquarePen /> }.into_any(), "Square Pen"),
|
||||
(view! { <SquarePercent /> }.into_any(), "Square Percent"),
|
||||
(view! { <SquarePi /> }.into_any(), "Square Pi"),
|
||||
|
|
@ -1791,6 +1793,7 @@ pub fn IconsS() -> impl IntoView {
|
|||
(view! { <SquareSplitVertical /> }.into_any(), "Square Split Vertical"),
|
||||
(view! { <SquareSquare /> }.into_any(), "Square Square"),
|
||||
(view! { <SquareStack /> }.into_any(), "Square Stack"),
|
||||
(view! { <SquareStop /> }.into_any(), "Square Stop"),
|
||||
(view! { <SquareTerminal /> }.into_any(), "Square Terminal"),
|
||||
(view! { <SquareUser /> }.into_any(), "Square User"),
|
||||
(view! { <SquareUserRound /> }.into_any(), "Square User Round"),
|
||||
|
|
|
|||
|
|
@ -806,6 +806,7 @@ pub fn IconsF() -> Html {
|
|||
(html! { <FileOutput /> }, "File Output"),
|
||||
(html! { <FilePen /> }, "File Pen"),
|
||||
(html! { <FilePenLine /> }, "File Pen Line"),
|
||||
(html! { <FilePlay /> }, "File Play"),
|
||||
(html! { <FilePlus /> }, "File Plus"),
|
||||
(html! { <FilePlus2 /> }, "File Plus 2"),
|
||||
(html! { <FileQuestionMark /> }, "File Question Mark"),
|
||||
|
|
@ -822,8 +823,7 @@ pub fn IconsF() -> Html {
|
|||
(html! { <FileType2 /> }, "File Type 2"),
|
||||
(html! { <FileUp /> }, "File Up"),
|
||||
(html! { <FileUser /> }, "File User"),
|
||||
(html! { <FileVideo /> }, "File Video"),
|
||||
(html! { <FileVideo2 /> }, "File Video 2"),
|
||||
(html! { <FileVideoCamera /> }, "File Video Camera"),
|
||||
(html! { <FileVolume /> }, "File Volume"),
|
||||
(html! { <FileVolume2 /> }, "File Volume 2"),
|
||||
(html! { <FileWarning /> }, "File Warning"),
|
||||
|
|
@ -1004,6 +1004,7 @@ pub fn IconsH() -> Html {
|
|||
(html! { <HardDriveUpload /> }, "Hard Drive Upload"),
|
||||
(html! { <HardHat /> }, "Hard Hat"),
|
||||
(html! { <Hash /> }, "Hash"),
|
||||
(html! { <HatGlasses /> }, "Hat Glasses"),
|
||||
(html! { <Haze /> }, "Haze"),
|
||||
(html! { <HdmiPort /> }, "Hdmi Port"),
|
||||
(html! { <Heading /> }, "Heading"),
|
||||
|
|
@ -1818,6 +1819,7 @@ pub fn IconsS() -> Html {
|
|||
(html! { <SquareMousePointer /> }, "Square Mouse Pointer"),
|
||||
(html! { <SquareParking /> }, "Square Parking"),
|
||||
(html! { <SquareParkingOff /> }, "Square Parking Off"),
|
||||
(html! { <SquarePause /> }, "Square Pause"),
|
||||
(html! { <SquarePen /> }, "Square Pen"),
|
||||
(html! { <SquarePercent /> }, "Square Percent"),
|
||||
(html! { <SquarePi /> }, "Square Pi"),
|
||||
|
|
@ -1837,6 +1839,7 @@ pub fn IconsS() -> Html {
|
|||
(html! { <SquareSplitVertical /> }, "Square Split Vertical"),
|
||||
(html! { <SquareSquare /> }, "Square Square"),
|
||||
(html! { <SquareStack /> }, "Square Stack"),
|
||||
(html! { <SquareStop /> }, "Square Stop"),
|
||||
(html! { <SquareTerminal /> }, "Square Terminal"),
|
||||
(html! { <SquareUser /> }, "Square User"),
|
||||
(html! { <SquareUserRound /> }, "Square User Round"),
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ pub fn ArrowBigDown(props: ArrowBigDownProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M15 6v6h4l-7 7-7-7h4V6h6z" }
|
||||
path { "d": "M15 11a1 1 0 0 0 1 1h2.939a1 1 0 0 1 .75 1.811l-6.835 6.836a1.207 1.207 0 0 1-1.707 0L4.31 13.81a1 1 0 0 1 .75-1.811H8a1 1 0 0 0 1-1V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ pub fn ArrowBigDownDash(props: ArrowBigDownDashProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M15 5H9" }
|
||||
path { "d": "M15 9v3h4l-7 7-7-7h4V9z" }
|
||||
path { "d": "M15 11a1 1 0 0 0 1 1h2.939a1 1 0 0 1 .75 1.811l-6.835 6.836a1.207 1.207 0 0 1-1.707 0L4.31 13.81a1 1 0 0 1 .75-1.811H8a1 1 0 0 0 1-1V9a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1z" }
|
||||
path { "d": "M9 4h6" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ pub fn ArrowBigLeft(props: ArrowBigLeftProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M18 15h-6v4l-7-7 7-7v4h6v6z" }
|
||||
path { "d": "M13 9a1 1 0 0 1-1-1V5.061a1 1 0 0 0-1.811-.75l-6.835 6.836a1.207 1.207 0 0 0 0 1.707l6.835 6.835a1 1 0 0 0 1.811-.75V16a1 1 0 0 1 1-1h6a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ pub fn ArrowBigLeftDash(props: ArrowBigLeftDashProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M19 15V9" }
|
||||
path { "d": "M15 15h-3v4l-7-7 7-7v4h3v6z" }
|
||||
path { "d": "M13 9a1 1 0 0 1-1-1V5.061a1 1 0 0 0-1.811-.75l-6.835 6.836a1.207 1.207 0 0 0 0 1.707l6.835 6.835a1 1 0 0 0 1.811-.75V16a1 1 0 0 1 1-1h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1z" }
|
||||
path { "d": "M20 9v6" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ pub fn ArrowBigRight(props: ArrowBigRightProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M6 9h6V5l7 7-7 7v-4H6V9z" }
|
||||
path { "d": "M11 9a1 1 0 0 0 1-1V5.061a1 1 0 0 1 1.811-.75l6.836 6.836a1.207 1.207 0 0 1 0 1.707l-6.836 6.835a1 1 0 0 1-1.811-.75V16a1 1 0 0 0-1-1H5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ pub fn ArrowBigRightDash(props: ArrowBigRightDashProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M5 9v6" }
|
||||
path { "d": "M9 9h3V5l7 7-7 7v-4H9V9z" }
|
||||
path { "d": "M11 9a1 1 0 0 0 1-1V5.061a1 1 0 0 1 1.811-.75l6.836 6.836a1.207 1.207 0 0 1 0 1.707l-6.836 6.835a1 1 0 0 1-1.811-.75V16a1 1 0 0 0-1-1H9a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z" }
|
||||
path { "d": "M4 9v6" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ pub fn ArrowBigUp(props: ArrowBigUpProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M9 18v-6H5l7-7 7 7h-4v6H9z" }
|
||||
path { "d": "M9 13a1 1 0 0 0-1-1H5.061a1 1 0 0 1-.75-1.811l6.836-6.835a1.207 1.207 0 0 1 1.707 0l6.835 6.835a1 1 0 0 1-.75 1.811H16a1 1 0 0 0-1 1v6a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ pub fn ArrowBigUpDash(props: ArrowBigUpDashProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M9 19h6" }
|
||||
path { "d": "M9 15v-3H5l7-7 7 7h-4v3H9z" }
|
||||
path { "d": "M9 13a1 1 0 0 0-1-1H5.061a1 1 0 0 1-.75-1.811l6.836-6.835a1.207 1.207 0 0 1 1.707 0l6.835 6.835a1 1 0 0 1-.75 1.811H16a1 1 0 0 0-1 1v2a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1z" }
|
||||
path { "d": "M9 20h6" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,15 +34,15 @@ pub fn BugPlay(props: BugPlayProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M12.765 21.522a.5.5 0 0 1-.765-.424v-8.196a.5.5 0 0 1 .765-.424l5.878 3.674a1 1 0 0 1 0 1.696z" }
|
||||
path { "d": "M10 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97" }
|
||||
path { "d": "M14 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z" }
|
||||
path { "d": "M14.12 3.88 16 2" }
|
||||
path { "d": "M18 11a4 4 0 0 0-4-4h-4a4 4 0 0 0-4 4v3a6.1 6.1 0 0 0 2 4.5" }
|
||||
path { "d": "M20.97 5c0 2.1-1.6 3.8-3.5 4" }
|
||||
path { "d": "M3 21c0-2.1 1.7-3.9 3.8-4" }
|
||||
path { "d": "M6 13H2" }
|
||||
path { "d": "M6.53 9C4.6 8.8 3 7.1 3 5" }
|
||||
path { "d": "m8 2 1.88 1.88" }
|
||||
path { "d": "M9 7.13v-1a3.003 3.003 0 1 1 6 0v1" }
|
||||
path { "d": "M9 7.13v-1a3 3 0 0 1 4.18-2.895 3 3 0 0 1 1.821 2.896v1" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ pub fn CirclePlay(props: CirclePlayProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z" }
|
||||
circle { "cx": "12", "cy": "12", "r": "10" }
|
||||
polygon { "points": "10 8 16 12 10 16 10 8" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,11 +34,11 @@ pub fn Croissant(props: CroissantProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "m4.6 13.11 5.79-3.21c1.89-1.05 4.79 1.78 3.71 3.71l-3.22 5.81C8.8 23.16.79 15.23 4.6 13.11Z" }
|
||||
path { "d": "m10.5 9.5-1-2.29C9.2 6.48 8.8 6 8 6H4.5C2.79 6 2 6.5 2 8.5a7.71 7.71 0 0 0 2 4.83" }
|
||||
path { "d": "M8 6c0-1.55.24-4-2-4-2 0-2.5 2.17-2.5 4" }
|
||||
path { "d": "m14.5 13.5 2.29 1c.73.3 1.21.7 1.21 1.5v3.5c0 1.71-.5 2.5-2.5 2.5a7.71 7.71 0 0 1-4.83-2" }
|
||||
path { "d": "M18 16c1.55 0 4-.24 4 2 0 2-2.17 2.5-4 2.5" }
|
||||
path { "d": "M10.2 18H4.774a1.5 1.5 0 0 1-1.352-.97 11 11 0 0 1 .132-6.487" }
|
||||
path { "d": "M18 10.2V4.774a1.5 1.5 0 0 0-.97-1.352 11 11 0 0 0-6.486.132" }
|
||||
path { "d": "M18 5a4 3 0 0 1 4 3 2 2 0 0 1-2 2 10 10 0 0 0-5.139 1.42" }
|
||||
path { "d": "M5 18a3 4 0 0 0 3 4 2 2 0 0 0 2-2 10 10 0 0 1 1.42-5.14" }
|
||||
path { "d": "M8.709 2.554a10 10 0 0 0-6.155 6.155 1.5 1.5 0 0 0 .676 1.626l9.807 5.42a2 2 0 0 0 2.718-2.718l-5.42-9.807a1.5 1.5 0 0 0-1.626-.676" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ pub fn FastForward(props: FastForwardProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
polygon { "points": "13 19 22 12 13 5 13 19" }
|
||||
polygon { "points": "2 19 11 12 2 5 2 19" }
|
||||
path { "d": "M12 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 12 18z" }
|
||||
path { "d": "M2 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 2 18z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
42
packages/dioxus/src/file_play.rs
Normal file
42
packages/dioxus/src/file_play.rs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct FilePlayProps {
|
||||
#[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 FilePlay(props: FilePlayProps) -> 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": "M14 2v4a2 2 0 0 0 2 2h4" }
|
||||
path { "d": "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z" }
|
||||
path { "d": "M15.033 13.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56v-4.704a.645.645 0 0 1 .967-.56z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
49
packages/dioxus/src/file_video_camera.rs
Normal file
49
packages/dioxus/src/file_video_camera.rs
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct FileVideoCameraProps {
|
||||
#[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 FileVideoCamera(props: FileVideoCameraProps) -> 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": "M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4" }
|
||||
path { "d": "M14 2v4a2 2 0 0 0 2 2h4" }
|
||||
rect {
|
||||
"width": "8",
|
||||
"height": "6",
|
||||
"x": "2",
|
||||
"y": "12",
|
||||
"rx": "1",
|
||||
}
|
||||
path { "d": "m10 13.843 3.033-1.755a.645.645 0 0 1 .967.56v4.704a.645.645 0 0 1-.967.56L10 16.157" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -34,8 +34,8 @@ pub fn Gem(props: GemProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M6 3h12l4 6-10 13L2 9Z" }
|
||||
path { "d": "M11 3 8 9l4 13 4-13-3-6" }
|
||||
path { "d": "M10.5 3 8 9l4 13 4-13-2.5-6" }
|
||||
path { "d": "M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z" }
|
||||
path { "d": "M2 9h20" }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
44
packages/dioxus/src/hat_glasses.rs
Normal file
44
packages/dioxus/src/hat_glasses.rs
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct HatGlassesProps {
|
||||
#[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 HatGlasses(props: HatGlassesProps) -> 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": "M14 18a2 2 0 0 0-4 0" }
|
||||
path { "d": "m19 11-2.11-6.657a2 2 0 0 0-2.752-1.148l-1.276.61A2 2 0 0 1 12 4H8.5a2 2 0 0 0-1.925 1.456L5 11" }
|
||||
path { "d": "M2 11h20" }
|
||||
circle { "cx": "17", "cy": "18", "r": "3" }
|
||||
circle { "cx": "7", "cy": "18", "r": "3" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -34,9 +34,9 @@ pub fn ImagePlay(props: ImagePlayProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "m11 16-5 5" }
|
||||
path { "d": "M11 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6.5" }
|
||||
path { "d": "M15.765 22a.5.5 0 0 1-.765-.424V13.38a.5.5 0 0 1 .765-.424l5.878 3.674a1 1 0 0 1 0 1.696z" }
|
||||
path { "d": "M15 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z" }
|
||||
path { "d": "M21 12.17V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6" }
|
||||
path { "d": "m6 21 5-5" }
|
||||
circle { "cx": "9", "cy": "9", "r": "2" }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ pub fn Lasso(props: LassoProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M7 22a5 5 0 0 1-2-4" }
|
||||
path { "d": "M3.3 14A6.8 6.8 0 0 1 2 10c0-4.4 4.5-8 10-8s10 3.6 10 8-4.5 8-10 8a12 12 0 0 1-5-1" }
|
||||
path { "d": "M5 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z" }
|
||||
path { "d": "M3.704 14.467A10 8 0 0 1 2 10a10 8 0 0 1 20 0 10 8 0 0 1-10 8 10 8 0 0 1-5.181-1.158" }
|
||||
path { "d": "M7 22a5 5 0 0 1-2-3.994" }
|
||||
circle { "cx": "5", "cy": "16", "r": "2" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1431,6 +1431,8 @@ mod file_pen;
|
|||
#[cfg(feature = "files")]
|
||||
mod file_pen_line;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_play;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_plus;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_plus_2;
|
||||
|
|
@ -1463,9 +1465,7 @@ mod file_up;
|
|||
#[cfg(any(feature = "account", feature = "files"))]
|
||||
mod file_user;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_video;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_video_2;
|
||||
mod file_video_camera;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_volume;
|
||||
#[cfg(feature = "files")]
|
||||
|
|
@ -1817,6 +1817,8 @@ mod hard_drive_upload;
|
|||
mod hard_hat;
|
||||
#[cfg(any(feature = "text", feature = "social"))]
|
||||
mod hash;
|
||||
#[cfg(any(feature = "social", feature = "account", feature = "security"))]
|
||||
mod hat_glasses;
|
||||
#[cfg(feature = "weather")]
|
||||
mod haze;
|
||||
#[cfg(any(feature = "devices", feature = "multimedia", feature = "gaming"))]
|
||||
|
|
@ -3342,7 +3344,7 @@ mod spotlight;
|
|||
mod spray_can;
|
||||
#[cfg(any(feature = "nature", feature = "gaming", feature = "sustainability"))]
|
||||
mod sprout;
|
||||
#[cfg(feature = "shapes")]
|
||||
#[cfg(any(feature = "shapes", feature = "multimedia"))]
|
||||
mod square;
|
||||
#[cfg(any(
|
||||
feature = "medical",
|
||||
|
|
@ -3469,6 +3471,8 @@ mod square_mouse_pointer;
|
|||
mod square_parking;
|
||||
#[cfg(any(feature = "transportation", feature = "navigation"))]
|
||||
mod square_parking_off;
|
||||
#[cfg(feature = "multimedia")]
|
||||
mod square_pause;
|
||||
#[cfg(feature = "text")]
|
||||
mod square_pen;
|
||||
#[cfg(any(
|
||||
|
|
@ -3517,6 +3521,8 @@ mod square_split_vertical;
|
|||
mod square_square;
|
||||
#[cfg(any(feature = "text", feature = "files", feature = "development"))]
|
||||
mod square_stack;
|
||||
#[cfg(feature = "multimedia")]
|
||||
mod square_stop;
|
||||
#[cfg(feature = "development")]
|
||||
mod square_terminal;
|
||||
#[cfg(feature = "account")]
|
||||
|
|
@ -5539,6 +5545,8 @@ pub use file_pen::*;
|
|||
#[cfg(feature = "files")]
|
||||
pub use file_pen_line::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_play::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_plus::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_plus_2::*;
|
||||
|
|
@ -5571,9 +5579,7 @@ pub use file_up::*;
|
|||
#[cfg(any(feature = "account", feature = "files"))]
|
||||
pub use file_user::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_video::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_video_2::*;
|
||||
pub use file_video_camera::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_volume::*;
|
||||
#[cfg(feature = "files")]
|
||||
|
|
@ -5925,6 +5931,8 @@ pub use hard_drive_upload::*;
|
|||
pub use hard_hat::*;
|
||||
#[cfg(any(feature = "text", feature = "social"))]
|
||||
pub use hash::*;
|
||||
#[cfg(any(feature = "social", feature = "account", feature = "security"))]
|
||||
pub use hat_glasses::*;
|
||||
#[cfg(feature = "weather")]
|
||||
pub use haze::*;
|
||||
#[cfg(any(feature = "devices", feature = "multimedia", feature = "gaming"))]
|
||||
|
|
@ -7450,7 +7458,7 @@ pub use spotlight::*;
|
|||
pub use spray_can::*;
|
||||
#[cfg(any(feature = "nature", feature = "gaming", feature = "sustainability"))]
|
||||
pub use sprout::*;
|
||||
#[cfg(feature = "shapes")]
|
||||
#[cfg(any(feature = "shapes", feature = "multimedia"))]
|
||||
pub use square::*;
|
||||
#[cfg(any(
|
||||
feature = "medical",
|
||||
|
|
@ -7577,6 +7585,8 @@ pub use square_mouse_pointer::*;
|
|||
pub use square_parking::*;
|
||||
#[cfg(any(feature = "transportation", feature = "navigation"))]
|
||||
pub use square_parking_off::*;
|
||||
#[cfg(feature = "multimedia")]
|
||||
pub use square_pause::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use square_pen::*;
|
||||
#[cfg(any(
|
||||
|
|
@ -7625,6 +7635,8 @@ pub use square_split_vertical::*;
|
|||
pub use square_square::*;
|
||||
#[cfg(any(feature = "text", feature = "files", feature = "development"))]
|
||||
pub use square_stack::*;
|
||||
#[cfg(feature = "multimedia")]
|
||||
pub use square_stop::*;
|
||||
#[cfg(feature = "development")]
|
||||
pub use square_terminal::*;
|
||||
#[cfg(feature = "account")]
|
||||
|
|
|
|||
|
|
@ -35,9 +35,9 @@ pub fn ListVideo(props: ListVideoProps) -> Element {
|
|||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M12 12H3" }
|
||||
path { "d": "M16 6H3" }
|
||||
path { "d": "M12 18H3" }
|
||||
path { "d": "m16 12 5 3-5 3v-6Z" }
|
||||
path { "d": "M16 6H3" }
|
||||
path { "d": "M21.033 14.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56v-4.704a.645.645 0 0 1 .968-.56z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ pub fn MonitorPlay(props: MonitorPlayProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z" }
|
||||
path { "d": "M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z" }
|
||||
path { "d": "M12 17v4" }
|
||||
path { "d": "M8 21h8" }
|
||||
rect {
|
||||
|
|
|
|||
|
|
@ -36,16 +36,16 @@ pub fn Pause(props: PauseProps) -> Element {
|
|||
"stroke-linejoin": "round",
|
||||
rect {
|
||||
"x": "14",
|
||||
"y": "4",
|
||||
"width": "4",
|
||||
"height": "16",
|
||||
"y": "3",
|
||||
"width": "5",
|
||||
"height": "18",
|
||||
"rx": "1",
|
||||
}
|
||||
rect {
|
||||
"x": "6",
|
||||
"y": "4",
|
||||
"width": "4",
|
||||
"height": "16",
|
||||
"x": "5",
|
||||
"y": "3",
|
||||
"width": "5",
|
||||
"height": "18",
|
||||
"rx": "1",
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ pub fn Play(props: PlayProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
polygon { "points": "6 3 20 12 6 21 6 3" }
|
||||
path { "d": "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,10 +34,10 @@ pub fn RefreshCcwDot(props: RefreshCcwDotProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M3 2v6h6" }
|
||||
path { "d": "M21 12A9 9 0 0 0 6 5.3L3 8" }
|
||||
path { "d": "M21 22v-6h-6" }
|
||||
path { "d": "M3 12a9 9 0 0 0 15 6.7l3-2.7" }
|
||||
path { "d": "M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }
|
||||
path { "d": "M3 3v5h5" }
|
||||
path { "d": "M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16" }
|
||||
path { "d": "M16 16h5v5" }
|
||||
circle { "cx": "12", "cy": "12", "r": "1" }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ pub fn Rewind(props: RewindProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
polygon { "points": "11 19 2 12 11 5 11 19" }
|
||||
polygon { "points": "22 19 13 12 22 5 22 19" }
|
||||
path { "d": "M12 6a2 2 0 0 0-3.414-1.414l-6 6a2 2 0 0 0 0 2.828l6 6A2 2 0 0 0 12 18z" }
|
||||
path { "d": "M22 6a2 2 0 0 0-3.414-1.414l-6 6a2 2 0 0 0 0 2.828l6 6A2 2 0 0 0 22 18z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,13 +34,8 @@ pub fn SkipBack(props: SkipBackProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
polygon { "points": "19 20 9 12 19 4 19 20" }
|
||||
line {
|
||||
"x1": "5",
|
||||
"x2": "5",
|
||||
"y1": "19",
|
||||
"y2": "5",
|
||||
}
|
||||
path { "d": "M17.971 4.285A2 2 0 0 1 21 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z" }
|
||||
path { "d": "M3 20V4" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,13 +34,8 @@ pub fn SkipForward(props: SkipForwardProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
polygon { "points": "5 4 15 12 5 20 5 4" }
|
||||
line {
|
||||
"x1": "19",
|
||||
"x2": "19",
|
||||
"y1": "5",
|
||||
"y2": "19",
|
||||
}
|
||||
path { "d": "M21 4v16" }
|
||||
path { "d": "M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ pub fn Sparkle(props: SparkleProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z" }
|
||||
path { "d": "M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,11 +34,10 @@ pub fn Sparkles(props: SparklesProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z" }
|
||||
path { "d": "M20 3v4" }
|
||||
path { "d": "M22 5h-4" }
|
||||
path { "d": "M4 17v2" }
|
||||
path { "d": "M5 18H3" }
|
||||
path { "d": "M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" }
|
||||
path { "d": "M20 2v4" }
|
||||
path { "d": "M22 4h-4" }
|
||||
circle { "cx": "4", "cy": "20", "r": "2" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,10 +34,9 @@ pub fn Sprout(props: SproutProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M7 20h10" }
|
||||
path { "d": "M10 20c5.5-2.5.8-6.4 3-10" }
|
||||
path { "d": "M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z" }
|
||||
path { "d": "M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z" }
|
||||
path { "d": "M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3" }
|
||||
path { "d": "M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4" }
|
||||
path { "d": "M5 21h14" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
58
packages/dioxus/src/square_pause.rs
Normal file
58
packages/dioxus/src/square_pause.rs
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct SquarePauseProps {
|
||||
#[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 SquarePause(props: SquarePauseProps) -> 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": "10",
|
||||
"x2": "10",
|
||||
"y1": "15",
|
||||
"y2": "9",
|
||||
}
|
||||
line {
|
||||
"x1": "14",
|
||||
"x2": "14",
|
||||
"y1": "15",
|
||||
"y2": "9",
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -35,13 +35,13 @@ pub fn SquarePlay(props: SquarePlayProps) -> Element {
|
|||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
rect {
|
||||
"width": "18",
|
||||
"height": "18",
|
||||
"x": "3",
|
||||
"y": "3",
|
||||
"width": "18",
|
||||
"height": "18",
|
||||
"rx": "2",
|
||||
}
|
||||
path { "d": "m9 8 6 4-6 4Z" }
|
||||
path { "d": "M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
53
packages/dioxus/src/square_stop.rs
Normal file
53
packages/dioxus/src/square_stop.rs
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct SquareStopProps {
|
||||
#[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 SquareStop(props: SquareStopProps) -> 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",
|
||||
}
|
||||
rect {
|
||||
"x": "9",
|
||||
"y": "9",
|
||||
"width": "6",
|
||||
"height": "6",
|
||||
"rx": "1",
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -34,13 +34,8 @@ pub fn StepBack(props: StepBackProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
line {
|
||||
"x1": "18",
|
||||
"x2": "18",
|
||||
"y1": "20",
|
||||
"y2": "4",
|
||||
}
|
||||
polygon { "points": "14,20 4,12 14,4" }
|
||||
path { "d": "M13.971 4.285A2 2 0 0 1 17 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z" }
|
||||
path { "d": "M21 20V4" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,13 +34,8 @@ pub fn StepForward(props: StepForwardProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
line {
|
||||
"x1": "6",
|
||||
"x2": "6",
|
||||
"y1": "4",
|
||||
"y2": "20",
|
||||
}
|
||||
polygon { "points": "10,4 20,12 10,20" }
|
||||
path { "d": "M10.029 4.285A2 2 0 0 0 7 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z" }
|
||||
path { "d": "M3 4v16" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ pub fn TvMinimalPlay(props: TvMinimalPlayProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z" }
|
||||
path { "d": "M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z" }
|
||||
path { "d": "M7 21h10" }
|
||||
rect {
|
||||
"width": "20",
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ pub fn ArrowBigDown(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M15 6v6h4l-7 7-7-7h4V6h6z" />
|
||||
<path d="M15 11a1 1 0 0 0 1 1h2.939a1 1 0 0 1 .75 1.811l-6.835 6.836a1.207 1.207 0 0 1-1.707 0L4.31 13.81a1 1 0 0 1 .75-1.811H8a1 1 0 0 0 1-1V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ pub fn ArrowBigDownDash(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M15 5H9" />
|
||||
<path d="M15 9v3h4l-7 7-7-7h4V9z" />
|
||||
<path d="M15 11a1 1 0 0 0 1 1h2.939a1 1 0 0 1 .75 1.811l-6.835 6.836a1.207 1.207 0 0 1-1.707 0L4.31 13.81a1 1 0 0 1 .75-1.811H8a1 1 0 0 0 1-1V9a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1z" />
|
||||
<path d="M9 4h6" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ pub fn ArrowBigLeft(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M18 15h-6v4l-7-7 7-7v4h6v6z" />
|
||||
<path d="M13 9a1 1 0 0 1-1-1V5.061a1 1 0 0 0-1.811-.75l-6.835 6.836a1.207 1.207 0 0 0 0 1.707l6.835 6.835a1 1 0 0 0 1.811-.75V16a1 1 0 0 1 1-1h6a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ pub fn ArrowBigLeftDash(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M19 15V9" />
|
||||
<path d="M15 15h-3v4l-7-7 7-7v4h3v6z" />
|
||||
<path d="M13 9a1 1 0 0 1-1-1V5.061a1 1 0 0 0-1.811-.75l-6.835 6.836a1.207 1.207 0 0 0 0 1.707l6.835 6.835a1 1 0 0 0 1.811-.75V16a1 1 0 0 1 1-1h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1z" />
|
||||
<path d="M20 9v6" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ pub fn ArrowBigRight(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M6 9h6V5l7 7-7 7v-4H6V9z" />
|
||||
<path d="M11 9a1 1 0 0 0 1-1V5.061a1 1 0 0 1 1.811-.75l6.836 6.836a1.207 1.207 0 0 1 0 1.707l-6.836 6.835a1 1 0 0 1-1.811-.75V16a1 1 0 0 0-1-1H5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ pub fn ArrowBigRightDash(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M5 9v6" />
|
||||
<path d="M9 9h3V5l7 7-7 7v-4H9V9z" />
|
||||
<path d="M11 9a1 1 0 0 0 1-1V5.061a1 1 0 0 1 1.811-.75l6.836 6.836a1.207 1.207 0 0 1 0 1.707l-6.836 6.835a1 1 0 0 1-1.811-.75V16a1 1 0 0 0-1-1H9a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z" />
|
||||
<path d="M4 9v6" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ pub fn ArrowBigUp(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M9 18v-6H5l7-7 7 7h-4v6H9z" />
|
||||
<path d="M9 13a1 1 0 0 0-1-1H5.061a1 1 0 0 1-.75-1.811l6.836-6.835a1.207 1.207 0 0 1 1.707 0l6.835 6.835a1 1 0 0 1-.75 1.811H16a1 1 0 0 0-1 1v6a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ pub fn ArrowBigUpDash(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M9 19h6" />
|
||||
<path d="M9 15v-3H5l7-7 7 7h-4v3H9z" />
|
||||
<path d="M9 13a1 1 0 0 0-1-1H5.061a1 1 0 0 1-.75-1.811l6.836-6.835a1.207 1.207 0 0 1 1.707 0l6.835 6.835a1 1 0 0 1-.75 1.811H16a1 1 0 0 0-1 1v2a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1z" />
|
||||
<path d="M9 20h6" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,15 +29,15 @@ pub fn BugPlay(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M12.765 21.522a.5.5 0 0 1-.765-.424v-8.196a.5.5 0 0 1 .765-.424l5.878 3.674a1 1 0 0 1 0 1.696z" />
|
||||
<path d="M10 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97" />
|
||||
<path d="M14 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z" />
|
||||
<path d="M14.12 3.88 16 2" />
|
||||
<path d="M18 11a4 4 0 0 0-4-4h-4a4 4 0 0 0-4 4v3a6.1 6.1 0 0 0 2 4.5" />
|
||||
<path d="M20.97 5c0 2.1-1.6 3.8-3.5 4" />
|
||||
<path d="M3 21c0-2.1 1.7-3.9 3.8-4" />
|
||||
<path d="M6 13H2" />
|
||||
<path d="M6.53 9C4.6 8.8 3 7.1 3 5" />
|
||||
<path d="m8 2 1.88 1.88" />
|
||||
<path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1" />
|
||||
<path d="M9 7.13v-1a3 3 0 0 1 4.18-2.895 3 3 0 0 1 1.821 2.896v1" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ pub fn CirclePlay(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z" />
|
||||
<circle cx="12" cy="12" r="10" />
|
||||
<polygon points="10 8 16 12 10 16 10 8" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@ pub fn Croissant(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="m4.6 13.11 5.79-3.21c1.89-1.05 4.79 1.78 3.71 3.71l-3.22 5.81C8.8 23.16.79 15.23 4.6 13.11Z" />
|
||||
<path d="m10.5 9.5-1-2.29C9.2 6.48 8.8 6 8 6H4.5C2.79 6 2 6.5 2 8.5a7.71 7.71 0 0 0 2 4.83" />
|
||||
<path d="M8 6c0-1.55.24-4-2-4-2 0-2.5 2.17-2.5 4" />
|
||||
<path d="m14.5 13.5 2.29 1c.73.3 1.21.7 1.21 1.5v3.5c0 1.71-.5 2.5-2.5 2.5a7.71 7.71 0 0 1-4.83-2" />
|
||||
<path d="M18 16c1.55 0 4-.24 4 2 0 2-2.17 2.5-4 2.5" />
|
||||
<path d="M10.2 18H4.774a1.5 1.5 0 0 1-1.352-.97 11 11 0 0 1 .132-6.487" />
|
||||
<path d="M18 10.2V4.774a1.5 1.5 0 0 0-.97-1.352 11 11 0 0 0-6.486.132" />
|
||||
<path d="M18 5a4 3 0 0 1 4 3 2 2 0 0 1-2 2 10 10 0 0 0-5.139 1.42" />
|
||||
<path d="M5 18a3 4 0 0 0 3 4 2 2 0 0 0 2-2 10 10 0 0 1 1.42-5.14" />
|
||||
<path d="M8.709 2.554a10 10 0 0 0-6.155 6.155 1.5 1.5 0 0 0 .676 1.626l9.807 5.42a2 2 0 0 0 2.718-2.718l-5.42-9.807a1.5 1.5 0 0 0-1.626-.676" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ pub fn FastForward(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<polygon points="13 19 22 12 13 5 13 19" />
|
||||
<polygon points="2 19 11 12 2 5 2 19" />
|
||||
<path d="M12 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 12 18z" />
|
||||
<path d="M2 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 2 18z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
37
packages/leptos/src/file_play.rs
Normal file
37
packages/leptos/src/file_play.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn FilePlay(
|
||||
#[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="M14 2v4a2 2 0 0 0 2 2h4" />
|
||||
<path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z" />
|
||||
<path d="M15.033 13.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56v-4.704a.645.645 0 0 1 .967-.56z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/file_video_camera.rs
Normal file
38
packages/leptos/src/file_video_camera.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn FileVideoCamera(
|
||||
#[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="M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4" />
|
||||
<path d="M14 2v4a2 2 0 0 0 2 2h4" />
|
||||
<rect width="8" height="6" x="2" y="12" rx="1" />
|
||||
<path d="m10 13.843 3.033-1.755a.645.645 0 0 1 .967.56v4.704a.645.645 0 0 1-.967.56L10 16.157" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
@ -29,8 +29,8 @@ pub fn Gem(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M6 3h12l4 6-10 13L2 9Z" />
|
||||
<path d="M11 3 8 9l4 13 4-13-3-6" />
|
||||
<path d="M10.5 3 8 9l4 13 4-13-2.5-6" />
|
||||
<path d="M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z" />
|
||||
<path d="M2 9h20" />
|
||||
</svg>
|
||||
}
|
||||
|
|
|
|||
39
packages/leptos/src/hat_glasses.rs
Normal file
39
packages/leptos/src/hat_glasses.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn HatGlasses(
|
||||
#[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="M14 18a2 2 0 0 0-4 0" />
|
||||
<path d="m19 11-2.11-6.657a2 2 0 0 0-2.752-1.148l-1.276.61A2 2 0 0 1 12 4H8.5a2 2 0 0 0-1.925 1.456L5 11" />
|
||||
<path d="M2 11h20" />
|
||||
<circle cx="17" cy="18" r="3" />
|
||||
<circle cx="7" cy="18" r="3" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
@ -29,9 +29,9 @@ pub fn ImagePlay(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="m11 16-5 5" />
|
||||
<path d="M11 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6.5" />
|
||||
<path d="M15.765 22a.5.5 0 0 1-.765-.424V13.38a.5.5 0 0 1 .765-.424l5.878 3.674a1 1 0 0 1 0 1.696z" />
|
||||
<path d="M15 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z" />
|
||||
<path d="M21 12.17V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6" />
|
||||
<path d="m6 21 5-5" />
|
||||
<circle cx="9" cy="9" r="2" />
|
||||
</svg>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ pub fn Lasso(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M7 22a5 5 0 0 1-2-4" />
|
||||
<path d="M3.3 14A6.8 6.8 0 0 1 2 10c0-4.4 4.5-8 10-8s10 3.6 10 8-4.5 8-10 8a12 12 0 0 1-5-1" />
|
||||
<path d="M5 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z" />
|
||||
<path d="M3.704 14.467A10 8 0 0 1 2 10a10 8 0 0 1 20 0 10 8 0 0 1-10 8 10 8 0 0 1-5.181-1.158" />
|
||||
<path d="M7 22a5 5 0 0 1-2-3.994" />
|
||||
<circle cx="5" cy="16" r="2" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1431,6 +1431,8 @@ mod file_pen;
|
|||
#[cfg(feature = "files")]
|
||||
mod file_pen_line;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_play;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_plus;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_plus_2;
|
||||
|
|
@ -1463,9 +1465,7 @@ mod file_up;
|
|||
#[cfg(any(feature = "account", feature = "files"))]
|
||||
mod file_user;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_video;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_video_2;
|
||||
mod file_video_camera;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_volume;
|
||||
#[cfg(feature = "files")]
|
||||
|
|
@ -1817,6 +1817,8 @@ mod hard_drive_upload;
|
|||
mod hard_hat;
|
||||
#[cfg(any(feature = "text", feature = "social"))]
|
||||
mod hash;
|
||||
#[cfg(any(feature = "social", feature = "account", feature = "security"))]
|
||||
mod hat_glasses;
|
||||
#[cfg(feature = "weather")]
|
||||
mod haze;
|
||||
#[cfg(any(feature = "devices", feature = "multimedia", feature = "gaming"))]
|
||||
|
|
@ -3342,7 +3344,7 @@ mod spotlight;
|
|||
mod spray_can;
|
||||
#[cfg(any(feature = "nature", feature = "gaming", feature = "sustainability"))]
|
||||
mod sprout;
|
||||
#[cfg(feature = "shapes")]
|
||||
#[cfg(any(feature = "shapes", feature = "multimedia"))]
|
||||
mod square;
|
||||
#[cfg(any(
|
||||
feature = "medical",
|
||||
|
|
@ -3469,6 +3471,8 @@ mod square_mouse_pointer;
|
|||
mod square_parking;
|
||||
#[cfg(any(feature = "transportation", feature = "navigation"))]
|
||||
mod square_parking_off;
|
||||
#[cfg(feature = "multimedia")]
|
||||
mod square_pause;
|
||||
#[cfg(feature = "text")]
|
||||
mod square_pen;
|
||||
#[cfg(any(
|
||||
|
|
@ -3517,6 +3521,8 @@ mod square_split_vertical;
|
|||
mod square_square;
|
||||
#[cfg(any(feature = "text", feature = "files", feature = "development"))]
|
||||
mod square_stack;
|
||||
#[cfg(feature = "multimedia")]
|
||||
mod square_stop;
|
||||
#[cfg(feature = "development")]
|
||||
mod square_terminal;
|
||||
#[cfg(feature = "account")]
|
||||
|
|
@ -5539,6 +5545,8 @@ pub use file_pen::*;
|
|||
#[cfg(feature = "files")]
|
||||
pub use file_pen_line::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_play::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_plus::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_plus_2::*;
|
||||
|
|
@ -5571,9 +5579,7 @@ pub use file_up::*;
|
|||
#[cfg(any(feature = "account", feature = "files"))]
|
||||
pub use file_user::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_video::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_video_2::*;
|
||||
pub use file_video_camera::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_volume::*;
|
||||
#[cfg(feature = "files")]
|
||||
|
|
@ -5925,6 +5931,8 @@ pub use hard_drive_upload::*;
|
|||
pub use hard_hat::*;
|
||||
#[cfg(any(feature = "text", feature = "social"))]
|
||||
pub use hash::*;
|
||||
#[cfg(any(feature = "social", feature = "account", feature = "security"))]
|
||||
pub use hat_glasses::*;
|
||||
#[cfg(feature = "weather")]
|
||||
pub use haze::*;
|
||||
#[cfg(any(feature = "devices", feature = "multimedia", feature = "gaming"))]
|
||||
|
|
@ -7450,7 +7458,7 @@ pub use spotlight::*;
|
|||
pub use spray_can::*;
|
||||
#[cfg(any(feature = "nature", feature = "gaming", feature = "sustainability"))]
|
||||
pub use sprout::*;
|
||||
#[cfg(feature = "shapes")]
|
||||
#[cfg(any(feature = "shapes", feature = "multimedia"))]
|
||||
pub use square::*;
|
||||
#[cfg(any(
|
||||
feature = "medical",
|
||||
|
|
@ -7577,6 +7585,8 @@ pub use square_mouse_pointer::*;
|
|||
pub use square_parking::*;
|
||||
#[cfg(any(feature = "transportation", feature = "navigation"))]
|
||||
pub use square_parking_off::*;
|
||||
#[cfg(feature = "multimedia")]
|
||||
pub use square_pause::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use square_pen::*;
|
||||
#[cfg(any(
|
||||
|
|
@ -7625,6 +7635,8 @@ pub use square_split_vertical::*;
|
|||
pub use square_square::*;
|
||||
#[cfg(any(feature = "text", feature = "files", feature = "development"))]
|
||||
pub use square_stack::*;
|
||||
#[cfg(feature = "multimedia")]
|
||||
pub use square_stop::*;
|
||||
#[cfg(feature = "development")]
|
||||
pub use square_terminal::*;
|
||||
#[cfg(feature = "account")]
|
||||
|
|
|
|||
|
|
@ -30,9 +30,9 @@ pub fn ListVideo(
|
|||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M12 12H3" />
|
||||
<path d="M16 6H3" />
|
||||
<path d="M12 18H3" />
|
||||
<path d="m16 12 5 3-5 3v-6Z" />
|
||||
<path d="M16 6H3" />
|
||||
<path d="M21.033 14.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56v-4.704a.645.645 0 0 1 .968-.56z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ pub fn MonitorPlay(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z" />
|
||||
<path d="M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z" />
|
||||
<path d="M12 17v4" />
|
||||
<path d="M8 21h8" />
|
||||
<rect x="2" y="3" width="20" height="14" rx="2" />
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ pub fn Pause(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<rect x="14" y="4" width="4" height="16" rx="1" />
|
||||
<rect x="6" y="4" width="4" height="16" rx="1" />
|
||||
<rect x="14" y="3" width="5" height="18" rx="1" />
|
||||
<rect x="5" y="3" width="5" height="18" rx="1" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ pub fn Play(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<polygon points="6 3 20 12 6 21 6 3" />
|
||||
<path d="M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,10 +29,10 @@ pub fn RefreshCcwDot(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M3 2v6h6" />
|
||||
<path d="M21 12A9 9 0 0 0 6 5.3L3 8" />
|
||||
<path d="M21 22v-6h-6" />
|
||||
<path d="M3 12a9 9 0 0 0 15 6.7l3-2.7" />
|
||||
<path d="M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" />
|
||||
<path d="M3 3v5h5" />
|
||||
<path d="M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16" />
|
||||
<path d="M16 16h5v5" />
|
||||
<circle cx="12" cy="12" r="1" />
|
||||
</svg>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ pub fn Rewind(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<polygon points="11 19 2 12 11 5 11 19" />
|
||||
<polygon points="22 19 13 12 22 5 22 19" />
|
||||
<path d="M12 6a2 2 0 0 0-3.414-1.414l-6 6a2 2 0 0 0 0 2.828l6 6A2 2 0 0 0 12 18z" />
|
||||
<path d="M22 6a2 2 0 0 0-3.414-1.414l-6 6a2 2 0 0 0 0 2.828l6 6A2 2 0 0 0 22 18z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ pub fn SkipBack(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<polygon points="19 20 9 12 19 4 19 20" />
|
||||
<line x1="5" x2="5" y1="19" y2="5" />
|
||||
<path d="M17.971 4.285A2 2 0 0 1 21 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z" />
|
||||
<path d="M3 20V4" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ pub fn SkipForward(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<polygon points="5 4 15 12 5 20 5 4" />
|
||||
<line x1="19" x2="19" y1="5" y2="19" />
|
||||
<path d="M21 4v16" />
|
||||
<path d="M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ pub fn Sparkle(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z" />
|
||||
<path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,11 +29,10 @@ pub fn Sparkles(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z" />
|
||||
<path d="M20 3v4" />
|
||||
<path d="M22 5h-4" />
|
||||
<path d="M4 17v2" />
|
||||
<path d="M5 18H3" />
|
||||
<path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" />
|
||||
<path d="M20 2v4" />
|
||||
<path d="M22 4h-4" />
|
||||
<circle cx="4" cy="20" r="2" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,10 +29,9 @@ pub fn Sprout(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M7 20h10" />
|
||||
<path d="M10 20c5.5-2.5.8-6.4 3-10" />
|
||||
<path d="M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z" />
|
||||
<path d="M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z" />
|
||||
<path d="M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3" />
|
||||
<path d="M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4" />
|
||||
<path d="M5 21h14" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
37
packages/leptos/src/square_pause.rs
Normal file
37
packages/leptos/src/square_pause.rs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn SquarePause(
|
||||
#[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"
|
||||
>
|
||||
<rect width="18" height="18" x="3" y="3" rx="2" />
|
||||
<line x1="10" x2="10" y1="15" y2="9" />
|
||||
<line x1="14" x2="14" y1="15" y2="9" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
@ -29,8 +29,8 @@ pub fn SquarePlay(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<rect width="18" height="18" x="3" y="3" rx="2" />
|
||||
<path d="m9 8 6 4-6 4Z" />
|
||||
<rect x="3" y="3" width="18" height="18" rx="2" />
|
||||
<path d="M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
36
packages/leptos/src/square_stop.rs
Normal file
36
packages/leptos/src/square_stop.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn SquareStop(
|
||||
#[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"
|
||||
>
|
||||
<rect width="18" height="18" x="3" y="3" rx="2" />
|
||||
<rect x="9" y="9" width="6" height="6" rx="1" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
@ -29,8 +29,8 @@ pub fn StepBack(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<line x1="18" x2="18" y1="20" y2="4" />
|
||||
<polygon points="14,20 4,12 14,4" />
|
||||
<path d="M13.971 4.285A2 2 0 0 1 17 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z" />
|
||||
<path d="M21 20V4" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ pub fn StepForward(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<line x1="6" x2="6" y1="4" y2="20" />
|
||||
<polygon points="10,4 20,12 10,20" />
|
||||
<path d="M10.029 4.285A2 2 0 0 0 7 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z" />
|
||||
<path d="M3 4v16" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ pub fn TvMinimalPlay(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z" />
|
||||
<path d="M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z" />
|
||||
<path d="M7 21h10" />
|
||||
<rect width="20" height="14" x="2" y="3" rx="2" />
|
||||
</svg>
|
||||
|
|
|
|||
|
|
@ -41,7 +41,9 @@ pub fn ArrowBigDown(props: &ArrowBigDownProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M15 6v6h4l-7 7-7-7h4V6h6z" />
|
||||
<path
|
||||
d="M15 11a1 1 0 0 0 1 1h2.939a1 1 0 0 1 .75 1.811l-6.835 6.836a1.207 1.207 0 0 1-1.707 0L4.31 13.81a1 1 0 0 1 .75-1.811H8a1 1 0 0 0 1-1V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1z"
|
||||
/>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,8 +41,10 @@ pub fn ArrowBigDownDash(props: &ArrowBigDownDashProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M15 5H9" />
|
||||
<path d="M15 9v3h4l-7 7-7-7h4V9z" />
|
||||
<path
|
||||
d="M15 11a1 1 0 0 0 1 1h2.939a1 1 0 0 1 .75 1.811l-6.835 6.836a1.207 1.207 0 0 1-1.707 0L4.31 13.81a1 1 0 0 1 .75-1.811H8a1 1 0 0 0 1-1V9a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1z"
|
||||
/>
|
||||
<path d="M9 4h6" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,9 @@ pub fn ArrowBigLeft(props: &ArrowBigLeftProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M18 15h-6v4l-7-7 7-7v4h6v6z" />
|
||||
<path
|
||||
d="M13 9a1 1 0 0 1-1-1V5.061a1 1 0 0 0-1.811-.75l-6.835 6.836a1.207 1.207 0 0 0 0 1.707l6.835 6.835a1 1 0 0 0 1.811-.75V16a1 1 0 0 1 1-1h6a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1z"
|
||||
/>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,8 +41,10 @@ pub fn ArrowBigLeftDash(props: &ArrowBigLeftDashProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M19 15V9" />
|
||||
<path d="M15 15h-3v4l-7-7 7-7v4h3v6z" />
|
||||
<path
|
||||
d="M13 9a1 1 0 0 1-1-1V5.061a1 1 0 0 0-1.811-.75l-6.835 6.836a1.207 1.207 0 0 0 0 1.707l6.835 6.835a1 1 0 0 0 1.811-.75V16a1 1 0 0 1 1-1h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1z"
|
||||
/>
|
||||
<path d="M20 9v6" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,9 @@ pub fn ArrowBigRight(props: &ArrowBigRightProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M6 9h6V5l7 7-7 7v-4H6V9z" />
|
||||
<path
|
||||
d="M11 9a1 1 0 0 0 1-1V5.061a1 1 0 0 1 1.811-.75l6.836 6.836a1.207 1.207 0 0 1 0 1.707l-6.836 6.835a1 1 0 0 1-1.811-.75V16a1 1 0 0 0-1-1H5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z"
|
||||
/>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,8 +41,10 @@ pub fn ArrowBigRightDash(props: &ArrowBigRightDashProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M5 9v6" />
|
||||
<path d="M9 9h3V5l7 7-7 7v-4H9V9z" />
|
||||
<path
|
||||
d="M11 9a1 1 0 0 0 1-1V5.061a1 1 0 0 1 1.811-.75l6.836 6.836a1.207 1.207 0 0 1 0 1.707l-6.836 6.835a1 1 0 0 1-1.811-.75V16a1 1 0 0 0-1-1H9a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z"
|
||||
/>
|
||||
<path d="M4 9v6" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,9 @@ pub fn ArrowBigUp(props: &ArrowBigUpProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M9 18v-6H5l7-7 7 7h-4v6H9z" />
|
||||
<path
|
||||
d="M9 13a1 1 0 0 0-1-1H5.061a1 1 0 0 1-.75-1.811l6.836-6.835a1.207 1.207 0 0 1 1.707 0l6.835 6.835a1 1 0 0 1-.75 1.811H16a1 1 0 0 0-1 1v6a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1z"
|
||||
/>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,8 +41,10 @@ pub fn ArrowBigUpDash(props: &ArrowBigUpDashProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M9 19h6" />
|
||||
<path d="M9 15v-3H5l7-7 7 7h-4v3H9z" />
|
||||
<path
|
||||
d="M9 13a1 1 0 0 0-1-1H5.061a1 1 0 0 1-.75-1.811l6.836-6.835a1.207 1.207 0 0 1 1.707 0l6.835 6.835a1 1 0 0 1-.75 1.811H16a1 1 0 0 0-1 1v2a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1z"
|
||||
/>
|
||||
<path d="M9 20h6" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,17 +41,17 @@ pub fn BugPlay(props: &BugPlayProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M10 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97" />
|
||||
<path
|
||||
d="M12.765 21.522a.5.5 0 0 1-.765-.424v-8.196a.5.5 0 0 1 .765-.424l5.878 3.674a1 1 0 0 1 0 1.696z"
|
||||
d="M14 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z"
|
||||
/>
|
||||
<path d="M14.12 3.88 16 2" />
|
||||
<path d="M18 11a4 4 0 0 0-4-4h-4a4 4 0 0 0-4 4v3a6.1 6.1 0 0 0 2 4.5" />
|
||||
<path d="M20.97 5c0 2.1-1.6 3.8-3.5 4" />
|
||||
<path d="M3 21c0-2.1 1.7-3.9 3.8-4" />
|
||||
<path d="M6 13H2" />
|
||||
<path d="M6.53 9C4.6 8.8 3 7.1 3 5" />
|
||||
<path d="m8 2 1.88 1.88" />
|
||||
<path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1" />
|
||||
<path d="M9 7.13v-1a3 3 0 0 1 4.18-2.895 3 3 0 0 1 1.821 2.896v1" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,8 +41,10 @@ pub fn CirclePlay(props: &CirclePlayProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path
|
||||
d="M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z"
|
||||
/>
|
||||
<circle cx="12" cy="12" r="10" />
|
||||
<polygon points="10 8 16 12 10 16 10 8" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,17 +41,13 @@ pub fn Croissant(props: &CroissantProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M10.2 18H4.774a1.5 1.5 0 0 1-1.352-.97 11 11 0 0 1 .132-6.487" />
|
||||
<path d="M18 10.2V4.774a1.5 1.5 0 0 0-.97-1.352 11 11 0 0 0-6.486.132" />
|
||||
<path d="M18 5a4 3 0 0 1 4 3 2 2 0 0 1-2 2 10 10 0 0 0-5.139 1.42" />
|
||||
<path d="M5 18a3 4 0 0 0 3 4 2 2 0 0 0 2-2 10 10 0 0 1 1.42-5.14" />
|
||||
<path
|
||||
d="m4.6 13.11 5.79-3.21c1.89-1.05 4.79 1.78 3.71 3.71l-3.22 5.81C8.8 23.16.79 15.23 4.6 13.11Z"
|
||||
d="M8.709 2.554a10 10 0 0 0-6.155 6.155 1.5 1.5 0 0 0 .676 1.626l9.807 5.42a2 2 0 0 0 2.718-2.718l-5.42-9.807a1.5 1.5 0 0 0-1.626-.676"
|
||||
/>
|
||||
<path
|
||||
d="m10.5 9.5-1-2.29C9.2 6.48 8.8 6 8 6H4.5C2.79 6 2 6.5 2 8.5a7.71 7.71 0 0 0 2 4.83"
|
||||
/>
|
||||
<path d="M8 6c0-1.55.24-4-2-4-2 0-2.5 2.17-2.5 4" />
|
||||
<path
|
||||
d="m14.5 13.5 2.29 1c.73.3 1.21.7 1.21 1.5v3.5c0 1.71-.5 2.5-2.5 2.5a7.71 7.71 0 0 1-4.83-2"
|
||||
/>
|
||||
<path d="M18 16c1.55 0 4-.24 4 2 0 2-2.17 2.5-4 2.5" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,8 +41,8 @@ pub fn FastForward(props: &FastForwardProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<polygon points="13 19 22 12 13 5 13 19" />
|
||||
<polygon points="2 19 11 12 2 5 2 19" />
|
||||
<path d="M12 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 12 18z" />
|
||||
<path d="M2 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 2 18z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
51
packages/yew/src/file_play.rs
Normal file
51
packages/yew/src/file_play.rs
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
use yew::prelude::*;
|
||||
#[derive(PartialEq, Properties)]
|
||||
pub struct FilePlayProps {
|
||||
#[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 FilePlay(props: &FilePlayProps) -> 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="M14 2v4a2 2 0 0 0 2 2h4" />
|
||||
<path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z" />
|
||||
<path
|
||||
d="M15.033 13.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56v-4.704a.645.645 0 0 1 .967-.56z"
|
||||
/>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
52
packages/yew/src/file_video_camera.rs
Normal file
52
packages/yew/src/file_video_camera.rs
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
use yew::prelude::*;
|
||||
#[derive(PartialEq, Properties)]
|
||||
pub struct FileVideoCameraProps {
|
||||
#[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 FileVideoCamera(props: &FileVideoCameraProps) -> 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="M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4" />
|
||||
<path d="M14 2v4a2 2 0 0 0 2 2h4" />
|
||||
<rect width="8" height="6" x="2" y="12" rx="1" />
|
||||
<path
|
||||
d="m10 13.843 3.033-1.755a.645.645 0 0 1 .967.56v4.704a.645.645 0 0 1-.967.56L10 16.157"
|
||||
/>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
@ -41,8 +41,10 @@ pub fn Gem(props: &GemProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M6 3h12l4 6-10 13L2 9Z" />
|
||||
<path d="M11 3 8 9l4 13 4-13-3-6" />
|
||||
<path d="M10.5 3 8 9l4 13 4-13-2.5-6" />
|
||||
<path
|
||||
d="M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z"
|
||||
/>
|
||||
<path d="M2 9h20" />
|
||||
</svg>
|
||||
}
|
||||
|
|
|
|||
53
packages/yew/src/hat_glasses.rs
Normal file
53
packages/yew/src/hat_glasses.rs
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
use yew::prelude::*;
|
||||
#[derive(PartialEq, Properties)]
|
||||
pub struct HatGlassesProps {
|
||||
#[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 HatGlasses(props: &HatGlassesProps) -> 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="M14 18a2 2 0 0 0-4 0" />
|
||||
<path
|
||||
d="m19 11-2.11-6.657a2 2 0 0 0-2.752-1.148l-1.276.61A2 2 0 0 1 12 4H8.5a2 2 0 0 0-1.925 1.456L5 11"
|
||||
/>
|
||||
<path d="M2 11h20" />
|
||||
<circle cx="17" cy="18" r="3" />
|
||||
<circle cx="7" cy="18" r="3" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
@ -41,11 +41,11 @@ pub fn ImagePlay(props: &ImagePlayProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="m11 16-5 5" />
|
||||
<path d="M11 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6.5" />
|
||||
<path
|
||||
d="M15.765 22a.5.5 0 0 1-.765-.424V13.38a.5.5 0 0 1 .765-.424l5.878 3.674a1 1 0 0 1 0 1.696z"
|
||||
d="M15 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z"
|
||||
/>
|
||||
<path d="M21 12.17V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6" />
|
||||
<path d="m6 21 5-5" />
|
||||
<circle cx="9" cy="9" r="2" />
|
||||
</svg>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,11 +41,11 @@ pub fn Lasso(props: &LassoProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M7 22a5 5 0 0 1-2-4" />
|
||||
<path
|
||||
d="M3.3 14A6.8 6.8 0 0 1 2 10c0-4.4 4.5-8 10-8s10 3.6 10 8-4.5 8-10 8a12 12 0 0 1-5-1"
|
||||
d="M3.704 14.467A10 8 0 0 1 2 10a10 8 0 0 1 20 0 10 8 0 0 1-10 8 10 8 0 0 1-5.181-1.158"
|
||||
/>
|
||||
<path d="M5 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z" />
|
||||
<path d="M7 22a5 5 0 0 1-2-3.994" />
|
||||
<circle cx="5" cy="16" r="2" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1433,6 +1433,8 @@ mod file_pen;
|
|||
#[cfg(feature = "files")]
|
||||
mod file_pen_line;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_play;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_plus;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_plus_2;
|
||||
|
|
@ -1465,9 +1467,7 @@ mod file_up;
|
|||
#[cfg(any(feature = "account", feature = "files"))]
|
||||
mod file_user;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_video;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_video_2;
|
||||
mod file_video_camera;
|
||||
#[cfg(feature = "files")]
|
||||
mod file_volume;
|
||||
#[cfg(feature = "files")]
|
||||
|
|
@ -1819,6 +1819,8 @@ mod hard_drive_upload;
|
|||
mod hard_hat;
|
||||
#[cfg(any(feature = "text", feature = "social"))]
|
||||
mod hash;
|
||||
#[cfg(any(feature = "social", feature = "account", feature = "security"))]
|
||||
mod hat_glasses;
|
||||
#[cfg(feature = "weather")]
|
||||
mod haze;
|
||||
#[cfg(any(feature = "devices", feature = "multimedia", feature = "gaming"))]
|
||||
|
|
@ -3344,7 +3346,7 @@ mod spotlight;
|
|||
mod spray_can;
|
||||
#[cfg(any(feature = "nature", feature = "gaming", feature = "sustainability"))]
|
||||
mod sprout;
|
||||
#[cfg(feature = "shapes")]
|
||||
#[cfg(any(feature = "shapes", feature = "multimedia"))]
|
||||
mod square;
|
||||
#[cfg(any(
|
||||
feature = "medical",
|
||||
|
|
@ -3471,6 +3473,8 @@ mod square_mouse_pointer;
|
|||
mod square_parking;
|
||||
#[cfg(any(feature = "transportation", feature = "navigation"))]
|
||||
mod square_parking_off;
|
||||
#[cfg(feature = "multimedia")]
|
||||
mod square_pause;
|
||||
#[cfg(feature = "text")]
|
||||
mod square_pen;
|
||||
#[cfg(any(
|
||||
|
|
@ -3519,6 +3523,8 @@ mod square_split_vertical;
|
|||
mod square_square;
|
||||
#[cfg(any(feature = "text", feature = "files", feature = "development"))]
|
||||
mod square_stack;
|
||||
#[cfg(feature = "multimedia")]
|
||||
mod square_stop;
|
||||
#[cfg(feature = "development")]
|
||||
mod square_terminal;
|
||||
#[cfg(feature = "account")]
|
||||
|
|
@ -5541,6 +5547,8 @@ pub use file_pen::*;
|
|||
#[cfg(feature = "files")]
|
||||
pub use file_pen_line::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_play::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_plus::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_plus_2::*;
|
||||
|
|
@ -5573,9 +5581,7 @@ pub use file_up::*;
|
|||
#[cfg(any(feature = "account", feature = "files"))]
|
||||
pub use file_user::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_video::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_video_2::*;
|
||||
pub use file_video_camera::*;
|
||||
#[cfg(feature = "files")]
|
||||
pub use file_volume::*;
|
||||
#[cfg(feature = "files")]
|
||||
|
|
@ -5927,6 +5933,8 @@ pub use hard_drive_upload::*;
|
|||
pub use hard_hat::*;
|
||||
#[cfg(any(feature = "text", feature = "social"))]
|
||||
pub use hash::*;
|
||||
#[cfg(any(feature = "social", feature = "account", feature = "security"))]
|
||||
pub use hat_glasses::*;
|
||||
#[cfg(feature = "weather")]
|
||||
pub use haze::*;
|
||||
#[cfg(any(feature = "devices", feature = "multimedia", feature = "gaming"))]
|
||||
|
|
@ -7452,7 +7460,7 @@ pub use spotlight::*;
|
|||
pub use spray_can::*;
|
||||
#[cfg(any(feature = "nature", feature = "gaming", feature = "sustainability"))]
|
||||
pub use sprout::*;
|
||||
#[cfg(feature = "shapes")]
|
||||
#[cfg(any(feature = "shapes", feature = "multimedia"))]
|
||||
pub use square::*;
|
||||
#[cfg(any(
|
||||
feature = "medical",
|
||||
|
|
@ -7579,6 +7587,8 @@ pub use square_mouse_pointer::*;
|
|||
pub use square_parking::*;
|
||||
#[cfg(any(feature = "transportation", feature = "navigation"))]
|
||||
pub use square_parking_off::*;
|
||||
#[cfg(feature = "multimedia")]
|
||||
pub use square_pause::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use square_pen::*;
|
||||
#[cfg(any(
|
||||
|
|
@ -7627,6 +7637,8 @@ pub use square_split_vertical::*;
|
|||
pub use square_square::*;
|
||||
#[cfg(any(feature = "text", feature = "files", feature = "development"))]
|
||||
pub use square_stack::*;
|
||||
#[cfg(feature = "multimedia")]
|
||||
pub use square_stop::*;
|
||||
#[cfg(feature = "development")]
|
||||
pub use square_terminal::*;
|
||||
#[cfg(feature = "account")]
|
||||
|
|
|
|||
|
|
@ -42,9 +42,11 @@ pub fn ListVideo(props: &ListVideoProps) -> Html {
|
|||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M12 12H3" />
|
||||
<path d="M16 6H3" />
|
||||
<path d="M12 18H3" />
|
||||
<path d="m16 12 5 3-5 3v-6Z" />
|
||||
<path d="M16 6H3" />
|
||||
<path
|
||||
d="M21.033 14.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56v-4.704a.645.645 0 0 1 .968-.56z"
|
||||
/>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ pub fn MonitorPlay(props: &MonitorPlayProps) -> Html {
|
|||
stroke-linejoin="round"
|
||||
>
|
||||
<path
|
||||
d="M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z"
|
||||
d="M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z"
|
||||
/>
|
||||
<path d="M12 17v4" />
|
||||
<path d="M8 21h8" />
|
||||
|
|
|
|||
|
|
@ -41,8 +41,8 @@ pub fn Pause(props: &PauseProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<rect x="14" y="4" width="4" height="16" rx="1" />
|
||||
<rect x="6" y="4" width="4" height="16" rx="1" />
|
||||
<rect x="14" y="3" width="5" height="18" rx="1" />
|
||||
<rect x="5" y="3" width="5" height="18" rx="1" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,9 @@ pub fn Play(props: &PlayProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<polygon points="6 3 20 12 6 21 6 3" />
|
||||
<path
|
||||
d="M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z"
|
||||
/>
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,10 +41,10 @@ pub fn RefreshCcwDot(props: &RefreshCcwDotProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M3 2v6h6" />
|
||||
<path d="M21 12A9 9 0 0 0 6 5.3L3 8" />
|
||||
<path d="M21 22v-6h-6" />
|
||||
<path d="M3 12a9 9 0 0 0 15 6.7l3-2.7" />
|
||||
<path d="M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" />
|
||||
<path d="M3 3v5h5" />
|
||||
<path d="M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16" />
|
||||
<path d="M16 16h5v5" />
|
||||
<circle cx="12" cy="12" r="1" />
|
||||
</svg>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,8 +41,8 @@ pub fn Rewind(props: &RewindProps) -> Html {
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<polygon points="11 19 2 12 11 5 11 19" />
|
||||
<polygon points="22 19 13 12 22 5 22 19" />
|
||||
<path d="M12 6a2 2 0 0 0-3.414-1.414l-6 6a2 2 0 0 0 0 2.828l6 6A2 2 0 0 0 12 18z" />
|
||||
<path d="M22 6a2 2 0 0 0-3.414-1.414l-6 6a2 2 0 0 0 0 2.828l6 6A2 2 0 0 0 22 18z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue