@graphcommerce/ecommerce-ui 9.0.0-canary.56 → 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/CHANGELOG.md +26 -41
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @graphcommerce/ecommerce-ui
|
|
2
2
|
|
|
3
|
+
## 9.0.0-canary.57
|
|
4
|
+
|
|
3
5
|
## 9.0.0-canary.56
|
|
4
6
|
|
|
5
7
|
## 9.0.0-canary.55
|
|
@@ -20,8 +22,7 @@
|
|
|
20
22
|
|
|
21
23
|
### Minor Changes
|
|
22
24
|
|
|
23
|
-
- [#2319](https://github.com/graphcommerce-org/graphcommerce/pull/2319) [`a3409e8`](https://github.com/graphcommerce-org/graphcommerce/commit/a3409e8a629ee95413da6547cbdcf48aa2502c23) - Created a new TelephoneElement component to make re-use easier
|
|
24
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
25
|
+
- [#2319](https://github.com/graphcommerce-org/graphcommerce/pull/2319) [`a3409e8`](https://github.com/graphcommerce-org/graphcommerce/commit/a3409e8a629ee95413da6547cbdcf48aa2502c23) - Created a new TelephoneElement component to make re-use easier ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
25
26
|
|
|
26
27
|
## 8.1.0-canary.47
|
|
27
28
|
|
|
@@ -51,8 +52,7 @@
|
|
|
51
52
|
|
|
52
53
|
### Patch Changes
|
|
53
54
|
|
|
54
|
-
- [#2301](https://github.com/graphcommerce-org/graphcommerce/pull/2301) [`13d0649`](https://github.com/graphcommerce-org/graphcommerce/commit/13d06498d121f93b52c25930e50aa3b0bd12a818) - Created a new EmailElement component to make re-use easier
|
|
55
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
55
|
+
- [#2301](https://github.com/graphcommerce-org/graphcommerce/pull/2301) [`13d0649`](https://github.com/graphcommerce-org/graphcommerce/commit/13d06498d121f93b52c25930e50aa3b0bd12a818) - Created a new EmailElement component to make re-use easier ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
56
56
|
|
|
57
57
|
## 8.1.0-canary.34
|
|
58
58
|
|
|
@@ -122,15 +122,11 @@
|
|
|
122
122
|
|
|
123
123
|
### Patch Changes
|
|
124
124
|
|
|
125
|
-
- [#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
|
|
126
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
125
|
+
- [#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))
|
|
127
126
|
|
|
128
|
-
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - Make sure the TextFieldElement doesn’t give a uncontrolled to controlled warning.
|
|
129
|
-
Convert SelectElement to useController instead of a separate Controller component.
|
|
130
|
-
Make sure the original endAdornment is always shown only until the value is valid ([@FrankHarland](https://github.com/FrankHarland))
|
|
127
|
+
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - Make sure the TextFieldElement doesn’t give a uncontrolled to controlled warning. Convert SelectElement to useController instead of a separate Controller component. Make sure the original endAdornment is always shown only until the value is valid ([@FrankHarland](https://github.com/FrankHarland))
|
|
131
128
|
|
|
132
|
-
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`d4e693d`](https://github.com/graphcommerce-org/graphcommerce/commit/d4e693d553198c9a1ef398d000ca23d209e6c2ba) - The `<WaitForQueries/>` component now uses the useIsSSR hook which prevents loading spinners when navigating on the client, which make all account/cart/checkout pages faster.
|
|
133
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
129
|
+
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`d4e693d`](https://github.com/graphcommerce-org/graphcommerce/commit/d4e693d553198c9a1ef398d000ca23d209e6c2ba) - The `<WaitForQueries/>` component now uses the useIsSSR hook which prevents loading spinners when navigating on the client, which make all account/cart/checkout pages faster. ([@FrankHarland](https://github.com/FrankHarland))
|
|
134
130
|
|
|
135
131
|
## 8.0.6-canary.1
|
|
136
132
|
|
|
@@ -170,14 +166,11 @@
|
|
|
170
166
|
|
|
171
167
|
### Patch Changes
|
|
172
168
|
|
|
173
|
-
- [#2212](https://github.com/graphcommerce-org/graphcommerce/pull/2212) [`e12d1dc`](https://github.com/graphcommerce-org/graphcommerce/commit/e12d1dc201bf7b23a996bd58a256a117b91a9334) - Rename validation to rules for all Form field components and deprecate validation
|
|
174
|
-
([@paales](https://github.com/paales))
|
|
169
|
+
- [#2212](https://github.com/graphcommerce-org/graphcommerce/pull/2212) [`e12d1dc`](https://github.com/graphcommerce-org/graphcommerce/commit/e12d1dc201bf7b23a996bd58a256a117b91a9334) - Rename validation to rules for all Form field components and deprecate validation ([@paales](https://github.com/paales))
|
|
175
170
|
|
|
176
|
-
- [#2203](https://github.com/graphcommerce-org/graphcommerce/pull/2203) [`7ef7dc7`](https://github.com/graphcommerce-org/graphcommerce/commit/7ef7dc7631f61a2feba67a531a210df9c22fed4b) - CheckboxElement, MultiSelectElement, NumberFieldElement, SelectElement, SliderElement and TextFieldElement have their inputRef passed, allowing focus to be set by the form.
|
|
177
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
171
|
+
- [#2203](https://github.com/graphcommerce-org/graphcommerce/pull/2203) [`7ef7dc7`](https://github.com/graphcommerce-org/graphcommerce/commit/7ef7dc7631f61a2feba67a531a210df9c22fed4b) - CheckboxElement, MultiSelectElement, NumberFieldElement, SelectElement, SliderElement and TextFieldElement have their inputRef passed, allowing focus to be set by the form. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
178
172
|
|
|
179
|
-
- [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`eb14696`](https://github.com/graphcommerce-org/graphcommerce/commit/eb14696fc65e084a06790c88a8218fb3003f7c2c) - `<WaitForQueries/>` will default to loading, restoring the previous behavior. This might introduce , this might introduce an additional spinner but prevents a flash where it is shown that there is no cart
|
|
180
|
-
([@paales](https://github.com/paales))
|
|
173
|
+
- [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`eb14696`](https://github.com/graphcommerce-org/graphcommerce/commit/eb14696fc65e084a06790c88a8218fb3003f7c2c) - `<WaitForQueries/>` will default to loading, restoring the previous behavior. This might introduce , this might introduce an additional spinner but prevents a flash where it is shown that there is no cart ([@paales](https://github.com/paales))
|
|
181
174
|
|
|
182
175
|
## 8.0.3-canary.6
|
|
183
176
|
|
|
@@ -185,15 +178,13 @@
|
|
|
185
178
|
|
|
186
179
|
### Patch Changes
|
|
187
180
|
|
|
188
|
-
- [#2212](https://github.com/graphcommerce-org/graphcommerce/pull/2212) [`e12d1dc`](https://github.com/graphcommerce-org/graphcommerce/commit/e12d1dc201bf7b23a996bd58a256a117b91a9334) - Rename validation to rules for all Form field components and deprecate validation
|
|
189
|
-
([@paales](https://github.com/paales))
|
|
181
|
+
- [#2212](https://github.com/graphcommerce-org/graphcommerce/pull/2212) [`e12d1dc`](https://github.com/graphcommerce-org/graphcommerce/commit/e12d1dc201bf7b23a996bd58a256a117b91a9334) - Rename validation to rules for all Form field components and deprecate validation ([@paales](https://github.com/paales))
|
|
190
182
|
|
|
191
183
|
## 8.0.3-canary.4
|
|
192
184
|
|
|
193
185
|
### Patch Changes
|
|
194
186
|
|
|
195
|
-
- [#2203](https://github.com/graphcommerce-org/graphcommerce/pull/2203) [`7ef7dc7`](https://github.com/graphcommerce-org/graphcommerce/commit/7ef7dc7631f61a2feba67a531a210df9c22fed4b) - CheckboxElement, MultiSelectElement, NumberFieldElement, SelectElement, SliderElement and TextFieldElement have their inputRef passed, allowing focus to be set by the form.
|
|
196
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
187
|
+
- [#2203](https://github.com/graphcommerce-org/graphcommerce/pull/2203) [`7ef7dc7`](https://github.com/graphcommerce-org/graphcommerce/commit/7ef7dc7631f61a2feba67a531a210df9c22fed4b) - CheckboxElement, MultiSelectElement, NumberFieldElement, SelectElement, SliderElement and TextFieldElement have their inputRef passed, allowing focus to be set by the form. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
197
188
|
|
|
198
189
|
## 8.0.3-canary.3
|
|
199
190
|
|
|
@@ -201,8 +192,7 @@
|
|
|
201
192
|
|
|
202
193
|
### Patch Changes
|
|
203
194
|
|
|
204
|
-
- [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`eb14696`](https://github.com/graphcommerce-org/graphcommerce/commit/eb14696fc65e084a06790c88a8218fb3003f7c2c) - `<WaitForQueries/>` will default to loading, restoring the previous behavior. This might introduce , this might introduce an additional spinner but prevents a flash where it is shown that there is no cart
|
|
205
|
-
([@paales](https://github.com/paales))
|
|
195
|
+
- [#2205](https://github.com/graphcommerce-org/graphcommerce/pull/2205) [`eb14696`](https://github.com/graphcommerce-org/graphcommerce/commit/eb14696fc65e084a06790c88a8218fb3003f7c2c) - `<WaitForQueries/>` will default to loading, restoring the previous behavior. This might introduce , this might introduce an additional spinner but prevents a flash where it is shown that there is no cart ([@paales](https://github.com/paales))
|
|
206
196
|
|
|
207
197
|
## 8.0.3-canary.1
|
|
208
198
|
|
|
@@ -234,19 +224,15 @@
|
|
|
234
224
|
|
|
235
225
|
### Minor Changes
|
|
236
226
|
|
|
237
|
-
- [#2111](https://github.com/graphcommerce-org/graphcommerce/pull/2111) [`35f3d3e`](https://github.com/graphcommerce-org/graphcommerce/commit/35f3d3eaf46f4b782bb1149e0efb0ec3819442d6) - Only show network errors in development mode.
|
|
238
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
227
|
+
- [#2111](https://github.com/graphcommerce-org/graphcommerce/pull/2111) [`35f3d3e`](https://github.com/graphcommerce-org/graphcommerce/commit/35f3d3eaf46f4b782bb1149e0efb0ec3819442d6) - Only show network errors in development mode. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
239
228
|
|
|
240
|
-
- [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`13e23e4`](https://github.com/graphcommerce-org/graphcommerce/commit/13e23e4265bac70fb4d0830e4661019e71ce299f) - Wishlist will now support configurable products and uses the `<ActionCardLayout/>`
|
|
241
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
229
|
+
- [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`13e23e4`](https://github.com/graphcommerce-org/graphcommerce/commit/13e23e4265bac70fb4d0830e4661019e71ce299f) - Wishlist will now support configurable products and uses the `<ActionCardLayout/>` ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
242
230
|
|
|
243
|
-
- [#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.
|
|
244
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
231
|
+
- [#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))
|
|
245
232
|
|
|
246
233
|
### Patch Changes
|
|
247
234
|
|
|
248
|
-
- [`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
|
|
249
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
235
|
+
- [`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))
|
|
250
236
|
|
|
251
237
|
## 8.0.0-canary.100
|
|
252
238
|
|
|
@@ -298,8 +284,7 @@
|
|
|
298
284
|
|
|
299
285
|
### Patch Changes
|
|
300
286
|
|
|
301
|
-
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - a11y improvements (see https://github.com/graphcommerce-org/graphcommerce/issues/1995 for more info)
|
|
302
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
287
|
+
- [`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))
|
|
303
288
|
|
|
304
289
|
## 8.0.0-canary.76
|
|
305
290
|
|
|
@@ -1391,31 +1376,31 @@
|
|
|
1391
1376
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1392
1377
|
|
|
1393
1378
|
```tsx
|
|
1394
|
-
import { Trans, t } from
|
|
1379
|
+
import { Trans, t } from '@lingui/macro'
|
|
1395
1380
|
|
|
1396
1381
|
function MyComponent() {
|
|
1397
|
-
const foo =
|
|
1382
|
+
const foo = 'bar'
|
|
1398
1383
|
return (
|
|
1399
1384
|
<div aria-label={t`Account ${foo}`}>
|
|
1400
1385
|
<Trans>My Translation {foo}</Trans>
|
|
1401
1386
|
</div>
|
|
1402
|
-
)
|
|
1387
|
+
)
|
|
1403
1388
|
}
|
|
1404
1389
|
```
|
|
1405
1390
|
|
|
1406
1391
|
Needs to be replaced with:
|
|
1407
1392
|
|
|
1408
1393
|
```tsx
|
|
1409
|
-
import { Trans } from
|
|
1410
|
-
import { i18n } from
|
|
1394
|
+
import { Trans } from '@lingui/react'
|
|
1395
|
+
import { i18n } from '@lingui/core'
|
|
1411
1396
|
|
|
1412
1397
|
function MyComponent() {
|
|
1413
|
-
const foo =
|
|
1398
|
+
const foo = 'bar'
|
|
1414
1399
|
return (
|
|
1415
1400
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1416
|
-
<Trans key=
|
|
1401
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1417
1402
|
</div>
|
|
1418
|
-
)
|
|
1403
|
+
)
|
|
1419
1404
|
}
|
|
1420
1405
|
```
|
|
1421
1406
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/ecommerce-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": {
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.
|
|
16
|
-
"@graphcommerce/graphql": "^9.0.0-canary.
|
|
17
|
-
"@graphcommerce/next-ui": "^9.0.0-canary.
|
|
18
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
|
19
|
-
"@graphcommerce/react-hook-form": "^9.0.0-canary.
|
|
20
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.57",
|
|
16
|
+
"@graphcommerce/graphql": "^9.0.0-canary.57",
|
|
17
|
+
"@graphcommerce/next-ui": "^9.0.0-canary.57",
|
|
18
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.57",
|
|
19
|
+
"@graphcommerce/react-hook-form": "^9.0.0-canary.57",
|
|
20
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.57",
|
|
21
21
|
"@lingui/core": "^4.2.1",
|
|
22
22
|
"@lingui/macro": "^4.2.1",
|
|
23
23
|
"@lingui/react": "^4.2.1",
|