@graphcommerce/magento-search 9.0.0-canary.115 → 9.0.0-canary.116
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,5 +1,11 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 9.0.0-canary.116
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#2452](https://github.com/graphcommerce-org/graphcommerce/pull/2452) [`5dfd3b2`](https://github.com/graphcommerce-org/graphcommerce/commit/5dfd3b201255ef35263485d04153d37bb7e4fe67) - Renamed useInContextQuery to usePrivateQuery ([@paales](https://github.com/paales))
|
8
|
+
|
3
9
|
## 9.0.0-canary.115
|
4
10
|
|
5
11
|
## 9.0.0-canary.114
|
@@ -9,6 +9,10 @@ const name = 'NoSearchResults'
|
|
9
9
|
const parts = ['root'] as const
|
10
10
|
const { classes } = extendableComponent(name, parts)
|
11
11
|
|
12
|
+
/**
|
13
|
+
* @deprecated
|
14
|
+
* @public
|
15
|
+
*/
|
12
16
|
export function NoSearchResults(props: NoSearchResultsProps) {
|
13
17
|
const { sx = [] } = props
|
14
18
|
|
package/hooks/useProductList.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { usePrivateQuery, useQuery } from '@graphcommerce/graphql'
|
2
2
|
import type {
|
3
3
|
FilterFormProviderProps,
|
4
4
|
ProductFiltersQuery,
|
@@ -33,8 +33,8 @@ export function useProductList<
|
|
33
33
|
>(props: T) {
|
34
34
|
const { params, shallow } = useRouterFilterParams(props)
|
35
35
|
const variables = useProductListApplySearchDefaults(params)
|
36
|
-
const result =
|
37
|
-
const filters =
|
36
|
+
const result = usePrivateQuery(ProductListDocument, { variables, skip: !shallow }, props)
|
37
|
+
const filters = usePrivateQuery(
|
38
38
|
ProductFiltersDocument,
|
39
39
|
{ variables: searchDefaultsToProductListFilters(variables), skip: !shallow },
|
40
40
|
props,
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@graphcommerce/magento-search",
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
5
|
-
"version": "9.0.0-canary.
|
5
|
+
"version": "9.0.0-canary.116",
|
6
6
|
"sideEffects": false,
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
8
8
|
"eslintConfig": {
|
@@ -12,16 +12,16 @@
|
|
12
12
|
}
|
13
13
|
},
|
14
14
|
"peerDependencies": {
|
15
|
-
"@graphcommerce/ecommerce-ui": "^9.0.0-canary.
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.
|
17
|
-
"@graphcommerce/graphql": "^9.0.0-canary.
|
18
|
-
"@graphcommerce/image": "^9.0.0-canary.
|
19
|
-
"@graphcommerce/magento-product": "^9.0.0-canary.
|
20
|
-
"@graphcommerce/magento-store": "^9.0.0-canary.
|
21
|
-
"@graphcommerce/next-ui": "^9.0.0-canary.
|
22
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
23
|
-
"@graphcommerce/react-hook-form": "^9.0.0-canary.
|
24
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.
|
15
|
+
"@graphcommerce/ecommerce-ui": "^9.0.0-canary.116",
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.116",
|
17
|
+
"@graphcommerce/graphql": "^9.0.0-canary.116",
|
18
|
+
"@graphcommerce/image": "^9.0.0-canary.116",
|
19
|
+
"@graphcommerce/magento-product": "^9.0.0-canary.116",
|
20
|
+
"@graphcommerce/magento-store": "^9.0.0-canary.116",
|
21
|
+
"@graphcommerce/next-ui": "^9.0.0-canary.116",
|
22
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.116",
|
23
|
+
"@graphcommerce/react-hook-form": "^9.0.0-canary.116",
|
24
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.116",
|
25
25
|
"@lingui/core": "^4.2.1",
|
26
26
|
"@lingui/macro": "^4.2.1",
|
27
27
|
"@lingui/react": "^4.2.1",
|