@fluid-topics/ft-reader-topic-metadata 1.1.53 → 1.1.54
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.
|
@@ -19,7 +19,9 @@ class FtReaderTopicMetadata extends FtReaderTopicComponent {
|
|
|
19
19
|
render() {
|
|
20
20
|
return html `
|
|
21
21
|
<ft-tooltip text="${this.tooltipText}">
|
|
22
|
-
<ft-chip
|
|
22
|
+
<ft-chip part="chip"
|
|
23
|
+
exportpartsPrefix="chip"
|
|
24
|
+
?multiLine=${this.multiLine}>
|
|
23
25
|
${this.renderContent()}
|
|
24
26
|
</ft-chip>
|
|
25
27
|
</ft-tooltip>
|
|
@@ -801,7 +801,7 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
801
801
|
width: ${pt.smallIconOnlyWidth};
|
|
802
802
|
padding: unset;
|
|
803
803
|
}
|
|
804
|
-
`,o.noTextSelect];var yr=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 ur extends sr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?rt.caption1medium:rt.body2medium}}ur.styles=[o.safariEllipsisFix,gr],yr([r.property({type:Boolean})],ur.prototype,"primary",void 0),yr([r.property({type:Boolean})],ur.prototype,"secondary",void 0),yr([r.property({type:Boolean})],ur.prototype,"tertiary",void 0),yr([r.property({type:Boolean})],ur.prototype,"neutral",void 0),yr([r.property({type:Boolean})],ur.prototype,"small",void 0),o.customElement("ft-button")(hr),o.customElement("ftds-button")(ur);const br=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),mr={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:br,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",Tt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",br),horizontalPadding:o.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},xr=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),vr={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:xr,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",xr)},Or=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Nr=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Sr=[o.noTextSelect,e.css`
|
|
804
|
+
`,o.noTextSelect];var yr=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 ur extends sr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?rt.caption1medium:rt.body2medium}}ur.styles=[o.safariEllipsisFix,gr],yr([r.property({type:Boolean})],ur.prototype,"primary",void 0),yr([r.property({type:Boolean})],ur.prototype,"secondary",void 0),yr([r.property({type:Boolean})],ur.prototype,"tertiary",void 0),yr([r.property({type:Boolean})],ur.prototype,"neutral",void 0),yr([r.property({type:Boolean})],ur.prototype,"small",void 0),o.customElement("ft-button")(hr),o.customElement("ftds-button")(ur);const br=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),mr={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:br,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",Tt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",br),horizontalPadding:o.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},xr=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),vr={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:xr,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",xr)},Or=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Nr=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Sr=[o.noTextSelect,e.css`
|
|
805
805
|
:host {
|
|
806
806
|
display: inline-block;
|
|
807
807
|
max-width: 100%;
|
|
@@ -828,7 +828,7 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
828
828
|
border: 1px solid ${mr.colorOutline};
|
|
829
829
|
color: ${mr.color};
|
|
830
830
|
${o.setVariable(Ze.color,mr.rippleColor)};
|
|
831
|
-
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
831
|
+
border-radius: var(${e.unsafeCSS(mr.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
832
832
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
833
833
|
background-color: ${mr.backgroundColor};
|
|
834
834
|
line-height: var(--ft-chip-internal-content-height);
|
|
@@ -942,9 +942,10 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
942
942
|
<div class="${i.classMap(t)}"
|
|
943
943
|
aria-label="${this.getLabel()}"
|
|
944
944
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
945
|
-
@keyup=${this.onKeyUp}
|
|
945
|
+
@keyup=${this.onKeyUp}
|
|
946
|
+
part="chip">
|
|
946
947
|
<ft-ripple ?disabled=${!this.interactionsOnChip}></ft-ripple>
|
|
947
|
-
<ft-typography variant="body2" element="span" class="ft-chip--label">
|
|
948
|
+
<ft-typography variant="body2" element="span" class="ft-chip--label" part="label">
|
|
948
949
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
949
950
|
</ft-typography>
|
|
950
951
|
${this.internalIcon?this.renderIcon():null}
|
|
@@ -956,14 +957,17 @@ const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litSt
|
|
|
956
957
|
.iconVariant=${this.iconVariant}
|
|
957
958
|
icon="${this.internalIcon}"
|
|
958
959
|
label="${this.iconLabel}"
|
|
960
|
+
part="icon-button"
|
|
959
961
|
></ft-button>
|
|
960
962
|
`:e.html`
|
|
961
|
-
<div class="ft-chip--icon-container ft-no-text-select">
|
|
962
|
-
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
963
|
+
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
964
|
+
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
963
965
|
</div>
|
|
964
966
|
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Cr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Cr))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}$r.elementDefinitions={"ft-ripple":Me,"ft-typography":So,"ft-icon":qe,"ft-button":hr},$r.styles=Sr,wr([r.property({type:Boolean})],$r.prototype,"highlighted",void 0),wr([r.property({type:Boolean})],$r.prototype,"removable",void 0),wr([r.property({type:Boolean})],$r.prototype,"disabled",void 0),wr([r.property({type:Boolean})],$r.prototype,"clickable",void 0),wr([r.property({type:Boolean})],$r.prototype,"iconClickable",void 0),wr([r.property({type:Boolean})],$r.prototype,"dense",void 0),wr([r.property({type:Boolean})],$r.prototype,"multiLine",void 0),wr([r.property()],$r.prototype,"label",void 0),wr([r.property()],$r.prototype,"iconLabel",void 0),wr([r.property()],$r.prototype,"icon",void 0),wr([r.property()],$r.prototype,"iconVariant",void 0),wr([r.property({type:Boolean})],$r.prototype,"trailingIcon",void 0),wr([r.query("ft-typography slot")],$r.prototype,"slottedContent",void 0),o.customElement("ft-chip")($r);var Ir=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 Er extends y{constructor(){super(...arguments),this.multiLine=!1,this.editorMode=!1}render(){return e.html`
|
|
965
967
|
<ft-tooltip text="${this.tooltipText}">
|
|
966
|
-
<ft-chip
|
|
968
|
+
<ft-chip part="chip"
|
|
969
|
+
exportpartsPrefix="chip"
|
|
970
|
+
?multiLine=${this.multiLine}>
|
|
967
971
|
${this.renderContent()}
|
|
968
972
|
</ft-chip>
|
|
969
973
|
</ft-tooltip>
|
|
@@ -971,7 +971,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
971
971
|
width: ${qo.smallIconOnlyWidth};
|
|
972
972
|
padding: unset;
|
|
973
973
|
}
|
|
974
|
-
`,Gi];var $c=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ic extends Sc{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Sl.caption1medium:Sl.body2medium}}Ic.styles=[qi,Ec],$c([we({type:Boolean})],Ic.prototype,"primary",void 0),$c([we({type:Boolean})],Ic.prototype,"secondary",void 0),$c([we({type:Boolean})],Ic.prototype,"tertiary",void 0),$c([we({type:Boolean})],Ic.prototype,"neutral",void 0),$c([we({type:Boolean})],Ic.prototype,"small",void 0),ho("ft-button")(Nc),ho("ftds-button")(Ic);const Rc=mo.extend("--ft-chip-color","",xr.colorOnSurface),kc={backgroundColor:mo.extend("--ft-chip-background-color","",xr.colorSurface),color:Rc,fontSize:mo.extend("--ft-chip-font-size","",rs.fontSize),iconSize:mo.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:mo.extend("--ft-chip-ripple-color","",Rc),horizontalPadding:mo.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:mo.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:mo.external(xr.colorOutline,"Design system"),opacityDisabled:mo.external(xr.colorOpacityDisabled,"Design system")},Lc=mo.extend("--ft-chip-highlighted-color","",mo.extend("--ft-chip-color","",xr.colorOnPrimary)),Wc={backgroundColor:mo.extend("--ft-chip-highlighted-background-color","",mo.extend("--ft-chip-background-color","",xr.colorPrimary)),color:Lc,rippleColor:mo.extend("--ft-chip-highlighted-ripple-color","",Lc)},Uc=mo.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),zc=mo.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Bc=[Gi,dt`
|
|
974
|
+
`,Gi];var $c=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ic extends Sc{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Sl.caption1medium:Sl.body2medium}}Ic.styles=[qi,Ec],$c([we({type:Boolean})],Ic.prototype,"primary",void 0),$c([we({type:Boolean})],Ic.prototype,"secondary",void 0),$c([we({type:Boolean})],Ic.prototype,"tertiary",void 0),$c([we({type:Boolean})],Ic.prototype,"neutral",void 0),$c([we({type:Boolean})],Ic.prototype,"small",void 0),ho("ft-button")(Nc),ho("ftds-button")(Ic);const Rc=mo.extend("--ft-chip-color","",xr.colorOnSurface),kc={backgroundColor:mo.extend("--ft-chip-background-color","",xr.colorSurface),color:Rc,fontSize:mo.extend("--ft-chip-font-size","",rs.fontSize),iconSize:mo.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:mo.create("--ft-chip-border-radius","","SIZE",""),rippleColor:mo.extend("--ft-chip-ripple-color","",Rc),horizontalPadding:mo.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:mo.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:mo.external(xr.colorOutline,"Design system"),opacityDisabled:mo.external(xr.colorOpacityDisabled,"Design system")},Lc=mo.extend("--ft-chip-highlighted-color","",mo.extend("--ft-chip-color","",xr.colorOnPrimary)),Wc={backgroundColor:mo.extend("--ft-chip-highlighted-background-color","",mo.extend("--ft-chip-background-color","",xr.colorPrimary)),color:Lc,rippleColor:mo.extend("--ft-chip-highlighted-ripple-color","",Lc)},Uc=mo.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),zc=mo.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Bc=[Gi,dt`
|
|
975
975
|
:host {
|
|
976
976
|
display: inline-block;
|
|
977
977
|
max-width: 100%;
|
|
@@ -998,7 +998,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
998
998
|
border: 1px solid ${kc.colorOutline};
|
|
999
999
|
color: ${kc.color};
|
|
1000
1000
|
${vo(Gs.color,kc.rippleColor)};
|
|
1001
|
-
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
1001
|
+
border-radius: var(${pt(kc.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
1002
1002
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
1003
1003
|
background-color: ${kc.backgroundColor};
|
|
1004
1004
|
line-height: var(--ft-chip-internal-content-height);
|
|
@@ -1112,9 +1112,10 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
1112
1112
|
<div class="${Ke(t)}"
|
|
1113
1113
|
aria-label="${this.getLabel()}"
|
|
1114
1114
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
1115
|
-
@keyup=${this.onKeyUp}
|
|
1115
|
+
@keyup=${this.onKeyUp}
|
|
1116
|
+
part="chip">
|
|
1116
1117
|
<ft-ripple ?disabled=${!this.interactionsOnChip}></ft-ripple>
|
|
1117
|
-
<ft-typography variant="body2" element="span" class="ft-chip--label">
|
|
1118
|
+
<ft-typography variant="body2" element="span" class="ft-chip--label" part="label">
|
|
1118
1119
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
1119
1120
|
</ft-typography>
|
|
1120
1121
|
${this.internalIcon?this.renderIcon():null}
|
|
@@ -1126,14 +1127,17 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
1126
1127
|
.iconVariant=${this.iconVariant}
|
|
1127
1128
|
icon="${this.internalIcon}"
|
|
1128
1129
|
label="${this.iconLabel}"
|
|
1130
|
+
part="icon-button"
|
|
1129
1131
|
></ft-button>
|
|
1130
1132
|
`:Jt`
|
|
1131
|
-
<div class="ft-chip--icon-container ft-no-text-select">
|
|
1132
|
-
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
1133
|
+
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
1134
|
+
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
1133
1135
|
</div>
|
|
1134
1136
|
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new jc))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new jc))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Ac.elementDefinitions={"ft-ripple":ic,"ft-typography":Fs,"ft-icon":cc,"ft-button":Nc},Ac.styles=Bc,Fc([we({type:Boolean})],Ac.prototype,"highlighted",void 0),Fc([we({type:Boolean})],Ac.prototype,"removable",void 0),Fc([we({type:Boolean})],Ac.prototype,"disabled",void 0),Fc([we({type:Boolean})],Ac.prototype,"clickable",void 0),Fc([we({type:Boolean})],Ac.prototype,"iconClickable",void 0),Fc([we({type:Boolean})],Ac.prototype,"dense",void 0),Fc([we({type:Boolean})],Ac.prototype,"multiLine",void 0),Fc([we()],Ac.prototype,"label",void 0),Fc([we()],Ac.prototype,"iconLabel",void 0),Fc([we()],Ac.prototype,"icon",void 0),Fc([we()],Ac.prototype,"iconVariant",void 0),Fc([we({type:Boolean})],Ac.prototype,"trailingIcon",void 0),Fc([Ee("ft-typography slot")],Ac.prototype,"slottedContent",void 0),ho("ft-chip")(Ac);var _c=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Pc extends bl{constructor(){super(...arguments),this.multiLine=!1,this.editorMode=!1}render(){return Jt`
|
|
1135
1137
|
<ft-tooltip text="${this.tooltipText}">
|
|
1136
|
-
<ft-chip
|
|
1138
|
+
<ft-chip part="chip"
|
|
1139
|
+
exportpartsPrefix="chip"
|
|
1140
|
+
?multiLine=${this.multiLine}>
|
|
1137
1141
|
${this.renderContent()}
|
|
1138
1142
|
</ft-chip>
|
|
1139
1143
|
</ft-tooltip>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-reader-topic-metadata",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.54",
|
|
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.1.
|
|
22
|
+
"@fluid-topics/ft-wc-utils": "1.1.54",
|
|
23
23
|
"lit": "3.1.0"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "b8c7a07061df6fb5c3c03d96879eda48fb73e5c8"
|
|
26
26
|
}
|