Skip to content

Commit 06727bf

Browse files
committed
feat(Icon): Add Relationship icon
1 parent 14de8a6 commit 06727bf

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

assets/icons/ui/relationship.svg

Lines changed: 1 addition & 0 deletions
Loading

react/Icon/Readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ import Qualify from 'cozy-ui/transpiled/react/Icons/Qualify'
256256
import RadioChecked from 'cozy-ui/transpiled/react/Icons/RadioChecked'
257257
import RadioUnchecked from 'cozy-ui/transpiled/react/Icons/RadioUnchecked'
258258
import Refresh from 'cozy-ui/transpiled/react/Icons/Refresh'
259+
import Relationship from 'cozy-ui/transpiled/react/Icons/Relationship'
259260
import Remboursement from 'cozy-ui/transpiled/react/Icons/Remboursement'
260261
import Rename from 'cozy-ui/transpiled/react/Icons/Rename'
261262
import Repare from 'cozy-ui/transpiled/react/Icons/Repare'
@@ -510,6 +511,7 @@ const icons = [
510511
RadioChecked,
511512
RadioUnchecked,
512513
Refresh,
514+
Relationship,
513515
Remboursement,
514516
Rename,
515517
Repare,
@@ -907,7 +909,7 @@ import Typography from 'cozy-ui/transpiled/react/Typography'
907909

908910
const colors = ['#297EF2', '#08b442', '#B449E7', '#F52D2D', '#FF962F']
909911
let i = 0
910-
const availableIcons = ['album-add','album-remove','album','answer','apple','archive','arrowUp','attachment','attention','bank-check','bank','banking-add','banking','bell','benefit','bike','bill','bottom','browser-brave','browser-chrome','browser-duckduckgo','browser-edge','browser-edge-chromium','browser-firefox','browser-ie','browser-opera','browser-safari','burger','bus','calendar','camera','car','carbonCopy','carpooling','categories','certified','check-circle','check-list','check-square','check','checkbox','child','circle-filled','clock','clock-outline','cloud-happy','cloud','collect','cocktail','comment','company','compare','compass','connector','contract','contrast','copy','cozy-circle','cozy-laugh', 'cozy-lock', 'cozy-text', 'cozy-release', 'credit-card-add','credit-card','credit','crop','cross-circle-outline','cross-circle','cross-medium','cross-small','cross','cube','dash','dashboard','data-control','debit','devices','dots','down','download','drawing-arrow-up','dropdown-close','dropdown-open','dropdown','dropup','electric-bike','electric-car','electric-scooter','email-notification','email','eu','euro','exchange','eye-closed','eye','face-id','file-add','file-duotone','file-new','file-none','file-outline','file','filter','fingerprint','fitness','flag-outlined','flag','flash-auto','flashlight','folder-add','folder-moveto','folder','forbidden','from-user','gear','globe','gouv','graph-circle','grid','group-list','groups','growth','hand','heart','help','help-outlined','history','home','hourglass','image','info-outlined','info','justice','key','label-outlined','laudry','laptop','left','library','lightbulb','lightning','link-out','link','list','location','lock', 'lock-screen', 'logout','magic-trick','magnet','magnifier','merge','moped','motorcycle','mountain','movement-in','movement-out','mouvement','moveto','multi-files','music','new','next','note','notification-email','offline','online', 'openapp', 'openwith','palette','paper','paperplane','password','pen','people','percent-circle','percent','personal-data','phone-download','phone-upload','phone','pie-chart','pin','plane','plus-small','plus', 'pop-inside', 'previous','printer','qualify','radio-checked','radio-unchecked','refresh','remboursement','rename','repare','reply','restaurant','restore-straight','restore','right','rise','rotate-left','rotate-right','sad-cozy','safe','school','scooter','select-all','setting','share-circle','share','shield','shop','sound','spinner','sport-bag','stack','star','stats','subway', 'support', 'swap', 'sync-cozy','sync','tag','target','team','telecom','telephone','to-the-cloud','top','train','tram','trash','trophy','unknow','unlink','unlock','up','upload','videos','walk','wallet-add','wallet-new','wallet','warn','warning-circle','warning','water','wrench-circle','work']
912+
const availableIcons = ['album-add','album-remove','album','answer','apple','archive','arrowUp','attachment','attention','bank-check','bank','banking-add','banking','bell','benefit','bike','bill','bottom','browser-brave','browser-chrome','browser-duckduckgo','browser-edge','browser-edge-chromium','browser-firefox','browser-ie','browser-opera','browser-safari','burger','bus','calendar','camera','car','carbonCopy','carpooling','categories','certified','check-circle','check-list','check-square','check','checkbox','child','circle-filled','clock','clock-outline','cloud-happy','cloud','collect','cocktail','comment','company','compare','compass','connector','contract','contrast','copy','cozy-circle','cozy-laugh', 'cozy-lock', 'cozy-text', 'cozy-release', 'credit-card-add','credit-card','credit','crop','cross-circle-outline','cross-circle','cross-medium','cross-small','cross','cube','dash','dashboard','data-control','debit','devices','dots','down','download','drawing-arrow-up','dropdown-close','dropdown-open','dropdown','dropup','electric-bike','electric-car','electric-scooter','email-notification','email','eu','euro','exchange','eye-closed','eye','face-id','file-add','file-duotone','file-new','file-none','file-outline','file','filter','fingerprint','fitness','flag-outlined','flag','flash-auto','flashlight','folder-add','folder-moveto','folder','forbidden','from-user','gear','globe','gouv','graph-circle','grid','group-list','groups','growth','hand','heart','help','help-outlined','history','home','hourglass','image','info-outlined','info','justice','key','label-outlined','laudry','laptop','left','library','lightbulb','lightning','link-out','link','list','location','lock', 'lock-screen', 'logout','magic-trick','magnet','magnifier','merge','moped','motorcycle','mountain','movement-in','movement-out','mouvement','moveto','multi-files','music','new','next','note','notification-email','offline','online', 'openapp', 'openwith','palette','paper','paperplane','password','pen','people','percent-circle','percent','personal-data','phone-download','phone-upload','phone','pie-chart','pin','plane','plus-small','plus', 'pop-inside', 'previous','printer','qualify','radio-checked','radio-unchecked','refresh','relationship','remboursement','rename','repare','reply','restaurant','restore-straight','restore','right','rise','rotate-left','rotate-right','sad-cozy','safe','school','scooter','select-all','setting','share-circle','share','shield','shop','sound','spinner','sport-bag','stack','star','stats','subway', 'support', 'swap', 'sync-cozy','sync','tag','target','team','telecom','telephone','to-the-cloud','top','train','tram','trash','trophy','unknow','unlink','unlock','up','upload','videos','walk','wallet-add','wallet-new','wallet','warn','warning-circle','warning','water','wrench-circle','work']
911913
;
912914
<div style={{ fontSize: '2rem', display: 'grid', gridTemplateColumns: 'repeat(6, 1fr)' }}>
913915
<Sprite />

react/Icons/Relationship.jsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Automatically created, please run `scripts/generate-svgr-icon.sh assets/icons/ui/relationship.svg` to regenerate;
2+
import React from 'react'
3+
4+
function SvgRelationship(props) {
5+
return (
6+
<svg viewBox="0 0 16 16" {...props}>
7+
<path d="M5.5 2.509c.211 0 .42.012.625.035a7.031 7.031 0 00-1.801 2.167A3.501 3.501 0 006.2 11.44l.005-.001A3.493 3.493 0 008 10.458c.619-.63 1-1.495 1-2.45 0-.381-.061-.749-.174-1.093a1.998 1.998 0 011.8-.902c.242.619.374 1.292.374 1.996 0 1.297-.45 2.49-1.2 3.43a5.533 5.533 0 01-1.8 1.47 5.5 5.5 0 11-2.5-10.4z" />
8+
<path d="M8 3.109c-.7.357-1.313.86-1.8 1.47A5.477 5.477 0 005 8.009c0 .704.132 1.377.373 1.996a1.998 1.998 0 001.801-.902A3.497 3.497 0 017 8.01c0-.954.381-1.818 1-2.45a3.493 3.493 0 012.5-1.05 3.5 3.5 0 011.176 6.797 7.032 7.032 0 01-1.801 2.168A5.5 5.5 0 108 3.109z" />
9+
</svg>
10+
)
11+
}
12+
13+
export default SvgRelationship

0 commit comments

Comments
 (0)