tauri-plugin-z9 0.1.8 → 0.1.9
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/dist-js/index.d.mts +4 -3
- package/dist-js/index.mjs +3 -3
- package/package.json +1 -1
package/dist-js/index.d.mts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
//#region guest-js/index.d.ts
|
|
2
2
|
export declare function minimizeApp(): Promise<undefined | string>;
|
|
3
|
-
export
|
|
3
|
+
export type Insets = {
|
|
4
4
|
top: number;
|
|
5
5
|
bottom: number;
|
|
6
6
|
left: number;
|
|
7
7
|
right: number;
|
|
8
|
-
}
|
|
9
|
-
export declare function
|
|
8
|
+
};
|
|
9
|
+
export declare function getInsets(): Promise<Insets>;
|
|
10
|
+
export declare function setLightSystemBar(light: boolean): Promise<void>;
|
|
10
11
|
//#endregion
|
package/dist-js/index.mjs
CHANGED
|
@@ -6,8 +6,8 @@ async function minimizeApp() {
|
|
|
6
6
|
async function getInsets() {
|
|
7
7
|
return await invoke("plugin:z9|get_insets");
|
|
8
8
|
}
|
|
9
|
-
async function
|
|
10
|
-
await invoke("plugin:z9|
|
|
9
|
+
async function setLightSystemBar(light) {
|
|
10
|
+
await invoke("plugin:z9|set_light_system_bar", { light });
|
|
11
11
|
}
|
|
12
12
|
//#endregion
|
|
13
|
-
export { getInsets, minimizeApp,
|
|
13
|
+
export { getInsets, minimizeApp, setLightSystemBar };
|