@punica/editor 1.3.0 → 1.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punica/editor",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Punica Editor",
5
5
  "private": false,
6
6
  "type": "module",
@@ -84,6 +84,17 @@ declare module 'punica' {
84
84
  /** Hide every view host in a slot. */
85
85
  hideSlotViews(slotId: LayoutSlotId): void;
86
86
 
87
+ /**
88
+ * Collapse a slot's split pane to zero size (fully hiding the region,
89
+ * including its gutter) or expand it back to the remembered sizes.
90
+ * No-op for slots not laid out inside a `punica-split` (overlay
91
+ * drawers). Called by the shell ViewRegistry on hide/reveal.
92
+ */
93
+ setSlotCollapsed(slotId: LayoutSlotId, collapsed: boolean): void;
94
+
95
+ /** Whether a slot's split pane is currently collapsed to zero. */
96
+ isSlotCollapsed(slotId: LayoutSlotId): boolean;
97
+
87
98
  /** Remove a view host from the DOM (extension deactivation). */
88
99
  removeViewHost(slotId: LayoutSlotId, viewId: string): void;
89
100