@fluid-topics/ft-dialog 1.1.47 → 1.1.49
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/build/ft-dialog.light.js
CHANGED
|
@@ -121,7 +121,7 @@ const G=Symbol.for(""),j=t=>{if(t?.r===G)return t?._$litStatic$},P=t=>({_$litSta
|
|
|
121
121
|
</${P(this.element)}>
|
|
122
122
|
`:M`
|
|
123
123
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
124
|
-
`}}Oo.styles=[io,ao,no,lo,co,po,fo,so,ho,go,yo,...uo],xo([r.property()],Oo.prototype,"element",void 0),xo([r.property()],Oo.prototype,"variant",void 0),o.customElement("ft-typography")(Oo),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",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.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.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.
|
|
124
|
+
`}}Oo.styles=[io,ao,no,lo,co,po,fo,so,ho,go,yo,...uo],xo([r.property()],Oo.prototype,"element",void 0),xo([r.property()],Oo.prototype,"variant",void 0),o.customElement("ft-typography")(Oo),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",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.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="",t.OCTAGON_XMARK="",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.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",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="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CONSUMER=""}(bo||(bo={})),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=""}(mo||(mo={})),new Map([...["abw"].map((t=>[t,mo.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,mo.AUDIO])),...["avi"].map((t=>[t,mo.AVI])),...["chm","xhs"].map((t=>[t,mo.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,mo.CODE])),...["csv"].map((t=>[t,mo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,mo.DITA])),...["epub"].map((t=>[t,mo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,mo.EXCEL])),...["flac"].map((t=>[t,mo.FLAC])),...["gif"].map((t=>[t,mo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,mo.GZIP])),...["html","htm","xhtml"].map((t=>[t,mo.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,mo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,mo.JPEG])),...["json"].map((t=>[t,mo.JSON])),...["m4a","m4p"].map((t=>[t,mo.M4A])),...["mov","qt"].map((t=>[t,mo.MOV])),...["mp3"].map((t=>[t,mo.MP3])),...["mp4","m4v"].map((t=>[t,mo.MP4])),...["ogg","oga"].map((t=>[t,mo.OGG])),...["pdf","ps"].map((t=>[t,mo.PDF])),...["png"].map((t=>[t,mo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,mo.POWERPOINT])),...["rar"].map((t=>[t,mo.RAR])),...["stp"].map((t=>[t,mo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,mo.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,mo.VIDEO])),...["wav"].map((t=>[t,mo.WAV])),...["wma"].map((t=>[t,mo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,mo.WORD])),...["xml","xsl","rdf"].map((t=>[t,mo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,mo.YAML])),...["zip"].map((t=>[t,mo.ZIP]))]),mo.ABW,mo.AUDIO,mo.AVI,mo.CHM,mo.CODE,mo.CSV,mo.DITA,mo.EPUB,mo.EXCEL,mo.FLAC,mo.GIF,mo.GZIP,mo.HTML,mo.IMAGE,mo.JPEG,mo.JSON,mo.M4A,mo.MOV,mo.MP3,mo.MP4,mo.OGG,mo.PDF,mo.PNG,mo.POWERPOINT,mo.RAR,mo.STP,mo.TEXT,mo.UNKNOWN,mo.VIDEO,mo.WAV,mo.WMA,mo.WORD,mo.XML,mo.YAML,mo.ZIP;const vo={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},No=e.css`
|
|
125
125
|
:host, i.ft-icon {
|
|
126
126
|
display: inline-flex;
|
|
127
127
|
align-items: center;
|
|
@@ -798,7 +798,7 @@ const G=Symbol.for(""),j=t=>{if(t?.r===G)return t?._$litStatic$},P=t=>({_$litSta
|
|
|
798
798
|
width: ${Q.smallIconOnlyWidth};
|
|
799
799
|
padding: unset;
|
|
800
800
|
}
|
|
801
|
-
`,o.noTextSelect];var fr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class sr extends nr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Y.caption1medium:Y.body2medium}}sr.styles=[o.safariEllipsisFix,pr],fr([r.property({type:Boolean})],sr.prototype,"primary",void 0),fr([r.property({type:Boolean})],sr.prototype,"secondary",void 0),fr([r.property({type:Boolean})],sr.prototype,"tertiary",void 0),fr([r.property({type:Boolean})],sr.prototype,"neutral",void 0),fr([r.property({type:Boolean})],sr.prototype,"small",void 0),o.customElement("ft-button")(cr),o.customElement("ftds-button")(sr);const dr={zIndex:o.FtCssVariableFactory.create("--ft-dialog-z-index","","NUMBER","2"),overlayBackgroundColor:o.FtCssVariableFactory.create("--ft-dialog-overlay-background-color","","COLOR","rgba(0, 0, 0, 0.3)"),height:o.FtCssVariableFactory.create("--ft-dialog-height","","SIZE","unset"),width:o.FtCssVariableFactory.create("--ft-dialog-width","","SIZE","unset"),minWidth:o.FtCssVariableFactory.create("--ft-dialog-min-width","","SIZE","unset"),paddingTop:o.FtCssVariableFactory.create("--ft-dialog-padding-top","","SIZE","20px"),paddingSide:o.FtCssVariableFactory.create("--ft-dialog-padding-side","","SIZE","16px"),paddingButtons:o.FtCssVariableFactory.create("--ft-dialog-padding-buttons","","SIZE","20px"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),headingColor:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceMedium,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),elevation24:o.FtCssVariableFactory.external(o.designSystemVariables.elevation24,"Design system")},hr=e.css`
|
|
801
|
+
`,o.noTextSelect];var fr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class sr extends nr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Y.caption1medium:Y.body2medium}}sr.styles=[o.safariEllipsisFix,pr],fr([r.property({type:Boolean})],sr.prototype,"primary",void 0),fr([r.property({type:Boolean})],sr.prototype,"secondary",void 0),fr([r.property({type:Boolean})],sr.prototype,"tertiary",void 0),fr([r.property({type:Boolean})],sr.prototype,"neutral",void 0),fr([r.property({type:Boolean})],sr.prototype,"small",void 0),o.customElement("ft-button")(cr),o.customElement("ftds-button")(sr);const dr={zIndex:o.FtCssVariableFactory.create("--ft-dialog-z-index","","NUMBER","2"),overlayBackgroundColor:o.FtCssVariableFactory.create("--ft-dialog-overlay-background-color","","COLOR","rgba(0, 0, 0, 0.3)"),height:o.FtCssVariableFactory.create("--ft-dialog-height","","SIZE","unset"),width:o.FtCssVariableFactory.create("--ft-dialog-width","","SIZE","unset"),minWidth:o.FtCssVariableFactory.create("--ft-dialog-min-width","","SIZE","unset"),maxWidth:o.FtCssVariableFactory.create("--ft-dialog-max-width","","SIZE","95vw"),paddingTop:o.FtCssVariableFactory.create("--ft-dialog-padding-top","","SIZE","20px"),paddingSide:o.FtCssVariableFactory.create("--ft-dialog-padding-side","","SIZE","16px"),paddingButtons:o.FtCssVariableFactory.create("--ft-dialog-padding-buttons","","SIZE","20px"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),headingColor:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceMedium,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),elevation24:o.FtCssVariableFactory.external(o.designSystemVariables.elevation24,"Design system")},hr=e.css`
|
|
802
802
|
.ft-dialog {
|
|
803
803
|
position: fixed;
|
|
804
804
|
top: 0;
|
|
@@ -837,7 +837,7 @@ const G=Symbol.for(""),j=t=>{if(t?.r===G)return t?._$litStatic$},P=t=>({_$litSta
|
|
|
837
837
|
|
|
838
838
|
width: ${dr.width};
|
|
839
839
|
height: ${dr.height};
|
|
840
|
-
max-width:
|
|
840
|
+
max-width: ${dr.maxWidth};
|
|
841
841
|
max-height: 95vh;
|
|
842
842
|
min-width: ${dr.minWidth};
|
|
843
843
|
|
package/build/ft-dialog.min.js
CHANGED
|
@@ -289,7 +289,7 @@ const sl=Symbol.for(""),cl=t=>{if(t?.r===sl)return t?._$litStatic$},fl=t=>({_$li
|
|
|
289
289
|
</${fl(this.element)}>
|
|
290
290
|
`:dl`
|
|
291
291
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
292
|
-
`}}Ws.styles=[ms,vs,xs,Os,ws,Ss,Ns,Cs,Es,$s,Rs,...Is],Us([So()],Ws.prototype,"element",void 0),Us([So()],Ws.prototype,"variant",void 0),he("ft-typography")(Ws),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",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.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.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.
|
|
292
|
+
`}}Ws.styles=[ms,vs,xs,Os,ws,Ss,Ns,Cs,Es,$s,Rs,...Is],Us([So()],Ws.prototype,"element",void 0),Us([So()],Ws.prototype,"variant",void 0),he("ft-typography")(Ws),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",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.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="",t.OCTAGON_XMARK="",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.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",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="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CONSUMER=""}(ks||(ks={})),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=""}(Ls||(Ls={})),new Map([...["abw"].map((t=>[t,Ls.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,Ls.AUDIO])),...["avi"].map((t=>[t,Ls.AVI])),...["chm","xhs"].map((t=>[t,Ls.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,Ls.CODE])),...["csv"].map((t=>[t,Ls.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ls.DITA])),...["epub"].map((t=>[t,Ls.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ls.EXCEL])),...["flac"].map((t=>[t,Ls.FLAC])),...["gif"].map((t=>[t,Ls.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ls.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ls.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Ls.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ls.JPEG])),...["json"].map((t=>[t,Ls.JSON])),...["m4a","m4p"].map((t=>[t,Ls.M4A])),...["mov","qt"].map((t=>[t,Ls.MOV])),...["mp3"].map((t=>[t,Ls.MP3])),...["mp4","m4v"].map((t=>[t,Ls.MP4])),...["ogg","oga"].map((t=>[t,Ls.OGG])),...["pdf","ps"].map((t=>[t,Ls.PDF])),...["png"].map((t=>[t,Ls.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ls.POWERPOINT])),...["rar"].map((t=>[t,Ls.RAR])),...["stp"].map((t=>[t,Ls.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ls.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,Ls.VIDEO])),...["wav"].map((t=>[t,Ls.WAV])),...["wma"].map((t=>[t,Ls.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ls.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ls.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ls.YAML])),...["zip"].map((t=>[t,Ls.ZIP]))]),Ls.ABW,Ls.AUDIO,Ls.AVI,Ls.CHM,Ls.CODE,Ls.CSV,Ls.DITA,Ls.EPUB,Ls.EXCEL,Ls.FLAC,Ls.GIF,Ls.GZIP,Ls.HTML,Ls.IMAGE,Ls.JPEG,Ls.JSON,Ls.M4A,Ls.MOV,Ls.MP3,Ls.MP4,Ls.OGG,Ls.PDF,Ls.PNG,Ls.POWERPOINT,Ls.RAR,Ls.STP,Ls.TEXT,Ls.UNKNOWN,Ls.VIDEO,Ls.WAV,Ls.WMA,Ls.WORD,Ls.XML,Ls.YAML,Ls.ZIP;const zs={size:ve.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ve.extend("--ft-icon-fluid-topics-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ve.extend("--ft-icon-file-format-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ve.extend("--ft-icon-material-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ve.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Fs=dt`
|
|
293
293
|
:host, i.ft-icon {
|
|
294
294
|
display: inline-flex;
|
|
295
295
|
align-items: center;
|
|
@@ -966,7 +966,7 @@ const sl=Symbol.for(""),cl=t=>{if(t?.r===sl)return t?._$litStatic$},fl=t=>({_$li
|
|
|
966
966
|
width: ${Ye.smallIconOnlyWidth};
|
|
967
967
|
padding: unset;
|
|
968
968
|
}
|
|
969
|
-
`,Gi];var wc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Sc extends mc{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?ul.caption1medium:ul.body2medium}}Sc.styles=[qi,Oc],wc([So({type:Boolean})],Sc.prototype,"primary",void 0),wc([So({type:Boolean})],Sc.prototype,"secondary",void 0),wc([So({type:Boolean})],Sc.prototype,"tertiary",void 0),wc([So({type:Boolean})],Sc.prototype,"neutral",void 0),wc([So({type:Boolean})],Sc.prototype,"small",void 0),he("ft-button")(xc),he("ftds-button")(Sc);const Nc={zIndex:ve.create("--ft-dialog-z-index","","NUMBER","2"),overlayBackgroundColor:ve.create("--ft-dialog-overlay-background-color","","COLOR","rgba(0, 0, 0, 0.3)"),height:ve.create("--ft-dialog-height","","SIZE","unset"),width:ve.create("--ft-dialog-width","","SIZE","unset"),minWidth:ve.create("--ft-dialog-min-width","","SIZE","unset"),paddingTop:ve.create("--ft-dialog-padding-top","","SIZE","20px"),paddingSide:ve.create("--ft-dialog-padding-side","","SIZE","16px"),paddingButtons:ve.create("--ft-dialog-padding-buttons","","SIZE","20px"),colorSurface:ve.external(xr.colorSurface,"Design system"),headingColor:ve.external(xr.colorOnSurfaceMedium,"Design system"),borderRadiusS:ve.external(xr.borderRadiusS,"Design system"),elevation24:ve.external(xr.elevation24,"Design system")},Cc=dt`
|
|
969
|
+
`,Gi];var wc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Sc extends mc{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?ul.caption1medium:ul.body2medium}}Sc.styles=[qi,Oc],wc([So({type:Boolean})],Sc.prototype,"primary",void 0),wc([So({type:Boolean})],Sc.prototype,"secondary",void 0),wc([So({type:Boolean})],Sc.prototype,"tertiary",void 0),wc([So({type:Boolean})],Sc.prototype,"neutral",void 0),wc([So({type:Boolean})],Sc.prototype,"small",void 0),he("ft-button")(xc),he("ftds-button")(Sc);const Nc={zIndex:ve.create("--ft-dialog-z-index","","NUMBER","2"),overlayBackgroundColor:ve.create("--ft-dialog-overlay-background-color","","COLOR","rgba(0, 0, 0, 0.3)"),height:ve.create("--ft-dialog-height","","SIZE","unset"),width:ve.create("--ft-dialog-width","","SIZE","unset"),minWidth:ve.create("--ft-dialog-min-width","","SIZE","unset"),maxWidth:ve.create("--ft-dialog-max-width","","SIZE","95vw"),paddingTop:ve.create("--ft-dialog-padding-top","","SIZE","20px"),paddingSide:ve.create("--ft-dialog-padding-side","","SIZE","16px"),paddingButtons:ve.create("--ft-dialog-padding-buttons","","SIZE","20px"),colorSurface:ve.external(xr.colorSurface,"Design system"),headingColor:ve.external(xr.colorOnSurfaceMedium,"Design system"),borderRadiusS:ve.external(xr.borderRadiusS,"Design system"),elevation24:ve.external(xr.elevation24,"Design system")},Cc=dt`
|
|
970
970
|
.ft-dialog {
|
|
971
971
|
position: fixed;
|
|
972
972
|
top: 0;
|
|
@@ -1005,7 +1005,7 @@ const sl=Symbol.for(""),cl=t=>{if(t?.r===sl)return t?._$litStatic$},fl=t=>({_$li
|
|
|
1005
1005
|
|
|
1006
1006
|
width: ${Nc.width};
|
|
1007
1007
|
height: ${Nc.height};
|
|
1008
|
-
max-width:
|
|
1008
|
+
max-width: ${Nc.maxWidth};
|
|
1009
1009
|
max-height: 95vh;
|
|
1010
1010
|
min-width: ${Nc.minWidth};
|
|
1011
1011
|
|
|
@@ -4,6 +4,7 @@ export declare const FtDialogCssVariables: {
|
|
|
4
4
|
height: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
5
5
|
width: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
6
6
|
minWidth: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
7
|
+
maxWidth: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
7
8
|
paddingTop: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
8
9
|
paddingSide: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
9
10
|
paddingButtons: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
@@ -7,6 +7,7 @@ export const FtDialogCssVariables = {
|
|
|
7
7
|
height: FtCssVariableFactory.create("--ft-dialog-height", "", "SIZE", "unset"),
|
|
8
8
|
width: FtCssVariableFactory.create("--ft-dialog-width", "", "SIZE", "unset"),
|
|
9
9
|
minWidth: FtCssVariableFactory.create("--ft-dialog-min-width", "", "SIZE", "unset"),
|
|
10
|
+
maxWidth: FtCssVariableFactory.create("--ft-dialog-max-width", "", "SIZE", "95vw"),
|
|
10
11
|
paddingTop: FtCssVariableFactory.create("--ft-dialog-padding-top", "", "SIZE", "20px"),
|
|
11
12
|
paddingSide: FtCssVariableFactory.create("--ft-dialog-padding-side", "", "SIZE", "16px"),
|
|
12
13
|
paddingButtons: FtCssVariableFactory.create("--ft-dialog-padding-buttons", "", "SIZE", "20px"),
|
|
@@ -55,7 +56,7 @@ export const styles = css `
|
|
|
55
56
|
|
|
56
57
|
width: ${FtDialogCssVariables.width};
|
|
57
58
|
height: ${FtDialogCssVariables.height};
|
|
58
|
-
max-width:
|
|
59
|
+
max-width: ${FtDialogCssVariables.maxWidth};
|
|
59
60
|
max-height: 95vh;
|
|
60
61
|
min-width: ${FtDialogCssVariables.minWidth};
|
|
61
62
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-dialog",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.49",
|
|
4
4
|
"description": "A simple dialog component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-button": "1.1.
|
|
23
|
-
"@fluid-topics/ft-icon": "1.1.
|
|
24
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
25
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-button": "1.1.49",
|
|
23
|
+
"@fluid-topics/ft-icon": "1.1.49",
|
|
24
|
+
"@fluid-topics/ft-typography": "1.1.49",
|
|
25
|
+
"@fluid-topics/ft-wc-utils": "1.1.49",
|
|
26
26
|
"lit": "3.1.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "a9a24ee2e555e948170f6ebb5cb3759a8d5b9a14"
|
|
29
29
|
}
|