@fluid-topics/ft-text-field 0.3.48 → 0.3.49

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.
@@ -3,6 +3,7 @@ import { designSystemVariables, FtCssVariableFactory, setVariable } from "@fluid
3
3
  import { FtTypographyBody1CssVariables } from "@fluid-topics/ft-typography/build/ft-typography.css";
4
4
  import { FtInputLabelCssVariables } from "@fluid-topics/ft-input-label/build/ft-input-label.css";
5
5
  import { FtRippleCssVariables } from "@fluid-topics/ft-ripple/build/ft-ripple.css";
6
+ import { FtIconCssVariables } from "@fluid-topics/ft-icon/build/ft-icon.css";
6
7
  export const FtTextFieldCssVariables = {
7
8
  fontSize: FtCssVariableFactory.create("--ft-text-field-font-size", "SIZE", "14px"),
8
9
  labelSize: FtCssVariableFactory.create("--ft-text-field-label-size", "SIZE", "11px"),
@@ -39,7 +40,7 @@ export const styles = css `
39
40
  ${setVariable(FtInputLabelCssVariables.fontSize, FtTextFieldCssVariables.fontSize)};
40
41
  ${setVariable(FtInputLabelCssVariables.raisedFontSize, FtTextFieldCssVariables.labelSize)};
41
42
  ${setVariable(FtInputLabelCssVariables.verticalSpacing, FtTextFieldCssVariables.verticalSpacing)};
42
- ${setVariable(FtInputLabelCssVariables.horizontalSpacing, css `calc(${FtTextFieldCssVariables.horizontalSpacing} - 4px)`)};
43
+ ${setVariable(FtInputLabelCssVariables.horizontalSpacing, FtTextFieldCssVariables.horizontalSpacing)};
43
44
  }
44
45
 
45
46
  .ft-text-field--main-panel {
@@ -171,5 +172,9 @@ export const styles = css `
171
172
  .ft-text-field:not(.ft-text-field--hide-suggestions):focus-within .ft-text-field--suggestions {
172
173
  display: flex;
173
174
  }
175
+
176
+ .ft-text-field--with-icon {
177
+ ${setVariable(FtInputLabelCssVariables.labelMaxWidth, `calc(100% - ${FtIconCssVariables.size} - ${FtInputLabelCssVariables.horizontalSpacing})`)};
178
+ }
174
179
  `;
175
180
  //# sourceMappingURL=ft-text-field.css.js.map
@@ -15,6 +15,7 @@ export declare class FtTextField extends FtLitElement implements FtTextFieldProp
15
15
  icon?: string;
16
16
  iconVariant?: string;
17
17
  filterSuggestions: boolean;
18
+ maxLength?: number;
18
19
  focused: boolean;
19
20
  suggestionsOnTop: boolean;
20
21
  hideSuggestions: boolean;
@@ -43,6 +43,7 @@ export class FtTextField extends FtLitElement {
43
43
  "ft-text-field--with-prefix": !!this.prefix,
44
44
  "ft-text-field--hide-suggestions": this.visibleSuggestions.length === 0 || this.hideSuggestions,
45
45
  "ft-text-field--raised-label": this.focused || this.value != "",
46
+ "ft-text-field--with-icon": !!this.icon
46
47
  };
47
48
  return html `
48
49
  <div class="${classMap(classes)}">
@@ -59,6 +60,7 @@ export class FtTextField extends FtLitElement {
59
60
  `}
60
61
  <ft-typography class="ft-text-field--prefix" vaiant="body1">${this.prefix}</ft-typography>
61
62
  <input type="text"
63
+ maxlength="${this.maxLength}"
62
64
  aria-label="${this.label}"
63
65
  class="ft-typography--body1 ft-text-field--input"
64
66
  ?disabled=${this.disabled}
@@ -211,6 +213,9 @@ __decorate([
211
213
  __decorate([
212
214
  property({ type: Boolean })
213
215
  ], FtTextField.prototype, "filterSuggestions", void 0);
216
+ __decorate([
217
+ property({ type: Number })
218
+ ], FtTextField.prototype, "maxLength", void 0);
214
219
  __decorate([
215
220
  state()
216
221
  ], FtTextField.prototype, "focused", void 0);
@@ -4,13 +4,13 @@
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- var n;const r=window,p=r.trustedTypes,f=p?p.createPolicy("lit-html",{createHTML:t=>t}):void 0,a=`lit$${(Math.random()+"").slice(9)}$`,h="?"+a,d=`<${h}>`,c=document,u=(t="")=>c.createComment(t),x=t=>null===t||"object"!=typeof t&&"function"!=typeof t,g=Array.isArray,y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,b=/-->/g,v=/>/g,m=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),$=/'/g,w=/"/g,k=/^(?:script|style|textarea|title)$/i,z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),S=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),N=new WeakMap,O=c.createTreeWalker(c,129,null,!1),j=(t,e)=>{const i=t.length-1,o=[];let s,l=2===e?"<svg>":"",n=y;for(let e=0;e<i;e++){const i=t[e];let r,p,f=-1,h=0;for(;h<i.length&&(n.lastIndex=h,p=n.exec(i),null!==p);)h=n.lastIndex,n===y?"!--"===p[1]?n=b:void 0!==p[1]?n=v:void 0!==p[2]?(k.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=m):void 0!==p[3]&&(n=m):n===m?">"===p[0]?(n=null!=s?s:y,f=-1):void 0===p[1]?f=-2:(f=n.lastIndex-p[2].length,r=p[1],n=void 0===p[3]?m:'"'===p[3]?w:$):n===w||n===$?n=m:n===b||n===v?n=y:(n=m,s=void 0);const c=n===m&&t[e+1].startsWith("/>")?" ":"";l+=n===y?i+d:f>=0?(o.push(r),i.slice(0,f)+"$lit$"+i.slice(f)+a+c):i+a+(-2===f?(o.push(void 0),e):c)}const r=l+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==f?f.createHTML(r):r,o]};class C{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,l=0;const n=t.length-1,r=this.parts,[f,d]=j(t,e);if(this.el=C.createElement(f,i),O.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=O.nextNode())&&r.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(a)){const i=d[l++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(a),e=/([.?@])?(.*)/.exec(i);r.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?_:"?"===e[1]?U:"@"===e[1]?M:B})}else r.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(k.test(o.tagName)){const t=o.textContent.split(a),e=t.length-1;if(e>0){o.textContent=p?p.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],u()),O.nextNode(),r.push({type:2,index:++s});o.append(t[e],u())}}}else if(8===o.nodeType)if(o.data===h)r.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(a,t+1));)r.push({type:7,index:s}),t+=a.length-1}s++}}static createElement(t,e){const i=c.createElement("template");return i.innerHTML=t,i}}function I(t,e,i=t,o){var s,l,n,r;if(e===S)return e;let p=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const f=x(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==f&&(null===(l=null==p?void 0:p._$AO)||void 0===l||l.call(p,!1),void 0===f?p=void 0:(p=new f(t),p._$AT(t,i,o)),void 0!==o?(null!==(n=(r=i)._$Co)&&void 0!==n?n:r._$Co=[])[o]=p:i._$Cl=p),void 0!==p&&(e=I(t,p._$AS(t,e.values),p,o)),e}class A{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:c).importNode(i,!0);O.currentNode=s;let l=O.nextNode(),n=0,r=0,p=o[0];for(;void 0!==p;){if(n===p.index){let e;2===p.type?e=new D(l,l.nextSibling,this,t):1===p.type?e=new p.ctor(l,p.name,p.strings,this,t):6===p.type&&(e=new T(l,this,t)),this.u.push(e),p=o[++r]}n!==(null==p?void 0:p.index)&&(l=O.nextNode(),n++)}return s}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class D{constructor(t,e,i,o){var s;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}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),x(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==S&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>g(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==E&&x(this._$AH)?this._$AA.nextSibling.data=t:this.T(c.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=C.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.p(i);else{const t=new A(s,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=N.get(t.strings);return void 0===e&&N.set(t.strings,e=new C(t)),e}k(t){g(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new D(this.O(u()),this.O(u()),this,this.options)):i=e[o],i._$AI(s),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._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class B{constructor(t,e,i,o,s){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=E}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let l=!1;if(void 0===s)t=I(this,t,e,0),l=!x(t)||t!==this._$AH&&t!==S,l&&(this._$AH=t);else{const o=t;let n,r;for(t=s[0],n=0;n<s.length-1;n++)r=I(this,o[i+n],e,n),r===S&&(r=this._$AH[n]),l||(l=!x(r)||r!==this._$AH[n]),r===E?t=E:t!==E&&(t+=(null!=r?r:"")+s[n+1]),this._$AH[n]=r}l&&!o&&this.j(t)}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class _ extends B{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===E?void 0:t}}const Z=p?p.emptyScript:"";class U extends B{constructor(){super(...arguments),this.type=4}j(t){t&&t!==E?this.element.setAttribute(this.name,Z):this.element.removeAttribute(this.name)}}class M extends B{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=I(this,t,e,0))&&void 0!==i?i:E)===S)return;const o=this._$AH,s=t===E&&o!==E||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,l=t!==E&&(o===E||s);s&&this.element.removeEventListener(this.name,this,o),l&&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 T{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 R=r.litHtmlPolyfillSupport;null==R||R(C,D),(null!==(n=r.litHtmlVersions)&&void 0!==n?n:r.litHtmlVersions=[]).push("2.4.0");
7
+ var n;const r=window,a=r.trustedTypes,p=a?a.createPolicy("lit-html",{createHTML:t=>t}):void 0,f=`lit$${(Math.random()+"").slice(9)}$`,h="?"+f,d=`<${h}>`,c=document,x=(t="")=>c.createComment(t),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,g=Array.isArray,y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,b=/-->/g,v=/>/g,m=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),$=/'/g,w=/"/g,k=/^(?:script|style|textarea|title)$/i,z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),S=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),N=new WeakMap,O=c.createTreeWalker(c,129,null,!1),I=(t,e)=>{const i=t.length-1,o=[];let s,l=2===e?"<svg>":"",n=y;for(let e=0;e<i;e++){const i=t[e];let r,a,p=-1,h=0;for(;h<i.length&&(n.lastIndex=h,a=n.exec(i),null!==a);)h=n.lastIndex,n===y?"!--"===a[1]?n=b:void 0!==a[1]?n=v:void 0!==a[2]?(k.test(a[2])&&(s=RegExp("</"+a[2],"g")),n=m):void 0!==a[3]&&(n=m):n===m?">"===a[0]?(n=null!=s?s:y,p=-1):void 0===a[1]?p=-2:(p=n.lastIndex-a[2].length,r=a[1],n=void 0===a[3]?m:'"'===a[3]?w:$):n===w||n===$?n=m:n===b||n===v?n=y:(n=m,s=void 0);const c=n===m&&t[e+1].startsWith("/>")?" ":"";l+=n===y?i+d:p>=0?(o.push(r),i.slice(0,p)+"$lit$"+i.slice(p)+f+c):i+f+(-2===p?(o.push(void 0),e):c)}const r=l+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==p?p.createHTML(r):r,o]};class j{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,l=0;const n=t.length-1,r=this.parts,[p,d]=I(t,e);if(this.el=j.createElement(p,i),O.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=O.nextNode())&&r.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(f)){const i=d[l++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(f),e=/([.?@])?(.*)/.exec(i);r.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?_:"?"===e[1]?M:"@"===e[1]?U:B})}else r.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(k.test(o.tagName)){const t=o.textContent.split(f),e=t.length-1;if(e>0){o.textContent=a?a.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],x()),O.nextNode(),r.push({type:2,index:++s});o.append(t[e],x())}}}else if(8===o.nodeType)if(o.data===h)r.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(f,t+1));)r.push({type:7,index:s}),t+=f.length-1}s++}}static createElement(t,e){const i=c.createElement("template");return i.innerHTML=t,i}}function C(t,e,i=t,o){var s,l,n,r;if(e===S)return e;let a=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const p=u(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(l=null==a?void 0:a._$AO)||void 0===l||l.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,o)),void 0!==o?(null!==(n=(r=i)._$Co)&&void 0!==n?n:r._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=C(t,a._$AS(t,e.values),a,o)),e}class A{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:c).importNode(i,!0);O.currentNode=s;let l=O.nextNode(),n=0,r=0,a=o[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new D(l,l.nextSibling,this,t):1===a.type?e=new a.ctor(l,a.name,a.strings,this,t):6===a.type&&(e=new T(l,this,t)),this.u.push(e),a=o[++r]}n!==(null==a?void 0:a.index)&&(l=O.nextNode(),n++)}return s}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class D{constructor(t,e,i,o){var s;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}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=C(this,t,e),u(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==S&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>g(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==E&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(c.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=j.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.p(i);else{const t=new A(s,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=N.get(t.strings);return void 0===e&&N.set(t.strings,e=new j(t)),e}k(t){g(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new D(this.O(x()),this.O(x()),this,this.options)):i=e[o],i._$AI(s),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._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class B{constructor(t,e,i,o,s){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=E}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let l=!1;if(void 0===s)t=C(this,t,e,0),l=!u(t)||t!==this._$AH&&t!==S,l&&(this._$AH=t);else{const o=t;let n,r;for(t=s[0],n=0;n<s.length-1;n++)r=C(this,o[i+n],e,n),r===S&&(r=this._$AH[n]),l||(l=!u(r)||r!==this._$AH[n]),r===E?t=E:t!==E&&(t+=(null!=r?r:"")+s[n+1]),this._$AH[n]=r}l&&!o&&this.j(t)}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class _ extends B{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===E?void 0:t}}const Z=a?a.emptyScript:"";class M extends B{constructor(){super(...arguments),this.type=4}j(t){t&&t!==E?this.element.setAttribute(this.name,Z):this.element.removeAttribute(this.name)}}class U extends B{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=C(this,t,e,0))&&void 0!==i?i:E)===S)return;const o=this._$AH,s=t===E&&o!==E||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,l=t!==E&&(o===E||s);s&&this.element.removeEventListener(this.name,this,o),l&&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 T{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){C(this,t)}}const R=r.litHtmlPolyfillSupport;null==R||R(j,D),(null!==(n=r.litHtmlVersions)&&void 0!==n?n:r.litHtmlVersions=[]).push("2.4.0");
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2020 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t._$litStatic$},K=t=>({_$litStatic$:t,r:W}),G=new Map,H=(t=>(e,...i)=>{const o=i.length;let s,l;const n=[],r=[];let p,f=0,a=!1;for(;f<o;){for(p=e[f];f<o&&void 0!==(l=i[f],s=F(l));)p+=s+e[++f],a=!0;r.push(l),n.push(p),f++}if(f===o&&n.push(e[o]),a){const t=n.join("$$lit$$");void 0===(e=G.get(t))&&(n.raw=n,G.set(t,e=n)),i=r}return t(e,...i)})(z);var V;!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"}(V||(V={}));const q=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),P=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),L={fontFamily:P,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},X=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",q),Y=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",L.fontSize,"20px"),J=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",L.fontWeight,"normal"),Q=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",L.letterSpacing,"0.15px"),tt=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",L.lineHeight,"1.2"),et=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",L.textTransform,"inherit"),it=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",q),ot=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",L.fontSize,"14px"),st=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",L.fontWeight,"normal"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",L.letterSpacing,"0.105px"),nt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",L.lineHeight,"1.7"),rt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",L.textTransform,"inherit"),pt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",P),ft=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",L.fontSize,"16px"),at=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",L.fontWeight,"600"),ht=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",L.letterSpacing,"0.144px"),dt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",L.lineHeight,"1.5"),ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",L.textTransform,"inherit"),ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",P),xt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",L.fontSize,"14px"),gt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",L.fontWeight,"normal"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",L.letterSpacing,"0.098px"),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",L.lineHeight,"1.7"),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",L.textTransform,"inherit"),mt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",P),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",L.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",L.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",L.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",L.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",L.textTransform,"inherit")},$t=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",P),wt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",L.fontSize,"14px"),kt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",L.fontWeight,"normal"),zt=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",L.letterSpacing,"0.252px"),St=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",L.lineHeight,"1.4"),Et=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",L.textTransform,"inherit"),Nt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",P),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",L.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",L.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",L.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",L.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",L.textTransform,"inherit")},Ot=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",P),jt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",L.fontSize,"10px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",L.fontWeight,"normal"),It=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",L.letterSpacing,"0.33px"),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",L.lineHeight,"1.6"),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",L.textTransform,"inherit"),Bt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",P),_t=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",L.fontSize,"10px"),Zt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",L.fontWeight,"normal"),Ut=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",L.letterSpacing,"1.5px"),Mt=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",L.lineHeight,"1.6"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",L.textTransform,"uppercase"),Rt=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",P),Wt=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",L.fontSize,"14px"),Ft=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",L.fontWeight,"600"),Kt=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",L.letterSpacing,"1.246px"),Gt=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",L.lineHeight,"1.15"),Ht=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",L.textTransform,"uppercase"),Vt=i.css`
13
+ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t._$litStatic$},K=t=>({_$litStatic$:t,r:W}),G=new Map,H=(t=>(e,...i)=>{const o=i.length;let s,l;const n=[],r=[];let a,p=0,f=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(l=i[p],s=F(l));)a+=s+e[++p],f=!0;r.push(l),n.push(a),p++}if(p===o&&n.push(e[o]),f){const t=n.join("$$lit$$");void 0===(e=G.get(t))&&(n.raw=n,G.set(t,e=n)),i=r}return t(e,...i)})(z);var V;!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"}(V||(V={}));const q=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),L=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),P={fontFamily:L,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},X=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",q),Y=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",P.fontSize,"20px"),J=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",P.fontWeight,"normal"),Q=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",P.letterSpacing,"0.15px"),tt=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",P.lineHeight,"1.2"),et=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",P.textTransform,"inherit"),it=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",q),ot=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",P.fontSize,"14px"),st=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",P.fontWeight,"normal"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",P.letterSpacing,"0.105px"),nt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",P.lineHeight,"1.7"),rt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",P.textTransform,"inherit"),at=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",L),pt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",P.fontSize,"16px"),ft=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",P.fontWeight,"600"),ht=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",P.letterSpacing,"0.144px"),dt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",P.lineHeight,"1.5"),ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",P.textTransform,"inherit"),xt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",L),ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",P.fontSize,"14px"),gt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",P.fontWeight,"normal"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",P.letterSpacing,"0.098px"),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",P.lineHeight,"1.7"),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",P.textTransform,"inherit"),mt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",L),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",P.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",P.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",P.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",P.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",P.textTransform,"inherit")},$t=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",L),wt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",P.fontSize,"14px"),kt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",P.fontWeight,"normal"),zt=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",P.letterSpacing,"0.252px"),St=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",P.lineHeight,"1.4"),Et=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",P.textTransform,"inherit"),Nt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",L),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",P.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",P.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",P.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",P.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",P.textTransform,"inherit")},Ot=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",L),It=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",P.fontSize,"10px"),jt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",P.fontWeight,"normal"),Ct=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",P.letterSpacing,"0.33px"),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",P.lineHeight,"1.6"),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",P.textTransform,"inherit"),Bt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",L),_t=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",P.fontSize,"10px"),Zt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",P.fontWeight,"normal"),Mt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",P.letterSpacing,"1.5px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",P.lineHeight,"1.6"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",P.textTransform,"uppercase"),Rt=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",L),Wt=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",P.fontSize,"14px"),Ft=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",P.fontWeight,"600"),Kt=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",P.letterSpacing,"1.246px"),Gt=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",P.lineHeight,"1.15"),Ht=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",P.textTransform,"uppercase"),Vt=i.css`
14
14
  .ft-typography--title {
15
15
  font-family: ${X};
16
16
  font-size: ${Y};
@@ -28,19 +28,19 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
28
28
  line-height: ${nt};
29
29
  text-transform: ${rt};
30
30
  }
31
- `,Pt=i.css`
31
+ `,Lt=i.css`
32
32
  .ft-typography--subtitle1 {
33
- font-family: ${pt};
34
- font-size: ${ft};
35
- font-weight: ${at};
33
+ font-family: ${at};
34
+ font-size: ${pt};
35
+ font-weight: ${ft};
36
36
  letter-spacing: ${ht};
37
37
  line-height: ${dt};
38
38
  text-transform: ${ct};
39
39
  }
40
- `,Lt=i.css`
40
+ `,Pt=i.css`
41
41
  .ft-typography--subtitle2 {
42
- font-family: ${ut};
43
- font-size: ${xt};
42
+ font-family: ${xt};
43
+ font-size: ${ut};
44
44
  font-weight: ${gt};
45
45
  letter-spacing: ${yt};
46
46
  line-height: ${bt};
@@ -77,9 +77,9 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
77
77
  `,Qt=i.css`
78
78
  .ft-typography--breadcrumb {
79
79
  font-family: ${Ot};
80
- font-size: ${jt};
81
- font-weight: ${Ct};
82
- letter-spacing: ${It};
80
+ font-size: ${It};
81
+ font-weight: ${jt};
82
+ letter-spacing: ${Ct};
83
83
  line-height: ${At};
84
84
  text-transform: ${Dt};
85
85
  }
@@ -88,8 +88,8 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
88
88
  font-family: ${Bt};
89
89
  font-size: ${_t};
90
90
  font-weight: ${Zt};
91
- letter-spacing: ${Ut};
92
- line-height: ${Mt};
91
+ letter-spacing: ${Mt};
92
+ line-height: ${Ut};
93
93
  text-transform: ${Tt};
94
94
  }
95
95
  `,ee=i.css`
@@ -112,7 +112,7 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
112
112
  </${K(this.element)}>
113
113
  `:H`
114
114
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
115
- `}}se.styles=[Vt,qt,Pt,Lt,Xt,Yt,Jt,Qt,te,ee,ie],oe([o.property()],se.prototype,"element",void 0),oe([o.property()],se.prototype,"variant",void 0),e.customElement("ft-typography")(se);const le={fontSize:e.FtCssVariableFactory.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:e.FtCssVariableFactory.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:e.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:e.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:e.FtCssVariableFactory.extend("--ft-input-label-border-color",e.designSystemVariables.colorOutline),textColor:e.FtCssVariableFactory.extend("--ft-input-label-text-color",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")},ne=i.css`
115
+ `}}se.styles=[Vt,qt,Lt,Pt,Xt,Yt,Jt,Qt,te,ee,ie],oe([o.property()],se.prototype,"element",void 0),oe([o.property()],se.prototype,"variant",void 0),e.customElement("ft-typography")(se);const le={fontSize:e.FtCssVariableFactory.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:e.FtCssVariableFactory.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:e.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:e.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","SIZE","12px"),labelMaxWidth:e.FtCssVariableFactory.create("--ft-input-label-max-width","SIZE","100%"),borderColor:e.FtCssVariableFactory.extend("--ft-input-label-border-color",e.designSystemVariables.colorOutline),textColor:e.FtCssVariableFactory.extend("--ft-input-label-text-color",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")},ne=i.css`
116
116
  .ft-input-label {
117
117
  position: absolute;
118
118
  inset: 0;
@@ -143,7 +143,7 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
143
143
  }
144
144
 
145
145
  .ft-input-label:before {
146
- width: ${le.horizontalSpacing};
146
+ width: calc(${le.horizontalSpacing} - 4px);
147
147
  flex-shrink: 0;
148
148
  }
149
149
 
@@ -161,6 +161,8 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
161
161
  border-color: inherit;
162
162
  color: ${le.textColor};
163
163
  transition: font-size 250ms, line-height 250ms, color 250ms;
164
+ max-width: calc(${le.labelMaxWidth} - 2 * (${le.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
165
+ text-overflow: ellipsis;
164
166
  ${e.setVariable(Nt.fontSize,le.fontSize)};
165
167
  ${e.setVariable(Nt.lineHeight,le.fontSize)};
166
168
  }
@@ -176,6 +178,8 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
176
178
  .ft-input-label--hidden-text {
177
179
  padding: 0 4px;
178
180
  opacity: 0;
181
+ max-width: 100%;
182
+ box-sizing: border-box;
179
183
  }
180
184
 
181
185
  .ft-input-label--floating-text {
@@ -187,6 +191,8 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
187
191
  text-overflow: ellipsis;
188
192
  padding: ${le.verticalSpacing} 4px;
189
193
  margin: calc(${le.verticalSpacing} * -1) 0;
194
+ max-width: 100%;
195
+ box-sizing: border-box;
190
196
  }
191
197
 
192
198
  .ft-input-label--raised .ft-input-label--text {
@@ -228,7 +234,7 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
228
234
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
229
235
  border-top: none;
230
236
  }
231
- `;var re=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class pe extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return i.html`
237
+ `;var re=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class ae extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return i.html`
232
238
  <div class="${s.classMap(t)}">
233
239
  ${this.text?i.html`
234
240
  <div class="ft-input-label--text ft-typography--caption">
@@ -237,7 +243,7 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
237
243
  </div>
238
244
  `:null}
239
245
  </div>
240
- `}}pe.elementDefinitions={},pe.styles=[Jt,ne],re([o.property({type:String})],pe.prototype,"text",void 0),re([o.property({type:Boolean})],pe.prototype,"raised",void 0),re([o.property({type:Boolean})],pe.prototype,"outlined",void 0),re([o.property({type:Boolean})],pe.prototype,"disabled",void 0),re([o.property({type:Boolean})],pe.prototype,"error",void 0),e.customElement("ft-input-label")(pe);const fe=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),ae={color:fe,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color",fe),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},he=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),de=he,ce=e.FtCssVariableFactory.extend("--ft-ripple-background-color",he),ue=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),xe=ue,ge=e.FtCssVariableFactory.extend("--ft-ripple-background-color",ue),ye=i.css`
246
+ `}}ae.elementDefinitions={},ae.styles=[Jt,ne],re([o.property({type:String})],ae.prototype,"text",void 0),re([o.property({type:Boolean})],ae.prototype,"raised",void 0),re([o.property({type:Boolean})],ae.prototype,"outlined",void 0),re([o.property({type:Boolean})],ae.prototype,"disabled",void 0),re([o.property({type:Boolean})],ae.prototype,"error",void 0),e.customElement("ft-input-label")(ae);const pe=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),fe={color:pe,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color",pe),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},he=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),de=he,ce=e.FtCssVariableFactory.extend("--ft-ripple-background-color",he),xe=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),ue=xe,ge=e.FtCssVariableFactory.extend("--ft-ripple-background-color",xe),ye=i.css`
241
247
  :host {
242
248
  display: contents;
243
249
  }
@@ -259,11 +265,11 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
259
265
  }
260
266
 
261
267
  .ft-ripple .ft-ripple--background {
262
- background-color: ${ae.backgroundColor};
268
+ background-color: ${fe.backgroundColor};
263
269
  }
264
270
 
265
271
  .ft-ripple .ft-ripple--effect {
266
- background-color: ${ae.color};
272
+ background-color: ${fe.color};
267
273
  }
268
274
 
269
275
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
@@ -271,7 +277,7 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
271
277
  }
272
278
 
273
279
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
274
- background-color: ${xe};
280
+ background-color: ${ue};
275
281
  }
276
282
 
277
283
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
@@ -311,19 +317,19 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
311
317
  }
