@graphcommerce/image 10.0.0-canary.67 → 10.0.0-canary.72
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 +10 -0
- package/components/Image.tsx +3 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
package/components/Image.tsx
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
/* eslint-disable @next/next/no-img-element */
|
|
9
9
|
|
|
10
10
|
/* eslint-disable jsx-a11y/alt-text */
|
|
11
|
+
import { sxx } from '@graphcommerce/next-ui'
|
|
11
12
|
import type { SxProps, Theme } from '@mui/material'
|
|
12
13
|
import { styled, useForkRef } from '@mui/material'
|
|
13
14
|
import type { ImageConfigComplete, LoaderValue } from 'next/dist/shared/lib/image-config'
|
|
@@ -517,7 +518,7 @@ const Image = React.forwardRef<HTMLImageElement, ImageProps>(
|
|
|
517
518
|
width={width}
|
|
518
519
|
height={height}
|
|
519
520
|
data-nimg
|
|
520
|
-
sx={
|
|
521
|
+
sx={sxx(style, sx)}
|
|
521
522
|
/>
|
|
522
523
|
) : (
|
|
523
524
|
<Picture {...pictureProps}>
|
|
@@ -535,7 +536,7 @@ const Image = React.forwardRef<HTMLImageElement, ImageProps>(
|
|
|
535
536
|
loading={loading ?? 'lazy'}
|
|
536
537
|
width={width}
|
|
537
538
|
height={height}
|
|
538
|
-
sx={
|
|
539
|
+
sx={sxx(style, sx)}
|
|
539
540
|
sizes={sizes}
|
|
540
541
|
data-nimg
|
|
541
542
|
decoding='async'
|
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": "10.0.0-canary.
|
|
5
|
+
"version": "10.0.0-canary.72",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"scripts": {
|
|
8
8
|
"dev": "tsc -W"
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@graphcommerce/eslint-config-pwa": "^10.0.0-canary.
|
|
22
|
-
"@graphcommerce/framer-utils": "^10.0.0-canary.
|
|
23
|
-
"@graphcommerce/prettier-config-pwa": "^10.0.0-canary.
|
|
24
|
-
"@graphcommerce/typescript-config-pwa": "^10.0.0-canary.
|
|
25
|
-
"@mui/material": "^
|
|
21
|
+
"@graphcommerce/eslint-config-pwa": "^10.0.0-canary.72",
|
|
22
|
+
"@graphcommerce/framer-utils": "^10.0.0-canary.72",
|
|
23
|
+
"@graphcommerce/prettier-config-pwa": "^10.0.0-canary.72",
|
|
24
|
+
"@graphcommerce/typescript-config-pwa": "^10.0.0-canary.72",
|
|
25
|
+
"@mui/material": "^7.0.0",
|
|
26
26
|
"next": "*",
|
|
27
27
|
"react": "^19.2.0",
|
|
28
28
|
"react-dom": "^19.2.0"
|