@primer/doctocat-nextjs 0.9.1 → 0.10.0-rc.7838eba

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,16 @@
1
1
  # @primer/doctocat-nextjs
2
2
 
3
+ ## 0.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#99](https://github.com/primer/doctocat-nextjs/pull/99) [`1b72c82`](https://github.com/primer/doctocat-nextjs/commit/1b72c8203115a0e1c7bb511b7abe257cc33ab558) Thanks [@rezrah](https://github.com/rezrah)! - Updated dependencies to latest versions.
8
+ - `@primer/react` 38.3.0 → 38.18.0
9
+ - `@primer/octicons-react` 19.15.1 → 19.23.1
10
+ - `@next/mdx` and `next` 16.1.6 → 16.2.2
11
+ - `framer-motion` 12.23.24 → 12.38.0
12
+ - Replaced `Hero.Image` with standalone `Image` from `@primer/react-brand` for compatibility with 0.65.1
13
+
3
14
  ## 0.9.1
4
15
 
5
16
  ### Patch Changes
@@ -13,8 +13,8 @@ import {
13
13
  ButtonGroup,
14
14
  ThemeProvider as BrandThemeProvider,
15
15
  Button,
16
- Hero,
17
16
  Heading,
17
+ Image,
18
18
  Stack,
19
19
  Text,
20
20
  } from '@primer/react-brand'
@@ -201,7 +201,7 @@ export function Theme({pageMap, children}: ThemeProps) {
201
201
  )}
202
202
  {activeMetadata.image && (
203
203
  <div className={styles.HeroImageWrapper}>
204
- <Hero.Image src={activeMetadata.image} alt={activeMetadata['image-alt']} />
204
+ <Image src={activeMetadata.image} alt={activeMetadata['image-alt']} />
205
205
  </div>
206
206
  )}
207
207
  {activeMetadata['action-1-text'] && (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/doctocat-nextjs",
3
- "version": "0.9.1",
3
+ "version": "0.10.0-rc.7838eba",
4
4
  "description": "A Next.js theme for building Primer documentation sites",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -25,33 +25,33 @@
25
25
  "react-dom": ">=18.0.0 <20.0.0"
26
26
  },
27
27
  "dependencies": {
28
- "@next/mdx": "16.1.6",
29
- "@primer/octicons-react": "19.15.1",
30
- "@primer/react": "^38.3.0",
28
+ "@next/mdx": "16.2.2",
29
+ "@primer/octicons-react": "19.23.1",
30
+ "@primer/react": "^38.18.0",
31
31
  "@types/lodash.debounce": "^4.0.9",
32
- "framer-motion": "12.23.24",
32
+ "framer-motion": "12.38.0",
33
33
  "lodash.debounce": "^4.0.8",
34
34
  "nextra": "4.6.1",
35
- "react-focus-on": "^3.10.0",
36
- "react-is": "^19.2.0",
35
+ "react-focus-on": "^3.10.2",
36
+ "react-is": "^19.2.4",
37
37
  "react-live": "^4.1.8"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@github/prettier-config": "^0.0.6",
41
- "@testing-library/dom": "^10.4.0",
42
- "@testing-library/jest-dom": "^6.6.3",
43
- "@testing-library/react": "^16.1.0",
44
- "@testing-library/user-event": "^14.5.2",
45
- "@types/node": "^20.19.0",
46
- "@types/react": "^19.2.7",
41
+ "@testing-library/dom": "^10.4.1",
42
+ "@testing-library/jest-dom": "^6.9.1",
43
+ "@testing-library/react": "^16.3.2",
44
+ "@testing-library/user-event": "^14.6.1",
45
+ "@types/node": "^24.12.0",
46
+ "@types/react": "^19.2.14",
47
47
  "@types/react-dom": "^19.2.3",
48
48
  "@vitejs/plugin-react": "^4.3.3",
49
- "@vitest/coverage-v8": "^3.2.4",
50
- "@vitest/ui": "^3.2.4",
49
+ "@vitest/coverage-v8": "^4.1.2",
50
+ "@vitest/ui": "^4.1.2",
51
51
  "clsx": "2.1.1",
52
- "jsdom": "^26.0.1",
53
- "next": "16.1.6",
52
+ "jsdom": "^29.0.1",
53
+ "next": "16.2.2",
54
54
  "styled-components": "5.3.11",
55
- "vitest": "^3.2.4"
55
+ "vitest": "^4.1.2"
56
56
  }
57
57
  }