Skip to content

Commit

Permalink
Update icons grid
Browse files Browse the repository at this point in the history
  • Loading branch information
qasimali09 committed Apr 26, 2023
1 parent d74d533 commit 90d1592
Show file tree
Hide file tree
Showing 52 changed files with 473 additions and 1,023 deletions.
Binary file modified .DS_Store
Binary file not shown.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
dist
dist
build
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-modern-icons",
"version": "1.0.9",
"version": "1.2.0",
"description": "React Modern Icons is a set of modern icons for React",
"repository": {
"type": "git",
Expand Down
26 changes: 1 addition & 25 deletions src/icons/documents/Archive.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,28 +39,6 @@ function Archive({ color, strokeWidth, varient }) {
</g>
);

const duotoneIcon = () => (
<g>
<path
d="M9 12C9 11.5341 9 11.3011 9.07612 11.1173C9.17761 10.8723 9.37229 10.6776 9.61732 10.5761C9.80109 10.5 10.0341 10.5 10.5 10.5H13.5C13.9659 10.5 14.1989 10.5 14.3827 10.5761C14.6277 10.6776 14.8224 10.8723 14.9239 11.1173C15 11.3011 15 11.5341 15 12C15 12.4659 15 12.6989 14.9239 12.8827C14.8224 13.1277 14.6277 13.3224 14.3827 13.4239C14.1989 13.5 13.9659 13.5 13.5 13.5H10.5C10.0341 13.5 9.80109 13.5 9.61732 13.4239C9.37229 13.3224 9.17761 13.1277 9.07612 12.8827C9 12.6989 9 12.4659 9 12Z"
stroke={color}
strokeWidth={strokeWidth}
/>
<path
opacity="0.5"
d="M20.5 7V13C20.5 16.7712 20.5 18.6569 19.3284 19.8284C18.1569 21 16.2712 21 12.5 21H11.5C7.72876 21 5.84315 21 4.67157 19.8284C3.5 18.6569 3.5 16.7712 3.5 13V7"
stroke={color}
strokeWidth={strokeWidth}
strokeLinecap="round"
/>
<path
d="M2 5C2 4.05719 2 3.58579 2.29289 3.29289C2.58579 3 3.05719 3 4 3H20C20.9428 3 21.4142 3 21.7071 3.29289C22 3.58579 22 4.05719 22 5C22 5.94281 22 6.41421 21.7071 6.70711C21.4142 7 20.9428 7 20 7H4C3.05719 7 2.58579 7 2.29289 6.70711C2 6.41421 2 5.94281 2 5Z"
stroke={color}
strokeWidth={strokeWidth}
/>
</g>
);

switch (varient) {
case 'light':
return defaultIcon();
Expand All @@ -70,8 +48,6 @@ function Archive({ color, strokeWidth, varient }) {
return defaultIcon();
case 'filled':
return filledIcon();
case 'duotone':
return duotoneIcon();
default:
return defaultIcon();
}
Expand All @@ -82,7 +58,7 @@ export default generateIcon(Archive);
Archive.propTypes = {
color: PropTypes.string,
strokeWidth: PropTypes.string,
varient: PropTypes.oneOf(['light', 'regular', 'bold', 'filled', 'duotone']),
varient: PropTypes.oneOf(['light', 'regular', 'bold', 'filled']),
};

Archive.defaultProps = {
Expand Down
28 changes: 1 addition & 27 deletions src/icons/documents/ArchiveCheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,30 +41,6 @@ function ArchiveCheck({ color, strokeWidth, varient }) {
</g>
);

const duotoneIcon = () => (
<g>
<path
opacity="0.5"
d="M20.5 7V13C20.5 16.7712 20.5 18.6569 19.3284 19.8284C18.1569 21 16.2712 21 12.5 21H11.5C7.72876 21 5.84315 21 4.67157 19.8284C3.5 18.6569 3.5 16.7712 3.5 13V7"
stroke={color}
strokeWidth={strokeWidth}
strokeLinecap="round"
/>
<path
d="M2 5C2 4.05719 2 3.58579 2.29289 3.29289C2.58579 3 3.05719 3 4 3H20C20.9428 3 21.4142 3 21.7071 3.29289C22 3.58579 22 4.05719 22 5C22 5.94281 22 6.41421 21.7071 6.70711C21.4142 7 20.9428 7 20 7H4C3.05719 7 2.58579 7 2.29289 6.70711C2 6.41421 2 5.94281 2 5Z"
stroke={color}
strokeWidth={strokeWidth}
/>
<path
d="M9.5 13.4L10.9286 15L14.5 11"
stroke={color}
strokeWidth={strokeWidth}
strokeLinecap="round"
strokeLinejoin="round"
/>
</g>
);

switch (varient) {
case 'light':
return defaultIcon();
Expand All @@ -74,8 +50,6 @@ function ArchiveCheck({ color, strokeWidth, varient }) {
return defaultIcon();
case 'filled':
return filledIcon();
case 'duotone':
return duotoneIcon();
default:
return defaultIcon();
}
Expand All @@ -86,7 +60,7 @@ export default generateIcon(ArchiveCheck);
ArchiveCheck.propTypes = {
color: PropTypes.string,
strokeWidth: PropTypes.string,
varient: PropTypes.oneOf(['light', 'regular', 'bold', 'filled', 'duotone']),
varient: PropTypes.oneOf(['light', 'regular', 'bold', 'filled']),
};

ArchiveCheck.defaultProps = {
Expand Down
28 changes: 1 addition & 27 deletions src/icons/documents/ArchiveDown.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,30 +39,6 @@ function ArchiveDown({ color, strokeWidth, varient }) {
</g>
);

const duotoneIcon = () => (
<g>
<path
opacity="0.5"
d="M20.5 7V13C20.5 16.7712 20.5 18.6569 19.3284 19.8284C18.1569 21 16.2712 21 12.5 21H11.5C7.72876 21 5.84315 21 4.67157 19.8284C3.5 18.6569 3.5 16.7712 3.5 13V7"
stroke={color}
strokeWidth={strokeWidth}
strokeLinecap="round"
/>
<path
d="M2 5C2 4.05719 2 3.58579 2.29289 3.29289C2.58579 3 3.05719 3 4 3H20C20.9428 3 21.4142 3 21.7071 3.29289C22 3.58579 22 4.05719 22 5C22 5.94281 22 6.41421 21.7071 6.70711C21.4142 7 20.9428 7 20 7H4C3.05719 7 2.58579 7 2.29289 6.70711C2 6.41421 2 5.94281 2 5Z"
stroke={color}
strokeWidth={strokeWidth}
/>
<path
d="M12 7L12 16M12 16L15 12.6667M12 16L9 12.6667"
stroke={color}
strokeWidth={strokeWidth}
strokeLinecap="round"
strokeLinejoin="round"
/>
</g>
);

switch (varient) {
case 'light':
return defaultIcon();
Expand All @@ -72,8 +48,6 @@ function ArchiveDown({ color, strokeWidth, varient }) {
return defaultIcon();
case 'filled':
return filledIcon();
case 'duotone':
return duotoneIcon();
default:
return defaultIcon();
}
Expand All @@ -84,7 +58,7 @@ export default generateIcon(ArchiveDown);
ArchiveDown.propTypes = {
color: PropTypes.string,
strokeWidth: PropTypes.string,
varient: PropTypes.oneOf(['light', 'regular', 'bold', 'filled', 'duotone']),
varient: PropTypes.oneOf(['light', 'regular', 'bold', 'filled']),
};

ArchiveDown.defaultProps = {
Expand Down
27 changes: 1 addition & 26 deletions src/icons/documents/ArchiveDownMinimlistic.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,6 @@ function ArchiveDownMinimlistic({ color, strokeWidth, varient }) {
</g>
);

const duotoneIcon = () => (
<g>
<path
opacity="0.5"
d="M2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12"
stroke={color}
strokeWidth={strokeWidth}
/>
<path
d="M2 14C2 11.1997 2 9.79961 2.54497 8.73005C3.02433 7.78924 3.78924 7.02433 4.73005 6.54497C5.79961 6 7.19974 6 10 6H14C16.8003 6 18.2004 6 19.27 6.54497C20.2108 7.02433 20.9757 7.78924 21.455 8.73005C22 9.79961 22 11.1997 22 14C22 16.8003 22 18.2004 21.455 19.27C20.9757 20.2108 20.2108 20.9757 19.27 21.455C18.2004 22 16.8003 22 14 22H10C7.19974 22 5.79961 22 4.73005 21.455C3.78924 20.9757 3.02433 20.2108 2.54497 19.27C2 18.2004 2 16.8003 2 14Z"
stroke={color}
strokeWidth={strokeWidth}
/>
<path
d="M12 11L12 17M12 17L14.5 14.5M12 17L9.5 14.5"
stroke={color}
strokeWidth={strokeWidth}
strokeLinecap="round"
strokeLinejoin="round"
/>
</g>
);

switch (varient) {
case 'light':
return defaultIcon();
Expand All @@ -72,8 +49,6 @@ function ArchiveDownMinimlistic({ color, strokeWidth, varient }) {
return defaultIcon();
case 'filled':
return filledIcon();
case 'duotone':
return duotoneIcon();
default:
return defaultIcon();
}
Expand All @@ -84,7 +59,7 @@ export default generateIcon(ArchiveDownMinimlistic);
ArchiveDownMinimlistic.propTypes = {
color: PropTypes.string,
strokeWidth: PropTypes.string,
varient: PropTypes.oneOf(['light', 'regular', 'bold', 'filled', 'duotone']),
varient: PropTypes.oneOf(['light', 'regular', 'bold', 'filled']),
};

ArchiveDownMinimlistic.defaultProps = {
Expand Down
27 changes: 1 addition & 26 deletions src/icons/documents/ArchiveMinimalistic.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,6 @@ function ArchiveMinimalistic({ color, strokeWidth, varient }) {
</g>
);

const duotoneIcon = () => (
<g>
<path
opacity="0.5"
d="M2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12"
stroke={color}
strokeWidth={strokeWidth}
/>
<path
d="M2 14C2 11.1997 2 9.79961 2.54497 8.73005C3.02433 7.78924 3.78924 7.02433 4.73005 6.54497C5.79961 6 7.19974 6 10 6H14C16.8003 6 18.2004 6 19.27 6.54497C20.2108 7.02433 20.9757 7.78924 21.455 8.73005C22 9.79961 22 11.1997 22 14C22 16.8003 22 18.2004 21.455 19.27C20.9757 20.2108 20.2108 20.9757 19.27 21.455C18.2004 22 16.8003 22 14 22H10C7.19974 22 5.79961 22 4.73005 21.455C3.78924 20.9757 3.02433 20.2108 2.54497 19.27C2 18.2004 2 16.8003 2 14Z"
stroke={color}
strokeWidth={strokeWidth}
/>
<path
d="M9.5 14.4L10.9286 16L14.5 12"
stroke={color}
strokeWidth={strokeWidth}
strokeLinecap="round"
strokeLinejoin="round"
/>
</g>
);

switch (varient) {
case 'light':
return defaultIcon();
Expand All @@ -72,8 +49,6 @@ function ArchiveMinimalistic({ color, strokeWidth, varient }) {
return defaultIcon();
case 'filled':
return filledIcon();
case 'duotone':
return duotoneIcon();
default:
return defaultIcon();
}
Expand All @@ -84,7 +59,7 @@ export default generateIcon(ArchiveMinimalistic);
ArchiveMinimalistic.propTypes = {
color: PropTypes.string,
strokeWidth: PropTypes.string,
varient: PropTypes.oneOf(['light', 'regular', 'bold', 'filled', 'duotone']),
varient: PropTypes.oneOf(['light', 'regular', 'bold', 'filled']),
};

ArchiveMinimalistic.defaultProps = {
Expand Down
28 changes: 1 addition & 27 deletions src/icons/documents/ArchiveUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,30 +39,6 @@ function ArchiveUp({ color, strokeWidth, varient }) {
</g>
);

const duotoneIcon = () => (
<g>
<path
d="M12 21L12 12M12 12L15 15.3333M12 12L9 15.3333"
stroke={color}
strokeWidth={strokeWidth}
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
opacity="0.5"
d="M20.5 7V13C20.5 16.7712 20.5 18.6569 19.3284 19.8284C18.1569 21 16.2712 21 12.5 21H11.5C7.72876 21 5.84315 21 4.67157 19.8284C3.5 18.6569 3.5 16.7712 3.5 13V7"
stroke={color}
strokeWidth={strokeWidth}
strokeLinecap="round"
/>
<path
d="M2 5C2 4.05719 2 3.58579 2.29289 3.29289C2.58579 3 3.05719 3 4 3H20C20.9428 3 21.4142 3 21.7071 3.29289C22 3.58579 22 4.05719 22 5C22 5.94281 22 6.41421 21.7071 6.70711C21.4142 7 20.9428 7 20 7H4C3.05719 7 2.58579 7 2.29289 6.70711C2 6.41421 2 5.94281 2 5Z"
stroke={color}
strokeWidth={strokeWidth}
/>
</g>
);

switch (varient) {
case 'light':
return defaultIcon();
Expand All @@ -72,8 +48,6 @@ function ArchiveUp({ color, strokeWidth, varient }) {
return defaultIcon();
case 'filled':
return filledIcon();
case 'duotone':
return duotoneIcon();
default:
return defaultIcon();
}
Expand All @@ -84,7 +58,7 @@ export default generateIcon(ArchiveUp);
ArchiveUp.propTypes = {
color: PropTypes.string,
strokeWidth: PropTypes.string,
varient: PropTypes.oneOf(['light', 'regular', 'bold', 'filled', 'duotone']),
varient: PropTypes.oneOf(['light', 'regular', 'bold', 'filled']),
};

ArchiveUp.defaultProps = {
Expand Down
27 changes: 1 addition & 26 deletions src/icons/documents/ArchiveUpMinimlistic.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,6 @@ function ArchiveUpMinimlistic({ color, strokeWidth, varient }) {
</g>
);

const duotoneIcon = () => (
<g>
<path
opacity="0.5"
d="M2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12"
stroke={color}
strokeWidth={strokeWidth}
/>
<path
d="M2 14C2 11.1997 2 9.79961 2.54497 8.73005C3.02433 7.78924 3.78924 7.02433 4.73005 6.54497C5.79961 6 7.19974 6 10 6H14C16.8003 6 18.2004 6 19.27 6.54497C20.2108 7.02433 20.9757 7.78924 21.455 8.73005C22 9.79961 22 11.1997 22 14C22 16.8003 22 18.2004 21.455 19.27C20.9757 20.2108 20.2108 20.9757 19.27 21.455C18.2004 22 16.8003 22 14 22H10C7.19974 22 5.79961 22 4.73005 21.455C3.78924 20.9757 3.02433 20.2108 2.54497 19.27C2 18.2004 2 16.8003 2 14Z"
stroke={color}
strokeWidth={strokeWidth}
/>
<path
d="M12 17L12 11M12 11L14.5 13.5M12 11L9.5 13.5"
stroke={color}
strokeWidth={strokeWidth}
strokeLinecap="round"
strokeLinejoin="round"
/>
</g>
);

switch (varient) {
case 'light':
return defaultIcon();
Expand All @@ -72,8 +49,6 @@ function ArchiveUpMinimlistic({ color, strokeWidth, varient }) {
return defaultIcon();
case 'filled':
return filledIcon();
case 'duotone':
return duotoneIcon();
default:
return defaultIcon();
}
Expand All @@ -84,7 +59,7 @@ export default generateIcon(ArchiveUpMinimlistic);
ArchiveUpMinimlistic.propTypes = {
color: PropTypes.string,
strokeWidth: PropTypes.string,
varient: PropTypes.oneOf(['light', 'regular', 'bold', 'filled', 'duotone']),
varient: PropTypes.oneOf(['light', 'regular', 'bold', 'filled']),
};

ArchiveUpMinimlistic.defaultProps = {
Expand Down
Loading

1 comment on commit 90d1592

@vercel
Copy link

@vercel vercel bot commented on 90d1592 Apr 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.