@graphcommerce/magento-customer 11.0.0-canary.68 → 11.0.0-canary.69

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 11.0.0-canary.69
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2732](https://github.com/graphcommerce-org/graphcommerce/pull/2732) [`cba75a0`](https://github.com/graphcommerce-org/graphcommerce/commit/cba75a006d4efface5d1149e9cc6ebe3a9b5b9f8) - Added `imageQuality` to `graphcommerce.config.ts`. Choose the kind (`content` or `product`) with `quality` on `<Image>` or `imageUrl()`. `quality='content'` is for content images, such as CMS images, and is the default when no quality is given, with quality 75 in place of the previous 52. `quality='product'` is for product images from the Magento catalog, with quality 52. ([@bramvanderholst](https://github.com/bramvanderholst))
8
+
3
9
  ## 11.0.0-canary.68
4
10
 
5
11
  ### Patch Changes
@@ -66,6 +66,7 @@ export function CreditMemoItem(props: CreditMemoItemProps) {
66
66
  <Image
67
67
  layout='fill'
68
68
  src={order_item.product.thumbnail.url}
69
+ quality='product'
69
70
  alt={order_item?.product.thumbnail?.label ?? ''}
70
71
  sx={{
71
72
  width: actionCardImageSizes[size],
@@ -66,6 +66,7 @@ export function InvoiceItem(props: InvoiceItemProps) {
66
66
  <Image
67
67
  layout='fill'
68
68
  src={order_item.product.thumbnail.url}
69
+ quality='product'
69
70
  alt={order_item?.product.thumbnail?.label ?? ''}
70
71
  sx={{
71
72
  width: actionCardImageSizes[size],
@@ -102,6 +102,7 @@ export function OrderCard(props: OrderCardProps) {
102
102
  alt={item.label ?? ''}
103
103
  layout='fill'
104
104
  src={item.url}
105
+ quality='product'
105
106
  width={96}
106
107
  height={96}
107
108
  sx={{ borderRadius: 4, objectFit: 'contain' }}
@@ -85,6 +85,7 @@ export function OrderItem(props: OrderItemProps) {
85
85
  <Image
86
86
  layout='fill'
87
87
  src={product.thumbnail.url}
88
+ quality='product'
88
89
  alt={product.thumbnail?.label ?? ''}
89
90
  sx={{
90
91
  width: actionCardImageSizes[size],
@@ -58,6 +58,7 @@ export function ShipmentItem(props: ShipmentItemProps) {
58
58
  <Image
59
59
  layout='fill'
60
60
  src={order_item.product.thumbnail.url}
61
+ quality='product'
61
62
  alt={order_item.product.thumbnail?.label ?? ''}
62
63
  sx={{
63
64
  width: actionCardImageSizes[size],
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": "11.0.0-canary.68",
5
+ "version": "11.0.0-canary.69",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -21,20 +21,20 @@
21
21
  "./plugins/magentoCustomerPrivateQueryContext": "./plugins/magentoCustomerPrivateQueryContext.ts"
22
22
  },
23
23
  "peerDependencies": {
24
- "@graphcommerce/ecommerce-ui": "^11.0.0-canary.68",
25
- "@graphcommerce/eslint-config-pwa": "^11.0.0-canary.68",
26
- "@graphcommerce/framer-next-pages": "^11.0.0-canary.68",
27
- "@graphcommerce/framer-utils": "^11.0.0-canary.68",
28
- "@graphcommerce/graphql": "^11.0.0-canary.68",
29
- "@graphcommerce/graphql-mesh": "^11.0.0-canary.68",
30
- "@graphcommerce/image": "^11.0.0-canary.68",
31
- "@graphcommerce/magento-graphql": "^11.0.0-canary.68",
32
- "@graphcommerce/magento-store": "^11.0.0-canary.68",
33
- "@graphcommerce/next-config": "^11.0.0-canary.68",
34
- "@graphcommerce/next-ui": "^11.0.0-canary.68",
35
- "@graphcommerce/prettier-config-pwa": "^11.0.0-canary.68",
36
- "@graphcommerce/react-hook-form": "^11.0.0-canary.68",
37
- "@graphcommerce/typescript-config-pwa": "^11.0.0-canary.68",
24
+ "@graphcommerce/ecommerce-ui": "^11.0.0-canary.69",
25
+ "@graphcommerce/eslint-config-pwa": "^11.0.0-canary.69",
26
+ "@graphcommerce/framer-next-pages": "^11.0.0-canary.69",
27
+ "@graphcommerce/framer-utils": "^11.0.0-canary.69",
28
+ "@graphcommerce/graphql": "^11.0.0-canary.69",
29
+ "@graphcommerce/graphql-mesh": "^11.0.0-canary.69",
30
+ "@graphcommerce/image": "^11.0.0-canary.69",
31
+ "@graphcommerce/magento-graphql": "^11.0.0-canary.69",
32
+ "@graphcommerce/magento-store": "^11.0.0-canary.69",
33
+ "@graphcommerce/next-config": "^11.0.0-canary.69",
34
+ "@graphcommerce/next-ui": "^11.0.0-canary.69",
35
+ "@graphcommerce/prettier-config-pwa": "^11.0.0-canary.69",
36
+ "@graphcommerce/react-hook-form": "^11.0.0-canary.69",
37
+ "@graphcommerce/typescript-config-pwa": "^11.0.0-canary.69",
38
38
  "@lingui/core": "^6",
39
39
  "@lingui/react": "^6",
40
40
  "@mui/material": "^7.0.0",