@fluid-topics/ft-filter 0.3.31 → 0.3.32

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.
@@ -42,7 +42,7 @@ export class FtFilterLevel extends FtLitElement {
42
42
  return (_b = (_a = this.container) === null || _a === void 0 ? void 0 : _a.scrollHeight) !== null && _b !== void 0 ? _b : 0;
43
43
  }
44
44
  render() {
45
- let options = this.options;
45
+ let options = [...this.options];
46
46
  if (this.hideSelectedOptions) {
47
47
  options = options.filter(o => !o.selected);
48
48
  }
@@ -121,7 +121,7 @@ export class FtFilterLevel extends FtLitElement {
121
121
  .disabled=${this.disabled}
122
122
  .indeterminate=${flatDeep((_a = option.subOptions) !== null && _a !== void 0 ? _a : [], o => { var _a; return (_a = o.subOptions) !== null && _a !== void 0 ? _a : []; }).some(o => o.selected)}
123
123
  @change=${(e) => this.optionsChanged(e, option)}>
124
- ${option.label}
124
+ ${option.renderOption ? option.renderOption : option.label}
125
125
  </ft-checkbox>
126
126
  `;
127
127
  }
@@ -135,7 +135,7 @@ export class FtFilterLevel extends FtLitElement {
135
135
  @click=${(e) => this.optionsChanged(e, option)}
136
136
  @keyup=${(e) => this.onRadioKeyUp(e, option)}
137
137
  @change=${(e) => e.stopPropagation()}>
138
- ${option.label}
138
+ ${option.renderOption ? option.renderOption : option.label}
139
139
  </ft-radio>
140
140
  `;
141
141
  }
@@ -1,5 +1,5 @@
1
1
  import { ElementDefinitionsMap, FtLitElement } from "@fluid-topics/ft-wc-utils";
2
- import { PropertyValues } from "lit";
2
+ import { PropertyValues, TemplateResult } from "lit";
3
3
  import { FtFilterOptionProperties } from "./ft-filter-option.properties";
4
4
  export declare class FtFilterOption extends FtLitElement implements FtFilterOptionProperties {
5
5
  static elementDefinitions: ElementDefinitionsMap;
@@ -7,8 +7,9 @@ export declare class FtFilterOption extends FtLitElement implements FtFilterOpti
7
7
  value: any;
8
8
  selected: boolean;
9
9
  subOptions: Array<FtFilterOptionProperties>;
10
+ renderOption?: TemplateResult;
10
11
  private slotElement;
11
- protected render(): import("lit-html").TemplateResult<1>;
12
+ protected render(): TemplateResult<1>;
12
13
  private updateSubOptionsFromSlot;
13
14
  protected updated(changedProperties: PropertyValues): void;
14
15
  }
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import { FtLitElement } from "@fluid-topics/ft-wc-utils";
7
+ import { FtLitElement, jsonProperty } from "@fluid-topics/ft-wc-utils";
8
8
  import { property, query } from "lit/decorators.js";
9
9
  import { html } from "lit";
10
10
  export class FtFilterOption extends FtLitElement {
@@ -45,6 +45,9 @@ __decorate([
45
45
  __decorate([
46
46
  property({ type: Object })
47
47
  ], FtFilterOption.prototype, "subOptions", void 0);
48
+ __decorate([
49
+ jsonProperty({})
50
+ ], FtFilterOption.prototype, "renderOption", void 0);
48
51
  __decorate([
49
52
  query(".ft-filter-option--slot")
50
53
  ], FtFilterOption.prototype, "slotElement", void 0);
@@ -1,7 +1,9 @@
1
+ import { TemplateResult } from "lit";
1
2
  export interface FtFilterOptionProperties {
2
3
  label: string;
3
4
  value: any;
4
5
  selected?: boolean;
5
6
  subOptions?: Array<FtFilterOptionProperties>;
7
+ renderOption?: TemplateResult | null;
6
8
  }
7
9
  //# sourceMappingURL=ft-filter-option.properties.d.ts.map
@@ -19,6 +19,7 @@ export declare class FtFilter extends FtLitElement implements FtFilterProperties
19
19
  disabled: boolean;
20
20
  raiseSelectedOptions: boolean;
21
21
  displayedValuesLimit: number;
22
+ hideClearButton: boolean;
22
23
  private slotElement;
23
24
  private container?;
24
25
  private valuesContainer?;
@@ -32,6 +32,7 @@ export class FtFilter extends FtLitElement {
32
32
  this.disabled = false;
33
33
  this.raiseSelectedOptions = false;
34
34
  this.displayedValuesLimit = 0;
35
+ this.hideClearButton = false;
35
36
  this.withScroll = false;
36
37
  this.filter = "";
37
38
  this.displayedLevels = [];
@@ -53,7 +54,7 @@ export class FtFilter extends FtLitElement {
53
54
  <div class="ft-filter--header" part="header">
54
55
  <ft-typography class="ft-filter--label" variant="overline" part="label">${this.label}
55
56
  </ft-typography>
56
- ${valuesSelected ? html `
57
+ ${valuesSelected && !this.hideClearButton ? html `
57
58
  <ft-button icon="close" dense @click=${this.clear} part="clear-button">
58
59
  ${this.clearButtonLabel}
59
60
  </ft-button>
@@ -160,7 +161,7 @@ export class FtFilter extends FtLitElement {
160
161
  <ft-filter-level
161
162
  class="${className}"
162
163
  id="${this.id}"
163
- filter="${this.filter}"
164
+ .filter="${this.filter}"
164
165
  moreValuesButtonLabel="${this.moreValuesButtonLabel}"
165
166
  ?multivalued=${this.multivalued}
166
167
  ?disabled=${this.disabled || className !== "ft-filter--level-center"}
@@ -278,6 +279,9 @@ __decorate([
278
279
  __decorate([
279
280
  property({ type: Number })
280
281
  ], FtFilter.prototype, "displayedValuesLimit", void 0);
282
+ __decorate([
283
+ property({ type: Boolean })
284
+ ], FtFilter.prototype, "hideClearButton", void 0);
281
285
  __decorate([
282
286
  query(".ft-filter--slot")
283
287
  ], FtFilter.prototype, "slotElement", void 0);
@@ -822,7 +822,7 @@ const V=Symbol.for(""),H=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
822
822
  margin: 10px 0;
823
823
  color: ${pe.colorOnSurfaceMedium};
824
824
  }
825
- `;var ce=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};class de extends i.FtLitElement{constructor(){super(...arguments),this.id="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,i;return null!==(i=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==i?i:0}render(){let t=this.options;this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const i=t.slice(0,this.limit);return e.html`
825
+ `;var ce=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};class de extends i.FtLitElement{constructor(){super(...arguments),this.id="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,i;return null!==(i=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==i?i:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const i=t.slice(0,this.limit);return e.html`
826
826
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
827
827
  ${null==this.parent?null:e.html`
828
828
  <div tabindex="0"
@@ -873,7 +873,7 @@ const V=Symbol.for(""),H=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
873
873
  .disabled=${this.disabled}
874
874
  .indeterminate=${ni(null!==(i=t.subOptions)&&void 0!==i?i:[],(t=>{var i;return null!==(i=t.subOptions)&&void 0!==i?i:[]})).some((t=>t.selected))}
875
875
  @change=${i=>this.optionsChanged(i,t)}>
876
- ${t.label}
876
+ ${t.renderOption?t.renderOption:t.label}
877
877
  </ft-checkbox>
878
878
  `}buildMonoValuedOption(t){return e.html`
879
879
  <ft-radio name="${this.id+Math.round(1e6*Math.random())}"
@@ -884,7 +884,7 @@ const V=Symbol.for(""),H=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
884
884
  @click=${i=>this.optionsChanged(i,t)}
885
885
  @keyup=${i=>this.onRadioKeyUp(i,t)}
886
886
  @change=${t=>t.stopPropagation()}>
887
- ${t.label}
887
+ ${t.renderOption?t.renderOption:t.label}
888
888
  </ft-radio>
889
889
  `}onRadioKeyUp(t,i){i.selected&&" "===t.key&&this.optionsChanged(t,i)}optionsChanged(t,i){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:i}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}de.elementDefinitions={"ft-button":Wi,"ft-ripple":gi,"ft-typography":ri,"ft-checkbox":Ji,"ft-icon":Fi,"ft-radio":ne},de.styles=fe,ce([o.property({type:String})],de.prototype,"id",void 0),ce([o.property({type:Object})],de.prototype,"parent",void 0),ce([o.property({type:Array})],de.prototype,"options",void 0),ce([o.property({type:Boolean})],de.prototype,"multivalued",void 0),ce([o.property({type:Boolean})],de.prototype,"disabled",void 0),ce([o.property({type:Boolean})],de.prototype,"hideSelectedOptions",void 0),ce([o.property({type:Boolean})],de.prototype,"preventNavigation",void 0),ce([o.property({type:String})],de.prototype,"filter",void 0),ce([o.property({type:String})],de.prototype,"moreValuesButtonLabel",void 0),ce([o.property({type:String})],de.prototype,"noValuesLabel",void 0),ce([o.property({type:Number})],de.prototype,"displayedValuesLimit",void 0),ce([o.query(".ft-filter-level--container")],de.prototype,"container",void 0),ce([o.state()],de.prototype,"displayedPages",void 0);const ue={buttonsColor:i.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color",i.designSystemVariables.colorPrimary),buttonsZIndex:i.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:i.FtCssVariableFactory.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:i.FtCssVariableFactory.external(i.designSystemVariables.colorSurface,"Design system")},ve=e.css`
890
890
  .ft-snap-scroll {
@@ -1143,14 +1143,14 @@ const V=Symbol.for(""),H=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
1143
1143
  slot {
1144
1144
  display: none;
1145
1145
  }
1146
- `];var $e=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};class ke extends CustomEvent{constructor(t){super("change",{detail:t})}}class we extends i.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new i.Debouncer(300),this.changeDebouncer=new i.Debouncer(10)}get flatOptions(){return ni(this.options,(t=>{var i;return null!==(i=t.subOptions)&&void 0!==i?i:[]}))}render(){var t,i;const o=this.flatOptions.some((t=>t.selected));let s=this.withScroll||this.filter||null!==(i=null===(t=this.lastLevel)||void 0===t?void 0:t.hasHiddenValues)&&void 0!==i&&i;return e.html`
1146
+ `];var $e=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};class ke extends CustomEvent{constructor(t){super("change",{detail:t})}}class we extends i.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new i.Debouncer(300),this.changeDebouncer=new i.Debouncer(10)}get flatOptions(){return ni(this.options,(t=>{var i;return null!==(i=t.subOptions)&&void 0!==i?i:[]}))}render(){var t,i;const o=this.flatOptions.some((t=>t.selected));let s=this.withScroll||this.filter||null!==(i=null===(t=this.lastLevel)||void 0===t?void 0:t.hasHiddenValues)&&void 0!==i&&i;return e.html`
1147
1147
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1148
1148
  part="container">
1149
1149
  ${this.label||o?e.html`
1150
1150
  <div class="ft-filter--header" part="header">
1151
1151
  <ft-typography class="ft-filter--label" variant="overline" part="label">${this.label}
1152
1152
  </ft-typography>
1153
- ${o?e.html`
1153
+ ${o&&!this.hideClearButton?e.html`
1154
1154
  <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1155
1155
  ${this.clearButtonLabel}
1156
1156
  </ft-button>
@@ -1197,7 +1197,7 @@ const V=Symbol.for(""),H=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
1197
1197
  <ft-filter-level
1198
1198
  class="${t}"
1199
1199
  id="${this.id}"
1200
- filter="${this.filter}"
1200
+ .filter="${this.filter}"
1201
1201
  moreValuesButtonLabel="${this.moreValuesButtonLabel}"
1202
1202
  ?multivalued=${this.multivalued}
1203
1203
  ?disabled=${this.disabled||"ft-filter--level-center"!==t}
@@ -1212,6 +1212,6 @@ const V=Symbol.for(""),H=t=>{if((null==t?void 0:t.r)===V)return null==t?void 0:t
1212
1212
  .exportpartsPrefixes=${["values","available-values"]}
1213
1213
  noValuesLabel="${this.noValuesLabel}"
1214
1214
  ></ft-filter-level>
1215
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var i;t.stopPropagation();const e=this.flatOptions.find((i=>i.value===t.detail.value));e.selected=!e.selected;const o=t=>{var i;t!==e&&(t.selected=!1),null===(i=t.subOptions)||void 0===i||i.forEach(o)};this.multivalued?null===(i=e.subOptions)||void 0===i||i.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;const i=this.flatOptions.filter((t=>t.selected)).map((t=>t.value));this.dispatchEvent(new ke(i)),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,i;this.filter=null!==(i=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==i?i:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}we.elementDefinitions={"ft-button":Wi,"ft-filter-level":de,"ft-snap-scroll":xe,"ft-typography":ri},we.styles=me,$e([o.property({type:String})],we.prototype,"id",void 0),$e([o.property({type:String})],we.prototype,"label",void 0),$e([o.property({type:String})],we.prototype,"filterPlaceHolder",void 0),$e([o.property({type:String})],we.prototype,"clearButtonLabel",void 0),$e([o.property({type:String})],we.prototype,"moreValuesButtonLabel",void 0),$e([o.property({type:String})],we.prototype,"noValuesLabel",void 0),$e([i.jsonProperty([])],we.prototype,"options",void 0),$e([o.property({type:Boolean})],we.prototype,"multivalued",void 0),$e([o.property({type:Boolean})],we.prototype,"disabled",void 0),$e([o.property({type:Boolean})],we.prototype,"raiseSelectedOptions",void 0),$e([o.property({type:Number})],we.prototype,"displayedValuesLimit",void 0),$e([o.query(".ft-filter--slot")],we.prototype,"slotElement",void 0),$e([o.query(".ft-filter--container")],we.prototype,"container",void 0),$e([o.query(".ft-filter--values")],we.prototype,"valuesContainer",void 0),$e([o.query(".ft-filter--levels")],we.prototype,"levelsContainer",void 0),$e([o.query(".ft-filter--levels ft-filter-level:last-child")],we.prototype,"lastLevel",void 0),$e([o.query(".ft-filter--filter input")],we.prototype,"filterInput",void 0),$e([o.queryAll(".ft-filter--levels ft-filter-level")],we.prototype,"levels",void 0),$e([o.state()],we.prototype,"withScroll",void 0),$e([o.state()],we.prototype,"filter",void 0),$e([o.state()],we.prototype,"slideIn",void 0),$e([o.state()],we.prototype,"slideOut",void 0);var ze=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};class Se extends i.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return e.html`
1215
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var i;t.stopPropagation();const e=this.flatOptions.find((i=>i.value===t.detail.value));e.selected=!e.selected;const o=t=>{var i;t!==e&&(t.selected=!1),null===(i=t.subOptions)||void 0===i||i.forEach(o)};this.multivalued?null===(i=e.subOptions)||void 0===i||i.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;const i=this.flatOptions.filter((t=>t.selected)).map((t=>t.value));this.dispatchEvent(new ke(i)),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,i;this.filter=null!==(i=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==i?i:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}we.elementDefinitions={"ft-button":Wi,"ft-filter-level":de,"ft-snap-scroll":xe,"ft-typography":ri},we.styles=me,$e([o.property({type:String})],we.prototype,"id",void 0),$e([o.property({type:String})],we.prototype,"label",void 0),$e([o.property({type:String})],we.prototype,"filterPlaceHolder",void 0),$e([o.property({type:String})],we.prototype,"clearButtonLabel",void 0),$e([o.property({type:String})],we.prototype,"moreValuesButtonLabel",void 0),$e([o.property({type:String})],we.prototype,"noValuesLabel",void 0),$e([i.jsonProperty([])],we.prototype,"options",void 0),$e([o.property({type:Boolean})],we.prototype,"multivalued",void 0),$e([o.property({type:Boolean})],we.prototype,"disabled",void 0),$e([o.property({type:Boolean})],we.prototype,"raiseSelectedOptions",void 0),$e([o.property({type:Number})],we.prototype,"displayedValuesLimit",void 0),$e([o.property({type:Boolean})],we.prototype,"hideClearButton",void 0),$e([o.query(".ft-filter--slot")],we.prototype,"slotElement",void 0),$e([o.query(".ft-filter--container")],we.prototype,"container",void 0),$e([o.query(".ft-filter--values")],we.prototype,"valuesContainer",void 0),$e([o.query(".ft-filter--levels")],we.prototype,"levelsContainer",void 0),$e([o.query(".ft-filter--levels ft-filter-level:last-child")],we.prototype,"lastLevel",void 0),$e([o.query(".ft-filter--filter input")],we.prototype,"filterInput",void 0),$e([o.queryAll(".ft-filter--levels ft-filter-level")],we.prototype,"levels",void 0),$e([o.state()],we.prototype,"withScroll",void 0),$e([o.state()],we.prototype,"filter",void 0),$e([o.state()],we.prototype,"slideIn",void 0),$e([o.state()],we.prototype,"slideOut",void 0);var ze=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};class Se extends i.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return e.html`
1216
1216
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1217
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Se.elementDefinitions={},ze([o.property({type:String})],Se.prototype,"label",void 0),ze([o.property({type:Object,converter:t=>t})],Se.prototype,"value",void 0),ze([o.property({type:Boolean,reflect:!0})],Se.prototype,"selected",void 0),ze([o.property({type:Object})],Se.prototype,"subOptions",void 0),ze([o.query(".ft-filter-option--slot")],Se.prototype,"slotElement",void 0),i.customElement("ft-filter")(we),i.customElement("ft-filter-option")(Se),t.FtFilter=we,t.FtFilterChangeEvent=ke,t.FtFilterCssVariables=ye,t.FtFilterOption=Se,t.styles=me,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
1217
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Se.elementDefinitions={},ze([o.property({type:String})],Se.prototype,"label",void 0),ze([o.property({type:Object,converter:t=>t})],Se.prototype,"value",void 0),ze([o.property({type:Boolean,reflect:!0})],Se.prototype,"selected",void 0),ze([o.property({type:Object})],Se.prototype,"subOptions",void 0),ze([i.jsonProperty({})],Se.prototype,"renderOption",void 0),ze([o.query(".ft-filter-option--slot")],Se.prototype,"slotElement",void 0),i.customElement("ft-filter")(we),i.customElement("ft-filter-option")(Se),t.FtFilter=we,t.FtFilterChangeEvent=ke,t.FtFilterCssVariables=ye,t.FtFilterOption=Se,t.styles=me,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
@@ -941,7 +941,7 @@ class Ni extends qe{constructor(t){if(super(t),this.it=Y,t.type!==Ze)throw Error
941
941
  margin: 10px 0;
942
942
  color: ${co.colorOnSurfaceMedium};
943
943
  }
944
- `;var fo=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class uo extends $t{constructor(){super(...arguments),this.id="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=this.options;this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return q`
944
+ `;var fo=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class uo extends $t{constructor(){super(...arguments),this.id="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return q`
945
945
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
946
946
  ${null==this.parent?null:q`
947
947
  <div tabindex="0"
@@ -992,7 +992,7 @@ class Ni extends qe{constructor(t){if(super(t),this.it=Y,t.type!==Ze)throw Error
992
992
  .disabled=${this.disabled}
993
993
  .indeterminate=${Ke(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
994
994
  @change=${e=>this.optionsChanged(e,t)}>
995
- ${t.label}
995
+ ${t.renderOption?t.renderOption:t.label}
996
996
  </ft-checkbox>
997
997
  `}buildMonoValuedOption(t){return q`
998
998
  <ft-radio name="${this.id+Math.round(1e6*Math.random())}"
@@ -1003,7 +1003,7 @@ class Ni extends qe{constructor(t){if(super(t),this.it=Y,t.type!==Ze)throw Error
1003
1003
  @click=${e=>this.optionsChanged(e,t)}
1004
1004
  @keyup=${e=>this.onRadioKeyUp(e,t)}
1005
1005
  @change=${t=>t.stopPropagation()}>
1006
- ${t.label}
1006
+ ${t.renderOption?t.renderOption:t.label}
1007
1007
  </ft-radio>
1008
1008
  `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}uo.elementDefinitions={"ft-button":Hi,"ft-ripple":vi,"ft-typography":He,"ft-checkbox":Gi,"ft-icon":Li,"ft-radio":no},uo.styles=po,fo([o({type:String})],uo.prototype,"id",void 0),fo([o({type:Object})],uo.prototype,"parent",void 0),fo([o({type:Array})],uo.prototype,"options",void 0),fo([o({type:Boolean})],uo.prototype,"multivalued",void 0),fo([o({type:Boolean})],uo.prototype,"disabled",void 0),fo([o({type:Boolean})],uo.prototype,"hideSelectedOptions",void 0),fo([o({type:Boolean})],uo.prototype,"preventNavigation",void 0),fo([o({type:String})],uo.prototype,"filter",void 0),fo([o({type:String})],uo.prototype,"moreValuesButtonLabel",void 0),fo([o({type:String})],uo.prototype,"noValuesLabel",void 0),fo([o({type:Number})],uo.prototype,"displayedValuesLimit",void 0),fo([n(".ft-filter-level--container")],uo.prototype,"container",void 0),fo([s()],uo.prototype,"displayedPages",void 0);const vo={buttonsColor:yt.extend("--ft-snap-scroll-buttons-color",gt.colorPrimary),buttonsZIndex:yt.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:yt.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:yt.external(gt.colorSurface,"Design system")},bo=x`
1009
1009
  .ft-snap-scroll {
@@ -1262,14 +1262,14 @@ class Ni extends qe{constructor(t){if(super(t),this.it=Y,t.type!==Ze)throw Error
1262
1262
  slot {
1263
1263
  display: none;
1264
1264
  }
1265
- `];var wo=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class ko extends CustomEvent{constructor(t){super("change",{detail:t})}}class Oo extends $t{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new e(300),this.changeDebouncer=new e(10)}get flatOptions(){return Ke(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}render(){var t,e;const i=this.flatOptions.some((t=>t.selected));let o=this.withScroll||this.filter||null!==(e=null===(t=this.lastLevel)||void 0===t?void 0:t.hasHiddenValues)&&void 0!==e&&e;return q`
1265
+ `];var wo=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class ko extends CustomEvent{constructor(t){super("change",{detail:t})}}class Oo extends $t{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new e(300),this.changeDebouncer=new e(10)}get flatOptions(){return Ke(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}render(){var t,e;const i=this.flatOptions.some((t=>t.selected));let o=this.withScroll||this.filter||null!==(e=null===(t=this.lastLevel)||void 0===t?void 0:t.hasHiddenValues)&&void 0!==e&&e;return q`
1266
1266
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1267
1267
  part="container">
1268
1268
  ${this.label||i?q`
1269
1269
  <div class="ft-filter--header" part="header">
1270
1270
  <ft-typography class="ft-filter--label" variant="overline" part="label">${this.label}
1271
1271
  </ft-typography>
1272
- ${i?q`
1272
+ ${i&&!this.hideClearButton?q`
1273
1273
  <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1274
1274
  ${this.clearButtonLabel}
1275
1275
  </ft-button>
@@ -1316,7 +1316,7 @@ class Ni extends qe{constructor(t){if(super(t),this.it=Y,t.type!==Ze)throw Error
1316
1316
  <ft-filter-level
1317
1317
  class="${t}"
1318
1318
  id="${this.id}"
1319
- filter="${this.filter}"
1319
+ .filter="${this.filter}"
1320
1320
  moreValuesButtonLabel="${this.moreValuesButtonLabel}"
1321
1321
  ?multivalued=${this.multivalued}
1322
1322
  ?disabled=${this.disabled||"ft-filter--level-center"!==t}
@@ -1331,6 +1331,6 @@ class Ni extends qe{constructor(t){if(super(t),this.it=Y,t.type!==Ze)throw Error
1331
1331
  .exportpartsPrefixes=${["values","available-values"]}
1332
1332
  noValuesLabel="${this.noValuesLabel}"
1333
1333
  ></ft-filter-level>
1334
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const i=this.flatOptions.find((e=>e.value===t.detail.value));i.selected=!i.selected;const o=t=>{var e;t!==i&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(o)};this.multivalued?null===(e=i.subOptions)||void 0===e||e.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;const e=this.flatOptions.filter((t=>t.selected)).map((t=>t.value));this.dispatchEvent(new ko(e)),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}Oo.elementDefinitions={"ft-button":Hi,"ft-filter-level":uo,"ft-snap-scroll":go,"ft-typography":He},Oo.styles=$o,wo([o({type:String})],Oo.prototype,"id",void 0),wo([o({type:String})],Oo.prototype,"label",void 0),wo([o({type:String})],Oo.prototype,"filterPlaceHolder",void 0),wo([o({type:String})],Oo.prototype,"clearButtonLabel",void 0),wo([o({type:String})],Oo.prototype,"moreValuesButtonLabel",void 0),wo([o({type:String})],Oo.prototype,"noValuesLabel",void 0),wo([p([])],Oo.prototype,"options",void 0),wo([o({type:Boolean})],Oo.prototype,"multivalued",void 0),wo([o({type:Boolean})],Oo.prototype,"disabled",void 0),wo([o({type:Boolean})],Oo.prototype,"raiseSelectedOptions",void 0),wo([o({type:Number})],Oo.prototype,"displayedValuesLimit",void 0),wo([n(".ft-filter--slot")],Oo.prototype,"slotElement",void 0),wo([n(".ft-filter--container")],Oo.prototype,"container",void 0),wo([n(".ft-filter--values")],Oo.prototype,"valuesContainer",void 0),wo([n(".ft-filter--levels")],Oo.prototype,"levelsContainer",void 0),wo([n(".ft-filter--levels ft-filter-level:last-child")],Oo.prototype,"lastLevel",void 0),wo([n(".ft-filter--filter input")],Oo.prototype,"filterInput",void 0),wo([function(t){return r({descriptor:e=>({get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelectorAll(t))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}(".ft-filter--levels ft-filter-level")],Oo.prototype,"levels",void 0),wo([s()],Oo.prototype,"withScroll",void 0),wo([s()],Oo.prototype,"filter",void 0),wo([s()],Oo.prototype,"slideIn",void 0),wo([s()],Oo.prototype,"slideOut",void 0);var So=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Co extends $t{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return q`
1334
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const i=this.flatOptions.find((e=>e.value===t.detail.value));i.selected=!i.selected;const o=t=>{var e;t!==i&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(o)};this.multivalued?null===(e=i.subOptions)||void 0===e||e.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;const e=this.flatOptions.filter((t=>t.selected)).map((t=>t.value));this.dispatchEvent(new ko(e)),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}Oo.elementDefinitions={"ft-button":Hi,"ft-filter-level":uo,"ft-snap-scroll":go,"ft-typography":He},Oo.styles=$o,wo([o({type:String})],Oo.prototype,"id",void 0),wo([o({type:String})],Oo.prototype,"label",void 0),wo([o({type:String})],Oo.prototype,"filterPlaceHolder",void 0),wo([o({type:String})],Oo.prototype,"clearButtonLabel",void 0),wo([o({type:String})],Oo.prototype,"moreValuesButtonLabel",void 0),wo([o({type:String})],Oo.prototype,"noValuesLabel",void 0),wo([p([])],Oo.prototype,"options",void 0),wo([o({type:Boolean})],Oo.prototype,"multivalued",void 0),wo([o({type:Boolean})],Oo.prototype,"disabled",void 0),wo([o({type:Boolean})],Oo.prototype,"raiseSelectedOptions",void 0),wo([o({type:Number})],Oo.prototype,"displayedValuesLimit",void 0),wo([o({type:Boolean})],Oo.prototype,"hideClearButton",void 0),wo([n(".ft-filter--slot")],Oo.prototype,"slotElement",void 0),wo([n(".ft-filter--container")],Oo.prototype,"container",void 0),wo([n(".ft-filter--values")],Oo.prototype,"valuesContainer",void 0),wo([n(".ft-filter--levels")],Oo.prototype,"levelsContainer",void 0),wo([n(".ft-filter--levels ft-filter-level:last-child")],Oo.prototype,"lastLevel",void 0),wo([n(".ft-filter--filter input")],Oo.prototype,"filterInput",void 0),wo([function(t){return r({descriptor:e=>({get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelectorAll(t))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}(".ft-filter--levels ft-filter-level")],Oo.prototype,"levels",void 0),wo([s()],Oo.prototype,"withScroll",void 0),wo([s()],Oo.prototype,"filter",void 0),wo([s()],Oo.prototype,"slideIn",void 0),wo([s()],Oo.prototype,"slideOut",void 0);var So=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Co extends $t{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return q`
1335
1335
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1336
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Co.elementDefinitions={},So([o({type:String})],Co.prototype,"label",void 0),So([o({type:Object,converter:t=>t})],Co.prototype,"value",void 0),So([o({type:Boolean,reflect:!0})],Co.prototype,"selected",void 0),So([o({type:Object})],Co.prototype,"subOptions",void 0),So([n(".ft-filter-option--slot")],Co.prototype,"slotElement",void 0),c("ft-filter")(Oo),c("ft-filter-option")(Co),t.FtFilter=Oo,t.FtFilterChangeEvent=ko,t.FtFilterCssVariables=mo,t.FtFilterOption=Co,t.styles=$o,Object.defineProperty(t,"i",{value:!0})}({});
1336
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Co.elementDefinitions={},So([o({type:String})],Co.prototype,"label",void 0),So([o({type:Object,converter:t=>t})],Co.prototype,"value",void 0),So([o({type:Boolean,reflect:!0})],Co.prototype,"selected",void 0),So([o({type:Object})],Co.prototype,"subOptions",void 0),So([p({})],Co.prototype,"renderOption",void 0),So([n(".ft-filter-option--slot")],Co.prototype,"slotElement",void 0),c("ft-filter")(Oo),c("ft-filter-option")(Co),t.FtFilter=Oo,t.FtFilterChangeEvent=ko,t.FtFilterCssVariables=mo,t.FtFilterOption=Co,t.styles=$o,Object.defineProperty(t,"i",{value:!0})}({});
@@ -11,5 +11,6 @@ export interface FtFilterProperties {
11
11
  disabled?: boolean;
12
12
  raiseSelectedOptions?: boolean;
13
13
  displayedValuesLimit?: number;
14
+ hideClearButton?: boolean;
14
15
  }
15
16
  //# sourceMappingURL=ft-filter.properties.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-filter",
3
- "version": "0.3.31",
3
+ "version": "0.3.32",
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": "0.3.31",
23
- "@fluid-topics/ft-checkbox": "0.3.31",
24
- "@fluid-topics/ft-icon": "0.3.31",
25
- "@fluid-topics/ft-radio": "0.3.31",
26
- "@fluid-topics/ft-ripple": "0.3.31",
27
- "@fluid-topics/ft-snap-scroll": "0.3.31",
28
- "@fluid-topics/ft-typography": "0.3.31",
29
- "@fluid-topics/ft-wc-utils": "0.3.31",
22
+ "@fluid-topics/ft-button": "0.3.32",
23
+ "@fluid-topics/ft-checkbox": "0.3.32",
24
+ "@fluid-topics/ft-icon": "0.3.32",
25
+ "@fluid-topics/ft-radio": "0.3.32",
26
+ "@fluid-topics/ft-ripple": "0.3.32",
27
+ "@fluid-topics/ft-snap-scroll": "0.3.32",
28
+ "@fluid-topics/ft-typography": "0.3.32",
29
+ "@fluid-topics/ft-wc-utils": "0.3.32",
30
30
  "lit": "2.2.8"
31
31
  },
32
- "gitHead": "65117d677b7174e71b6c695661d333e2a9ac8eae"
32
+ "gitHead": "27bd400b0630590c76a67d175875b5ac7f03f4d9"
33
33
  }