@searchstax-inc/searchstudio-ux-react 0.0.2 → 0.0.5

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/README.md CHANGED
@@ -112,7 +112,7 @@ function InputTemplate(): React.ReactElement {
112
112
  type="text"
113
113
  id="searchstax-search-input"
114
114
  className="searchstax-search-input"
115
- placeholder="SEARCH FOR222..."
115
+ placeholder="SEARCH FOR..."
116
116
  />
117
117
  <button
118
118
  className="searchstax-spinner-icon"
@@ -1,6 +1,6 @@
1
1
  import type { ISearchstaxParsedResult } from '@searchstax-inc/searchstudio-ux-js';
2
2
  declare function SearchstaxResultWidget(props: {
3
- afterLinkClick: (results: ISearchstaxParsedResult[]) => ISearchstaxParsedResult[];
3
+ afterLinkClick: (results: ISearchstaxParsedResult) => ISearchstaxParsedResult;
4
4
  noResultTemplate?: (searchTerm: string, searchSuggestion: string) => React.ReactElement;
5
5
  resultsTemplate?: (results: ISearchstaxParsedResult[], resultClicked: (result: ISearchstaxParsedResult, event: any) => any) => React.ReactElement;
6
6
  }): JSX.Element;
@@ -1,4 +1,4 @@
1
- import Searchstax from '@searchstax-inc/searchstudio-ux-js';
1
+ import type { Searchstax } from '@searchstax-inc/searchstudio-ux-js';
2
2
  declare function SearchstaxWrapper(props: {
3
3
  language?: string;
4
4
  searchURL: string;
@@ -0,0 +1,4 @@
1
+ import { Searchstax } from '@searchstax-inc/searchstudio-ux-js';
2
+ export declare const store: {
3
+ searchstax: Searchstax;
4
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@searchstax-inc/searchstudio-ux-react",
3
3
  "private": false,
4
- "version": "0.0.2",
4
+ "version": "0.0.5",
5
5
  "type": "module",
6
6
  "main": "./dist/searchstudio-ux-react-ts.umd.js",
7
7
  "module": "./dist/searchstudio-ux-react-ts.es.js",
@@ -26,7 +26,7 @@
26
26
  "preview": "vite preview"
27
27
  },
28
28
  "dependencies": {
29
- "@searchstax-inc/searchstudio-ux-js": "^0.0.7",
29
+ "@searchstax-inc/searchstudio-ux-js": "^0.0.9",
30
30
  "react": "^18.2.0",
31
31
  "react-dom": "^18.2.0"
32
32
  },