Skip to content

Commit

Permalink
Merge pull request #65 from icons-pack/canary
Browse files Browse the repository at this point in the history
v3.4.0
  • Loading branch information
wootsbot authored Jun 17, 2020
2 parents 45f48fb + 48b2773 commit 927ee57
Show file tree
Hide file tree
Showing 16 changed files with 297 additions and 16 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# react-simple-icons

This package provides the [Simple Icons 2.16.0](https://github.com/simple-icons/simple-icons/releases/tag/2.16.0) packaged as a set of [React](https://facebook.github.io/react/) components.
This package provides the [Simple Icons 2.17.1](https://github.com/simple-icons/simple-icons/releases/tag/2.17.1) packaged as a set of [React](https://facebook.github.io/react/) components.

<a href="https://www.npmjs.com/package/@icons-pack/react-simple-icons" target="_blank">
<img src="https://img.shields.io/npm/v/@icons-pack/react-simple-icons?color=CB061D&style=flat-square" alt="www.npmjs.com!" />
Expand Down Expand Up @@ -34,10 +34,10 @@ yarn add @icons-pack/react-simple-icons
npm add @icons-pack/react-simple-icons
```

## Usage

> TypeScript Support
## Usage

You can use [simpleicons.org](https://simpleicons.org) to find a specific icon.
When importing an icon, keep in mind that the names of the icons are [upperCamelCase](https://github.com/samverschueren/uppercamelcase) , for instance:

Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@icons-pack/react-simple-icons",
"version": "3.3.0",
"version": "3.4.0",
"private": false,
"description": "This package provides the Simple Icons packaged as a set of React components.",
"author": "Jorge Luis Calleja <[email protected]>",
Expand Down Expand Up @@ -58,7 +58,8 @@
"react": "^16.13.1"
},
"dependencies": {
"prop-types": "^15.7.2"
"prop-types": "^15.7.2",
"react": "^16.13.1"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
Expand All @@ -83,7 +84,7 @@
"rollup": "^2.7.6",
"rollup-plugin-babel": "^4.4.0",
"signale": "^1.4.0",
"simple-icons": "^2.16.0",
"simple-icons": "^2.17.1",
"uppercamelcase": "^3.0.0"
}
}
2 changes: 1 addition & 1 deletion src/components/Apacheecharts.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Apacheecharts = forwardRef(function Apacheecharts(
ref={ref}
{...others}>
<title>{title}</title>
<path d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm8.354 17.813a1.319 1.319 0 0 0-1.284-1.616c-.383 0-.718.172-.967.424-1.358 1.371-3.304 2.134-5.386 2.134-4.329 0-7.825-3.327-7.797-7.656.021-3.286 2.72-5.937 6.016-5.937a6.016 6.016 0 0 1 5.068 9.258 1.343 1.343 0 0 0-.209.721 1.319 1.319 0 1 0 1.319-1.319c-.019 0-.037.002-.056.003a1.467 1.467 0 0 1 2.486 1.286l.024-.001c.81 0 1.467.657 1.467 1.467a1.47 1.47 0 0 1-.681 1.236z" />
<path d="M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm-.792 5.307c2.192-.025 4.366 1.134 5.43 3.304.909 1.852.878 3.61-.098 5.645-.477.995-.487 1.06-.241 1.578.214.452.727.779 1.221.779.454 0 1.15-.586 1.252-1.054.1-.454-.193-1.118-.607-1.377a10.11 10.11 0 0 1-.393-.255c-.129-.1.42-.38.741-.38.687 0 1.247.526 1.375 1.29.055.333.134.422.44.502.859.222 1.297 1.451.755 2.116-.22.27-.23.271-.305.042-.267-.801-.666-1.12-1.403-1.12-.319 0-.572.128-1.098.556-1.006.82-1.866 1.303-2.907 1.632-1.276.384-2.752.478-4.086.156-2.162-.431-4.232-2.11-5.252-4.257C4.758 11.782 5.135 9 7.033 7.077a5.924 5.924 0 0 1 4.175-1.77Z" />
</svg>
);
});
Expand Down
2 changes: 1 addition & 1 deletion src/components/Apachepulsar.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Apachepulsar = forwardRef(function Apachepulsar(
ref={ref}
{...others}>
<title>{title}</title>
<path d="M24 8.925h-5.866c-1.586-3.041-3.262-5.402-5.544-5.402-2.97 0-4.367 2.593-5.717 5.115l-.118.22H0v1.5h3.934c1.39 0 1.673.468 1.673.468-1.09 1.691-2.4 3.364-4.584 3.364H0v1.573h1.03c4.234 0 6.083-3.434 7.567-6.193 1.361-2.541 2.31-4.08 3.993-4.08 1.747 0 3.584 3.801 5.201 7.157.237.488.477.988.72 1.483-6.2.197-9.155 1.649-11.559 2.833-1.759.866-3.147 1.94-5.433 1.94H0v1.574h1.507c2.754 0 4.47-.85 6.295-1.751 2.53-1.243 5.398-2.652 12.157-2.652h3.907V14.5H21.66a1.18 1.18 0 01-.972-.393 70.83 70.83 0 01-1.133-2.321l-.511-1.047s.366-.393 1.38-.393H24Z" />
<path d="M24 8.925h-5.866c-1.586-3.041-3.262-5.402-5.544-5.402-2.97 0-4.367 2.593-5.717 5.115l-.118.22H0v1.5h3.934c1.39 0 1.673.468 1.673.468-1.09 1.691-2.4 3.363-4.584 3.363H0v1.574h1.03c4.234 0 6.083-3.434 7.567-6.193 1.361-2.541 2.31-4.08 3.993-4.08 1.747 0 3.584 3.801 5.201 7.157.237.488.477.988.72 1.483-6.2.197-9.155 1.649-11.559 2.833-1.759.866-3.147 1.94-5.433 1.94H0v1.574h1.507c2.754 0 4.47-.85 6.295-1.751 2.53-1.243 5.398-2.652 12.157-2.652h3.907V14.5H21.66a1.18 1.18 0 01-.972-.393 70.83 70.83 0 01-1.133-2.321l-.511-1.047s.366-.393 1.38-.393H24Z" />
</svg>
);
});
Expand Down
38 changes: 38 additions & 0 deletions src/components/Canonical.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import React, { forwardRef } from 'react';
import PropTypes from 'prop-types';

const Canonical = forwardRef(function Canonical(
{ color = 'currentColor', size = 24, title = 'Canonical', ...others },
ref
) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
fill={color}
viewBox="0 0 24 24"
ref={ref}
{...others}>
<title>{title}</title>
<path d="M24 12c0 6.627-5.373 12-12 12-6.628 0-12-5.373-12-12C0 5.372 5.372 0 12 0c6.627 0 12 5.372 12 12zM12 2.92A9.08 9.08 0 002.92 12 9.08 9.08 0 0012 21.08 9.08 9.08 0 0021.081 12 9.08 9.08 0 0012 2.92zm0 16.722A7.64 7.64 0 014.36 12 7.64 7.64 0 0112 4.36 7.64 7.64 0 0119.641 12a7.64 7.64 0 01-7.64 7.641z" />
</svg>
);
});

Canonical.propTypes = {
/**
* Hex color or color name
*/
color: PropTypes.string,
/**
* The size of the Icon.
*/
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
/**
* The title provides an accessible short text description to the SVG
*/
title: PropTypes.string,
};

export default Canonical;
38 changes: 38 additions & 0 deletions src/components/Derspiegel.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import React, { forwardRef } from 'react';
import PropTypes from 'prop-types';

const Derspiegel = forwardRef(function Derspiegel(
{ color = 'currentColor', size = 24, title = 'Der Spiegel', ...others },
ref
) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
fill={color}
viewBox="0 0 24 24"
ref={ref}
{...others}>
<title>{title}</title>
<path d="M.868 13.054v-2.108h.677v2.108zm1.29.19v-2.488a.346.346 0 0 0-.338-.337H0v.527h.254v2.108H0v.527h1.841a.33.33 0 0 0 .318-.337zm1.905-.78v.59h-.72v-.864h.953v-.527h-.952v-.717h.72v.442h.592v-.97H2.497v.528h.233v2.108h-.233v.527h2.16v-1.117zm1.778-.801v-.717h.699v.717zm1.334 1.391v-.759a.334.334 0 0 0-.339-.337c.19 0 .339-.148.339-.338v-.843c0-.169-.149-.337-.318-.337H4.974v.527h.275v2.108h-.275v.506h1.121v-.527h-.233v-.864h.699v.864h-.254v.527h1.1v-.527zm4.507-1.391v-.717h.72v.717zm1.334.19v-1.097a.334.334 0 0 0-.339-.337h-1.862v.527h.254v2.108h-.254v.527h1.1v-.527h-.233v-.864h.995c.19 0 .339-.148.339-.338zm1.08 1.201v-2.108h.253v-.527h-1.1v.527h.254v2.108h-.254v.527h1.1v-.527zm2.094-.59v.59h-.72v-.864h.953v-.527h-.952v-.717h.72v.442h.613v-.97h-2.18v.528h.233v2.108h-.233v.527h2.18v-1.117zm1.736-.801v.527h.487v.864h-.72v-2.108h.72v.442h.634v-.632a.334.334 0 0 0-.338-.337h-1.27a.325.325 0 0 0-.212.084c-.063.063-.127.148-.127.253v2.488a.3.3 0 0 0 .127.253.32.32 0 0 0 .233.084h1.587v-1.918zm2.984.8v.591h-.72v-.864h.953v-.527h-.953v-.717h.72v.442h.614v-.97h-2.18v.528h.233v2.108h-.233v.527h2.18v-1.117zm2.476 0v.591h-.698v-2.108h.254v-.527H21.82v.527h.254v2.108h-.254v.527H24v-1.117zm-12.846.8v-1.592H9.227v-.722h.699v.446h.635v-.637c0-.204-.19-.34-.381-.34H8.931a.335.335 0 0 0-.338.34v1.444h1.312v.87h-.699v-.594h-.613v.764c0 .19.148.34.338.34h1.249c.195 0 .36-.128.36-.319Z" />
</svg>
);
});

Derspiegel.propTypes = {
/**
* Hex color or color name
*/
color: PropTypes.string,
/**
* The size of the Icon.
*/
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
/**
* The title provides an accessible short text description to the SVG
*/
title: PropTypes.string,
};

export default Derspiegel;
35 changes: 35 additions & 0 deletions src/components/Dhl.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import React, { forwardRef } from 'react';
import PropTypes from 'prop-types';

const Dhl = forwardRef(function Dhl({ color = 'currentColor', size = 24, title = 'DHL', ...others }, ref) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
fill={color}
viewBox="0 0 24 24"
ref={ref}
{...others}>
<title>{title}</title>
<path d="M4.22 10.303l-.767 1.043h4.18c.21 0 .208.078.105.218-.105.142-.28.39-.386.534-.054.073-.154.207.171.207h1.71l.505-.69c.314-.426.028-1.312-1.095-1.312H4.22zm7.204 0l-1.475 2.002h5.39l1.473-2.002H14.61l-.843 1.146h-.985l.846-1.146h-2.203zm6.105 0l-1.474 2.002h2.334l1.472-2.002H17.53zm-12.845 1.3l-1.54 2.094h3.754c1.24 0 1.932-.844 2.145-1.136h-2.56c-.326 0-.226-.133-.172-.207.107-.143.283-.388.388-.53.104-.14.107-.22-.105-.22h-1.91zM0 12.562v.242h3.398l.176-.242H0zm9.762 0l-.836 1.136h2.203l.836-1.136H9.762zm3.185 0l-.836 1.136h2.203l.836-1.136h-2.203zm2.918 0s-.159.22-.238.326c-.276.374-.033.81.87.81h3.538l.834-1.136h-5.004zm5.408 0l-.177.242H24v-.242h-2.727zM0 13.01v.24h3.068l.178-.24H0zm20.943 0l-.175.24H24v-.24h-3.057zM0 13.457v.24h2.74l.176-.24H0zm20.615 0l-.177.24H24v-.24h-3.385z" />
</svg>
);
});

Dhl.propTypes = {
/**
* Hex color or color name
*/
color: PropTypes.string,
/**
* The size of the Icon.
*/
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
/**
* The title provides an accessible short text description to the SVG
*/
title: PropTypes.string,
};

export default Dhl;
2 changes: 1 addition & 1 deletion src/components/Furaffinity.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 927ee57

Please sign in to comment.