Skip to content

Commit afe71e9

Browse files
Fix svg attributes warning usage (#22)
* fix: use pascal case naming for svg attributes * ci: revert adding each file in dist to release (rate limiting)
1 parent 2fcc717 commit afe71e9

File tree

8 files changed

+40
-45
lines changed

8 files changed

+40
-45
lines changed

release.config.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@ module.exports = {
33
plugins: [
44
"@semantic-release/commit-analyzer",
55
"@semantic-release/release-notes-generator",
6-
[
7-
"@semantic-release/github",
8-
{
9-
assets: ["dist/**/*"], // Include only the dist folder
10-
},
11-
],
6+
"@semantic-release/github",
127
[
138
"@semantic-release/git",
149
{

src/icons/ArrowLinkRight.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ const ArrowLinkRight = ({
1818
<path
1919
d="M20 12.5H4"
2020
stroke="currentColor"
21-
stroke-width="1.5"
22-
stroke-linecap="round"
23-
stroke-linejoin="round"
21+
strokeWidth="1.5"
22+
strokeLinecap="round"
23+
strokeLinejoin="round"
2424
{...pathProps}
2525
/>
2626
<path
2727
d="M15 17.5C15 17.5 20 13.8176 20 12.5C20 11.1824 15 7.5 15 7.5"
2828
stroke="currentColor"
29-
stroke-width="1.5"
30-
stroke-linecap="round"
31-
stroke-linejoin="round"
29+
strokeWidth="1.5"
30+
strokeLinecap="round"
31+
strokeLinejoin="round"
3232
{...pathProps}
3333
/>
3434
</svg>

src/icons/ArrowLinkUpRight.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ const ArrowLinkUpRight = ({
1919
d="M17 7.5L6 18.5"
2020
stroke="currentColor"
2121
strokeWidth="1.5"
22-
stroke-linecap="round"
22+
strokeLinecap="round"
2323
{...pathProps}
2424
/>
2525
<path
2626
d="M11 6.6315C11 6.6315 16.6335 6.15661 17.4885 7.01152C18.3434 7.86644 17.8684 13.5 17.8684 13.5"
2727
stroke="currentColor"
28-
stroke-width="1.5"
29-
stroke-linecap="round"
30-
stroke-linejoin="round"
28+
strokeWidth="1.5"
29+
strokeLinecap="round"
30+
strokeLinejoin="round"
3131
{...pathProps}
3232
/>
3333
</svg>

src/icons/BitcoinIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const BitcoinIcon = ({ width = 18, height, ...props }: SVGProps<SVGSVGElement>)
1010
>
1111
<path d="M8.28312 7.967L8.23312 7.952L8.76112 5.83496L8.97312 5.88496C9.67912 6.04196 11.1981 6.38296 10.9231 7.498C10.6281 8.671 8.87412 8.144 8.28312 7.967ZM7.37012 11.405L7.45612 11.43C8.18412 11.647 10.2521 12.262 10.5321 11.097C10.8211 9.976 8.96212 9.539 8.13012 9.344C8.03912 9.322 7.96012 9.304 7.89812 9.288L7.37012 11.405Z" fill="currentColor"/>
1212
<path
13-
fill-rule="evenodd" clip-rule="evenodd"
13+
fillRule="evenodd" clipRule="evenodd"
1414
d="M9 18C10.1819 18 11.3522 17.7672 12.4442 17.3149C13.5361 16.8626 14.5282 16.1997 15.364 15.364C16.1997 14.5282 16.8626 13.5361 17.3149 12.4442C17.7672 11.3522 18 10.1819 18 9C18 7.8181 17.7672 6.64778 17.3149 5.55585C16.8626 4.46392 16.1997 3.47177 15.364 2.63604C14.5282 1.80031 13.5361 1.13738 12.4442 0.68508C11.3522 0.23279 10.1819 0 9 0C6.61305 0 4.32387 0.94821 2.63604 2.63604C0.94821 4.32387 0 6.61305 0 9C0 11.3869 0.94821 13.6761 2.63604 15.364C4.32387 17.0518 6.61305 18 9 18ZM12.873 7.616C13.079 6.314 12.18 5.636 10.933 5.178L11.371 3.408L10.381 3.162L9.954 4.888L9.761 4.838C9.565 4.788 9.372 4.738 9.174 4.694L9.602 2.969L8.585 2.717L8.157 4.442L6.139 3.942L5.847 5.122C5.847 5.122 6.596 5.285 6.568 5.301C6.968 5.409 7.037 5.693 7.015 5.91L6.506 7.917L5.808 10.74C5.753 10.874 5.618 11.066 5.344 11C5.356 11.012 4.616 10.809 4.616 10.809L4.13 12.054L6.088 12.588L5.652 14.349L6.635 14.593L7.072 12.831C7.23 12.877 7.39 12.914 7.545 12.95C7.661 12.977 7.774 13.003 7.881 13.032L7.444 14.793L8.429 15.037L8.866 13.276C10.561 13.599 11.841 13.448 12.413 11.779C12.873 10.449 12.443 9.689 11.55 9.19C12.22 9.027 12.717 8.563 12.873 7.616Z"
1515
fill="currentColor"
1616
/>

src/icons/BookmarkIcon.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ const BookmarkIcon = ({ width = 25, height, ...props }: SVGProps<SVGSVGElement>)
1010
xmlns="http://www.w3.org/2000/svg"
1111
{...props}
1212
>
13-
<path d="M3.75195 20.5604V14.7496C3.75195 10.7459 3.75195 8.74403 4.96226 7.50023C6.17257 6.25644 8.12053 6.25644 12.0164 6.25644C15.9123 6.25644 17.8603 6.25644 19.0707 7.50023C20.2809 8.74403 20.2809 10.7459 20.2809 14.7496V20.5604C20.2809 23.1013 20.2809 24.3717 19.4826 24.8265C17.9365 25.7071 15.0363 22.7691 13.659 21.8845C12.8602 21.3714 12.4608 21.1149 12.0164 21.1149C11.572 21.1149 11.1726 21.3714 10.3739 21.8845C8.9966 22.7691 6.09646 25.7071 4.55035 24.8265C3.75195 24.3717 3.75195 23.1013 3.75195 20.5604Z" stroke="currentColor" stroke-width="1.6529" stroke-linecap="round" stroke-linejoin="round"/>
14-
<path d="M10.3638 2.95062H12.5676C17.7621 2.95062 20.3595 2.95062 21.9732 4.56437C23.5869 6.1781 23.5869 8.77538 23.5869 13.9699V20.5815" stroke="currentColor" stroke-width="1.6529" stroke-linecap="round" stroke-linejoin="round"/>
13+
<path d="M3.75195 20.5604V14.7496C3.75195 10.7459 3.75195 8.74403 4.96226 7.50023C6.17257 6.25644 8.12053 6.25644 12.0164 6.25644C15.9123 6.25644 17.8603 6.25644 19.0707 7.50023C20.2809 8.74403 20.2809 10.7459 20.2809 14.7496V20.5604C20.2809 23.1013 20.2809 24.3717 19.4826 24.8265C17.9365 25.7071 15.0363 22.7691 13.659 21.8845C12.8602 21.3714 12.4608 21.1149 12.0164 21.1149C11.572 21.1149 11.1726 21.3714 10.3739 21.8845C8.9966 22.7691 6.09646 25.7071 4.55035 24.8265C3.75195 24.3717 3.75195 23.1013 3.75195 20.5604Z" stroke="currentColor" strokeWidth="1.6529" strokeLinecap="round" strokeLinejoin="round"/>
14+
<path d="M10.3638 2.95062H12.5676C17.7621 2.95062 20.3595 2.95062 21.9732 4.56437C23.5869 6.1781 23.5869 8.77538 23.5869 13.9699V20.5815" stroke="currentColor" strokeWidth="1.6529" strokeLinecap="round" strokeLinejoin="round"/>
1515
</svg>
1616
);
1717

src/icons/CalendarIcon.tsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,37 +20,37 @@ const CalendarIcon = ({
2020
<path
2121
d="M17.2283 2.2829V4.11945M6.20898 2.2829V4.11945"
2222
stroke="currentColor"
23-
stroke-width="1.6529"
24-
stroke-linecap="round"
25-
stroke-linejoin="round"
23+
strokeWidth="1.6529"
24+
strokeLinecap="round"
25+
strokeLinejoin="round"
2626
/>
2727
<path
2828
d="M11.7144 12.3839H11.7226M11.7144 16.057H11.7226M15.3834 12.3839H15.3916M8.04541 12.3839H8.05365M8.04541 16.057H8.05365"
2929
stroke="currentColor"
30-
stroke-width="2.20386"
31-
stroke-linecap="round"
32-
stroke-linejoin="round"
30+
strokeWidth="2.20386"
31+
strokeLinecap="round"
32+
strokeLinejoin="round"
3333
/>
3434
<path
3535
d="M3.91309 7.7926H19.5238"
3636
stroke="currentColor"
37-
stroke-width="1.6529"
38-
stroke-linecap="round"
39-
stroke-linejoin="round"
37+
strokeWidth="1.6529"
38+
strokeLinecap="round"
39+
strokeLinejoin="round"
4040
/>
4141
<path
4242
d="M2.99463 11.689C2.99463 7.68781 2.99463 5.6872 4.14442 4.44419C5.29421 3.20117 7.14477 3.20117 10.8459 3.20117H12.5906C16.2917 3.20117 18.1423 3.20117 19.2921 4.44419C20.4419 5.6872 20.4419 7.68781 20.4419 11.689V12.1606C20.4419 16.1618 20.4419 18.1624 19.2921 19.4054C18.1423 20.6484 16.2917 20.6484 12.5906 20.6484H10.8459C7.14477 20.6484 5.29421 20.6484 4.14442 19.4054C2.99463 18.1624 2.99463 16.1618 2.99463 12.1606V11.689Z"
4343
stroke="currentColor"
44-
stroke-width="1.6529"
45-
stroke-linecap="round"
46-
stroke-linejoin="round"
44+
strokeWidth="1.6529"
45+
strokeLinecap="round"
46+
strokeLinejoin="round"
4747
/>
4848
<path
4949
d="M3.4541 7.7926H19.9831"
5050
stroke="currentColor"
51-
stroke-width="1.6529"
52-
stroke-linecap="round"
53-
stroke-linejoin="round"
51+
strokeWidth="1.6529"
52+
strokeLinecap="round"
53+
strokeLinejoin="round"
5454
/>
5555
</svg>
5656
);

src/icons/DiceIcon.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,24 @@ const DiceIcon = ({
2020
<path
2121
d="M10.341 13.159C9.68198 12.5 8.62132 12.5 6.5 12.5C4.37868 12.5 3.31802 12.5 2.65901 13.159M10.341 13.159C11 13.818 11 14.8787 11 17C11 19.1213 11 20.182 10.341 20.841M2.65901 13.159C2 13.818 2 14.8787 2 17C2 19.1213 2 20.182 2.65901 20.841M2.65901 20.841C3.31802 21.5 4.37868 21.5 6.5 21.5C8.62132 21.5 9.68198 21.5 10.341 20.841"
2222
stroke="currentColor"
23-
stroke-width="1.5"
23+
strokeWidth="1.5"
2424
/>
2525
<path
2626
d="M15.2218 4.77817C16.7406 6.29696 17.5 7.05635 17.5 8C17.5 8.94365 16.7406 9.70304 15.2218 11.2218C13.703 12.7406 12.9436 13.5 12 13.5C11.0563 13.5 10.297 12.7406 8.77817 11.2218C7.25939 9.70304 6.5 8.94365 6.5 8C6.5 7.05635 7.25939 6.29696 8.77817 4.77817C10.297 3.25939 11.0563 2.5 12 2.5C12.9437 2.5 13.703 3.25939 15.2218 4.77817Z"
2727
stroke="currentColor"
28-
stroke-width="1.5"
28+
strokeWidth="1.5"
2929
/>
3030
<path
3131
d="M21.341 13.159C20.682 12.5 19.6213 12.5 17.5 12.5C15.3787 12.5 14.318 12.5 13.659 13.159M21.341 13.159C22 13.818 22 14.8787 22 17C22 19.1213 22 20.182 21.341 20.841M13.659 13.159C13 13.818 13 14.8787 13 17C13 19.1213 13 20.182 13.659 20.841M13.659 20.841C14.318 21.5 15.3787 21.5 17.5 21.5C19.6213 21.5 20.682 21.5 21.341 20.841"
3232
stroke="currentColor"
33-
stroke-width="1.5"
33+
strokeWidth="1.5"
3434
/>
3535
<path
3636
d="M12.008 8H11.999"
3737
stroke="currentColor"
38-
stroke-width="2"
39-
stroke-linecap="round"
40-
stroke-linejoin="round"
38+
strokeWidth="2"
39+
strokeLinecap="round"
40+
strokeLinejoin="round"
4141
/>
4242
</svg>
4343
);

src/icons/MicIcon.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ const MicIcon = ({
2020
<path
2121
d="M19.179 7.79078V12.1985C19.179 15.2414 16.7122 17.7082 13.6693 17.7082C10.6264 17.7082 8.15967 15.2414 8.15967 12.1985V7.79078C8.15967 4.74789 10.6264 2.28113 13.6693 2.28113C16.7122 2.28113 19.179 4.74789 19.179 7.79078Z"
2222
stroke="currentColor"
23-
stroke-width={1.6529 || pathProps?.strokeWidth}
23+
strokeWidth={1.6529 || pathProps?.strokeWidth}
2424
/>
2525
<path
2626
d="M19.1793 7.79077H15.8735M19.1793 12.1985H15.8735"
2727
stroke="currentColor"
28-
stroke-width={1.6529 || pathProps?.strokeWidth}
29-
stroke-linecap="round"
28+
strokeWidth={1.6529 || pathProps?.strokeWidth}
29+
strokeLinecap="round"
3030
/>
3131
<path
3232
d="M22.4849 12.1985C22.4849 17.0671 18.5381 21.0139 13.6695 21.0139M13.6695 21.0139C8.80081 21.0139 4.854 17.0671 4.854 12.1985M13.6695 21.0139V24.3197M13.6695 24.3197H16.9752M13.6695 24.3197H10.3637"
3333
stroke="currentColor"
34-
stroke-width={1.6529 || pathProps?.strokeWidth}
35-
stroke-linecap="round"
34+
strokeWidth={1.6529 || pathProps?.strokeWidth}
35+
strokeLinecap="round"
3636
/>
3737
</svg>
3838
);

0 commit comments

Comments
 (0)