@graphcommerce/next-ui 9.0.0-canary.55 → 9.0.0-canary.57
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.57
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#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))
|
|
8
|
+
|
|
9
|
+
## 9.0.0-canary.56
|
|
10
|
+
|
|
3
11
|
## 9.0.0-canary.55
|
|
4
12
|
|
|
5
13
|
## 9.0.0-canary.54
|
|
@@ -14,15 +22,13 @@
|
|
|
14
22
|
|
|
15
23
|
### Patch Changes
|
|
16
24
|
|
|
17
|
-
- [#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.
|
|
18
|
-
([@carlocarels90](https://github.com/carlocarels90))
|
|
25
|
+
- [#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))
|
|
19
26
|
|
|
20
27
|
## 8.1.0-canary.49
|
|
21
28
|
|
|
22
29
|
### Patch Changes
|
|
23
30
|
|
|
24
|
-
- [#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.
|
|
25
|
-
([@paales](https://github.com/paales))
|
|
31
|
+
- [#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))
|
|
26
32
|
|
|
27
33
|
## 8.1.0-canary.48
|
|
28
34
|
|
|
@@ -30,31 +36,25 @@
|
|
|
30
36
|
|
|
31
37
|
### Minor Changes
|
|
32
38
|
|
|
33
|
-
- [#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
|
|
34
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
39
|
+
- [#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))
|
|
35
40
|
|
|
36
41
|
## 8.1.0-canary.46
|
|
37
42
|
|
|
38
43
|
### Patch Changes
|
|
39
44
|
|
|
40
|
-
- [#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.
|
|
41
|
-
([@paales](https://github.com/paales))
|
|
45
|
+
- [#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))
|
|
42
46
|
|
|
43
47
|
## 8.1.0-canary.45
|
|
44
48
|
|
|
45
49
|
### Patch Changes
|
|
46
50
|
|
|
47
|
-
- [#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
|
|
48
|
-
([@paales](https://github.com/paales))
|
|
51
|
+
- [#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))
|
|
49
52
|
|
|
50
|
-
- [#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
|
|
51
|
-
([@paales](https://github.com/paales))
|
|
53
|
+
- [#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))
|
|
52
54
|
|
|
53
|
-
- [#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
|
|
54
|
-
([@paales](https://github.com/paales))
|
|
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 ([@paales](https://github.com/paales))
|
|
55
56
|
|
|
56
|
-
- [#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.
|
|
57
|
-
([@paales](https://github.com/paales))
|
|
57
|
+
- [#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))
|
|
58
58
|
|
|
59
59
|
## 8.1.0-canary.44
|
|
60
60
|
|
|
@@ -66,16 +66,13 @@
|
|
|
66
66
|
|
|
67
67
|
### Patch Changes
|
|
68
68
|
|
|
69
|
-
- [#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
|
|
70
|
-
COMPACT means: "< Page X of Y >"
|
|
71
|
-
EXTENDED means: "< 1 2 ... [5] ... 10 11 >" ([@FrankHarland](https://github.com/FrankHarland))
|
|
69
|
+
- [#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))
|
|
72
70
|
|
|
73
71
|
## 8.1.0-canary.40
|
|
74
72
|
|
|
75
73
|
### Minor Changes
|
|
76
74
|
|
|
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.
|
|
78
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
75
|
+
- [#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))
|
|
79
76
|
|
|
80
77
|
## 8.1.0-canary.39
|
|
81
78
|
|
|
@@ -97,8 +94,7 @@
|
|
|
97
94
|
|
|
98
95
|
### Patch Changes
|
|
99
96
|
|
|
100
|
-
- [#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
|
|
101
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
97
|
+
- [#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))
|
|
102
98
|
|
|
103
99
|
## 8.1.0-canary.30
|
|
104
100
|
|
|
@@ -110,20 +106,17 @@
|
|
|
110
106
|
|
|
111
107
|
### Minor Changes
|
|
112
108
|
|
|
113
|
-
- [#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
|
|
114
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
109
|
+
- [#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))
|
|
115
110
|
|
|
116
111
|
## 8.1.0-canary.26
|
|
117
112
|
|
|
118
113
|
### Minor Changes
|
|
119
114
|
|
|
120
|
-
- [#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
|
|
121
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
115
|
+
- [#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))
|
|
122
116
|
|
|
123
117
|
### Patch Changes
|
|
124
118
|
|
|
125
|
-
- [#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
|
|
126
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
119
|
+
- [#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))
|
|
127
120
|
|
|
128
121
|
## 8.1.0-canary.25
|
|
129
122
|
|
|
@@ -145,8 +138,7 @@
|
|
|
145
138
|
|
|
146
139
|
### Minor Changes
|
|
147
140
|
|
|
148
|
-
- [#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.
|
|
149
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
141
|
+
- [#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))
|
|
150
142
|
|
|
151
143
|
## 8.1.0-canary.16
|
|
152
144
|
|
|
@@ -166,15 +158,13 @@
|
|
|
166
158
|
|
|
167
159
|
### Patch Changes
|
|
168
160
|
|
|
169
|
-
- [#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
|
|
170
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
161
|
+
- [#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))
|
|
171
162
|
|
|
172
163
|
## 8.1.0-canary.8
|
|
173
164
|
|
|
174
165
|
### Patch Changes
|
|
175
166
|
|
|
176
|
-
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`444e446`](https://github.com/graphcommerce-org/graphcommerce/commit/444e446a218cc9da3defb940a6d5cce0229ff845) - Added clear upgrade instructions for linguiLocale
|
|
177
|
-
([@paales](https://github.com/paales))
|
|
167
|
+
- [#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))
|
|
178
168
|
|
|
179
169
|
## 8.1.0-canary.7
|
|
180
170
|
|
|
@@ -190,11 +180,9 @@
|
|
|
190
180
|
|
|
191
181
|
### Patch Changes
|
|
192
182
|
|
|
193
|
-
- [#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.
|
|
194
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
183
|
+
- [#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))
|
|
195
184
|
|
|
196
|
-
- [#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
|
|
197
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
185
|
+
- [#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))
|
|
198
186
|
|
|
199
187
|
## 8.0.6-canary.1
|
|
200
188
|
|
|
@@ -202,31 +190,25 @@
|
|
|
202
190
|
|
|
203
191
|
### Patch Changes
|
|
204
192
|
|
|
205
|
-
- [#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.
|
|
206
|
-
([@paales](https://github.com/paales))
|
|
193
|
+
- [#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))
|
|
207
194
|
|
|
208
195
|
## 8.0.5
|
|
209
196
|
|
|
210
197
|
### Patch Changes
|
|
211
198
|
|
|
212
|
-
- [#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
|
|
213
|
-
([@paales](https://github.com/paales))
|
|
199
|
+
- [#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))
|
|
214
200
|
|
|
215
201
|
- [#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.
|
|
216
202
|
|
|
217
203
|
Please note: If you've used child selectors to style the section, please make sure you update your styles. ([@carlocarels90](https://github.com/carlocarels90))
|
|
218
204
|
|
|
219
|
-
- [#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
|
|
220
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
205
|
+
- [#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))
|
|
221
206
|
|
|
222
|
-
- [#2241](https://github.com/graphcommerce-org/graphcommerce/pull/2241) [`cde3c31`](https://github.com/graphcommerce-org/graphcommerce/commit/cde3c310abf2ac3c82d1062d5fb0a4c00ba50cff) - Removed unnecessary vendor prefixes
|
|
223
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
207
|
+
- [#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))
|
|
224
208
|
|
|
225
|
-
- [#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
|
|
226
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
209
|
+
- [#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))
|
|
227
210
|
|
|
228
|
-
- [#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
|
|
229
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
211
|
+
- [#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))
|
|
230
212
|
|
|
231
213
|
## 8.0.5-canary.10
|
|
232
214
|
|
|
@@ -238,14 +220,11 @@
|
|
|
238
220
|
|
|
239
221
|
### Patch Changes
|
|
240
222
|
|
|
241
|
-
- [#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
|
|
242
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
223
|
+
- [#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))
|
|
243
224
|
|
|
244
|
-
- [#2241](https://github.com/graphcommerce-org/graphcommerce/pull/2241) [`cde3c31`](https://github.com/graphcommerce-org/graphcommerce/commit/cde3c310abf2ac3c82d1062d5fb0a4c00ba50cff) - Removed unnecessary vendor prefixes
|
|
245
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
225
|
+
- [#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))
|
|
246
226
|
|
|
247
|
-
- [#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
|
|
248
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
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 ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
249
228
|
|
|
250
229
|
## 8.0.5-canary.6
|
|
251
230
|
|
|
@@ -257,8 +236,7 @@
|
|
|
257
236
|
|
|
258
237
|
### Patch Changes
|
|
259
238
|
|
|
260
|
-
- [#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
|
|
261
|
-
([@paales](https://github.com/paales))
|
|
239
|
+
- [#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))
|
|
262
240
|
|
|
263
241
|
## 8.0.5-canary.2
|
|
264
242
|
|
|
@@ -274,15 +252,13 @@
|
|
|
274
252
|
|
|
275
253
|
### Patch Changes
|
|
276
254
|
|
|
277
|
-
- [#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
|
|
278
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
255
|
+
- [#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))
|
|
279
256
|
|
|
280
257
|
## 8.0.4
|
|
281
258
|
|
|
282
259
|
### Patch Changes
|
|
283
260
|
|
|
284
|
-
- [#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
|
|
285
|
-
([@carlocarels90](https://github.com/carlocarels90))
|
|
261
|
+
- [#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))
|
|
286
262
|
|
|
287
263
|
## 8.0.4-canary.1
|
|
288
264
|
|
|
@@ -290,8 +266,7 @@
|
|
|
290
266
|
|
|
291
267
|
### Patch Changes
|
|
292
268
|
|
|
293
|
-
- [#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
|
|
294
|
-
([@carlocarels90](https://github.com/carlocarels90))
|
|
269
|
+
- [#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))
|
|
295
270
|
|
|
296
271
|
## 8.0.3
|
|
297
272
|
|
|
@@ -323,15 +298,13 @@
|
|
|
323
298
|
|
|
324
299
|
### Patch Changes
|
|
325
300
|
|
|
326
|
-
- [#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
|
|
327
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
301
|
+
- [#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))
|
|
328
302
|
|
|
329
303
|
## 8.0.1-canary.4
|
|
330
304
|
|
|
331
305
|
### Patch Changes
|
|
332
306
|
|
|
333
|
-
- [#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
|
|
334
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
307
|
+
- [#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))
|
|
335
308
|
|
|
336
309
|
## 8.0.1-canary.3
|
|
337
310
|
|
|
@@ -345,67 +318,47 @@
|
|
|
345
318
|
|
|
346
319
|
### Minor Changes
|
|
347
320
|
|
|
348
|
-
- [#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.
|
|
349
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
321
|
+
- [#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))
|
|
350
322
|
|
|
351
|
-
- [#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
|
|
352
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
323
|
+
- [#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))
|
|
353
324
|
|
|
354
|
-
- [#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.
|
|
355
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
325
|
+
- [#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))
|
|
356
326
|
|
|
357
327
|
### Patch Changes
|
|
358
328
|
|
|
359
|
-
- [#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.
|
|
360
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
329
|
+
- [#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))
|
|
361
330
|
|
|
362
|
-
- [#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.
|
|
363
|
-
([@carlocarels90](https://github.com/carlocarels90))
|
|
331
|
+
- [#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))
|
|
364
332
|
|
|
365
|
-
- [#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
|
|
366
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
333
|
+
- [#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))
|
|
367
334
|
|
|
368
|
-
- [#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
|
|
369
|
-
([@hnsr](https://github.com/hnsr))
|
|
335
|
+
- [#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))
|
|
370
336
|
|
|
371
|
-
- [#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
|
|
372
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
337
|
+
- [#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))
|
|
373
338
|
|
|
374
|
-
- [`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
|
|
375
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
339
|
+
- [`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))
|
|
376
340
|
|
|
377
|
-
- [#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.
|
|
378
|
-
([@StefanAngenent](https://github.com/StefanAngenent))
|
|
341
|
+
- [#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))
|
|
379
342
|
|
|
380
|
-
- [#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
|
|
381
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
343
|
+
- [#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))
|
|
382
344
|
|
|
383
|
-
- [#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.
|
|
384
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
345
|
+
- [#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))
|
|
385
346
|
|
|
386
|
-
- [#2066](https://github.com/graphcommerce-org/graphcommerce/pull/2066) [`3b1f585`](https://github.com/graphcommerce-org/graphcommerce/commit/3b1f585153672a644a613411134e5ad36aa4c266) - Add `showButtons` prop to `<ScrollerButton/>`
|
|
387
|
-
([@StefanAngenent](https://github.com/StefanAngenent))
|
|
347
|
+
- [#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))
|
|
388
348
|
|
|
389
|
-
- [#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
|
|
390
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
349
|
+
- [#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))
|
|
391
350
|
|
|
392
|
-
- [#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
|
|
393
|
-
([@mikekeehnen](https://github.com/mikekeehnen))
|
|
351
|
+
- [#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))
|
|
394
352
|
|
|
395
|
-
- [#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
|
|
396
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
353
|
+
- [#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))
|
|
397
354
|
|
|
398
|
-
- [#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
|
|
399
|
-
([@hnsr](https://github.com/hnsr))
|
|
355
|
+
- [#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))
|
|
400
356
|
|
|
401
|
-
- [#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.
|
|
402
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
357
|
+
- [#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))
|
|
403
358
|
|
|
404
|
-
- [#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
|
|
405
|
-
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
359
|
+
- [#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))
|
|
406
360
|
|
|
407
|
-
- [#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.
|
|
408
|
-
([@paales](https://github.com/paales))
|
|
361
|
+
- [#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))
|
|
409
362
|
|
|
410
363
|
## 8.0.0-canary.100
|
|
411
364
|
|
|
@@ -443,8 +396,7 @@
|
|
|
443
396
|
|
|
444
397
|
### Patch Changes
|
|
445
398
|
|
|
446
|
-
- [#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.
|
|
447
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
399
|
+
- [#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))
|
|
448
400
|
|
|
449
401
|
## 8.0.0-canary.83
|
|
450
402
|
|
|
@@ -456,29 +408,25 @@
|
|
|
456
408
|
|
|
457
409
|
### Patch Changes
|
|
458
410
|
|
|
459
|
-
- [#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.
|
|
460
|
-
([@carlocarels90](https://github.com/carlocarels90))
|
|
411
|
+
- [#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))
|
|
461
412
|
|
|
462
413
|
## 8.0.0-canary.79
|
|
463
414
|
|
|
464
415
|
### Patch Changes
|
|
465
416
|
|
|
466
|
-
- [#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
|
|
467
|
-
([@hnsr](https://github.com/hnsr))
|
|
417
|
+
- [#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))
|
|
468
418
|
|
|
469
419
|
## 8.0.0-canary.78
|
|
470
420
|
|
|
471
421
|
### Patch Changes
|
|
472
422
|
|
|
473
|
-
- [#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
|
|
474
|
-
([@hnsr](https://github.com/hnsr))
|
|
423
|
+
- [#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))
|
|
475
424
|
|
|
476
425
|
## 8.0.0-canary.77
|
|
477
426
|
|
|
478
427
|
### Patch Changes
|
|
479
428
|
|
|
480
|
-
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - a11y improvements (see https://github.com/graphcommerce-org/graphcommerce/issues/1995 for more info)
|
|
481
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
429
|
+
- [`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))
|
|
482
430
|
|
|
483
431
|
## 8.0.0-canary.76
|
|
484
432
|
|
|
@@ -488,8 +436,7 @@
|
|
|
488
436
|
|
|
489
437
|
### Minor Changes
|
|
490
438
|
|
|
491
|
-
- [#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.
|
|
492
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
439
|
+
- [#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))
|
|
493
440
|
|
|
494
441
|
## 8.0.0-canary.73
|
|
495
442
|
|
|
@@ -507,8 +454,7 @@
|
|
|
507
454
|
|
|
508
455
|
### Patch Changes
|
|
509
456
|
|
|
510
|
-
- [#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.
|
|
511
|
-
([@StefanAngenent](https://github.com/StefanAngenent))
|
|
457
|
+
- [#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))
|
|
512
458
|
|
|
513
459
|
## 7.1.0-canary.66
|
|
514
460
|
|
|
@@ -2088,31 +2034,31 @@
|
|
|
2088
2034
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
2089
2035
|
|
|
2090
2036
|
```tsx
|
|
2091
|
-
import { Trans, t } from
|
|
2037
|
+
import { Trans, t } from '@lingui/macro'
|
|
2092
2038
|
|
|
2093
2039
|
function MyComponent() {
|
|
2094
|
-
const foo =
|
|
2040
|
+
const foo = 'bar'
|
|
2095
2041
|
return (
|
|
2096
2042
|
<div aria-label={t`Account ${foo}`}>
|
|
2097
2043
|
<Trans>My Translation {foo}</Trans>
|
|
2098
2044
|
</div>
|
|
2099
|
-
)
|
|
2045
|
+
)
|
|
2100
2046
|
}
|
|
2101
2047
|
```
|
|
2102
2048
|
|
|
2103
2049
|
Needs to be replaced with:
|
|
2104
2050
|
|
|
2105
2051
|
```tsx
|
|
2106
|
-
import { Trans } from
|
|
2107
|
-
import { i18n } from
|
|
2052
|
+
import { Trans } from '@lingui/react'
|
|
2053
|
+
import { i18n } from '@lingui/core'
|
|
2108
2054
|
|
|
2109
2055
|
function MyComponent() {
|
|
2110
|
-
const foo =
|
|
2056
|
+
const foo = 'bar'
|
|
2111
2057
|
return (
|
|
2112
2058
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
2113
|
-
<Trans key=
|
|
2059
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
2114
2060
|
</div>
|
|
2115
|
-
)
|
|
2061
|
+
)
|
|
2116
2062
|
}
|
|
2117
2063
|
```
|
|
2118
2064
|
|
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.57",
|
|
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.57",
|
|
30
|
+
"@graphcommerce/framer-next-pages": "^9.0.0-canary.57",
|
|
31
|
+
"@graphcommerce/framer-scroller": "^9.0.0-canary.57",
|
|
32
|
+
"@graphcommerce/framer-utils": "^9.0.0-canary.57",
|
|
33
|
+
"@graphcommerce/image": "^9.0.0-canary.57",
|
|
34
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.57",
|
|
35
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.57",
|
|
36
36
|
"@lingui/core": "^4.2.1",
|
|
37
37
|
"@lingui/macro": "^4.2.1",
|
|
38
38
|
"@lingui/react": "^4.2.1",
|