@hudhod/sdk 0.1.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -10
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -936,18 +936,11 @@ interface PanelContribution {
936
936
  * @defaultValue "bottom"
937
937
  */
938
938
  readonly location?: "left" | "right" | "bottom" | "center";
939
+ /** Initial width in pixels, for `left` and `right` panels. */
940
+ readonly initialWidth?: number;
939
941
  }
940
942
  /** An activity-bar container that can hold one or more contributed views. */
941
- interface ViewContainerContribution {
942
- /** Unique identifier, matching the id passed to `registerPanel`. */
943
- readonly id: string;
944
- /** Tab title. */
945
- readonly title: string;
946
- /** Opaque to the SDK; the host application defines what a valid icon value is. */
947
- readonly icon?: unknown;
948
- /** Preferred dock location. */
949
- readonly location?: "left" | "right" | "bottom" | "center";
950
- }
943
+ interface ViewContainerContribution extends PanelContribution {}
951
944
  /** A collapsible body section contributed to a view container. */
952
945
  interface ViewContribution {
953
946
  /** Unique identifier, matching the id passed to `registerView`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hudhod/sdk",
3
- "version": "0.1.0",
3
+ "version": "1.0.0",
4
4
  "description": "Public API surface for building hudhod extensions — an in-browser IDE runtime powered by WebContainers.",
5
5
  "keywords": [
6
6
  "browser-ide",