create-slidev 0.48.0-beta.5 → 0.48.0-beta.7

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,7 +1,7 @@
1
1
  {
2
2
  "name": "create-slidev",
3
3
  "type": "module",
4
- "version": "0.48.0-beta.5",
4
+ "version": "0.48.0-beta.7",
5
5
  "description": "Create starter template for Slidev",
6
6
  "author": "antfu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -8,7 +8,7 @@
8
8
  "export": "slidev export"
9
9
  },
10
10
  "dependencies": {
11
- "@slidev/cli": "^0.48.0-beta.5",
11
+ "@slidev/cli": "^0.48.0-beta.7",
12
12
  "@slidev/theme-default": "latest",
13
13
  "@slidev/theme-seriph": "latest",
14
14
  "vue": "^3.4.19"
@@ -239,13 +239,49 @@ theme: seriph
239
239
  Read more about [How to use a theme](https://sli.dev/themes/use.html) and
240
240
  check out the [Awesome Themes Gallery](https://sli.dev/themes/gallery.html).
241
241
 
242
+ ---
243
+
244
+ # Clicks Animations
245
+
246
+ You can add `v-click` to elements to add a click animation.
247
+
248
+ <div v-click>
249
+
250
+ This shows up when you click the slide:
251
+ ```html
252
+ <div v-click>This shows up when you click the slide.</div>
253
+ ```
254
+
255
+ </div>
256
+
257
+ <br>
258
+
259
+ <v-click>
260
+
261
+ The <span v-mark.red="3"><code>v-mark</code> directive</span>
262
+ also allows you to add
263
+ <span v-mark.circle.orange="4">inline marks</span>
264
+ , powered by [Rough Notation](https://roughnotation.com/):
265
+
266
+ ```html
267
+ <span v-mark.underline.orange>inline markers</span>
268
+ ```
269
+
270
+ </v-click>
271
+
272
+ <div mt-20 v-click>
273
+
274
+ [Learn More](https://sli.dev/guide/animations#click-animations)
275
+
276
+ </div>
277
+
242
278
  ---
243
279
  preload: false
244
280
  ---
245
281
 
246
- # Animations
282
+ # Motions
247
283
 
248
- Animations are powered by [@vueuse/motion](https://motion.vueuse.org/).
284
+ Motion animations are powered by [@vueuse/motion](https://motion.vueuse.org/), triggered by `v-motion` directive.
249
285
 
250
286
  ```html
251
287
  <div