@fluid-topics/ft-reader-topic-metadata 1.0.60 → 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.
|
@@ -109,12 +109,14 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
109
109
|
vertical-align: inherit;
|
|
110
110
|
}
|
|
111
111
|
`,No=[Object.keys(ct).map((t=>function(t){const o=ct[t];return e.css`
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
112
|
+
.ft-typography--${e.unsafeCSS(t)} {
|
|
113
|
+
font-family: ${o.fontFamily};
|
|
114
|
+
font-size: ${o.fontSize};
|
|
115
|
+
font-weight: ${o.fontWeight};
|
|
116
|
+
letter-spacing: ${o.letterSpacing};
|
|
117
|
+
line-height: ${o.lineHeight};
|
|
118
|
+
text-transform: ${o.textCase};
|
|
119
|
+
}
|
|
118
120
|
`}(t)))];var So=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 $o extends o.FtLitElement{constructor(){super(...arguments),this.variant=rt.body1}render(){return this.element?it`
|
|
119
121
|
<${ot(this.element)}
|
|
120
122
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -581,7 +583,7 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
581
583
|
</ft-tooltip>
|
|
582
584
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
583
585
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
584
|
-
<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`
|
|
585
587
|
:host {
|
|
586
588
|
display: inline-block;
|
|
587
589
|
max-width: 100%;
|
|
@@ -199,12 +199,14 @@ var ht,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
199
199
|
vertical-align: inherit;
|
|
200
200
|
}
|
|
201
201
|
`,ve=[Object.keys(xt).map((t=>function(t){const o=xt[t];return b`
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
202
|
+
.ft-typography--${g(t)} {
|
|
203
|
+
font-family: ${o.fontFamily};
|
|
204
|
+
font-size: ${o.fontSize};
|
|
205
|
+
font-weight: ${o.fontWeight};
|
|
206
|
+
letter-spacing: ${o.letterSpacing};
|
|
207
|
+
line-height: ${o.lineHeight};
|
|
208
|
+
text-transform: ${o.textCase};
|
|
209
|
+
}
|
|
208
210
|
`}(t)))];var xe=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 Oe extends It{constructor(){super(...arguments),this.variant=lo.body1}render(){return this.element?ao`
|
|
209
211
|
<${ro(this.element)}
|
|
210
212
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -694,7 +696,7 @@ class _e extends ze{constructor(t){if(super(t),this.et=q,t.type!==Le)throw Error
|
|
|
694
696
|
</ft-tooltip>
|
|
695
697
|
`:t}resolveIcon(){return this.loading?V`
|
|
696
698
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?V`
|
|
697
|
-
<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`
|
|
698
700
|
:host {
|
|
699
701
|
display: inline-block;
|
|
700
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.62",
|
|
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.62",
|
|
23
23
|
"lit": "2.7.2"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "44e9005773fe47b2e6a9ada16802918052a146cf"
|
|
26
26
|
}
|