@primer/doctocat-nextjs 0.0.0-20250620132751 → 0.0.0-20250624173343

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,18 +1,25 @@
1
1
  # @primer/doctocat-nextjs
2
2
 
3
- ## 0.0.0-20250620132751
3
+ ## 0.0.0-20250624173343
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Fake entry to force publishing
8
8
 
9
- ## 0.0.0-20250620132750
9
+ ## 0.0.0-20250624173341
10
10
 
11
11
  ### Patch Changes
12
12
 
13
- - [#43](https://github.com/primer/doctocat-nextjs/pull/43) [`c5542e9`](https://github.com/primer/doctocat-nextjs/commit/c5542e915dc0fbe6e054e8fde96f7136498b9cc7) Thanks [@rezrah](https://github.com/rezrah)! - Fix lack of `basePath` support on index cards. `href` now prepends the `basePath`.
13
+ - [#48](https://github.com/primer/doctocat-nextjs/pull/48) [`593f5a3`](https://github.com/primer/doctocat-nextjs/commit/593f5a36b1f426d24f17e13a2784645de2571f84) Thanks [@rezrah](https://github.com/rezrah)! - - Fix inline code font-size in markdown headings. Now inherits size used in the heading.
14
+ - Increased spacing below React code blocks, which was previously too small.
14
15
 
15
- - [#46](https://github.com/primer/doctocat-nextjs/pull/46) [`fea58bc`](https://github.com/primer/doctocat-nextjs/commit/fea58bc04c1cfb4897ef8f5921dbc9afd5b18dc8) Thanks [@rezrah](https://github.com/rezrah)! - Prepend `basePath` from `next.config.js` to paths in Doctocat UI components, where it would previously not resolve correctly.
16
+ ## 0.5.3
17
+
18
+ ### Patch Changes
19
+
20
+ - [#43](https://github.com/primer/doctocat-nextjs/pull/43) [`1b15bdf`](https://github.com/primer/doctocat-nextjs/commit/1b15bdfcf4b54996f38d20f1da711def23c636bd) Thanks [@rezrah](https://github.com/rezrah)! - Fix lack of `basePath` support on index cards. `href` now prepends the `basePath`.
21
+
22
+ - [#46](https://github.com/primer/doctocat-nextjs/pull/46) [`2b99ba6`](https://github.com/primer/doctocat-nextjs/commit/2b99ba614d1bfe8f1c478b10a61c52df479901c9) Thanks [@rezrah](https://github.com/rezrah)! - Prepend `basePath` from `next.config.js` to paths in Doctocat UI components, where it would previously not resolve correctly.
16
23
 
17
24
  ## 0.5.2
18
25
 
@@ -1,4 +1,5 @@
1
1
  .CodeBlock {
2
+ --spacing: var(--base-size-40);
2
3
  margin-block: var(--base-size-24);
3
4
  background-color: var(--brand-color-canvas-default);
4
5
  border: var(--brand-borderWidth-thin) solid var(--brand-color-border-default);
@@ -211,6 +211,11 @@
211
211
  background-color: var(--base-color-scale-indigo-0);
212
212
  }
213
213
 
214
+ /* Inline code inside headings should inherit font-size */
215
+ .Prose :is(h1, h2, h3, h4, h5, h6):has(code) code:not(:global(.custom-component) code) {
216
+ font-size: inherit;
217
+ }
218
+
214
219
  [data-color-mode='dark'] .Prose code:not(:global(.custom-component) code) {
215
220
  background-color: var(--base-color-scale-indigo-9);
216
221
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/doctocat-nextjs",
3
- "version": "0.0.0-20250620132751",
3
+ "version": "0.0.0-20250624173343",
4
4
  "description": "A Next.js theme for building Primer documentation sites",
5
5
  "main": "index.js",
6
6
  "type": "module",