@fluid-topics/ft-select 2.0.31 → 2.0.32
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-select.light.js +1 -1
- package/build/ft-select.min.js +37 -37
- package/package.json +7 -7
package/build/ft-select.light.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var Yr=Object.create;var Ko=Object.defineProperty;var jr=Object.getOwnPropertyDescriptor;var Xr=Object.getOwnPropertyNames;var qr=Object.getPrototypeOf,Qr=Object.prototype.hasOwnProperty;var Be=(t,o)=>()=>
|
|
1
|
+
"use strict";(()=>{var Yr=Object.create;var Ko=Object.defineProperty;var jr=Object.getOwnPropertyDescriptor;var Xr=Object.getOwnPropertyNames;var qr=Object.getPrototypeOf,Qr=Object.prototype.hasOwnProperty;var Be=(t,o)=>()=>{try{return o||t((o={exports:{}}).exports,o),o.exports}catch(a){throw o=0,a}};var Jr=(t,o,a,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of Xr(o))!Qr.call(t,c)&&c!==a&&Ko(t,c,{get:()=>o[c],enumerable:!(n=jr(o,c))||n.enumerable});return t};var C=(t,o,a)=>(a=t!=null?Yr(qr(t)):{},Jr(o||!t||!t.__esModule?Ko(a,"default",{value:t,enumerable:!0}):a,t));var k=Be((sn,Zo)=>{Zo.exports=ftGlobals.wcUtils});var B=Be((dn,Fo)=>{Fo.exports=ftGlobals.lit});var re=Be((fn,Yo)=>{Yo.exports=ftGlobals.litDecorators});var He=Be((pn,jo)=>{jo.exports=ftGlobals.litClassMap});var qo=Be((un,Xo)=>{Xo.exports=ftGlobals.litRepeat});var so=Be((J3,g1)=>{g1.exports=ftGlobals.litUnsafeHTML});var Kr=C(k());var ct=C(B()),G=C(re()),Wr=C(He()),$r=C(qo());function it(t,o,a){return t?o(t):a?.(t)}var Qt=globalThis,Et=Qt.trustedTypes,Qo=Et?Et.createPolicy("lit-html",{createHTML:t=>t}):void 0,a2="$lit$",he=`lit$${Math.random().toFixed(9).slice(2)}$`,n2="?"+he,ea=`<${n2}>`,Re=document,vt=()=>Re.createComment(""),st=t=>t===null||typeof t!="object"&&typeof t!="function",Jt=Array.isArray,ta=t=>Jt(t)||typeof t?.[Symbol.iterator]=="function",Zt=`[
|
|
2
2
|
\f\r]`,lt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Jo=/-->/g,e2=/>/g,ze=RegExp(`>|${Zt}(?:([^\\s"'>=/]+)(${Zt}*=${Zt}*(?:[^
|
|
3
3
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),t2=/'/g,o2=/"/g,c2=/^(?:script|style|textarea|title)$/i,eo=t=>(o,...a)=>({_$litType$:t,strings:o,values:a}),i2=eo(1),l2=eo(2),s2=eo(3),dt=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),r2=new WeakMap,Ae=Re.createTreeWalker(Re,129);function d2(t,o){if(!Jt(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Qo!==void 0?Qo.createHTML(o):o}var oa=(t,o)=>{let a=t.length-1,n=[],c,l=o===2?"<svg>":o===3?"<math>":"",s=lt;for(let p=0;p<a;p++){let m=t[p],g,b,L=-1,O=0;for(;O<m.length&&(s.lastIndex=O,b=s.exec(m),b!==null);)O=s.lastIndex,s===lt?b[1]==="!--"?s=Jo:b[1]!==void 0?s=e2:b[2]!==void 0?(c2.test(b[2])&&(c=RegExp("</"+b[2],"g")),s=ze):b[3]!==void 0&&(s=ze):s===ze?b[0]===">"?(s=c??lt,L=-1):b[1]===void 0?L=-2:(L=s.lastIndex-b[2].length,g=b[1],s=b[3]===void 0?ze:b[3]==='"'?o2:t2):s===o2||s===t2?s=ze:s===Jo||s===e2?s=lt:(s=ze,c=void 0);let M=s===ze&&t[p+1].startsWith("/>")?" ":"";l+=s===lt?m+ea:L>=0?(n.push(g),m.slice(0,L)+a2+m.slice(L)+he+M):m+he+(L===-2?p:M)}return[d2(t,l+(t[a]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),n]},ft=class t{constructor({strings:o,_$litType$:a},n){let c;this.parts=[];let l=0,s=0,p=o.length-1,m=this.parts,[g,b]=oa(o,a);if(this.el=t.createElement(g,n),Ae.currentNode=this.el.content,a===2||a===3){let L=this.el.content.firstChild;L.replaceWith(...L.childNodes)}for(;(c=Ae.nextNode())!==null&&m.length<p;){if(c.nodeType===1){if(c.hasAttributes())for(let L of c.getAttributeNames())if(L.endsWith(a2)){let O=b[s++],M=c.getAttribute(L).split(he),K=/([.?@])?(.*)/.exec(O);m.push({type:1,index:l,name:K[2],strings:M,ctor:K[1]==="."?Yt:K[1]==="?"?jt:K[1]==="@"?Xt:Ue}),c.removeAttribute(L)}else L.startsWith(he)&&(m.push({type:6,index:l}),c.removeAttribute(L));if(c2.test(c.tagName)){let L=c.textContent.split(he),O=L.length-1;if(O>0){c.textContent=Et?Et.emptyScript:"";for(let M=0;M<O;M++)c.append(L[M],vt()),Ae.nextNode(),m.push({type:2,index:++l});c.append(L[O],vt())}}}else if(c.nodeType===8)if(c.data===n2)m.push({type:2,index:l});else{let L=-1;for(;(L=c.data.indexOf(he,L+1))!==-1;)m.push({type:7,index:l}),L+=he.length-1}l++}}static createElement(o,a){let n=Re.createElement("template");return n.innerHTML=o,n}};function De(t,o,a=t,n){if(o===dt)return o;let c=n!==void 0?a._$Co?.[n]:a._$Cl,l=st(o)?void 0:o._$litDirective$;return c?.constructor!==l&&(c?._$AO?.(!1),l===void 0?c=void 0:(c=new l(t),c._$AT(t,a,n)),n!==void 0?(a._$Co??=[])[n]=c:a._$Cl=c),c!==void 0&&(o=De(t,c._$AS(t,o.values),c,n)),o}var Ft=class{constructor(o,a){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=a}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:a},parts:n}=this._$AD,c=(o?.creationScope??Re).importNode(a,!0);Ae.currentNode=c;let l=Ae.nextNode(),s=0,p=0,m=n[0];for(;m!==void 0;){if(s===m.index){let g;m.type===2?g=new zt(l,l.nextSibling,this,o):m.type===1?g=new m.ctor(l,m.name,m.strings,this,o):m.type===6&&(g=new qt(l,this,o)),this._$AV.push(g),m=n[++p]}s!==m?.index&&(l=Ae.nextNode(),s++)}return Ae.currentNode=Re,c}p(o){let a=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(o,n,a),a+=n.strings.length-2):n._$AI(o[a])),a++}},zt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,n,c){this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=n,this.options=c,this._$Cv=c?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,a=this._$AM;return a!==void 0&&o?.nodeType===11&&(o=a.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,a=this){o=De(this,o,a),st(o)?o===P||o==null||o===""?(this._$AH!==P&&this._$AR(),this._$AH=P):o!==this._$AH&&o!==dt&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):ta(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==P&&st(this._$AH)?this._$AA.nextSibling.data=o:this.T(Re.createTextNode(o)),this._$AH=o}$(o){let{values:a,_$litType$:n}=o,c=typeof n=="number"?this._$AC(o):(n.el===void 0&&(n.el=ft.createElement(d2(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===c)this._$AH.p(a);else{let l=new Ft(c,this),s=l.u(this.options);l.p(a),this.T(s),this._$AH=l}}_$AC(o){let a=r2.get(o.strings);return a===void 0&&r2.set(o.strings,a=new ft(o)),a}k(o){Jt(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,n,c=0;for(let l of o)c===a.length?a.push(n=new t(this.O(vt()),this.O(vt()),this,this.options)):n=a[c],n._$AI(l),c++;c<a.length&&(this._$AR(n&&n._$AB.nextSibling,c),a.length=c)}_$AR(o=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);o&&o!==this._$AB;){let n=o.nextSibling;o.remove(),o=n}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},Ue=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,n,c,l){this.type=1,this._$AH=P,this._$AN=void 0,this.element=o,this.name=a,this._$AM=c,this.options=l,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=P}_$AI(o,a=this,n,c){let l=this.strings,s=!1;if(l===void 0)o=De(this,o,a,0),s=!st(o)||o!==this._$AH&&o!==dt,s&&(this._$AH=o);else{let p=o,m,g;for(o=l[0],m=0;m<l.length-1;m++)g=De(this,p[n+m],a,m),g===dt&&(g=this._$AH[m]),s||=!st(g)||g!==this._$AH[m],g===P?o=P:o!==P&&(o+=(g??"")+l[m+1]),this._$AH[m]=g}s&&!c&&this.j(o)}j(o){o===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Yt=class extends Ue{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===P?void 0:o}},jt=class extends Ue{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==P)}},Xt=class extends Ue{constructor(o,a,n,c,l){super(o,a,n,c,l),this.type=5}_$AI(o,a=this){if((o=De(this,o,a,0)??P)===dt)return;let n=this._$AH,c=o===P&&n!==P||o.capture!==n.capture||o.once!==n.once||o.passive!==n.passive,l=o!==P&&(n===P||c);c&&this.element.removeEventListener(this.name,this,n),l&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},qt=class{constructor(o,a,n){this.element=o,this.type=6,this._$AN=void 0,this._$AM=a,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(o){De(this,o)}};var ra=Qt.litHtmlPolyfillSupport;ra?.(ft,zt),(Qt.litHtmlVersions??=[]).push("3.3.0");var to=t=>t??P;var q=C(k());var p2=Symbol.for(""),aa=t=>{if(t?.r===p2)return t?._$litStatic$},We=t=>({_$litStatic$:t,r:p2});var f2=new Map,oo=t=>(o,...a)=>{let n=a.length,c,l,s=[],p=[],m,g=0,b=!1;for(;g<n;){for(m=o[g];g<n&&(l=a[g],(c=aa(l))!==void 0);)m+=c+o[++g],b=!0;g!==n&&p.push(l),s.push(m),g++}if(g===n&&s.push(o[n]),b){let L=s.join("$$lit$$");(o=f2.get(L))===void 0&&(s.raw=s,f2.set(L,o=s)),a=p}return t(o,...a)},$e=oo(i2),On=oo(l2),En=oo(s2);var ro=C(re()),E2=C(k());var Ne;(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"})(Ne||(Ne={}));var X=C(B()),y=C(k()),u2=y.FtCssVariableFactory.extend("--ft-typography-font-family","",y.designSystemVariables.titleFont),se=y.FtCssVariableFactory.extend("--ft-typography-font-family","",y.designSystemVariables.contentFont),S={fontFamily:se,fontSize:y.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:y.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:y.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:y.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:y.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ve={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-title-font-family","",u2),fontSize:y.FtCssVariableFactory.extend("--ft-typography-title-font-size","",S.fontSize,"20px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",S.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",S.letterSpacing,"0.15px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-title-line-height","",S.lineHeight,"1.2"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",S.textTransform,"inherit")},Ke={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",u2),fontSize:y.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",S.fontSize,"14px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",S.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",S.letterSpacing,"0.105px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",S.lineHeight,"1.7"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",S.textTransform,"inherit")},Ze={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",se),fontSize:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",S.fontSize,"16px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",S.fontWeight,"600"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",S.letterSpacing,"0.144px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",S.lineHeight,"1.5"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",S.textTransform,"inherit")},Fe={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",se),fontSize:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",S.fontSize,"14px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",S.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",S.letterSpacing,"0.098px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",S.lineHeight,"1.7"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",S.textTransform,"inherit")},le={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",se),fontSize:y.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",S.fontSize,"16px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",S.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",S.letterSpacing,"0.496px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",S.lineHeight,"1.5"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",S.textTransform,"inherit")},Ye={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",se),fontSize:y.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",S.fontSize,"14px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",S.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",S.letterSpacing,"0.252px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",S.lineHeight,"1.4"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",S.textTransform,"inherit")},I={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",se),fontSize:y.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",S.fontSize,"12px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",S.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",S.letterSpacing,"0.396px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",S.lineHeight,"1.33"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",S.textTransform,"inherit")},je={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",se),fontSize:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",S.fontSize,"10px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",S.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",S.letterSpacing,"0.33px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",S.lineHeight,"1.6"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",S.textTransform,"inherit")},Xe={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",se),fontSize:y.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",S.fontSize,"10px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",S.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",S.letterSpacing,"1.5px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",S.lineHeight,"1.6"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",S.textTransform,"uppercase")},qe={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-button-font-family","",se),fontSize:y.FtCssVariableFactory.extend("--ft-typography-button-font-size","",S.fontSize,"14px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",S.fontWeight,"600"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",S.letterSpacing,"1.246px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-button-line-height","",S.lineHeight,"1.15"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",S.textTransform,"uppercase")},m2=X.css`
|
|
4
4
|
.ft-typography--title {
|