Skip to content

Commit 5c7fca2

Browse files
Merge branch 'master' into add-GetApp-Icon
2 parents f878abf + e2f9b22 commit 5c7fca2

File tree

12 files changed

+126
-12
lines changed

12 files changed

+126
-12
lines changed

src/icons/CheckCircleOutline/CheckCircleOutlineIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const CheckCircleOutlineIcon = ({
1717
{...props}
1818
>
1919
<path
20-
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-5.41 7.29-7.29 1.41 1.41L11 16l-4.29-4.29 1.41-1.41L11 14.17z"
20+
d="M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
2121
fill={fill}
2222
/>
2323
</svg>
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import { DEFAULT_FILL_NONE, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
2+
import { IconProps } from '../types';
3+
4+
export const CompareArrowsIcon = ({
5+
width = DEFAULT_WIDTH,
6+
height = DEFAULT_HEIGHT,
7+
fill = DEFAULT_FILL_NONE,
8+
...props
9+
}: IconProps): JSX.Element => {
10+
return (
11+
<svg
12+
width={width}
13+
height={height}
14+
xmlns="http://www.w3.org/2000/svg"
15+
viewBox="0 0 24 24"
16+
data-testid="circle-icon-svg"
17+
{...props}
18+
>
19+
<path
20+
d="M9.01 14H2v2h7.01v3L13 15l-3.99-4zm5.98-1v-3H22V8h-7.01V5L11 9z"
21+
fill={fill}
22+
/>
23+
</svg>
24+
);
25+
};
26+
27+
export default CompareArrowsIcon;

src/icons/CompareArrows/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as CompareArrowsIcon } from './CompareArrowsIcon';

src/icons/Description/DescriptionIcon.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ const DescriptionIcon = ({
1010
<svg
1111
width={width}
1212
height={height}
13-
viewBox="0 0 48 48"
13+
viewBox="0 0 24 24"
1414
fill={fill}
1515
data-testid="description-icon-svg"
1616
xmlns="http://www.w3.org/2000/svg"
1717
{...props}
1818
>
1919
{/* SVG path data from Material UI Description icon will go here */}
20-
<path d="M8 4h28v40H8z" />
20+
<path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 16H8v-2h8zm0-4H8v-2h8zm-3-5V3.5L18.5 9z" fill={fill}></path>
2121
</svg>
2222
);
2323

src/icons/FolderRounded/FolderRoundedIcon.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ export const FolderRoundedIcon = ({
1616
data-testid="folder-rounded-icon-svg"
1717
{...props}
1818
>
19-
<path
20-
d="M10 4c-0.55 0-1 0.45-1 1H4c-1.1 0-2 0.9-2 2v10c0 1.1 0.9 2 2 2h16c1.1 0 2-0.9 2-2V8c0-1.1-0.9-2-2-2h-8l-2-2z"
21-
fill={fill}
22-
/>
19+
<path d="M10.59 4.59C10.21 4.21 9.7 4 9.17 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z" fill={fill} />
2320
</svg>
2421
);
2522
};

src/icons/Github/GithubIcon.tsx

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,19 @@ interface GithubIconProps {
22
height?: string | number;
33
width?: string | number;
44
fill?: string;
5+
orgIcon?: boolean;
6+
bgFill?: string;
7+
catFill?: string;
58
className?: string;
69
}
710

811
export default function GithubIcon({
912
height = '1.45rem',
1013
width = '1.45rem',
1114
fill = 'currentColor',
15+
orgIcon = false,
16+
bgFill = '#fff',
17+
catFill = '#000',
1218
className
1319
}: GithubIconProps) {
1420
return (
@@ -17,8 +23,32 @@ export default function GithubIcon({
1723
width={width}
1824
className={className}
1925
xmlns="http://www.w3.org/2000/svg"
20-
viewBox="60 60 280 280"
26+
viewBox={orgIcon ? "0 0 512 512" : "60 60 280 280"}
2127
>
28+
{orgIcon ? (
29+
<g>
30+
<path
31+
fill={bgFill}
32+
d="m512 257c0 120-84.101562 220.5-196 247.5l-30.601562-97.199219h-58.796876l-29.601562 97.199219c-111.898438-27-197-127.5-197-247.5 0-140.699219 115.300781-257 256-257s256 116.300781 256 257zm0 0"
33+
/>
34+
<path
35+
fill={bgFill}
36+
d="m512 257c0 120-84.101562 220.5-196 247.5l-30.601562-97.199219h-29.398438v-407.300781c140.699219 0 256 116.300781 256 257zm0 0"
37+
/>
38+
<path
39+
fill={catFill}
40+
d="m181.277344 430.058594c-6.078125 0-12.011719-.867188-17.828125-2.578125-15.128907-4.46875-27.421875-14.546875-36.546875-29.914063-4.160156-7.015625-8.496094-11.878906-13.605469-15.308594-5.027344-3.382812-9.039063-4.671874-13.273437-4.363281l-2.636719-29.882812c11.117187-.953125 21.753906 2.0625 32.59375 9.316406 8.832031 5.902344 16.257812 14.0625 22.71875 24.914063 5.304687 8.921874 11.410156 14.152343 19.25 16.46875 8.804687 2.589843 17.941406 1.507812 29.632812-3.472657l11.808594 27.566407c-11.296875 4.835937-21.929687 7.253906-32.113281 7.253906zm0 0"
41+
/>
42+
<path
43+
fill={catFill}
44+
d="m400.902344 287.300781c-10.503906 27.898438-36.902344 63.300781-103.800782 73.199219 8.699219 12.898438 19.199219 19.800781 18.898438 46.800781v97.199219c-19.199219 4.800781-39.300781 7.5-60 7.5s-39.800781-2.699219-59-7.5v-98.402344c0-26.699218 10.101562-34.199218 17.898438-45.597656-66.898438-9.902344-93.296876-45.300781-103.800782-73.199219-14.097656-37.203125-6.597656-83.402343 18.003906-112.800781.597657-.601562 1.5-2.101562 1.199219-3-11.402343-34.199219 2.398438-62.699219 3-65.699219 12.898438 3.898438 15-3.902343 56.699219 21.597657l7.199219 4.203124c3 1.796876 2.101562.597657 5.101562.597657 17.398438-4.800781 35.699219-7.5 53.699219-7.5 18.300781 0 36.300781 2.699219 54.597656 7.5l2.101563.300781s.597656 0 2.101562-.898438c51.898438-31.503906 50.097657-21.300781 64.195313-25.800781.300781 3 14.101562 31.796875 2.703125 65.699219-1.5 4.5 45 47.097656 19.203125 115.800781zm0 0"
45+
/>
46+
<path
47+
fill={catFill}
48+
d="m400.902344 287.300781c-10.503906 27.898438-36.902344 63.300781-103.800782 73.199219 8.699219 12.898438 19.199219 19.800781 18.898438 46.800781v97.199219c-19.199219 4.800781-39.300781 7.5-60 7.5v-387.300781c18.300781 0 36.300781 2.699219 54.601562 7.5l2.097657.300781s.601562 0 2.101562-.898438c51.898438-31.503906 50.097657-21.300781 64.199219-25.800781.300781 3 14.101562 31.796875 2.699219 65.699219-1.5 4.5 45 47.097656 19.203125 115.800781zm0 0"
49+
/>
50+
</g>
51+
) : (
2252
<path
2353
fill={fill}
2454
fillRule="evenodd"
@@ -30,6 +60,7 @@ export default function GithubIcon({
3060
c7.5,18.9,2.8,32.8,1.4,36.3c8.8,9.6,14.1,21.8,14.1,36.8c0,52.6-32,64.2-62.5,67.6c4.9,4.2,9.3,12.6,9.3,25.4
3161
c0,18.3-0.2,33.1-0.2,37.6c0,3.7,2.5,7.9,9.4,6.6c54.4-18.2,93.6-69.5,93.6-130C340.9,121.3,279.5,60,203.9,60z"
3262
/>
63+
)}
3364
</svg>
3465
);
3566
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import { DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_FILL_NONE } from '../../constants/constants';
2+
import { IconProps } from '../types';
3+
4+
export const IndeterminateCheckBoxIcon = ({
5+
width = DEFAULT_WIDTH,
6+
height = DEFAULT_HEIGHT,
7+
fill = DEFAULT_FILL_NONE,
8+
...props
9+
}: IconProps): JSX.Element => {
10+
return (
11+
<svg
12+
width={width}
13+
height={height}
14+
xmlns="http://www.w3.org/2000/svg"
15+
viewBox="0 0 24 24"
16+
{...props}
17+
>
18+
<path
19+
d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-2 10H7v-2h10z"
20+
fill={fill}
21+
/>
22+
</svg>
23+
);
24+
};
25+
export default IndeterminateCheckBoxIcon;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as IndeterminateCheckBoxIcon } from './IndeterminateCheckBoxIcon';

src/icons/Publish/PublishIcon.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
1-
import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
1+
import { DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_FILL_NONE } from '../../constants/constants';
22
import { IconProps } from '../types';
33

44
export const PublishIcon = ({
55
width = DEFAULT_WIDTH,
66
height = DEFAULT_HEIGHT,
7+
fill = DEFAULT_FILL_NONE,
78
...props
89
}: IconProps): JSX.Element => {
910
return (
1011
<svg
1112
xmlns="http://www.w3.org/2000/svg"
12-
viewBox="0 -960 960 960"
13+
viewBox="0 0 24 24"
1314
width={width}
1415
height={height}
1516
{...props}
1617
>
17-
<path d="M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm-40-82v-78q-33 0-56.5-23.5T360-320v-40L168-552q-3 18-5.5 36t-2.5 36q0 121 79.5 212T440-162Zm276-102q20-22 36-47.5t26.5-53q10.5-27.5 16-56.5t5.5-59q0-98-54.5-179T600-776v16q0 33-23.5 56.5T520-680h-80v80q0 17-11.5 28.5T400-560h-80v80h240q17 0 28.5 11.5T600-440v120h40q26 0 47 15.5t29 40.5Z" />
18+
<path d="M5 4v2h14V4zm0 10h4v6h6v-6h4l-7-7z" fill={fill} />
1819
</svg>
1920
);
2021
};
2122

22-
export default PublishIcon;
23+
export default PublishIcon;
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { DEFAULT_FILL_NONE, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
2+
import { IconProps } from '../types';
3+
4+
export const VerifiedIcon = ({
5+
width = DEFAULT_WIDTH,
6+
height = DEFAULT_HEIGHT,
7+
fill = DEFAULT_FILL_NONE,
8+
...props
9+
}: IconProps): JSX.Element => {
10+
return (
11+
<svg
12+
width={width}
13+
height={height}
14+
xmlns="http://www.w3.org/2000/svg"
15+
viewBox="0 0 24 24"
16+
data-testid="verified-icon-svg"
17+
{...props}
18+
>
19+
<path d="m23 12-2.44-2.79.34-3.69-3.61-.82-1.89-3.2L12 2.96 8.6 1.5 6.71 4.69 3.1 5.5l.34 3.7L1 12l2.44 2.79-.34 3.7 3.61.82L8.6 22.5l3.4-1.47 3.4 1.46 1.89-3.19 3.61-.82-.34-3.69zm-12.91 4.72-3.8-3.81 1.48-1.48 2.32 2.33 5.85-5.87 1.48 1.48z" fill={fill} />
20+
</svg>
21+
);
22+
};
23+
24+
export default VerifiedIcon;

0 commit comments

Comments
 (0)