@convoy/dapper
Advanced tools
Comparing version 2.0.75 to 2.0.77
import { CompiledStyleSheet, StyleDeclaration } from './types'; | ||
import { Configuration } from './configure'; | ||
export default function compile<TKeys extends string>(styles: StyleDeclaration<TKeys>, config?: Configuration): CompiledStyleSheet<TKeys>; | ||
export default function compile<TKeys extends string>(styles: StyleDeclaration<TKeys>, configOverride?: Partial<Configuration>): CompiledStyleSheet<TKeys>; |
@@ -8,5 +8,5 @@ "use strict"; | ||
var PLACEHOLDER_REGEX = /\{([^\}]+)\}/g; | ||
function compile(styles, config) { | ||
if (config === void 0) { config = configure_1.config; } | ||
config = tslib_1.__assign({}, configure_1.config, config); | ||
function compile(styles, configOverride) { | ||
if (configOverride === void 0) { configOverride = configure_1.config; } | ||
var config = tslib_1.__assign({}, configure_1.config, configOverride); | ||
var _a = setClassNamesForStyleDeclaration(styles, config), newStyles = _a.styles, compiledStyles = _a.compiledStyles; | ||
@@ -13,0 +13,0 @@ var cssText = cssTextForStyles_1.default(newStyles); |
@@ -6,3 +6,3 @@ import { Configuration } from './configure'; | ||
}; | ||
export default function keyframes(keyframe: KeyFrames, config?: Configuration): string; | ||
export default function keyframes(keyframe: KeyFrames, configOverride?: Partial<Configuration>): string; | ||
export declare function resetUniqueId(): void; |
@@ -8,5 +8,5 @@ "use strict"; | ||
var uniqueKeyframeIdentifier = 0; | ||
function keyframes(keyframe, config) { | ||
if (config === void 0) { config = configure_1.config; } | ||
config = tslib_1.__assign({}, configure_1.config, config); | ||
function keyframes(keyframe, configOverride) { | ||
if (configOverride === void 0) { configOverride = configure_1.config; } | ||
var config = tslib_1.__assign({}, configure_1.config, configOverride); | ||
var animationName = generateAnimationName(++uniqueKeyframeIdentifier, config); | ||
@@ -13,0 +13,0 @@ var cssText = cssifyKeyframe(keyframe, animationName); |
import { Configuration } from './configure'; | ||
import { StyleDeclaration } from './types'; | ||
export default function renderStatic(styles: StyleDeclaration<string>, config?: Configuration): void; | ||
export default function renderStatic(styles: StyleDeclaration<string>, configOverride?: Partial<Configuration>): void; |
@@ -6,5 +6,5 @@ "use strict"; | ||
var renderCSSText_1 = require("./libs/renderCSSText"); | ||
function renderStatic(styles, config) { | ||
if (config === void 0) { config = configure_1.config; } | ||
config = tslib_1.__assign({}, configure_1.config, config); | ||
function renderStatic(styles, configOverride) { | ||
if (configOverride === void 0) { configOverride = configure_1.config; } | ||
var config = tslib_1.__assign({}, configure_1.config, configOverride); | ||
var cssText = cssTextForStyles_1.default(styles); | ||
@@ -11,0 +11,0 @@ renderCSSText_1.default(cssText, config); |
{ | ||
"name": "@convoy/dapper", | ||
"version": "2.0.75", | ||
"version": "2.0.77", | ||
"description": "Styling library", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.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
109945