Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add the data-role property #13

Merged
merged 1 commit into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .changeset/three-roses-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wisdesign/lsicon": patch
---

[Feature] add the data-role property
1 change: 1 addition & 0 deletions components/AddChatFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AddChatFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AddChatIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AddChatIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AddChatTwoFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AddChatTwoFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AddChatTwoIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AddChatTwoIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AddOneFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AddOneFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AddOneIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AddOneIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AdjustHightFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AdjustHightFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AdjustHightIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AdjustHightIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AdjustWidthFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AdjustWidthFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AdjustWidthIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AdjustWidthIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AlignTxtBothFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AlignTxtBothFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AlignTxtBothIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AlignTxtBothIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AlignTxtCenterFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AlignTxtCenterFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AlignTxtCenterIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AlignTxtCenterIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AlignTxtLeftFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AlignTxtLeftFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AlignTxtLeftIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AlignTxtLeftIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AlignTxtRightFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AlignTxtRightFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AlignTxtRightIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AlignTxtRightIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AmountDollarFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AmountDollarFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AmountDollarIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AmountDollarIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AmountDownFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AmountDownFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AmountDownIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AmountDownIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AmountDownTwoFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AmountDownTwoFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AmountDownTwoIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AmountDownTwoIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AmountUpFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AmountUpFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AmountUpIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AmountUpIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AmountUpTwoFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AmountUpTwoFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AmountUpTwoIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AmountUpTwoIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AmountYuanFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AmountYuanFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AmountYuanIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AmountYuanIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AnnularFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AnnularFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AnnularIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AnnularIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/Anticlockwise90FilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const Anticlockwise90FilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/Anticlockwise90Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const Anticlockwise90Icon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AppsFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AppsFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AppsIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AppsIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AreaChartFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AreaChartFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/AreaChartIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AreaChartIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/ArrowDownFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const ArrowDownFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/ArrowDownIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const ArrowDownIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/ArrowDownRightFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const ArrowDownRightFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/ArrowDownRightIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const ArrowDownRightIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/ArrowLeftFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const ArrowLeftFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/ArrowLeftIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const ArrowLeftIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/ArrowRightFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const ArrowRightFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/ArrowRightIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const ArrowRightIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/ArrowUpFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const ArrowUpFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
1 change: 1 addition & 0 deletions components/ArrowUpIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const ArrowUpIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=outline">
Expand Down
1 change: 1 addition & 0 deletions components/AtFilledIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const AtFilledIcon = (props: SVGProps<SVGSVGElement>) => (
height="1em"
fill="none"
viewBox="0 0 16 16"
data-role="lsicon"
{...props}
>
<g id="theme=filled">
Expand Down
Loading