-
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 missing icons (#172)
* feat(icons): added missing icons Added several icons that were missing from the UI Kit HEYUI-276 * added body color icons and made a few positioning changes
- Loading branch information
1 parent
20cd4c7
commit 437483a
Showing
39 changed files
with
504 additions
and
5 deletions.
There are no files selected for viewing
Binary file modified
BIN
-33.7 KB
(59%)
...s__/__image_snapshots__/Accordion screenshots Accordion open first tab-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
+1.7 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.1 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
+1.5 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
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,21 @@ | ||
import React from 'react'; | ||
|
||
import createSvgIcon from '../utils/createSvgIcon'; | ||
|
||
export const Amex = createSvgIcon( | ||
<> | ||
<path | ||
d="M0,0h24v24H0z" | ||
fill="transparent" | ||
stroke="#EAEAEA" | ||
strokeWidth=".5" | ||
/> | ||
<path | ||
clipRule="evenodd" | ||
d="M4.257 9.692 2 14.302h2.702l.335-.735h.766l.335.735h2.974v-.561l.265.56h1.539l.265-.572v.573h6.185l.753-.716.704.716 3.177.006-2.264-2.298L22 9.692h-3.128l-.732.703-.682-.703h-6.73l-.577 1.19-.592-1.19H6.863v.542l-.3-.542H4.257Zm.523.655h1.317l1.497 3.126v-3.126h1.443l1.156 2.242 1.066-2.242h1.436v3.308h-.874l-.007-2.592-1.273 2.592h-.782l-1.28-2.592v2.592H6.68l-.34-.742H4.5l-.34.741h-.963l1.583-3.307Zm12.266 0h-3.552v3.306h3.497l1.128-1.096 1.086 1.096h1.136L18.69 12.01l1.65-1.663h-1.086l-1.121 1.083-1.087-1.083Zm-11.625.56-.607 1.32h1.213l-.606-1.32Zm8.95.73v-.604h2.217l.967.965-1.01.971h-2.174v-.66h1.938v-.672h-1.938Z" | ||
fill="#044BBC" | ||
fillRule="evenodd" | ||
/> | ||
</>, | ||
'Amex', | ||
); |
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,14 @@ | ||
import React from 'react'; | ||
|
||
import createSvgIcon from '../utils/createSvgIcon'; | ||
|
||
export const BodyColorBlack = createSvgIcon( | ||
<circle | ||
cx="10" | ||
cy="10" | ||
fill="#1D1D1D" | ||
r="10" | ||
transform="matrix(1 0 0 -1 2 22)" | ||
/>, | ||
'BodyColorBlack', | ||
); |
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 BodyColorBlue = createSvgIcon( | ||
<circle | ||
cx="10" | ||
cy="10" | ||
fill="#164CA3" | ||
r="10" | ||
transform="matrix(1 0 0 -1 2 22)" | ||
/>, | ||
'BodyColorBlue', | ||
); |
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 BodyColorBrown = createSvgIcon( | ||
<circle | ||
cx="10" | ||
cy="10" | ||
fill="#7B431B" | ||
r="10" | ||
transform="matrix(1 0 0 -1 2 22)" | ||
/>, | ||
'BodyColorBrown', | ||
); |
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 BodyColorGold = createSvgIcon( | ||
<circle | ||
cx="10" | ||
cy="10" | ||
fill="#C7A325" | ||
r="10" | ||
transform="matrix(1 0 0 -1 2 22)" | ||
/>, | ||
'BodyColorGold', | ||
); |
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 BodyColorGreen = createSvgIcon( | ||
<circle | ||
cx="10" | ||
cy="10" | ||
fill="#1F8B4D" | ||
r="10" | ||
transform="matrix(1 0 0 -1 2 22)" | ||
/>, | ||
'BodyColorGreen', | ||
); |
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 BodyColorGrey = createSvgIcon( | ||
<circle | ||
cx="10" | ||
cy="10" | ||
fill="#838383" | ||
r="10" | ||
transform="matrix(1 0 0 -1 2 22)" | ||
/>, | ||
'BodyColorGrey', | ||
); |
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 BodyColorOrange = createSvgIcon( | ||
<circle | ||
cx="10" | ||
cy="10" | ||
fill="#FC7E09" | ||
r="10" | ||
transform="matrix(1 0 0 -1 2 22)" | ||
/>, | ||
'BodyColorOrange', | ||
); |
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 BodyColorRed = createSvgIcon( | ||
<circle | ||
cx="10" | ||
cy="10" | ||
fill="#E24529" | ||
r="10" | ||
transform="matrix(1 0 0 -1 2 22)" | ||
/>, | ||
'BodyColorRed', | ||
); |
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 BodyColorSilver = createSvgIcon( | ||
<circle | ||
cx="10" | ||
cy="10" | ||
fill="#B5B5B5" | ||
r="10" | ||
transform="matrix(1 0 0 -1 2 22)" | ||
/>, | ||
'BodyColorSilver', | ||
); |
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,15 @@ | ||
import React from 'react'; | ||
|
||
import createSvgIcon from '../utils/createSvgIcon'; | ||
|
||
export const BodyColorWhite = createSvgIcon( | ||
<circle | ||
cx="10" | ||
cy="10" | ||
fill="#fff" | ||
r="9.5" | ||
stroke="#838383" | ||
transform="matrix(1 0 0 -1 2 22)" | ||
/>, | ||
'BodyColorWhite', | ||
); |
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 BodyColorYellow = createSvgIcon( | ||
<circle | ||
cx="10" | ||
cy="10" | ||
fill="#FAC361" | ||
r="10" | ||
transform="matrix(1 0 0 -1 2 22)" | ||
/>, | ||
'BodyColorYellow', | ||
); |
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,16 @@ | ||
import React from 'react'; | ||
|
||
import createSvgIcon from '../utils/createSvgIcon'; | ||
|
||
export const Bonus = createSvgIcon( | ||
<> | ||
<path | ||
d="M8.016 7.743c-1.48-.025-2.39-1.63-1.65-2.913.74-1.282 2.586-1.298 3.347-.028L11.511 7.8l-3.495-.057ZM15.984 7.743c1.48-.025 2.39-1.63 1.65-2.913-.74-1.282-2.586-1.298-3.347-.028L12.489 7.8l3.495-.057ZM5 12h14v8H5zM4 8h16v4H4z" | ||
fill="transparent" | ||
stroke="currentColor" | ||
strokeWidth="2" | ||
/> | ||
<path d="M11 9h2v10h-2z" /> | ||
</>, | ||
'Bonus', | ||
); |
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 @@ | ||
/* eslint-disable unicorn/filename-case */ | ||
/* eslint-disable @typescript-eslint/naming-convention */ | ||
import React from 'react'; | ||
|
||
import createSvgIcon from '../utils/createSvgIcon'; | ||
|
||
export const CO2 = createSvgIcon( | ||
<path | ||
clipRule="evenodd" | ||
d="M18.317 13.975 18.16 14h-2.325c-.348-1.366.014-2.263.135-2.445l.555-.832-1.664-1.11-.555.832c-.42.631-.809 1.917-.516 3.555h-1.015c-.347-1.366.014-2.263.136-2.445l.555-.832-1.664-1.11-.555.832c-.42.631-.81 1.917-.516 3.555H9.716c-.347-1.366.014-2.263.136-2.445l.555-.832-1.665-1.11-.554.832c-.42.631-.81 1.917-.516 3.555H5.84l-.157-.025a2.001 2.001 0 0 1-.145-3.922l1.277-.3.233-1.292A3.001 3.001 0 0 1 12.039 6.8l.96.89 1.201-.524a2.002 2.002 0 0 1 2.75 1.383l.28 1.221 1.221.28a2.002 2.002 0 0 1-.134 3.925ZM14.37 16h-1.034c.213 1.953-.93 3.398-1.678 3.958l-.8.6-1.2-1.6.8-.6c.398-.298 1.077-1.162.853-2.358H10.28c.209 1.928-.958 3.259-1.68 3.8l-.8.6-1.2-1.6.8-.6c.422-.317 1.07-1.06.854-2.2H5.398a3.517 3.517 0 0 1-.026-.049 4.001 4.001 0 0 1-.292-7.845 5.002 5.002 0 0 1 8.32-2.773 4.002 4.002 0 0 1 5.5 2.768 4.001 4.001 0 0 1-.272 7.85 3.315 3.315 0 0 1-.026.049h-2.206c.213 1.953-.93 3.398-1.678 3.958l-.8.6-1.2-1.6.8-.6c.398-.298 1.077-1.162.853-2.358Z" | ||
fillRule="evenodd" | ||
/>, | ||
'CO2', | ||
); |
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,27 @@ | ||
import React from 'react'; | ||
|
||
import createSvgIcon from '../utils/createSvgIcon'; | ||
|
||
export const Canada = createSvgIcon( | ||
<> | ||
<g clip-path="url(#a)"> | ||
<path | ||
d="M18.095 0H1.905C.853 0 0 .955 0 2.133v11.734C0 15.045.853 16 1.905 16h16.19C19.147 16 20 15.045 20 13.867V2.133C20 .955 19.147 0 18.095 0Z" | ||
fill="#fff" | ||
/> | ||
<path | ||
clipRule="evenodd" | ||
d="M0 0h4.762v16H0V0Zm15.238 0H20v16h-4.762V0ZM10 4.267 9.048 6.4 7.619 5.333v2.134l-.952 1.066L8.57 9.6h.953v2.133h.952V9.6h.953l1.904-1.067-.952-1.066V5.333L10.857 6.4 10 4.267Z" | ||
fill="red" | ||
fillRule="evenodd" | ||
/> | ||
</g> | ||
<defs> | ||
<clipPath id="a"> | ||
<path d="M0 0h20v16H0z" fill="#fff" /> | ||
</clipPath> | ||
</defs> | ||
</>, | ||
'Canada', | ||
'-2 -4 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 |
---|---|---|
|
@@ -9,4 +9,5 @@ export const CarLocation = createSvgIcon( | |
fillRule="evenodd" | ||
/>, | ||
'CarLocation', | ||
'-2.5 -4 24 24', | ||
); |
Oops, something went wrong.
437483a
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
270 tests passing in 41 suites.
Report generated by 🧪jest coverage report action from 437483a