@fluid-topics/ft-card 0.3.15 → 0.3.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,7 +57,7 @@ const l=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShad
57
57
  * Copyright 2017 Google LLC
58
58
  * SPDX-License-Identifier: BSD-3-Clause
59
59
  */
60
- var S;O.finalized=!0,O.elementProperties=new Map,O.elementStyles=[],O.shadowRootOptions={mode:"open"},null==m||m({ReactiveElement:O}),(null!==(g=globalThis.reactiveElementVersions)&&void 0!==g?g:globalThis.reactiveElementVersions=[]).push("1.3.4");const N=globalThis.trustedTypes,E=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,C="?"+R,k=`<${C}>`,M=document,U=(t="")=>M.createComment(t),F=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,L=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,z=/>/g,B=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),D=/'/g,j=/"/g,_=/^(?:script|style|textarea|title)$/i,T=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),W=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),K=new WeakMap,I=M.createTreeWalker(M,129,null,!1),Z=(t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",n=L;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,p=0;for(;p<i.length&&(n.lastIndex=p,l=n.exec(i),null!==l);)p=n.lastIndex,n===L?"!--"===l[1]?n=P:void 0!==l[1]?n=z:void 0!==l[2]?(_.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=B):void 0!==l[3]&&(n=B):n===B?">"===l[0]?(n=null!=r?r:L,h=-1):void 0===l[1]?h=-2:(h=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?B:'"'===l[3]?j:D):n===j||n===D?n=B:n===P||n===z?n=L:(n=B,r=void 0);const c=n===B&&t[e+1].startsWith("/>")?" ":"";s+=n===L?i+k:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+R+c):i+R+(-2===h?(o.push(void 0),e):c)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==E?E.createHTML(a):a,o]};class V{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,s=0;const n=t.length-1,a=this.parts,[l,h]=Z(t,e);if(this.el=V.createElement(l,i),I.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=I.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(R)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(R),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?G:"?"===e[1]?tt:"@"===e[1]?et:Y})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(_.test(o.tagName)){const t=o.textContent.split(R),e=t.length-1;if(e>0){o.textContent=N?N.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),I.nextNode(),a.push({type:2,index:++r});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===C)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(R,t+1));)a.push({type:7,index:r}),t+=R.length-1}r++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function J(t,e,i=t,o){var r,s,n,a;if(e===W)return e;let l=void 0!==o?null===(r=i._$Cl)||void 0===r?void 0:r[o]:i._$Cu;const h=F(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(n=(a=i)._$Cl)&&void 0!==n?n:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=J(t,l._$AS(t,e.values),l,o)),e}class X{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,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:M).importNode(i,!0);I.currentNode=r;let s=I.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new q(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new it(s,this,t)),this.v.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(s=I.nextNode(),n++)}return r}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 q{constructor(t,e,i,o){var r;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}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=J(this,t,e),F(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==W&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>A(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==H&&F(this._$AH)?this._$AA.nextSibling.data=t:this.k(M.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=V.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.m(i);else{const t=new X(r,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new V(t)),e}S(t){A(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new q(this.j(U()),this.j(U()),this,this.options)):i=e[o],i._$AI(r),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._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Y{constructor(t,e,i,o,r){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=H}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const r=this.strings;let s=!1;if(void 0===r)t=J(this,t,e,0),s=!F(t)||t!==this._$AH&&t!==W,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=J(this,o[i+n],e,n),a===W&&(a=this._$AH[n]),s||(s=!F(a)||a!==this._$AH[n]),a===H?t=H:t!==H&&(t+=(null!=a?a:"")+r[n+1]),this._$AH[n]=a}s&&!o&&this.P(t)}P(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class G extends Y{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===H?void 0:t}}const Q=N?N.emptyScript:"";class tt extends Y{constructor(){super(...arguments),this.type=4}P(t){t&&t!==H?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class et extends Y{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=J(this,t,e,0))&&void 0!==i?i:H)===W)return;const o=this._$AH,r=t===H&&o!==H||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==H&&(o===H||r);r&&this.element.removeEventListener(this.name,this,o),s&&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 it{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){J(this,t)}}const ot=window.litHtmlPolyfillSupport;
60
+ var S;O.finalized=!0,O.elementProperties=new Map,O.elementStyles=[],O.shadowRootOptions={mode:"open"},null==m||m({ReactiveElement:O}),(null!==(g=globalThis.reactiveElementVersions)&&void 0!==g?g:globalThis.reactiveElementVersions=[]).push("1.3.4");const N=globalThis.trustedTypes,k=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,C=`<${R}>`,M=document,U=(t="")=>M.createComment(t),F=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,L=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,z=/-->/g,P=/>/g,B=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),D=/'/g,j=/"/g,_=/^(?:script|style|textarea|title)$/i,T=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),W=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),K=new WeakMap,I=M.createTreeWalker(M,129,null,!1),Z=(t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",n=L;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,p=0;for(;p<i.length&&(n.lastIndex=p,l=n.exec(i),null!==l);)p=n.lastIndex,n===L?"!--"===l[1]?n=z:void 0!==l[1]?n=P:void 0!==l[2]?(_.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=B):void 0!==l[3]&&(n=B):n===B?">"===l[0]?(n=null!=r?r:L,h=-1):void 0===l[1]?h=-2:(h=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?B:'"'===l[3]?j:D):n===j||n===D?n=B:n===z||n===P?n=L:(n=B,r=void 0);const c=n===B&&t[e+1].startsWith("/>")?" ":"";s+=n===L?i+C:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+E+c):i+E+(-2===h?(o.push(void 0),e):c)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==k?k.createHTML(a):a,o]};class V{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,s=0;const n=t.length-1,a=this.parts,[l,h]=Z(t,e);if(this.el=V.createElement(l,i),I.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=I.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(E)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(E),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?G:"?"===e[1]?tt:"@"===e[1]?et:Y})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(_.test(o.tagName)){const t=o.textContent.split(E),e=t.length-1;if(e>0){o.textContent=N?N.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),I.nextNode(),a.push({type:2,index:++r});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===R)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(E,t+1));)a.push({type:7,index:r}),t+=E.length-1}r++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function J(t,e,i=t,o){var r,s,n,a;if(e===W)return e;let l=void 0!==o?null===(r=i._$Cl)||void 0===r?void 0:r[o]:i._$Cu;const h=F(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(n=(a=i)._$Cl)&&void 0!==n?n:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=J(t,l._$AS(t,e.values),l,o)),e}class X{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,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:M).importNode(i,!0);I.currentNode=r;let s=I.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new q(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new it(s,this,t)),this.v.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(s=I.nextNode(),n++)}return r}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 q{constructor(t,e,i,o){var r;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}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=J(this,t,e),F(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==W&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>A(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==H&&F(this._$AH)?this._$AA.nextSibling.data=t:this.k(M.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=V.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.m(i);else{const t=new X(r,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new V(t)),e}S(t){A(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new q(this.j(U()),this.j(U()),this,this.options)):i=e[o],i._$AI(r),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._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Y{constructor(t,e,i,o,r){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=H}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const r=this.strings;let s=!1;if(void 0===r)t=J(this,t,e,0),s=!F(t)||t!==this._$AH&&t!==W,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=J(this,o[i+n],e,n),a===W&&(a=this._$AH[n]),s||(s=!F(a)||a!==this._$AH[n]),a===H?t=H:t!==H&&(t+=(null!=a?a:"")+r[n+1]),this._$AH[n]=a}s&&!o&&this.P(t)}P(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class G extends Y{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===H?void 0:t}}const Q=N?N.emptyScript:"";class tt extends Y{constructor(){super(...arguments),this.type=4}P(t){t&&t!==H?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class et extends Y{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=J(this,t,e,0))&&void 0!==i?i:H)===W)return;const o=this._$AH,r=t===H&&o!==H||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==H&&(o===H||r);r&&this.element.removeEventListener(this.name,this,o),s&&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 it{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){J(this,t)}}const ot=window.litHtmlPolyfillSupport;
61
61
  /**
62
62
  * @license
63
63
  * Copyright 2017 Google LLC
@@ -82,6 +82,18 @@ var rt,st;null==ot||ot(V,q),(null!==(S=globalThis.litHtmlVersions)&&void 0!==S?S
82
82
  -ms-user-select: none;
83
83
  user-select: none;
84
84
  }
85
+ `,d`
86
+ .ft-word-wrap {
87
+ white-space: normal;
88
+ word-wrap: break-word;
89
+ -ms-word-break: break-all;
90
+ word-break: break-all;
91
+ word-break: break-word;
92
+ -ms-hyphens: auto;
93
+ -moz-hyphens: auto;
94
+ -webkit-hyphens: auto;
95
+ hyphens: auto
96
+ }
85
97
  `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(ct=null===(pt=window.safari)||void 0===pt?void 0:pt.pushNotification)||void 0===ct||ct.toString());
86
98
  /**
87
99
  * @license
@@ -94,7 +106,7 @@ const ut=1;
94
106
  * Copyright 2018 Google LLC
95
107
  * SPDX-License-Identifier: BSD-3-Clause
96
108
  */
