From ced503dbf5ae992a29884387d5a3ce97919424cc Mon Sep 17 00:00:00 2001 From: Brian Siao Tick Chong Date: Wed, 16 Oct 2024 11:40:00 -0700 Subject: [PATCH] [ui] add path props to most icons (#12933) - adds path props to most icons - didn't change icons that either were not affected by the stroke props (I checked them all manually) - fixes default colors for some icons - some stroke widths were large decimals so I rounded some of them if the effect was negligible GitOrigin-RevId: 72e8c42aa41667c2aff80a5d118dd2aafcf14389 --- packages/ui/src/components/Icon/Icon.tsx | 4 +-- packages/ui/src/icons/AI.tsx | 14 ++------ packages/ui/src/icons/AnchorLink.tsx | 14 +++++--- packages/ui/src/icons/ArrowCircle.tsx | 13 ++++--- .../ui/src/icons/ArrowCornerDownRight.tsx | 14 +++++--- packages/ui/src/icons/ArrowDown.tsx | 14 +++++--- packages/ui/src/icons/ArrowLeft.tsx | 14 +++++--- packages/ui/src/icons/ArrowRight.tsx | 14 +++++--- packages/ui/src/icons/ArrowUp.tsx | 14 +++++--- packages/ui/src/icons/ArrowUpRight.tsx | 14 +++++--- packages/ui/src/icons/ArrowsDown.tsx | 14 +++++--- packages/ui/src/icons/ArrowsHorizontal.tsx | 20 +++++++---- packages/ui/src/icons/ArrowsUp.tsx | 14 +++++--- packages/ui/src/icons/Bank.tsx | 14 +++++--- packages/ui/src/icons/BitcoinB.tsx | 14 +++++--- packages/ui/src/icons/CaretRight.tsx | 14 +++++--- .../ui/src/icons/CentralArrowShareRight.tsx | 13 +++++-- packages/ui/src/icons/Checkmark.tsx | 13 +++++-- packages/ui/src/icons/CheckmarkCircle.tsx | 15 ++++++-- packages/ui/src/icons/Chevron.tsx | 14 +++++--- packages/ui/src/icons/ChevronLeft.tsx | 14 +++++--- packages/ui/src/icons/CircleCheck.tsx | 15 ++++++-- packages/ui/src/icons/CircleCheckOutline.tsx | 12 +++++-- packages/ui/src/icons/CirclePlus.tsx | 15 ++++++-- packages/ui/src/icons/Clock.tsx | 14 +++++--- packages/ui/src/icons/Close.tsx | 13 +++++-- packages/ui/src/icons/Code.tsx | 14 +++++--- packages/ui/src/icons/CreditCard.tsx | 12 +++++-- packages/ui/src/icons/DeleteIcon.tsx | 19 +++++++---- packages/ui/src/icons/Dollar.tsx | 14 +++++--- packages/ui/src/icons/DollarManrope.tsx | 14 +++++--- packages/ui/src/icons/DollarManropeSmall.tsx | 14 +++++--- packages/ui/src/icons/Download.tsx | 14 +++++++- packages/ui/src/icons/Envelope.tsx | 14 +++++--- packages/ui/src/icons/ExclamationPoint.tsx | 25 +++++++++----- packages/ui/src/icons/Eye.tsx | 16 +++++++-- packages/ui/src/icons/FramedLetterI.tsx | 17 +++++++--- packages/ui/src/icons/Gear.tsx | 14 +++++++- packages/ui/src/icons/HeartOutline.tsx | 11 ++++-- packages/ui/src/icons/Home.tsx | 11 ++++-- packages/ui/src/icons/Info.tsx | 26 ++++++++------ packages/ui/src/icons/Lock.tsx | 8 +++-- packages/ui/src/icons/MagicWand.tsx | 26 ++++++++------ packages/ui/src/icons/Minus.tsx | 11 ++++-- packages/ui/src/icons/Monitor.tsx | 20 +++++++---- packages/ui/src/icons/NodeAdd.tsx | 10 ++++-- packages/ui/src/icons/Notebook.tsx | 14 +++++--- packages/ui/src/icons/PaperPlane.tsx | 13 +++++-- packages/ui/src/icons/Pencil.tsx | 13 +++++-- packages/ui/src/icons/Person.tsx | 15 +++++--- packages/ui/src/icons/PiggyBank.tsx | 16 ++++++--- packages/ui/src/icons/Plus.tsx | 23 ++++++++----- packages/ui/src/icons/QuestionCircle.tsx | 14 +++++--- .../ui/src/icons/QuestionCircleStrong.tsx | 14 +++++--- packages/ui/src/icons/ReceiptBill.tsx | 14 +++++--- packages/ui/src/icons/Recycling.tsx | 14 +++++--- packages/ui/src/icons/Remove.tsx | 11 ++++-- packages/ui/src/icons/Restart.tsx | 13 +++++-- packages/ui/src/icons/Roadmap.tsx | 15 +++++--- packages/ui/src/icons/Satoshi.tsx | 34 +++++++++++++++---- packages/ui/src/icons/SatoshiRounded.tsx | 27 +++++++++------ packages/ui/src/icons/Search.tsx | 14 +++++--- packages/ui/src/icons/SecurityKey.tsx | 8 +++-- packages/ui/src/icons/Selector.tsx | 20 +++++++---- packages/ui/src/icons/Share.tsx | 6 ++-- packages/ui/src/icons/Sidebar.tsx | 14 +++++--- packages/ui/src/icons/Sort.tsx | 11 ++++-- packages/ui/src/icons/StackedLines.tsx | 11 ++++-- packages/ui/src/icons/TapSingle.tsx | 2 +- packages/ui/src/icons/Team.tsx | 14 +++++--- packages/ui/src/icons/Terminal.tsx | 14 +++++--- packages/ui/src/icons/Trash.tsx | 27 ++++++++++++--- packages/ui/src/icons/UmaBridgeLoading.tsx | 21 +++++++++--- .../src/icons/UmaBridgeLoadingTransparent.tsx | 13 ++++--- packages/ui/src/icons/WarningSign.tsx | 27 +++++++-------- packages/ui/src/icons/types.tsx | 6 ++++ 76 files changed, 798 insertions(+), 327 deletions(-) diff --git a/packages/ui/src/components/Icon/Icon.tsx b/packages/ui/src/components/Icon/Icon.tsx index 2d846a1d1..dd86f894c 100644 --- a/packages/ui/src/components/Icon/Icon.tsx +++ b/packages/ui/src/components/Icon/Icon.tsx @@ -113,10 +113,10 @@ export const IconContainer = styled.span` */ .${invertFillColor} { - fill: ${fontColor ? theme.hcNeutralFromBg(color) : "currentColor"}; + fill: ${color ? theme.hcNeutralFromBg(color) : "currentColor"}; } .${invertStrokeColor} { - stroke: ${fontColor ? theme.hcNeutralFromBg(color) : "currentColor"}; + stroke: ${color ? theme.hcNeutralFromBg(color) : "currentColor"}; } } `; diff --git a/packages/ui/src/icons/AI.tsx b/packages/ui/src/icons/AI.tsx index 98ebae0d2..7bcb83eb2 100644 --- a/packages/ui/src/icons/AI.tsx +++ b/packages/ui/src/icons/AI.tsx @@ -1,22 +1,12 @@ // Copyright ©, 2023, Lightspark Group, Inc. - All Rights Reserved -import { - type PathLinecap, - type PathLinejoin, - type PathStrokeWidth, -} from "./types.js"; - -type AIProps = { - strokeWidth?: PathStrokeWidth; - strokeLinecap?: PathLinecap; - strokeLinejoin?: PathLinejoin; -}; +import { type PathProps } from "./types.js"; export function AI({ strokeWidth = "2", strokeLinecap = "round", strokeLinejoin = "round", -}: AIProps) { +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/ArrowCircle.tsx b/packages/ui/src/icons/ArrowCircle.tsx index c7a771f11..dd219ac1d 100644 --- a/packages/ui/src/icons/ArrowCircle.tsx +++ b/packages/ui/src/icons/ArrowCircle.tsx @@ -1,8 +1,13 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved import { invertStrokeColor } from "./constants.js"; +import { type PathProps } from "./types.js"; -export function ArrowCircle() { +export function ArrowCircle({ + strokeWidth = "2", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/ArrowCornerDownRight.tsx b/packages/ui/src/icons/ArrowCornerDownRight.tsx index f5fd9c13b..bb64dc6f7 100644 --- a/packages/ui/src/icons/ArrowCornerDownRight.tsx +++ b/packages/ui/src/icons/ArrowCornerDownRight.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2023, Lightspark Group, Inc. - All Rights Reserved -export function ArrowCornerDownRight() { +import { type PathProps } from "./types.js"; + +export function ArrowCornerDownRight({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/ArrowDown.tsx b/packages/ui/src/icons/ArrowDown.tsx index 5182f255a..8401d53a5 100644 --- a/packages/ui/src/icons/ArrowDown.tsx +++ b/packages/ui/src/icons/ArrowDown.tsx @@ -1,4 +1,10 @@ -export function ArrowDown() { +import { type PathProps } from "./types.js"; + +export function ArrowDown({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/ArrowLeft.tsx b/packages/ui/src/icons/ArrowLeft.tsx index e63dc23c9..b38dc86f8 100644 --- a/packages/ui/src/icons/ArrowLeft.tsx +++ b/packages/ui/src/icons/ArrowLeft.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function ArrowLeft() { +import { type PathProps } from "./types.js"; + +export function ArrowLeft({ + strokeWidth = "2", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/ArrowRight.tsx b/packages/ui/src/icons/ArrowRight.tsx index 20b4b0ec7..ecb1d8567 100644 --- a/packages/ui/src/icons/ArrowRight.tsx +++ b/packages/ui/src/icons/ArrowRight.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function ArrowRight() { +import { type PathProps } from "./types.js"; + +export function ArrowRight({ + strokeWidth = "1.33333", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/ArrowUp.tsx b/packages/ui/src/icons/ArrowUp.tsx index 8340dccb6..db5f3f092 100644 --- a/packages/ui/src/icons/ArrowUp.tsx +++ b/packages/ui/src/icons/ArrowUp.tsx @@ -1,4 +1,10 @@ -export function ArrowUp() { +import { type PathProps } from "./types.js"; + +export function ArrowUp({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/ArrowUpRight.tsx b/packages/ui/src/icons/ArrowUpRight.tsx index 866375c3c..dfcd3ed8b 100644 --- a/packages/ui/src/icons/ArrowUpRight.tsx +++ b/packages/ui/src/icons/ArrowUpRight.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function ArrowUpRight() { +import { type PathProps } from "./types.js"; + +export function ArrowUpRight({ + strokeWidth = "2.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/ArrowsDown.tsx b/packages/ui/src/icons/ArrowsDown.tsx index e04cd5b0a..250ee4107 100644 --- a/packages/ui/src/icons/ArrowsDown.tsx +++ b/packages/ui/src/icons/ArrowsDown.tsx @@ -1,4 +1,10 @@ -export function ArrowsDown() { +import { type PathProps } from "./types.js"; + +export function ArrowsDown({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/ArrowsHorizontal.tsx b/packages/ui/src/icons/ArrowsHorizontal.tsx index c03d2f671..10b5ae6b0 100644 --- a/packages/ui/src/icons/ArrowsHorizontal.tsx +++ b/packages/ui/src/icons/ArrowsHorizontal.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function ArrowsHorizontal() { +import { type PathProps } from "./types.js"; + +export function ArrowsHorizontal({ + strokeWidth = "2", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/ArrowsUp.tsx b/packages/ui/src/icons/ArrowsUp.tsx index c40508aeb..327de743e 100644 --- a/packages/ui/src/icons/ArrowsUp.tsx +++ b/packages/ui/src/icons/ArrowsUp.tsx @@ -1,4 +1,10 @@ -export function ArrowsUp() { +import { type PathProps } from "./types.js"; + +export function ArrowsUp({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Bank.tsx b/packages/ui/src/icons/Bank.tsx index 865b30d05..00853999d 100644 --- a/packages/ui/src/icons/Bank.tsx +++ b/packages/ui/src/icons/Bank.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Bank() { +import { type PathProps } from "./types.js"; + +export function Bank({ + strokeWidth = "1.5", + strokeLinecap = "square", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/BitcoinB.tsx b/packages/ui/src/icons/BitcoinB.tsx index bc43fef83..42a140621 100644 --- a/packages/ui/src/icons/BitcoinB.tsx +++ b/packages/ui/src/icons/BitcoinB.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function BitcoinB() { +import { type PathProps } from "./types.js"; + +export function BitcoinB({ + strokeWidth = "1.125", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/CaretRight.tsx b/packages/ui/src/icons/CaretRight.tsx index 7b65aa8c2..7995296f8 100644 --- a/packages/ui/src/icons/CaretRight.tsx +++ b/packages/ui/src/icons/CaretRight.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function CaretRight() { +import { type PathProps } from "./types.js"; + +export function CaretRight({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/CentralArrowShareRight.tsx b/packages/ui/src/icons/CentralArrowShareRight.tsx index 33d2c6365..53c6b16d3 100644 --- a/packages/ui/src/icons/CentralArrowShareRight.tsx +++ b/packages/ui/src/icons/CentralArrowShareRight.tsx @@ -1,4 +1,10 @@ -export function CentralArrowShareRight() { +import { type PathProps } from "./types.js"; + +export function CentralArrowShareRight({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps = {}) { return ( ); diff --git a/packages/ui/src/icons/Checkmark.tsx b/packages/ui/src/icons/Checkmark.tsx index f2f8aa9bd..dddd6420a 100644 --- a/packages/ui/src/icons/Checkmark.tsx +++ b/packages/ui/src/icons/Checkmark.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Checkmark() { +import { type PathProps } from "./types.js"; + +export function Checkmark({ + strokeWidth = "2", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/CheckmarkCircle.tsx b/packages/ui/src/icons/CheckmarkCircle.tsx index eb5cdc376..7df7c2415 100644 --- a/packages/ui/src/icons/CheckmarkCircle.tsx +++ b/packages/ui/src/icons/CheckmarkCircle.tsx @@ -1,6 +1,13 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function CheckmarkCircle() { +import { invertStrokeColor } from "./constants.js"; +import { type PathProps } from "./types.js"; + +export function CheckmarkCircle({ + strokeWidth = "2", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Chevron.tsx b/packages/ui/src/icons/Chevron.tsx index a4eb44d45..94ff2bff3 100644 --- a/packages/ui/src/icons/Chevron.tsx +++ b/packages/ui/src/icons/Chevron.tsx @@ -1,4 +1,10 @@ -export function Chevron() { +import { type PathProps } from "./types.js"; + +export function Chevron({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/ChevronLeft.tsx b/packages/ui/src/icons/ChevronLeft.tsx index 9aa1423e7..852ec513a 100644 --- a/packages/ui/src/icons/ChevronLeft.tsx +++ b/packages/ui/src/icons/ChevronLeft.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2024, Lightspark Group, Inc. - All Rights Reserved -export const ChevronLeft = () => ( +import { type PathProps } from "./types.js"; + +export const ChevronLeft = ({ + strokeWidth = "2", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) => ( ( ); diff --git a/packages/ui/src/icons/CircleCheck.tsx b/packages/ui/src/icons/CircleCheck.tsx index a647962f2..150749785 100644 --- a/packages/ui/src/icons/CircleCheck.tsx +++ b/packages/ui/src/icons/CircleCheck.tsx @@ -1,4 +1,11 @@ -export function CircleCheck() { +import { invertStrokeColor } from "./constants.js"; +import { type PathProps } from "./types.js"; + +export function CircleCheck({ + strokeWidth = "1.14286", + strokeLinecap = "butt", + strokeLinejoin = "miter", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/CircleCheckOutline.tsx b/packages/ui/src/icons/CircleCheckOutline.tsx index 95879dccc..5d46c832a 100644 --- a/packages/ui/src/icons/CircleCheckOutline.tsx +++ b/packages/ui/src/icons/CircleCheckOutline.tsx @@ -1,4 +1,10 @@ -export function CircleCheckOutline() { +import { type PathProps } from "./types.js"; + +export function CircleCheckOutline({ + strokeWidth = "2", + strokeLinecap = "butt", + strokeLinejoin = "miter", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/CirclePlus.tsx b/packages/ui/src/icons/CirclePlus.tsx index 61cb19d96..7778577e5 100644 --- a/packages/ui/src/icons/CirclePlus.tsx +++ b/packages/ui/src/icons/CirclePlus.tsx @@ -1,11 +1,22 @@ -export function CirclePlus() { +import { invertStrokeColor } from "./constants.js"; +import { type PathProps } from "./types.js"; + +export function CirclePlus({ + strokeWidth = "1.5", + strokeLinecap = "butt", + strokeLinejoin = "miter", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Clock.tsx b/packages/ui/src/icons/Clock.tsx index b95c91546..5d73a8be3 100644 --- a/packages/ui/src/icons/Clock.tsx +++ b/packages/ui/src/icons/Clock.tsx @@ -1,4 +1,10 @@ -export function Clock() { +import { type PathProps } from "./types.js"; + +export function Clock({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Close.tsx b/packages/ui/src/icons/Close.tsx index 99e168353..09ab89405 100644 --- a/packages/ui/src/icons/Close.tsx +++ b/packages/ui/src/icons/Close.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Close() { +import { type PathProps } from "./types.js"; + +export function Close({ + strokeWidth = "1", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Code.tsx b/packages/ui/src/icons/Code.tsx index ecfffde1b..192ce0f07 100644 --- a/packages/ui/src/icons/Code.tsx +++ b/packages/ui/src/icons/Code.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Code() { +import { type PathProps } from "./types.js"; + +export function Code({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/CreditCard.tsx b/packages/ui/src/icons/CreditCard.tsx index aea7048da..522d4c6d3 100644 --- a/packages/ui/src/icons/CreditCard.tsx +++ b/packages/ui/src/icons/CreditCard.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function CreditCard() { +import { type PathProps } from "./types.js"; + +export function CreditCard({ + strokeWidth = "1.125", + strokeLinecap = "butt", + strokeLinejoin = "miter", +}: PathProps) { return ( diff --git a/packages/ui/src/icons/DeleteIcon.tsx b/packages/ui/src/icons/DeleteIcon.tsx index 16009ca01..3af26f19c 100644 --- a/packages/ui/src/icons/DeleteIcon.tsx +++ b/packages/ui/src/icons/DeleteIcon.tsx @@ -1,7 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved import { useTheme } from "@emotion/react"; +import { type PathProps } from "./types.js"; -export function DeleteIcon() { +export function DeleteIcon({ + strokeWidth = "1.33333", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { const theme = useTheme(); return ( ); diff --git a/packages/ui/src/icons/Dollar.tsx b/packages/ui/src/icons/Dollar.tsx index f8bf585a6..cd53996e5 100644 --- a/packages/ui/src/icons/Dollar.tsx +++ b/packages/ui/src/icons/Dollar.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Dollar() { +import { type PathProps } from "./types.js"; + +export function Dollar({ + strokeWidth = "1.125", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/DollarManrope.tsx b/packages/ui/src/icons/DollarManrope.tsx index b5e3524e8..d57bfc01d 100644 --- a/packages/ui/src/icons/DollarManrope.tsx +++ b/packages/ui/src/icons/DollarManrope.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function DollarManrope() { +import { type PathProps } from "./types.js"; + +export function DollarManrope({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/DollarManropeSmall.tsx b/packages/ui/src/icons/DollarManropeSmall.tsx index 05a3b4601..862c12649 100644 --- a/packages/ui/src/icons/DollarManropeSmall.tsx +++ b/packages/ui/src/icons/DollarManropeSmall.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function DollarManropeSmall() { +import { type PathProps } from "./types.js"; + +export function DollarManropeSmall({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Download.tsx b/packages/ui/src/icons/Download.tsx index 9bb2cb66a..0a790bf33 100644 --- a/packages/ui/src/icons/Download.tsx +++ b/packages/ui/src/icons/Download.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Download() { +import { type PathProps } from "./types.js"; + +export function Download({ + strokeWidth = "1", + strokeLinecap = "butt", + strokeLinejoin = "miter", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Envelope.tsx b/packages/ui/src/icons/Envelope.tsx index dd7c9b4ac..911a9820c 100644 --- a/packages/ui/src/icons/Envelope.tsx +++ b/packages/ui/src/icons/Envelope.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Envelope() { +import { type PathProps } from "./types.js"; + +export function Envelope({ + strokeWidth = "3", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/ExclamationPoint.tsx b/packages/ui/src/icons/ExclamationPoint.tsx index 9f4e2110d..0140f7f7a 100644 --- a/packages/ui/src/icons/ExclamationPoint.tsx +++ b/packages/ui/src/icons/ExclamationPoint.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function ExclamationPoint() { +import { type PathProps } from "./types.js"; + +export function ExclamationPoint({ + strokeWidth = "1.25", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Eye.tsx b/packages/ui/src/icons/Eye.tsx index e1e8e1d44..949ff859a 100644 --- a/packages/ui/src/icons/Eye.tsx +++ b/packages/ui/src/icons/Eye.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Eye() { +import { type PathProps } from "./types.js"; + +export function Eye({ + strokeWidth = "1.5", + strokeLinecap = "butt", + strokeLinejoin = "miter", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/FramedLetterI.tsx b/packages/ui/src/icons/FramedLetterI.tsx index eae6c0b00..aee5b77c7 100644 --- a/packages/ui/src/icons/FramedLetterI.tsx +++ b/packages/ui/src/icons/FramedLetterI.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function FramedLetterI() { +import { type PathProps } from "./types.js"; + +export function FramedLetterI({ + strokeWidth = "1", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Gear.tsx b/packages/ui/src/icons/Gear.tsx index 06c8c5d32..944e1d5f5 100644 --- a/packages/ui/src/icons/Gear.tsx +++ b/packages/ui/src/icons/Gear.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Gear() { +import { type PathProps } from "./types.js"; + +export function Gear({ + strokeWidth = "1", + strokeLinecap = "butt", + strokeLinejoin = "miter", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/HeartOutline.tsx b/packages/ui/src/icons/HeartOutline.tsx index 37a741ca2..fee45eadc 100644 --- a/packages/ui/src/icons/HeartOutline.tsx +++ b/packages/ui/src/icons/HeartOutline.tsx @@ -1,6 +1,11 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function HeartOutline() { +import { type PathProps } from "./types.js"; + +export function HeartOutline({ + strokeWidth = "1.5", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Home.tsx b/packages/ui/src/icons/Home.tsx index 1f48896f1..794bc2a23 100644 --- a/packages/ui/src/icons/Home.tsx +++ b/packages/ui/src/icons/Home.tsx @@ -1,4 +1,9 @@ -export function Home() { +import { type PathProps } from "./types.js"; + +export function Home({ + strokeWidth = "1.5", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Info.tsx b/packages/ui/src/icons/Info.tsx index c1cc477ca..97342ae08 100644 --- a/packages/ui/src/icons/Info.tsx +++ b/packages/ui/src/icons/Info.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Info() { +import { type PathProps } from "./types.js"; + +export function Info({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Lock.tsx b/packages/ui/src/icons/Lock.tsx index d4c6c986e..b94be8a06 100644 --- a/packages/ui/src/icons/Lock.tsx +++ b/packages/ui/src/icons/Lock.tsx @@ -1,6 +1,8 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Lock() { +import { type PathProps } from "./types.js"; + +export function Lock({ strokeWidth = "2" }: PathProps) { return ( ); diff --git a/packages/ui/src/icons/MagicWand.tsx b/packages/ui/src/icons/MagicWand.tsx index 506aa1930..5a3571fe4 100644 --- a/packages/ui/src/icons/MagicWand.tsx +++ b/packages/ui/src/icons/MagicWand.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function MagicWand() { +import { type PathProps } from "./types.js"; + +export function MagicWand({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Minus.tsx b/packages/ui/src/icons/Minus.tsx index 419f33ea5..55fdfc285 100644 --- a/packages/ui/src/icons/Minus.tsx +++ b/packages/ui/src/icons/Minus.tsx @@ -1,6 +1,11 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Minus() { +import { type PathProps } from "./types.js"; + +export function Minus({ + strokeWidth = "1.5", + strokeLinecap = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Monitor.tsx b/packages/ui/src/icons/Monitor.tsx index 9f6cd54ed..037b63b6c 100644 --- a/packages/ui/src/icons/Monitor.tsx +++ b/packages/ui/src/icons/Monitor.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Monitor() { +import { type PathProps } from "./types.js"; + +export function Monitor({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/NodeAdd.tsx b/packages/ui/src/icons/NodeAdd.tsx index 7298c71d3..d0d2674d9 100644 --- a/packages/ui/src/icons/NodeAdd.tsx +++ b/packages/ui/src/icons/NodeAdd.tsx @@ -1,6 +1,11 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function NodeAdd() { +import { type PathProps } from "./types.js"; + +export function NodeAdd({ + strokeWidth = "1", + strokeLinecap = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Notebook.tsx b/packages/ui/src/icons/Notebook.tsx index 7ad0723c5..3cbac5848 100644 --- a/packages/ui/src/icons/Notebook.tsx +++ b/packages/ui/src/icons/Notebook.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2024 Lightspark Group, Inc. - All Rights Reserved -export function Notebook() { +import { type PathProps } from "./types.js"; + +export function Notebook({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/PaperPlane.tsx b/packages/ui/src/icons/PaperPlane.tsx index b85fbed34..3f826ac67 100644 --- a/packages/ui/src/icons/PaperPlane.tsx +++ b/packages/ui/src/icons/PaperPlane.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function PaperPlane() { +import { type PathProps } from "./types.js"; + +export function PaperPlane({ + strokeWidth = "1", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Pencil.tsx b/packages/ui/src/icons/Pencil.tsx index 7acaf7559..ec851b0eb 100644 --- a/packages/ui/src/icons/Pencil.tsx +++ b/packages/ui/src/icons/Pencil.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Pencil() { +import { type PathProps } from "./types.js"; + +export function Pencil({ + strokeWidth = "1", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Person.tsx b/packages/ui/src/icons/Person.tsx index 362795bbc..77ffdb194 100644 --- a/packages/ui/src/icons/Person.tsx +++ b/packages/ui/src/icons/Person.tsx @@ -1,6 +1,11 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Person() { +import { type PathProps } from "./types.js"; + +export function Person({ + strokeWidth = "1.5", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/PiggyBank.tsx b/packages/ui/src/icons/PiggyBank.tsx index 9d4da2a92..7274e4b51 100644 --- a/packages/ui/src/icons/PiggyBank.tsx +++ b/packages/ui/src/icons/PiggyBank.tsx @@ -1,4 +1,10 @@ -export function PiggyBank() { +import { type PathProps } from "./types.js"; + +export function PiggyBank({ + strokeWidth = "1.5", + strokeLinecap = "butt", + strokeLinejoin = "miter", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/QuestionCircle.tsx b/packages/ui/src/icons/QuestionCircle.tsx index 93508adb0..af2aaa951 100644 --- a/packages/ui/src/icons/QuestionCircle.tsx +++ b/packages/ui/src/icons/QuestionCircle.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function QuestionCircle() { +import { type PathProps } from "./types.js"; + +export function QuestionCircle({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/QuestionCircleStrong.tsx b/packages/ui/src/icons/QuestionCircleStrong.tsx index 8574bb81f..0a84f0742 100644 --- a/packages/ui/src/icons/QuestionCircleStrong.tsx +++ b/packages/ui/src/icons/QuestionCircleStrong.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function QuestionCircleStrong() { +import { type PathProps } from "./types.js"; + +export function QuestionCircleStrong({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/ReceiptBill.tsx b/packages/ui/src/icons/ReceiptBill.tsx index 7d799542d..0dd63133d 100644 --- a/packages/ui/src/icons/ReceiptBill.tsx +++ b/packages/ui/src/icons/ReceiptBill.tsx @@ -1,4 +1,10 @@ -export function ReceiptBill() { +import { type PathProps } from "./types.js"; + +export function ReceiptBill({ + strokeWidth = "2.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Recycling.tsx b/packages/ui/src/icons/Recycling.tsx index 76a942008..584013bf3 100644 --- a/packages/ui/src/icons/Recycling.tsx +++ b/packages/ui/src/icons/Recycling.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Recycling() { +import { type PathProps } from "./types.js"; + +export function Recycling({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Remove.tsx b/packages/ui/src/icons/Remove.tsx index 90dfedba9..52d7bcc7c 100644 --- a/packages/ui/src/icons/Remove.tsx +++ b/packages/ui/src/icons/Remove.tsx @@ -1,6 +1,11 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Remove() { +import { type PathProps } from "./types.js"; + +export function Remove({ + strokeWidth = "1.5", + strokeLinecap = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Restart.tsx b/packages/ui/src/icons/Restart.tsx index 12021b8b6..4f09444e9 100644 --- a/packages/ui/src/icons/Restart.tsx +++ b/packages/ui/src/icons/Restart.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Restart() { +import { type PathProps } from "./types.js"; + +export function Restart({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Roadmap.tsx b/packages/ui/src/icons/Roadmap.tsx index 7fdbea949..2f5f7d2f5 100644 --- a/packages/ui/src/icons/Roadmap.tsx +++ b/packages/ui/src/icons/Roadmap.tsx @@ -1,4 +1,10 @@ -export function Roadmap() { +import { type PathProps } from "./types.js"; + +export function Roadmap({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Satoshi.tsx b/packages/ui/src/icons/Satoshi.tsx index a41ad8407..4af568e5c 100644 --- a/packages/ui/src/icons/Satoshi.tsx +++ b/packages/ui/src/icons/Satoshi.tsx @@ -1,6 +1,11 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Satoshi() { +import { type PathProps } from "./types.js"; + +export function Satoshi({ + strokeWidth = "3.71429", + strokeLinecap = "butt", +}: PathProps) { return ( - + + + - - ); } diff --git a/packages/ui/src/icons/SatoshiRounded.tsx b/packages/ui/src/icons/SatoshiRounded.tsx index a708b7ca4..295c2a3f2 100644 --- a/packages/ui/src/icons/SatoshiRounded.tsx +++ b/packages/ui/src/icons/SatoshiRounded.tsx @@ -1,6 +1,11 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function SatoshiRounded() { +import { type PathProps } from "./types.js"; + +export function SatoshiRounded({ + strokeWidth = "1.5", + strokeLinecap = "round", +}: PathProps) { return ( diff --git a/packages/ui/src/icons/Search.tsx b/packages/ui/src/icons/Search.tsx index f2fcc8409..91ac2767e 100644 --- a/packages/ui/src/icons/Search.tsx +++ b/packages/ui/src/icons/Search.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Search() { +import { type PathProps } from "./types.js"; + +export function Search({ + strokeWidth = "2", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/SecurityKey.tsx b/packages/ui/src/icons/SecurityKey.tsx index 5d1c5a618..f93539bad 100644 --- a/packages/ui/src/icons/SecurityKey.tsx +++ b/packages/ui/src/icons/SecurityKey.tsx @@ -1,6 +1,8 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function SecurityKey() { +import { type PathProps } from "./types.js"; + +export function SecurityKey({ strokeWidth = "1.125" }: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Share.tsx b/packages/ui/src/icons/Share.tsx index 03c76d2d0..9417cc88b 100644 --- a/packages/ui/src/icons/Share.tsx +++ b/packages/ui/src/icons/Share.tsx @@ -1,6 +1,8 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Share() { +import { type PathProps } from "./types.js"; + +export function Share({ strokeWidth = "1.5" }: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Sidebar.tsx b/packages/ui/src/icons/Sidebar.tsx index f60de18be..2ff4d5f58 100644 --- a/packages/ui/src/icons/Sidebar.tsx +++ b/packages/ui/src/icons/Sidebar.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Sidebar() { +import { type PathProps } from "./types.js"; + +export function Sidebar({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Sort.tsx b/packages/ui/src/icons/Sort.tsx index feaf25649..8f28414fc 100644 --- a/packages/ui/src/icons/Sort.tsx +++ b/packages/ui/src/icons/Sort.tsx @@ -1,6 +1,11 @@ // Copyright ©, 2023, Lightspark Group, Inc. - All Rights Reserved -export function Sort() { +import { type PathProps } from "./types.js"; + +export function Sort({ + strokeWidth = "1.5", + strokeLinecap = "square", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/StackedLines.tsx b/packages/ui/src/icons/StackedLines.tsx index 4f6146676..092e31a94 100644 --- a/packages/ui/src/icons/StackedLines.tsx +++ b/packages/ui/src/icons/StackedLines.tsx @@ -1,4 +1,9 @@ -export function StackedLines() { +import { type PathProps } from "./types.js"; + +export function StackedLines({ + strokeWidth = "1.5", + strokeLinecap = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/TapSingle.tsx b/packages/ui/src/icons/TapSingle.tsx index cd43e68c1..ebff526fd 100644 --- a/packages/ui/src/icons/TapSingle.tsx +++ b/packages/ui/src/icons/TapSingle.tsx @@ -11,7 +11,7 @@ export function TapSingle() { > ); diff --git a/packages/ui/src/icons/Team.tsx b/packages/ui/src/icons/Team.tsx index aba96f404..f4ab98845 100644 --- a/packages/ui/src/icons/Team.tsx +++ b/packages/ui/src/icons/Team.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Team() { +import { type PathProps } from "./types.js"; + +export function Team({ + strokeWidth = "1.5", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Terminal.tsx b/packages/ui/src/icons/Terminal.tsx index 7886a6362..db2d203b7 100644 --- a/packages/ui/src/icons/Terminal.tsx +++ b/packages/ui/src/icons/Terminal.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2023, Lightspark Group, Inc. - All Rights Reserved -export function Terminal() { +import { type PathProps } from "./types.js"; + +export function Terminal({ + strokeWidth = "2.28571", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/Trash.tsx b/packages/ui/src/icons/Trash.tsx index c28d6e4a4..54000dd8c 100644 --- a/packages/ui/src/icons/Trash.tsx +++ b/packages/ui/src/icons/Trash.tsx @@ -1,6 +1,12 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function Trash() { +import { type PathProps } from "./types.js"; + +export function Trash({ + strokeWidth = "1", + strokeLinecap = "round", + strokeLinejoin = "round", +}: PathProps) { return ( + + - - ); } diff --git a/packages/ui/src/icons/UmaBridgeLoading.tsx b/packages/ui/src/icons/UmaBridgeLoading.tsx index e9583044d..479adaa3f 100644 --- a/packages/ui/src/icons/UmaBridgeLoading.tsx +++ b/packages/ui/src/icons/UmaBridgeLoading.tsx @@ -1,4 +1,9 @@ -export function UmaBridgeLoading() { +import { type PathProps } from "./types.js"; + +export function UmaBridgeLoading({ + strokeWidth = "1.5", + strokeLinecap = "round", +}: PathProps) { return ( - + ); diff --git a/packages/ui/src/icons/UmaBridgeLoadingTransparent.tsx b/packages/ui/src/icons/UmaBridgeLoadingTransparent.tsx index 2be0ac15d..4ad4f5a27 100644 --- a/packages/ui/src/icons/UmaBridgeLoadingTransparent.tsx +++ b/packages/ui/src/icons/UmaBridgeLoadingTransparent.tsx @@ -1,4 +1,9 @@ -export function UmaBridgeLoadingTransparent() { +import { type PathProps } from "./types.js"; + +export function UmaBridgeLoadingTransparent({ + strokeWidth = "2.09994", + strokeLinecap = "round", +}: PathProps) { return ( ); diff --git a/packages/ui/src/icons/WarningSign.tsx b/packages/ui/src/icons/WarningSign.tsx index ec8bbc433..f17a21bf6 100644 --- a/packages/ui/src/icons/WarningSign.tsx +++ b/packages/ui/src/icons/WarningSign.tsx @@ -1,30 +1,27 @@ // Copyright ©, 2022, Lightspark Group, Inc. - All Rights Reserved -export function WarningSign() { +import { type PathProps } from "./types.js"; + +export function WarningSign({ + strokeWidth = "2", + strokeLinecap = "round", +}: PathProps) { return ( - - + - - - - - ); } diff --git a/packages/ui/src/icons/types.tsx b/packages/ui/src/icons/types.tsx index 5b2fdf124..dd7d11fbe 100644 --- a/packages/ui/src/icons/types.tsx +++ b/packages/ui/src/icons/types.tsx @@ -3,3 +3,9 @@ export type PathStrokeWidth = undefined | string; export type PathLinecap = undefined | "butt" | "round" | "square"; /* "miter" is default when undefined https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linejoin */ export type PathLinejoin = undefined | "miter" | "round"; + +export type PathProps = { + strokeWidth?: PathStrokeWidth; + strokeLinecap?: PathLinecap; + strokeLinejoin?: PathLinejoin; +};