@adecore/ui 0.50.1 → 0.50.2
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/theme.css +4 -1
- package/dist/workspace/Workspace.js +1 -1
- package/package.json +1 -1
- package/src/theme.css +4 -1
- package/src/workspace/Workspace.tsx +2 -2
package/dist/theme.css
CHANGED
|
@@ -842,7 +842,8 @@
|
|
|
842
842
|
min-width: 0;
|
|
843
843
|
min-height: 0;
|
|
844
844
|
overflow: hidden;
|
|
845
|
-
|
|
845
|
+
/* Rounded where it meets the window's top, square where it stands on the window's bottom. */
|
|
846
|
+
border-radius: 0 12px 0 0;
|
|
846
847
|
/* The surface its regions draw, so no lighter ground shows where the rounded edge cuts them. Roomy shows its gaps in it. */
|
|
847
848
|
background: var(--surface);
|
|
848
849
|
box-shadow: 0 0 0 1px var(--border), var(--sheet-shadow);
|
|
@@ -881,6 +882,8 @@
|
|
|
881
882
|
.ade-workspace-sidebar[data-auto], .ade-workspace-side-panel[data-auto] { display: contents; }
|
|
882
883
|
.ade-workspace[data-layout="roomy"],
|
|
883
884
|
.ade-workspace[data-layout="roomy"] > .ade-workspace-sheet { background: var(--separator); }
|
|
885
|
+
/* The gaps already set the sheet apart, and a shadow over them reads as a smudge. */
|
|
886
|
+
.ade-workspace[data-layout="roomy"] > .ade-workspace-sheet { box-shadow: 0 0 0 1px var(--border); }
|
|
884
887
|
.ade-workspace[data-layout="roomy"] > .ade-workspace-sheet > .ade-workspace-center { gap: 8px; }
|
|
885
888
|
.ade-workspace[data-layout="roomy"] > .ade-workspace-sheet > .ade-workspace-sidebar:not([data-auto]) { margin-right: 8px; }
|
|
886
889
|
.ade-workspace[data-layout="roomy"] > .ade-workspace-side-panel:not([data-auto]) { margin-left: 8px; }
|
package/package.json
CHANGED
package/src/theme.css
CHANGED
|
@@ -842,7 +842,8 @@
|
|
|
842
842
|
min-width: 0;
|
|
843
843
|
min-height: 0;
|
|
844
844
|
overflow: hidden;
|
|
845
|
-
|
|
845
|
+
/* Rounded where it meets the window's top, square where it stands on the window's bottom. */
|
|
846
|
+
border-radius: 0 12px 0 0;
|
|
846
847
|
/* The surface its regions draw, so no lighter ground shows where the rounded edge cuts them. Roomy shows its gaps in it. */
|
|
847
848
|
background: var(--surface);
|
|
848
849
|
box-shadow: 0 0 0 1px var(--border), var(--sheet-shadow);
|
|
@@ -881,6 +882,8 @@
|
|
|
881
882
|
.ade-workspace-sidebar[data-auto], .ade-workspace-side-panel[data-auto] { display: contents; }
|
|
882
883
|
.ade-workspace[data-layout="roomy"],
|
|
883
884
|
.ade-workspace[data-layout="roomy"] > .ade-workspace-sheet { background: var(--separator); }
|
|
885
|
+
/* The gaps already set the sheet apart, and a shadow over them reads as a smudge. */
|
|
886
|
+
.ade-workspace[data-layout="roomy"] > .ade-workspace-sheet { box-shadow: 0 0 0 1px var(--border); }
|
|
884
887
|
.ade-workspace[data-layout="roomy"] > .ade-workspace-sheet > .ade-workspace-center { gap: 8px; }
|
|
885
888
|
.ade-workspace[data-layout="roomy"] > .ade-workspace-sheet > .ade-workspace-sidebar:not([data-auto]) { margin-right: 8px; }
|
|
886
889
|
.ade-workspace[data-layout="roomy"] > .ade-workspace-side-panel:not([data-auto]) { margin-left: 8px; }
|
|
@@ -85,8 +85,8 @@ export function Workspace({
|
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
|
|
88
|
-
// The
|
|
89
|
-
const context = { layout, edges: { top: !hasToolbar, right:
|
|
88
|
+
// The sheet's right edge is rounded, so panes along it keep their corners, whatever stands beside the sheet.
|
|
89
|
+
const context = { layout, edges: { top: !hasToolbar, right: false, bottom: true, left: !leftOpen } };
|
|
90
90
|
|
|
91
91
|
return (
|
|
92
92
|
<WorkspaceContext value={context}>
|