@fluid-topics/ft-input-label 0.3.12 → 0.3.14
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.css.d.ts +15 -0
- package/build/ft-input-label.css.js +135 -0
- package/build/ft-input-label.d.ts +1 -20
- package/build/ft-input-label.js +5 -134
- package/build/ft-input-label.light.js +203 -222
- package/build/ft-input-label.min.js +193 -205
- package/build/ft-input-label.properties.d.ts +8 -0
- package/build/ft-input-label.properties.js +2 -0
- package/build/index.d.ts +2 -0
- package/build/index.js +2 -0
- package/package.json +4 -4
|
@@ -1,240 +1,221 @@
|
|
|
1
|
-
!function(t,i,e,
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2017 Google LLC
|
|
5
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
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,$=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\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]?j:"?"===i[1]?M:"@"===i[1]?O:U})}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 Z(r,r.nextSibling,this,t):1===a.type?i=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(i=new B(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 Z{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._$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=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(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>g(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!==S&&d(this._$AH)?this._$AA.nextSibling.data=t:this.k(f.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=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 Z(this.j(y()),this.j(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._$C_=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class U{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.P(t)}P(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class j extends U{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===S?void 0:t}}const k=l?l.emptyScript:"";class M extends U{constructor(){super(...arguments),this.type=4}P(t){t&&t!==S?this.element.setAttribute(this.name,k):this.element.removeAttribute(this.name)}}class O extends U{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 B{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 C=window.litHtmlPolyfillSupport;null==C||C(N,Z),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.2.7");
|
|
8
|
-
/**
|
|
9
|
-
* @license
|
|
10
|
-
* Copyright 2020 Google LLC
|
|
11
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
|
-
*/
|
|
13
|
-
const R=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===R)return null==t?void 0:t._$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,P=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 K=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),L=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),q={fontFamily:L,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},J=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",K),Q=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",q.fontSize,"20px"),V=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",q.fontWeight,"normal"),X=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",q.letterSpacing,"0.15px"),Y=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",q.lineHeight,"1.2"),tt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",q.textTransform,"inherit"),it=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",K),et=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",q.fontSize,"14px"),ot=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",q.fontWeight,"normal"),nt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",q.letterSpacing,"0.105px"),rt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",q.lineHeight,"1.7"),lt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",q.textTransform,"inherit"),st=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",L),at=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",q.fontSize,"16px"),pt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",q.fontWeight,"600"),ht=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",q.letterSpacing,"0.144px"),ft=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",q.lineHeight,"1.5"),yt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",q.textTransform,"inherit"),dt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",L),gt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",q.fontSize,"14px"),ut=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",q.fontWeight,"normal"),ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",q.letterSpacing,"0.098px"),bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",q.lineHeight,"1.7"),$t=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",q.textTransform,"inherit"),vt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",L),xt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",q.fontSize,"16px"),mt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",q.fontWeight,"normal"),wt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",q.letterSpacing,"0.496px"),zt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",q.lineHeight,"1.5"),St=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",q.textTransform,"inherit"),_t=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",L),At=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",q.fontSize,"14px"),Et=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",q.fontWeight,"normal"),Nt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",q.letterSpacing,"0.252px"),It=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",q.lineHeight,"1.4"),Tt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",q.textTransform,"inherit"),Zt={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",L),fontSize:i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",q.fontSize,"12px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",q.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",q.letterSpacing,"0.396px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",q.lineHeight,"1.33"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",q.textTransform,"inherit")},Ut=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",L),jt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",q.fontSize,"10px"),kt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",q.fontWeight,"normal"),Mt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",q.letterSpacing,"0.33px"),Ot=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",q.lineHeight,"1.6"),Bt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",q.textTransform,"inherit"),Ct=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",L),Rt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",q.fontSize,"10px"),Wt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",q.fontWeight,"normal"),Gt=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",q.letterSpacing,"1.5px"),Dt=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",q.lineHeight,"1.6"),Ft=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",q.textTransform,"uppercase"),Ht=i.FtCssVariableFactory.extend("--ft-typography-button-font-family",L),Pt=i.FtCssVariableFactory.extend("--ft-typography-button-font-size",q.fontSize,"14px"),Kt=i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",q.fontWeight,"600"),Lt=i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",q.letterSpacing,"1.246px"),qt=i.FtCssVariableFactory.extend("--ft-typography-button-line-height",q.lineHeight,"1.15"),Jt=i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",q.textTransform,"uppercase"),Qt=e.css`
|
|
1
|
+
!function(t,e,i,o,r){const n=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),p=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),l={fontFamily:p,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},a=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",n),f=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",l.fontSize,"20px"),y=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",l.fontWeight,"normal"),h=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",l.letterSpacing,"0.15px"),s=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",l.lineHeight,"1.2"),g=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",l.textTransform,"inherit"),b=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",n),d=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",l.fontSize,"14px"),u=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",l.fontWeight,"normal"),c=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",l.letterSpacing,"0.105px"),x=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",l.lineHeight,"1.7"),$=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",l.textTransform,"inherit"),m=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",p),w=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",l.fontSize,"16px"),z=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",l.fontWeight,"600"),v=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",l.letterSpacing,"0.144px"),S=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",l.lineHeight,"1.5"),E=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",l.textTransform,"inherit"),N=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",p),I=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",l.fontSize,"14px"),Z=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",l.fontWeight,"normal"),B=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",l.letterSpacing,"0.098px"),k=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",l.lineHeight,"1.7"),O=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",l.textTransform,"inherit"),G=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",p),U=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",l.fontSize,"16px"),W=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",l.fontWeight,"normal"),j=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",l.letterSpacing,"0.496px"),C=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",l.lineHeight,"1.5"),D=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",l.textTransform,"inherit"),F=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",p),M=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",l.fontSize,"14px"),R=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",l.fontWeight,"normal"),T=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",l.letterSpacing,"0.252px"),H=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",l.lineHeight,"1.4"),K=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",l.textTransform,"inherit"),_={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",p),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",l.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",l.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",l.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",l.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",l.textTransform,"inherit")},q=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",p),A=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",l.fontSize,"10px"),J=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",l.fontWeight,"normal"),L=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",l.letterSpacing,"0.33px"),P=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",l.lineHeight,"1.6"),Q=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",l.textTransform,"inherit"),V=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",p),X=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",l.fontSize,"10px"),Y=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",l.fontWeight,"normal"),tt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",l.letterSpacing,"1.5px"),et=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",l.lineHeight,"1.6"),it=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",l.textTransform,"uppercase"),ot=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",p),rt=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",l.fontSize,"14px"),nt=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",l.fontWeight,"600"),pt=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",l.letterSpacing,"1.246px"),lt=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",l.lineHeight,"1.15"),at=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",l.textTransform,"uppercase");i.css`
|
|
14
2
|
.ft-typography--title {
|
|
15
|
-
font-family: ${
|
|
16
|
-
font-size: ${
|
|
17
|
-
font-weight: ${
|
|
18
|
-
letter-spacing: ${
|
|
19
|
-
line-height: ${
|
|
20
|
-
text-transform: ${
|
|
21
|
-
}
|
|
22
|
-
`,
|
|
3
|
+
font-family: ${a};
|
|
4
|
+
font-size: ${f};
|
|
5
|
+
font-weight: ${y};
|
|
6
|
+
letter-spacing: ${h};
|
|
7
|
+
line-height: ${s};
|
|
8
|
+
text-transform: ${g};
|
|
9
|
+
}
|
|
10
|
+
`,i.css`
|
|
23
11
|
.ft-typography--title-dense {
|
|
24
|
-
font-family: ${
|
|
25
|
-
font-size: ${
|
|
26
|
-
font-weight: ${
|
|
27
|
-
letter-spacing: ${
|
|
28
|
-
line-height: ${
|
|
29
|
-
text-transform: ${
|
|
30
|
-
}
|
|
31
|
-
`,
|
|
12
|
+
font-family: ${b};
|
|
13
|
+
font-size: ${d};
|
|
14
|
+
font-weight: ${u};
|
|
15
|
+
letter-spacing: ${c};
|
|
16
|
+
line-height: ${x};
|
|
17
|
+
text-transform: ${$};
|
|
18
|
+
}
|
|
19
|
+
`,i.css`
|
|
32
20
|
.ft-typography--subtitle1 {
|
|
33
|
-
font-family: ${
|
|
34
|
-
font-size: ${
|
|
35
|
-
font-weight: ${
|
|
36
|
-
letter-spacing: ${
|
|
37
|
-
line-height: ${
|
|
38
|
-
text-transform: ${
|
|
39
|
-
}
|
|
40
|
-
`,
|
|
21
|
+
font-family: ${m};
|
|
22
|
+
font-size: ${w};
|
|
23
|
+
font-weight: ${z};
|
|
24
|
+
letter-spacing: ${v};
|
|
25
|
+
line-height: ${S};
|
|
26
|
+
text-transform: ${E};
|
|
27
|
+
}
|
|
28
|
+
`,i.css`
|
|
41
29
|
.ft-typography--subtitle2 {
|
|
42
|
-
font-family: ${
|
|
43
|
-
font-size: ${
|
|
44
|
-
font-weight: ${
|
|
45
|
-
letter-spacing: ${
|
|
46
|
-
line-height: ${
|
|
47
|
-
text-transform: ${
|
|
30
|
+
font-family: ${N};
|
|
31
|
+
font-size: ${I};
|
|
32
|
+
font-weight: ${Z};
|
|
33
|
+
letter-spacing: ${B};
|
|
34
|
+
line-height: ${k};
|
|
35
|
+
text-transform: ${O};
|
|
48
36
|
}
|
|
49
37
|
|
|
50
|
-
`,
|
|
38
|
+
`,i.css`
|
|
51
39
|
.ft-typography--body1 {
|
|
52
|
-
font-family: ${
|
|
53
|
-
font-size: ${
|
|
54
|
-
font-weight: ${
|
|
55
|
-
letter-spacing: ${
|
|
56
|
-
line-height: ${
|
|
57
|
-
text-transform: ${
|
|
58
|
-
}
|
|
59
|
-
`,
|
|
40
|
+
font-family: ${G};
|
|
41
|
+
font-size: ${U};
|
|
42
|
+
font-weight: ${W};
|
|
43
|
+
letter-spacing: ${j};
|
|
44
|
+
line-height: ${C};
|
|
45
|
+
text-transform: ${D};
|
|
46
|
+
}
|
|
47
|
+
`,i.css`
|
|
60
48
|
.ft-typography--body2 {
|
|
61
|
-
font-family: ${
|
|
62
|
-
font-size: ${
|
|
63
|
-
font-weight: ${
|
|
64
|
-
letter-spacing: ${
|
|
65
|
-
line-height: ${
|
|
66
|
-
text-transform: ${
|
|
67
|
-
}
|
|
68
|
-
|
|
49
|
+
font-family: ${F};
|
|
50
|
+
font-size: ${M};
|
|
51
|
+
font-weight: ${R};
|
|
52
|
+
letter-spacing: ${T};
|
|
53
|
+
line-height: ${H};
|
|
54
|
+
text-transform: ${K};
|
|
55
|
+
}
|
|
56
|
+
`;const ft=i.css`
|
|
69
57
|
.ft-typography--caption {
|
|
70
|
-
font-family: ${
|
|
71
|
-
font-size: ${
|
|
72
|
-
font-weight: ${
|
|
73
|
-
letter-spacing: ${
|
|
74
|
-
line-height: ${
|
|
75
|
-
text-transform: ${
|
|
76
|
-
}
|
|
77
|
-
|
|
58
|
+
font-family: ${_.fontFamily};
|
|
59
|
+
font-size: ${_.fontSize};
|
|
60
|
+
font-weight: ${_.fontWeight};
|
|
61
|
+
letter-spacing: ${_.letterSpacing};
|
|
62
|
+
line-height: ${_.lineHeight};
|
|
63
|
+
text-transform: ${_.textTransform};
|
|
64
|
+
}
|
|
65
|
+
`;i.css`
|
|
78
66
|
.ft-typography--breadcrumb {
|
|
79
|
-
font-family: ${
|
|
80
|
-
font-size: ${
|
|
81
|
-
font-weight: ${
|
|
82
|
-
letter-spacing: ${
|
|
83
|
-
line-height: ${
|
|
84
|
-
text-transform: ${
|
|
85
|
-
}
|
|
86
|
-
`,
|
|
67
|
+
font-family: ${q};
|
|
68
|
+
font-size: ${A};
|
|
69
|
+
font-weight: ${J};
|
|
70
|
+
letter-spacing: ${L};
|
|
71
|
+
line-height: ${P};
|
|
72
|
+
text-transform: ${Q};
|
|
73
|
+
}
|
|
74
|
+
`,i.css`
|
|
87
75
|
.ft-typography--overline {
|
|
88
|
-
font-family: ${
|
|
89
|
-
font-size: ${
|
|
90
|
-
font-weight: ${
|
|
91
|
-
letter-spacing: ${
|
|
92
|
-
line-height: ${
|
|
93
|
-
text-transform: ${
|
|
94
|
-
}
|
|
95
|
-
`,
|
|
76
|
+
font-family: ${V};
|
|
77
|
+
font-size: ${X};
|
|
78
|
+
font-weight: ${Y};
|
|
79
|
+
letter-spacing: ${tt};
|
|
80
|
+
line-height: ${et};
|
|
81
|
+
text-transform: ${it};
|
|
82
|
+
}
|
|
83
|
+
`,i.css`
|
|
96
84
|
.ft-typography--button {
|
|
97
|
-
font-family: ${
|
|
98
|
-
font-size: ${
|
|
99
|
-
font-weight: ${
|
|
100
|
-
letter-spacing: ${
|
|
101
|
-
line-height: ${
|
|
102
|
-
text-transform: ${
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
85
|
+
font-family: ${ot};
|
|
86
|
+
font-size: ${rt};
|
|
87
|
+
font-weight: ${nt};
|
|
88
|
+
letter-spacing: ${pt};
|
|
89
|
+
line-height: ${lt};
|
|
90
|
+
text-transform: ${at};
|
|
91
|
+
}
|
|
92
|
+
`,i.css`
|
|
93
|
+
.ft-typography {
|
|
94
|
+
vertical-align: inherit;
|
|
95
|
+
}
|
|
96
|
+
`;const yt={fontSize:e.FtCssVariableFactory.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:e.FtCssVariableFactory.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:e.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:e.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:e.FtCssVariableFactory.extend("--ft-input-label-border-color",e.designSystemVariables.colorOutline),textColor:e.FtCssVariableFactory.extend("--ft-input-label-text-color",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")},ht=i.css`
|
|
97
|
+
.ft-input-label {
|
|
98
|
+
position: absolute;
|
|
99
|
+
inset: 0;
|
|
100
|
+
display: flex;
|
|
101
|
+
background-color: ${yt.colorSurface};
|
|
102
|
+
border-radius: ${yt.borderRadiusS} ${yt.borderRadiusS} 0 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.ft-input-label--outlined {
|
|
106
|
+
border-radius: ${yt.borderRadiusS};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.ft-input-label {
|
|
110
|
+
border-color: ${yt.borderColor};
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.ft-input-label.ft-input-label--in-error {
|
|
114
|
+
border-color: ${yt.colorError}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.ft-input-label:before,
|
|
118
|
+
.ft-input-label:after {
|
|
119
|
+
content: "";
|
|
120
|
+
display: flex;
|
|
121
|
+
border-bottom-width: 1px;
|
|
122
|
+
border-bottom-style: solid;
|
|
123
|
+
border-color: inherit;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.ft-input-label:before {
|
|
127
|
+
width: ${yt.horizontalSpacing};
|
|
128
|
+
flex-shrink: 0;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.ft-input-label:after {
|
|
132
|
+
flex-grow: 1;
|
|
133
|
+
flex-shrink: 1;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.ft-input-label--text {
|
|
137
|
+
display: flex;
|
|
138
|
+
flex-shrink: 1;
|
|
139
|
+
position: relative;
|
|
140
|
+
border-bottom-width: 1px;
|
|
141
|
+
border-bottom-style: solid;
|
|
142
|
+
border-color: inherit;
|
|
143
|
+
color: ${yt.textColor};
|
|
144
|
+
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
145
|
+
${e.setVariable(_.fontSize,yt.fontSize)};
|
|
146
|
+
${e.setVariable(_.lineHeight,yt.fontSize)};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.ft-input-label--in-error .ft-input-label--text {
|
|
150
|
+
color: ${yt.colorError}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.ft-input-label--disabled .ft-input-label--text {
|
|
154
|
+
color: ${yt.disabledTextColor};
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.ft-input-label--hidden-text {
|
|
158
|
+
padding: 0 4px;
|
|
159
|
+
opacity: 0;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.ft-input-label--floating-text {
|
|
163
|
+
position: absolute;
|
|
164
|
+
top: calc(50% - var(--ft-typography-caption-line-height) / 2);
|
|
165
|
+
transition: top 250ms;
|
|
166
|
+
overflow: hidden;
|
|
167
|
+
white-space: nowrap;
|
|
168
|
+
text-overflow: ellipsis;
|
|
169
|
+
padding: ${yt.verticalSpacing} 4px;
|
|
170
|
+
margin: calc(${yt.verticalSpacing} * -1) 0;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.ft-input-label--raised .ft-input-label--text {
|
|
174
|
+
${e.setVariable(_.fontSize,yt.raisedFontSize)};
|
|
175
|
+
${e.setVariable(_.lineHeight,yt.raisedFontSize)};
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.ft-input-label--raised .ft-input-label--floating-text {
|
|
179
|
+
top: ${yt.verticalSpacing};
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.ft-input-label--outlined .ft-input-label--text,
|
|
183
|
+
.ft-input-label--outlined:before,
|
|
184
|
+
.ft-input-label--outlined:after {
|
|
185
|
+
border-top-width: 1px;
|
|
186
|
+
border-top-style: solid;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.ft-input-label--outlined:before {
|
|
190
|
+
border-left-width: 1px;
|
|
191
|
+
border-left-style: solid;
|
|
192
|
+
border-radius: ${yt.borderRadiusS} 0 0 ${yt.borderRadiusS};
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.ft-input-label--outlined:after {
|
|
196
|
+
border-right-width: 1px;
|
|
197
|
+
border-right-style: solid;
|
|
198
|
+
border-radius: 0 ${yt.borderRadiusS} ${yt.borderRadiusS} 0;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
202
|
+
padding: 2px 4px;
|
|
203
|
+
z-index: ${yt.raisedZIndex};
|
|
204
|
+
background-color: ${yt.colorSurface};
|
|
205
|
+
border-radius: ${yt.borderRadiusS};
|
|
206
|
+
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
210
|
+
border-top: none;
|
|
211
|
+
}
|
|
212
|
+
`;var st=function(t,e,i,o){for(var r,n=arguments.length,p=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(r=t[l])&&(p=(n<3?r(p):n>3?r(e,i,p):r(e,i))||p);return n>3&&p&&Object.defineProperty(e,i,p),p};class gt extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return i.html`
|
|
213
|
+
<div class="${r.classMap(t)}">
|
|
214
|
+
${this.text?i.html`
|
|
118
215
|
<div class="ft-input-label--text ft-typography--caption">
|
|
119
216
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
120
217
|
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
121
218
|
</div>
|
|
122
219
|
`:null}
|
|
123
220
|
</div>
|
|
124
|
-
`}}
|
|
125
|
-
.ft-input-label {
|
|
126
|
-
position: absolute;
|
|
127
|
-
inset: 0;
|
|
128
|
-
display: flex;
|
|
129
|
-
background-color: ${ai.colorSurface};
|
|
130
|
-
border-radius: ${ai.borderRadiusS} ${ai.borderRadiusS} 0 0;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.ft-input-label--outlined {
|
|
134
|
-
border-radius: ${ai.borderRadiusS};
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.ft-input-label {
|
|
138
|
-
border-color: ${ai.borderColor};
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.ft-input-label.ft-input-label--in-error {
|
|
142
|
-
border-color: ${ai.colorError}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.ft-input-label:before,
|
|
146
|
-
.ft-input-label:after {
|
|
147
|
-
content: "";
|
|
148
|
-
display: flex;
|
|
149
|
-
border-bottom-width: 1px;
|
|
150
|
-
border-bottom-style: solid;
|
|
151
|
-
border-color: inherit;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.ft-input-label:before {
|
|
155
|
-
width: ${ai.horizontalSpacing};
|
|
156
|
-
flex-shrink: 0;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.ft-input-label:after {
|
|
160
|
-
flex-grow: 1;
|
|
161
|
-
flex-shrink: 1;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.ft-input-label--text {
|
|
165
|
-
display: flex;
|
|
166
|
-
flex-shrink: 1;
|
|
167
|
-
position: relative;
|
|
168
|
-
border-bottom-width: 1px;
|
|
169
|
-
border-bottom-style: solid;
|
|
170
|
-
border-color: inherit;
|
|
171
|
-
color: ${ai.textColor};
|
|
172
|
-
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
173
|
-
${i.setVariable(Zt.fontSize,ai.fontSize)};
|
|
174
|
-
${i.setVariable(Zt.lineHeight,ai.fontSize)};
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.ft-input-label--in-error .ft-input-label--text {
|
|
178
|
-
color: ${ai.colorError}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.ft-input-label--disabled .ft-input-label--text {
|
|
182
|
-
color: ${ai.disabledTextColor};
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.ft-input-label--hidden-text {
|
|
186
|
-
padding: 0 4px;
|
|
187
|
-
opacity: 0;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.ft-input-label--floating-text {
|
|
191
|
-
position: absolute;
|
|
192
|
-
top: calc(50% - var(--ft-typography-caption-line-height) / 2);
|
|
193
|
-
transition: top 250ms;
|
|
194
|
-
overflow: hidden;
|
|
195
|
-
white-space: nowrap;
|
|
196
|
-
text-overflow: ellipsis;
|
|
197
|
-
padding: ${ai.verticalSpacing} 4px;
|
|
198
|
-
margin: calc(${ai.verticalSpacing} * -1) 0;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.ft-input-label--raised .ft-input-label--text {
|
|
202
|
-
${i.setVariable(Zt.fontSize,ai.raisedFontSize)};
|
|
203
|
-
${i.setVariable(Zt.lineHeight,ai.raisedFontSize)};
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.ft-input-label--raised .ft-input-label--floating-text {
|
|
207
|
-
top: ${ai.verticalSpacing};
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.ft-input-label--outlined .ft-input-label--text,
|
|
211
|
-
.ft-input-label--outlined:before,
|
|
212
|
-
.ft-input-label--outlined:after {
|
|
213
|
-
border-top-width: 1px;
|
|
214
|
-
border-top-style: solid;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.ft-input-label--outlined:before {
|
|
218
|
-
border-left-width: 1px;
|
|
219
|
-
border-left-style: solid;
|
|
220
|
-
border-radius: ${ai.borderRadiusS} 0 0 ${ai.borderRadiusS};
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.ft-input-label--outlined:after {
|
|
224
|
-
border-right-width: 1px;
|
|
225
|
-
border-right-style: solid;
|
|
226
|
-
border-radius: 0 ${ai.borderRadiusS} ${ai.borderRadiusS} 0;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
230
|
-
padding: 2px 4px;
|
|
231
|
-
z-index: ${ai.raisedZIndex};
|
|
232
|
-
background-color: ${ai.colorSurface};
|
|
233
|
-
border-radius: ${ai.borderRadiusS};
|
|
234
|
-
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
238
|
-
border-top: none;
|
|
239
|
-
}
|
|
240
|
-
`],si([o.property({type:String})],pi.prototype,"text",void 0),si([o.property({type:Boolean})],pi.prototype,"raised",void 0),si([o.property({type:Boolean})],pi.prototype,"outlined",void 0),si([o.property({type:Boolean})],pi.prototype,"disabled",void 0),si([o.property({type:Boolean})],pi.prototype,"error",void 0),i.customElement("ft-input-label")(pi),t.FtInputLabel=pi,t.FtInputLabelCssVariables=ai,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap);
|
|
221
|
+
`}}gt.elementDefinitions={},gt.styles=[ft,ht],st([o.property({type:String})],gt.prototype,"text",void 0),st([o.property({type:Boolean})],gt.prototype,"raised",void 0),st([o.property({type:Boolean})],gt.prototype,"outlined",void 0),st([o.property({type:Boolean})],gt.prototype,"disabled",void 0),st([o.property({type:Boolean})],gt.prototype,"error",void 0),e.customElement("ft-input-label")(gt),t.FtInputLabel=gt,t.FtInputLabelCssVariables=yt,t.styles=ht,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap);
|