@fluid-topics/ft-text-area
Advanced tools
Comparing version 0.3.11 to 0.3.12
@@ -115,8 +115,8 @@ !function(t,e,i,o,s,r){ | ||
} | ||
`],P([o.property()],ie.prototype,"element",void 0),P([o.property()],ie.prototype,"variant",void 0),e.customElement("ft-typography")(ie),function(t){t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.STAR_PLAIN="",t.STAR="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_DOWN="",t.THUMBS_UP_PLAIN="",t.THUMBS_UP="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="\f06e",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL=""}(oe||(oe={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(se||(se={})),new Map([...["abw"].map((t=>[t,se.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,se.AUDIO])),...["avi"].map((t=>[t,se.AVI])),...["chm","xhs"].map((t=>[t,se.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,se.CODE])),...["csv"].map((t=>[t,se.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,se.DITA])),...["epub"].map((t=>[t,se.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,se.EXCEL])),...["flac"].map((t=>[t,se.FLAC])),...["gif"].map((t=>[t,se.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,se.GZIP])),...["html","htm","xhtml"].map((t=>[t,se.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,se.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,se.JPEG])),...["json"].map((t=>[t,se.JSON])),...["m4a","m4p"].map((t=>[t,se.M4A])),...["mov","qt"].map((t=>[t,se.MOV])),...["mp3"].map((t=>[t,se.MP3])),...["mp4","m4v"].map((t=>[t,se.MP4])),...["ogg","oga"].map((t=>[t,se.OGG])),...["pdf","ps"].map((t=>[t,se.PDF])),...["png"].map((t=>[t,se.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,se.POWERPOINT])),...["rar"].map((t=>[t,se.RAR])),...["stp"].map((t=>[t,se.STP])),...["txt","rtf","md","mdown"].map((t=>[t,se.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,se.VIDEO])),...["wav"].map((t=>[t,se.WAV])),...["wma"].map((t=>[t,se.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,se.WORD])),...["xml","xsl","rdf"].map((t=>[t,se.XML])),...["yaml","yml","x-yaml"].map((t=>[t,se.YAML])),...["zip"].map((t=>[t,se.ZIP]))]);var re,ne=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(re||(re={}));const le=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),ae=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),pe=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),fe=e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),he=e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset");class de extends e.FtLitElement{constructor(){super(...arguments),this.variant=re.fluid_topics,this.resolvedIcon=i.nothing}render(){return i.html` | ||
`],P([o.property()],ie.prototype,"element",void 0),P([o.property()],ie.prototype,"variant",void 0),e.customElement("ft-typography")(ie),function(t){t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.STAR_PLAIN="",t.STAR="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_DOWN="",t.THUMBS_UP_PLAIN="",t.THUMBS_UP="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="\f06e",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL=""}(oe||(oe={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(se||(se={})),new Map([...["abw"].map((t=>[t,se.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,se.AUDIO])),...["avi"].map((t=>[t,se.AVI])),...["chm","xhs"].map((t=>[t,se.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,se.CODE])),...["csv"].map((t=>[t,se.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,se.DITA])),...["epub"].map((t=>[t,se.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,se.EXCEL])),...["flac"].map((t=>[t,se.FLAC])),...["gif"].map((t=>[t,se.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,se.GZIP])),...["html","htm","xhtml"].map((t=>[t,se.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,se.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,se.JPEG])),...["json"].map((t=>[t,se.JSON])),...["m4a","m4p"].map((t=>[t,se.M4A])),...["mov","qt"].map((t=>[t,se.MOV])),...["mp3"].map((t=>[t,se.MP3])),...["mp4","m4v"].map((t=>[t,se.MP4])),...["ogg","oga"].map((t=>[t,se.OGG])),...["pdf","ps"].map((t=>[t,se.PDF])),...["png"].map((t=>[t,se.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,se.POWERPOINT])),...["rar"].map((t=>[t,se.RAR])),...["stp"].map((t=>[t,se.STP])),...["txt","rtf","md","mdown"].map((t=>[t,se.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,se.VIDEO])),...["wav"].map((t=>[t,se.WAV])),...["wma"].map((t=>[t,se.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,se.WORD])),...["xml","xsl","rdf"].map((t=>[t,se.XML])),...["yaml","yml","x-yaml"].map((t=>[t,se.YAML])),...["zip"].map((t=>[t,se.ZIP]))]);var re,ne=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(re||(re={}));const le=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),ae=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),pe=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),fe=e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),he=e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset");class de extends e.FtLitElement{constructor(){super(...arguments),this.variant=re.fluid_topics,this.resolvedIcon=i.nothing}render(){const t="material"!==this.variant||this.value;return i.html` | ||
<i class="ft-icon ${"ft-icon--"+this.variant}"> | ||
${r.unsafeHTML(this.resolvedIcon)} | ||
<slot ?hidden=${"material"!==this.variant}></slot> | ||
<slot ?hidden=${t}></slot> | ||
</i> | ||
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case re.file_format:this.resolvedIcon=null!==(t=se[o.toUpperCase()])&&void 0!==t?t:o;break;case re.fluid_topics:this.resolvedIcon=null!==(e=oe[o.toUpperCase()])&&void 0!==e?e:o;break;default:this.resolvedIcon=i.nothing}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}de.elementDefinitions={},de.styles=i.css` | ||
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case re.file_format:this.resolvedIcon=null!==(t=se[o.toUpperCase()])&&void 0!==t?t:o;break;case re.fluid_topics:this.resolvedIcon=null!==(e=oe[o.toUpperCase()])&&void 0!==e?e:o;break;default:this.resolvedIcon=this.value||i.nothing}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}de.elementDefinitions={},de.styles=i.css` | ||
:host { | ||
@@ -123,0 +123,0 @@ display: inline-block; |
{ | ||
"name": "@fluid-topics/ft-text-area", | ||
"version": "0.3.11", | ||
"version": "0.3.12", | ||
"description": "A fluidtopics text field", | ||
@@ -22,8 +22,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@fluid-topics/ft-resizer": "0.3.11", | ||
"@fluid-topics/ft-ripple": "0.3.11", | ||
"@fluid-topics/ft-wc-utils": "0.3.11", | ||
"@fluid-topics/ft-resizer": "0.3.12", | ||
"@fluid-topics/ft-ripple": "0.3.12", | ||
"@fluid-topics/ft-wc-utils": "0.3.12", | ||
"lit": "2.2.8" | ||
}, | ||
"gitHead": "35c790329a8e7f9902aad2ea8d41386e5c0b36c9" | ||
"gitHead": "126fc60c5ec4b89c3897901d1a92ee9b17286686" | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
151363
+ Added@fluid-topics/ft-icon@0.3.12(transitive)
+ Added@fluid-topics/ft-resizer@0.3.12(transitive)
+ Added@fluid-topics/ft-ripple@0.3.12(transitive)
+ Added@fluid-topics/ft-wc-utils@0.3.12(transitive)
- Removed@fluid-topics/ft-icon@0.3.11(transitive)
- Removed@fluid-topics/ft-resizer@0.3.11(transitive)
- Removed@fluid-topics/ft-ripple@0.3.11(transitive)
- Removed@fluid-topics/ft-wc-utils@0.3.11(transitive)