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