@slidev/types 0.48.6 → 0.48.8

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 +2 -0
  2. package/package.json +4 -4
package/dist/index.d.mts CHANGED
@@ -22,6 +22,7 @@ interface ExportArgs extends CommonArgs {
22
22
  'output'?: string;
23
23
  'format'?: string;
24
24
  'timeout'?: number;
25
+ 'wait'?: number;
25
26
  'range'?: string;
26
27
  'dark'?: boolean;
27
28
  'with-clicks'?: boolean;
@@ -495,6 +496,7 @@ type ResolvedClicksInfo = Required<ClicksInfo>;
495
496
  type ClicksMap = Map<ClicksElement, ClicksInfo>;
496
497
  interface ClicksContext {
497
498
  current: number;
499
+ readonly clicksStart: number;
498
500
  readonly relativeOffsets: ClicksRelativeEls;
499
501
  readonly map: ClicksMap;
500
502
  resolve: (at: string | number, size?: number) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/types",
3
- "version": "0.48.6",
3
+ "version": "0.48.8",
4
4
  "description": "Shared types declarations for Slidev",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -26,11 +26,11 @@
26
26
  "@antfu/utils": "^0.7.7",
27
27
  "@vitejs/plugin-vue": "^5.0.4",
28
28
  "@vitejs/plugin-vue-jsx": "^3.1.0",
29
- "katex": "^0.16.9",
29
+ "katex": "^0.16.10",
30
30
  "mermaid": "^10.9.0",
31
31
  "monaco-editor": "^0.47.0",
32
- "shiki": "^1.1.7",
33
- "unocss": "^0.58.5",
32
+ "shiki": "^1.2.1",
33
+ "unocss": "^0.58.8",
34
34
  "unplugin-icons": "^0.18.5",
35
35
  "unplugin-vue-markdown": "^0.26.0",
36
36
  "vite-plugin-remote-assets": "^0.4.1",