@fluid-topics/ft-filter 1.0.61 → 1.0.63

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.
@@ -580,7 +580,7 @@ const M=Symbol.for(""),T=t=>{if((null==t?void 0:t.r)===M)return null==t?void 0:t
580
580
  </ft-tooltip>
581
581
  `:t}resolveIcon(){return this.loading?e.html`
582
582
  <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
583
- <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}}ee.elementDefinitions={"ft-ripple":Do,"ft-tooltip":Xo,"ft-typography":yo,"ft-icon":Qo,"ft-loader":te},oe([i.property({type:String,reflect:!0})],ee.prototype,"role",void 0),oe([i.property()],ee.prototype,"type",void 0),oe([i.property({type:Boolean})],ee.prototype,"disabled",void 0),oe([i.property()],ee.prototype,"label",void 0),oe([i.property()],ee.prototype,"icon",void 0),oe([i.property()],ee.prototype,"iconVariant",void 0),oe([i.property({type:Boolean})],ee.prototype,"trailingIcon",void 0),oe([i.property({type:Boolean})],ee.prototype,"loading",void 0),oe([i.property()],ee.prototype,"tooltipPosition",void 0),oe([i.property({type:Boolean})],ee.prototype,"hideTooltip",void 0),oe([i.property({type:Boolean})],ee.prototype,"forceTooltip",void 0),oe([i.query(".ft-button")],ee.prototype,"button",void 0),oe([i.query(".ft-button--label slot")],ee.prototype,"slottedContent",void 0);var ie=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 re extends ee{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"}}re.styles=[o.safariEllipsisFix,Bo],ie([i.property({type:Boolean})],re.prototype,"primary",void 0),ie([i.property({type:Boolean})],re.prototype,"outlined",void 0),ie([i.property({type:Boolean})],re.prototype,"disabled",void 0),ie([i.property({type:Boolean})],re.prototype,"dense",void 0),ie([i.property({type:Boolean})],re.prototype,"round",void 0);const ae=[e.css`
583
+ <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}}ee.elementDefinitions={"ft-ripple":Do,"ft-tooltip":Xo,"ft-typography":yo,"ft-icon":Qo,"ft-loader":te},oe([i.property({type:String,reflect:!0})],ee.prototype,"role",void 0),oe([i.property()],ee.prototype,"type",void 0),oe([i.property({type:Boolean})],ee.prototype,"disabled",void 0),oe([i.property()],ee.prototype,"label",void 0),oe([i.property()],ee.prototype,"icon",void 0),oe([i.property()],ee.prototype,"iconVariant",void 0),oe([i.property({type:Boolean})],ee.prototype,"trailingIcon",void 0),oe([i.property({type:Boolean})],ee.prototype,"loading",void 0),oe([i.property()],ee.prototype,"tooltipPosition",void 0),oe([i.property({type:Boolean})],ee.prototype,"hideTooltip",void 0),oe([i.property({type:Boolean})],ee.prototype,"forceTooltip",void 0),oe([i.query(".ft-button")],ee.prototype,"button",void 0),oe([i.query(".ft-button--label slot")],ee.prototype,"slottedContent",void 0);var ie=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 re extends ee{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"}}re.styles=[o.safariEllipsisFix,Bo],ie([i.property({type:Boolean})],re.prototype,"primary",void 0),ie([i.property({type:Boolean})],re.prototype,"outlined",void 0),ie([i.property({type:Boolean})],re.prototype,"dense",void 0),ie([i.property({type:Boolean})],re.prototype,"round",void 0);const ae=[e.css`
584
584
  :host {
585
585
  display: inline-block;
586
586
  max-width: 100%;
@@ -701,7 +701,7 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
701
701
  </ft-tooltip>
702
702
  `:t}resolveIcon(){return this.loading?Q`
703
703
  <ft-loader part="loader icon"></ft-loader> `:this.icon?Q`
704
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ot}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}}pi.elementDefinitions={"ft-ripple":Te,"ft-tooltip":ti,"ft-typography":se,"ft-icon":li,"ft-loader":si},ci([i({type:String,reflect:!0})],pi.prototype,"role",void 0),ci([i()],pi.prototype,"type",void 0),ci([i({type:Boolean})],pi.prototype,"disabled",void 0),ci([i()],pi.prototype,"label",void 0),ci([i()],pi.prototype,"icon",void 0),ci([i()],pi.prototype,"iconVariant",void 0),ci([i({type:Boolean})],pi.prototype,"trailingIcon",void 0),ci([i({type:Boolean})],pi.prototype,"loading",void 0),ci([i()],pi.prototype,"tooltipPosition",void 0),ci([i({type:Boolean})],pi.prototype,"hideTooltip",void 0),ci([i({type:Boolean})],pi.prototype,"forceTooltip",void 0),ci([a(".ft-button")],pi.prototype,"button",void 0),ci([a(".ft-button--label slot")],pi.prototype,"slottedContent",void 0);var fi=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 hi extends pi{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"}}hi.styles=[Bt,He],fi([i({type:Boolean})],hi.prototype,"primary",void 0),fi([i({type:Boolean})],hi.prototype,"outlined",void 0),fi([i({type:Boolean})],hi.prototype,"disabled",void 0),fi([i({type:Boolean})],hi.prototype,"dense",void 0),fi([i({type:Boolean})],hi.prototype,"round",void 0);const di=[x`
704
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ot}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}}pi.elementDefinitions={"ft-ripple":Te,"ft-tooltip":ti,"ft-typography":se,"ft-icon":li,"ft-loader":si},ci([i({type:String,reflect:!0})],pi.prototype,"role",void 0),ci([i()],pi.prototype,"type",void 0),ci([i({type:Boolean})],pi.prototype,"disabled",void 0),ci([i()],pi.prototype,"label",void 0),ci([i()],pi.prototype,"icon",void 0),ci([i()],pi.prototype,"iconVariant",void 0),ci([i({type:Boolean})],pi.prototype,"trailingIcon",void 0),ci([i({type:Boolean})],pi.prototype,"loading",void 0),ci([i()],pi.prototype,"tooltipPosition",void 0),ci([i({type:Boolean})],pi.prototype,"hideTooltip",void 0),ci([i({type:Boolean})],pi.prototype,"forceTooltip",void 0),ci([a(".ft-button")],pi.prototype,"button",void 0),ci([a(".ft-button--label slot")],pi.prototype,"slottedContent",void 0);var fi=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 hi extends pi{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"}}hi.styles=[Bt,He],fi([i({type:Boolean})],hi.prototype,"primary",void 0),fi([i({type:Boolean})],hi.prototype,"outlined",void 0),fi([i({type:Boolean})],hi.prototype,"dense",void 0),fi([i({type:Boolean})],hi.prototype,"round",void 0);const di=[x`
705
705
  :host {
706
706
  display: inline-block;
707
707
  max-width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-filter",
3
- "version": "1.0.61",
3
+ "version": "1.0.63",
4
4
  "description": "Flat selector for multivalued or monovalued filters",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,15 +19,15 @@
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-checkbox": "1.0.61",
24
- "@fluid-topics/ft-icon": "1.0.61",
25
- "@fluid-topics/ft-radio": "1.0.61",
26
- "@fluid-topics/ft-ripple": "1.0.61",
27
- "@fluid-topics/ft-snap-scroll": "1.0.61",
28
- "@fluid-topics/ft-typography": "1.0.61",
29
- "@fluid-topics/ft-wc-utils": "1.0.61",
22
+ "@fluid-topics/ft-button": "1.0.63",
23
+ "@fluid-topics/ft-checkbox": "1.0.63",
24
+ "@fluid-topics/ft-icon": "1.0.63",
25
+ "@fluid-topics/ft-radio": "1.0.63",
26
+ "@fluid-topics/ft-ripple": "1.0.63",
27
+ "@fluid-topics/ft-snap-scroll": "1.0.63",
28
+ "@fluid-topics/ft-typography": "1.0.63",
29
+ "@fluid-topics/ft-wc-utils": "1.0.63",
30
30
  "lit": "2.7.2"
31
31
  },
32
- "gitHead": "c2a916c32bd1fe396316800c6afd78662ed27409"
32
+ "gitHead": "020d13bf82a28437f4d7a7395ad9b628bc4342f1"
33
33
  }