create-slidev 0.38.7 → 0.39.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-slidev",
3
- "version": "0.38.7",
3
+ "version": "0.39.0",
4
4
  "description": "Create starter template for Slidev",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -7,7 +7,7 @@
7
7
  "export": "slidev export"
8
8
  },
9
9
  "dependencies": {
10
- "@slidev/cli": "^0.38.7",
10
+ "@slidev/cli": "^0.39.0",
11
11
  "@slidev/theme-default": "*",
12
12
  "@slidev/theme-seriph": "*"
13
13
  }
@@ -19,10 +19,8 @@ info: |
19
19
  # persist drawings in exports and build
20
20
  drawings:
21
21
  persist: false
22
- # page transition, apply to all slides
23
- pageTransition:
24
- name: fade
25
- mode: out-in
22
+ # page transition
23
+ transition: fade-out
26
24
  # use UnoCSS
27
25
  css: unocss
28
26
  ---
@@ -51,6 +49,8 @@ Presentation slides for developers
51
49
  The last comment block of each slide will be treated as slide notes. It will be visible and editable in Presenter Mode along with the slide. [Read more in the docs](https://sli.dev/guide/syntax.html#notes)
52
50
  -->
53
51
 
52
+ ---
53
+ transition: slide-left
54
54
  ---
55
55
 
56
56
  # What is Slidev?
@@ -91,6 +91,8 @@ h1 {
91
91
  Here is another comment.
92
92
  -->
93
93
 
94
+ ---
95
+ transition: slide-up
94
96
  ---
95
97
 
96
98
  # Navigation