@fluid-topics/ft-reader-navigation-button 1.0.46 → 1.0.47
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.
|
@@ -56,7 +56,7 @@ const p=window,d=p.ShadowRoot&&(void 0===p.ShadyCSS||p.ShadyCSS.nativeShadow)&&"
|
|
|
56
56
|
* Copyright 2017 Google LLC
|
|
57
57
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
58
|
*/
|
|
59
|
-
var R;E.finalized=!0,E.elementProperties=new Map,E.elementStyles=[],E.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:E}),(null!==(m=w.reactiveElementVersions)&&void 0!==m?m:w.reactiveElementVersions=[]).push("1.6.1");const M=window,
|
|
59
|
+
var R;E.finalized=!0,E.elementProperties=new Map,E.elementStyles=[],E.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:E}),(null!==(m=w.reactiveElementVersions)&&void 0!==m?m:w.reactiveElementVersions=[]).push("1.6.1");const M=window,U=M.trustedTypes,j=U?U.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,B="?"+z,T=`<${B}>`,P=document,A=()=>P.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,I=Array.isArray,_="[ \t\n\f\r]",D=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,W=/-->/g,H=/>/g,K=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Z=/'/g,V=/"/g,J=/^(?:script|style|textarea|title)$/i,q=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),X=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),G=new WeakMap,Q=P.createTreeWalker(P,129,null,!1),tt=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=D;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(r.lastIndex=c,l=r.exec(i),null!==l);)c=r.lastIndex,r===D?"!--"===l[1]?r=W:void 0!==l[1]?r=H:void 0!==l[2]?(J.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=K):void 0!==l[3]&&(r=K):r===K?">"===l[0]?(r=null!=n?n:D,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?K:'"'===l[3]?V:Z):r===V||r===Z?r=K:r===W||r===H?r=D:(r=K,n=void 0);const p=r===K&&t[e+1].startsWith("/>")?" ":"";s+=r===D?i+T:h>=0?(o.push(a),i.slice(0,h)+F+i.slice(h)+z+p):i+z+(-2===h?(o.push(void 0),e):p)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(a):a,o]};class et{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=tt(t,e);if(this.el=et.createElement(l,i),Q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Q.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(F)||e.startsWith(z)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+F).split(z),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?rt:"?"===e[1]?lt:"@"===e[1]?ht:st})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(J.test(o.tagName)){const t=o.textContent.split(z),e=t.length-1;if(e>0){o.textContent=U?U.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],A()),Q.nextNode(),a.push({type:2,index:++n});o.append(t[e],A())}}}else if(8===o.nodeType)if(o.data===B)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(z,t+1));)a.push({type:7,index:n}),t+=z.length-1}n++}}static createElement(t,e){const i=P.createElement("template");return i.innerHTML=t,i}}function it(t,e,i=t,o){var n,s,r,a;if(e===X)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=L(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Co)&&void 0!==r?r:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=it(t,l._$AS(t,e.values),l,o)),e}class ot{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:P).importNode(i,!0);Q.currentNode=n;let s=Q.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new nt(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new ct(s,this,t)),this._$AV.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=Q.nextNode(),r++)}return n}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class nt{constructor(t,e,i,o){var n;this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=it(this,t,e),L(t)?t===Y||null==t||""===t?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>I(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Y&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(P.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=et.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(i);else{const t=new ot(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=G.get(t.strings);return void 0===e&&G.set(t.strings,e=new et(t)),e}T(t){I(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new nt(this.k(A()),this.k(A()),this,this.options)):i=e[o],i._$AI(n),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._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class st{constructor(t,e,i,o,n){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Y}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=it(this,t,e,0),s=!L(t)||t!==this._$AH&&t!==X,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=it(this,o[i+r],e,r),a===X&&(a=this._$AH[r]),s||(s=!L(a)||a!==this._$AH[r]),a===Y?t=Y:t!==Y&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.j(t)}j(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class rt extends st{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Y?void 0:t}}const at=U?U.emptyScript:"";class lt extends st{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Y?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class ht extends st{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=it(this,t,e,0))&&void 0!==i?i:Y)===X)return;const o=this._$AH,n=t===Y&&o!==Y||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Y&&(o===Y||n);n&&this.element.removeEventListener(this.name,this,o),s&&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 ct{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){it(this,t)}}const pt=M.litHtmlPolyfillSupport;null==pt||pt(et,nt),(null!==(R=M.litHtmlVersions)&&void 0!==R?R:M.litHtmlVersions=[]).push("2.7.3");
|
|
60
60
|
/**
|
|
61
61
|
* @license
|
|
62
62
|
* Copyright 2017 Google LLC
|
|
@@ -94,7 +94,7 @@ var dt,ft;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
94
94
|
display: inline-block;
|
|
95
95
|
width: 0;
|
|
96
96
|
}
|
|
97
|
-
`;var Et,Rt,Mt;const
|
|
97
|
+
`;var Et,Rt,Mt;const Ut=Symbol("internalReduxEventsUnsubscribers"),jt=Symbol("internalStoresUnsubscribers"),Ft=Symbol("internalStores");class zt extends kt{constructor(){super(...arguments),this[Et]=new Map,this[Rt]=new Map,this[Mt]=[]}updated(t){var e;super.updated(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Ft].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ft].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ft].get(t)}addStore(t,e){var i;e=null!==(i=null!=e?e:Bt(t)?t.name:void 0)&&void 0!==i?i:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Ft].delete(e)}setupStore(t,e){this[Ft].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ft].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(t.store?this[jt].has(t.store):this[jt].size>0)&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){var i;this[jt].set(t,e.subscribe((()=>this.updateFromStores()))),Bt(e)&&e.eventBus&&(null===(i=this.reduxEventListeners)||void 0===i||i.forEach(((t,i)=>{if("function"==typeof this[i]&&(!t.store||e.name===t.store)){const o=t=>this[i](t);e.eventBus.addEventListener(t.eventName,o),this[Ut].push((()=>e.eventBus.removeEventListener(t.eventName,o)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[jt].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Ut].forEach((t=>t())),this[Ut]=[]}unsubscribeFromStore(t){this[jt].has(t)&&this[jt].get(t)(),this[jt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Bt(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Tt,Pt,At;Et=jt,Rt=Ft,Mt=Ut;const Lt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(At=null===(Pt=null===(Tt=window.safari)||void 0===Tt?void 0:Tt.pushNotification)||void 0===Pt?void 0:Pt.toString())&&void 0!==At?At:""),It={outlineColor:bt.extend("--ft-reader-internal-link-outline-color",xt.colorPrimary)},_t=y`
|
|
98
98
|
:host {
|
|
99
99
|
display: contents;
|
|
100
100
|
}
|
|
@@ -234,7 +234,7 @@ var dt,ft;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
234
234
|
* Copyright 2020 Google LLC
|
|
235
235
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
236
236
|
*/
|
|
237
|
-
const se=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===se)return null==t?void 0:t._$litStatic$},ae=t=>({_$litStatic$:t,r:se}),le=new Map,he=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],n=re(s));)l+=n+e[++h],c=!0;h!==o&&a.push(s),r.push(l),h++}if(h===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=le.get(t))&&(r.raw=r,le.set(t,e=r)),i=a}return t(e,...i)})(q);var ce;!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"}(ce||(ce={}));const pe=bt.extend("--ft-typography-font-family",xt.titleFont),de=bt.extend("--ft-typography-font-family",xt.contentFont),fe={fontFamily:de,fontSize:bt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:bt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:bt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:bt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:bt.create("--ft-typography-text-transform","UNKNOWN","inherit")},ue=bt.extend("--ft-typography-title-font-family",pe),ve=bt.extend("--ft-typography-title-font-size",fe.fontSize,"20px"),be=bt.extend("--ft-typography-title-font-weight",fe.fontWeight,"normal"),ye=bt.extend("--ft-typography-title-letter-spacing",fe.letterSpacing,"0.15px"),xe=bt.extend("--ft-typography-title-line-height",fe.lineHeight,"1.2"),ge=bt.extend("--ft-typography-title-text-transform",fe.textTransform,"inherit"),me=bt.extend("--ft-typography-title-dense-font-family",pe),we=bt.extend("--ft-typography-title-dense-font-size",fe.fontSize,"14px"),$e=bt.extend("--ft-typography-title-dense-font-weight",fe.fontWeight,"normal"),Oe=bt.extend("--ft-typography-title-dense-letter-spacing",fe.letterSpacing,"0.105px"),Se=bt.extend("--ft-typography-title-dense-line-height",fe.lineHeight,"1.7"),ke=bt.extend("--ft-typography-title-dense-text-transform",fe.textTransform,"inherit"),Ce=bt.extend("--ft-typography-subtitle1-font-family",de),Ne=bt.extend("--ft-typography-subtitle1-font-size",fe.fontSize,"16px"),Ee=bt.extend("--ft-typography-subtitle1-font-weight",fe.fontWeight,"600"),Re=bt.extend("--ft-typography-subtitle1-letter-spacing",fe.letterSpacing,"0.144px"),Me=bt.extend("--ft-typography-subtitle1-line-height",fe.lineHeight,"1.5"),
|
|
237
|
+
const se=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===se)return null==t?void 0:t._$litStatic$},ae=t=>({_$litStatic$:t,r:se}),le=new Map,he=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],n=re(s));)l+=n+e[++h],c=!0;h!==o&&a.push(s),r.push(l),h++}if(h===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=le.get(t))&&(r.raw=r,le.set(t,e=r)),i=a}return t(e,...i)})(q);var ce;!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"}(ce||(ce={}));const pe=bt.extend("--ft-typography-font-family",xt.titleFont),de=bt.extend("--ft-typography-font-family",xt.contentFont),fe={fontFamily:de,fontSize:bt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:bt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:bt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:bt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:bt.create("--ft-typography-text-transform","UNKNOWN","inherit")},ue=bt.extend("--ft-typography-title-font-family",pe),ve=bt.extend("--ft-typography-title-font-size",fe.fontSize,"20px"),be=bt.extend("--ft-typography-title-font-weight",fe.fontWeight,"normal"),ye=bt.extend("--ft-typography-title-letter-spacing",fe.letterSpacing,"0.15px"),xe=bt.extend("--ft-typography-title-line-height",fe.lineHeight,"1.2"),ge=bt.extend("--ft-typography-title-text-transform",fe.textTransform,"inherit"),me=bt.extend("--ft-typography-title-dense-font-family",pe),we=bt.extend("--ft-typography-title-dense-font-size",fe.fontSize,"14px"),$e=bt.extend("--ft-typography-title-dense-font-weight",fe.fontWeight,"normal"),Oe=bt.extend("--ft-typography-title-dense-letter-spacing",fe.letterSpacing,"0.105px"),Se=bt.extend("--ft-typography-title-dense-line-height",fe.lineHeight,"1.7"),ke=bt.extend("--ft-typography-title-dense-text-transform",fe.textTransform,"inherit"),Ce=bt.extend("--ft-typography-subtitle1-font-family",de),Ne=bt.extend("--ft-typography-subtitle1-font-size",fe.fontSize,"16px"),Ee=bt.extend("--ft-typography-subtitle1-font-weight",fe.fontWeight,"600"),Re=bt.extend("--ft-typography-subtitle1-letter-spacing",fe.letterSpacing,"0.144px"),Me=bt.extend("--ft-typography-subtitle1-line-height",fe.lineHeight,"1.5"),Ue=bt.extend("--ft-typography-subtitle1-text-transform",fe.textTransform,"inherit"),je=bt.extend("--ft-typography-subtitle2-font-family",de),Fe=bt.extend("--ft-typography-subtitle2-font-size",fe.fontSize,"14px"),ze=bt.extend("--ft-typography-subtitle2-font-weight",fe.fontWeight,"normal"),Be=bt.extend("--ft-typography-subtitle2-letter-spacing",fe.letterSpacing,"0.098px"),Te=bt.extend("--ft-typography-subtitle2-line-height",fe.lineHeight,"1.7"),Pe=bt.extend("--ft-typography-subtitle2-text-transform",fe.textTransform,"inherit"),Ae=bt.extend("--ft-typography-body1-font-family",de),Le=bt.extend("--ft-typography-body1-font-size",fe.fontSize,"16px"),Ie=bt.extend("--ft-typography-body1-font-weight",fe.fontWeight,"normal"),_e=bt.extend("--ft-typography-body1-letter-spacing",fe.letterSpacing,"0.496px"),De=bt.extend("--ft-typography-body1-line-height",fe.lineHeight,"1.5"),We=bt.extend("--ft-typography-body1-text-transform",fe.textTransform,"inherit"),He=bt.extend("--ft-typography-body2-font-family",de),Ke=bt.extend("--ft-typography-body2-font-size",fe.fontSize,"14px"),Ze=bt.extend("--ft-typography-body2-font-weight",fe.fontWeight,"normal"),Ve=bt.extend("--ft-typography-body2-letter-spacing",fe.letterSpacing,"0.252px"),Je=bt.extend("--ft-typography-body2-line-height",fe.lineHeight,"1.4"),qe=bt.extend("--ft-typography-body2-text-transform",fe.textTransform,"inherit"),Xe=bt.extend("--ft-typography-caption-font-family",de),Ye=bt.extend("--ft-typography-caption-font-size",fe.fontSize,"12px"),Ge=bt.extend("--ft-typography-caption-font-weight",fe.fontWeight,"normal"),Qe=bt.extend("--ft-typography-caption-letter-spacing",fe.letterSpacing,"0.396px"),ti=bt.extend("--ft-typography-caption-line-height",fe.lineHeight,"1.33"),ei=bt.extend("--ft-typography-caption-text-transform",fe.textTransform,"inherit"),ii=bt.extend("--ft-typography-breadcrumb-font-family",de),oi=bt.extend("--ft-typography-breadcrumb-font-size",fe.fontSize,"10px"),ni=bt.extend("--ft-typography-breadcrumb-font-weight",fe.fontWeight,"normal"),si=bt.extend("--ft-typography-breadcrumb-letter-spacing",fe.letterSpacing,"0.33px"),ri=bt.extend("--ft-typography-breadcrumb-line-height",fe.lineHeight,"1.6"),ai=bt.extend("--ft-typography-breadcrumb-text-transform",fe.textTransform,"inherit"),li=bt.extend("--ft-typography-overline-font-family",de),hi=bt.extend("--ft-typography-overline-font-size",fe.fontSize,"10px"),ci=bt.extend("--ft-typography-overline-font-weight",fe.fontWeight,"normal"),pi=bt.extend("--ft-typography-overline-letter-spacing",fe.letterSpacing,"1.5px"),di=bt.extend("--ft-typography-overline-line-height",fe.lineHeight,"1.6"),fi=bt.extend("--ft-typography-overline-text-transform",fe.textTransform,"uppercase"),ui={fontFamily:bt.extend("--ft-typography-button-font-family",de),fontSize:bt.extend("--ft-typography-button-font-size",fe.fontSize,"14px"),fontWeight:bt.extend("--ft-typography-button-font-weight",fe.fontWeight,"600"),letterSpacing:bt.extend("--ft-typography-button-letter-spacing",fe.letterSpacing,"1.246px"),lineHeight:bt.extend("--ft-typography-button-line-height",fe.lineHeight,"1.15"),textTransform:bt.extend("--ft-typography-button-text-transform",fe.textTransform,"uppercase")},vi=y`
|
|
238
238
|
.ft-typography--title {
|
|
239
239
|
font-family: ${ue};
|
|
240
240
|
font-size: ${ve};
|
|
@@ -259,11 +259,11 @@ const se=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===se)return null==t?void
|
|
|
259
259
|
font-weight: ${Ee};
|
|
260
260
|
letter-spacing: ${Re};
|
|
261
261
|
line-height: ${Me};
|
|
262
|
-
text-transform: ${
|
|
262
|
+
text-transform: ${Ue};
|
|
263
263
|
}
|
|
264
264
|
`,xi=y`
|
|
265
265
|
.ft-typography--subtitle2 {
|
|
266
|
-
font-family: ${
|
|
266
|
+
font-family: ${je};
|
|
267
267
|
font-size: ${Fe};
|
|
268
268
|
font-weight: ${ze};
|
|
269
269
|
letter-spacing: ${Be};
|
|
@@ -336,7 +336,7 @@ const se=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===se)return null==t?void
|
|
|
336
336
|
</${ae(this.element)}>
|
|
337
337
|
`:he`
|
|
338
338
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
339
|
-
`}}Ni.styles=[vi,bi,yi,xi,gi,mi,wi,$i,Oi,Si,ki],Ci([o()],Ni.prototype,"element",void 0),Ci([o()],Ni.prototype,"variant",void 0),c("ft-typography")(Ni);const Ei=bt.create("--ft-tooltip-distance","SIZE","4px"),Ri=bt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Mi=bt.create("--ft-tooltip-background-color","COLOR","#666666"),
|
|
339
|
+
`}}Ni.styles=[vi,bi,yi,xi,gi,mi,wi,$i,Oi,Si,ki],Ci([o()],Ni.prototype,"element",void 0),Ci([o()],Ni.prototype,"variant",void 0),c("ft-typography")(Ni);const Ei=bt.create("--ft-tooltip-distance","SIZE","4px"),Ri=bt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Mi=bt.create("--ft-tooltip-background-color","COLOR","#666666"),Ui=bt.create("--ft-tooltip-z-index","NUMBER","1"),ji=bt.external(xt.borderRadiusS,"Design system"),Fi=bt.create("--ft-tooltip-max-width","SIZE","150px"),zi=y`
|
|
340
340
|
.ft-tooltip--container {
|
|
341
341
|
display: block;
|
|
342
342
|
position: relative;
|
|
@@ -355,12 +355,12 @@ const se=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===se)return null==t?void
|
|
|
355
355
|
max-width: ${Fi};
|
|
356
356
|
text-align: center;
|
|
357
357
|
padding: ${Ei};
|
|
358
|
-
z-index: ${
|
|
358
|
+
z-index: ${Ui};
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
.ft-tooltip--content {
|
|
362
362
|
padding: 4px 8px;
|
|
363
|
-
border-radius: ${
|
|
363
|
+
border-radius: ${ji};
|
|
364
364
|
background-color: ${Mi};
|
|
365
365
|
color: ${Ri};
|
|
366
366
|
top: -500px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-reader-navigation-button",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.47",
|
|
4
4
|
"description": "Button used to navigate between pages in an integrated reader context.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-button": "1.0.
|
|
23
|
-
"@fluid-topics/ft-reader-context": "1.0.
|
|
24
|
-
"@fluid-topics/ft-reader-internal-link": "1.0.
|
|
25
|
-
"@fluid-topics/ft-tooltip": "1.0.
|
|
26
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-button": "1.0.47",
|
|
23
|
+
"@fluid-topics/ft-reader-context": "1.0.47",
|
|
24
|
+
"@fluid-topics/ft-reader-internal-link": "1.0.47",
|
|
25
|
+
"@fluid-topics/ft-tooltip": "1.0.47",
|
|
26
|
+
"@fluid-topics/ft-wc-utils": "1.0.47",
|
|
27
27
|
"lit": "2.7.2"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "6313471d9f5ceea14a13311e9a6cc24b6fa6f044"
|
|
30
30
|
}
|