312
318
 
313
319
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
314
- opacity: ${ae.opacityContentOnSurfaceHover};
320
+ opacity: ${fe.opacityContentOnSurfaceHover};
315
321
  }
316
322
 
317
323
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
318
- opacity: ${ae.opacityContentOnSurfaceSelected};
324
+ opacity: ${fe.opacityContentOnSurfaceSelected};
319
325
  }
320
326
 
321
327
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
322
- opacity: ${ae.opacityContentOnSurfaceFocused};
328
+ opacity: ${fe.opacityContentOnSurfaceFocused};
323
329
  }
324
330
 
325
331
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
326
- opacity: ${ae.opacityContentOnSurfacePressed};
332
+ opacity: ${fe.opacityContentOnSurfacePressed};
327
333
  transform: translate(-50%, -50%) scale(1);
328
334
  }
329
335
  `;var be,ve,me=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class $e extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),l=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-l.x:l.width/2),this.originY=Math.round(null!=s?s-l.y:l.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return i.html`
@@ -380,12 +386,12 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
380
386
  .ft-icon--material {
381
387
  font-family: ${Se}, "Material Icons", sans-serif;
382
388
  }
383
- `;var Oe;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Oe||(Oe={}));var je=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class Ce extends e.FtLitElement{constructor(){super(...arguments),this.variant=Oe.fluid_topics,this.resolvedIcon=i.nothing}render(){const t="material"!==this.variant||this.value;return i.html`
389
+ `;var Oe;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Oe||(Oe={}));var Ie=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class je extends e.FtLitElement{constructor(){super(...arguments),this.variant=Oe.fluid_topics,this.resolvedIcon=i.nothing}render(){const t="material"!==this.variant||this.value;return i.html`
384
390
  <i class="ft-icon ${"ft-icon--"+this.variant}">
