Skip to content

Commit 395eae2

Browse files
committed
chore: update version
1 parent 3d81842 commit 395eae2

File tree

4 files changed

+16
-17
lines changed

4 files changed

+16
-17
lines changed

.changeset/huge-trees-crash.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changeset/pretty-webs-exist.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

package/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# react-shiki
22

3+
## 0.6.0
4+
5+
### Minor Changes
6+
7+
- - Full support for all Shiki options is now available. _[`#50`](https://github.com/AVGVSTVS96/react-shiki/pull/50) [`b28a1ac`](https://github.com/avgvstvs96/react-shiki/commit/b28a1ac15c3a1f512e44aa44d2b95759c75e3886) [@AVGVSTVS96](https://github.com/AVGVSTVS96)_
8+
9+
- **Breaking change:** Built-in removal of `tabindex` from code blocks has been removed. By default, code blocks will now be focusable (`tabindex="0"`), aligning with Shiki’s upstream default and WCAG accessibility guidelines. If you want to restore the previous non-focusable behavior, explicitly set `tabindex: -1` in your options. For more details and accessibility context, see References below.
10+
11+
**References:**
12+
13+
- WCAG 3.1 compliance: scrollable `<pre>` elements should be focusable ([WCAG rule](https://www.w3.org/WAI/standards-guidelines/act/rules/0ssw9k/proposed/))
14+
- Rationale and discussion: [shikijs/shiki#428](https://github.com/shikijs/shiki/issues/428)
15+
16+
- Improve performance by 5-10% _[`3d81842`](https://github.com/avgvstvs96/react-shiki/commit/3d818426b71e5d8638ed6d6c6fc761dcd02cacbc) [@AVGVSTVS96](https://github.com/AVGVSTVS96)_
17+
318
## 0.5.3
419

520
### Patch Changes

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-shiki",
33
"description": "Syntax highlighter component for react using shiki",
4-
"version": "0.5.3",
4+
"version": "0.6.0",
55
"license": "MIT",
66
"author": {
77
"name": "Bassim Shahidy",

0 commit comments

Comments
 (0)