@searchstax-inc/searchstudio-ux-react 4.1.66 → 4.1.68

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/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Change Log
2
2
 
3
3
  All notable changes to the "searchstudio-ux-react" project will be documented in this file.
4
+ ## [4.1.68]
5
+ ### Features
6
+ - AfterSearch hook now has a second parameter of unparsed search response
7
+ - Standalone input widget added to v4
8
+ - accessibility: Pagination navigation now focuses results section
4
9
 
5
10
  ## [4.1.66]
6
11
  ### Bug Fixes
@@ -1,4 +1,4 @@
1
- import type { Searchstax } from "@searchstax-inc/searchstudio-ux-js";
1
+ import type { ISearchstaxSearchResponse, Searchstax } from "@searchstax-inc/searchstudio-ux-js";
2
2
  import type { IRouterConfig, ISearchObject, ISearchstaxParsedResult } from "@searchstax-inc/searchstudio-ux-js";
3
3
  declare function SearchstaxWrapper(props: {
4
4
  language?: string;
@@ -15,7 +15,7 @@ declare function SearchstaxWrapper(props: {
15
15
  autoCorrect?: boolean;
16
16
  router?: IRouterConfig;
17
17
  beforeSearch?: (props: ISearchObject) => ISearchObject | null;
18
- afterSearch?: (results: ISearchstaxParsedResult[]) => ISearchstaxParsedResult[];
18
+ afterSearch?: (results: ISearchstaxParsedResult[], unparsedResponse?: ISearchstaxSearchResponse) => ISearchstaxParsedResult[];
19
19
  children: any;
20
20
  initialized: (searchstax: Searchstax) => void;
21
21
  }): import("react/jsx-runtime").JSX.Element;