Skip to content

Commit

Permalink
Merge branch 'main' into v4-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina committed Oct 16, 2024
2 parents 47c62c8 + 5d37b3d commit 0951adc
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 14 deletions.
2 changes: 1 addition & 1 deletion examples/swr-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"types:check": "tsc --noEmit"
},
"dependencies": {
"markdown-to-jsx": "^6.11.4",
"markdown-to-jsx": "^7.4.0",
"next": "^14.2.5",
"nextra": "workspace:*",
"nextra-theme-docs": "workspace:*",
Expand Down
6 changes: 6 additions & 0 deletions packages/nextra-theme-blog/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@
- Updated dependencies [99f34d3]
- [email protected]

## 3.0.13

### Patch Changes

- [email protected]

## 3.0.12

### Patch Changes
Expand Down
12 changes: 12 additions & 0 deletions packages/nextra-theme-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,18 @@
- Updated dependencies [99f34d3]
- [email protected]

## 3.0.13

### Patch Changes

- f1815ac: From an accessibility POV (WCAG G13) there's a need of additional
visual differentiation factor for hovers. Article achieves this but mdx
doesn't.

So changing the mdx link behaviour so on hover the underline disappears.

- [email protected]

## 3.0.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/nextra-theme-docs/src/mdx-components/link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Anchor } from 'nextra/mdx'
export const Link: typeof Anchor = ({ className, ...props }) => (
<Anchor
className={cn(
'focus-visible:nextra-focus _text-primary-600 _underline _decoration-from-font [text-underline-position:from-font]',
'focus-visible:nextra-focus _text-primary-600 _underline hover:_no-underline _decoration-from-font [text-underline-position:from-font]',
className
)}
{...props}
Expand Down
2 changes: 2 additions & 0 deletions packages/nextra/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@
Router, something may be broken, check
https://github.com/shuding/nextra/tree/v4-v2/examples for the migration guide

## 3.0.13

## 3.0.12

### Patch Changes
Expand Down
21 changes: 9 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0951adc

Please sign in to comment.