@slidev/types 52.4.0 → 52.6.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +17 -0
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -576,6 +576,23 @@ interface HeadmatterConfig extends TransitionOptions {
576
576
  * ```
577
577
  */
578
578
  notesAutoRuby?: Record<string, string>;
579
+ /**
580
+ * The expected duration of the slide
581
+ *
582
+ * @example
583
+ * ```yaml
584
+ * duration: 35min
585
+ * ```
586
+ *
587
+ * @default '30min'
588
+ */
589
+ duration?: string | number;
590
+ /**
591
+ * Timer mode
592
+ *
593
+ * @default 'stopwatch'
594
+ */
595
+ timer?: 'stopwatch' | 'countdown';
579
596
  }
580
597
  interface Frontmatter extends TransitionOptions {
581
598
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/types",
3
- "version": "52.4.0",
3
+ "version": "52.6.0",
4
4
  "description": "Shared types declarations for Slidev",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",