@shikijs/types 1.17.6 → 1.18.0

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/dist/index.d.mts CHANGED
@@ -646,6 +646,14 @@ interface CodeToHastOptionsCommon<Languages extends string = string> extends Tra
646
646
  * @default 'classic'
647
647
  */
648
648
  structure?: 'classic' | 'inline';
649
+ /**
650
+ * Tab index of the root `<pre>` element.
651
+ *
652
+ * Set to `false` to disable tab index.
653
+ *
654
+ * @default 0
655
+ */
656
+ tabindex?: number | string | false;
649
657
  }
650
658
  interface CodeOptionsMeta {
651
659
  /**
package/dist/index.d.ts CHANGED
@@ -646,6 +646,14 @@ interface CodeToHastOptionsCommon<Languages extends string = string> extends Tra
646
646
  * @default 'classic'
647
647
  */
648
648
  structure?: 'classic' | 'inline';
649
+ /**
650
+ * Tab index of the root `<pre>` element.
651
+ *
652
+ * Set to `false` to disable tab index.
653
+ *
654
+ * @default 0
655
+ */
656
+ tabindex?: number | string | false;
649
657
  }
650
658
  interface CodeOptionsMeta {
651
659
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/types",
3
3
  "type": "module",
4
- "version": "1.17.6",
4
+ "version": "1.18.0",
5
5
  "description": "Type definitions for Shiki",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",