@slidev/types 0.32.2 → 0.33.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.ts +2 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -294,6 +294,7 @@ interface SlidevMarkdown {
|
|
|
294
294
|
entries?: string[];
|
|
295
295
|
themeMeta?: SlidevThemeMeta;
|
|
296
296
|
}
|
|
297
|
+
declare type RenderContext = 'slide' | 'overview' | 'presenter' | 'previewNext';
|
|
297
298
|
|
|
298
299
|
interface AppContext {
|
|
299
300
|
app: App;
|
|
@@ -347,4 +348,4 @@ declare function defineMermaidSetup(fn: MermaidSetup): MermaidSetup;
|
|
|
347
348
|
declare function defineKatexSetup(fn: KatexSetup): KatexSetup;
|
|
348
349
|
declare function defineShortcutsSetup(fn: ShortcutsSetup): ShortcutsSetup;
|
|
349
350
|
|
|
350
|
-
export { AppContext, AppSetup, DrawingsOptions, FontOptions, KatexSetup, MermaidOptions, MermaidSetup, MonacoSetup, MonacoSetupReturn, NavOperations, ResolvedDrawingsOptions, ResolvedFontOptions, ShikiDarkModeThemes, ShikiOptions, ShikiSetup, ShortcutOptions, ShortcutsSetup, SlideInfo, SlideInfoBase, SlideInfoExtended, SlideInfoWithPath, SlidevConfig, SlidevFeatureFlags, SlidevMarkdown, SlidevThemeConfig, SlidevThemeMeta, WindiSetup, defineAppSetup, defineKatexSetup, defineMermaidSetup, defineMonacoSetup, defineShikiSetup, defineShortcutsSetup, defineWindiSetup };
|
|
351
|
+
export { AppContext, AppSetup, DrawingsOptions, FontOptions, KatexSetup, MermaidOptions, MermaidSetup, MonacoSetup, MonacoSetupReturn, NavOperations, RenderContext, ResolvedDrawingsOptions, ResolvedFontOptions, ShikiDarkModeThemes, ShikiOptions, ShikiSetup, ShortcutOptions, ShortcutsSetup, SlideInfo, SlideInfoBase, SlideInfoExtended, SlideInfoWithPath, SlidevConfig, SlidevFeatureFlags, SlidevMarkdown, SlidevThemeConfig, SlidevThemeMeta, WindiSetup, defineAppSetup, defineKatexSetup, defineMermaidSetup, defineMonacoSetup, defineShikiSetup, defineShortcutsSetup, defineWindiSetup };
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"description": "Shared types declerations for Slidev",
|
|
5
|
-
"homepage": "https://sli.dev",
|
|
6
|
-
"bugs": "https://github.com/slidevjs/slidev/issues",
|
|
7
|
-
"license": "MIT",
|
|
8
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"funding": "https://github.com/sponsors/antfu",
|
|
8
|
+
"homepage": "https://sli.dev",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/slidevjs/slidev"
|
|
12
12
|
},
|
|
13
|
-
"
|
|
13
|
+
"bugs": "https://github.com/slidevjs/slidev/issues",
|
|
14
14
|
"main": "dist/index.js",
|
|
15
15
|
"module": "dist/index.mjs",
|
|
16
16
|
"types": "index.d.ts",
|