@genome-spy/app 0.80.0 → 0.81.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/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "contributors": [],
9
9
  "license": "MIT",
10
10
  "homepage": "https://genomespy.app/",
11
- "version": "0.80.0",
11
+ "version": "0.81.0",
12
12
  "main": "dist/index.js",
13
13
  "module": "dist/index.es.js",
14
14
  "type": "module",
@@ -70,7 +70,7 @@
70
70
  "@fortawesome/fontawesome-free": "^6.4.2",
71
71
  "@fortawesome/fontawesome-svg-core": "^6.4.2",
72
72
  "@fortawesome/free-solid-svg-icons": "^6.4.2",
73
- "@genome-spy/core": "^0.80.0",
73
+ "@genome-spy/core": "^0.81.0",
74
74
  "@reduxjs/toolkit": "^2.11.0",
75
75
  "d3-color": "^3.1.0",
76
76
  "idb": "^7.1.1",
@@ -83,8 +83,8 @@
83
83
  "zarrita": "^0.6.1"
84
84
  },
85
85
  "devDependencies": {
86
- "@genome-spy/app-agent": "^0.80.0",
87
- "@genome-spy/inspector": "^0.80.0"
86
+ "@genome-spy/app-agent": "^0.81.0",
87
+ "@genome-spy/inspector": "^0.81.0"
88
88
  },
89
- "gitHead": "38b2e725a09291ec7d3f28829e54cbdc6a9fea0e"
89
+ "gitHead": "66cd0d8fece2419491884786f8c6ac340e56901f"
90
90
  }
package/src/appTypes.d.ts CHANGED
@@ -6,6 +6,17 @@ export type UrlHash = Partial<BookmarkEntry>;
6
6
 
7
7
  export type AppEmbedOptions =
8
8
  import("@genome-spy/core/types/embedApi.js").EmbedOptions & {
9
+ /**
10
+ * Controls whether GenomeSpy App owns page-level state.
11
+ *
12
+ * Use `"embedded"` when App is one component in a larger web page.
13
+ * Embedded instances keep the toolbar's local interaction controls but
14
+ * do not use bookmarks or the browser URL for state persistence.
15
+ *
16
+ * __Default value:__ `"standalone"`
17
+ */
18
+ embedMode?: "standalone" | "embedded";
19
+
9
20
  plugins?: AppPlugin[];
10
21
  };
11
22
 
@@ -55,6 +66,7 @@ export interface AppUiRegistry extends AppUiHost, EventTarget {
55
66
  import("./utils/ui/contextMenu.js").MenuItem
56
67
  >;
57
68
  attachAppShell(appShell: HTMLElement): void;
69
+ dispose(): void;
58
70
  registerSidePanel(panel: SidePanelSpec): SidePanelHandle;
59
71
  }
60
72