-
+
diff --git a/packages/vite-task/src/app/components/TaskGraphView.vue b/packages/vite-task/src/app/components/TaskGraphView.vue
index 8a67940ff..05c3b7c0b 100644
--- a/packages/vite-task/src/app/components/TaskGraphView.vue
+++ b/packages/vite-task/src/app/components/TaskGraphView.vue
@@ -13,7 +13,7 @@ const props = defineProps<{
selected: string
disabled?: boolean
}>()
-defineEmits<{ select: [id: string] }>()
+defineEmits<{ select: [id: string, button: HTMLButtonElement] }>()
const taskNodes = computed(() => Object.entries(props.graph.tasks).map(([id, task]) => ({
id,
@@ -114,7 +114,7 @@ createModuleGraph({
class="w-full min-w-0 flex items-center gap1 text-sm text-left font-mono"
:class="{ 'color-active': selected === node.data.module.id, 'op-fade': !matched.has(node.data.module.id) }"
:title="node.data.module.id" :disabled="disabled" :aria-pressed="selected === node.data.module.id"
- @click="$emit('select', node.data.module.id)"
+ @click="$emit('select', node.data.module.id, $event.currentTarget as HTMLButtonElement)"
>
/
diff --git a/packages/vite-task/src/app/components/TaskRelationMenu.vue b/packages/vite-task/src/app/components/TaskRelationMenu.vue
index 12915edd4..d90816f6d 100644
--- a/packages/vite-task/src/app/components/TaskRelationMenu.vue
+++ b/packages/vite-task/src/app/components/TaskRelationMenu.vue
@@ -1,7 +1,8 @@
-
+
+
-
-
+
@@ -280,7 +310,7 @@ onMounted(refresh)
{{ group.tasks.length }}
-
+
{{ task.name }}
{{ task.dependsOn.length }}
@@ -292,12 +322,12 @@ onMounted(refresh)
-
+
{{ view === 'graph' ? Object.keys(visibleGraph?.tasks || {}).length : matchedTasks.length }} of {{ taskEntries.length }} ยท {{ intermediateTaskCount }} bridges
-
+
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 975afe538..d2769ba5b 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -397,6 +397,9 @@ catalogs:
floating-vue:
specifier: ^5.4.0
version: 5.4.0
+ focus-trap:
+ specifier: ^8.2.4
+ version: 8.2.4
fuse.js:
specifier: ^7.5.0
version: 7.5.0
@@ -1452,6 +1455,9 @@ importers:
floating-vue:
specifier: catalog:frontend
version: 5.4.0(@nuxt/kit@4.7.1(@nuxt/schema@4.7.1)(confbox@0.3.2)(dotenv@17.4.2)(giget@3.3.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.153.0)(rolldown@1.3.4)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.3.4)(rollup@4.68.8)(vite@8.4.0(@types/node@26.5.1)(@vitejs/devtools@packages+core)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(webpack@5.111.0(cssnano@9.9.0(postcss@8.5.33))(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))))(vue@3.5.46(typescript@6.0.3))
+ focus-trap:
+ specifier: catalog:frontend
+ version: 8.2.4
nuxt:
specifier: ^4.7.1
version: 4.7.1(419c5759a982dbb9473ad57708940d88)
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index f321d796a..18d9887ed 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -180,6 +180,7 @@ catalogs:
diff-match-patch-es: ^2.0.1
dompurify: ^3.5.0
floating-vue: ^5.4.0
+ focus-trap: ^8.2.4
fuse.js: ^7.5.0
idb-keyval: ^6.3.0
iframe-pane: ^1.1.0