@fluid-topics/ft-reader-topic-metadata 1.1.116 → 1.1.118

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.
@@ -1043,7 +1043,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1043
1043
  .ftds--size-small.ft-button--icon-only {
1044
1044
  width: ${u.smallIconOnlyWidth};
1045
1045
  }
1046
- `,x.noTextSelect];var So=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},St=class extends(0,Oo.toFtdsBase)(U){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=fo.brand,this.iconVariant=ht.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Q.large:return ut.body2medium;case Q.medium:return ut.caption1medium;case Q.small:return ut.caption2medium}}};St.styles=[Oo.safariEllipsisFix,mi];So([(0,Ye.property)({type:Boolean})],St.prototype,"primary",void 0);So([(0,Ye.property)({type:Boolean})],St.prototype,"secondary",void 0);So([(0,Ye.property)({type:Boolean})],St.prototype,"tertiary",void 0);So([(0,Ye.property)({type:Boolean})],St.prototype,"round",void 0);(0,br.customElement)("ft-button")(vt);(0,br.customElement)("ftds-button")(St);var gi=I.FtCssVariableFactory.extend("--ft-chip-color","",I.designSystemVariables.colorOnSurface),mt={backgroundColor:I.FtCssVariableFactory.extend("--ft-chip-background-color","",I.designSystemVariables.colorSurface),color:gi,fontSize:I.FtCssVariableFactory.extend("--ft-chip-font-size","",Et.fontSize),iconSize:I.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:I.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:I.FtCssVariableFactory.extend("--ft-chip-ripple-color","",gi),horizontalPadding:I.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:I.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:I.FtCssVariableFactory.external(I.designSystemVariables.colorOutline,"Design system"),opacityDisabled:I.FtCssVariableFactory.external(I.designSystemVariables.colorOpacityDisabled,"Design system")},bi=I.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",I.FtCssVariableFactory.extend("--ft-chip-color","",I.designSystemVariables.colorOnPrimary)),xr={backgroundColor:I.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",I.FtCssVariableFactory.extend("--ft-chip-background-color","",I.designSystemVariables.colorPrimary)),color:bi,rippleColor:I.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",bi)},xi={horizontalPadding:I.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:I.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},vi=[I.noTextSelect,Co.css`
1046
+ `,x.noTextSelect];var So=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},St=class extends(0,Oo.toFtdsBase)(U){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=fo.brand,this.iconVariant=ht.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Q.large:return ut.body2medium;case Q.medium:return ut.caption1medium;case Q.small:return ut.caption2medium}}};St.styles=[Oo.safariEllipsisFix,mi];So([(0,Ye.property)({type:Boolean})],St.prototype,"primary",void 0);So([(0,Ye.property)({type:Boolean})],St.prototype,"secondary",void 0);So([(0,Ye.property)({type:Boolean})],St.prototype,"tertiary",void 0);So([(0,Ye.property)({type:Boolean})],St.prototype,"round",void 0);(0,br.customElement)("ft-button")(vt);(0,br.customElement)("ftds-button")(St);var gi=I.FtCssVariableFactory.extend("--ft-chip-color","",I.designSystemVariables.colorOnSurface),mt={backgroundColor:I.FtCssVariableFactory.extend("--ft-chip-background-color","",I.designSystemVariables.colorSurface),color:gi,fontSize:I.FtCssVariableFactory.extend("--ft-chip-font-size","",Et.fontSize),iconSize:I.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:I.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:I.FtCssVariableFactory.extend("--ft-chip-ripple-color","",gi),horizontalPadding:I.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:I.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:I.FtCssVariableFactory.extend("--ft-chip-border-color","",I.designSystemVariables.colorOutline),opacityDisabled:I.FtCssVariableFactory.external(I.designSystemVariables.colorOpacityDisabled,"Design system")},bi=I.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",I.FtCssVariableFactory.extend("--ft-chip-color","",I.designSystemVariables.colorOnPrimary)),xr={backgroundColor:I.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",I.FtCssVariableFactory.extend("--ft-chip-background-color","",I.designSystemVariables.colorPrimary)),color:bi,rippleColor:I.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",bi)},xi={horizontalPadding:I.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:I.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},vi=[I.noTextSelect,Co.css`
1047
1047
  :host {
1048
1048
  display: inline-block;
1049
1049
  max-width: 100%;
@@ -1067,7 +1067,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1067
1067
  --ft-chip-internal-icon-padding: 3px;
1068
1068
  --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${mt.iconSize});
