@fluid-topics/ft-notice 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.
@@ -82,7 +82,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
82
82
  <li>${this.helperText}</li>
83
83
  `)}
84
84
  </ul>
85
- `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?wt.error:this.warningMessages.length?wt.warning:wt.default}processRules(n){return n.map(a=>a(this.value)).filter(a=>a!==!0).map(a=>a)}}return te([z()],t.prototype,"warningRules",void 0),te([z()],t.prototype,"errorRules",void 0),te([z()],t.prototype,"validateOn",void 0),te([z({type:Boolean})],t.prototype,"validateAtRender",void 0),te([z()],t.prototype,"label",void 0),te([z({type:Boolean})],t.prototype,"hideLabel",void 0),te([z()],t.prototype,"name",void 0),te([z({type:Boolean})],t.prototype,"disabled",void 0),te([z()],t.prototype,"helperText",void 0),te([z()],t.prototype,"forceStatus",void 0),te([z({reflect:!0})],t.prototype,"value",void 0),te([ye()],t.prototype,"errorMessages",void 0),te([ye()],t.prototype,"warningMessages",void 0),te([ye()],t.prototype,"status",void 0),te([ye()],t.prototype,"focused",void 0),te([ye()],t.prototype,"additionalWarningRules",void 0),te([ye()],t.prototype,"additionalErrorRules",void 0),t});var Xr=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(t,!1),Xr(n,t);return!0},Ho=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},i1=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),Zf(t)}};function jf(e){this._$AN!==void 0?(Ho(this),this._$AM=e,i1(this)):this._$AM=e}function Kf(e,t=!1,r=0){let n=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(t)if(Array.isArray(n))for(let i=r;i<n.length;i++)Xr(n[i],!1),Ho(n[i]);else n!=null&&(Xr(n,!1),Ho(n));else Xr(this,e)}var Zf=e=>{e.type==Re.CHILD&&(e._$AP??=Kf,e._$AQ??=jf)},ar=class extends be{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,n){super._$AT(t,r,n),i1(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(Xr(this,t),Ho(this))}setValue(t){if(Ic(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 bi=class extends ar{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 n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return Q}update(t){return this.part=t,this.isElementTrappable(t.element)&&this.createFocusTrap(t.element),Q}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,n,a;(t=this.firstTrap)===null||t===void 0||t.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(a=this.lastTrap)===null||a===void 0||a.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 n=0;n<r.length;n++){let a=r[n];if(a instanceof HTMLElement&&(this.attemptFocus(a)||await this.focusFirstDescendant(a)))return!0}return!1}async focusLastDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let n=r.length-1;n>=0;n--){let a=r[n];if(a instanceof HTMLElement&&(this.attemptFocus(a)||await this.focusLastDescendant(a)))return!0}return!1}async updateCompleteIfNecessary(t){t instanceof ge&&await t.updateComplete}isInsideElement(t,r){for(let n=t;n;n=n.parentNode){if(n===r)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.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}},Tv=fe(bi);var c1;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(c1||(c1={}));var Yf={sm:640,md:768,lg:1024,xl:1280},xi=class extends ar{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,n,a]){return this.lastArgs=[r,n,a],this.render(r,n,a)}render(t,r,n){let a=this.resolveThreshold(t),i=n??(()=>j);return this.size>a?r():i()}resolveThreshold(t){return typeof t=="number"?t:Yf[t]}},zv=fe(xi);var vi,Ei,Si,Ci,qf=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Si=(Ei=(vi=window.safari)===null||vi===void 0?void 0:vi.pushNotification)===null||Ei===void 0?void 0:Ei.toString())!==null&&Si!==void 0?Si:"")==="[object SafariRemoteNotification]",Xf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ci=window.ftGlobals)!==null&&Ci!==void 0?Ci:{lit:mn,litDecorators:yn,litRepeat:bn,litClassMap:xn,litStyleMap:vn,litUnsafeHTML:En,wcUtils:{...Tn,...Cn,...In,...fi,...Dn,...Bn,...na,...wn,...ba,...mi,...o1,...ai,...xa,...oa,...Aa,...li,...Ca,...gi,...ks,...On,...Oa,...aa,...Ra,...n1,...Is,...wa,...ri,...pi,...va,...Sa,...ci,...Pn,isSafari:qf,isTouchScreen:Xf,setVariable:Gt}};var rt;(function(e){e.info="info",e.warning="warning",e.error="error",e.success="success"})(rt||(rt={}));var l1=Symbol.for(""),Qf=e=>{if(e?.r===l1)return e?._$litStatic$},ir=e=>({_$litStatic$:e,r:l1});var s1=new Map,Ai=e=>(t,...r)=>{let n=r.length,a,i,c=[],l=[],d,u=0,h=!1;for(;u<n;){for(d=t[u];u<n&&(i=r[u],(a=Qf(i))!==void 0);)d+=a+t[++u],h=!0;u!==n&&l.push(i),c.push(d),u++}if(u===n&&c.push(t[n]),h){let p=c.join("$$lit$$");(t=s1.get(p))===void 0&&(c.raw=c,s1.set(p,t=c)),r=l}return e(t,...r)},cr=Ai(re),RE=Ai(dn),_E=Ai(fn);var Nt;(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"})(Nt||(Nt={}));var d1=o.extend("--ft-typography-font-family","",pe.titleFont),Be=o.extend("--ft-typography-font-family","",pe.contentFont),I={fontFamily:Be,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},sr={fontFamily:o.extend("--ft-typography-title-font-family","",d1),fontSize:o.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},lr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",d1),fontSize:o.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},dr={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Be),fontSize:o.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},fr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Be),fontSize:o.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},ur={fontFamily:o.extend("--ft-typography-body1-font-family","",Be),fontSize:o.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},pr={fontFamily:o.extend("--ft-typography-body2-font-family","",Be),fontSize:o.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},hr={fontFamily:o.extend("--ft-typography-caption-font-family","",Be),fontSize:o.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},mr={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Be),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},gr={fontFamily:o.extend("--ft-typography-overline-font-family","",Be),fontSize:o.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},yr={fontFamily:o.extend("--ft-typography-button-font-family","",Be),fontSize:o.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},f1=U`
85
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?wt.error:this.warningMessages.length?wt.warning:wt.default}processRules(n){return n.map(a=>a(this.value)).filter(a=>a!==!0).map(a=>a)}}return te([z()],t.prototype,"warningRules",void 0),te([z()],t.prototype,"errorRules",void 0),te([z()],t.prototype,"validateOn",void 0),te([z({type:Boolean})],t.prototype,"validateAtRender",void 0),te([z()],t.prototype,"label",void 0),te([z({type:Boolean})],t.prototype,"hideLabel",void 0),te([z()],t.prototype,"name",void 0),te([z({type:Boolean})],t.prototype,"disabled",void 0),te([z()],t.prototype,"helperText",void 0),te([z()],t.prototype,"forceStatus",void 0),te([z({reflect:!0})],t.prototype,"value",void 0),te([ye()],t.prototype,"errorMessages",void 0),te([ye()],t.prototype,"warningMessages",void 0),te([ye()],t.prototype,"status",void 0),te([ye()],t.prototype,"focused",void 0),te([ye()],t.prototype,"additionalWarningRules",void 0),te([ye()],t.prototype,"additionalErrorRules",void 0),t});var Xr=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(t,!1),Xr(n,t);return!0},Ho=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},i1=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),Zf(t)}};function jf(e){this._$AN!==void 0?(Ho(this),this._$AM=e,i1(this)):this._$AM=e}function Kf(e,t=!1,r=0){let n=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(t)if(Array.isArray(n))for(let i=r;i<n.length;i++)Xr(n[i],!1),Ho(n[i]);else n!=null&&(Xr(n,!1),Ho(n));else Xr(this,e)}var Zf=e=>{e.type==Re.CHILD&&(e._$AP??=Kf,e._$AQ??=jf)},ar=class extends be{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,n){super._$AT(t,r,n),i1(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(Xr(this,t),Ho(this))}setValue(t){if(Ic(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 bi=class extends ar{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 n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return Q}update(t){return this.part=t,this.ensureFocusTrap(t.element),Q}reconnected(){var t;this.ensureFocusTrap((t=this.part)===null||t===void 0?void 0:t.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(t){var r,n;this.isElementTrappable(t)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===t&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===t||(this.removeFocusTrap(),this.createFocusTrap(t)))}removeFocusTrap(){var t,r,n,a;(t=this.firstTrap)===null||t===void 0||t.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(a=this.lastTrap)===null||a===void 0||a.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 n=0;n<r.length;n++){let a=r[n];if(a instanceof HTMLElement&&(this.attemptFocus(a)||await this.focusFirstDescendant(a)))return!0}return!1}async focusLastDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let n=r.length-1;n>=0;n--){let a=r[n];if(a instanceof HTMLElement&&(this.attemptFocus(a)||await this.focusLastDescendant(a)))return!0}return!1}async updateCompleteIfNecessary(t){t instanceof ge&&await t.updateComplete}isInsideElement(t,r){for(let n=t;n;n=n.parentNode){if(n===r)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.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}},Tv=fe(bi);var c1;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(c1||(c1={}));var Yf={sm:640,md:768,lg:1024,xl:1280},xi=class extends ar{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,n,a]){return this.lastArgs=[r,n,a],this.render(r,n,a)}render(t,r,n){let a=this.resolveThreshold(t),i=n??(()=>j);return this.size>a?r():i()}resolveThreshold(t){return typeof t=="number"?t:Yf[t]}},zv=fe(xi);var vi,Ei,Si,Ci,qf=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Si=(Ei=(vi=window.safari)===null||vi===void 0?void 0:vi.pushNotification)===null||Ei===void 0?void 0:Ei.toString())!==null&&Si!==void 0?Si:"")==="[object SafariRemoteNotification]",Xf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ci=window.ftGlobals)!==null&&Ci!==void 0?Ci:{lit:mn,litDecorators:yn,litRepeat:bn,litClassMap:xn,litStyleMap:vn,litUnsafeHTML:En,wcUtils:{...Tn,...Cn,...In,...fi,...Dn,...Bn,...na,...wn,...ba,...mi,...o1,...ai,...xa,...oa,...Aa,...li,...Ca,...gi,...ks,...On,...Oa,...aa,...Ra,...n1,...Is,...wa,...ri,...pi,...va,...Sa,...ci,...Pn,isSafari:qf,isTouchScreen:Xf,setVariable:Gt}};var rt;(function(e){e.info="info",e.warning="warning",e.error="error",e.success="success"})(rt||(rt={}));var l1=Symbol.for(""),Qf=e=>{if(e?.r===l1)return e?._$litStatic$},ir=e=>({_$litStatic$:e,r:l1});var s1=new Map,Ai=e=>(t,...r)=>{let n=r.length,a,i,c=[],l=[],d,u=0,h=!1;for(;u<n;){for(d=t[u];u<n&&(i=r[u],(a=Qf(i))!==void 0);)d+=a+t[++u],h=!0;u!==n&&l.push(i),c.push(d),u++}if(u===n&&c.push(t[n]),h){let p=c.join("$$lit$$");(t=s1.get(p))===void 0&&(c.raw=c,s1.set(p,t=c)),r=l}return e(t,...r)},cr=Ai(re),RE=Ai(dn),_E=Ai(fn);var Nt;(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"})(Nt||(Nt={}));var d1=o.extend("--ft-typography-font-family","",pe.titleFont),Be=o.extend("--ft-typography-font-family","",pe.contentFont),I={fontFamily:Be,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},sr={fontFamily:o.extend("--ft-typography-title-font-family","",d1),fontSize:o.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},lr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",d1),fontSize:o.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},dr={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Be),fontSize:o.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},fr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Be),fontSize:o.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},ur={fontFamily:o.extend("--ft-typography-body1-font-family","",Be),fontSize:o.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},pr={fontFamily:o.extend("--ft-typography-body2-font-family","",Be),fontSize:o.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},hr={fontFamily:o.extend("--ft-typography-caption-font-family","",Be),fontSize:o.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},mr={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Be),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},gr={fontFamily:o.extend("--ft-typography-overline-font-family","",Be),fontSize:o.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},yr={fontFamily:o.extend("--ft-typography-button-font-family","",Be),fontSize:o.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},f1=U`
86
86
  .ft-typography--title {
87
87
  font-family: ${sr.fontFamily};
88
88
  font-size: ${sr.fontSize};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-notice",
3
- "version": "2.0.23",
3
+ "version": "2.0.24",
4
4
  "description": "Notice to display different messages",
5
5
  "keywords": [
6
6
  "Lit"
@@ -20,10 +20,10 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@fluid-topics/design-system-variables": "3.2.8",
23
- "@fluid-topics/ft-icon": "2.0.23",
24
- "@fluid-topics/ft-typography": "2.0.23",
25
- "@fluid-topics/ft-wc-utils": "2.0.23",
23
+ "@fluid-topics/ft-icon": "2.0.24",
24
+ "@fluid-topics/ft-typography": "2.0.24",
25
+ "@fluid-topics/ft-wc-utils": "2.0.24",
26
26
  "lit": "3.1.0"
27
27
  },
28
- "gitHead": "e441ae21f5027730992e39b7dc728ac0f7b17dc0"
28
+ "gitHead": "5407e83b63be10ccc5bdeb3551c9f798b9559ae0"
29
29
  }