@graphcommerce/ecommerce-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/CHANGELOG.md +28 -41
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @graphcommerce/ecommerce-ui
|
|
2
2
|
|
|
3
|
+
## 9.0.0-canary.57
|
|
4
|
+
|
|
5
|
+
## 9.0.0-canary.56
|
|
6
|
+
|
|
3
7
|
## 9.0.0-canary.55
|
|
4
8
|
|
|
5
9
|
## 9.0.0-canary.54
|
|
@@ -18,8 +22,7 @@
|
|
|
18
22
|
|
|
19
23
|
### Minor Changes
|
|
20
24
|
|
|
21
|
-
- [#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
|
|
22
|
-
([@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))
|
|
23
26
|
|
|
24
27
|
## 8.1.0-canary.47
|
|
25
28
|
|
|
@@ -49,8 +52,7 @@
|
|
|
49
52
|
|
|
50
53
|
### Patch Changes
|
|
51
54
|
|
|
52
|
-
- [#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
|
|
53
|
-
([@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))
|
|
54
56
|
|
|
55
57
|
## 8.1.0-canary.34
|
|
56
58
|
|
|
@@ -120,15 +122,11 @@
|
|
|
120
122
|
|
|
121
123
|
### Patch Changes
|
|
122
124
|
|
|
123
|
-
- [#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
|
|
124
|
-
([@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))
|
|
125
126
|
|
|
126
|
-
- [#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.
|
|
127
|
-
Convert SelectElement to useController instead of a separate Controller component.
|
|
128
|
-
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))
|
|
129
128
|
|
|
130
|
-
- [#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.
|
|
131
|
-
([@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))
|
|
132
130
|
|
|
133
131
|
## 8.0.6-canary.1
|
|
134
132
|
|
|
@@ -168,14 +166,11 @@
|
|
|
168
166
|
|
|
169
167
|
### Patch Changes
|
|
170
168
|
|
|
171
|
-
- [#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
|
|
172
|
-
([@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))
|
|
173
170
|
|
|
174
|
-
- [#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.
|
|
175
|
-
([@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))
|
|
176
172
|
|
|
177
|
-
- [#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
|
|
178
|
-
([@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))
|
|
179
174
|
|
|
180
175
|
## 8.0.3-canary.6
|
|
181
176
|
|
|
@@ -183,15 +178,13 @@
|
|
|
183
178
|
|
|
184
179
|
### Patch Changes
|
|
185
180
|
|
|
186
|
-
- [#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
|
|
187
|
-
([@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))
|
|
188
182
|
|
|
189
183
|
## 8.0.3-canary.4
|
|
190
184
|
|
|
191
185
|
### Patch Changes
|
|
192
186
|
|
|
193
|
-
- [#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.
|
|
194
|
-
([@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))
|
|
195
188
|
|
|
196
189
|
## 8.0.3-canary.3
|
|
197
190
|
|
|
@@ -199,8 +192,7 @@
|
|
|
199
192
|
|
|
200
193
|
### Patch Changes
|
|
201
194
|
|
|
202
|
-
- [#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
|
|
203
|
-
([@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))
|
|
204
196
|
|
|
205
197
|
## 8.0.3-canary.1
|
|
206
198
|
|
|
@@ -232,19 +224,15 @@
|
|
|
232
224
|
|
|
233
225
|
### Minor Changes
|
|
234
226
|
|
|
235
|
-
- [#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.
|
|
236
|
-
([@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))
|
|
237
228
|
|
|
238
|
-
- [#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/>`
|
|
239
|
-
([@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))
|
|
240
230
|
|
|
241
|
-
- [#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.
|
|
242
|
-
([@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))
|
|
243
232
|
|
|
244
233
|
### Patch Changes
|
|
245
234
|
|
|
246
|
-
- [`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
|
|
247
|
-
([@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))
|
|
248
236
|
|
|
249
237
|
## 8.0.0-canary.100
|
|
250
238
|
|
|
@@ -296,8 +284,7 @@
|
|
|
296
284
|
|
|
297
285
|
### Patch Changes
|
|
298
286
|
|
|
299
|
-
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - a11y improvements (see https://github.com/graphcommerce-org/graphcommerce/issues/1995 for more info)
|
|
300
|
-
([@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))
|
|
301
288
|
|
|
302
289
|
## 8.0.0-canary.76
|
|
303
290
|
|
|
@@ -1389,31 +1376,31 @@
|
|
|
1389
1376
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1390
1377
|
|
|
1391
1378
|
```tsx
|
|
1392
|
-
import { Trans, t } from
|
|
1379
|
+
import { Trans, t } from '@lingui/macro'
|
|
1393
1380
|
|
|
1394
1381
|
function MyComponent() {
|
|
1395
|
-
const foo =
|
|
1382
|
+
const foo = 'bar'
|
|
1396
1383
|
return (
|
|
1397
1384
|
<div aria-label={t`Account ${foo}`}>
|
|
1398
1385
|
<Trans>My Translation {foo}</Trans>
|
|
1399
1386
|
</div>
|
|
1400
|
-
)
|
|
1387
|
+
)
|
|
1401
1388
|
}
|
|
1402
1389
|
```
|
|
1403
1390
|
|
|
1404
1391
|
Needs to be replaced with:
|
|
1405
1392
|
|
|
1406
1393
|
```tsx
|
|
1407
|
-
import { Trans } from
|
|
1408
|
-
import { i18n } from
|
|
1394
|
+
import { Trans } from '@lingui/react'
|
|
1395
|
+
import { i18n } from '@lingui/core'
|
|
1409
1396
|
|
|
1410
1397
|
function MyComponent() {
|
|
1411
|
-
const foo =
|
|
1398
|
+
const foo = 'bar'
|
|
1412
1399
|
return (
|
|
1413
1400
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1414
|
-
<Trans key=
|
|
1401
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1415
1402
|
</div>
|
|
1416
|
-
)
|
|
1403
|
+
)
|
|
1417
1404
|
}
|
|
1418
1405
|
```
|
|
1419
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",
|