From c833a8afbfc8d3f15732802cadc6983a3a3890e5 Mon Sep 17 00:00:00 2001 From: AlexisG Date: Wed, 22 May 2024 15:45:49 +0200 Subject: [PATCH] feat(Icon): Add Chess icon --- assets/icons/ui/chess.svg | 1 + react/Icon/Readme.md | 4 +++- react/Icons/Chess.jsx | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 assets/icons/ui/chess.svg create mode 100644 react/Icons/Chess.jsx diff --git a/assets/icons/ui/chess.svg b/assets/icons/ui/chess.svg new file mode 100644 index 0000000000..3d7189c827 --- /dev/null +++ b/assets/icons/ui/chess.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/react/Icon/Readme.md b/react/Icon/Readme.md index bb8c8e592c..3b6e5a20ca 100644 --- a/react/Icon/Readme.md +++ b/react/Icon/Readme.md @@ -104,6 +104,7 @@ import Checkbox from 'cozy-ui/transpiled/react/Icons/Checkbox' import CheckCircle from 'cozy-ui/transpiled/react/Icons/CheckCircle' import CheckList from 'cozy-ui/transpiled/react/Icons/CheckList' import CheckSquare from 'cozy-ui/transpiled/react/Icons/CheckSquare' +import Chess from 'cozy-ui/transpiled/react/Icons/Chess' import Child from 'cozy-ui/transpiled/react/Icons/Child' import CircleFilled from 'cozy-ui/transpiled/react/Icons/CircleFilled' import Clock from 'cozy-ui/transpiled/react/Icons/Clock' @@ -360,6 +361,7 @@ const icons = [ CheckCircle, CheckList, CheckSquare, + Chess, Child, CircleFilled, Clock, @@ -911,7 +913,7 @@ import Typography from 'cozy-ui/transpiled/react/Typography' const colors = ['#297EF2', '#08b442', '#B449E7', '#F52D2D', '#FF962F'] let i = 0 -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', 'uncloud', 'unknow','unlink','unlock','up','upload','videos','walk','wallet-add','wallet-new','wallet','warn','warning-circle','warning','water','wrench-circle','work'] +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','chess','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', 'uncloud', 'unknow','unlink','unlock','up','upload','videos','walk','wallet-add','wallet-new','wallet','warn','warning-circle','warning','water','wrench-circle','work'] ;
diff --git a/react/Icons/Chess.jsx b/react/Icons/Chess.jsx new file mode 100644 index 0000000000..3b27e57144 --- /dev/null +++ b/react/Icons/Chess.jsx @@ -0,0 +1,16 @@ +// Automatically created, please run `scripts/generate-svgr-icon.sh assets/icons/ui/chess.svg` to regenerate; +import React from 'react' + +function SvgChess(props) { + return ( + + + + ) +} + +export default SvgChess