@theia/secondary-window 1.57.1 → 1.58.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/README.md +9 -3
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -12,12 +12,18 @@
12
12
 
13
13
  ## Description
14
14
 
15
- The `@theia/secondary-window` extension contributes UI integration that allows moving widgets to secondary windows.
15
+ The `@theia/secondary-window` extension contributes the extract command and toolbar item to move extractable widgets to secondary windows.
16
+
17
+ To mark a widget to be extractable, implement the `ExtractableWidget` interface from `@theia/core`.
16
18
 
17
19
  ### Limitations
18
20
 
19
- - **The extension is currently only suitable for use in browser applications** because there are some unresolved issues with *Electron*.
20
- - Currently, only webview widgets can be moved to secondary windows.
21
+ For the extraction to work we require changes in upstream libraries.
22
+ Theia offers the `theia-patch` CLI command to apply these patches.
23
+
24
+ Recommendation: Execute `theia-patch` in the `postinstall` script of your root npm package to automatically apply the patches.
25
+
26
+ If the patches are not applied, the secondary window will show empty.
21
27
 
22
28
  ## Additional Information
23
29
 
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@theia/secondary-window",
3
- "version": "1.57.1",
3
+ "version": "1.58.0",
4
4
  "description": "Theia - Secondary Window Extension",
5
5
  "dependencies": {
6
- "@theia/core": "1.57.1",
6
+ "@theia/core": "1.58.0",
7
7
  "tslib": "^2.6.2"
8
8
  },
9
9
  "publishConfig": {
@@ -39,7 +39,7 @@
39
39
  "watch": "theiaext watch"
40
40
  },
41
41
  "devDependencies": {
42
- "@theia/ext-scripts": "1.57.1"
42
+ "@theia/ext-scripts": "1.58.0"
43
43
  },
44
- "gitHead": "6e84ac8d37bbeb45f999894e80cb92a761c1ee1e"
44
+ "gitHead": "6594f32b9727aea20d88934bf386dee06d08fa5e"
45
45
  }