@graphcommerce/graphcms-ui 5.2.0-canary.2 → 5.2.0-canary.3
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,4 @@
|
|
|
1
1
|
import { Box, Typography, Link } from '@mui/material'
|
|
2
|
-
import PageLink from 'next/link'
|
|
3
2
|
import { Asset } from '../Asset/Asset'
|
|
4
3
|
import { Renderers } from './types'
|
|
5
4
|
|
|
@@ -43,9 +42,7 @@ export const defaultRenderers: Renderers = {
|
|
|
43
42
|
</Box>
|
|
44
43
|
),
|
|
45
44
|
link: ({ href, openInNewTab, ...props }) => (
|
|
46
|
-
<
|
|
47
|
-
<Link underline='hover' {...props} target={openInNewTab ? '_blank' : undefined} />
|
|
48
|
-
</PageLink>
|
|
45
|
+
<Link href={href} underline='hover' {...props} target={openInNewTab ? '_blank' : undefined} />
|
|
49
46
|
),
|
|
50
47
|
table: (props) => <Box component='table' {...props} />,
|
|
51
48
|
table_head: (props) => <Box component='thead' {...props} />,
|
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": "5.2.0-canary.
|
|
5
|
+
"version": "5.2.0-canary.3",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,18 +12,18 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "5.2.0-canary.
|
|
16
|
-
"@graphcommerce/prettier-config-pwa": "5.2.0-canary.
|
|
17
|
-
"@graphcommerce/typescript-config-pwa": "5.2.0-canary.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "5.2.0-canary.3",
|
|
16
|
+
"@graphcommerce/prettier-config-pwa": "5.2.0-canary.3",
|
|
17
|
+
"@graphcommerce/typescript-config-pwa": "5.2.0-canary.3"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@graphcommerce/graphql": "5.2.0-canary.
|
|
21
|
-
"@graphcommerce/image": "5.2.0-canary.
|
|
22
|
-
"@graphcommerce/next-ui": "5.2.0-canary.
|
|
20
|
+
"@graphcommerce/graphql": "5.2.0-canary.3",
|
|
21
|
+
"@graphcommerce/image": "5.2.0-canary.3",
|
|
22
|
+
"@graphcommerce/next-ui": "5.2.0-canary.3"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@mui/material": "^5.10.16",
|
|
26
|
-
"next": "^
|
|
26
|
+
"next": "^13.1.1",
|
|
27
27
|
"react": "^18.2.0",
|
|
28
28
|
"react-dom": "^18.2.0"
|
|
29
29
|
}
|