-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(icons): added updated icons (#89)
* feat(icons): added updated icons * docs(icons): add car-location icons * docs(icons): add hearts icons * test(icons): add sh for icons * style(icons): heart viewbox update
- Loading branch information
Showing
13 changed files
with
142 additions
and
23 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file modified
BIN
+2.22 KB
(100%)
packages/icons/src/__tests__/__image_snapshots__/Icon colors icon-2-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.43 KB
(100%)
packages/icons/src/__tests__/__image_snapshots__/Icon colors icon-3-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.34 KB
(100%)
packages/icons/src/__tests__/__image_snapshots__/Icon colors icon-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react'; | ||
|
||
import createSvgIcon from '../utils/createSvgIcon'; | ||
|
||
export const CarLocation = createSvgIcon( | ||
<path | ||
clipRule="evenodd" | ||
d="M18.9584 7.43905C18.9859 7.53158 18.9999 7.6276 18.9999 7.72414V16C18.9999 16.5523 18.5522 17 17.9999 17H14.2666C13.7143 17 13.2666 16.5523 13.2666 16V14H6.73323V16C6.73323 16.5523 6.28552 17 5.73323 17H1.9999C1.44761 17 0.999901 16.5523 0.999901 16V7.72414C0.999901 7.6276 1.01388 7.53158 1.0414 7.43905L1.26612 6.68354L0.019043 5.1247L1.58078 3.8753L1.96029 4.34969L3.0414 0.714908C3.16755 0.290791 3.55742 0 3.9999 0H9.9999H15.9999C16.4424 0 16.8323 0.290791 16.9584 0.714908L18.0531 4.39526L18.469 3.8753L20.0308 5.1247L18.7472 6.72911L18.9584 7.43905ZM4.73323 14H2.9999V12H16.9999V8H2.9999L2.9999 7.8697V15H4.73323V14ZM16.9999 14H15.2666V15H16.9999V14ZM15.254 2L16.4438 6H3.55602L4.74576 2H9.9999H15.254ZM14.9999 10C14.9999 10.5523 14.5522 11 13.9999 11C13.4476 11 12.9999 10.5523 12.9999 10C12.9999 9.44771 13.4476 9 13.9999 9C14.5522 9 14.9999 9.44771 14.9999 10ZM5.9999 11C6.55219 11 6.9999 10.5523 6.9999 10C6.9999 9.44771 6.55219 9 5.9999 9C5.44762 9 4.9999 9.44771 4.9999 10C4.9999 10.5523 5.44762 11 5.9999 11Z" | ||
fillRule="evenodd" | ||
/>, | ||
'CarLocation', | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
|
||
import createSvgIcon from '../utils/createSvgIcon'; | ||
|
||
export const HeartDefault = createSvgIcon( | ||
<path | ||
clipRule="evenodd" | ||
d="M0.555664 5.5808C0.555669 2.49861 3.05428 0 6.13647 0C7.63656 0 8.99807 0.592321 10.0001 1.55382C11.0022 0.592322 12.3637 0 13.8637 0C16.9459 0 19.4445 2.49861 19.4446 5.5808C19.4446 6.15686 19.357 6.71422 19.1937 7.23933C18.4913 9.63675 16.4212 11.9475 14.5686 13.5998C13.6222 14.4439 12.6903 15.1533 11.9411 15.6566C11.5678 15.9074 11.2284 16.1148 10.9474 16.2636C10.8079 16.3375 10.6687 16.4045 10.5381 16.4555C10.4395 16.494 10.2328 16.5707 10.0001 16.5707C9.76743 16.5707 9.56067 16.494 9.46214 16.4555C9.33152 16.4045 9.19231 16.3375 9.05286 16.2636C8.77182 16.1148 8.43243 15.9074 8.05909 15.6566C7.30993 15.1533 6.37807 14.4439 5.43165 13.5998C3.57905 11.9475 1.50893 9.63675 0.806505 7.23933C0.643255 6.71422 0.555664 6.15686 0.555664 5.5808ZM6.13647 1.88889C4.09748 1.88889 2.44456 3.54181 2.44455 5.5808C2.44455 5.96671 2.50344 6.33708 2.61205 6.68438L2.61478 6.69311L2.61734 6.70189C3.16048 8.56457 4.88398 10.5803 6.68893 12.1901C7.57241 12.9781 8.43628 13.6344 9.11247 14.0887C9.45181 14.3167 9.7325 14.4861 9.93691 14.5944C9.95957 14.6064 9.98063 14.6173 10.0001 14.6271C10.0196 14.6173 10.0406 14.6064 10.0633 14.5944C10.2677 14.4861 10.5484 14.3167 10.8877 14.0887C11.5639 13.6344 12.4278 12.9781 13.3113 12.1901C15.1162 10.5803 16.8397 8.56457 17.3829 6.70189L17.3854 6.69311L17.3882 6.68438C17.4968 6.33708 17.5557 5.96671 17.5557 5.5808C17.5557 3.54181 15.9027 1.88889 13.8637 1.88889C12.5805 1.88889 11.4496 2.5428 10.7866 3.53998L10.0001 4.72284L9.21364 3.53998C8.55063 2.5428 7.41971 1.88889 6.13647 1.88889ZM9.82325 14.7057C9.82344 14.7054 9.82824 14.7037 9.83714 14.7013C9.82752 14.7047 9.82307 14.706 9.82325 14.7057ZM10.1631 14.7013C10.172 14.7037 10.1768 14.7054 10.177 14.7057C10.1771 14.706 10.1727 14.7047 10.1631 14.7013Z" | ||
fill="#303030" | ||
fillRule="evenodd" | ||
/>, | ||
'HeartDefault', | ||
'0 0 24 24', | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
|
||
import createSvgIcon from '../utils/createSvgIcon'; | ||
|
||
export const HeartFilled = createSvgIcon( | ||
<path | ||
clipRule="evenodd" | ||
d="M8.13647 4C5.05428 4 2.55567 6.49861 2.55566 9.5808C2.55566 10.1569 2.64325 10.7142 2.80651 11.2393C3.50893 13.6367 5.57905 15.9475 7.43165 17.5998C8.37807 18.4439 9.30993 19.1533 10.0591 19.6566C10.4324 19.9074 10.7718 20.1148 11.0529 20.2636C11.1923 20.3375 11.3315 20.4045 11.4621 20.4555C11.5607 20.494 11.7674 20.5707 12.0001 20.5707C12.2328 20.5707 12.4395 20.494 12.5381 20.4555C12.6687 20.4045 12.8079 20.3375 12.9474 20.2636C13.2284 20.1148 13.5678 19.9074 13.9411 19.6566C14.6903 19.1533 15.6222 18.4439 16.5686 17.5998C18.4212 15.9475 20.4913 13.6367 21.1937 11.2393C21.357 10.7142 21.4446 10.1569 21.4446 9.5808C21.4445 6.49861 18.9459 4 15.8637 4C14.3637 4 13.0022 4.59232 12.0001 5.55382C10.9981 4.59232 9.63656 4 8.13647 4Z" | ||
fill="#303030" | ||
fillRule="evenodd" | ||
/>, | ||
'HeartFilled', | ||
'0 0 24 24', | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
|
||
import createSvgIcon from '../utils/createSvgIcon'; | ||
|
||
export const HeartHover = createSvgIcon( | ||
<path | ||
clipRule="evenodd" | ||
d="M8.06218 3C4.71413 3 2.00001 5.71412 2 9.06217C2 9.68792 2.09515 10.2933 2.27248 10.8638C3.03549 13.468 5.28417 15.978 7.29656 17.7728C8.32461 18.6898 9.33685 19.4603 10.1506 20.007C10.5562 20.2795 10.9248 20.5048 11.2301 20.6664C11.3816 20.7467 11.5328 20.8194 11.6747 20.8749C11.7817 20.9167 12.0063 21 12.2591 21C12.5118 21 12.7364 20.9167 12.8434 20.8749C12.9853 20.8194 13.1365 20.7467 13.288 20.6664C13.5933 20.5048 13.962 20.2795 14.3675 20.007C15.1813 19.4603 16.1935 18.6898 17.2216 17.7728C19.234 15.978 21.4827 13.468 22.2457 10.8638C22.423 10.2933 22.5181 9.68792 22.5181 9.06217C22.5181 5.71412 19.804 3 16.456 3C14.8265 3 13.3476 3.64341 12.2591 4.68784C11.1706 3.64341 9.69166 3 8.06218 3Z" | ||
fill="#E6E6E6" | ||
fillRule="evenodd" | ||
/>, | ||
'HeartHover', | ||
'0 0 24 24', | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
|
||
import createSvgIcon from '../utils/createSvgIcon'; | ||
|
||
export const HeartPressed = createSvgIcon( | ||
<path | ||
clipRule="evenodd" | ||
d="M8.06218 3C4.71413 3 2.00001 5.71412 2 9.06217C2 9.68792 2.09515 10.2933 2.27248 10.8638C3.03549 13.468 5.28417 15.978 7.29656 17.7728C8.32461 18.6898 9.33685 19.4603 10.1506 20.007C10.5562 20.2795 10.9248 20.5048 11.2301 20.6664C11.3816 20.7467 11.5328 20.8194 11.6747 20.8749C11.7817 20.9167 12.0063 21 12.2591 21C12.5118 21 12.7364 20.9167 12.8434 20.8749C12.9853 20.8194 13.1365 20.7467 13.288 20.6664C13.5933 20.5048 13.962 20.2795 14.3675 20.007C15.1813 19.4603 16.1935 18.6898 17.2216 17.7728C19.234 15.978 21.4827 13.468 22.2457 10.8638C22.423 10.2933 22.5181 9.68792 22.5181 9.06217C22.5181 5.71412 19.804 3 16.456 3C14.8265 3 13.3476 3.64341 12.2591 4.68784C11.1706 3.64341 9.69166 3 8.06218 3Z" | ||
fill="#CDCDCD" | ||
fillRule="evenodd" | ||
/>, | ||
'HeartPressed', | ||
'0 0 24 24', | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
|
||
import createSvgIcon from '../utils/createSvgIcon'; | ||
|
||
export const HeartSelected = createSvgIcon( | ||
<path | ||
clipRule="evenodd" | ||
d="M8.13647 4C5.05428 4 2.55567 6.49861 2.55566 9.5808C2.55566 10.1569 2.64325 10.7142 2.80651 11.2393C3.50893 13.6367 5.57905 15.9475 7.43165 17.5998C8.37807 18.4439 9.30993 19.1533 10.0591 19.6566C10.4324 19.9074 10.7718 20.1148 11.0529 20.2636C11.1923 20.3375 11.3315 20.4045 11.4621 20.4555C11.5607 20.494 11.7674 20.5707 12.0001 20.5707C12.2328 20.5707 12.4395 20.494 12.5381 20.4555C12.6687 20.4045 12.8079 20.3375 12.9474 20.2636C13.2284 20.1148 13.5678 19.9074 13.9411 19.6566C14.6903 19.1533 15.6222 18.4439 16.5686 17.5998C18.4212 15.9475 20.4913 13.6367 21.1937 11.2393C21.357 10.7142 21.4446 10.1569 21.4446 9.5808C21.4445 6.49861 18.9459 4 15.8637 4C14.3637 4 13.0022 4.59232 12.0001 5.55382C10.9981 4.59232 9.63656 4 8.13647 4Z" | ||
fill="#00CEA5" | ||
fillRule="evenodd" | ||
/>, | ||
'HeartSelected', | ||
'0 0 24 24', | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
|
||
import createSvgIcon from '../utils/createSvgIcon'; | ||
|
||
export const HeartSelectedHover = createSvgIcon( | ||
<path | ||
clip-rule="evenodd" | ||
d="M8.06218 3C4.71413 3 2.00001 5.71412 2 9.06217C2 9.68792 2.09515 10.2933 2.27248 10.8638C3.03549 13.468 5.28417 15.978 7.29656 17.7728C8.32461 18.6898 9.33685 19.4603 10.1506 20.007C10.5562 20.2795 10.9248 20.5048 11.2301 20.6664C11.3816 20.7467 11.5328 20.8194 11.6747 20.8749C11.7817 20.9167 12.0063 21 12.2591 21C12.5118 21 12.7364 20.9167 12.8434 20.8749C12.9853 20.8194 13.1365 20.7467 13.288 20.6664C13.5933 20.5048 13.962 20.2795 14.3675 20.007C15.1813 19.4603 16.1935 18.6898 17.2216 17.7728C19.234 15.978 21.4827 13.468 22.2457 10.8638C22.423 10.2933 22.5181 9.68792 22.5181 9.06217C22.5181 5.71412 19.804 3 16.456 3C14.8265 3 13.3476 3.64341 12.2591 4.68784C11.1706 3.64341 9.69166 3 8.06218 3Z" | ||
fill="#00A584" | ||
fill-rule="evenodd" | ||
/>, | ||
'HeartSelectedHover', | ||
'0 0 24 24', | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
|
||
import createSvgIcon from '../utils/createSvgIcon'; | ||
|
||
export const HeartSelectedPressed = createSvgIcon( | ||
<path | ||
clipRule="evenodd" | ||
d="M8.06218 3C4.71413 3 2.00001 5.71412 2 9.06217C2 9.68792 2.09515 10.2933 2.27248 10.8638C3.03549 13.468 5.28417 15.978 7.29656 17.7728C8.32461 18.6898 9.33685 19.4603 10.1506 20.007C10.5562 20.2795 10.9248 20.5048 11.2301 20.6664C11.3816 20.7467 11.5328 20.8194 11.6747 20.8749C11.7817 20.9167 12.0063 21 12.2591 21C12.5118 21 12.7364 20.9167 12.8434 20.8749C12.9853 20.8194 13.1365 20.7467 13.288 20.6664C13.5933 20.5048 13.962 20.2795 14.3675 20.007C15.1813 19.4603 16.1935 18.6898 17.2216 17.7728C19.234 15.978 21.4827 13.468 22.2457 10.8638C22.423 10.2933 22.5181 9.68792 22.5181 9.06217C22.5181 5.71412 19.804 3 16.456 3C14.8265 3 13.3476 3.64341 12.2591 4.68784C11.1706 3.64341 9.69166 3 8.06218 3Z" | ||
fill="#007C63" | ||
fillRule="evenodd" | ||
/>, | ||
'HeartSelectedPressed', | ||
'0 0 24 24', | ||
); |
5dad4af
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage report
Test suite run success
202 tests passing in 28 suites.
Report generated by 🧪jest coverage report action from 5dad4af