@fluid-topics/ft-search-saved-searches 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.
@@ -894,7 +894,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
894
894
  width: ${ft.smallIconOnlyWidth};
895
895
  padding: unset;
896
896
  }
897
- `,o.noTextSelect];var nr=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 ar extends or{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?nt.caption1medium:nt.body2medium}}ar.styles=[o.safariEllipsisFix,ir],nr([r.property({type:Boolean})],ar.prototype,"primary",void 0),nr([r.property({type:Boolean})],ar.prototype,"secondary",void 0),nr([r.property({type:Boolean})],ar.prototype,"tertiary",void 0),nr([r.property({type:Boolean})],ar.prototype,"neutral",void 0),nr([r.property({type:Boolean})],ar.prototype,"small",void 0),o.customElement("ft-button")(rr),o.customElement("ftds-button")(ar);const lr=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),cr={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:lr,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",Ft.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",lr),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")},sr=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),pr={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:sr,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",sr)},fr=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),dr=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),hr=[o.noTextSelect,e.css`
897
+ `,o.noTextSelect];var nr=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 ar extends or{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?nt.caption1medium:nt.body2medium}}ar.styles=[o.safariEllipsisFix,ir],nr([r.property({type:Boolean})],ar.prototype,"primary",void 0),nr([r.property({type:Boolean})],ar.prototype,"secondary",void 0),nr([r.property({type:Boolean})],ar.prototype,"tertiary",void 0),nr([r.property({type:Boolean})],ar.prototype,"neutral",void 0),nr([r.property({type:Boolean})],ar.prototype,"small",void 0),o.customElement("ft-button")(rr),o.customElement("ftds-button")(ar);const lr=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),cr={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:lr,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",Ft.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","",lr),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")},sr=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),pr={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:sr,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",sr)},fr=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),dr=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),hr=[o.noTextSelect,e.css`
898
898
  :host {
899
899
  display: inline-block;
900
900
  max-width: 100%;
@@ -921,7 +921,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
921
921
  border: 1px solid ${cr.colorOutline};
922
922
  color: ${cr.color};
923
923
  ${o.setVariable(c.color,cr.rippleColor)};
924
- border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
924
+ border-radius: var(${e.unsafeCSS(cr.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
925
925
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
926
926
  background-color: ${cr.backgroundColor};
927
927
  line-height: var(--ft-chip-internal-content-height);
@@ -1035,9 +1035,10 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
1035
1035
  <div class="${i.classMap(t)}"
1036
1036
  aria-label="${this.getLabel()}"
1037
1037
  tabindex="${this.interactionsOnChip?0:-1}"
1038
- @keyup=${this.onKeyUp}>
1038
+ @keyup=${this.onKeyUp}
1039
+ part="chip">
1039
1040
  <ft-ripple ?disabled=${!this.interactionsOnChip}></ft-ripple>
1040
- <ft-typography variant="body2" element="span" class="ft-chip--label">
1041
+ <ft-typography variant="body2" element="span" class="ft-chip--label" part="label">
1041
1042
  <slot @slotchange=${this.onSlotchange}></slot>
1042
1043
  </ft-typography>
1043
1044
  ${this.internalIcon?this.renderIcon():null}
@@ -1049,10 +1050,11 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
1049
1050
  .iconVariant=${this.iconVariant}
1050
1051
  icon="${this.internalIcon}"
1051
1052
  label="${this.iconLabel}"
1053
+ part="icon-button"
1052
1054
  ></ft-button>
1053
1055
  `:e.html`
1054
- <div class="ft-chip--icon-container ft-no-text-select">
1055
- <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
1056
+ <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1057
+ <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
1056
1058
  </div>
1057
1059
  `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new xr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new xr))}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)}}vr.elementDefinitions={"ft-ripple":b,"ft-typography":vo,"ft-icon":ko,"ft-button":rr},vr.styles=hr,mr([r.property({type:Boolean})],vr.prototype,"highlighted",void 0),mr([r.property({type:Boolean})],vr.prototype,"removable",void 0),mr([r.property({type:Boolean})],vr.prototype,"disabled",void 0),mr([r.property({type:Boolean})],vr.prototype,"clickable",void 0),mr([r.property({type:Boolean})],vr.prototype,"iconClickable",void 0),mr([r.property({type:Boolean})],vr.prototype,"dense",void 0),mr([r.property({type:Boolean})],vr.prototype,"multiLine",void 0),mr([r.property()],vr.prototype,"label",void 0),mr([r.property()],vr.prototype,"iconLabel",void 0),mr([r.property()],vr.prototype,"icon",void 0),mr([r.property()],vr.prototype,"iconVariant",void 0),mr([r.property({type:Boolean})],vr.prototype,"trailingIcon",void 0),mr([r.query("ft-typography slot")],vr.prototype,"slottedContent",void 0),o.customElement("ft-chip")(vr);const Or={color:o.FtCssVariableFactory.extend("--ft-search-saved-searches-color","",o.designSystemVariables.colorOnSurface),activeButtonTextColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-active-button-text-color","",o.designSystemVariables.colorPrimary),activeSearchBackgroundColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-background-color","",o.designSystemVariables.colorContent),activeSearchBorderStyle:o.FtCssVariableFactory.create("--ft-search-saved-searches-active-search-border-style","","BORDER-STYLE",null!==(ur=Oo.selectedOutlineStyle.lastResortDefaultValue())&&void 0!==ur?ur:"solid"),activeSearchBorderColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-border-color","",o.designSystemVariables.colorPrimary),activeSearchBorderWidth:o.FtCssVariableFactory.create("--ft-search-saved-searches-active-search-border-width","","SIZE",null!==(gr=Oo.selectedOutlineWidth.lastResortDefaultValue())&&void 0!==gr?gr:"2px"),activeSearchBorderRadius:o.FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-border-radius","",o.designSystemVariables.borderRadiusM),inactiveButtonTextColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-button-text-color","",o.designSystemVariables.colorPrimary),inactiveButtonBackgroundColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-button-background-color","",o.designSystemVariables.colorSurface),inactiveSearchBackgroundColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-background-color","",o.designSystemVariables.colorContent),inactiveSearchBorderStyle:o.FtCssVariableFactory.create("--ft-search-saved-searches-inactive-search-border-style","","BORDER-STYLE",null!==(yr=Oo.outlineStyle.lastResortDefaultValue())&&void 0!==yr?yr:"solid"),inactiveSearchBorderColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-border-color","",o.designSystemVariables.colorPrimary),inactiveSearchBorderWidth:o.FtCssVariableFactory.create("--ft-search-saved-searches-inactive-search-border-width","","SIZE",null!==(br=Oo.outlineWidth.lastResortDefaultValue())&&void 0!==br?br:"0"),inactiveSearchBorderRadius:o.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-border-radius","",o.designSystemVariables.borderRadiusM),chipBackgroundColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-chip-background-color","",o.designSystemVariables.colorSurface),cardTitleFontSize:o.FtCssVariableFactory.create("--ft-search-saved-searches-card-title-font-size","","SIZE","16px"),cardTitleFontWeight:o.FtCssVariableFactory.create("--ft-search-saved-searches-card-title-font-weight","","SIZE","600")},Sr=e.css`
1058
1060
  [part="container"] {
@@ -1064,7 +1064,7 @@ const Ss=Symbol.for(""),Cs=t=>{if(t?.r===Ss)return t?._$litStatic$},Ns=t=>({_$li
1064
1064
  width: ${Yo.smallIconOnlyWidth};
1065
1065
  padding: unset;
1066
1066
  }
1067
- `,Vi];var xc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(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 Oc extends gc{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?Rs.caption1medium:Rs.body2medium}}Oc.styles=[Yi,vc],xc([we({type:Boolean})],Oc.prototype,"primary",void 0),xc([we({type:Boolean})],Oc.prototype,"secondary",void 0),xc([we({type:Boolean})],Oc.prototype,"tertiary",void 0),xc([we({type:Boolean})],Oc.prototype,"neutral",void 0),xc([we({type:Boolean})],Oc.prototype,"small",void 0),uo("ft-button")(mc),uo("ftds-button")(Oc);const wc=vo.extend("--ft-chip-color","",Or.colorOnSurface),Sc={backgroundColor:vo.extend("--ft-chip-background-color","",Or.colorSurface),color:wc,fontSize:vo.extend("--ft-chip-font-size","",rl.fontSize),iconSize:vo.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:vo.extend("--ft-chip-ripple-color","",wc),horizontalPadding:vo.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:vo.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:vo.external(Or.colorOutline,"Design system"),opacityDisabled:vo.external(Or.colorOpacityDisabled,"Design system")},Cc=vo.extend("--ft-chip-highlighted-color","",vo.extend("--ft-chip-color","",Or.colorOnPrimary)),Nc={backgroundColor:vo.extend("--ft-chip-highlighted-background-color","",vo.extend("--ft-chip-background-color","",Or.colorPrimary)),color:Cc,rippleColor:vo.extend("--ft-chip-highlighted-ripple-color","",Cc)},Ec=vo.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),$c=vo.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Rc=[Vi,ht`
1067
+ `,Vi];var xc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(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 Oc extends gc{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?Rs.caption1medium:Rs.body2medium}}Oc.styles=[Yi,vc],xc([we({type:Boolean})],Oc.prototype,"primary",void 0),xc([we({type:Boolean})],Oc.prototype,"secondary",void 0),xc([we({type:Boolean})],Oc.prototype,"tertiary",void 0),xc([we({type:Boolean})],Oc.prototype,"neutral",void 0),xc([we({type:Boolean})],Oc.prototype,"small",void 0),uo("ft-button")(mc),uo("ftds-button")(Oc);const wc=vo.extend("--ft-chip-color","",Or.colorOnSurface),Sc={backgroundColor:vo.extend("--ft-chip-background-color","",Or.colorSurface),color:wc,fontSize:vo.extend("--ft-chip-font-size","",rl.fontSize),iconSize:vo.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:vo.create("--ft-chip-border-radius","","SIZE",""),rippleColor:vo.extend("--ft-chip-ripple-color","",wc),horizontalPadding:vo.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:vo.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:vo.external(Or.colorOutline,"Design system"),opacityDisabled:vo.external(Or.colorOpacityDisabled,"Design system")},Cc=vo.extend("--ft-chip-highlighted-color","",vo.extend("--ft-chip-color","",Or.colorOnPrimary)),Nc={backgroundColor:vo.extend("--ft-chip-highlighted-background-color","",vo.extend("--ft-chip-background-color","",Or.colorPrimary)),color:Cc,rippleColor:vo.extend("--ft-chip-highlighted-ripple-color","",Cc)},Ec=vo.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),$c=vo.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Rc=[Vi,ht`
1068
1068
  :host {
1069
1069
  display: inline-block;
1070
1070
  max-width: 100%;
@@ -1091,7 +1091,7 @@ const Ss=Symbol.for(""),Cs=t=>{if(t?.r===Ss)return t?._$litStatic$},Ns=t=>({_$li
1091
1091
  border: 1px solid ${Sc.colorOutline};
1092
1092
  color: ${Sc.color};
1093
1093
  ${xo(ps.color,Sc.rippleColor)};
1094
- border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
1094
+ border-radius: var(${dt(Sc.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
1095
1095
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
1096
1096
  background-color: ${Sc.backgroundColor};
1097
1097
  line-height: var(--ft-chip-internal-content-height);
@@ -1205,9 +1205,10 @@ const Ss=Symbol.for(""),Cs=t=>{if(t?.r===Ss)return t?._$litStatic$},Ns=t=>({_$li
1205
1205
  <div class="${Te(t)}"
1206
1206
  aria-label="${this.getLabel()}"
1207
1207
  tabindex="${this.interactionsOnChip?0:-1}"
1208
- @keyup=${this.onKeyUp}>
1208
+ @keyup=${this.onKeyUp}
1209
+ part="chip">
1209
1210
  <ft-ripple ?disabled=${!this.interactionsOnChip}></ft-ripple>
1210
- <ft-typography variant="body2" element="span" class="ft-chip--label">
1211
+ <ft-typography variant="body2" element="span" class="ft-chip--label" part="label">
1211
1212
  <slot @slotchange=${this.onSlotchange}></slot>
1212
1213
  </ft-typography>
1213
1214
  ${this.internalIcon?this.renderIcon():null}
@@ -1219,10 +1220,11 @@ const Ss=Symbol.for(""),Cs=t=>{if(t?.r===Ss)return t?._$litStatic$},Ns=t=>({_$li
1219
1220
  .iconVariant=${this.iconVariant}
1220
1221
  icon="${this.internalIcon}"
1221
1222
  label="${this.iconLabel}"
1223
+ part="icon-button"
1222
1224
  ></ft-button>
1223
1225
  `:Jt`
1224
- <div class="ft-chip--icon-container ft-no-text-select">
1225
- <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
1226
+ <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1227
+ <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
1226
1228
  </div>
1227
1229
  `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Bc))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Bc))}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":ws,"ft-typography":zl,"ft-icon":Gl,"ft-button":mc},Ac.styles=Rc,Wc([we({type:Boolean})],Ac.prototype,"highlighted",void 0),Wc([we({type:Boolean})],Ac.prototype,"removable",void 0),Wc([we({type:Boolean})],Ac.prototype,"disabled",void 0),Wc([we({type:Boolean})],Ac.prototype,"clickable",void 0),Wc([we({type:Boolean})],Ac.prototype,"iconClickable",void 0),Wc([we({type:Boolean})],Ac.prototype,"dense",void 0),Wc([we({type:Boolean})],Ac.prototype,"multiLine",void 0),Wc([we()],Ac.prototype,"label",void 0),Wc([we()],Ac.prototype,"iconLabel",void 0),Wc([we()],Ac.prototype,"icon",void 0),Wc([we()],Ac.prototype,"iconVariant",void 0),Wc([we({type:Boolean})],Ac.prototype,"trailingIcon",void 0),Wc([Ee("ft-typography slot")],Ac.prototype,"slottedContent",void 0),uo("ft-chip")(Ac);const zc={color:vo.extend("--ft-search-saved-searches-color","",Or.colorOnSurface),activeButtonTextColor:vo.extend("--ft-search-saved-searches-active-button-text-color","",Or.colorPrimary),activeSearchBackgroundColor:vo.extend("--ft-search-saved-searches-active-search-background-color","",Or.colorContent),activeSearchBorderStyle:vo.create("--ft-search-saved-searches-active-search-border-style","","BORDER-STYLE",null!==(Ic=Fl.selectedOutlineStyle.lastResortDefaultValue())&&void 0!==Ic?Ic:"solid"),activeSearchBorderColor:vo.extend("--ft-search-saved-searches-active-search-border-color","",Or.colorPrimary),activeSearchBorderWidth:vo.create("--ft-search-saved-searches-active-search-border-width","","SIZE",null!==(kc=Fl.selectedOutlineWidth.lastResortDefaultValue())&&void 0!==kc?kc:"2px"),activeSearchBorderRadius:vo.extend("--ft-search-saved-searches-active-search-border-radius","",Or.borderRadiusM),inactiveButtonTextColor:vo.extend("--ft-search-saved-searches-inactive-button-text-color","",Or.colorPrimary),inactiveButtonBackgroundColor:vo.extend("--ft-search-saved-searches-inactive-button-background-color","",Or.colorSurface),inactiveSearchBackgroundColor:vo.extend("--ft-search-saved-searches-inactive-search-background-color","",Or.colorContent),inactiveSearchBorderStyle:vo.create("--ft-search-saved-searches-inactive-search-border-style","","BORDER-STYLE",null!==(Lc=Fl.outlineStyle.lastResortDefaultValue())&&void 0!==Lc?Lc:"solid"),inactiveSearchBorderColor:vo.extend("--ft-search-saved-searches-inactive-search-border-color","",Or.colorPrimary),inactiveSearchBorderWidth:vo.create("--ft-search-saved-searches-inactive-search-border-width","","SIZE",null!==(Uc=Fl.outlineWidth.lastResortDefaultValue())&&void 0!==Uc?Uc:"0"),inactiveSearchBorderRadius:vo.extend("--ft-search-saved-searches-inactive-search-border-radius","",Or.borderRadiusM),chipBackgroundColor:vo.extend("--ft-search-saved-searches-chip-background-color","",Or.colorSurface),cardTitleFontSize:vo.create("--ft-search-saved-searches-card-title-font-size","","SIZE","16px"),cardTitleFontWeight:vo.create("--ft-search-saved-searches-card-title-font-weight","","SIZE","600")},Fc=ht`
1228
1230
  [part="container"] {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-saved-searches",
3
- "version": "1.1.53",
3
+ "version": "1.1.54",
4
4
  "description": "Displays the saved searches",
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-search-context": "1.1.53",
23
- "@fluid-topics/ft-wc-utils": "1.1.53",
22
+ "@fluid-topics/ft-search-context": "1.1.54",
23
+ "@fluid-topics/ft-wc-utils": "1.1.54",
24
24
  "lit": "3.1.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@fluid-topics/public-api": "1.0.62"
28
28
  },
29
- "gitHead": "9533374bb075edb940b4426a00561f27c34d2f01"
29
+ "gitHead": "b8c7a07061df6fb5c3c03d96879eda48fb73e5c8"
30
30
  }