@usereactify/search 2.1.0-beta.1 → 2.1.0-beta.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
@@ -38,4 +38,9 @@ npm run storybook
38
38
 
39
39
  # release a version
40
40
  npm run release
41
+
42
+ # release a beta version
43
+ npm run release -- --prerelease beta
44
+
45
+ npm publish --tag beta
41
46
  ```
@@ -28,10 +28,12 @@ const ResultCard = (_a) => {
28
28
  const handleClick = react_1.default.useCallback((e) => {
29
29
  e.preventDefault();
30
30
  const { id } = product;
31
+ console.log("tracking click product event");
31
32
  track({
32
33
  eventName: "select_item",
33
34
  id,
34
35
  }).then(() => {
36
+ console.log("tracking click product event finished");
35
37
  window.location.href = `/products/${product.handle}`;
36
38
  });
37
39
  }, [track, product]);
@@ -0,0 +1,12 @@
1
+ export interface ReactivesearchFilterProps {
2
+ loading: boolean;
3
+ error: Error | null;
4
+ handleChange: () => void;
5
+ data: {
6
+ doc_count: number;
7
+ key: string;
8
+ }[];
9
+ value: string | {
10
+ [key: string]: boolean;
11
+ };
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // props passed to SingleList/MultiList.render
3
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@usereactify/search",
3
3
  "description": "React UI library for Reactify Search",
4
- "version": "2.1.0-beta.1",
4
+ "version": "2.1.0-beta.5",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",