@kirchdev/duxt 0.3.2 → 0.3.3

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.
@@ -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
- as-child
168
+ @select="navigateTo(pathIn(version))"
169
169
  >
170
- <NuxtLink :to="pathIn(version)" class="flex items-center gap-2">
171
- <Icon
172
- name="lucide:check"
173
- class="size-3.5"
174
- :class="version.label === current?.label ? '' : 'opacity-0'"
175
- />
176
- <span class="font-mono text-xs">{{ version.label }}</span>
177
- <span
178
- v-if="caption(version)"
179
- class="ml-auto text-xs text-muted-foreground"
180
- >
181
- {{ caption(version) }}
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.2",
4
+ "version": "0.3.3",
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",