electron 18.0.0-beta.5 → 18.0.1
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/checksums.json +82 -82
- package/electron.d.ts +105 -5
- package/package.json +2 -2
package/checksums.json
CHANGED
|
@@ -1,84 +1,84 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v18.0.
|
|
3
|
-
"chromedriver-v18.0.
|
|
4
|
-
"chromedriver-v18.0.
|
|
5
|
-
"chromedriver-v18.0.
|
|
6
|
-
"chromedriver-v18.0.
|
|
7
|
-
"chromedriver-v18.0.
|
|
8
|
-
"chromedriver-v18.0.
|
|
9
|
-
"chromedriver-v18.0.
|
|
10
|
-
"chromedriver-v18.0.
|
|
11
|
-
"chromedriver-v18.0.
|
|
12
|
-
"chromedriver-v18.0.
|
|
13
|
-
"electron-api.json": "
|
|
14
|
-
"electron-v18.0.
|
|
15
|
-
"electron-v18.0.
|
|
16
|
-
"electron-v18.0.
|
|
17
|
-
"electron-v18.0.
|
|
18
|
-
"electron-v18.0.
|
|
19
|
-
"electron-v18.0.
|
|
20
|
-
"electron-v18.0.
|
|
21
|
-
"electron-v18.0.
|
|
22
|
-
"electron-v18.0.
|
|
23
|
-
"electron-v18.0.
|
|
24
|
-
"electron-v18.0.
|
|
25
|
-
"electron-v18.0.
|
|
26
|
-
"electron-v18.0.
|
|
27
|
-
"electron-v18.0.
|
|
28
|
-
"electron-v18.0.
|
|
29
|
-
"electron-v18.0.
|
|
30
|
-
"electron-v18.0.
|
|
31
|
-
"electron-v18.0.
|
|
32
|
-
"electron-v18.0.
|
|
33
|
-
"electron-v18.0.
|
|
34
|
-
"electron-v18.0.
|
|
35
|
-
"electron-v18.0.
|
|
36
|
-
"electron-v18.0.
|
|
37
|
-
"electron-v18.0.
|
|
38
|
-
"electron-v18.0.
|
|
39
|
-
"electron-v18.0.
|
|
40
|
-
"electron-v18.0.
|
|
41
|
-
"electron-v18.0.
|
|
42
|
-
"electron-v18.0.
|
|
43
|
-
"electron-v18.0.
|
|
44
|
-
"electron-v18.0.
|
|
45
|
-
"electron-v18.0.
|
|
46
|
-
"electron-v18.0.
|
|
47
|
-
"electron-v18.0.
|
|
48
|
-
"electron-v18.0.
|
|
49
|
-
"electron-v18.0.
|
|
50
|
-
"electron-v18.0.
|
|
51
|
-
"electron-v18.0.
|
|
52
|
-
"electron-v18.0.
|
|
53
|
-
"electron-v18.0.
|
|
54
|
-
"electron.d.ts": "
|
|
55
|
-
"ffmpeg-v18.0.
|
|
56
|
-
"ffmpeg-v18.0.
|
|
57
|
-
"ffmpeg-v18.0.
|
|
58
|
-
"ffmpeg-v18.0.
|
|
59
|
-
"ffmpeg-v18.0.
|
|
60
|
-
"ffmpeg-v18.0.
|
|
61
|
-
"ffmpeg-v18.0.
|
|
62
|
-
"ffmpeg-v18.0.
|
|
63
|
-
"ffmpeg-v18.0.
|
|
64
|
-
"ffmpeg-v18.0.
|
|
65
|
-
"ffmpeg-v18.0.
|
|
66
|
-
"hunspell_dictionaries.zip": "
|
|
67
|
-
"libcxx-objects-v18.0.
|
|
68
|
-
"libcxx-objects-v18.0.
|
|
69
|
-
"libcxx-objects-v18.0.
|
|
70
|
-
"libcxx-objects-v18.0.
|
|
71
|
-
"libcxx_headers.zip": "
|
|
72
|
-
"libcxxabi_headers.zip": "
|
|
73
|
-
"mksnapshot-v18.0.
|
|
74
|
-
"mksnapshot-v18.0.
|
|
75
|
-
"mksnapshot-v18.0.
|
|
76
|
-
"mksnapshot-v18.0.
|
|
77
|
-
"mksnapshot-v18.0.
|
|
78
|
-
"mksnapshot-v18.0.
|
|
79
|
-
"mksnapshot-v18.0.
|
|
80
|
-
"mksnapshot-v18.0.
|
|
81
|
-
"mksnapshot-v18.0.
|
|
82
|
-
"mksnapshot-v18.0.
|
|
83
|
-
"mksnapshot-v18.0.
|
|
2
|
+
"chromedriver-v18.0.1-darwin-arm64.zip": "c7459fc9f54e41f158ac23030e0f6bce2f6e8b354f7eae75cbc7fe5c1f60270a",
|
|
3
|
+
"chromedriver-v18.0.1-darwin-x64.zip": "9e564f26f891e89d292755851d2b537fef44631a54f8f49ae3423afed538a7f2",
|
|
4
|
+
"chromedriver-v18.0.1-linux-arm64.zip": "72e117adfa06fb53d9b7330b577eddcbbd2031b3de6266f72b8dbcafdeb018f5",
|
|
5
|
+
"chromedriver-v18.0.1-linux-armv7l.zip": "677f0c6b41a0f8d92e59a0b5ad113d6672ef82013aaf5a69f3decb9349cbfb43",
|
|
6
|
+
"chromedriver-v18.0.1-linux-ia32.zip": "84c9889fa416e7fce9df7271e5096930d1f5f284f99864fe10e7b8ef050f8c43",
|
|
7
|
+
"chromedriver-v18.0.1-linux-x64.zip": "e3e9c37f87a4f686ff708afc9339eb793b93ffe21add242839ffb5535be0ce54",
|
|
8
|
+
"chromedriver-v18.0.1-mas-arm64.zip": "313245fbddeaacd6f758145df2a710c7320433d24a66b57dd51323d5bf84465f",
|
|
9
|
+
"chromedriver-v18.0.1-mas-x64.zip": "6a31b46cdc0f2e7c7a7f7d5805ed574dc6a1fdc92e8bfeebfdf65e96b2353c94",
|
|
10
|
+
"chromedriver-v18.0.1-win32-arm64.zip": "77dbe0049fe22057cbd09172eb9b9e8f621c845f670501d89420a41003ed74ed",
|
|
11
|
+
"chromedriver-v18.0.1-win32-ia32.zip": "adebe5d1107282ea7f9def630d81d744a8cd6d777530b2f373fc46e650463f9b",
|
|
12
|
+
"chromedriver-v18.0.1-win32-x64.zip": "0560c72b2e91e7d8597024d5b94bfbdf9c791e4af659a0858cd8915f48ce1a8c",
|
|
13
|
+
"electron-api.json": "750378b0f80a86b903dac51979dc03ebd27e7ef43d4a7372b30653d720a3a8ec",
|
|
14
|
+
"electron-v18.0.1-darwin-arm64-dsym-snapshot.zip": "749b37432dad54e4d73fc25997e6e5c8cd836f960cbe07410e1028eb3383237b",
|
|
15
|
+
"electron-v18.0.1-darwin-arm64-dsym.zip": "399b6f8e810435c8ba9d7d8af950f88c078eff73222f516bec8da420e7f7cff9",
|
|
16
|
+
"electron-v18.0.1-darwin-arm64-symbols.zip": "8ab0352e5c12cef4d3526e77fb91f2b5f66374c50e998862f1f1480655e9d96c",
|
|
17
|
+
"electron-v18.0.1-darwin-arm64.zip": "9a1307d4c4fb137a4bcd53ef8ecf0a3e5bec8de64424c9ad6c1f16d580fd9e94",
|
|
18
|
+
"electron-v18.0.1-darwin-x64-dsym-snapshot.zip": "6788902ef313531a9050b35d9abd7b3ca5f997b87414278421640fa15303c12a",
|
|
19
|
+
"electron-v18.0.1-darwin-x64-dsym.zip": "4d2883a77d26c0f17b127a7c568d8e982b1158d3646889cea29224348a13720e",
|
|
20
|
+
"electron-v18.0.1-darwin-x64-symbols.zip": "f26a66a01fe147233c167f65ac1ca70d766c36ed9db4491ad46674e7fac273dd",
|
|
21
|
+
"electron-v18.0.1-darwin-x64.zip": "61de3ff1c1e49cc80c0a9423a02d30716c66d639ef565cce7902e8d867e8fef6",
|
|
22
|
+
"electron-v18.0.1-linux-arm64-debug.zip": "c45e9fc85eabe21d9bc8b18c1024e8272b29715e0f25fc8cd2fe8e37641742fd",
|
|
23
|
+
"electron-v18.0.1-linux-arm64-symbols.zip": "0db0f1020f3be95679d5cd450004ac31af903cd341ffebb97e58ce39de550330",
|
|
24
|
+
"electron-v18.0.1-linux-arm64.zip": "5849f037278eb5df120d213a524039f1bfd3b16cffa814f7ff05a8aad4256b53",
|
|
25
|
+
"electron-v18.0.1-linux-armv7l-debug.zip": "c45e9fc85eabe21d9bc8b18c1024e8272b29715e0f25fc8cd2fe8e37641742fd",
|
|
26
|
+
"electron-v18.0.1-linux-armv7l-symbols.zip": "b23bac6ba5543ff32459d7167891acc7d2983adb83f7b980e39a234e312b1e94",
|
|
27
|
+
"electron-v18.0.1-linux-armv7l.zip": "4a1a030d74f7551a9ccad22407c3ae64eacec17daf1c3433286af7d73ad161e2",
|
|
28
|
+
"electron-v18.0.1-linux-ia32-debug.zip": "c45e9fc85eabe21d9bc8b18c1024e8272b29715e0f25fc8cd2fe8e37641742fd",
|
|
29
|
+
"electron-v18.0.1-linux-ia32-symbols.zip": "b72eaa9945f6fa99a72d0e531d323bf4e74f546e148aaa28193911cd2dbfde28",
|
|
30
|
+
"electron-v18.0.1-linux-ia32.zip": "ba0d6665db059ec2d3248f8fa1dec18cbd7aa47b5eb368b6a74e3b7a3709f5a4",
|
|
31
|
+
"electron-v18.0.1-linux-x64-debug.zip": "f41b23891caa2004b7f755f2ec7a2f7bde38b4892b89d685901061079a40f633",
|
|
32
|
+
"electron-v18.0.1-linux-x64-symbols.zip": "836180e1db949e953b0cc2aeb2ad68720a7105822b813e3934a3730c2213b8fb",
|
|
33
|
+
"electron-v18.0.1-linux-x64.zip": "35403fdf085594e91870032f43eb9b4261c1eaebb6677383ce69273ee5eafd9b",
|
|
34
|
+
"electron-v18.0.1-mas-arm64-dsym-snapshot.zip": "749b37432dad54e4d73fc25997e6e5c8cd836f960cbe07410e1028eb3383237b",
|
|
35
|
+
"electron-v18.0.1-mas-arm64-dsym.zip": "440379be5f24869d0b15ac2d6e7e7d3ae97c69510833358079f0406059db36d7",
|
|
36
|
+
"electron-v18.0.1-mas-arm64-symbols.zip": "1a597d120646db2fd9862a67a35ea329adb93a88b2a2a24819a1df8146565662",
|
|
37
|
+
"electron-v18.0.1-mas-arm64.zip": "c5daf88095a4938012e6b55bb6ca97c2cd9a55d0327ca65801c81529ef9343ce",
|
|
38
|
+
"electron-v18.0.1-mas-x64-dsym-snapshot.zip": "9bf2f33298cfb537e9d8f9b384fb40a7e7b59ed1025c6a0ddaf982add620975c",
|
|
39
|
+
"electron-v18.0.1-mas-x64-dsym.zip": "58de7eb6f89b5b2b9f9eaf803eff7c39455b16eccafd032528d87061da32502b",
|
|
40
|
+
"electron-v18.0.1-mas-x64-symbols.zip": "789c766ffe60c777c23ff9f6199940080043720c0f6538222ceb50b6db6fc773",
|
|
41
|
+
"electron-v18.0.1-mas-x64.zip": "e2624c8e6a040b32b7e786a92c1323985ff55c7f0806d58d39ef221d13e58d4b",
|
|
42
|
+
"electron-v18.0.1-win32-arm64-pdb.zip": "8cf2c3adf83bd26215a01d00062971eade7dc5a311ceb2a8331722eeaf71307f",
|
|
43
|
+
"electron-v18.0.1-win32-arm64-symbols.zip": "91dda808cc06ad6e82657b056ef3c2b4e15971fffd1161e71fc5f87d9a2f406e",
|
|
44
|
+
"electron-v18.0.1-win32-arm64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
|
|
45
|
+
"electron-v18.0.1-win32-arm64.zip": "d9ca16a57ab408494acb79143b60f260fc1af62eb321996369c52493f6c2ab61",
|
|
46
|
+
"electron-v18.0.1-win32-ia32-pdb.zip": "fed736672388afed8e3ebca89d229ba6231677b1a9ad40af190b66fc99a6f74a",
|
|
47
|
+
"electron-v18.0.1-win32-ia32-symbols.zip": "1df446a153e620436b98e80919aaafac7f54aa79229811b82d123c49aa0ffde8",
|
|
48
|
+
"electron-v18.0.1-win32-ia32-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
|
|
49
|
+
"electron-v18.0.1-win32-ia32.zip": "b1344e34f7d02f6ca2e84d11c447419a210d5b288e45a068d1a5d8dd562b1aeb",
|
|
50
|
+
"electron-v18.0.1-win32-x64-pdb.zip": "d7d8958825dacbc83ae98103e695f733267be308c73a19a3186d7b7134390098",
|
|
51
|
+
"electron-v18.0.1-win32-x64-symbols.zip": "3b3e1427ea5eb76d4f044fb5e11f7db20b8b2944781f8e23c44f5a210b61f48b",
|
|
52
|
+
"electron-v18.0.1-win32-x64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
|
|
53
|
+
"electron-v18.0.1-win32-x64.zip": "7a47cf32330f41cc94066137d2b5f12a0fea88aaf8be1ad5ed3202d564aa35eb",
|
|
54
|
+
"electron.d.ts": "1e1eabe412d8da8dea97bc62ae2d740c7273b2c825bda8a6fe27ba93fe580ad6",
|
|
55
|
+
"ffmpeg-v18.0.1-darwin-arm64.zip": "56d1cd1b3b2bc526f721ab1c095aeba12633cdaf3334689ce9b0c1bc387ff26c",
|
|
56
|
+
"ffmpeg-v18.0.1-darwin-x64.zip": "3e15516b3495ca83761fa2bb16549acba3f373e6eb4bc8cd504c99c93446b6c2",
|
|
57
|
+
"ffmpeg-v18.0.1-linux-arm64.zip": "afae8b00da93a949c9433771a69aba5d328f242d533a8dfafcd0a8761e08f3db",
|
|
58
|
+
"ffmpeg-v18.0.1-linux-armv7l.zip": "0cce6d7fb90c729a21627db5b36f4e779ac4e26ac90f281de285a42a3d165ac7",
|
|
59
|
+
"ffmpeg-v18.0.1-linux-ia32.zip": "7a1aebbbe6ad7ec73168a1e3c7f980622f1464bb8362c6031bab78db455eb9d0",
|
|
60
|
+
"ffmpeg-v18.0.1-linux-x64.zip": "7f0e1da233736b9330ee072f70c98d2258bd7c45f95059a23aa4598e6d9756d1",
|
|
61
|
+
"ffmpeg-v18.0.1-mas-arm64.zip": "c87b5e3b0b6b14b37ca3ec7407915d0b545041321778c4097a114b54ea046f70",
|
|
62
|
+
"ffmpeg-v18.0.1-mas-x64.zip": "4fc30cde1c6dc7094014b6054875de4efec83bc4a2e7c9c24e496b416daa1878",
|
|
63
|
+
"ffmpeg-v18.0.1-win32-arm64.zip": "06861b51fe6d26172b201046320b66f4bf4950182898824891800be75e70db8b",
|
|
64
|
+
"ffmpeg-v18.0.1-win32-ia32.zip": "e11b19325433c2e453ef5409ee212e75063b455f7eb255a975cc7ea4048b3080",
|
|
65
|
+
"ffmpeg-v18.0.1-win32-x64.zip": "ec8a7d5458140485b56887fd17da154da99e6aa46ed0c8cbe7f8feb9b7a573c8",
|
|
66
|
+
"hunspell_dictionaries.zip": "789b328b9dcbafb166ab16ef77949d511ec6ea530278ebc8690a15807afc37ca",
|
|
67
|
+
"libcxx-objects-v18.0.1-linux-arm64.zip": "9e83a0ceac7d36288a4429d0ced2b1564ea4f4a583a3afa864b48f6519d56b67",
|
|
68
|
+
"libcxx-objects-v18.0.1-linux-armv7l.zip": "8d6fd728488dbb939fba0f6547eb2844ef4474e4a840a883e4d673e96e035797",
|
|
69
|
+
"libcxx-objects-v18.0.1-linux-ia32.zip": "70cf0d3b70f7d41e842aac385c19afa0de827696f856003a648c25d430bfd996",
|
|
70
|
+
"libcxx-objects-v18.0.1-linux-x64.zip": "a07b65bde6998b984180f053b20cff785788dee697246c8757f6e04e114182ac",
|
|
71
|
+
"libcxx_headers.zip": "7f3061c7b6afb366254e6083ac92d9690a1cbc1ea2c036266786cbdc6120ba5a",
|
|
72
|
+
"libcxxabi_headers.zip": "a92699344a7ec9ae6fc0f9454df8b1d6b754cb082083eafd1e98cac1dabfcd46",
|
|
73
|
+
"mksnapshot-v18.0.1-darwin-arm64.zip": "de90d4b6f794790bddfe83ed51b27754d23b2f9feb2bd7db600555ccf3818998",
|
|
74
|
+
"mksnapshot-v18.0.1-darwin-x64.zip": "41ec43ceb7a02c4fecbf1d1f617a755c7dc18347008a3e2a6d1c018c62a50930",
|
|
75
|
+
"mksnapshot-v18.0.1-linux-arm64-x64.zip": "17bd4f2e00e2094b1bc62eb3200c4a932ec36d2e39bffb0bf7ad1415353d66e0",
|
|
76
|
+
"mksnapshot-v18.0.1-linux-armv7l-x64.zip": "810364b93d84dcf1acbf99c334756ae4f8b5669276ab25709a68f2856269c0bb",
|
|
77
|
+
"mksnapshot-v18.0.1-linux-ia32.zip": "951f642f3fdeb052675c931f033ad6a3b7f4a01b00d4f13b89b8fec3ebfba617",
|
|
78
|
+
"mksnapshot-v18.0.1-linux-x64.zip": "06dc91d7122769ad4a763f8dc02fbd3941e1c8f18b77a2c3222ba0d0fc596941",
|
|
79
|
+
"mksnapshot-v18.0.1-mas-arm64.zip": "aefeda2c8dccb1ef6a5fdd4b04021362479b68a9bfc9aa794df8f597ba4d96f7",
|
|
80
|
+
"mksnapshot-v18.0.1-mas-x64.zip": "b7bb1e4248c2ad5d5539349eb119ee8323e69f6b07a9f94331cb00dc39680b28",
|
|
81
|
+
"mksnapshot-v18.0.1-win32-arm64-x64.zip": "ac29586c7112862775a4d0b2e8052866c8cb546b9b0a78e6500367d77cae23a2",
|
|
82
|
+
"mksnapshot-v18.0.1-win32-ia32.zip": "ddaeb45c1f2fbcfbcc2b9660d44f77a51fec988a6df945db582eb2d18708df20",
|
|
83
|
+
"mksnapshot-v18.0.1-win32-x64.zip": "92ff663537df3bdba51433cf7342e687dd0babfd1930e6f987b4d644cf289f80"
|
|
84
84
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 18.0.
|
|
1
|
+
// Type definitions for Electron 18.0.1
|
|
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/electron-typescript-definitions
|
|
@@ -1673,6 +1673,36 @@ declare namespace Electron {
|
|
|
1673
1673
|
*/
|
|
1674
1674
|
getBounds(): Rectangle;
|
|
1675
1675
|
setAutoResize(options: AutoResizeOptions): void;
|
|
1676
|
+
/**
|
|
1677
|
+
* Examples of valid `color` values:
|
|
1678
|
+
*
|
|
1679
|
+
* * Hex
|
|
1680
|
+
* * #fff (RGB)
|
|
1681
|
+
* * #ffff (ARGB)
|
|
1682
|
+
* * #ffffff (RRGGBB)
|
|
1683
|
+
* * #ffffffff (AARRGGBB)
|
|
1684
|
+
* * RGB
|
|
1685
|
+
* * rgb(([\d]+),\s*([\d]+),\s*([\d]+))
|
|
1686
|
+
* * e.g. rgb(255, 255, 255)
|
|
1687
|
+
* * RGBA
|
|
1688
|
+
* * rgba(([\d]+),\s*([\d]+),\s*([\d]+),\s*([\d.]+))
|
|
1689
|
+
* * e.g. rgba(255, 255, 255, 1.0)
|
|
1690
|
+
* * HSL
|
|
1691
|
+
* * hsl((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%)
|
|
1692
|
+
* * e.g. hsl(200, 20%, 50%)
|
|
1693
|
+
* * HSLA
|
|
1694
|
+
* * hsla((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+))
|
|
1695
|
+
* * e.g. hsla(200, 20%, 50%, 0.5)
|
|
1696
|
+
* * Color name
|
|
1697
|
+
* * Options are listed in SkParseColor.cpp
|
|
1698
|
+
* * Similar to CSS Color Module Level 3 keywords, but case-sensitive.
|
|
1699
|
+
* * e.g. `blueviolet` or `red`
|
|
1700
|
+
*
|
|
1701
|
+
* **Note:** Hex format with alpha takes `AARRGGBB` or `ARGB`, _not_ `RRGGBBA` or
|
|
1702
|
+
* `RGA`.
|
|
1703
|
+
*
|
|
1704
|
+
* @experimental
|
|
1705
|
+
*/
|
|
1676
1706
|
setBackgroundColor(color: string): void;
|
|
1677
1707
|
/**
|
|
1678
1708
|
* Resizes and moves the view to the supplied bounds relative to the window.
|
|
@@ -2205,7 +2235,12 @@ declare namespace Electron {
|
|
|
2205
2235
|
focus(): void;
|
|
2206
2236
|
focusOnWebView(): void;
|
|
2207
2237
|
/**
|
|
2208
|
-
* Gets the background color of the window
|
|
2238
|
+
* Gets the background color of the window in Hex (`#RRGGBB`) format.
|
|
2239
|
+
*
|
|
2240
|
+
* See Setting `backgroundColor`.
|
|
2241
|
+
*
|
|
2242
|
+
* **Note:** The alpha value is _not_ returned alongside the red, green, and blue
|
|
2243
|
+
* values.
|
|
2209
2244
|
*/
|
|
2210
2245
|
getBackgroundColor(): string;
|
|
2211
2246
|
/**
|
|
@@ -2606,6 +2641,30 @@ declare namespace Electron {
|
|
|
2606
2641
|
*/
|
|
2607
2642
|
setAutoHideMenuBar(hide: boolean): void;
|
|
2608
2643
|
/**
|
|
2644
|
+
* Examples of valid `backgroundColor` values:
|
|
2645
|
+
*
|
|
2646
|
+
* * Hex
|
|
2647
|
+
* * #fff (shorthand RGB)
|
|
2648
|
+
* * #ffff (shorthand ARGB)
|
|
2649
|
+
* * #ffffff (RGB)
|
|
2650
|
+
* * #ffffffff (ARGB)
|
|
2651
|
+
* * RGB
|
|
2652
|
+
* * rgb(([\d]+),\s*([\d]+),\s*([\d]+))
|
|
2653
|
+
* * e.g. rgb(255, 255, 255)
|
|
2654
|
+
* * RGBA
|
|
2655
|
+
* * rgba(([\d]+),\s*([\d]+),\s*([\d]+),\s*([\d.]+))
|
|
2656
|
+
* * e.g. rgba(255, 255, 255, 1.0)
|
|
2657
|
+
* * HSL
|
|
2658
|
+
* * hsl((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%)
|
|
2659
|
+
* * e.g. hsl(200, 20%, 50%)
|
|
2660
|
+
* * HSLA
|
|
2661
|
+
* * hsla((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+))
|
|
2662
|
+
* * e.g. hsla(200, 20%, 50%, 0.5)
|
|
2663
|
+
* * Color name
|
|
2664
|
+
* * Options are listed in SkParseColor.cpp
|
|
2665
|
+
* * Similar to CSS Color Module Level 3 keywords, but case-sensitive.
|
|
2666
|
+
* * e.g. `blueviolet` or `red`
|
|
2667
|
+
*
|
|
2609
2668
|
* Sets the background color of the window. See Setting `backgroundColor`.
|
|
2610
2669
|
*/
|
|
2611
2670
|
setBackgroundColor(backgroundColor: string): void;
|
|
@@ -2874,6 +2933,13 @@ declare namespace Electron {
|
|
|
2874
2933
|
* Changes the title of native window to `title`.
|
|
2875
2934
|
*/
|
|
2876
2935
|
setTitle(title: string): void;
|
|
2936
|
+
/**
|
|
2937
|
+
* On a Window with Window Controls Overlay already enabled, this method updates
|
|
2938
|
+
* the style of the title bar overlay.
|
|
2939
|
+
*
|
|
2940
|
+
* @platform win32
|
|
2941
|
+
*/
|
|
2942
|
+
setTitleBarOverlay(options: TitleBarOverlayOptions): void;
|
|
2877
2943
|
/**
|
|
2878
2944
|
* Raises `browserView` above other `BrowserView`s attached to `win`. Throws an
|
|
2879
2945
|
* error if `browserView` is not attached to `win`.
|
|
@@ -5908,6 +5974,14 @@ declare namespace Electron {
|
|
|
5908
5974
|
once(event: 'updated', listener: Function): this;
|
|
5909
5975
|
addListener(event: 'updated', listener: Function): this;
|
|
5910
5976
|
removeListener(event: 'updated', listener: Function): this;
|
|
5977
|
+
/**
|
|
5978
|
+
* A `boolean` indicating whether Chromium is in forced colors mode, controlled by
|
|
5979
|
+
* system accessibility settings. Currently, Windows high contrast is the only
|
|
5980
|
+
* system setting that triggers forced colors mode.
|
|
5981
|
+
*
|
|
5982
|
+
* @platform win32
|
|
5983
|
+
*/
|
|
5984
|
+
readonly inForcedColorsMode: boolean;
|
|
5911
5985
|
/**
|
|
5912
5986
|
* A `boolean` for if the OS / Chromium currently has a dark mode enabled or is
|
|
5913
5987
|
* being instructed to show a dark-style UI. If you want to modify this value you
|
|
@@ -12922,9 +12996,10 @@ declare namespace Electron {
|
|
|
12922
12996
|
*/
|
|
12923
12997
|
enableLargerThanScreen?: boolean;
|
|
12924
12998
|
/**
|
|
12925
|
-
*
|
|
12926
|
-
*
|
|
12927
|
-
* `true
|
|
12999
|
+
* The window's background color in Hex, RGB, RGBA, HSL, HSLA or named CSS color
|
|
13000
|
+
* format. Alpha in #AARRGGBB format is supported if `transparent` is set to
|
|
13001
|
+
* `true`. Default is `#FFF` (white). See win.setBackgroundColor for more
|
|
13002
|
+
* information.
|
|
12928
13003
|
*/
|
|
12929
13004
|
backgroundColor?: string;
|
|
12930
13005
|
/**
|
|
@@ -15317,6 +15392,27 @@ declare namespace Electron {
|
|
|
15317
15392
|
swapFree: number;
|
|
15318
15393
|
}
|
|
15319
15394
|
|
|
15395
|
+
interface TitleBarOverlayOptions {
|
|
15396
|
+
/**
|
|
15397
|
+
* The CSS color of the Window Controls Overlay when enabled.
|
|
15398
|
+
*
|
|
15399
|
+
* @platform win32
|
|
15400
|
+
*/
|
|
15401
|
+
color?: string;
|
|
15402
|
+
/**
|
|
15403
|
+
* The CSS color of the symbols on the Window Controls Overlay when enabled.
|
|
15404
|
+
*
|
|
15405
|
+
* @platform win32
|
|
15406
|
+
*/
|
|
15407
|
+
symbolColor?: string;
|
|
15408
|
+
/**
|
|
15409
|
+
* The height of the title bar and Window Controls Overlay in pixels.
|
|
15410
|
+
*
|
|
15411
|
+
* @platform win32
|
|
15412
|
+
*/
|
|
15413
|
+
height?: number;
|
|
15414
|
+
}
|
|
15415
|
+
|
|
15320
15416
|
interface TitleOptions {
|
|
15321
15417
|
/**
|
|
15322
15418
|
* The font family variant to display, can be `monospaced` or `monospacedDigit`.
|
|
@@ -16463,6 +16559,7 @@ declare namespace Electron {
|
|
|
16463
16559
|
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
16464
16560
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
16465
16561
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
16562
|
+
type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
|
|
16466
16563
|
type TitleOptions = Electron.TitleOptions;
|
|
16467
16564
|
type ToBitmapOptions = Electron.ToBitmapOptions;
|
|
16468
16565
|
type ToDataURLOptions = Electron.ToDataURLOptions;
|
|
@@ -16756,6 +16853,7 @@ declare namespace Electron {
|
|
|
16756
16853
|
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
16757
16854
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
16758
16855
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
16856
|
+
type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
|
|
16759
16857
|
type TitleOptions = Electron.TitleOptions;
|
|
16760
16858
|
type ToBitmapOptions = Electron.ToBitmapOptions;
|
|
16761
16859
|
type ToDataURLOptions = Electron.ToDataURLOptions;
|
|
@@ -16986,6 +17084,7 @@ declare namespace Electron {
|
|
|
16986
17084
|
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
16987
17085
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
16988
17086
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
17087
|
+
type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
|
|
16989
17088
|
type TitleOptions = Electron.TitleOptions;
|
|
16990
17089
|
type ToBitmapOptions = Electron.ToBitmapOptions;
|
|
16991
17090
|
type ToDataURLOptions = Electron.ToDataURLOptions;
|
|
@@ -17293,6 +17392,7 @@ declare namespace Electron {
|
|
|
17293
17392
|
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
17294
17393
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
17295
17394
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
17395
|
+
type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
|
|
17296
17396
|
type TitleOptions = Electron.TitleOptions;
|
|
17297
17397
|
type ToBitmapOptions = Electron.ToBitmapOptions;
|
|
17298
17398
|
type ToDataURLOptions = Electron.ToDataURLOptions;
|
package/package.json
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@electron/get": "^1.13.0",
|
|
12
|
-
"@types/node": "^
|
|
12
|
+
"@types/node": "^16.11.26",
|
|
13
13
|
"extract-zip": "^1.0.3"
|
|
14
14
|
},
|
|
15
15
|
"engines": {
|
|
16
16
|
"node": ">= 8.6"
|
|
17
17
|
},
|
|
18
18
|
"name": "electron",
|
|
19
|
-
"version": "18.0.
|
|
19
|
+
"version": "18.0.1",
|
|
20
20
|
"repository": "https://github.com/electron/electron",
|
|
21
21
|
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
|
|
22
22
|
"license": "MIT",
|