@graphcommerce/next-ui 10.1.0-canary.28 → 10.1.0-canary.30

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,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 10.1.0-canary.30
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2643](https://github.com/graphcommerce-org/graphcommerce/pull/2643) [`04ba9be`](https://github.com/graphcommerce-org/graphcommerce/commit/04ba9be6f050cc686133bec57f40da9f8eecb4c8) - Only render disabled pagination items as links when enabled. Disabled `PaginationItem`s no longer receive a `component`/`href`, preventing crawlers from following links to an infinite number of list pages and inflating the static page cache. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
8
+
9
+ ## 10.1.0-canary.29
10
+
3
11
  ## 10.1.0-canary.28
4
12
 
5
13
  ## 10.1.0-canary.27
@@ -84,8 +84,7 @@ export function PaginationExtended(props: PaginationExtendedProps) {
84
84
  renderItem ??
85
85
  ((item) => (
86
86
  <PaginationItem
87
- component={NextLink}
88
- href={paginationHref(item)}
87
+ {...(!item.disabled && { component: NextLink, href: paginationHref(item) })}
89
88
  slots={{ previous: Prev, next: Next }}
90
89
  {...item}
91
90
  />
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": "10.1.0-canary.28",
5
+ "version": "10.1.0-canary.30",
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": "^10.1.0-canary.28",
47
- "@graphcommerce/framer-next-pages": "^10.1.0-canary.28",
48
- "@graphcommerce/framer-scroller": "^10.1.0-canary.28",
49
- "@graphcommerce/framer-utils": "^10.1.0-canary.28",
50
- "@graphcommerce/image": "^10.1.0-canary.28",
51
- "@graphcommerce/prettier-config-pwa": "^10.1.0-canary.28",
52
- "@graphcommerce/typescript-config-pwa": "^10.1.0-canary.28",
46
+ "@graphcommerce/eslint-config-pwa": "^10.1.0-canary.30",
47
+ "@graphcommerce/framer-next-pages": "^10.1.0-canary.30",
48
+ "@graphcommerce/framer-scroller": "^10.1.0-canary.30",
49
+ "@graphcommerce/framer-utils": "^10.1.0-canary.30",
50
+ "@graphcommerce/image": "^10.1.0-canary.30",
51
+ "@graphcommerce/prettier-config-pwa": "^10.1.0-canary.30",
52
+ "@graphcommerce/typescript-config-pwa": "^10.1.0-canary.30",
53
53
  "@lingui/core": "^5",
54
54
  "@lingui/macro": "^5",
55
55
  "@lingui/react": "^5",