From 4ee16eed8ad84da0272851cdfbf9fbbf82e4292b Mon Sep 17 00:00:00 2001 From: Valentin Date: Tue, 30 Aug 2022 10:46:03 +0200 Subject: [PATCH] fix: Add openapp icon to Available UI Icons section --- .nvmrc | 2 +- react/Icon/Readme.md | 2 +- react/__snapshots__/examples.spec.jsx.snap | 147 +++++++++++---------- 3 files changed, 78 insertions(+), 73 deletions(-) diff --git a/.nvmrc b/.nvmrc index d4b25d088c..b6a7d89c68 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.16 +16 diff --git a/react/Icon/Readme.md b/react/Icon/Readme.md index ce112cfeeb..3df94605d4 100644 --- a/react/Icon/Readme.md +++ b/react/Icon/Readme.md @@ -840,7 +840,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','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','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','fitness','flag-outlined','flag','flash-auto','flashlight','folder-add','folder-moveto','folder','forbidden','from-user','gear','globe','graph-circle','grid','group-list','groups','hand','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','mountain','movement-in','movement-out','mouvement','moveto','multi-files','music','new','next','note','notification-email','offline','online','openwith','palette','paper','paperplane','password','pen','people','percent-circle','percent','personal-data','phone-download','phone-upload','phone','pie-chart','pin','plane','plus-small','plus','previous','printer','qualify','radio-checked','radio-unchecked','repare','reply','restaurant','restore-straight','restore','right','rise','rotate-left','rotate-right','sad-cozy','safe','school','select-all','setting','share-circle','share','shield','shop','sound','spinner','stack','star','stats','subway','sync-cozy','sync','tag','target','team','telephone','to-the-cloud','top','train','trash','trophy','unknow','unlink','unlock','up','upload','videos','walk','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','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','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','fitness','flag-outlined','flag','flash-auto','flashlight','folder-add','folder-moveto','folder','forbidden','from-user','gear','globe','graph-circle','grid','group-list','groups','hand','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','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','previous','printer','qualify','radio-checked','radio-unchecked','repare','reply','restaurant','restore-straight','restore','right','rise','rotate-left','rotate-right','sad-cozy','safe','school','select-all','setting','share-circle','share','shield','shop','sound','spinner','stack','star','stats','subway','sync-cozy','sync','tag','target','team','telephone','to-the-cloud','top','train','trash','trophy','unknow','unlink','unlock','up','upload','videos','walk','wallet-add','wallet-new','wallet','warn','warning-circle','warning','wrench-circle'] ;
diff --git a/react/__snapshots__/examples.spec.jsx.snap b/react/__snapshots__/examples.spec.jsx.snap index da51d05e13..145deb82c9 100644 --- a/react/__snapshots__/examples.spec.jsx.snap +++ b/react/__snapshots__/examples.spec.jsx.snap @@ -7790,361 +7790,366 @@ exports[`Icon should render examples: Icon 7`] = `

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

-
+

previous

-
+

printer

-
+

qualify

-
+

radio-checked

-
+

radio-unchecked

-
+

repare

-
+

reply

-
+

restaurant

-
+

restore-straight

-
+

restore

-
+

right

-
+

rise

-
+

rotate-left

-
+

rotate-right

-
+

sad-cozy

-
+

safe

-
+

school

-
+

select-all

-
+

setting

-
+

share-circle

-
+

share

-
+

shield

-
+

shop

-
+

sound

-
+

spinner

-
+

stack

-
+

star

-
+

stats

-
+

subway

-
+

sync-cozy

-
+

sync

-
+

tag

-
+

target

-
+

team

-
+

telephone

-
+

to-the-cloud

-
+

top

-
+

train

-
+

trash

-
+

trophy

-
+

unknow

-
+

unlink

-
+

unlock

-
+

up

-
+

upload

-
+

videos

-
+

walk

-
+

wallet-add

-
+

wallet-new

-
+

wallet

-
+

warn

-
+

warning-circle

-
+

warning

-
+

wrench-circle