@fluid-topics/ft-trend 0.2.15 → 0.2.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-trend.inline-styles.js +1 -1
- package/build/ft-trend.light.js +31 -31
- package/build/ft-trend.min.js +12 -12
- package/package.json +4 -4
|
@@ -71,7 +71,7 @@ var tt,et;null==Y||Y(H,V),(null!==(x=globalThis.litHtmlVersions)&&void 0!==x?x:g
|
|
|
71
71
|
* Copyright 2020 Google LLC
|
|
72
72
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
73
|
*/
|
|
74
|
-
const ht=Symbol.for(""),ct=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===ht)return null===(i=t)||void 0===i?void 0:i._$litStatic$},pt=t=>({_$litStatic$:t,r:ht}),ft=new Map,ut=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],n=ct(r));)l+=n+e[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(e[o]),c){const t=s.join("$$lit$$");void 0===(e=ft.get(t))&&(s.raw=s,ft.set(t,e=s)),i=a}return t(e,...i)})(z);var dt,yt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};!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"}(dt||(dt={}));const gt=nt.extend("--ft-typography-font-family",rt.titleFont),vt=nt.extend("--ft-typography-font-family",rt.contentFont),mt={fontFamily:vt,fontSize:nt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:nt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:nt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:nt.create("--ft-typography-line-height","
|
|
74
|
+
const ht=Symbol.for(""),ct=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===ht)return null===(i=t)||void 0===i?void 0:i._$litStatic$},pt=t=>({_$litStatic$:t,r:ht}),ft=new Map,ut=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],n=ct(r));)l+=n+e[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(e[o]),c){const t=s.join("$$lit$$");void 0===(e=ft.get(t))&&(s.raw=s,ft.set(t,e=s)),i=a}return t(e,...i)})(z);var dt,yt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};!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"}(dt||(dt={}));const gt=nt.extend("--ft-typography-font-family",rt.titleFont),vt=nt.extend("--ft-typography-font-family",rt.contentFont),mt={fontFamily:vt,fontSize:nt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:nt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:nt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:nt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:nt.create("--ft-typography-text-transform","UNKNOWN","inherit")},bt=nt.extend("--ft-typography-title-font-family",gt),xt=nt.extend("--ft-typography-title-font-size",mt.fontSize,"20px"),wt=nt.extend("--ft-typography-title-font-weight",mt.fontWeight,"normal"),$t=nt.extend("--ft-typography-title-letter-spacing",mt.letterSpacing,"0.15px"),Ot=nt.extend("--ft-typography-title-line-height",mt.lineHeight,"1.2"),St=nt.extend("--ft-typography-title-text-transform",mt.textTransform,"inherit"),Nt=nt.extend("--ft-typography-title-dense-font-family",gt),Ct=nt.extend("--ft-typography-title-dense-font-size",mt.fontSize,"14px"),Rt=nt.extend("--ft-typography-title-dense-font-weight",mt.fontWeight,"normal"),Et=nt.extend("--ft-typography-title-dense-letter-spacing",mt.letterSpacing,"0.105px"),Mt=nt.extend("--ft-typography-title-dense-line-height",mt.lineHeight,"1.7"),Ut=nt.extend("--ft-typography-title-dense-text-transform",mt.textTransform,"inherit"),Ft=nt.extend("--ft-typography-subtitle1-font-family",vt),kt=nt.extend("--ft-typography-subtitle1-font-size",mt.fontSize,"16px"),Lt=nt.extend("--ft-typography-subtitle1-font-weight",mt.fontWeight,"600"),Tt=nt.extend("--ft-typography-subtitle1-letter-spacing",mt.letterSpacing,"0.144px"),At=nt.extend("--ft-typography-subtitle1-line-height",mt.lineHeight,"1.5"),Pt=nt.extend("--ft-typography-subtitle1-text-transform",mt.textTransform,"inherit"),zt=nt.extend("--ft-typography-subtitle2-font-family",vt),Bt=nt.extend("--ft-typography-subtitle2-font-size",mt.fontSize,"14px"),Dt=nt.extend("--ft-typography-subtitle2-font-weight",mt.fontWeight,"normal"),_t=nt.extend("--ft-typography-subtitle2-letter-spacing",mt.letterSpacing,"0.098px"),jt=nt.extend("--ft-typography-subtitle2-line-height",mt.lineHeight,"1.7"),Wt=nt.extend("--ft-typography-subtitle2-text-transform",mt.textTransform,"inherit"),Ht=nt.extend("--ft-typography-body1-font-family",vt),Kt=nt.extend("--ft-typography-body1-font-size",mt.fontSize,"16px"),It=nt.extend("--ft-typography-body1-font-weight",mt.fontWeight,"normal"),Vt=nt.extend("--ft-typography-body1-letter-spacing",mt.letterSpacing,"0.496px"),Zt=nt.extend("--ft-typography-body1-line-height",mt.lineHeight,"1.5"),Jt=nt.extend("--ft-typography-body1-text-transform",mt.textTransform,"inherit"),Xt=nt.extend("--ft-typography-body2-font-family",vt),qt=nt.extend("--ft-typography-body2-font-size",mt.fontSize,"14px"),Gt=nt.extend("--ft-typography-body2-font-weight",mt.fontWeight,"normal"),Qt=nt.extend("--ft-typography-body2-letter-spacing",mt.letterSpacing,"0.252px"),Yt=nt.extend("--ft-typography-body2-line-height",mt.lineHeight,"1.4"),te=nt.extend("--ft-typography-body2-text-transform",mt.textTransform,"inherit"),ee=nt.extend("--ft-typography-caption-font-family",vt),ie=nt.extend("--ft-typography-caption-font-size",mt.fontSize,"12px"),oe=nt.extend("--ft-typography-caption-font-weight",mt.fontWeight,"normal"),ne=nt.extend("--ft-typography-caption-letter-spacing",mt.letterSpacing,"0.396px"),re=nt.extend("--ft-typography-caption-line-height",mt.lineHeight,"1.33"),se=nt.extend("--ft-typography-caption-text-transform",mt.textTransform,"inherit"),ae=nt.extend("--ft-typography-breadcrumb-font-family",vt),le=nt.extend("--ft-typography-breadcrumb-font-size",mt.fontSize,"10px"),he=nt.extend("--ft-typography-breadcrumb-font-weight",mt.fontWeight,"normal"),ce=nt.extend("--ft-typography-breadcrumb-letter-spacing",mt.letterSpacing,"0.33px"),pe=nt.extend("--ft-typography-breadcrumb-line-height",mt.lineHeight,"1.6"),fe=nt.extend("--ft-typography-breadcrumb-text-transform",mt.textTransform,"inherit"),ue=nt.extend("--ft-typography-overline-font-family",vt),de=nt.extend("--ft-typography-overline-font-size",mt.fontSize,"10px"),ye=nt.extend("--ft-typography-overline-font-weight",mt.fontWeight,"normal"),ge=nt.extend("--ft-typography-overline-letter-spacing",mt.letterSpacing,"1.5px"),ve=nt.extend("--ft-typography-overline-line-height",mt.lineHeight,"1.6"),me=nt.extend("--ft-typography-overline-text-transform",mt.textTransform,"uppercase"),be=nt.extend("--ft-typography-button-font-family",vt),xe=nt.extend("--ft-typography-button-font-size",mt.fontSize,"14px"),we=nt.extend("--ft-typography-button-font-weight",mt.fontWeight,"600"),$e=nt.extend("--ft-typography-button-letter-spacing",mt.letterSpacing,"1.246px"),Oe=nt.extend("--ft-typography-button-line-height",mt.lineHeight,"1.15"),Se=nt.extend("--ft-typography-button-text-transform",mt.textTransform,"uppercase"),Ne=h`
|
|
75
75
|
.ft-typography--title {
|
|
76
76
|
font-family: ${bt};
|
|
77
77
|
font-size: ${xt};
|
package/build/ft-trend.light.js
CHANGED
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
* Copyright 2017 Google LLC
|
|
5
5
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
-
var n;const r=globalThis.trustedTypes,s=r?r.createPolicy("lit-html",{createHTML:t=>t}):void 0,h=`lit$${(Math.random()+"").slice(9)}$`,
|
|
7
|
+
var n;const r=globalThis.trustedTypes,s=r?r.createPolicy("lit-html",{createHTML:t=>t}):void 0,h=`lit$${(Math.random()+"").slice(9)}$`,a="?"+h,p=`<${a}>`,l=document,f=(t="")=>l.createComment(t),y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,g=Array.isArray,d=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,c=/-->/g,u=/>/g,v=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,$=/'/g,b=/"/g,m=/^(?:script|style|textarea|title)$/i,x=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),w=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),_=new WeakMap,A=l.createTreeWalker(l,129,null,!1),N=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",a=d;for(let i=0;i<e;i++){const e=t[i];let s,l,f=-1,y=0;for(;y<e.length&&(a.lastIndex=y,l=a.exec(e),null!==l);)y=a.lastIndex,a===d?"!--"===l[1]?a=c:void 0!==l[1]?a=u:void 0!==l[2]?(m.test(l[2])&&(n=RegExp("</"+l[2],"g")),a=v):void 0!==l[3]&&(a=v):a===v?">"===l[0]?(a=null!=n?n:d,f=-1):void 0===l[1]?f=-2:(f=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?v:'"'===l[3]?b:$):a===b||a===$?a=v:a===c||a===u?a=d:(a=v,n=void 0);const g=a===v&&t[i+1].startsWith("/>")?" ":"";r+=a===d?e+p:f>=0?(o.push(s),e.slice(0,f)+"$lit$"+e.slice(f)+h+g):e+h+(-2===f?(o.push(void 0),i):g)}const l=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(l):l,o]};class S{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const p=t.length-1,l=this.parts,[y,g]=N(t,i);if(this.el=S.createElement(y,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())&&l.length<p;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(h)){const e=g[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(h),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?I:"?"===i[1]?U:"@"===i[1]?j:E})}else l.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(m.test(o.tagName)){const t=o.textContent.split(h),i=t.length-1;if(i>0){o.textContent=r?r.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],f()),A.nextNode(),l.push({type:2,index:++n});o.append(t[i],f())}}}else if(8===o.nodeType)if(o.data===a)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(h,t+1));)l.push({type:7,index:n}),t+=h.length-1}n++}}static createElement(t,i){const e=l.createElement("template");return e.innerHTML=t,e}}function T(t,i,e=t,o){var n,r,s,h;if(i===w)return i;let a=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const p=y(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!==(s=(h=e)._$Cl)&&void 0!==s?s:h._$Cl=[])[o]=a:e._$Cu=a),void 0!==a&&(i=T(t,a._$AS(t,i.values),a,o)),i}class M{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:l).importNode(e,!0);A.currentNode=n;let r=A.nextNode(),s=0,h=0,a=o[0];for(;void 0!==a;){if(s===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 W(r,this,t)),this.v.push(i),a=o[++h]}s!==(null==a?void 0:a.index)&&(r=A.nextNode(),s++)}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=z,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=T(this,t,i),y(t)?t===z||null==t||""===t?(this._$AH!==z&&this._$AR(),this._$AH=z):t!==this._$AH&&t!==w&&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!==z&&y(this._$AH)?this._$AA.nextSibling.data=t:this.k(l.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=S.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 M(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 S(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(f()),this.M(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._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class E{constructor(t,i,e,o,n){this.type=1,this._$AH=z,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=z}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=T(this,t,i,0),r=!y(t)||t!==this._$AH&&t!==w,r&&(this._$AH=t);else{const o=t;let s,h;for(t=n[0],s=0;s<n.length-1;s++)h=T(this,o[e+s],i,s),h===w&&(h=this._$AH[s]),r||(r=!y(h)||h!==this._$AH[s]),h===z?t=z:t!==z&&(t+=(null!=h?h:"")+n[s+1]),this._$AH[s]=h}r&&!o&&this.C(t)}C(t){t===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class I extends E{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===z?void 0:t}}const O=r?r.emptyScript:"";class U extends E{constructor(){super(...arguments),this.type=4}C(t){t&&t!==z?this.element.setAttribute(this.name,O):this.element.removeAttribute(this.name)}}class j extends E{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=T(this,t,i,0))&&void 0!==e?e:z)===w)return;const o=this._$AH,n=t===z&&o!==z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==z&&(o===z||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 W{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){T(this,t)}}const Z=window.litHtmlPolyfillSupport;null==Z||Z(S,C),(null!==(n=globalThis.litHtmlVersions)&&void 0!==n?n: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 G=Symbol.for(""),
|
|
13
|
+
const G=Symbol.for(""),R=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===G)return null===(e=t)||void 0===e?void 0:e._$litStatic$},k=t=>({_$litStatic$:t,r:G}),D=new Map,H=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],h=[];let a,p=0,l=!1;for(;p<o;){for(a=i[p];p<o&&void 0!==(r=e[p],n=R(r));)a+=n+i[++p],l=!0;h.push(r),s.push(a),p++}if(p===o&&s.push(i[o]),l){const t=s.join("$$lit$$");void 0===(i=D.get(t))&&(s.raw=s,D.set(t,i=s)),e=h}return t(i,...e)})(x);var K,V=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(n=t[h])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};!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"}(K||(K={}));const B=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),F=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),L={fontFamily:F,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",B),q=i.FtCssVariable.extend("--ft-typography-title-font-size",L.fontSize,"20px"),J=i.FtCssVariable.extend("--ft-typography-title-font-weight",L.fontWeight,"normal"),Q=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",L.letterSpacing,"0.15px"),X=i.FtCssVariable.extend("--ft-typography-title-line-height",L.lineHeight,"1.2"),Y=i.FtCssVariable.extend("--ft-typography-title-text-transform",L.textTransform,"inherit"),tt=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",B),it=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",L.fontSize,"14px"),et=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",L.fontWeight,"normal"),ot=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",L.letterSpacing,"0.105px"),nt=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",L.lineHeight,"1.7"),rt=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",L.textTransform,"inherit"),st=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",F),ht=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",L.fontSize,"16px"),at=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",L.fontWeight,"600"),pt=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",L.letterSpacing,"0.144px"),lt=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",L.lineHeight,"1.5"),ft=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",L.textTransform,"inherit"),yt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",F),gt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",L.fontSize,"14px"),dt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",L.fontWeight,"normal"),ct=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",L.letterSpacing,"0.098px"),ut=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",L.lineHeight,"1.7"),vt=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",L.textTransform,"inherit"),$t=i.FtCssVariable.extend("--ft-typography-body1-font-family",F),bt=i.FtCssVariable.extend("--ft-typography-body1-font-size",L.fontSize,"16px"),mt=i.FtCssVariable.extend("--ft-typography-body1-font-weight",L.fontWeight,"normal"),xt=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",L.letterSpacing,"0.496px"),wt=i.FtCssVariable.extend("--ft-typography-body1-line-height",L.lineHeight,"1.5"),zt=i.FtCssVariable.extend("--ft-typography-body1-text-transform",L.textTransform,"inherit"),_t=i.FtCssVariable.extend("--ft-typography-body2-font-family",F),At=i.FtCssVariable.extend("--ft-typography-body2-font-size",L.fontSize,"14px"),Nt=i.FtCssVariable.extend("--ft-typography-body2-font-weight",L.fontWeight,"normal"),St=i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",L.letterSpacing,"0.252px"),Tt=i.FtCssVariable.extend("--ft-typography-body2-line-height",L.lineHeight,"1.4"),Mt=i.FtCssVariable.extend("--ft-typography-body2-text-transform",L.textTransform,"inherit"),Ct=i.FtCssVariable.extend("--ft-typography-caption-font-family",F),Et=i.FtCssVariable.extend("--ft-typography-caption-font-size",L.fontSize,"12px"),It=i.FtCssVariable.extend("--ft-typography-caption-font-weight",L.fontWeight,"normal"),Ot=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",L.letterSpacing,"0.396px"),Ut=i.FtCssVariable.extend("--ft-typography-caption-line-height",L.lineHeight,"1.33"),jt=i.FtCssVariable.extend("--ft-typography-caption-text-transform",L.textTransform,"inherit"),Wt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",F),Zt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",L.fontSize,"10px"),Gt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",L.fontWeight,"normal"),Rt=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",L.letterSpacing,"0.33px"),kt=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",L.lineHeight,"1.6"),Dt=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",L.textTransform,"inherit"),Ht=i.FtCssVariable.extend("--ft-typography-overline-font-family",F),Kt=i.FtCssVariable.extend("--ft-typography-overline-font-size",L.fontSize,"10px"),Vt=i.FtCssVariable.extend("--ft-typography-overline-font-weight",L.fontWeight,"normal"),Bt=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",L.letterSpacing,"1.5px"),Ft=i.FtCssVariable.extend("--ft-typography-overline-line-height",L.lineHeight,"1.6"),Lt=i.FtCssVariable.extend("--ft-typography-overline-text-transform",L.textTransform,"uppercase"),Pt=i.FtCssVariable.extend("--ft-typography-button-font-family",F),qt=i.FtCssVariable.extend("--ft-typography-button-font-size",L.fontSize,"14px"),Jt=i.FtCssVariable.extend("--ft-typography-button-font-weight",L.fontWeight,"600"),Qt=i.FtCssVariable.extend("--ft-typography-button-letter-spacing",L.letterSpacing,"1.246px"),Xt=i.FtCssVariable.extend("--ft-typography-button-line-height",L.lineHeight,"1.15"),Yt=i.FtCssVariable.extend("--ft-typography-button-text-transform",L.textTransform,"uppercase"),ti=e.css`
|
|
14
14
|
.ft-typography--title {
|
|
15
|
-
font-family: ${
|
|
16
|
-
font-size: ${
|
|
15
|
+
font-family: ${P};
|
|
16
|
+
font-size: ${q};
|
|
17
17
|
font-weight: ${J};
|
|
18
18
|
letter-spacing: ${Q};
|
|
19
19
|
line-height: ${X};
|
|
@@ -32,8 +32,8 @@ const G=Symbol.for(""),k=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===
|
|
|
32
32
|
.ft-typography--subtitle1 {
|
|
33
33
|
font-family: ${st};
|
|
34
34
|
font-size: ${ht};
|
|
35
|
-
font-weight: ${
|
|
36
|
-
letter-spacing: ${
|
|
35
|
+
font-weight: ${at};
|
|
36
|
+
letter-spacing: ${pt};
|
|
37
37
|
line-height: ${lt};
|
|
38
38
|
text-transform: ${ft};
|
|
39
39
|
}
|
|
@@ -63,52 +63,52 @@ const G=Symbol.for(""),k=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===
|
|
|
63
63
|
font-weight: ${Nt};
|
|
64
64
|
letter-spacing: ${St};
|
|
65
65
|
line-height: ${Tt};
|
|
66
|
-
text-transform: ${
|
|
66
|
+
text-transform: ${Mt};
|
|
67
67
|
}
|
|
68
68
|
`,si=e.css`
|
|
69
69
|
.ft-typography--caption {
|
|
70
|
-
font-family: ${
|
|
71
|
-
font-size: ${
|
|
72
|
-
font-weight: ${
|
|
70
|
+
font-family: ${Ct};
|
|
71
|
+
font-size: ${Et};
|
|
72
|
+
font-weight: ${It};
|
|
73
73
|
letter-spacing: ${Ot};
|
|
74
|
-
line-height: ${
|
|
75
|
-
text-transform: ${
|
|
74
|
+
line-height: ${Ut};
|
|
75
|
+
text-transform: ${jt};
|
|
76
76
|
}
|
|
77
77
|
`,hi=e.css`
|
|
78
78
|
.ft-typography--breadcrumb {
|
|
79
|
-
font-family: ${
|
|
80
|
-
font-size: ${
|
|
79
|
+
font-family: ${Wt};
|
|
80
|
+
font-size: ${Zt};
|
|
81
81
|
font-weight: ${Gt};
|
|
82
|
-
letter-spacing: ${
|
|
83
|
-
line-height: ${
|
|
84
|
-
text-transform: ${
|
|
82
|
+
letter-spacing: ${Rt};
|
|
83
|
+
line-height: ${kt};
|
|
84
|
+
text-transform: ${Dt};
|
|
85
85
|
}
|
|
86
|
-
`,
|
|
86
|
+
`,ai=e.css`
|
|
87
87
|
.ft-typography--overline {
|
|
88
|
-
font-family: ${
|
|
89
|
-
font-size: ${
|
|
88
|
+
font-family: ${Ht};
|
|
89
|
+
font-size: ${Kt};
|
|
90
90
|
font-weight: ${Vt};
|
|
91
|
-
letter-spacing: ${
|
|
92
|
-
line-height: ${
|
|
93
|
-
text-transform: ${
|
|
91
|
+
letter-spacing: ${Bt};
|
|
92
|
+
line-height: ${Ft};
|
|
93
|
+
text-transform: ${Lt};
|
|
94
94
|
}
|
|
95
|
-
`,
|
|
95
|
+
`,pi=e.css`
|
|
96
96
|
.ft-typography--button {
|
|
97
|
-
font-family: ${
|
|
98
|
-
font-size: ${
|
|
97
|
+
font-family: ${Pt};
|
|
98
|
+
font-size: ${qt};
|
|
99
99
|
font-weight: ${Jt};
|
|
100
100
|
letter-spacing: ${Qt};
|
|
101
101
|
line-height: ${Xt};
|
|
102
102
|
text-transform: ${Yt};
|
|
103
103
|
}
|
|
104
|
-
`;class li extends i.FtLitElement{constructor(){super(...arguments),this.variant=
|
|
105
|
-
<${
|
|
104
|
+
`;class li extends i.FtLitElement{constructor(){super(...arguments),this.variant=K.body1}render(){return this.element?H`
|
|
105
|
+
<${k(this.element)}
|
|
106
106
|
class="ft-typography ft-typography--${this.variant}">
|
|
107
107
|
<slot></slot>
|
|
108
|
-
</${
|
|
109
|
-
`:
|
|
108
|
+
</${k(this.element)}>
|
|
109
|
+
`:H`
|
|
110
110
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
111
|
-
`}}li.styles=[ti,ii,ei,oi,ni,ri,si,hi,pi,
|
|
111
|
+
`}}li.styles=[ti,ii,ei,oi,ni,ri,si,hi,ai,pi,e.css`
|
|
112
112
|
.ft-typography {
|
|
113
113
|
vertical-align: inherit;
|
|
114
114
|
}
|
package/build/ft-trend.min.js
CHANGED
|
@@ -40,19 +40,19 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
|
|
|
40
40
|
* Copyright 2017 Google LLC
|
|
41
41
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
42
|
*/
|
|
43
|
-
var w;x.finalized=!0,x.elementProperties=new Map,x.elementStyles=[],x.shadowRootOptions={mode:"open"},null==g||g({ReactiveElement:x}),(null!==(u=globalThis.reactiveElementVersions)&&void 0!==u?u:globalThis.reactiveElementVersions=[]).push("1.3.2");const O=globalThis.trustedTypes,$=O?O.createPolicy("lit-html",{createHTML:t=>t}):void 0,S=`lit$${(Math.random()+"").slice(9)}$`,N="?"+S,C=`<${N}>`,R=document,E=(t="")=>R.createComment(t),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,k=/-->/g,L=/>/g,T=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,A=/'/g,P=/"/g,z=/^(?:script|style|textarea|title)$/i,
|
|
43
|
+
var w;x.finalized=!0,x.elementProperties=new Map,x.elementStyles=[],x.shadowRootOptions={mode:"open"},null==g||g({ReactiveElement:x}),(null!==(u=globalThis.reactiveElementVersions)&&void 0!==u?u:globalThis.reactiveElementVersions=[]).push("1.3.2");const O=globalThis.trustedTypes,$=O?O.createPolicy("lit-html",{createHTML:t=>t}):void 0,S=`lit$${(Math.random()+"").slice(9)}$`,N="?"+S,C=`<${N}>`,R=document,E=(t="")=>R.createComment(t),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,k=/-->/g,L=/>/g,T=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,A=/'/g,P=/"/g,z=/^(?:script|style|textarea|title)$/i,B=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),_=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),j=new WeakMap,W=R.createTreeWalker(R,129,null,!1),H=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=F;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(s.lastIndex=c,l=s.exec(i),null!==l);)c=s.lastIndex,s===F?"!--"===l[1]?s=k:void 0!==l[1]?s=L:void 0!==l[2]?(z.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=T):void 0!==l[3]&&(s=T):s===T?">"===l[0]?(s=null!=n?n:F,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?T:'"'===l[3]?P:A):s===P||s===A?s=T:s===k||s===L?s=F:(s=T,n=void 0);const p=s===T&&t[e+1].startsWith("/>")?" ":"";r+=s===F?i+C:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+S+p):i+S+(-2===h?(o.push(void 0),e):p)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==$?$.createHTML(a):a,o]};class K{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=H(t,e);if(this.el=K.createElement(l,i),W.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=W.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(S)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(S),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?X:"?"===e[1]?G:"@"===e[1]?Q:J})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(z.test(o.tagName)){const t=o.textContent.split(S),e=t.length-1;if(e>0){o.textContent=O?O.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],E()),W.nextNode(),a.push({type:2,index:++n});o.append(t[e],E())}}}else if(8===o.nodeType)if(o.data===N)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(S,t+1));)a.push({type:7,index:n}),t+=S.length-1}n++}}static createElement(t,e){const i=R.createElement("template");return i.innerHTML=t,i}}function I(t,e,i=t,o){var n,r,s,a;if(e===_)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const h=M(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Cl)&&void 0!==s?s:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=I(t,l._$AS(t,e.values),l,o)),e}class V{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:R).importNode(i,!0);W.currentNode=n;let r=W.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new Z(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new Y(r,this,t)),this.v.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=W.nextNode(),s++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Z{constructor(t,e,i,o){var n;this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=I(this,t,e),M(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==_&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return U(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==D&&M(this._$AH)?this._$AA.nextSibling.data=t:this.k(R.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=K.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new V(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=j.get(t.strings);return void 0===e&&j.set(t.strings,e=new K(t)),e}S(t){U(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new Z(this.M(E()),this.M(E()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class J{constructor(t,e,i,o,n){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=D}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=I(this,t,e,0),r=!M(t)||t!==this._$AH&&t!==_,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=I(this,o[i+s],e,s),a===_&&(a=this._$AH[s]),r||(r=!M(a)||a!==this._$AH[s]),a===D?t=D:t!==D&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.C(t)}C(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class X extends J{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===D?void 0:t}}const q=O?O.emptyScript:"";class G extends J{constructor(){super(...arguments),this.type=4}C(t){t&&t!==D?this.element.setAttribute(this.name,q):this.element.removeAttribute(this.name)}}class Q extends J{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=I(this,t,e,0))&&void 0!==i?i:D)===_)return;const o=this._$AH,n=t===D&&o!==D||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==D&&(o===D||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class Y{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){I(this,t)}}const tt=window.litHtmlPolyfillSupport;
|
|
44
44
|
/**
|
|
45
45
|
* @license
|
|
46
46
|
* Copyright 2017 Google LLC
|
|
47
47
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
48
48
|
*/
|
|
49
|
-
var et,it;null==tt||tt(K,Z),(null!==(w=globalThis.litHtmlVersions)&&void 0!==w?w:globalThis.litHtmlVersions=[]).push("2.2.4");class ot extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,n;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new Z(e.insertBefore(E(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return
|
|
49
|
+
var et,it;null==tt||tt(K,Z),(null!==(w=globalThis.litHtmlVersions)&&void 0!==w?w:globalThis.litHtmlVersions=[]).push("2.2.4");class ot extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,n;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new Z(e.insertBefore(E(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return _}}ot.finalized=!0,ot._$litElement$=!0,null===(et=globalThis.litElementHydrateSupport)||void 0===et||et.call(globalThis,{LitElement:ot});const nt=globalThis.litElementPolyfillSupport;null==nt||nt({LitElement:ot}),(null!==(it=globalThis.litElementVersions)&&void 0!==it?it:globalThis.litElementVersions=[]).push("3.2.0");class rt{constructor(t,e,i,o,n){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new rt(t,e,void 0,i)}static extend(t,e,i){return new rt(t,e.category,e,i)}static external(t,e){return new rt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return c`var(${h(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):h(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}const st={colorPrimary:rt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:rt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:rt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:rt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:rt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:rt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:rt.create("--ft-color-error","COLOR","#B00020"),colorOutline:rt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:rt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:rt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:rt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:rt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:rt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:rt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:rt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:rt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:rt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:rt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:rt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:rt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:rt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:rt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:rt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:rt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:rt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:rt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:rt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:rt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:rt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:rt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:rt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:rt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:rt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:rt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:rt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:rt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:rt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:rt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:rt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:rt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:rt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:rt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:rt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:rt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:rt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:rt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:rt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:rt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:rt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:rt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:rt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:rt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:rt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:rt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:rt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:rt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:rt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:rt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:rt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:rt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:rt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:rt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
|
|
50
50
|
/**
|
|
51
51
|
* @license
|
|
52
52
|
* Copyright 2021 Google LLC
|
|
53
53
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
54
|
-
*/class at extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return p(n,this.constructor.elementStyles),n}}}(ot)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),
|
|
55
|
-
${t.map((t=>
|
|
54
|
+
*/class at extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return p(n,this.constructor.elementStyles),n}}}(ot)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),B`
|
|
55
|
+
${t.map((t=>B`
|
|
56
56
|
<style>${t}</style>
|
|
57
57
|
`))}
|
|
58
58
|
${this.getTemplate()}
|
|
@@ -71,7 +71,7 @@ var et,it;null==tt||tt(K,Z),(null!==(w=globalThis.litHtmlVersions)&&void 0!==w?w
|
|
|
71
71
|
* Copyright 2020 Google LLC
|
|
72
72
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
73
|
*/
|
|
74
|
-
const ct=Symbol.for(""),pt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===ct)return null===(i=t)||void 0===i?void 0:i._$litStatic$},ft=t=>({_$litStatic$:t,r:ct}),ut=new Map,dt=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],n=pt(r));)l+=n+e[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(e[o]),c){const t=s.join("$$lit$$");void 0===(e=ut.get(t))&&(s.raw=s,ut.set(t,e=s)),i=a}return t(e,...i)})(
|
|
74
|
+
const ct=Symbol.for(""),pt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===ct)return null===(i=t)||void 0===i?void 0:i._$litStatic$},ft=t=>({_$litStatic$:t,r:ct}),ut=new Map,dt=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],n=pt(r));)l+=n+e[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(e[o]),c){const t=s.join("$$lit$$");void 0===(e=ut.get(t))&&(s.raw=s,ut.set(t,e=s)),i=a}return t(e,...i)})(B);var yt,gt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};!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"}(yt||(yt={}));const vt=rt.extend("--ft-typography-font-family",st.titleFont),mt=rt.extend("--ft-typography-font-family",st.contentFont),bt={fontFamily:mt,fontSize:rt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:rt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:rt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:rt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:rt.create("--ft-typography-text-transform","UNKNOWN","inherit")},xt=rt.extend("--ft-typography-title-font-family",vt),wt=rt.extend("--ft-typography-title-font-size",bt.fontSize,"20px"),Ot=rt.extend("--ft-typography-title-font-weight",bt.fontWeight,"normal"),$t=rt.extend("--ft-typography-title-letter-spacing",bt.letterSpacing,"0.15px"),St=rt.extend("--ft-typography-title-line-height",bt.lineHeight,"1.2"),Nt=rt.extend("--ft-typography-title-text-transform",bt.textTransform,"inherit"),Ct=rt.extend("--ft-typography-title-dense-font-family",vt),Rt=rt.extend("--ft-typography-title-dense-font-size",bt.fontSize,"14px"),Et=rt.extend("--ft-typography-title-dense-font-weight",bt.fontWeight,"normal"),Mt=rt.extend("--ft-typography-title-dense-letter-spacing",bt.letterSpacing,"0.105px"),Ut=rt.extend("--ft-typography-title-dense-line-height",bt.lineHeight,"1.7"),Ft=rt.extend("--ft-typography-title-dense-text-transform",bt.textTransform,"inherit"),kt=rt.extend("--ft-typography-subtitle1-font-family",mt),Lt=rt.extend("--ft-typography-subtitle1-font-size",bt.fontSize,"16px"),Tt=rt.extend("--ft-typography-subtitle1-font-weight",bt.fontWeight,"600"),At=rt.extend("--ft-typography-subtitle1-letter-spacing",bt.letterSpacing,"0.144px"),Pt=rt.extend("--ft-typography-subtitle1-line-height",bt.lineHeight,"1.5"),zt=rt.extend("--ft-typography-subtitle1-text-transform",bt.textTransform,"inherit"),Bt=rt.extend("--ft-typography-subtitle2-font-family",mt),_t=rt.extend("--ft-typography-subtitle2-font-size",bt.fontSize,"14px"),Dt=rt.extend("--ft-typography-subtitle2-font-weight",bt.fontWeight,"normal"),jt=rt.extend("--ft-typography-subtitle2-letter-spacing",bt.letterSpacing,"0.098px"),Wt=rt.extend("--ft-typography-subtitle2-line-height",bt.lineHeight,"1.7"),Ht=rt.extend("--ft-typography-subtitle2-text-transform",bt.textTransform,"inherit"),Kt=rt.extend("--ft-typography-body1-font-family",mt),It=rt.extend("--ft-typography-body1-font-size",bt.fontSize,"16px"),Vt=rt.extend("--ft-typography-body1-font-weight",bt.fontWeight,"normal"),Zt=rt.extend("--ft-typography-body1-letter-spacing",bt.letterSpacing,"0.496px"),Jt=rt.extend("--ft-typography-body1-line-height",bt.lineHeight,"1.5"),Xt=rt.extend("--ft-typography-body1-text-transform",bt.textTransform,"inherit"),qt=rt.extend("--ft-typography-body2-font-family",mt),Gt=rt.extend("--ft-typography-body2-font-size",bt.fontSize,"14px"),Qt=rt.extend("--ft-typography-body2-font-weight",bt.fontWeight,"normal"),Yt=rt.extend("--ft-typography-body2-letter-spacing",bt.letterSpacing,"0.252px"),te=rt.extend("--ft-typography-body2-line-height",bt.lineHeight,"1.4"),ee=rt.extend("--ft-typography-body2-text-transform",bt.textTransform,"inherit"),ie=rt.extend("--ft-typography-caption-font-family",mt),oe=rt.extend("--ft-typography-caption-font-size",bt.fontSize,"12px"),ne=rt.extend("--ft-typography-caption-font-weight",bt.fontWeight,"normal"),re=rt.extend("--ft-typography-caption-letter-spacing",bt.letterSpacing,"0.396px"),se=rt.extend("--ft-typography-caption-line-height",bt.lineHeight,"1.33"),ae=rt.extend("--ft-typography-caption-text-transform",bt.textTransform,"inherit"),le=rt.extend("--ft-typography-breadcrumb-font-family",mt),he=rt.extend("--ft-typography-breadcrumb-font-size",bt.fontSize,"10px"),ce=rt.extend("--ft-typography-breadcrumb-font-weight",bt.fontWeight,"normal"),pe=rt.extend("--ft-typography-breadcrumb-letter-spacing",bt.letterSpacing,"0.33px"),fe=rt.extend("--ft-typography-breadcrumb-line-height",bt.lineHeight,"1.6"),ue=rt.extend("--ft-typography-breadcrumb-text-transform",bt.textTransform,"inherit"),de=rt.extend("--ft-typography-overline-font-family",mt),ye=rt.extend("--ft-typography-overline-font-size",bt.fontSize,"10px"),ge=rt.extend("--ft-typography-overline-font-weight",bt.fontWeight,"normal"),ve=rt.extend("--ft-typography-overline-letter-spacing",bt.letterSpacing,"1.5px"),me=rt.extend("--ft-typography-overline-line-height",bt.lineHeight,"1.6"),be=rt.extend("--ft-typography-overline-text-transform",bt.textTransform,"uppercase"),xe=rt.extend("--ft-typography-button-font-family",mt),we=rt.extend("--ft-typography-button-font-size",bt.fontSize,"14px"),Oe=rt.extend("--ft-typography-button-font-weight",bt.fontWeight,"600"),$e=rt.extend("--ft-typography-button-letter-spacing",bt.letterSpacing,"1.246px"),Se=rt.extend("--ft-typography-button-line-height",bt.lineHeight,"1.15"),Ne=rt.extend("--ft-typography-button-text-transform",bt.textTransform,"uppercase"),Ce=c`
|
|
75
75
|
.ft-typography--title {
|
|
76
76
|
font-family: ${xt};
|
|
77
77
|
font-size: ${wt};
|
|
@@ -100,8 +100,8 @@ const ct=Symbol.for(""),pt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
|
|
|
100
100
|
}
|
|
101
101
|
`,Me=c`
|
|
102
102
|
.ft-typography--subtitle2 {
|
|
103
|
-
font-family: ${
|
|
104
|
-
font-size: ${
|
|
103
|
+
font-family: ${Bt};
|
|
104
|
+
font-size: ${_t};
|
|
105
105
|
font-weight: ${Dt};
|
|
106
106
|
letter-spacing: ${jt};
|
|
107
107
|
line-height: ${Wt};
|
|
@@ -173,7 +173,7 @@ const ct=Symbol.for(""),pt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
|
|
|
173
173
|
.ft-typography {
|
|
174
174
|
vertical-align: inherit;
|
|
175
175
|
}
|
|
176
|
-
`],gt([i()],Pe.prototype,"element",void 0),gt([i()],Pe.prototype,"variant",void 0),n("ft-typography")(Pe);var ze=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const
|
|
176
|
+
`],gt([i()],Pe.prototype,"element",void 0),gt([i()],Pe.prototype,"variant",void 0),n("ft-typography")(Pe);var ze=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const Be={textColor:rt.external(st.colorOnSurfaceHigh,"Design system"),titleColor:rt.external(st.colorOnSurfaceMedium,"Design system")};class _e extends at{constructor(){super(...arguments),this.label="Trend",this.currentValue=3,this.previousValue=2}getTrendIcon(){return this.currentValue==this.previousValue?"→":this.currentValue>this.previousValue?"↗":"↘"}getTrendPercentage(){let t=(this.currentValue-this.previousValue)/this.previousValue,e=Math.round(100*t);return`${e>=0?"+":"-"}${Math.abs(e)}%`}render(){return 0==this.previousValue?B`
|
|
177
177
|
<div class="ft-trend">
|
|
178
178
|
<ft-typography variant="subtitle2">
|
|
179
179
|
${this.label}
|
|
@@ -184,7 +184,7 @@ const ct=Symbol.for(""),pt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
|
|
|
184
184
|
</ft-typography>
|
|
185
185
|
</div>
|
|
186
186
|
</div>
|
|
187
|
-
`:
|
|
187
|
+
`:B`
|
|
188
188
|
<div class="ft-trend">
|
|
189
189
|
<ft-typography variant="subtitle2">
|
|
190
190
|
${this.label}
|
|
@@ -199,13 +199,13 @@ const ct=Symbol.for(""),pt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
|
|
|
199
199
|
</ft-typography>
|
|
200
200
|
</div>
|
|
201
201
|
</div>
|
|
202
|
-
`}}
|
|
202
|
+
`}}_e.elementDefinitions={"ft-typography":Pe},_e.styles=c`
|
|
203
203
|
.ft-trend {
|
|
204
204
|
text-align: center;
|
|
205
|
-
color: ${
|
|
205
|
+
color: ${Be.textColor};
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
.ft-trend > div {
|
|
209
209
|
padding-top: 5px;
|
|
210
210
|
}
|
|
211
|
-
`,ze([i({type:String})],
|
|
211
|
+
`,ze([i({type:String})],_e.prototype,"label",void 0),ze([i({type:Number})],_e.prototype,"currentValue",void 0),ze([i({type:Number})],_e.prototype,"previousValue",void 0),n("ft-trend")(_e),t.FtTrend=_e,t.FtTrendCssVariables=Be,Object.defineProperty(t,"t",{value:!0})}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-trend",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.16",
|
|
4
4
|
"description": "Single stat value with a trend",
|
|
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.2.
|
|
23
|
-
"@fluid-topics/ft-wc-utils": "^0.2.
|
|
22
|
+
"@fluid-topics/ft-typography": "^0.2.16",
|
|
23
|
+
"@fluid-topics/ft-wc-utils": "^0.2.16",
|
|
24
24
|
"lit": "2.1.3"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "d57a682474d27df7e667d8616a2fbca7643d51c2"
|
|
27
27
|
}
|