@fluid-topics/ft-reader-toc 1.0.61 → 1.0.63
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.
|
@@ -598,7 +598,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
|
|
|
598
598
|
</ft-tooltip>
|
|
599
599
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
600
600
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
601
|
-
<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}}be.elementDefinitions={"ft-ripple":ae,"ft-tooltip":ge,"ft-typography":wo,"ft-icon":Bo,"ft-loader":ye},ue([n.property({type:String,reflect:!0})],be.prototype,"role",void 0),ue([n.property()],be.prototype,"type",void 0),ue([n.property({type:Boolean})],be.prototype,"disabled",void 0),ue([n.property()],be.prototype,"label",void 0),ue([n.property()],be.prototype,"icon",void 0),ue([n.property()],be.prototype,"iconVariant",void 0),ue([n.property({type:Boolean})],be.prototype,"trailingIcon",void 0),ue([n.property({type:Boolean})],be.prototype,"loading",void 0),ue([n.property()],be.prototype,"tooltipPosition",void 0),ue([n.property({type:Boolean})],be.prototype,"hideTooltip",void 0),ue([n.property({type:Boolean})],be.prototype,"forceTooltip",void 0),ue([n.query(".ft-button")],be.prototype,"button",void 0),ue([n.query(".ft-button--label slot")],be.prototype,"slottedContent",void 0);var me=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 xe extends be{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.
|
|
601
|
+
<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}}be.elementDefinitions={"ft-ripple":ae,"ft-tooltip":ge,"ft-typography":wo,"ft-icon":Bo,"ft-loader":ye},ue([n.property({type:String,reflect:!0})],be.prototype,"role",void 0),ue([n.property()],be.prototype,"type",void 0),ue([n.property({type:Boolean})],be.prototype,"disabled",void 0),ue([n.property()],be.prototype,"label",void 0),ue([n.property()],be.prototype,"icon",void 0),ue([n.property()],be.prototype,"iconVariant",void 0),ue([n.property({type:Boolean})],be.prototype,"trailingIcon",void 0),ue([n.property({type:Boolean})],be.prototype,"loading",void 0),ue([n.property()],be.prototype,"tooltipPosition",void 0),ue([n.property({type:Boolean})],be.prototype,"hideTooltip",void 0),ue([n.property({type:Boolean})],be.prototype,"forceTooltip",void 0),ue([n.query(".ft-button")],be.prototype,"button",void 0),ue([n.query(".ft-button--label slot")],be.prototype,"slottedContent",void 0);var me=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 xe extends be{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"}}xe.styles=[o.safariEllipsisFix,re],me([n.property({type:Boolean})],xe.prototype,"primary",void 0),me([n.property({type:Boolean})],xe.prototype,"outlined",void 0),me([n.property({type:Boolean})],xe.prototype,"dense",void 0),me([n.property({type:Boolean})],xe.prototype,"round",void 0);const Oe=[e.css`
|
|
602
602
|
:host {
|
|
603
603
|
display: inline-block;
|
|
604
604
|
max-width: 100%;
|
|
@@ -714,7 +714,7 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
|
|
|
714
714
|
</ft-tooltip>
|
|
715
715
|
`:t}resolveIcon(){return this.loading?J`
|
|
716
716
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?J`
|
|
717
|
-
<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}}Kr.elementDefinitions={"ft-ripple":Sr,"ft-tooltip":Lr,"ft-typography":He,"ft-icon":or,"ft-loader":Wr},zr([r({type:String,reflect:!0})],Kr.prototype,"role",void 0),zr([r()],Kr.prototype,"type",void 0),zr([r({type:Boolean})],Kr.prototype,"disabled",void 0),zr([r()],Kr.prototype,"label",void 0),zr([r()],Kr.prototype,"icon",void 0),zr([r()],Kr.prototype,"iconVariant",void 0),zr([r({type:Boolean})],Kr.prototype,"trailingIcon",void 0),zr([r({type:Boolean})],Kr.prototype,"loading",void 0),zr([r()],Kr.prototype,"tooltipPosition",void 0),zr([r({type:Boolean})],Kr.prototype,"hideTooltip",void 0),zr([r({type:Boolean})],Kr.prototype,"forceTooltip",void 0),zr([a(".ft-button")],Kr.prototype,"button",void 0),zr([a(".ft-button--label slot")],Kr.prototype,"slottedContent",void 0);var Fr=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 Zr extends Kr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.
|
|
717
|
+
<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}}Kr.elementDefinitions={"ft-ripple":Sr,"ft-tooltip":Lr,"ft-typography":He,"ft-icon":or,"ft-loader":Wr},zr([r({type:String,reflect:!0})],Kr.prototype,"role",void 0),zr([r()],Kr.prototype,"type",void 0),zr([r({type:Boolean})],Kr.prototype,"disabled",void 0),zr([r()],Kr.prototype,"label",void 0),zr([r()],Kr.prototype,"icon",void 0),zr([r()],Kr.prototype,"iconVariant",void 0),zr([r({type:Boolean})],Kr.prototype,"trailingIcon",void 0),zr([r({type:Boolean})],Kr.prototype,"loading",void 0),zr([r()],Kr.prototype,"tooltipPosition",void 0),zr([r({type:Boolean})],Kr.prototype,"hideTooltip",void 0),zr([r({type:Boolean})],Kr.prototype,"forceTooltip",void 0),zr([a(".ft-button")],Kr.prototype,"button",void 0),zr([a(".ft-button--label slot")],Kr.prototype,"slottedContent",void 0);var Fr=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 Zr extends Kr{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"}}Zr.styles=[Kt,Or],Fr([r({type:Boolean})],Zr.prototype,"primary",void 0),Fr([r({type:Boolean})],Zr.prototype,"outlined",void 0),Fr([r({type:Boolean})],Zr.prototype,"dense",void 0),Fr([r({type:Boolean})],Zr.prototype,"round",void 0);const Br=[m`
|
|
718
718
|
:host {
|
|
719
719
|
display: inline-block;
|
|
720
720
|
max-width: 100%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-reader-toc",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.63",
|
|
4
4
|
"description": "Main table of content for integrated reader",
|
|
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-icon": "1.0.
|
|
23
|
-
"@fluid-topics/ft-reader-context": "1.0.
|
|
24
|
-
"@fluid-topics/ft-size-watcher": "1.0.
|
|
25
|
-
"@fluid-topics/ft-typography": "1.0.
|
|
26
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-icon": "1.0.63",
|
|
23
|
+
"@fluid-topics/ft-reader-context": "1.0.63",
|
|
24
|
+
"@fluid-topics/ft-size-watcher": "1.0.63",
|
|
25
|
+
"@fluid-topics/ft-typography": "1.0.63",
|
|
26
|
+
"@fluid-topics/ft-wc-utils": "1.0.63",
|
|
27
27
|
"lit": "2.7.2"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "020d13bf82a28437f4d7a7395ad9b628bc4342f1"
|
|
30
30
|
}
|