97
- const yt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){var e;if(super(t),t.type!==ut||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const r=t.element.classList;this.nt.forEach((t=>{t in e||(r.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(r.add(t),this.nt.add(t)):(r.remove(t),this.nt.delete(t)))}return W}}),gt=lt.extend("--ft-ripple-color",ht.colorContent),vt=gt,bt=lt.extend("--ft-ripple-background-color",gt),mt=lt.external(ht.opacityContentOnSurfacePressed,"Design system"),xt=lt.external(ht.opacityContentOnSurfaceHover,"Design system"),wt=lt.external(ht.opacityContentOnSurfaceFocused,"Design system"),$t=lt.external(ht.opacityContentOnSurfaceSelected,"Design system"),Ot=lt.extend("--ft-ripple-color",ht.colorPrimary),St=Ot,Nt=lt.extend("--ft-ripple-background-color",Ot),Et=lt.extend("--ft-ripple-color",ht.colorSecondary),Rt=Et,Ct=lt.extend("--ft-ripple-background-color",Et),kt=d`
109
+ const yt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){var e;if(super(t),t.type!==ut||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const r=t.element.classList;this.nt.forEach((t=>{t in e||(r.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(r.add(t),this.nt.add(t)):(r.remove(t),this.nt.delete(t)))}return W}}),gt=lt.extend("--ft-ripple-color",ht.colorContent),vt=gt,bt=lt.extend("--ft-ripple-background-color",gt),mt=lt.external(ht.opacityContentOnSurfacePressed,"Design system"),xt=lt.external(ht.opacityContentOnSurfaceHover,"Design system"),wt=lt.external(ht.opacityContentOnSurfaceFocused,"Design system"),$t=lt.external(ht.opacityContentOnSurfaceSelected,"Design system"),Ot=lt.extend("--ft-ripple-color",ht.colorPrimary),St=Ot,Nt=lt.extend("--ft-ripple-background-color",Ot),kt=lt.extend("--ft-ripple-color",ht.colorSecondary),Et=kt,Rt=lt.extend("--ft-ripple-background-color",kt),Ct=d`
98
110
  :host {
99
111
  display: contents;
100
112
  }
@@ -124,11 +136,11 @@ const yt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constru
124
136
  }
