Socket
Socket
Sign inDemoInstall

@paperbits/styles

Package Overview
Dependencies
Maintainers
2
Versions
594
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paperbits/styles - npm Package Compare versions

Comparing version 0.1.37 to 0.1.38

4

package.json
{
"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;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc