@graphcommerce/next-ui 9.0.0-canary.56 → 9.0.0-canary.58
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/ActionCard/ActionCardList.tsx +6 -6
- package/CHANGELOG.md +77 -131
- package/hooks/useLocale.ts +1 -1
- package/package.json +13 -13
|
@@ -58,6 +58,8 @@ const { withState } = extendableComponent<HoistedActionCardProps, typeof name, t
|
|
|
58
58
|
parts,
|
|
59
59
|
)
|
|
60
60
|
|
|
61
|
+
const isNotFrag = <T extends React.ReactElement>(el: T): el is T => !isFragment(el)
|
|
62
|
+
|
|
61
63
|
export const ActionCardList = React.forwardRef<HTMLDivElement, ActionCardListProps>(
|
|
62
64
|
(props, ref) => {
|
|
63
65
|
const {
|
|
@@ -116,17 +118,15 @@ export const ActionCardList = React.forwardRef<HTMLDivElement, ActionCardListPro
|
|
|
116
118
|
.filter(React.isValidElement)
|
|
117
119
|
.filter(isActionCardLike)
|
|
118
120
|
.filter((child) => {
|
|
121
|
+
const notFrag = isNotFrag(child)
|
|
119
122
|
if (process.env.NODE_ENV !== 'production') {
|
|
120
|
-
if (
|
|
123
|
+
if (!notFrag)
|
|
121
124
|
console.error(
|
|
122
|
-
|
|
123
|
-
"@graphcommerce/next-ui: The ActionCardList component doesn't accept a Fragment as a child.",
|
|
124
|
-
'Consider providing an array instead',
|
|
125
|
-
].join('\n'),
|
|
125
|
+
"@graphcommerce/next-ui: The ActionCardList component doesn't accept a Fragment as a child. Consider providing an array instead",
|
|
126
126
|
)
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
return
|
|
129
|
+
return notFrag
|
|
130
130
|
})
|
|
131
131
|
|
|
132
132
|
// Make sure the selected values is in the list of all possible values
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 9.0.0-canary.58
|
|
4
|
+
|
|
5
|
+
## 9.0.0-canary.57
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- [#2312](https://github.com/graphcommerce-org/graphcommerce/pull/2312) [`e6a3776`](https://github.com/graphcommerce-org/graphcommerce/commit/e6a377637f1aaafe5b1db7a3123b8caad28d00f5) - Updated all package versions ([@paales](https://github.com/paales))
|
|
10
|
+
|
|
3
11
|
## 9.0.0-canary.56
|
|
4
12
|
|
|
5
13
|
## 9.0.0-canary.55
|
|
@@ -16,15 +24,13 @@
|
|
|
16
24
|
|
|
17
25
|
### Patch Changes
|
|
18
26
|
|
|
19
|
-
- [#2321](https://github.com/graphcommerce-org/graphcommerce/pull/2321) [`fa261d4`](https://github.com/graphcommerce-org/graphcommerce/commit/fa261d4ae600b46ae08c5ca7514163f2da54eead) - Add the possibility to place content before or after the scroller.
|
|
20
|
-
([@carlocarels90](https://github.com/carlocarels90))
|
|
27
|
+
- [#2321](https://github.com/graphcommerce-org/graphcommerce/pull/2321) [`fa261d4`](https://github.com/graphcommerce-org/graphcommerce/commit/fa261d4ae600b46ae08c5ca7514163f2da54eead) - Add the possibility to place content before or after the scroller. ([@carlocarels90](https://github.com/carlocarels90))
|
|
21
28
|
|
|
22
29
|
## 8.1.0-canary.49
|
|
23
30
|
|
|
24
31
|
### Patch Changes
|
|
25
32
|
|
|
26
|
-
- [#2317](https://github.com/graphcommerce-org/graphcommerce/pull/2317) [`6c173c7`](https://github.com/graphcommerce-org/graphcommerce/commit/6c173c7bba601413cc5e1c9cf0595b8ec262fb92) - Added new plugin insertion points: `<DocumentHeadStart/>`, `<DocumentHeadEnd/>`, `<DocumentBodyEnd/>`, `<DocumentBodyStart/>` for the \_document.app to allow creating plugins for those locations to insert scripts etc.
|
|
27
|
-
([@paales](https://github.com/paales))
|
|
33
|
+
- [#2317](https://github.com/graphcommerce-org/graphcommerce/pull/2317) [`6c173c7`](https://github.com/graphcommerce-org/graphcommerce/commit/6c173c7bba601413cc5e1c9cf0595b8ec262fb92) - Added new plugin insertion points: `<DocumentHeadStart/>`, `<DocumentHeadEnd/>`, `<DocumentBodyEnd/>`, `<DocumentBodyStart/>` for the \_document.app to allow creating plugins for those locations to insert scripts etc. ([@paales](https://github.com/paales))
|
|
28
34
|
|
|
29
35
|
## 8.1.0-canary.48
|
|
30
36
|
|
|
@@ -32,31 +38,25 @@
|
|
|
32
38
|
|
|
33
39
|
### Minor Changes
|
|
34
40
|
|
|
35
|
-
- [#2315](https://github.com/graphcommerce-org/graphcommerce/pull/2315) [`fb9118e`](https://github.com/graphcommerce-org/graphcommerce/commit/fb9118ec819d1b507d4fbde04f2ca34ec01ecf49) - Add guestOrder functionality, remove `size: 'max'` from getStaticProps
|
|
36
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
41
|
+
- [#2315](https://github.com/graphcommerce-org/graphcommerce/pull/2315) [`fb9118e`](https://github.com/graphcommerce-org/graphcommerce/commit/fb9118ec819d1b507d4fbde04f2ca34ec01ecf49) - Add guestOrder functionality, remove `size: 'max'` from getStaticProps ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
37
42
|
|
|
38
43
|
## 8.1.0-canary.46
|
|
39
44
|
|
|
40
45
|
### Patch Changes
|
|
41
46
|
|
|
42
|
-
- [#2314](https://github.com/graphcommerce-org/graphcommerce/pull/2314) [`59874b5`](https://github.com/graphcommerce-org/graphcommerce/commit/59874b572bda17905dc836554f9a3e31f393eb3e) - Solve issue where the page would reload during development when the first call to /graphql was made.
|
|
43
|
-
([@paales](https://github.com/paales))
|
|
47
|
+
- [#2314](https://github.com/graphcommerce-org/graphcommerce/pull/2314) [`59874b5`](https://github.com/graphcommerce-org/graphcommerce/commit/59874b572bda17905dc836554f9a3e31f393eb3e) - Solve issue where the page would reload during development when the first call to /graphql was made. ([@paales](https://github.com/paales))
|
|
44
48
|
|
|
45
49
|
## 8.1.0-canary.45
|
|
46
50
|
|
|
47
51
|
### Patch Changes
|
|
48
52
|
|
|
49
|
-
- [#2216](https://github.com/graphcommerce-org/graphcommerce/pull/2216) [`1895176`](https://github.com/graphcommerce-org/graphcommerce/commit/1895176b5776adcf588999ceab7edd6f53cff294) - USPS would be loaded after other pages, causing uneceesasry slowdown
|
|
50
|
-
([@paales](https://github.com/paales))
|
|
53
|
+
- [#2216](https://github.com/graphcommerce-org/graphcommerce/pull/2216) [`1895176`](https://github.com/graphcommerce-org/graphcommerce/commit/1895176b5776adcf588999ceab7edd6f53cff294) - USPS would be loaded after other pages, causing uneceesasry slowdown ([@paales](https://github.com/paales))
|
|
51
54
|
|
|
52
|
-
- [#2216](https://github.com/graphcommerce-org/graphcommerce/pull/2216) [`74eb239`](https://github.com/graphcommerce-org/graphcommerce/commit/74eb2393a64988649178d59f53b33d41fecdd769) - Added Intl components and replaced usage sites
|
|
53
|
-
([@paales](https://github.com/paales))
|
|
55
|
+
- [#2216](https://github.com/graphcommerce-org/graphcommerce/pull/2216) [`74eb239`](https://github.com/graphcommerce-org/graphcommerce/commit/74eb2393a64988649178d59f53b33d41fecdd769) - Added Intl components and replaced usage sites ([@paales](https://github.com/paales))
|
|
54
56
|
|
|
55
|
-
- [#2216](https://github.com/graphcommerce-org/graphcommerce/pull/2216) [`012b865`](https://github.com/graphcommerce-org/graphcommerce/commit/012b86560d93e35dd7ca4a9469ed65e6fb83ead0) - Move arguments of responsiveVal around so the minBreakpoint can be given as third argument
|
|
56
|
-
([@paales](https://github.com/paales))
|
|
57
|
+
- [#2216](https://github.com/graphcommerce-org/graphcommerce/pull/2216) [`012b865`](https://github.com/graphcommerce-org/graphcommerce/commit/012b86560d93e35dd7ca4a9469ed65e6fb83ead0) - Move arguments of responsiveVal around so the minBreakpoint can be given as third argument ([@paales](https://github.com/paales))
|
|
57
58
|
|
|
58
|
-
- [#2216](https://github.com/graphcommerce-org/graphcommerce/pull/2216) [`223f16a`](https://github.com/graphcommerce-org/graphcommerce/commit/223f16a0e9a7718e52e81a4e2902471a8b78d35c) - LazyHydrate component now accepts a height prop that allows deferring of rendering of the child component when initially rendered on the client. This improves performance.
|
|
59
|
-
([@paales](https://github.com/paales))
|
|
59
|
+
- [#2216](https://github.com/graphcommerce-org/graphcommerce/pull/2216) [`223f16a`](https://github.com/graphcommerce-org/graphcommerce/commit/223f16a0e9a7718e52e81a4e2902471a8b78d35c) - LazyHydrate component now accepts a height prop that allows deferring of rendering of the child component when initially rendered on the client. This improves performance. ([@paales](https://github.com/paales))
|
|
60
60
|
|
|
61
61
|
## 8.1.0-canary.44
|
|
62
62
|
|
|
@@ -68,16 +68,13 @@
|
|
|
68
68
|
|
|
69
69
|
### Patch Changes
|
|
70
70
|
|
|
71
|
-
- [#2242](https://github.com/graphcommerce-org/graphcommerce/pull/2242) [`a4cce76`](https://github.com/graphcommerce-org/graphcommerce/commit/a4cce76ca37af2bec604e953ada4bb11bd91f55d) - Add option to show an extended version of the pagination component. Configurable via the "productListPaginationVariant" key in your graphcommerce.config.js
|
|
72
|
-
COMPACT means: "< Page X of Y >"
|
|
73
|
-
EXTENDED means: "< 1 2 ... [5] ... 10 11 >" ([@FrankHarland](https://github.com/FrankHarland))
|
|
71
|
+
- [#2242](https://github.com/graphcommerce-org/graphcommerce/pull/2242) [`a4cce76`](https://github.com/graphcommerce-org/graphcommerce/commit/a4cce76ca37af2bec604e953ada4bb11bd91f55d) - Add option to show an extended version of the pagination component. Configurable via the "productListPaginationVariant" key in your graphcommerce.config.js COMPACT means: "< Page X of Y >" EXTENDED means: "< 1 2 ... [5] ... 10 11 >" ([@FrankHarland](https://github.com/FrankHarland))
|
|
74
72
|
|
|
75
73
|
## 8.1.0-canary.40
|
|
76
74
|
|
|
77
75
|
### Minor Changes
|
|
78
76
|
|
|
79
|
-
- [#2306](https://github.com/graphcommerce-org/graphcommerce/pull/2306) [`5e188e8`](https://github.com/graphcommerce-org/graphcommerce/commit/5e188e830dca4730c73830858f59a94e9d41ed12) - Add delete account functionality to the account section. Disabled by default and can be enabled through the config.
|
|
80
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
77
|
+
- [#2306](https://github.com/graphcommerce-org/graphcommerce/pull/2306) [`5e188e8`](https://github.com/graphcommerce-org/graphcommerce/commit/5e188e830dca4730c73830858f59a94e9d41ed12) - Add delete account functionality to the account section. Disabled by default and can be enabled through the config. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
81
78
|
|
|
82
79
|
## 8.1.0-canary.39
|
|
83
80
|
|
|
@@ -99,8 +96,7 @@
|
|
|
99
96
|
|
|
100
97
|
### Patch Changes
|
|
101
98
|
|
|
102
|
-
- [#2297](https://github.com/graphcommerce-org/graphcommerce/pull/2297) [`e41cb6f`](https://github.com/graphcommerce-org/graphcommerce/commit/e41cb6fcdde95629d29c03b1a700c6097f00c901) - Prevent gallery thunbnails from scrolling when opening or closing a layout overlay
|
|
103
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
99
|
+
- [#2297](https://github.com/graphcommerce-org/graphcommerce/pull/2297) [`e41cb6f`](https://github.com/graphcommerce-org/graphcommerce/commit/e41cb6fcdde95629d29c03b1a700c6097f00c901) - Prevent gallery thunbnails from scrolling when opening or closing a layout overlay ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
104
100
|
|
|
105
101
|
## 8.1.0-canary.30
|
|
106
102
|
|
|
@@ -112,20 +108,17 @@
|
|
|
112
108
|
|
|
113
109
|
### Minor Changes
|
|
114
110
|
|
|
115
|
-
- [#2273](https://github.com/graphcommerce-org/graphcommerce/pull/2273) [`77955c5`](https://github.com/graphcommerce-org/graphcommerce/commit/77955c56ac8633ab1c5e0f3ddb25e3a87236e2bb) - Improve Breadcrumbs on Category and Product pages
|
|
116
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
111
|
+
- [#2273](https://github.com/graphcommerce-org/graphcommerce/pull/2273) [`77955c5`](https://github.com/graphcommerce-org/graphcommerce/commit/77955c56ac8633ab1c5e0f3ddb25e3a87236e2bb) - Improve Breadcrumbs on Category and Product pages ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
117
112
|
|
|
118
113
|
## 8.1.0-canary.26
|
|
119
114
|
|
|
120
115
|
### Minor Changes
|
|
121
116
|
|
|
122
|
-
- [#2274](https://github.com/graphcommerce-org/graphcommerce/pull/2274) [`4a24813`](https://github.com/graphcommerce-org/graphcommerce/commit/4a248130041484833768fe6018f91d05a59522de) - Add props to DarkLightModeThemeProvider to disable dark/light mode or to change the default ssr mode. Save user chosen mode in localStorage
|
|
123
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
117
|
+
- [#2274](https://github.com/graphcommerce-org/graphcommerce/pull/2274) [`4a24813`](https://github.com/graphcommerce-org/graphcommerce/commit/4a248130041484833768fe6018f91d05a59522de) - Add props to DarkLightModeThemeProvider to disable dark/light mode or to change the default ssr mode. Save user chosen mode in localStorage ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
124
118
|
|
|
125
119
|
### Patch Changes
|
|
126
120
|
|
|
127
|
-
- [#2274](https://github.com/graphcommerce-org/graphcommerce/pull/2274) [`57131cf`](https://github.com/graphcommerce-org/graphcommerce/commit/57131cfcc43695cc3e22f28912feb2a8439620a7) - Created a cssFlags functionality to allow for conditional rendering based on stored flags in the localStorage
|
|
128
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
121
|
+
- [#2274](https://github.com/graphcommerce-org/graphcommerce/pull/2274) [`57131cf`](https://github.com/graphcommerce-org/graphcommerce/commit/57131cfcc43695cc3e22f28912feb2a8439620a7) - Created a cssFlags functionality to allow for conditional rendering based on stored flags in the localStorage ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
129
122
|
|
|
130
123
|
## 8.1.0-canary.25
|
|
131
124
|
|
|
@@ -147,8 +140,7 @@
|
|
|
147
140
|
|
|
148
141
|
### Minor Changes
|
|
149
142
|
|
|
150
|
-
- [#2209](https://github.com/graphcommerce-org/graphcommerce/pull/2209) [`2872cab`](https://github.com/graphcommerce-org/graphcommerce/commit/2872cabdca9ee4f0378fd411c6a633f71bb92f1f) - Removed useMediaQuery from the wishlist and cart ItemActionCard and replaced it with a new responsive size prop.
|
|
151
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
143
|
+
- [#2209](https://github.com/graphcommerce-org/graphcommerce/pull/2209) [`2872cab`](https://github.com/graphcommerce-org/graphcommerce/commit/2872cabdca9ee4f0378fd411c6a633f71bb92f1f) - Removed useMediaQuery from the wishlist and cart ItemActionCard and replaced it with a new responsive size prop. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
152
144
|
|
|
153
145
|
## 8.1.0-canary.16
|
|
154
146
|
|
|
@@ -168,15 +160,13 @@
|
|
|
168
160
|
|
|
169
161
|
### Patch Changes
|
|
170
162
|
|
|
171
|
-
- [#2223](https://github.com/graphcommerce-org/graphcommerce/pull/2223) [`d7459fe`](https://github.com/graphcommerce-org/graphcommerce/commit/d7459feb6e6902af09ab9ff766c0b3b1a74fb723) - Updated canonicalize helper for better multi domain support
|
|
172
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
163
|
+
- [#2223](https://github.com/graphcommerce-org/graphcommerce/pull/2223) [`d7459fe`](https://github.com/graphcommerce-org/graphcommerce/commit/d7459feb6e6902af09ab9ff766c0b3b1a74fb723) - Updated canonicalize helper for better multi domain support ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
173
164
|
|
|
174
165
|
## 8.1.0-canary.8
|
|
175
166
|
|
|
176
167
|
### Patch Changes
|
|
177
168
|
|
|
178
|
-
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`444e446`](https://github.com/graphcommerce-org/graphcommerce/commit/444e446a218cc9da3defb940a6d5cce0229ff845) - Added clear upgrade instructions for linguiLocale
|
|
179
|
-
([@paales](https://github.com/paales))
|
|
169
|
+
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`444e446`](https://github.com/graphcommerce-org/graphcommerce/commit/444e446a218cc9da3defb940a6d5cce0229ff845) - Added clear upgrade instructions for linguiLocale ([@paales](https://github.com/paales))
|
|
180
170
|
|
|
181
171
|
## 8.1.0-canary.7
|
|
182
172
|
|
|
@@ -192,11 +182,9 @@
|
|
|
192
182
|
|
|
193
183
|
### Patch Changes
|
|
194
184
|
|
|
195
|
-
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - Added useIsSSR hook that will properly resolve when the page is rendered on the server and on first render, but will return false when a component is rendered on the client directly.
|
|
196
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
185
|
+
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - Added useIsSSR hook that will properly resolve when the page is rendered on the server and on first render, but will return false when a component is rendered on the client directly. ([@FrankHarland](https://github.com/FrankHarland))
|
|
197
186
|
|
|
198
|
-
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`0767bc4`](https://github.com/graphcommerce-org/graphcommerce/commit/0767bc40f7b596209f24ca4e745ff0441f3275c9) - Upgrade input components to no longer use muiRegister, which improves INP scores
|
|
199
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
187
|
+
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`0767bc4`](https://github.com/graphcommerce-org/graphcommerce/commit/0767bc40f7b596209f24ca4e745ff0441f3275c9) - Upgrade input components to no longer use muiRegister, which improves INP scores ([@FrankHarland](https://github.com/FrankHarland))
|
|
200
188
|
|
|
201
189
|
## 8.0.6-canary.1
|
|
202
190
|
|
|
@@ -204,31 +192,25 @@
|
|
|
204
192
|
|
|
205
193
|
### Patch Changes
|
|
206
194
|
|
|
207
|
-
- [#2196](https://github.com/graphcommerce-org/graphcommerce/pull/2196) [`84c50e4`](https://github.com/graphcommerce-org/graphcommerce/commit/84c50e49a1a7f154d4a8f4045c37e773e20283ad) - Allow Lingui to use linguiLocale with country identifiers like `en-us`, it would always load `en` in this case. Introced a new `useLocale` hook to use the correct locale string to use in Intl methods.
|
|
208
|
-
([@paales](https://github.com/paales))
|
|
195
|
+
- [#2196](https://github.com/graphcommerce-org/graphcommerce/pull/2196) [`84c50e4`](https://github.com/graphcommerce-org/graphcommerce/commit/84c50e49a1a7f154d4a8f4045c37e773e20283ad) - Allow Lingui to use linguiLocale with country identifiers like `en-us`, it would always load `en` in this case. Introced a new `useLocale` hook to use the correct locale string to use in Intl methods. ([@paales](https://github.com/paales))
|
|
209
196
|
|
|
210
197
|
## 8.0.5
|
|
211
198
|
|
|
212
199
|
### Patch Changes
|
|
213
200
|
|
|
214
|
-
- [#2236](https://github.com/graphcommerce-org/graphcommerce/pull/2236) [`85fb916`](https://github.com/graphcommerce-org/graphcommerce/commit/85fb916e5ec2a1456a93a59bf92a5f414fee8595) - Solve issue where the inert prop wouldnt be properly forwarded
|
|
215
|
-
([@paales](https://github.com/paales))
|
|
201
|
+
- [#2236](https://github.com/graphcommerce-org/graphcommerce/pull/2236) [`85fb916`](https://github.com/graphcommerce-org/graphcommerce/commit/85fb916e5ec2a1456a93a59bf92a5f414fee8595) - Solve issue where the inert prop wouldnt be properly forwarded ([@paales](https://github.com/paales))
|
|
216
202
|
|
|
217
203
|
- [#2235](https://github.com/graphcommerce-org/graphcommerce/pull/2235) [`de99691`](https://github.com/graphcommerce-org/graphcommerce/commit/de9969155e271cc2535147479b80b602a1b9c335) - The Lazyhydrate component to accepts any BoxProps. Replaced `<section>` with a `<Box>` so it doesn't hold symantic meaning.
|
|
218
204
|
|
|
219
205
|
Please note: If you've used child selectors to style the section, please make sure you update your styles. ([@carlocarels90](https://github.com/carlocarels90))
|
|
220
206
|
|
|
221
|
-
- [#2241](https://github.com/graphcommerce-org/graphcommerce/pull/2241) [`6f3fe60`](https://github.com/graphcommerce-org/graphcommerce/commit/6f3fe60441762d55cb46d587279121e8fe469cdd) - Decreased layout shift on product pages by reserving space for sidebar
|
|
222
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
207
|
+
- [#2241](https://github.com/graphcommerce-org/graphcommerce/pull/2241) [`6f3fe60`](https://github.com/graphcommerce-org/graphcommerce/commit/6f3fe60441762d55cb46d587279121e8fe469cdd) - Decreased layout shift on product pages by reserving space for sidebar ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
223
208
|
|
|
224
|
-
- [#2241](https://github.com/graphcommerce-org/graphcommerce/pull/2241) [`cde3c31`](https://github.com/graphcommerce-org/graphcommerce/commit/cde3c310abf2ac3c82d1062d5fb0a4c00ba50cff) - Removed unnecessary vendor prefixes
|
|
225
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
209
|
+
- [#2241](https://github.com/graphcommerce-org/graphcommerce/pull/2241) [`cde3c31`](https://github.com/graphcommerce-org/graphcommerce/commit/cde3c310abf2ac3c82d1062d5fb0a4c00ba50cff) - Removed unnecessary vendor prefixes ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
226
210
|
|
|
227
|
-
- [#2241](https://github.com/graphcommerce-org/graphcommerce/pull/2241) [`4c83636`](https://github.com/graphcommerce-org/graphcommerce/commit/4c836366c324881ee5121c645c5f94fc60e3ebb3) - Prevent horizontal scrollbar on small screens when using SidebarGallery
|
|
228
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
211
|
+
- [#2241](https://github.com/graphcommerce-org/graphcommerce/pull/2241) [`4c83636`](https://github.com/graphcommerce-org/graphcommerce/commit/4c836366c324881ee5121c645c5f94fc60e3ebb3) - Prevent horizontal scrollbar on small screens when using SidebarGallery ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
229
212
|
|
|
230
|
-
- [#2230](https://github.com/graphcommerce-org/graphcommerce/pull/2230) [`1da6b82`](https://github.com/graphcommerce-org/graphcommerce/commit/1da6b82dbb7e1543542d809ea625a8867643ea68) - Fix menu item visibility in accessability tree
|
|
231
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
213
|
+
- [#2230](https://github.com/graphcommerce-org/graphcommerce/pull/2230) [`1da6b82`](https://github.com/graphcommerce-org/graphcommerce/commit/1da6b82dbb7e1543542d809ea625a8867643ea68) - Fix menu item visibility in accessability tree ([@JoshuaS98](https://github.com/JoshuaS98))
|
|
232
214
|
|
|
233
215
|
## 8.0.5-canary.10
|
|
234
216
|
|
|
@@ -240,14 +222,11 @@
|
|
|
240
222
|
|
|
241
223
|
### Patch Changes
|
|
242
224
|
|
|
243
|
-
- [#2241](https://github.com/graphcommerce-org/graphcommerce/pull/2241) [`6f3fe60`](https://github.com/graphcommerce-org/graphcommerce/commit/6f3fe60441762d55cb46d587279121e8fe469cdd) - Decreased layout shift on product pages by reserving space for sidebar
|
|
244
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
225
|
+
- [#2241](https://github.com/graphcommerce-org/graphcommerce/pull/2241) [`6f3fe60`](https://github.com/graphcommerce-org/graphcommerce/commit/6f3fe60441762d55cb46d587279121e8fe469cdd) - Decreased layout shift on product pages by reserving space for sidebar ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
245
226
|
|
|
246
|
-
- [#2241](https://github.com/graphcommerce-org/graphcommerce/pull/2241) [`cde3c31`](https://github.com/graphcommerce-org/graphcommerce/commit/cde3c310abf2ac3c82d1062d5fb0a4c00ba50cff) - Removed unnecessary vendor prefixes
|
|
247
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
227
|
+
- [#2241](https://github.com/graphcommerce-org/graphcommerce/pull/2241) [`cde3c31`](https://github.com/graphcommerce-org/graphcommerce/commit/cde3c310abf2ac3c82d1062d5fb0a4c00ba50cff) - Removed unnecessary vendor prefixes ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
248
228
|
|
|
249
|
-
- [#2241](https://github.com/graphcommerce-org/graphcommerce/pull/2241) [`4c83636`](https://github.com/graphcommerce-org/graphcommerce/commit/4c836366c324881ee5121c645c5f94fc60e3ebb3) - Prevent horizontal scrollbar on small screens when using SidebarGallery
|
|
250
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
229
|
+
- [#2241](https://github.com/graphcommerce-org/graphcommerce/pull/2241) [`4c83636`](https://github.com/graphcommerce-org/graphcommerce/commit/4c836366c324881ee5121c645c5f94fc60e3ebb3) - Prevent horizontal scrollbar on small screens when using SidebarGallery ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
251
230
|
|
|
252
231
|
## 8.0.5-canary.6
|
|
253
232
|
|
|
@@ -259,8 +238,7 @@
|
|
|
259
238
|
|
|
260
239
|
### Patch Changes
|
|
261
240
|
|
|
262
|
-
- [#2236](https://github.com/graphcommerce-org/graphcommerce/pull/2236) [`85fb916`](https://github.com/graphcommerce-org/graphcommerce/commit/85fb916e5ec2a1456a93a59bf92a5f414fee8595) - Solve issue where the inert prop wouldnt be properly forwarded
|
|
263
|
-
([@paales](https://github.com/paales))
|
|
241
|
+
- [#2236](https://github.com/graphcommerce-org/graphcommerce/pull/2236) [`85fb916`](https://github.com/graphcommerce-org/graphcommerce/commit/85fb916e5ec2a1456a93a59bf92a5f414fee8595) - Solve issue where the inert prop wouldnt be properly forwarded ([@paales](https://github.com/paales))
|
|
264
242
|
|
|
265
243
|
## 8.0.5-canary.2
|
|
266
244
|
|
|
@@ -276,15 +254,13 @@
|
|
|
276
254
|
|
|
277
255
|
### Patch Changes
|
|
278
256
|
|
|
279
|
-
- [#2230](https://github.com/graphcommerce-org/graphcommerce/pull/2230) [`1da6b82`](https://github.com/graphcommerce-org/graphcommerce/commit/1da6b82dbb7e1543542d809ea625a8867643ea68) - Fix menu item visibility in accessability tree
|
|
280
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
257
|
+
- [#2230](https://github.com/graphcommerce-org/graphcommerce/pull/2230) [`1da6b82`](https://github.com/graphcommerce-org/graphcommerce/commit/1da6b82dbb7e1543542d809ea625a8867643ea68) - Fix menu item visibility in accessability tree ([@JoshuaS98](https://github.com/JoshuaS98))
|
|
281
258
|
|
|
282
259
|
## 8.0.4
|
|
283
260
|
|
|
284
261
|
### Patch Changes
|
|
285
262
|
|
|
286
|
-
- [#2228](https://github.com/graphcommerce-org/graphcommerce/pull/2228) [`0c0cacb`](https://github.com/graphcommerce-org/graphcommerce/commit/0c0cacb8725f0a626ea5d3acf154d83c433c3eb7) - apply correct type for the inert property
|
|
287
|
-
([@carlocarels90](https://github.com/carlocarels90))
|
|
263
|
+
- [#2228](https://github.com/graphcommerce-org/graphcommerce/pull/2228) [`0c0cacb`](https://github.com/graphcommerce-org/graphcommerce/commit/0c0cacb8725f0a626ea5d3acf154d83c433c3eb7) - apply correct type for the inert property ([@carlocarels90](https://github.com/carlocarels90))
|
|
288
264
|
|
|
289
265
|
## 8.0.4-canary.1
|
|
290
266
|
|
|
@@ -292,8 +268,7 @@
|
|
|
292
268
|
|
|
293
269
|
### Patch Changes
|
|
294
270
|
|
|
295
|
-
- [#2228](https://github.com/graphcommerce-org/graphcommerce/pull/2228) [`0c0cacb`](https://github.com/graphcommerce-org/graphcommerce/commit/0c0cacb8725f0a626ea5d3acf154d83c433c3eb7) - apply correct type for the inert property
|
|
296
|
-
([@carlocarels90](https://github.com/carlocarels90))
|
|
271
|
+
- [#2228](https://github.com/graphcommerce-org/graphcommerce/pull/2228) [`0c0cacb`](https://github.com/graphcommerce-org/graphcommerce/commit/0c0cacb8725f0a626ea5d3acf154d83c433c3eb7) - apply correct type for the inert property ([@carlocarels90](https://github.com/carlocarels90))
|
|
297
272
|
|
|
298
273
|
## 8.0.3
|
|
299
274
|
|
|
@@ -325,15 +300,13 @@
|
|
|
325
300
|
|
|
326
301
|
### Patch Changes
|
|
327
302
|
|
|
328
|
-
- [#2191](https://github.com/graphcommerce-org/graphcommerce/pull/2191) [`13ffa6b`](https://github.com/graphcommerce-org/graphcommerce/commit/13ffa6b945f1c72bf1fdc9298e4ce5dd76b48d73) - When a user was logging in from the checkout react would be caught in an infinite loop and thus the page would hang
|
|
329
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
303
|
+
- [#2191](https://github.com/graphcommerce-org/graphcommerce/pull/2191) [`13ffa6b`](https://github.com/graphcommerce-org/graphcommerce/commit/13ffa6b945f1c72bf1fdc9298e4ce5dd76b48d73) - When a user was logging in from the checkout react would be caught in an infinite loop and thus the page would hang ([@JoshuaS98](https://github.com/JoshuaS98))
|
|
330
304
|
|
|
331
305
|
## 8.0.1-canary.4
|
|
332
306
|
|
|
333
307
|
### Patch Changes
|
|
334
308
|
|
|
335
|
-
- [#2191](https://github.com/graphcommerce-org/graphcommerce/pull/2191) [`13ffa6b`](https://github.com/graphcommerce-org/graphcommerce/commit/13ffa6b945f1c72bf1fdc9298e4ce5dd76b48d73) - When a user was logging in from the checkout react would be caught in an infinite loop and thus the page would hang
|
|
336
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
309
|
+
- [#2191](https://github.com/graphcommerce-org/graphcommerce/pull/2191) [`13ffa6b`](https://github.com/graphcommerce-org/graphcommerce/commit/13ffa6b945f1c72bf1fdc9298e4ce5dd76b48d73) - When a user was logging in from the checkout react would be caught in an infinite loop and thus the page would hang ([@JoshuaS98](https://github.com/JoshuaS98))
|
|
337
310
|
|
|
338
311
|
## 8.0.1-canary.3
|
|
339
312
|
|
|
@@ -347,67 +320,47 @@
|
|
|
347
320
|
|
|
348
321
|
### Minor Changes
|
|
349
322
|
|
|
350
|
-
- [#2133](https://github.com/graphcommerce-org/graphcommerce/pull/2133) [`133f908`](https://github.com/graphcommerce-org/graphcommerce/commit/133f908200a79589036420f2925835724522cab8) - Added new `<LazyHydrate/>` component to improve the Total Blocking Time and implemented them in, `<RowRenderer/>`, `<ProductListItemBase/>`, `<Footer/>` and for the `<NavigationProvider/>`. Reduced the TBT by 50% on the homepage and other pages.
|
|
351
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
323
|
+
- [#2133](https://github.com/graphcommerce-org/graphcommerce/pull/2133) [`133f908`](https://github.com/graphcommerce-org/graphcommerce/commit/133f908200a79589036420f2925835724522cab8) - Added new `<LazyHydrate/>` component to improve the Total Blocking Time and implemented them in, `<RowRenderer/>`, `<ProductListItemBase/>`, `<Footer/>` and for the `<NavigationProvider/>`. Reduced the TBT by 50% on the homepage and other pages. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
352
324
|
|
|
353
|
-
- [#2073](https://github.com/graphcommerce-org/graphcommerce/pull/2073) [`05ce566`](https://github.com/graphcommerce-org/graphcommerce/commit/05ce5665b3c63b0620266c8ac35e8b555e2029e8) - It is now allowed to use children inside the footer component
|
|
354
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
325
|
+
- [#2073](https://github.com/graphcommerce-org/graphcommerce/pull/2073) [`05ce566`](https://github.com/graphcommerce-org/graphcommerce/commit/05ce5665b3c63b0620266c8ac35e8b555e2029e8) - It is now allowed to use children inside the footer component ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
355
326
|
|
|
356
|
-
- [#2018](https://github.com/graphcommerce-org/graphcommerce/pull/2018) [`750aa6a`](https://github.com/graphcommerce-org/graphcommerce/commit/750aa6a72710869d54244467253212e551d335e0) - Changed the layout of the succes page. We are using ActionCards right now to match the design of the cart.
|
|
357
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
327
|
+
- [#2018](https://github.com/graphcommerce-org/graphcommerce/pull/2018) [`750aa6a`](https://github.com/graphcommerce-org/graphcommerce/commit/750aa6a72710869d54244467253212e551d335e0) - Changed the layout of the succes page. We are using ActionCards right now to match the design of the cart. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
358
328
|
|
|
359
329
|
### Patch Changes
|
|
360
330
|
|
|
361
|
-
- [#2161](https://github.com/graphcommerce-org/graphcommerce/pull/2161) [`cc5c636`](https://github.com/graphcommerce-org/graphcommerce/commit/cc5c636f9f2b3d9fa33384b9a02d6ad3631aa414) - On certain breakpoints the Product page gallery had additional padding applied.
|
|
362
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
331
|
+
- [#2161](https://github.com/graphcommerce-org/graphcommerce/pull/2161) [`cc5c636`](https://github.com/graphcommerce-org/graphcommerce/commit/cc5c636f9f2b3d9fa33384b9a02d6ad3631aa414) - On certain breakpoints the Product page gallery had additional padding applied. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
363
332
|
|
|
364
|
-
- [#2138](https://github.com/graphcommerce-org/graphcommerce/pull/2138) [`a057d62`](https://github.com/graphcommerce-org/graphcommerce/commit/a057d6274e1d427e631ab3fad7a16078315103b8) - When viewing the homepage the logo will not have a `<a/>` tag wrapped anymore.
|
|
365
|
-
([@carlocarels90](https://github.com/carlocarels90))
|
|
333
|
+
- [#2138](https://github.com/graphcommerce-org/graphcommerce/pull/2138) [`a057d62`](https://github.com/graphcommerce-org/graphcommerce/commit/a057d6274e1d427e631ab3fad7a16078315103b8) - When viewing the homepage the logo will not have a `<a/>` tag wrapped anymore. ([@carlocarels90](https://github.com/carlocarels90))
|
|
366
334
|
|
|
367
|
-
- [#2004](https://github.com/graphcommerce-org/graphcommerce/pull/2004) [`da21357`](https://github.com/graphcommerce-org/graphcommerce/commit/da2135744dddfa0d211c59589090ebb1977c38c9) - The `<Snackbar/>` component now accepts an icon when severity is set to info
|
|
368
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
335
|
+
- [#2004](https://github.com/graphcommerce-org/graphcommerce/pull/2004) [`da21357`](https://github.com/graphcommerce-org/graphcommerce/commit/da2135744dddfa0d211c59589090ebb1977c38c9) - The `<Snackbar/>` component now accepts an icon when severity is set to info ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
369
336
|
|
|
370
|
-
- [#2135](https://github.com/graphcommerce-org/graphcommerce/pull/2135) [`7b017f5`](https://github.com/graphcommerce-org/graphcommerce/commit/7b017f58ba3be587d20a7f52c84b2907d52fe201) - Fix incorrect canonical URLs when i18n domain routing is used
|
|
371
|
-
([@hnsr](https://github.com/hnsr))
|
|
337
|
+
- [#2135](https://github.com/graphcommerce-org/graphcommerce/pull/2135) [`7b017f5`](https://github.com/graphcommerce-org/graphcommerce/commit/7b017f58ba3be587d20a7f52c84b2907d52fe201) - Fix incorrect canonical URLs when i18n domain routing is used ([@hnsr](https://github.com/hnsr))
|
|
372
338
|
|
|
373
|
-
- [#2077](https://github.com/graphcommerce-org/graphcommerce/pull/2077) [`727d100`](https://github.com/graphcommerce-org/graphcommerce/commit/727d1004dfcb7dddf6e35b6b157a34491bb05cc6) - Fixed ItemScroller component className. Changed from SidebarSlider to ItemScroller
|
|
374
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
339
|
+
- [#2077](https://github.com/graphcommerce-org/graphcommerce/pull/2077) [`727d100`](https://github.com/graphcommerce-org/graphcommerce/commit/727d1004dfcb7dddf6e35b6b157a34491bb05cc6) - Fixed ItemScroller component className. Changed from SidebarSlider to ItemScroller ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
375
340
|
|
|
376
|
-
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - Accessibility improvements for the frontend: Added skip content link. Removed empty buttons from tab flow. Gave focus to elements (such as the menu) that appear when after clicking a button. Improved aria labels where needed
|
|
377
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
341
|
+
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - Accessibility improvements for the frontend: Added skip content link. Removed empty buttons from tab flow. Gave focus to elements (such as the menu) that appear when after clicking a button. Improved aria labels where needed ([@FrankHarland](https://github.com/FrankHarland))
|
|
378
342
|
|
|
379
|
-
- [#2108](https://github.com/graphcommerce-org/graphcommerce/pull/2108) [`7fc4bb9`](https://github.com/graphcommerce-org/graphcommerce/commit/7fc4bb925c59da46961c9656a2a67b37a9c2d652) - Removed the 'NoSSR' functionality from `<WaitForQueries/>` component as it slows down rendering. The 'feature' was necessary for the following use case: When hydrating a component that was server rendered and was living inside a `<Suspense />` component. It would cause an hydration error and this was the workaround. With useSuspenseQuery and React 18, this problem will not occur.
|
|
380
|
-
([@StefanAngenent](https://github.com/StefanAngenent))
|
|
343
|
+
- [#2108](https://github.com/graphcommerce-org/graphcommerce/pull/2108) [`7fc4bb9`](https://github.com/graphcommerce-org/graphcommerce/commit/7fc4bb925c59da46961c9656a2a67b37a9c2d652) - Removed the 'NoSSR' functionality from `<WaitForQueries/>` component as it slows down rendering. The 'feature' was necessary for the following use case: When hydrating a component that was server rendered and was living inside a `<Suspense />` component. It would cause an hydration error and this was the workaround. With useSuspenseQuery and React 18, this problem will not occur. ([@StefanAngenent](https://github.com/StefanAngenent))
|
|
381
344
|
|
|
382
|
-
- [#2004](https://github.com/graphcommerce-org/graphcommerce/pull/2004) [`d608830`](https://github.com/graphcommerce-org/graphcommerce/commit/d608830ce77f85ff725cc106b9fc55a22012c74c) - Added `disableBackdropClick` prop to MessageSnackbar to allow page interaction without closing the snackbar
|
|
383
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
345
|
+
- [#2004](https://github.com/graphcommerce-org/graphcommerce/pull/2004) [`d608830`](https://github.com/graphcommerce-org/graphcommerce/commit/d608830ce77f85ff725cc106b9fc55a22012c74c) - Added `disableBackdropClick` prop to MessageSnackbar to allow page interaction without closing the snackbar ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
384
346
|
|
|
385
|
-
- [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`695f40c`](https://github.com/graphcommerce-org/graphcommerce/commit/695f40cf220636d17f04bc9b0ce86c549c740386) - The `filterNonNullable` method would collapse TypeScript unions because of the `Simplify<>` helper, this is now omitted retulting in working unions.
|
|
386
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
347
|
+
- [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`695f40c`](https://github.com/graphcommerce-org/graphcommerce/commit/695f40cf220636d17f04bc9b0ce86c549c740386) - The `filterNonNullable` method would collapse TypeScript unions because of the `Simplify<>` helper, this is now omitted retulting in working unions. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
387
348
|
|
|
388
|
-
- [#2066](https://github.com/graphcommerce-org/graphcommerce/pull/2066) [`3b1f585`](https://github.com/graphcommerce-org/graphcommerce/commit/3b1f585153672a644a613411134e5ad36aa4c266) - Add `showButtons` prop to `<ScrollerButton/>`
|
|
389
|
-
([@StefanAngenent](https://github.com/StefanAngenent))
|
|
349
|
+
- [#2066](https://github.com/graphcommerce-org/graphcommerce/pull/2066) [`3b1f585`](https://github.com/graphcommerce-org/graphcommerce/commit/3b1f585153672a644a613411134e5ad36aa4c266) - Add `showButtons` prop to `<ScrollerButton/>` ([@StefanAngenent](https://github.com/StefanAngenent))
|
|
390
350
|
|
|
391
|
-
- [#2045](https://github.com/graphcommerce-org/graphcommerce/pull/2045) [`1ac1e09`](https://github.com/graphcommerce-org/graphcommerce/commit/1ac1e09897daadd646200cb3ddc2aa75a51e182e) - Make sure the product image gallery traps focus and scrollbar doesn't disappear suddenly
|
|
392
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
351
|
+
- [#2045](https://github.com/graphcommerce-org/graphcommerce/pull/2045) [`1ac1e09`](https://github.com/graphcommerce-org/graphcommerce/commit/1ac1e09897daadd646200cb3ddc2aa75a51e182e) - Make sure the product image gallery traps focus and scrollbar doesn't disappear suddenly ([@JoshuaS98](https://github.com/JoshuaS98))
|
|
393
352
|
|
|
394
|
-
- [#2105](https://github.com/graphcommerce-org/graphcommerce/pull/2105) [`185f9dd`](https://github.com/graphcommerce-org/graphcommerce/commit/185f9ddebff0eaf1f388faebe88a5d400294512a) - Fixed bug in Chrome where the mobile menu wouldn't open after the first selected level
|
|
395
|
-
([@mikekeehnen](https://github.com/mikekeehnen))
|
|
353
|
+
- [#2105](https://github.com/graphcommerce-org/graphcommerce/pull/2105) [`185f9dd`](https://github.com/graphcommerce-org/graphcommerce/commit/185f9ddebff0eaf1f388faebe88a5d400294512a) - Fixed bug in Chrome where the mobile menu wouldn't open after the first selected level ([@mikekeehnen](https://github.com/mikekeehnen))
|
|
396
354
|
|
|
397
|
-
- [#2004](https://github.com/graphcommerce-org/graphcommerce/pull/2004) [`94e1ae8`](https://github.com/graphcommerce-org/graphcommerce/commit/94e1ae811fe9eb0051863e8be91c6399ddcdf22f) - Added `<DismissibleSnackbar/>` component to allow messages to be shown only once
|
|
398
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
355
|
+
- [#2004](https://github.com/graphcommerce-org/graphcommerce/pull/2004) [`94e1ae8`](https://github.com/graphcommerce-org/graphcommerce/commit/94e1ae811fe9eb0051863e8be91c6399ddcdf22f) - Added `<DismissibleSnackbar/>` component to allow messages to be shown only once ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
399
356
|
|
|
400
|
-
- [#2137](https://github.com/graphcommerce-org/graphcommerce/pull/2137) [`df507b1`](https://github.com/graphcommerce-org/graphcommerce/commit/df507b194c67eef7b02df858c07938bb308b5397) - Don't render pseudo-locale in HTML lang attribute
|
|
401
|
-
([@hnsr](https://github.com/hnsr))
|
|
357
|
+
- [#2137](https://github.com/graphcommerce-org/graphcommerce/pull/2137) [`df507b1`](https://github.com/graphcommerce-org/graphcommerce/commit/df507b194c67eef7b02df858c07938bb308b5397) - Don't render pseudo-locale in HTML lang attribute ([@hnsr](https://github.com/hnsr))
|
|
402
358
|
|
|
403
|
-
- [#2125](https://github.com/graphcommerce-org/graphcommerce/pull/2125) [`5224ee5`](https://github.com/graphcommerce-org/graphcommerce/commit/5224ee5001c94a19f226fa36106e76739319297c) - If there is an open menu in an overlay, pressing the escape button now closes the menu instead of the overlay.
|
|
404
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
359
|
+
- [#2125](https://github.com/graphcommerce-org/graphcommerce/pull/2125) [`5224ee5`](https://github.com/graphcommerce-org/graphcommerce/commit/5224ee5001c94a19f226fa36106e76739319297c) - If there is an open menu in an overlay, pressing the escape button now closes the menu instead of the overlay. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
405
360
|
|
|
406
|
-
- [#2004](https://github.com/graphcommerce-org/graphcommerce/pull/2004) [`53947d3`](https://github.com/graphcommerce-org/graphcommerce/commit/53947d39f2f3ee578c14903c96a2b356d99d9475) - Implemented 'Message' variant for `<RowColumnOne/>` to show an important message which, after dismissing, will not show again
|
|
407
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
361
|
+
- [#2004](https://github.com/graphcommerce-org/graphcommerce/pull/2004) [`53947d3`](https://github.com/graphcommerce-org/graphcommerce/commit/53947d39f2f3ee578c14903c96a2b356d99d9475) - Implemented 'Message' variant for `<RowColumnOne/>` to show an important message which, after dismissing, will not show again ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
408
362
|
|
|
409
|
-
- [#2121](https://github.com/graphcommerce-org/graphcommerce/pull/2121) [`a5da6ff`](https://github.com/graphcommerce-org/graphcommerce/commit/a5da6ffc8be359e93c7bde986134f7162aae13b9) - Change the critical css injection location to be in the head instead of `<style>` tags in the body. It had a number of negative consequences, such as the famous "flash of unstyled content" (FOUC) and the re-paint and re-layout required.
|
|
410
|
-
([@paales](https://github.com/paales))
|
|
363
|
+
- [#2121](https://github.com/graphcommerce-org/graphcommerce/pull/2121) [`a5da6ff`](https://github.com/graphcommerce-org/graphcommerce/commit/a5da6ffc8be359e93c7bde986134f7162aae13b9) - Change the critical css injection location to be in the head instead of `<style>` tags in the body. It had a number of negative consequences, such as the famous "flash of unstyled content" (FOUC) and the re-paint and re-layout required. ([@paales](https://github.com/paales))
|
|
411
364
|
|
|
412
365
|
## 8.0.0-canary.100
|
|
413
366
|
|
|
@@ -445,8 +398,7 @@
|
|
|
445
398
|
|
|
446
399
|
### Patch Changes
|
|
447
400
|
|
|
448
|
-
- [#2161](https://github.com/graphcommerce-org/graphcommerce/pull/2161) [`cc5c636`](https://github.com/graphcommerce-org/graphcommerce/commit/cc5c636f9f2b3d9fa33384b9a02d6ad3631aa414) - Removed whitespace on top of the zoomed in image on the PDP.
|
|
449
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
401
|
+
- [#2161](https://github.com/graphcommerce-org/graphcommerce/pull/2161) [`cc5c636`](https://github.com/graphcommerce-org/graphcommerce/commit/cc5c636f9f2b3d9fa33384b9a02d6ad3631aa414) - Removed whitespace on top of the zoomed in image on the PDP. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
450
402
|
|
|
451
403
|
## 8.0.0-canary.83
|
|
452
404
|
|
|
@@ -458,29 +410,25 @@
|
|
|
458
410
|
|
|
459
411
|
### Patch Changes
|
|
460
412
|
|
|
461
|
-
- [#2138](https://github.com/graphcommerce-org/graphcommerce/pull/2138) [`a057d62`](https://github.com/graphcommerce-org/graphcommerce/commit/a057d6274e1d427e631ab3fad7a16078315103b8) - Wrap the logo in a div on the homepage to prevent redirection.
|
|
462
|
-
([@carlocarels90](https://github.com/carlocarels90))
|
|
413
|
+
- [#2138](https://github.com/graphcommerce-org/graphcommerce/pull/2138) [`a057d62`](https://github.com/graphcommerce-org/graphcommerce/commit/a057d6274e1d427e631ab3fad7a16078315103b8) - Wrap the logo in a div on the homepage to prevent redirection. ([@carlocarels90](https://github.com/carlocarels90))
|
|
463
414
|
|
|
464
415
|
## 8.0.0-canary.79
|
|
465
416
|
|
|
466
417
|
### Patch Changes
|
|
467
418
|
|
|
468
|
-
- [#2137](https://github.com/graphcommerce-org/graphcommerce/pull/2137) [`df507b1`](https://github.com/graphcommerce-org/graphcommerce/commit/df507b194c67eef7b02df858c07938bb308b5397) - Don't render pseudo-locale in HTML lang attribute
|
|
469
|
-
([@hnsr](https://github.com/hnsr))
|
|
419
|
+
- [#2137](https://github.com/graphcommerce-org/graphcommerce/pull/2137) [`df507b1`](https://github.com/graphcommerce-org/graphcommerce/commit/df507b194c67eef7b02df858c07938bb308b5397) - Don't render pseudo-locale in HTML lang attribute ([@hnsr](https://github.com/hnsr))
|
|
470
420
|
|
|
471
421
|
## 8.0.0-canary.78
|
|
472
422
|
|
|
473
423
|
### Patch Changes
|
|
474
424
|
|
|
475
|
-
- [#2135](https://github.com/graphcommerce-org/graphcommerce/pull/2135) [`7b017f5`](https://github.com/graphcommerce-org/graphcommerce/commit/7b017f58ba3be587d20a7f52c84b2907d52fe201) - Fix incorrect canonical URLs when i18n domain routing is used
|
|
476
|
-
([@hnsr](https://github.com/hnsr))
|
|
425
|
+
- [#2135](https://github.com/graphcommerce-org/graphcommerce/pull/2135) [`7b017f5`](https://github.com/graphcommerce-org/graphcommerce/commit/7b017f58ba3be587d20a7f52c84b2907d52fe201) - Fix incorrect canonical URLs when i18n domain routing is used ([@hnsr](https://github.com/hnsr))
|
|
477
426
|
|
|
478
427
|
## 8.0.0-canary.77
|
|
479
428
|
|
|
480
429
|
### Patch Changes
|
|
481
430
|
|
|
482
|
-
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - a11y improvements (see https://github.com/graphcommerce-org/graphcommerce/issues/1995 for more info)
|
|
483
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
431
|
+
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - a11y improvements (see https://github.com/graphcommerce-org/graphcommerce/issues/1995 for more info) ([@FrankHarland](https://github.com/FrankHarland))
|
|
484
432
|
|
|
485
433
|
## 8.0.0-canary.76
|
|
486
434
|
|
|
@@ -490,8 +438,7 @@
|
|
|
490
438
|
|
|
491
439
|
### Minor Changes
|
|
492
440
|
|
|
493
|
-
- [#2133](https://github.com/graphcommerce-org/graphcommerce/pull/2133) [`133f908`](https://github.com/graphcommerce-org/graphcommerce/commit/133f908200a79589036420f2925835724522cab8) - Added lazy hydration to improve total blocking time. Added LazyHydrate component which can be wrapped around other components you want to lazy hydrate.
|
|
494
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
441
|
+
- [#2133](https://github.com/graphcommerce-org/graphcommerce/pull/2133) [`133f908`](https://github.com/graphcommerce-org/graphcommerce/commit/133f908200a79589036420f2925835724522cab8) - Added lazy hydration to improve total blocking time. Added LazyHydrate component which can be wrapped around other components you want to lazy hydrate. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
495
442
|
|
|
496
443
|
## 8.0.0-canary.73
|
|
497
444
|
|
|
@@ -509,8 +456,7 @@
|
|
|
509
456
|
|
|
510
457
|
### Patch Changes
|
|
511
458
|
|
|
512
|
-
- [#2108](https://github.com/graphcommerce-org/graphcommerce/pull/2108) [`7fc4bb9`](https://github.com/graphcommerce-org/graphcommerce/commit/7fc4bb925c59da46961c9656a2a67b37a9c2d652) - Removed the 'NoSSR' functionality from `<WaitForQueries/>` component as it slows down rendering. The 'feature' was necessary for the following use case: When hydrating a component that was server rendered and was living inside a `<Suspense />` component. It would cause an hydration error and this was the workaround. With useSuspenseQuery and React 18, this problem will not occur.
|
|
513
|
-
([@StefanAngenent](https://github.com/StefanAngenent))
|
|
459
|
+
- [#2108](https://github.com/graphcommerce-org/graphcommerce/pull/2108) [`7fc4bb9`](https://github.com/graphcommerce-org/graphcommerce/commit/7fc4bb925c59da46961c9656a2a67b37a9c2d652) - Removed the 'NoSSR' functionality from `<WaitForQueries/>` component as it slows down rendering. The 'feature' was necessary for the following use case: When hydrating a component that was server rendered and was living inside a `<Suspense />` component. It would cause an hydration error and this was the workaround. With useSuspenseQuery and React 18, this problem will not occur. ([@StefanAngenent](https://github.com/StefanAngenent))
|
|
514
460
|
|
|
515
461
|
## 7.1.0-canary.66
|
|
516
462
|
|
|
@@ -2090,31 +2036,31 @@
|
|
|
2090
2036
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
2091
2037
|
|
|
2092
2038
|
```tsx
|
|
2093
|
-
import { Trans, t } from
|
|
2039
|
+
import { Trans, t } from '@lingui/macro'
|
|
2094
2040
|
|
|
2095
2041
|
function MyComponent() {
|
|
2096
|
-
const foo =
|
|
2042
|
+
const foo = 'bar'
|
|
2097
2043
|
return (
|
|
2098
2044
|
<div aria-label={t`Account ${foo}`}>
|
|
2099
2045
|
<Trans>My Translation {foo}</Trans>
|
|
2100
2046
|
</div>
|
|
2101
|
-
)
|
|
2047
|
+
)
|
|
2102
2048
|
}
|
|
2103
2049
|
```
|
|
2104
2050
|
|
|
2105
2051
|
Needs to be replaced with:
|
|
2106
2052
|
|
|
2107
2053
|
```tsx
|
|
2108
|
-
import { Trans } from
|
|
2109
|
-
import { i18n } from
|
|
2054
|
+
import { Trans } from '@lingui/react'
|
|
2055
|
+
import { i18n } from '@lingui/core'
|
|
2110
2056
|
|
|
2111
2057
|
function MyComponent() {
|
|
2112
|
-
const foo =
|
|
2058
|
+
const foo = 'bar'
|
|
2113
2059
|
return (
|
|
2114
2060
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
2115
|
-
<Trans key=
|
|
2061
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
2116
2062
|
</div>
|
|
2117
|
-
)
|
|
2063
|
+
)
|
|
2118
2064
|
}
|
|
2119
2065
|
```
|
|
2120
2066
|
|
package/hooks/useLocale.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { normalizeLocale } from '../utils/normalizeLocale'
|
|
2
2
|
import { useStorefrontConfig } from './useStorefrontConfig'
|
|
3
3
|
|
|
4
|
-
export function useLocale(): Intl.
|
|
4
|
+
export function useLocale(): Intl.UnicodeBCP47LocaleIdentifier {
|
|
5
5
|
const { locale } = useStorefrontConfig()
|
|
6
6
|
return normalizeLocale(locale)
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/next-ui",
|
|
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.58",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -13,26 +13,26 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@emotion/cache": "^11.11.0",
|
|
16
|
-
"@emotion/react": "^11.11.
|
|
16
|
+
"@emotion/react": "^11.11.4",
|
|
17
17
|
"@emotion/server": "^11.11.0",
|
|
18
|
-
"@emotion/styled": "^11.11.
|
|
18
|
+
"@emotion/styled": "^11.11.5",
|
|
19
19
|
"cookie": "^0.6.0",
|
|
20
20
|
"next-sitemap": "4.2.3",
|
|
21
|
-
"react-is": "^18.
|
|
21
|
+
"react-is": "^18.3.1"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/cookie": "^0.6.0",
|
|
25
|
-
"@types/react-is": "^18.
|
|
26
|
-
"typescript": "5.
|
|
25
|
+
"@types/react-is": "^18.3.0",
|
|
26
|
+
"typescript": "5.5.3"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.
|
|
30
|
-
"@graphcommerce/framer-next-pages": "^9.0.0-canary.
|
|
31
|
-
"@graphcommerce/framer-scroller": "^9.0.0-canary.
|
|
32
|
-
"@graphcommerce/framer-utils": "^9.0.0-canary.
|
|
33
|
-
"@graphcommerce/image": "^9.0.0-canary.
|
|
34
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
|
35
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.
|
|
29
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.58",
|
|
30
|
+
"@graphcommerce/framer-next-pages": "^9.0.0-canary.58",
|
|
31
|
+
"@graphcommerce/framer-scroller": "^9.0.0-canary.58",
|
|
32
|
+
"@graphcommerce/framer-utils": "^9.0.0-canary.58",
|
|
33
|
+
"@graphcommerce/image": "^9.0.0-canary.58",
|
|
34
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.58",
|
|
35
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.58",
|
|
36
36
|
"@lingui/core": "^4.2.1",
|
|
37
37
|
"@lingui/macro": "^4.2.1",
|
|
38
38
|
"@lingui/react": "^4.2.1",
|