@fluid-topics/ft-search-context 1.2.11 → 1.2.13

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.
@@ -57,4 +57,5 @@ export declare class FtSearchStateManager {
57
57
  private cancelableSuggest;
58
58
  private fetchSuggestData;
59
59
  clear(): void;
60
+ clearResults(): void;
60
61
  }
@@ -298,4 +298,10 @@ export class FtSearchStateManager {
298
298
  clear() {
299
299
  this.store.clear();
300
300
  }
301
+ clearResults() {
302
+ this.store.actions.paging(undefined);
303
+ this.store.actions.results(undefined);
304
+ this.store.actions.facets(undefined);
305
+ this.store.actions.spellcheck(undefined);
306
+ }
301
307
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-context",
3
- "version": "1.2.11",
3
+ "version": "1.2.13",
4
4
  "description": "Context block for integrated search components",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-app-context": "1.2.11",
23
- "@fluid-topics/ft-wc-utils": "1.2.11",
22
+ "@fluid-topics/ft-app-context": "1.2.13",
23
+ "@fluid-topics/ft-wc-utils": "1.2.13",
24
24
  "lit": "3.1.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@fluid-topics/public-api": "1.0.79"
27
+ "@fluid-topics/public-api": "1.0.80"
28
28
  },
29
- "gitHead": "e064cf26299976a55c5adb3c602fed2dc076557b"
29
+ "gitHead": "44f94b46e9d633901e2cd64a765fda2ca4e5f9df"
30
30
  }