@tutti-os/workbench-surface 0.0.43 → 0.0.44

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.
@@ -533,6 +533,7 @@
533
533
  }
534
534
 
535
535
  .workbench-mission-control {
536
+ z-index: var(--z-tooltip, 100700);
536
537
  opacity: 1;
537
538
  }
538
539
 
@@ -607,6 +608,7 @@
607
608
  100%
608
609
  );
609
610
  box-shadow: none;
611
+ pointer-events: auto;
610
612
  transition:
611
613
  width 180ms cubic-bezier(0.22, 1, 0.36, 1),
612
614
  background-color 160ms ease,
@@ -733,7 +735,7 @@
733
735
  background: transparent;
734
736
  box-shadow: none;
735
737
  overflow: visible;
736
- pointer-events: auto;
738
+ pointer-events: none;
737
739
  transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1);
738
740
  -webkit-app-region: no-drag;
739
741
  }
@@ -772,7 +774,7 @@
772
774
  background: transparent;
773
775
  box-shadow: none;
774
776
  line-height: 0;
775
- pointer-events: auto;
777
+ pointer-events: none;
776
778
  transition: width 600ms cubic-bezier(0.16, 1, 0.3, 1);
777
779
  -webkit-app-region: no-drag;
778
780
  }
@@ -827,6 +829,7 @@
827
829
  overflow: visible;
828
830
  padding: 0 var(--desktop-dock-items-padding)
829
831
  var(--desktop-dock-items-padding-block-end);
832
+ pointer-events: none;
830
833
  scroll-behavior: smooth;
831
834
  scrollbar-width: none;
832
835
  }
@@ -1114,6 +1117,7 @@
1114
1117
  justify-content: center;
1115
1118
  overflow: visible;
1116
1119
  line-height: 0;
1120
+ pointer-events: auto;
1117
1121
  }
1118
1122
 
1119
1123
  .desktop-dock[data-dock-placement="left"] .desktop-dock__slot {
@@ -50,6 +50,31 @@ test("mission control hidden presentation windows are invisible and inert", () =
50
50
  );
51
51
  });
52
52
 
53
+ test("mission control overlay lets layout controls sit above dialog overlays", () => {
54
+ const css = readFileSync(resolve("src/styles/workbench.css"), "utf8");
55
+ const source = readFileSync(
56
+ resolve("src/mission-control/WorkbenchMissionControlOverlay.tsx"),
57
+ "utf8"
58
+ );
59
+
60
+ assert.match(
61
+ css,
62
+ /\.workbench-mission-control\s*{[^}]*z-index:\s*var\(--z-tooltip,\s*100700\);/s
63
+ );
64
+ assert.match(
65
+ source,
66
+ /className="workbench-mission-control pointer-events-none absolute inset-0 overflow-hidden"/
67
+ );
68
+ assert.match(
69
+ source,
70
+ /className="workbench-mission-control__layout-dock desktop-dock-plate pointer-events-auto"/
71
+ );
72
+ assert.match(
73
+ css,
74
+ /\.desktop-dock-plate\.workbench-mission-control__layout-dock\s*{[^}]*pointer-events:\s*auto;/s
75
+ );
76
+ });
77
+
53
78
  test("dialog popover node layer sits above dialog overlays and remains clickable", () => {
54
79
  const css = readFileSync(resolve("src/styles/workbench.css"), "utf8");
55
80
 
@@ -92,6 +117,25 @@ test("dock retained entry removal animates width and icon exit", () => {
92
117
  assert.match(css, /@keyframes desktop-dock-separator-collapse-left/);
93
118
  });
94
119
 
120
+ test("dock transparent hover padding lets clicks reach windows behind it", () => {
121
+ const css = readFileSync(resolve("src/styles/workbench.css"), "utf8");
122
+
123
+ assert.match(
124
+ css,
125
+ /\.desktop-dock-plate\s*{[^}]*pointer-events:\s*none;[^}]*transition:\s*width 220ms/s
126
+ );
127
+ assert.match(
128
+ css,
129
+ /\.desktop-dock\s*{[^}]*pointer-events:\s*none;[^}]*transition:\s*width 600ms/s
130
+ );
131
+ assert.match(css, /\.desktop-dock__items\s*{[^}]*pointer-events:\s*none;/s);
132
+ assert.match(css, /\.desktop-dock__slot\s*{[^}]*pointer-events:\s*auto;/s);
133
+ assert.match(
134
+ css,
135
+ /\.desktop-dock__hover-panel\s*{[^}]*pointer-events:\s*auto;/s
136
+ );
137
+ });
138
+
95
139
  test("dock badge chrome uses inverted outlines and 11px count text", () => {
96
140
  const css = readFileSync(resolve("src/styles/workbench.css"), "utf8");
97
141
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tutti-os/workbench-surface",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
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.43",
38
- "@tutti-os/ui-react-hooks": "0.0.43",
39
- "@tutti-os/workbench-snapshot": "0.0.43",
40
- "@tutti-os/ui-system": "0.0.43"
37
+ "@tutti-os/ui-i18n-runtime": "0.0.44",
38
+ "@tutti-os/ui-react-hooks": "0.0.44",
39
+ "@tutti-os/workbench-snapshot": "0.0.44",
40
+ "@tutti-os/ui-system": "0.0.44"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": "^19.1.0",