@fluentui/react-icons-file-type 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/common/FileIconType.js +1 -1
- package/lib/common/fileIconTypes.generated.js +1 -1
- package/lib/common/fileTypeIconMap.generated.js +2 -2
- package/lib-cjs/common/FileIconType.js +1 -1
- package/lib-cjs/common/fileIconTypes.generated.js +1 -1
- package/lib-cjs/common/fileTypeIconMap.generated.js +2 -2
- package/package.json +5 -14
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Public, stable module path for the file type icon enum. The actual definitions are
|
|
2
|
-
// generated from `fileIconTypes.json` into `fileIconTypes.generated.ts` (run `
|
|
2
|
+
// generated from `fileIconTypes.json` into `fileIconTypes.generated.ts` (run `yarn
|
|
3
3
|
// generate`); this barrel re-exports the public surface so consumers and internal code
|
|
4
4
|
// import from a hand-written path rather than the generated artifact.
|
|
5
5
|
export { FileIconType } from './fileIconTypes.generated';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT license.
|
|
3
3
|
// AUTO-GENERATED by scripts/generateFileIconTypes.js from src/common/fileIconTypes.json.
|
|
4
|
-
// Do not edit this file manually. Run `
|
|
4
|
+
// Do not edit this file manually. Run `yarn generate` to regenerate it.
|
|
5
5
|
/**
|
|
6
6
|
* Enumerates special file type icons that do not map to any file extensions.
|
|
7
7
|
* For example, the 'pptx' icon maps to the extensions 'ppt', 'pptm', 'pptx',
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT license.
|
|
3
3
|
// AUTO-GENERATED by scripts/generateFileTypeIconMap.js from src/common/fileTypeIconMap.json.
|
|
4
|
-
// Do not edit this file manually. Run `
|
|
4
|
+
// Do not edit this file manually. Run `yarn generate` to regenerate it.
|
|
5
5
|
/**
|
|
6
6
|
* Minimal packed `icon name`->`extensions` table.
|
|
7
7
|
*
|
|
8
8
|
* Format: `icon:ext,ext;icon:ext`. Decoded lazily into an
|
|
9
9
|
* `extension -> icon name` lookup by {@link getFileTypeIconExtensionMap}.
|
|
10
10
|
*/
|
|
11
|
-
const PACKED_FILE_TYPE_ICON_MAP = 'accdb:accdb,mdb;agentwork:work;aipage:page;archive:7z,ace,arc,arj,dmg,gz,iso,lzh,pkg,rar,sit,tgz,tar,z;audio:aif,aiff,aac,alac,amr,ape,au,awb,dct,dss,dvf,flac,gsm,m4a,m4p,mid,mmf,mp3,oga,ra,rm,wav,wma,wv;calendar:ical,icalendar,ics,ifb,vcs;classifier:classifier;clipchamp:clipchamp;cliptemplate:cliptemplate;code:abap,ada,adp,ahk,as,as3,asc,ascx,asm,asp,awk,bash,bash_login,bash_logout,bash_profile,bashrc,bat,bib,bsh,build,builder,c,cbl,c++,capfile,cc,cfc,cfm,cfml,cl,clj,cls,cmake,cmd,coffee,config,cpp,cpt,cpy,cs,cshtml,cson,csproj,css,ctp,cxx,d,ddl,di,disco,dml,dtd,dtml,el,emakefile,erb,erl,f,f90,f95,fs,fsi,fsscript,fsx,gemfile,gemspec,gitconfig,go,groovy,gvy,h,h++,haml,handlebars,hbs,hcp,hh,hpp,hrl,hs,htc,hxx,idl,iim,inc,inf,ini,inl,ipp,irbrc,jade,jav,java,js,json,jsp,jsproj,jsx,l,less,lhs,lisp,log,lst,ltx,lua,m,mak,make,manifest,master,ml,mli,mll,mly,mm,mud,nfo,opml,osascript,p,pas,patch,php,php2,php3,php4,php5,phtml,pl,pm,pod,pp,profile,ps1,ps1xml,psd1,psm1,pss,pt,py,pyw,r,rake,rb,rbx,rc,rdf,re,reg,rest,resw,resx,rhtml,rjs,rprofile,rpy,rss,rst,ruby,rxml,s,sass,scala,scm,sconscript,sconstruct,script,scss,sgml,sh,shtml,sml,svn-base,swift,sql,sty,tcl,tex,textile,tld,tli,tmpl,tpl,vb,vi,vim,vmg,webpart,wsp,wsdl,xhtml,xoml,xsd,xslt,yaml,yaws,yml,zsh;contact:vcf;copilot:copilot;csv:csv;designer:design;docx:doc,docm,docx,docb;dotx:dot,dotm,dotx;email:eml,msg,oft,ost,pst;exe:application,appref-ms,apk,app,appx,exe,ipa,msi,xap;font:ttf,otf,woff;html:htm,html,mht,mhtml;inkcanvas:canvas;ipynb:nnb,ipynb;link:lnk,link,url,website,webloc;loop:fluid,loop,note;mctemplate:mctemplate;mcworld:mcworld;md:md,markdn,markdown,mdown,mkdn;model:3ds,3mf,blend,cool,dae,df,dwfx,dwg,dxf,fbx,glb,gltf,holo,layer,layout,max,mtl,obj,off,ply,skp,stp,stl,t,thl,x;mpp:mpp;mpt:mpt;officescript:osts;one:one,onepart;onepage:onepage;onetoc:ms-one-stub,onetoc,onetoc2,onepkg;pdf:pdf;photo:arw,bmp,cr2,crw,dic,dicm,dcm,dcm30,dcr,dds,dib,dng,erf,gif,heic,heif,ico,jfi,jfif,jif,jpe,jpeg,jpg,jxr,kdc,mrw,nef,orf,pct,pict,png,pns,psb,psd,raw,tga,tif,tiff,wdp;potx:pot,potm,potx;powerbi:pbids,pbix;ppsx:pps,ppsm,ppsx;pptx:ppt,pptm,pptx,sldx,sldm;presentation:odp,gslides,key;pub:pub;rtf:epub,gdoc,odt,rtf,wri,pages;spo:aspx;spreadsheet:odc,ods,gsheet,numbers,tsv;sysfile:bak,bin,cab,cache,cat,cer,class,dat,db,dbg,dl_,dll,ithmb,jar,kb,ldt,lrprev,pkpass,ppa,ppam,pdb,rom,thm,thmx,vsl,xla,xlam,xlb,xll;txt:dif,diff,readme,out,plist,properties,text,txt;vector:ai,ait,cvs,dgn,gdraw,pd,emf,eps,fig,ind,indd,indl,indt,indb,ps,svg,svgz,wmf,oxps,xps,xd,sketch;video:3g2,3gp,3gp2,3gpp,asf,avi,dvr-ms,flv,m1v,m4v,mkv,mod,mov,mm4p,mp2,mp2v,mp4,mp4v,mpa,mpe,mpeg,mpg,mpv,mpv2,mts,ogg,qt,swf,ts,vob,webm,wlmp,wm,wmv,wmx;vsdx:vdx,vsd,vsdm,vsdx,vsw,vdw;vssx:vss,vssm,vssx;vstx:vst,vstm,vstx,vsx;whiteboard:whiteboard,wbtx;xlsx:xlc,xls,xlsb,xlsm,xlsx,xlw;xltx:xlt,xltm,xltx;xml:xaml,xml,xsl;xsn:xsn;zip:zip';
|
|
11
|
+
const PACKED_FILE_TYPE_ICON_MAP = 'accdb:accdb,mdb;agentwork:work;aipage:page;archive:7z,ace,arc,arj,dmg,gz,iso,lzh,pkg,rar,sit,tgz,tar,z;audio:aif,aiff,aac,alac,amr,ape,au,awb,dct,dss,dvf,flac,gsm,m4a,m4p,mid,mmf,mp3,oga,ra,rm,wav,wma,wv;calendar:ical,icalendar,ics,ifb,vcs;classifier:classifier;clipchamp:clipchamp,clpx;cliptemplate:cliptemplate;code:abap,ada,adp,ahk,as,as3,asc,ascx,asm,asp,awk,bash,bash_login,bash_logout,bash_profile,bashrc,bat,bib,bsh,build,builder,c,cbl,c++,capfile,cc,cfc,cfm,cfml,cl,clj,cls,cmake,cmd,coffee,config,cpp,cpt,cpy,cs,cshtml,cson,csproj,css,ctp,cxx,d,ddl,di,disco,dml,dtd,dtml,el,emakefile,erb,erl,f,f90,f95,fs,fsi,fsscript,fsx,gemfile,gemspec,gitconfig,go,groovy,gvy,h,h++,haml,handlebars,hbs,hcp,hh,hpp,hrl,hs,htc,hxx,idl,iim,inc,inf,ini,inl,ipp,irbrc,jade,jav,java,js,json,jsp,jsproj,jsx,l,less,lhs,lisp,log,lst,ltx,lua,m,mak,make,manifest,master,ml,mli,mll,mly,mm,mud,nfo,opml,osascript,p,pas,patch,php,php2,php3,php4,php5,phtml,pl,pm,pod,pp,profile,ps1,ps1xml,psd1,psm1,pss,pt,py,pyw,r,rake,rb,rbx,rc,rdf,re,reg,rest,resw,resx,rhtml,rjs,rprofile,rpy,rss,rst,ruby,rxml,s,sass,scala,scm,sconscript,sconstruct,script,scss,sgml,sh,shtml,sml,svn-base,swift,sql,sty,tcl,tex,textile,tld,tli,tmpl,tpl,vb,vi,vim,vmg,webpart,wsp,wsdl,xhtml,xoml,xsd,xslt,yaml,yaws,yml,zsh;contact:vcf;copilot:copilot;csv:csv;designer:design;docx:doc,docm,docx,docb;dotx:dot,dotm,dotx;email:eml,msg,oft,ost,pst;exe:application,appref-ms,apk,app,appx,exe,ipa,msi,xap;font:ttf,otf,woff;html:htm,html,mht,mhtml;inkcanvas:canvas;ipynb:nnb,ipynb;link:lnk,link,url,website,webloc;loop:fluid,loop,note;mctemplate:mctemplate;mcworld:mcworld;md:md,markdn,markdown,mdown,mkdn;model:3ds,3mf,blend,cool,dae,df,dwfx,dwg,dxf,fbx,glb,gltf,holo,layer,layout,max,mtl,obj,off,ply,skp,stp,stl,t,thl,x;mpp:mpp;mpt:mpt;officescript:osts;one:one,onepart;onepage:onepage;onetoc:ms-one-stub,onetoc,onetoc2,onepkg;pdf:pdf;photo:arw,bmp,cr2,crw,dic,dicm,dcm,dcm30,dcr,dds,dib,dng,erf,gif,heic,heif,ico,jfi,jfif,jif,jpe,jpeg,jpg,jxr,kdc,mrw,nef,orf,pct,pict,png,pns,psb,psd,raw,tga,tif,tiff,wdp;potx:pot,potm,potx;powerbi:pbids,pbix;ppsx:pps,ppsm,ppsx;pptx:ppt,pptm,pptx,sldx,sldm;presentation:odp,gslides,key;pub:pub;rtf:epub,gdoc,odt,rtf,wri,pages;spo:aspx;spreadsheet:odc,ods,gsheet,numbers,tsv;sysfile:bak,bin,cab,cache,cat,cer,class,dat,db,dbg,dl_,dll,ithmb,jar,kb,ldt,lrprev,pkpass,ppa,ppam,pdb,rom,thm,thmx,vsl,xla,xlam,xlb,xll;txt:dif,diff,readme,out,plist,properties,text,txt;vector:ai,ait,cvs,dgn,gdraw,pd,emf,eps,fig,ind,indd,indl,indt,indb,ps,svg,svgz,wmf,oxps,xps,xd,sketch;video:3g2,3gp,3gp2,3gpp,asf,avi,dvr-ms,flv,m1v,m4v,mkv,mod,mov,mm4p,mp2,mp2v,mp4,mp4v,mpa,mpe,mpeg,mpg,mpv,mpv2,mts,ogg,qt,swf,ts,vob,webm,wlmp,wm,wmv,wmx;vsdx:vdx,vsd,vsdm,vsdx,vsw,vdw;vssx:vss,vssm,vssx;vstx:vst,vstm,vstx,vsx;whiteboard:whiteboard,wbtx;xlsx:xlc,xls,xlsb,xlsm,xlsx,xlw;xltx:xlt,xltm,xltx;xml:xaml,xml,xsl;xsn:xsn;zip:zip';
|
|
12
12
|
let _extensionToIconName;
|
|
13
13
|
/**
|
|
14
14
|
* Returns the `extension`->`icon name` lookup table, decoding the packed
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FileIconType = void 0;
|
|
4
4
|
// Public, stable module path for the file type icon enum. The actual definitions are
|
|
5
|
-
// generated from `fileIconTypes.json` into `fileIconTypes.generated.ts` (run `
|
|
5
|
+
// generated from `fileIconTypes.json` into `fileIconTypes.generated.ts` (run `yarn
|
|
6
6
|
// generate`); this barrel re-exports the public surface so consumers and internal code
|
|
7
7
|
// import from a hand-written path rather than the generated artifact.
|
|
8
8
|
var fileIconTypes_generated_1 = require("./fileIconTypes.generated");
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.TYPE_TO_ICON_NAME = exports.FileIconType = void 0;
|
|
6
6
|
// AUTO-GENERATED by scripts/generateFileIconTypes.js from src/common/fileIconTypes.json.
|
|
7
|
-
// Do not edit this file manually. Run `
|
|
7
|
+
// Do not edit this file manually. Run `yarn generate` to regenerate it.
|
|
8
8
|
/**
|
|
9
9
|
* Enumerates special file type icons that do not map to any file extensions.
|
|
10
10
|
* For example, the 'pptx' icon maps to the extensions 'ppt', 'pptm', 'pptx',
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.getFileTypeIconExtensionMap = void 0;
|
|
6
6
|
// AUTO-GENERATED by scripts/generateFileTypeIconMap.js from src/common/fileTypeIconMap.json.
|
|
7
|
-
// Do not edit this file manually. Run `
|
|
7
|
+
// Do not edit this file manually. Run `yarn generate` to regenerate it.
|
|
8
8
|
/**
|
|
9
9
|
* Minimal packed `icon name`->`extensions` table.
|
|
10
10
|
*
|
|
11
11
|
* Format: `icon:ext,ext;icon:ext`. Decoded lazily into an
|
|
12
12
|
* `extension -> icon name` lookup by {@link getFileTypeIconExtensionMap}.
|
|
13
13
|
*/
|
|
14
|
-
const PACKED_FILE_TYPE_ICON_MAP = 'accdb:accdb,mdb;agentwork:work;aipage:page;archive:7z,ace,arc,arj,dmg,gz,iso,lzh,pkg,rar,sit,tgz,tar,z;audio:aif,aiff,aac,alac,amr,ape,au,awb,dct,dss,dvf,flac,gsm,m4a,m4p,mid,mmf,mp3,oga,ra,rm,wav,wma,wv;calendar:ical,icalendar,ics,ifb,vcs;classifier:classifier;clipchamp:clipchamp;cliptemplate:cliptemplate;code:abap,ada,adp,ahk,as,as3,asc,ascx,asm,asp,awk,bash,bash_login,bash_logout,bash_profile,bashrc,bat,bib,bsh,build,builder,c,cbl,c++,capfile,cc,cfc,cfm,cfml,cl,clj,cls,cmake,cmd,coffee,config,cpp,cpt,cpy,cs,cshtml,cson,csproj,css,ctp,cxx,d,ddl,di,disco,dml,dtd,dtml,el,emakefile,erb,erl,f,f90,f95,fs,fsi,fsscript,fsx,gemfile,gemspec,gitconfig,go,groovy,gvy,h,h++,haml,handlebars,hbs,hcp,hh,hpp,hrl,hs,htc,hxx,idl,iim,inc,inf,ini,inl,ipp,irbrc,jade,jav,java,js,json,jsp,jsproj,jsx,l,less,lhs,lisp,log,lst,ltx,lua,m,mak,make,manifest,master,ml,mli,mll,mly,mm,mud,nfo,opml,osascript,p,pas,patch,php,php2,php3,php4,php5,phtml,pl,pm,pod,pp,profile,ps1,ps1xml,psd1,psm1,pss,pt,py,pyw,r,rake,rb,rbx,rc,rdf,re,reg,rest,resw,resx,rhtml,rjs,rprofile,rpy,rss,rst,ruby,rxml,s,sass,scala,scm,sconscript,sconstruct,script,scss,sgml,sh,shtml,sml,svn-base,swift,sql,sty,tcl,tex,textile,tld,tli,tmpl,tpl,vb,vi,vim,vmg,webpart,wsp,wsdl,xhtml,xoml,xsd,xslt,yaml,yaws,yml,zsh;contact:vcf;copilot:copilot;csv:csv;designer:design;docx:doc,docm,docx,docb;dotx:dot,dotm,dotx;email:eml,msg,oft,ost,pst;exe:application,appref-ms,apk,app,appx,exe,ipa,msi,xap;font:ttf,otf,woff;html:htm,html,mht,mhtml;inkcanvas:canvas;ipynb:nnb,ipynb;link:lnk,link,url,website,webloc;loop:fluid,loop,note;mctemplate:mctemplate;mcworld:mcworld;md:md,markdn,markdown,mdown,mkdn;model:3ds,3mf,blend,cool,dae,df,dwfx,dwg,dxf,fbx,glb,gltf,holo,layer,layout,max,mtl,obj,off,ply,skp,stp,stl,t,thl,x;mpp:mpp;mpt:mpt;officescript:osts;one:one,onepart;onepage:onepage;onetoc:ms-one-stub,onetoc,onetoc2,onepkg;pdf:pdf;photo:arw,bmp,cr2,crw,dic,dicm,dcm,dcm30,dcr,dds,dib,dng,erf,gif,heic,heif,ico,jfi,jfif,jif,jpe,jpeg,jpg,jxr,kdc,mrw,nef,orf,pct,pict,png,pns,psb,psd,raw,tga,tif,tiff,wdp;potx:pot,potm,potx;powerbi:pbids,pbix;ppsx:pps,ppsm,ppsx;pptx:ppt,pptm,pptx,sldx,sldm;presentation:odp,gslides,key;pub:pub;rtf:epub,gdoc,odt,rtf,wri,pages;spo:aspx;spreadsheet:odc,ods,gsheet,numbers,tsv;sysfile:bak,bin,cab,cache,cat,cer,class,dat,db,dbg,dl_,dll,ithmb,jar,kb,ldt,lrprev,pkpass,ppa,ppam,pdb,rom,thm,thmx,vsl,xla,xlam,xlb,xll;txt:dif,diff,readme,out,plist,properties,text,txt;vector:ai,ait,cvs,dgn,gdraw,pd,emf,eps,fig,ind,indd,indl,indt,indb,ps,svg,svgz,wmf,oxps,xps,xd,sketch;video:3g2,3gp,3gp2,3gpp,asf,avi,dvr-ms,flv,m1v,m4v,mkv,mod,mov,mm4p,mp2,mp2v,mp4,mp4v,mpa,mpe,mpeg,mpg,mpv,mpv2,mts,ogg,qt,swf,ts,vob,webm,wlmp,wm,wmv,wmx;vsdx:vdx,vsd,vsdm,vsdx,vsw,vdw;vssx:vss,vssm,vssx;vstx:vst,vstm,vstx,vsx;whiteboard:whiteboard,wbtx;xlsx:xlc,xls,xlsb,xlsm,xlsx,xlw;xltx:xlt,xltm,xltx;xml:xaml,xml,xsl;xsn:xsn;zip:zip';
|
|
14
|
+
const PACKED_FILE_TYPE_ICON_MAP = 'accdb:accdb,mdb;agentwork:work;aipage:page;archive:7z,ace,arc,arj,dmg,gz,iso,lzh,pkg,rar,sit,tgz,tar,z;audio:aif,aiff,aac,alac,amr,ape,au,awb,dct,dss,dvf,flac,gsm,m4a,m4p,mid,mmf,mp3,oga,ra,rm,wav,wma,wv;calendar:ical,icalendar,ics,ifb,vcs;classifier:classifier;clipchamp:clipchamp,clpx;cliptemplate:cliptemplate;code:abap,ada,adp,ahk,as,as3,asc,ascx,asm,asp,awk,bash,bash_login,bash_logout,bash_profile,bashrc,bat,bib,bsh,build,builder,c,cbl,c++,capfile,cc,cfc,cfm,cfml,cl,clj,cls,cmake,cmd,coffee,config,cpp,cpt,cpy,cs,cshtml,cson,csproj,css,ctp,cxx,d,ddl,di,disco,dml,dtd,dtml,el,emakefile,erb,erl,f,f90,f95,fs,fsi,fsscript,fsx,gemfile,gemspec,gitconfig,go,groovy,gvy,h,h++,haml,handlebars,hbs,hcp,hh,hpp,hrl,hs,htc,hxx,idl,iim,inc,inf,ini,inl,ipp,irbrc,jade,jav,java,js,json,jsp,jsproj,jsx,l,less,lhs,lisp,log,lst,ltx,lua,m,mak,make,manifest,master,ml,mli,mll,mly,mm,mud,nfo,opml,osascript,p,pas,patch,php,php2,php3,php4,php5,phtml,pl,pm,pod,pp,profile,ps1,ps1xml,psd1,psm1,pss,pt,py,pyw,r,rake,rb,rbx,rc,rdf,re,reg,rest,resw,resx,rhtml,rjs,rprofile,rpy,rss,rst,ruby,rxml,s,sass,scala,scm,sconscript,sconstruct,script,scss,sgml,sh,shtml,sml,svn-base,swift,sql,sty,tcl,tex,textile,tld,tli,tmpl,tpl,vb,vi,vim,vmg,webpart,wsp,wsdl,xhtml,xoml,xsd,xslt,yaml,yaws,yml,zsh;contact:vcf;copilot:copilot;csv:csv;designer:design;docx:doc,docm,docx,docb;dotx:dot,dotm,dotx;email:eml,msg,oft,ost,pst;exe:application,appref-ms,apk,app,appx,exe,ipa,msi,xap;font:ttf,otf,woff;html:htm,html,mht,mhtml;inkcanvas:canvas;ipynb:nnb,ipynb;link:lnk,link,url,website,webloc;loop:fluid,loop,note;mctemplate:mctemplate;mcworld:mcworld;md:md,markdn,markdown,mdown,mkdn;model:3ds,3mf,blend,cool,dae,df,dwfx,dwg,dxf,fbx,glb,gltf,holo,layer,layout,max,mtl,obj,off,ply,skp,stp,stl,t,thl,x;mpp:mpp;mpt:mpt;officescript:osts;one:one,onepart;onepage:onepage;onetoc:ms-one-stub,onetoc,onetoc2,onepkg;pdf:pdf;photo:arw,bmp,cr2,crw,dic,dicm,dcm,dcm30,dcr,dds,dib,dng,erf,gif,heic,heif,ico,jfi,jfif,jif,jpe,jpeg,jpg,jxr,kdc,mrw,nef,orf,pct,pict,png,pns,psb,psd,raw,tga,tif,tiff,wdp;potx:pot,potm,potx;powerbi:pbids,pbix;ppsx:pps,ppsm,ppsx;pptx:ppt,pptm,pptx,sldx,sldm;presentation:odp,gslides,key;pub:pub;rtf:epub,gdoc,odt,rtf,wri,pages;spo:aspx;spreadsheet:odc,ods,gsheet,numbers,tsv;sysfile:bak,bin,cab,cache,cat,cer,class,dat,db,dbg,dl_,dll,ithmb,jar,kb,ldt,lrprev,pkpass,ppa,ppam,pdb,rom,thm,thmx,vsl,xla,xlam,xlb,xll;txt:dif,diff,readme,out,plist,properties,text,txt;vector:ai,ait,cvs,dgn,gdraw,pd,emf,eps,fig,ind,indd,indl,indt,indb,ps,svg,svgz,wmf,oxps,xps,xd,sketch;video:3g2,3gp,3gp2,3gpp,asf,avi,dvr-ms,flv,m1v,m4v,mkv,mod,mov,mm4p,mp2,mp2v,mp4,mp4v,mpa,mpe,mpeg,mpg,mpv,mpv2,mts,ogg,qt,swf,ts,vob,webm,wlmp,wm,wmv,wmx;vsdx:vdx,vsd,vsdm,vsdx,vsw,vdw;vssx:vss,vssm,vssx;vstx:vst,vstm,vstx,vsx;whiteboard:whiteboard,wbtx;xlsx:xlc,xls,xlsb,xlsm,xlsx,xlw;xltx:xlt,xltm,xltx;xml:xaml,xml,xsl;xsn:xsn;zip:zip';
|
|
15
15
|
let _extensionToIconName;
|
|
16
16
|
/**
|
|
17
17
|
* Returns the `extension`->`icon name` lookup table, decoding the packed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-icons-file-type",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Fluent UI React (v9-compatible) file type icon components rendered from CDN-hosted assets.",
|
|
5
5
|
"main": "lib-cjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -21,12 +21,10 @@
|
|
|
21
21
|
"scripts": {
|
|
22
22
|
"clean": "git clean -fXd lib/ lib-cjs/",
|
|
23
23
|
"generate": "node scripts/generateFileTypeIconMap.js && node scripts/generateFileIconTypes.js",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"pretest": "npm run generate",
|
|
29
|
-
"test": "vitest run"
|
|
24
|
+
"build": "yarn clean && yarn generate && node scripts/build.js",
|
|
25
|
+
"bundle-size": "yarn run -T monosize measure",
|
|
26
|
+
"lint": "yarn run -T eslint src package.json",
|
|
27
|
+
"test": "yarn generate && yarn run -T vitest run"
|
|
30
28
|
},
|
|
31
29
|
"dependencies": {
|
|
32
30
|
"@griffel/react": "^1.6.1",
|
|
@@ -41,13 +39,6 @@
|
|
|
41
39
|
"optional": true
|
|
42
40
|
}
|
|
43
41
|
},
|
|
44
|
-
"devDependencies": {
|
|
45
|
-
"@griffel/eslint-plugin": "^2.0.2",
|
|
46
|
-
"eslint": "8.57.1",
|
|
47
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
48
|
-
"typescript": "5.0.4",
|
|
49
|
-
"typescript-eslint": "7.18.0"
|
|
50
|
-
},
|
|
51
42
|
"files": [
|
|
52
43
|
"lib/",
|
|
53
44
|
"lib-cjs/"
|