@graphcommerce/magento-category 4.1.7 → 4.1.10
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 +33 -0
- package/components/CategoryChildren/CategoryChildren.graphql +1 -0
- package/components/CategoryChildren/CategoryChildren.tsx +1 -1
- package/components/CategoryHeroNav/CategoryHeroNav.graphql +1 -0
- package/components/CategoryHeroNav/CategoryHeroNav.tsx +2 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.1.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1487](https://github.com/graphcommerce-org/graphcommerce/pull/1487) [`13b174d28`](https://github.com/graphcommerce-org/graphcommerce/commit/13b174d28d1886043d9e02aef09c794ff23ea918) Thanks [@paales](https://github.com/paales)! - make sure include_in_menu is respected for CategoryChildren and CategoryHeroNav
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`c63ab89c2`](https://github.com/graphcommerce-org/graphcommerce/commit/c63ab89c20cb81d79188900d57f3d65a7bba71cc), [`afc67103d`](https://github.com/graphcommerce-org/graphcommerce/commit/afc67103d0e00583e274465036fd287537f95e79)]:
|
|
10
|
+
- @graphcommerce/magento-product@4.4.2
|
|
11
|
+
- @graphcommerce/next-ui@4.8.3
|
|
12
|
+
- @graphcommerce/framer-scroller@2.1.14
|
|
13
|
+
- @graphcommerce/magento-store@4.2.7
|
|
14
|
+
|
|
15
|
+
## 4.1.9
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`c8c246b8a`](https://github.com/graphcommerce-org/graphcommerce/commit/c8c246b8aaab0621b68a2fca2a1c529a56fad962)]:
|
|
20
|
+
- @graphcommerce/next-ui@4.8.2
|
|
21
|
+
- @graphcommerce/magento-product@4.4.1
|
|
22
|
+
- @graphcommerce/framer-scroller@2.1.13
|
|
23
|
+
- @graphcommerce/magento-store@4.2.6
|
|
24
|
+
|
|
25
|
+
## 4.1.8
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Updated dependencies [[`a9df81310`](https://github.com/graphcommerce-org/graphcommerce/commit/a9df81310c051876dd82fb2819105dece47cc213), [`55c2dcde7`](https://github.com/graphcommerce-org/graphcommerce/commit/55c2dcde7869ee51b84494af653b3edfd43904a4), [`b359fe252`](https://github.com/graphcommerce-org/graphcommerce/commit/b359fe252a50bb8195601ba97c3eef6a7be146ba), [`f167f9963`](https://github.com/graphcommerce-org/graphcommerce/commit/f167f99630966a7de43717937d43669e66132494)]:
|
|
30
|
+
- @graphcommerce/next-ui@4.8.1
|
|
31
|
+
- @graphcommerce/framer-scroller@2.1.12
|
|
32
|
+
- @graphcommerce/magento-product@4.4.0
|
|
33
|
+
- @graphcommerce/magento-store@4.2.5
|
|
34
|
+
- @graphcommerce/image@3.1.6
|
|
35
|
+
|
|
3
36
|
## 4.1.7
|
|
4
37
|
|
|
5
38
|
### Patch Changes
|
|
@@ -38,7 +38,7 @@ export function CategoryChildren(props: CategoryChildrenProps) {
|
|
|
38
38
|
sx={{ gridAutoColumns: `max-content` }}
|
|
39
39
|
>
|
|
40
40
|
{children.map((cat) => {
|
|
41
|
-
if (!cat?.url_path || !cat.name) return null
|
|
41
|
+
if (!cat?.url_path || !cat.name || !cat.include_in_menu) return null
|
|
42
42
|
|
|
43
43
|
const linkParams = cloneDeep(params)
|
|
44
44
|
linkParams.url = cat.url_path
|
|
@@ -86,7 +86,8 @@ export function CategoryHeroNav({ children, title, asset, sx = [] }: CategoryHer
|
|
|
86
86
|
})}
|
|
87
87
|
>
|
|
88
88
|
{children?.map((category) => {
|
|
89
|
-
if (!category?.url_path || !category.uid || !category.name
|
|
89
|
+
if (!category?.url_path || !category.uid || !category.name || !category.include_in_menu)
|
|
90
|
+
return null
|
|
90
91
|
return (
|
|
91
92
|
<ProductListLink
|
|
92
93
|
underline='none'
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-category",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "4.1.
|
|
5
|
+
"version": "4.1.10",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"type-fest": "^2.12.2"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@graphcommerce/framer-scroller": "2.1.
|
|
22
|
+
"@graphcommerce/framer-scroller": "2.1.14",
|
|
23
23
|
"@graphcommerce/graphql": "3.1.3",
|
|
24
|
-
"@graphcommerce/image": "3.1.
|
|
25
|
-
"@graphcommerce/magento-product": "4.
|
|
26
|
-
"@graphcommerce/magento-store": "4.2.
|
|
27
|
-
"@graphcommerce/next-ui": "4.8.
|
|
24
|
+
"@graphcommerce/image": "3.1.6",
|
|
25
|
+
"@graphcommerce/magento-product": "4.4.2",
|
|
26
|
+
"@graphcommerce/magento-store": "4.2.7",
|
|
27
|
+
"@graphcommerce/next-ui": "4.8.3"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@lingui/react": "^3.13.2",
|