@master/css-runtime 2.0.0-rc.85 → 2.0.0-rc.87
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/core.d.ts +2 -2
- package/dist/css-runtime.d.ts +0 -1
- package/dist/debuggers/class-count.d.ts +0 -1
- package/dist/debuggers/index.d.ts +0 -1
- package/dist/debuggers/lifecycle.d.ts +1 -1
- package/dist/debuggers/log.d.ts +1 -1
- package/dist/default-manifest.json +1 -1
- package/dist/generated-rule.d.ts +0 -1
- package/dist/global.min.js +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/layer.d.ts +0 -1
- package/dist/native-declaration.d.ts +0 -1
- package/dist/register-global.d.ts +0 -1
- package/dist/theme-layer.d.ts +0 -1
- package/dist/types/hydrate-result.d.ts +0 -1
- package/dist/utility-layer.d.ts +0 -1
- package/package.json +7 -7
package/dist/core.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import RuntimeUtilityLayer from "./utility-layer.js";
|
|
2
2
|
import { HydrateResult } from "./types/hydrate-result.js";
|
|
3
|
+
import "./types/index.js";
|
|
3
4
|
import RuntimeThemeLayer from "./theme-layer.js";
|
|
4
5
|
import { MasterCSS, MasterCSSEmittedGlobals } from "@master/css-engine";
|
|
5
6
|
import { MasterCSSManifest } from "@master/css-schema/manifest";
|
|
6
7
|
import { MasterCSSHydrationManifest } from "@master/css-schema/hydration-manifest";
|
|
7
|
-
|
|
8
8
|
//#region src/core.d.ts
|
|
9
9
|
interface CSSRuntimeCreateOptions {
|
|
10
10
|
manifest: MasterCSSManifest;
|
|
@@ -39,7 +39,7 @@ declare class CSSRuntime extends MasterCSS {
|
|
|
39
39
|
progressive: boolean;
|
|
40
40
|
observing: boolean;
|
|
41
41
|
static create(options: CSSRuntimeCreateOptions): CSSRuntime;
|
|
42
|
-
constructor(root:
|
|
42
|
+
constructor(root: Document | ShadowRoot | undefined, manifest: MasterCSSManifest, emittedGlobals?: MasterCSSEmittedGlobals, hydrationManifest?: MasterCSSHydrationManifest | undefined);
|
|
43
43
|
register(): this;
|
|
44
44
|
unregister(): this;
|
|
45
45
|
setHydrationManifest(hydrationManifest?: MasterCSSHydrationManifest): this;
|
package/dist/css-runtime.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { MasterCSSEmittedGlobals } from "@master/css-engine";
|
|
2
2
|
import { MasterCSSManifest } from "@master/css-schema/manifest";
|
|
3
3
|
import { MasterCSSHydrationManifest } from "@master/css-schema/hydration-manifest";
|
|
4
|
-
|
|
5
4
|
//#region src/css-runtime.d.ts
|
|
6
5
|
type CSSRuntimeHostConstructor = new (...args: any[]) => HTMLElement;
|
|
7
6
|
type CSSRuntimeManifest = MasterCSSManifest | ((host: HTMLElement) => MasterCSSManifest);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import debugRuntimeMutation from "./class-count.js";
|
|
2
2
|
import { debugRuntimeCreated, debugRuntimeDestroyed, debugRuntimeDisconnected, debugRuntimeHydrated, debugRuntimeObserved, debugRuntimeRefreshed } from "./lifecycle.js";
|
|
3
|
-
|
|
4
3
|
//#region src/debuggers/index.d.ts
|
|
5
4
|
declare function startDebuggers(): void;
|
|
6
5
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HydrateResult } from "../types/hydrate-result.js";
|
|
2
|
+
import "../types/index.js";
|
|
2
3
|
import CSSRuntime from "../core.js";
|
|
3
4
|
import { MasterCSSManifest } from "@master/css-schema/manifest";
|
|
4
|
-
|
|
5
5
|
//#region src/debuggers/lifecycle.d.ts
|
|
6
6
|
declare function debugRuntimeCreated(cssRuntime: CSSRuntime): void;
|
|
7
7
|
declare function debugRuntimeHydrated(cssRuntime: CSSRuntime, result: HydrateResult): void;
|
package/dist/debuggers/log.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/debuggers/log.d.ts
|
|
2
2
|
type ConsoleMethod = 'log' | 'debug' | 'info' | 'warn' | 'error' | 'trace' | 'table' | 'group' | 'groupCollapsed' | 'groupEnd' | 'time' | 'timeEnd';
|
|
3
|
-
declare const createLogger: (type?: Exclude<ConsoleMethod,
|
|
3
|
+
declare const createLogger: (type?: Exclude<ConsoleMethod, 'table' | 'group' | 'groupCollapsed' | 'groupEnd' | 'time' | 'timeEnd'>) => (message: string, ...args: unknown[]) => void;
|
|
4
4
|
declare const loggers: {
|
|
5
5
|
info: (message: string, ...args: unknown[]) => void;
|
|
6
6
|
debug: (message: string, ...args: unknown[]) => void;
|