@fluid-topics/ft-search-input 1.0.61 → 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.
@@ -574,7 +574,7 @@ const Ao=Symbol.for(""),Do=t=>{if((null==t?void 0:t.r)===Ao)return null==t?void
574
574
  </ft-tooltip>
575
575
  `:t}resolveIcon(){return this.loading?e.html`
576
576
  <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
577
- <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}}re.elementDefinitions={"ft-ripple":Qt,"ft-tooltip":Vo,"ft-typography":Mo,"ft-icon":oe,"ft-loader":ee},ie([i.property({type:String,reflect:!0})],re.prototype,"role",void 0),ie([i.property()],re.prototype,"type",void 0),ie([i.property({type:Boolean})],re.prototype,"disabled",void 0),ie([i.property()],re.prototype,"label",void 0),ie([i.property()],re.prototype,"icon",void 0),ie([i.property()],re.prototype,"iconVariant",void 0),ie([i.property({type:Boolean})],re.prototype,"trailingIcon",void 0),ie([i.property({type:Boolean})],re.prototype,"loading",void 0),ie([i.property()],re.prototype,"tooltipPosition",void 0),ie([i.property({type:Boolean})],re.prototype,"hideTooltip",void 0),ie([i.property({type:Boolean})],re.prototype,"forceTooltip",void 0),ie([i.query(".ft-button")],re.prototype,"button",void 0),ie([i.query(".ft-button--label slot")],re.prototype,"slottedContent",void 0);var ne=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 ae extends re{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!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"}}ae.styles=[o.safariEllipsisFix,Vt],ne([i.property({type:Boolean})],ae.prototype,"primary",void 0),ne([i.property({type:Boolean})],ae.prototype,"outlined",void 0),ne([i.property({type:Boolean})],ae.prototype,"disabled",void 0),ne([i.property({type:Boolean})],ae.prototype,"dense",void 0),ne([i.property({type:Boolean})],ae.prototype,"round",void 0);const le=[e.css`
577
+ <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}}re.elementDefinitions={"ft-ripple":Qt,"ft-tooltip":Vo,"ft-typography":Mo,"ft-icon":oe,"ft-loader":ee},ie([i.property({type:String,reflect:!0})],re.prototype,"role",void 0),ie([i.property()],re.prototype,"type",void 0),ie([i.property({type:Boolean})],re.prototype,"disabled",void 0),ie([i.property()],re.prototype,"label",void 0),ie([i.property()],re.prototype,"icon",void 0),ie([i.property()],re.prototype,"iconVariant",void 0),ie([i.property({type:Boolean})],re.prototype,"trailingIcon",void 0),ie([i.property({type:Boolean})],re.prototype,"loading",void 0),ie([i.property()],re.prototype,"tooltipPosition",void 0),ie([i.property({type:Boolean})],re.prototype,"hideTooltip",void 0),ie([i.property({type:Boolean})],re.prototype,"forceTooltip",void 0),ie([i.query(".ft-button")],re.prototype,"button",void 0),ie([i.query(".ft-button--label slot")],re.prototype,"slottedContent",void 0);var ne=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 ae extends re{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"}}ae.styles=[o.safariEllipsisFix,Vt],ne([i.property({type:Boolean})],ae.prototype,"primary",void 0),ne([i.property({type:Boolean})],ae.prototype,"outlined",void 0),ne([i.property({type:Boolean})],ae.prototype,"dense",void 0),ne([i.property({type:Boolean})],ae.prototype,"round",void 0);const le=[e.css`
578
578
  :host {
579
579
  display: inline-block;
580
580
  max-width: 100%;
@@ -691,7 +691,7 @@ class Gi extends ki{constructor(t){if(super(t),this.et=et,t.type!==Ui)throw Erro
691
691
  </ft-tooltip>
692
692
  `:t}resolveIcon(){return this.loading?tt`
693
693
  <ft-loader part="loader icon"></ft-loader> `:this.icon?tt`
694
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:et}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}}nn.elementDefinitions={"ft-ripple":Ai,"ft-tooltip":Hi,"ft-typography":zi,"ft-icon":on,"ft-loader":en},rn([a({type:String,reflect:!0})],nn.prototype,"role",void 0),rn([a()],nn.prototype,"type",void 0),rn([a({type:Boolean})],nn.prototype,"disabled",void 0),rn([a()],nn.prototype,"label",void 0),rn([a()],nn.prototype,"icon",void 0),rn([a()],nn.prototype,"iconVariant",void 0),rn([a({type:Boolean})],nn.prototype,"trailingIcon",void 0),rn([a({type:Boolean})],nn.prototype,"loading",void 0),rn([a()],nn.prototype,"tooltipPosition",void 0),rn([a({type:Boolean})],nn.prototype,"hideTooltip",void 0),rn([a({type:Boolean})],nn.prototype,"forceTooltip",void 0),rn([c(".ft-button")],nn.prototype,"button",void 0),rn([c(".ft-button--label slot")],nn.prototype,"slottedContent",void 0);var an=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(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 sn extends nn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!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"}}sn.styles=[Bt,Ri],an([a({type:Boolean})],sn.prototype,"primary",void 0),an([a({type:Boolean})],sn.prototype,"outlined",void 0),an([a({type:Boolean})],sn.prototype,"disabled",void 0),an([a({type:Boolean})],sn.prototype,"dense",void 0),an([a({type:Boolean})],sn.prototype,"round",void 0);const ln=[O`
694
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:et}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}}nn.elementDefinitions={"ft-ripple":Ai,"ft-tooltip":Hi,"ft-typography":zi,"ft-icon":on,"ft-loader":en},rn([a({type:String,reflect:!0})],nn.prototype,"role",void 0),rn([a()],nn.prototype,"type",void 0),rn([a({type:Boolean})],nn.prototype,"disabled",void 0),rn([a()],nn.prototype,"label",void 0),rn([a()],nn.prototype,"icon",void 0),rn([a()],nn.prototype,"iconVariant",void 0),rn([a({type:Boolean})],nn.prototype,"trailingIcon",void 0),rn([a({type:Boolean})],nn.prototype,"loading",void 0),rn([a()],nn.prototype,"tooltipPosition",void 0),rn([a({type:Boolean})],nn.prototype,"hideTooltip",void 0),rn([a({type:Boolean})],nn.prototype,"forceTooltip",void 0),rn([c(".ft-button")],nn.prototype,"button",void 0),rn([c(".ft-button--label slot")],nn.prototype,"slottedContent",void 0);var an=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(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 sn extends nn{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"}}sn.styles=[Bt,Ri],an([a({type:Boolean})],sn.prototype,"primary",void 0),an([a({type:Boolean})],sn.prototype,"outlined",void 0),an([a({type:Boolean})],sn.prototype,"dense",void 0),an([a({type:Boolean})],sn.prototype,"round",void 0);const ln=[O`
695
695
  :host {
696
696
  display: inline-block;
697
697
  max-width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-input",
3
- "version": "1.0.61",
3
+ "version": "1.0.62",
4
4
  "description": "Search bar input for integrated search component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,17 +19,17 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-button": "1.0.61",
23
- "@fluid-topics/ft-i18n": "1.0.61",
24
- "@fluid-topics/ft-icon": "1.0.61",
25
- "@fluid-topics/ft-ripple": "1.0.61",
26
- "@fluid-topics/ft-search-context": "1.0.61",
27
- "@fluid-topics/ft-typography": "1.0.61",
28
- "@fluid-topics/ft-wc-utils": "1.0.61",
22
+ "@fluid-topics/ft-button": "1.0.62",
23
+ "@fluid-topics/ft-i18n": "1.0.62",
24
+ "@fluid-topics/ft-icon": "1.0.62",
25
+ "@fluid-topics/ft-ripple": "1.0.62",
26
+ "@fluid-topics/ft-search-context": "1.0.62",
27
+ "@fluid-topics/ft-typography": "1.0.62",
28
+ "@fluid-topics/ft-wc-utils": "1.0.62",
29
29
  "lit": "2.7.2"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@fluid-topics/public-api": "1.0.48"
33
33
  },
34
- "gitHead": "c2a916c32bd1fe396316800c6afd78662ed27409"
34
+ "gitHead": "44e9005773fe47b2e6a9ada16802918052a146cf"
35
35
  }