@shikijs/vitepress-twoslash 3.20.0 → 3.21.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/vitepress-twoslash",
3
3
  "type": "module",
4
- "version": "3.20.0",
4
+ "version": "3.21.0",
5
5
  "description": "Enable Twoslash support in VitePress",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -42,11 +42,11 @@
42
42
  "mdast-util-gfm": "^3.1.0",
43
43
  "mdast-util-to-hast": "^13.2.1",
44
44
  "ohash": "^2.0.11",
45
- "twoslash": "^0.3.4",
46
- "twoslash-vue": "^0.3.4",
47
- "vue": "^3.5.25",
48
- "@shikijs/twoslash": "3.20.0",
49
- "shiki": "3.20.0"
45
+ "twoslash": "^0.3.6",
46
+ "twoslash-vue": "^0.3.6",
47
+ "vue": "^3.5.26",
48
+ "@shikijs/twoslash": "3.21.0",
49
+ "shiki": "3.21.0"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "unbuild",
package/style-core.css CHANGED
@@ -16,6 +16,10 @@
16
16
  z-index: calc(var(--vp-z-index-local-nav) - 1);
17
17
  }
18
18
 
19
+ .v-popper--theme-twoslash.v-popper__popper {
20
+ content-visibility: auto;
21
+ }
22
+
19
23
  .v-popper--theme-twoslash .v-popper__inner {
20
24
  background: var(--twoslash-popup-bg);
21
25
  color: var(--twoslash-popup-color);
package/style.css CHANGED
@@ -312,6 +312,10 @@
312
312
  z-index: calc(var(--vp-z-index-local-nav) - 1);
313
313
  }
314
314
 
315
+ .v-popper--theme-twoslash.v-popper__popper {
316
+ content-visibility: auto;
317
+ }
318
+
315
319
  .v-popper--theme-twoslash .v-popper__inner {
316
320
  background: var(--twoslash-popup-bg);
317
321
  color: var(--twoslash-popup-color);