@fluid-topics/ft-search-bar 0.3.66 → 0.3.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-search-bar.light.js +4 -4
- package/build/ft-search-bar.min.js +16 -16
- package/package.json +14 -14
|
@@ -413,7 +413,7 @@ const q=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
|
|
|
413
413
|
${n.unsafeHTML(this.resolvedIcon)}
|
|
414
414
|
<slot ?hidden=${o}></slot>
|
|
415
415
|
</i>
|
|
416
|
-
`}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 Ee.file_format:this.resolvedIcon=null!==(t=Se[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Ee.material:this.resolvedIcon=this.value||i.nothing;break;default:this.resolvedIcon=null!==(e=ke[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}De.elementDefinitions={},De.styles=Ce,Ie([o.property()],De.prototype,"variant",void 0),Ie([o.property()],De.prototype,"value",void 0),Ie([o.state()],De.prototype,"resolvedIcon",void 0),Ie([o.query("slot")],De.prototype,"slottedContent",void 0),e.customElement("ft-icon")(De);const Fe=e.FtCssVariableFactory.extend("--ft-button-color",e.designSystemVariables.colorPrimary),Le={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius",e.designSystemVariables.borderRadiusL),color:Fe,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size",Zt.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color",Fe),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},je=e.FtCssVariableFactory.extend("--ft-button-primary-color",e.FtCssVariableFactory.extend("--ft-button-color",e.designSystemVariables.colorOnPrimary)),Me={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color",e.FtCssVariableFactory.extend("--ft-button-background-color",e.designSystemVariables.colorPrimary)),color:je,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",je)},Pe=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius",e.FtCssVariableFactory.extend("--ft-button-border-radius",e.designSystemVariables.borderRadiusM)),Ae=[e.noTextSelect,i.css`
|
|
416
|
+
`}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 Ee.file_format:this.resolvedIcon=null!==(t=Se[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Ee.material:this.resolvedIcon=this.value||i.nothing;break;default:this.resolvedIcon=null!==(e=ke[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}De.elementDefinitions={},De.styles=Ce,Ie([o.property()],De.prototype,"variant",void 0),Ie([o.property()],De.prototype,"value",void 0),Ie([o.state()],De.prototype,"resolvedIcon",void 0),Ie([o.query("slot")],De.prototype,"slottedContent",void 0),e.customElement("ft-icon")(De);const Fe=e.FtCssVariableFactory.extend("--ft-button-color",e.designSystemVariables.colorPrimary),Le={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius",e.designSystemVariables.borderRadiusL),color:Fe,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size",Zt.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color",Fe),verticalPadding:e.FtCssVariableFactory.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:e.FtCssVariableFactory.create("--ft-button-horizontal-padding","SIZE","8px"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},je=e.FtCssVariableFactory.extend("--ft-button-primary-color",e.FtCssVariableFactory.extend("--ft-button-color",e.designSystemVariables.colorOnPrimary)),Me={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color",e.FtCssVariableFactory.extend("--ft-button-background-color",e.designSystemVariables.colorPrimary)),color:je,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",je)},Pe=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius",e.FtCssVariableFactory.extend("--ft-button-border-radius",e.designSystemVariables.borderRadiusM)),Ae=[e.noTextSelect,i.css`
|
|
417
417
|
:host {
|
|
418
418
|
display: inline-block;
|
|
419
419
|
max-width: 100%;
|
|
@@ -462,7 +462,7 @@ const q=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
|
|
|
462
462
|
--ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Le.iconSize});
|
|
463
463
|
|
|
464
464
|
border-radius: ${Le.borderRadius};
|
|
465
|
-
padding:
|
|
465
|
+
padding: ${Le.verticalPadding} ${Le.horizontalPadding};
|
|
466
466
|
background-color: ${Le.backgroundColor};
|
|
467
467
|
color: var(--ft-button-internal-color);
|
|
468
468
|
-webkit-mask-image: radial-gradient(white, black);
|
|
@@ -495,7 +495,7 @@ const q=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
|
|
|
495
495
|
|
|
496
496
|
.ft-button.ft-button--outlined {
|
|
497
497
|
border: 1px solid var(--ft-button-internal-color);
|
|
498
|
-
padding: calc(
|
|
498
|
+
padding: calc(${Le.verticalPadding} - 1px) calc(${Le.horizontalPadding} - 1px);
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
.ft-button:focus {
|
|
@@ -512,7 +512,7 @@ const q=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
|
|
|
512
512
|
${e.setVariable(Zt.fontSize,"1em")};
|
|
513
513
|
${e.setVariable(Zt.lineHeight,"var(--ft-button-internal-content-height)")};
|
|
514
514
|
}
|
|
515
|
-
|
|
515
|
+
|
|
516
516
|
.ft-button--label[hidden] {
|
|
517
517
|
display: none;
|
|
518
518
|
}
|
|
@@ -66,13 +66,13 @@ var l;const a=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prot
|
|
|
66
66
|
* Copyright 2017 Google LLC
|
|
67
67
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
68
|
*/
|
|
69
|
-
var N;M.finalized=!0,M.elementProperties=new Map,M.elementStyles=[],M.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:M}),(null!==(w=k.reactiveElementVersions)&&void 0!==w?w:k.reactiveElementVersions=[]).push("1.4.1");const F=window,R=F.trustedTypes,L=R?R.createPolicy("lit-html",{createHTML:t=>t}):void 0,D=`lit$${(Math.random()+"").slice(9)}$`,j="?"+D,I=`<${j}>`,
|
|
69
|
+
var N;M.finalized=!0,M.elementProperties=new Map,M.elementStyles=[],M.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:M}),(null!==(w=k.reactiveElementVersions)&&void 0!==w?w:k.reactiveElementVersions=[]).push("1.4.1");const F=window,R=F.trustedTypes,L=R?R.createPolicy("lit-html",{createHTML:t=>t}):void 0,D=`lit$${(Math.random()+"").slice(9)}$`,j="?"+D,I=`<${j}>`,P=document,U=(t="")=>P.createComment(t),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,_=t=>T(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Z=/-->/g,K=/>/g,W=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),V=/'/g,q=/"/g,J=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Y=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),G=new WeakMap,tt=P.createTreeWalker(P,129,null,!1),et=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=H;for(let e=0;e<i;e++){const i=t[e];let l,a,c=-1,h=0;for(;h<i.length&&(n.lastIndex=h,a=n.exec(i),null!==a);)h=n.lastIndex,n===H?"!--"===a[1]?n=Z:void 0!==a[1]?n=K:void 0!==a[2]?(J.test(a[2])&&(s=RegExp("</"+a[2],"g")),n=W):void 0!==a[3]&&(n=W):n===W?">"===a[0]?(n=null!=s?s:H,c=-1):void 0===a[1]?c=-2:(c=n.lastIndex-a[2].length,l=a[1],n=void 0===a[3]?W:'"'===a[3]?q:V):n===q||n===V?n=W:n===Z||n===K?n=H:(n=W,s=void 0);const p=n===W&&t[e+1].startsWith("/>")?" ":"";r+=n===H?i+I:c>=0?(o.push(l),i.slice(0,c)+"$lit$"+i.slice(c)+D+p):i+D+(-2===c?(o.push(void 0),e):p)}const l=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==L?L.createHTML(l):l,o]};class it{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,l=this.parts,[a,c]=et(t,e);if(this.el=it.createElement(a,i),tt.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=tt.nextNode())&&l.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(D)){const i=c[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(D),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?lt:"?"===e[1]?ct:"@"===e[1]?ht:nt})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(J.test(o.tagName)){const t=o.textContent.split(D),e=t.length-1;if(e>0){o.textContent=R?R.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),tt.nextNode(),l.push({type:2,index:++s});o.append(t[e],U())}}}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(D,t+1));)l.push({type:7,index:s}),t+=D.length-1}s++}}static createElement(t,e){const i=P.createElement("template");return i.innerHTML=t,i}}function ot(t,e,i=t,o){var s,r,n,l;if(e===Y)return e;let a=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const c=A(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==c&&(null===(r=null==a?void 0:a._$AO)||void 0===r||r.call(a,!1),void 0===c?a=void 0:(a=new c(t),a._$AT(t,i,o)),void 0!==o?(null!==(n=(l=i)._$Co)&&void 0!==n?n:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=ot(t,a._$AS(t,e.values),a,o)),e}class st{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:P).importNode(i,!0);tt.currentNode=s;let r=tt.nextNode(),n=0,l=0,a=o[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new rt(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new pt(r,this,t)),this.u.push(e),a=o[++l]}n!==(null==a?void 0:a.index)&&(r=tt.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 rt{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=ot(this,t,e),A(t)?t===Q||null==t||""===t?(this._$AH!==Q&&this._$AR(),this._$AH=Q):t!==this._$AH&&t!==Y&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):_(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&&A(this._$AH)?this._$AA.nextSibling.data=t:this.T(P.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=it.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 st(s,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=G.get(t.strings);return void 0===e&&G.set(t.strings,e=new it(t)),e}k(t){T(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 rt(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 nt{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 r=!1;if(void 0===s)t=ot(this,t,e,0),r=!A(t)||t!==this._$AH&&t!==Y,r&&(this._$AH=t);else{const o=t;let n,l;for(t=s[0],n=0;n<s.length-1;n++)l=ot(this,o[i+n],e,n),l===Y&&(l=this._$AH[n]),r||(r=!A(l)||l!==this._$AH[n]),l===Q?t=Q:t!==Q&&(t+=(null!=l?l:"")+s[n+1]),this._$AH[n]=l}r&&!o&&this.j(t)}j(t){t===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class lt extends nt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Q?void 0:t}}const at=R?R.emptyScript:"";class ct extends nt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Q?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class ht extends nt{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=ot(this,t,e,0))&&void 0!==i?i:Q)===Y)return;const o=this._$AH,s=t===Q&&o!==Q||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==Q&&(o===Q||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class pt{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){ot(this,t)}}const dt={P:"$lit$",A:D,M:j,C:1,L:et,R:st,D:_,V:ot,I:rt,H:nt,N:ct,U:ht,B:lt,F:pt},ft=F.litHtmlPolyfillSupport;null==ft||ft(it,rt),(null!==(N=F.litHtmlVersions)&&void 0!==N?N:F.litHtmlVersions=[]).push("2.4.0");
|
|
70
70
|
/**
|
|
71
71
|
* @license
|
|
72
72
|
* Copyright 2017 Google LLC
|
|
73
73
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
74
74
|
*/
|
|
75
|
-
var ut,bt;class vt extends M{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,s;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let n=r._$litPart$;if(void 0===n){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;r._$litPart$=n=new rt(e.insertBefore(
|
|
75
|
+
var ut,bt;class vt extends M{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,s;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let n=r._$litPart$;if(void 0===n){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;r._$litPart$=n=new rt(e.insertBefore(U(),t),t,void 0,null!=i?i:{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Y}}vt.finalized=!0,vt._$litElement$=!0,null===(ut=globalThis.litElementHydrateSupport)||void 0===ut||ut.call(globalThis,{LitElement:vt});const gt=globalThis.litElementPolyfillSupport;null==gt||gt({LitElement:vt}),(null!==(bt=globalThis.litElementVersions)&&void 0!==bt?bt:globalThis.litElementVersions=[]).push("3.2.2");class xt{static create(t,e,i){let o=t=>x(null!=t?t:i),s=y`var(${x(t)}, ${o(i)})`;return s.name=t,s.category=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>y`var(${x(t)}, ${o(e)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),s=y`var(${x(t)}, ${o(i)})`;return s.name=t,s.category=e.category,s.fallbackVariable=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>y`var(${x(t)}, ${o(e)})`,s.breadcrumb=()=>[e.name,...e.breadcrumb()],s.lastResortDefaultValue=()=>i,s}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):x(null!=e?e:t.defaultValue),o=y`var(${x(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>y`var(${x(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function yt(t,e){return x(`${t.name}: ${e}`)}const mt={colorPrimary:xt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:xt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:xt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:xt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:xt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:xt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xt.create("--ft-color-error","COLOR","#B00020"),colorOutline:xt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:xt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:xt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:xt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:xt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:xt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:xt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:xt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:xt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:xt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:xt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:xt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:xt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:xt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:xt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:xt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:xt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:xt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:xt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:xt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:xt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:xt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:xt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:xt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:xt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:xt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:xt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:xt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:xt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:xt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:xt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:xt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
|
|
76
76
|
/**
|
|
77
77
|
* @license
|
|
78
78
|
* Copyright 2021 Google LLC
|
|
@@ -124,7 +124,7 @@ var ut,bt;class vt extends M{constructor(){super(...arguments),this.renderOption
|
|
|
124
124
|
* @license
|
|
125
125
|
* Copyright 2020 Google LLC
|
|
126
126
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
127
|
-
*/const{I:Dt}=dt,jt=()=>document.createComment(""),It=(t,e,i)=>{var o;const s=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore(jt(),r),o=s.insertBefore(jt(),r);i=new Dt(e,o,t,t.options)}else{const e=i._$AB.nextSibling,n=i._$AM,l=n!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==n._$AU&&i._$AP(e)}if(e!==r||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,r),t=e}}}return i},
|
|
127
|
+
*/const{I:Dt}=dt,jt=()=>document.createComment(""),It=(t,e,i)=>{var o;const s=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore(jt(),r),o=s.insertBefore(jt(),r);i=new Dt(e,o,t,t.options)}else{const e=i._$AB.nextSibling,n=i._$AM,l=n!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==n._$AU&&i._$AP(e)}if(e!==r||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,r),t=e}}}return i},Pt=(t,e,i=t)=>(t._$AI(e,i),t),Ut={},At=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Tt=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},_t=Rt(class extends Lt{constructor(t){if(super(t),t.type!==Ft)throw Error("repeat() can only be used in text expressions")}ht(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const s=[],r=[];let n=0;for(const e of t)s[n]=o?o(e,n):n,r[n]=i(e,n),n++;return{values:r,keys:s}}render(t,e,i){return this.ht(t,e,i).values}update(t,[e,i,o]){var s;const r=(t=>t._$AH)(t),{values:n,keys:l}=this.ht(e,i,o);if(!Array.isArray(r))return this.ut=l,n;const a=null!==(s=this.ut)&&void 0!==s?s:this.ut=[],c=[];let h,p,d=0,f=r.length-1,u=0,b=n.length-1;for(;d<=f&&u<=b;)if(null===r[d])d++;else if(null===r[f])f--;else if(a[d]===l[u])c[u]=Pt(r[d],n[u]),d++,u++;else if(a[f]===l[b])c[b]=Pt(r[f],n[b]),f--,b--;else if(a[d]===l[b])c[b]=Pt(r[d],n[b]),It(t,c[b+1],r[d]),d++,b--;else if(a[f]===l[u])c[u]=Pt(r[f],n[u]),It(t,r[d],r[f]),f--,u++;else if(void 0===h&&(h=Tt(l,u,b),p=Tt(a,d,f)),h.has(a[d]))if(h.has(a[f])){const e=p.get(l[u]),i=void 0!==e?r[e]:null;if(null===i){const e=It(t,r[d]);Pt(e,n[u]),c[u]=e}else c[u]=Pt(i,n[u]),It(t,r[d],i),r[e]=null;u++}else At(r[f]),f--;else At(r[d]),d++;for(;u<=b;){const e=It(t,c[b+1]);Pt(e,n[u]),c[u++]=e}for(;d<=f;){const t=r[d++];null!==t&&At(t)}return this.ut=l,((t,e=Ut)=>{t._$AH=e})(t,c),Y}});
|
|
128
128
|
/**
|
|
129
129
|
* @license
|
|
130
130
|
* Copyright 2017 Google LLC
|
|
@@ -158,7 +158,7 @@ var ut,bt;class vt extends M{constructor(){super(...arguments),this.renderOption
|
|
|
158
158
|
* Copyright 2020 Google LLC
|
|
159
159
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
160
160
|
*/
|
|
161
|
-
const qt=Symbol.for(""),Jt=t=>{if((null==t?void 0:t.r)===qt)return null==t?void 0:t._$litStatic$},Xt=t=>({_$litStatic$:t,r:qt}),Yt=new Map,Qt=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],l=[];let a,c=0,h=!1;for(;c<o;){for(a=e[c];c<o&&void 0!==(r=i[c],s=Jt(r));)a+=s+e[++c],h=!0;l.push(r),n.push(a),c++}if(c===o&&n.push(e[o]),h){const t=n.join("$$lit$$");void 0===(e=Yt.get(t))&&(n.raw=n,Yt.set(t,e=n)),i=l}return t(e,...i)})(X);var Gt;!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"}(Gt||(Gt={}));const te=xt.extend("--ft-typography-font-family",mt.titleFont),ee=xt.extend("--ft-typography-font-family",mt.contentFont),ie={fontFamily:ee,fontSize:xt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:xt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:xt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:xt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:xt.create("--ft-typography-text-transform","UNKNOWN","inherit")},oe=xt.extend("--ft-typography-title-font-family",te),se=xt.extend("--ft-typography-title-font-size",ie.fontSize,"20px"),re=xt.extend("--ft-typography-title-font-weight",ie.fontWeight,"normal"),ne=xt.extend("--ft-typography-title-letter-spacing",ie.letterSpacing,"0.15px"),le=xt.extend("--ft-typography-title-line-height",ie.lineHeight,"1.2"),ae=xt.extend("--ft-typography-title-text-transform",ie.textTransform,"inherit"),ce=xt.extend("--ft-typography-title-dense-font-family",te),he=xt.extend("--ft-typography-title-dense-font-size",ie.fontSize,"14px"),pe=xt.extend("--ft-typography-title-dense-font-weight",ie.fontWeight,"normal"),de=xt.extend("--ft-typography-title-dense-letter-spacing",ie.letterSpacing,"0.105px"),fe=xt.extend("--ft-typography-title-dense-line-height",ie.lineHeight,"1.7"),ue=xt.extend("--ft-typography-title-dense-text-transform",ie.textTransform,"inherit"),be=xt.extend("--ft-typography-subtitle1-font-family",ee),ve=xt.extend("--ft-typography-subtitle1-font-size",ie.fontSize,"16px"),ge=xt.extend("--ft-typography-subtitle1-font-weight",ie.fontWeight,"600"),xe=xt.extend("--ft-typography-subtitle1-letter-spacing",ie.letterSpacing,"0.144px"),ye=xt.extend("--ft-typography-subtitle1-line-height",ie.lineHeight,"1.5"),me=xt.extend("--ft-typography-subtitle1-text-transform",ie.textTransform,"inherit"),$e=xt.extend("--ft-typography-subtitle2-font-family",ee),we=xt.extend("--ft-typography-subtitle2-font-size",ie.fontSize,"14px"),ke=xt.extend("--ft-typography-subtitle2-font-weight",ie.fontWeight,"normal"),Se=xt.extend("--ft-typography-subtitle2-letter-spacing",ie.letterSpacing,"0.098px"),Oe=xt.extend("--ft-typography-subtitle2-line-height",ie.lineHeight,"1.7"),Ce=xt.extend("--ft-typography-subtitle2-text-transform",ie.textTransform,"inherit"),Ee={fontFamily:xt.extend("--ft-typography-body1-font-family",ee),fontSize:xt.extend("--ft-typography-body1-font-size",ie.fontSize,"16px"),fontWeight:xt.extend("--ft-typography-body1-font-weight",ie.fontWeight,"normal"),letterSpacing:xt.extend("--ft-typography-body1-letter-spacing",ie.letterSpacing,"0.496px"),lineHeight:xt.extend("--ft-typography-body1-line-height",ie.lineHeight,"1.5"),textTransform:xt.extend("--ft-typography-body1-text-transform",ie.textTransform,"inherit")},ze={fontFamily:xt.extend("--ft-typography-body2-font-family",ee),fontSize:xt.extend("--ft-typography-body2-font-size",ie.fontSize,"14px"),fontWeight:xt.extend("--ft-typography-body2-font-weight",ie.fontWeight,"normal"),letterSpacing:xt.extend("--ft-typography-body2-letter-spacing",ie.letterSpacing,"0.252px"),lineHeight:xt.extend("--ft-typography-body2-line-height",ie.lineHeight,"1.4"),textTransform:xt.extend("--ft-typography-body2-text-transform",ie.textTransform,"inherit")},Be={fontFamily:xt.extend("--ft-typography-caption-font-family",ee),fontSize:xt.extend("--ft-typography-caption-font-size",ie.fontSize,"12px"),fontWeight:xt.extend("--ft-typography-caption-font-weight",ie.fontWeight,"normal"),letterSpacing:xt.extend("--ft-typography-caption-letter-spacing",ie.letterSpacing,"0.396px"),lineHeight:xt.extend("--ft-typography-caption-line-height",ie.lineHeight,"1.33"),textTransform:xt.extend("--ft-typography-caption-text-transform",ie.textTransform,"inherit")},Me=xt.extend("--ft-typography-breadcrumb-font-family",ee),Ne=xt.extend("--ft-typography-breadcrumb-font-size",ie.fontSize,"10px"),Fe=xt.extend("--ft-typography-breadcrumb-font-weight",ie.fontWeight,"normal"),Re=xt.extend("--ft-typography-breadcrumb-letter-spacing",ie.letterSpacing,"0.33px"),Le=xt.extend("--ft-typography-breadcrumb-line-height",ie.lineHeight,"1.6"),De=xt.extend("--ft-typography-breadcrumb-text-transform",ie.textTransform,"inherit"),je=xt.extend("--ft-typography-overline-font-family",ee),Ie=xt.extend("--ft-typography-overline-font-size",ie.fontSize,"10px"),
|
|
161
|
+
const qt=Symbol.for(""),Jt=t=>{if((null==t?void 0:t.r)===qt)return null==t?void 0:t._$litStatic$},Xt=t=>({_$litStatic$:t,r:qt}),Yt=new Map,Qt=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],l=[];let a,c=0,h=!1;for(;c<o;){for(a=e[c];c<o&&void 0!==(r=i[c],s=Jt(r));)a+=s+e[++c],h=!0;l.push(r),n.push(a),c++}if(c===o&&n.push(e[o]),h){const t=n.join("$$lit$$");void 0===(e=Yt.get(t))&&(n.raw=n,Yt.set(t,e=n)),i=l}return t(e,...i)})(X);var Gt;!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"}(Gt||(Gt={}));const te=xt.extend("--ft-typography-font-family",mt.titleFont),ee=xt.extend("--ft-typography-font-family",mt.contentFont),ie={fontFamily:ee,fontSize:xt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:xt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:xt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:xt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:xt.create("--ft-typography-text-transform","UNKNOWN","inherit")},oe=xt.extend("--ft-typography-title-font-family",te),se=xt.extend("--ft-typography-title-font-size",ie.fontSize,"20px"),re=xt.extend("--ft-typography-title-font-weight",ie.fontWeight,"normal"),ne=xt.extend("--ft-typography-title-letter-spacing",ie.letterSpacing,"0.15px"),le=xt.extend("--ft-typography-title-line-height",ie.lineHeight,"1.2"),ae=xt.extend("--ft-typography-title-text-transform",ie.textTransform,"inherit"),ce=xt.extend("--ft-typography-title-dense-font-family",te),he=xt.extend("--ft-typography-title-dense-font-size",ie.fontSize,"14px"),pe=xt.extend("--ft-typography-title-dense-font-weight",ie.fontWeight,"normal"),de=xt.extend("--ft-typography-title-dense-letter-spacing",ie.letterSpacing,"0.105px"),fe=xt.extend("--ft-typography-title-dense-line-height",ie.lineHeight,"1.7"),ue=xt.extend("--ft-typography-title-dense-text-transform",ie.textTransform,"inherit"),be=xt.extend("--ft-typography-subtitle1-font-family",ee),ve=xt.extend("--ft-typography-subtitle1-font-size",ie.fontSize,"16px"),ge=xt.extend("--ft-typography-subtitle1-font-weight",ie.fontWeight,"600"),xe=xt.extend("--ft-typography-subtitle1-letter-spacing",ie.letterSpacing,"0.144px"),ye=xt.extend("--ft-typography-subtitle1-line-height",ie.lineHeight,"1.5"),me=xt.extend("--ft-typography-subtitle1-text-transform",ie.textTransform,"inherit"),$e=xt.extend("--ft-typography-subtitle2-font-family",ee),we=xt.extend("--ft-typography-subtitle2-font-size",ie.fontSize,"14px"),ke=xt.extend("--ft-typography-subtitle2-font-weight",ie.fontWeight,"normal"),Se=xt.extend("--ft-typography-subtitle2-letter-spacing",ie.letterSpacing,"0.098px"),Oe=xt.extend("--ft-typography-subtitle2-line-height",ie.lineHeight,"1.7"),Ce=xt.extend("--ft-typography-subtitle2-text-transform",ie.textTransform,"inherit"),Ee={fontFamily:xt.extend("--ft-typography-body1-font-family",ee),fontSize:xt.extend("--ft-typography-body1-font-size",ie.fontSize,"16px"),fontWeight:xt.extend("--ft-typography-body1-font-weight",ie.fontWeight,"normal"),letterSpacing:xt.extend("--ft-typography-body1-letter-spacing",ie.letterSpacing,"0.496px"),lineHeight:xt.extend("--ft-typography-body1-line-height",ie.lineHeight,"1.5"),textTransform:xt.extend("--ft-typography-body1-text-transform",ie.textTransform,"inherit")},ze={fontFamily:xt.extend("--ft-typography-body2-font-family",ee),fontSize:xt.extend("--ft-typography-body2-font-size",ie.fontSize,"14px"),fontWeight:xt.extend("--ft-typography-body2-font-weight",ie.fontWeight,"normal"),letterSpacing:xt.extend("--ft-typography-body2-letter-spacing",ie.letterSpacing,"0.252px"),lineHeight:xt.extend("--ft-typography-body2-line-height",ie.lineHeight,"1.4"),textTransform:xt.extend("--ft-typography-body2-text-transform",ie.textTransform,"inherit")},Be={fontFamily:xt.extend("--ft-typography-caption-font-family",ee),fontSize:xt.extend("--ft-typography-caption-font-size",ie.fontSize,"12px"),fontWeight:xt.extend("--ft-typography-caption-font-weight",ie.fontWeight,"normal"),letterSpacing:xt.extend("--ft-typography-caption-letter-spacing",ie.letterSpacing,"0.396px"),lineHeight:xt.extend("--ft-typography-caption-line-height",ie.lineHeight,"1.33"),textTransform:xt.extend("--ft-typography-caption-text-transform",ie.textTransform,"inherit")},Me=xt.extend("--ft-typography-breadcrumb-font-family",ee),Ne=xt.extend("--ft-typography-breadcrumb-font-size",ie.fontSize,"10px"),Fe=xt.extend("--ft-typography-breadcrumb-font-weight",ie.fontWeight,"normal"),Re=xt.extend("--ft-typography-breadcrumb-letter-spacing",ie.letterSpacing,"0.33px"),Le=xt.extend("--ft-typography-breadcrumb-line-height",ie.lineHeight,"1.6"),De=xt.extend("--ft-typography-breadcrumb-text-transform",ie.textTransform,"inherit"),je=xt.extend("--ft-typography-overline-font-family",ee),Ie=xt.extend("--ft-typography-overline-font-size",ie.fontSize,"10px"),Pe=xt.extend("--ft-typography-overline-font-weight",ie.fontWeight,"normal"),Ue=xt.extend("--ft-typography-overline-letter-spacing",ie.letterSpacing,"1.5px"),Ae=xt.extend("--ft-typography-overline-line-height",ie.lineHeight,"1.6"),Te=xt.extend("--ft-typography-overline-text-transform",ie.textTransform,"uppercase"),_e={fontFamily:xt.extend("--ft-typography-button-font-family",ee),fontSize:xt.extend("--ft-typography-button-font-size",ie.fontSize,"14px"),fontWeight:xt.extend("--ft-typography-button-font-weight",ie.fontWeight,"600"),letterSpacing:xt.extend("--ft-typography-button-letter-spacing",ie.letterSpacing,"1.246px"),lineHeight:xt.extend("--ft-typography-button-line-height",ie.lineHeight,"1.15"),textTransform:xt.extend("--ft-typography-button-text-transform",ie.textTransform,"uppercase")},He=y`
|
|
162
162
|
.ft-typography--title {
|
|
163
163
|
font-family: ${oe};
|
|
164
164
|
font-size: ${se};
|
|
@@ -235,8 +235,8 @@ const qt=Symbol.for(""),Jt=t=>{if((null==t?void 0:t.r)===qt)return null==t?void
|
|
|
235
235
|
.ft-typography--overline {
|
|
236
236
|
font-family: ${je};
|
|
237
237
|
font-size: ${Ie};
|
|
238
|
-
font-weight: ${
|
|
239
|
-
letter-spacing: ${
|
|
238
|
+
font-weight: ${Pe};
|
|
239
|
+
letter-spacing: ${Ue};
|
|
240
240
|
line-height: ${Ae};
|
|
241
241
|
text-transform: ${Te};
|
|
242
242
|
}
|
|
@@ -556,7 +556,7 @@ class Oi extends Lt{constructor(t){if(super(t),this.it=Q,t.type!==Ft)throw Error
|
|
|
556
556
|
${Ci(this.resolvedIcon)}
|
|
557
557
|
<slot ?hidden=${i}></slot>
|
|
558
558
|
</i>
|
|
559
|
-
`}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 i=this.value||this.textContent;switch(this.variant){case Ri.file_format:this.resolvedIcon=null!==(t=zi[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Ri.material:this.resolvedIcon=this.value||Q;break;default:this.resolvedIcon=null!==(e=Ei[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Di.elementDefinitions={},Di.styles=Fi,Li([o()],Di.prototype,"variant",void 0),Li([o()],Di.prototype,"value",void 0),Li([s()],Di.prototype,"resolvedIcon",void 0),Li([n("slot")],Di.prototype,"slottedContent",void 0),p("ft-icon")(Di);const ji=xt.extend("--ft-button-color",mt.colorPrimary),Ii={backgroundColor:xt.extend("--ft-button-background-color",mt.colorSurface),borderRadius:xt.extend("--ft-button-border-radius",mt.borderRadiusL),color:ji,fontSize:xt.extend("--ft-button-font-size",_e.fontSize),iconSize:xt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:xt.extend("--ft-button-ripple-color",ji),opacityDisabled:xt.external(mt.colorOpacityDisabled,"Design system")},
|
|
559
|
+
`}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 i=this.value||this.textContent;switch(this.variant){case Ri.file_format:this.resolvedIcon=null!==(t=zi[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Ri.material:this.resolvedIcon=this.value||Q;break;default:this.resolvedIcon=null!==(e=Ei[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Di.elementDefinitions={},Di.styles=Fi,Li([o()],Di.prototype,"variant",void 0),Li([o()],Di.prototype,"value",void 0),Li([s()],Di.prototype,"resolvedIcon",void 0),Li([n("slot")],Di.prototype,"slottedContent",void 0),p("ft-icon")(Di);const ji=xt.extend("--ft-button-color",mt.colorPrimary),Ii={backgroundColor:xt.extend("--ft-button-background-color",mt.colorSurface),borderRadius:xt.extend("--ft-button-border-radius",mt.borderRadiusL),color:ji,fontSize:xt.extend("--ft-button-font-size",_e.fontSize),iconSize:xt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:xt.extend("--ft-button-ripple-color",ji),verticalPadding:xt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:xt.create("--ft-button-horizontal-padding","SIZE","8px"),opacityDisabled:xt.external(mt.colorOpacityDisabled,"Design system")},Pi=xt.extend("--ft-button-primary-color",xt.extend("--ft-button-color",mt.colorOnPrimary)),Ui={backgroundColor:xt.extend("--ft-button-primary-background-color",xt.extend("--ft-button-background-color",mt.colorPrimary)),color:Pi,rippleColor:xt.extend("--ft-button-primary-ripple-color",Pi)},Ai=xt.extend("--ft-button-dense-border-radius",xt.extend("--ft-button-border-radius",mt.borderRadiusM)),Ti=[kt,y`
|
|
560
560
|
:host {
|
|
561
561
|
display: inline-block;
|
|
562
562
|
max-width: 100%;
|
|
@@ -605,7 +605,7 @@ class Oi extends Lt{constructor(t){if(super(t),this.it=Q,t.type!==Ft)throw Error
|
|
|
605
605
|
--ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Ii.iconSize});
|
|
606
606
|
|
|
607
607
|
border-radius: ${Ii.borderRadius};
|
|
608
|
-
padding:
|
|
608
|
+
padding: ${Ii.verticalPadding} ${Ii.horizontalPadding};
|
|
609
609
|
background-color: ${Ii.backgroundColor};
|
|
610
610
|
color: var(--ft-button-internal-color);
|
|
611
611
|
-webkit-mask-image: radial-gradient(white, black);
|
|
@@ -631,14 +631,14 @@ class Oi extends Lt{constructor(t){if(super(t),this.it=Q,t.type!==Ft)throw Error
|
|
|
631
631
|
}
|
|
632
632
|
|
|
633
633
|
.ft-button.ft-button--primary {
|
|
634
|
-
background-color: ${
|
|
635
|
-
--ft-button-internal-color: ${
|
|
636
|
-
${yt(ai.color,
|
|
634
|
+
background-color: ${Ui.backgroundColor};
|
|
635
|
+
--ft-button-internal-color: ${Ui.color};
|
|
636
|
+
${yt(ai.color,Ui.rippleColor)};
|
|
637
637
|
}
|
|
638
638
|
|
|
639
639
|
.ft-button.ft-button--outlined {
|
|
640
640
|
border: 1px solid var(--ft-button-internal-color);
|
|
641
|
-
padding: calc(
|
|
641
|
+
padding: calc(${Ii.verticalPadding} - 1px) calc(${Ii.horizontalPadding} - 1px);
|
|
642
642
|
}
|
|
643
643
|
|
|
644
644
|
.ft-button:focus {
|
|
@@ -655,7 +655,7 @@ class Oi extends Lt{constructor(t){if(super(t),this.it=Q,t.type!==Ft)throw Error
|
|
|
655
655
|
${yt(_e.fontSize,"1em")};
|
|
656
656
|
${yt(_e.lineHeight,"var(--ft-button-internal-content-height)")};
|
|
657
657
|
}
|
|
658
|
-
|
|
658
|
+
|
|
659
659
|
.ft-button--label[hidden] {
|
|
660
660
|
display: none;
|
|
661
661
|
}
|
|
@@ -1390,7 +1390,7 @@ class Oi extends Lt{constructor(t){if(super(t),this.it=Q,t.type!==Ft)throw Error
|
|
|
1390
1390
|
<div class="ft-accordion">
|
|
1391
1391
|
<slot @activated=${this.onChange}></slot>
|
|
1392
1392
|
</div>
|
|
1393
|
-
`}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach((e=>e.active=e===t.target))}}Lo.elementDefinitions={},Lo.styles=Fo,Ro([o({type:Boolean})],Lo.prototype,"multi",void 0),Ro([n("slot")],Lo.prototype,"content",void 0);const Do=xt.create("--ft-accordion-toggle-horizontal-spacing","SIZE","16px"),jo=xt.create("--ft-accordion-toggle-vertical-spacing","SIZE","16px"),Io=xt.external(mt.colorOutline,"Design system"),
|
|
1393
|
+
`}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach((e=>e.active=e===t.target))}}Lo.elementDefinitions={},Lo.styles=Fo,Ro([o({type:Boolean})],Lo.prototype,"multi",void 0),Ro([n("slot")],Lo.prototype,"content",void 0);const Do=xt.create("--ft-accordion-toggle-horizontal-spacing","SIZE","16px"),jo=xt.create("--ft-accordion-toggle-vertical-spacing","SIZE","16px"),Io=xt.external(mt.colorOutline,"Design system"),Po=y`
|
|
1394
1394
|
.ft-accordion-item {
|
|
1395
1395
|
display: flex;
|
|
1396
1396
|
flex-direction: column;
|
|
@@ -1435,7 +1435,7 @@ class Oi extends Lt{constructor(t){if(super(t),this.it=Q,t.type!==Ft)throw Error
|
|
|
1435
1435
|
.ft-accordion-item--separator {
|
|
1436
1436
|
border-bottom: 1px solid ${Io};
|
|
1437
1437
|
}
|
|
1438
|
-
`;var
|
|
1438
|
+
`;var Uo=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Ao extends wt{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return X`
|
|
1439
1439
|
<div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
|
|
1440
1440
|
<div class="ft-accordion-item--toggle"
|
|
1441
1441
|
part="toggle"
|
|
@@ -1465,7 +1465,7 @@ class Oi extends Lt{constructor(t){if(super(t),this.it=Q,t.type!==Ft)throw Error
|
|
|
1465
1465
|
</div>
|
|
1466
1466
|
<div class="ft-accordion-item--separator" part="separator"></div>
|
|
1467
1467
|
</div>
|
|
1468
|
-
`}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}Ao.elementDefinitions={"ft-ripple":gi,"ft-typography":ei,"ft-icon":Di},Ao.styles=Uo
|
|
1468
|
+
`}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}Ao.elementDefinitions={"ft-ripple":gi,"ft-typography":ei,"ft-icon":Di},Ao.styles=Po,Uo([o({type:String})],Ao.prototype,"icon",void 0),Uo([o({type:String})],Ao.prototype,"label",void 0),Uo([o({type:Boolean,reflect:!0})],Ao.prototype,"active",void 0),p("ft-accordion")(Lo),p("ft-accordion-item")(Ao);const To=xt.extend("--ft-chip-color",mt.colorOnSurface),_o={backgroundColor:xt.extend("--ft-chip-background-color",mt.colorSurface),color:To,fontSize:xt.extend("--ft-chip-font-size",ze.fontSize),iconSize:xt.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:xt.extend("--ft-chip-ripple-color",To),horizontalPadding:xt.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:xt.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:xt.external(mt.colorOutline,"Design system"),opacityDisabled:xt.external(mt.colorOpacityDisabled,"Design system")},Ho=xt.extend("--ft-chip-highlighted-color",xt.extend("--ft-chip-color",mt.colorOnPrimary)),Zo={backgroundColor:xt.extend("--ft-chip-highlighted-background-color",xt.extend("--ft-chip-background-color",mt.colorPrimary)),color:Ho,rippleColor:xt.extend("--ft-chip-highlighted-ripple-color",Ho)},Ko=xt.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),Wo=xt.create("--ft-chip-dense-vertical-padding","SIZE","4px"),Vo=[kt,y`
|
|
1469
1469
|
:host {
|
|
1470
1470
|
display: inline-block;
|
|
1471
1471
|
max-width: 100%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-bar",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.67",
|
|
4
4
|
"description": "Search bar component using Fluid Topics public API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-accordion": "0.3.
|
|
23
|
-
"@fluid-topics/ft-button": "0.3.
|
|
24
|
-
"@fluid-topics/ft-chip": "0.3.
|
|
25
|
-
"@fluid-topics/ft-filter": "0.3.
|
|
26
|
-
"@fluid-topics/ft-icon": "0.3.
|
|
27
|
-
"@fluid-topics/ft-select": "0.3.
|
|
28
|
-
"@fluid-topics/ft-size-watcher": "0.3.
|
|
29
|
-
"@fluid-topics/ft-skeleton": "0.3.
|
|
30
|
-
"@fluid-topics/ft-snap-scroll": "0.3.
|
|
31
|
-
"@fluid-topics/ft-tooltip": "0.3.
|
|
32
|
-
"@fluid-topics/ft-typography": "0.3.
|
|
33
|
-
"@fluid-topics/ft-wc-utils": "0.3.
|
|
22
|
+
"@fluid-topics/ft-accordion": "0.3.67",
|
|
23
|
+
"@fluid-topics/ft-button": "0.3.67",
|
|
24
|
+
"@fluid-topics/ft-chip": "0.3.67",
|
|
25
|
+
"@fluid-topics/ft-filter": "0.3.67",
|
|
26
|
+
"@fluid-topics/ft-icon": "0.3.67",
|
|
27
|
+
"@fluid-topics/ft-select": "0.3.67",
|
|
28
|
+
"@fluid-topics/ft-size-watcher": "0.3.67",
|
|
29
|
+
"@fluid-topics/ft-skeleton": "0.3.67",
|
|
30
|
+
"@fluid-topics/ft-snap-scroll": "0.3.67",
|
|
31
|
+
"@fluid-topics/ft-tooltip": "0.3.67",
|
|
32
|
+
"@fluid-topics/ft-typography": "0.3.67",
|
|
33
|
+
"@fluid-topics/ft-wc-utils": "0.3.67",
|
|
34
34
|
"lit": "2.2.8"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@fluid-topics/public-api": "1.0.33"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "9db69a3abe84d6fb5ec11e29164f2ceaa7369352"
|
|
43
43
|
}
|