Comparing version 6.1.3 to 6.1.4
@@ -147,6 +147,6 @@ 'use strict'; | ||
var styleProps = _extends({}, styleIsFunction ? style : { style: style }); | ||
var classNameSplitted = [].concat(_toConsumableArray(styleProps.className ? styleProps.className.split(' ') : []), _toConsumableArray(baseClassName ? baseClassName.split(' ') : [])); | ||
var mappedClassNames = classNames ? (0, _compact3.default)(classNameSplitted.map(function (singleClassName) { | ||
var classNameSplit = [].concat(_toConsumableArray(styleProps.className ? styleProps.className.split(' ') : []), _toConsumableArray(baseClassName ? baseClassName.split(' ') : [])); | ||
var mappedClassNames = classNames ? (0, _compact3.default)(classNameSplit.map(function (singleClassName) { | ||
return classNames[singleClassName]; | ||
})) : classNameSplitted; | ||
})) : classNameSplit; | ||
@@ -153,0 +153,0 @@ var propsForSpread = propsDecorator(_extends({}, styleProps, mappedClassNames.length > 0 && { |
{ | ||
"name": "substyle", | ||
"version": "6.1.3", | ||
"version": "6.1.4", | ||
"description": "Universal styling for reusable React components", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
24841