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 2.6.2 to 2.7.0

9

dist/index.js

@@ -240,2 +240,5 @@ "use strict";

return value;
const prevent = isCSSFunction(value) || globalSet.has(value);
if (!prevent)
return `url('${value}')`;
const regex = /(^[a-z-A-Z]+)\((.*)\)/g;

@@ -364,2 +367,3 @@ const results = regex.exec(value);

borders: toConfig("borders"),
gradients: toConfig("gradients", transformFunctions.gradient),
radii: toConfig("radii", transformFunctions.px),

@@ -394,3 +398,3 @@ space: toConfig("space", pipe(transformFunctions.vh, transformFunctions.px)),

backgroundColor: t.colors("backgroundColor"),
backgroundImage: t.propT("backgroundImage", transformFunctions.bgImage),
backgroundImage: t.gradients("backgroundImage"),
backgroundSize: true,

@@ -408,3 +412,3 @@ backgroundPosition: true,

bgAttachment: t.prop("backgroundAttachment"),
bgGradient: t.propT("backgroundImage", transformFunctions.gradient),
bgGradient: t.gradients("backgroundImage"),
bgClip: { transform: transformFunctions.bgClip }

@@ -1371,2 +1375,3 @@ };

"fontWeights",
"gradients",
"letterSpacings",

@@ -1373,0 +1378,0 @@ "lineHeights",

@@ -9,2 +9,3 @@ interface BaseThemeTypings {

fontWeights: string;
gradients: string;
layerStyles: string;

@@ -11,0 +12,0 @@ letterSpacings: string;

{
"name": "@chakra-ui/styled-system",
"version": "2.6.2",
"version": "2.7.0",
"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