Skip to content

Commit

Permalink
feat: Add CrossCircleOutline icon
Browse files Browse the repository at this point in the history
  • Loading branch information
cballevre committed Jan 6, 2023
1 parent 55ca297 commit 2048f8c
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/icons/ui/cross-circle-outline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions react/Icon/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ import CreditCardAdd from 'cozy-ui/transpiled/react/Icons/CreditCardAdd'
import Crop from 'cozy-ui/transpiled/react/Icons/Crop'
import Cross from 'cozy-ui/transpiled/react/Icons/Cross'
import CrossCircle from 'cozy-ui/transpiled/react/Icons/CrossCircle'
import CrossCircleOutline from 'cozy-ui/transpiled/react/Icons/CrossCircleOutline'
import CrossSmall from 'cozy-ui/transpiled/react/Icons/CrossSmall'
import Cube from 'cozy-ui/transpiled/react/Icons/Cube'
import Dash from 'cozy-ui/transpiled/react/Icons/Dash'
Expand Down Expand Up @@ -313,6 +314,7 @@ const icons = [
Crop,
Cross,
CrossCircle,
CrossCircleOutline,
CrossSmall,
Cube,
Dash,
Expand Down
16 changes: 16 additions & 0 deletions react/Icons/CrossCircleOutline.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Automatically created, please run `scripts/generate-svgr-icon.sh assets/icons/ui/cross-circle-outline.svg` to regenerate;
import React from 'react'

function SvgCrossCircleOutline(props) {
return (
<svg viewBox="0 0 16 16" {...props}>
<path d="M4.793 4.793a1 1 0 011.414 0L8 6.586l1.793-1.793a1 1 0 011.414 1.414L9.414 8l1.793 1.793a1 1 0 01-1.414 1.414L8 9.414l-1.793 1.793a1 1 0 01-1.414-1.414L6.586 8 4.793 6.207a1 1 0 010-1.414z" />
<path
fillRule="evenodd"
d="M16 8c0-4.416-3.584-8-8-8S0 3.584 0 8s3.584 8 8 8 8-3.584 8-8zm-2 0c0-3.311-2.689-6-6-6S2 4.689 2 8s2.689 6 6 6 6-2.689 6-6z"
/>
</svg>
)
}

export default SvgCrossCircleOutline
14 changes: 14 additions & 0 deletions react/__snapshots__/examples.spec.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3352,6 +3352,12 @@ exports[`Icon should render examples: Icon 1`] = `
</svg>
<p class=\\"MuiTypography-root u-mt-half MuiTypography-body1 MuiTypography-colorTextPrimary\\">CrossCircle</p>
</div>
<div class=\\"u-c-pointer u-ta-center u-mb-1\\"><svg viewBox=\\"0 0 16 16\\" class=\\"styles__icon___23x3R\\" width=\\"16\\" height=\\"16\\">
<path d=\\"M4.793 4.793a1 1 0 011.414 0L8 6.586l1.793-1.793a1 1 0 011.414 1.414L9.414 8l1.793 1.793a1 1 0 01-1.414 1.414L8 9.414l-1.793 1.793a1 1 0 01-1.414-1.414L6.586 8 4.793 6.207a1 1 0 010-1.414z\\"></path>
<path fill-rule=\\"evenodd\\" d=\\"M16 8c0-4.416-3.584-8-8-8S0 3.584 0 8s3.584 8 8 8 8-3.584 8-8zm-2 0c0-3.311-2.689-6-6-6S2 4.689 2 8s2.689 6 6 6 6-2.689 6-6z\\"></path>
</svg>
<p class=\\"MuiTypography-root u-mt-half MuiTypography-body1 MuiTypography-colorTextPrimary\\">CrossCircleOutline</p>
</div>
<div class=\\"u-c-pointer u-ta-center u-mb-1\\"><svg viewBox=\\"0 0 12 12\\" class=\\"styles__icon___23x3R\\" width=\\"16\\" height=\\"16\\">
<path d=\\"M6 4.59l2.3-2.3a1 1 0 011.4 1.42L7.42 6l2.3 2.3A1 1 0 118.3 9.7L6 7.42l-2.3 2.3A1 1 0 112.3 8.3L4.58 6l-2.3-2.3A1 1 0 013.7 2.3L6 4.58z\\"></path>
</svg>
Expand Down Expand Up @@ -4906,6 +4912,10 @@ exports[`Icon should render examples: Icon 3`] = `
<symbol id=\\"crop\\" viewBox=\\"0 0 16 16\\">
<path fill-rule=\\"evenodd\\" d=\\"M4 15v1H0v-4h1V4H0V0h4v1h8V0h4v4h-1v8h1v4h-4v-1H4zm0-2h8v-1h1V4h-1V3H4v1H3v8h1v1zM1 1v2h2V1H1zm12 0v2h2V1h-2zm0 12v2h2v-2h-2zM1 13v2h2v-2H1z\\"></path>
</symbol>
<symbol id=\\"cross-circle-outline\\" viewBox=\\"0 0 16 16\\">
<path d=\\"M4.793 4.793a1 1 0 0 1 1.414 0L8 6.586l1.793-1.793a1 1 0 0 1 1.414 1.414L9.414 8l1.793 1.793a1 1 0 0 1-1.414 1.414L8 9.414l-1.793 1.793a1 1 0 0 1-1.414-1.414L6.586 8 4.793 6.207a1 1 0 0 1 0-1.414Z\\"></path>
<path fill-rule=\\"evenodd\\" d=\\"M16 8c0-4.416-3.584-8-8-8S0 3.584 0 8s3.584 8 8 8 8-3.584 8-8Zm-2 0c0-3.311-2.689-6-6-6S2 4.689 2 8s2.689 6 6 6 6-2.689 6-6Z\\"></path>
</symbol>
<symbol id=\\"cross-circle\\" viewBox=\\"0 0 16 16\\">
<path fill-rule=\\"evenodd\\" d=\\"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM5.707 4.293l-.094-.083a1 1 0 0 0-1.226 0l-.094.083-.083.094-.07.102c-.206.345-.185.788.062 1.114l.09.104L6.586 8l-2.292 2.293a1 1 0 0 0 1.32 1.497l.094-.083L8 9.415l2.293 2.292.094.083a1 1 0 0 0 1.226 0l.094-.083.083-.094a1 1 0 0 0 0-1.226l-.083-.094L9.415 8l2.292-2.293a1 1 0 0 0-1.32-1.497l-.094.083L8 6.585 5.707 4.293l-.094-.083.094.083z\\"></path>
</symbol>
Expand Down Expand Up @@ -6518,6 +6528,10 @@ exports[`Icon should render examples: Icon 7`] = `
<symbol id=\\"crop\\" viewBox=\\"0 0 16 16\\">
<path fill-rule=\\"evenodd\\" d=\\"M4 15v1H0v-4h1V4H0V0h4v1h8V0h4v4h-1v8h1v4h-4v-1H4zm0-2h8v-1h1V4h-1V3H4v1H3v8h1v1zM1 1v2h2V1H1zm12 0v2h2V1h-2zm0 12v2h2v-2h-2zM1 13v2h2v-2H1z\\"></path>
</symbol>
<symbol id=\\"cross-circle-outline\\" viewBox=\\"0 0 16 16\\">
<path d=\\"M4.793 4.793a1 1 0 0 1 1.414 0L8 6.586l1.793-1.793a1 1 0 0 1 1.414 1.414L9.414 8l1.793 1.793a1 1 0 0 1-1.414 1.414L8 9.414l-1.793 1.793a1 1 0 0 1-1.414-1.414L6.586 8 4.793 6.207a1 1 0 0 1 0-1.414Z\\"></path>
<path fill-rule=\\"evenodd\\" d=\\"M16 8c0-4.416-3.584-8-8-8S0 3.584 0 8s3.584 8 8 8 8-3.584 8-8Zm-2 0c0-3.311-2.689-6-6-6S2 4.689 2 8s2.689 6 6 6 6-2.689 6-6Z\\"></path>
</symbol>
<symbol id=\\"cross-circle\\" viewBox=\\"0 0 16 16\\">
<path fill-rule=\\"evenodd\\" d=\\"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM5.707 4.293l-.094-.083a1 1 0 0 0-1.226 0l-.094.083-.083.094-.07.102c-.206.345-.185.788.062 1.114l.09.104L6.586 8l-2.292 2.293a1 1 0 0 0 1.32 1.497l.094-.083L8 9.415l2.293 2.292.094.083a1 1 0 0 0 1.226 0l.094-.083.083-.094a1 1 0 0 0 0-1.226l-.083-.094L9.415 8l2.292-2.293a1 1 0 0 0-1.32-1.497l-.094.083L8 6.585 5.707 4.293l-.094-.083.094.083z\\"></path>
</symbol>
Expand Down

0 comments on commit 2048f8c

Please sign in to comment.