@graphcommerce/image 9.0.0-canary.100 → 9.0.0-canary.101
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 +6 -0
- package/components/Image.tsx +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 9.0.0-canary.101
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2409](https://github.com/graphcommerce-org/graphcommerce/pull/2409) [`7e7c4bc`](https://github.com/graphcommerce-org/graphcommerce/commit/7e7c4bc24c8e3a2e6ed34667db8cf3fd67b557cf) - Solve an issue where image sizes are served in higher resolution than expected. ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
8
|
+
|
|
3
9
|
## 9.0.0-canary.100
|
|
4
10
|
|
|
5
11
|
## 9.0.0-canary.99
|
package/components/Image.tsx
CHANGED
|
@@ -457,7 +457,7 @@ const Image = React.forwardRef<HTMLImageElement, ImageProps>(
|
|
|
457
457
|
quality,
|
|
458
458
|
sizes,
|
|
459
459
|
width,
|
|
460
|
-
scale:
|
|
460
|
+
scale: 2,
|
|
461
461
|
})
|
|
462
462
|
const srcSet2x = generateSrcSet({
|
|
463
463
|
config,
|
|
@@ -467,7 +467,7 @@ const Image = React.forwardRef<HTMLImageElement, ImageProps>(
|
|
|
467
467
|
quality,
|
|
468
468
|
sizes,
|
|
469
469
|
width,
|
|
470
|
-
scale: 1,
|
|
470
|
+
scale: 1.333,
|
|
471
471
|
})
|
|
472
472
|
const srcSet1x = generateSrcSet({
|
|
473
473
|
config,
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/image",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "9.0.0-canary.
|
|
5
|
+
"version": "9.0.0-canary.101",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"scripts": {
|
|
8
8
|
"dev": "tsc -W"
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.
|
|
19
|
-
"@graphcommerce/framer-utils": "^9.0.0-canary.
|
|
20
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
|
21
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.
|
|
18
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.101",
|
|
19
|
+
"@graphcommerce/framer-utils": "^9.0.0-canary.101",
|
|
20
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.101",
|
|
21
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.101",
|
|
22
22
|
"@mui/material": "^5.10.16",
|
|
23
23
|
"next": "*",
|
|
24
24
|
"react": "^18.2.0",
|