@fluid-topics/ft-reader-navigation-button 1.0.61 → 1.0.62
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.
|
@@ -591,7 +591,7 @@ const Do=Symbol.for(""),Ao=t=>{if((null==t?void 0:t.r)===Do)return null==t?void
|
|
|
591
591
|
</ft-tooltip>
|
|
592
592
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
593
593
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
594
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}pe.elementDefinitions={"ft-ripple":oo,"ft-tooltip":ie,"ft-typography":Mo,"ft-icon":ne,"ft-loader":le},ce([r.property({type:String,reflect:!0})],pe.prototype,"role",void 0),ce([r.property()],pe.prototype,"type",void 0),ce([r.property({type:Boolean})],pe.prototype,"disabled",void 0),ce([r.property()],pe.prototype,"label",void 0),ce([r.property()],pe.prototype,"icon",void 0),ce([r.property()],pe.prototype,"iconVariant",void 0),ce([r.property({type:Boolean})],pe.prototype,"trailingIcon",void 0),ce([r.property({type:Boolean})],pe.prototype,"loading",void 0),ce([r.property()],pe.prototype,"tooltipPosition",void 0),ce([r.property({type:Boolean})],pe.prototype,"hideTooltip",void 0),ce([r.property({type:Boolean})],pe.prototype,"forceTooltip",void 0),ce([r.query(".ft-button")],pe.prototype,"button",void 0),ce([r.query(".ft-button--label slot")],pe.prototype,"slottedContent",void 0);var se=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class fe extends pe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.
|
|
594
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}pe.elementDefinitions={"ft-ripple":oo,"ft-tooltip":ie,"ft-typography":Mo,"ft-icon":ne,"ft-loader":le},ce([r.property({type:String,reflect:!0})],pe.prototype,"role",void 0),ce([r.property()],pe.prototype,"type",void 0),ce([r.property({type:Boolean})],pe.prototype,"disabled",void 0),ce([r.property()],pe.prototype,"label",void 0),ce([r.property()],pe.prototype,"icon",void 0),ce([r.property()],pe.prototype,"iconVariant",void 0),ce([r.property({type:Boolean})],pe.prototype,"trailingIcon",void 0),ce([r.property({type:Boolean})],pe.prototype,"loading",void 0),ce([r.property()],pe.prototype,"tooltipPosition",void 0),ce([r.property({type:Boolean})],pe.prototype,"hideTooltip",void 0),ce([r.property({type:Boolean})],pe.prototype,"forceTooltip",void 0),ce([r.query(".ft-button")],pe.prototype,"button",void 0),ce([r.query(".ft-button--label slot")],pe.prototype,"slottedContent",void 0);var se=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class fe extends pe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}fe.styles=[o.safariEllipsisFix,Jt],se([r.property({type:Boolean})],fe.prototype,"primary",void 0),se([r.property({type:Boolean})],fe.prototype,"outlined",void 0),se([r.property({type:Boolean})],fe.prototype,"dense",void 0),se([r.property({type:Boolean})],fe.prototype,"round",void 0);const de=[e.css`
|
|
595
595
|
:host {
|
|
596
596
|
display: inline-block;
|
|
597
597
|
max-width: 100%;
|
|
@@ -704,7 +704,7 @@ class ir extends ze{constructor(t){if(super(t),this.et=q,t.type!==Fe)throw Error
|
|
|
704
704
|
</ft-tooltip>
|
|
705
705
|
`:t}resolveIcon(){return this.loading?V`
|
|
706
706
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?V`
|
|
707
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:q}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}hr.elementDefinitions={"ft-ripple":Me,"ft-tooltip":rr,"ft-typography":Ye,"ft-icon":pr,"ft-loader":fr},dr([r({type:String,reflect:!0})],hr.prototype,"role",void 0),dr([r()],hr.prototype,"type",void 0),dr([r({type:Boolean})],hr.prototype,"disabled",void 0),dr([r()],hr.prototype,"label",void 0),dr([r()],hr.prototype,"icon",void 0),dr([r()],hr.prototype,"iconVariant",void 0),dr([r({type:Boolean})],hr.prototype,"trailingIcon",void 0),dr([r({type:Boolean})],hr.prototype,"loading",void 0),dr([r()],hr.prototype,"tooltipPosition",void 0),dr([r({type:Boolean})],hr.prototype,"hideTooltip",void 0),dr([r({type:Boolean})],hr.prototype,"forceTooltip",void 0),dr([a(".ft-button")],hr.prototype,"button",void 0),dr([a(".ft-button--label slot")],hr.prototype,"slottedContent",void 0);var ur=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yr extends hr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.
|
|
707
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:q}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}hr.elementDefinitions={"ft-ripple":Me,"ft-tooltip":rr,"ft-typography":Ye,"ft-icon":pr,"ft-loader":fr},dr([r({type:String,reflect:!0})],hr.prototype,"role",void 0),dr([r()],hr.prototype,"type",void 0),dr([r({type:Boolean})],hr.prototype,"disabled",void 0),dr([r()],hr.prototype,"label",void 0),dr([r()],hr.prototype,"icon",void 0),dr([r()],hr.prototype,"iconVariant",void 0),dr([r({type:Boolean})],hr.prototype,"trailingIcon",void 0),dr([r({type:Boolean})],hr.prototype,"loading",void 0),dr([r()],hr.prototype,"tooltipPosition",void 0),dr([r({type:Boolean})],hr.prototype,"hideTooltip",void 0),dr([r({type:Boolean})],hr.prototype,"forceTooltip",void 0),dr([a(".ft-button")],hr.prototype,"button",void 0),dr([a(".ft-button--label slot")],hr.prototype,"slottedContent",void 0);var ur=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yr extends hr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}yr.styles=[Lt,We],ur([r({type:Boolean})],yr.prototype,"primary",void 0),ur([r({type:Boolean})],yr.prototype,"outlined",void 0),ur([r({type:Boolean})],yr.prototype,"dense",void 0),ur([r({type:Boolean})],yr.prototype,"round",void 0);const gr=[b`
|
|
708
708
|
:host {
|
|
709
709
|
display: inline-block;
|
|
710
710
|
max-width: 100%;
|
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.62",
|
|
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.62",
|
|
23
|
+
"@fluid-topics/ft-reader-context": "1.0.62",
|
|
24
|
+
"@fluid-topics/ft-reader-internal-link": "1.0.62",
|
|
25
|
+
"@fluid-topics/ft-tooltip": "1.0.62",
|
|
26
|
+
"@fluid-topics/ft-wc-utils": "1.0.62",
|
|
27
27
|
"lit": "2.7.2"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "44e9005773fe47b2e6a9ada16802918052a146cf"
|
|
30
30
|
}
|