CM: Remove unused icon components

Co-authored-by: Josh Ellis <josh.ellis@strapi.io>
This commit is contained in:
Gustav Hansen 2022-11-10 17:37:40 +01:00
parent 919600272d
commit 2ab5f01d64
12 changed files with 0 additions and 247 deletions

View File

@ -1,22 +0,0 @@
import React from 'react';
const Bold = () => {
return (
<svg width="9" height="10" xmlns="http://www.w3.org/2000/svg">
<text
transform="translate(-12 -10)"
fill="#333740"
fillRule="evenodd"
fontSize="13"
fontFamily="Baskerville-SemiBold, Baskerville"
fontWeight="500"
>
<tspan x="12" y="20">
B
</tspan>
</text>
</svg>
);
};
export default Bold;

View File

@ -1,13 +0,0 @@
import React from 'react';
const Code = () => {
return (
<svg width="12" height="8" xmlns="http://www.w3.org/2000/svg">
<g fill="#333740" fillRule="evenodd">
<path d="M3.653 7.385a.632.632 0 0 1-.452-.191L.214 4.154a.66.66 0 0 1 0-.922L3.201.19a.632.632 0 0 1 .905 0 .66.66 0 0 1 0 .921l-2.534 2.58 2.534 2.58a.66.66 0 0 1 0 .922.632.632 0 0 1-.453.19zM8.347 7.385a.632.632 0 0 0 .452-.191l2.987-3.04a.66.66 0 0 0 0-.922L8.799.19a.632.632 0 0 0-.905 0 .66.66 0 0 0 0 .921l2.534 2.58-2.534 2.58a.66.66 0 0 0 0 .922c.125.127.289.19.453.19z" />
</g>
</svg>
);
};
export default Code;

View File

@ -1,28 +0,0 @@
import React from 'react';
import PropTypes from 'prop-types';
const Cross = ({ fill, height, width, ...rest }) => {
return (
<svg {...rest} width={width} height={height} xmlns="http://www.w3.org/2000/svg">
<path
d="M7.78 6.72L5.06 4l2.72-2.72a.748.748 0 0 0 0-1.06.748.748 0 0 0-1.06 0L4 2.94 1.28.22a.748.748 0 0 0-1.06 0 .748.748 0 0 0 0 1.06L2.94 4 .22 6.72a.748.748 0 0 0 0 1.06.748.748 0 0 0 1.06 0L4 5.06l2.72 2.72a.748.748 0 0 0 1.06 0 .752.752 0 0 0 0-1.06z"
fill={fill}
fillRule="evenodd"
/>
</svg>
);
};
Cross.defaultProps = {
fill: '#b3b5b9',
height: '8',
width: '8',
};
Cross.propTypes = {
fill: PropTypes.string,
height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
};
export default Cross;

View File

@ -1,23 +0,0 @@
import React from 'react';
const Italic = () => {
return (
<svg width="6" height="9" xmlns="http://www.w3.org/2000/svg">
<text
transform="translate(-13 -11)"
fill="#333740"
fillRule="evenodd"
fontWeight="500"
fontSize="13"
fontFamily="Baskerville-SemiBoldItalic, Baskerville"
fontStyle="italic"
>
<tspan x="13" y="20">
I
</tspan>
</text>
</svg>
);
};
export default Italic;

View File

@ -1,21 +0,0 @@
import React from 'react';
const Link = () => {
return (
<svg width="12" height="6" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fillRule="evenodd">
<path d="M6.063 1.5H6h.063z" fill="#000" />
<path
d="M9.516 0H8s.813.531.988 1.5h.528c.55 0 .984.434.984.984v1c0 .55-.434 1.016-.984 1.016h-3.5A1.03 1.03 0 0 1 5 3.484V2.5H3.5v.984A2.518 2.518 0 0 0 6.016 6h3.5C10.896 6 12 4.866 12 3.484v-1A2.473 2.473 0 0 0 9.516 0z"
fill="#333740"
/>
<path
d="M8.3 1.5A2.473 2.473 0 0 0 6.016 0h-3.5C1.134 0 0 1.103 0 2.484v1A2.526 2.526 0 0 0 2.516 6H4s-.806-.531-1.003-1.5h-.481A1.03 1.03 0 0 1 1.5 3.484v-1c0-.55.466-.984 1.016-.984h3.5c.55 0 .984.434.984.984V3.5h1.5V2.484c0-.35-.072-.684-.2-.984z"
fill="#333740"
/>
</g>
</svg>
);
};
export default Link;

View File

@ -1,14 +0,0 @@
import React from 'react';
const Media = () => {
return (
<svg width="12" height="11" xmlns="http://www.w3.org/2000/svg">
<g fill="#333740" fillRule="evenodd">
<path d="M9 4.286a1.286 1.286 0 1 0 0-2.572 1.286 1.286 0 0 0 0 2.572z" />
<path d="M11.25 0H.75C.332 0 0 .34 0 .758v8.77c0 .418.332.758.75.758h10.5c.418 0 .75-.34.75-.758V.758A.752.752 0 0 0 11.25 0zM8.488 5.296a.46.46 0 0 0-.342-.167c-.137 0-.234.065-.343.153l-.501.423c-.105.075-.188.126-.308.126a.443.443 0 0 1-.295-.11 3.5 3.5 0 0 1-.115-.11L5.143 4.054a.59.59 0 0 0-.897.008L.857 8.148V1.171a.353.353 0 0 1 .351-.314h9.581a.34.34 0 0 1 .346.322l.008 6.975-2.655-2.858z" />
</g>
</svg>
);
};
export default Media;

