@next-core/runtime 1.64.0 → 1.65.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.
@@ -1,4 +1,4 @@
1
- import type { SiteMode, SiteTheme } from "@next-core/types";
1
+ import type { SiteMode, SiteTheme, SiteVariant } from "@next-core/types";
2
2
  interface AppThemes {
3
3
  [appId: string]: SiteTheme;
4
4
  }
@@ -13,4 +13,6 @@ export declare function getMode(): SiteMode;
13
13
  export declare function getCurrentMode(): SiteMode;
14
14
  export declare function applyMode(value?: SiteMode): void;
15
15
  export declare function getCssPropertyValue(name: string, el?: HTMLElement): string;
16
+ export declare function setThemeVariant(value: unknown): void;
17
+ export declare function getThemeVariant(): SiteVariant;
16
18
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-core/runtime",
3
- "version": "1.64.0",
3
+ "version": "1.65.1",
4
4
  "homepage": "https://github.com/easyops-cn/next-core/tree/v3/packages/runtime",
5
5
  "license": "GPL-3.0",
6
6
  "repository": {
@@ -47,12 +47,12 @@
47
47
  "@next-core/color-theme": "^0.4.8",
48
48
  "@next-core/cook": "^2.5.9",
49
49
  "@next-core/http": "^1.2.13",
50
- "@next-core/i18n": "^1.0.80",
51
- "@next-core/inject": "^1.0.56",
50
+ "@next-core/i18n": "^1.0.81",
51
+ "@next-core/inject": "^1.0.57",
52
52
  "@next-core/loader": "^1.6.16",
53
53
  "@next-core/supply": "^2.3.6",
54
- "@next-core/types": "^1.16.0",
55
- "@next-core/utils": "^1.8.1",
54
+ "@next-core/types": "^1.17.0",
55
+ "@next-core/utils": "^1.8.2",
56
56
  "@ungap/event-target": "^0.2.4",
57
57
  "compare-versions": "^6.1.1",
58
58
  "history": "^4.10.1",
@@ -67,5 +67,5 @@
67
67
  "@next-core/build-next-libs": "^1.0.25",
68
68
  "@next-core/test-next": "^2.0.0"
69
69
  },
70
- "gitHead": "94ef9e433ff9e6d69e446d240c2a1ad4592dff30"
70
+ "gitHead": "bfb8087e80ddb503a1f55bc975a9f2a81562f881"
71
71
  }