@todesktop/shared 7.85.0 → 7.88.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 +5 -0
- package/package.json +1 -1
- package/src/desktopify2.ts +5 -0
package/lib/desktopify2.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export interface DesktopifyMenuItemConstructorOptions extends Omit<MenuItemConst
|
|
|
10
10
|
platforms?: NodeJS.Platform[];
|
|
11
11
|
submenu?: DesktopifyMenuItemConstructorOptions[];
|
|
12
12
|
role?: MenuItemConstructorOptions["role"] | todesktopRoles;
|
|
13
|
+
useSystemLabel?: boolean;
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
15
16
|
* Toggle Window Tray Action
|
|
@@ -132,6 +133,10 @@ export interface DesktopifyAppWindow {
|
|
|
132
133
|
* Does the window have a maximum height. Default is `false`
|
|
133
134
|
*/
|
|
134
135
|
hasMaxHeight: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Don't allow tabs in window (macOS only)
|
|
138
|
+
*/
|
|
139
|
+
disableTabs: boolean;
|
|
135
140
|
/**
|
|
136
141
|
* BrowserWindow Constructor Options
|
|
137
142
|
*/
|
package/package.json
CHANGED
package/src/desktopify2.ts
CHANGED
|
@@ -27,6 +27,7 @@ export interface DesktopifyMenuItemConstructorOptions
|
|
|
27
27
|
platforms?: NodeJS.Platform[];
|
|
28
28
|
submenu?: DesktopifyMenuItemConstructorOptions[];
|
|
29
29
|
role?: MenuItemConstructorOptions["role"] | todesktopRoles;
|
|
30
|
+
useSystemLabel?: boolean;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
/**
|
|
@@ -234,6 +235,10 @@ export interface DesktopifyAppWindow {
|
|
|
234
235
|
* Does the window have a maximum height. Default is `false`
|
|
235
236
|
*/
|
|
236
237
|
hasMaxHeight: boolean;
|
|
238
|
+
/**
|
|
239
|
+
* Don't allow tabs in window (macOS only)
|
|
240
|
+
*/
|
|
241
|
+
disableTabs: boolean;
|
|
237
242
|
/**
|
|
238
243
|
* BrowserWindow Constructor Options
|
|
239
244
|
*/
|