Comparing version 0.1.11 to 0.1.12
@@ -5,2 +5,3 @@ export declare type CSSUnit = "em" | "px" | "rem" | "%" | "vh" | "vw" | "vi" | "vb" | "vmin" | "vmax" | "mm" | "q" | "cm" | "in" | "pt" | "pc" | "ex" | "cap" | "ch" | "ic" | "lh" | "rlh" | "mozmm" | "deg" | "grad" | "rad" | "turn" | "fr" | "Hz" | "kHz" | "dpi" | "dpcm" | "dppx" | "s" | "ms" | string; | ||
readonly unit: CSSUnit; | ||
readonly __cssnumber: boolean; | ||
constructor(value: number, unit: CSSUnit); | ||
@@ -7,0 +8,0 @@ add(num: CSSNumber, unit?: CSSUnit): CSSNumber; |
var CSSNumber = (function () { | ||
function CSSNumber(value, unit) { | ||
this.__cssnumber = true; | ||
this.value = value; | ||
@@ -4,0 +5,0 @@ this.unit = unit; |
@@ -150,3 +150,3 @@ import * as tslib_1 from "tslib"; | ||
var value = style[property]; | ||
if (isObject(value)) { | ||
if (isObject(value) && !value.__cssnumber) { | ||
if (isNestedSelector(property)) { | ||
@@ -153,0 +153,0 @@ classNames += renderer._renderStyleToClassNames(value, pseudo + normalizeNestedProperty(property), media); |
{ | ||
"name": "alef", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"description": "Dynamic and high-performance CSS in JavaScript", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
281134
2520