385
391
  ${l.unsafeHTML(this.resolvedIcon)}
386
392
  <slot ?hidden=${t}></slot>
387
393
  </i>
388
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case Oe.file_format:this.resolvedIcon=null!==(t=ve[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Oe.fluid_topics:this.resolvedIcon=null!==(e=be[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o;break;default:this.resolvedIcon=this.value||i.nothing}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ce.elementDefinitions={},Ce.styles=Ne,je([o.property()],Ce.prototype,"variant",void 0),je([o.property()],Ce.prototype,"value",void 0),je([o.state()],Ce.prototype,"resolvedIcon",void 0),je([o.query("slot")],Ce.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Ce);const Ie={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SIZE","14px"),labelSize:e.FtCssVariableFactory.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:e.FtCssVariableFactory.extend("--ft-text-field-helper-color",e.designSystemVariables.colorOnSurfaceMedium),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system"),prefixColor:e.FtCssVariableFactory.extend("--ft-text-field-prefix-color",e.designSystemVariables.colorOnSurfaceMedium),iconColor:e.FtCssVariableFactory.extend("--ft-text-field-icon-color",e.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:e.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","NUMBER","3"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),elevation02:e.FtCssVariableFactory.external(e.designSystemVariables.elevation02,"Design system"),suggestSize:e.FtCssVariableFactory.create("--ft-text-field-suggest-size","SIZE","300px")},Ae=i.css`
394
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case Oe.file_format:this.resolvedIcon=null!==(t=ve[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Oe.fluid_topics:this.resolvedIcon=null!==(e=be[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o;break;default:this.resolvedIcon=this.value||i.nothing}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}je.elementDefinitions={},je.styles=Ne,Ie([o.property()],je.prototype,"variant",void 0),Ie([o.property()],je.prototype,"value",void 0),Ie([o.state()],je.prototype,"resolvedIcon",void 0),Ie([o.query("slot")],je.prototype,"slottedContent",void 0),e.customElement("ft-icon")(je);const Ce={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SIZE","14px"),labelSize:e.FtCssVariableFactory.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:e.FtCssVariableFactory.extend("--ft-text-field-helper-color",e.designSystemVariables.colorOnSurfaceMedium),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system"),prefixColor:e.FtCssVariableFactory.extend("--ft-text-field-prefix-color",e.designSystemVariables.colorOnSurfaceMedium),iconColor:e.FtCssVariableFactory.extend("--ft-text-field-icon-color",e.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:e.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","NUMBER","3"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),elevation02:e.FtCssVariableFactory.external(e.designSystemVariables.elevation02,"Design system"),suggestSize:e.FtCssVariableFactory.create("--ft-text-field-suggest-size","SIZE","300px")},Ae=i.css`
389
395
  *:focus {
390
396
  outline: none;
391
397
  }
@@ -398,16 +404,16 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
398
404
  }
399
405
 
400
406
  ft-input-label {
401
- ${e.setVariable(le.fontSize,Ie.fontSize)};
402
- ${e.setVariable(le.raisedFontSize,Ie.labelSize)};
403
- ${e.setVariable(le.verticalSpacing,Ie.verticalSpacing)};
404
- ${e.setVariable(le.horizontalSpacing,i.css`calc(${Ie.horizontalSpacing} - 4px)`)};
407
+ ${e.setVariable(le.fontSize,Ce.fontSize)};
408
+ ${e.setVariable(le.raisedFontSize,Ce.labelSize)};
409
+ ${e.setVariable(le.verticalSpacing,Ce.verticalSpacing)};
410
+ ${e.setVariable(le.horizontalSpacing,Ce.horizontalSpacing)};
405
411
  }
406
412
 
407
413
  .ft-text-field--main-panel {
408
414
  position: relative;
409
415
  display: flex;
410
- height: calc(4 * ${Ie.verticalSpacing} + ${Ie.labelSize} + ${Ie.fontSize});
416
+ height: calc(4 * ${Ce.verticalSpacing} + ${Ce.labelSize} + ${Ce.fontSize});
411
417
  }
412
418
 
413
419
  .ft-text-field--input-panel {
@@ -416,24 +422,24 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
416
422
  display: flex;
417
423
  align-items: center;
418
424
  overflow: hidden;
419
- padding: 0 ${Ie.horizontalSpacing};
425
+ padding: 0 ${Ce.horizontalSpacing};
420
426
 
421
- ${e.setVariable(mt.fontSize,Ie.fontSize)};
422
- ${e.setVariable(mt.lineHeight,Ie.fontSize)};
427
+ ${e.setVariable(mt.fontSize,Ce.fontSize)};
428
+ ${e.setVariable(mt.lineHeight,Ce.fontSize)};
423
429
  }
424
430
 
425
431
  .ft-text-field--input-panel ft-ripple {
426
- ${e.setVariable(ae.opacityContentOnSurfaceHover,"0.08")};
427
- ${e.setVariable(ae.opacityContentOnSurfacePressed,"0.04")};
432
+ ${e.setVariable(fe.opacityContentOnSurfaceHover,"0.08")};
433
+ ${e.setVariable(fe.opacityContentOnSurfacePressed,"0.04")};
428
434
  }
429
435
 
430
436
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
431
437
  align-items: flex-end;
432
- padding: 0 ${Ie.horizontalSpacing} ${Ie.verticalSpacing} ${Ie.horizontalSpacing};
438
+ padding: 0 ${Ce.horizontalSpacing} ${Ce.verticalSpacing} ${Ce.horizontalSpacing};
433
439
  }
434
440
 
435
441
  .ft-text-field--prefix {
436
- color: ${Ie.prefixColor};
442
+ color: ${Ce.prefixColor};
437
443
  margin-right: 2px;
438
444
  flex-shrink: 1;
439
445
  overflow: hidden;
@@ -452,15 +458,15 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
452
458
  flex-shrink: 1;
453
459
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
454
460
 
455
- color: ${Ie.colorOnSurface};
456
- padding: calc(2 * ${Ie.verticalSpacing}) 0;
461
+ color: ${Ce.colorOnSurface};
462
+ padding: calc(2 * ${Ce.verticalSpacing}) 0;
457
463
  border: none;
458
464
  background: none;
459
465
  }
460
466
 
461
467
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
462
468
  padding-bottom: 0;
463
- padding-top: calc(${Ie.labelSize} + 2 * ${Ie.verticalSpacing});
469
+ padding-top: calc(${Ce.labelSize} + 2 * ${Ce.verticalSpacing});
464
470
  }
465
471
 
466
472
  .ft-text-field--input::-webkit-calendar-picker-indicator,
@@ -469,37 +475,37 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
469
475
  }
470
476
 
471
477
  .ft-text-field--disabled .ft-text-field--input {
472
- color: ${Ie.colorOnSurfaceDisabled};
478
+ color: ${Ce.colorOnSurfaceDisabled};
473
479
  }
474
480
 
475
481
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
476
- ${e.setVariable(le.borderColor,Ie.colorPrimary)};
477
- ${e.setVariable(le.textColor,Ie.colorPrimary)};
482
+ ${e.setVariable(le.borderColor,Ce.colorPrimary)};
483
+ ${e.setVariable(le.textColor,Ce.colorPrimary)};
478
484
  }
479
485
 
480
486
  .ft-text-field--filled .ft-text-field--input-panel {
481
- border-radius: ${Ie.borderRadiusS} ${Ie.borderRadiusS} 0 0;
487
+ border-radius: ${Ce.borderRadiusS} ${Ce.borderRadiusS} 0 0;
482
488
  }
483
489
 
484
490
  .ft-text-field--outlined .ft-text-field--input-panel {
485
- border-radius: ${Ie.borderRadiusS};
491
+ border-radius: ${Ce.borderRadiusS};
486
492
  }
487
493
 
488
494
  .ft-text-field--helper-text {
489
- padding: 0 12px 0 ${Ie.horizontalSpacing};
490
- color: ${Ie.helperColor};
495
+ padding: 0 12px 0 ${Ce.horizontalSpacing};
496
+ color: ${Ce.helperColor};
491
497
  }
492
498
 
493
499
  .ft-text-field--in-error .ft-text-field--input,
494
500
  .ft-text-field--in-error .ft-text-field--helper-text,
495
501
  .ft-text-field--in-error .ft-text-field--prefix {
496
- color: ${Ie.colorError};
502
+ color: ${Ce.colorError};
497
503
  }
498
504
 
499
505
  .ft-text-field--icon {
500
506
  align-self: center;
501
507
  margin-left: 8px;
502
- color: ${Ie.iconColor};
508
+ color: ${Ce.iconColor};
503
509
  }
504
510
 
505
511
  .ft-text-field--container {
@@ -512,13 +518,13 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
512
518
  position: absolute;
513
519
  left: 0;
514
520
  right: 0;
515
- z-index: ${Ie.floatingZIndex};
516
- background: ${Ie.colorSurface};
517
- border: 1px solid ${Ie.colorOutline};
518
- border-radius: 0 0 ${Ie.borderRadiusS} ${Ie.borderRadiusS};
519
- box-shadow: ${Ie.elevation02};
521
+ z-index: ${Ce.floatingZIndex};
522
+ background: ${Ce.colorSurface};
523
+ border: 1px solid ${Ce.colorOutline};
524
+ border-radius: 0 0 ${Ce.borderRadiusS} ${Ce.borderRadiusS};
525
+ box-shadow: ${Ce.elevation02};
520
526
  outline: none;
521
- max-height: ${Ie.suggestSize};
527
+ max-height: ${Ce.suggestSize};
522
528
  overflow-y: auto;
523
529
  }
524
530
 
@@ -533,7 +539,11 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
533
539
  .ft-text-field:not(.ft-text-field--hide-suggestions):focus-within .ft-text-field--suggestions {
534
540
  display: flex;
535
541
  }
536
- `;var De=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class Be extends e.FtLitElement{constructor(){super(...arguments),this.value="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.filterSuggestions=!1,this.focused=!1,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value};return i.html`
542
+
543
+ .ft-text-field--with-icon {
544
+ ${e.setVariable(le.labelMaxWidth,`calc(100% - ${we} - ${le.horizontalSpacing})`)};
545
+ }
546
+ `;var De=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class Be extends e.FtLitElement{constructor(){super(...arguments),this.value="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.filterSuggestions=!1,this.focused=!1,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon};return i.html`
537
547
  <div class="${s.classMap(t)}">
538
548
  <div class="ft-text-field--main-panel"
539
549
  @keydown=${this.handleKeyboardNavigation}>
@@ -548,6 +558,7 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
548
558
  `}
549
559
  <ft-typography class="ft-text-field--prefix" vaiant="body1">${this.prefix}</ft-typography>
550
560
  <input type="text"
561
+ maxlength="${this.maxLength}"
551
562
  aria-label="${this.label}"
552
563
  class="ft-typography--body1 ft-text-field--input"
553
564
  ?disabled=${this.disabled}
@@ -575,7 +586,7 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
575
586
  </ft-typography>
576
587
  `:i.nothing}
577
588
  </div>
578
- `}updated(t){super.updated(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,i;if(super.contentAvailableCallback(t),!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),o=null===(i=this.suggestionsContainer)||void 0===i?void 0:i.getBoundingClientRect();t&&o&&(this.suggestionsOnTop=t.bottom+o.height>window.innerHeight&&t.top-o.height>0)}}updateValueFromInputField(){var t;this.setValue((null===(t=this.input)||void 0===t?void 0:t.value)||"",!0)}handleInput(){var t;const e=(null===(t=this.input)||void 0===t?void 0:t.value)||"";this.value!==e&&(this.hideSuggestions=!1,this.value=e,this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})))}handleClick(){this.hideSuggestions=!1}setValue(t,e){this.value=t,e&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const i=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let o;o="ArrowDown"===t.key?i<this.visibleSuggestions.length-1?i+1:0:i>0?i-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[o])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onInputBlur(){this.focused=!1}}Be.elementDefinitions={"ft-input-label":pe,"ft-ripple":$e,"ft-typography":se,"ft-icon":Ce},Be.styles=[Xt,Ae],De([o.property()],Be.prototype,"label",void 0),De([o.property()],Be.prototype,"value",void 0),De([o.property()],Be.prototype,"helper",void 0),De([o.property({type:Boolean})],Be.prototype,"outlined",void 0),De([o.property({type:Boolean})],Be.prototype,"disabled",void 0),De([o.property({type:Boolean})],Be.prototype,"error",void 0),De([o.property()],Be.prototype,"prefix",void 0),De([o.property()],Be.prototype,"icon",void 0),De([o.property()],Be.prototype,"iconVariant",void 0),De([o.property({type:Boolean})],Be.prototype,"filterSuggestions",void 0),De([o.state()],Be.prototype,"focused",void 0),De([o.state()],Be.prototype,"suggestionsOnTop",void 0),De([o.state()],Be.prototype,"hideSuggestions",void 0),De([o.state()],Be.prototype,"visibleSuggestions",void 0),De([o.query(".ft-text-field--input")],Be.prototype,"input",void 0),De([o.query(".ft-text-field--suggestions")],Be.prototype,"suggestionsContainer",void 0),De([o.queryAssignedElements({selector:"ft-text-field-suggestion"})],Be.prototype,"suggestions",void 0);const _e=i.css`
589
+ `}updated(t){super.updated(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,i;if(super.contentAvailableCallback(t),!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),o=null===(i=this.suggestionsContainer)||void 0===i?void 0:i.getBoundingClientRect();t&&o&&(this.suggestionsOnTop=t.bottom+o.height>window.innerHeight&&t.top-o.height>0)}}updateValueFromInputField(){var t;this.setValue((null===(t=this.input)||void 0===t?void 0:t.value)||"",!0)}handleInput(){var t;const e=(null===(t=this.input)||void 0===t?void 0:t.value)||"";this.value!==e&&(this.hideSuggestions=!1,this.value=e,this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})))}handleClick(){this.hideSuggestions=!1}setValue(t,e){this.value=t,e&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const i=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let o;o="ArrowDown"===t.key?i<this.visibleSuggestions.length-1?i+1:0:i>0?i-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[o])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onInputBlur(){this.focused=!1}}Be.elementDefinitions={"ft-input-label":ae,"ft-ripple":$e,"ft-typography":se,"ft-icon":je},Be.styles=[Xt,Ae],De([o.property()],Be.prototype,"label",void 0),De([o.property()],Be.prototype,"value",void 0),De([o.property()],Be.prototype,"helper",void 0),De([o.property({type:Boolean})],Be.prototype,"outlined",void 0),De([o.property({type:Boolean})],Be.prototype,"disabled",void 0),De([o.property({type:Boolean})],Be.prototype,"error",void 0),De([o.property()],Be.prototype,"prefix",void 0),De([o.property()],Be.prototype,"icon",void 0),De([o.property()],Be.prototype,"iconVariant",void 0),De([o.property({type:Boolean})],Be.prototype,"filterSuggestions",void 0),De([o.property({type:Number})],Be.prototype,"maxLength",void 0),De([o.state()],Be.prototype,"focused",void 0),De([o.state()],Be.prototype,"suggestionsOnTop",void 0),De([o.state()],Be.prototype,"hideSuggestions",void 0),De([o.state()],Be.prototype,"visibleSuggestions",void 0),De([o.query(".ft-text-field--input")],Be.prototype,"input",void 0),De([o.query(".ft-text-field--suggestions")],Be.prototype,"suggestionsContainer",void 0),De([o.queryAssignedElements({selector:"ft-text-field-suggestion"})],Be.prototype,"suggestions",void 0);const _e=i.css`
579
590
  .ft-text-field-suggestion {
580
591
  position: relative;
581
592
  padding: 8px 16px;
@@ -600,7 +611,7 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
600
611
  slot {
601
612
  pointer-events: none;
602
613
  }
603
- `;var Ze=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class Ue extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Me extends e.FtLitElement{render(){return i.html`
614
+ `;var Ze=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class Me extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Ue extends e.FtLitElement{render(){return i.html`
604
615
  <div class="ft-text-field-suggestion"
605
616
  tabindex="-1"
606
617
  @keydown=${this.onKeyDown}
@@ -612,4 +623,4 @@ const W=Symbol.for(""),F=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
612
623
  <slot></slot>
613
624
  </ft-typography>
614
625
  </div>
615
- `}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new Ue(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}Me.elementDefinitions={"ft-ripple":$e,"ft-typography":se,"ft-icon":Ce},Me.styles=_e,Ze([o.property()],Me.prototype,"value",void 0),Ze([o.query(".ft-text-field-suggestion")],Me.prototype,"container",void 0),Ze([o.queryAssignedNodes()],Me.prototype,"assignedNodes",void 0),e.customElement("ft-text-field")(Be),e.customElement("ft-text-field-suggestion")(Me),t.FtTextField=Be,t.FtTextFieldCssVariables=Ie,t.FtTextFieldSuggestion=Me,t.SuggestionSelectedEvent=Ue,t.styles=Ae,t.suggestionStyles=_e,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
626
+ `}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new Me(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}Ue.elementDefinitions={"ft-ripple":$e,"ft-typography":se,"ft-icon":je},Ue.styles=_e,Ze([o.property()],Ue.prototype,"value",void 0),Ze([o.query(".ft-text-field-suggestion")],Ue.prototype,"container",void 0),Ze([o.queryAssignedNodes()],Ue.prototype,"assignedNodes",void 0),e.customElement("ft-text-field")(Be),e.customElement("ft-text-field-suggestion")(Ue),t.FtTextField=Be,t.FtTextFieldCssVariables=Ce,t.FtTextFieldSuggestion=Ue,t.SuggestionSelectedEvent=Me,t.styles=Ae,t.suggestionStyles=_e,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
@@ -61,7 +61,7 @@ const f=window,c=f.ShadowRoot&&(void 0===f.ShadyCSS||f.ShadyCSS.nativeShadow)&&"
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
63
  */
64
- var R;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:C}),(null!==(m=$.reactiveElementVersions)&&void 0!==m?m:$.reactiveElementVersions=[]).push("1.4.1");const M=window,z=M.trustedTypes,U=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,F=`lit$${(Math.random()+"").slice(9)}$`,j="?"+F,A=`<${j}>`,B=document,D=(t="")=>B.createComment(t),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,I=/>/g,W=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),K=/'/g,H=/"/g,Z=/^(?:script|style|textarea|title)$/i,V=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),J=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),X=new WeakMap,Y=B.createTreeWalker(B,129,null,!1),G=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=T;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,h=0;for(;h<i.length&&(r.lastIndex=h,a=r.exec(i),null!==a);)h=r.lastIndex,r===T?"!--"===a[1]?r=_:void 0!==a[1]?r=I:void 0!==a[2]?(Z.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=W):void 0!==a[3]&&(r=W):r===W?">"===a[0]?(r=null!=s?s:T,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?W:'"'===a[3]?H:K):r===H||r===K?r=W:r===_||r===I?r=T:(r=W,s=void 0);const f=r===W&&t[e+1].startsWith("/>")?" ":"";n+=r===T?i+A:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+F+f):i+F+(-2===p?(o.push(void 0),e):f)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==U?U.createHTML(l):l,o]};class Q{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,p]=G(t,e);if(this.el=Q.createElement(a,i),Y.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Y.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(F)){const i=p[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(F),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?st:"?"===e[1]?rt:"@"===e[1]?lt:ot})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(Z.test(o.tagName)){const t=o.textContent.split(F),e=t.length-1;if(e>0){o.textContent=z?z.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],D()),Y.nextNode(),l.push({type:2,index:++s});o.append(t[e],D())}}}else if(8===o.nodeType)if(o.data===j)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(F,t+1));)l.push({type:7,index:s}),t+=F.length-1}s++}}static createElement(t,e){const i=B.createElement("template");return i.innerHTML=t,i}}function tt(t,e,i=t,o){var s,n,r,l;if(e===J)return e;let a=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const p=L(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=tt(t,a._$AS(t,e.values),a,o)),e}class et{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:B).importNode(i,!0);Y.currentNode=s;let n=Y.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new it(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new at(n,this,t)),this.u.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=Y.nextNode(),r++)}return s}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class it{constructor(t,e,i,o){var s;this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}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=tt(this,t,e),L(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==J&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>P(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==q&&L(this._$AH)?this._$AA.nextSibling.data=t:this.T(B.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Q.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.p(i);else{const t=new et(s,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=X.get(t.strings);return void 0===e&&X.set(t.strings,e=new Q(t)),e}k(t){P(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new it(this.O(D()),this.O(D()),this,this.options)):i=e[o],i._$AI(s),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._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class ot{constructor(t,e,i,o,s){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=tt(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==J,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=tt(this,o[i+r],e,r),l===J&&(l=this._$AH[r]),n||(n=!L(l)||l!==this._$AH[r]),l===q?t=q:t!==q&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class st extends ot{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}}const nt=z?z.emptyScript:"";class rt extends ot{constructor(){super(...arguments),this.type=4}j(t){t&&t!==q?this.element.setAttribute(this.name,nt):this.element.removeAttribute(this.name)}}class lt extends ot{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=tt(this,t,e,0))&&void 0!==i?i:q)===J)return;const o=this._$AH,s=t===q&&o!==q||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==q&&(o===q||s);s&&this.element.removeEventListener(this.name,this,o),n&&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 at{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){tt(this,t)}}const pt=M.litHtmlPolyfillSupport;null==pt||pt(Q,it),(null!==(R=M.litHtmlVersions)&&void 0!==R?R:M.litHtmlVersions=[]).push("2.4.0");
64
+ var R;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:C}),(null!==(m=$.reactiveElementVersions)&&void 0!==m?m:$.reactiveElementVersions=[]).push("1.4.1");const M=window,z=M.trustedTypes,U=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,F=`lit$${(Math.random()+"").slice(9)}$`,j="?"+F,A=`<${j}>`,B=document,D=(t="")=>B.createComment(t),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,I=Array.isArray,P=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,_=/>/g,W=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),K=/'/g,H=/"/g,Z=/^(?:script|style|textarea|title)$/i,V=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),J=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),X=new WeakMap,Y=B.createTreeWalker(B,129,null,!1),G=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=P;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,h=0;for(;h<i.length&&(r.lastIndex=h,a=r.exec(i),null!==a);)h=r.lastIndex,r===P?"!--"===a[1]?r=T:void 0!==a[1]?r=_:void 0!==a[2]?(Z.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=W):void 0!==a[3]&&(r=W):r===W?">"===a[0]?(r=null!=s?s:P,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?W:'"'===a[3]?H:K):r===H||r===K?r=W:r===T||r===_?r=P:(r=W,s=void 0);const f=r===W&&t[e+1].startsWith("/>")?" ":"";n+=r===P?i+A:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+F+f):i+F+(-2===p?(o.push(void 0),e):f)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==U?U.createHTML(l):l,o]};class Q{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,p]=G(t,e);if(this.el=Q.createElement(a,i),Y.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Y.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(F)){const i=p[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(F),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?st:"?"===e[1]?rt:"@"===e[1]?lt:ot})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(Z.test(o.tagName)){const t=o.textContent.split(F),e=t.length-1;if(e>0){o.textContent=z?z.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],D()),Y.nextNode(),l.push({type:2,index:++s});o.append(t[e],D())}}}else if(8===o.nodeType)if(o.data===j)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(F,t+1));)l.push({type:7,index:s}),t+=F.length-1}s++}}static createElement(t,e){const i=B.createElement("template");return i.innerHTML=t,i}}function tt(t,e,i=t,o){var s,n,r,l;if(e===J)return e;let a=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const p=L(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=tt(t,a._$AS(t,e.values),a,o)),e}class et{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:B).importNode(i,!0);Y.currentNode=s;let n=Y.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new it(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new at(n,this,t)),this.u.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=Y.nextNode(),r++)}return s}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class it{constructor(t,e,i,o){var s;this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}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=tt(this,t,e),L(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==J&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>I(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==q&&L(this._$AH)?this._$AA.nextSibling.data=t:this.T(B.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Q.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.p(i);else{const t=new et(s,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=X.get(t.strings);return void 0===e&&X.set(t.strings,e=new Q(t)),e}k(t){I(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new it(this.O(D()),this.O(D()),this,this.options)):i=e[o],i._$AI(s),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._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class ot{constructor(t,e,i,o,s){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=tt(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==J,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=tt(this,o[i+r],e,r),l===J&&(l=this._$AH[r]),n||(n=!L(l)||l!==this._$AH[r]),l===q?t=q:t!==q&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class st extends ot{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}}const nt=z?z.emptyScript:"";class rt extends ot{constructor(){super(...arguments),this.type=4}j(t){t&&t!==q?this.element.setAttribute(this.name,nt):this.element.removeAttribute(this.name)}}class lt extends ot{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=tt(this,t,e,0))&&void 0!==i?i:q)===J)return;const o=this._$AH,s=t===q&&o!==q||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==q&&(o===q||s);s&&this.element.removeEventListener(this.name,this,o),n&&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 at{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){tt(this,t)}}const pt=M.litHtmlPolyfillSupport;null==pt||pt(Q,it),(null!==(R=M.litHtmlVersions)&&void 0!==R?R:M.litHtmlVersions=[]).push("2.4.0");
65
65
  /**
66
66
  * @license
67
67
  * Copyright 2017 Google LLC
@@ -114,19 +114,19 @@ const $t=1,wt=2,Ot=t=>(...e)=>({_$litDirective$:t,values:e});class St{constructo
114
114
  * @license
115
115
  * Copyright 2020 Google LLC
116
116
  * SPDX-License-Identifier: BSD-3-Clause
117
- */var zt;!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"}(zt||(zt={}));const Ut=ut.extend("--ft-typography-font-family",gt.titleFont),Ft=ut.extend("--ft-typography-font-family",gt.contentFont),jt={fontFamily:Ft,fontSize:ut.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ut.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ut.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ut.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ut.create("--ft-typography-text-transform","UNKNOWN","inherit")},At=ut.extend("--ft-typography-title-font-family",Ut),Bt=ut.extend("--ft-typography-title-font-size",jt.fontSize,"20px"),Dt=ut.extend("--ft-typography-title-font-weight",jt.fontWeight,"normal"),Lt=ut.extend("--ft-typography-title-letter-spacing",jt.letterSpacing,"0.15px"),Pt=ut.extend("--ft-typography-title-line-height",jt.lineHeight,"1.2"),Tt=ut.extend("--ft-typography-title-text-transform",jt.textTransform,"inherit"),_t=ut.extend("--ft-typography-title-dense-font-family",Ut),It=ut.extend("--ft-typography-title-dense-font-size",jt.fontSize,"14px"),Wt=ut.extend("--ft-typography-title-dense-font-weight",jt.fontWeight,"normal"),Kt=ut.extend("--ft-typography-title-dense-letter-spacing",jt.letterSpacing,"0.105px"),Ht=ut.extend("--ft-typography-title-dense-line-height",jt.lineHeight,"1.7"),Zt=ut.extend("--ft-typography-title-dense-text-transform",jt.textTransform,"inherit"),Vt=ut.extend("--ft-typography-subtitle1-font-family",Ft),Jt=ut.extend("--ft-typography-subtitle1-font-size",jt.fontSize,"16px"),qt=ut.extend("--ft-typography-subtitle1-font-weight",jt.fontWeight,"600"),Xt=ut.extend("--ft-typography-subtitle1-letter-spacing",jt.letterSpacing,"0.144px"),Yt=ut.extend("--ft-typography-subtitle1-line-height",jt.lineHeight,"1.5"),Gt=ut.extend("--ft-typography-subtitle1-text-transform",jt.textTransform,"inherit"),Qt=ut.extend("--ft-typography-subtitle2-font-family",Ft),te=ut.extend("--ft-typography-subtitle2-font-size",jt.fontSize,"14px"),ee=ut.extend("--ft-typography-subtitle2-font-weight",jt.fontWeight,"normal"),ie=ut.extend("--ft-typography-subtitle2-letter-spacing",jt.letterSpacing,"0.098px"),oe=ut.extend("--ft-typography-subtitle2-line-height",jt.lineHeight,"1.7"),se=ut.extend("--ft-typography-subtitle2-text-transform",jt.textTransform,"inherit"),ne={fontFamily:ut.extend("--ft-typography-body1-font-family",Ft),fontSize:ut.extend("--ft-typography-body1-font-size",jt.fontSize,"16px"),fontWeight:ut.extend("--ft-typography-body1-font-weight",jt.fontWeight,"normal"),letterSpacing:ut.extend("--ft-typography-body1-letter-spacing",jt.letterSpacing,"0.496px"),lineHeight:ut.extend("--ft-typography-body1-line-height",jt.lineHeight,"1.5"),textTransform:ut.extend("--ft-typography-body1-text-transform",jt.textTransform,"inherit")},re=ut.extend("--ft-typography-body2-font-family",Ft),le=ut.extend("--ft-typography-body2-font-size",jt.fontSize,"14px"),ae=ut.extend("--ft-typography-body2-font-weight",jt.fontWeight,"normal"),pe=ut.extend("--ft-typography-body2-letter-spacing",jt.letterSpacing,"0.252px"),he=ut.extend("--ft-typography-body2-line-height",jt.lineHeight,"1.4"),fe=ut.extend("--ft-typography-body2-text-transform",jt.textTransform,"inherit"),ce={fontFamily:ut.extend("--ft-typography-caption-font-family",Ft),fontSize:ut.extend("--ft-typography-caption-font-size",jt.fontSize,"12px"),fontWeight:ut.extend("--ft-typography-caption-font-weight",jt.fontWeight,"normal"),letterSpacing:ut.extend("--ft-typography-caption-letter-spacing",jt.letterSpacing,"0.396px"),lineHeight:ut.extend("--ft-typography-caption-line-height",jt.lineHeight,"1.33"),textTransform:ut.extend("--ft-typography-caption-text-transform",jt.textTransform,"inherit")},de=ut.extend("--ft-typography-breadcrumb-font-family",Ft),ue=ut.extend("--ft-typography-breadcrumb-font-size",jt.fontSize,"10px"),xe=ut.extend("--ft-typography-breadcrumb-font-weight",jt.fontWeight,"normal"),ge=ut.extend("--ft-typography-breadcrumb-letter-spacing",jt.letterSpacing,"0.33px"),ye=ut.extend("--ft-typography-breadcrumb-line-height",jt.lineHeight,"1.6"),ve=ut.extend("--ft-typography-breadcrumb-text-transform",jt.textTransform,"inherit"),be=ut.extend("--ft-typography-overline-font-family",Ft),me=ut.extend("--ft-typography-overline-font-size",jt.fontSize,"10px"),$e=ut.extend("--ft-typography-overline-font-weight",jt.fontWeight,"normal"),we=ut.extend("--ft-typography-overline-letter-spacing",jt.letterSpacing,"1.5px"),Oe=ut.extend("--ft-typography-overline-line-height",jt.lineHeight,"1.6"),Se=ut.extend("--ft-typography-overline-text-transform",jt.textTransform,"uppercase"),ke=ut.extend("--ft-typography-button-font-family",Ft),Ne=ut.extend("--ft-typography-button-font-size",jt.fontSize,"14px"),Ee=ut.extend("--ft-typography-button-font-weight",jt.fontWeight,"600"),Ce=ut.extend("--ft-typography-button-letter-spacing",jt.letterSpacing,"1.246px"),Re=ut.extend("--ft-typography-button-line-height",jt.lineHeight,"1.15"),Me=ut.extend("--ft-typography-button-text-transform",jt.textTransform,"uppercase"),ze=y`
117
+ */var zt;!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"}(zt||(zt={}));const Ut=ut.extend("--ft-typography-font-family",gt.titleFont),Ft=ut.extend("--ft-typography-font-family",gt.contentFont),jt={fontFamily:Ft,fontSize:ut.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ut.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ut.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ut.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ut.create("--ft-typography-text-transform","UNKNOWN","inherit")},At=ut.extend("--ft-typography-title-font-family",Ut),Bt=ut.extend("--ft-typography-title-font-size",jt.fontSize,"20px"),Dt=ut.extend("--ft-typography-title-font-weight",jt.fontWeight,"normal"),Lt=ut.extend("--ft-typography-title-letter-spacing",jt.letterSpacing,"0.15px"),It=ut.extend("--ft-typography-title-line-height",jt.lineHeight,"1.2"),Pt=ut.extend("--ft-typography-title-text-transform",jt.textTransform,"inherit"),Tt=ut.extend("--ft-typography-title-dense-font-family",Ut),_t=ut.extend("--ft-typography-title-dense-font-size",jt.fontSize,"14px"),Wt=ut.extend("--ft-typography-title-dense-font-weight",jt.fontWeight,"normal"),Kt=ut.extend("--ft-typography-title-dense-letter-spacing",jt.letterSpacing,"0.105px"),Ht=ut.extend("--ft-typography-title-dense-line-height",jt.lineHeight,"1.7"),Zt=ut.extend("--ft-typography-title-dense-text-transform",jt.textTransform,"inherit"),Vt=ut.extend("--ft-typography-subtitle1-font-family",Ft),Jt=ut.extend("--ft-typography-subtitle1-font-size",jt.fontSize,"16px"),qt=ut.extend("--ft-typography-subtitle1-font-weight",jt.fontWeight,"600"),Xt=ut.extend("--ft-typography-subtitle1-letter-spacing",jt.letterSpacing,"0.144px"),Yt=ut.extend("--ft-typography-subtitle1-line-height",jt.lineHeight,"1.5"),Gt=ut.extend("--ft-typography-subtitle1-text-transform",jt.textTransform,"inherit"),Qt=ut.extend("--ft-typography-subtitle2-font-family",Ft),te=ut.extend("--ft-typography-subtitle2-font-size",jt.fontSize,"14px"),ee=ut.extend("--ft-typography-subtitle2-font-weight",jt.fontWeight,"normal"),ie=ut.extend("--ft-typography-subtitle2-letter-spacing",jt.letterSpacing,"0.098px"),oe=ut.extend("--ft-typography-subtitle2-line-height",jt.lineHeight,"1.7"),se=ut.extend("--ft-typography-subtitle2-text-transform",jt.textTransform,"inherit"),ne={fontFamily:ut.extend("--ft-typography-body1-font-family",Ft),fontSize:ut.extend("--ft-typography-body1-font-size",jt.fontSize,"16px"),fontWeight:ut.extend("--ft-typography-body1-font-weight",jt.fontWeight,"normal"),letterSpacing:ut.extend("--ft-typography-body1-letter-spacing",jt.letterSpacing,"0.496px"),lineHeight:ut.extend("--ft-typography-body1-line-height",jt.lineHeight,"1.5"),textTransform:ut.extend("--ft-typography-body1-text-transform",jt.textTransform,"inherit")},re=ut.extend("--ft-typography-body2-font-family",Ft),le=ut.extend("--ft-typography-body2-font-size",jt.fontSize,"14px"),ae=ut.extend("--ft-typography-body2-font-weight",jt.fontWeight,"normal"),pe=ut.extend("--ft-typography-body2-letter-spacing",jt.letterSpacing,"0.252px"),he=ut.extend("--ft-typography-body2-line-height",jt.lineHeight,"1.4"),fe=ut.extend("--ft-typography-body2-text-transform",jt.textTransform,"inherit"),ce={fontFamily:ut.extend("--ft-typography-caption-font-family",Ft),fontSize:ut.extend("--ft-typography-caption-font-size",jt.fontSize,"12px"),fontWeight:ut.extend("--ft-typography-caption-font-weight",jt.fontWeight,"normal"),letterSpacing:ut.extend("--ft-typography-caption-letter-spacing",jt.letterSpacing,"0.396px"),lineHeight:ut.extend("--ft-typography-caption-line-height",jt.lineHeight,"1.33"),textTransform:ut.extend("--ft-typography-caption-text-transform",jt.textTransform,"inherit")},de=ut.extend("--ft-typography-breadcrumb-font-family",Ft),ue=ut.extend("--ft-typography-breadcrumb-font-size",jt.fontSize,"10px"),xe=ut.extend("--ft-typography-breadcrumb-font-weight",jt.fontWeight,"normal"),ge=ut.extend("--ft-typography-breadcrumb-letter-spacing",jt.letterSpacing,"0.33px"),ye=ut.extend("--ft-typography-breadcrumb-line-height",jt.lineHeight,"1.6"),ve=ut.extend("--ft-typography-breadcrumb-text-transform",jt.textTransform,"inherit"),be=ut.extend("--ft-typography-overline-font-family",Ft),me=ut.extend("--ft-typography-overline-font-size",jt.fontSize,"10px"),$e=ut.extend("--ft-typography-overline-font-weight",jt.fontWeight,"normal"),we=ut.extend("--ft-typography-overline-letter-spacing",jt.letterSpacing,"1.5px"),Oe=ut.extend("--ft-typography-overline-line-height",jt.lineHeight,"1.6"),Se=ut.extend("--ft-typography-overline-text-transform",jt.textTransform,"uppercase"),ke=ut.extend("--ft-typography-button-font-family",Ft),Ne=ut.extend("--ft-typography-button-font-size",jt.fontSize,"14px"),Ee=ut.extend("--ft-typography-button-font-weight",jt.fontWeight,"600"),Ce=ut.extend("--ft-typography-button-letter-spacing",jt.letterSpacing,"1.246px"),Re=ut.extend("--ft-typography-button-line-height",jt.lineHeight,"1.15"),Me=ut.extend("--ft-typography-button-text-transform",jt.textTransform,"uppercase"),ze=y`
118
118
  .ft-typography--title {
119
119
  font-family: ${At};
120
120
  font-size: ${Bt};
121
121
  font-weight: ${Dt};
122
122
  letter-spacing: ${Lt};
123
- line-height: ${Pt};
124
- text-transform: ${Tt};
123
+ line-height: ${It};
124
+ text-transform: ${Pt};
125
125
  }
