@graphcommerce/magento-category 4.0.1 → 4.0.4
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 +138 -179
- package/components/CategoryChildren/CategoryChildren.tsx +1 -1
- package/components/CategoryDescription/CategoryDescription.tsx +1 -1
- package/components/CategoryHeroNav/CategoryHeroNav.tsx +1 -1
- package/components/CategoryHeroNav/CategoryHeroNavTitle.tsx +1 -1
- package/components/CategoryMeta/CategoryMeta.tsx +1 -2
- package/index.ts +5 -5
- package/package.json +15 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,61 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655) Thanks [@paales](https://github.com/paales)! - All default exports are now named exports internally and all `index.tsx` are renamed to the component name.
|
|
8
|
+
|
|
9
|
+
* [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef) Thanks [@paales](https://github.com/paales)! - upgrade dependencies
|
|
10
|
+
|
|
11
|
+
* Updated dependencies [[`3d63b39f7`](https://github.com/ho-nl/m2-pwa/commit/3d63b39f7e330d1827a32dba782667d7b21adaba), [`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655), [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef)]:
|
|
12
|
+
- @graphcommerce/next-ui@4.2.4
|
|
13
|
+
- @graphcommerce/framer-scroller@2.0.6
|
|
14
|
+
- @graphcommerce/graphql@3.0.4
|
|
15
|
+
- @graphcommerce/image@3.1.1
|
|
16
|
+
- @graphcommerce/magento-product@4.0.6
|
|
17
|
+
- @graphcommerce/magento-store@4.1.2
|
|
18
|
+
|
|
19
|
+
## 4.0.3
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
|
|
24
|
+
|
|
25
|
+
* [#1278](https://github.com/ho-nl/m2-pwa/pull/1278) [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20) Thanks [@ErwinOtten](https://github.com/ErwinOtten)! - Upgraded dependencies to the latest version
|
|
26
|
+
|
|
27
|
+
* Updated dependencies [[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96), [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20), [`3a719c88c`](https://github.com/ho-nl/m2-pwa/commit/3a719c88cad1eab58602de28c41adc0fc4827e1d), [`5ffcb56bf`](https://github.com/ho-nl/m2-pwa/commit/5ffcb56bfcbe49ebeaf24f9341e819a145ab9a14)]:
|
|
28
|
+
- @graphcommerce/framer-scroller@2.0.3
|
|
29
|
+
- @graphcommerce/graphql@3.0.3
|
|
30
|
+
- @graphcommerce/image@3.1.0
|
|
31
|
+
- @graphcommerce/magento-product@4.0.3
|
|
32
|
+
- @graphcommerce/magento-store@4.0.3
|
|
33
|
+
- @graphcommerce/next-ui@4.1.2
|
|
34
|
+
|
|
35
|
+
## 4.0.2
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2) Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from `dependencies` to `peerDependencies`. The result of this is that there will be significantly less duplicate packages in the node_modules folders.
|
|
40
|
+
|
|
41
|
+
* [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d) Thanks [@paales](https://github.com/paales)! - Upgraded to [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be implementing [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta) soon.
|
|
42
|
+
|
|
43
|
+
This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the frontend to be able to revalidate pages manually.
|
|
44
|
+
|
|
45
|
+
* Updated dependencies [[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7), [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2), [`e7c8e2756`](https://github.com/ho-nl/m2-pwa/commit/e7c8e2756d637cbcd2e793d62ef5721d35d9fa7b), [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275), [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)]:
|
|
46
|
+
- @graphcommerce/next-ui@4.1.1
|
|
47
|
+
- @graphcommerce/framer-scroller@2.0.2
|
|
48
|
+
- @graphcommerce/graphql@3.0.2
|
|
49
|
+
- @graphcommerce/image@3.0.2
|
|
50
|
+
- @graphcommerce/magento-product@4.0.2
|
|
51
|
+
- @graphcommerce/magento-store@4.0.2
|
|
52
|
+
|
|
3
53
|
## 4.0.1
|
|
4
54
|
|
|
5
55
|
### Patch Changes
|
|
6
56
|
|
|
7
|
-
- [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
|
|
8
|
-
|
|
9
|
-
so that the packages link to back to the website and repository
|
|
10
|
-
- Updated dependencies
|
|
11
|
-
[[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
|
|
57
|
+
- [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514) Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files, so that the packages link to back to the website and repository
|
|
58
|
+
- Updated dependencies [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
|
|
12
59
|
- @graphcommerce/framer-scroller@2.0.1
|
|
13
60
|
- @graphcommerce/graphql@3.0.1
|
|
14
61
|
- @graphcommerce/image@3.0.1
|
|
@@ -20,14 +67,11 @@
|
|
|
20
67
|
|
|
21
68
|
### Major Changes
|
|
22
69
|
|
|
23
|
-
- [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
|
|
24
|
-
[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
|
|
25
|
-
Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
|
|
70
|
+
- [#1258](https://github.com/ho-nl/m2-pwa/pull/1258) [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05) Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
|
|
26
71
|
|
|
27
72
|
### Patch Changes
|
|
28
73
|
|
|
29
|
-
- Updated dependencies
|
|
30
|
-
[[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
|
|
74
|
+
- Updated dependencies [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
|
|
31
75
|
- @graphcommerce/framer-scroller@2.0.0
|
|
32
76
|
- @graphcommerce/graphql@3.0.0
|
|
33
77
|
- @graphcommerce/image@3.0.0
|
|
@@ -35,118 +79,96 @@
|
|
|
35
79
|
- @graphcommerce/magento-store@4.0.0
|
|
36
80
|
- @graphcommerce/next-ui@4.0.0
|
|
37
81
|
|
|
38
|
-
All notable changes to this project will be documented in this file. See
|
|
39
|
-
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
82
|
+
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
40
83
|
|
|
41
84
|
## [3.5.2](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@3.5.1...@graphcommerce/magento-category@3.5.2) (2021-12-03)
|
|
42
85
|
|
|
43
86
|
### Bug Fixes
|
|
44
87
|
|
|
45
|
-
- spacing of LayoutTItle
|
|
46
|
-
([7afcd31](https://github.com/ho-nl/m2-pwa/commit/7afcd3163d16e902cf2ff7917f56ee6a8798f55b))
|
|
88
|
+
- spacing of LayoutTItle ([7afcd31](https://github.com/ho-nl/m2-pwa/commit/7afcd3163d16e902cf2ff7917f56ee6a8798f55b))
|
|
47
89
|
|
|
48
90
|
# [3.5.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@3.4.4...@graphcommerce/magento-category@3.5.0) (2021-12-01)
|
|
49
91
|
|
|
50
92
|
### Features
|
|
51
93
|
|
|
52
|
-
- borderRadius based on theme.shape.borderRadius
|
|
53
|
-
|
|
54
|
-
- introduce borderRadius
|
|
55
|
-
([183afbc](https://github.com/ho-nl/m2-pwa/commit/183afbc8ee269f6694c372b06afdf41302f86c09))
|
|
94
|
+
- borderRadius based on theme.shape.borderRadius ([7c34937](https://github.com/ho-nl/m2-pwa/commit/7c349376cd41a131c628324c299106fdb7e60484))
|
|
95
|
+
- introduce borderRadius ([183afbc](https://github.com/ho-nl/m2-pwa/commit/183afbc8ee269f6694c372b06afdf41302f86c09))
|
|
56
96
|
|
|
57
97
|
# [3.4.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@3.3.29...@graphcommerce/magento-category@3.4.0) (2021-11-12)
|
|
58
98
|
|
|
59
99
|
### Features
|
|
60
100
|
|
|
61
|
-
- added tons of translations
|
|
62
|
-
([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
|
|
101
|
+
- added tons of translations ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
|
|
63
102
|
|
|
64
103
|
## [3.3.28](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@3.3.27...@graphcommerce/magento-category@3.3.28) (2021-11-12)
|
|
65
104
|
|
|
66
105
|
### Bug Fixes
|
|
67
106
|
|
|
68
|
-
- fix spacing category video
|
|
69
|
-
|
|
70
|
-
- safari video height stretch fix
|
|
71
|
-
([76a800b](https://github.com/ho-nl/m2-pwa/commit/76a800b80bd29fd92f55ff9d9e24bb8e1bfdf830))
|
|
107
|
+
- fix spacing category video ([592f569](https://github.com/ho-nl/m2-pwa/commit/592f5690b28a423f10efaa4e685fdf7aaa9260dd))
|
|
108
|
+
- safari video height stretch fix ([76a800b](https://github.com/ho-nl/m2-pwa/commit/76a800b80bd29fd92f55ff9d9e24bb8e1bfdf830))
|
|
72
109
|
|
|
73
110
|
## [3.3.26](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@3.3.25...@graphcommerce/magento-category@3.3.26) (2021-11-11)
|
|
74
111
|
|
|
75
112
|
### Bug Fixes
|
|
76
113
|
|
|
77
|
-
- **category-hero-nav:** category children mobile styles
|
|
78
|
-
|
|
79
|
-
- **category-hero-nav:**
|
|
80
|
-
([2921dde](https://github.com/ho-nl/m2-pwa/commit/2921ddec4731e19c1ccb11f941ec59826a1f908d))
|
|
81
|
-
- **category-hero-nav:** spacing
|
|
82
|
-
([94de2cf](https://github.com/ho-nl/m2-pwa/commit/94de2cf7be9c82a6408dbe33438275051d57143d))
|
|
114
|
+
- **category-hero-nav:** category children mobile styles ([7928853](https://github.com/ho-nl/m2-pwa/commit/79288538bb3b99682a7beea22223d35106a5d9c2))
|
|
115
|
+
- **category-hero-nav:** category positioning ([2921dde](https://github.com/ho-nl/m2-pwa/commit/2921ddec4731e19c1ccb11f941ec59826a1f908d))
|
|
116
|
+
- **category-hero-nav:** spacing ([94de2cf](https://github.com/ho-nl/m2-pwa/commit/94de2cf7be9c82a6408dbe33438275051d57143d))
|
|
83
117
|
|
|
84
118
|
## [3.3.6](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@3.3.5...@graphcommerce/magento-category@3.3.6) (2021-11-02)
|
|
85
119
|
|
|
86
120
|
### Bug Fixes
|
|
87
121
|
|
|
88
|
-
- darkMode
|
|
89
|
-
([c7573de](https://github.com/ho-nl/m2-pwa/commit/c7573de6bb80643b26931c35ac61735539e7fbf0))
|
|
122
|
+
- darkMode ([c7573de](https://github.com/ho-nl/m2-pwa/commit/c7573de6bb80643b26931c35ac61735539e7fbf0))
|
|
90
123
|
|
|
91
124
|
## [3.3.3](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@3.3.2...@graphcommerce/magento-category@3.3.3) (2021-11-01)
|
|
92
125
|
|
|
93
126
|
### Bug Fixes
|
|
94
127
|
|
|
95
|
-
- category page design fixs
|
|
96
|
-
([d3fccc2](https://github.com/ho-nl/m2-pwa/commit/d3fccc2a86106b854e9a1fd89040a248fe20c99a))
|
|
128
|
+
- category page design fixs ([d3fccc2](https://github.com/ho-nl/m2-pwa/commit/d3fccc2a86106b854e9a1fd89040a248fe20c99a))
|
|
97
129
|
|
|
98
130
|
## [3.3.2](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@3.3.1...@graphcommerce/magento-category@3.3.2) (2021-10-29)
|
|
99
131
|
|
|
100
132
|
### Bug Fixes
|
|
101
133
|
|
|
102
|
-
- spacing of title on category landing on mobile
|
|
103
|
-
([8ed3550](https://github.com/ho-nl/m2-pwa/commit/8ed35502fd231d1d6a8e0a282f8961335d9dead3))
|
|
134
|
+
- spacing of title on category landing on mobile ([8ed3550](https://github.com/ho-nl/m2-pwa/commit/8ed35502fd231d1d6a8e0a282f8961335d9dead3))
|
|
104
135
|
|
|
105
136
|
# [3.3.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@3.2.2...@graphcommerce/magento-category@3.3.0) (2021-10-28)
|
|
106
137
|
|
|
107
138
|
### Bug Fixes
|
|
108
139
|
|
|
109
|
-
- category h2 styling
|
|
110
|
-
|
|
111
|
-
-
|
|
112
|
-
([574208c](https://github.com/ho-nl/m2-pwa/commit/574208ca71e6ed387f1f355d5c4a22f5c13783ea))
|
|
113
|
-
- subtitles
|
|
114
|
-
([9ef1d8b](https://github.com/ho-nl/m2-pwa/commit/9ef1d8b9079c50340015e482fe6f1bf577610269))
|
|
140
|
+
- category h2 styling ([5b26f2b](https://github.com/ho-nl/m2-pwa/commit/5b26f2b92f55356c58cc207fa028d03a38a8b16a))
|
|
141
|
+
- remove legacy, title from category description ([574208c](https://github.com/ho-nl/m2-pwa/commit/574208ca71e6ed387f1f355d5c4a22f5c13783ea))
|
|
142
|
+
- subtitles ([9ef1d8b](https://github.com/ho-nl/m2-pwa/commit/9ef1d8b9079c50340015e482fe6f1bf577610269))
|
|
115
143
|
|
|
116
144
|
### Features
|
|
117
145
|
|
|
118
|
-
- set correct font sizes
|
|
119
|
-
([9317448](https://github.com/ho-nl/m2-pwa/commit/9317448c94a9fb4408dfbcaa320adccc363964d0))
|
|
146
|
+
- set correct font sizes ([9317448](https://github.com/ho-nl/m2-pwa/commit/9317448c94a9fb4408dfbcaa320adccc363964d0))
|
|
120
147
|
|
|
121
148
|
# [3.2.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@3.1.7...@graphcommerce/magento-category@3.2.0) (2021-10-27)
|
|
122
149
|
|
|
123
150
|
### Features
|
|
124
151
|
|
|
125
|
-
- **nextjs:** upgraded to nextjs 12
|
|
126
|
-
([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
|
|
152
|
+
- **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
|
|
127
153
|
|
|
128
154
|
## [3.1.2](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@3.1.1...@graphcommerce/magento-category@3.1.2) (2021-10-19)
|
|
129
155
|
|
|
130
156
|
### Bug Fixes
|
|
131
157
|
|
|
132
|
-
- positioning children categories
|
|
133
|
-
([33568ee](https://github.com/ho-nl/m2-pwa/commit/33568ee7a798f8cab149b6c23b6e044d81642f53))
|
|
158
|
+
- positioning children categories ([33568ee](https://github.com/ho-nl/m2-pwa/commit/33568ee7a798f8cab149b6c23b6e044d81642f53))
|
|
134
159
|
|
|
135
160
|
# [3.1.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@3.0.30...@graphcommerce/magento-category@3.1.0) (2021-10-19)
|
|
136
161
|
|
|
137
162
|
### Features
|
|
138
163
|
|
|
139
|
-
- **framer-scroller:** better defaults so the Scroller doesn't look broken when providing no props
|
|
140
|
-
([b177ce9](https://github.com/ho-nl/m2-pwa/commit/b177ce9570abb9ccfd4eb5cc34e43d157bb4e81a))
|
|
164
|
+
- **framer-scroller:** better defaults so the Scroller doesn't look broken when providing no props ([b177ce9](https://github.com/ho-nl/m2-pwa/commit/b177ce9570abb9ccfd4eb5cc34e43d157bb4e81a))
|
|
141
165
|
|
|
142
166
|
## [3.0.11](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@3.0.10...@graphcommerce/magento-category@3.0.11) (2021-10-04)
|
|
143
167
|
|
|
144
168
|
### Bug Fixes
|
|
145
169
|
|
|
146
|
-
- **category-childeren:** scrollbar shown
|
|
147
|
-
|
|
148
|
-
- **category-children:** scrollbar shown
|
|
149
|
-
([3ccc78b](https://github.com/ho-nl/m2-pwa/commit/3ccc78b329fa844c57bfeb2406c593d0533039d2))
|
|
170
|
+
- **category-childeren:** scrollbar shown ([638e3ef](https://github.com/ho-nl/m2-pwa/commit/638e3efea3a537f90d23fb2f8953a62acb370288))
|
|
171
|
+
- **category-children:** scrollbar shown ([3ccc78b](https://github.com/ho-nl/m2-pwa/commit/3ccc78b329fa844c57bfeb2406c593d0533039d2))
|
|
150
172
|
|
|
151
173
|
## [3.0.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@3.0.0...@graphcommerce/magento-category@3.0.1) (2021-09-27)
|
|
152
174
|
|
|
@@ -156,125 +178,72 @@ All notable changes to this project will be documented in this file. See
|
|
|
156
178
|
|
|
157
179
|
### Bug Fixes
|
|
158
180
|
|
|
159
|
-
- **app-shell-header:** title offset top not correctly set
|
|
160
|
-
|
|
161
|
-
-
|
|
162
|
-
|
|
163
|
-
-
|
|
164
|
-
|
|
165
|
-
-
|
|
166
|
-
|
|
167
|
-
-
|
|
168
|
-
|
|
169
|
-
-
|
|
170
|
-
|
|
171
|
-
-
|
|
172
|
-
|
|
173
|
-
-
|
|
174
|
-
|
|
175
|
-
-
|
|
176
|
-
|
|
177
|
-
-
|
|
178
|
-
|
|
179
|
-
-
|
|
180
|
-
|
|
181
|
-
- ignore md files from triggering version updates
|
|
182
|
-
([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
|
|
183
|
-
- implement next-ui barrel imports
|
|
184
|
-
([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
|
|
185
|
-
- remove conflicting files
|
|
186
|
-
([0c17ae4](https://github.com/ho-nl/m2-pwa/commit/0c17ae46be62b775ac83b35f11c532ce2d9401a3))
|
|
187
|
-
- remove magento-category package from magento-product solving a circular dependency
|
|
188
|
-
([7379e6e](https://github.com/ho-nl/m2-pwa/commit/7379e6ede4829392b35008c17743181d9cac0636))
|
|
189
|
-
- search page routes
|
|
190
|
-
([4161179](https://github.com/ho-nl/m2-pwa/commit/4161179aaf2ecbc0fde0efbba891a7b85524e283))
|
|
191
|
-
- since all links are of next/link we need to add passHref for custom components
|
|
192
|
-
([16fb931](https://github.com/ho-nl/m2-pwa/commit/16fb93100d367203ea79bb4f93357221253f2ecd))
|
|
193
|
-
- solve issue if an attribute was named ‘size’
|
|
194
|
-
([dab088e](https://github.com/ho-nl/m2-pwa/commit/dab088ed5f1a2916dc991a7d5c0b8d703a2ea3b7))
|
|
195
|
-
- spelling errors, wrong imports
|
|
196
|
-
([01cb889](https://github.com/ho-nl/m2-pwa/commit/01cb889513d69ce0555ac7aaa1a37702d75b0a0d))
|
|
197
|
-
- update magento-product imports
|
|
198
|
-
([63621b4](https://github.com/ho-nl/m2-pwa/commit/63621b44be7149014f4a5af8ac87ad1c4b0327be))
|
|
199
|
-
- word-break for category hero nav
|
|
200
|
-
([be47595](https://github.com/ho-nl/m2-pwa/commit/be4759519a23889950430d60a9264d9806df552c))
|
|
201
|
-
- yarn workspace packages hot reload
|
|
202
|
-
([d03fc9f](https://github.com/ho-nl/m2-pwa/commit/d03fc9fdda3486476761786f2b56a934cc92befc))
|
|
181
|
+
- **app-shell-header:** title offset top not correctly set ([c144309](https://github.com/ho-nl/m2-pwa/commit/c1443095317c1779074f3a4058f4041159c8e31b))
|
|
182
|
+
- **app-shell:** pages after app shell changes ([fb74510](https://github.com/ho-nl/m2-pwa/commit/fb74510121f6124009db72ad2ddebf6459c52a85))
|
|
183
|
+
- canonical urls ([9ff8d3f](https://github.com/ho-nl/m2-pwa/commit/9ff8d3f950098fb28440f31f5dd93a835dce0bda))
|
|
184
|
+
- category children and swatch renderer ([1ee008d](https://github.com/ho-nl/m2-pwa/commit/1ee008d9ecf3bf5ec4b2d82243e4bcbbec384411))
|
|
185
|
+
- category children mobile positioning ([fafa02d](https://github.com/ho-nl/m2-pwa/commit/fafa02d393919cdb7f89d72afa17da07228f8093))
|
|
186
|
+
- category hero nav margin top ([31f8dee](https://github.com/ho-nl/m2-pwa/commit/31f8deed1d545d78bb856d4cfdfe0c7ec8671308))
|
|
187
|
+
- CategoryHeroNav styles ([6f185e7](https://github.com/ho-nl/m2-pwa/commit/6f185e74ee4c756efdf94ebcdee9b4593077f415))
|
|
188
|
+
- empty grid rows still have a gap ([7ba50c7](https://github.com/ho-nl/m2-pwa/commit/7ba50c740aa7ac5133b933b3e6a22fab853b55a6))
|
|
189
|
+
- filters sometimes do not apply ([b8bc412](https://github.com/ho-nl/m2-pwa/commit/b8bc4122c82c6b27bdc76481dd6ece1da021266a))
|
|
190
|
+
- **framer-next-page:** usePageRouter in SharedLayout ([c2fb164](https://github.com/ho-nl/m2-pwa/commit/c2fb164b342770089b787378a3f79529c36d2152))
|
|
191
|
+
- getStaticPaths shouldn’t have the url suffix ([0fc9e1c](https://github.com/ho-nl/m2-pwa/commit/0fc9e1cec78ba653e32de042fb60a3ca88eb494d))
|
|
192
|
+
- ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
|
|
193
|
+
- implement next-ui barrel imports ([75bea70](https://github.com/ho-nl/m2-pwa/commit/75bea703dba898f18a2a1dfa3243ebd0a4e6f0e1))
|
|
194
|
+
- remove conflicting files ([0c17ae4](https://github.com/ho-nl/m2-pwa/commit/0c17ae46be62b775ac83b35f11c532ce2d9401a3))
|
|
195
|
+
- remove magento-category package from magento-product solving a circular dependency ([7379e6e](https://github.com/ho-nl/m2-pwa/commit/7379e6ede4829392b35008c17743181d9cac0636))
|
|
196
|
+
- search page routes ([4161179](https://github.com/ho-nl/m2-pwa/commit/4161179aaf2ecbc0fde0efbba891a7b85524e283))
|
|
197
|
+
- since all links are of next/link we need to add passHref for custom components ([16fb931](https://github.com/ho-nl/m2-pwa/commit/16fb93100d367203ea79bb4f93357221253f2ecd))
|
|
198
|
+
- solve issue if an attribute was named ‘size’ ([dab088e](https://github.com/ho-nl/m2-pwa/commit/dab088ed5f1a2916dc991a7d5c0b8d703a2ea3b7))
|
|
199
|
+
- spelling errors, wrong imports ([01cb889](https://github.com/ho-nl/m2-pwa/commit/01cb889513d69ce0555ac7aaa1a37702d75b0a0d))
|
|
200
|
+
- update magento-product imports ([63621b4](https://github.com/ho-nl/m2-pwa/commit/63621b44be7149014f4a5af8ac87ad1c4b0327be))
|
|
201
|
+
- word-break for category hero nav ([be47595](https://github.com/ho-nl/m2-pwa/commit/be4759519a23889950430d60a9264d9806df552c))
|
|
202
|
+
- yarn workspace packages hot reload ([d03fc9f](https://github.com/ho-nl/m2-pwa/commit/d03fc9fdda3486476761786f2b56a934cc92befc))
|
|
203
203
|
|
|
204
204
|
### Features
|
|
205
205
|
|
|
206
|
-
- add barrel file for magento-category
|
|
207
|
-
|
|
208
|
-
- add
|
|
209
|
-
|
|
210
|
-
-
|
|
211
|
-
|
|
212
|
-
-
|
|
213
|
-
|
|
214
|
-
-
|
|
215
|
-
|
|
216
|
-
-
|
|
217
|
-
|
|
218
|
-
-
|
|
219
|
-
|
|
220
|
-
-
|
|
221
|
-
|
|
222
|
-
-
|
|
223
|
-
|
|
224
|
-
-
|
|
225
|
-
|
|
226
|
-
- **
|
|
227
|
-
|
|
228
|
-
-
|
|
229
|
-
|
|
230
|
-
-
|
|
231
|
-
|
|
232
|
-
- i18n routing added (/ and /fr for demo)
|
|
233
|
-
([bb3b339](https://github.com/ho-nl/m2-pwa/commit/bb3b339fbc9fceddd264a891ad81f00327a241ae))
|
|
234
|
-
- **image:** introduced completely rewritten Image component
|
|
235
|
-
([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
|
|
236
|
-
- introduced magento-product-types package
|
|
237
|
-
([1a0932b](https://github.com/ho-nl/m2-pwa/commit/1a0932b5d882608dcf8fd2e3b17ee9868f5f5776))
|
|
238
|
-
- introduces framer-next-pages and framer-sheet to next-ui and soxbase package
|
|
239
|
-
([e04ad8a](https://github.com/ho-nl/m2-pwa/commit/e04ad8a94cd1fd5a7c5575c9db7916b6e8a88f16))
|
|
240
|
-
- **magento-graphql:** added core magentoTypePolicies
|
|
241
|
-
([bdf15d0](https://github.com/ho-nl/m2-pwa/commit/bdf15d0d3c04e88339a8385d76f3b1ab9589fde3))
|
|
242
|
-
- major performance refactor
|
|
243
|
-
([03f8e2f](https://github.com/ho-nl/m2-pwa/commit/03f8e2fa16ef919bd6bd6eadd36922d0245ed960))
|
|
244
|
-
- next.js 11
|
|
245
|
-
([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
|
|
246
|
-
- **playwright:** added new playwright package to enable browser testing
|
|
247
|
-
([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
|
248
|
-
- remove wrapper div from ScrollSnapSlider
|
|
249
|
-
([476add8](https://github.com/ho-nl/m2-pwa/commit/476add8db64811f2c7e3fc482487967cd7573cf6))
|
|
250
|
-
- renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
|
|
251
|
-
[@reachdigital](https://github.com/reachdigital)
|
|
252
|
-
([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
|
|
253
|
-
- upgrade to node 14
|
|
254
|
-
([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
|
|
255
|
-
- upgraded to nextjs 11
|
|
256
|
-
([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
|
257
|
-
- video support for CategoryHeroNav
|
|
258
|
-
([e24fe60](https://github.com/ho-nl/m2-pwa/commit/e24fe600f776aaf41735178472b2d1343c5252e6))
|
|
206
|
+
- add barrel file for magento-category ([c5ba8c9](https://github.com/ho-nl/m2-pwa/commit/c5ba8c98cbb8192f1c1c85242ff6efa83b1fbdcc))
|
|
207
|
+
- add getFilterTypes to shared client, faster generation ([beccfde](https://github.com/ho-nl/m2-pwa/commit/beccfde6ebc8aaf6223f0e8b33fabf4f5039efed))
|
|
208
|
+
- add graphcms asset to category page ([a760f25](https://github.com/ho-nl/m2-pwa/commit/a760f2547485e56b1fd4ecb03dd3cfb0a1c4819e))
|
|
209
|
+
- animated filters ([846e233](https://github.com/ho-nl/m2-pwa/commit/846e233c9653821afbe9cfe7742dc42bb869a078))
|
|
210
|
+
- better 404 handling and simplified getStaticProps ([321ace1](https://github.com/ho-nl/m2-pwa/commit/321ace1850642ee3eddfa674c37e6fca8adcdb74))
|
|
211
|
+
- canonical urls using abstract page meta component ([7d52cfc](https://github.com/ho-nl/m2-pwa/commit/7d52cfc76af2766dedf883b1e3fa5a5101eca823))
|
|
212
|
+
- category navigation ([00d1997](https://github.com/ho-nl/m2-pwa/commit/00d199741bb1ab266900869d27ac7251841aaf94))
|
|
213
|
+
- created stable layout for category filters ([08d9351](https://github.com/ho-nl/m2-pwa/commit/08d9351dac5c9ede864ff336a60d758875d8efe4))
|
|
214
|
+
- created stacked-pages package ([d86008e](https://github.com/ho-nl/m2-pwa/commit/d86008ee659ccb25b194a41d624b394a1ddbd088))
|
|
215
|
+
- data agnostic animated header ([17047a6](https://github.com/ho-nl/m2-pwa/commit/17047a6d754494d9443c8f2e486cc232cf199c45))
|
|
216
|
+
- **framer-next-pages:** implemented the FullPageShell for the remaining pages ([88386b4](https://github.com/ho-nl/m2-pwa/commit/88386b4652abb7765d6e755c7fb7a3cb6285a0e7))
|
|
217
|
+
- **framer-scroller:** implemented the scroller on all pages ([73fb518](https://github.com/ho-nl/m2-pwa/commit/73fb518eff74edb2b3212e892b3d8cc2b088011b))
|
|
218
|
+
- **graphql:** introduced new graphql package that holds all generated files ([a3e7aa0](https://github.com/ho-nl/m2-pwa/commit/a3e7aa05540540533b5ced9a95f1f802ecbe499f))
|
|
219
|
+
- i18n routing added (/ and /fr for demo) ([bb3b339](https://github.com/ho-nl/m2-pwa/commit/bb3b339fbc9fceddd264a891ad81f00327a241ae))
|
|
220
|
+
- **image:** introduced completely rewritten Image component ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
|
|
221
|
+
- introduced magento-product-types package ([1a0932b](https://github.com/ho-nl/m2-pwa/commit/1a0932b5d882608dcf8fd2e3b17ee9868f5f5776))
|
|
222
|
+
- introduces framer-next-pages and framer-sheet to next-ui and soxbase package ([e04ad8a](https://github.com/ho-nl/m2-pwa/commit/e04ad8a94cd1fd5a7c5575c9db7916b6e8a88f16))
|
|
223
|
+
- **magento-graphql:** added core magentoTypePolicies ([bdf15d0](https://github.com/ho-nl/m2-pwa/commit/bdf15d0d3c04e88339a8385d76f3b1ab9589fde3))
|
|
224
|
+
- major performance refactor ([03f8e2f](https://github.com/ho-nl/m2-pwa/commit/03f8e2fa16ef919bd6bd6eadd36922d0245ed960))
|
|
225
|
+
- next.js 11 ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
|
|
226
|
+
- **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
|
227
|
+
- remove wrapper div from ScrollSnapSlider ([476add8](https://github.com/ho-nl/m2-pwa/commit/476add8db64811f2c7e3fc482487967cd7573cf6))
|
|
228
|
+
- renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of [@reachdigital](https://github.com/reachdigital) ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
|
|
229
|
+
- upgrade to node 14 ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
|
|
230
|
+
- upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
|
231
|
+
- video support for CategoryHeroNav ([e24fe60](https://github.com/ho-nl/m2-pwa/commit/e24fe600f776aaf41735178472b2d1343c5252e6))
|
|
259
232
|
|
|
260
233
|
### Reverts
|
|
261
234
|
|
|
262
|
-
- Revert "chore: upgrade @apollo/client"
|
|
263
|
-
([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
|
|
235
|
+
- Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
|
|
264
236
|
|
|
265
237
|
## 2.0.8 (2020-10-28)
|
|
266
238
|
|
|
267
239
|
### Bug Fixes
|
|
268
240
|
|
|
269
|
-
- make sure themes extensions are found
|
|
270
|
-
([5aa18db](https://github.com/ho-nl/m2-pwa/commit/5aa18db514fd2e2f50681367e39523f8e742ece0))
|
|
241
|
+
- make sure themes extensions are found ([5aa18db](https://github.com/ho-nl/m2-pwa/commit/5aa18db514fd2e2f50681367e39523f8e742ece0))
|
|
271
242
|
|
|
272
243
|
### Features
|
|
273
244
|
|
|
274
|
-
- added generated graphql.ts files
|
|
275
|
-
|
|
276
|
-
- split into packages
|
|
277
|
-
([2ee7fd6](https://github.com/ho-nl/m2-pwa/commit/2ee7fd6c0056f467d114f04d92c6c0ddf622d151))
|
|
245
|
+
- added generated graphql.ts files ([3e44415](https://github.com/ho-nl/m2-pwa/commit/3e44415b018e74b502e9e98479aa5e84041f337d))
|
|
246
|
+
- split into packages ([2ee7fd6](https://github.com/ho-nl/m2-pwa/commit/2ee7fd6c0056f467d114f04d92c6c0ddf622d151))
|
|
278
247
|
|
|
279
248
|
### BREAKING CHANGES
|
|
280
249
|
|
|
@@ -282,63 +251,53 @@ All notable changes to this project will be documented in this file. See
|
|
|
282
251
|
|
|
283
252
|
# Change Log
|
|
284
253
|
|
|
285
|
-
All notable changes to this project will be documented in this file. See
|
|
286
|
-
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
254
|
+
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
287
255
|
|
|
288
256
|
# [2.103.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@2.102.10...@graphcommerce/magento-category@2.103.0) (2021-09-01)
|
|
289
257
|
|
|
290
258
|
### Features
|
|
291
259
|
|
|
292
|
-
- **framer-scroller:** implemented the scroller on all pages
|
|
293
|
-
([73fb518](https://github.com/ho-nl/m2-pwa/commit/73fb518eff74edb2b3212e892b3d8cc2b088011b))
|
|
260
|
+
- **framer-scroller:** implemented the scroller on all pages ([73fb518](https://github.com/ho-nl/m2-pwa/commit/73fb518eff74edb2b3212e892b3d8cc2b088011b))
|
|
294
261
|
|
|
295
262
|
## [2.102.9](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@2.102.8...@graphcommerce/magento-category@2.102.9) (2021-08-27)
|
|
296
263
|
|
|
297
264
|
### Bug Fixes
|
|
298
265
|
|
|
299
|
-
- **app-shell:** pages after app shell changes
|
|
300
|
-
([fb74510](https://github.com/ho-nl/m2-pwa/commit/fb74510121f6124009db72ad2ddebf6459c52a85))
|
|
266
|
+
- **app-shell:** pages after app shell changes ([fb74510](https://github.com/ho-nl/m2-pwa/commit/fb74510121f6124009db72ad2ddebf6459c52a85))
|
|
301
267
|
|
|
302
268
|
# [2.102.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@2.101.9...@graphcommerce/magento-category@2.102.0) (2021-08-12)
|
|
303
269
|
|
|
304
270
|
### Features
|
|
305
271
|
|
|
306
|
-
- upgraded to nextjs 11
|
|
307
|
-
([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
|
272
|
+
- upgraded to nextjs 11 ([0053beb](https://github.com/ho-nl/m2-pwa/commit/0053beb7ef597c190add7264256a0eaec35868da))
|
|
308
273
|
|
|
309
274
|
## [2.101.9](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@2.101.8...@graphcommerce/magento-category@2.101.9) (2021-08-09)
|
|
310
275
|
|
|
311
276
|
### Reverts
|
|
312
277
|
|
|
313
|
-
- Revert "chore: upgrade @apollo/client"
|
|
314
|
-
([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
|
|
278
|
+
- Revert "chore: upgrade @apollo/client" ([55ff24e](https://github.com/ho-nl/m2-pwa/commit/55ff24ede0e56c85b8095edadadd1ec5e0b1b8d2))
|
|
315
279
|
|
|
316
280
|
## [2.101.5](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@2.101.4...@graphcommerce/magento-category@2.101.5) (2021-08-03)
|
|
317
281
|
|
|
318
282
|
### Bug Fixes
|
|
319
283
|
|
|
320
|
-
- remove magento-category package from magento-product solving a circular dependency
|
|
321
|
-
([7379e6e](https://github.com/ho-nl/m2-pwa/commit/7379e6ede4829392b35008c17743181d9cac0636))
|
|
284
|
+
- remove magento-category package from magento-product solving a circular dependency ([7379e6e](https://github.com/ho-nl/m2-pwa/commit/7379e6ede4829392b35008c17743181d9cac0636))
|
|
322
285
|
|
|
323
286
|
# [2.101.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@2.100.18...@graphcommerce/magento-category@2.101.0) (2021-07-26)
|
|
324
287
|
|
|
325
288
|
### Features
|
|
326
289
|
|
|
327
|
-
- **playwright:** added new playwright package to enable browser testing
|
|
328
|
-
([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
|
290
|
+
- **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
|
|
329
291
|
|
|
330
292
|
## [2.100.17](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@2.100.16...@graphcommerce/magento-category@2.100.17) (2021-07-23)
|
|
331
293
|
|
|
332
294
|
### Bug Fixes
|
|
333
295
|
|
|
334
|
-
- **app-shell-header:** title offset top not correctly set
|
|
335
|
-
|
|
336
|
-
- category hero nav margin top
|
|
337
|
-
([31f8dee](https://github.com/ho-nl/m2-pwa/commit/31f8deed1d545d78bb856d4cfdfe0c7ec8671308))
|
|
296
|
+
- **app-shell-header:** title offset top not correctly set ([c144309](https://github.com/ho-nl/m2-pwa/commit/c1443095317c1779074f3a4058f4041159c8e31b))
|
|
297
|
+
- category hero nav margin top ([31f8dee](https://github.com/ho-nl/m2-pwa/commit/31f8deed1d545d78bb856d4cfdfe0c7ec8671308))
|
|
338
298
|
|
|
339
299
|
## [2.100.11](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-category@2.100.10...@graphcommerce/magento-category@2.100.11) (2021-07-20)
|
|
340
300
|
|
|
341
301
|
### Bug Fixes
|
|
342
302
|
|
|
343
|
-
- ignore md files from triggering version updates
|
|
344
|
-
([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
|
|
303
|
+
- ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
|
|
@@ -14,7 +14,7 @@ const name = 'CategoryChildren' as const
|
|
|
14
14
|
const parts = ['container', 'scroller', 'link'] as const
|
|
15
15
|
const { classes } = extendableComponent(name, parts)
|
|
16
16
|
|
|
17
|
-
export
|
|
17
|
+
export function CategoryChildren(props: CategoryChildrenProps) {
|
|
18
18
|
const { children, params, sx = [] } = props
|
|
19
19
|
|
|
20
20
|
if (!children || children.length === 0) return null
|
|
@@ -8,7 +8,7 @@ const cmpName = 'CategoryDescription' as const
|
|
|
8
8
|
const parts = ['root'] as const
|
|
9
9
|
const { classes } = extendableComponent(cmpName, parts)
|
|
10
10
|
|
|
11
|
-
export
|
|
11
|
+
export function CategoryDescription(props: CategoryDescriptionProps) {
|
|
12
12
|
const { name, description, display_mode, sx = [], ...divProps } = props
|
|
13
13
|
|
|
14
14
|
return description ? (
|
|
@@ -14,7 +14,7 @@ const cmpName = 'CategoryHeroNav' as const
|
|
|
14
14
|
const parts = ['wrapper', 'categories', 'title', 'placeholder'] as const
|
|
15
15
|
const { classes } = extendableComponent(cmpName, parts)
|
|
16
16
|
|
|
17
|
-
export
|
|
17
|
+
export function CategoryHeroNav({ children, title, asset, sx = [] }: CategoryHeroNavProps) {
|
|
18
18
|
return (
|
|
19
19
|
<Row
|
|
20
20
|
className={classes.wrapper}
|
|
@@ -7,7 +7,7 @@ type CategoryHeroNavTitleProps = {
|
|
|
7
7
|
sx?: SxProps<Theme>
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export
|
|
10
|
+
export function CategoryHeroNavTitle(props: CategoryHeroNavTitleProps) {
|
|
11
11
|
const { children, sx = [] } = props
|
|
12
12
|
|
|
13
13
|
return (
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ProductListParams } from '@graphcommerce/magento-product'
|
|
2
2
|
import { PageMeta } from '@graphcommerce/magento-store'
|
|
3
3
|
import { PageMetaProps } from '@graphcommerce/next-ui'
|
|
4
|
-
import React from 'react'
|
|
5
4
|
import { CategoryMetaFragment } from './CategoryMeta.gql'
|
|
6
5
|
|
|
7
6
|
type CategoryMetaProps = CategoryMetaFragment &
|
|
@@ -9,7 +8,7 @@ type CategoryMetaProps = CategoryMetaFragment &
|
|
|
9
8
|
params?: ProductListParams
|
|
10
9
|
}
|
|
11
10
|
|
|
12
|
-
export
|
|
11
|
+
export function CategoryMeta(props: CategoryMetaProps) {
|
|
13
12
|
const { name, meta_title, meta_description, params, ...pageMetaProps } = props
|
|
14
13
|
const anyFilterActive = Object.keys(params?.filters ?? {}).length > 0
|
|
15
14
|
|
package/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
1
|
+
export * from './components/CategoryChildren/CategoryChildren'
|
|
2
|
+
export * from './components/CategoryDescription/CategoryDescription'
|
|
3
|
+
export * from './components/CategoryHeroNav/CategoryHeroNav'
|
|
4
|
+
export * from './components/CategoryHeroNav/CategoryHeroNavTitle'
|
|
5
|
+
export * from './components/CategoryMeta/CategoryMeta'
|
|
6
6
|
|
|
7
7
|
export * from './queries/getCategoryStaticPaths'
|
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.0.
|
|
5
|
+
"version": "4.0.4",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,23 +12,25 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^4.0.
|
|
16
|
-
"@graphcommerce/prettier-config-pwa": "^4.0.
|
|
17
|
-
"@graphcommerce/typescript-config-pwa": "^4.0.
|
|
18
|
-
"@playwright/test": "^1.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^4.0.5",
|
|
16
|
+
"@graphcommerce/prettier-config-pwa": "^4.0.3",
|
|
17
|
+
"@graphcommerce/typescript-config-pwa": "^4.0.2",
|
|
18
|
+
"@playwright/test": "^1.19.2"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@graphcommerce/framer-scroller": "^2.0.
|
|
22
|
-
"@graphcommerce/graphql": "^3.0.
|
|
23
|
-
"@graphcommerce/image": "^3.
|
|
24
|
-
"@graphcommerce/magento-product": "^4.0.
|
|
25
|
-
"@graphcommerce/magento-store": "^4.
|
|
26
|
-
"@graphcommerce/next-ui": "^4.
|
|
21
|
+
"@graphcommerce/framer-scroller": "^2.0.6",
|
|
22
|
+
"@graphcommerce/graphql": "^3.0.4",
|
|
23
|
+
"@graphcommerce/image": "^3.1.1",
|
|
24
|
+
"@graphcommerce/magento-product": "^4.0.6",
|
|
25
|
+
"@graphcommerce/magento-store": "^4.1.2",
|
|
26
|
+
"@graphcommerce/next-ui": "^4.2.4",
|
|
27
|
+
"type-fest": "^2.12.0"
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
27
30
|
"@lingui/macro": "^3.13.2",
|
|
28
31
|
"@mui/material": "^5.4.1",
|
|
29
32
|
"next": "^12.0.10",
|
|
30
33
|
"react": "^17.0.2",
|
|
31
|
-
"react-dom": "^17.0.2"
|
|
32
|
-
"type-fest": "^2.11.2"
|
|
34
|
+
"react-dom": "^17.0.2"
|
|
33
35
|
}
|
|
34
36
|
}
|