x-essential-lib 0.5.83 → 0.5.84

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.
@@ -1,5 +1,5 @@
1
1
  export declare function useSystem(): {
2
- dark: import("vue").ComputedRef<boolean | import("vue").Ref<boolean>>;
2
+ dark: import("vue").ComputedRef<boolean>;
3
3
  sysBarAvail: import("vue").ComputedRef<boolean>;
4
4
  compactWidth: import("vue").ComputedRef<string>;
5
5
  };
package/dist/index.js CHANGED
@@ -839,7 +839,7 @@ function pt(e) {
839
839
  return ut("(prefers-color-scheme: dark)", e);
840
840
  }
841
841
  function st() {
842
- const e = Se(), a = N(), t = pt(), n = g(() => typeof a.dark == "boolean" ? a.dark : t), o = g(() => !!window.cordova), r = g(() => e.width.value <= 1280 ? e.width.value + "px" : e.width.value <= 1920 ? 1920 / 2.5 + "px" : 2560 / 2.5 + "px");
842
+ const e = Se(), a = N(), t = pt(), n = g(() => typeof a.dark == "boolean" ? a.dark : t.value), o = g(() => !!window.cordova), r = g(() => e.width.value <= 1280 ? e.width.value + "px" : e.width.value <= 1920 ? 1920 / 2.5 + "px" : 2560 / 2.5 + "px");
843
843
  return { dark: n, sysBarAvail: o, compactWidth: r };
844
844
  }
845
845
  function Rt() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-essential-lib",
3
3
  "private": false,
4
- "version": "0.5.83",
4
+ "version": "0.5.84",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",