@fluid-topics/ft-reader-topic-metadata 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.
|
@@ -583,7 +583,7 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
583
583
|
</ft-tooltip>
|
|
584
584
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
585
585
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
586
|
-
<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}}fe.elementDefinitions={"ft-ripple":Mo,"ft-tooltip":Lo,"ft-typography":$o,"ft-icon":Xo,"ft-loader":pe},se([i.property({type:String,reflect:!0})],fe.prototype,"role",void 0),se([i.property()],fe.prototype,"type",void 0),se([i.property({type:Boolean})],fe.prototype,"disabled",void 0),se([i.property()],fe.prototype,"label",void 0),se([i.property()],fe.prototype,"icon",void 0),se([i.property()],fe.prototype,"iconVariant",void 0),se([i.property({type:Boolean})],fe.prototype,"trailingIcon",void 0),se([i.property({type:Boolean})],fe.prototype,"loading",void 0),se([i.property()],fe.prototype,"tooltipPosition",void 0),se([i.property({type:Boolean})],fe.prototype,"hideTooltip",void 0),se([i.property({type:Boolean})],fe.prototype,"forceTooltip",void 0),se([i.query(".ft-button")],fe.prototype,"button",void 0),se([i.query(".ft-button--label slot")],fe.prototype,"slottedContent",void 0);var de=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class he extends fe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.
|
|
586
|
+
<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}}fe.elementDefinitions={"ft-ripple":Mo,"ft-tooltip":Lo,"ft-typography":$o,"ft-icon":Xo,"ft-loader":pe},se([i.property({type:String,reflect:!0})],fe.prototype,"role",void 0),se([i.property()],fe.prototype,"type",void 0),se([i.property({type:Boolean})],fe.prototype,"disabled",void 0),se([i.property()],fe.prototype,"label",void 0),se([i.property()],fe.prototype,"icon",void 0),se([i.property()],fe.prototype,"iconVariant",void 0),se([i.property({type:Boolean})],fe.prototype,"trailingIcon",void 0),se([i.property({type:Boolean})],fe.prototype,"loading",void 0),se([i.property()],fe.prototype,"tooltipPosition",void 0),se([i.property({type:Boolean})],fe.prototype,"hideTooltip",void 0),se([i.property({type:Boolean})],fe.prototype,"forceTooltip",void 0),se([i.query(".ft-button")],fe.prototype,"button",void 0),se([i.query(".ft-button--label slot")],fe.prototype,"slottedContent",void 0);var de=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class he extends fe{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"}}he.styles=[o.safariEllipsisFix,ce],de([i.property({type:Boolean})],he.prototype,"primary",void 0),de([i.property({type:Boolean})],he.prototype,"outlined",void 0),de([i.property({type:Boolean})],he.prototype,"dense",void 0),de([i.property({type:Boolean})],he.prototype,"round",void 0);const ge=[e.css`
|
|
587
587
|
:host {
|
|
588
588
|
display: inline-block;
|
|
589
589
|
max-width: 100%;
|
|
@@ -696,7 +696,7 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
696
696
|
</ft-tooltip>
|
|
697
697
|
`:t}resolveIcon(){return this.loading?V`
|
|
698
698
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?V`
|
|
699
|
-
<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}}yi.elementDefinitions={"ft-ripple":Ge,"ft-tooltip":Ie,"ft-typography":Oe,"ft-icon":oi,"ft-loader":di},ui([i({type:String,reflect:!0})],yi.prototype,"role",void 0),ui([i()],yi.prototype,"type",void 0),ui([i({type:Boolean})],yi.prototype,"disabled",void 0),ui([i()],yi.prototype,"label",void 0),ui([i()],yi.prototype,"icon",void 0),ui([i()],yi.prototype,"iconVariant",void 0),ui([i({type:Boolean})],yi.prototype,"trailingIcon",void 0),ui([i({type:Boolean})],yi.prototype,"loading",void 0),ui([i()],yi.prototype,"tooltipPosition",void 0),ui([i({type:Boolean})],yi.prototype,"hideTooltip",void 0),ui([i({type:Boolean})],yi.prototype,"forceTooltip",void 0),ui([a(".ft-button")],yi.prototype,"button",void 0),ui([a(".ft-button--label slot")],yi.prototype,"slottedContent",void 0);var gi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bi extends yi{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.
|
|
699
|
+
<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}}yi.elementDefinitions={"ft-ripple":Ge,"ft-tooltip":Ie,"ft-typography":Oe,"ft-icon":oi,"ft-loader":di},ui([i({type:String,reflect:!0})],yi.prototype,"role",void 0),ui([i()],yi.prototype,"type",void 0),ui([i({type:Boolean})],yi.prototype,"disabled",void 0),ui([i()],yi.prototype,"label",void 0),ui([i()],yi.prototype,"icon",void 0),ui([i()],yi.prototype,"iconVariant",void 0),ui([i({type:Boolean})],yi.prototype,"trailingIcon",void 0),ui([i({type:Boolean})],yi.prototype,"loading",void 0),ui([i()],yi.prototype,"tooltipPosition",void 0),ui([i({type:Boolean})],yi.prototype,"hideTooltip",void 0),ui([i({type:Boolean})],yi.prototype,"forceTooltip",void 0),ui([a(".ft-button")],yi.prototype,"button",void 0),ui([a(".ft-button--label slot")],yi.prototype,"slottedContent",void 0);var gi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bi extends yi{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"}}bi.styles=[Lt,hi],gi([i({type:Boolean})],bi.prototype,"primary",void 0),gi([i({type:Boolean})],bi.prototype,"outlined",void 0),gi([i({type:Boolean})],bi.prototype,"dense",void 0),gi([i({type:Boolean})],bi.prototype,"round",void 0);const mi=[b`
|
|
700
700
|
:host {
|
|
701
701
|
display: inline-block;
|
|
702
702
|
max-width: 100%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-reader-topic-metadata",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.63",
|
|
4
4
|
"description": "Metadata of a topic in integrated reader.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-wc-utils": "1.0.63",
|
|
23
23
|
"lit": "2.7.2"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "020d13bf82a28437f4d7a7395ad9b628bc4342f1"
|
|
26
26
|
}
|