@slidev/types 0.46.0 → 0.46.2

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
@@ -458,6 +458,7 @@ type AppSetup = (context: AppContext) => Awaitable<void>;
458
458
  type MermaidSetup = () => Partial<MermaidOptions> | undefined;
459
459
  type ShortcutsSetup = (nav: NavOperations, defaultShortcuts: ShortcutOptions[]) => Array<ShortcutOptions>;
460
460
  declare function defineShikiSetup(fn: ShikiSetup): ShikiSetup;
461
+ declare function defineShikijiSetup(fn: ShikijiSetup): ShikijiSetup;
461
462
  declare function defineWindiSetup(fn: WindiSetup): WindiSetup;
462
463
  declare function defineUnoSetup(fn: UnoSetup): UnoSetup;
463
464
  declare function defineMonacoSetup(fn: MonacoSetup): MonacoSetup;
@@ -478,4 +479,4 @@ interface TocItem {
478
479
  title?: string;
479
480
  }
480
481
 
481
- export { type AppContext, type AppSetup, type BuildArgs, type BuiltinSlideTransition, type CommonArgs, type DrawingsOptions, type ExportArgs, type FontOptions, type FrontmatterStyle, type KatexSetup, type MermaidOptions, type MermaidSetup, type MonacoSetup, type MonacoSetupReturn, type NavOperations, type PreparserExtensionFromHeadmatter, type PreparserExtensionLoader, type PreparserSetup, type RenderContext, type ResolvedDrawingsOptions, type ResolvedExportOptions, type ResolvedFontOptions, type ResolvedShikiOptions, type ShikiDarkModeThemes, type ShikiOptions, type ShikiSetup, type ShikijiSetup, type ShortcutOptions, type ShortcutsSetup, type SlideInfo, type SlideInfoBase, type SlideInfoExtended, type SlideInfoWithPath, type SlidevConfig, type SlidevFeatureFlags, type SlidevMarkdown, type SlidevPreparserExtension, type SlidevThemeConfig, type SlidevThemeMeta, type TocItem, type UnoSetup, type WindiSetup, defineAppSetup, defineKatexSetup, defineMermaidSetup, defineMonacoSetup, definePreparserSetup, defineShikiSetup, defineShortcutsSetup, defineUnoSetup, defineWindiSetup };
482
+ export { type AppContext, type AppSetup, type BuildArgs, type BuiltinSlideTransition, type CommonArgs, type DrawingsOptions, type ExportArgs, type FontOptions, type FrontmatterStyle, type KatexSetup, type MermaidOptions, type MermaidSetup, type MonacoSetup, type MonacoSetupReturn, type NavOperations, type PreparserExtensionFromHeadmatter, type PreparserExtensionLoader, type PreparserSetup, type RenderContext, type ResolvedDrawingsOptions, type ResolvedExportOptions, type ResolvedFontOptions, type ResolvedShikiOptions, type ShikiDarkModeThemes, type ShikiOptions, type ShikiSetup, type ShikijiSetup, type ShortcutOptions, type ShortcutsSetup, type SlideInfo, type SlideInfoBase, type SlideInfoExtended, type SlideInfoWithPath, type SlidevConfig, type SlidevFeatureFlags, type SlidevMarkdown, type SlidevPreparserExtension, type SlidevThemeConfig, type SlidevThemeMeta, type TocItem, type UnoSetup, type WindiSetup, defineAppSetup, defineKatexSetup, defineMermaidSetup, defineMonacoSetup, definePreparserSetup, defineShikiSetup, defineShikijiSetup, defineShortcutsSetup, defineUnoSetup, defineWindiSetup };
package/dist/index.mjs CHANGED
@@ -2,6 +2,9 @@
2
2
  function defineShikiSetup(fn) {
3
3
  return fn;
4
4
  }
5
+ function defineShikijiSetup(fn) {
6
+ return fn;
7
+ }
5
8
  function defineWindiSetup(fn) {
6
9
  return fn;
7
10
  }
@@ -33,6 +36,7 @@ export {
33
36
  defineMonacoSetup,
34
37
  definePreparserSetup,
35
38
  defineShikiSetup,
39
+ defineShikijiSetup,
36
40
  defineShortcutsSetup,
37
41
  defineUnoSetup,
38
42
  defineWindiSetup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/types",
3
- "version": "0.46.0",
3
+ "version": "0.46.2",
4
4
  "description": "Shared types declarations for Slidev",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",