@fluid-topics/ft-filter 1.0.60 → 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.
- package/build/ft-filter.light.js +9 -7
- package/build/ft-filter.min.js +9 -7
- package/package.json +10 -10
package/build/ft-filter.light.js
CHANGED
|
@@ -106,12 +106,14 @@ const M=Symbol.for(""),T=t=>{if((null==t?void 0:t.r)===M)return null==t?void 0:t
|
|
|
106
106
|
vertical-align: inherit;
|
|
107
107
|
}
|
|
108
108
|
`,ho=[Object.keys(Q).map((t=>function(t){const o=Q[t];return e.css`
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
109
|
+
.ft-typography--${e.unsafeCSS(t)} {
|
|
110
|
+
font-family: ${o.fontFamily};
|
|
111
|
+
font-size: ${o.fontSize};
|
|
112
|
+
font-weight: ${o.fontWeight};
|
|
113
|
+
letter-spacing: ${o.letterSpacing};
|
|
114
|
+
line-height: ${o.lineHeight};
|
|
115
|
+
text-transform: ${o.textCase};
|
|
116
|
+
}
|
|
115
117
|
`}(t)))];var go=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 yo extends o.FtLitElement{constructor(){super(...arguments),this.variant=Y.body1}render(){return this.element?V`
|
|
116
118
|
<${P(this.element)}
|
|
117
119
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -578,7 +580,7 @@ const M=Symbol.for(""),T=t=>{if((null==t?void 0:t.r)===M)return null==t?void 0:t
|
|
|
578
580
|
</ft-tooltip>
|
|
579
581
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
580
582
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
581
|
-
<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.
|
|
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`
|
|
582
584
|
:host {
|
|
583
585
|
display: inline-block;
|
|
584
586
|
max-width: 100%;
|
package/build/ft-filter.min.js
CHANGED
|
@@ -205,12 +205,14 @@ var bt,mt;let vt=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
205
205
|
vertical-align: inherit;
|
|
206
206
|
}
|
|
207
207
|
`,ae=[Object.keys($t).map((t=>function(t){const o=$t[t];return x`
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
208
|
+
.ft-typography--${v(t)} {
|
|
209
|
+
font-family: ${o.fontFamily};
|
|
210
|
+
font-size: ${o.fontSize};
|
|
211
|
+
font-weight: ${o.fontWeight};
|
|
212
|
+
letter-spacing: ${o.letterSpacing};
|
|
213
|
+
line-height: ${o.lineHeight};
|
|
214
|
+
text-transform: ${o.textCase};
|
|
215
|
+
}
|
|
214
216
|
`}(t)))];var le=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 se extends Kt{constructor(){super(...arguments),this.variant=Vt.body1}render(){return this.element?Gt`
|
|
215
217
|
<${Tt(this.element)}
|
|
216
218
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -699,7 +701,7 @@ class oi extends he{constructor(t){if(super(t),this.et=ot,t.type!==pe)throw Erro
|
|
|
699
701
|
</ft-tooltip>
|
|
700
702
|
`:t}resolveIcon(){return this.loading?Q`
|
|
701
703
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?Q`
|
|
702
|
-
<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.
|
|
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`
|
|
703
705
|
:host {
|
|
704
706
|
display: inline-block;
|
|
705
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.
|
|
3
|
+
"version": "1.0.62",
|
|
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.
|
|
23
|
-
"@fluid-topics/ft-checkbox": "1.0.
|
|
24
|
-
"@fluid-topics/ft-icon": "1.0.
|
|
25
|
-
"@fluid-topics/ft-radio": "1.0.
|
|
26
|
-
"@fluid-topics/ft-ripple": "1.0.
|
|
27
|
-
"@fluid-topics/ft-snap-scroll": "1.0.
|
|
28
|
-
"@fluid-topics/ft-typography": "1.0.
|
|
29
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-button": "1.0.62",
|
|
23
|
+
"@fluid-topics/ft-checkbox": "1.0.62",
|
|
24
|
+
"@fluid-topics/ft-icon": "1.0.62",
|
|
25
|
+
"@fluid-topics/ft-radio": "1.0.62",
|
|
26
|
+
"@fluid-topics/ft-ripple": "1.0.62",
|
|
27
|
+
"@fluid-topics/ft-snap-scroll": "1.0.62",
|
|
28
|
+
"@fluid-topics/ft-typography": "1.0.62",
|
|
29
|
+
"@fluid-topics/ft-wc-utils": "1.0.62",
|
|
30
30
|
"lit": "2.7.2"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "44e9005773fe47b2e6a9ada16802918052a146cf"
|
|
33
33
|
}
|