@graphcommerce/magento-customer 6.0.2-canary.19 → 6.0.2-canary.21
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 +8 -0
- package/components/OrderCard/OrderCard.tsx +8 -7
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 6.0.2-canary.21
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1899](https://github.com/graphcommerce-org/graphcommerce/pull/1899) [`3de184ee2`](https://github.com/graphcommerce-org/graphcommerce/commit/3de184ee28d48d8f1c1c092f264ac6b86fdf3ec6) - Make order states translatable ([@carlocarels90](https://github.com/carlocarels90))
|
|
8
|
+
|
|
9
|
+
## 6.0.2-canary.20
|
|
10
|
+
|
|
3
11
|
## 6.0.2-canary.19
|
|
4
12
|
|
|
5
13
|
## 6.0.2-canary.18
|
|
@@ -6,6 +6,7 @@ import { OrderCardItemImage } from '../OrderCardItemImage/OrderCardItemImage'
|
|
|
6
6
|
import { OrderStateLabel } from '../OrderStateLabel/OrderStateLabel'
|
|
7
7
|
import { TrackingLink } from '../TrackingLink/TrackingLink'
|
|
8
8
|
import { OrderCardFragment } from './OrderCard.gql'
|
|
9
|
+
import { Trans } from '@lingui/react'
|
|
9
10
|
|
|
10
11
|
type OrderCardProps = Partial<OrderCardFragment> & {
|
|
11
12
|
loading?: boolean
|
|
@@ -101,13 +102,13 @@ export function OrderCard(props: OrderCardProps) {
|
|
|
101
102
|
<OrderStateLabel
|
|
102
103
|
items={items}
|
|
103
104
|
renderer={{
|
|
104
|
-
Ordered: () => <
|
|
105
|
-
Invoiced: () => <
|
|
106
|
-
Shipped: () => <
|
|
107
|
-
Refunded: () => <
|
|
108
|
-
Canceled: () => <
|
|
109
|
-
Returned: () => <
|
|
110
|
-
Partial: () => <
|
|
105
|
+
Ordered: () => <Trans id='Your order is being processed' />,
|
|
106
|
+
Invoiced: () => <Trans id='Your order has been invoiced' />,
|
|
107
|
+
Shipped: () => <Trans id='Your order is on its way!' />,
|
|
108
|
+
Refunded: () => <Trans id='Your order has been refunded' />,
|
|
109
|
+
Canceled: () => <Trans id='Your order has been canceled' />,
|
|
110
|
+
Returned: () => <Trans id='Your order has been returned' />,
|
|
111
|
+
Partial: () => <Trans id='Your order has been partially processed' />,
|
|
111
112
|
}}
|
|
112
113
|
/>
|
|
113
114
|
</OrderRow>
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-customer",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "6.0.2-canary.
|
|
5
|
+
"version": "6.0.2-canary.21",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "6.0.2-canary.
|
|
16
|
-
"@graphcommerce/prettier-config-pwa": "6.0.2-canary.
|
|
17
|
-
"@graphcommerce/typescript-config-pwa": "6.0.2-canary.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "6.0.2-canary.21",
|
|
16
|
+
"@graphcommerce/prettier-config-pwa": "6.0.2-canary.21",
|
|
17
|
+
"@graphcommerce/typescript-config-pwa": "6.0.2-canary.21"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@graphcommerce/ecommerce-ui": "6.0.2-canary.
|
|
21
|
-
"@graphcommerce/framer-utils": "6.0.2-canary.
|
|
22
|
-
"@graphcommerce/graphql": "6.0.2-canary.
|
|
23
|
-
"@graphcommerce/graphql-mesh": "6.0.2-canary.
|
|
24
|
-
"@graphcommerce/image": "6.0.2-canary.
|
|
25
|
-
"@graphcommerce/magento-graphql": "6.0.2-canary.
|
|
26
|
-
"@graphcommerce/magento-store": "6.0.2-canary.
|
|
27
|
-
"@graphcommerce/next-ui": "6.0.2-canary.
|
|
28
|
-
"@graphcommerce/react-hook-form": "6.0.2-canary.
|
|
20
|
+
"@graphcommerce/ecommerce-ui": "6.0.2-canary.21",
|
|
21
|
+
"@graphcommerce/framer-utils": "6.0.2-canary.21",
|
|
22
|
+
"@graphcommerce/graphql": "6.0.2-canary.21",
|
|
23
|
+
"@graphcommerce/graphql-mesh": "6.0.2-canary.21",
|
|
24
|
+
"@graphcommerce/image": "6.0.2-canary.21",
|
|
25
|
+
"@graphcommerce/magento-graphql": "6.0.2-canary.21",
|
|
26
|
+
"@graphcommerce/magento-store": "6.0.2-canary.21",
|
|
27
|
+
"@graphcommerce/next-ui": "6.0.2-canary.21",
|
|
28
|
+
"@graphcommerce/react-hook-form": "6.0.2-canary.21"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@lingui/react": "^3.13.2",
|