@graphcommerce/next-ui 11.0.0-canary.49 → 11.0.0-canary.52

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.
@@ -26,6 +26,7 @@ export function BlogListItem(props: BlogListItemProps) {
26
26
  className={classes.item}
27
27
  sx={sxx(
28
28
  (theme) => ({
29
+ position: 'relative',
29
30
  display: 'grid',
30
31
  gridTemplateRows: 'auto auto auto',
31
32
  alignContent: 'start',
@@ -36,25 +37,23 @@ export function BlogListItem(props: BlogListItemProps) {
36
37
  sx,
37
38
  )}
38
39
  >
39
- <Link href={`/${url}`} color='inherit' underline='hover'>
40
- <Box
41
- className={classes.asset}
42
- sx={(theme) => ({
43
- '& img': {
44
- aspectRatio: '3/2',
45
- objectFit: 'cover',
46
- ...breakpointVal(
47
- 'borderRadius',
48
- theme.shape.borderRadius * 2,
49
- theme.shape.borderRadius * 3,
50
- theme.breakpoints.values,
51
- ),
52
- },
53
- })}
54
- >
55
- {asset}
56
- </Box>
57
- </Link>
40
+ <Box
41
+ className={classes.asset}
42
+ sx={(theme) => ({
43
+ '& img': {
44
+ aspectRatio: '3/2',
45
+ objectFit: 'cover',
46
+ ...breakpointVal(
47
+ 'borderRadius',
48
+ theme.shape.borderRadius * 2,
49
+ theme.shape.borderRadius * 3,
50
+ theme.breakpoints.values,
51
+ ),
52
+ },
53
+ })}
54
+ >
55
+ {asset}
56
+ </Box>
58
57
 
59
58
  {date && (
60
59
  <Box
@@ -71,7 +70,13 @@ export function BlogListItem(props: BlogListItemProps) {
71
70
  </Box>
72
71
  )}
73
72
 
74
- <Link href={`/${url}`} className={classes.title} color='inherit' underline='hover'>
73
+ <Link
74
+ href={`/${url}`}
75
+ className={classes.title}
76
+ color='inherit'
77
+ underline='hover'
78
+ sx={{ '&::after': { content: '""', position: 'absolute', inset: 0 } }}
79
+ >
75
80
  <Typography component='h2' variant='h4'>
76
81
  {title}
77
82
  </Typography>
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Change Log
2
2
 
3
+ ## 11.0.0-canary.52
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2705](https://github.com/graphcommerce-org/graphcommerce/pull/2705) [`eb1f246`](https://github.com/graphcommerce-org/graphcommerce/commit/eb1f2461a54a11ac3950afa1651cb5aea7abb066) - BlogListItem is one tab stop: the title link covers the full card, so keyboard and screen reader users do not get the same link two times. ([@DivaniNL](https://github.com/DivaniNL))
8
+
9
+ ## 11.0.0-canary.51
10
+
11
+ ## 11.0.0-canary.50
12
+
13
+ ### Patch Changes
14
+
15
+ - [#2707](https://github.com/graphcommerce-org/graphcommerce/pull/2707) [`abcfce1`](https://github.com/graphcommerce-org/graphcommerce/commit/abcfce130beaf5544a6ceec794fdeb99e4b3e3ba) - **Breaking change:** configuration fields are server-only, unless their definition in `Config.graphqls` has `@public`. In the browser, `@graphcommerce/next-config/config` resolves to a file with only the `@public` fields, so secrets such as `previewSecret` and `hygraphSecret` stay out of the client JavaScript and its source maps. Turbopack stops the build on a browser import of a server-only field. See [docs/upgrading/graphcommerce-10-to-11.md](docs/upgrading/graphcommerce-10-to-11.md). ([@paales](https://github.com/paales))
16
+
3
17
  ## 11.0.0-canary.49
4
18
 
5
19
  ### Patch Changes
package/Config.graphqls CHANGED
@@ -21,7 +21,7 @@ input SidebarGalleryConfig {
21
21
  """
22
22
  Variant used for the pagination
23
23
  """
24
- paginationVariant: SidebarGalleryPaginationVariant
24
+ paginationVariant: SidebarGalleryPaginationVariant @public
25
25
  }
26
26
 
27
27
  extend input GraphCommerceConfig {
@@ -33,15 +33,15 @@ extend input GraphCommerceConfig {
33
33
  """
34
34
  Configuration for the SidebarGallery component
35
35
  """
36
- breadcrumbs: Boolean = false
36
+ breadcrumbs: Boolean = false @public
37
37
 
38
38
  """
39
39
  Configures the max width of the shell (header, footer, overlays, etc.)
40
40
  """
41
- containerSizingShell: ContainerSizing = FULL_WIDTH
41
+ containerSizingShell: ContainerSizing = FULL_WIDTH @public
42
42
 
43
43
  """
44
44
  Configures the max width of the content (main content area)
45
45
  """
46
- containerSizingContent: ContainerSizing = FULL_WIDTH
46
+ containerSizingContent: ContainerSizing = FULL_WIDTH @public
47
47
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/next-ui",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "11.0.0-canary.49",
5
+ "version": "11.0.0-canary.52",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -43,13 +43,13 @@
43
43
  "@emotion/react": "^11.14.0",
44
44
  "@emotion/server": "^11.11.0",
45
45
  "@emotion/styled": "^11.14.1",
46
- "@graphcommerce/eslint-config-pwa": "^11.0.0-canary.49",
47
- "@graphcommerce/framer-next-pages": "^11.0.0-canary.49",
48
- "@graphcommerce/framer-scroller": "^11.0.0-canary.49",
49
- "@graphcommerce/framer-utils": "^11.0.0-canary.49",
50
- "@graphcommerce/image": "^11.0.0-canary.49",
51
- "@graphcommerce/prettier-config-pwa": "^11.0.0-canary.49",
52
- "@graphcommerce/typescript-config-pwa": "^11.0.0-canary.49",
46
+ "@graphcommerce/eslint-config-pwa": "^11.0.0-canary.52",
47
+ "@graphcommerce/framer-next-pages": "^11.0.0-canary.52",
48
+ "@graphcommerce/framer-scroller": "^11.0.0-canary.52",
49
+ "@graphcommerce/framer-utils": "^11.0.0-canary.52",
50
+ "@graphcommerce/image": "^11.0.0-canary.52",
51
+ "@graphcommerce/prettier-config-pwa": "^11.0.0-canary.52",
52
+ "@graphcommerce/typescript-config-pwa": "^11.0.0-canary.52",
53
53
  "@lingui/core": "^5",
54
54
  "@lingui/macro": "^5",
55
55
  "@lingui/react": "^5",