@slidev/types 52.6.0 → 52.7.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 +21 -0
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -558,6 +558,12 @@ interface HeadmatterConfig extends TransitionOptions {
|
|
|
558
558
|
* @default []
|
|
559
559
|
*/
|
|
560
560
|
monacoRunAdditionalDeps?: string[];
|
|
561
|
+
/**
|
|
562
|
+
* Whether to run monaco runnable code in strict mode
|
|
563
|
+
*
|
|
564
|
+
* @default true
|
|
565
|
+
*/
|
|
566
|
+
monacoRunUseStrict?: boolean;
|
|
561
567
|
/**
|
|
562
568
|
* Seo meta tags settings
|
|
563
569
|
*
|
|
@@ -845,6 +851,21 @@ type ContextMenuOption = {
|
|
|
845
851
|
});
|
|
846
852
|
type ContextMenuItem = ContextMenuOption | 'separator';
|
|
847
853
|
//#endregion
|
|
854
|
+
//#region src/hmr.d.ts
|
|
855
|
+
declare module 'vite' {
|
|
856
|
+
interface CustomEventMap {
|
|
857
|
+
'slidev:update-slide': {
|
|
858
|
+
no: number;
|
|
859
|
+
data: SlideInfo;
|
|
860
|
+
};
|
|
861
|
+
'slidev:update-note': {
|
|
862
|
+
no: number;
|
|
863
|
+
note: string;
|
|
864
|
+
noteHTML: string;
|
|
865
|
+
};
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
//#endregion
|
|
848
869
|
//#region src/options.d.ts
|
|
849
870
|
interface RootsInfo {
|
|
850
871
|
cliRoot: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/types",
|
|
3
|
-
"version": "52.
|
|
3
|
+
"version": "52.7.0",
|
|
4
4
|
"description": "Shared types declarations for Slidev",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@antfu/utils": "^9.3.0",
|
|
27
|
-
"@shikijs/markdown-it": "^3.
|
|
27
|
+
"@shikijs/markdown-it": "^3.15.0",
|
|
28
28
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
29
29
|
"@vitejs/plugin-vue-jsx": "^5.1.1",
|
|
30
30
|
"katex": "^0.16.25",
|
|
31
|
-
"mermaid": "^11.12.
|
|
32
|
-
"monaco-editor": "^0.
|
|
33
|
-
"shiki": "^3.
|
|
31
|
+
"mermaid": "^11.12.1",
|
|
32
|
+
"monaco-editor": "^0.54.0",
|
|
33
|
+
"shiki": "^3.15.0",
|
|
34
34
|
"unocss": "^66.5.4",
|
|
35
35
|
"unplugin-icons": "^22.5.0",
|
|
36
36
|
"unplugin-vue-markdown": "^29.2.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"vite-plugin-remote-assets": "^2.1.0",
|
|
39
39
|
"vite-plugin-static-copy": "^3.1.4",
|
|
40
40
|
"vite-plugin-vue-server-ref": "^1.0.0",
|
|
41
|
-
"vue": "^3.5.
|
|
41
|
+
"vue": "^3.5.23",
|
|
42
42
|
"vue-router": "^4.6.3"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|