@cat-factory/app 0.30.5 → 0.30.6

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.
@@ -44,6 +44,11 @@ useTaskExpansion(boardEl)
44
44
  // moving one never shifts another. The frame being dragged is lifted to the top,
45
45
  // then the hovered frame (the un-obscured one under the pointer), so overlapping
46
46
  // services can always be reached and reordered. See useFrameStacking.
47
+ //
48
+ // `elevate-nodes-on-select` is turned OFF on <VueFlow> for this to work: Vue Flow's
49
+ // default adds +1000 to a selected node's z-index, so a frame stayed pinned on top
50
+ // after a click and no amount of hovering another frame could surface it. Stacking
51
+ // is driven purely by hover/drag here; the selection highlight is the ring, not z.
47
52
  function frameZIndex(id: string) {
48
53
  if (draggingId.value === id) return 1000
49
54
  if (hoveredFrameId.value === id) return 100
@@ -163,6 +168,7 @@ async function onDrop(event: DragEvent) {
163
168
  :max-zoom="3"
164
169
  :default-viewport="{ x: 40, y: 20, zoom: 0.85 }"
165
170
  :pan-on-drag="[0, 2]"
171
+ :elevate-nodes-on-select="false"
166
172
  fit-view-on-init
167
173
  @node-click="onNodeClick"
168
174
  @node-double-click="onNodeDoubleClick"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/app",
3
- "version": "0.30.5",
3
+ "version": "0.30.6",
4
4
  "description": "Reusable Nuxt layer for the Agent Architecture Board SPA (components, stores, composables, pages). Consume it from a thin deployment app via `extends: ['@cat-factory/app']` and point it at your backend with NUXT_PUBLIC_API_BASE. See deploy/frontend for an example.",
5
5
  "repository": {
6
6
  "type": "git",