@fluid-topics/ft-link 2.0.23 → 2.0.24
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-link.min.js +1 -1
- package/package.json +5 -5
package/build/ft-link.min.js
CHANGED
|
@@ -82,7 +82,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
|
|
|
82
82
|
<li>${this.helperText}</li>
|
|
83
83
|
`)}
|
|
84
84
|
</ul>
|
|
85
|
-
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?St.error:this.warningMessages.length?St.warning:St.default}processRules(a){return a.map(o=>o(this.value)).filter(o=>o!==!0).map(o=>o)}}return ee([z()],t.prototype,"warningRules",void 0),ee([z()],t.prototype,"errorRules",void 0),ee([z()],t.prototype,"validateOn",void 0),ee([z({type:Boolean})],t.prototype,"validateAtRender",void 0),ee([z()],t.prototype,"label",void 0),ee([z({type:Boolean})],t.prototype,"hideLabel",void 0),ee([z()],t.prototype,"name",void 0),ee([z({type:Boolean})],t.prototype,"disabled",void 0),ee([z()],t.prototype,"helperText",void 0),ee([z()],t.prototype,"forceStatus",void 0),ee([z({reflect:!0})],t.prototype,"value",void 0),ee([pe()],t.prototype,"errorMessages",void 0),ee([pe()],t.prototype,"warningMessages",void 0),ee([pe()],t.prototype,"status",void 0),ee([pe()],t.prototype,"focused",void 0),ee([pe()],t.prototype,"additionalWarningRules",void 0),ee([pe()],t.prototype,"additionalErrorRules",void 0),t});var Wr=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let a of r)a._$AO?.(t,!1),Wr(a,t);return!0},kn=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},a1=e=>{for(let t;t=e._$AM;e=t){let r=t._$AN;if(r===void 0)t._$AN=r=new Set;else if(r.has(e))break;r.add(e),Wf(t)}};function Ff(e){this._$AN!==void 0?(kn(this),this._$AM=e,a1(this)):this._$AM=e}function $f(e,t=!1,r=0){let a=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(t)if(Array.isArray(a))for(let i=r;i<a.length;i++)Wr(a[i],!1),kn(a[i]);else a!=null&&(Wr(a,!1),kn(a));else Wr(this,e)}var Wf=e=>{e.type==Ce.CHILD&&(e._$AP??=$f,e._$AQ??=Ff)},qt=class extends he{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,a){super._$AT(t,r,a),a1(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(Wr(this,t),kn(this))}setValue(t){if(kc(this._$Ct))this._$Ct._$AI(t,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=t,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var gi=class extends qt{get element(){var t;return(t=this.part)===null||t===void 0?void 0:t.element}constructor(t){super(t),this.onFirstTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let a=r.relatedTarget;this.isInsideElement(a,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let a=r.relatedTarget;this.isInsideElement(a,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return X}update(t){return this.part=t,this.isElementTrappable(t.element)&&this.createFocusTrap(t.element),X}reconnected(){var t;this.isElementTrappable((t=this.part)===null||t===void 0?void 0:t.element)&&this.createFocusTrap(this.part.element)}disconnected(){var t,r,a,o;(t=this.firstTrap)===null||t===void 0||t.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(a=this.firstTrap)===null||a===void 0||a.remove(),(o=this.lastTrap)===null||o===void 0||o.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(t){return!!t&&t instanceof HTMLElement&&t.childElementCount>0}createFocusTrap(t){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),t.insertBefore(this.firstTrap,t.firstChild),t.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let t=document.createElement("div");return t.tabIndex=0,t}getChildren(t){return t instanceof HTMLSlotElement?t.assignedElements():t.shadowRoot?t.shadowRoot.children:t.children}async focusFirstDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let a=0;a<r.length;a++){let o=r[a];if(o instanceof HTMLElement&&(this.attemptFocus(o)||await this.focusFirstDescendant(o)))return!0}return!1}async focusLastDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let a=r.length-1;a>=0;a--){let o=r[a];if(o instanceof HTMLElement&&(this.attemptFocus(o)||await this.focusLastDescendant(o)))return!0}return!1}async updateCompleteIfNecessary(t){t instanceof ue&&await t.updateComplete}isInsideElement(t,r){for(let a=t;a;a=a.parentNode){if(a===r)return!0;a instanceof ShadowRoot?a=a.host:a.assignedSlot&&(a=a.assignedSlot)}return!1}attemptFocus(t){return t===this.firstTrap||t===this.lastTrap||!this.isFocusable(t)?!1:(t.focus(),!0)}isFocusable(t){return!t.checkVisibility()||this.isElementDisabled(t)?!1:t instanceof HTMLAnchorElement?!!t.href&&t.rel!=="ignore":t instanceof HTMLInputElement?t.type!=="hidden":t.tabIndex>=0}isElementDisabled(t){return"disabled"in t&&!!t.disabled}},Ov=ie(gi);var o1;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(o1||(o1={}));var Vf={sm:640,md:768,lg:1024,xl:1280},yi=class extends qt{constructor(t){super(t),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(t,[r,a,o]){return this.lastArgs=[r,a,o],this.render(r,a,o)}render(t,r,a){let o=this.resolveThreshold(t),i=a??(()=>V);return this.size>o?r():i()}resolveThreshold(t){return typeof t=="number"?t:Vf[t]}},Nv=ie(yi);var bi,xi,vi,Ei,Si=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((vi=(xi=(bi=window.safari)===null||bi===void 0?void 0:bi.pushNotification)===null||xi===void 0?void 0:xi.toString())!==null&&vi!==void 0?vi:"")==="[object SafariRemoteNotification]",jf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ei=window.ftGlobals)!==null&&Ei!==void 0?Ei:{lit:fa,litDecorators:pa,litRepeat:ha,litClassMap:ma,litStyleMap:ga,litUnsafeHTML:ya,wcUtils:{...Ra,...xa,...Ma,...li,...Pa,...za,...eo,...La,...mo,...pi,...t1,...ni,...go,...Ja,...Eo,...ci,...vo,...hi,...Ms,...Sa,...Co,...to,...Lo,...r1,...ks,...Ro,...ei,...fi,...yo,...xo,...oi,...wa,isSafari:Si,isTouchScreen:jf,setVariable:Ae}};var c1=Symbol.for(""),Kf=e=>{if(e?.r===c1)return e?._$litStatic$},Xt=e=>({_$litStatic$:e,r:c1});var i1=new Map,Ci=e=>(t,...r)=>{let a=r.length,o,i,c=[],l=[],d,u=0,h=!1;for(;u<a;){for(d=t[u];u<a&&(i=r[u],(o=Kf(i))!==void 0);)d+=o+t[++u],h=!0;u!==a&&l.push(i),c.push(d),u++}if(u===a&&c.push(t[a]),h){let p=c.join("$$lit$$");(t=i1.get(p))===void 0&&(c.raw=c,i1.set(p,t=c)),r=l}return e(t,...r)},Qt=Ci(te),EE=Ci(ia),SE=Ci(ca);var zn;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(zn||(zn={}));var s1=n.extend("--ft-typography-font-family","",Mt.titleFont),De=n.extend("--ft-typography-font-family","",Mt.contentFont),I={fontFamily:De,fontSize:n.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:n.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:n.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:n.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:n.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Jt={fontFamily:n.extend("--ft-typography-title-font-family","",s1),fontSize:n.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:n.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:n.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:n.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},er={fontFamily:n.extend("--ft-typography-title-dense-font-family","",s1),fontSize:n.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:n.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:n.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:n.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},tr={fontFamily:n.extend("--ft-typography-subtitle1-font-family","",De),fontSize:n.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:n.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:n.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:n.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:n.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},rr={fontFamily:n.extend("--ft-typography-subtitle2-font-family","",De),fontSize:n.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:n.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:n.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:n.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},nr={fontFamily:n.extend("--ft-typography-body1-font-family","",De),fontSize:n.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:n.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:n.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:n.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},ar={fontFamily:n.extend("--ft-typography-body2-font-family","",De),fontSize:n.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:n.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:n.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:n.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},or={fontFamily:n.extend("--ft-typography-caption-font-family","",De),fontSize:n.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:n.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:n.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:n.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},ir={fontFamily:n.extend("--ft-typography-breadcrumb-font-family","",De),fontSize:n.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:n.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:n.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:n.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},cr={fontFamily:n.extend("--ft-typography-overline-font-family","",De),fontSize:n.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:n.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:n.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:n.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},sr={fontFamily:n.extend("--ft-typography-button-font-family","",De),fontSize:n.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:n.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:n.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:n.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:n.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},l1=U`
|
|
85
|
+
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?St.error:this.warningMessages.length?St.warning:St.default}processRules(a){return a.map(o=>o(this.value)).filter(o=>o!==!0).map(o=>o)}}return ee([z()],t.prototype,"warningRules",void 0),ee([z()],t.prototype,"errorRules",void 0),ee([z()],t.prototype,"validateOn",void 0),ee([z({type:Boolean})],t.prototype,"validateAtRender",void 0),ee([z()],t.prototype,"label",void 0),ee([z({type:Boolean})],t.prototype,"hideLabel",void 0),ee([z()],t.prototype,"name",void 0),ee([z({type:Boolean})],t.prototype,"disabled",void 0),ee([z()],t.prototype,"helperText",void 0),ee([z()],t.prototype,"forceStatus",void 0),ee([z({reflect:!0})],t.prototype,"value",void 0),ee([pe()],t.prototype,"errorMessages",void 0),ee([pe()],t.prototype,"warningMessages",void 0),ee([pe()],t.prototype,"status",void 0),ee([pe()],t.prototype,"focused",void 0),ee([pe()],t.prototype,"additionalWarningRules",void 0),ee([pe()],t.prototype,"additionalErrorRules",void 0),t});var Wr=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let a of r)a._$AO?.(t,!1),Wr(a,t);return!0},kn=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},a1=e=>{for(let t;t=e._$AM;e=t){let r=t._$AN;if(r===void 0)t._$AN=r=new Set;else if(r.has(e))break;r.add(e),Wf(t)}};function Ff(e){this._$AN!==void 0?(kn(this),this._$AM=e,a1(this)):this._$AM=e}function $f(e,t=!1,r=0){let a=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(t)if(Array.isArray(a))for(let i=r;i<a.length;i++)Wr(a[i],!1),kn(a[i]);else a!=null&&(Wr(a,!1),kn(a));else Wr(this,e)}var Wf=e=>{e.type==Ce.CHILD&&(e._$AP??=$f,e._$AQ??=Ff)},qt=class extends he{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,a){super._$AT(t,r,a),a1(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(Wr(this,t),kn(this))}setValue(t){if(kc(this._$Ct))this._$Ct._$AI(t,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=t,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var gi=class extends qt{get element(){var t;return(t=this.part)===null||t===void 0?void 0:t.element}constructor(t){super(t),this.onFirstTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let a=r.relatedTarget;this.isInsideElement(a,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let a=r.relatedTarget;this.isInsideElement(a,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return X}update(t){return this.part=t,this.ensureFocusTrap(t.element),X}reconnected(){var t;this.ensureFocusTrap((t=this.part)===null||t===void 0?void 0:t.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(t){var r,a;this.isElementTrappable(t)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===t&&((a=this.lastTrap)===null||a===void 0?void 0:a.parentElement)===t||(this.removeFocusTrap(),this.createFocusTrap(t)))}removeFocusTrap(){var t,r,a,o;(t=this.firstTrap)===null||t===void 0||t.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(a=this.firstTrap)===null||a===void 0||a.remove(),(o=this.lastTrap)===null||o===void 0||o.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(t){return!!t&&t instanceof HTMLElement&&t.childElementCount>0}createFocusTrap(t){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),t.insertBefore(this.firstTrap,t.firstChild),t.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let t=document.createElement("div");return t.tabIndex=0,t}getChildren(t){return t instanceof HTMLSlotElement?t.assignedElements():t.shadowRoot?t.shadowRoot.children:t.children}async focusFirstDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let a=0;a<r.length;a++){let o=r[a];if(o instanceof HTMLElement&&(this.attemptFocus(o)||await this.focusFirstDescendant(o)))return!0}return!1}async focusLastDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let a=r.length-1;a>=0;a--){let o=r[a];if(o instanceof HTMLElement&&(this.attemptFocus(o)||await this.focusLastDescendant(o)))return!0}return!1}async updateCompleteIfNecessary(t){t instanceof ue&&await t.updateComplete}isInsideElement(t,r){for(let a=t;a;a=a.parentNode){if(a===r)return!0;a instanceof ShadowRoot?a=a.host:a.assignedSlot&&(a=a.assignedSlot)}return!1}attemptFocus(t){return t===this.firstTrap||t===this.lastTrap||!this.isFocusable(t)?!1:(t.focus(),!0)}isFocusable(t){return!t.checkVisibility()||this.isElementDisabled(t)?!1:t instanceof HTMLAnchorElement?!!t.href&&t.rel!=="ignore":t instanceof HTMLInputElement?t.type!=="hidden":t.tabIndex>=0}isElementDisabled(t){return"disabled"in t&&!!t.disabled}},Ov=ie(gi);var o1;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(o1||(o1={}));var Vf={sm:640,md:768,lg:1024,xl:1280},yi=class extends qt{constructor(t){super(t),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(t,[r,a,o]){return this.lastArgs=[r,a,o],this.render(r,a,o)}render(t,r,a){let o=this.resolveThreshold(t),i=a??(()=>V);return this.size>o?r():i()}resolveThreshold(t){return typeof t=="number"?t:Vf[t]}},Nv=ie(yi);var bi,xi,vi,Ei,Si=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((vi=(xi=(bi=window.safari)===null||bi===void 0?void 0:bi.pushNotification)===null||xi===void 0?void 0:xi.toString())!==null&&vi!==void 0?vi:"")==="[object SafariRemoteNotification]",jf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ei=window.ftGlobals)!==null&&Ei!==void 0?Ei:{lit:fa,litDecorators:pa,litRepeat:ha,litClassMap:ma,litStyleMap:ga,litUnsafeHTML:ya,wcUtils:{...Ra,...xa,...Ma,...li,...Pa,...za,...eo,...La,...mo,...pi,...t1,...ni,...go,...Ja,...Eo,...ci,...vo,...hi,...Ms,...Sa,...Co,...to,...Lo,...r1,...ks,...Ro,...ei,...fi,...yo,...xo,...oi,...wa,isSafari:Si,isTouchScreen:jf,setVariable:Ae}};var c1=Symbol.for(""),Kf=e=>{if(e?.r===c1)return e?._$litStatic$},Xt=e=>({_$litStatic$:e,r:c1});var i1=new Map,Ci=e=>(t,...r)=>{let a=r.length,o,i,c=[],l=[],d,u=0,h=!1;for(;u<a;){for(d=t[u];u<a&&(i=r[u],(o=Kf(i))!==void 0);)d+=o+t[++u],h=!0;u!==a&&l.push(i),c.push(d),u++}if(u===a&&c.push(t[a]),h){let p=c.join("$$lit$$");(t=i1.get(p))===void 0&&(c.raw=c,i1.set(p,t=c)),r=l}return e(t,...r)},Qt=Ci(te),EE=Ci(ia),SE=Ci(ca);var zn;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(zn||(zn={}));var s1=n.extend("--ft-typography-font-family","",Mt.titleFont),De=n.extend("--ft-typography-font-family","",Mt.contentFont),I={fontFamily:De,fontSize:n.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:n.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:n.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:n.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:n.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Jt={fontFamily:n.extend("--ft-typography-title-font-family","",s1),fontSize:n.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:n.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:n.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:n.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},er={fontFamily:n.extend("--ft-typography-title-dense-font-family","",s1),fontSize:n.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:n.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:n.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:n.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},tr={fontFamily:n.extend("--ft-typography-subtitle1-font-family","",De),fontSize:n.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:n.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:n.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:n.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:n.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},rr={fontFamily:n.extend("--ft-typography-subtitle2-font-family","",De),fontSize:n.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:n.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:n.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:n.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},nr={fontFamily:n.extend("--ft-typography-body1-font-family","",De),fontSize:n.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:n.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:n.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:n.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},ar={fontFamily:n.extend("--ft-typography-body2-font-family","",De),fontSize:n.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:n.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:n.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:n.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},or={fontFamily:n.extend("--ft-typography-caption-font-family","",De),fontSize:n.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:n.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:n.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:n.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},ir={fontFamily:n.extend("--ft-typography-breadcrumb-font-family","",De),fontSize:n.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:n.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:n.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:n.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},cr={fontFamily:n.extend("--ft-typography-overline-font-family","",De),fontSize:n.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:n.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:n.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:n.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},sr={fontFamily:n.extend("--ft-typography-button-font-family","",De),fontSize:n.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:n.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:n.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:n.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:n.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},l1=U`
|
|
86
86
|
.ft-typography--title {
|
|
87
87
|
font-family: ${Jt.fontFamily};
|
|
88
88
|
font-size: ${Jt.fontSize};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-link",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.24",
|
|
4
4
|
"description": "Generic link component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-icon": "2.0.
|
|
23
|
-
"@fluid-topics/ft-typography": "2.0.
|
|
24
|
-
"@fluid-topics/ft-wc-utils": "2.0.
|
|
22
|
+
"@fluid-topics/ft-icon": "2.0.24",
|
|
23
|
+
"@fluid-topics/ft-typography": "2.0.24",
|
|
24
|
+
"@fluid-topics/ft-wc-utils": "2.0.24",
|
|
25
25
|
"lit": "3.1.0"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "5407e83b63be10ccc5bdeb3551c9f798b9559ae0"
|
|
28
28
|
}
|