@paperbits/styles
Advanced tools
Comparing version 0.1.37 to 0.1.38
{ | ||
"name": "@paperbits/styles", | ||
"version": "0.1.37", | ||
"version": "0.1.38", | ||
"description": "Paperbits style editors.", | ||
@@ -19,3 +19,3 @@ "author": "Paperbits", | ||
"dependencies": { | ||
"@paperbits/common": "0.1.37", | ||
"@paperbits/common": "0.1.38", | ||
"cropperjs": "^1.4.0", | ||
@@ -22,0 +22,0 @@ "google-maps": "^3.2.1", |
@@ -119,2 +119,8 @@ import * as Utils from "@paperbits/common/utils"; | ||
if (themeContract.colors) { | ||
for (const colorName of Object.keys(themeContract.colors)) { | ||
allStyles[`colors-${Utils.camelCaseToKebabCase(colorName)}`] = { color: themeContract.colors[colorName].value }; | ||
} | ||
} | ||
const responsiveStyleRules = {}; | ||
@@ -121,0 +127,0 @@ |
@@ -69,2 +69,6 @@ import * as Utils from "@paperbits/common/utils"; | ||
public getClassNameByColorKey(colorKey: string): string { | ||
return Utils.camelCaseToKebabCase(colorKey.replaceAll("/", "-")); | ||
} | ||
public getClassNameByStyleKey(key: string, breakpoint?: string): string { | ||
@@ -147,3 +151,3 @@ if (!key) { | ||
} | ||
if (key.startsWith("globals") && !key.startsWith("globals/text")) { | ||
@@ -150,0 +154,0 @@ return null; |
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
134454
2445
+ Added@paperbits/common@0.1.38(transitive)
- Removed@paperbits/common@0.1.37(transitive)
Updated@paperbits/common@0.1.38