@convoy/dapper
Advanced tools
Comparing version 2.0.56 to 2.0.58
@@ -1,3 +0,2 @@ | ||
import { CompiledStyleSheet, ComputedStyleSheet, StyleDeclaration } from './types'; | ||
import { CompiledStyleSheet, StyleDeclaration } from './types'; | ||
export default function compile<StyleSet extends StyleDeclaration>(styles: StyleSet): CompiledStyleSheet<keyof StyleSet>; | ||
export declare function createSimple<StyleSet extends StyleDeclaration>(styles: StyleSet): ComputedStyleSheet<keyof StyleSet>; |
@@ -13,9 +13,2 @@ "use strict"; | ||
exports.default = compile; | ||
function createSimple(styles) { | ||
var _a = setClassNamesForStyles(styles), newStyles = _a.styles, classNames = _a.classNames; | ||
var cssText = cssTextForStyles_1.default(newStyles); | ||
renderCSSText_1.default(cssText); | ||
return classNames; | ||
} | ||
exports.createSimple = createSimple; | ||
// Replaces top level keys with css className text '.keyClassName' | ||
@@ -22,0 +15,0 @@ // and replaces $modes with LESS style parent selector '&.modeClassName' |
import reactTo from './reactTo'; | ||
import compute from './compute'; | ||
import configure, { Configuration } from './configure'; | ||
import compile, { createSimple } from './compile'; | ||
import compile from './compile'; | ||
import keyframes from './keyframes'; | ||
import renderStatic from './renderStatic'; | ||
import { StyleRule } from './types'; | ||
export { Configuration, StyleRule, compute, configure, compile, createSimple, keyframes, reactTo, renderStatic }; | ||
export { Configuration, StyleRule, compute, configure, compile, keyframes, reactTo, renderStatic }; |
@@ -10,3 +10,2 @@ "use strict"; | ||
exports.compile = compile_1.default; | ||
exports.createSimple = compile_1.createSimple; | ||
var keyframes_1 = require("./keyframes"); | ||
@@ -13,0 +12,0 @@ exports.keyframes = keyframes_1.default; |
@@ -5,3 +5,2 @@ "use strict"; | ||
var Button_1 = require("./Button"); | ||
var ButtonSimple_1 = require("./ButtonSimple"); | ||
var InheritedButton_1 = require("./InheritedButton"); | ||
@@ -14,3 +13,2 @@ var mountNode = document.getElementById('root'); | ||
React.createElement(Button_1.default, { ghost: true, large: true }), | ||
React.createElement(ButtonSimple_1.default, null), | ||
React.createElement("div", null, | ||
@@ -17,0 +15,0 @@ React.createElement(InheritedButton_1.default, null), |
{ | ||
"name": "@convoy/dapper", | ||
"version": "2.0.56", | ||
"version": "2.0.58", | ||
"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
98407
96
1524