125
137
 
126
138
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
127
- background-color: ${Ct};
139
+ background-color: ${Rt};
128
140
  }
129
141
 
130
142
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
131
- background-color: ${Rt};
143
+ background-color: ${Et};
132
144
  }
133
145
 
134
146
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
@@ -200,13 +212,13 @@ const yt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constru
200
212
  <div class="ft-ripple--background"></div>
201
213
  <div class="ft-ripple--effect"></div>
202
214
  </div>
203
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,r;return null!=e.x?({x:o,y:r}=e):null!=i.touches&&(o=i.touches[0].clientX,r=i.touches[0].clientY),{x:o,y:r}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Ut.elementDefinitions={},Ut.styles=kt,Mt([o({type:Boolean})],Ut.prototype,"primary",void 0),Mt([o({type:Boolean})],Ut.prototype,"secondary",void 0),Mt([o({type:Boolean})],Ut.prototype,"unbounded",void 0),Mt([o({type:Boolean})],Ut.prototype,"activated",void 0),Mt([o({type:Boolean})],Ut.prototype,"selected",void 0),Mt([o({type:Boolean})],Ut.prototype,"disabled",void 0),Mt([r()],Ut.prototype,"hovered",void 0),Mt([r()],Ut.prototype,"focused",void 0),Mt([r()],Ut.prototype,"pressed",void 0),Mt([r()],Ut.prototype,"rippling",void 0),Mt([r()],Ut.prototype,"rippleSize",void 0),Mt([r()],Ut.prototype,"originX",void 0),Mt([r()],Ut.prototype,"originY",void 0),Mt([s(".ft-ripple")],Ut.prototype,"ripple",void 0),Mt([s(".ft-ripple--effect")],Ut.prototype,"rippleEffect",void 0),a("ft-ripple")(Ut);
215
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,r;return null!=e.x?({x:o,y:r}=e):null!=i.touches&&(o=i.touches[0].clientX,r=i.touches[0].clientY),{x:o,y:r}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Ut.elementDefinitions={},Ut.styles=Ct,Mt([o({type:Boolean})],Ut.prototype,"primary",void 0),Mt([o({type:Boolean})],Ut.prototype,"secondary",void 0),Mt([o({type:Boolean})],Ut.prototype,"unbounded",void 0),Mt([o({type:Boolean})],Ut.prototype,"activated",void 0),Mt([o({type:Boolean})],Ut.prototype,"selected",void 0),Mt([o({type:Boolean})],Ut.prototype,"disabled",void 0),Mt([r()],Ut.prototype,"hovered",void 0),Mt([r()],Ut.prototype,"focused",void 0),Mt([r()],Ut.prototype,"pressed",void 0),Mt([r()],Ut.prototype,"rippling",void 0),Mt([r()],Ut.prototype,"rippleSize",void 0),Mt([r()],Ut.prototype,"originX",void 0),Mt([r()],Ut.prototype,"originY",void 0),Mt([s(".ft-ripple")],Ut.prototype,"ripple",void 0),Mt([s(".ft-ripple--effect")],Ut.prototype,"rippleEffect",void 0),a("ft-ripple")(Ut);
204
216
  /**
205
217
  * @license
206
218
  * Copyright 2020 Google LLC
207
219
  * SPDX-License-Identifier: BSD-3-Clause
208
220
  */
