@slidev/client 0.43.14 → 0.43.15
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/NotesView.vue +1 -1
- package/internals/Presenter.vue +1 -1
- package/internals/PresenterPrint.vue +1 -1
- package/layouts/two-cols-header.vue +3 -10
- package/main.ts +1 -1
- package/package.json +6 -6
- package/setup/root.ts +1 -1
package/internals/NotesView.vue
CHANGED
package/internals/Presenter.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { useHead } from '@
|
|
2
|
+
import { useHead } from '@unhead/vue'
|
|
3
3
|
import { computed, onMounted, reactive, ref, shallowRef, watch } from 'vue'
|
|
4
4
|
import { useMouse, useWindowFocus } from '@vueuse/core'
|
|
5
5
|
import { clicks, clicksTotal, currentPage, currentRoute, hasNext, nextRoute, total, useSwipeControls } from '../logic/nav'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { computed } from 'vue'
|
|
3
3
|
import { useStyleTag } from '@vueuse/core'
|
|
4
|
-
import { useHead } from '@
|
|
4
|
+
import { useHead } from '@unhead/vue'
|
|
5
5
|
import { configs, themeVars } from '../env'
|
|
6
6
|
import { rawRoutes, total } from '../logic/nav'
|
|
7
7
|
import NoteDisplay from './NoteDisplay.vue'
|
|
@@ -11,9 +11,6 @@ This shows on the left
|
|
|
11
11
|
::right::
|
|
12
12
|
# Right
|
|
13
13
|
This shows on the right
|
|
14
|
-
::bottom::
|
|
15
|
-
# Bottom
|
|
16
|
-
This shows at bottom, below left and right
|
|
17
14
|
```
|
|
18
15
|
-->
|
|
19
16
|
|
|
@@ -39,9 +36,6 @@ const props = defineProps({
|
|
|
39
36
|
<div class="col-right" :class="props.class">
|
|
40
37
|
<slot name="right" />
|
|
41
38
|
</div>
|
|
42
|
-
<div class="col-bottom" :class="props.class">
|
|
43
|
-
<slot name="bottom" />
|
|
44
|
-
</div>
|
|
45
39
|
</div>
|
|
46
40
|
</template>
|
|
47
41
|
|
|
@@ -52,8 +46,7 @@ const props = defineProps({
|
|
|
52
46
|
grid-template-rows: repeat(2, 1fr);
|
|
53
47
|
}
|
|
54
48
|
|
|
55
|
-
.col-header
|
|
56
|
-
.col-
|
|
57
|
-
.col-
|
|
58
|
-
.col-right { grid-column: span 2; }
|
|
49
|
+
.col-header { grid-area: 1 / 1 / 2 / 3; }
|
|
50
|
+
.col-left { grid-area: 2 / 1 / 3 / 2; }
|
|
51
|
+
.col-right { grid-area: 2 / 2 / 3 / 3; }
|
|
59
52
|
</style>
|
package/main.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/client",
|
|
3
|
-
"version": "0.43.
|
|
3
|
+
"version": "0.43.15",
|
|
4
4
|
"description": "Presentation slides for developers",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@antfu/utils": "^0.7.6",
|
|
23
|
-
"@
|
|
23
|
+
"@unhead/vue": "^1.8.3",
|
|
24
|
+
"@unocss/reset": "^0.57.3",
|
|
24
25
|
"@vueuse/core": "^10.5.0",
|
|
25
|
-
"@vueuse/head": "^2.0.0",
|
|
26
26
|
"@vueuse/math": "^10.5.0",
|
|
27
27
|
"@vueuse/motion": "^2.0.0",
|
|
28
28
|
"codemirror": "^5.65.5",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"prettier": "^3.0.3",
|
|
40
40
|
"recordrtc": "^5.6.2",
|
|
41
41
|
"resolve": "^1.22.8",
|
|
42
|
-
"unocss": "^0.57.
|
|
42
|
+
"unocss": "^0.57.3",
|
|
43
43
|
"vite-plugin-windicss": "^1.9.1",
|
|
44
44
|
"vue": "^3.3.8",
|
|
45
45
|
"vue-router": "^4.2.5",
|
|
46
46
|
"vue-starport": "^0.4.0",
|
|
47
47
|
"windicss": "^3.5.6",
|
|
48
|
-
"@slidev/parser": "0.43.
|
|
49
|
-
"@slidev/types": "0.43.
|
|
48
|
+
"@slidev/parser": "0.43.15",
|
|
49
|
+
"@slidev/types": "0.43.15"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"vite": "^4.5.0"
|
package/setup/root.ts
CHANGED