chrome-types 0.1.284 → 0.1.285
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/_all.d.ts +25 -2
- package/index.d.ts +25 -2
- package/package.json +2 -2
package/_all.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Fri May 24 2024 22:30:32 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at fe6dfcb7ba4fdb66ed5de07ab11a398307bffe49
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -16406,6 +16406,29 @@ declare namespace chrome {
|
|
|
16406
16406
|
): void;
|
|
16407
16407
|
}
|
|
16408
16408
|
|
|
16409
|
+
/**
|
|
16410
|
+
* Use `iconVariants` for icon declarations with support for color schemes. In addition to these keys, a size key is allowed with a value of the file path to the image.
|
|
16411
|
+
*
|
|
16412
|
+
* @since Pending
|
|
16413
|
+
*/
|
|
16414
|
+
export namespace iconVariants {
|
|
16415
|
+
|
|
16416
|
+
export type ColorScheme = "dark" | "light";
|
|
16417
|
+
|
|
16418
|
+
export interface IconVariant {
|
|
16419
|
+
|
|
16420
|
+
/**
|
|
16421
|
+
* Optional DOMString path to an icon that should be used with any possible size.
|
|
16422
|
+
*/
|
|
16423
|
+
any?: string;
|
|
16424
|
+
|
|
16425
|
+
/**
|
|
16426
|
+
* Optional ColorScheme.
|
|
16427
|
+
*/
|
|
16428
|
+
color_schemes?: ColorScheme[];
|
|
16429
|
+
}
|
|
16430
|
+
}
|
|
16431
|
+
|
|
16409
16432
|
/**
|
|
16410
16433
|
* Use the `chrome.identity` API to get OAuth2 access tokens.
|
|
16411
16434
|
*
|
package/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Fri May 24 2024 22:30:27 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at fe6dfcb7ba4fdb66ed5de07ab11a398307bffe49
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -11777,6 +11777,29 @@ declare namespace chrome {
|
|
|
11777
11777
|
): void;
|
|
11778
11778
|
}
|
|
11779
11779
|
|
|
11780
|
+
/**
|
|
11781
|
+
* Use `iconVariants` for icon declarations with support for color schemes. In addition to these keys, a size key is allowed with a value of the file path to the image.
|
|
11782
|
+
*
|
|
11783
|
+
* @since Pending
|
|
11784
|
+
*/
|
|
11785
|
+
export namespace iconVariants {
|
|
11786
|
+
|
|
11787
|
+
export type ColorScheme = "dark" | "light";
|
|
11788
|
+
|
|
11789
|
+
export interface IconVariant {
|
|
11790
|
+
|
|
11791
|
+
/**
|
|
11792
|
+
* Optional DOMString path to an icon that should be used with any possible size.
|
|
11793
|
+
*/
|
|
11794
|
+
any?: string;
|
|
11795
|
+
|
|
11796
|
+
/**
|
|
11797
|
+
* Optional ColorScheme.
|
|
11798
|
+
*/
|
|
11799
|
+
color_schemes?: ColorScheme[];
|
|
11800
|
+
}
|
|
11801
|
+
}
|
|
11802
|
+
|
|
11780
11803
|
/**
|
|
11781
11804
|
* Use the `chrome.identity` API to get OAuth2 access tokens.
|
|
11782
11805
|
*
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"name": "chrome-types",
|
|
7
7
|
"config": {
|
|
8
|
-
"build-hash": "
|
|
8
|
+
"build-hash": "6811d3d1b3a835d1"
|
|
9
9
|
},
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"url": "https://github.com/GoogleChrome/chrome-types/issues"
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://github.com/GoogleChrome/chrome-types",
|
|
19
|
-
"version": "0.1.
|
|
19
|
+
"version": "0.1.285"
|
|
20
20
|
}
|