@punica/editor 1.4.9 → 1.4.11
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
|
@@ -22,6 +22,15 @@ declare module 'punica' {
|
|
|
22
22
|
* the core can automatically show/hide the correct sidebar host.
|
|
23
23
|
*/
|
|
24
24
|
viewId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Optional content-tab `viewType` this (command-only) item opens
|
|
27
|
+
* (e.g. `settings`, `capability-catalog`). When set, the ActivityBar
|
|
28
|
+
* highlights this item's icon while that content tab is the active
|
|
29
|
+
* tab — without opening the primary sidebar drawer — and clears it
|
|
30
|
+
* when another tab takes focus. Used by full-page tools like Settings
|
|
31
|
+
* and the Capability Catalog. See `IActivityBarManager.syncContentTool`.
|
|
32
|
+
*/
|
|
33
|
+
contentViewType?: string;
|
|
25
34
|
}
|
|
26
35
|
|
|
27
36
|
interface IActivityBarManager {
|
|
@@ -34,6 +43,14 @@ declare module 'punica' {
|
|
|
34
43
|
* Passing null clears the current selection.
|
|
35
44
|
*/
|
|
36
45
|
setActiveByViewId?(viewId: string | null): void;
|
|
46
|
+
/**
|
|
47
|
+
* Sync the highlight with the active content tab. When `viewType`
|
|
48
|
+
* matches an item's `contentViewType`, that item's icon is marked
|
|
49
|
+
* active (without opening the sidebar drawer); any other value — or
|
|
50
|
+
* null — clears the content-tool highlight so the active sidebar view
|
|
51
|
+
* shows through. Called by the ContentTabs manager on tab changes.
|
|
52
|
+
*/
|
|
53
|
+
syncContentTool?(viewType: string | null): void;
|
|
37
54
|
}
|
|
38
55
|
|
|
39
56
|
export const manager: IActivityBarManager;
|