@tutti-os/workbench-surface 0.0.201 → 0.0.202
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.
- package/dist/index.d.ts +11 -2
- package/dist/index.js +36 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/workbench.css +6 -12
- package/dist/styles/workbench.test.ts +14 -0
- package/package.json +5 -5
|
@@ -192,10 +192,6 @@
|
|
|
192
192
|
box-shadow 0.16s ease;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
.workbench-window:has([data-workbench-custom-header-layout="browser-tabs"]) {
|
|
196
|
-
--workbench-header-height: 76px;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
195
|
.workbench-window[data-display-mode="floating"] {
|
|
200
196
|
background: var(--background-panel);
|
|
201
197
|
}
|
|
@@ -229,15 +225,13 @@
|
|
|
229
225
|
user-select: auto;
|
|
230
226
|
}
|
|
231
227
|
|
|
232
|
-
.workbench-
|
|
233
|
-
|
|
234
|
-
) {
|
|
228
|
+
.workbench-window[data-window-header-overflow="visible"]
|
|
229
|
+
> .workbench-window__header--custom {
|
|
235
230
|
overflow: visible;
|
|
236
231
|
}
|
|
237
232
|
|
|
238
|
-
.workbench-
|
|
239
|
-
|
|
240
|
-
) {
|
|
233
|
+
.workbench-window[data-window-header-border="none"]
|
|
234
|
+
> .workbench-window__header--custom {
|
|
241
235
|
border-bottom-color: transparent;
|
|
242
236
|
}
|
|
243
237
|
|
|
@@ -786,7 +780,7 @@
|
|
|
786
780
|
}
|
|
787
781
|
|
|
788
782
|
[data-dock-placement="left"] > .desktop-dock-plate,
|
|
789
|
-
.desktop-dock-plate
|
|
783
|
+
.desktop-dock-plate[data-dock-placement="left"] {
|
|
790
784
|
width: auto;
|
|
791
785
|
height: var(--desktop-dock-frame-size, auto);
|
|
792
786
|
max-width: none;
|
|
@@ -841,7 +835,7 @@
|
|
|
841
835
|
transition: none;
|
|
842
836
|
}
|
|
843
837
|
|
|
844
|
-
.desktop-dock-plate
|
|
838
|
+
.desktop-dock-plate[data-dock-pointer-active="true"] {
|
|
845
839
|
transition: none;
|
|
846
840
|
}
|
|
847
841
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import assert from "node:assert/strict";
|
|
2
|
+
import { readFileSync } from "node:fs";
|
|
3
|
+
import test from "node:test";
|
|
4
|
+
|
|
5
|
+
const css = readFileSync(new URL("./workbench.css", import.meta.url), "utf8");
|
|
6
|
+
|
|
7
|
+
test("workbench structural selectors use explicit subject state", () => {
|
|
8
|
+
assert.doesNotMatch(css, /:has\(/);
|
|
9
|
+
assert.match(
|
|
10
|
+
css,
|
|
11
|
+
/\.workbench-window\[data-window-header-overflow="visible"\]/
|
|
12
|
+
);
|
|
13
|
+
assert.match(css, /\.desktop-dock-plate\[data-dock-pointer-active="true"\]/);
|
|
14
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tutti-os/workbench-surface",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.202",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"@tutti-os/config-tsconfig": "0.0.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@tutti-os/ui-i18n-runtime": "0.0.
|
|
40
|
-
"@tutti-os/ui-react-hooks": "0.0.
|
|
41
|
-
"@tutti-os/workbench-snapshot": "0.0.
|
|
42
|
-
"@tutti-os/ui-system": "0.0.
|
|
39
|
+
"@tutti-os/ui-i18n-runtime": "0.0.202",
|
|
40
|
+
"@tutti-os/ui-react-hooks": "0.0.202",
|
|
41
|
+
"@tutti-os/workbench-snapshot": "0.0.202",
|
|
42
|
+
"@tutti-os/ui-system": "0.0.202"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": "^19.1.0",
|