@slidev/client 51.4.0 → 51.5.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/constants.ts +1 -0
- package/internals/FormCheckbox.vue +1 -1
- package/internals/SideEditor.vue +1 -1
- package/package.json +13 -14
- package/setup/main.ts +1 -1
package/constants.ts
CHANGED
|
@@ -11,6 +11,6 @@ const value = defineModel<boolean>('modelValue', {
|
|
|
11
11
|
<template>
|
|
12
12
|
<div border="~ main rounded" flex="~ gap-2 items-center" relative h-5 w-5 p0.5 hover:bg-active p1>
|
|
13
13
|
<div i-ri-check-line :class="value ? '' : 'op0'" />
|
|
14
|
-
<input v-model="value" type="checkbox" absolute inset-0 opacity-
|
|
14
|
+
<input v-model="value" type="checkbox" absolute inset-0 opacity-10 :disabled="disabled">
|
|
15
15
|
</div>
|
|
16
16
|
</template>
|
package/internals/SideEditor.vue
CHANGED
|
@@ -26,7 +26,7 @@ watch(
|
|
|
26
26
|
if (!isInputting.value) {
|
|
27
27
|
note.value = (v?.note || '').trim()
|
|
28
28
|
const frontmatterPart = v?.frontmatterRaw?.trim() ? `---\n${v.frontmatterRaw.trim()}\n---\n\n` : ''
|
|
29
|
-
content.value = frontmatterPart + (v?.
|
|
29
|
+
content.value = frontmatterPart + (v?.source.contentRaw || '').trim()
|
|
30
30
|
dirty.value = false
|
|
31
31
|
}
|
|
32
32
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/client",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "51.
|
|
4
|
+
"version": "51.5.0",
|
|
5
5
|
"description": "Presentation slides for developers",
|
|
6
6
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -32,39 +32,38 @@
|
|
|
32
32
|
"@iconify-json/carbon": "^1.2.8",
|
|
33
33
|
"@iconify-json/ph": "^1.2.2",
|
|
34
34
|
"@iconify-json/svg-spinners": "^1.2.2",
|
|
35
|
-
"@shikijs/engine-javascript": "^3.1
|
|
36
|
-
"@shikijs/monaco": "^3.1
|
|
37
|
-
"@shikijs/vitepress-twoslash": "^3.1
|
|
35
|
+
"@shikijs/engine-javascript": "^3.2.1",
|
|
36
|
+
"@shikijs/monaco": "^3.2.1",
|
|
37
|
+
"@shikijs/vitepress-twoslash": "^3.2.1",
|
|
38
38
|
"@slidev/rough-notation": "^0.1.0",
|
|
39
39
|
"@typescript/ata": "^0.9.7",
|
|
40
|
-
"@unhead/vue": "^
|
|
40
|
+
"@unhead/vue": "^2.0.2",
|
|
41
41
|
"@unocss/reset": "^66.0.0",
|
|
42
42
|
"@vueuse/core": "^13.0.0",
|
|
43
43
|
"@vueuse/math": "^13.0.0",
|
|
44
|
-
"@vueuse/motion": "^3.0.
|
|
44
|
+
"@vueuse/motion": "^3.0.3",
|
|
45
45
|
"drauu": "^0.4.3",
|
|
46
46
|
"file-saver": "^2.0.5",
|
|
47
47
|
"floating-vue": "^5.2.2",
|
|
48
48
|
"fuse.js": "^7.1.0",
|
|
49
49
|
"katex": "^0.16.21",
|
|
50
50
|
"lz-string": "^1.5.0",
|
|
51
|
-
"mermaid": "^11.
|
|
51
|
+
"mermaid": "^11.6.0",
|
|
52
52
|
"monaco-editor": "0.51.0",
|
|
53
53
|
"nanotar": "^0.2.0",
|
|
54
54
|
"pptxgenjs": "^3.12.0",
|
|
55
|
-
"prettier": "^3.5.3",
|
|
56
55
|
"recordrtc": "^5.6.2",
|
|
57
|
-
"shiki": "^3.1
|
|
58
|
-
"shiki-magic-move": "^1.0
|
|
56
|
+
"shiki": "^3.2.1",
|
|
57
|
+
"shiki-magic-move": "^1.1.0",
|
|
59
58
|
"typescript": "^5.8.2",
|
|
60
59
|
"unocss": "^66.0.0",
|
|
61
60
|
"vue": "^3.5.13",
|
|
62
61
|
"vue-router": "^4.5.0",
|
|
63
|
-
"yaml": "^2.7.
|
|
64
|
-
"@slidev/
|
|
65
|
-
"@slidev/
|
|
62
|
+
"yaml": "^2.7.1",
|
|
63
|
+
"@slidev/types": "51.5.0",
|
|
64
|
+
"@slidev/parser": "51.5.0"
|
|
66
65
|
},
|
|
67
66
|
"devDependencies": {
|
|
68
|
-
"vite": "^6.2.
|
|
67
|
+
"vite": "^6.2.3"
|
|
69
68
|
}
|
|
70
69
|
}
|
package/setup/main.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { AppContext } from '@slidev/types'
|
|
|
2
2
|
import type { App } from 'vue'
|
|
3
3
|
import setups from '#slidev/setups/main'
|
|
4
4
|
import TwoSlashFloatingVue from '@shikijs/vitepress-twoslash/client'
|
|
5
|
-
import { createHead } from '@unhead/vue'
|
|
5
|
+
import { createHead } from '@unhead/vue/client'
|
|
6
6
|
import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'
|
|
7
7
|
import { createVClickDirectives } from '../modules/v-click'
|
|
8
8
|
import { createVDragDirective } from '../modules/v-drag'
|