@fluid-topics/ft-tooltip 0.3.14 → 0.3.16
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-tooltip.min.js +21 -9
- package/package.json +4 -4
package/build/ft-tooltip.min.js
CHANGED
|
@@ -57,7 +57,7 @@ const h=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShad
|
|
|
57
57
|
* Copyright 2017 Google LLC
|
|
58
58
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
59
59
|
*/
|
|
60
|
-
var N;S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},null==x||x({ReactiveElement:S}),(null!==(v=globalThis.reactiveElementVersions)&&void 0!==v?v:globalThis.reactiveElementVersions=[]).push("1.3.4");const C=globalThis.trustedTypes,E=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,M="?"+R,k=`<${M}>`,U=document,F=(t="")=>U.createComment(t),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,
|
|
60
|
+
var N;S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},null==x||x({ReactiveElement:S}),(null!==(v=globalThis.reactiveElementVersions)&&void 0!==v?v:globalThis.reactiveElementVersions=[]).push("1.3.4");const C=globalThis.trustedTypes,E=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,M="?"+R,k=`<${M}>`,U=document,F=(t="")=>U.createComment(t),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,T=/>/g,j=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),B=/'/g,_=/"/g,W=/^(?:script|style|textarea|title)$/i,D=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),H=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),I=new WeakMap,Z=U.createTreeWalker(U,129,null,!1),V=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=z;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,c=0;for(;c<e.length&&(r.lastIndex=c,l=r.exec(e),null!==l);)c=r.lastIndex,r===z?"!--"===l[1]?r=P:void 0!==l[1]?r=T:void 0!==l[2]?(W.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=j):void 0!==l[3]&&(r=j):r===j?">"===l[0]?(r=null!=n?n:z,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?j:'"'===l[3]?_:B):r===_||r===B?r=j:r===P||r===T?r=z:(r=j,n=void 0);const p=r===j&&t[i+1].startsWith("/>")?" ":"";s+=r===z?e+k:h>=0?(o.push(a),e.slice(0,h)+"$lit$"+e.slice(h)+R+p):e+R+(-2===h?(o.push(void 0),i):p)}const a=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==E?E.createHTML(a):a,o]};class J{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=V(t,i);if(this.el=J.createElement(l,e),Z.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=Z.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(R)){const e=h[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(R),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?Y:"?"===i[1]?it:"@"===i[1]?et:Q})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(W.test(o.tagName)){const t=o.textContent.split(R),i=t.length-1;if(i>0){o.textContent=C?C.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],F()),Z.nextNode(),a.push({type:2,index:++n});o.append(t[i],F())}}}else if(8===o.nodeType)if(o.data===M)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(R,t+1));)a.push({type:7,index:n}),t+=R.length-1}n++}}static createElement(t,i){const e=U.createElement("template");return e.innerHTML=t,e}}function q(t,i,e=t,o){var n,s,r,a;if(i===H)return i;let l=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const h=L(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(r=(a=e)._$Cl)&&void 0!==r?r:a._$Cl=[])[o]=l:e._$Cu=l),void 0!==l&&(i=q(t,l._$AS(t,i.values),l,o)),i}class X{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:U).importNode(e,!0);Z.currentNode=n;let s=Z.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let i;2===l.type?i=new G(s,s.nextSibling,this,t):1===l.type?i=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(i=new ot(s,this,t)),this.v.push(i),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=Z.nextNode(),r++)}return n}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class G{constructor(t,i,e,o){var n;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$C_=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$C_}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=q(this,t,i),L(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==H&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>A(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==K&&L(this._$AH)?this._$AA.nextSibling.data=t:this.k(U.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=J.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.m(e);else{const t=new X(n,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=I.get(t.strings);return void 0===i&&I.set(t.strings,i=new J(t)),i}S(t){A(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new G(this.j(F()),this.j(F()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$C_=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class Q{constructor(t,i,e,o,n){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=q(this,t,i,0),s=!L(t)||t!==this._$AH&&t!==H,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=q(this,o[e+r],i,r),a===H&&(a=this._$AH[r]),s||(s=!L(a)||a!==this._$AH[r]),a===K?t=K:t!==K&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.P(t)}P(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Y extends Q{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===K?void 0:t}}const tt=C?C.emptyScript:"";class it extends Q{constructor(){super(...arguments),this.type=4}P(t){t&&t!==K?this.element.setAttribute(this.name,tt):this.element.removeAttribute(this.name)}}class et extends Q{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=q(this,t,i,0))&&void 0!==e?e:K)===H)return;const o=this._$AH,n=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==K&&(o===K||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class ot{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){q(this,t)}}const nt=window.litHtmlPolyfillSupport;
|
|
61
61
|
/**
|
|
62
62
|
* @license
|
|
63
63
|
* Copyright 2017 Google LLC
|
|
@@ -82,13 +82,25 @@ var st,rt;null==nt||nt(J,G),(null!==(N=globalThis.litHtmlVersions)&&void 0!==N?N
|
|
|
82
82
|
-ms-user-select: none;
|
|
83
83
|
user-select: none;
|
|
84
84
|
}
|
|
85
|
+
`,d`
|
|
86
|
+
.ft-word-wrap {
|
|
87
|
+
white-space: normal;
|
|
88
|
+
word-wrap: break-word;
|
|
89
|
+
-ms-word-break: break-all;
|
|
90
|
+
word-break: break-all;
|
|
91
|
+
word-break: break-word;
|
|
92
|
+
-ms-hyphens: auto;
|
|
93
|
+
-moz-hyphens: auto;
|
|
94
|
+
-webkit-hyphens: auto;
|
|
95
|
+
hyphens: auto
|
|
96
|
+
}
|
|
85
97
|
`,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(ft=null===(pt=window.safari)||void 0===pt?void 0:pt.pushNotification)||void 0===ft||ft.toString());
|
|
86
98
|
/**
|
|
87
99
|
* @license
|
|
88
100
|
* Copyright 2020 Google LLC
|
|
89
101
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
90
102
|
*/
|
|
91
|
-
const yt=Symbol.for(""),gt=t=>{if((null==t?void 0:t.r)===yt)return null==t?void 0:t._$litStatic$},vt=t=>({_$litStatic$:t,r:yt}),bt=new Map,mt=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(s=e[h],n=gt(s));)l+=n+i[++h],c=!0;a.push(s),r.push(l),h++}if(h===o&&r.push(i[o]),c){const t=r.join("$$lit$$");void 0===(i=bt.get(t))&&(r.raw=r,bt.set(t,i=r)),e=a}return t(i,...e)})(D);var xt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(xt||(xt={}));const wt=ht.extend("--ft-typography-font-family",ct.titleFont),$t=ht.extend("--ft-typography-font-family",ct.contentFont),Ot={fontFamily:$t,fontSize:ht.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ht.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ht.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ht.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},St=ht.extend("--ft-typography-title-font-family",wt),Nt=ht.extend("--ft-typography-title-font-size",Ot.fontSize,"20px"),Ct=ht.extend("--ft-typography-title-font-weight",Ot.fontWeight,"normal"),Et=ht.extend("--ft-typography-title-letter-spacing",Ot.letterSpacing,"0.15px"),Rt=ht.extend("--ft-typography-title-line-height",Ot.lineHeight,"1.2"),Mt=ht.extend("--ft-typography-title-text-transform",Ot.textTransform,"inherit"),kt=ht.extend("--ft-typography-title-dense-font-family",wt),Ut=ht.extend("--ft-typography-title-dense-font-size",Ot.fontSize,"14px"),Ft=ht.extend("--ft-typography-title-dense-font-weight",Ot.fontWeight,"normal"),Lt=ht.extend("--ft-typography-title-dense-letter-spacing",Ot.letterSpacing,"0.105px"),At=ht.extend("--ft-typography-title-dense-line-height",Ot.lineHeight,"1.7"),
|
|
103
|
+
const yt=Symbol.for(""),gt=t=>{if((null==t?void 0:t.r)===yt)return null==t?void 0:t._$litStatic$},vt=t=>({_$litStatic$:t,r:yt}),bt=new Map,mt=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(s=e[h],n=gt(s));)l+=n+i[++h],c=!0;a.push(s),r.push(l),h++}if(h===o&&r.push(i[o]),c){const t=r.join("$$lit$$");void 0===(i=bt.get(t))&&(r.raw=r,bt.set(t,i=r)),e=a}return t(i,...e)})(D);var xt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(xt||(xt={}));const wt=ht.extend("--ft-typography-font-family",ct.titleFont),$t=ht.extend("--ft-typography-font-family",ct.contentFont),Ot={fontFamily:$t,fontSize:ht.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ht.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ht.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ht.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},St=ht.extend("--ft-typography-title-font-family",wt),Nt=ht.extend("--ft-typography-title-font-size",Ot.fontSize,"20px"),Ct=ht.extend("--ft-typography-title-font-weight",Ot.fontWeight,"normal"),Et=ht.extend("--ft-typography-title-letter-spacing",Ot.letterSpacing,"0.15px"),Rt=ht.extend("--ft-typography-title-line-height",Ot.lineHeight,"1.2"),Mt=ht.extend("--ft-typography-title-text-transform",Ot.textTransform,"inherit"),kt=ht.extend("--ft-typography-title-dense-font-family",wt),Ut=ht.extend("--ft-typography-title-dense-font-size",Ot.fontSize,"14px"),Ft=ht.extend("--ft-typography-title-dense-font-weight",Ot.fontWeight,"normal"),Lt=ht.extend("--ft-typography-title-dense-letter-spacing",Ot.letterSpacing,"0.105px"),At=ht.extend("--ft-typography-title-dense-line-height",Ot.lineHeight,"1.7"),zt=ht.extend("--ft-typography-title-dense-text-transform",Ot.textTransform,"inherit"),Pt=ht.extend("--ft-typography-subtitle1-font-family",$t),Tt=ht.extend("--ft-typography-subtitle1-font-size",Ot.fontSize,"16px"),jt=ht.extend("--ft-typography-subtitle1-font-weight",Ot.fontWeight,"600"),Bt=ht.extend("--ft-typography-subtitle1-letter-spacing",Ot.letterSpacing,"0.144px"),_t=ht.extend("--ft-typography-subtitle1-line-height",Ot.lineHeight,"1.5"),Wt=ht.extend("--ft-typography-subtitle1-text-transform",Ot.textTransform,"inherit"),Dt=ht.extend("--ft-typography-subtitle2-font-family",$t),Ht=ht.extend("--ft-typography-subtitle2-font-size",Ot.fontSize,"14px"),Kt=ht.extend("--ft-typography-subtitle2-font-weight",Ot.fontWeight,"normal"),It=ht.extend("--ft-typography-subtitle2-letter-spacing",Ot.letterSpacing,"0.098px"),Zt=ht.extend("--ft-typography-subtitle2-line-height",Ot.lineHeight,"1.7"),Vt=ht.extend("--ft-typography-subtitle2-text-transform",Ot.textTransform,"inherit"),Jt=ht.extend("--ft-typography-body1-font-family",$t),qt=ht.extend("--ft-typography-body1-font-size",Ot.fontSize,"16px"),Xt=ht.extend("--ft-typography-body1-font-weight",Ot.fontWeight,"normal"),Gt=ht.extend("--ft-typography-body1-letter-spacing",Ot.letterSpacing,"0.496px"),Qt=ht.extend("--ft-typography-body1-line-height",Ot.lineHeight,"1.5"),Yt=ht.extend("--ft-typography-body1-text-transform",Ot.textTransform,"inherit"),ti=ht.extend("--ft-typography-body2-font-family",$t),ii=ht.extend("--ft-typography-body2-font-size",Ot.fontSize,"14px"),ei=ht.extend("--ft-typography-body2-font-weight",Ot.fontWeight,"normal"),oi=ht.extend("--ft-typography-body2-letter-spacing",Ot.letterSpacing,"0.252px"),ni=ht.extend("--ft-typography-body2-line-height",Ot.lineHeight,"1.4"),si=ht.extend("--ft-typography-body2-text-transform",Ot.textTransform,"inherit"),ri=ht.extend("--ft-typography-caption-font-family",$t),ai=ht.extend("--ft-typography-caption-font-size",Ot.fontSize,"12px"),li=ht.extend("--ft-typography-caption-font-weight",Ot.fontWeight,"normal"),hi=ht.extend("--ft-typography-caption-letter-spacing",Ot.letterSpacing,"0.396px"),ci=ht.extend("--ft-typography-caption-line-height",Ot.lineHeight,"1.33"),pi=ht.extend("--ft-typography-caption-text-transform",Ot.textTransform,"inherit"),fi=ht.extend("--ft-typography-breadcrumb-font-family",$t),ui=ht.extend("--ft-typography-breadcrumb-font-size",Ot.fontSize,"10px"),di=ht.extend("--ft-typography-breadcrumb-font-weight",Ot.fontWeight,"normal"),yi=ht.extend("--ft-typography-breadcrumb-letter-spacing",Ot.letterSpacing,"0.33px"),gi=ht.extend("--ft-typography-breadcrumb-line-height",Ot.lineHeight,"1.6"),vi=ht.extend("--ft-typography-breadcrumb-text-transform",Ot.textTransform,"inherit"),bi=ht.extend("--ft-typography-overline-font-family",$t),mi=ht.extend("--ft-typography-overline-font-size",Ot.fontSize,"10px"),xi=ht.extend("--ft-typography-overline-font-weight",Ot.fontWeight,"normal"),wi=ht.extend("--ft-typography-overline-letter-spacing",Ot.letterSpacing,"1.5px"),$i=ht.extend("--ft-typography-overline-line-height",Ot.lineHeight,"1.6"),Oi=ht.extend("--ft-typography-overline-text-transform",Ot.textTransform,"uppercase"),Si=ht.extend("--ft-typography-button-font-family",$t),Ni=ht.extend("--ft-typography-button-font-size",Ot.fontSize,"14px"),Ci=ht.extend("--ft-typography-button-font-weight",Ot.fontWeight,"600"),Ei=ht.extend("--ft-typography-button-letter-spacing",Ot.letterSpacing,"1.246px"),Ri=ht.extend("--ft-typography-button-line-height",Ot.lineHeight,"1.15"),Mi=ht.extend("--ft-typography-button-text-transform",Ot.textTransform,"uppercase"),ki=d`
|
|
92
104
|
.ft-typography--title {
|
|
93
105
|
font-family: ${St};
|
|
94
106
|
font-size: ${Nt};
|
|
@@ -104,12 +116,12 @@ const yt=Symbol.for(""),gt=t=>{if((null==t?void 0:t.r)===yt)return null==t?void
|
|
|
104
116
|
font-weight: ${Ft};
|
|
105
117
|
letter-spacing: ${Lt};
|
|
106
118
|
line-height: ${At};
|
|
107
|
-
text-transform: ${
|
|
119
|
+
text-transform: ${zt};
|
|
108
120
|
}
|
|
109
121
|
`,Fi=d`
|
|
110
122
|
.ft-typography--subtitle1 {
|
|
111
|
-
font-family: ${
|
|
112
|
-
font-size: ${
|
|
123
|
+
font-family: ${Pt};
|
|
124
|
+
font-size: ${Tt};
|
|
113
125
|
font-weight: ${jt};
|
|
114
126
|
letter-spacing: ${Bt};
|
|
115
127
|
line-height: ${_t};
|
|
@@ -134,7 +146,7 @@ const yt=Symbol.for(""),gt=t=>{if((null==t?void 0:t.r)===yt)return null==t?void
|
|
|
134
146
|
line-height: ${Qt};
|
|
135
147
|
text-transform: ${Yt};
|
|
136
148
|
}
|
|
137
|
-
`,
|
|
149
|
+
`,zi=d`
|
|
138
150
|
.ft-typography--body2 {
|
|
139
151
|
font-family: ${ti};
|
|
140
152
|
font-size: ${ii};
|
|
@@ -143,7 +155,7 @@ const yt=Symbol.for(""),gt=t=>{if((null==t?void 0:t.r)===yt)return null==t?void
|
|
|
143
155
|
line-height: ${ni};
|
|
144
156
|
text-transform: ${si};
|
|
145
157
|
}
|
|
146
|
-
`,
|
|
158
|
+
`,Pi=d`
|
|
147
159
|
.ft-typography--caption {
|
|
148
160
|
font-family: ${ri};
|
|
149
161
|
font-size: ${ai};
|
|
@@ -152,7 +164,7 @@ const yt=Symbol.for(""),gt=t=>{if((null==t?void 0:t.r)===yt)return null==t?void
|
|
|
152
164
|
line-height: ${ci};
|
|
153
165
|
text-transform: ${pi};
|
|
154
166
|
}
|
|
155
|
-
`,
|
|
167
|
+
`,Ti=d`
|
|
156
168
|
.ft-typography--breadcrumb {
|
|
157
169
|
font-family: ${fi};
|
|
158
170
|
font-size: ${ui};
|
|
@@ -190,7 +202,7 @@ const yt=Symbol.for(""),gt=t=>{if((null==t?void 0:t.r)===yt)return null==t?void
|
|
|
190
202
|
</${vt(this.element)}>
|
|
191
203
|
`:mt`
|
|
192
204
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
193
|
-
`}}Di.styles=[ki,Ui,Fi,Li,Ai,Pi,Ti,
|
|
205
|
+
`}}Di.styles=[ki,Ui,Fi,Li,Ai,zi,Pi,Ti,ji,Bi,_i],Wi([o()],Di.prototype,"element",void 0),Wi([o()],Di.prototype,"variant",void 0),l("ft-typography")(Di);const Hi={distance:ht.create("--ft-tooltip-distance","SIZE","4px"),color:ht.create("--ft-tooltip-color","COLOR","#FFFFFF"),backgroundColor:ht.create("--ft-tooltip-background-color","COLOR","#666666"),zIndex:ht.create("--ft-tooltip-z-index","NUMBER","1"),borderRadiusS:ht.external(ct.borderRadiusS,"Design system"),maxWidth:ht.create("--ft-tooltip-max-width","SIZE","150px")},Ki=d`
|
|
194
206
|
.ft-tooltip--container {
|
|
195
207
|
display: block;
|
|
196
208
|
position: relative;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-tooltip",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.16",
|
|
4
4
|
"description": "A simple tooltip component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-typography": "0.3.
|
|
23
|
-
"@fluid-topics/ft-wc-utils": "0.3.
|
|
22
|
+
"@fluid-topics/ft-typography": "0.3.16",
|
|
23
|
+
"@fluid-topics/ft-wc-utils": "0.3.16",
|
|
24
24
|
"lit": "2.2.8"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "0d05a101f09cb5819ee10930772a873e7e0cc87b"
|
|
27
27
|
}
|