mirror of
https://github.com/danbulant/lucide
synced 2026-06-20 15:01:15 +00:00
feat: update to upstream v0.543.0 (#158)
Co-authored-by: rust-for-web[bot] <191031261+rust-for-web[bot]@users.noreply.github.com>
This commit is contained in:
parent
dbf11fa066
commit
86b7fe3d9e
163 changed files with 2013 additions and 808 deletions
|
|
@ -129,12 +129,6 @@ pub fn IconsA1() -> Element {
|
|||
},
|
||||
"Album",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
AlignCenter {}
|
||||
},
|
||||
"Align Center",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
AlignCenterHorizontal {}
|
||||
|
|
@ -207,24 +201,6 @@ pub fn IconsA1() -> Element {
|
|||
},
|
||||
"Align Horizontal Space Between",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
AlignJustify {}
|
||||
},
|
||||
"Align Justify",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
AlignLeft {}
|
||||
},
|
||||
"Align Left",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
AlignRight {}
|
||||
},
|
||||
"Align Right",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
AlignStartHorizontal {}
|
||||
|
|
@ -645,21 +621,6 @@ pub fn IconsA1() -> Element {
|
|||
},
|
||||
"Arrows Up From Line",
|
||||
),
|
||||
];
|
||||
rsx! {
|
||||
for (icon , name) in icons {
|
||||
div {
|
||||
key: "{name}",
|
||||
class: "flex flex-wrap items-center gap-4 text-sm",
|
||||
{icon}
|
||||
span { {name} }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#[component]
|
||||
pub fn IconsA2() -> Element {
|
||||
let icons = [
|
||||
(
|
||||
rsx! {
|
||||
Asterisk {}
|
||||
|
|
@ -684,6 +645,21 @@ pub fn IconsA2() -> Element {
|
|||
},
|
||||
"Audio Lines",
|
||||
),
|
||||
];
|
||||
rsx! {
|
||||
for (icon , name) in icons {
|
||||
div {
|
||||
key: "{name}",
|
||||
class: "flex flex-wrap items-center gap-4 text-sm",
|
||||
{icon}
|
||||
span { {name} }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#[component]
|
||||
pub fn IconsA2() -> Element {
|
||||
let icons = [
|
||||
(
|
||||
rsx! {
|
||||
AudioWaveform {}
|
||||
|
|
@ -5001,6 +4977,12 @@ pub fn IconsH1() -> Element {
|
|||
},
|
||||
"House",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
HouseHeart {}
|
||||
},
|
||||
"House Heart",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
HousePlug {}
|
||||
|
|
@ -5124,18 +5106,6 @@ pub fn IconsI1() -> Element {
|
|||
},
|
||||
"Inbox",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
IndentDecrease {}
|
||||
},
|
||||
"Indent Decrease",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
IndentIncrease {}
|
||||
},
|
||||
"Indent Increase",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
IndianRupee {}
|
||||
|
|
@ -5445,12 +5415,6 @@ pub fn IconsL1() -> Element {
|
|||
},
|
||||
"Lectern",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
LetterText {}
|
||||
},
|
||||
"Letter Text",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
Library {}
|
||||
|
|
@ -5541,6 +5505,12 @@ pub fn IconsL1() -> Element {
|
|||
},
|
||||
"List Chevrons Down Up",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
ListChevronsUpDown {}
|
||||
},
|
||||
"List Chevrons Up Down",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
ListCollapse {}
|
||||
|
|
@ -5565,6 +5535,18 @@ pub fn IconsL1() -> Element {
|
|||
},
|
||||
"List Filter Plus",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
ListIndentDecrease {}
|
||||
},
|
||||
"List Indent Decrease",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
ListIndentIncrease {}
|
||||
},
|
||||
"List Indent Increase",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
ListMinus {}
|
||||
|
|
@ -9261,9 +9243,27 @@ pub fn IconsT1() -> Element {
|
|||
),
|
||||
(
|
||||
rsx! {
|
||||
Text {}
|
||||
TextAlignCenter {}
|
||||
},
|
||||
"Text",
|
||||
"Text Align Center",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
TextAlignEnd {}
|
||||
},
|
||||
"Text Align End",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
TextAlignJustify {}
|
||||
},
|
||||
"Text Align Justify",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
TextAlignStart {}
|
||||
},
|
||||
"Text Align Start",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
|
|
@ -9277,6 +9277,12 @@ pub fn IconsT1() -> Element {
|
|||
},
|
||||
"Text Cursor Input",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
TextInitial {}
|
||||
},
|
||||
"Text Initial",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
TextQuote {}
|
||||
|
|
@ -9295,6 +9301,12 @@ pub fn IconsT1() -> Element {
|
|||
},
|
||||
"Text Select",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
TextWrap {}
|
||||
},
|
||||
"Text Wrap",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
Theater {}
|
||||
|
|
@ -10264,12 +10276,6 @@ pub fn IconsW1() -> Element {
|
|||
},
|
||||
"Worm",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
WrapText {}
|
||||
},
|
||||
"Wrap Text",
|
||||
),
|
||||
(
|
||||
rsx! {
|
||||
Wrench {}
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@ pub fn IconsA() -> impl IntoView {
|
|||
(view! { <AlarmClockPlus /> }.into_any(), "Alarm Clock Plus"),
|
||||
(view! { <AlarmSmoke /> }.into_any(), "Alarm Smoke"),
|
||||
(view! { <Album /> }.into_any(), "Album"),
|
||||
(view! { <AlignCenter /> }.into_any(), "Align Center"),
|
||||
(view! { <AlignCenterHorizontal /> }.into_any(), "Align Center Horizontal"),
|
||||
(view! { <AlignCenterVertical /> }.into_any(), "Align Center Vertical"),
|
||||
(view! { <AlignEndHorizontal /> }.into_any(), "Align End Horizontal"),
|
||||
|
|
@ -89,9 +88,6 @@ pub fn IconsA() -> impl IntoView {
|
|||
view! { <AlignHorizontalSpaceBetween /> }.into_any(),
|
||||
"Align Horizontal Space Between",
|
||||
),
|
||||
(view! { <AlignJustify /> }.into_any(), "Align Justify"),
|
||||
(view! { <AlignLeft /> }.into_any(), "Align Left"),
|
||||
(view! { <AlignRight /> }.into_any(), "Align Right"),
|
||||
(view! { <AlignStartHorizontal /> }.into_any(), "Align Start Horizontal"),
|
||||
(view! { <AlignStartVertical /> }.into_any(), "Align Start Vertical"),
|
||||
(
|
||||
|
|
@ -1010,6 +1006,7 @@ pub fn IconsH() -> impl IntoView {
|
|||
(view! { <Hotel /> }.into_any(), "Hotel"),
|
||||
(view! { <Hourglass /> }.into_any(), "Hourglass"),
|
||||
(view! { <House /> }.into_any(), "House"),
|
||||
(view! { <HouseHeart /> }.into_any(), "House Heart"),
|
||||
(view! { <HousePlug /> }.into_any(), "House Plug"),
|
||||
(view! { <HousePlus /> }.into_any(), "House Plus"),
|
||||
(view! { <HouseWifi /> }.into_any(), "House Wifi"),
|
||||
|
|
@ -1045,8 +1042,6 @@ pub fn IconsI() -> impl IntoView {
|
|||
(view! { <Images /> }.into_any(), "Images"),
|
||||
(view! { <Import /> }.into_any(), "Import"),
|
||||
(view! { <Inbox /> }.into_any(), "Inbox"),
|
||||
(view! { <IndentDecrease /> }.into_any(), "Indent Decrease"),
|
||||
(view! { <IndentIncrease /> }.into_any(), "Indent Increase"),
|
||||
(view! { <IndianRupee /> }.into_any(), "Indian Rupee"),
|
||||
(view! { <Infinity /> }.into_any(), "Infinity"),
|
||||
(view! { <Info /> }.into_any(), "Info"),
|
||||
|
|
@ -1142,7 +1137,6 @@ pub fn IconsL() -> impl IntoView {
|
|||
(view! { <Leaf /> }.into_any(), "Leaf"),
|
||||
(view! { <LeafyGreen /> }.into_any(), "Leafy Green"),
|
||||
(view! { <Lectern /> }.into_any(), "Lectern"),
|
||||
(view! { <LetterText /> }.into_any(), "Letter Text"),
|
||||
(view! { <Library /> }.into_any(), "Library"),
|
||||
(view! { <LibraryBig /> }.into_any(), "Library Big"),
|
||||
(view! { <LifeBuoy /> }.into_any(), "Life Buoy"),
|
||||
|
|
@ -1158,10 +1152,13 @@ pub fn IconsL() -> impl IntoView {
|
|||
(view! { <ListCheck /> }.into_any(), "List Check"),
|
||||
(view! { <ListChecks /> }.into_any(), "List Checks"),
|
||||
(view! { <ListChevronsDownUp /> }.into_any(), "List Chevrons Down Up"),
|
||||
(view! { <ListChevronsUpDown /> }.into_any(), "List Chevrons Up Down"),
|
||||
(view! { <ListCollapse /> }.into_any(), "List Collapse"),
|
||||
(view! { <ListEnd /> }.into_any(), "List End"),
|
||||
(view! { <ListFilter /> }.into_any(), "List Filter"),
|
||||
(view! { <ListFilterPlus /> }.into_any(), "List Filter Plus"),
|
||||
(view! { <ListIndentDecrease /> }.into_any(), "List Indent Decrease"),
|
||||
(view! { <ListIndentIncrease /> }.into_any(), "List Indent Increase"),
|
||||
(view! { <ListMinus /> }.into_any(), "List Minus"),
|
||||
(view! { <ListMusic /> }.into_any(), "List Music"),
|
||||
(view! { <ListOrdered /> }.into_any(), "List Ordered"),
|
||||
|
|
@ -1890,12 +1887,17 @@ pub fn IconsT() -> impl IntoView {
|
|||
(view! { <TestTube /> }.into_any(), "Test Tube"),
|
||||
(view! { <TestTubeDiagonal /> }.into_any(), "Test Tube Diagonal"),
|
||||
(view! { <TestTubes /> }.into_any(), "Test Tubes"),
|
||||
(view! { <Text /> }.into_any(), "Text"),
|
||||
(view! { <TextAlignCenter /> }.into_any(), "Text Align Center"),
|
||||
(view! { <TextAlignEnd /> }.into_any(), "Text Align End"),
|
||||
(view! { <TextAlignJustify /> }.into_any(), "Text Align Justify"),
|
||||
(view! { <TextAlignStart /> }.into_any(), "Text Align Start"),
|
||||
(view! { <TextCursor /> }.into_any(), "Text Cursor"),
|
||||
(view! { <TextCursorInput /> }.into_any(), "Text Cursor Input"),
|
||||
(view! { <TextInitial /> }.into_any(), "Text Initial"),
|
||||
(view! { <TextQuote /> }.into_any(), "Text Quote"),
|
||||
(view! { <TextSearch /> }.into_any(), "Text Search"),
|
||||
(view! { <TextSelect /> }.into_any(), "Text Select"),
|
||||
(view! { <TextWrap /> }.into_any(), "Text Wrap"),
|
||||
(view! { <Theater /> }.into_any(), "Theater"),
|
||||
(view! { <Thermometer /> }.into_any(), "Thermometer"),
|
||||
(view! { <ThermometerSnowflake /> }.into_any(), "Thermometer Snowflake"),
|
||||
|
|
@ -2101,7 +2103,6 @@ pub fn IconsW() -> impl IntoView {
|
|||
(view! { <WineOff /> }.into_any(), "Wine Off"),
|
||||
(view! { <Workflow /> }.into_any(), "Workflow"),
|
||||
(view! { <Worm /> }.into_any(), "Worm"),
|
||||
(view! { <WrapText /> }.into_any(), "Wrap Text"),
|
||||
(view! { <Wrench /> }.into_any(), "Wrench"),
|
||||
]
|
||||
key=|icon| icon.1
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ pub fn IconsA() -> Html {
|
|||
(html! { <AlarmClockPlus /> }, "Alarm Clock Plus"),
|
||||
(html! { <AlarmSmoke /> }, "Alarm Smoke"),
|
||||
(html! { <Album /> }, "Album"),
|
||||
(html! { <AlignCenter /> }, "Align Center"),
|
||||
(
|
||||
html! { <AlignCenterHorizontal /> },
|
||||
"Align Center Horizontal",
|
||||
|
|
@ -90,9 +89,6 @@ pub fn IconsA() -> Html {
|
|||
html! { <AlignHorizontalSpaceBetween /> },
|
||||
"Align Horizontal Space Between",
|
||||
),
|
||||
(html! { <AlignJustify /> }, "Align Justify"),
|
||||
(html! { <AlignLeft /> }, "Align Left"),
|
||||
(html! { <AlignRight /> }, "Align Right"),
|
||||
(html! { <AlignStartHorizontal /> }, "Align Start Horizontal"),
|
||||
(html! { <AlignStartVertical /> }, "Align Start Vertical"),
|
||||
(
|
||||
|
|
@ -1040,6 +1036,7 @@ pub fn IconsH() -> Html {
|
|||
(html! { <Hotel /> }, "Hotel"),
|
||||
(html! { <Hourglass /> }, "Hourglass"),
|
||||
(html! { <House /> }, "House"),
|
||||
(html! { <HouseHeart /> }, "House Heart"),
|
||||
(html! { <HousePlug /> }, "House Plug"),
|
||||
(html! { <HousePlus /> }, "House Plus"),
|
||||
(html! { <HouseWifi /> }, "House Wifi"),
|
||||
|
|
@ -1074,8 +1071,6 @@ pub fn IconsI() -> Html {
|
|||
(html! { <Images /> }, "Images"),
|
||||
(html! { <Import /> }, "Import"),
|
||||
(html! { <Inbox /> }, "Inbox"),
|
||||
(html! { <IndentDecrease /> }, "Indent Decrease"),
|
||||
(html! { <IndentIncrease /> }, "Indent Increase"),
|
||||
(html! { <IndianRupee /> }, "Indian Rupee"),
|
||||
(html! { <Infinity /> }, "Infinity"),
|
||||
(html! { <Info /> }, "Info"),
|
||||
|
|
@ -1168,7 +1163,6 @@ pub fn IconsL() -> Html {
|
|||
(html! { <Leaf /> }, "Leaf"),
|
||||
(html! { <LeafyGreen /> }, "Leafy Green"),
|
||||
(html! { <Lectern /> }, "Lectern"),
|
||||
(html! { <LetterText /> }, "Letter Text"),
|
||||
(html! { <Library /> }, "Library"),
|
||||
(html! { <LibraryBig /> }, "Library Big"),
|
||||
(html! { <LifeBuoy /> }, "Life Buoy"),
|
||||
|
|
@ -1184,10 +1178,13 @@ pub fn IconsL() -> Html {
|
|||
(html! { <ListCheck /> }, "List Check"),
|
||||
(html! { <ListChecks /> }, "List Checks"),
|
||||
(html! { <ListChevronsDownUp /> }, "List Chevrons Down Up"),
|
||||
(html! { <ListChevronsUpDown /> }, "List Chevrons Up Down"),
|
||||
(html! { <ListCollapse /> }, "List Collapse"),
|
||||
(html! { <ListEnd /> }, "List End"),
|
||||
(html! { <ListFilter /> }, "List Filter"),
|
||||
(html! { <ListFilterPlus /> }, "List Filter Plus"),
|
||||
(html! { <ListIndentDecrease /> }, "List Indent Decrease"),
|
||||
(html! { <ListIndentIncrease /> }, "List Indent Increase"),
|
||||
(html! { <ListMinus /> }, "List Minus"),
|
||||
(html! { <ListMusic /> }, "List Music"),
|
||||
(html! { <ListOrdered /> }, "List Ordered"),
|
||||
|
|
@ -1941,12 +1938,17 @@ pub fn IconsT() -> Html {
|
|||
(html! { <TestTube /> }, "Test Tube"),
|
||||
(html! { <TestTubeDiagonal /> }, "Test Tube Diagonal"),
|
||||
(html! { <TestTubes /> }, "Test Tubes"),
|
||||
(html! { <Text /> }, "Text"),
|
||||
(html! { <TextAlignCenter /> }, "Text Align Center"),
|
||||
(html! { <TextAlignEnd /> }, "Text Align End"),
|
||||
(html! { <TextAlignJustify /> }, "Text Align Justify"),
|
||||
(html! { <TextAlignStart /> }, "Text Align Start"),
|
||||
(html! { <TextCursor /> }, "Text Cursor"),
|
||||
(html! { <TextCursorInput /> }, "Text Cursor Input"),
|
||||
(html! { <TextInitial /> }, "Text Initial"),
|
||||
(html! { <TextQuote /> }, "Text Quote"),
|
||||
(html! { <TextSearch /> }, "Text Search"),
|
||||
(html! { <TextSelect /> }, "Text Select"),
|
||||
(html! { <TextWrap /> }, "Text Wrap"),
|
||||
(html! { <Theater /> }, "Theater"),
|
||||
(html! { <Thermometer /> }, "Thermometer"),
|
||||
(html! { <ThermometerSnowflake /> }, "Thermometer Snowflake"),
|
||||
|
|
@ -2149,7 +2151,6 @@ pub fn IconsW() -> Html {
|
|||
(html! { <WineOff /> }, "Wine Off"),
|
||||
(html! { <Workflow /> }, "Workflow"),
|
||||
(html! { <Worm /> }, "Worm"),
|
||||
(html! { <WrapText /> }, "Wrap Text"),
|
||||
(html! { <Wrench /> }, "Wrench"),
|
||||
];
|
||||
icons
|
||||
|
|
|
|||
|
|
@ -34,17 +34,17 @@ pub fn Bug(props: BugProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "m8 2 1.88 1.88" }
|
||||
path { "d": "M14.12 3.88 16 2" }
|
||||
path { "d": "M9 7.13v-1a3.003 3.003 0 1 1 6 0v1" }
|
||||
path { "d": "M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6" }
|
||||
path { "d": "M12 20v-9" }
|
||||
path { "d": "M6.53 9C4.6 8.8 3 7.1 3 5" }
|
||||
path { "d": "M6 13H2" }
|
||||
path { "d": "M3 21c0-2.1 1.7-3.9 3.8-4" }
|
||||
path { "d": "M20.97 5c0 2.1-1.6 3.8-3.5 4" }
|
||||
path { "d": "M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z" }
|
||||
path { "d": "M14.12 3.88 16 2" }
|
||||
path { "d": "M21 21a4 4 0 0 0-3.81-4" }
|
||||
path { "d": "M21 5a4 4 0 0 1-3.55 3.97" }
|
||||
path { "d": "M22 13h-4" }
|
||||
path { "d": "M17.2 17c2.1.1 3.8 1.9 3.8 4" }
|
||||
path { "d": "M3 21a4 4 0 0 1 3.81-4" }
|
||||
path { "d": "M3 5a4 4 0 0 0 3.55 3.97" }
|
||||
path { "d": "M6 13H2" }
|
||||
path { "d": "m8 2 1.88 1.88" }
|
||||
path { "d": "M9 7.13V6a3 3 0 1 1 6 0v1.13" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,15 +34,16 @@ pub fn BugOff(props: BugOffProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M15 7.13V6a3 3 0 0 0-5.14-2.1L8 2" }
|
||||
path { "d": "M14.12 3.88 16 2" }
|
||||
path { "d": "M22 13h-4v-2a4 4 0 0 0-4-4h-1.3" }
|
||||
path { "d": "M20.97 5c0 2.1-1.6 3.8-3.5 4" }
|
||||
path { "d": "m2 2 20 20" }
|
||||
path { "d": "M7.7 7.7A4 4 0 0 0 6 11v3a6 6 0 0 0 11.13 3.13" }
|
||||
path { "d": "M12 20v-8" }
|
||||
path { "d": "M14.12 3.88 16 2" }
|
||||
path { "d": "M15 7.13V6a3 3 0 0 0-5.14-2.1L8 2" }
|
||||
path { "d": "M18 12.34V11a4 4 0 0 0-4-4h-1.3" }
|
||||
path { "d": "m2 2 20 20" }
|
||||
path { "d": "M21 5a4 4 0 0 1-3.55 3.97" }
|
||||
path { "d": "M22 13h-3.34" }
|
||||
path { "d": "M3 21a4 4 0 0 1 3.81-4" }
|
||||
path { "d": "M6 13H2" }
|
||||
path { "d": "M3 21c0-2.1 1.7-3.9 3.8-4" }
|
||||
path { "d": "M7.7 7.7A4 4 0 0 0 6 11v3a6 6 0 0 0 11.13 3.13" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,12 +37,12 @@ pub fn BugPlay(props: BugPlayProps) -> Element {
|
|||
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": "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": "M21 5a4 4 0 0 1-3.55 3.97" }
|
||||
path { "d": "M3 21a4 4 0 0 1 3.81-4" }
|
||||
path { "d": "M3 5a4 4 0 0 0 3.55 3.97" }
|
||||
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 3 0 0 1 4.18-2.895 3 3 0 0 1 1.821 2.896v1" }
|
||||
path { "d": "M9 7.13V6a3 3 0 1 1 6 0v1.13" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ pub fn CalendarCog(props: CalendarCogProps) -> Element {
|
|||
path { "d": "m19.53 21.696-.382-.924" }
|
||||
path { "d": "m20.772 16.852.924-.383" }
|
||||
path { "d": "m20.772 19.148.924.383" }
|
||||
path { "d": "M21 11V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6" }
|
||||
path { "d": "M21 10.592V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6" }
|
||||
path { "d": "M3 10h18" }
|
||||
path { "d": "M8 2v4" }
|
||||
circle { "cx": "18", "cy": "18", "r": "3" }
|
||||
|
|
|
|||
|
|
@ -34,24 +34,9 @@ pub fn ChartNoAxesColumn(props: ChartNoAxesColumnProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
line {
|
||||
"x1": "18",
|
||||
"x2": "18",
|
||||
"y1": "20",
|
||||
"y2": "10",
|
||||
}
|
||||
line {
|
||||
"x1": "12",
|
||||
"x2": "12",
|
||||
"y1": "20",
|
||||
"y2": "4",
|
||||
}
|
||||
line {
|
||||
"x1": "6",
|
||||
"x2": "6",
|
||||
"y1": "20",
|
||||
"y2": "14",
|
||||
}
|
||||
path { "d": "M5 21v-6" }
|
||||
path { "d": "M12 21V3" }
|
||||
path { "d": "M19 21V9" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ pub fn ChartNoAxesColumnDecreasing(props: ChartNoAxesColumnDecreasingProps) -> E
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M12 20V10" }
|
||||
path { "d": "M18 20v-4" }
|
||||
path { "d": "M6 20V4" }
|
||||
path { "d": "M5 21V3" }
|
||||
path { "d": "M12 21V9" }
|
||||
path { "d": "M19 21v-6" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,24 +34,9 @@ pub fn ChartNoAxesColumnIncreasing(props: ChartNoAxesColumnIncreasingProps) -> E
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
line {
|
||||
"x1": "12",
|
||||
"x2": "12",
|
||||
"y1": "20",
|
||||
"y2": "10",
|
||||
}
|
||||
line {
|
||||
"x1": "18",
|
||||
"x2": "18",
|
||||
"y1": "20",
|
||||
"y2": "4",
|
||||
}
|
||||
line {
|
||||
"x1": "6",
|
||||
"x2": "6",
|
||||
"y1": "20",
|
||||
"y2": "16",
|
||||
}
|
||||
path { "d": "M5 21v-6" }
|
||||
path { "d": "M12 21V9" }
|
||||
path { "d": "M19 21V3" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ pub fn ChartNoAxesGantt(props: ChartNoAxesGanttProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M8 6h10" }
|
||||
path { "d": "M6 12h9" }
|
||||
path { "d": "M11 18h7" }
|
||||
path { "d": "M6 5h12" }
|
||||
path { "d": "M4 12h10" }
|
||||
path { "d": "M12 19h8" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,9 +36,9 @@ pub fn Church(props: ChurchProps) -> Element {
|
|||
"stroke-linejoin": "round",
|
||||
path { "d": "M10 9h4" }
|
||||
path { "d": "M12 7v5" }
|
||||
path { "d": "M14 22v-4a2 2 0 0 0-4 0v4" }
|
||||
path { "d": "M18 22V5.618a1 1 0 0 0-.553-.894l-4.553-2.277a2 2 0 0 0-1.788 0L6.553 4.724A1 1 0 0 0 6 5.618V22" }
|
||||
path { "d": "m18 7 3.447 1.724a1 1 0 0 1 .553.894V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.618a1 1 0 0 1 .553-.894L6 7" }
|
||||
path { "d": "M14 21v-3a2 2 0 0 0-4 0v3" }
|
||||
path { "d": "m18 9 3.52 2.147a1 1 0 0 1 .48.854V19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-6.999a1 1 0 0 1 .48-.854L6 9" }
|
||||
path { "d": "M6 21V7a1 1 0 0 1 .376-.782l5-3.999a1 1 0 0 1 1.249.001l5 4A1 1 0 0 1 18 7v14" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ pub fn House(props: HouseProps) -> Element {
|
|||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8" }
|
||||
path { "d": "M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }
|
||||
path { "d": "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
41
packages/dioxus/src/house_heart.rs
Normal file
41
packages/dioxus/src/house_heart.rs
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct HouseHeartProps {
|
||||
#[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 HouseHeart(props: HouseHeartProps) -> 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": "M8.62 13.8A2.25 2.25 0 1 1 12 10.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z" }
|
||||
path { "d": "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -37,7 +37,7 @@ pub fn HousePlug(props: HousePlugProps) -> Element {
|
|||
path { "d": "M10 12V8.964" }
|
||||
path { "d": "M14 12V8.964" }
|
||||
path { "d": "M15 12a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-2a1 1 0 0 1 1-1z" }
|
||||
path { "d": "M8.5 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-2" }
|
||||
path { "d": "M8.5 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-2" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ pub fn HousePlus(props: HousePlusProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M12.662 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v2.475" }
|
||||
path { "d": "M14.959 12.717A1 1 0 0 0 14 12h-4a1 1 0 0 0-1 1v8" }
|
||||
path { "d": "M12.35 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .71-1.53l7-6a2 2 0 0 1 2.58 0l7 6A2 2 0 0 1 21 10v2.35" }
|
||||
path { "d": "M14.8 12.4A1 1 0 0 0 14 12h-4a1 1 0 0 0-1 1v8" }
|
||||
path { "d": "M15 18h6" }
|
||||
path { "d": "M18 15v6" }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ pub fn HouseWifi(props: HouseWifiProps) -> Element {
|
|||
"stroke-linejoin": "round",
|
||||
path { "d": "M9.5 13.866a4 4 0 0 1 5 .01" }
|
||||
path { "d": "M12 17h.01" }
|
||||
path { "d": "M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }
|
||||
path { "d": "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }
|
||||
path { "d": "M7 10.754a8 8 0 0 1 10 0" }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ pub fn Kanban(props: KanbanProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M6 5v11" }
|
||||
path { "d": "M12 5v6" }
|
||||
path { "d": "M18 5v14" }
|
||||
path { "d": "M5 3v14" }
|
||||
path { "d": "M12 3v8" }
|
||||
path { "d": "M19 3v18" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,8 +43,6 @@ mod alarm_clock_plus;
|
|||
mod alarm_smoke;
|
||||
#[cfg(any(feature = "photography", feature = "multimedia"))]
|
||||
mod album;
|
||||
#[cfg(feature = "text")]
|
||||
mod align_center;
|
||||
#[cfg(feature = "layout")]
|
||||
mod align_center_horizontal;
|
||||
#[cfg(feature = "layout")]
|
||||
|
|
@ -69,12 +67,6 @@ mod align_horizontal_justify_start;
|
|||
mod align_horizontal_space_around;
|
||||
#[cfg(feature = "layout")]
|
||||
mod align_horizontal_space_between;
|
||||
#[cfg(feature = "text")]
|
||||
mod align_justify;
|
||||
#[cfg(feature = "text")]
|
||||
mod align_left;
|
||||
#[cfg(feature = "text")]
|
||||
mod align_right;
|
||||
#[cfg(feature = "layout")]
|
||||
mod align_start_horizontal;
|
||||
#[cfg(feature = "layout")]
|
||||
|
|
@ -1936,6 +1928,8 @@ mod hotel;
|
|||
mod hourglass;
|
||||
#[cfg(any(feature = "buildings", feature = "home"))]
|
||||
mod house;
|
||||
#[cfg(any(feature = "home", feature = "buildings", feature = "medical"))]
|
||||
mod house_heart;
|
||||
#[cfg(any(feature = "buildings", feature = "home", feature = "sustainability"))]
|
||||
mod house_plug;
|
||||
#[cfg(any(feature = "buildings", feature = "medical"))]
|
||||
|
|
@ -1997,10 +1991,6 @@ mod images;
|
|||
mod import;
|
||||
#[cfg(any(feature = "account", feature = "mail"))]
|
||||
mod inbox;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
mod indent_decrease;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
mod indent_increase;
|
||||
#[cfg(feature = "finance")]
|
||||
mod indian_rupee;
|
||||
#[cfg(feature = "multimedia")]
|
||||
|
|
@ -2104,8 +2094,6 @@ mod leaf;
|
|||
mod leafy_green;
|
||||
#[cfg(any(feature = "communication", feature = "multimedia"))]
|
||||
mod lectern;
|
||||
#[cfg(feature = "text")]
|
||||
mod letter_text;
|
||||
#[cfg(any(
|
||||
feature = "text",
|
||||
feature = "photography",
|
||||
|
|
@ -2148,6 +2136,8 @@ mod list_check;
|
|||
mod list_checks;
|
||||
#[cfg(any(feature = "text", feature = "arrows"))]
|
||||
mod list_chevrons_down_up;
|
||||
#[cfg(any(feature = "text", feature = "arrows"))]
|
||||
mod list_chevrons_up_down;
|
||||
#[cfg(feature = "text")]
|
||||
mod list_collapse;
|
||||
#[cfg(any(feature = "multimedia", feature = "text"))]
|
||||
|
|
@ -2156,6 +2146,10 @@ mod list_end;
|
|||
mod list_filter;
|
||||
#[cfg(any(feature = "text", feature = "layout"))]
|
||||
mod list_filter_plus;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
mod list_indent_decrease;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
mod list_indent_increase;
|
||||
#[cfg(any(feature = "multimedia", feature = "text"))]
|
||||
mod list_minus;
|
||||
#[cfg(feature = "multimedia")]
|
||||
|
|
@ -3715,18 +3709,28 @@ mod test_tube;
|
|||
mod test_tube_diagonal;
|
||||
#[cfg(feature = "science")]
|
||||
mod test_tubes;
|
||||
#[cfg(any(feature = "text", feature = "files", feature = "cursors"))]
|
||||
mod text;
|
||||
#[cfg(feature = "text")]
|
||||
mod text_align_center;
|
||||
#[cfg(feature = "text")]
|
||||
mod text_align_end;
|
||||
#[cfg(feature = "text")]
|
||||
mod text_align_justify;
|
||||
#[cfg(feature = "text")]
|
||||
mod text_align_start;
|
||||
#[cfg(any(feature = "text", feature = "cursors"))]
|
||||
mod text_cursor;
|
||||
#[cfg(any(feature = "text", feature = "layout"))]
|
||||
mod text_cursor_input;
|
||||
#[cfg(feature = "text")]
|
||||
mod text_initial;
|
||||
#[cfg(feature = "text")]
|
||||
mod text_quote;
|
||||
#[cfg(feature = "text")]
|
||||
mod text_search;
|
||||
#[cfg(any(feature = "text", feature = "cursors"))]
|
||||
mod text_select;
|
||||
#[cfg(any(feature = "text", feature = "arrows"))]
|
||||
mod text_wrap;
|
||||
#[cfg(any(feature = "buildings", feature = "social"))]
|
||||
mod theater;
|
||||
#[cfg(feature = "weather")]
|
||||
|
|
@ -4120,8 +4124,6 @@ mod wine_off;
|
|||
mod workflow;
|
||||
#[cfg(any(feature = "animals", feature = "security"))]
|
||||
mod worm;
|
||||
#[cfg(any(feature = "text", feature = "arrows"))]
|
||||
mod wrap_text;
|
||||
#[cfg(any(feature = "account", feature = "development", feature = "tools"))]
|
||||
mod wrench;
|
||||
#[cfg(any(feature = "notifications", feature = "math"))]
|
||||
|
|
@ -4198,8 +4200,6 @@ pub use alarm_clock_plus::*;
|
|||
pub use alarm_smoke::*;
|
||||
#[cfg(any(feature = "photography", feature = "multimedia"))]
|
||||
pub use album::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use align_center::*;
|
||||
#[cfg(feature = "layout")]
|
||||
pub use align_center_horizontal::*;
|
||||
#[cfg(feature = "layout")]
|
||||
|
|
@ -4224,12 +4224,6 @@ pub use align_horizontal_justify_start::*;
|
|||
pub use align_horizontal_space_around::*;
|
||||
#[cfg(feature = "layout")]
|
||||
pub use align_horizontal_space_between::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use align_justify::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use align_left::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use align_right::*;
|
||||
#[cfg(feature = "layout")]
|
||||
pub use align_start_horizontal::*;
|
||||
#[cfg(feature = "layout")]
|
||||
|
|
@ -6091,6 +6085,8 @@ pub use hotel::*;
|
|||
pub use hourglass::*;
|
||||
#[cfg(any(feature = "buildings", feature = "home"))]
|
||||
pub use house::*;
|
||||
#[cfg(any(feature = "home", feature = "buildings", feature = "medical"))]
|
||||
pub use house_heart::*;
|
||||
#[cfg(any(feature = "buildings", feature = "home", feature = "sustainability"))]
|
||||
pub use house_plug::*;
|
||||
#[cfg(any(feature = "buildings", feature = "medical"))]
|
||||
|
|
@ -6152,10 +6148,6 @@ pub use images::*;
|
|||
pub use import::*;
|
||||
#[cfg(any(feature = "account", feature = "mail"))]
|
||||
pub use inbox::*;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
pub use indent_decrease::*;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
pub use indent_increase::*;
|
||||
#[cfg(feature = "finance")]
|
||||
pub use indian_rupee::*;
|
||||
#[cfg(feature = "multimedia")]
|
||||
|
|
@ -6259,8 +6251,6 @@ pub use leaf::*;
|
|||
pub use leafy_green::*;
|
||||
#[cfg(any(feature = "communication", feature = "multimedia"))]
|
||||
pub use lectern::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use letter_text::*;
|
||||
#[cfg(any(
|
||||
feature = "text",
|
||||
feature = "photography",
|
||||
|
|
@ -6303,6 +6293,8 @@ pub use list_check::*;
|
|||
pub use list_checks::*;
|
||||
#[cfg(any(feature = "text", feature = "arrows"))]
|
||||
pub use list_chevrons_down_up::*;
|
||||
#[cfg(any(feature = "text", feature = "arrows"))]
|
||||
pub use list_chevrons_up_down::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use list_collapse::*;
|
||||
#[cfg(any(feature = "multimedia", feature = "text"))]
|
||||
|
|
@ -6311,6 +6303,10 @@ pub use list_end::*;
|
|||
pub use list_filter::*;
|
||||
#[cfg(any(feature = "text", feature = "layout"))]
|
||||
pub use list_filter_plus::*;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
pub use list_indent_decrease::*;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
pub use list_indent_increase::*;
|
||||
#[cfg(any(feature = "multimedia", feature = "text"))]
|
||||
pub use list_minus::*;
|
||||
#[cfg(feature = "multimedia")]
|
||||
|
|
@ -7870,18 +7866,28 @@ pub use test_tube::*;
|
|||
pub use test_tube_diagonal::*;
|
||||
#[cfg(feature = "science")]
|
||||
pub use test_tubes::*;
|
||||
#[cfg(any(feature = "text", feature = "files", feature = "cursors"))]
|
||||
pub use text::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use text_align_center::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use text_align_end::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use text_align_justify::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use text_align_start::*;
|
||||
#[cfg(any(feature = "text", feature = "cursors"))]
|
||||
pub use text_cursor::*;
|
||||
#[cfg(any(feature = "text", feature = "layout"))]
|
||||
pub use text_cursor_input::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use text_initial::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use text_quote::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use text_search::*;
|
||||
#[cfg(any(feature = "text", feature = "cursors"))]
|
||||
pub use text_select::*;
|
||||
#[cfg(any(feature = "text", feature = "arrows"))]
|
||||
pub use text_wrap::*;
|
||||
#[cfg(any(feature = "buildings", feature = "social"))]
|
||||
pub use theater::*;
|
||||
#[cfg(feature = "weather")]
|
||||
|
|
@ -8275,8 +8281,6 @@ pub use wine_off::*;
|
|||
pub use workflow::*;
|
||||
#[cfg(any(feature = "animals", feature = "security"))]
|
||||
pub use worm::*;
|
||||
#[cfg(any(feature = "text", feature = "arrows"))]
|
||||
pub use wrap_text::*;
|
||||
#[cfg(any(feature = "account", feature = "development", feature = "tools"))]
|
||||
pub use wrench::*;
|
||||
#[cfg(any(feature = "notifications", feature = "math"))]
|
||||
|
|
|
|||
|
|
@ -34,12 +34,12 @@ pub fn List(props: ListProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M3 5h.01" }
|
||||
path { "d": "M3 12h.01" }
|
||||
path { "d": "M3 18h.01" }
|
||||
path { "d": "M3 6h.01" }
|
||||
path { "d": "M3 19h.01" }
|
||||
path { "d": "M8 5h13" }
|
||||
path { "d": "M8 12h13" }
|
||||
path { "d": "M8 18h13" }
|
||||
path { "d": "M8 6h13" }
|
||||
path { "d": "M8 19h13" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,10 +34,10 @@ pub fn ListCheck(props: ListCheckProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M11 18H3" }
|
||||
path { "d": "m15 18 2 2 4-4" }
|
||||
path { "d": "M16 5H3" }
|
||||
path { "d": "M16 12H3" }
|
||||
path { "d": "M16 6H3" }
|
||||
path { "d": "M11 19H3" }
|
||||
path { "d": "m15 18 2 2 4-4" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,11 +34,11 @@ pub fn ListChecks(props: ListChecksProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M13 5h8" }
|
||||
path { "d": "M13 12h8" }
|
||||
path { "d": "M13 19h8" }
|
||||
path { "d": "m3 17 2 2 4-4" }
|
||||
path { "d": "m3 7 2 2 4-4" }
|
||||
path { "d": "M13 6h8" }
|
||||
path { "d": "M13 12h8" }
|
||||
path { "d": "M13 18h8" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,11 +34,11 @@ pub fn ListChevronsDownUp(props: ListChevronsDownUpProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "m15 18 3-3 3 3" }
|
||||
path { "d": "m15 6 3 3 3-3" }
|
||||
path { "d": "M3 5h8" }
|
||||
path { "d": "M3 12h8" }
|
||||
path { "d": "M3 18h8" }
|
||||
path { "d": "M3 6h8" }
|
||||
path { "d": "M3 19h8" }
|
||||
path { "d": "m15 5 3 3 3-3" }
|
||||
path { "d": "m15 19 3-3 3 3" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
44
packages/dioxus/src/list_chevrons_up_down.rs
Normal file
44
packages/dioxus/src/list_chevrons_up_down.rs
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct ListChevronsUpDownProps {
|
||||
#[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 ListChevronsUpDown(props: ListChevronsUpDownProps) -> 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": "M3 5h8" }
|
||||
path { "d": "M3 12h8" }
|
||||
path { "d": "M3 19h8" }
|
||||
path { "d": "m15 8 3-3 3 3" }
|
||||
path { "d": "m15 16 3 3 3-3" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -34,9 +34,9 @@ pub fn ListCollapse(props: ListCollapseProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M10 5h11" }
|
||||
path { "d": "M10 12h11" }
|
||||
path { "d": "M10 18h11" }
|
||||
path { "d": "M10 6h11" }
|
||||
path { "d": "M10 19h11" }
|
||||
path { "d": "m3 10 3-3-3-3" }
|
||||
path { "d": "m3 20 3-3-3-3" }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,11 +34,11 @@ pub fn ListEnd(props: ListEndProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M16 5H3" }
|
||||
path { "d": "M16 12H3" }
|
||||
path { "d": "M16 6H3" }
|
||||
path { "d": "M10 18H3" }
|
||||
path { "d": "M21 6v10a2 2 0 0 1-2 2h-5" }
|
||||
path { "d": "m16 16-2 2 2 2" }
|
||||
path { "d": "M9 19H3" }
|
||||
path { "d": "m16 16-3 3 3 3" }
|
||||
path { "d": "M21 5v12a2 2 0 0 1-2 2h-6" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ pub fn ListFilter(props: ListFilterProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M3 6h18" }
|
||||
path { "d": "M7 12h10" }
|
||||
path { "d": "M10 18h4" }
|
||||
path { "d": "M2 5h20" }
|
||||
path { "d": "M6 12h12" }
|
||||
path { "d": "M9 19h6" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,11 +34,11 @@ pub fn ListFilterPlus(props: ListFilterPlusProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M10 18h4" }
|
||||
path { "d": "M11 6H3" }
|
||||
path { "d": "M15 6h6" }
|
||||
path { "d": "M18 9V3" }
|
||||
path { "d": "M7 12h8" }
|
||||
path { "d": "M12 5H2" }
|
||||
path { "d": "M6 12h12" }
|
||||
path { "d": "M9 19h6" }
|
||||
path { "d": "M16 5h6" }
|
||||
path { "d": "M19 8V2" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
43
packages/dioxus/src/list_indent_decrease.rs
Normal file
43
packages/dioxus/src/list_indent_decrease.rs
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct ListIndentDecreaseProps {
|
||||
#[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 ListIndentDecrease(props: ListIndentDecreaseProps) -> 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": "M21 5H11" }
|
||||
path { "d": "M21 12H11" }
|
||||
path { "d": "M21 19H11" }
|
||||
path { "d": "m7 8-4 4 4 4" }
|
||||
}
|
||||
}
|
||||
}
|
||||
43
packages/dioxus/src/list_indent_increase.rs
Normal file
43
packages/dioxus/src/list_indent_increase.rs
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct ListIndentIncreaseProps {
|
||||
#[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 ListIndentIncrease(props: ListIndentIncreaseProps) -> 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": "M21 5H11" }
|
||||
path { "d": "M21 12H11" }
|
||||
path { "d": "M21 19H11" }
|
||||
path { "d": "m3 8 4 4-4 4" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -34,9 +34,9 @@ pub fn ListMinus(props: ListMinusProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M16 5H3" }
|
||||
path { "d": "M11 12H3" }
|
||||
path { "d": "M16 6H3" }
|
||||
path { "d": "M16 18H3" }
|
||||
path { "d": "M16 19H3" }
|
||||
path { "d": "M21 12h-6" }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,11 +34,11 @@ pub fn ListMusic(props: ListMusicProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M21 15V6" }
|
||||
path { "d": "M18.5 18a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z" }
|
||||
path { "d": "M12 12H3" }
|
||||
path { "d": "M16 6H3" }
|
||||
path { "d": "M12 18H3" }
|
||||
path { "d": "M16 5H3" }
|
||||
path { "d": "M11 12H3" }
|
||||
path { "d": "M11 19H3" }
|
||||
path { "d": "M21 16V5" }
|
||||
circle { "cx": "18", "cy": "16", "r": "3" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,12 +34,12 @@ pub fn ListOrdered(props: ListOrderedProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M10 12h11" }
|
||||
path { "d": "M10 18h11" }
|
||||
path { "d": "M10 6h11" }
|
||||
path { "d": "M4 10h2" }
|
||||
path { "d": "M4 6h1v4" }
|
||||
path { "d": "M6 18H4c0-1 2-2 2-3s-1-1.5-2-1" }
|
||||
path { "d": "M11 5h10" }
|
||||
path { "d": "M11 12h10" }
|
||||
path { "d": "M11 19h10" }
|
||||
path { "d": "M4 4h1v5" }
|
||||
path { "d": "M4 9h2" }
|
||||
path { "d": "M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ pub fn ListPlus(props: ListPlusProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M16 5H3" }
|
||||
path { "d": "M11 12H3" }
|
||||
path { "d": "M16 6H3" }
|
||||
path { "d": "M16 18H3" }
|
||||
path { "d": "M16 19H3" }
|
||||
path { "d": "M18 9v6" }
|
||||
path { "d": "M21 12h-6" }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ pub fn ListRestart(props: ListRestartProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M21 6H3" }
|
||||
path { "d": "M21 5H3" }
|
||||
path { "d": "M7 12H3" }
|
||||
path { "d": "M7 18H3" }
|
||||
path { "d": "M7 19H3" }
|
||||
path { "d": "M12 18a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L11 14" }
|
||||
path { "d": "M11 10v4h4" }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,11 +34,11 @@ pub fn ListStart(props: ListStartProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M16 12H3" }
|
||||
path { "d": "M16 18H3" }
|
||||
path { "d": "M10 6H3" }
|
||||
path { "d": "M21 18V8a2 2 0 0 0-2-2h-5" }
|
||||
path { "d": "m16 8-2-2 2-2" }
|
||||
path { "d": "M3 5h6" }
|
||||
path { "d": "M3 12h13" }
|
||||
path { "d": "M3 19h13" }
|
||||
path { "d": "m16 8-3-3 3-3" }
|
||||
path { "d": "M21 19V7a2 2 0 0 0-2-2h-6" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,17 +34,17 @@ pub fn ListTodo(props: ListTodoProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M13 5h8" }
|
||||
path { "d": "M13 12h8" }
|
||||
path { "d": "M13 19h8" }
|
||||
path { "d": "m3 17 2 2 4-4" }
|
||||
rect {
|
||||
"x": "3",
|
||||
"y": "5",
|
||||
"y": "4",
|
||||
"width": "6",
|
||||
"height": "6",
|
||||
"rx": "1",
|
||||
}
|
||||
path { "d": "m3 17 2 2 4-4" }
|
||||
path { "d": "M13 6h8" }
|
||||
path { "d": "M13 12h8" }
|
||||
path { "d": "M13 18h8" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,11 +34,11 @@ pub fn ListTree(props: ListTreeProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M21 12h-8" }
|
||||
path { "d": "M21 6H8" }
|
||||
path { "d": "M21 18h-8" }
|
||||
path { "d": "M3 6v4c0 1.1.9 2 2 2h3" }
|
||||
path { "d": "M3 10v6c0 1.1.9 2 2 2h3" }
|
||||
path { "d": "M8 5h13" }
|
||||
path { "d": "M13 12h8" }
|
||||
path { "d": "M13 19h8" }
|
||||
path { "d": "M3 10a2 2 0 0 0 2 2h3" }
|
||||
path { "d": "M3 5v12a2 2 0 0 0 2 2h3" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,10 +34,10 @@ pub fn ListVideo(props: ListVideoProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M12 12H3" }
|
||||
path { "d": "M12 18H3" }
|
||||
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" }
|
||||
path { "d": "M21 5H3" }
|
||||
path { "d": "M10 12H3" }
|
||||
path { "d": "M10 19H3" }
|
||||
path { "d": "M15 12.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" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,11 +34,11 @@ pub fn ListX(props: ListXProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M16 5H3" }
|
||||
path { "d": "M11 12H3" }
|
||||
path { "d": "M16 6H3" }
|
||||
path { "d": "M16 18H3" }
|
||||
path { "d": "m19 10-4 4" }
|
||||
path { "d": "m15 10 4 4" }
|
||||
path { "d": "M16 19H3" }
|
||||
path { "d": "m15.5 9.5 5 5" }
|
||||
path { "d": "m20.5 9.5-5 5" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,15 +34,15 @@ pub fn Logs(props: LogsProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M13 12h8" }
|
||||
path { "d": "M13 18h8" }
|
||||
path { "d": "M13 6h8" }
|
||||
path { "d": "M3 5h1" }
|
||||
path { "d": "M3 12h1" }
|
||||
path { "d": "M3 18h1" }
|
||||
path { "d": "M3 6h1" }
|
||||
path { "d": "M3 19h1" }
|
||||
path { "d": "M8 5h1" }
|
||||
path { "d": "M8 12h1" }
|
||||
path { "d": "M8 18h1" }
|
||||
path { "d": "M8 6h1" }
|
||||
path { "d": "M8 19h1" }
|
||||
path { "d": "M13 5h8" }
|
||||
path { "d": "M13 12h8" }
|
||||
path { "d": "M13 19h8" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ pub fn Menu(props: MenuProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M4 5h16" }
|
||||
path { "d": "M4 12h16" }
|
||||
path { "d": "M4 18h16" }
|
||||
path { "d": "M4 6h16" }
|
||||
path { "d": "M4 19h16" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ pub fn MessageSquareQuote(props: MessageSquareQuoteProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M14 14a2 2 0 0 0 2-2V8h-2" }
|
||||
path { "d": "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" }
|
||||
path { "d": "M14 13a2 2 0 0 0 2-2V9h-2" }
|
||||
path { "d": "M8 13a2 2 0 0 0 2-2V9H8" }
|
||||
path { "d": "M8 14a2 2 0 0 0 2-2V8H8" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,14 +34,14 @@ pub fn PanelLeftRightDashed(props: PanelLeftRightDashedProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M16 10V9" }
|
||||
path { "d": "M16 15v-1" }
|
||||
path { "d": "M16 21v-2" }
|
||||
path { "d": "M16 5V3" }
|
||||
path { "d": "M8 10V9" }
|
||||
path { "d": "M8 15v-1" }
|
||||
path { "d": "M8 21v-2" }
|
||||
path { "d": "M8 5V3" }
|
||||
path { "d": "M15 10V9" }
|
||||
path { "d": "M15 15v-1" }
|
||||
path { "d": "M15 21v-2" }
|
||||
path { "d": "M15 5V3" }
|
||||
path { "d": "M9 10V9" }
|
||||
path { "d": "M9 15v-1" }
|
||||
path { "d": "M9 21v-2" }
|
||||
path { "d": "M9 5V3" }
|
||||
rect {
|
||||
"x": "3",
|
||||
"y": "3",
|
||||
|
|
|
|||
|
|
@ -34,14 +34,14 @@ pub fn PanelTopBottomDashed(props: PanelTopBottomDashedProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M14 16h1" }
|
||||
path { "d": "M14 8h1" }
|
||||
path { "d": "M19 16h2" }
|
||||
path { "d": "M19 8h2" }
|
||||
path { "d": "M3 16h2" }
|
||||
path { "d": "M3 8h2" }
|
||||
path { "d": "M9 16h1" }
|
||||
path { "d": "M9 8h1" }
|
||||
path { "d": "M14 15h1" }
|
||||
path { "d": "M14 9h1" }
|
||||
path { "d": "M19 15h2" }
|
||||
path { "d": "M19 9h2" }
|
||||
path { "d": "M3 15h2" }
|
||||
path { "d": "M3 9h2" }
|
||||
path { "d": "M9 15h1" }
|
||||
path { "d": "M9 9h1" }
|
||||
rect {
|
||||
"x": "3",
|
||||
"y": "3",
|
||||
|
|
|
|||
|
|
@ -34,60 +34,15 @@ pub fn SlidersHorizontal(props: SlidersHorizontalProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
line {
|
||||
"x1": "21",
|
||||
"x2": "14",
|
||||
"y1": "4",
|
||||
"y2": "4",
|
||||
}
|
||||
line {
|
||||
"x1": "10",
|
||||
"x2": "3",
|
||||
"y1": "4",
|
||||
"y2": "4",
|
||||
}
|
||||
line {
|
||||
"x1": "21",
|
||||
"x2": "12",
|
||||
"y1": "12",
|
||||
"y2": "12",
|
||||
}
|
||||
line {
|
||||
"x1": "8",
|
||||
"x2": "3",
|
||||
"y1": "12",
|
||||
"y2": "12",
|
||||
}
|
||||
line {
|
||||
"x1": "21",
|
||||
"x2": "16",
|
||||
"y1": "20",
|
||||
"y2": "20",
|
||||
}
|
||||
line {
|
||||
"x1": "12",
|
||||
"x2": "3",
|
||||
"y1": "20",
|
||||
"y2": "20",
|
||||
}
|
||||
line {
|
||||
"x1": "14",
|
||||
"x2": "14",
|
||||
"y1": "2",
|
||||
"y2": "6",
|
||||
}
|
||||
line {
|
||||
"x1": "8",
|
||||
"x2": "8",
|
||||
"y1": "10",
|
||||
"y2": "14",
|
||||
}
|
||||
line {
|
||||
"x1": "16",
|
||||
"x2": "16",
|
||||
"y1": "18",
|
||||
"y2": "22",
|
||||
}
|
||||
path { "d": "M10 5H3" }
|
||||
path { "d": "M12 19H3" }
|
||||
path { "d": "M14 3v4" }
|
||||
path { "d": "M16 17v4" }
|
||||
path { "d": "M21 12h-9" }
|
||||
path { "d": "M21 19h-5" }
|
||||
path { "d": "M21 5h-7" }
|
||||
path { "d": "M8 10v4" }
|
||||
path { "d": "M8 12H3" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,60 +34,15 @@ pub fn SlidersVertical(props: SlidersVerticalProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
line {
|
||||
"x1": "4",
|
||||
"x2": "4",
|
||||
"y1": "21",
|
||||
"y2": "14",
|
||||
}
|
||||
line {
|
||||
"x1": "4",
|
||||
"x2": "4",
|
||||
"y1": "10",
|
||||
"y2": "3",
|
||||
}
|
||||
line {
|
||||
"x1": "12",
|
||||
"x2": "12",
|
||||
"y1": "21",
|
||||
"y2": "12",
|
||||
}
|
||||
line {
|
||||
"x1": "12",
|
||||
"x2": "12",
|
||||
"y1": "8",
|
||||
"y2": "3",
|
||||
}
|
||||
line {
|
||||
"x1": "20",
|
||||
"x2": "20",
|
||||
"y1": "21",
|
||||
"y2": "16",
|
||||
}
|
||||
line {
|
||||
"x1": "20",
|
||||
"x2": "20",
|
||||
"y1": "12",
|
||||
"y2": "3",
|
||||
}
|
||||
line {
|
||||
"x1": "2",
|
||||
"x2": "6",
|
||||
"y1": "14",
|
||||
"y2": "14",
|
||||
}
|
||||
line {
|
||||
"x1": "10",
|
||||
"x2": "14",
|
||||
"y1": "8",
|
||||
"y2": "8",
|
||||
}
|
||||
line {
|
||||
"x1": "18",
|
||||
"x2": "22",
|
||||
"y1": "16",
|
||||
"y2": "16",
|
||||
}
|
||||
path { "d": "M10 8h4" }
|
||||
path { "d": "M12 21v-9" }
|
||||
path { "d": "M12 8V3" }
|
||||
path { "d": "M17 16h4" }
|
||||
path { "d": "M19 12V3" }
|
||||
path { "d": "M19 21v-5" }
|
||||
path { "d": "M3 14h4" }
|
||||
path { "d": "M5 10V3" }
|
||||
path { "d": "M5 21v-7" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,12 +34,12 @@ pub fn TableOfContents(props: TableOfContentsProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M16 5H3" }
|
||||
path { "d": "M16 12H3" }
|
||||
path { "d": "M16 18H3" }
|
||||
path { "d": "M16 6H3" }
|
||||
path { "d": "M16 19H3" }
|
||||
path { "d": "M21 5h.01" }
|
||||
path { "d": "M21 12h.01" }
|
||||
path { "d": "M21 18h.01" }
|
||||
path { "d": "M21 6h.01" }
|
||||
path { "d": "M21 19h.01" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
42
packages/dioxus/src/text_align_center.rs
Normal file
42
packages/dioxus/src/text_align_center.rs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct TextAlignCenterProps {
|
||||
#[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 TextAlignCenter(props: TextAlignCenterProps) -> 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": "M21 5H3" }
|
||||
path { "d": "M17 12H7" }
|
||||
path { "d": "M19 19H5" }
|
||||
}
|
||||
}
|
||||
}
|
||||
42
packages/dioxus/src/text_align_end.rs
Normal file
42
packages/dioxus/src/text_align_end.rs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct TextAlignEndProps {
|
||||
#[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 TextAlignEnd(props: TextAlignEndProps) -> 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": "M21 5H3" }
|
||||
path { "d": "M21 12H9" }
|
||||
path { "d": "M21 19H7" }
|
||||
}
|
||||
}
|
||||
}
|
||||
42
packages/dioxus/src/text_align_justify.rs
Normal file
42
packages/dioxus/src/text_align_justify.rs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct TextAlignJustifyProps {
|
||||
#[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 TextAlignJustify(props: TextAlignJustifyProps) -> 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": "M3 5h18" }
|
||||
path { "d": "M3 12h18" }
|
||||
path { "d": "M3 19h18" }
|
||||
}
|
||||
}
|
||||
}
|
||||
42
packages/dioxus/src/text_align_start.rs
Normal file
42
packages/dioxus/src/text_align_start.rs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct TextAlignStartProps {
|
||||
#[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 TextAlignStart(props: TextAlignStartProps) -> 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": "M21 5H3" }
|
||||
path { "d": "M15 12H3" }
|
||||
path { "d": "M17 19H3" }
|
||||
}
|
||||
}
|
||||
}
|
||||
44
packages/dioxus/src/text_initial.rs
Normal file
44
packages/dioxus/src/text_initial.rs
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct TextInitialProps {
|
||||
#[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 TextInitial(props: TextInitialProps) -> 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 5h6" }
|
||||
path { "d": "M15 12h6" }
|
||||
path { "d": "M3 19h18" }
|
||||
path { "d": "m3 12 3.553-7.724a.5.5 0 0 1 .894 0L11 12" }
|
||||
path { "d": "M3.92 10h6.16" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -34,10 +34,10 @@ pub fn TextQuote(props: TextQuoteProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M17 6H3" }
|
||||
path { "d": "M17 5H3" }
|
||||
path { "d": "M21 12H8" }
|
||||
path { "d": "M21 18H8" }
|
||||
path { "d": "M3 12v6" }
|
||||
path { "d": "M21 19H8" }
|
||||
path { "d": "M3 12v7" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ pub fn TextSearch(props: TextSearchProps) -> Element {
|
|||
"stroke-width": "{stroke_width}",
|
||||
"stroke-linecap": "round",
|
||||
"stroke-linejoin": "round",
|
||||
path { "d": "M21 6H3" }
|
||||
path { "d": "M21 5H3" }
|
||||
path { "d": "M10 12H3" }
|
||||
path { "d": "M10 18H3" }
|
||||
path { "d": "M10 19H3" }
|
||||
circle { "cx": "17", "cy": "15", "r": "3" }
|
||||
path { "d": "m21 19-1.9-1.9" }
|
||||
}
|
||||
|
|
|
|||
43
packages/dioxus/src/text_wrap.rs
Normal file
43
packages/dioxus/src/text_wrap.rs
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
use dioxus::prelude::*;
|
||||
#[derive(Clone, PartialEq, Props)]
|
||||
pub struct TextWrapProps {
|
||||
#[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 TextWrap(props: TextWrapProps) -> 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": "m16 16-3 3 3 3" }
|
||||
path { "d": "M3 12h14.5a1 1 0 0 1 0 7H13" }
|
||||
path { "d": "M3 19h6" }
|
||||
path { "d": "M3 5h18" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -29,17 +29,17 @@ pub fn Bug(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="m8 2 1.88 1.88" />
|
||||
<path d="M14.12 3.88 16 2" />
|
||||
<path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1" />
|
||||
<path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6" />
|
||||
<path d="M12 20v-9" />
|
||||
<path d="M6.53 9C4.6 8.8 3 7.1 3 5" />
|
||||
<path d="M6 13H2" />
|
||||
<path d="M3 21c0-2.1 1.7-3.9 3.8-4" />
|
||||
<path d="M20.97 5c0 2.1-1.6 3.8-3.5 4" />
|
||||
<path d="M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z" />
|
||||
<path d="M14.12 3.88 16 2" />
|
||||
<path d="M21 21a4 4 0 0 0-3.81-4" />
|
||||
<path d="M21 5a4 4 0 0 1-3.55 3.97" />
|
||||
<path d="M22 13h-4" />
|
||||
<path d="M17.2 17c2.1.1 3.8 1.9 3.8 4" />
|
||||
<path d="M3 21a4 4 0 0 1 3.81-4" />
|
||||
<path d="M3 5a4 4 0 0 0 3.55 3.97" />
|
||||
<path d="M6 13H2" />
|
||||
<path d="m8 2 1.88 1.88" />
|
||||
<path d="M9 7.13V6a3 3 0 1 1 6 0v1.13" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,15 +29,16 @@ pub fn BugOff(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M15 7.13V6a3 3 0 0 0-5.14-2.1L8 2" />
|
||||
<path d="M14.12 3.88 16 2" />
|
||||
<path d="M22 13h-4v-2a4 4 0 0 0-4-4h-1.3" />
|
||||
<path d="M20.97 5c0 2.1-1.6 3.8-3.5 4" />
|
||||
<path d="m2 2 20 20" />
|
||||
<path d="M7.7 7.7A4 4 0 0 0 6 11v3a6 6 0 0 0 11.13 3.13" />
|
||||
<path d="M12 20v-8" />
|
||||
<path d="M14.12 3.88 16 2" />
|
||||
<path d="M15 7.13V6a3 3 0 0 0-5.14-2.1L8 2" />
|
||||
<path d="M18 12.34V11a4 4 0 0 0-4-4h-1.3" />
|
||||
<path d="m2 2 20 20" />
|
||||
<path d="M21 5a4 4 0 0 1-3.55 3.97" />
|
||||
<path d="M22 13h-3.34" />
|
||||
<path d="M3 21a4 4 0 0 1 3.81-4" />
|
||||
<path d="M6 13H2" />
|
||||
<path d="M3 21c0-2.1 1.7-3.9 3.8-4" />
|
||||
<path d="M7.7 7.7A4 4 0 0 0 6 11v3a6 6 0 0 0 11.13 3.13" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,12 +32,12 @@ pub fn BugPlay(
|
|||
<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="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="M21 5a4 4 0 0 1-3.55 3.97" />
|
||||
<path d="M3 21a4 4 0 0 1 3.81-4" />
|
||||
<path d="M3 5a4 4 0 0 0 3.55 3.97" />
|
||||
<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 3 0 0 1 4.18-2.895 3 3 0 0 1 1.821 2.896v1" />
|
||||
<path d="M9 7.13V6a3 3 0 1 1 6 0v1.13" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ pub fn CalendarCog(
|
|||
<path d="m19.53 21.696-.382-.924" />
|
||||
<path d="m20.772 16.852.924-.383" />
|
||||
<path d="m20.772 19.148.924.383" />
|
||||
<path d="M21 11V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6" />
|
||||
<path d="M21 10.592V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6" />
|
||||
<path d="M3 10h18" />
|
||||
<path d="M8 2v4" />
|
||||
<circle cx="18" cy="18" r="3" />
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ pub fn ChartNoAxesColumn(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<line x1="18" x2="18" y1="20" y2="10" />
|
||||
<line x1="12" x2="12" y1="20" y2="4" />
|
||||
<line x1="6" x2="6" y1="20" y2="14" />
|
||||
<path d="M5 21v-6" />
|
||||
<path d="M12 21V3" />
|
||||
<path d="M19 21V9" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ pub fn ChartNoAxesColumnDecreasing(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M12 20V10" />
|
||||
<path d="M18 20v-4" />
|
||||
<path d="M6 20V4" />
|
||||
<path d="M5 21V3" />
|
||||
<path d="M12 21V9" />
|
||||
<path d="M19 21v-6" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ pub fn ChartNoAxesColumnIncreasing(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<line x1="12" x2="12" y1="20" y2="10" />
|
||||
<line x1="18" x2="18" y1="20" y2="4" />
|
||||
<line x1="6" x2="6" y1="20" y2="16" />
|
||||
<path d="M5 21v-6" />
|
||||
<path d="M12 21V9" />
|
||||
<path d="M19 21V3" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ pub fn ChartNoAxesGantt(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M8 6h10" />
|
||||
<path d="M6 12h9" />
|
||||
<path d="M11 18h7" />
|
||||
<path d="M6 5h12" />
|
||||
<path d="M4 12h10" />
|
||||
<path d="M12 19h8" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,9 +31,9 @@ pub fn Church(
|
|||
>
|
||||
<path d="M10 9h4" />
|
||||
<path d="M12 7v5" />
|
||||
<path d="M14 22v-4a2 2 0 0 0-4 0v4" />
|
||||
<path d="M18 22V5.618a1 1 0 0 0-.553-.894l-4.553-2.277a2 2 0 0 0-1.788 0L6.553 4.724A1 1 0 0 0 6 5.618V22" />
|
||||
<path d="m18 7 3.447 1.724a1 1 0 0 1 .553.894V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.618a1 1 0 0 1 .553-.894L6 7" />
|
||||
<path d="M14 21v-3a2 2 0 0 0-4 0v3" />
|
||||
<path d="m18 9 3.52 2.147a1 1 0 0 1 .48.854V19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-6.999a1 1 0 0 1 .48-.854L6 9" />
|
||||
<path d="M6 21V7a1 1 0 0 1 .376-.782l5-3.999a1 1 0 0 1 1.249.001l5 4A1 1 0 0 1 18 7v14" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ pub fn House(
|
|||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8" />
|
||||
<path d="M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" />
|
||||
<path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
36
packages/leptos/src/house_heart.rs
Normal file
36
packages/leptos/src/house_heart.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn HouseHeart(
|
||||
#[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="M8.62 13.8A2.25 2.25 0 1 1 12 10.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z" />
|
||||
<path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
@ -32,7 +32,7 @@ pub fn HousePlug(
|
|||
<path d="M10 12V8.964" />
|
||||
<path d="M14 12V8.964" />
|
||||
<path d="M15 12a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-2a1 1 0 0 1 1-1z" />
|
||||
<path d="M8.5 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-2" />
|
||||
<path d="M8.5 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-2" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ pub fn HousePlus(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M12.662 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v2.475" />
|
||||
<path d="M14.959 12.717A1 1 0 0 0 14 12h-4a1 1 0 0 0-1 1v8" />
|
||||
<path d="M12.35 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .71-1.53l7-6a2 2 0 0 1 2.58 0l7 6A2 2 0 0 1 21 10v2.35" />
|
||||
<path d="M14.8 12.4A1 1 0 0 0 14 12h-4a1 1 0 0 0-1 1v8" />
|
||||
<path d="M15 18h6" />
|
||||
<path d="M18 15v6" />
|
||||
</svg>
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ pub fn HouseWifi(
|
|||
>
|
||||
<path d="M9.5 13.866a4 4 0 0 1 5 .01" />
|
||||
<path d="M12 17h.01" />
|
||||
<path d="M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" />
|
||||
<path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" />
|
||||
<path d="M7 10.754a8 8 0 0 1 10 0" />
|
||||
</svg>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ pub fn Kanban(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M6 5v11" />
|
||||
<path d="M12 5v6" />
|
||||
<path d="M18 5v14" />
|
||||
<path d="M5 3v14" />
|
||||
<path d="M12 3v8" />
|
||||
<path d="M19 3v18" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,8 +43,6 @@ mod alarm_clock_plus;
|
|||
mod alarm_smoke;
|
||||
#[cfg(any(feature = "photography", feature = "multimedia"))]
|
||||
mod album;
|
||||
#[cfg(feature = "text")]
|
||||
mod align_center;
|
||||
#[cfg(feature = "layout")]
|
||||
mod align_center_horizontal;
|
||||
#[cfg(feature = "layout")]
|
||||
|
|
@ -69,12 +67,6 @@ mod align_horizontal_justify_start;
|
|||
mod align_horizontal_space_around;
|
||||
#[cfg(feature = "layout")]
|
||||
mod align_horizontal_space_between;
|
||||
#[cfg(feature = "text")]
|
||||
mod align_justify;
|
||||
#[cfg(feature = "text")]
|
||||
mod align_left;
|
||||
#[cfg(feature = "text")]
|
||||
mod align_right;
|
||||
#[cfg(feature = "layout")]
|
||||
mod align_start_horizontal;
|
||||
#[cfg(feature = "layout")]
|
||||
|
|
@ -1936,6 +1928,8 @@ mod hotel;
|
|||
mod hourglass;
|
||||
#[cfg(any(feature = "buildings", feature = "home"))]
|
||||
mod house;
|
||||
#[cfg(any(feature = "home", feature = "buildings", feature = "medical"))]
|
||||
mod house_heart;
|
||||
#[cfg(any(feature = "buildings", feature = "home", feature = "sustainability"))]
|
||||
mod house_plug;
|
||||
#[cfg(any(feature = "buildings", feature = "medical"))]
|
||||
|
|
@ -1997,10 +1991,6 @@ mod images;
|
|||
mod import;
|
||||
#[cfg(any(feature = "account", feature = "mail"))]
|
||||
mod inbox;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
mod indent_decrease;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
mod indent_increase;
|
||||
#[cfg(feature = "finance")]
|
||||
mod indian_rupee;
|
||||
#[cfg(feature = "multimedia")]
|
||||
|
|
@ -2104,8 +2094,6 @@ mod leaf;
|
|||
mod leafy_green;
|
||||
#[cfg(any(feature = "communication", feature = "multimedia"))]
|
||||
mod lectern;
|
||||
#[cfg(feature = "text")]
|
||||
mod letter_text;
|
||||
#[cfg(any(
|
||||
feature = "text",
|
||||
feature = "photography",
|
||||
|
|
@ -2148,6 +2136,8 @@ mod list_check;
|
|||
mod list_checks;
|
||||
#[cfg(any(feature = "text", feature = "arrows"))]
|
||||
mod list_chevrons_down_up;
|
||||
#[cfg(any(feature = "text", feature = "arrows"))]
|
||||
mod list_chevrons_up_down;
|
||||
#[cfg(feature = "text")]
|
||||
mod list_collapse;
|
||||
#[cfg(any(feature = "multimedia", feature = "text"))]
|
||||
|
|
@ -2156,6 +2146,10 @@ mod list_end;
|
|||
mod list_filter;
|
||||
#[cfg(any(feature = "text", feature = "layout"))]
|
||||
mod list_filter_plus;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
mod list_indent_decrease;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
mod list_indent_increase;
|
||||
#[cfg(any(feature = "multimedia", feature = "text"))]
|
||||
mod list_minus;
|
||||
#[cfg(feature = "multimedia")]
|
||||
|
|
@ -3715,18 +3709,28 @@ mod test_tube;
|
|||
mod test_tube_diagonal;
|
||||
#[cfg(feature = "science")]
|
||||
mod test_tubes;
|
||||
#[cfg(any(feature = "text", feature = "files", feature = "cursors"))]
|
||||
mod text;
|
||||
#[cfg(feature = "text")]
|
||||
mod text_align_center;
|
||||
#[cfg(feature = "text")]
|
||||
mod text_align_end;
|
||||
#[cfg(feature = "text")]
|
||||
mod text_align_justify;
|
||||
#[cfg(feature = "text")]
|
||||
mod text_align_start;
|
||||
#[cfg(any(feature = "text", feature = "cursors"))]
|
||||
mod text_cursor;
|
||||
#[cfg(any(feature = "text", feature = "layout"))]
|
||||
mod text_cursor_input;
|
||||
#[cfg(feature = "text")]
|
||||
mod text_initial;
|
||||
#[cfg(feature = "text")]
|
||||
mod text_quote;
|
||||
#[cfg(feature = "text")]
|
||||
mod text_search;
|
||||
#[cfg(any(feature = "text", feature = "cursors"))]
|
||||
mod text_select;
|
||||
#[cfg(any(feature = "text", feature = "arrows"))]
|
||||
mod text_wrap;
|
||||
#[cfg(any(feature = "buildings", feature = "social"))]
|
||||
mod theater;
|
||||
#[cfg(feature = "weather")]
|
||||
|
|
@ -4120,8 +4124,6 @@ mod wine_off;
|
|||
mod workflow;
|
||||
#[cfg(any(feature = "animals", feature = "security"))]
|
||||
mod worm;
|
||||
#[cfg(any(feature = "text", feature = "arrows"))]
|
||||
mod wrap_text;
|
||||
#[cfg(any(feature = "account", feature = "development", feature = "tools"))]
|
||||
mod wrench;
|
||||
#[cfg(any(feature = "notifications", feature = "math"))]
|
||||
|
|
@ -4198,8 +4200,6 @@ pub use alarm_clock_plus::*;
|
|||
pub use alarm_smoke::*;
|
||||
#[cfg(any(feature = "photography", feature = "multimedia"))]
|
||||
pub use album::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use align_center::*;
|
||||
#[cfg(feature = "layout")]
|
||||
pub use align_center_horizontal::*;
|
||||
#[cfg(feature = "layout")]
|
||||
|
|
@ -4224,12 +4224,6 @@ pub use align_horizontal_justify_start::*;
|
|||
pub use align_horizontal_space_around::*;
|
||||
#[cfg(feature = "layout")]
|
||||
pub use align_horizontal_space_between::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use align_justify::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use align_left::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use align_right::*;
|
||||
#[cfg(feature = "layout")]
|
||||
pub use align_start_horizontal::*;
|
||||
#[cfg(feature = "layout")]
|
||||
|
|
@ -6091,6 +6085,8 @@ pub use hotel::*;
|
|||
pub use hourglass::*;
|
||||
#[cfg(any(feature = "buildings", feature = "home"))]
|
||||
pub use house::*;
|
||||
#[cfg(any(feature = "home", feature = "buildings", feature = "medical"))]
|
||||
pub use house_heart::*;
|
||||
#[cfg(any(feature = "buildings", feature = "home", feature = "sustainability"))]
|
||||
pub use house_plug::*;
|
||||
#[cfg(any(feature = "buildings", feature = "medical"))]
|
||||
|
|
@ -6152,10 +6148,6 @@ pub use images::*;
|
|||
pub use import::*;
|
||||
#[cfg(any(feature = "account", feature = "mail"))]
|
||||
pub use inbox::*;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
pub use indent_decrease::*;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
pub use indent_increase::*;
|
||||
#[cfg(feature = "finance")]
|
||||
pub use indian_rupee::*;
|
||||
#[cfg(feature = "multimedia")]
|
||||
|
|
@ -6259,8 +6251,6 @@ pub use leaf::*;
|
|||
pub use leafy_green::*;
|
||||
#[cfg(any(feature = "communication", feature = "multimedia"))]
|
||||
pub use lectern::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use letter_text::*;
|
||||
#[cfg(any(
|
||||
feature = "text",
|
||||
feature = "photography",
|
||||
|
|
@ -6303,6 +6293,8 @@ pub use list_check::*;
|
|||
pub use list_checks::*;
|
||||
#[cfg(any(feature = "text", feature = "arrows"))]
|
||||
pub use list_chevrons_down_up::*;
|
||||
#[cfg(any(feature = "text", feature = "arrows"))]
|
||||
pub use list_chevrons_up_down::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use list_collapse::*;
|
||||
#[cfg(any(feature = "multimedia", feature = "text"))]
|
||||
|
|
@ -6311,6 +6303,10 @@ pub use list_end::*;
|
|||
pub use list_filter::*;
|
||||
#[cfg(any(feature = "text", feature = "layout"))]
|
||||
pub use list_filter_plus::*;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
pub use list_indent_decrease::*;
|
||||
#[cfg(any(feature = "text", feature = "development"))]
|
||||
pub use list_indent_increase::*;
|
||||
#[cfg(any(feature = "multimedia", feature = "text"))]
|
||||
pub use list_minus::*;
|
||||
#[cfg(feature = "multimedia")]
|
||||
|
|
@ -7870,18 +7866,28 @@ pub use test_tube::*;
|
|||
pub use test_tube_diagonal::*;
|
||||
#[cfg(feature = "science")]
|
||||
pub use test_tubes::*;
|
||||
#[cfg(any(feature = "text", feature = "files", feature = "cursors"))]
|
||||
pub use text::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use text_align_center::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use text_align_end::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use text_align_justify::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use text_align_start::*;
|
||||
#[cfg(any(feature = "text", feature = "cursors"))]
|
||||
pub use text_cursor::*;
|
||||
#[cfg(any(feature = "text", feature = "layout"))]
|
||||
pub use text_cursor_input::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use text_initial::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use text_quote::*;
|
||||
#[cfg(feature = "text")]
|
||||
pub use text_search::*;
|
||||
#[cfg(any(feature = "text", feature = "cursors"))]
|
||||
pub use text_select::*;
|
||||
#[cfg(any(feature = "text", feature = "arrows"))]
|
||||
pub use text_wrap::*;
|
||||
#[cfg(any(feature = "buildings", feature = "social"))]
|
||||
pub use theater::*;
|
||||
#[cfg(feature = "weather")]
|
||||
|
|
@ -8275,8 +8281,6 @@ pub use wine_off::*;
|
|||
pub use workflow::*;
|
||||
#[cfg(any(feature = "animals", feature = "security"))]
|
||||
pub use worm::*;
|
||||
#[cfg(any(feature = "text", feature = "arrows"))]
|
||||
pub use wrap_text::*;
|
||||
#[cfg(any(feature = "account", feature = "development", feature = "tools"))]
|
||||
pub use wrench::*;
|
||||
#[cfg(any(feature = "notifications", feature = "math"))]
|
||||
|
|
|
|||
|
|
@ -29,12 +29,12 @@ pub fn List(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M3 5h.01" />
|
||||
<path d="M3 12h.01" />
|
||||
<path d="M3 18h.01" />
|
||||
<path d="M3 6h.01" />
|
||||
<path d="M3 19h.01" />
|
||||
<path d="M8 5h13" />
|
||||
<path d="M8 12h13" />
|
||||
<path d="M8 18h13" />
|
||||
<path d="M8 6h13" />
|
||||
<path d="M8 19h13" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,10 +29,10 @@ pub fn ListCheck(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M11 18H3" />
|
||||
<path d="m15 18 2 2 4-4" />
|
||||
<path d="M16 5H3" />
|
||||
<path d="M16 12H3" />
|
||||
<path d="M16 6H3" />
|
||||
<path d="M11 19H3" />
|
||||
<path d="m15 18 2 2 4-4" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@ pub fn ListChecks(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M13 5h8" />
|
||||
<path d="M13 12h8" />
|
||||
<path d="M13 19h8" />
|
||||
<path d="m3 17 2 2 4-4" />
|
||||
<path d="m3 7 2 2 4-4" />
|
||||
<path d="M13 6h8" />
|
||||
<path d="M13 12h8" />
|
||||
<path d="M13 18h8" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@ pub fn ListChevronsDownUp(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="m15 18 3-3 3 3" />
|
||||
<path d="m15 6 3 3 3-3" />
|
||||
<path d="M3 5h8" />
|
||||
<path d="M3 12h8" />
|
||||
<path d="M3 18h8" />
|
||||
<path d="M3 6h8" />
|
||||
<path d="M3 19h8" />
|
||||
<path d="m15 5 3 3 3-3" />
|
||||
<path d="m15 19 3-3 3 3" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
39
packages/leptos/src/list_chevrons_up_down.rs
Normal file
39
packages/leptos/src/list_chevrons_up_down.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ListChevronsUpDown(
|
||||
#[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="M3 5h8" />
|
||||
<path d="M3 12h8" />
|
||||
<path d="M3 19h8" />
|
||||
<path d="m15 8 3-3 3 3" />
|
||||
<path d="m15 16 3 3 3-3" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
@ -29,9 +29,9 @@ pub fn ListCollapse(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M10 5h11" />
|
||||
<path d="M10 12h11" />
|
||||
<path d="M10 18h11" />
|
||||
<path d="M10 6h11" />
|
||||
<path d="M10 19h11" />
|
||||
<path d="m3 10 3-3-3-3" />
|
||||
<path d="m3 20 3-3-3-3" />
|
||||
</svg>
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@ pub fn ListEnd(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M16 5H3" />
|
||||
<path d="M16 12H3" />
|
||||
<path d="M16 6H3" />
|
||||
<path d="M10 18H3" />
|
||||
<path d="M21 6v10a2 2 0 0 1-2 2h-5" />
|
||||
<path d="m16 16-2 2 2 2" />
|
||||
<path d="M9 19H3" />
|
||||
<path d="m16 16-3 3 3 3" />
|
||||
<path d="M21 5v12a2 2 0 0 1-2 2h-6" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ pub fn ListFilter(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M3 6h18" />
|
||||
<path d="M7 12h10" />
|
||||
<path d="M10 18h4" />
|
||||
<path d="M2 5h20" />
|
||||
<path d="M6 12h12" />
|
||||
<path d="M9 19h6" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@ pub fn ListFilterPlus(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M10 18h4" />
|
||||
<path d="M11 6H3" />
|
||||
<path d="M15 6h6" />
|
||||
<path d="M18 9V3" />
|
||||
<path d="M7 12h8" />
|
||||
<path d="M12 5H2" />
|
||||
<path d="M6 12h12" />
|
||||
<path d="M9 19h6" />
|
||||
<path d="M16 5h6" />
|
||||
<path d="M19 8V2" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
38
packages/leptos/src/list_indent_decrease.rs
Normal file
38
packages/leptos/src/list_indent_decrease.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ListIndentDecrease(
|
||||
#[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="M21 5H11" />
|
||||
<path d="M21 12H11" />
|
||||
<path d="M21 19H11" />
|
||||
<path d="m7 8-4 4 4 4" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
38
packages/leptos/src/list_indent_increase.rs
Normal file
38
packages/leptos/src/list_indent_increase.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
use leptos::{prelude::*, svg::Svg};
|
||||
#[component]
|
||||
pub fn ListIndentIncrease(
|
||||
#[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="M21 5H11" />
|
||||
<path d="M21 12H11" />
|
||||
<path d="M21 19H11" />
|
||||
<path d="m3 8 4 4-4 4" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
@ -29,9 +29,9 @@ pub fn ListMinus(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M16 5H3" />
|
||||
<path d="M11 12H3" />
|
||||
<path d="M16 6H3" />
|
||||
<path d="M16 18H3" />
|
||||
<path d="M16 19H3" />
|
||||
<path d="M21 12h-6" />
|
||||
</svg>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@ pub fn ListMusic(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M21 15V6" />
|
||||
<path d="M18.5 18a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z" />
|
||||
<path d="M12 12H3" />
|
||||
<path d="M16 6H3" />
|
||||
<path d="M12 18H3" />
|
||||
<path d="M16 5H3" />
|
||||
<path d="M11 12H3" />
|
||||
<path d="M11 19H3" />
|
||||
<path d="M21 16V5" />
|
||||
<circle cx="18" cy="16" r="3" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,12 +29,12 @@ pub fn ListOrdered(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M10 12h11" />
|
||||
<path d="M10 18h11" />
|
||||
<path d="M10 6h11" />
|
||||
<path d="M4 10h2" />
|
||||
<path d="M4 6h1v4" />
|
||||
<path d="M6 18H4c0-1 2-2 2-3s-1-1.5-2-1" />
|
||||
<path d="M11 5h10" />
|
||||
<path d="M11 12h10" />
|
||||
<path d="M11 19h10" />
|
||||
<path d="M4 4h1v5" />
|
||||
<path d="M4 9h2" />
|
||||
<path d="M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ pub fn ListPlus(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M16 5H3" />
|
||||
<path d="M11 12H3" />
|
||||
<path d="M16 6H3" />
|
||||
<path d="M16 18H3" />
|
||||
<path d="M16 19H3" />
|
||||
<path d="M18 9v6" />
|
||||
<path d="M21 12h-6" />
|
||||
</svg>
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ pub fn ListRestart(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M21 6H3" />
|
||||
<path d="M21 5H3" />
|
||||
<path d="M7 12H3" />
|
||||
<path d="M7 18H3" />
|
||||
<path d="M7 19H3" />
|
||||
<path d="M12 18a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L11 14" />
|
||||
<path d="M11 10v4h4" />
|
||||
</svg>
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@ pub fn ListStart(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M16 12H3" />
|
||||
<path d="M16 18H3" />
|
||||
<path d="M10 6H3" />
|
||||
<path d="M21 18V8a2 2 0 0 0-2-2h-5" />
|
||||
<path d="m16 8-2-2 2-2" />
|
||||
<path d="M3 5h6" />
|
||||
<path d="M3 12h13" />
|
||||
<path d="M3 19h13" />
|
||||
<path d="m16 8-3-3 3-3" />
|
||||
<path d="M21 19V7a2 2 0 0 0-2-2h-6" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@ pub fn ListTodo(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<rect x="3" y="5" width="6" height="6" rx="1" />
|
||||
<path d="m3 17 2 2 4-4" />
|
||||
<path d="M13 6h8" />
|
||||
<path d="M13 5h8" />
|
||||
<path d="M13 12h8" />
|
||||
<path d="M13 18h8" />
|
||||
<path d="M13 19h8" />
|
||||
<path d="m3 17 2 2 4-4" />
|
||||
<rect x="3" y="4" width="6" height="6" rx="1" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@ pub fn ListTree(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M21 12h-8" />
|
||||
<path d="M21 6H8" />
|
||||
<path d="M21 18h-8" />
|
||||
<path d="M3 6v4c0 1.1.9 2 2 2h3" />
|
||||
<path d="M3 10v6c0 1.1.9 2 2 2h3" />
|
||||
<path d="M8 5h13" />
|
||||
<path d="M13 12h8" />
|
||||
<path d="M13 19h8" />
|
||||
<path d="M3 10a2 2 0 0 0 2 2h3" />
|
||||
<path d="M3 5v12a2 2 0 0 0 2 2h3" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,10 +29,10 @@ pub fn ListVideo(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M12 12H3" />
|
||||
<path d="M12 18H3" />
|
||||
<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" />
|
||||
<path d="M21 5H3" />
|
||||
<path d="M10 12H3" />
|
||||
<path d="M10 19H3" />
|
||||
<path d="M15 12.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" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@ pub fn ListX(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M16 5H3" />
|
||||
<path d="M11 12H3" />
|
||||
<path d="M16 6H3" />
|
||||
<path d="M16 18H3" />
|
||||
<path d="m19 10-4 4" />
|
||||
<path d="m15 10 4 4" />
|
||||
<path d="M16 19H3" />
|
||||
<path d="m15.5 9.5 5 5" />
|
||||
<path d="m20.5 9.5-5 5" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,15 +29,15 @@ pub fn Logs(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M13 12h8" />
|
||||
<path d="M13 18h8" />
|
||||
<path d="M13 6h8" />
|
||||
<path d="M3 5h1" />
|
||||
<path d="M3 12h1" />
|
||||
<path d="M3 18h1" />
|
||||
<path d="M3 6h1" />
|
||||
<path d="M3 19h1" />
|
||||
<path d="M8 5h1" />
|
||||
<path d="M8 12h1" />
|
||||
<path d="M8 18h1" />
|
||||
<path d="M8 6h1" />
|
||||
<path d="M8 19h1" />
|
||||
<path d="M13 5h8" />
|
||||
<path d="M13 12h8" />
|
||||
<path d="M13 19h8" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ pub fn Menu(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M4 5h16" />
|
||||
<path d="M4 12h16" />
|
||||
<path d="M4 18h16" />
|
||||
<path d="M4 6h16" />
|
||||
<path d="M4 19h16" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ pub fn MessageSquareQuote(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M14 14a2 2 0 0 0 2-2V8h-2" />
|
||||
<path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" />
|
||||
<path d="M14 13a2 2 0 0 0 2-2V9h-2" />
|
||||
<path d="M8 13a2 2 0 0 0 2-2V9H8" />
|
||||
<path d="M8 14a2 2 0 0 0 2-2V8H8" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,14 +29,14 @@ pub fn PanelLeftRightDashed(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M16 10V9" />
|
||||
<path d="M16 15v-1" />
|
||||
<path d="M16 21v-2" />
|
||||
<path d="M16 5V3" />
|
||||
<path d="M8 10V9" />
|
||||
<path d="M8 15v-1" />
|
||||
<path d="M8 21v-2" />
|
||||
<path d="M8 5V3" />
|
||||
<path d="M15 10V9" />
|
||||
<path d="M15 15v-1" />
|
||||
<path d="M15 21v-2" />
|
||||
<path d="M15 5V3" />
|
||||
<path d="M9 10V9" />
|
||||
<path d="M9 15v-1" />
|
||||
<path d="M9 21v-2" />
|
||||
<path d="M9 5V3" />
|
||||
<rect x="3" y="3" width="18" height="18" rx="2" />
|
||||
</svg>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,14 +29,14 @@ pub fn PanelTopBottomDashed(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M14 16h1" />
|
||||
<path d="M14 8h1" />
|
||||
<path d="M19 16h2" />
|
||||
<path d="M19 8h2" />
|
||||
<path d="M3 16h2" />
|
||||
<path d="M3 8h2" />
|
||||
<path d="M9 16h1" />
|
||||
<path d="M9 8h1" />
|
||||
<path d="M14 15h1" />
|
||||
<path d="M14 9h1" />
|
||||
<path d="M19 15h2" />
|
||||
<path d="M19 9h2" />
|
||||
<path d="M3 15h2" />
|
||||
<path d="M3 9h2" />
|
||||
<path d="M9 15h1" />
|
||||
<path d="M9 9h1" />
|
||||
<rect x="3" y="3" width="18" height="18" rx="2" />
|
||||
</svg>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,15 +29,15 @@ pub fn SlidersHorizontal(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<line x1="21" x2="14" y1="4" y2="4" />
|
||||
<line x1="10" x2="3" y1="4" y2="4" />
|
||||
<line x1="21" x2="12" y1="12" y2="12" />
|
||||
<line x1="8" x2="3" y1="12" y2="12" />
|
||||
<line x1="21" x2="16" y1="20" y2="20" />
|
||||
<line x1="12" x2="3" y1="20" y2="20" />
|
||||
<line x1="14" x2="14" y1="2" y2="6" />
|
||||
<line x1="8" x2="8" y1="10" y2="14" />
|
||||
<line x1="16" x2="16" y1="18" y2="22" />
|
||||
<path d="M10 5H3" />
|
||||
<path d="M12 19H3" />
|
||||
<path d="M14 3v4" />
|
||||
<path d="M16 17v4" />
|
||||
<path d="M21 12h-9" />
|
||||
<path d="M21 19h-5" />
|
||||
<path d="M21 5h-7" />
|
||||
<path d="M8 10v4" />
|
||||
<path d="M8 12H3" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,15 +29,15 @@ pub fn SlidersVertical(
|
|||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<line x1="4" x2="4" y1="21" y2="14" />
|
||||
<line x1="4" x2="4" y1="10" y2="3" />
|
||||
<line x1="12" x2="12" y1="21" y2="12" />
|
||||
<line x1="12" x2="12" y1="8" y2="3" />
|
||||
<line x1="20" x2="20" y1="21" y2="16" />
|
||||
<line x1="20" x2="20" y1="12" y2="3" />
|
||||
<line x1="2" x2="6" y1="14" y2="14" />
|
||||
<line x1="10" x2="14" y1="8" y2="8" />
|
||||
<line x1="18" x2="22" y1="16" y2="16" />
|
||||
<path d="M10 8h4" />
|
||||
<path d="M12 21v-9" />
|
||||
<path d="M12 8V3" />
|
||||
<path d="M17 16h4" />
|
||||
<path d="M19 12V3" />
|
||||
<path d="M19 21v-5" />
|
||||
<path d="M3 14h4" />
|
||||
<path d="M5 10V3" />
|
||||
<path d="M5 21v-7" />
|
||||
</svg>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue