@theia/plugin 1.27.0-next.22 → 1.27.0-next.23

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/package.json +2 -2
  2. package/src/theia.d.ts +16 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/plugin",
3
- "version": "1.27.0-next.22+b2e44a9367b",
3
+ "version": "1.27.0-next.23+039811643e5",
4
4
  "description": "Theia - Plugin API",
5
5
  "types": "./src/theia.d.ts",
6
6
  "publishConfig": {
@@ -32,5 +32,5 @@
32
32
  "nyc": {
33
33
  "extends": "../../configs/nyc.json"
34
34
  },
35
- "gitHead": "b2e44a9367b1d9c9b1a0977edf57deab3cc50759"
35
+ "gitHead": "039811643e59d31447c303fb69c05fdf4774698a"
36
36
  }
package/src/theia.d.ts CHANGED
@@ -2652,7 +2652,22 @@ export module '@theia/plugin' {
2652
2652
  */
2653
2653
  static readonly Folder: ThemeIcon;
2654
2654
 
2655
- private constructor(public id: string);
2655
+ /**
2656
+ * The id of the icon. The available icons are listed in https://code.visualstudio.com/api/references/icons-in-labels#icon-listing.
2657
+ */
2658
+ readonly id: string;
2659
+
2660
+ /**
2661
+ * The optional ThemeColor of the icon. The color is currently only used in {@link TreeItem}.
2662
+ */
2663
+ readonly color?: ThemeColor | undefined;
2664
+
2665
+ /**
2666
+ * Creates a reference to a theme icon.
2667
+ * @param id id of the icon. The available icons are listed in https://code.visualstudio.com/api/references/icons-in-labels#icon-listing.
2668
+ * @param color optional `ThemeColor` for the icon. The color is currently only used in {@link TreeItem}.
2669
+ */
2670
+ private constructor(public id: string, public color?: ThemeColor);
2656
2671
  }
2657
2672
 
2658
2673
  /**