@fluid-topics/ft-icon 0.3.49 → 0.3.50

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.
@@ -9,17 +9,20 @@ export const FtIconCssVariables = {
9
9
  };
10
10
  //language=css
11
11
  export const styles = css `
12
- :host {
13
- display: inline-block;
12
+ :host, i.ft-icon {
13
+ display: inline-flex;
14
+ align-items: center;
15
+ justify-content: center;
14
16
  }
15
17
 
16
- :host, i.ft-icon {
18
+ :host {
17
19
  width: ${FtIconCssVariables.size};
18
20
  height: ${FtIconCssVariables.size};
19
- text-align: center;
20
21
  }
21
22
 
22
23
  i.ft-icon {
24
+ width: 100%;
25
+ height: 100%;
23
26
  font-size: ${FtIconCssVariables.size};
24
27
  line-height: 1;
25
28
  font-weight: normal;
@@ -34,8 +37,13 @@ export const styles = css `
34
37
  vertical-align: ${FtIconCssVariables.verticalAlign};
35
38
  }
36
39
 
37
- .ft-icon--fluid-topics {
40
+ i.ft-icon.ft-icon--fluid-topics {
38
41
  font-family: ${FtIconCssVariables.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
42
+
43
+ /* Ugly fix because font is broken */
44
+ font-size: calc(0.9 * ${FtIconCssVariables.size});
45
+ position: relative;
46
+ top: -5%;
39
47
  }
40
48
 
41
49
  .ft-icon--file-format {
@@ -1,15 +1,18 @@
1
- !function(e,t,a,i,o){var x,p;e.FtIcons=void 0,(x=e.FtIcons||(e.FtIcons={})).DESKTOP="&#xe95e",x.TABLET_LANDSCAPE="&#xe95f",x.TABLET_PORTRAIT="&#xe960",x.MOBILE_LANDSCAPE="&#xe961",x.MOBILE_PORTRAIT="&#xe962",x.THIN_ARROW_UP="",x.CONTEXTUAL="",x.UNSTRUCTURED_DOC="",x.RESET="",x.THIN_ARROW_LEFT="",x.THIN_ARROW_RIGHT="",x.MY_COLLECTIONS="",x.OFFLINE_SETTINGS="",x.MY_LIBRARY="",x.RATE_PLAIN="",x.RATE="",x.FEEDBACK_PLAIN="",x.STAR_PLAIN="",x.STAR="",x.THUMBS_DOWN_PLAIN="",x.THUMBS_DOWN="",x.THUMBS_UP_PLAIN="",x.THUMBS_UP="",x.PAUSE="",x.PLAY="",x.RELATIVES_PLAIN="",x.RELATIVES="",x.SHORTCUT_MENU="",x.PRINT="",x.DEFAULT_ROLES="",x.ACCOUNT_SETTINGS="",x.ONLINE="",x.OFFLINE="",x.UPLOAD="",x.BOOK_PLAIN="",x.SYNC="",x.SHARED_PBK="",x.COLLECTIONS="",x.SEARCH_IN_PUBLICATION="",x.BOOKS="",x.LOCKER="",x.ARROW_DOWN="",x.ARROW_LEFT="",x.ARROW_RIGHT="",x.ARROW_UP="",x.SAVE="",x.MAILS_AND_NOTIFICATIONS="",x.DOT="",x.MINUS="",x.PLUS="",x.FILTERS="",x.STRIPE_ARROW_RIGHT="",x.STRIPE_ARROW_LEFT="",x.ATTACHMENTS="",x.ADD_BOOKMARK="",x.BOOKMARK="",x.EXPORT="",x.MENU="",x.TAG="",x.TAG_PLAIN="",x.COPY_TO_CLIPBOARD="",x.COLUMNS="",x.ARTICLE="",x.CLOSE_PLAIN="",x.CHECK_PLAIN="",x.LOGOUT="",x.SIGN_IN="",x.THIN_ARROW="",x.TRIANGLE_BOTTOM="",x.TRIANGLE_LEFT="",x.TRIANGLE_RIGHT="",x.TRIANGLE_TOP="",x.FACET_HAS_DESCENDANT="",x.MINUS_PLAIN="",x.PLUS_PLAIN="",x.INFO="",x.ICON_EXPAND="",x.ICON_COLLAPSE="",x.ADD_TO_PBK="",x.ALERT="",x.ADD_ALERT="",x.BACK_TO_SEARCH="",x.DOWNLOAD="",x.EDIT="",x.FEEDBACK="",x.MODIFY_PBK="",x.SCHEDULED="",x.SEARCH="",x.SHARE="󨃱",x.TOC="",x.WRITE_UGC="",x.TRASH="",x.EXTLINK="",x.CALENDAR="",x.BOOK="",x.DOWNLOAD_PLAIN="",x.CHECK="",x.TOPICS="",x.EYE="&#xf06e",x.DISC="",x.CIRCLE="",x.SHARED="",x.SORT_UNSORTED="",x.SORT_UP="",x.SORT_DOWN="",x.WORKING="",x.CLOSE="",x.ZOOM_OUT="",x.ZOOM_IN="",x.ZOOM_REALSIZE="",x.ZOOM_FULLSCREEN="",x.ADMIN_RESTRICTED="",x.ADMIN_THEME="",x.WARNING="",x.CONTEXT="",x.SEARCH_HOME="",x.STEPS="",x.HOME="",x.TRANSLATE="",x.USER="",x.ADMIN="",x.ANALYTICS="",x.ADMIN_KHUB="",x.ADMIN_USERS="",x.ADMIN_INTEGRATION="",x.ADMIN_PORTAL="",e.FtFileFormatIcons=void 0,(p=e.FtFileFormatIcons||(e.FtFileFormatIcons={})).UNKNOWN="",p.ABW="",p.AUDIO="",p.AVI="",p.CHM="",p.CODE="",p.CSV="",p.DITA="",p.EPUB="",p.EXCEL="",p.FLAC="",p.GIF="",p.GZIP="",p.HTML="",p.IMAGE="",p.JPEG="",p.JSON="",p.M4A="",p.MOV="",p.MP3="",p.MP4="",p.OGG="",p.PDF="",p.PNG="",p.POWERPOINT="",p.RAR="",p.STP="",p.TEXT="",p.VIDEO="",p.WAV="",p.WMA="",p.WORD="",p.XML="",p.YAML="",p.ZIP="";const n=new Map([...["abw"].map((t=>[t,e.FtFileFormatIcons.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,e.FtFileFormatIcons.AUDIO])),...["avi"].map((t=>[t,e.FtFileFormatIcons.AVI])),...["chm","xhs"].map((t=>[t,e.FtFileFormatIcons.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,e.FtFileFormatIcons.CODE])),...["csv"].map((t=>[t,e.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,e.FtFileFormatIcons.DITA])),...["epub"].map((t=>[t,e.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,e.FtFileFormatIcons.EXCEL])),...["flac"].map((t=>[t,e.FtFileFormatIcons.FLAC])),...["gif"].map((t=>[t,e.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,e.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((t=>[t,e.FtFileFormatIcons.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,e.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,e.FtFileFormatIcons.JPEG])),...["json"].map((t=>[t,e.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((t=>[t,e.FtFileFormatIcons.M4A])),...["mov","qt"].map((t=>[t,e.FtFileFormatIcons.MOV])),...["mp3"].map((t=>[t,e.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((t=>[t,e.FtFileFormatIcons.MP4])),...["ogg","oga"].map((t=>[t,e.FtFileFormatIcons.OGG])),...["pdf","ps"].map((t=>[t,e.FtFileFormatIcons.PDF])),...["png"].map((t=>[t,e.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,e.FtFileFormatIcons.POWERPOINT])),...["rar"].map((t=>[t,e.FtFileFormatIcons.RAR])),...["stp"].map((t=>[t,e.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((t=>[t,e.FtFileFormatIcons.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,e.FtFileFormatIcons.VIDEO])),...["wav"].map((t=>[t,e.FtFileFormatIcons.WAV])),...["wma"].map((t=>[t,e.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,e.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((t=>[t,e.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((t=>[t,e.FtFileFormatIcons.YAML])),...["zip"].map((t=>[t,e.FtFileFormatIcons.ZIP]))]),l=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);const s={size:t.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:t.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:t.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:t.FtCssVariableFactory.extend("--ft-icon-material-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:t.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},c=a.css`
2
- :host {
3
- display: inline-block;
1
+ !function(e,t,a,i,o){var x,n;e.FtIcons=void 0,(x=e.FtIcons||(e.FtIcons={})).THUMBS_DOWN="",x.THUMBS_DOWN_PLAIN="",x.THUMBS_UP="",x.THUMBS_UP_PLAIN="",x.STAR="",x.STAR_PLAIN="",x.DESKTOP="",x.TABLET_LANDSCAPE="",x.TABLET_PORTRAIT="",x.MOBILE_LANDSCAPE="",x.MOBILE_PORTRAIT="",x.ARROW_RIGHT_TO_LINE="",x.THIN_ARROW_UP="",x.CONTEXTUAL="",x.UNSTRUCTURED_DOC="",x.RESET="",x.THIN_ARROW_LEFT="",x.THIN_ARROW_RIGHT="",x.MY_COLLECTIONS="",x.OFFLINE_SETTINGS="",x.MY_LIBRARY="",x.RATE_PLAIN="",x.RATE="",x.FEEDBACK_PLAIN="",x.PAUSE="",x.PLAY="",x.RELATIVES_PLAIN="",x.RELATIVES="",x.SHORTCUT_MENU="",x.PRINT="",x.DEFAULT_ROLES="",x.ACCOUNT_SETTINGS="",x.ONLINE="",x.OFFLINE="",x.UPLOAD="",x.BOOK_PLAIN="",x.SYNC="",x.SHARED_PBK="",x.COLLECTIONS="",x.SEARCH_IN_PUBLICATION="",x.BOOKS="",x.LOCKER="",x.ARROW_DOWN="",x.ARROW_LEFT="",x.ARROW_RIGHT="",x.ARROW_UP="",x.SAVE="",x.MAILS_AND_NOTIFICATIONS="",x.DOT="",x.MINUS="",x.PLUS="",x.FILTERS="",x.STRIPE_ARROW_RIGHT="",x.STRIPE_ARROW_LEFT="",x.ATTACHMENTS="",x.ADD_BOOKMARK="",x.BOOKMARK="",x.EXPORT="",x.MENU="",x.TAG="",x.TAG_PLAIN="",x.COPY_TO_CLIPBOARD="",x.COLUMNS="",x.ARTICLE="",x.CLOSE_PLAIN="",x.CHECK_PLAIN="",x.LOGOUT="",x.SIGN_IN="",x.THIN_ARROW="",x.TRIANGLE_BOTTOM="",x.TRIANGLE_LEFT="",x.TRIANGLE_RIGHT="",x.TRIANGLE_TOP="",x.FACET_HAS_DESCENDANT="",x.MINUS_PLAIN="",x.PLUS_PLAIN="",x.INFO="",x.ICON_EXPAND="",x.ICON_COLLAPSE="",x.ADD_TO_PBK="",x.ALERT="",x.ADD_ALERT="",x.BACK_TO_SEARCH="",x.DOWNLOAD="",x.EDIT="",x.FEEDBACK="",x.MODIFY_PBK="",x.SCHEDULED="",x.SEARCH="",x.SHARE="󨃱",x.TOC="",x.WRITE_UGC="",x.TRASH="",x.EXTLINK="",x.CALENDAR="",x.BOOK="",x.DOWNLOAD_PLAIN="",x.CHECK="",x.TOPICS="",x.EYE="",x.DISC="",x.CIRCLE="",x.SHARED="",x.SORT_UNSORTED="",x.SORT_UP="",x.SORT_DOWN="",x.WORKING="",x.CLOSE="",x.ZOOM_OUT="",x.ZOOM_IN="",x.ZOOM_REALSIZE="",x.ZOOM_FULLSCREEN="",x.ADMIN_RESTRICTED="",x.ADMIN_THEME="",x.WARNING="",x.CONTEXT="",x.SEARCH_HOME="",x.STEPS="",x.HOME="",x.TRANSLATE="",x.USER="",x.ADMIN="",x.ANALYTICS="",x.ADMIN_KHUB="",x.ADMIN_USERS="",x.ADMIN_INTEGRATION="",x.ADMIN_PORTAL="",e.FtFileFormatIcons=void 0,(n=e.FtFileFormatIcons||(e.FtFileFormatIcons={})).UNKNOWN="",n.ABW="",n.AUDIO="",n.AVI="",n.CHM="",n.CODE="",n.CSV="",n.DITA="",n.EPUB="",n.EXCEL="",n.FLAC="",n.GIF="",n.GZIP="",n.HTML="",n.IMAGE="",n.JPEG="",n.JSON="",n.M4A="",n.MOV="",n.MP3="",n.MP4="",n.OGG="",n.PDF="",n.PNG="",n.POWERPOINT="",n.RAR="",n.STP="",n.TEXT="",n.VIDEO="",n.WAV="",n.WMA="",n.WORD="",n.XML="",n.YAML="",n.ZIP="";const p=new Map([...["abw"].map((t=>[t,e.FtFileFormatIcons.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,e.FtFileFormatIcons.AUDIO])),...["avi"].map((t=>[t,e.FtFileFormatIcons.AVI])),...["chm","xhs"].map((t=>[t,e.FtFileFormatIcons.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,e.FtFileFormatIcons.CODE])),...["csv"].map((t=>[t,e.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,e.FtFileFormatIcons.DITA])),...["epub"].map((t=>[t,e.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,e.FtFileFormatIcons.EXCEL])),...["flac"].map((t=>[t,e.FtFileFormatIcons.FLAC])),...["gif"].map((t=>[t,e.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,e.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((t=>[t,e.FtFileFormatIcons.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,e.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,e.FtFileFormatIcons.JPEG])),...["json"].map((t=>[t,e.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((t=>[t,e.FtFileFormatIcons.M4A])),...["mov","qt"].map((t=>[t,e.FtFileFormatIcons.MOV])),...["mp3"].map((t=>[t,e.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((t=>[t,e.FtFileFormatIcons.MP4])),...["ogg","oga"].map((t=>[t,e.FtFileFormatIcons.OGG])),...["pdf","ps"].map((t=>[t,e.FtFileFormatIcons.PDF])),...["png"].map((t=>[t,e.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,e.FtFileFormatIcons.POWERPOINT])),...["rar"].map((t=>[t,e.FtFileFormatIcons.RAR])),...["stp"].map((t=>[t,e.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((t=>[t,e.FtFileFormatIcons.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,e.FtFileFormatIcons.VIDEO])),...["wav"].map((t=>[t,e.FtFileFormatIcons.WAV])),...["wma"].map((t=>[t,e.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,e.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((t=>[t,e.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((t=>[t,e.FtFileFormatIcons.YAML])),...["zip"].map((t=>[t,e.FtFileFormatIcons.ZIP]))]),l=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);const s={size:t.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:t.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:t.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:t.FtCssVariableFactory.extend("--ft-icon-material-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:t.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},c=a.css`
2
+ :host, i.ft-icon {
3
+ display: inline-flex;
4
+ align-items: center;
5
+ justify-content: center;
4
6
  }
5
7
 
6
- :host, i.ft-icon {
8
+ :host {
7
9
  width: ${s.size};
8
10
  height: ${s.size};
9
- text-align: center;
10
11
  }
11
12
 
12
13
  i.ft-icon {
14
+ width: 100%;
15
+ height: 100%;
13
16
  font-size: ${s.size};
14
17
  line-height: 1;
15
18
  font-weight: normal;
@@ -24,8 +27,13 @@
24
27
  vertical-align: ${s.verticalAlign};
25
28
  }
26
29
 
27
- .ft-icon--fluid-topics {
30
+ i.ft-icon.ft-icon--fluid-topics {
28
31
  font-family: ${s.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
32
+
33
+ /* Ugly fix because font is broken */
34
+ font-size: calc(0.9 * ${s.size});
35
+ position: relative;
36
+ top: -5%;
29
37
  }
30
38
 
31
39
  .ft-icon--file-format {
@@ -35,9 +43,9 @@
35
43
  .ft-icon--material {
36
44
  font-family: ${s.materialFontFamily}, "Material Icons", sans-serif;
37
45
  }
38
- `;var m;e.FtIconVariants=void 0,(m=e.FtIconVariants||(e.FtIconVariants={})).fluid_topics="fluid-topics",m.file_format="file-format",m.material="material";var d=function(e,t,a,i){for(var o,x=arguments.length,p=x<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i,n=e.length-1;n>=0;n--)(o=e[n])&&(p=(x<3?o(p):x>3?o(t,a,p):o(t,a))||p);return x>3&&p&&Object.defineProperty(t,a,p),p};class f extends t.FtLitElement{constructor(){super(...arguments),this.variant=e.FtIconVariants.fluid_topics,this.resolvedIcon=a.nothing}render(){const e="material"!==this.variant||this.value;return a.html`
46
+ `;var m;e.FtIconVariants=void 0,(m=e.FtIconVariants||(e.FtIconVariants={})).fluid_topics="fluid-topics",m.file_format="file-format",m.material="material";var f=function(e,t,a,i){for(var o,x=arguments.length,n=x<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,a):i,p=e.length-1;p>=0;p--)(o=e[p])&&(n=(x<3?o(n):x>3?o(t,a,n):o(t,a))||n);return x>3&&n&&Object.defineProperty(t,a,n),n};class d extends t.FtLitElement{constructor(){super(...arguments),this.variant=e.FtIconVariants.fluid_topics,this.resolvedIcon=a.nothing}render(){const e="material"!==this.variant||this.value;return a.html`
39
47
  <i class="ft-icon ${"ft-icon--"+this.variant}">
40
48
  ${o.unsafeHTML(this.resolvedIcon)}
41
49
  <slot ?hidden=${e}></slot>
42
50
  </i>
43
- `}get textContent(){var e,t;return null!==(t=null===(e=this.slottedContent)||void 0===e?void 0:e.assignedNodes().map((e=>e.textContent)).join("").trim())&&void 0!==t?t:""}update(e){super.update(e),["value","variant"].some((t=>e.has(t)))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.textContent;switch(this.variant){case e.FtIconVariants.file_format:this.resolvedIcon=null!==(t=e.FtFileFormatIcons[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case e.FtIconVariants.fluid_topics:this.resolvedIcon=null!==(i=e.FtIcons[o.replace("-","_").toUpperCase()])&&void 0!==i?i:o;break;default:this.resolvedIcon=this.value||a.nothing}}firstUpdated(e){super.firstUpdated(e),setTimeout((()=>this.resolveIcon()))}}f.elementDefinitions={},f.styles=c,d([i.property()],f.prototype,"variant",void 0),d([i.property()],f.prototype,"value",void 0),d([i.state()],f.prototype,"resolvedIcon",void 0),d([i.query("slot")],f.prototype,"slottedContent",void 0),t.customElement("ft-icon")(f),e.FtIcon=f,e.FtIconCssVariables=s,e.resolveFileFormatIcon=function(t,a){var i,o,x,p;t=(null!=t?t:"").toLowerCase(),a=(null!=a?a:"").toLowerCase();const[s,c]=((null!==(i=l.get(t))&&void 0!==i?i:t)+"/").split("/");return null!==(p=null!==(x=null!==(o=n.get(c))&&void 0!==o?o:n.get(a))&&void 0!==x?x:n.get(s))&&void 0!==p?p:e.FtFileFormatIcons.UNKNOWN},e.styles=c,Object.defineProperty(e,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
51
+ `}get textContent(){var e,t;return null!==(t=null===(e=this.slottedContent)||void 0===e?void 0:e.assignedNodes().map((e=>e.textContent)).join("").trim())&&void 0!==t?t:""}update(e){super.update(e),["value","variant"].some((t=>e.has(t)))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.textContent;switch(this.variant){case e.FtIconVariants.file_format:this.resolvedIcon=null!==(t=e.FtFileFormatIcons[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case e.FtIconVariants.fluid_topics:this.resolvedIcon=null!==(i=e.FtIcons[o.replace("-","_").toUpperCase()])&&void 0!==i?i:o;break;default:this.resolvedIcon=this.value||a.nothing}}firstUpdated(e){super.firstUpdated(e),setTimeout((()=>this.resolveIcon()))}}d.elementDefinitions={},d.styles=c,f([i.property()],d.prototype,"variant",void 0),f([i.property()],d.prototype,"value",void 0),f([i.state()],d.prototype,"resolvedIcon",void 0),f([i.query("slot")],d.prototype,"slottedContent",void 0),t.customElement("ft-icon")(d),e.FtIcon=d,e.FtIconCssVariables=s,e.resolveFileFormatIcon=function(t,a){var i,o,x,n;t=(null!=t?t:"").toLowerCase(),a=(null!=a?a:"").toLowerCase();const[s,c]=((null!==(i=l.get(t))&&void 0!==i?i:t)+"/").split("/");return null!==(n=null!==(x=null!==(o=p.get(c))&&void 0!==o?o:p.get(a))&&void 0!==x?x:p.get(s))&&void 0!==n?n:e.FtFileFormatIcons.UNKNOWN},e.styles=c,Object.defineProperty(e,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
@@ -96,18 +96,21 @@ const ut=2;class xt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
96
96
  * @license
97
97
  * Copyright 2017 Google LLC
98
98
  * SPDX-License-Identifier: BSD-3-Clause
99
- */class ft extends xt{constructor(t){if(super(t),this.it=D,t.type!==ut)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this._t=void 0,this.it=t;if(t===I)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}ft.directiveName="unsafeHTML",ft.resultType=1;const vt=(t=>(...e)=>({_$litDirective$:t,values:e}))(ft);var mt,bt;t.FtIcons=void 0,(mt=t.FtIcons||(t.FtIcons={})).DESKTOP="&#xe95e",mt.TABLET_LANDSCAPE="&#xe95f",mt.TABLET_PORTRAIT="&#xe960",mt.MOBILE_LANDSCAPE="&#xe961",mt.MOBILE_PORTRAIT="&#xe962",mt.THIN_ARROW_UP="&#xe95c;",mt.CONTEXTUAL="&#xe95b;",mt.UNSTRUCTURED_DOC="&#xe95a;",mt.RESET="&#xe958;",mt.THIN_ARROW_LEFT="&#xe956;",mt.THIN_ARROW_RIGHT="&#xe957;",mt.MY_COLLECTIONS="&#xe955;",mt.OFFLINE_SETTINGS="&#xe954;",mt.MY_LIBRARY="&#xe959;",mt.RATE_PLAIN="&#xe952;",mt.RATE="&#xe953;",mt.FEEDBACK_PLAIN="&#xe951;",mt.STAR_PLAIN="&#xe94b;",mt.STAR="&#xe94c;",mt.THUMBS_DOWN_PLAIN="&#xe94d;",mt.THUMBS_DOWN="&#xe94e;",mt.THUMBS_UP_PLAIN="&#xe94f;",mt.THUMBS_UP="&#xe950;",mt.PAUSE="&#xe949;",mt.PLAY="&#xe94a;",mt.RELATIVES_PLAIN="&#xe947;",mt.RELATIVES="&#xe948;",mt.SHORTCUT_MENU="&#xe946;",mt.PRINT="&#xe944;",mt.DEFAULT_ROLES="&#xe945;",mt.ACCOUNT_SETTINGS="&#xe943;",mt.ONLINE="&#xe941;",mt.OFFLINE="&#xe816;",mt.UPLOAD="&#xe940;",mt.BOOK_PLAIN="&#xe93f;",mt.SYNC="&#xe93d;",mt.SHARED_PBK="&#xe931;",mt.COLLECTIONS="&#xe92a;",mt.SEARCH_IN_PUBLICATION="&#xe92f;",mt.BOOKS="&#xe806;",mt.LOCKER="&#xe93b;",mt.ARROW_DOWN="&#xe92b;",mt.ARROW_LEFT="&#xe92c;",mt.ARROW_RIGHT="&#xe92d;",mt.ARROW_UP="&#xe92e;",mt.SAVE="&#xe93a;",mt.MAILS_AND_NOTIFICATIONS="&#xe939;",mt.DOT="&#xe936;",mt.MINUS="&#xe937;",mt.PLUS="&#xe938;",mt.FILTERS="&#xe935;",mt.STRIPE_ARROW_RIGHT="&#xe934;",mt.STRIPE_ARROW_LEFT="&#xe933;",mt.ATTACHMENTS="&#xe932;",mt.ADD_BOOKMARK="&#xe804;",mt.BOOKMARK="&#xe805;",mt.EXPORT="&#xe80f;",mt.MENU="&#xe807;",mt.TAG="&#xe93e;",mt.TAG_PLAIN="&#xe942;",mt.COPY_TO_CLIPBOARD="&#xe930;",mt.COLUMNS="&#xe928;",mt.ARTICLE="&#xe927;",mt.CLOSE_PLAIN="&#xe925;",mt.CHECK_PLAIN="&#xe926;",mt.LOGOUT="&#xe923;",mt.SIGN_IN="&#xe922;",mt.THIN_ARROW="&#xe921;",mt.TRIANGLE_BOTTOM="&#xe91d;",mt.TRIANGLE_LEFT="&#xe91e;",mt.TRIANGLE_RIGHT="&#xe91f;",mt.TRIANGLE_TOP="&#xe920;",mt.FACET_HAS_DESCENDANT="&#xe91c;",mt.MINUS_PLAIN="&#xe91a;",mt.PLUS_PLAIN="&#xe91b;",mt.INFO="&#xe919;",mt.ICON_EXPAND="&#xe917;",mt.ICON_COLLAPSE="&#xe918;",mt.ADD_TO_PBK="&#xe800;",mt.ALERT="&#xe801;",mt.ADD_ALERT="&#xe802;",mt.BACK_TO_SEARCH="&#xe803;",mt.DOWNLOAD="&#xe808;",mt.EDIT="&#xe809;",mt.FEEDBACK="&#xe80a;",mt.MODIFY_PBK="&#xe80c;",mt.SCHEDULED="&#xe80d;",mt.SEARCH="&#xe80e;",mt.SHARE="&#xe80f1;",mt.TOC="&#xe810;",mt.WRITE_UGC="&#xe811;",mt.TRASH="&#xe812;",mt.EXTLINK="&#xe814;",mt.CALENDAR="&#xe815;",mt.BOOK="&#xe817;",mt.DOWNLOAD_PLAIN="&#xe818;",mt.CHECK="&#xe819;",mt.TOPICS="&#xe900;",mt.EYE="&#xf06e",mt.DISC="&#xe901;",mt.CIRCLE="&#xe903;",mt.SHARED="&#xe904;",mt.SORT_UNSORTED="&#xe905;",mt.SORT_UP="&#xe906;",mt.SORT_DOWN="&#xe907;",mt.WORKING="&#xe908;",mt.CLOSE="&#xe909;",mt.ZOOM_OUT="&#xe90a;",mt.ZOOM_IN="&#xe90b;",mt.ZOOM_REALSIZE="&#xe90c;",mt.ZOOM_FULLSCREEN="&#xe90d;",mt.ADMIN_RESTRICTED="&#xe90e;",mt.ADMIN_THEME="&#xe911;",mt.WARNING="&#xe913;",mt.CONTEXT="&#xe914;",mt.SEARCH_HOME="&#xe915;",mt.STEPS="&#xe916;",mt.HOME="&#xe80b;",mt.TRANSLATE="&#xe924;",mt.USER="&#xe813;",mt.ADMIN="&#xe902;",mt.ANALYTICS="&#xe929;",mt.ADMIN_KHUB="&#xe90f;",mt.ADMIN_USERS="&#xe910;",mt.ADMIN_INTEGRATION="&#xe93c;",mt.ADMIN_PORTAL="&#xe912;",t.FtFileFormatIcons=void 0,(bt=t.FtFileFormatIcons||(t.FtFileFormatIcons={})).UNKNOWN="&#xe90a;",bt.ABW="&#xe900;",bt.AUDIO="&#xe901;",bt.AVI="&#xe902;",bt.CHM="&#xe904;",bt.CODE="&#xe905;",bt.CSV="&#xe903;",bt.DITA="&#xe906;",bt.EPUB="&#xe907;",bt.EXCEL="&#xe908;",bt.FLAC="&#xe909;",bt.GIF="&#xe90b;",bt.GZIP="&#xe90c;",bt.HTML="&#xe90d;",bt.IMAGE="&#xe90e;",bt.JPEG="&#xe90f;",bt.JSON="&#xe910;",bt.M4A="&#xe911;",bt.MOV="&#xe912;",bt.MP3="&#xe913;",bt.MP4="&#xe914;",bt.OGG="&#xe915;",bt.PDF="&#xe916;",bt.PNG="&#xe917;",bt.POWERPOINT="&#xe918;",bt.RAR="&#xe91a;",bt.STP="&#xe91b;",bt.TEXT="&#xe91c;",bt.VIDEO="&#xe91e;",bt.WAV="&#xe91f;",bt.WMA="&#xe920;",bt.WORD="&#xe921;",bt.XML="&#xe922;",bt.YAML="&#xe919;",bt.ZIP="&#xe923;";const wt=new Map([...["abw"].map((e=>[e,t.FtFileFormatIcons.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((e=>[e,t.FtFileFormatIcons.AUDIO])),...["avi"].map((e=>[e,t.FtFileFormatIcons.AVI])),...["chm","xhs"].map((e=>[e,t.FtFileFormatIcons.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((e=>[e,t.FtFileFormatIcons.CODE])),...["csv"].map((e=>[e,t.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((e=>[e,t.FtFileFormatIcons.DITA])),...["epub"].map((e=>[e,t.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((e=>[e,t.FtFileFormatIcons.EXCEL])),...["flac"].map((e=>[e,t.FtFileFormatIcons.FLAC])),...["gif"].map((e=>[e,t.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((e=>[e,t.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((e=>[e,t.FtFileFormatIcons.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((e=>[e,t.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((e=>[e,t.FtFileFormatIcons.JPEG])),...["json"].map((e=>[e,t.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((e=>[e,t.FtFileFormatIcons.M4A])),...["mov","qt"].map((e=>[e,t.FtFileFormatIcons.MOV])),...["mp3"].map((e=>[e,t.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((e=>[e,t.FtFileFormatIcons.MP4])),...["ogg","oga"].map((e=>[e,t.FtFileFormatIcons.OGG])),...["pdf","ps"].map((e=>[e,t.FtFileFormatIcons.PDF])),...["png"].map((e=>[e,t.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((e=>[e,t.FtFileFormatIcons.POWERPOINT])),...["rar"].map((e=>[e,t.FtFileFormatIcons.RAR])),...["stp"].map((e=>[e,t.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((e=>[e,t.FtFileFormatIcons.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((e=>[e,t.FtFileFormatIcons.VIDEO])),...["wav"].map((e=>[e,t.FtFileFormatIcons.WAV])),...["wma"].map((e=>[e,t.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((e=>[e,t.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((e=>[e,t.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((e=>[e,t.FtFileFormatIcons.YAML])),...["zip"].map((e=>[e,t.FtFileFormatIcons.ZIP]))]),gt=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);const yt={size:lt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:lt.extend("--ft-icon-fluid-topics-font-family",lt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:lt.extend("--ft-icon-file-format-font-family",lt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:lt.extend("--ft-icon-material-font-family",lt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:lt.create("--ft-icon-vertical-align","UNKNOWN","unset")},Ot=p`
100
- :host {
101
- display: inline-block;
99
+ */class ft extends xt{constructor(t){if(super(t),this.it=D,t.type!==ut)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this._t=void 0,this.it=t;if(t===I)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}ft.directiveName="unsafeHTML",ft.resultType=1;const vt=(t=>(...e)=>({_$litDirective$:t,values:e}))(ft);var mt,bt;t.FtIcons=void 0,(mt=t.FtIcons||(t.FtIcons={})).THUMBS_DOWN="&#xe94d;",mt.THUMBS_DOWN_PLAIN="&#xe94e;",mt.THUMBS_UP="&#xe94f;",mt.THUMBS_UP_PLAIN="&#xe950;",mt.STAR="&#xe94c;",mt.STAR_PLAIN="&#xe900;",mt.DESKTOP="&#xe95e;",mt.TABLET_LANDSCAPE="&#xe95f;",mt.TABLET_PORTRAIT="&#xe960;",mt.MOBILE_LANDSCAPE="&#xe961;",mt.MOBILE_PORTRAIT="&#xe962;",mt.ARROW_RIGHT_TO_LINE="&#xe95d;",mt.THIN_ARROW_UP="&#xe95c;",mt.CONTEXTUAL="&#xe95b;",mt.UNSTRUCTURED_DOC="&#xe95a;",mt.RESET="&#xe958;",mt.THIN_ARROW_LEFT="&#xe956;",mt.THIN_ARROW_RIGHT="&#xe957;",mt.MY_COLLECTIONS="&#xe955;",mt.OFFLINE_SETTINGS="&#xe954;",mt.MY_LIBRARY="&#xe959;",mt.RATE_PLAIN="&#xe952;",mt.RATE="&#xe953;",mt.FEEDBACK_PLAIN="&#xe951;",mt.PAUSE="&#xe949;",mt.PLAY="&#xe94a;",mt.RELATIVES_PLAIN="&#xe947;",mt.RELATIVES="&#xe948;",mt.SHORTCUT_MENU="&#xe946;",mt.PRINT="&#xe944;",mt.DEFAULT_ROLES="&#xe945;",mt.ACCOUNT_SETTINGS="&#xe943;",mt.ONLINE="&#xe941;",mt.OFFLINE="&#xe816;",mt.UPLOAD="&#xe940;",mt.BOOK_PLAIN="&#xe93f;",mt.SYNC="&#xe93d;",mt.SHARED_PBK="&#xe931;",mt.COLLECTIONS="&#xe92a;",mt.SEARCH_IN_PUBLICATION="&#xe92f;",mt.BOOKS="&#xe806;",mt.LOCKER="&#xe93b;",mt.ARROW_DOWN="&#xe92b;",mt.ARROW_LEFT="&#xe92c;",mt.ARROW_RIGHT="&#xe92d;",mt.ARROW_UP="&#xe92e;",mt.SAVE="&#xe93a;",mt.MAILS_AND_NOTIFICATIONS="&#xe939;",mt.DOT="&#xe936;",mt.MINUS="&#xe937;",mt.PLUS="&#xe938;",mt.FILTERS="&#xe935;",mt.STRIPE_ARROW_RIGHT="&#xe934;",mt.STRIPE_ARROW_LEFT="&#xe933;",mt.ATTACHMENTS="&#xe932;",mt.ADD_BOOKMARK="&#xe804;",mt.BOOKMARK="&#xe805;",mt.EXPORT="&#xe80f;",mt.MENU="&#xe807;",mt.TAG="&#xe93e;",mt.TAG_PLAIN="&#xe942;",mt.COPY_TO_CLIPBOARD="&#xe930;",mt.COLUMNS="&#xe928;",mt.ARTICLE="&#xe927;",mt.CLOSE_PLAIN="&#xe925;",mt.CHECK_PLAIN="&#xe926;",mt.LOGOUT="&#xe923;",mt.SIGN_IN="&#xe922;",mt.THIN_ARROW="&#xe921;",mt.TRIANGLE_BOTTOM="&#xe91d;",mt.TRIANGLE_LEFT="&#xe91e;",mt.TRIANGLE_RIGHT="&#xe91f;",mt.TRIANGLE_TOP="&#xe920;",mt.FACET_HAS_DESCENDANT="&#xe91c;",mt.MINUS_PLAIN="&#xe91a;",mt.PLUS_PLAIN="&#xe91b;",mt.INFO="&#xe919;",mt.ICON_EXPAND="&#xe917;",mt.ICON_COLLAPSE="&#xe918;",mt.ADD_TO_PBK="&#xe800;",mt.ALERT="&#xe801;",mt.ADD_ALERT="&#xe802;",mt.BACK_TO_SEARCH="&#xe803;",mt.DOWNLOAD="&#xe808;",mt.EDIT="&#xe809;",mt.FEEDBACK="&#xe80a;",mt.MODIFY_PBK="&#xe80c;",mt.SCHEDULED="&#xe80d;",mt.SEARCH="&#xe80e;",mt.SHARE="&#xe80f1;",mt.TOC="&#xe810;",mt.WRITE_UGC="&#xe811;",mt.TRASH="&#xe812;",mt.EXTLINK="&#xe814;",mt.CALENDAR="&#xe815;",mt.BOOK="&#xe817;",mt.DOWNLOAD_PLAIN="&#xe818;",mt.CHECK="&#xe819;",mt.TOPICS="&#xe901;",mt.EYE="&#xf06e;",mt.DISC="&#xe902;",mt.CIRCLE="&#xe903;",mt.SHARED="&#xe904;",mt.SORT_UNSORTED="&#xe905;",mt.SORT_UP="&#xe906;",mt.SORT_DOWN="&#xe907;",mt.WORKING="&#xe908;",mt.CLOSE="&#xe909;",mt.ZOOM_OUT="&#xe90a;",mt.ZOOM_IN="&#xe90b;",mt.ZOOM_REALSIZE="&#xe90c;",mt.ZOOM_FULLSCREEN="&#xe90d;",mt.ADMIN_RESTRICTED="&#xe90e;",mt.ADMIN_THEME="&#xe911;",mt.WARNING="&#xe913;",mt.CONTEXT="&#xe914;",mt.SEARCH_HOME="&#xe915;",mt.STEPS="&#xe916;",mt.HOME="&#xe80b;",mt.TRANSLATE="&#xe924;",mt.USER="&#xe813;",mt.ADMIN="&#xe90f;",mt.ANALYTICS="&#xe929;",mt.ADMIN_KHUB="&#xe910;",mt.ADMIN_USERS="&#xe912;",mt.ADMIN_INTEGRATION="&#xe93c;",mt.ADMIN_PORTAL="&#xe94b;",t.FtFileFormatIcons=void 0,(bt=t.FtFileFormatIcons||(t.FtFileFormatIcons={})).UNKNOWN="&#xe90a;",bt.ABW="&#xe900;",bt.AUDIO="&#xe901;",bt.AVI="&#xe902;",bt.CHM="&#xe904;",bt.CODE="&#xe905;",bt.CSV="&#xe903;",bt.DITA="&#xe906;",bt.EPUB="&#xe907;",bt.EXCEL="&#xe908;",bt.FLAC="&#xe909;",bt.GIF="&#xe90b;",bt.GZIP="&#xe90c;",bt.HTML="&#xe90d;",bt.IMAGE="&#xe90e;",bt.JPEG="&#xe90f;",bt.JSON="&#xe910;",bt.M4A="&#xe911;",bt.MOV="&#xe912;",bt.MP3="&#xe913;",bt.MP4="&#xe914;",bt.OGG="&#xe915;",bt.PDF="&#xe916;",bt.PNG="&#xe917;",bt.POWERPOINT="&#xe918;",bt.RAR="&#xe91a;",bt.STP="&#xe91b;",bt.TEXT="&#xe91c;",bt.VIDEO="&#xe91e;",bt.WAV="&#xe91f;",bt.WMA="&#xe920;",bt.WORD="&#xe921;",bt.XML="&#xe922;",bt.YAML="&#xe919;",bt.ZIP="&#xe923;";const wt=new Map([...["abw"].map((e=>[e,t.FtFileFormatIcons.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((e=>[e,t.FtFileFormatIcons.AUDIO])),...["avi"].map((e=>[e,t.FtFileFormatIcons.AVI])),...["chm","xhs"].map((e=>[e,t.FtFileFormatIcons.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((e=>[e,t.FtFileFormatIcons.CODE])),...["csv"].map((e=>[e,t.FtFileFormatIcons.CSV])),...["dita","ditamap","ditaval"].map((e=>[e,t.FtFileFormatIcons.DITA])),...["epub"].map((e=>[e,t.FtFileFormatIcons.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((e=>[e,t.FtFileFormatIcons.EXCEL])),...["flac"].map((e=>[e,t.FtFileFormatIcons.FLAC])),...["gif"].map((e=>[e,t.FtFileFormatIcons.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((e=>[e,t.FtFileFormatIcons.GZIP])),...["html","htm","xhtml"].map((e=>[e,t.FtFileFormatIcons.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((e=>[e,t.FtFileFormatIcons.IMAGE])),...["jpeg","jpg","jpe"].map((e=>[e,t.FtFileFormatIcons.JPEG])),...["json"].map((e=>[e,t.FtFileFormatIcons.JSON])),...["m4a","m4p"].map((e=>[e,t.FtFileFormatIcons.M4A])),...["mov","qt"].map((e=>[e,t.FtFileFormatIcons.MOV])),...["mp3"].map((e=>[e,t.FtFileFormatIcons.MP3])),...["mp4","m4v"].map((e=>[e,t.FtFileFormatIcons.MP4])),...["ogg","oga"].map((e=>[e,t.FtFileFormatIcons.OGG])),...["pdf","ps"].map((e=>[e,t.FtFileFormatIcons.PDF])),...["png"].map((e=>[e,t.FtFileFormatIcons.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((e=>[e,t.FtFileFormatIcons.POWERPOINT])),...["rar"].map((e=>[e,t.FtFileFormatIcons.RAR])),...["stp"].map((e=>[e,t.FtFileFormatIcons.STP])),...["txt","rtf","md","mdown"].map((e=>[e,t.FtFileFormatIcons.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((e=>[e,t.FtFileFormatIcons.VIDEO])),...["wav"].map((e=>[e,t.FtFileFormatIcons.WAV])),...["wma"].map((e=>[e,t.FtFileFormatIcons.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((e=>[e,t.FtFileFormatIcons.WORD])),...["xml","xsl","rdf"].map((e=>[e,t.FtFileFormatIcons.XML])),...["yaml","yml","x-yaml"].map((e=>[e,t.FtFileFormatIcons.YAML])),...["zip"].map((e=>[e,t.FtFileFormatIcons.ZIP]))]),gt=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);const yt={size:lt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:lt.extend("--ft-icon-fluid-topics-font-family",lt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:lt.extend("--ft-icon-file-format-font-family",lt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:lt.extend("--ft-icon-material-font-family",lt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:lt.create("--ft-icon-vertical-align","UNKNOWN","unset")},Ot=p`
100
+ :host, i.ft-icon {
101
+ display: inline-flex;
102
+ align-items: center;
103
+ justify-content: center;
102
104
  }
103
105
 
104
- :host, i.ft-icon {
106
+ :host {
105
107
  width: ${yt.size};
106
108
  height: ${yt.size};
107
- text-align: center;
108
109
  }
109
110
 
110
111
  i.ft-icon {
112
+ width: 100%;
113
+ height: 100%;
111
114
  font-size: ${yt.size};
112
115
  line-height: 1;
113
116
  font-weight: normal;
@@ -122,8 +125,13 @@ const ut=2;class xt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
122
125
  vertical-align: ${yt.verticalAlign};
123
126
  }
124
127
 
125
- .ft-icon--fluid-topics {
128
+ i.ft-icon.ft-icon--fluid-topics {
126
129
  font-family: ${yt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
130
+
131
+ /* Ugly fix because font is broken */
132
+ font-size: calc(0.9 * ${yt.size});
133
+ position: relative;
134
+ top: -5%;
127
135
  }
128
136
 
129
137
  .ft-icon--file-format {
package/build/icons.d.ts CHANGED
@@ -1,9 +1,16 @@
1
1
  export declare enum FtIcons {
2
- DESKTOP = "&#xe95e",
3
- TABLET_LANDSCAPE = "&#xe95f",
4
- TABLET_PORTRAIT = "&#xe960",
5
- MOBILE_LANDSCAPE = "&#xe961",
6
- MOBILE_PORTRAIT = "&#xe962",
2
+ THUMBS_DOWN = "&#xe94d;",
3
+ THUMBS_DOWN_PLAIN = "&#xe94e;",
4
+ THUMBS_UP = "&#xe94f;",
5
+ THUMBS_UP_PLAIN = "&#xe950;",
6
+ STAR = "&#xe94c;",
7
+ STAR_PLAIN = "&#xe900;",
8
+ DESKTOP = "&#xe95e;",
9
+ TABLET_LANDSCAPE = "&#xe95f;",
10
+ TABLET_PORTRAIT = "&#xe960;",
11
+ MOBILE_LANDSCAPE = "&#xe961;",
12
+ MOBILE_PORTRAIT = "&#xe962;",
13
+ ARROW_RIGHT_TO_LINE = "&#xe95d;",
7
14
  THIN_ARROW_UP = "&#xe95c;",
8
15
  CONTEXTUAL = "&#xe95b;",
9
16
  UNSTRUCTURED_DOC = "&#xe95a;",
@@ -16,12 +23,6 @@ export declare enum FtIcons {
16
23
  RATE_PLAIN = "&#xe952;",
17
24
  RATE = "&#xe953;",
18
25
  FEEDBACK_PLAIN = "&#xe951;",
19
- STAR_PLAIN = "&#xe94b;",
20
- STAR = "&#xe94c;",
21
- THUMBS_DOWN_PLAIN = "&#xe94d;",
22
- THUMBS_DOWN = "&#xe94e;",
23
- THUMBS_UP_PLAIN = "&#xe94f;",
24
- THUMBS_UP = "&#xe950;",
25
26
  PAUSE = "&#xe949;",
26
27
  PLAY = "&#xe94a;",
27
28
  RELATIVES_PLAIN = "&#xe947;",
@@ -96,9 +97,9 @@ export declare enum FtIcons {
96
97
  BOOK = "&#xe817;",
97
98
  DOWNLOAD_PLAIN = "&#xe818;",
98
99
  CHECK = "&#xe819;",
99
- TOPICS = "&#xe900;",
100
- EYE = "&#xf06e",
101
- DISC = "&#xe901;",
100
+ TOPICS = "&#xe901;",
101
+ EYE = "&#xf06e;",
102
+ DISC = "&#xe902;",
102
103
  CIRCLE = "&#xe903;",
103
104
  SHARED = "&#xe904;",
104
105
  SORT_UNSORTED = "&#xe905;",
@@ -119,12 +120,12 @@ export declare enum FtIcons {
119
120
  HOME = "&#xe80b;",
120
121
  TRANSLATE = "&#xe924;",
121
122
  USER = "&#xe813;",
122
- ADMIN = "&#xe902;",
123
+ ADMIN = "&#xe90f;",
123
124
  ANALYTICS = "&#xe929;",
124
- ADMIN_KHUB = "&#xe90f;",
125
- ADMIN_USERS = "&#xe910;",
125
+ ADMIN_KHUB = "&#xe910;",
126
+ ADMIN_USERS = "&#xe912;",
126
127
  ADMIN_INTEGRATION = "&#xe93c;",
127
- ADMIN_PORTAL = "&#xe912;"
128
+ ADMIN_PORTAL = "&#xe94b;"
128
129
  }
129
130
  export declare enum FtFileFormatIcons {
130
131
  UNKNOWN = "&#xe90a;",
package/build/icons.js CHANGED
@@ -1,10 +1,17 @@
1
1
  export var FtIcons;
2
2
  (function (FtIcons) {
3
- FtIcons["DESKTOP"] = "&#xe95e";
4
- FtIcons["TABLET_LANDSCAPE"] = "&#xe95f";
5
- FtIcons["TABLET_PORTRAIT"] = "&#xe960";
6
- FtIcons["MOBILE_LANDSCAPE"] = "&#xe961";
7
- FtIcons["MOBILE_PORTRAIT"] = "&#xe962";
3
+ FtIcons["THUMBS_DOWN"] = "&#xe94d;";
4
+ FtIcons["THUMBS_DOWN_PLAIN"] = "&#xe94e;";
5
+ FtIcons["THUMBS_UP"] = "&#xe94f;";
6
+ FtIcons["THUMBS_UP_PLAIN"] = "&#xe950;";
7
+ FtIcons["STAR"] = "&#xe94c;";
8
+ FtIcons["STAR_PLAIN"] = "&#xe900;";
9
+ FtIcons["DESKTOP"] = "&#xe95e;";
10
+ FtIcons["TABLET_LANDSCAPE"] = "&#xe95f;";
11
+ FtIcons["TABLET_PORTRAIT"] = "&#xe960;";
12
+ FtIcons["MOBILE_LANDSCAPE"] = "&#xe961;";
13
+ FtIcons["MOBILE_PORTRAIT"] = "&#xe962;";
14
+ FtIcons["ARROW_RIGHT_TO_LINE"] = "&#xe95d;";
8
15
  FtIcons["THIN_ARROW_UP"] = "&#xe95c;";
9
16
  FtIcons["CONTEXTUAL"] = "&#xe95b;";
10
17
  FtIcons["UNSTRUCTURED_DOC"] = "&#xe95a;";
@@ -17,12 +24,6 @@ export var FtIcons;
17
24
  FtIcons["RATE_PLAIN"] = "&#xe952;";
18
25
  FtIcons["RATE"] = "&#xe953;";
19
26
  FtIcons["FEEDBACK_PLAIN"] = "&#xe951;";
20
- FtIcons["STAR_PLAIN"] = "&#xe94b;";
21
- FtIcons["STAR"] = "&#xe94c;";
22
- FtIcons["THUMBS_DOWN_PLAIN"] = "&#xe94d;";
23
- FtIcons["THUMBS_DOWN"] = "&#xe94e;";
24
- FtIcons["THUMBS_UP_PLAIN"] = "&#xe94f;";
25
- FtIcons["THUMBS_UP"] = "&#xe950;";
26
27
  FtIcons["PAUSE"] = "&#xe949;";
27
28
  FtIcons["PLAY"] = "&#xe94a;";
28
29
  FtIcons["RELATIVES_PLAIN"] = "&#xe947;";
@@ -97,9 +98,9 @@ export var FtIcons;
97
98
  FtIcons["BOOK"] = "&#xe817;";
98
99
  FtIcons["DOWNLOAD_PLAIN"] = "&#xe818;";
99
100
  FtIcons["CHECK"] = "&#xe819;";
100
- FtIcons["TOPICS"] = "&#xe900;";
101
- FtIcons["EYE"] = "&#xf06e";
102
- FtIcons["DISC"] = "&#xe901;";
101
+ FtIcons["TOPICS"] = "&#xe901;";
102
+ FtIcons["EYE"] = "&#xf06e;";
103
+ FtIcons["DISC"] = "&#xe902;";
103
104
  FtIcons["CIRCLE"] = "&#xe903;";
104
105
  FtIcons["SHARED"] = "&#xe904;";
105
106
  FtIcons["SORT_UNSORTED"] = "&#xe905;";
@@ -120,12 +121,12 @@ export var FtIcons;
120
121
  FtIcons["HOME"] = "&#xe80b;";
121
122
  FtIcons["TRANSLATE"] = "&#xe924;";
122
123
  FtIcons["USER"] = "&#xe813;";
123
- FtIcons["ADMIN"] = "&#xe902;";
124
+ FtIcons["ADMIN"] = "&#xe90f;";
124
125
  FtIcons["ANALYTICS"] = "&#xe929;";
125
- FtIcons["ADMIN_KHUB"] = "&#xe90f;";
126
- FtIcons["ADMIN_USERS"] = "&#xe910;";
126
+ FtIcons["ADMIN_KHUB"] = "&#xe910;";
127
+ FtIcons["ADMIN_USERS"] = "&#xe912;";
127
128
  FtIcons["ADMIN_INTEGRATION"] = "&#xe93c;";
128
- FtIcons["ADMIN_PORTAL"] = "&#xe912;";
129
+ FtIcons["ADMIN_PORTAL"] = "&#xe94b;";
129
130
  })(FtIcons || (FtIcons = {}));
130
131
  export var FtFileFormatIcons;
131
132
  (function (FtFileFormatIcons) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-icon",
3
- "version": "0.3.49",
3
+ "version": "0.3.50",
4
4
  "description": "Typography components",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,8 +19,8 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "0.3.49",
22
+ "@fluid-topics/ft-wc-utils": "0.3.50",
23
23
  "lit": "2.2.8"
24
24
  },
25
- "gitHead": "3584a4f0b3edc500a360c2afe2ef3e5cdbb604b6"
25
+ "gitHead": "ed73266ceb5360df2eefd4cbb314c1b9b2e811dc"
26
26
  }