@tutti-os/workbench-surface 0.0.49 → 0.0.50
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 +4 -0
- package/dist/index.js +309 -26
- package/dist/index.js.map +1 -1
- package/dist/styles/workbench.css +7 -7
- package/dist/styles/workbenchStyle.test.ts +4 -0
- package/package.json +5 -5
|
@@ -1857,17 +1857,17 @@
|
|
|
1857
1857
|
z-index: var(--workbench-z-dock-tooltip);
|
|
1858
1858
|
box-sizing: border-box;
|
|
1859
1859
|
width: max-content;
|
|
1860
|
-
max-width: min(
|
|
1860
|
+
max-width: min(180px, calc(100vw - 32px));
|
|
1861
1861
|
overflow: hidden;
|
|
1862
|
-
padding: 7px
|
|
1862
|
+
padding: 4px 7px;
|
|
1863
1863
|
border: 1px solid var(--border-1);
|
|
1864
|
-
border-radius:
|
|
1864
|
+
border-radius: 6px;
|
|
1865
1865
|
background: var(--background-fronted);
|
|
1866
|
-
box-shadow: 0
|
|
1866
|
+
box-shadow: 0 8px 20px var(--shadow-elevated);
|
|
1867
1867
|
color: var(--text-primary);
|
|
1868
|
-
font-size:
|
|
1869
|
-
font-weight:
|
|
1870
|
-
line-height:
|
|
1868
|
+
font-size: 11px;
|
|
1869
|
+
font-weight: 600;
|
|
1870
|
+
line-height: 14px;
|
|
1871
1871
|
opacity: 1;
|
|
1872
1872
|
pointer-events: none;
|
|
1873
1873
|
text-overflow: ellipsis;
|
|
@@ -339,6 +339,10 @@ test("dock overflow keeps scroll controls viewport-bound", () => {
|
|
|
339
339
|
css,
|
|
340
340
|
/\.desktop-dock__label-tooltip\s*{[^}]*width:\s*max-content;[^}]*overflow:\s*hidden;[^}]*text-overflow:\s*ellipsis;[^}]*white-space:\s*nowrap;/s
|
|
341
341
|
);
|
|
342
|
+
assert.match(
|
|
343
|
+
css,
|
|
344
|
+
/\.desktop-dock__label-tooltip\s*{[^}]*max-width:\s*min\(180px, calc\(100vw - 32px\)\);[^}]*padding:\s*4px 7px;[^}]*border-radius:\s*6px;[^}]*font-size:\s*11px;[^}]*line-height:\s*14px;/s
|
|
345
|
+
);
|
|
342
346
|
assert.match(
|
|
343
347
|
css,
|
|
344
348
|
/\.desktop-dock__label-tooltip\[data-dock-placement="left"\]\s*{[^}]*left:\s*calc\(\s*var\(--desktop-dock-label-tooltip-anchor-left\)\s*\+\s*var\(--desktop-dock-label-tooltip-anchor-width\)\s*\+\s*var\(--desktop-dock-tooltip-gap, 32px\)\s*\);/s
|
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.50",
|
|
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.
|
|
38
|
-
"@tutti-os/ui-react-hooks": "0.0.
|
|
39
|
-
"@tutti-os/workbench-snapshot": "0.0.
|
|
40
|
-
"@tutti-os/ui-system": "0.0.
|
|
37
|
+
"@tutti-os/ui-i18n-runtime": "0.0.50",
|
|
38
|
+
"@tutti-os/ui-react-hooks": "0.0.50",
|
|
39
|
+
"@tutti-os/workbench-snapshot": "0.0.50",
|
|
40
|
+
"@tutti-os/ui-system": "0.0.50"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": "^19.1.0",
|