@slidev/client 0.40.16 → 0.41.1
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/internals/Goto.vue +2 -1
- package/internals/NoteEditor.vue +1 -0
- package/internals/Presenter.vue +3 -3
- package/package.json +13 -13
package/internals/Goto.vue
CHANGED
|
@@ -107,7 +107,7 @@ watch(activeElement, () => {
|
|
|
107
107
|
id="slidev-goto-dialog"
|
|
108
108
|
ref="container"
|
|
109
109
|
class="fixed right-5 transition-all"
|
|
110
|
-
w-90
|
|
110
|
+
w-90 max-w-90 min-w-90
|
|
111
111
|
:class="showGotoDialog ? 'top-5' : '-top-20'"
|
|
112
112
|
>
|
|
113
113
|
<div
|
|
@@ -148,6 +148,7 @@ watch(activeElement, () => {
|
|
|
148
148
|
cursor-pointer
|
|
149
149
|
hover="op100"
|
|
150
150
|
flex="~ gap-2"
|
|
151
|
+
w-90
|
|
151
152
|
items-center
|
|
152
153
|
:border="index === 0 ? '' : 't main'"
|
|
153
154
|
:class="selectedIndex === index ? 'bg-active op100' : 'op80'"
|
package/internals/NoteEditor.vue
CHANGED
|
@@ -72,6 +72,7 @@ onClickOutside(input, () => {
|
|
|
72
72
|
ref="input"
|
|
73
73
|
v-model="note"
|
|
74
74
|
class="prose resize-none overflow-auto outline-none bg-transparent block"
|
|
75
|
+
style="line-height: 1.75; margin: 1em 0;"
|
|
75
76
|
:class="props.class"
|
|
76
77
|
:placeholder="placeholder"
|
|
77
78
|
@focus="editing = true"
|
package/internals/Presenter.vue
CHANGED
|
@@ -84,7 +84,7 @@ onMounted(() => {
|
|
|
84
84
|
<div class="bg-main h-full slidev-presenter">
|
|
85
85
|
<div class="grid-container">
|
|
86
86
|
<div class="grid-section top flex">
|
|
87
|
-
<img src="../assets/logo-title-horizontal.png" class="ml-2 my-auto h-10 py-1 lg:h-14 lg:py-2">
|
|
87
|
+
<img src="../assets/logo-title-horizontal.png" class="ml-2 my-auto h-10 py-1 lg:h-14 lg:py-2" style="height: 3.5rem;">
|
|
88
88
|
<div class="flex-auto" />
|
|
89
89
|
<div
|
|
90
90
|
class="timer-btn my-auto relative w-22px h-22px cursor-pointer text-lg"
|
|
@@ -132,8 +132,8 @@ onMounted(() => {
|
|
|
132
132
|
</div>
|
|
133
133
|
</div>
|
|
134
134
|
<div class="grid-section note overflow-auto">
|
|
135
|
-
<NoteEditor v-if="__DEV__" class="w-full h-full overflow-auto p-2 lg:p-4" />
|
|
136
|
-
<NoteStatic v-else class="w-full h-full overflow-auto p-2 lg:p-4" />
|
|
135
|
+
<NoteEditor v-if="__DEV__" class="w-full max-w-full h-full overflow-auto p-2 lg:p-4" />
|
|
136
|
+
<NoteStatic v-else class="w-full max-w-full h-full overflow-auto p-2 lg:p-4" />
|
|
137
137
|
</div>
|
|
138
138
|
<div class="grid-section bottom">
|
|
139
139
|
<NavControls :persist="true" />
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.1",
|
|
4
4
|
"description": "Presentation slides for developers",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@antfu/utils": "^0.7.2",
|
|
19
|
-
"@unocss/reset": "^0.51.
|
|
20
|
-
"@vueuse/core": "^10.
|
|
19
|
+
"@unocss/reset": "^0.51.13",
|
|
20
|
+
"@vueuse/core": "^10.1.2",
|
|
21
21
|
"@vueuse/head": "^1.1.26",
|
|
22
|
-
"@vueuse/math": "^10.
|
|
22
|
+
"@vueuse/math": "^10.1.2",
|
|
23
23
|
"@vueuse/motion": "^2.0.0-beta.27",
|
|
24
24
|
"codemirror": "^5.65.5",
|
|
25
25
|
"defu": "^6.1.2",
|
|
@@ -28,23 +28,23 @@
|
|
|
28
28
|
"fuse.js": "^6.6.2",
|
|
29
29
|
"js-base64": "^3.7.5",
|
|
30
30
|
"js-yaml": "^4.1.0",
|
|
31
|
-
"katex": "^0.16.
|
|
31
|
+
"katex": "^0.16.7",
|
|
32
32
|
"mermaid": "^10.1.0",
|
|
33
33
|
"monaco-editor": "^0.37.1",
|
|
34
34
|
"nanoid": "^4.0.2",
|
|
35
|
-
"prettier": "^2.8.
|
|
35
|
+
"prettier": "^2.8.8",
|
|
36
36
|
"recordrtc": "^5.6.2",
|
|
37
37
|
"resolve": "^1.22.2",
|
|
38
|
-
"unocss": "^0.51.
|
|
39
|
-
"vite-plugin-windicss": "^1.
|
|
40
|
-
"vue": "^3.2
|
|
41
|
-
"vue-router": "^4.
|
|
38
|
+
"unocss": "^0.51.13",
|
|
39
|
+
"vite-plugin-windicss": "^1.9.0",
|
|
40
|
+
"vue": "^3.3.2",
|
|
41
|
+
"vue-router": "^4.2.0",
|
|
42
42
|
"vue-starport": "^0.3.0",
|
|
43
43
|
"windicss": "^3.5.6",
|
|
44
|
-
"@slidev/parser": "0.
|
|
45
|
-
"@slidev/types": "0.
|
|
44
|
+
"@slidev/parser": "0.41.1",
|
|
45
|
+
"@slidev/types": "0.41.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"vite": "^4.3.
|
|
48
|
+
"vite": "^4.3.7"
|
|
49
49
|
}
|
|
50
50
|
}
|