@stylable/runtime
Advanced tools
Comparing version 4.1.1 to 4.2.0
@@ -37,2 +37,7 @@ export declare type StateValue = boolean | number | string; | ||
} | ||
export interface Host { | ||
sts?: (namespace: string, context: string | undefined, stateOrClass?: string | StateMap | undefined, ...classes: Array<string | undefined>) => string; | ||
stc?: (namespace: string, stateMapping?: StateMap | null | undefined) => string; | ||
sti?: (namespace: string, css: string, depth: number, runtimeId: string) => void; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@stylable/runtime", | ||
"version": "4.1.1", | ||
"version": "4.2.0", | ||
"description": "Stylable runtime DOM integration", | ||
@@ -13,4 +13,6 @@ "main": "dist/index.js", | ||
"dist", | ||
"esm", | ||
"!dist/test", | ||
"src", | ||
"stylesheet.d.ts", | ||
"!*/tsconfig.{json,tsbuildinfo}" | ||
@@ -17,0 +19,0 @@ ], |
@@ -90,4 +90,6 @@ # @stylable/runtime | ||
declare module '*.st.css' { | ||
const stylesheet: import('@stylable/runtime').RuntimeStylesheet; | ||
export = stylesheet; | ||
export * from '@stylable/runtime/stylesheet'; | ||
const defaultExport: never; | ||
export default defaultExport; | ||
} | ||
@@ -94,0 +96,0 @@ ``` |
@@ -49,1 +49,12 @@ export type StateValue = boolean | number | string; | ||
} | ||
export interface Host { | ||
sts?: ( | ||
namespace: string, | ||
context: string | undefined, | ||
stateOrClass?: string | StateMap | undefined, | ||
...classes: Array<string | undefined> | ||
) => string; | ||
stc?: (namespace: string, stateMapping?: StateMap | null | undefined) => string; | ||
sti?: (namespace: string, css: string, depth: number, runtimeId: string) => void; | ||
} |
Sorry, the diff of this file is not supported yet
159755
78
1366
99