@graphcommerce/graphcms-ui 3.0.47 → 3.1.0
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,18 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1658](https://github.com/graphcommerce-org/graphcommerce/pull/1658) [`140004b2b`](https://github.com/graphcommerce-org/graphcommerce/commit/140004b2bda44e17a4fe6b3c13c1253ff9e99c92) Thanks [@ErwinOtten](https://github.com/ErwinOtten)! - Add ability to style image, video with sxRenderer
|
|
8
|
+
|
|
9
|
+
## 3.0.48
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`ad63ebf4e`](https://github.com/graphcommerce-org/graphcommerce/commit/ad63ebf4e33bfb0e5c9e5e68ab69b14775f3f8a8)]:
|
|
14
|
+
- @graphcommerce/next-ui@4.27.0
|
|
15
|
+
|
|
3
16
|
## 3.0.47
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -32,11 +32,15 @@ export const defaultRenderers: Renderers = {
|
|
|
32
32
|
/>
|
|
33
33
|
)
|
|
34
34
|
},
|
|
35
|
-
image: ({ src, width, height, title, mimeType }) => (
|
|
36
|
-
<
|
|
35
|
+
image: ({ src, width, height, title, mimeType, sx }) => (
|
|
36
|
+
<Box sx={sx}>
|
|
37
|
+
<Asset asset={{ url: src, alt: title, width, height, mimeType }} />
|
|
38
|
+
</Box>
|
|
37
39
|
),
|
|
38
|
-
video: ({ src, width, height, title, mimeType }) => (
|
|
39
|
-
<
|
|
40
|
+
video: ({ src, width, height, title, mimeType, sx }) => (
|
|
41
|
+
<Box sx={sx}>
|
|
42
|
+
<Asset asset={{ url: src, alt: title, width, height, mimeType }} />
|
|
43
|
+
</Box>
|
|
40
44
|
),
|
|
41
45
|
link: ({ href, openInNewTab, ...props }) => (
|
|
42
46
|
<PageLink href={href} passHref>
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/graphcms-ui",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "3.0
|
|
5
|
+
"version": "3.1.0",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@graphcommerce/graphql": "3.4.8",
|
|
23
23
|
"@graphcommerce/image": "3.1.9",
|
|
24
|
-
"@graphcommerce/next-ui": "4.
|
|
24
|
+
"@graphcommerce/next-ui": "4.27.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@mui/material": "5.5.3",
|