@fluid-topics/ft-select
Advanced tools
Comparing version 0.2.22 to 0.3.0
import { PropertyValues } from "lit"; | ||
import { ElementDefinitionsMap, FtCssVariable, FtLitElement } from "@fluid-topics/ft-wc-utils"; | ||
import { ElementDefinitionsMap, FtLitElement } from "@fluid-topics/ft-wc-utils"; | ||
export interface FtSelectOptionProperties { | ||
@@ -27,16 +27,16 @@ label?: string; | ||
export declare const FtSelectCssVariables: { | ||
labelSize: FtCssVariable; | ||
selectedOptionSize: FtCssVariable; | ||
verticalSpacing: FtCssVariable; | ||
optionsHeight: FtCssVariable; | ||
selectedOptionColor: FtCssVariable; | ||
helperColor: FtCssVariable; | ||
optionsColor: FtCssVariable; | ||
optionsZIndex: FtCssVariable; | ||
colorSurface: FtCssVariable; | ||
colorOnSurfaceDisabled: FtCssVariable; | ||
colorPrimary: FtCssVariable; | ||
borderRadiusS: FtCssVariable; | ||
elevation02: FtCssVariable; | ||
colorError: FtCssVariable; | ||
labelSize: import("@fluid-topics/ft-wc-utils").FtCssVariable; | ||
selectedOptionSize: import("@fluid-topics/ft-wc-utils").FtCssVariable; | ||
verticalSpacing: import("@fluid-topics/ft-wc-utils").FtCssVariable; | ||
optionsHeight: import("@fluid-topics/ft-wc-utils").FtCssVariable; | ||
selectedOptionColor: import("@fluid-topics/ft-wc-utils").FtCssVariable; | ||
helperColor: import("@fluid-topics/ft-wc-utils").FtCssVariable; | ||
optionsColor: import("@fluid-topics/ft-wc-utils").FtCssVariable; | ||
optionsZIndex: import("@fluid-topics/ft-wc-utils").FtCssVariable; | ||
colorSurface: import("@fluid-topics/ft-wc-utils").FtCssVariable; | ||
colorOnSurfaceDisabled: import("@fluid-topics/ft-wc-utils").FtCssVariable; | ||
colorPrimary: import("@fluid-topics/ft-wc-utils").FtCssVariable; | ||
borderRadiusS: import("@fluid-topics/ft-wc-utils").FtCssVariable; | ||
elevation02: import("@fluid-topics/ft-wc-utils").FtCssVariable; | ||
colorError: import("@fluid-topics/ft-wc-utils").FtCssVariable; | ||
}; | ||
@@ -43,0 +43,0 @@ export declare class FtSelect extends FtLitElement implements FtSelectProperties { |
@@ -11,3 +11,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
import { repeat } from "lit/directives/repeat.js"; | ||
import { designSystemVariables, FtCssVariable, FtLitElement, setVariable } from "@fluid-topics/ft-wc-utils"; | ||
import { designSystemVariables, FtCssVariableFactory, FtLitElement, setVariable } from "@fluid-topics/ft-wc-utils"; | ||
import { FtTypography, FtTypographyBody1CssVariables, FtTypographyBody2, FtTypographyCaption } from "@fluid-topics/ft-typography"; | ||
@@ -43,16 +43,16 @@ import { FtInputLabel, FtInputLabelCssVariables } from "@fluid-topics/ft-input-label"; | ||
export const FtSelectCssVariables = { | ||
labelSize: FtCssVariable.create("--ft-select-label-size", "SIZE", "11px"), | ||
selectedOptionSize: FtCssVariable.create("--ft-select-selected-option-size", "SIZE", "14px"), | ||
verticalSpacing: FtCssVariable.create("--ft-select-vertical-spacing", "SIZE", "4px"), | ||
optionsHeight: FtCssVariable.create("--ft-select-options-height", "SIZE", "unset"), | ||
selectedOptionColor: FtCssVariable.extend("--ft-select-selected-option-color", designSystemVariables.colorOnSurface), | ||
helperColor: FtCssVariable.extend("--ft-select-helper-color", designSystemVariables.colorOnSurfaceMedium), | ||
optionsColor: FtCssVariable.extend("--ft-select-options-color", designSystemVariables.colorOnSurface), | ||
optionsZIndex: FtCssVariable.create("--ft-select-options-z-index", "NUMBER", "3"), | ||
colorSurface: FtCssVariable.external(designSystemVariables.colorSurface, "Design system"), | ||
colorOnSurfaceDisabled: FtCssVariable.external(designSystemVariables.colorOnSurfaceDisabled, "Design system"), | ||
colorPrimary: FtCssVariable.external(designSystemVariables.colorPrimary, "Design system"), | ||
borderRadiusS: FtCssVariable.external(designSystemVariables.borderRadiusS, "Design system"), | ||
elevation02: FtCssVariable.external(designSystemVariables.elevation02, "Design system"), | ||
colorError: FtCssVariable.external(designSystemVariables.colorError, "Design system"), | ||
labelSize: FtCssVariableFactory.create("--ft-select-label-size", "SIZE", "11px"), | ||
selectedOptionSize: FtCssVariableFactory.create("--ft-select-selected-option-size", "SIZE", "14px"), | ||
verticalSpacing: FtCssVariableFactory.create("--ft-select-vertical-spacing", "SIZE", "4px"), | ||
optionsHeight: FtCssVariableFactory.create("--ft-select-options-height", "SIZE", "unset"), | ||
selectedOptionColor: FtCssVariableFactory.extend("--ft-select-selected-option-color", designSystemVariables.colorOnSurface), | ||
helperColor: FtCssVariableFactory.extend("--ft-select-helper-color", designSystemVariables.colorOnSurfaceMedium), | ||
optionsColor: FtCssVariableFactory.extend("--ft-select-options-color", designSystemVariables.colorOnSurface), | ||
optionsZIndex: FtCssVariableFactory.create("--ft-select-options-z-index", "NUMBER", "3"), | ||
colorSurface: FtCssVariableFactory.external(designSystemVariables.colorSurface, "Design system"), | ||
colorOnSurfaceDisabled: FtCssVariableFactory.external(designSystemVariables.colorOnSurfaceDisabled, "Design system"), | ||
colorPrimary: FtCssVariableFactory.external(designSystemVariables.colorPrimary, "Design system"), | ||
borderRadiusS: FtCssVariableFactory.external(designSystemVariables.borderRadiusS, "Design system"), | ||
elevation02: FtCssVariableFactory.external(designSystemVariables.elevation02, "Design system"), | ||
colorError: FtCssVariableFactory.external(designSystemVariables.colorError, "Design system"), | ||
}; | ||
@@ -59,0 +59,0 @@ export class FtSelect extends FtLitElement { |
@@ -7,3 +7,3 @@ !function(t,e,i,o,s,l,n){ | ||
*/ | ||
var r;const p=globalThis.trustedTypes,a=p?p.createPolicy("lit-html",{createHTML:t=>t}):void 0,f=`lit$${(Math.random()+"").slice(9)}$`,h="?"+f,d=`<${h}>`,c=document,u=(t="")=>c.createComment(t),y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,x=Array.isArray,g=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,b=/-->/g,v=/>/g,m=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\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"),O=Symbol.for("lit-nothing"),C=new WeakMap,E=c.createTreeWalker(c,129,null,!1),j=(t,e)=>{const i=t.length-1,o=[];let s,l=2===e?"<svg>":"",n=g;for(let e=0;e<i;e++){const i=t[e];let r,p,a=-1,h=0;for(;h<i.length&&(n.lastIndex=h,p=n.exec(i),null!==p);)h=n.lastIndex,n===g?"!--"===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:g,a=-1):void 0===p[1]?a=-2:(a=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=g:(n=m,s=void 0);const c=n===m&&t[e+1].startsWith("/>")?" ":"";l+=n===g?i+d:a>=0?(o.push(r),i.slice(0,a)+"$lit$"+i.slice(a)+f+c):i+f+(-2===a?(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!==a?a.createHTML(r):r,o]};class A{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,l=0;const n=t.length-1,r=this.parts,[a,d]=j(t,e);if(this.el=A.createElement(a,i),E.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=E.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]?B:"?"===e[1]?Z:"@"===e[1]?U:M})}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=p?p.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],u()),E.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(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 N(t,e,i=t,o){var s,l,n,r;if(e===S)return e;let p=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const a=y(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==a&&(null===(l=null==p?void 0:p._$AO)||void 0===l||l.call(p,!1),void 0===a?p=void 0:(p=new a(t),p._$AT(t,i,o)),void 0!==o?(null!==(n=(r=i)._$Cl)&&void 0!==n?n:r._$Cl=[])[o]=p:i._$Cu=p),void 0!==p&&(e=N(t,p._$AS(t,e.values),p,o)),e}class D{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:c).importNode(i,!0);E.currentNode=s;let l=E.nextNode(),n=0,r=0,p=o[0];for(;void 0!==p;){if(n===p.index){let e;2===p.type?e=new I(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.v.push(e),p=o[++r]}n!==(null==p?void 0:p.index)&&(l=E.nextNode(),n++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class I{constructor(t,e,i,o){var s;this.type=2,this._$AH=O,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=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._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=N(this,t,e),y(t)?t===O||null==t||""===t?(this._$AH!==O&&this._$AR(),this._$AH=O):t!==this._$AH&&t!==S&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return x(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==O&&y(this._$AH)?this._$AA.nextSibling.data=t:this.k(c.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=A.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new D(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=C.get(t.strings);return void 0===e&&C.set(t.strings,e=new A(t)),e}S(t){x(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 I(this.M(u()),this.M(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._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class M{constructor(t,e,i,o,s){this.type=1,this._$AH=O,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=O}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=N(this,t,e,0),l=!y(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=N(this,o[i+n],e,n),r===S&&(r=this._$AH[n]),l||(l=!y(r)||r!==this._$AH[n]),r===O?t=O:t!==O&&(t+=(null!=r?r:"")+s[n+1]),this._$AH[n]=r}l&&!o&&this.C(t)}C(t){t===O?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class B extends M{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===O?void 0:t}}const _=p?p.emptyScript:"";class Z extends M{constructor(){super(...arguments),this.type=4}C(t){t&&t!==O?this.element.setAttribute(this.name,_):this.element.removeAttribute(this.name)}}class U extends M{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=N(this,t,e,0))&&void 0!==i?i:O)===S)return;const o=this._$AH,s=t===O&&o!==O||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,l=t!==O&&(o===O||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){N(this,t)}}const R=window.litHtmlPolyfillSupport;null==R||R(A,I),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.2.4"); | ||
var r;const p=globalThis.trustedTypes,a=p?p.createPolicy("lit-html",{createHTML:t=>t}):void 0,f=`lit$${(Math.random()+"").slice(9)}$`,h="?"+f,d=`<${h}>`,c=document,u=(t="")=>c.createComment(t),y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,x=Array.isArray,g=/<(?:(!--|\/[^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"),O=Symbol.for("lit-nothing"),E=new WeakMap,C=c.createTreeWalker(c,129,null,!1),j=(t,e)=>{const i=t.length-1,o=[];let s,l=2===e?"<svg>":"",n=g;for(let e=0;e<i;e++){const i=t[e];let r,p,a=-1,h=0;for(;h<i.length&&(n.lastIndex=h,p=n.exec(i),null!==p);)h=n.lastIndex,n===g?"!--"===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:g,a=-1):void 0===p[1]?a=-2:(a=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=g:(n=m,s=void 0);const c=n===m&&t[e+1].startsWith("/>")?" ":"";l+=n===g?i+d:a>=0?(o.push(r),i.slice(0,a)+"$lit$"+i.slice(a)+f+c):i+f+(-2===a?(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!==a?a.createHTML(r):r,o]};class A{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,l=0;const n=t.length-1,r=this.parts,[a,d]=j(t,e);if(this.el=A.createElement(a,i),C.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=C.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]?B:"?"===e[1]?Z:"@"===e[1]?T:M})}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=p?p.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],u()),C.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(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 N(t,e,i=t,o){var s,l,n,r;if(e===S)return e;let p=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const a=y(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==a&&(null===(l=null==p?void 0:p._$AO)||void 0===l||l.call(p,!1),void 0===a?p=void 0:(p=new a(t),p._$AT(t,i,o)),void 0!==o?(null!==(n=(r=i)._$Cl)&&void 0!==n?n:r._$Cl=[])[o]=p:i._$Cu=p),void 0!==p&&(e=N(t,p._$AS(t,e.values),p,o)),e}class D{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:c).importNode(i,!0);C.currentNode=s;let l=C.nextNode(),n=0,r=0,p=o[0];for(;void 0!==p;){if(n===p.index){let e;2===p.type?e=new I(l,l.nextSibling,this,t):1===p.type?e=new p.ctor(l,p.name,p.strings,this,t):6===p.type&&(e=new U(l,this,t)),this.v.push(e),p=o[++r]}n!==(null==p?void 0:p.index)&&(l=C.nextNode(),n++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class I{constructor(t,e,i,o){var s;this.type=2,this._$AH=O,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=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._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=N(this,t,e),y(t)?t===O||null==t||""===t?(this._$AH!==O&&this._$AR(),this._$AH=O):t!==this._$AH&&t!==S&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>x(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==O&&y(this._$AH)?this._$AA.nextSibling.data=t:this.k(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=A.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new D(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=E.get(t.strings);return void 0===e&&E.set(t.strings,e=new A(t)),e}S(t){x(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 I(this.j(u()),this.j(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._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class M{constructor(t,e,i,o,s){this.type=1,this._$AH=O,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=O}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=N(this,t,e,0),l=!y(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=N(this,o[i+n],e,n),r===S&&(r=this._$AH[n]),l||(l=!y(r)||r!==this._$AH[n]),r===O?t=O:t!==O&&(t+=(null!=r?r:"")+s[n+1]),this._$AH[n]=r}l&&!o&&this.P(t)}P(t){t===O?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class B extends M{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===O?void 0:t}}const _=p?p.emptyScript:"";class Z extends M{constructor(){super(...arguments),this.type=4}P(t){t&&t!==O?this.element.setAttribute(this.name,_):this.element.removeAttribute(this.name)}}class T extends M{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=N(this,t,e,0))&&void 0!==i?i:O)===S)return;const o=this._$AH,s=t===O&&o!==O||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,l=t!==O&&(o===O||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 U{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){N(this,t)}}const R=window.litHtmlPolyfillSupport;null==R||R(A,I),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.2.7"); | ||
/** | ||
@@ -14,3 +14,3 @@ * @license | ||
*/ | ||
const W=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===W)return null===(i=t)||void 0===i?void 0:i._$litStatic$},F=t=>({_$litStatic$:t,r:W}),G=new Map,H=(t=>(e,...i)=>{const o=i.length;let s,l;const n=[],r=[];let p,a=0,f=!1;for(;a<o;){for(p=e[a];a<o&&void 0!==(l=i[a],s=K(l));)p+=s+e[++a],f=!0;r.push(l),n.push(p),a++}if(a===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 P,q=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};!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"}(P||(P={}));const L=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),X=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),Y={fontFamily:X,fontSize:e.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariable.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},J=e.FtCssVariable.extend("--ft-typography-title-font-family",L),Q=e.FtCssVariable.extend("--ft-typography-title-font-size",Y.fontSize,"20px"),V=e.FtCssVariable.extend("--ft-typography-title-font-weight",Y.fontWeight,"normal"),tt=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",Y.letterSpacing,"0.15px"),et=e.FtCssVariable.extend("--ft-typography-title-line-height",Y.lineHeight,"1.2"),it=e.FtCssVariable.extend("--ft-typography-title-text-transform",Y.textTransform,"inherit"),ot=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",L),st=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",Y.fontSize,"14px"),lt=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",Y.fontWeight,"normal"),nt=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",Y.letterSpacing,"0.105px"),rt=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",Y.lineHeight,"1.7"),pt=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",Y.textTransform,"inherit"),at=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",X),ft=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",Y.fontSize,"16px"),ht=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",Y.fontWeight,"600"),dt=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",Y.letterSpacing,"0.144px"),ct=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",Y.lineHeight,"1.5"),ut=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",Y.textTransform,"inherit"),yt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",X),xt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",Y.fontSize,"14px"),gt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",Y.fontWeight,"normal"),bt=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",Y.letterSpacing,"0.098px"),vt=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",Y.lineHeight,"1.7"),mt=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",Y.textTransform,"inherit"),$t={fontFamily:e.FtCssVariable.extend("--ft-typography-body1-font-family",X),fontSize:e.FtCssVariable.extend("--ft-typography-body1-font-size",Y.fontSize,"16px"),fontWeight:e.FtCssVariable.extend("--ft-typography-body1-font-weight",Y.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-body1-letter-spacing",Y.letterSpacing,"0.496px"),lineHeight:e.FtCssVariable.extend("--ft-typography-body1-line-height",Y.lineHeight,"1.5"),textTransform:e.FtCssVariable.extend("--ft-typography-body1-text-transform",Y.textTransform,"inherit")},wt=e.FtCssVariable.extend("--ft-typography-body2-font-family",X),kt=e.FtCssVariable.extend("--ft-typography-body2-font-size",Y.fontSize,"14px"),zt=e.FtCssVariable.extend("--ft-typography-body2-font-weight",Y.fontWeight,"normal"),St=e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",Y.letterSpacing,"0.252px"),Ot=e.FtCssVariable.extend("--ft-typography-body2-line-height",Y.lineHeight,"1.4"),Ct=e.FtCssVariable.extend("--ft-typography-body2-text-transform",Y.textTransform,"inherit"),Et={fontFamily:e.FtCssVariable.extend("--ft-typography-caption-font-family",X),fontSize:e.FtCssVariable.extend("--ft-typography-caption-font-size",Y.fontSize,"12px"),fontWeight:e.FtCssVariable.extend("--ft-typography-caption-font-weight",Y.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-caption-letter-spacing",Y.letterSpacing,"0.396px"),lineHeight:e.FtCssVariable.extend("--ft-typography-caption-line-height",Y.lineHeight,"1.33"),textTransform:e.FtCssVariable.extend("--ft-typography-caption-text-transform",Y.textTransform,"inherit")},jt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",X),At=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",Y.fontSize,"10px"),Nt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",Y.fontWeight,"normal"),Dt=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",Y.letterSpacing,"0.33px"),It=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",Y.lineHeight,"1.6"),Mt=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",Y.textTransform,"inherit"),Bt=e.FtCssVariable.extend("--ft-typography-overline-font-family",X),_t=e.FtCssVariable.extend("--ft-typography-overline-font-size",Y.fontSize,"10px"),Zt=e.FtCssVariable.extend("--ft-typography-overline-font-weight",Y.fontWeight,"normal"),Ut=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",Y.letterSpacing,"1.5px"),Tt=e.FtCssVariable.extend("--ft-typography-overline-line-height",Y.lineHeight,"1.6"),Rt=e.FtCssVariable.extend("--ft-typography-overline-text-transform",Y.textTransform,"uppercase"),Wt=e.FtCssVariable.extend("--ft-typography-button-font-family",X),Kt=e.FtCssVariable.extend("--ft-typography-button-font-size",Y.fontSize,"14px"),Ft=e.FtCssVariable.extend("--ft-typography-button-font-weight",Y.fontWeight,"600"),Gt=e.FtCssVariable.extend("--ft-typography-button-letter-spacing",Y.letterSpacing,"1.246px"),Ht=e.FtCssVariable.extend("--ft-typography-button-line-height",Y.lineHeight,"1.15"),Pt=e.FtCssVariable.extend("--ft-typography-button-text-transform",Y.textTransform,"uppercase"),qt=i.css` | ||
const W=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t._$litStatic$},P=t=>({_$litStatic$:t,r:W}),F=new Map,G=(t=>(e,...i)=>{const o=i.length;let s,l;const n=[],r=[];let p,a=0,f=!1;for(;a<o;){for(p=e[a];a<o&&void 0!==(l=i[a],s=K(l));)p+=s+e[++a],f=!0;r.push(l),n.push(p),a++}if(a===o&&n.push(e[o]),f){const t=n.join("$$lit$$");void 0===(e=F.get(t))&&(n.raw=n,F.set(t,e=n)),i=r}return t(e,...i)})(z);var H,q=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};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(H||(H={}));const L=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),X=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),Y={fontFamily:X,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")},J=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",L),Q=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",Y.fontSize,"20px"),V=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",Y.fontWeight,"normal"),tt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",Y.letterSpacing,"0.15px"),et=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",Y.lineHeight,"1.2"),it=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",Y.textTransform,"inherit"),ot=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",L),st=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",Y.fontSize,"14px"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",Y.fontWeight,"normal"),nt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",Y.letterSpacing,"0.105px"),rt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",Y.lineHeight,"1.7"),pt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",Y.textTransform,"inherit"),at=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",X),ft=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",Y.fontSize,"16px"),ht=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",Y.fontWeight,"600"),dt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",Y.letterSpacing,"0.144px"),ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",Y.lineHeight,"1.5"),ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",Y.textTransform,"inherit"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",X),xt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",Y.fontSize,"14px"),gt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",Y.fontWeight,"normal"),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",Y.letterSpacing,"0.098px"),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",Y.lineHeight,"1.7"),mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",Y.textTransform,"inherit"),$t={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",X),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",Y.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",Y.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",Y.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",Y.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",Y.textTransform,"inherit")},wt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",X),kt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",Y.fontSize,"14px"),zt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",Y.fontWeight,"normal"),St=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",Y.letterSpacing,"0.252px"),Ot=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",Y.lineHeight,"1.4"),Et=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",Y.textTransform,"inherit"),Ct={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",X),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",Y.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",Y.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",Y.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",Y.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",Y.textTransform,"inherit")},jt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",X),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",Y.fontSize,"10px"),Nt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",Y.fontWeight,"normal"),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",Y.letterSpacing,"0.33px"),It=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",Y.lineHeight,"1.6"),Mt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",Y.textTransform,"inherit"),Bt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",X),_t=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",Y.fontSize,"10px"),Zt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",Y.fontWeight,"normal"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",Y.letterSpacing,"1.5px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",Y.lineHeight,"1.6"),Rt=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",Y.textTransform,"uppercase"),Wt=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",X),Kt=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",Y.fontSize,"14px"),Pt=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",Y.fontWeight,"600"),Ft=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",Y.letterSpacing,"1.246px"),Gt=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",Y.lineHeight,"1.15"),Ht=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",Y.textTransform,"uppercase"),qt=i.css` | ||
.ft-typography--title { | ||
@@ -68,12 +68,12 @@ font-family: ${J}; | ||
line-height: ${Ot}; | ||
text-transform: ${Ct}; | ||
text-transform: ${Et}; | ||
} | ||
`,Vt=i.css` | ||
.ft-typography--caption { | ||
font-family: ${Et.fontFamily}; | ||
font-size: ${Et.fontSize}; | ||
font-weight: ${Et.fontWeight}; | ||
letter-spacing: ${Et.letterSpacing}; | ||
line-height: ${Et.lineHeight}; | ||
text-transform: ${Et.textTransform}; | ||
font-family: ${Ct.fontFamily}; | ||
font-size: ${Ct.fontSize}; | ||
font-weight: ${Ct.fontWeight}; | ||
letter-spacing: ${Ct.letterSpacing}; | ||
line-height: ${Ct.lineHeight}; | ||
text-transform: ${Ct.textTransform}; | ||
} | ||
@@ -94,4 +94,4 @@ `,te=i.css` | ||
font-weight: ${Zt}; | ||
letter-spacing: ${Ut}; | ||
line-height: ${Tt}; | ||
letter-spacing: ${Tt}; | ||
line-height: ${Ut}; | ||
text-transform: ${Rt}; | ||
@@ -103,13 +103,13 @@ } | ||
font-size: ${Kt}; | ||
font-weight: ${Ft}; | ||
letter-spacing: ${Gt}; | ||
line-height: ${Ht}; | ||
text-transform: ${Pt}; | ||
font-weight: ${Pt}; | ||
letter-spacing: ${Ft}; | ||
line-height: ${Gt}; | ||
text-transform: ${Ht}; | ||
} | ||
`;class oe extends e.FtLitElement{constructor(){super(...arguments),this.variant=P.body1}render(){return this.element?H` | ||
<${F(this.element)} | ||
`;class oe extends e.FtLitElement{constructor(){super(...arguments),this.variant=H.body1}render(){return this.element?G` | ||
<${P(this.element)} | ||
class="ft-typography ft-typography--${this.variant}"> | ||
<slot></slot> | ||
</${F(this.element)}> | ||
`:H` | ||
</${P(this.element)}> | ||
`:G` | ||
<slot class="ft-typography ft-typography--${this.variant}"></slot> | ||
@@ -120,3 +120,3 @@ `}}oe.styles=[qt,Lt,Xt,Yt,Jt,Qt,Vt,te,ee,ie,i.css` | ||
} | ||
`],q([o.property()],oe.prototype,"element",void 0),q([o.property()],oe.prototype,"variant",void 0),e.customElement("ft-typography")(oe);var se=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};const le={fontSize:e.FtCssVariable.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:e.FtCssVariable.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:e.FtCssVariable.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:e.FtCssVariable.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariable.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:e.FtCssVariable.extend("--ft-input-label-border-color",e.designSystemVariables.colorOutline),textColor:e.FtCssVariable.extend("--ft-input-label-text-color",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariable.extend("--ft-input-label-disabled-text-color",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariable.external(e.designSystemVariables.colorError,"Design system")};class ne 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` | ||
`],q([o.property()],oe.prototype,"element",void 0),q([o.property()],oe.prototype,"variant",void 0),e.customElement("ft-typography")(oe);var se=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};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")};class ne 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` | ||
<div class="${s.classMap(t)}"> | ||
@@ -179,4 +179,4 @@ ${this.text?i.html` | ||
transition: font-size 250ms, line-height 250ms, color 250ms; | ||
${e.setVariable(Et.fontSize,le.fontSize)}; | ||
${e.setVariable(Et.lineHeight,le.fontSize)}; | ||
${e.setVariable(Ct.fontSize,le.fontSize)}; | ||
${e.setVariable(Ct.lineHeight,le.fontSize)}; | ||
} | ||
@@ -209,4 +209,4 @@ | ||
.ft-input-label--raised .ft-input-label--text { | ||
${e.setVariable(Et.fontSize,le.raisedFontSize)}; | ||
${e.setVariable(Et.lineHeight,le.raisedFontSize)}; | ||
${e.setVariable(Ct.fontSize,le.raisedFontSize)}; | ||
${e.setVariable(Ct.lineHeight,le.raisedFontSize)}; | ||
} | ||
@@ -248,3 +248,3 @@ | ||
} | ||
`],se([o.property({type:String})],ne.prototype,"text",void 0),se([o.property({type:Boolean})],ne.prototype,"raised",void 0),se([o.property({type:Boolean})],ne.prototype,"outlined",void 0),se([o.property({type:Boolean})],ne.prototype,"disabled",void 0),se([o.property({type:Boolean})],ne.prototype,"error",void 0),e.customElement("ft-input-label")(ne);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};const pe=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorContent),ae={color:pe,backgroundColor:e.FtCssVariable.extend("--ft-ripple-background-color",pe),opacityContentOnSurfacePressed:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},fe=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),he=fe,de=e.FtCssVariable.extend("--ft-ripple-background-color",fe),ce=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),ue=ce,ye=e.FtCssVariable.extend("--ft-ripple-background-color",ce);class xe 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` | ||
`],se([o.property({type:String})],ne.prototype,"text",void 0),se([o.property({type:Boolean})],ne.prototype,"raised",void 0),se([o.property({type:Boolean})],ne.prototype,"outlined",void 0),se([o.property({type:Boolean})],ne.prototype,"disabled",void 0),se([o.property({type:Boolean})],ne.prototype,"error",void 0),e.customElement("ft-input-label")(ne);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};const pe=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),ae={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")},fe=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),he=fe,de=e.FtCssVariableFactory.extend("--ft-ripple-background-color",fe),ce=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),ue=ce,ye=e.FtCssVariableFactory.extend("--ft-ripple-background-color",ce);class xe 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` | ||
<style> | ||
@@ -355,3 +355,39 @@ .ft-ripple .ft-ripple--effect, | ||
} | ||
`,re([o.property({type:Boolean})],xe.prototype,"primary",void 0),re([o.property({type:Boolean})],xe.prototype,"secondary",void 0),re([o.property({type:Boolean})],xe.prototype,"unbounded",void 0),re([o.property({type:Boolean})],xe.prototype,"activated",void 0),re([o.property({type:Boolean})],xe.prototype,"selected",void 0),re([o.property({type:Boolean})],xe.prototype,"disabled",void 0),re([o.state()],xe.prototype,"hovered",void 0),re([o.state()],xe.prototype,"focused",void 0),re([o.state()],xe.prototype,"pressed",void 0),re([o.state()],xe.prototype,"rippling",void 0),re([o.state()],xe.prototype,"rippleSize",void 0),re([o.state()],xe.prototype,"originX",void 0),re([o.state()],xe.prototype,"originY",void 0),re([o.query(".ft-ripple")],xe.prototype,"ripple",void 0),re([o.query(".ft-ripple--effect")],xe.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(xe),function(t){t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.STAR_PLAIN="",t.STAR="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_DOWN="",t.THUMBS_UP_PLAIN="",t.THUMBS_UP="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="\f06e",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL=""}(ge||(ge={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(be||(be={})),new Map([...["abw"].map((t=>[t,be.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,be.AUDIO])),...["avi"].map((t=>[t,be.AVI])),...["chm","xhs"].map((t=>[t,be.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,be.CODE])),...["csv"].map((t=>[t,be.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,be.DITA])),...["epub"].map((t=>[t,be.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,be.EXCEL])),...["flac"].map((t=>[t,be.FLAC])),...["gif"].map((t=>[t,be.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,be.GZIP])),...["html","htm","xhtml"].map((t=>[t,be.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,be.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,be.JPEG])),...["json"].map((t=>[t,be.JSON])),...["m4a","m4p"].map((t=>[t,be.M4A])),...["mov","qt"].map((t=>[t,be.MOV])),...["mp3"].map((t=>[t,be.MP3])),...["mp4","m4v"].map((t=>[t,be.MP4])),...["ogg","oga"].map((t=>[t,be.OGG])),...["pdf","ps"].map((t=>[t,be.PDF])),...["png"].map((t=>[t,be.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,be.POWERPOINT])),...["rar"].map((t=>[t,be.RAR])),...["stp"].map((t=>[t,be.STP])),...["txt","rtf","md","mdown"].map((t=>[t,be.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,be.VIDEO])),...["wav"].map((t=>[t,be.WAV])),...["wma"].map((t=>[t,be.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,be.WORD])),...["xml","xsl","rdf"].map((t=>[t,be.XML])),...["yaml","yml","x-yaml"].map((t=>[t,be.YAML])),...["zip"].map((t=>[t,be.ZIP]))]);var 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};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ve||(ve={}));const $e=e.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),we=e.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),ke=e.FtCssVariable.extend("--ft-icon-file-format-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),ze=e.FtCssVariable.extend("--ft-icon-material-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class Se extends e.FtLitElement{constructor(){super(...arguments),this.variant=ve.fluid_topics}render(){return i.html` | ||
`,re([o.property({type:Boolean})],xe.prototype,"primary",void 0),re([o.property({type:Boolean})],xe.prototype,"secondary",void 0),re([o.property({type:Boolean})],xe.prototype,"unbounded",void 0),re([o.property({type:Boolean})],xe.prototype,"activated",void 0),re([o.property({type:Boolean})],xe.prototype,"selected",void 0),re([o.property({type:Boolean})],xe.prototype,"disabled",void 0),re([o.state()],xe.prototype,"hovered",void 0),re([o.state()],xe.prototype,"focused",void 0),re([o.state()],xe.prototype,"pressed",void 0),re([o.state()],xe.prototype,"rippling",void 0),re([o.state()],xe.prototype,"rippleSize",void 0),re([o.state()],xe.prototype,"originX",void 0),re([o.state()],xe.prototype,"originY",void 0),re([o.query(".ft-ripple")],xe.prototype,"ripple",void 0),re([o.query(".ft-ripple--effect")],xe.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(xe),function(t){t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.STAR_PLAIN="",t.STAR="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_DOWN="",t.THUMBS_UP_PLAIN="",t.THUMBS_UP="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="\f06e",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL=""}(ge||(ge={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(be||(be={})),new Map([...["abw"].map((t=>[t,be.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,be.AUDIO])),...["avi"].map((t=>[t,be.AVI])),...["chm","xhs"].map((t=>[t,be.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,be.CODE])),...["csv"].map((t=>[t,be.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,be.DITA])),...["epub"].map((t=>[t,be.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,be.EXCEL])),...["flac"].map((t=>[t,be.FLAC])),...["gif"].map((t=>[t,be.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,be.GZIP])),...["html","htm","xhtml"].map((t=>[t,be.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,be.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,be.JPEG])),...["json"].map((t=>[t,be.JSON])),...["m4a","m4p"].map((t=>[t,be.M4A])),...["mov","qt"].map((t=>[t,be.MOV])),...["mp3"].map((t=>[t,be.MP3])),...["mp4","m4v"].map((t=>[t,be.MP4])),...["ogg","oga"].map((t=>[t,be.OGG])),...["pdf","ps"].map((t=>[t,be.PDF])),...["png"].map((t=>[t,be.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,be.POWERPOINT])),...["rar"].map((t=>[t,be.RAR])),...["stp"].map((t=>[t,be.STP])),...["txt","rtf","md","mdown"].map((t=>[t,be.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,be.VIDEO])),...["wav"].map((t=>[t,be.WAV])),...["wma"].map((t=>[t,be.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,be.WORD])),...["xml","xsl","rdf"].map((t=>[t,be.XML])),...["yaml","yml","x-yaml"].map((t=>[t,be.YAML])),...["zip"].map((t=>[t,be.ZIP]))]);var 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};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ve||(ve={}));const $e=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),we=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),ke=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),ze=e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class Se extends e.FtLitElement{constructor(){super(...arguments),this.variant=ve.fluid_topics}getStyles(){return i.css` | ||
:host { | ||
display: inline-block; | ||
} | ||
:host, i.ft-icon { | ||
width: ${$e}; | ||
height: ${$e}; | ||
text-align: center; | ||
} | ||
i.ft-icon { | ||
font-size: ${$e}; | ||
line-height: 1; | ||
font-weight: normal; | ||
text-transform: none; | ||
font-style: normal; | ||
font-variant: normal; | ||
speak: none; | ||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004); | ||
text-rendering: auto; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} | ||
.ft-icon--fluid-topics { | ||
font-family: ${we}, ft-icons, fticons, sans-serif; | ||
} | ||
.ft-icon--file-format { | ||
font-family: ${ke}, ft-mime, sans-serif; | ||
} | ||
.ft-icon--material { | ||
font-family: ${ze}, "Material Icons", sans-serif; | ||
} | ||
`}getTemplate(){return i.html` | ||
<i class="ft-icon ${"ft-icon--"+this.variant}"> | ||
@@ -361,38 +397,3 @@ ${n.unsafeHTML(this.getIcon())} | ||
</i> | ||
`}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:""}getIcon(){var t,e;let o=this.textContent;return this.variant===ve.file_format?null!==(t=be[o.toUpperCase()])&&void 0!==t?t:o:this.variant===ve.fluid_topics?null!==(e=ge[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}Se.elementDefinitions={},Se.styles=i.css` | ||
:host { | ||
display: inline-block; | ||
} | ||
:host, i.ft-icon { | ||
width: ${$e}; | ||
height: ${$e}; | ||
text-align: center; | ||
} | ||
i.ft-icon { | ||
font-size: ${$e}; | ||
line-height: 1; | ||
font-weight: normal; | ||
text-transform: none; | ||
font-style: normal; | ||
font-variant: normal; | ||
speak: none; | ||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004); | ||
text-rendering: auto; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} | ||
.ft-icon--fluid-topics { | ||
font-family: ${we}, ft-icons, fticons, sans-serif; | ||
} | ||
.ft-icon--file-format { | ||
font-family: ${ke}, ft-mime, sans-serif; | ||
} | ||
.ft-icon--material { | ||
font-family: ${ze}, "Material Icons", sans-serif; | ||
} | ||
`,me([o.property()],Se.prototype,"variant",void 0),me([o.query("slot")],Se.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Se);var Oe=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.label="",this.value=null,this.selected=!1}render(){return i.html``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Ce.elementDefinitions={},Oe([o.property({type:String})],Ce.prototype,"label",void 0),Oe([o.property({type:Object,converter:t=>t})],Ce.prototype,"value",void 0),Oe([o.property({type:Boolean,reflect:!0})],Ce.prototype,"selected",void 0);const Ee={labelSize:e.FtCssVariable.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:e.FtCssVariable.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:e.FtCssVariable.create("--ft-select-vertical-spacing","SIZE","4px"),optionsHeight:e.FtCssVariable.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:e.FtCssVariable.extend("--ft-select-selected-option-color",e.designSystemVariables.colorOnSurface),helperColor:e.FtCssVariable.extend("--ft-select-helper-color",e.designSystemVariables.colorOnSurfaceMedium),optionsColor:e.FtCssVariable.extend("--ft-select-options-color",e.designSystemVariables.colorOnSurface),optionsZIndex:e.FtCssVariable.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),elevation02:e.FtCssVariable.external(e.designSystemVariables.elevation02,"Design system"),colorError:e.FtCssVariable.external(e.designSystemVariables.colorError,"Design system")};class je extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,n,r;let p=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const f=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,h={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":p,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return i.html` | ||
`}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:""}getIcon(){var t,e;let o=this.textContent;return this.variant===ve.file_format?null!==(t=be[o.toUpperCase()])&&void 0!==t?t:o:this.variant===ve.fluid_topics?null!==(e=ge[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}Se.elementDefinitions={},me([o.property()],Se.prototype,"variant",void 0),me([o.query("slot")],Se.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Se);var Oe=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 Ee extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return i.html``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Ee.elementDefinitions={},Oe([o.property({type:String})],Ee.prototype,"label",void 0),Oe([o.property({type:Object,converter:t=>t})],Ee.prototype,"value",void 0),Oe([o.property({type:Boolean,reflect:!0})],Ee.prototype,"selected",void 0);const Ce={labelSize:e.FtCssVariableFactory.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:e.FtCssVariableFactory.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-select-vertical-spacing","SIZE","4px"),optionsHeight:e.FtCssVariableFactory.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:e.FtCssVariableFactory.extend("--ft-select-selected-option-color",e.designSystemVariables.colorOnSurface),helperColor:e.FtCssVariableFactory.extend("--ft-select-helper-color",e.designSystemVariables.colorOnSurfaceMedium),optionsColor:e.FtCssVariableFactory.extend("--ft-select-options-color",e.designSystemVariables.colorOnSurface),optionsZIndex:e.FtCssVariableFactory.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),elevation02:e.FtCssVariableFactory.external(e.designSystemVariables.elevation02,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")};class je extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,n,r;let p=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const f=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,h={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":p,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return i.html` | ||
<div class="${s.classMap(h)}" part="container"> | ||
@@ -459,3 +460,3 @@ <div class="ft-select--main-panel" part="main-panel"> | ||
display: flex; | ||
height: calc(4 * ${Ee.verticalSpacing} + ${Ee.labelSize} + ${Ee.selectedOptionSize}); | ||
height: calc(4 * ${Ce.verticalSpacing} + ${Ce.labelSize} + ${Ce.selectedOptionSize}); | ||
} | ||
@@ -472,4 +473,4 @@ | ||
gap: 8px; | ||
color: ${Ee.selectedOptionColor}; | ||
${e.setVariable(ae.color,Ee.selectedOptionColor)}; | ||
color: ${Ce.selectedOptionColor}; | ||
${e.setVariable(ae.color,Ce.selectedOptionColor)}; | ||
} | ||
@@ -490,3 +491,3 @@ | ||
.ft-select--disabled .ft-select--option { | ||
color: ${Ee.colorOnSurfaceDisabled}; | ||
color: ${Ce.colorOnSurfaceDisabled}; | ||
} | ||
@@ -500,14 +501,14 @@ | ||
ft-input-label { | ||
${e.setVariable(le.fontSize,Ee.selectedOptionSize)}; | ||
${e.setVariable(le.raisedFontSize,Ee.labelSize)}; | ||
${e.setVariable(le.verticalSpacing,Ee.verticalSpacing)}; | ||
${e.setVariable(le.fontSize,Ce.selectedOptionSize)}; | ||
${e.setVariable(le.raisedFontSize,Ce.labelSize)}; | ||
${e.setVariable(le.verticalSpacing,Ce.verticalSpacing)}; | ||
} | ||
.ft-select:not(.ft-select--disabled):focus-within ft-icon { | ||
color: ${Ee.colorPrimary}; | ||
color: ${Ce.colorPrimary}; | ||
} | ||
.ft-select:not(.ft-select--disabled):focus-within ft-input-label { | ||
${e.setVariable(le.borderColor,Ee.colorPrimary)}; | ||
${e.setVariable(le.textColor,Ee.colorPrimary)}; | ||
${e.setVariable(le.borderColor,Ce.colorPrimary)}; | ||
${e.setVariable(le.textColor,Ce.colorPrimary)}; | ||
} | ||
@@ -522,8 +523,8 @@ | ||
text-overflow: ellipsis; | ||
${e.setVariable($t.fontSize,Ee.selectedOptionSize)}; | ||
${e.setVariable($t.lineHeight,Ee.selectedOptionSize)}; | ||
${e.setVariable($t.fontSize,Ce.selectedOptionSize)}; | ||
${e.setVariable($t.lineHeight,Ce.selectedOptionSize)}; | ||
} | ||
.ft-select--in-error .ft-select--selected-option { | ||
color: ${Ee.colorError}; | ||
color: ${Ce.colorError}; | ||
} | ||
@@ -540,3 +541,3 @@ | ||
.ft-select--filled .ft-select--input-panel { | ||
border-radius: ${Ee.borderRadiusS} ${Ee.borderRadiusS} 0 0; | ||
border-radius: ${Ce.borderRadiusS} ${Ce.borderRadiusS} 0 0; | ||
} | ||
@@ -546,7 +547,7 @@ | ||
align-self: stretch; | ||
padding-top: calc(${Ee.labelSize} + 2 * ${Ee.verticalSpacing}); | ||
padding-top: calc(${Ce.labelSize} + 2 * ${Ce.verticalSpacing}); | ||
} | ||
.ft-select--outlined .ft-select--input-panel { | ||
border-radius: ${Ee.borderRadiusS}; | ||
border-radius: ${Ce.borderRadiusS}; | ||
} | ||
@@ -560,6 +561,6 @@ | ||
right: 0; | ||
color: ${Ee.optionsColor}; | ||
background: ${Ee.colorSurface}; | ||
z-index: ${Ee.optionsZIndex}; | ||
box-shadow: ${Ee.elevation02}; | ||
color: ${Ce.optionsColor}; | ||
background: ${Ce.colorSurface}; | ||
z-index: ${Ce.optionsZIndex}; | ||
box-shadow: ${Ce.elevation02}; | ||
} | ||
@@ -575,3 +576,3 @@ | ||
display: block; | ||
max-height: ${Ee.optionsHeight}; | ||
max-height: ${Ce.optionsHeight}; | ||
overflow-y: auto; | ||
@@ -590,8 +591,8 @@ } | ||
padding: 0 12px 0 16px; | ||
color: ${Ee.helperColor}; | ||
color: ${Ce.helperColor}; | ||
} | ||
.ft-select--in-error .ft-select--helper-text { | ||
color: ${Ee.colorError}; | ||
color: ${Ce.colorError}; | ||
} | ||
`],Oe([o.property({type:String})],je.prototype,"label",void 0),Oe([o.property({type:String})],je.prototype,"helper",void 0),Oe([o.property({type:Boolean})],je.prototype,"outlined",void 0),Oe([o.property({type:Boolean})],je.prototype,"disabled",void 0),Oe([o.property({type:Boolean})],je.prototype,"error",void 0),Oe([o.property({type:Boolean})],je.prototype,"fixedMenuPosition",void 0),Oe([o.property({type:Array})],je.prototype,"options",void 0),Oe([o.state()],je.prototype,"selectedOption",void 0),Oe([o.state()],je.prototype,"optionsDisplayed",void 0),Oe([o.state()],je.prototype,"focusOptions",void 0),Oe([o.query(".ft-select")],je.prototype,"container",void 0),Oe([o.query(".ft-select--options")],je.prototype,"optionsMenu",void 0),Oe([o.query(".ft-select--input-panel")],je.prototype,"mainPanel",void 0),Oe([o.query(".ft-select--option:first-child")],je.prototype,"firstOption",void 0),Oe([o.query(".ft-select--option:focus")],je.prototype,"focusedOption",void 0),Oe([o.query(".ft-select--option.ft-select--option-selected")],je.prototype,"selectedOptionElement",void 0),Oe([o.query(".ft-select--option:last-child")],je.prototype,"lastOption",void 0),Oe([o.query("slot")],je.prototype,"optionsSlot",void 0),e.customElement("ft-select")(je),e.customElement("ft-select-option")(Ce),t.FtSelect=je,t.FtSelectCssVariables=Ee,t.FtSelectOption=Ce,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litRepeat,ftGlobals.litUnsafeHTML); | ||
`],Oe([o.property({type:String})],je.prototype,"label",void 0),Oe([o.property({type:String})],je.prototype,"helper",void 0),Oe([o.property({type:Boolean})],je.prototype,"outlined",void 0),Oe([o.property({type:Boolean})],je.prototype,"disabled",void 0),Oe([o.property({type:Boolean})],je.prototype,"error",void 0),Oe([o.property({type:Boolean})],je.prototype,"fixedMenuPosition",void 0),Oe([o.property({type:Array})],je.prototype,"options",void 0),Oe([o.state()],je.prototype,"selectedOption",void 0),Oe([o.state()],je.prototype,"optionsDisplayed",void 0),Oe([o.state()],je.prototype,"focusOptions",void 0),Oe([o.query(".ft-select")],je.prototype,"container",void 0),Oe([o.query(".ft-select--options")],je.prototype,"optionsMenu",void 0),Oe([o.query(".ft-select--input-panel")],je.prototype,"mainPanel",void 0),Oe([o.query(".ft-select--option:first-child")],je.prototype,"firstOption",void 0),Oe([o.query(".ft-select--option:focus")],je.prototype,"focusedOption",void 0),Oe([o.query(".ft-select--option.ft-select--option-selected")],je.prototype,"selectedOptionElement",void 0),Oe([o.query(".ft-select--option:last-child")],je.prototype,"lastOption",void 0),Oe([o.query("slot")],je.prototype,"optionsSlot",void 0),e.customElement("ft-select")(je),e.customElement("ft-select-option")(Ee),t.FtSelect=je,t.FtSelectCssVariables=Ce,t.FtSelectOption=Ee,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litRepeat,ftGlobals.litUnsafeHTML); |
{ | ||
"name": "@fluid-topics/ft-select", | ||
"version": "0.2.22", | ||
"version": "0.3.0", | ||
"description": "Value selector for a predefined list of choices", | ||
@@ -22,10 +22,10 @@ "keywords": [ | ||
"dependencies": { | ||
"@fluid-topics/ft-icon": "^0.2.22", | ||
"@fluid-topics/ft-input-label": "^0.2.22", | ||
"@fluid-topics/ft-ripple": "^0.2.22", | ||
"@fluid-topics/ft-typography": "^0.2.22", | ||
"@fluid-topics/ft-wc-utils": "^0.2.22", | ||
"lit": "2.1.3" | ||
"@fluid-topics/ft-icon": "^0.3.0", | ||
"@fluid-topics/ft-input-label": "^0.3.0", | ||
"@fluid-topics/ft-ripple": "^0.3.0", | ||
"@fluid-topics/ft-typography": "^0.3.0", | ||
"@fluid-topics/ft-wc-utils": "^0.3.0", | ||
"lit": "2.2.8" | ||
}, | ||
"gitHead": "ab090c14b14524bfa890cffb6fe3a38f2362dea9" | ||
"gitHead": "2019aceb4a578402211f951ec3d68dbc0acf25c7" | ||
} |
Sorry, the diff of this file is too big to display
168442
2022
+ Added@fluid-topics/ft-icon@0.3.71(transitive)
+ Added@fluid-topics/ft-input-label@0.3.71(transitive)
+ Added@fluid-topics/ft-ripple@0.3.71(transitive)
+ Added@fluid-topics/ft-typography@0.3.71(transitive)
+ Added@fluid-topics/ft-wc-utils@0.3.71(transitive)
+ Added@lit-labs/scoped-registry-mixin@1.0.1(transitive)
+ Addedlit@2.2.8(transitive)
- Removed@fluid-topics/ft-icon@0.2.22(transitive)
- Removed@fluid-topics/ft-input-label@0.2.22(transitive)
- Removed@fluid-topics/ft-ripple@0.2.22(transitive)
- Removed@fluid-topics/ft-typography@0.2.22(transitive)
- Removed@fluid-topics/ft-wc-utils@0.2.22(transitive)
- Removed@lit-labs/scoped-registry-mixin@1.0.0(transitive)
- Removedlit@2.1.3(transitive)
Updated@fluid-topics/ft-icon@^0.3.0
Updatedlit@2.2.8