209
- const Ft=Symbol.for(""),At=t=>{if((null==t?void 0:t.r)===Ft)return null==t?void 0:t._$litStatic$},Lt=t=>({_$litStatic$:t,r:Ft}),Pt=new Map,zt=(t=>(e,...i)=>{const o=i.length;let r,s;const n=[],a=[];let l,h=0,p=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],r=At(s));)l+=r+e[++h],p=!0;a.push(s),n.push(l),h++}if(h===o&&n.push(e[o]),p){const t=n.join("$$lit$$");void 0===(e=Pt.get(t))&&(n.raw=n,Pt.set(t,e=n)),i=a}return t(e,...i)})(T);var Bt;!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"}(Bt||(Bt={}));const Dt=lt.extend("--ft-typography-font-family",ht.titleFont),jt=lt.extend("--ft-typography-font-family",ht.contentFont),_t={fontFamily:jt,fontSize:lt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:lt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:lt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:lt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:lt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Tt=lt.extend("--ft-typography-title-font-family",Dt),Wt=lt.extend("--ft-typography-title-font-size",_t.fontSize,"20px"),Ht=lt.extend("--ft-typography-title-font-weight",_t.fontWeight,"normal"),Kt=lt.extend("--ft-typography-title-letter-spacing",_t.letterSpacing,"0.15px"),It=lt.extend("--ft-typography-title-line-height",_t.lineHeight,"1.2"),Zt=lt.extend("--ft-typography-title-text-transform",_t.textTransform,"inherit"),Vt=lt.extend("--ft-typography-title-dense-font-family",Dt),Jt=lt.extend("--ft-typography-title-dense-font-size",_t.fontSize,"14px"),Xt=lt.extend("--ft-typography-title-dense-font-weight",_t.fontWeight,"normal"),qt=lt.extend("--ft-typography-title-dense-letter-spacing",_t.letterSpacing,"0.105px"),Yt=lt.extend("--ft-typography-title-dense-line-height",_t.lineHeight,"1.7"),Gt=lt.extend("--ft-typography-title-dense-text-transform",_t.textTransform,"inherit"),Qt=lt.extend("--ft-typography-subtitle1-font-family",jt),te=lt.extend("--ft-typography-subtitle1-font-size",_t.fontSize,"16px"),ee=lt.extend("--ft-typography-subtitle1-font-weight",_t.fontWeight,"600"),ie=lt.extend("--ft-typography-subtitle1-letter-spacing",_t.letterSpacing,"0.144px"),oe=lt.extend("--ft-typography-subtitle1-line-height",_t.lineHeight,"1.5"),re=lt.extend("--ft-typography-subtitle1-text-transform",_t.textTransform,"inherit"),se=lt.extend("--ft-typography-subtitle2-font-family",jt),ne=lt.extend("--ft-typography-subtitle2-font-size",_t.fontSize,"14px"),ae=lt.extend("--ft-typography-subtitle2-font-weight",_t.fontWeight,"normal"),le=lt.extend("--ft-typography-subtitle2-letter-spacing",_t.letterSpacing,"0.098px"),he=lt.extend("--ft-typography-subtitle2-line-height",_t.lineHeight,"1.7"),pe=lt.extend("--ft-typography-subtitle2-text-transform",_t.textTransform,"inherit"),ce=lt.extend("--ft-typography-body1-font-family",jt),fe=lt.extend("--ft-typography-body1-font-size",_t.fontSize,"16px"),de=lt.extend("--ft-typography-body1-font-weight",_t.fontWeight,"normal"),ue=lt.extend("--ft-typography-body1-letter-spacing",_t.letterSpacing,"0.496px"),ye=lt.extend("--ft-typography-body1-line-height",_t.lineHeight,"1.5"),ge=lt.extend("--ft-typography-body1-text-transform",_t.textTransform,"inherit"),ve=lt.extend("--ft-typography-body2-font-family",jt),be=lt.extend("--ft-typography-body2-font-size",_t.fontSize,"14px"),me=lt.extend("--ft-typography-body2-font-weight",_t.fontWeight,"normal"),xe=lt.extend("--ft-typography-body2-letter-spacing",_t.letterSpacing,"0.252px"),we=lt.extend("--ft-typography-body2-line-height",_t.lineHeight,"1.4"),$e=lt.extend("--ft-typography-body2-text-transform",_t.textTransform,"inherit"),Oe=lt.extend("--ft-typography-caption-font-family",jt),Se=lt.extend("--ft-typography-caption-font-size",_t.fontSize,"12px"),Ne=lt.extend("--ft-typography-caption-font-weight",_t.fontWeight,"normal"),Ee=lt.extend("--ft-typography-caption-letter-spacing",_t.letterSpacing,"0.396px"),Re=lt.extend("--ft-typography-caption-line-height",_t.lineHeight,"1.33"),Ce=lt.extend("--ft-typography-caption-text-transform",_t.textTransform,"inherit"),ke=lt.extend("--ft-typography-breadcrumb-font-family",jt),Me=lt.extend("--ft-typography-breadcrumb-font-size",_t.fontSize,"10px"),Ue=lt.extend("--ft-typography-breadcrumb-font-weight",_t.fontWeight,"normal"),Fe=lt.extend("--ft-typography-breadcrumb-letter-spacing",_t.letterSpacing,"0.33px"),Ae=lt.extend("--ft-typography-breadcrumb-line-height",_t.lineHeight,"1.6"),Le=lt.extend("--ft-typography-breadcrumb-text-transform",_t.textTransform,"inherit"),Pe=lt.extend("--ft-typography-overline-font-family",jt),ze=lt.extend("--ft-typography-overline-font-size",_t.fontSize,"10px"),Be=lt.extend("--ft-typography-overline-font-weight",_t.fontWeight,"normal"),De=lt.extend("--ft-typography-overline-letter-spacing",_t.letterSpacing,"1.5px"),je=lt.extend("--ft-typography-overline-line-height",_t.lineHeight,"1.6"),_e=lt.extend("--ft-typography-overline-text-transform",_t.textTransform,"uppercase"),Te=lt.extend("--ft-typography-button-font-family",jt),We=lt.extend("--ft-typography-button-font-size",_t.fontSize,"14px"),He=lt.extend("--ft-typography-button-font-weight",_t.fontWeight,"600"),Ke=lt.extend("--ft-typography-button-letter-spacing",_t.letterSpacing,"1.246px"),Ie=lt.extend("--ft-typography-button-line-height",_t.lineHeight,"1.15"),Ze=lt.extend("--ft-typography-button-text-transform",_t.textTransform,"uppercase"),Ve=d`
221
+ const Ft=Symbol.for(""),At=t=>{if((null==t?void 0:t.r)===Ft)return null==t?void 0:t._$litStatic$},Lt=t=>({_$litStatic$:t,r:Ft}),zt=new Map,Pt=(t=>(e,...i)=>{const o=i.length;let r,s;const n=[],a=[];let l,h=0,p=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],r=At(s));)l+=r+e[++h],p=!0;a.push(s),n.push(l),h++}if(h===o&&n.push(e[o]),p){const t=n.join("$$lit$$");void 0===(e=zt.get(t))&&(n.raw=n,zt.set(t,e=n)),i=a}return t(e,...i)})(T);var Bt;!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"}(Bt||(Bt={}));const Dt=lt.extend("--ft-typography-font-family",ht.titleFont),jt=lt.extend("--ft-typography-font-family",ht.contentFont),_t={fontFamily:jt,fontSize:lt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:lt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:lt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:lt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:lt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Tt=lt.extend("--ft-typography-title-font-family",Dt),Wt=lt.extend("--ft-typography-title-font-size",_t.fontSize,"20px"),Ht=lt.extend("--ft-typography-title-font-weight",_t.fontWeight,"normal"),Kt=lt.extend("--ft-typography-title-letter-spacing",_t.letterSpacing,"0.15px"),It=lt.extend("--ft-typography-title-line-height",_t.lineHeight,"1.2"),Zt=lt.extend("--ft-typography-title-text-transform",_t.textTransform,"inherit"),Vt=lt.extend("--ft-typography-title-dense-font-family",Dt),Jt=lt.extend("--ft-typography-title-dense-font-size",_t.fontSize,"14px"),Xt=lt.extend("--ft-typography-title-dense-font-weight",_t.fontWeight,"normal"),qt=lt.extend("--ft-typography-title-dense-letter-spacing",_t.letterSpacing,"0.105px"),Yt=lt.extend("--ft-typography-title-dense-line-height",_t.lineHeight,"1.7"),Gt=lt.extend("--ft-typography-title-dense-text-transform",_t.textTransform,"inherit"),Qt=lt.extend("--ft-typography-subtitle1-font-family",jt),te=lt.extend("--ft-typography-subtitle1-font-size",_t.fontSize,"16px"),ee=lt.extend("--ft-typography-subtitle1-font-weight",_t.fontWeight,"600"),ie=lt.extend("--ft-typography-subtitle1-letter-spacing",_t.letterSpacing,"0.144px"),oe=lt.extend("--ft-typography-subtitle1-line-height",_t.lineHeight,"1.5"),re=lt.extend("--ft-typography-subtitle1-text-transform",_t.textTransform,"inherit"),se=lt.extend("--ft-typography-subtitle2-font-family",jt),ne=lt.extend("--ft-typography-subtitle2-font-size",_t.fontSize,"14px"),ae=lt.extend("--ft-typography-subtitle2-font-weight",_t.fontWeight,"normal"),le=lt.extend("--ft-typography-subtitle2-letter-spacing",_t.letterSpacing,"0.098px"),he=lt.extend("--ft-typography-subtitle2-line-height",_t.lineHeight,"1.7"),pe=lt.extend("--ft-typography-subtitle2-text-transform",_t.textTransform,"inherit"),ce=lt.extend("--ft-typography-body1-font-family",jt),fe=lt.extend("--ft-typography-body1-font-size",_t.fontSize,"16px"),de=lt.extend("--ft-typography-body1-font-weight",_t.fontWeight,"normal"),ue=lt.extend("--ft-typography-body1-letter-spacing",_t.letterSpacing,"0.496px"),ye=lt.extend("--ft-typography-body1-line-height",_t.lineHeight,"1.5"),ge=lt.extend("--ft-typography-body1-text-transform",_t.textTransform,"inherit"),ve=lt.extend("--ft-typography-body2-font-family",jt),be=lt.extend("--ft-typography-body2-font-size",_t.fontSize,"14px"),me=lt.extend("--ft-typography-body2-font-weight",_t.fontWeight,"normal"),xe=lt.extend("--ft-typography-body2-letter-spacing",_t.letterSpacing,"0.252px"),we=lt.extend("--ft-typography-body2-line-height",_t.lineHeight,"1.4"),$e=lt.extend("--ft-typography-body2-text-transform",_t.textTransform,"inherit"),Oe=lt.extend("--ft-typography-caption-font-family",jt),Se=lt.extend("--ft-typography-caption-font-size",_t.fontSize,"12px"),Ne=lt.extend("--ft-typography-caption-font-weight",_t.fontWeight,"normal"),ke=lt.extend("--ft-typography-caption-letter-spacing",_t.letterSpacing,"0.396px"),Ee=lt.extend("--ft-typography-caption-line-height",_t.lineHeight,"1.33"),Re=lt.extend("--ft-typography-caption-text-transform",_t.textTransform,"inherit"),Ce=lt.extend("--ft-typography-breadcrumb-font-family",jt),Me=lt.extend("--ft-typography-breadcrumb-font-size",_t.fontSize,"10px"),Ue=lt.extend("--ft-typography-breadcrumb-font-weight",_t.fontWeight,"normal"),Fe=lt.extend("--ft-typography-breadcrumb-letter-spacing",_t.letterSpacing,"0.33px"),Ae=lt.extend("--ft-typography-breadcrumb-line-height",_t.lineHeight,"1.6"),Le=lt.extend("--ft-typography-breadcrumb-text-transform",_t.textTransform,"inherit"),ze=lt.extend("--ft-typography-overline-font-family",jt),Pe=lt.extend("--ft-typography-overline-font-size",_t.fontSize,"10px"),Be=lt.extend("--ft-typography-overline-font-weight",_t.fontWeight,"normal"),De=lt.extend("--ft-typography-overline-letter-spacing",_t.letterSpacing,"1.5px"),je=lt.extend("--ft-typography-overline-line-height",_t.lineHeight,"1.6"),_e=lt.extend("--ft-typography-overline-text-transform",_t.textTransform,"uppercase"),Te=lt.extend("--ft-typography-button-font-family",jt),We=lt.extend("--ft-typography-button-font-size",_t.fontSize,"14px"),He=lt.extend("--ft-typography-button-font-weight",_t.fontWeight,"600"),Ke=lt.extend("--ft-typography-button-letter-spacing",_t.letterSpacing,"1.246px"),Ie=lt.extend("--ft-typography-button-line-height",_t.lineHeight,"1.15"),Ze=lt.extend("--ft-typography-button-text-transform",_t.textTransform,"uppercase"),Ve=d`
210
222
  .ft-typography--title {
211
223
  font-family: ${Tt};
212
224
  font-size: ${Wt};
@@ -266,13 +278,13 @@ const Ft=Symbol.for(""),At=t=>{if((null==t?void 0:t.r)===Ft)return null==t?void
266
278
  font-family: ${Oe};
267
279
  font-size: ${Se};
268
280
  font-weight: ${Ne};
269
- letter-spacing: ${Ee};
270
- line-height: ${Re};
271
- text-transform: ${Ce};
281
+ letter-spacing: ${ke};
282
+ line-height: ${Ee};
283
+ text-transform: ${Re};
272
284
  }
273
285
  `,ti=d`
274
286
  .ft-typography--breadcrumb {
275
- font-family: ${ke};
287
+ font-family: ${Ce};
276
288
  font-size: ${Me};
277
289
  font-weight: ${Ue};
278
290
  letter-spacing: ${Fe};
@@ -281,8 +293,8 @@ const Ft=Symbol.for(""),At=t=>{if((null==t?void 0:t.r)===Ft)return null==t?void
281
293
  }
282
294
  `,ei=d`
283
295
  .ft-typography--overline {
284
- font-family: ${Pe};
285
- font-size: ${ze};
296
+ font-family: ${ze};
297
+ font-size: ${Pe};
286
298
  font-weight: ${Be};
287
299
  letter-spacing: ${De};
288
300
  line-height: ${je};
@@ -301,12 +313,12 @@ const Ft=Symbol.for(""),At=t=>{if((null==t?void 0:t.r)===Ft)return null==t?void
301
313
  .ft-typography {
302
314
  vertical-align: inherit;
303
315
  }
304
- `;var ri=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class si extends dt{constructor(){super(...arguments),this.variant=Bt.body1}render(){return this.element?zt`
316
+ `;var ri=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class si extends dt{constructor(){super(...arguments),this.variant=Bt.body1}render(){return this.element?Pt`
305
317
  <${Lt(this.element)}
306
318
  class="ft-typography ft-typography--${this.variant}">
307
319
  <slot></slot>
308
320
  </${Lt(this.element)}>
309
- `:zt`
321
+ `:Pt`
310
322
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
311
323
  `}}si.styles=[Ve,Je,Xe,qe,Ye,Ge,Qe,ti,ei,ii,oi],ri([o()],si.prototype,"element",void 0),ri([o()],si.prototype,"variant",void 0),a("ft-typography")(si);const ni={padding:lt.create("--ft-card-padding","SIZE","12px"),colorPrimary:lt.external(ht.colorPrimary,"Design system"),colorSurface:lt.external(ht.colorSurface,"Design system"),colorOnSurfaceMedium:lt.external(ht.colorOnSurfaceMedium,"Design system"),colorOnSurfaceHigh:lt.external(ht.colorOnSurfaceHigh,"Design system"),borderRadiusM:lt.external(ht.borderRadiusM,"Design system"),elevation02:lt.external(ht.elevation02,"Design system"),elevation04:lt.external(ht.elevation04,"Design system")},ai=d`
312
324
  :host {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-card",
3
- "version": "0.3.15",
3
+ "version": "0.3.16",
4
4
  "description": "A file uploader with drag and drop",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,10 +19,10 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-ripple": "0.3.15",
23
- "@fluid-topics/ft-typography": "0.3.15",
24
- "@fluid-topics/ft-wc-utils": "0.3.15",
22
+ "@fluid-topics/ft-ripple": "0.3.16",
23
+ "@fluid-topics/ft-typography": "0.3.16",
24
+ "@fluid-topics/ft-wc-utils": "0.3.16",
25
25
  "lit": "2.2.8"
26
26
  },
27
- "gitHead": "067add51b15dae11774878d4fcee1dfc734d00fa"
27
+ "gitHead": "0d05a101f09cb5819ee10930772a873e7e0cc87b"
28
28
  }