electron-types 45.0.0-beta.1 → 45.0.0-beta.2

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/README.md CHANGED
@@ -14,11 +14,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
14
14
  Since this package only provides TypeScript types, install it as a dev dependency. **Install the version that matches your Electron version** (see [Version Matching](#version-matching)):
15
15
 
16
16
  ```bash
17
- npm install -D electron-types@45.0.0-beta.1
17
+ npm install -D electron-types@45.0.0-beta.2
18
18
  # or
19
- yarn add -D electron-types@45.0.0-beta.1
19
+ yarn add -D electron-types@45.0.0-beta.2
20
20
  # or
21
- pnpm add -D electron-types@45.0.0-beta.1
21
+ pnpm add -D electron-types@45.0.0-beta.2
22
22
  ```
23
23
 
24
24
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 45.0.0-beta.1
1
+ // Type definitions for Electron 45.0.0-beta.2
2
2
  // Project: http://electronjs.org/
3
3
  // Definitions by: The Electron Team <https://github.com/electron/electron>
4
4
  // Definitions: https://github.com/electron/typescript-definitions
@@ -9802,6 +9802,10 @@ declare namespace Electron {
9802
9802
  * Sets `menu` as the application menu on macOS. On Windows and Linux, the `menu`
9803
9803
  * will be set as each window's top menu.
9804
9804
  *
9805
+ * On Linux, the menu bar uses GTK theme colors when GTK is available. If GTK
9806
+ * cannot initialize, it uses Chromium's built-in light or dark menu colors,
9807
+ * following `nativeTheme.shouldUseDarkColors`.
9808
+ *
9805
9809
  * Also on Windows and Linux, you can use a `&` in the top-level item name to
9806
9810
  * indicate which letter should get a generated accelerator. For example, using
9807
9811
  * `&File` for the file menu would result in a generated `Alt-F` accelerator that
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "45.0.0-beta.1",
3
- "extractedAt": "2026-10-09T02:27:15.882Z"
2
+ "electronVersion": "45.0.0-beta.2",
3
+ "extractedAt": "2026-10-13T02:31:27.267Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "45.0.0-beta.1",
3
+ "version": "45.0.0-beta.2",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",