1069
1069
 
1070
- border: 1px solid ${mt.colorOutline};
1070
+ border: 1px solid ${mt.borderColor};
1071
1071
  color: ${mt.color};
1072
1072
  ${(0,I.setVariable)(S.color,mt.rippleColor)};
1073
1073
  border-radius: var(${(0,Co.unsafeCSS)(mt.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
@@ -1108,11 +1108,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1108
1108
 
1109
1109
  .ft-chip--clickable {
1110
1110
  cursor: pointer;
1111
- -webkit-mask-image: radial-gradient(white, black);
1111
+ overflow: hidden
1112
1112
  }
1113
1113
 
1114
1114
  .ft-chip:focus {
1115
- outline: none;
1115
+ outline: 2px solid var(--ft-color-primary, #2196F3);
1116
+ outline-offset: 2px;
1116
1117
  }
1117
1118
 
1118
1119
  .ft-chip--icon-container {
@@ -1206,7 +1207,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1206
1207
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1207
1208
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
1208
1209
  </div>
1209
- `}onKeyUp(o){this.interactionsOnChip&&["Enter"," "].includes(o.key)&&o.target.click()}onIconKeyUp(o){this.interactionsOnIcon&&["Enter"," "].includes(o.key)&&(o.stopPropagation(),this.dispatchEvent(new Eo))}onIconClick(o){this.interactionsOnIcon&&(o.stopPropagation(),this.dispatchEvent(new Eo))}getLabel(){return this.label||this.textContent}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};F.elementDefinitions={"ft-ripple":_,"ft-typography":tt,"ft-icon":q,"ft-button":vt};F.styles=vi;st([(0,et.property)({type:Boolean})],F.prototype,"highlighted",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"removable",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"disabled",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"clickable",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"iconClickable",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"dense",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"multiLine",void 0);st([(0,et.property)()],F.prototype,"label",void 0);st([(0,et.property)()],F.prototype,"iconLabel",void 0);st([(0,et.property)()],F.prototype,"icon",void 0);st([(0,et.property)()],F.prototype,"iconVariant",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"trailingIcon",void 0);st([(0,et.query)("ft-typography slot")],F.prototype,"slottedContent",void 0);var ie=C(M()),ce=C(Z()),wi=C(Ge()),Ao=C(k());var Oi=C(M());var vr=C(k());var Ci=[Oi.css`
1210
+ `}onKeyUp(o){this.interactionsOnChip&&["Enter"," "].includes(o.key)&&o.target.click()}onIconKeyUp(o){this.interactionsOnIcon&&["Enter"," "].includes(o.key)&&(o.stopPropagation(),this.dispatchEvent(new Eo))}onIconClick(o){this.interactionsOnIcon&&(o.stopPropagation(),this.dispatchEvent(new Eo))}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(o){return o instanceof HTMLSlotElement?o.assignedNodes().map(r=>this.unslotText(r)).join(""):o?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};F.elementDefinitions={"ft-ripple":_,"ft-typography":tt,"ft-icon":q,"ft-button":vt};F.styles=vi;st([(0,et.property)({type:Boolean})],F.prototype,"highlighted",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"removable",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"disabled",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"clickable",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"iconClickable",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"dense",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"multiLine",void 0);st([(0,et.property)()],F.prototype,"label",void 0);st([(0,et.property)()],F.prototype,"iconLabel",void 0);st([(0,et.property)()],F.prototype,"icon",void 0);st([(0,et.property)()],F.prototype,"iconVariant",void 0);st([(0,et.property)({type:Boolean})],F.prototype,"trailingIcon",void 0);st([(0,et.query)("ft-typography slot")],F.prototype,"slottedContent",void 0);var ie=C(M()),ce=C(Z()),wi=C(Ge()),Ao=C(k());var Oi=C(M());var vr=C(k());var Ci=[Oi.css`
1210
1211
  :host {
1211
1212
  display: inline-block;
1212
1213
  max-width: 100%;
@@ -1089,7 +1089,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1089
1089
  .ftds--size-small.ft-button--icon-only {
1090
1090
  width: ${g.smallIconOnlyWidth};
1091
1091
  }
1092
- `,Te];var Vo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Lt=class extends Ao(ot){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Yt.brand,this.iconVariant=Et.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case st.large:return Ct.body2medium;case st.medium:return Ct.caption1medium;case st.small:return Ct.caption2medium}}};Lt.styles=[Ur,wl];Vo([R({type:Boolean})],Lt.prototype,"primary",void 0);Vo([R({type:Boolean})],Lt.prototype,"secondary",void 0);Vo([R({type:Boolean})],Lt.prototype,"tertiary",void 0);Vo([R({type:Boolean})],Lt.prototype,"round",void 0);at("ft-button")(Tt);at("ftds-button")(Lt);var Al=r.extend("--ft-chip-color","",V.colorOnSurface),wt={backgroundColor:r.extend("--ft-chip-background-color","",V.colorSurface),color:Al,fontSize:r.extend("--ft-chip-font-size","",Wt.fontSize),iconSize:r.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:r.create("--ft-chip-border-radius","","SIZE",""),rippleColor:r.extend("--ft-chip-ripple-color","",Al),horizontalPadding:r.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:r.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:r.external(V.colorOutline,"Design system"),opacityDisabled:r.external(V.colorOpacityDisabled,"Design system")},Rl=r.extend("--ft-chip-highlighted-color","",r.extend("--ft-chip-color","",V.colorOnPrimary)),ba={backgroundColor:r.extend("--ft-chip-highlighted-background-color","",r.extend("--ft-chip-background-color","",V.colorPrimary)),color:Rl,rippleColor:r.extend("--ft-chip-highlighted-ripple-color","",Rl)},Nl={horizontalPadding:r.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:r.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},_l=[Te,D`
1092
+ `,Te];var Vo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Lt=class extends Ao(ot){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Yt.brand,this.iconVariant=Et.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case st.large:return Ct.body2medium;case st.medium:return Ct.caption1medium;case st.small:return Ct.caption2medium}}};Lt.styles=[Ur,wl];Vo([R({type:Boolean})],Lt.prototype,"primary",void 0);Vo([R({type:Boolean})],Lt.prototype,"secondary",void 0);Vo([R({type:Boolean})],Lt.prototype,"tertiary",void 0);Vo([R({type:Boolean})],Lt.prototype,"round",void 0);at("ft-button")(Tt);at("ftds-button")(Lt);var Al=r.extend("--ft-chip-color","",V.colorOnSurface),wt={backgroundColor:r.extend("--ft-chip-background-color","",V.colorSurface),color:Al,fontSize:r.extend("--ft-chip-font-size","",Wt.fontSize),iconSize:r.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:r.create("--ft-chip-border-radius","","SIZE",""),rippleColor:r.extend("--ft-chip-ripple-color","",Al),horizontalPadding:r.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:r.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:r.extend("--ft-chip-border-color","",V.colorOutline),opacityDisabled:r.external(V.colorOpacityDisabled,"Design system")},Rl=r.extend("--ft-chip-highlighted-color","",r.extend("--ft-chip-color","",V.colorOnPrimary)),ba={backgroundColor:r.extend("--ft-chip-highlighted-background-color","",r.extend("--ft-chip-background-color","",V.colorPrimary)),color:Rl,rippleColor:r.extend("--ft-chip-highlighted-ripple-color","",Rl)},Nl={horizontalPadding:r.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:r.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},_l=[Te,D`
1093
1093
  :host {
1094
1094
  display: inline-block;
1095
1095
  max-width: 100%;
@@ -1113,7 +1113,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1113
1113
  --ft-chip-internal-icon-padding: 3px;
1114
1114
  --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${wt.iconSize});
1115
1115
 
1116
- border: 1px solid ${wt.colorOutline};
1116
+ border: 1px solid ${wt.borderColor};
1117
1117
  color: ${wt.color};
1118
1118
  ${C(N.color,wt.rippleColor)};
1119
1119
  border-radius: var(${jt(wt.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
@@ -1154,11 +1154,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1154
1154
 
1155
1155
  .ft-chip--clickable {
1156
1156
  cursor: pointer;
1157
- -webkit-mask-image: radial-gradient(white, black);
1157
+ overflow: hidden
1158
1158
  }
1159
1159
 
1160
1160
  .ft-chip:focus {
1161
- outline: none;
1161
+ outline: 2px solid var(--ft-color-primary, #2196F3);
1162
+ outline-offset: 2px;
1162
1163
  }
1163
1164
 
1164
1165
  .ft-chip--icon-container {
@@ -1252,7 +1253,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1252
1253
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1253
1254
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
1254
1255
  </div>
1255
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new jo))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new jo))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};nt.elementDefinitions={"ft-ripple":J,"ft-typography":ut,"ft-icon":ft,"ft-button":Tt};nt.styles=_l;St([R({type:Boolean})],nt.prototype,"highlighted",void 0);St([R({type:Boolean})],nt.prototype,"removable",void 0);St([R({type:Boolean})],nt.prototype,"disabled",void 0);St([R({type:Boolean})],nt.prototype,"clickable",void 0);St([R({type:Boolean})],nt.prototype,"iconClickable",void 0);St([R({type:Boolean})],nt.prototype,"dense",void 0);St([R({type:Boolean})],nt.prototype,"multiLine",void 0);St([R()],nt.prototype,"label",void 0);St([R()],nt.prototype,"iconLabel",void 0);St([R()],nt.prototype,"icon",void 0);St([R()],nt.prototype,"iconVariant",void 0);St([R({type:Boolean})],nt.prototype,"trailingIcon",void 0);St([dt("ft-typography slot")],nt.prototype,"slottedContent",void 0);var Pl=[D`
1256
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new jo))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new jo))}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(o=>this.unslotText(o)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};nt.elementDefinitions={"ft-ripple":J,"ft-typography":ut,"ft-icon":ft,"ft-button":Tt};nt.styles=_l;St([R({type:Boolean})],nt.prototype,"highlighted",void 0);St([R({type:Boolean})],nt.prototype,"removable",void 0);St([R({type:Boolean})],nt.prototype,"disabled",void 0);St([R({type:Boolean})],nt.prototype,"clickable",void 0);St([R({type:Boolean})],nt.prototype,"iconClickable",void 0);St([R({type:Boolean})],nt.prototype,"dense",void 0);St([R({type:Boolean})],nt.prototype,"multiLine",void 0);St([R()],nt.prototype,"label",void 0);St([R()],nt.prototype,"iconLabel",void 0);St([R()],nt.prototype,"icon",void 0);St([R()],nt.prototype,"iconVariant",void 0);St([R({type:Boolean})],nt.prototype,"trailingIcon",void 0);St([dt("ft-typography slot")],nt.prototype,"slottedContent",void 0);var Pl=[D`
1256
1257
  :host {
1257
1258
  display: inline-block;
1258
1259
  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.1.116",
3
+ "version": "1.1.118",
4
4
  "description": "Metadata of a topic in integrated reader.",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,11 +19,11 @@
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.116",
22
+ "@fluid-topics/ft-wc-utils": "1.1.118",
23
23
  "lit": "3.1.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@fluid-topics/ft-wc-test-utils": "1.1.116"
26
+ "@fluid-topics/ft-wc-test-utils": "1.1.118"
27
27
  },
28
- "gitHead": "261937d678cb0ad3ae752ef48cde5e906123c3e2"
28
+ "gitHead": "b911f1ca9e8293dfc7aab79f00400056585e4f03"
29
29
  }