Socket
Socket
Sign inDemoInstall

@chakra-ui/styled-system

Package Overview
Dependencies
Maintainers
3
Versions
474
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/styled-system - npm Package Compare versions

Comparing version 0.0.0-dev-20230329123951 to 0.0.0-dev-20230329140150

14

dist/index.js

@@ -37,2 +37,3 @@ "use strict";

cssVar: () => cssVar,
defineCssVars: () => defineCssVars,
defineStyle: () => defineStyle,

@@ -1076,2 +1077,14 @@ defineStyleConfig: () => defineStyleConfig,

}
function defineCssVars(scope, keys2) {
const vars = {};
for (const key of keys2) {
if (Array.isArray(key)) {
const [name, fallback] = key;
vars[name] = cssVar(`${scope}-${name}`, fallback);
continue;
}
vars[key] = cssVar(`${scope}-${key}`);
}
return vars;
}

@@ -1765,2 +1778,3 @@ // ../../utilities/breakpoint-utils/src/breakpoint.ts

cssVar,
defineCssVars,
defineStyle,

@@ -1767,0 +1781,0 @@ defineStyleConfig,

2

package.json
{
"name": "@chakra-ui/styled-system",
"version": "0.0.0-dev-20230329123951",
"version": "0.0.0-dev-20230329140150",
"description": "Style function for css-in-js building component libraries",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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