@slidev/client 52.0.0 → 52.0.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/composables/useNav.ts +1 -1
- package/package.json +3 -3
package/composables/useNav.ts
CHANGED
|
@@ -290,7 +290,7 @@ const useNavState = createSharedComposable((): SlidevContextNavState => {
|
|
|
290
290
|
const hasPrimarySlide = computed(() => !!currentRoute.params.no)
|
|
291
291
|
const currentSlideNo = computed(() => hasPrimarySlide.value ? getSlide(currentRoute.params.no as string)?.no ?? 1 : 1)
|
|
292
292
|
const currentSlideRoute = computed(() => slides.value[currentSlideNo.value - 1])
|
|
293
|
-
const printRange = ref(parseRangeString(slides.value.length, currentRoute
|
|
293
|
+
const printRange = ref(parseRangeString(slides.value.length, currentRoute?.query?.range as string | undefined))
|
|
294
294
|
|
|
295
295
|
const queryClicksRaw = useRouteQuery<string>('clicks', '0')
|
|
296
296
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/client",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "52.0.
|
|
4
|
+
"version": "52.0.1",
|
|
5
5
|
"description": "Presentation slides for developers",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"vue": "^3.5.17",
|
|
62
62
|
"vue-router": "^4.5.1",
|
|
63
63
|
"yaml": "^2.8.0",
|
|
64
|
-
"@slidev/
|
|
65
|
-
"@slidev/
|
|
64
|
+
"@slidev/types": "52.0.1",
|
|
65
|
+
"@slidev/parser": "52.0.1"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"vite": "^7.0.0"
|