@kirchdev/duxt 0.3.2 → 0.3.3-dev-main.38-6c6b51d
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/app/components/DuxtVersion.vue +13 -15
- package/package.json +1 -1
|
@@ -165,22 +165,20 @@ function pathIn(version: { to?: string }) {
|
|
|
165
165
|
<UiDropdownMenuItem
|
|
166
166
|
v-for="version in versions"
|
|
167
167
|
:key="version.to"
|
|
168
|
-
|
|
168
|
+
@select="navigateTo(pathIn(version))"
|
|
169
169
|
>
|
|
170
|
-
<
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
</span>
|
|
183
|
-
</NuxtLink>
|
|
170
|
+
<Icon
|
|
171
|
+
name="lucide:check"
|
|
172
|
+
class="size-3.5"
|
|
173
|
+
:class="version.label === current?.label ? '' : 'opacity-0'"
|
|
174
|
+
/>
|
|
175
|
+
<span class="font-mono text-xs">{{ version.label }}</span>
|
|
176
|
+
<span
|
|
177
|
+
v-if="caption(version)"
|
|
178
|
+
class="ml-auto text-xs text-muted-foreground"
|
|
179
|
+
>
|
|
180
|
+
{{ caption(version) }}
|
|
181
|
+
</span>
|
|
184
182
|
</UiDropdownMenuItem>
|
|
185
183
|
</UiDropdownMenuContent>
|
|
186
184
|
</UiDropdownMenu>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://www.schemastore.org/package.json",
|
|
3
3
|
"name": "@kirchdev/duxt",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.3-dev-main.38-6c6b51d",
|
|
5
5
|
"description": "Nuxt documentation layer on Content v3 — multi-repo, versioned docs from one compact source list.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"content-v3",
|