@todesktop/shared 7.131.0 → 7.133.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/lib/desktopify2.d.ts +2 -1
- package/package.json +1 -1
- package/src/desktopify2.ts +2 -1
package/lib/desktopify2.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export interface DesktopifyMenuItemConstructorOptions extends Omit<MenuItemConst
|
|
|
40
40
|
bundledIcon?: string;
|
|
41
41
|
iconAssetDetails?: MenuIconAssetDetails;
|
|
42
42
|
useTemplateImage?: boolean;
|
|
43
|
+
acceleratorBehaviour?: "none" | "default" | "custom";
|
|
43
44
|
}
|
|
44
45
|
/**
|
|
45
46
|
* Toggle Window Tray Action
|
|
@@ -120,7 +121,7 @@ export interface DesktopifyAppWindow {
|
|
|
120
121
|
/**
|
|
121
122
|
* The type of window
|
|
122
123
|
*/
|
|
123
|
-
type: "menubar" | "app";
|
|
124
|
+
type: "menubar" | "app" | "panel";
|
|
124
125
|
/**
|
|
125
126
|
* Keyboard shortcut to toggle window visibility
|
|
126
127
|
*/
|
package/package.json
CHANGED
package/src/desktopify2.ts
CHANGED
|
@@ -71,6 +71,7 @@ export interface DesktopifyMenuItemConstructorOptions
|
|
|
71
71
|
bundledIcon?: string;
|
|
72
72
|
iconAssetDetails?: MenuIconAssetDetails;
|
|
73
73
|
useTemplateImage?: boolean;
|
|
74
|
+
acceleratorBehaviour?: "none" | "default" | "custom";
|
|
74
75
|
}
|
|
75
76
|
|
|
76
77
|
/**
|
|
@@ -236,7 +237,7 @@ export interface DesktopifyAppWindow {
|
|
|
236
237
|
/**
|
|
237
238
|
* The type of window
|
|
238
239
|
*/
|
|
239
|
-
type: "menubar" | "app";
|
|
240
|
+
type: "menubar" | "app" | "panel";
|
|
240
241
|
/**
|
|
241
242
|
* Keyboard shortcut to toggle window visibility
|
|
242
243
|
*/
|