@tutti-os/workbench-surface 0.0.97 → 0.0.99
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 +2 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -662,6 +662,8 @@ interface WorkbenchHostNodeBodyContext<TExternalNodeState = unknown, TExternalWo
|
|
|
662
662
|
instanceId: string;
|
|
663
663
|
instanceKey?: string | null;
|
|
664
664
|
isFocused: boolean;
|
|
665
|
+
/** Current host presentation mode; null for the normal window layout. */
|
|
666
|
+
presentationMode?: WorkbenchSurfacePresentation["mode"] | null;
|
|
665
667
|
node: WorkbenchNode<WorkbenchHostNodeData>;
|
|
666
668
|
previewViewport?: WorkbenchSize;
|
|
667
669
|
setNodeRuntimeState(state: unknown): void;
|
package/dist/index.js
CHANGED
|
@@ -13127,6 +13127,7 @@ function createWorkbenchHostNodeBodyContext({
|
|
|
13127
13127
|
instanceId: context.node.data.instanceId,
|
|
13128
13128
|
instanceKey: context.node.data.instanceKey ?? null,
|
|
13129
13129
|
isFocused: selectFocusedWorkbenchNode(host.getSnapshot())?.id === context.node.id,
|
|
13130
|
+
presentationMode: context.layout.presentation?.mode ?? null,
|
|
13130
13131
|
node: context.node,
|
|
13131
13132
|
setNodeRuntimeState(state) {
|
|
13132
13133
|
host.setNodeRuntimeState(context.node.id, state);
|