@slidev/types 0.50.0-beta.7 → 0.50.0-beta.9

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +4 -4
  2. package/package.json +13 -13
package/dist/index.d.mts CHANGED
@@ -15,7 +15,7 @@ import VueJsx from '@vitejs/plugin-vue-jsx';
15
15
  import Icons from 'unplugin-icons/vite';
16
16
  import Components from 'unplugin-vue-components/vite';
17
17
  import Markdown from 'unplugin-vue-markdown/vite';
18
- import { Options } from 'vite-plugin-inspect';
18
+ import { ViteInspectOptions } from 'vite-plugin-inspect';
19
19
  import RemoteAssets from 'vite-plugin-remote-assets';
20
20
  import { ViteStaticCopyOptions } from 'vite-plugin-static-copy';
21
21
  import ServerRef from 'vite-plugin-vue-server-ref';
@@ -755,11 +755,11 @@ type ContextMenuOption = {
755
755
  disabled?: boolean;
756
756
  } & ({
757
757
  small?: false;
758
- icon?: Component;
758
+ icon?: Component | string;
759
759
  label: string | Component;
760
760
  } | {
761
761
  small: true;
762
- icon: Component;
762
+ icon: Component | string;
763
763
  label: string;
764
764
  });
765
765
  type ContextMenuItem = ContextMenuOption | 'separator';
@@ -950,7 +950,7 @@ interface SlidevPluginOptions {
950
950
  serverRef?: ArgumentsType<typeof ServerRef>[0];
951
951
  unocss?: VitePluginConfig;
952
952
  staticCopy?: ViteStaticCopyOptions;
953
- inspect?: Options;
953
+ inspect?: ViteInspectOptions;
954
954
  }
955
955
  declare module 'vite' {
956
956
  interface UserConfig {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/types",
3
- "version": "0.50.0-beta.7",
3
+ "version": "0.50.0-beta.9",
4
4
  "description": "Shared types declarations for Slidev",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -24,22 +24,22 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@antfu/utils": "^0.7.10",
27
- "@shikijs/markdown-it": "^1.23.1",
28
- "@vitejs/plugin-vue": "^5.2.0",
29
- "@vitejs/plugin-vue-jsx": "^4.1.0",
27
+ "@shikijs/markdown-it": "^1.24.0",
28
+ "@vitejs/plugin-vue": "^5.2.1",
29
+ "@vitejs/plugin-vue-jsx": "^4.1.1",
30
30
  "katex": "^0.16.11",
31
- "mermaid": "^11.4.0",
31
+ "mermaid": "^11.4.1",
32
32
  "monaco-editor": "0.51.0",
33
- "shiki": "^1.23.1",
34
- "unocss": "^0.64.1",
35
- "unplugin-icons": "^0.20.1",
36
- "unplugin-vue-markdown": "^0.26.2",
37
- "vite-plugin-inspect": "^0.8.7",
38
- "vite-plugin-remote-assets": "^0.5.0",
39
- "vite-plugin-static-copy": "^2.1.0",
33
+ "shiki": "^1.24.0",
34
+ "unocss": "^0.65.0",
35
+ "unplugin-icons": "^0.20.2",
36
+ "unplugin-vue-markdown": "^0.27.1",
37
+ "vite-plugin-inspect": "^0.10.2",
38
+ "vite-plugin-remote-assets": "^0.6.0",
39
+ "vite-plugin-static-copy": "^2.2.0",
40
40
  "vite-plugin-vue-server-ref": "^0.4.2",
41
41
  "vue": "^3.5.13",
42
- "vue-router": "^4.4.5"
42
+ "vue-router": "^4.5.0"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "tsup src/index.ts",