@slidev/types 0.34.1 → 0.34.2

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.ts +8 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -34,7 +34,7 @@ interface SlidevConfig {
34
34
  /**
35
35
  * Download remote assets in local using vite-plugin-remote-assets
36
36
  *
37
- * @default true
37
+ * @default false
38
38
  */
39
39
  remoteAssets: boolean | 'dev' | 'build';
40
40
  /**
@@ -51,6 +51,12 @@ interface SlidevConfig {
51
51
  * @default false
52
52
  */
53
53
  download: boolean | string;
54
+ /**
55
+ * Show a copy button in code blocks
56
+ *
57
+ * @default true
58
+ */
59
+ codeCopy: boolean;
54
60
  /**
55
61
  * Information shows on the built SPA
56
62
  * Can be a markdown string
@@ -165,7 +171,7 @@ interface SlidevConfig {
165
171
  *
166
172
  * @default 'windicss'
167
173
  */
168
- css?: 'windicss' | 'unocss';
174
+ css: 'windicss' | 'unocss';
169
175
  }
170
176
  interface FontOptions {
171
177
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/types",
3
- "version": "0.34.1",
3
+ "version": "0.34.2",
4
4
  "description": "Shared types declerations for Slidev",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",