@graphcommerce/graphcms-ui 3.0.48 → 3.1.1
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.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`0c21c5c23`](https://github.com/graphcommerce-org/graphcommerce/commit/0c21c5c233ebab15f6629c234e3de1cc8c0452e1), [`de8925aa9`](https://github.com/graphcommerce-org/graphcommerce/commit/de8925aa910b191c62041530c68c697a58a1e52d), [`f5eae0afd`](https://github.com/graphcommerce-org/graphcommerce/commit/f5eae0afdbd474b1f81c450425ffadf2d025187a)]:
|
|
8
|
+
- @graphcommerce/next-ui@4.28.0
|
|
9
|
+
|
|
10
|
+
## 3.1.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [#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
|
|
15
|
+
|
|
3
16
|
## 3.0.48
|
|
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.
|
|
5
|
+
"version": "3.1.1",
|
|
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.28.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@mui/material": "5.5.3",
|