@fluid-topics/ft-input-label 0.2.14 → 0.2.17
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-input-label.inline-styles.js +106 -105
- package/build/ft-input-label.light.js +22 -22
- package/build/ft-input-label.min.js +105 -104
- package/package.json +4 -4
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* Copyright 2017 Google LLC
|
|
5
5
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
-
var r;const l=globalThis.trustedTypes,s=l?l.createPolicy("lit-html",{createHTML:t=>t}):void 0,a=`lit$${(Math.random()+"").slice(9)}$`,p="?"+a,h=`<${p}>`,f=document,y=(t="")=>f.createComment(t),d=t=>null===t||"object"!=typeof t&&"function"!=typeof t,g=Array.isArray,u=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,c=/-->/g,b=/>/g,$=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,v=/'/g,x=/"/g,m=/^(?:script|style|textarea|title)$/i,w=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),z=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),_=new WeakMap,A=f.createTreeWalker(f,129,null,!1),E=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",l=u;for(let i=0;i<e;i++){const e=t[i];let s,p,f=-1,y=0;for(;y<e.length&&(l.lastIndex=y,p=l.exec(e),null!==p);)y=l.lastIndex,l===u?"!--"===p[1]?l=c:void 0!==p[1]?l=b:void 0!==p[2]?(m.test(p[2])&&(n=RegExp("</"+p[2],"g")),l=$):void 0!==p[3]&&(l=$):l===$?">"===p[0]?(l=null!=n?n:u,f=-1):void 0===p[1]?f=-2:(f=l.lastIndex-p[2].length,s=p[1],l=void 0===p[3]?$:'"'===p[3]?x:v):l===x||l===v?l=$:l===c||l===b?l=u:(l=$,n=void 0);const d=l===$&&t[i+1].startsWith("/>")?" ":"";r+=l===u?e+h:f>=0?(o.push(s),e.slice(0,f)+"$lit$"+e.slice(f)+a+d):e+a+(-2===f?(o.push(void 0),i):d)}const p=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==s?s.createHTML(p):p,o]};class
|
|
7
|
+
var r;const l=globalThis.trustedTypes,s=l?l.createPolicy("lit-html",{createHTML:t=>t}):void 0,a=`lit$${(Math.random()+"").slice(9)}$`,p="?"+a,h=`<${p}>`,f=document,y=(t="")=>f.createComment(t),d=t=>null===t||"object"!=typeof t&&"function"!=typeof t,g=Array.isArray,u=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,c=/-->/g,b=/>/g,$=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,v=/'/g,x=/"/g,m=/^(?:script|style|textarea|title)$/i,w=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),z=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),_=new WeakMap,A=f.createTreeWalker(f,129,null,!1),E=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",l=u;for(let i=0;i<e;i++){const e=t[i];let s,p,f=-1,y=0;for(;y<e.length&&(l.lastIndex=y,p=l.exec(e),null!==p);)y=l.lastIndex,l===u?"!--"===p[1]?l=c:void 0!==p[1]?l=b:void 0!==p[2]?(m.test(p[2])&&(n=RegExp("</"+p[2],"g")),l=$):void 0!==p[3]&&(l=$):l===$?">"===p[0]?(l=null!=n?n:u,f=-1):void 0===p[1]?f=-2:(f=l.lastIndex-p[2].length,s=p[1],l=void 0===p[3]?$:'"'===p[3]?x:v):l===x||l===v?l=$:l===c||l===b?l=u:(l=$,n=void 0);const d=l===$&&t[i+1].startsWith("/>")?" ":"";r+=l===u?e+h:f>=0?(o.push(s),e.slice(0,f)+"$lit$"+e.slice(f)+a+d):e+a+(-2===f?(o.push(void 0),i):d)}const p=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==s?s.createHTML(p):p,o]};class N{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,h=this.parts,[f,d]=E(t,i);if(this.el=N.createElement(f,e),A.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=A.nextNode())&&h.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(a)){const e=d[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(a),i=/([.?@])?(.*)/.exec(e);h.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?M:"?"===i[1]?O:"@"===i[1]?j:Z})}else h.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(m.test(o.tagName)){const t=o.textContent.split(a),i=t.length-1;if(i>0){o.textContent=l?l.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],y()),A.nextNode(),h.push({type:2,index:++n});o.append(t[i],y())}}}else if(8===o.nodeType)if(o.data===p)h.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(a,t+1));)h.push({type:7,index:n}),t+=a.length-1}n++}}static createElement(t,i){const e=f.createElement("template");return e.innerHTML=t,e}}function I(t,i,e=t,o){var n,r,l,s;if(i===z)return i;let a=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const p=d(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(r=null==a?void 0:a._$AO)||void 0===r||r.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,e,o)),void 0!==o?(null!==(l=(s=e)._$Cl)&&void 0!==l?l:s._$Cl=[])[o]=a:e._$Cu=a),void 0!==a&&(i=I(t,a._$AS(t,i.values),a,o)),i}class T{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:f).importNode(e,!0);A.currentNode=n;let r=A.nextNode(),l=0,s=0,a=o[0];for(;void 0!==a;){if(l===a.index){let i;2===a.type?i=new C(r,r.nextSibling,this,t):1===a.type?i=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(i=new k(r,this,t)),this.v.push(i),a=o[++s]}l!==(null==a?void 0:a.index)&&(r=A.nextNode(),l++)}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 C{constructor(t,i,e,o){var n;this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=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._$Cg}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=I(this,t,i),d(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==z&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var i;return g(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==S&&d(this._$AH)?this._$AA.nextSibling.data=t:this.k(f.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=N.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 T(n,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=_.get(t.strings);return void 0===i&&_.set(t.strings,i=new N(t)),i}S(t){g(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 C(this.M(y()),this.M(y()),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._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class Z{constructor(t,i,e,o,n){this.type=1,this._$AH=S,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=S}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=I(this,t,i,0),r=!d(t)||t!==this._$AH&&t!==z,r&&(this._$AH=t);else{const o=t;let l,s;for(t=n[0],l=0;l<n.length-1;l++)s=I(this,o[e+l],i,l),s===z&&(s=this._$AH[l]),r||(r=!d(s)||s!==this._$AH[l]),s===S?t=S:t!==S&&(t+=(null!=s?s:"")+n[l+1]),this._$AH[l]=s}r&&!o&&this.C(t)}C(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class M extends Z{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===S?void 0:t}}const U=l?l.emptyScript:"";class O extends Z{constructor(){super(...arguments),this.type=4}C(t){t&&t!==S?this.element.setAttribute(this.name,U):this.element.removeAttribute(this.name)}}class j extends Z{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=I(this,t,i,0))&&void 0!==e?e:S)===z)return;const o=this._$AH,n=t===S&&o!==S||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==S&&(o===S||n);n&&this.element.removeEventListener(this.name,this,o),r&&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 k{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){I(this,t)}}const B=window.litHtmlPolyfillSupport;null==B||B(N,C),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.2.4");
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
10
10
|
* Copyright 2020 Google LLC
|
|
11
11
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
12
|
*/
|
|
13
|
-
const
|
|
13
|
+
const R=Symbol.for(""),W=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===R)return null===(e=t)||void 0===e?void 0:e._$litStatic$},G=t=>({_$litStatic$:t,r:R}),D=new Map,F=(t=>(i,...e)=>{const o=e.length;let n,r;const l=[],s=[];let a,p=0,h=!1;for(;p<o;){for(a=i[p];p<o&&void 0!==(r=e[p],n=W(r));)a+=n+i[++p],h=!0;s.push(r),l.push(a),p++}if(p===o&&l.push(i[o]),h){const t=l.join("$$lit$$");void 0===(i=D.get(t))&&(l.raw=l,D.set(t,i=l)),e=s}return t(i,...e)})(w);var H,K=function(t,i,e,o){for(var n,r=arguments.length,l=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,s=t.length-1;s>=0;s--)(n=t[s])&&(l=(r<3?n(l):r>3?n(i,e,l):n(i,e))||l);return r>3&&l&&Object.defineProperty(i,e,l),l};!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"}(H||(H={}));const L=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),q=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),J={fontFamily:q,fontSize:i.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariable.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},P=i.FtCssVariable.extend("--ft-typography-title-font-family",L),Q=i.FtCssVariable.extend("--ft-typography-title-font-size",J.fontSize,"20px"),V=i.FtCssVariable.extend("--ft-typography-title-font-weight",J.fontWeight,"normal"),X=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",J.letterSpacing,"0.15px"),Y=i.FtCssVariable.extend("--ft-typography-title-line-height",J.lineHeight,"1.2"),tt=i.FtCssVariable.extend("--ft-typography-title-text-transform",J.textTransform,"inherit"),it=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",L),et=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",J.fontSize,"14px"),ot=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",J.fontWeight,"normal"),nt=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",J.letterSpacing,"0.105px"),rt=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",J.lineHeight,"1.7"),lt=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",J.textTransform,"inherit"),st=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",q),at=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",J.fontSize,"16px"),pt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",J.fontWeight,"600"),ht=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",J.letterSpacing,"0.144px"),ft=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",J.lineHeight,"1.5"),yt=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",J.textTransform,"inherit"),dt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",q),gt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",J.fontSize,"14px"),ut=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",J.fontWeight,"normal"),ct=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",J.letterSpacing,"0.098px"),bt=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",J.lineHeight,"1.7"),$t=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",J.textTransform,"inherit"),vt=i.FtCssVariable.extend("--ft-typography-body1-font-family",q),xt=i.FtCssVariable.extend("--ft-typography-body1-font-size",J.fontSize,"16px"),mt=i.FtCssVariable.extend("--ft-typography-body1-font-weight",J.fontWeight,"normal"),wt=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",J.letterSpacing,"0.496px"),zt=i.FtCssVariable.extend("--ft-typography-body1-line-height",J.lineHeight,"1.5"),St=i.FtCssVariable.extend("--ft-typography-body1-text-transform",J.textTransform,"inherit"),_t=i.FtCssVariable.extend("--ft-typography-body2-font-family",q),At=i.FtCssVariable.extend("--ft-typography-body2-font-size",J.fontSize,"14px"),Et=i.FtCssVariable.extend("--ft-typography-body2-font-weight",J.fontWeight,"normal"),Nt=i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",J.letterSpacing,"0.252px"),It=i.FtCssVariable.extend("--ft-typography-body2-line-height",J.lineHeight,"1.4"),Tt=i.FtCssVariable.extend("--ft-typography-body2-text-transform",J.textTransform,"inherit"),Ct={fontFamily:i.FtCssVariable.extend("--ft-typography-caption-font-family",q),fontSize:i.FtCssVariable.extend("--ft-typography-caption-font-size",J.fontSize,"12px"),fontWeight:i.FtCssVariable.extend("--ft-typography-caption-font-weight",J.fontWeight,"normal"),letterSpacing:i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",J.letterSpacing,"0.396px"),lineHeight:i.FtCssVariable.extend("--ft-typography-caption-line-height",J.lineHeight,"1.33"),textTransform:i.FtCssVariable.extend("--ft-typography-caption-text-transform",J.textTransform,"inherit")},Zt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",q),Mt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",J.fontSize,"10px"),Ut=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",J.fontWeight,"normal"),Ot=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",J.letterSpacing,"0.33px"),jt=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",J.lineHeight,"1.6"),kt=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",J.textTransform,"inherit"),Bt=i.FtCssVariable.extend("--ft-typography-overline-font-family",q),Rt=i.FtCssVariable.extend("--ft-typography-overline-font-size",J.fontSize,"10px"),Wt=i.FtCssVariable.extend("--ft-typography-overline-font-weight",J.fontWeight,"normal"),Gt=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",J.letterSpacing,"1.5px"),Dt=i.FtCssVariable.extend("--ft-typography-overline-line-height",J.lineHeight,"1.6"),Ft=i.FtCssVariable.extend("--ft-typography-overline-text-transform",J.textTransform,"uppercase"),Ht=i.FtCssVariable.extend("--ft-typography-button-font-family",q),Kt=i.FtCssVariable.extend("--ft-typography-button-font-size",J.fontSize,"14px"),Lt=i.FtCssVariable.extend("--ft-typography-button-font-weight",J.fontWeight,"600"),qt=i.FtCssVariable.extend("--ft-typography-button-letter-spacing",J.letterSpacing,"1.246px"),Jt=i.FtCssVariable.extend("--ft-typography-button-line-height",J.lineHeight,"1.15"),Pt=i.FtCssVariable.extend("--ft-typography-button-text-transform",J.textTransform,"uppercase"),Qt=e.css`
|
|
14
14
|
.ft-typography--title {
|
|
15
15
|
font-family: ${P};
|
|
16
16
|
font-size: ${Q};
|
|
@@ -61,34 +61,34 @@ const W=Symbol.for(""),G=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===
|
|
|
61
61
|
font-family: ${_t};
|
|
62
62
|
font-size: ${At};
|
|
63
63
|
font-weight: ${Et};
|
|
64
|
-
letter-spacing: ${
|
|
65
|
-
line-height: ${
|
|
64
|
+
letter-spacing: ${Nt};
|
|
65
|
+
line-height: ${It};
|
|
66
66
|
text-transform: ${Tt};
|
|
67
67
|
}
|
|
68
68
|
`,ei=e.css`
|
|
69
69
|
.ft-typography--caption {
|
|
70
|
-
font-family: ${
|
|
71
|
-
font-size: ${
|
|
72
|
-
font-weight: ${
|
|
73
|
-
letter-spacing: ${
|
|
74
|
-
line-height: ${
|
|
75
|
-
text-transform: ${
|
|
70
|
+
font-family: ${Ct.fontFamily};
|
|
71
|
+
font-size: ${Ct.fontSize};
|
|
72
|
+
font-weight: ${Ct.fontWeight};
|
|
73
|
+
letter-spacing: ${Ct.letterSpacing};
|
|
74
|
+
line-height: ${Ct.lineHeight};
|
|
75
|
+
text-transform: ${Ct.textTransform};
|
|
76
76
|
}
|
|
77
77
|
`,oi=e.css`
|
|
78
78
|
.ft-typography--breadcrumb {
|
|
79
|
-
font-family: ${
|
|
79
|
+
font-family: ${Zt};
|
|
80
80
|
font-size: ${Mt};
|
|
81
|
-
font-weight: ${
|
|
82
|
-
letter-spacing: ${
|
|
81
|
+
font-weight: ${Ut};
|
|
82
|
+
letter-spacing: ${Ot};
|
|
83
83
|
line-height: ${jt};
|
|
84
84
|
text-transform: ${kt};
|
|
85
85
|
}
|
|
86
86
|
`,ni=e.css`
|
|
87
87
|
.ft-typography--overline {
|
|
88
88
|
font-family: ${Bt};
|
|
89
|
-
font-size: ${
|
|
90
|
-
font-weight: ${
|
|
91
|
-
letter-spacing: ${
|
|
89
|
+
font-size: ${Rt};
|
|
90
|
+
font-weight: ${Wt};
|
|
91
|
+
letter-spacing: ${Gt};
|
|
92
92
|
line-height: ${Dt};
|
|
93
93
|
text-transform: ${Ft};
|
|
94
94
|
}
|
|
@@ -102,10 +102,10 @@ const W=Symbol.for(""),G=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===
|
|
|
102
102
|
text-transform: ${Pt};
|
|
103
103
|
}
|
|
104
104
|
`;class li extends i.FtLitElement{constructor(){super(...arguments),this.variant=H.body1}render(){return this.element?F`
|
|
105
|
-
<${
|
|
105
|
+
<${G(this.element)}
|
|
106
106
|
class="ft-typography ft-typography--${this.variant}">
|
|
107
107
|
<slot></slot>
|
|
108
|
-
</${
|
|
108
|
+
</${G(this.element)}>
|
|
109
109
|
`:F`
|
|
110
110
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
111
111
|
`}}li.styles=[Qt,Vt,Xt,Yt,ti,ii,ei,oi,ni,ri,e.css`
|
|
@@ -164,8 +164,8 @@ const W=Symbol.for(""),G=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===
|
|
|
164
164
|
border-color: inherit;
|
|
165
165
|
color: ${ai.textColor};
|
|
166
166
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
167
|
-
${i.setVariable(
|
|
168
|
-
${i.setVariable(
|
|
167
|
+
${i.setVariable(Ct.fontSize,ai.fontSize)};
|
|
168
|
+
${i.setVariable(Ct.lineHeight,ai.fontSize)};
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
.ft-input-label--in-error .ft-input-label--text {
|
|
@@ -194,8 +194,8 @@ const W=Symbol.for(""),G=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===
|
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
.ft-input-label--raised .ft-input-label--text {
|
|
197
|
-
${i.setVariable(
|
|
198
|
-
${i.setVariable(
|
|
197
|
+
${i.setVariable(Ct.fontSize,ai.raisedFontSize)};
|
|
198
|
+
${i.setVariable(Ct.lineHeight,ai.raisedFontSize)};
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
.ft-input-label--raised .ft-input-label--floating-text {
|