126
126
  `,Ue=y`
127
127
  .ft-typography--title-dense {
128
- font-family: ${_t};
129
- font-size: ${It};
128
+ font-family: ${Tt};
129
+ font-size: ${_t};
130
130
  font-weight: ${Wt};
131
131
  letter-spacing: ${Kt};
132
132
  line-height: ${Ht};
@@ -187,7 +187,7 @@ const $t=1,wt=2,Ot=t=>(...e)=>({_$litDirective$:t,values:e});class St{constructo
187
187
  line-height: ${ye};
188
188
  text-transform: ${ve};
189
189
  }
190
- `,Pe=y`
190
+ `,Ie=y`
191
191
  .ft-typography--overline {
192
192
  font-family: ${be};
193
193
  font-size: ${me};
@@ -196,7 +196,7 @@ const $t=1,wt=2,Ot=t=>(...e)=>({_$litDirective$:t,values:e});class St{constructo
196
196
  line-height: ${Oe};
197
197
  text-transform: ${Se};
198
198
  }
199
- `,Te=y`
199
+ `,Pe=y`
200
200
  .ft-typography--button {
201
201
  font-family: ${ke};
202
202
  font-size: ${Ne};
@@ -205,18 +205,18 @@ const $t=1,wt=2,Ot=t=>(...e)=>({_$litDirective$:t,values:e});class St{constructo
205
205
  line-height: ${Re};
206
206
  text-transform: ${Me};
207
207
  }
208
- `,_e=y`
208
+ `,Te=y`
209
209
  .ft-typography {
210
210
  vertical-align: inherit;
211
211
  }
212
- `;var Ie=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class We extends mt{constructor(){super(...arguments),this.variant=zt.body1}render(){return this.element?Mt`
212
+ `;var _e=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class We extends mt{constructor(){super(...arguments),this.variant=zt.body1}render(){return this.element?Mt`
213
213
  <${Ct(this.element)}
214
214
  class="ft-typography ft-typography--${this.variant}">
215
215
  <slot></slot>
216
216
  </${Ct(this.element)}>
217
217
  `:Mt`
218
218
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
219
- `}}We.styles=[ze,Ue,Fe,je,Ae,Be,De,Le,Pe,Te,_e],Ie([o()],We.prototype,"element",void 0),Ie([o()],We.prototype,"variant",void 0),h("ft-typography")(We);const Ke={fontSize:ut.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:ut.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:ut.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:ut.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:ut.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:ut.extend("--ft-input-label-border-color",gt.colorOutline),textColor:ut.extend("--ft-input-label-text-color",gt.colorOnSurfaceMedium),disabledTextColor:ut.extend("--ft-input-label-disabled-text-color",gt.colorOnSurfaceDisabled),colorSurface:ut.external(gt.colorSurface,"Design system"),borderRadiusS:ut.external(gt.borderRadiusS,"Design system"),colorError:ut.external(gt.colorError,"Design system")},He=y`
219
+ `}}We.styles=[ze,Ue,Fe,je,Ae,Be,De,Le,Ie,Pe,Te],_e([o()],We.prototype,"element",void 0),_e([o()],We.prototype,"variant",void 0),h("ft-typography")(We);const Ke={fontSize:ut.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:ut.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:ut.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:ut.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:ut.create("--ft-input-label-horizontal-spacing","SIZE","12px"),labelMaxWidth:ut.create("--ft-input-label-max-width","SIZE","100%"),borderColor:ut.extend("--ft-input-label-border-color",gt.colorOutline),textColor:ut.extend("--ft-input-label-text-color",gt.colorOnSurfaceMedium),disabledTextColor:ut.extend("--ft-input-label-disabled-text-color",gt.colorOnSurfaceDisabled),colorSurface:ut.external(gt.colorSurface,"Design system"),borderRadiusS:ut.external(gt.borderRadiusS,"Design system"),colorError:ut.external(gt.colorError,"Design system")},He=y`
220
220
  .ft-input-label {
221
221
  position: absolute;
222
222
  inset: 0;
@@ -247,7 +247,7 @@ const $t=1,wt=2,Ot=t=>(...e)=>({_$litDirective$:t,values:e});class St{constructo
247
247
  }
248
248
 
249
249
  .ft-input-label:before {
250
- width: ${Ke.horizontalSpacing};
250
+ width: calc(${Ke.horizontalSpacing} - 4px);
251
251
  flex-shrink: 0;
252
252
  }
253
253
 
@@ -265,6 +265,8 @@ const $t=1,wt=2,Ot=t=>(...e)=>({_$litDirective$:t,values:e});class St{constructo
265
265
  border-color: inherit;
266
266
  color: ${Ke.textColor};
267
267
  transition: font-size 250ms, line-height 250ms, color 250ms;
268
+ max-width: calc(${Ke.labelMaxWidth} - 2 * (${Ke.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
269
+ text-overflow: ellipsis;
268
270
  ${xt(ce.fontSize,Ke.fontSize)};
269
271
  ${xt(ce.lineHeight,Ke.fontSize)};
270
272
  }
@@ -280,6 +282,8 @@ const $t=1,wt=2,Ot=t=>(...e)=>({_$litDirective$:t,values:e});class St{constructo
280
282
  .ft-input-label--hidden-text {
281
283
  padding: 0 4px;
282
284
  opacity: 0;
285
+ max-width: 100%;
286
+ box-sizing: border-box;
283
287
  }
284
288
 
285
289
  .ft-input-label--floating-text {
@@ -291,6 +295,8 @@ const $t=1,wt=2,Ot=t=>(...e)=>({_$litDirective$:t,values:e});class St{constructo
291
295
  text-overflow: ellipsis;
292
296
  padding: ${Ke.verticalSpacing} 4px;
293
297
  margin: calc(${Ke.verticalSpacing} * -1) 0;
298
+ max-width: 100%;
299
+ box-sizing: border-box;
294
300
  }
295
301
 
296
302
  .ft-input-label--raised .ft-input-label--text {
@@ -511,7 +517,7 @@ class ni extends St{constructor(t){if(super(t),this.it=q,t.type!==wt)throw Error
511
517
  ${xt(Ke.fontSize,vi.fontSize)};
512
518
  ${xt(Ke.raisedFontSize,vi.labelSize)};
513
519
  ${xt(Ke.verticalSpacing,vi.verticalSpacing)};
514
- ${xt(Ke.horizontalSpacing,y`calc(${vi.horizontalSpacing} - 4px)`)};
520
+ ${xt(Ke.horizontalSpacing,vi.horizontalSpacing)};
515
521
  }
516
522
 
517
523
  .ft-text-field--main-panel {
@@ -643,7 +649,11 @@ class ni extends St{constructor(t){if(super(t),this.it=q,t.type!==wt)throw Error
643
649
  .ft-text-field:not(.ft-text-field--hide-suggestions):focus-within .ft-text-field--suggestions {
644
650
  display: flex;
645
651
  }
646
- `;var mi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class $i extends mt{constructor(){super(...arguments),this.value="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.filterSuggestions=!1,this.focused=!1,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value};return V`
652
+
653
+ .ft-text-field--with-icon {
654
+ ${xt(Ke.labelMaxWidth,`calc(100% - ${pi} - ${Ke.horizontalSpacing})`)};
655
+ }
656
+ `;var mi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class $i extends mt{constructor(){super(...arguments),this.value="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.filterSuggestions=!1,this.focused=!1,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon};return V`
647
657
  <div class="${kt(t)}">
648
658
  <div class="ft-text-field--main-panel"
649
659
  @keydown=${this.handleKeyboardNavigation}>
@@ -658,6 +668,7 @@ class ni extends St{constructor(t){if(super(t),this.it=q,t.type!==wt)throw Error
658
668
  `}
659
669
  <ft-typography class="ft-text-field--prefix" vaiant="body1">${this.prefix}</ft-typography>
660
670
  <input type="text"
671
+ maxlength="${this.maxLength}"
661
672
  aria-label="${this.label}"
662
673
  class="ft-typography--body1 ft-text-field--input"
663
674
  ?disabled=${this.disabled}
@@ -685,7 +696,7 @@ class ni extends St{constructor(t){if(super(t),this.it=q,t.type!==wt)throw Error
685
696
  </ft-typography>
686
697
  `:q}
687
698
  </div>
688
- `}updated(t){super.updated(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,i;if(super.contentAvailableCallback(t),!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),o=null===(i=this.suggestionsContainer)||void 0===i?void 0:i.getBoundingClientRect();t&&o&&(this.suggestionsOnTop=t.bottom+o.height>window.innerHeight&&t.top-o.height>0)}}updateValueFromInputField(){var t;this.setValue((null===(t=this.input)||void 0===t?void 0:t.value)||"",!0)}handleInput(){var t;const e=(null===(t=this.input)||void 0===t?void 0:t.value)||"";this.value!==e&&(this.hideSuggestions=!1,this.value=e,this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})))}handleClick(){this.hideSuggestions=!1}setValue(t,e){this.value=t,e&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const i=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let o;o="ArrowDown"===t.key?i<this.visibleSuggestions.length-1?i+1:0:i>0?i-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[o])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onInputBlur(){this.focused=!1}}$i.elementDefinitions={"ft-input-label":Ve,"ft-ripple":si,"ft-typography":We,"ft-icon":yi},$i.styles=[Ae,bi],mi([o()],$i.prototype,"label",void 0),mi([o()],$i.prototype,"value",void 0),mi([o()],$i.prototype,"helper",void 0),mi([o({type:Boolean})],$i.prototype,"outlined",void 0),mi([o({type:Boolean})],$i.prototype,"disabled",void 0),mi([o({type:Boolean})],$i.prototype,"error",void 0),mi([o()],$i.prototype,"prefix",void 0),mi([o()],$i.prototype,"icon",void 0),mi([o()],$i.prototype,"iconVariant",void 0),mi([o({type:Boolean})],$i.prototype,"filterSuggestions",void 0),mi([s()],$i.prototype,"focused",void 0),mi([s()],$i.prototype,"suggestionsOnTop",void 0),mi([s()],$i.prototype,"hideSuggestions",void 0),mi([s()],$i.prototype,"visibleSuggestions",void 0),mi([r(".ft-text-field--input")],$i.prototype,"input",void 0),mi([r(".ft-text-field--suggestions")],$i.prototype,"suggestionsContainer",void 0),mi([p({selector:"ft-text-field-suggestion"})],$i.prototype,"suggestions",void 0);const wi=y`
699
+ `}updated(t){super.updated(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,i;if(super.contentAvailableCallback(t),!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),o=null===(i=this.suggestionsContainer)||void 0===i?void 0:i.getBoundingClientRect();t&&o&&(this.suggestionsOnTop=t.bottom+o.height>window.innerHeight&&t.top-o.height>0)}}updateValueFromInputField(){var t;this.setValue((null===(t=this.input)||void 0===t?void 0:t.value)||"",!0)}handleInput(){var t;const e=(null===(t=this.input)||void 0===t?void 0:t.value)||"";this.value!==e&&(this.hideSuggestions=!1,this.value=e,this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})))}handleClick(){this.hideSuggestions=!1}setValue(t,e){this.value=t,e&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const i=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let o;o="ArrowDown"===t.key?i<this.visibleSuggestions.length-1?i+1:0:i>0?i-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[o])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onInputBlur(){this.focused=!1}}$i.elementDefinitions={"ft-input-label":Ve,"ft-ripple":si,"ft-typography":We,"ft-icon":yi},$i.styles=[Ae,bi],mi([o()],$i.prototype,"label",void 0),mi([o()],$i.prototype,"value",void 0),mi([o()],$i.prototype,"helper",void 0),mi([o({type:Boolean})],$i.prototype,"outlined",void 0),mi([o({type:Boolean})],$i.prototype,"disabled",void 0),mi([o({type:Boolean})],$i.prototype,"error",void 0),mi([o()],$i.prototype,"prefix",void 0),mi([o()],$i.prototype,"icon",void 0),mi([o()],$i.prototype,"iconVariant",void 0),mi([o({type:Boolean})],$i.prototype,"filterSuggestions",void 0),mi([o({type:Number})],$i.prototype,"maxLength",void 0),mi([s()],$i.prototype,"focused",void 0),mi([s()],$i.prototype,"suggestionsOnTop",void 0),mi([s()],$i.prototype,"hideSuggestions",void 0),mi([s()],$i.prototype,"visibleSuggestions",void 0),mi([r(".ft-text-field--input")],$i.prototype,"input",void 0),mi([r(".ft-text-field--suggestions")],$i.prototype,"suggestionsContainer",void 0),mi([p({selector:"ft-text-field-suggestion"})],$i.prototype,"suggestions",void 0);const wi=y`
689
700
  .ft-text-field-suggestion {
690
701
  position: relative;
691
702
  padding: 8px 16px;
@@ -9,5 +9,6 @@ export interface FtTextFieldProperties {
9
9
  icon?: string;
10
10
  iconVariant?: string;
11
11
  filterSuggestions?: boolean;
12
+ maxLength?: number;
12
13
  }
13
14
  //# sourceMappingURL=ft-text-field.properties.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-text-field",
3
- "version": "0.3.48",
3
+ "version": "0.3.49",
4
4
  "description": "A fluidtopics text field",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "0.3.48",
23
- "@fluid-topics/ft-input-label": "0.3.48",
24
- "@fluid-topics/ft-ripple": "0.3.48",
25
- "@fluid-topics/ft-typography": "0.3.48",
26
- "@fluid-topics/ft-wc-utils": "0.3.48",
22
+ "@fluid-topics/ft-icon": "0.3.49",
23
+ "@fluid-topics/ft-input-label": "0.3.49",
24
+ "@fluid-topics/ft-ripple": "0.3.49",
25
+ "@fluid-topics/ft-typography": "0.3.49",
26
+ "@fluid-topics/ft-wc-utils": "0.3.49",
27
27
  "lit": "2.2.8"
28
28
  },
29
- "gitHead": "d3c000ead2ed2e15f291d09b303ad8aaa7f1ce98"
29
+ "gitHead": "3584a4f0b3edc500a360c2afe2ef3e5cdbb604b6"
30
30
  }