@shikijs/vitepress-twoslash 3.4.2 → 3.6.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.
@@ -1,4 +1,4 @@
1
- import { b as TwoslashTypesCache } from './shared/vitepress-twoslash.C7bG08Jx.mjs';
1
+ import { b as TwoslashTypesCache } from './shared/vitepress-twoslash.D_PyQzvF.mjs';
2
2
  import '@shikijs/twoslash/core';
3
3
  import 'twoslash';
4
4
  import 'twoslash-vue';
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ShikiTransformer } from 'shiki';
2
- import { V as VitePressPluginTwoslashOptions } from './shared/vitepress-twoslash.C7bG08Jx.mjs';
3
- export { T as TwoslashFloatingVueOptions, a as TwoslashFloatingVueRendererOptions, b as TwoslashTypesCache, r as rendererFloatingVue } from './shared/vitepress-twoslash.C7bG08Jx.mjs';
2
+ import { V as VitePressPluginTwoslashOptions } from './shared/vitepress-twoslash.D_PyQzvF.mjs';
3
+ export { T as TwoslashFloatingVueOptions, a as TwoslashFloatingVueRendererOptions, b as TwoslashTypesCache, r as rendererFloatingVue } from './shared/vitepress-twoslash.D_PyQzvF.mjs';
4
4
  export { defaultHoverInfoProcessor } from '@shikijs/twoslash';
5
5
  import '@shikijs/twoslash/core';
6
6
  import 'twoslash';
package/dist/index.mjs CHANGED
@@ -11,7 +11,6 @@ function rendererFloatingVue(options = {}) {
11
11
  const {
12
12
  classCopyIgnore = "vp-copy-ignore",
13
13
  classFloatingPanel = "twoslash-floating",
14
- classCode = "vp-code",
15
14
  classMarkdown = "vp-doc",
16
15
  floatingVueTheme = "twoslash",
17
16
  floatingVueThemeQuery = "twoslash-query",
@@ -22,7 +21,7 @@ function rendererFloatingVue(options = {}) {
22
21
  } = options;
23
22
  const hoverBasicProps = {
24
23
  "class": "twoslash-hover",
25
- "popper-class": ["shiki", classFloatingPanel, classCopyIgnore, classCode].join(" "),
24
+ "popper-class": ["shiki", classFloatingPanel, classCopyIgnore].join(" "),
26
25
  "theme": floatingVueTheme
27
26
  };
28
27
  const rich = rendererRich({
@@ -6,7 +6,6 @@ import { RendererRichOptions, TwoslashRenderer } from '@shikijs/twoslash';
6
6
  interface TwoslashFloatingVueOptions {
7
7
  classCopyIgnore?: string;
8
8
  classFloatingPanel?: string;
9
- classCode?: string;
10
9
  classMarkdown?: string;
11
10
  floatingVueTheme?: string;
12
11
  floatingVueThemeQuery?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/vitepress-twoslash",
3
3
  "type": "module",
4
- "version": "3.4.2",
4
+ "version": "3.6.0",
5
5
  "description": "Enable Twoslash support in VitePress",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -40,8 +40,8 @@
40
40
  "mdast-util-to-hast": "^13.2.0",
41
41
  "twoslash": "^0.3.1",
42
42
  "twoslash-vue": "^0.3.1",
43
- "vue": "^3.5.14",
44
- "shiki": "3.4.2"
43
+ "vue": "^3.5.16",
44
+ "shiki": "3.6.0"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "unbuild",