View File

@ -1,39 +0,0 @@
import React from 'react';
import PropTypes from 'prop-types';
const Na = ({ fill, fontFamily, fontSize, fontWeight, height, textFill, width, ...rest }) => {
return (
<svg {...rest} width={width} height={height} xmlns="http://www.w3.org/2000/svg">
<g fill="none" fillRule="evenodd">
<rect fill={fill} width={width} height={height} rx="17.5" />
<text fontFamily={fontFamily} fontSize={fontSize} fontWeight={fontWeight} fill={textFill}>
<tspan x="6" y="22">
N/A
</tspan>
</text>
</g>
</svg>
);
};
Na.defaultProps = {
fill: '#fafafb',
fontFamily: 'Lato-Medium, Lato',
fontSize: '12',
fontWeight: '400',
height: '35',
textFill: '#838383',
width: '35',
};
Na.propTypes = {
fill: PropTypes.string,
fontFamily: PropTypes.string,
fontSize: PropTypes.string,
fontWeight: PropTypes.string,
height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
textFill: PropTypes.string,
width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
};
export default Na;

View File

@ -1,13 +0,0 @@
import React from 'react';
const Ol = () => {
return (
<svg width="12" height="8" xmlns="http://www.w3.org/2000/svg">
<g fill="#333740" fillRule="evenodd">
<path d="M2.4 3H.594v-.214h.137c.123 0 .212-.01.266-.032.053-.022.086-.052.1-.092a.67.67 0 0 0 .018-.188V.74a.46.46 0 0 0-.03-.194C1.064.504 1.021.476.955.46A1.437 1.437 0 0 0 .643.435H.539V.23c.332-.035.565-.067.7-.096.135-.03.258-.075.37-.134h.275v2.507c0 .104.023.177.07.218.047.04.14.061.278.061H2.4V3zM2.736 6.695l-.132.528h-.246a.261.261 0 0 0 .015-.074c0-.058-.049-.087-.146-.087H.293v-.198c.258-.173.511-.367.76-.581.25-.215.457-.437.623-.667.166-.23.249-.447.249-.653a.49.49 0 0 0-.321-.478.794.794 0 0 0-.582-.006.482.482 0 0 0-.196.138.284.284 0 0 0-.07.182c0 .074.04.17.12.289.006.008.009.015.009.02 0 .012-.041.03-.123.053l-.19.057a.693.693 0 0 1-.115.03c-.031 0-.067-.038-.108-.114a.516.516 0 0 1 .071-.586.899.899 0 0 1 .405-.238c.18-.058.4-.087.657-.087.317 0 .566.044.749.132.183.087.306.187.37.3a.64.64 0 0 1 .094.312c0 .197-.089.389-.266.575a5.296 5.296 0 0 1-.916.74 62.947 62.947 0 0 1-.62.413h1.843zM4 0h8v1H4zM4 2h8v1H4zM4 4h8v1H4zM4 6h8v1H4z" />
</g>
</svg>
);
};
export default Ol;

View File

@ -1,13 +0,0 @@
import React from 'react';
const Quote = () => {
return (
<svg width="9" height="9" xmlns="http://www.w3.org/2000/svg">
<g fill="#333740" fillRule="evenodd">
<path d="M3 0C2.047 0 1.301.263.782.782.263 1.302 0 2.047 0 3v6h3.75V3H1.5c0-.54.115-.93.343-1.157C2.07 1.615 2.46 1.5 3 1.5M8.25 0c-.953 0-1.699.263-2.218.782-.519.52-.782 1.265-.782 2.218v6H9V3H6.75c0-.54.115-.93.343-1.157.227-.228.617-.343 1.157-.343" />
</g>
</svg>
);
};
export default Quote;

View File

@ -1,24 +0,0 @@
import React from 'react';
const Striked = () => {
return (
<svg width="19" height="10" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fillRule="evenodd">
<text
fontFamily="Lato-Semibold, Lato"
fontSize="11"
fontWeight="500"
fill="#41464E"
transform="translate(0 -2)"
>
<tspan x="1" y="11">
abc
</tspan>
</text>
<path d="M.5 6.5h18" stroke="#2C3039" strokeLinecap="square" />
</g>
</svg>
);
};
export default Striked;

View File

@ -1,15 +0,0 @@
import React from 'react';
const Ul = () => {
return (
<svg width="13" height="7" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fillRule="evenodd">
<path fill="#333740" d="M5 0h8v1H5zM5 2h8v1H5zM5 4h8v1H5zM5 6h8v1H5z" />
<rect stroke="#333740" x=".5" y=".5" width="2" height="2" rx="1" />
<rect stroke="#333740" x=".5" y="4.5" width="2" height="2" rx="1" />
</g>
</svg>
);
};
export default Ul;

View File

@ -1,22 +0,0 @@
import React from 'react';
const Underline = () => {
return (
<svg width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<text
transform="translate(-10 -11)"
fill="#101622"
fillRule="evenodd"
fontSize="13"
fontFamily="Baskerville-SemiBold, Baskerville"
fontWeight="500"
>
<tspan x="10" y="20">
U
</tspan>
</text>
</svg>
);
};
export default Underline;