@tutti-os/workbench-surface 0.0.37 → 0.0.39

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.
@@ -81,6 +81,17 @@
81
81
  z-index: 1;
82
82
  }
83
83
 
84
+ .workbench-node-layer--dialog-popover {
85
+ position: fixed;
86
+ z-index: var(--z-dialog-popover);
87
+ pointer-events: none;
88
+ }
89
+
90
+ .workbench-node-layer--dialog-popover[data-workbench-interactive="true"]
91
+ .workbench-window-shell[data-minimized-mount="visible"][data-genie-state="visible"] {
92
+ pointer-events: auto;
93
+ }
94
+
84
95
  .workbench-surface[data-workbench-interactive="false"] .workbench-node-layer {
85
96
  pointer-events: none;
86
97
  }
@@ -21,6 +21,19 @@ test("mission control hidden presentation windows are invisible and inert", () =
21
21
  );
22
22
  });
23
23
 
24
+ test("dialog popover node layer sits above dialog overlays and remains clickable", () => {
25
+ const css = readFileSync(resolve("src/styles/workbench.css"), "utf8");
26
+
27
+ assert.match(
28
+ css,
29
+ /\.workbench-node-layer--dialog-popover\s*{[^}]*position:\s*fixed;[^}]*z-index:\s*var\(--z-dialog-popover\);[^}]*pointer-events:\s*none;/s
30
+ );
31
+ assert.match(
32
+ css,
33
+ /\.workbench-node-layer--dialog-popover\[data-workbench-interactive="true"\]\s+\.workbench-window-shell\[data-minimized-mount="visible"\]\[data-genie-state="visible"\]\s*{[^}]*pointer-events:\s*auto;/s
34
+ );
35
+ });
36
+
24
37
  test("dock retained entry removal animates width and icon exit", () => {
25
38
  const css = readFileSync(resolve("src/styles/workbench.css"), "utf8");
26
39
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tutti-os/workbench-surface",
3
- "version": "0.0.37",
3
+ "version": "0.0.39",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -34,10 +34,10 @@
34
34
  "@tutti-os/config-tsconfig": "0.0.0"
35
35
  },
36
36
  "dependencies": {
37
- "@tutti-os/ui-i18n-runtime": "0.0.37",
38
- "@tutti-os/ui-react-hooks": "0.0.37",
39
- "@tutti-os/workbench-snapshot": "0.0.37",
40
- "@tutti-os/ui-system": "0.0.37"
37
+ "@tutti-os/ui-i18n-runtime": "0.0.39",
38
+ "@tutti-os/ui-react-hooks": "0.0.39",
39
+ "@tutti-os/workbench-snapshot": "0.0.39",
40
+ "@tutti-os/ui-system": "0.0.39"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": "^19.1.0",