@faststore/components 3.0.40 → 3.0.44

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.
@@ -20,9 +20,9 @@ export interface FilterFacetRangeProps {
20
20
  */
21
21
  facetKey: string;
22
22
  /**
23
- * Formatter function that transforms the raw price value and render the result.
23
+ * Formatter function that transforms the raw value and render the result.
24
24
  */
25
- formatter: (price: number) => string;
25
+ formatter: (value: number) => string;
26
26
  /**
27
27
  * This function is called when `Checkbox` from the facet changes.
28
28
  */
@@ -20,9 +20,9 @@ export interface FilterFacetRangeProps {
20
20
  */
21
21
  facetKey: string;
22
22
  /**
23
- * Formatter function that transforms the raw price value and render the result.
23
+ * Formatter function that transforms the raw value and render the result.
24
24
  */
25
- formatter: (price: number) => string;
25
+ formatter: (value: number) => string;
26
26
  /**
27
27
  * This function is called when `Checkbox` from the facet changes.
28
28
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/components",
3
- "version": "3.0.40",
3
+ "version": "3.0.44",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "typings": "dist/esm/index.d.ts",
@@ -35,8 +35,8 @@
35
35
  "react-dom": "^18.2.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@faststore/eslint-config": "^3.0.40",
39
- "@faststore/shared": "^3.0.40",
38
+ "@faststore/eslint-config": "^3.0.43",
39
+ "@faststore/shared": "^3.0.43",
40
40
  "@testing-library/react": "^14.3.0",
41
41
  "@types/react": "^18.2.42",
42
42
  "@types/react-dom": "^18.2.17",
@@ -49,5 +49,5 @@
49
49
  "volta": {
50
50
  "extends": "../../package.json"
51
51
  },
52
- "gitHead": "0c9cf2d2306ff21a626c3073a54e2ee69aaac919"
52
+ "gitHead": "58bf8cadc618b100f93b82b4b371a9e24bef3e6f"
53
53
  }
@@ -16,9 +16,9 @@ export interface FilterFacetRangeProps {
16
16
  */
17
17
  facetKey: string
18
18
  /**
19
- * Formatter function that transforms the raw price value and render the result.
19
+ * Formatter function that transforms the raw value and render the result.
20
20
  */
21
- formatter: (price: number) => string
21
+ formatter: (value: number) => string
22
22
  /**
23
23
  * This function is called when `Checkbox` from the facet changes.
24
24
  */