@stll/workspace-ui 0.8.2 → 0.9.0
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/workspace-frame.d.ts +11 -2
- package/dist/workspace-frame.js +6 -3
- package/package.json +6 -6
|
@@ -77,7 +77,14 @@ type WorkspaceFrameProps = {
|
|
|
77
77
|
composition: "described";
|
|
78
78
|
navigation: WorkspaceFrameNavigation;
|
|
79
79
|
topBar: WorkspaceFrameTopBar;
|
|
80
|
-
|
|
80
|
+
/**
|
|
81
|
+
* The permanent inline-end rail. Omitting it alongside `inspector`
|
|
82
|
+
* mounts no end dock at all: no rail, none of its 48px inline-end
|
|
83
|
+
* reservation, and the content area extends to the frame's edge. With
|
|
84
|
+
* an `inspector` but no rail, the dock keeps the full pane width and
|
|
85
|
+
* has no rail to collapse to.
|
|
86
|
+
*/
|
|
87
|
+
endRail?: WorkspaceFrameEndRail;
|
|
81
88
|
inspector?: WorkspaceFrameInspector;
|
|
82
89
|
} | {
|
|
83
90
|
composition: "host-responsive";
|
|
@@ -93,7 +100,9 @@ type WorkspaceFrameTopBar = {
|
|
|
93
100
|
/**
|
|
94
101
|
* Stella's complete workspace frame. Hosts provide route descriptors and
|
|
95
102
|
* actions; this component owns the shell, application rail, end rail, and
|
|
96
|
-
* desktop inspector footprint.
|
|
103
|
+
* desktop inspector footprint. A `described` host with nothing for the
|
|
104
|
+
* inline-end edge omits both `endRail` and `inspector`, and the frame mounts
|
|
105
|
+
* no end dock at all.
|
|
97
106
|
*
|
|
98
107
|
* The two compositions mount different navigation primitives. `described`
|
|
99
108
|
* renders `navigation.items` through the narrower `ApplicationRail` from
|
package/dist/workspace-frame.js
CHANGED
|
@@ -16,7 +16,9 @@ import { WorkspaceEndRail, WorkspaceShell } from "@stll/ui/workspace-shell";
|
|
|
16
16
|
/**
|
|
17
17
|
* Stella's complete workspace frame. Hosts provide route descriptors and
|
|
18
18
|
* actions; this component owns the shell, application rail, end rail, and
|
|
19
|
-
* desktop inspector footprint.
|
|
19
|
+
* desktop inspector footprint. A `described` host with nothing for the
|
|
20
|
+
* inline-end edge omits both `endRail` and `inspector`, and the frame mounts
|
|
21
|
+
* no end dock at all.
|
|
20
22
|
*
|
|
21
23
|
* The two compositions mount different navigation primitives. `described`
|
|
22
24
|
* renders `navigation.items` through the narrower `ApplicationRail` from
|
|
@@ -47,15 +49,16 @@ const DescribedWorkspaceFrame = ({ children, endRail, inspector, navigation, top
|
|
|
47
49
|
navigation,
|
|
48
50
|
sidebar: navigation.sidebar
|
|
49
51
|
});
|
|
52
|
+
const rail = endRail === void 0 ? void 0 : /* @__PURE__ */ jsx(WorkspaceEndRail, { ...endRail });
|
|
50
53
|
const endDock = inspector && inspectorPresentation === "desktop" ? /* @__PURE__ */ jsx(InspectorDock, {
|
|
51
|
-
rail
|
|
54
|
+
rail,
|
|
52
55
|
resizeHandleLabel: inspector.resizeHandleLabel,
|
|
53
56
|
resizeHandleProps: inspector.resizeHandleProps,
|
|
54
57
|
showPaneContent: inspector.showPaneContent,
|
|
55
58
|
width: inspector.width,
|
|
56
59
|
onResetWidth: inspector.onResetWidth,
|
|
57
60
|
children: inspector.pane
|
|
58
|
-
}) :
|
|
61
|
+
}) : rail;
|
|
59
62
|
const shell = /* @__PURE__ */ jsx(WorkspaceShell, {
|
|
60
63
|
endDock,
|
|
61
64
|
navigation: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/workspace-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Reusable workspace presentation components and view helpers for Stella.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"calculations",
|
|
@@ -119,14 +119,14 @@
|
|
|
119
119
|
"@stll/calculations": "^0.1.0",
|
|
120
120
|
"@stll/conditions": "^0.3.0",
|
|
121
121
|
"@stll/money": "^0.1.0",
|
|
122
|
-
"@stll/ui": "^0.
|
|
122
|
+
"@stll/ui": "^0.24.0",
|
|
123
123
|
"better-result": "3.0.0",
|
|
124
124
|
"lucide-react": "1.30.0",
|
|
125
125
|
"use-intl": "4.13.5"
|
|
126
126
|
},
|
|
127
127
|
"devDependencies": {
|
|
128
|
-
"@atlaskit/pragmatic-drag-and-drop": "^3.
|
|
129
|
-
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^2.
|
|
128
|
+
"@atlaskit/pragmatic-drag-and-drop": "^3.1.0",
|
|
129
|
+
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^2.2.0",
|
|
130
130
|
"@base-ui/react": "1.7.0",
|
|
131
131
|
"@stll/property-testing": "0.0.0",
|
|
132
132
|
"@stll/typescript-config": "0.0.0",
|
|
@@ -141,8 +141,8 @@
|
|
|
141
141
|
"tsdown": "0.22.14"
|
|
142
142
|
},
|
|
143
143
|
"peerDependencies": {
|
|
144
|
-
"@atlaskit/pragmatic-drag-and-drop": "^3.
|
|
145
|
-
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^2.
|
|
144
|
+
"@atlaskit/pragmatic-drag-and-drop": "^3.1.0",
|
|
145
|
+
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^2.2.0",
|
|
146
146
|
"@base-ui/react": "^1.7.0",
|
|
147
147
|
"@tanstack/react-table": "^9.1.2",
|
|
148
148
|
"react": ">=19",
|