ninegrid2 6.212.0 → 6.214.0

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.
@@ -18204,8 +18204,9 @@ class ngFilterButton extends HTMLElement
18204
18204
  return this.#filterOptions;
18205
18205
  };
18206
18206
  set filterOptions(v) {
18207
+ console.log(v);
18207
18208
  this.#filterOptions = v;
18208
- this.classList.toggle('filtered', this.#filterOptions.some(filterOption => filterOption.data.length > 0));
18209
+ this.classList.toggle('filtered', this.#filterOptions.some(item => item.data.length > 0));
18209
18210
  }
18210
18211
 
18211
18212
  #onClick = (e) => {
@@ -18202,8 +18202,9 @@ class ngFilterButton extends HTMLElement
18202
18202
  return this.#filterOptions;
18203
18203
  };
18204
18204
  set filterOptions(v) {
18205
+ console.log(v);
18205
18206
  this.#filterOptions = v;
18206
- this.classList.toggle('filtered', this.#filterOptions.some(filterOption => filterOption.data.length > 0));
18207
+ this.classList.toggle('filtered', this.#filterOptions.some(item => item.data.length > 0));
18207
18208
  }
18208
18209
 
18209
18210
  #onClick = (e) => {
@@ -272,8 +272,9 @@ class ngFilterButton extends HTMLElement
272
272
  return this.#filterOptions;
273
273
  };
274
274
  set filterOptions(v) {
275
+ console.log(v);
275
276
  this.#filterOptions = v;
276
- this.classList.toggle('filtered', this.#filterOptions.some(filterOption => filterOption.data.length > 0));
277
+ this.classList.toggle('filtered', this.#filterOptions.some(item => item.data.length > 0));
277
278
  }
278
279
 
279
280
  #onClick = (e) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.212.0",
4
+ "version": "6.214.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -272,8 +272,9 @@ class ngFilterButton extends HTMLElement
272
272
  return this.#filterOptions;
273
273
  };
274
274
  set filterOptions(v) {
275
+ console.log(v);
275
276
  this.#filterOptions = v;
276
- this.classList.toggle('filtered', this.#filterOptions.some(filterOption => filterOption.data.length > 0));
277
+ this.classList.toggle('filtered', this.#filterOptions.some(item => item.data.length > 0));
277
278
  }
278
279
 
279
280
  #onClick = (e) => {