diff --git a/assets/icons/ui/shield.svg b/assets/icons/ui/shield.svg new file mode 100644 index 0000000000..5fe4fb89b2 --- /dev/null +++ b/assets/icons/ui/shield.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/react/Icon/Readme.md b/react/Icon/Readme.md index fac60e3a9f..537913b955 100644 --- a/react/Icon/Readme.md +++ b/react/Icon/Readme.md @@ -187,6 +187,7 @@ import SelectAll from 'cozy-ui/transpiled/react/Icons/SelectAll' import Setting from 'cozy-ui/transpiled/react/Icons/Setting' import Share from 'cozy-ui/transpiled/react/Icons/Share' import ShareCircle from 'cozy-ui/transpiled/react/Icons/ShareCircle' +import Shield from 'cozy-ui/transpiled/react/Icons/Shield' import Sound from 'cozy-ui/transpiled/react/Icons/Sound' import Spinner from 'cozy-ui/transpiled/react/Icons/Spinner' import Stack from 'cozy-ui/transpiled/react/Icons/Stack' @@ -380,6 +381,7 @@ const icons = [ Setting, Share, ShareCircle, + Shield, Sound, Spinner, Stack, @@ -662,7 +664,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','attachment','attention','bank','banking-add','banking','bell','bill','bottom','browser-brave','browser-chrome','browser-duckduckgo','browser-edge','browser-edge-chromium','browser-firefox','browser-ie','browser-opera','browser-safari','burger','calendar','camera','car','carbonCopy','categories','certified','check-circle','check-list','check-square','check','checkbox','circle-filled','clock','cloud-happy','cloud','collect','comment','company','compass','connector','contract','contrast','cozy-laugh','cozy-text','credit-card-add','credit-card','credit','crop','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','email-notification','email','eu','euro','exchange','eye-closed','eye','file-add','file-duotone','file-new','file-none','file-outline','file','filter','fingerprint','flag-outlined','flag','flash-auto','flashlight','folder-add','folder','forbidden','from-user','gear','globe','graph-circle','grid','group-list','groups','heart','help','history','home','hourglass','image','info-outlined','info','key','laptop','left','lightbulb','link-out','link','list','location','lock','logout','magic-trick','magnet','magnifier','merge','movement-in','movement-out','moveto','multi-files','music','new','next','note','notification-email','offline','online','openwith','palette','paperplane','password','pen','people','percent-circle','percent','personal-data','phone-download','phone','pie-chart','pin','plus-small','plus','previous','printer','qualify','rename','repare','restore','right','rise','rotate-left','rotate-right','sad-cozy','safe','select-all','setting','share-circle','share','sound','spinner','stack','star','stats','sync-cozy','sync','target','team','telephone','to-the-cloud','top','trash','trophy','unlink','unlock','up','upload','videos','wallet-add','wallet-new','wallet','warn','warning-circle','warning','wrench-circle'] +const availableIcons = ['album-add','album-remove','album','answer','apple','archive','attachment','attention','bank','banking-add','banking','bell','bill','bottom','browser-brave','browser-chrome','browser-duckduckgo','browser-edge','browser-edge-chromium','browser-firefox','browser-ie','browser-opera','browser-safari','burger','calendar','camera','car','carbonCopy','categories','certified','check-circle','check-list','check-square','check','checkbox','circle-filled','clock','cloud-happy','cloud','collect','comment','company','compass','connector','contract','contrast','cozy-laugh','cozy-text','credit-card-add','credit-card','credit','crop','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','email-notification','email','eu','euro','exchange','eye-closed','eye','file-add','file-duotone','file-new','file-none','file-outline','file','filter','fingerprint','flag-outlined','flag','flash-auto','flashlight','folder-add','folder','forbidden','from-user','gear','globe','graph-circle','grid','group-list','groups','heart','help','history','home','hourglass','image','info-outlined','info','key','laptop','left','lightbulb','link-out','link','list','location','lock','logout','magic-trick','magnet','magnifier','merge','movement-in','movement-out','moveto','multi-files','music','new','next','note','notification-email','offline','online','openwith','palette','paperplane','password','pen','people','percent-circle','percent','personal-data','phone-download','phone','pie-chart','pin','plus-small','plus','previous','printer','qualify','rename','repare','restore','right','rise','rotate-left','rotate-right','sad-cozy','safe','select-all','setting','share-circle','share','shield','sound','spinner','stack','star','stats','sync-cozy','sync','target','team','telephone','to-the-cloud','top','trash','trophy','unlink','unlock','up','upload','videos','wallet-add','wallet-new','wallet','warn','warning-circle','warning','wrench-circle'] ;
diff --git a/react/Icons/Shield.jsx b/react/Icons/Shield.jsx new file mode 100644 index 0000000000..6a35416467 --- /dev/null +++ b/react/Icons/Shield.jsx @@ -0,0 +1,15 @@ +// Automatically created, please run `scripts/generate-svgr-icon.sh assets/icons/ui/shield.svg` to regenerate; +import React from 'react' + +function SvgShield(props) { + return ( + + + + ) +} + +export default SvgShield diff --git a/react/__snapshots__/examples.spec.jsx.snap b/react/__snapshots__/examples.spec.jsx.snap index b40ebd2853..11519efe18 100644 --- a/react/__snapshots__/examples.spec.jsx.snap +++ b/react/__snapshots__/examples.spec.jsx.snap @@ -3430,6 +3430,11 @@ exports[`Icon should render examples: Icon 1`] = `

ShareCircle

+
+ + +

Shield

+
@@ -4606,6 +4611,11 @@ exports[`Icon should render examples: Icon 3`] = ` + + + + + @@ -5673,6 +5683,11 @@ exports[`Icon should render examples: Icon 6`] = ` + + + + + @@ -6580,131 +6595,136 @@ exports[`Icon should render examples: Icon 6`] = `

share

+ + +

shield

+
+

sound

-
+

spinner

-
+

stack

-
+

star

-
+

stats

-
+

sync-cozy

-
+

sync

-
+

target

-
+

team

-
+

telephone

-
+

to-the-cloud

-
+

top

-
+

trash

-
+

trophy

-
+

unlink

-
+

unlock

-
+

up

-
+

upload

-
+

videos

-
+

wallet-add

-
+

wallet-new

-
+

wallet

-
+

warn

-
+

warning-circle

-
+

warning

-
+

wrench-circle