@graphcommerce/magento-cart-items 11.0.0-canary.66 → 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,15 @@
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
+
9
+ ## 11.0.0-canary.68
10
+
11
+ ## 11.0.0-canary.67
12
+
3
13
  ## 11.0.0-canary.66
4
14
 
5
15
  ## 11.0.0-canary.65
@@ -137,6 +137,7 @@ export function CartItem(props: CartItemProps) {
137
137
  {product?.thumbnail?.url && (
138
138
  <Image
139
139
  src={product.thumbnail.url ?? ''}
140
+ quality='product'
140
141
  layout='fill'
141
142
  alt={product.thumbnail.label ?? product.name ?? ''}
142
143
  sizes={responsiveVal(70, 125)}
@@ -115,6 +115,7 @@ export function CartItemActionCard(props: CartItemActionCardProps) {
115
115
  <Image
116
116
  layout='fill'
117
117
  src={product.thumbnail.url}
118
+ quality='product'
118
119
  sx={{
119
120
  width: actionCardImageSizes[size],
120
121
  height: actionCardImageSizes[size],
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart-items",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "11.0.0-canary.66",
5
+ "version": "11.0.0-canary.69",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -15,19 +15,19 @@
15
15
  ".": "./index.ts"
16
16
  },
17
17
  "peerDependencies": {
18
- "@graphcommerce/ecommerce-ui": "^11.0.0-canary.66",
19
- "@graphcommerce/eslint-config-pwa": "^11.0.0-canary.66",
20
- "@graphcommerce/framer-next-pages": "^11.0.0-canary.66",
21
- "@graphcommerce/graphql": "^11.0.0-canary.66",
22
- "@graphcommerce/image": "^11.0.0-canary.66",
23
- "@graphcommerce/magento-cart": "^11.0.0-canary.66",
24
- "@graphcommerce/magento-customer": "^11.0.0-canary.66",
25
- "@graphcommerce/magento-product": "^11.0.0-canary.66",
26
- "@graphcommerce/magento-store": "^11.0.0-canary.66",
27
- "@graphcommerce/next-ui": "^11.0.0-canary.66",
28
- "@graphcommerce/prettier-config-pwa": "^11.0.0-canary.66",
29
- "@graphcommerce/react-hook-form": "^11.0.0-canary.66",
30
- "@graphcommerce/typescript-config-pwa": "^11.0.0-canary.66",
18
+ "@graphcommerce/ecommerce-ui": "^11.0.0-canary.69",
19
+ "@graphcommerce/eslint-config-pwa": "^11.0.0-canary.69",
20
+ "@graphcommerce/framer-next-pages": "^11.0.0-canary.69",
21
+ "@graphcommerce/graphql": "^11.0.0-canary.69",
22
+ "@graphcommerce/image": "^11.0.0-canary.69",
23
+ "@graphcommerce/magento-cart": "^11.0.0-canary.69",
24
+ "@graphcommerce/magento-customer": "^11.0.0-canary.69",
25
+ "@graphcommerce/magento-product": "^11.0.0-canary.69",
26
+ "@graphcommerce/magento-store": "^11.0.0-canary.69",
27
+ "@graphcommerce/next-ui": "^11.0.0-canary.69",
28
+ "@graphcommerce/prettier-config-pwa": "^11.0.0-canary.69",
29
+ "@graphcommerce/react-hook-form": "^11.0.0-canary.69",
30
+ "@graphcommerce/typescript-config-pwa": "^11.0.0-canary.69",
31
31
  "@lingui/core": "^6",
32
32
  "@lingui/react": "^6",
33
33
  "@mui/material": "^7.0.0",