@stylable/runtime
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -15,2 +15,3 @@ "use strict"; | ||
style: style, | ||
st: style, | ||
$id: id, | ||
@@ -17,0 +18,0 @@ $depth: depth, |
@@ -19,6 +19,8 @@ export declare type StateValue = boolean | number | string; | ||
} | ||
export declare type STFunction = (context: string, stateOrClass?: string | StateMap | undefined, ...classes: Array<string | undefined>) => string; | ||
export interface RuntimeStylesheet extends StylableExports, RenderableStylesheet { | ||
namespace: string; | ||
cssStates: (stateMap: StateMap) => string; | ||
style: (context: string, stateOrClass?: string | StateMap | undefined, ...classes: Array<string | undefined>) => string; | ||
style: STFunction; | ||
st: STFunction; | ||
} | ||
@@ -25,0 +27,0 @@ export interface NodeRenderer<I, O extends Element> { |
{ | ||
"name": "@stylable/runtime", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "Stylable runtime DOM integration", | ||
@@ -31,3 +31,3 @@ "main": "cjs/index.js", | ||
"license": "BSD-3-Clause", | ||
"gitHead": "73c0150fd5ea27ad86426821b0c30a16f78ae162" | ||
"gitHead": "c5d03f01e0d44533d093935784b20c66e602fcea" | ||
} |
@@ -1,2 +0,2 @@ | ||
/* runtime version: 2.0.5 */ | ||
/* runtime version: 2.0.6 */ | ||
function StylableRuntime(exports){ | ||
@@ -182,2 +182,3 @@ exports = exports || {}; | ||
style: style, | ||
st: style, | ||
$id: id, | ||
@@ -184,0 +185,0 @@ $depth: depth, |
@@ -30,2 +30,3 @@ import { RuntimeRenderer } from './css-runtime-renderer'; | ||
style, | ||
st: style, | ||
$id: id, | ||
@@ -32,0 +33,0 @@ $depth: depth, |
@@ -24,10 +24,13 @@ export type StateValue = boolean | number | string; | ||
export type STFunction = ( | ||
context: string, | ||
stateOrClass?: string | StateMap | undefined, | ||
...classes: Array<string | undefined> | ||
) => string; | ||
export interface RuntimeStylesheet extends StylableExports, RenderableStylesheet { | ||
namespace: string; | ||
cssStates: (stateMap: StateMap) => string; | ||
style: ( | ||
context: string, | ||
stateOrClass?: string | StateMap | undefined, | ||
...classes: Array<string | undefined> | ||
) => string; | ||
style: STFunction; | ||
st: STFunction; | ||
} | ||
@@ -34,0 +37,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51514
894