@graphcommerce/ecommerce-ui 8.0.6 → 8.0.7
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 +21 -30
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @graphcommerce/ecommerce-ui
|
|
2
2
|
|
|
3
|
+
## 8.0.7
|
|
4
|
+
|
|
3
5
|
## 8.0.6
|
|
4
6
|
|
|
5
7
|
## 8.0.5
|
|
@@ -36,14 +38,11 @@
|
|
|
36
38
|
|
|
37
39
|
### Patch Changes
|
|
38
40
|
|
|
39
|
-
- [#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
|
|
40
|
-
([@paales](https://github.com/paales))
|
|
41
|
+
- [#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))
|
|
41
42
|
|
|
42
|
-
- [#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.
|
|
43
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
43
|
+
- [#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))
|
|
44
44
|
|
|
45
|
-
- [#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
|
|
46
|
-
([@paales](https://github.com/paales))
|
|
45
|
+
- [#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))
|
|
47
46
|
|
|
48
47
|
## 8.0.3-canary.6
|
|
49
48
|
|
|
@@ -51,15 +50,13 @@
|
|
|
51
50
|
|
|
52
51
|
### Patch Changes
|
|
53
52
|
|
|
54
|
-
- [#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
|
|
55
|
-
([@paales](https://github.com/paales))
|
|
53
|
+
- [#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))
|
|
56
54
|
|
|
57
55
|
## 8.0.3-canary.4
|
|
58
56
|
|
|
59
57
|
### Patch Changes
|
|
60
58
|
|
|
61
|
-
- [#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.
|
|
62
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
59
|
+
- [#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))
|
|
63
60
|
|
|
64
61
|
## 8.0.3-canary.3
|
|
65
62
|
|
|
@@ -67,8 +64,7 @@
|
|
|
67
64
|
|
|
68
65
|
### Patch Changes
|
|
69
66
|
|
|
70
|
-
- [#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
|
|
71
|
-
([@paales](https://github.com/paales))
|
|
67
|
+
- [#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))
|
|
72
68
|
|
|
73
69
|
## 8.0.3-canary.1
|
|
74
70
|
|
|
@@ -100,19 +96,15 @@
|
|
|
100
96
|
|
|
101
97
|
### Minor Changes
|
|
102
98
|
|
|
103
|
-
- [#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.
|
|
104
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
99
|
+
- [#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))
|
|
105
100
|
|
|
106
|
-
- [#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/>`
|
|
107
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
101
|
+
- [#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))
|
|
108
102
|
|
|
109
|
-
- [#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.
|
|
110
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
103
|
+
- [#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))
|
|
111
104
|
|
|
112
105
|
### Patch Changes
|
|
113
106
|
|
|
114
|
-
- [`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
|
|
115
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
107
|
+
- [`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))
|
|
116
108
|
|
|
117
109
|
## 8.0.0-canary.100
|
|
118
110
|
|
|
@@ -164,8 +156,7 @@
|
|
|
164
156
|
|
|
165
157
|
### Patch Changes
|
|
166
158
|
|
|
167
|
-
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - a11y improvements (see https://github.com/graphcommerce-org/graphcommerce/issues/1995 for more info)
|
|
168
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
159
|
+
- [`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))
|
|
169
160
|
|
|
170
161
|
## 8.0.0-canary.76
|
|
171
162
|
|
|
@@ -1257,31 +1248,31 @@
|
|
|
1257
1248
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1258
1249
|
|
|
1259
1250
|
```tsx
|
|
1260
|
-
import { Trans, t } from
|
|
1251
|
+
import { Trans, t } from '@lingui/macro'
|
|
1261
1252
|
|
|
1262
1253
|
function MyComponent() {
|
|
1263
|
-
const foo =
|
|
1254
|
+
const foo = 'bar'
|
|
1264
1255
|
return (
|
|
1265
1256
|
<div aria-label={t`Account ${foo}`}>
|
|
1266
1257
|
<Trans>My Translation {foo}</Trans>
|
|
1267
1258
|
</div>
|
|
1268
|
-
)
|
|
1259
|
+
)
|
|
1269
1260
|
}
|
|
1270
1261
|
```
|
|
1271
1262
|
|
|
1272
1263
|
Needs to be replaced with:
|
|
1273
1264
|
|
|
1274
1265
|
```tsx
|
|
1275
|
-
import { Trans } from
|
|
1276
|
-
import { i18n } from
|
|
1266
|
+
import { Trans } from '@lingui/react'
|
|
1267
|
+
import { i18n } from '@lingui/core'
|
|
1277
1268
|
|
|
1278
1269
|
function MyComponent() {
|
|
1279
|
-
const foo =
|
|
1270
|
+
const foo = 'bar'
|
|
1280
1271
|
return (
|
|
1281
1272
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1282
|
-
<Trans key=
|
|
1273
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1283
1274
|
</div>
|
|
1284
|
-
)
|
|
1275
|
+
)
|
|
1285
1276
|
}
|
|
1286
1277
|
```
|
|
1287
1278
|
|
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": "8.0.
|
|
5
|
+
"version": "8.0.7",
|
|
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": "^8.0.
|
|
16
|
-
"@graphcommerce/graphql": "^8.0.
|
|
17
|
-
"@graphcommerce/next-ui": "^8.0.
|
|
18
|
-
"@graphcommerce/prettier-config-pwa": "^8.0.
|
|
19
|
-
"@graphcommerce/react-hook-form": "^8.0.
|
|
20
|
-
"@graphcommerce/typescript-config-pwa": "^8.0.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^8.0.7",
|
|
16
|
+
"@graphcommerce/graphql": "^8.0.7",
|
|
17
|
+
"@graphcommerce/next-ui": "^8.0.7",
|
|
18
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.7",
|
|
19
|
+
"@graphcommerce/react-hook-form": "^8.0.7",
|
|
20
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.7",
|
|
21
21
|
"@lingui/core": "^4.2.1",
|
|
22
22
|
"@lingui/macro": "^4.2.1",
|
|
23
23
|
"@lingui/react": "^4.2.1",
|