@paperbits/styles
Advanced tools
Comparing version 0.1.101 to 0.1.102
{ | ||
"name": "@paperbits/styles", | ||
"version": "0.1.101", | ||
"version": "0.1.102", | ||
"description": "Paperbits style editors.", | ||
@@ -19,3 +19,3 @@ "author": "Paperbits", | ||
"dependencies": { | ||
"@paperbits/common": "0.1.101", | ||
"@paperbits/common": "0.1.102", | ||
"cropperjs": "^1.4.0", | ||
@@ -22,0 +22,0 @@ "google-maps": "^3.2.1", |
@@ -27,4 +27,12 @@ import * as Utils from "@paperbits/common/utils"; | ||
for (const variationName of Object.keys(componentConfig)) { | ||
if (variationName === "default") continue; | ||
if (variationName === "default") { | ||
continue; | ||
} | ||
const variationStyles = await this.styleCompiler.getVariationClasses(componentConfig[variationName], componentName, variationName, true); | ||
if (!variationStyles) { | ||
continue; | ||
} | ||
const key = `& .${componentName}-${variationName}`; | ||
@@ -31,0 +39,0 @@ defaultComponentStyles[componentName] = { ...defaultComponentStyles[componentName], [`&.${componentName}-${variationName}`]: variationStyles[key] }; |
@@ -103,4 +103,12 @@ import * as Utils from "@paperbits/common/utils"; | ||
for (const variationName of Object.keys(componentConfig)) { | ||
if (variationName === "default") continue; | ||
if (variationName === "default") { | ||
continue; | ||
} | ||
const variationStyles = await this.getVariationClasses(componentConfig[variationName], componentName, variationName, true); | ||
if (!variationStyles) { | ||
continue; | ||
} | ||
const key = `& .${componentName}-${variationName}`; | ||
@@ -107,0 +115,0 @@ defaultComponentStyles[componentName] = { ...defaultComponentStyles[componentName], [`&.${componentName}-${variationName}`]: variationStyles[key] }; |
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
192762
3480
+ Added@paperbits/common@0.1.102(transitive)
- Removed@paperbits/common@0.1.101(transitive)
Updated@paperbits/common@0.1.102