Skip to content

Commit 1032391

Browse files
committed
feat(Icon): Add database and expert
1 parent 8e9ba40 commit 1032391

File tree

5 files changed

+45
-1
lines changed

5 files changed

+45
-1
lines changed

assets/icons/ui/database.svg

Lines changed: 1 addition & 0 deletions
Loading

assets/icons/ui/expert.svg

Lines changed: 8 additions & 0 deletions
Loading

react/Icon/Readme.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ import CrossSmall from 'cozy-ui/transpiled/react/Icons/CrossSmall'
146146
import Cube from 'cozy-ui/transpiled/react/Icons/Cube'
147147
import Dash from 'cozy-ui/transpiled/react/Icons/Dash'
148148
import Dashboard from 'cozy-ui/transpiled/react/Icons/Dashboard'
149+
import Database from 'cozy-ui/transpiled/react/Icons/Database'
149150
import DataControl from 'cozy-ui/transpiled/react/Icons/DataControl'
150151
import Debit from 'cozy-ui/transpiled/react/Icons/Debit'
151152
import DesktopDownload from 'cozy-ui/transpiled/react/Icons/DesktopDownload'
@@ -168,6 +169,7 @@ import EmailOpen from 'cozy-ui/transpiled/react/Icons/EmailOpen'
168169
import Eu from 'cozy-ui/transpiled/react/Icons/Eu'
169170
import Euro from 'cozy-ui/transpiled/react/Icons/Euro'
170171
import Exchange from 'cozy-ui/transpiled/react/Icons/Exchange'
172+
import Expert from 'cozy-ui/transpiled/react/Icons/Expert'
171173
import Eye from 'cozy-ui/transpiled/react/Icons/Eye'
172174
import EyeClosed from 'cozy-ui/transpiled/react/Icons/EyeClosed'
173175
import FaceId from 'cozy-ui/transpiled/react/Icons/FaceId'
@@ -431,6 +433,7 @@ const icons = [
431433
Cube,
432434
Dash,
433435
Dashboard,
436+
Database,
434437
DataControl,
435438
Debit,
436439
DesktopDownload,
@@ -453,6 +456,7 @@ const icons = [
453456
Eu,
454457
Euro,
455458
Exchange,
459+
Expert,
456460
Eye,
457461
EyeClosed,
458462
FaceId,
@@ -1000,7 +1004,7 @@ import Typography from 'cozy-ui/transpiled/react/Typography'
10001004

10011005
const colors = ['#297EF2', '#08b442', '#B449E7', '#F52D2D', '#FF962F']
10021006
let i = 0
1003-
const availableIcons = ['album-add','album-remove','album','answer','apple','archive','arrowUp','assign-admin','assign-moderator','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-rainbow','cloud-plus-outlined','cloud','cloud2','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','desktop-download','devices','discuss','dots','down','download','drawing-arrow-up','dropdown-close','dropdown-open','dropdown','dropup','electric-bike','electric-car','electric-scooter','email-notification','email-open','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-open','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','key2','label-outlined','laudry','laptop','left','library','lightbulb','lightning','link-out','link','list','list-min','location','lock', 'lock-screen', 'logout','magic-trick','magnet','magnifier','matrix','merge','moped','mosaic','mosaic-min','motorcycle','mountain','movement-in','movement-out','mouvement','moveto','multi-files','music','new','next','note','notification-email','number','offline','online', 'openapp', 'openwith','palette','paper','paperplane','password','pen','people','peoples','percent-circle','percent','person-add','personal-data','phone-download','phone-upload','phone','pie-chart','pin','plane','planet','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','secutiry','select-all','server','setting','share-circle','share','shield','shop','sound','spinner','sport-bag','stack','star','star-outline','stats','stop', 'subway', 'support', 'swap', 'sync-cozy','sync','tab','tag','target','task','team','telecom','telephone','text','text-info','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']
1007+
const availableIcons = ['album-add','album-remove','album','answer','apple','archive','arrowUp','assign-admin','assign-moderator','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-rainbow','cloud-plus-outlined','cloud','cloud2','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','database','debit','desktop-download','devices','discuss','dots','down','download','drawing-arrow-up','dropdown-close','dropdown-open','dropdown','dropup','electric-bike','electric-car','electric-scooter','email-notification','email-open','email','eu','euro','exchange','expert','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-open','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','key2','label-outlined','laudry','laptop','left','library','lightbulb','lightning','link-out','link','list','list-min','location','lock', 'lock-screen', 'logout','magic-trick','magnet','magnifier','matrix','merge','moped','mosaic','mosaic-min','motorcycle','mountain','movement-in','movement-out','mouvement','moveto','multi-files','music','new','next','note','notification-email','number','offline','online', 'openapp', 'openwith','palette','paper','paperplane','password','pen','people','peoples','percent-circle','percent','person-add','personal-data','phone-download','phone-upload','phone','pie-chart','pin','plane','planet','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','secutiry','select-all','server','setting','share-circle','share','shield','shop','sound','spinner','sport-bag','stack','star','star-outline','stats','stop', 'subway', 'support', 'swap', 'sync-cozy','sync','tab','tag','target','task','team','telecom','telephone','text','text-info','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']
10041008
;
10051009

10061010
<Grid container spacing={2}>

react/Icons/Database.jsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Automatically created, please run `scripts/generate-svgr-icon.sh assets/icons/ui/database.svg` to regenerate;
2+
import React from 'react'
3+
4+
function SvgDatabase(props) {
5+
return (
6+
<svg viewBox="0 0 14 16" {...props}>
7+
<path d="M14 3.46c0 1.91-3.134 3.459-7 3.459S0 5.37 0 3.459C0 1.55 3.134 0 7 0s7 1.549 7 3.46zm0 10.43C12.691 15.142 10.049 16 7 16s-5.691-.857-7-2.11v-1.729c1.308 1.253 3.951 2.11 7 2.11s5.692-.858 7-2.11v1.73z" />
8+
<path d="M14 10.863c-1.309 1.253-3.951 2.11-7 2.11s-5.691-.857-7-2.11V9.134c1.308 1.253 3.951 2.11 7 2.11s5.692-.858 7-2.11v1.73z" />
9+
<path d="M14 7.836c-1.309 1.252-3.951 2.11-7 2.11s-5.691-.858-7-2.11V6.107c1.308 1.253 3.951 2.11 7 2.11s5.692-.858 7-2.11v1.73z" />
10+
</svg>
11+
)
12+
}
13+
14+
export default SvgDatabase

react/Icons/Expert.jsx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Automatically created, please run `scripts/generate-svgr-icon.sh assets/icons/ui/expert.svg` to regenerate;
2+
import React from 'react'
3+
4+
function SvgExpert(props) {
5+
return (
6+
<svg viewBox="0 0 16 16" fill="none" {...props}>
7+
<path d="M10.838 12.894a.455.455 0 01.377.12l.538.516-.91 2.47-.585-1.239-1.254.578.85-2.309.985-.136zm2.857 0l1.015.141c.074.01.146 0 .212-.023l.858 2.326-1.254-.576L13.941 16l-.976-2.649.354-.336c.1-.096.238-.14.376-.121zM12.01 7.552c.08-.246.433-.246.514 0l.231.702c.036.11.14.186.257.186h.748c.263 0 .371.33.16.483l-.605.433a.267.267 0 00-.098.3l.23.702c.082.246-.204.451-.416.3l-.605-.435a.274.274 0 00-.319 0l-.605.434c-.212.152-.497-.053-.417-.299l.232-.702a.267.267 0 00-.098-.3l-.605-.433c-.212-.152-.103-.483.159-.483h.748a.271.271 0 00.257-.186l.231-.702z" />
8+
<path
9+
clipRule="evenodd"
10+
d="M11.953 5.458a.457.457 0 01.628 0l.536.513c.1.095.24.14.377.12l.738-.102a.451.451 0 01.508.364l.129.725a.45.45 0 00.232.317l.66.345c.214.112.3.373.193.59l-.328.66a.442.442 0 000 .392l.328.66a.444.444 0 01-.194.59l-.659.346a.447.447 0 00-.232.317l-.13.725a.45.45 0 01-.507.363l-.738-.102a.455.455 0 00-.377.12l-.536.513a.457.457 0 01-.628 0l-.536-.513a.455.455 0 00-.376-.12l-.739.102a.45.45 0 01-.507-.363l-.13-.725a.446.446 0 00-.233-.317l-.66-.346a.444.444 0 01-.193-.59l.328-.66a.442.442 0 000-.391l-.328-.662a.444.444 0 01.194-.59l.66-.344a.446.446 0 00.232-.317l.13-.725a.45.45 0 01.507-.364l.739.103a.456.456 0 00.376-.121l.536-.513zm.314 1.312c-1.352 0-2.447 1.082-2.447 2.416 0 1.335 1.095 2.416 2.447 2.416 1.35 0 2.447-1.082 2.448-2.416 0-1.334-1.097-2.416-2.448-2.416z"
11+
/>
12+
<path d="M6.4 8c.555 0 1.094.036 1.607.102-.022.222.014.453.12.669l.237.478-.237.48a1.24 1.24 0 00.535 1.64l.477.253.093.526c.027.148.079.287.151.41l-.088.242H0v-1.6C0 9.432 2.864 8 6.4 8zm0-8a3.202 3.202 0 013.2 3.2A3.2 3.2 0 116.4 0z" />
13+
</svg>
14+
)
15+
}
16+
17+
export default SvgExpert

0 commit comments

Comments
 (0)