@slidev/client 52.20.0 → 53.0.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.
@@ -180,12 +180,13 @@ onMounted(() => {
180
180
  :step="stepIndex"
181
181
  :animate="!isPrintMode"
182
182
  :options="{
183
+ stagger: 1,
184
+ ...configs.shiki?.magicMove,
183
185
  globalScale: scale * zoom,
184
186
  // Use duration 0 to skip animation instead of using the animate prop,
185
187
  // because moving from non-animated to animated causes issues with
186
188
  // new elements. Unfortunately, this causes a flash.
187
189
  duration: isFirstTick ? 0 : $props.duration,
188
- stagger: 1,
189
190
  }"
190
191
  />
191
192
  <button
package/constants.ts CHANGED
@@ -90,5 +90,6 @@ export const HEADMATTER_FIELDS = [
90
90
  'seoMeta',
91
91
  'notesAutoRuby',
92
92
  'magicMoveDuration',
93
+ 'shiki',
93
94
  'preloadImages',
94
95
  ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@slidev/client",
3
3
  "type": "module",
4
- "version": "52.20.0",
4
+ "version": "53.0.0",
5
5
  "description": "Presentation slides for developers",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "main": "./public.ts",
27
27
  "engines": {
28
- "node": ">=20.12.0"
28
+ "node": ">=22.12.0"
29
29
  },
30
30
  "dependencies": {
31
31
  "@antfu/utils": "^9.3.0",
@@ -37,9 +37,9 @@
37
37
  "@shikijs/magic-move": "^4.4.3",
38
38
  "@shikijs/monaco": "^4.4.3",
39
39
  "@shikijs/vitepress-twoslash": "^4.4.3",
40
- "@slidev/parser": "52.20.0",
40
+ "@slidev/parser": "53.0.0",
41
41
  "@slidev/rough-notation": "^0.1.0",
42
- "@slidev/types": "52.20.0",
42
+ "@slidev/types": "53.0.0",
43
43
  "@typescript/ata": "^0.9.8",
44
44
  "@unhead/vue": "^3.4.1",
45
45
  "@unocss/extractor-mdc": "^66.10.4",
@@ -57,7 +57,7 @@
57
57
  "katex": "^0.18.7",
58
58
  "lz-string": "^1.5.0",
59
59
  "markdown-it-github-alerts": "^1.0.1",
60
- "mermaid": "^11.16.1",
60
+ "mermaid": "^12.0.0",
61
61
  "monaco-editor": "^0.56.0",
62
62
  "nanotar": "^0.3.0",
63
63
  "pptxgenjs": "^4.0.1",