@hudhod/sdk 0.2.0 → 1.0.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/index.d.ts +3 -12
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -671,8 +671,6 @@ interface RegisterPanelOptions {
|
|
|
671
671
|
interface RegisterViewOptions {
|
|
672
672
|
/** Header title declared by the view contribution. */
|
|
673
673
|
readonly title: string;
|
|
674
|
-
/** Initial width in pixels for the view's host panel. */
|
|
675
|
-
readonly initialWidth?: number;
|
|
676
674
|
}
|
|
677
675
|
/**
|
|
678
676
|
* Renders a contributed panel's content into a host-provided element.
|
|
@@ -938,18 +936,11 @@ interface PanelContribution {
|
|
|
938
936
|
* @defaultValue "bottom"
|
|
939
937
|
*/
|
|
940
938
|
readonly location?: "left" | "right" | "bottom" | "center";
|
|
939
|
+
/** Initial width in pixels, for `left` and `right` panels. */
|
|
940
|
+
readonly initialWidth?: number;
|
|
941
941
|
}
|
|
942
942
|
/** An activity-bar container that can hold one or more contributed views. */
|
|
943
|
-
interface ViewContainerContribution {
|
|
944
|
-
/** Unique identifier, matching the id passed to `registerPanel`. */
|
|
945
|
-
readonly id: string;
|
|
946
|
-
/** Tab title. */
|
|
947
|
-
readonly title: string;
|
|
948
|
-
/** Opaque to the SDK; the host application defines what a valid icon value is. */
|
|
949
|
-
readonly icon?: unknown;
|
|
950
|
-
/** Preferred dock location. */
|
|
951
|
-
readonly location?: "left" | "right" | "bottom" | "center";
|
|
952
|
-
}
|
|
943
|
+
interface ViewContainerContribution extends PanelContribution {}
|
|
953
944
|
/** A collapsible body section contributed to a view container. */
|
|
954
945
|
interface ViewContribution {
|
|
955
946
|
/** Unique identifier, matching the id passed to `registerView`. */
|